Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXaw 1.0.5.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## --------------------- ##
     12 ## M4sh Initialization.  ##
     13 ## --------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in
     26   *posix*) set -o posix ;;
     27 esac
     28 
     29 fi
     30 
     31 
     32 
     33 
     34 # PATH needs CR
     35 # Avoid depending upon Character Ranges.
     36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39 as_cr_digits='0123456789'
     40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     41 
     42 as_nl='
     43 '
     44 export as_nl
     45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 # Support unset when possible.
     84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85   as_unset=unset
     86 else
     87   as_unset=false
     88 fi
     89 
     90 
     91 # IFS
     92 # We need space, tab and new line, in precisely that order.  Quoting is
     93 # there to prevent editors from complaining about space-tab.
     94 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     95 # splitting by setting IFS to empty value.)
     96 IFS=" ""	$as_nl"
     97 
     98 # Find who we are.  Look in the path if we contain no directory separator.
     99 case $0 in
    100   *[\\/]* ) as_myself=$0 ;;
    101   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    102 for as_dir in $PATH
    103 do
    104   IFS=$as_save_IFS
    105   test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
    108 IFS=$as_save_IFS
    109 
    110      ;;
    111 esac
    112 # We did not find ourselves, most probably we were run as `sh COMMAND'
    113 # in which case we are not to be found in the path.
    114 if test "x$as_myself" = x; then
    115   as_myself=$0
    116 fi
    117 if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # Required to use basename.
    137 if expr a : '\(a\)' >/dev/null 2>&1 &&
    138    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    139   as_expr=expr
    140 else
    141   as_expr=false
    142 fi
    143 
    144 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    145   as_basename=basename
    146 else
    147   as_basename=false
    148 fi
    149 
    150 
    151 # Name of the executable.
    152 as_me=`$as_basename -- "$0" ||
    153 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    154 	 X"$0" : 'X\(//\)$' \| \
    155 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
    157     sed '/^.*\/\([^/][^/]*\)\/*$/{
    158 	    s//\1/
    159 	    q
    160 	  }
    161 	  /^X\/\(\/\/\)$/{
    162 	    s//\1/
    163 	    q
    164 	  }
    165 	  /^X\/\(\/\).*/{
    166 	    s//\1/
    167 	    q
    168 	  }
    169 	  s/.*/./; q'`
    170 
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&	 (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248 	 /*)
    249 	   for as_base in sh bash ksh sh5; do
    250 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251 	   done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258 	 # Try only shells that exist, to save several forks.
    259 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280 	       as_have_required=yes
    281 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366 	done
    367 	export CONFIG_SHELL
    368 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
    460   sed -n '
    461     p
    462     /[$]LINENO/=
    463   ' <$as_myself |
    464     sed '
    465       s/[$]LINENO.*/&-/
    466       t lineno
    467       b
    468       :lineno
    469       N
    470       :loop
    471       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    472       t loop
    473       s/-\n.*//
    474     ' >$as_me.lineno &&
    475   chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
    479   # Don't try to exec as it changes $[0], causing all sort of problems
    480   # (the dirname of $[0] is not the place where we might find the
    481   # original and so on.  Autoconf is especially sensitive to this).
    482   . "./$as_me.lineno"
    483   # Exit status is that of the last command.
    484   exit
    485 }
    486 
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494 ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
    496 -n*)
    497   case `echo 'x\c'` in
    498   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
    500   esac;;
    501 *)
    502   ECHO_N='-n';;
    503 esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510 
    511 rm -f conf$$ conf$$.exe conf$$.file
    512 if test -d conf$$.dir; then
    513   rm -f conf$$.dir/conf$$.file
    514 else
    515   rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
    530     as_ln_s='cp -p'
    531   fi
    532 else
    533   as_ln_s='cp -p'
    534 fi
    535 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    536 rmdir conf$$.dir 2>/dev/null
    537 
    538 if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
    540 else
    541   test -d ./-p && rmdir ./-p
    542   as_mkdir_p=false
    543 fi
    544 
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556 	test -d "$1/.";
    557       else
    558 	case $1 in
    559 	-*)set "./$1";;
    560 	esac;
    561 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562 	???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
    567 
    568 # Sed expression to map a string onto a valid CPP name.
    569 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    570 
    571 # Sed expression to map a string onto a valid variable name.
    572 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    573 
    574 
    575 
    576 
    577 # Check that we are running under the correct shell.
    578 SHELL=${CONFIG_SHELL-/bin/sh}
    579 
    580 case X$ECHO in
    581 X*--fallback-echo)
    582   # Remove one level of quotation (which was required for Make).
    583   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
    584   ;;
    585 esac
    586 
    587 echo=${ECHO-echo}
    588 if test "X$1" = X--no-reexec; then
    589   # Discard the --no-reexec flag, and continue.
    590   shift
    591 elif test "X$1" = X--fallback-echo; then
    592   # Avoid inline document here, it may be left over
    593   :
    594 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
    595   # Yippee, $echo works!
    596   :
    597 else
    598   # Restart under the correct shell.
    599   exec $SHELL "$0" --no-reexec ${1+"$@"}
    600 fi
    601 
    602 if test "X$1" = X--fallback-echo; then
    603   # used as fallback echo
    604   shift
    605   cat <<EOF
    606 $*
    607 EOF
    608   exit 0
    609 fi
    610 
    611 # The HP-UX ksh and POSIX shell print the target directory to stdout
    612 # if CDPATH is set.
    613 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    614 
    615 if test -z "$ECHO"; then
    616 if test "X${echo_test_string+set}" != Xset; then
    617 # find a string as large as possible, as long as the shell can cope with it
    618   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    619     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    620     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
    621        echo_test_string=`eval $cmd` &&
    622        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
    623     then
    624       break
    625     fi
    626   done
    627 fi
    628 
    629 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    630    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    631    test "X$echo_testing_string" = "X$echo_test_string"; then
    632   :
    633 else
    634   # The Solaris, AIX, and Digital Unix default echo programs unquote
    635   # backslashes.  This makes it impossible to quote backslashes using
    636   #   echo "$something" | sed 's/\\/\\\\/g'
    637   #
    638   # So, first we look for a working echo in the user's PATH.
    639 
    640   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    641   for dir in $PATH /usr/ucb; do
    642     IFS="$lt_save_ifs"
    643     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    644        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    645        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    646        test "X$echo_testing_string" = "X$echo_test_string"; then
    647       echo="$dir/echo"
    648       break
    649     fi
    650   done
    651   IFS="$lt_save_ifs"
    652 
    653   if test "X$echo" = Xecho; then
    654     # We didn't find a better echo, so look for alternatives.
    655     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
    656        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
    657        test "X$echo_testing_string" = "X$echo_test_string"; then
    658       # This shell has a builtin print -r that does the trick.
    659       echo='print -r'
    660     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
    661 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
    662       # If we have ksh, try running configure again with it.
    663       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    664       export ORIGINAL_CONFIG_SHELL
    665       CONFIG_SHELL=/bin/ksh
    666       export CONFIG_SHELL
    667       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    668     else
    669       # Try using printf.
    670       echo='printf %s\n'
    671       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
    672 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
    673 	 test "X$echo_testing_string" = "X$echo_test_string"; then
    674 	# Cool, printf works
    675 	:
    676       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    677 	   test "X$echo_testing_string" = 'X\t' &&
    678 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    679 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    680 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    681 	export CONFIG_SHELL
    682 	SHELL="$CONFIG_SHELL"
    683 	export SHELL
    684 	echo="$CONFIG_SHELL $0 --fallback-echo"
    685       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    686 	   test "X$echo_testing_string" = 'X\t' &&
    687 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    688 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    689 	echo="$CONFIG_SHELL $0 --fallback-echo"
    690       else
    691 	# maybe with a smaller string...
    692 	prev=:
    693 
    694 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    695 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
    696 	  then
    697 	    break
    698 	  fi
    699 	  prev="$cmd"
    700 	done
    701 
    702 	if test "$prev" != 'sed 50q "$0"'; then
    703 	  echo_test_string=`eval $prev`
    704 	  export echo_test_string
    705 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    706 	else
    707 	  # Oops.  We lost completely, so just stick with echo.
    708 	  echo=echo
    709 	fi
    710       fi
    711     fi
    712   fi
    713 fi
    714 fi
    715 
    716 # Copy echo and quote the copy suitably for passing to libtool from
    717 # the Makefile, instead of quoting the original, which is used later.
    718 ECHO=$echo
    719 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    720    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    721 fi
    722 
    723 
    724 
    725 
    726 tagnames=${tagnames+${tagnames},}CXX
    727 
    728 tagnames=${tagnames+${tagnames},}F77
    729 
    730 exec 7<&0 </dev/null 6>&1
    731 
    732 # Name of the host.
    733 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    734 # so uname gets run too.
    735 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    736 
    737 #
    738 # Initializations.
    739 #
    740 ac_default_prefix=/usr/local
    741 ac_clean_files=
    742 ac_config_libobj_dir=.
    743 LIBOBJS=
    744 cross_compiling=no
    745 subdirs=
    746 MFLAGS=
    747 MAKEFLAGS=
    748 SHELL=${CONFIG_SHELL-/bin/sh}
    749 
    750 # Identity of this package.
    751 PACKAGE_NAME='libXaw'
    752 PACKAGE_TARNAME='libXaw'
    753 PACKAGE_VERSION='1.0.5'
    754 PACKAGE_STRING='libXaw 1.0.5'
    755 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    756 
    757 # Factoring default headers for most tests.
    758 ac_includes_default="\
    759 #include <stdio.h>
    760 #ifdef HAVE_SYS_TYPES_H
    761 # include <sys/types.h>
    762 #endif
    763 #ifdef HAVE_SYS_STAT_H
    764 # include <sys/stat.h>
    765 #endif
    766 #ifdef STDC_HEADERS
    767 # include <stdlib.h>
    768 # include <stddef.h>
    769 #else
    770 # ifdef HAVE_STDLIB_H
    771 #  include <stdlib.h>
    772 # endif
    773 #endif
    774 #ifdef HAVE_STRING_H
    775 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    776 #  include <memory.h>
    777 # endif
    778 # include <string.h>
    779 #endif
    780 #ifdef HAVE_STRINGS_H
    781 # include <strings.h>
    782 #endif
    783 #ifdef HAVE_INTTYPES_H
    784 # include <inttypes.h>
    785 #endif
    786 #ifdef HAVE_STDINT_H
    787 # include <stdint.h>
    788 #endif
    789 #ifdef HAVE_UNISTD_H
    790 # include <unistd.h>
    791 #endif"
    792 
    793 ac_subst_vars='LTLIBOBJS
    794 LIBOBJS
    795 ADMIN_MAN_DIR
    796 DRIVER_MAN_DIR
    797 MISC_MAN_DIR
    798 FILE_MAN_DIR
    799 LIB_MAN_DIR
    800 APP_MAN_DIR
    801 ADMIN_MAN_SUFFIX
    802 DRIVER_MAN_SUFFIX
    803 MISC_MAN_SUFFIX
    804 FILE_MAN_SUFFIX
    805 LIB_MAN_SUFFIX
    806 APP_MAN_SUFFIX
    807 BUILD_XAW7_FALSE
    808 BUILD_XAW7_TRUE
    809 BUILD_XAW6_FALSE
    810 BUILD_XAW6_TRUE
    811 XAW7_LIBS
    812 XAW7_CFLAGS
    813 XAW6_LIBS
    814 XAW6_CFLAGS
    815 PLATFORM_WIN32_FALSE
    816 PLATFORM_WIN32_TRUE
    817 PKG_CONFIG
    818 LIBTOOL
    819 ac_ct_F77
    820 FFLAGS
    821 F77
    822 CXXCPP
    823 am__fastdepCXX_FALSE
    824 am__fastdepCXX_TRUE
    825 CXXDEPMODE
    826 ac_ct_CXX
    827 CXXFLAGS
    828 CXX
    829 CPP
    830 NMEDIT
    831 DSYMUTIL
    832 RANLIB
    833 AR
    834 ECHO
    835 LN_S
    836 EGREP
    837 GREP
    838 SED
    839 host_os
    840 host_vendor
    841 host_cpu
    842 host
    843 build_os
    844 build_vendor
    845 build_cpu
    846 build
    847 am__fastdepCC_FALSE
    848 am__fastdepCC_TRUE
    849 CCDEPMODE
    850 AMDEPBACKSLASH
    851 AMDEP_FALSE
    852 AMDEP_TRUE
    853 am__quote
    854 am__include
    855 DEPDIR
    856 OBJEXT
    857 EXEEXT
    858 ac_ct_CC
    859 CPPFLAGS
    860 LDFLAGS
    861 CFLAGS
    862 CC
    863 am__untar
    864 am__tar
    865 AMTAR
    866 am__leading_dot
    867 SET_MAKE
    868 AWK
    869 mkdir_p
    870 MKDIR_P
    871 INSTALL_STRIP_PROGRAM
    872 STRIP
    873 install_sh
    874 MAKEINFO
    875 AUTOHEADER
    876 AUTOMAKE
    877 AUTOCONF
    878 ACLOCAL
    879 VERSION
    880 PACKAGE
    881 CYGPATH_W
    882 am__isrc
    883 INSTALL_DATA
    884 INSTALL_SCRIPT
    885 INSTALL_PROGRAM
    886 target_alias
    887 host_alias
    888 build_alias
    889 LIBS
    890 ECHO_T
    891 ECHO_N
    892 ECHO_C
    893 DEFS
    894 mandir
    895 localedir
    896 libdir
    897 psdir
    898 pdfdir
    899 dvidir
    900 htmldir
    901 infodir
    902 docdir
    903 oldincludedir
    904 includedir
    905 localstatedir
    906 sharedstatedir
    907 sysconfdir
    908 datadir
    909 datarootdir
    910 libexecdir
    911 sbindir
    912 bindir
    913 program_transform_name
    914 prefix
    915 exec_prefix
    916 PACKAGE_BUGREPORT
    917 PACKAGE_STRING
    918 PACKAGE_VERSION
    919 PACKAGE_TARNAME
    920 PACKAGE_NAME
    921 PATH_SEPARATOR
    922 SHELL'
    923 ac_subst_files=''
    924 ac_user_opts='
    925 enable_option_checking
    926 enable_dependency_tracking
    927 enable_shared
    928 enable_static
    929 enable_fast_install
    930 with_gnu_ld
    931 enable_libtool_lock
    932 with_pic
    933 with_tags
    934 enable_xaw6
    935 enable_xaw7
    936 with_release_version
    937 '
    938       ac_precious_vars='build_alias
    939 host_alias
    940 target_alias
    941 CC
    942 CFLAGS
    943 LDFLAGS
    944 LIBS
    945 CPPFLAGS
    946 CPP
    947 CXX
    948 CXXFLAGS
    949 CCC
    950 CXXCPP
    951 F77
    952 FFLAGS
    953 PKG_CONFIG
    954 XAW6_CFLAGS
    955 XAW6_LIBS
    956 XAW7_CFLAGS
    957 XAW7_LIBS'
    958 
    959 
    960 # Initialize some variables set by options.
    961 ac_init_help=
    962 ac_init_version=false
    963 ac_unrecognized_opts=
    964 ac_unrecognized_sep=
    965 # The variables have the same names as the options, with
    966 # dashes changed to underlines.
    967 cache_file=/dev/null
    968 exec_prefix=NONE
    969 no_create=
    970 no_recursion=
    971 prefix=NONE
    972 program_prefix=NONE
    973 program_suffix=NONE
    974 program_transform_name=s,x,x,
    975 silent=
    976 site=
    977 srcdir=
    978 verbose=
    979 x_includes=NONE
    980 x_libraries=NONE
    981 
    982 # Installation directory options.
    983 # These are left unexpanded so users can "make install exec_prefix=/foo"
    984 # and all the variables that are supposed to be based on exec_prefix
    985 # by default will actually change.
    986 # Use braces instead of parens because sh, perl, etc. also accept them.
    987 # (The list follows the same order as the GNU Coding Standards.)
    988 bindir='${exec_prefix}/bin'
    989 sbindir='${exec_prefix}/sbin'
    990 libexecdir='${exec_prefix}/libexec'
    991 datarootdir='${prefix}/share'
    992 datadir='${datarootdir}'
    993 sysconfdir='${prefix}/etc'
    994 sharedstatedir='${prefix}/com'
    995 localstatedir='${prefix}/var'
    996 includedir='${prefix}/include'
    997 oldincludedir='/usr/include'
    998 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    999 infodir='${datarootdir}/info'
   1000 htmldir='${docdir}'
   1001 dvidir='${docdir}'
   1002 pdfdir='${docdir}'
   1003 psdir='${docdir}'
   1004 libdir='${exec_prefix}/lib'
   1005 localedir='${datarootdir}/locale'
   1006 mandir='${datarootdir}/man'
   1007 
   1008 ac_prev=
   1009 ac_dashdash=
   1010 for ac_option
   1011 do
   1012   # If the previous option needs an argument, assign it.
   1013   if test -n "$ac_prev"; then
   1014     eval $ac_prev=\$ac_option
   1015     ac_prev=
   1016     continue
   1017   fi
   1018 
   1019   case $ac_option in
   1020   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1021   *)	ac_optarg=yes ;;
   1022   esac
   1023 
   1024   # Accept the important Cygnus configure options, so we can diagnose typos.
   1025 
   1026   case $ac_dashdash$ac_option in
   1027   --)
   1028     ac_dashdash=yes ;;
   1029 
   1030   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1031     ac_prev=bindir ;;
   1032   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1033     bindir=$ac_optarg ;;
   1034 
   1035   -build | --build | --buil | --bui | --bu)
   1036     ac_prev=build_alias ;;
   1037   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1038     build_alias=$ac_optarg ;;
   1039 
   1040   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1041   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1042     ac_prev=cache_file ;;
   1043   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1044   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1045     cache_file=$ac_optarg ;;
   1046 
   1047   --config-cache | -C)
   1048     cache_file=config.cache ;;
   1049 
   1050   -datadir | --datadir | --datadi | --datad)
   1051     ac_prev=datadir ;;
   1052   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1053     datadir=$ac_optarg ;;
   1054 
   1055   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1056   | --dataroo | --dataro | --datar)
   1057     ac_prev=datarootdir ;;
   1058   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1059   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1060     datarootdir=$ac_optarg ;;
   1061 
   1062   -disable-* | --disable-*)
   1063     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1064     # Reject names that are not valid shell variable names.
   1065     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1066       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1067    { (exit 1); exit 1; }; }
   1068     ac_useropt_orig=$ac_useropt
   1069     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1070     case $ac_user_opts in
   1071       *"
   1072 "enable_$ac_useropt"
   1073 "*) ;;
   1074       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1075 	 ac_unrecognized_sep=', ';;
   1076     esac
   1077     eval enable_$ac_useropt=no ;;
   1078 
   1079   -docdir | --docdir | --docdi | --doc | --do)
   1080     ac_prev=docdir ;;
   1081   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1082     docdir=$ac_optarg ;;
   1083 
   1084   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1085     ac_prev=dvidir ;;
   1086   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1087     dvidir=$ac_optarg ;;
   1088 
   1089   -enable-* | --enable-*)
   1090     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1091     # Reject names that are not valid shell variable names.
   1092     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1093       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1094    { (exit 1); exit 1; }; }
   1095     ac_useropt_orig=$ac_useropt
   1096     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1097     case $ac_user_opts in
   1098       *"
   1099 "enable_$ac_useropt"
   1100 "*) ;;
   1101       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1102 	 ac_unrecognized_sep=', ';;
   1103     esac
   1104     eval enable_$ac_useropt=\$ac_optarg ;;
   1105 
   1106   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1107   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1108   | --exec | --exe | --ex)
   1109     ac_prev=exec_prefix ;;
   1110   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1111   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1112   | --exec=* | --exe=* | --ex=*)
   1113     exec_prefix=$ac_optarg ;;
   1114 
   1115   -gas | --gas | --ga | --g)
   1116     # Obsolete; use --with-gas.
   1117     with_gas=yes ;;
   1118 
   1119   -help | --help | --hel | --he | -h)
   1120     ac_init_help=long ;;
   1121   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1122     ac_init_help=recursive ;;
   1123   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1124     ac_init_help=short ;;
   1125 
   1126   -host | --host | --hos | --ho)
   1127     ac_prev=host_alias ;;
   1128   -host=* | --host=* | --hos=* | --ho=*)
   1129     host_alias=$ac_optarg ;;
   1130 
   1131   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1132     ac_prev=htmldir ;;
   1133   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1134   | --ht=*)
   1135     htmldir=$ac_optarg ;;
   1136 
   1137   -includedir | --includedir | --includedi | --included | --include \
   1138   | --includ | --inclu | --incl | --inc)
   1139     ac_prev=includedir ;;
   1140   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1141   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1142     includedir=$ac_optarg ;;
   1143 
   1144   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1145     ac_prev=infodir ;;
   1146   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1147     infodir=$ac_optarg ;;
   1148 
   1149   -libdir | --libdir | --libdi | --libd)
   1150     ac_prev=libdir ;;
   1151   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1152     libdir=$ac_optarg ;;
   1153 
   1154   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1155   | --libexe | --libex | --libe)
   1156     ac_prev=libexecdir ;;
   1157   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1158   | --libexe=* | --libex=* | --libe=*)
   1159     libexecdir=$ac_optarg ;;
   1160 
   1161   -localedir | --localedir | --localedi | --localed | --locale)
   1162     ac_prev=localedir ;;
   1163   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1164     localedir=$ac_optarg ;;
   1165 
   1166   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1167   | --localstate | --localstat | --localsta | --localst | --locals)
   1168     ac_prev=localstatedir ;;
   1169   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1170   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1171     localstatedir=$ac_optarg ;;
   1172 
   1173   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1174     ac_prev=mandir ;;
   1175   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1176     mandir=$ac_optarg ;;
   1177 
   1178   -nfp | --nfp | --nf)
   1179     # Obsolete; use --without-fp.
   1180     with_fp=no ;;
   1181 
   1182   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1183   | --no-cr | --no-c | -n)
   1184     no_create=yes ;;
   1185 
   1186   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1187   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1188     no_recursion=yes ;;
   1189 
   1190   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1191   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1192   | --oldin | --oldi | --old | --ol | --o)
   1193     ac_prev=oldincludedir ;;
   1194   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1195   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1196   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1197     oldincludedir=$ac_optarg ;;
   1198 
   1199   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1200     ac_prev=prefix ;;
   1201   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1202     prefix=$ac_optarg ;;
   1203 
   1204   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1205   | --program-pre | --program-pr | --program-p)
   1206     ac_prev=program_prefix ;;
   1207   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1208   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1209     program_prefix=$ac_optarg ;;
   1210 
   1211   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1212   | --program-suf | --program-su | --program-s)
   1213     ac_prev=program_suffix ;;
   1214   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1215   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1216     program_suffix=$ac_optarg ;;
   1217 
   1218   -program-transform-name | --program-transform-name \
   1219   | --program-transform-nam | --program-transform-na \
   1220   | --program-transform-n | --program-transform- \
   1221   | --program-transform | --program-transfor \
   1222   | --program-transfo | --program-transf \
   1223   | --program-trans | --program-tran \
   1224   | --progr-tra | --program-tr | --program-t)
   1225     ac_prev=program_transform_name ;;
   1226   -program-transform-name=* | --program-transform-name=* \
   1227   | --program-transform-nam=* | --program-transform-na=* \
   1228   | --program-transform-n=* | --program-transform-=* \
   1229   | --program-transform=* | --program-transfor=* \
   1230   | --program-transfo=* | --program-transf=* \
   1231   | --program-trans=* | --program-tran=* \
   1232   | --progr-tra=* | --program-tr=* | --program-t=*)
   1233     program_transform_name=$ac_optarg ;;
   1234 
   1235   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1236     ac_prev=pdfdir ;;
   1237   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1238     pdfdir=$ac_optarg ;;
   1239 
   1240   -psdir | --psdir | --psdi | --psd | --ps)
   1241     ac_prev=psdir ;;
   1242   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1243     psdir=$ac_optarg ;;
   1244 
   1245   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1246   | -silent | --silent | --silen | --sile | --sil)
   1247     silent=yes ;;
   1248 
   1249   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1250     ac_prev=sbindir ;;
   1251   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1252   | --sbi=* | --sb=*)
   1253     sbindir=$ac_optarg ;;
   1254 
   1255   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1256   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1257   | --sharedst | --shareds | --shared | --share | --shar \
   1258   | --sha | --sh)
   1259     ac_prev=sharedstatedir ;;
   1260   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1261   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1262   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1263   | --sha=* | --sh=*)
   1264     sharedstatedir=$ac_optarg ;;
   1265 
   1266   -site | --site | --sit)
   1267     ac_prev=site ;;
   1268   -site=* | --site=* | --sit=*)
   1269     site=$ac_optarg ;;
   1270 
   1271   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1272     ac_prev=srcdir ;;
   1273   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1274     srcdir=$ac_optarg ;;
   1275 
   1276   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1277   | --syscon | --sysco | --sysc | --sys | --sy)
   1278     ac_prev=sysconfdir ;;
   1279   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1280   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1281     sysconfdir=$ac_optarg ;;
   1282 
   1283   -target | --target | --targe | --targ | --tar | --ta | --t)
   1284     ac_prev=target_alias ;;
   1285   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1286     target_alias=$ac_optarg ;;
   1287 
   1288   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1289     verbose=yes ;;
   1290 
   1291   -version | --version | --versio | --versi | --vers | -V)
   1292     ac_init_version=: ;;
   1293 
   1294   -with-* | --with-*)
   1295     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1296     # Reject names that are not valid shell variable names.
   1297     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1298       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1299    { (exit 1); exit 1; }; }
   1300     ac_useropt_orig=$ac_useropt
   1301     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1302     case $ac_user_opts in
   1303       *"
   1304 "with_$ac_useropt"
   1305 "*) ;;
   1306       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1307 	 ac_unrecognized_sep=', ';;
   1308     esac
   1309     eval with_$ac_useropt=\$ac_optarg ;;
   1310 
   1311   -without-* | --without-*)
   1312     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1313     # Reject names that are not valid shell variable names.
   1314     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1315       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1316    { (exit 1); exit 1; }; }
   1317     ac_useropt_orig=$ac_useropt
   1318     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1319     case $ac_user_opts in
   1320       *"
   1321 "with_$ac_useropt"
   1322 "*) ;;
   1323       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1324 	 ac_unrecognized_sep=', ';;
   1325     esac
   1326     eval with_$ac_useropt=no ;;
   1327 
   1328   --x)
   1329     # Obsolete; use --with-x.
   1330     with_x=yes ;;
   1331 
   1332   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1333   | --x-incl | --x-inc | --x-in | --x-i)
   1334     ac_prev=x_includes ;;
   1335   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1336   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1337     x_includes=$ac_optarg ;;
   1338 
   1339   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1340   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1341     ac_prev=x_libraries ;;
   1342   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1343   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1344     x_libraries=$ac_optarg ;;
   1345 
   1346   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1347 Try \`$0 --help' for more information." >&2
   1348    { (exit 1); exit 1; }; }
   1349     ;;
   1350 
   1351   *=*)
   1352     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1353     # Reject names that are not valid shell variable names.
   1354     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1355       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1356    { (exit 1); exit 1; }; }
   1357     eval $ac_envvar=\$ac_optarg
   1358     export $ac_envvar ;;
   1359 
   1360   *)
   1361     # FIXME: should be removed in autoconf 3.0.
   1362     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1363     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1364       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1365     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1366     ;;
   1367 
   1368   esac
   1369 done
   1370 
   1371 if test -n "$ac_prev"; then
   1372   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1373   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1374    { (exit 1); exit 1; }; }
   1375 fi
   1376 
   1377 if test -n "$ac_unrecognized_opts"; then
   1378   case $enable_option_checking in
   1379     no) ;;
   1380     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1381    { (exit 1); exit 1; }; } ;;
   1382     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1383   esac
   1384 fi
   1385 
   1386 # Check all directory arguments for consistency.
   1387 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1388 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1389 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1390 		libdir localedir mandir
   1391 do
   1392   eval ac_val=\$$ac_var
   1393   # Remove trailing slashes.
   1394   case $ac_val in
   1395     */ )
   1396       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1397       eval $ac_var=\$ac_val;;
   1398   esac
   1399   # Be sure to have absolute directory names.
   1400   case $ac_val in
   1401     [\\/$]* | ?:[\\/]* )  continue;;
   1402     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1403   esac
   1404   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1405    { (exit 1); exit 1; }; }
   1406 done
   1407 
   1408 # There might be people who depend on the old broken behavior: `$host'
   1409 # used to hold the argument of --host etc.
   1410 # FIXME: To remove some day.
   1411 build=$build_alias
   1412 host=$host_alias
   1413 target=$target_alias
   1414 
   1415 # FIXME: To remove some day.
   1416 if test "x$host_alias" != x; then
   1417   if test "x$build_alias" = x; then
   1418     cross_compiling=maybe
   1419     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1420     If a cross compiler is detected then cross compile mode will be used." >&2
   1421   elif test "x$build_alias" != "x$host_alias"; then
   1422     cross_compiling=yes
   1423   fi
   1424 fi
   1425 
   1426 ac_tool_prefix=
   1427 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1428 
   1429 test "$silent" = yes && exec 6>/dev/null
   1430 
   1431 
   1432 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1433 ac_ls_di=`ls -di .` &&
   1434 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1435   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1436    { (exit 1); exit 1; }; }
   1437 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1438   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1439    { (exit 1); exit 1; }; }
   1440 
   1441 
   1442 # Find the source files, if location was not specified.
   1443 if test -z "$srcdir"; then
   1444   ac_srcdir_defaulted=yes
   1445   # Try the directory containing this script, then the parent directory.
   1446   ac_confdir=`$as_dirname -- "$as_myself" ||
   1447 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1448 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1449 	 X"$as_myself" : 'X\(//\)$' \| \
   1450 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1451 $as_echo X"$as_myself" |
   1452     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1453 	    s//\1/
   1454 	    q
   1455 	  }
   1456 	  /^X\(\/\/\)[^/].*/{
   1457 	    s//\1/
   1458 	    q
   1459 	  }
   1460 	  /^X\(\/\/\)$/{
   1461 	    s//\1/
   1462 	    q
   1463 	  }
   1464 	  /^X\(\/\).*/{
   1465 	    s//\1/
   1466 	    q
   1467 	  }
   1468 	  s/.*/./; q'`
   1469   srcdir=$ac_confdir
   1470   if test ! -r "$srcdir/$ac_unique_file"; then
   1471     srcdir=..
   1472   fi
   1473 else
   1474   ac_srcdir_defaulted=no
   1475 fi
   1476 if test ! -r "$srcdir/$ac_unique_file"; then
   1477   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1478   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1479    { (exit 1); exit 1; }; }
   1480 fi
   1481 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1482 ac_abs_confdir=`(
   1483 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1484    { (exit 1); exit 1; }; }
   1485 	pwd)`
   1486 # When building in place, set srcdir=.
   1487 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1488   srcdir=.
   1489 fi
   1490 # Remove unnecessary trailing slashes from srcdir.
   1491 # Double slashes in file names in object file debugging info
   1492 # mess up M-x gdb in Emacs.
   1493 case $srcdir in
   1494 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1495 esac
   1496 for ac_var in $ac_precious_vars; do
   1497   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1498   eval ac_env_${ac_var}_value=\$${ac_var}
   1499   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1500   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1501 done
   1502 
   1503 #
   1504 # Report the --help message.
   1505 #
   1506 if test "$ac_init_help" = "long"; then
   1507   # Omit some internal or obsolete options to make the list less imposing.
   1508   # This message is too long to be a string in the A/UX 3.1 sh.
   1509   cat <<_ACEOF
   1510 \`configure' configures libXaw 1.0.5 to adapt to many kinds of systems.
   1511 
   1512 Usage: $0 [OPTION]... [VAR=VALUE]...
   1513 
   1514 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1515 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1516 
   1517 Defaults for the options are specified in brackets.
   1518 
   1519 Configuration:
   1520   -h, --help              display this help and exit
   1521       --help=short        display options specific to this package
   1522       --help=recursive    display the short help of all the included packages
   1523   -V, --version           display version information and exit
   1524   -q, --quiet, --silent   do not print \`checking...' messages
   1525       --cache-file=FILE   cache test results in FILE [disabled]
   1526   -C, --config-cache      alias for \`--cache-file=config.cache'
   1527   -n, --no-create         do not create output files
   1528       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1529 
   1530 Installation directories:
   1531   --prefix=PREFIX         install architecture-independent files in PREFIX
   1532                           [$ac_default_prefix]
   1533   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1534                           [PREFIX]
   1535 
   1536 By default, \`make install' will install all the files in
   1537 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1538 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1539 for instance \`--prefix=\$HOME'.
   1540 
   1541 For better control, use the options below.
   1542 
   1543 Fine tuning of the installation directories:
   1544   --bindir=DIR            user executables [EPREFIX/bin]
   1545   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1546   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1547   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1548   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1549   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1550   --libdir=DIR            object code libraries [EPREFIX/lib]
   1551   --includedir=DIR        C header files [PREFIX/include]
   1552   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1553   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1554   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1555   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1556   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1557   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1558   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXaw]
   1559   --htmldir=DIR           html documentation [DOCDIR]
   1560   --dvidir=DIR            dvi documentation [DOCDIR]
   1561   --pdfdir=DIR            pdf documentation [DOCDIR]
   1562   --psdir=DIR             ps documentation [DOCDIR]
   1563 _ACEOF
   1564 
   1565   cat <<\_ACEOF
   1566 
   1567 Program names:
   1568   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1569   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1570   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1571 
   1572 System types:
   1573   --build=BUILD     configure for building on BUILD [guessed]
   1574   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1575 _ACEOF
   1576 fi
   1577 
   1578 if test -n "$ac_init_help"; then
   1579   case $ac_init_help in
   1580      short | recursive ) echo "Configuration of libXaw 1.0.5:";;
   1581    esac
   1582   cat <<\_ACEOF
   1583 
   1584 Optional Features:
   1585   --disable-option-checking  ignore unrecognized --enable/--with options
   1586   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1587   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   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   --disable-xaw6          Disable building of libXaw.so.6
   1596   --disable-xaw7          Disable building of libXaw.so.7
   1597 
   1598 Optional Packages:
   1599   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1600   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1601   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1602   --with-pic              try to use only PIC/non-PIC objects [default=use
   1603                           both]
   1604   --with-tags[=TAGS]      include additional configurations [automatic]
   1605   --with-release-version=STRING
   1606                           Use release version string in package name
   1607 
   1608 Some influential environment variables:
   1609   CC          C compiler command
   1610   CFLAGS      C compiler flags
   1611   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1612               nonstandard directory <lib dir>
   1613   LIBS        libraries to pass to the linker, e.g. -l<library>
   1614   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1615               you have headers in a nonstandard directory <include dir>
   1616   CPP         C preprocessor
   1617   CXX         C++ compiler command
   1618   CXXFLAGS    C++ compiler flags
   1619   CXXCPP      C++ preprocessor
   1620   F77         Fortran 77 compiler command
   1621   FFLAGS      Fortran 77 compiler flags
   1622   PKG_CONFIG  path to pkg-config utility
   1623   XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
   1624   XAW6_LIBS   linker flags for XAW6, overriding pkg-config
   1625   XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
   1626   XAW7_LIBS   linker flags for XAW7, overriding pkg-config
   1627 
   1628 Use these variables to override the choices made by `configure' or to help
   1629 it to find libraries and programs with nonstandard names/locations.
   1630 
   1631 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1632 _ACEOF
   1633 ac_status=$?
   1634 fi
   1635 
   1636 if test "$ac_init_help" = "recursive"; then
   1637   # If there are subdirs, report their specific --help.
   1638   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1639     test -d "$ac_dir" ||
   1640       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1641       continue
   1642     ac_builddir=.
   1643 
   1644 case "$ac_dir" in
   1645 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1646 *)
   1647   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1648   # A ".." for each directory in $ac_dir_suffix.
   1649   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1650   case $ac_top_builddir_sub in
   1651   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1652   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1653   esac ;;
   1654 esac
   1655 ac_abs_top_builddir=$ac_pwd
   1656 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1657 # for backward compatibility:
   1658 ac_top_builddir=$ac_top_build_prefix
   1659 
   1660 case $srcdir in
   1661   .)  # We are building in place.
   1662     ac_srcdir=.
   1663     ac_top_srcdir=$ac_top_builddir_sub
   1664     ac_abs_top_srcdir=$ac_pwd ;;
   1665   [\\/]* | ?:[\\/]* )  # Absolute name.
   1666     ac_srcdir=$srcdir$ac_dir_suffix;
   1667     ac_top_srcdir=$srcdir
   1668     ac_abs_top_srcdir=$srcdir ;;
   1669   *) # Relative name.
   1670     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1671     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1672     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1673 esac
   1674 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1675 
   1676     cd "$ac_dir" || { ac_status=$?; continue; }
   1677     # Check for guested configure.
   1678     if test -f "$ac_srcdir/configure.gnu"; then
   1679       echo &&
   1680       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1681     elif test -f "$ac_srcdir/configure"; then
   1682       echo &&
   1683       $SHELL "$ac_srcdir/configure" --help=recursive
   1684     else
   1685       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1686     fi || ac_status=$?
   1687     cd "$ac_pwd" || { ac_status=$?; break; }
   1688   done
   1689 fi
   1690 
   1691 test -n "$ac_init_help" && exit $ac_status
   1692 if $ac_init_version; then
   1693   cat <<\_ACEOF
   1694 libXaw configure 1.0.5
   1695 generated by GNU Autoconf 2.63
   1696 
   1697 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1698 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1699 This configure script is free software; the Free Software Foundation
   1700 gives unlimited permission to copy, distribute and modify it.
   1701 _ACEOF
   1702   exit
   1703 fi
   1704 cat >config.log <<_ACEOF
   1705 This file contains any messages produced by compilers while
   1706 running configure, to aid debugging if configure makes a mistake.
   1707 
   1708 It was created by libXaw $as_me 1.0.5, which was
   1709 generated by GNU Autoconf 2.63.  Invocation command line was
   1710 
   1711   $ $0 $@
   1712 
   1713 _ACEOF
   1714 exec 5>>config.log
   1715 {
   1716 cat <<_ASUNAME
   1717 ## --------- ##
   1718 ## Platform. ##
   1719 ## --------- ##
   1720 
   1721 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1722 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1723 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1724 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1725 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1726 
   1727 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1728 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1729 
   1730 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1731 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1732 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1733 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1734 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1735 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1736 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1737 
   1738 _ASUNAME
   1739 
   1740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1741 for as_dir in $PATH
   1742 do
   1743   IFS=$as_save_IFS
   1744   test -z "$as_dir" && as_dir=.
   1745   $as_echo "PATH: $as_dir"
   1746 done
   1747 IFS=$as_save_IFS
   1748 
   1749 } >&5
   1750 
   1751 cat >&5 <<_ACEOF
   1752 
   1753 
   1754 ## ----------- ##
   1755 ## Core tests. ##
   1756 ## ----------- ##
   1757 
   1758 _ACEOF
   1759 
   1760 
   1761 # Keep a trace of the command line.
   1762 # Strip out --no-create and --no-recursion so they do not pile up.
   1763 # Strip out --silent because we don't want to record it for future runs.
   1764 # Also quote any args containing shell meta-characters.
   1765 # Make two passes to allow for proper duplicate-argument suppression.
   1766 ac_configure_args=
   1767 ac_configure_args0=
   1768 ac_configure_args1=
   1769 ac_must_keep_next=false
   1770 for ac_pass in 1 2
   1771 do
   1772   for ac_arg
   1773   do
   1774     case $ac_arg in
   1775     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1776     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1777     | -silent | --silent | --silen | --sile | --sil)
   1778       continue ;;
   1779     *\'*)
   1780       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1781     esac
   1782     case $ac_pass in
   1783     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1784     2)
   1785       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1786       if test $ac_must_keep_next = true; then
   1787 	ac_must_keep_next=false # Got value, back to normal.
   1788       else
   1789 	case $ac_arg in
   1790 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1791 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1792 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1793 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1794 	    case "$ac_configure_args0 " in
   1795 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1796 	    esac
   1797 	    ;;
   1798 	  -* ) ac_must_keep_next=true ;;
   1799 	esac
   1800       fi
   1801       ac_configure_args="$ac_configure_args '$ac_arg'"
   1802       ;;
   1803     esac
   1804   done
   1805 done
   1806 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1807 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1808 
   1809 # When interrupted or exit'd, cleanup temporary files, and complete
   1810 # config.log.  We remove comments because anyway the quotes in there
   1811 # would cause problems or look ugly.
   1812 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1813 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1814 trap 'exit_status=$?
   1815   # Save into config.log some information that might help in debugging.
   1816   {
   1817     echo
   1818 
   1819     cat <<\_ASBOX
   1820 ## ---------------- ##
   1821 ## Cache variables. ##
   1822 ## ---------------- ##
   1823 _ASBOX
   1824     echo
   1825     # The following way of writing the cache mishandles newlines in values,
   1826 (
   1827   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1828     eval ac_val=\$$ac_var
   1829     case $ac_val in #(
   1830     *${as_nl}*)
   1831       case $ac_var in #(
   1832       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1833 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1834       esac
   1835       case $ac_var in #(
   1836       _ | IFS | as_nl) ;; #(
   1837       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1838       *) $as_unset $ac_var ;;
   1839       esac ;;
   1840     esac
   1841   done
   1842   (set) 2>&1 |
   1843     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1844     *${as_nl}ac_space=\ *)
   1845       sed -n \
   1846 	"s/'\''/'\''\\\\'\'''\''/g;
   1847 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1848       ;; #(
   1849     *)
   1850       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1851       ;;
   1852     esac |
   1853     sort
   1854 )
   1855     echo
   1856 
   1857     cat <<\_ASBOX
   1858 ## ----------------- ##
   1859 ## Output variables. ##
   1860 ## ----------------- ##
   1861 _ASBOX
   1862     echo
   1863     for ac_var in $ac_subst_vars
   1864     do
   1865       eval ac_val=\$$ac_var
   1866       case $ac_val in
   1867       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1868       esac
   1869       $as_echo "$ac_var='\''$ac_val'\''"
   1870     done | sort
   1871     echo
   1872 
   1873     if test -n "$ac_subst_files"; then
   1874       cat <<\_ASBOX
   1875 ## ------------------- ##
   1876 ## File substitutions. ##
   1877 ## ------------------- ##
   1878 _ASBOX
   1879       echo
   1880       for ac_var in $ac_subst_files
   1881       do
   1882 	eval ac_val=\$$ac_var
   1883 	case $ac_val in
   1884 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1885 	esac
   1886 	$as_echo "$ac_var='\''$ac_val'\''"
   1887       done | sort
   1888       echo
   1889     fi
   1890 
   1891     if test -s confdefs.h; then
   1892       cat <<\_ASBOX
   1893 ## ----------- ##
   1894 ## confdefs.h. ##
   1895 ## ----------- ##
   1896 _ASBOX
   1897       echo
   1898       cat confdefs.h
   1899       echo
   1900     fi
   1901     test "$ac_signal" != 0 &&
   1902       $as_echo "$as_me: caught signal $ac_signal"
   1903     $as_echo "$as_me: exit $exit_status"
   1904   } >&5
   1905   rm -f core *.core core.conftest.* &&
   1906     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1907     exit $exit_status
   1908 ' 0
   1909 for ac_signal in 1 2 13 15; do
   1910   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1911 done
   1912 ac_signal=0
   1913 
   1914 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1915 rm -f -r conftest* confdefs.h
   1916 
   1917 # Predefined preprocessor variables.
   1918 
   1919 cat >>confdefs.h <<_ACEOF
   1920 #define PACKAGE_NAME "$PACKAGE_NAME"
   1921 _ACEOF
   1922 
   1923 
   1924 cat >>confdefs.h <<_ACEOF
   1925 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1926 _ACEOF
   1927 
   1928 
   1929 cat >>confdefs.h <<_ACEOF
   1930 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1931 _ACEOF
   1932 
   1933 
   1934 cat >>confdefs.h <<_ACEOF
   1935 #define PACKAGE_STRING "$PACKAGE_STRING"
   1936 _ACEOF
   1937 
   1938 
   1939 cat >>confdefs.h <<_ACEOF
   1940 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1941 _ACEOF
   1942 
   1943 
   1944 # Let the site file select an alternate cache file if it wants to.
   1945 # Prefer an explicitly selected file to automatically selected ones.
   1946 ac_site_file1=NONE
   1947 ac_site_file2=NONE
   1948 if test -n "$CONFIG_SITE"; then
   1949   ac_site_file1=$CONFIG_SITE
   1950 elif test "x$prefix" != xNONE; then
   1951   ac_site_file1=$prefix/share/config.site
   1952   ac_site_file2=$prefix/etc/config.site
   1953 else
   1954   ac_site_file1=$ac_default_prefix/share/config.site
   1955   ac_site_file2=$ac_default_prefix/etc/config.site
   1956 fi
   1957 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1958 do
   1959   test "x$ac_site_file" = xNONE && continue
   1960   if test -r "$ac_site_file"; then
   1961     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1962 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1963     sed 's/^/| /' "$ac_site_file" >&5
   1964     . "$ac_site_file"
   1965   fi
   1966 done
   1967 
   1968 if test -r "$cache_file"; then
   1969   # Some versions of bash will fail to source /dev/null (special
   1970   # files actually), so we avoid doing that.
   1971   if test -f "$cache_file"; then
   1972     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1973 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1974     case $cache_file in
   1975       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1976       *)                      . "./$cache_file";;
   1977     esac
   1978   fi
   1979 else
   1980   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1981 $as_echo "$as_me: creating cache $cache_file" >&6;}
   1982   >$cache_file
   1983 fi
   1984 
   1985 # Check that the precious variables saved in the cache have kept the same
   1986 # value.
   1987 ac_cache_corrupted=false
   1988 for ac_var in $ac_precious_vars; do
   1989   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1990   eval ac_new_set=\$ac_env_${ac_var}_set
   1991   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   1992   eval ac_new_val=\$ac_env_${ac_var}_value
   1993   case $ac_old_set,$ac_new_set in
   1994     set,)
   1995       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1996 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1997       ac_cache_corrupted=: ;;
   1998     ,set)
   1999       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2000 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2001       ac_cache_corrupted=: ;;
   2002     ,);;
   2003     *)
   2004       if test "x$ac_old_val" != "x$ac_new_val"; then
   2005 	# differences in whitespace do not lead to failure.
   2006 	ac_old_val_w=`echo x $ac_old_val`
   2007 	ac_new_val_w=`echo x $ac_new_val`
   2008 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2009 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2010 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2011 	  ac_cache_corrupted=:
   2012 	else
   2013 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2014 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2015 	  eval $ac_var=\$ac_old_val
   2016 	fi
   2017 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2018 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2019 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2020 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2021       fi;;
   2022   esac
   2023   # Pass precious variables to config.status.
   2024   if test "$ac_new_set" = set; then
   2025     case $ac_new_val in
   2026     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2027     *) ac_arg=$ac_var=$ac_new_val ;;
   2028     esac
   2029     case " $ac_configure_args " in
   2030       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2031       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2032     esac
   2033   fi
   2034 done
   2035 if $ac_cache_corrupted; then
   2036   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2037 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2038   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2039 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2040   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2041 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2042    { (exit 1); exit 1; }; }
   2043 fi
   2044 
   2045 
   2046 
   2047 
   2048 
   2049 
   2050 
   2051 
   2052 
   2053 
   2054 
   2055 
   2056 
   2057 
   2058 
   2059 
   2060 
   2061 
   2062 
   2063 
   2064 
   2065 
   2066 
   2067 
   2068 
   2069 ac_ext=c
   2070 ac_cpp='$CPP $CPPFLAGS'
   2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2074 
   2075 
   2076 
   2077 am__api_version='1.10'
   2078 
   2079 ac_aux_dir=
   2080 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2081   if test -f "$ac_dir/install-sh"; then
   2082     ac_aux_dir=$ac_dir
   2083     ac_install_sh="$ac_aux_dir/install-sh -c"
   2084     break
   2085   elif test -f "$ac_dir/install.sh"; then
   2086     ac_aux_dir=$ac_dir
   2087     ac_install_sh="$ac_aux_dir/install.sh -c"
   2088     break
   2089   elif test -f "$ac_dir/shtool"; then
   2090     ac_aux_dir=$ac_dir
   2091     ac_install_sh="$ac_aux_dir/shtool install -c"
   2092     break
   2093   fi
   2094 done
   2095 if test -z "$ac_aux_dir"; then
   2096   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2097 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2098    { (exit 1); exit 1; }; }
   2099 fi
   2100 
   2101 # These three variables are undocumented and unsupported,
   2102 # and are intended to be withdrawn in a future Autoconf release.
   2103 # They can cause serious problems if a builder's source tree is in a directory
   2104 # whose full name contains unusual characters.
   2105 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2106 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2107 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2108 
   2109 
   2110 # Find a good install program.  We prefer a C program (faster),
   2111 # so one script is as good as another.  But avoid the broken or
   2112 # incompatible versions:
   2113 # SysV /etc/install, /usr/sbin/install
   2114 # SunOS /usr/etc/install
   2115 # IRIX /sbin/install
   2116 # AIX /bin/install
   2117 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2118 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2119 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2120 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2121 # OS/2's system install, which has a completely different semantic
   2122 # ./install, which can be erroneously created by make from ./install.sh.
   2123 # Reject install programs that cannot install multiple files.
   2124 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2125 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2126 if test -z "$INSTALL"; then
   2127 if test "${ac_cv_path_install+set}" = set; then
   2128   $as_echo_n "(cached) " >&6
   2129 else
   2130   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2131 for as_dir in $PATH
   2132 do
   2133   IFS=$as_save_IFS
   2134   test -z "$as_dir" && as_dir=.
   2135   # Account for people who put trailing slashes in PATH elements.
   2136 case $as_dir/ in
   2137   ./ | .// | /cC/* | \
   2138   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2139   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2140   /usr/ucb/* ) ;;
   2141   *)
   2142     # OSF1 and SCO ODT 3.0 have their own names for install.
   2143     # Don't use installbsd from OSF since it installs stuff as root
   2144     # by default.
   2145     for ac_prog in ginstall scoinst install; do
   2146       for ac_exec_ext in '' $ac_executable_extensions; do
   2147 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2148 	  if test $ac_prog = install &&
   2149 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2150 	    # AIX install.  It has an incompatible calling convention.
   2151 	    :
   2152 	  elif test $ac_prog = install &&
   2153 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2154 	    # program-specific install script used by HP pwplus--don't use.
   2155 	    :
   2156 	  else
   2157 	    rm -rf conftest.one conftest.two conftest.dir
   2158 	    echo one > conftest.one
   2159 	    echo two > conftest.two
   2160 	    mkdir conftest.dir
   2161 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2162 	      test -s conftest.one && test -s conftest.two &&
   2163 	      test -s conftest.dir/conftest.one &&
   2164 	      test -s conftest.dir/conftest.two
   2165 	    then
   2166 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2167 	      break 3
   2168 	    fi
   2169 	  fi
   2170 	fi
   2171       done
   2172     done
   2173     ;;
   2174 esac
   2175 
   2176 done
   2177 IFS=$as_save_IFS
   2178 
   2179 rm -rf conftest.one conftest.two conftest.dir
   2180 
   2181 fi
   2182   if test "${ac_cv_path_install+set}" = set; then
   2183     INSTALL=$ac_cv_path_install
   2184   else
   2185     # As a last resort, use the slow shell script.  Don't cache a
   2186     # value for INSTALL within a source directory, because that will
   2187     # break other packages using the cache if that directory is
   2188     # removed, or if the value is a relative name.
   2189     INSTALL=$ac_install_sh
   2190   fi
   2191 fi
   2192 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2193 $as_echo "$INSTALL" >&6; }
   2194 
   2195 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2196 # It thinks the first close brace ends the variable substitution.
   2197 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2198 
   2199 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2200 
   2201 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2202 
   2203 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2204 $as_echo_n "checking whether build environment is sane... " >&6; }
   2205 # Just in case
   2206 sleep 1
   2207 echo timestamp > conftest.file
   2208 # Do `set' in a subshell so we don't clobber the current shell's
   2209 # arguments.  Must try -L first in case configure is actually a
   2210 # symlink; some systems play weird games with the mod time of symlinks
   2211 # (eg FreeBSD returns the mod time of the symlink's containing
   2212 # directory).
   2213 if (
   2214    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2215    if test "$*" = "X"; then
   2216       # -L didn't work.
   2217       set X `ls -t $srcdir/configure conftest.file`
   2218    fi
   2219    rm -f conftest.file
   2220    if test "$*" != "X $srcdir/configure conftest.file" \
   2221       && test "$*" != "X conftest.file $srcdir/configure"; then
   2222 
   2223       # If neither matched, then we have a broken ls.  This can happen
   2224       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2225       # broken ls alias from the environment.  This has actually
   2226       # happened.  Such a system could not be considered "sane".
   2227       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2228 alias in your environment" >&5
   2229 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2230 alias in your environment" >&2;}
   2231    { (exit 1); exit 1; }; }
   2232    fi
   2233 
   2234    test "$2" = conftest.file
   2235    )
   2236 then
   2237    # Ok.
   2238    :
   2239 else
   2240    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2241 Check your system clock" >&5
   2242 $as_echo "$as_me: error: newly created file is older than distributed files!
   2243 Check your system clock" >&2;}
   2244    { (exit 1); exit 1; }; }
   2245 fi
   2246 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2247 $as_echo "yes" >&6; }
   2248 test "$program_prefix" != NONE &&
   2249   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2250 # Use a double $ so make ignores it.
   2251 test "$program_suffix" != NONE &&
   2252   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2253 # Double any \ or $.
   2254 # By default was `s,x,x', remove it if useless.
   2255 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2256 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2257 
   2258 # expand $ac_aux_dir to an absolute path
   2259 am_aux_dir=`cd $ac_aux_dir && pwd`
   2260 
   2261 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2262 # Use eval to expand $SHELL
   2263 if eval "$MISSING --run true"; then
   2264   am_missing_run="$MISSING --run "
   2265 else
   2266   am_missing_run=
   2267   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2268 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2269 fi
   2270 
   2271 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2272 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2273 if test -z "$MKDIR_P"; then
   2274   if test "${ac_cv_path_mkdir+set}" = set; then
   2275   $as_echo_n "(cached) " >&6
   2276 else
   2277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2278 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2279 do
   2280   IFS=$as_save_IFS
   2281   test -z "$as_dir" && as_dir=.
   2282   for ac_prog in mkdir gmkdir; do
   2283 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2284 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2285 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2286 	     'mkdir (GNU coreutils) '* | \
   2287 	     'mkdir (coreutils) '* | \
   2288 	     'mkdir (fileutils) '4.1*)
   2289 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2290 	       break 3;;
   2291 	   esac
   2292 	 done
   2293        done
   2294 done
   2295 IFS=$as_save_IFS
   2296 
   2297 fi
   2298 
   2299   if test "${ac_cv_path_mkdir+set}" = set; then
   2300     MKDIR_P="$ac_cv_path_mkdir -p"
   2301   else
   2302     # As a last resort, use the slow shell script.  Don't cache a
   2303     # value for MKDIR_P within a source directory, because that will
   2304     # break other packages using the cache if that directory is
   2305     # removed, or if the value is a relative name.
   2306     test -d ./--version && rmdir ./--version
   2307     MKDIR_P="$ac_install_sh -d"
   2308   fi
   2309 fi
   2310 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2311 $as_echo "$MKDIR_P" >&6; }
   2312 
   2313 mkdir_p="$MKDIR_P"
   2314 case $mkdir_p in
   2315   [\\/$]* | ?:[\\/]*) ;;
   2316   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2317 esac
   2318 
   2319 for ac_prog in gawk mawk nawk awk
   2320 do
   2321   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2322 set dummy $ac_prog; ac_word=$2
   2323 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2324 $as_echo_n "checking for $ac_word... " >&6; }
   2325 if test "${ac_cv_prog_AWK+set}" = set; then
   2326   $as_echo_n "(cached) " >&6
   2327 else
   2328   if test -n "$AWK"; then
   2329   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2330 else
   2331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2332 for as_dir in $PATH
   2333 do
   2334   IFS=$as_save_IFS
   2335   test -z "$as_dir" && as_dir=.
   2336   for ac_exec_ext in '' $ac_executable_extensions; do
   2337   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2338     ac_cv_prog_AWK="$ac_prog"
   2339     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2340     break 2
   2341   fi
   2342 done
   2343 done
   2344 IFS=$as_save_IFS
   2345 
   2346 fi
   2347 fi
   2348 AWK=$ac_cv_prog_AWK
   2349 if test -n "$AWK"; then
   2350   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2351 $as_echo "$AWK" >&6; }
   2352 else
   2353   { $as_echo "$as_me:$LINENO: result: no" >&5
   2354 $as_echo "no" >&6; }
   2355 fi
   2356 
   2357 
   2358   test -n "$AWK" && break
   2359 done
   2360 
   2361 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2362 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2363 set x ${MAKE-make}
   2364 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2365 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2366   $as_echo_n "(cached) " >&6
   2367 else
   2368   cat >conftest.make <<\_ACEOF
   2369 SHELL = /bin/sh
   2370 all:
   2371 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2372 _ACEOF
   2373 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2374 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2375   *@@@%%%=?*=@@@%%%*)
   2376     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2377   *)
   2378     eval ac_cv_prog_make_${ac_make}_set=no;;
   2379 esac
   2380 rm -f conftest.make
   2381 fi
   2382 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2383   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2384 $as_echo "yes" >&6; }
   2385   SET_MAKE=
   2386 else
   2387   { $as_echo "$as_me:$LINENO: result: no" >&5
   2388 $as_echo "no" >&6; }
   2389   SET_MAKE="MAKE=${MAKE-make}"
   2390 fi
   2391 
   2392 rm -rf .tst 2>/dev/null
   2393 mkdir .tst 2>/dev/null
   2394 if test -d .tst; then
   2395   am__leading_dot=.
   2396 else
   2397   am__leading_dot=_
   2398 fi
   2399 rmdir .tst 2>/dev/null
   2400 
   2401 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2402   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2403   # is not polluted with repeated "-I."
   2404   am__isrc=' -I$(srcdir)'
   2405   # test to see if srcdir already configured
   2406   if test -f $srcdir/config.status; then
   2407     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2408 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2409    { (exit 1); exit 1; }; }
   2410   fi
   2411 fi
   2412 
   2413 # test whether we have cygpath
   2414 if test -z "$CYGPATH_W"; then
   2415   if (cygpath --version) >/dev/null 2>/dev/null; then
   2416     CYGPATH_W='cygpath -w'
   2417   else
   2418     CYGPATH_W=echo
   2419   fi
   2420 fi
   2421 
   2422 
   2423 # Define the identity of the package.
   2424  PACKAGE='libXaw'
   2425  VERSION='1.0.5'
   2426 
   2427 
   2428 cat >>confdefs.h <<_ACEOF
   2429 #define PACKAGE "$PACKAGE"
   2430 _ACEOF
   2431 
   2432 
   2433 cat >>confdefs.h <<_ACEOF
   2434 #define VERSION "$VERSION"
   2435 _ACEOF
   2436 
   2437 # Some tools Automake needs.
   2438 
   2439 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2440 
   2441 
   2442 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2443 
   2444 
   2445 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2446 
   2447 
   2448 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2449 
   2450 
   2451 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2452 
   2453 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
   2454 
   2455 # Installed binaries are usually stripped using `strip' when the user
   2456 # run `make install-strip'.  However `strip' might not be the right
   2457 # tool to use in cross-compilation environments, therefore Automake
   2458 # will honor the `STRIP' environment variable to overrule this program.
   2459 if test "$cross_compiling" != no; then
   2460   if test -n "$ac_tool_prefix"; then
   2461   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2462 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2463 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2464 $as_echo_n "checking for $ac_word... " >&6; }
   2465 if test "${ac_cv_prog_STRIP+set}" = set; then
   2466   $as_echo_n "(cached) " >&6
   2467 else
   2468   if test -n "$STRIP"; then
   2469   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2470 else
   2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2472 for as_dir in $PATH
   2473 do
   2474   IFS=$as_save_IFS
   2475   test -z "$as_dir" && as_dir=.
   2476   for ac_exec_ext in '' $ac_executable_extensions; do
   2477   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2478     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2479     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2480     break 2
   2481   fi
   2482 done
   2483 done
   2484 IFS=$as_save_IFS
   2485 
   2486 fi
   2487 fi
   2488 STRIP=$ac_cv_prog_STRIP
   2489 if test -n "$STRIP"; then
   2490   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2491 $as_echo "$STRIP" >&6; }
   2492 else
   2493   { $as_echo "$as_me:$LINENO: result: no" >&5
   2494 $as_echo "no" >&6; }
   2495 fi
   2496 
   2497 
   2498 fi
   2499 if test -z "$ac_cv_prog_STRIP"; then
   2500   ac_ct_STRIP=$STRIP
   2501   # Extract the first word of "strip", so it can be a program name with args.
   2502 set dummy strip; ac_word=$2
   2503 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2504 $as_echo_n "checking for $ac_word... " >&6; }
   2505 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2506   $as_echo_n "(cached) " >&6
   2507 else
   2508   if test -n "$ac_ct_STRIP"; then
   2509   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2510 else
   2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 for as_dir in $PATH
   2513 do
   2514   IFS=$as_save_IFS
   2515   test -z "$as_dir" && as_dir=.
   2516   for ac_exec_ext in '' $ac_executable_extensions; do
   2517   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2518     ac_cv_prog_ac_ct_STRIP="strip"
   2519     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2520     break 2
   2521   fi
   2522 done
   2523 done
   2524 IFS=$as_save_IFS
   2525 
   2526 fi
   2527 fi
   2528 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2529 if test -n "$ac_ct_STRIP"; then
   2530   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2531 $as_echo "$ac_ct_STRIP" >&6; }
   2532 else
   2533   { $as_echo "$as_me:$LINENO: result: no" >&5
   2534 $as_echo "no" >&6; }
   2535 fi
   2536 
   2537   if test "x$ac_ct_STRIP" = x; then
   2538     STRIP=":"
   2539   else
   2540     case $cross_compiling:$ac_tool_warned in
   2541 yes:)
   2542 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2544 ac_tool_warned=yes ;;
   2545 esac
   2546     STRIP=$ac_ct_STRIP
   2547   fi
   2548 else
   2549   STRIP="$ac_cv_prog_STRIP"
   2550 fi
   2551 
   2552 fi
   2553 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2554 
   2555 # We need awk for the "check" target.  The system "awk" is bad on
   2556 # some platforms.
   2557 # Always define AMTAR for backward compatibility.
   2558 
   2559 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2560 
   2561 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2562 
   2563 
   2564 
   2565 
   2566 
   2567 
   2568 ac_config_headers="$ac_config_headers config.h"
   2569 
   2570 
   2571 # Check for progs
   2572 ac_ext=c
   2573 ac_cpp='$CPP $CPPFLAGS'
   2574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2577 if test -n "$ac_tool_prefix"; then
   2578   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2579 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2580 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2581 $as_echo_n "checking for $ac_word... " >&6; }
   2582 if test "${ac_cv_prog_CC+set}" = set; then
   2583   $as_echo_n "(cached) " >&6
   2584 else
   2585   if test -n "$CC"; then
   2586   ac_cv_prog_CC="$CC" # Let the user override the test.
   2587 else
   2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2589 for as_dir in $PATH
   2590 do
   2591   IFS=$as_save_IFS
   2592   test -z "$as_dir" && as_dir=.
   2593   for ac_exec_ext in '' $ac_executable_extensions; do
   2594   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2595     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2596     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2597     break 2
   2598   fi
   2599 done
   2600 done
   2601 IFS=$as_save_IFS
   2602 
   2603 fi
   2604 fi
   2605 CC=$ac_cv_prog_CC
   2606 if test -n "$CC"; then
   2607   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2608 $as_echo "$CC" >&6; }
   2609 else
   2610   { $as_echo "$as_me:$LINENO: result: no" >&5
   2611 $as_echo "no" >&6; }
   2612 fi
   2613 
   2614 
   2615 fi
   2616 if test -z "$ac_cv_prog_CC"; then
   2617   ac_ct_CC=$CC
   2618   # Extract the first word of "gcc", so it can be a program name with args.
   2619 set dummy gcc; ac_word=$2
   2620 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2621 $as_echo_n "checking for $ac_word... " >&6; }
   2622 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2623   $as_echo_n "(cached) " >&6
   2624 else
   2625   if test -n "$ac_ct_CC"; then
   2626   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2627 else
   2628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2629 for as_dir in $PATH
   2630 do
   2631   IFS=$as_save_IFS
   2632   test -z "$as_dir" && as_dir=.
   2633   for ac_exec_ext in '' $ac_executable_extensions; do
   2634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2635     ac_cv_prog_ac_ct_CC="gcc"
   2636     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2637     break 2
   2638   fi
   2639 done
   2640 done
   2641 IFS=$as_save_IFS
   2642 
   2643 fi
   2644 fi
   2645 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2646 if test -n "$ac_ct_CC"; then
   2647   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2648 $as_echo "$ac_ct_CC" >&6; }
   2649 else
   2650   { $as_echo "$as_me:$LINENO: result: no" >&5
   2651 $as_echo "no" >&6; }
   2652 fi
   2653 
   2654   if test "x$ac_ct_CC" = x; then
   2655     CC=""
   2656   else
   2657     case $cross_compiling:$ac_tool_warned in
   2658 yes:)
   2659 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2661 ac_tool_warned=yes ;;
   2662 esac
   2663     CC=$ac_ct_CC
   2664   fi
   2665 else
   2666   CC="$ac_cv_prog_CC"
   2667 fi
   2668 
   2669 if test -z "$CC"; then
   2670           if test -n "$ac_tool_prefix"; then
   2671     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2672 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2673 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2674 $as_echo_n "checking for $ac_word... " >&6; }
   2675 if test "${ac_cv_prog_CC+set}" = set; then
   2676   $as_echo_n "(cached) " >&6
   2677 else
   2678   if test -n "$CC"; then
   2679   ac_cv_prog_CC="$CC" # Let the user override the test.
   2680 else
   2681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2682 for as_dir in $PATH
   2683 do
   2684   IFS=$as_save_IFS
   2685   test -z "$as_dir" && as_dir=.
   2686   for ac_exec_ext in '' $ac_executable_extensions; do
   2687   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2688     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2689     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2690     break 2
   2691   fi
   2692 done
   2693 done
   2694 IFS=$as_save_IFS
   2695 
   2696 fi
   2697 fi
   2698 CC=$ac_cv_prog_CC
   2699 if test -n "$CC"; then
   2700   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2701 $as_echo "$CC" >&6; }
   2702 else
   2703   { $as_echo "$as_me:$LINENO: result: no" >&5
   2704 $as_echo "no" >&6; }
   2705 fi
   2706 
   2707 
   2708   fi
   2709 fi
   2710 if test -z "$CC"; then
   2711   # Extract the first word of "cc", so it can be a program name with args.
   2712 set dummy cc; ac_word=$2
   2713 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2714 $as_echo_n "checking for $ac_word... " >&6; }
   2715 if test "${ac_cv_prog_CC+set}" = set; then
   2716   $as_echo_n "(cached) " >&6
   2717 else
   2718   if test -n "$CC"; then
   2719   ac_cv_prog_CC="$CC" # Let the user override the test.
   2720 else
   2721   ac_prog_rejected=no
   2722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2723 for as_dir in $PATH
   2724 do
   2725   IFS=$as_save_IFS
   2726   test -z "$as_dir" && as_dir=.
   2727   for ac_exec_ext in '' $ac_executable_extensions; do
   2728   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2729     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2730        ac_prog_rejected=yes
   2731        continue
   2732      fi
   2733     ac_cv_prog_CC="cc"
   2734     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2735     break 2
   2736   fi
   2737 done
   2738 done
   2739 IFS=$as_save_IFS
   2740 
   2741 if test $ac_prog_rejected = yes; then
   2742   # We found a bogon in the path, so make sure we never use it.
   2743   set dummy $ac_cv_prog_CC
   2744   shift
   2745   if test $# != 0; then
   2746     # We chose a different compiler from the bogus one.
   2747     # However, it has the same basename, so the bogon will be chosen
   2748     # first if we set CC to just the basename; use the full file name.
   2749     shift
   2750     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2751   fi
   2752 fi
   2753 fi
   2754 fi
   2755 CC=$ac_cv_prog_CC
   2756 if test -n "$CC"; then
   2757   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2758 $as_echo "$CC" >&6; }
   2759 else
   2760   { $as_echo "$as_me:$LINENO: result: no" >&5
   2761 $as_echo "no" >&6; }
   2762 fi
   2763 
   2764 
   2765 fi
   2766 if test -z "$CC"; then
   2767   if test -n "$ac_tool_prefix"; then
   2768   for ac_prog in cl.exe
   2769   do
   2770     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2771 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2772 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2773 $as_echo_n "checking for $ac_word... " >&6; }
   2774 if test "${ac_cv_prog_CC+set}" = set; then
   2775   $as_echo_n "(cached) " >&6
   2776 else
   2777   if test -n "$CC"; then
   2778   ac_cv_prog_CC="$CC" # Let the user override the test.
   2779 else
   2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2781 for as_dir in $PATH
   2782 do
   2783   IFS=$as_save_IFS
   2784   test -z "$as_dir" && as_dir=.
   2785   for ac_exec_ext in '' $ac_executable_extensions; do
   2786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2787     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2788     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2789     break 2
   2790   fi
   2791 done
   2792 done
   2793 IFS=$as_save_IFS
   2794 
   2795 fi
   2796 fi
   2797 CC=$ac_cv_prog_CC
   2798 if test -n "$CC"; then
   2799   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2800 $as_echo "$CC" >&6; }
   2801 else
   2802   { $as_echo "$as_me:$LINENO: result: no" >&5
   2803 $as_echo "no" >&6; }
   2804 fi
   2805 
   2806 
   2807     test -n "$CC" && break
   2808   done
   2809 fi
   2810 if test -z "$CC"; then
   2811   ac_ct_CC=$CC
   2812   for ac_prog in cl.exe
   2813 do
   2814   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2815 set dummy $ac_prog; ac_word=$2
   2816 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2817 $as_echo_n "checking for $ac_word... " >&6; }
   2818 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2819   $as_echo_n "(cached) " >&6
   2820 else
   2821   if test -n "$ac_ct_CC"; then
   2822   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2823 else
   2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2825 for as_dir in $PATH
   2826 do
   2827   IFS=$as_save_IFS
   2828   test -z "$as_dir" && as_dir=.
   2829   for ac_exec_ext in '' $ac_executable_extensions; do
   2830   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2831     ac_cv_prog_ac_ct_CC="$ac_prog"
   2832     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2833     break 2
   2834   fi
   2835 done
   2836 done
   2837 IFS=$as_save_IFS
   2838 
   2839 fi
   2840 fi
   2841 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2842 if test -n "$ac_ct_CC"; then
   2843   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2844 $as_echo "$ac_ct_CC" >&6; }
   2845 else
   2846   { $as_echo "$as_me:$LINENO: result: no" >&5
   2847 $as_echo "no" >&6; }
   2848 fi
   2849 
   2850 
   2851   test -n "$ac_ct_CC" && break
   2852 done
   2853 
   2854   if test "x$ac_ct_CC" = x; then
   2855     CC=""
   2856   else
   2857     case $cross_compiling:$ac_tool_warned in
   2858 yes:)
   2859 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2860 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2861 ac_tool_warned=yes ;;
   2862 esac
   2863     CC=$ac_ct_CC
   2864   fi
   2865 fi
   2866 
   2867 fi
   2868 
   2869 
   2870 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2872 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2873 See \`config.log' for more details." >&5
   2874 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2875 See \`config.log' for more details." >&2;}
   2876    { (exit 1); exit 1; }; }; }
   2877 
   2878 # Provide some information about the compiler.
   2879 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2880 set X $ac_compile
   2881 ac_compiler=$2
   2882 { (ac_try="$ac_compiler --version >&5"
   2883 case "(($ac_try" in
   2884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2885   *) ac_try_echo=$ac_try;;
   2886 esac
   2887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2888 $as_echo "$ac_try_echo") >&5
   2889   (eval "$ac_compiler --version >&5") 2>&5
   2890   ac_status=$?
   2891   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2892   (exit $ac_status); }
   2893 { (ac_try="$ac_compiler -v >&5"
   2894 case "(($ac_try" in
   2895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2896   *) ac_try_echo=$ac_try;;
   2897 esac
   2898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2899 $as_echo "$ac_try_echo") >&5
   2900   (eval "$ac_compiler -v >&5") 2>&5
   2901   ac_status=$?
   2902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2903   (exit $ac_status); }
   2904 { (ac_try="$ac_compiler -V >&5"
   2905 case "(($ac_try" in
   2906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2907   *) ac_try_echo=$ac_try;;
   2908 esac
   2909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2910 $as_echo "$ac_try_echo") >&5
   2911   (eval "$ac_compiler -V >&5") 2>&5
   2912   ac_status=$?
   2913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2914   (exit $ac_status); }
   2915 
   2916 cat >conftest.$ac_ext <<_ACEOF
   2917 /* confdefs.h.  */
   2918 _ACEOF
   2919 cat confdefs.h >>conftest.$ac_ext
   2920 cat >>conftest.$ac_ext <<_ACEOF
   2921 /* end confdefs.h.  */
   2922 
   2923 int
   2924 main ()
   2925 {
   2926 
   2927   ;
   2928   return 0;
   2929 }
   2930 _ACEOF
   2931 ac_clean_files_save=$ac_clean_files
   2932 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2933 # Try to create an executable without -o first, disregard a.out.
   2934 # It will help us diagnose broken compilers, and finding out an intuition
   2935 # of exeext.
   2936 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2937 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2938 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2939 
   2940 # The possible output files:
   2941 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2942 
   2943 ac_rmfiles=
   2944 for ac_file in $ac_files
   2945 do
   2946   case $ac_file in
   2947     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2948     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2949   esac
   2950 done
   2951 rm -f $ac_rmfiles
   2952 
   2953 if { (ac_try="$ac_link_default"
   2954 case "(($ac_try" in
   2955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2956   *) ac_try_echo=$ac_try;;
   2957 esac
   2958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2959 $as_echo "$ac_try_echo") >&5
   2960   (eval "$ac_link_default") 2>&5
   2961   ac_status=$?
   2962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2963   (exit $ac_status); }; then
   2964   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2965 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2966 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2967 # so that the user can short-circuit this test for compilers unknown to
   2968 # Autoconf.
   2969 for ac_file in $ac_files ''
   2970 do
   2971   test -f "$ac_file" || continue
   2972   case $ac_file in
   2973     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2974 	;;
   2975     [ab].out )
   2976 	# We found the default executable, but exeext='' is most
   2977 	# certainly right.
   2978 	break;;
   2979     *.* )
   2980         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2981 	then :; else
   2982 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2983 	fi
   2984 	# We set ac_cv_exeext here because the later test for it is not
   2985 	# safe: cross compilers may not add the suffix if given an `-o'
   2986 	# argument, so we may need to know it at that point already.
   2987 	# Even if this section looks crufty: it has the advantage of
   2988 	# actually working.
   2989 	break;;
   2990     * )
   2991 	break;;
   2992   esac
   2993 done
   2994 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2995 
   2996 else
   2997   ac_file=''
   2998 fi
   2999 
   3000 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3001 $as_echo "$ac_file" >&6; }
   3002 if test -z "$ac_file"; then
   3003   $as_echo "$as_me: failed program was:" >&5
   3004 sed 's/^/| /' conftest.$ac_ext >&5
   3005 
   3006 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3008 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3009 See \`config.log' for more details." >&5
   3010 $as_echo "$as_me: error: C compiler cannot create executables
   3011 See \`config.log' for more details." >&2;}
   3012    { (exit 77); exit 77; }; }; }
   3013 fi
   3014 
   3015 ac_exeext=$ac_cv_exeext
   3016 
   3017 # Check that the compiler produces executables we can run.  If not, either
   3018 # the compiler is broken, or we cross compile.
   3019 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3020 $as_echo_n "checking whether the C compiler works... " >&6; }
   3021 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3022 # If not cross compiling, check that we can run a simple program.
   3023 if test "$cross_compiling" != yes; then
   3024   if { ac_try='./$ac_file'
   3025   { (case "(($ac_try" in
   3026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3027   *) ac_try_echo=$ac_try;;
   3028 esac
   3029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3030 $as_echo "$ac_try_echo") >&5
   3031   (eval "$ac_try") 2>&5
   3032   ac_status=$?
   3033   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3034   (exit $ac_status); }; }; then
   3035     cross_compiling=no
   3036   else
   3037     if test "$cross_compiling" = maybe; then
   3038 	cross_compiling=yes
   3039     else
   3040 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3042 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3043 If you meant to cross compile, use \`--host'.
   3044 See \`config.log' for more details." >&5
   3045 $as_echo "$as_me: error: cannot run C compiled programs.
   3046 If you meant to cross compile, use \`--host'.
   3047 See \`config.log' for more details." >&2;}
   3048    { (exit 1); exit 1; }; }; }
   3049     fi
   3050   fi
   3051 fi
   3052 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3053 $as_echo "yes" >&6; }
   3054 
   3055 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3056 ac_clean_files=$ac_clean_files_save
   3057 # Check that the compiler produces executables we can run.  If not, either
   3058 # the compiler is broken, or we cross compile.
   3059 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3060 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3061 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3062 $as_echo "$cross_compiling" >&6; }
   3063 
   3064 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3065 $as_echo_n "checking for suffix of executables... " >&6; }
   3066 if { (ac_try="$ac_link"
   3067 case "(($ac_try" in
   3068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3069   *) ac_try_echo=$ac_try;;
   3070 esac
   3071 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3072 $as_echo "$ac_try_echo") >&5
   3073   (eval "$ac_link") 2>&5
   3074   ac_status=$?
   3075   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3076   (exit $ac_status); }; then
   3077   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3078 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3079 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3080 # `rm'.
   3081 for ac_file in conftest.exe conftest conftest.*; do
   3082   test -f "$ac_file" || continue
   3083   case $ac_file in
   3084     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3085     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3086 	  break;;
   3087     * ) break;;
   3088   esac
   3089 done
   3090 else
   3091   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3092 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3093 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3094 See \`config.log' for more details." >&5
   3095 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3096 See \`config.log' for more details." >&2;}
   3097    { (exit 1); exit 1; }; }; }
   3098 fi
   3099 
   3100 rm -f conftest$ac_cv_exeext
   3101 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3102 $as_echo "$ac_cv_exeext" >&6; }
   3103 
   3104 rm -f conftest.$ac_ext
   3105 EXEEXT=$ac_cv_exeext
   3106 ac_exeext=$EXEEXT
   3107 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3108 $as_echo_n "checking for suffix of object files... " >&6; }
   3109 if test "${ac_cv_objext+set}" = set; then
   3110   $as_echo_n "(cached) " >&6
   3111 else
   3112   cat >conftest.$ac_ext <<_ACEOF
   3113 /* confdefs.h.  */
   3114 _ACEOF
   3115 cat confdefs.h >>conftest.$ac_ext
   3116 cat >>conftest.$ac_ext <<_ACEOF
   3117 /* end confdefs.h.  */
   3118 
   3119 int
   3120 main ()
   3121 {
   3122 
   3123   ;
   3124   return 0;
   3125 }
   3126 _ACEOF
   3127 rm -f conftest.o conftest.obj
   3128 if { (ac_try="$ac_compile"
   3129 case "(($ac_try" in
   3130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3131   *) ac_try_echo=$ac_try;;
   3132 esac
   3133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3134 $as_echo "$ac_try_echo") >&5
   3135   (eval "$ac_compile") 2>&5
   3136   ac_status=$?
   3137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3138   (exit $ac_status); }; then
   3139   for ac_file in conftest.o conftest.obj conftest.*; do
   3140   test -f "$ac_file" || continue;
   3141   case $ac_file in
   3142     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3143     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3144        break;;
   3145   esac
   3146 done
   3147 else
   3148   $as_echo "$as_me: failed program was:" >&5
   3149 sed 's/^/| /' conftest.$ac_ext >&5
   3150 
   3151 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3152 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3153 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3154 See \`config.log' for more details." >&5
   3155 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3156 See \`config.log' for more details." >&2;}
   3157    { (exit 1); exit 1; }; }; }
   3158 fi
   3159 
   3160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3161 fi
   3162 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3163 $as_echo "$ac_cv_objext" >&6; }
   3164 OBJEXT=$ac_cv_objext
   3165 ac_objext=$OBJEXT
   3166 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3167 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3169   $as_echo_n "(cached) " >&6
   3170 else
   3171   cat >conftest.$ac_ext <<_ACEOF
   3172 /* confdefs.h.  */
   3173 _ACEOF
   3174 cat confdefs.h >>conftest.$ac_ext
   3175 cat >>conftest.$ac_ext <<_ACEOF
   3176 /* end confdefs.h.  */
   3177 
   3178 int
   3179 main ()
   3180 {
   3181 #ifndef __GNUC__
   3182        choke me
   3183 #endif
   3184 
   3185   ;
   3186   return 0;
   3187 }
   3188 _ACEOF
   3189 rm -f conftest.$ac_objext
   3190 if { (ac_try="$ac_compile"
   3191 case "(($ac_try" in
   3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3193   *) ac_try_echo=$ac_try;;
   3194 esac
   3195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3196 $as_echo "$ac_try_echo") >&5
   3197   (eval "$ac_compile") 2>conftest.er1
   3198   ac_status=$?
   3199   grep -v '^ *+' conftest.er1 >conftest.err
   3200   rm -f conftest.er1
   3201   cat conftest.err >&5
   3202   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3203   (exit $ac_status); } && {
   3204 	 test -z "$ac_c_werror_flag" ||
   3205 	 test ! -s conftest.err
   3206        } && test -s conftest.$ac_objext; then
   3207   ac_compiler_gnu=yes
   3208 else
   3209   $as_echo "$as_me: failed program was:" >&5
   3210 sed 's/^/| /' conftest.$ac_ext >&5
   3211 
   3212 	ac_compiler_gnu=no
   3213 fi
   3214 
   3215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3216 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3217 
   3218 fi
   3219 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3220 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3221 if test $ac_compiler_gnu = yes; then
   3222   GCC=yes
   3223 else
   3224   GCC=
   3225 fi
   3226 ac_test_CFLAGS=${CFLAGS+set}
   3227 ac_save_CFLAGS=$CFLAGS
   3228 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3229 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3230 if test "${ac_cv_prog_cc_g+set}" = set; then
   3231   $as_echo_n "(cached) " >&6
   3232 else
   3233   ac_save_c_werror_flag=$ac_c_werror_flag
   3234    ac_c_werror_flag=yes
   3235    ac_cv_prog_cc_g=no
   3236    CFLAGS="-g"
   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 
   3248   ;
   3249   return 0;
   3250 }
   3251 _ACEOF
   3252 rm -f conftest.$ac_objext
   3253 if { (ac_try="$ac_compile"
   3254 case "(($ac_try" in
   3255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3256   *) ac_try_echo=$ac_try;;
   3257 esac
   3258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3259 $as_echo "$ac_try_echo") >&5
   3260   (eval "$ac_compile") 2>conftest.er1
   3261   ac_status=$?
   3262   grep -v '^ *+' conftest.er1 >conftest.err
   3263   rm -f conftest.er1
   3264   cat conftest.err >&5
   3265   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3266   (exit $ac_status); } && {
   3267 	 test -z "$ac_c_werror_flag" ||
   3268 	 test ! -s conftest.err
   3269        } && test -s conftest.$ac_objext; then
   3270   ac_cv_prog_cc_g=yes
   3271 else
   3272   $as_echo "$as_me: failed program was:" >&5
   3273 sed 's/^/| /' conftest.$ac_ext >&5
   3274 
   3275 	CFLAGS=""
   3276       cat >conftest.$ac_ext <<_ACEOF
   3277 /* confdefs.h.  */
   3278 _ACEOF
   3279 cat confdefs.h >>conftest.$ac_ext
   3280 cat >>conftest.$ac_ext <<_ACEOF
   3281 /* end confdefs.h.  */
   3282 
   3283 int
   3284 main ()
   3285 {
   3286 
   3287   ;
   3288   return 0;
   3289 }
   3290 _ACEOF
   3291 rm -f conftest.$ac_objext
   3292 if { (ac_try="$ac_compile"
   3293 case "(($ac_try" in
   3294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3295   *) ac_try_echo=$ac_try;;
   3296 esac
   3297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3298 $as_echo "$ac_try_echo") >&5
   3299   (eval "$ac_compile") 2>conftest.er1
   3300   ac_status=$?
   3301   grep -v '^ *+' conftest.er1 >conftest.err
   3302   rm -f conftest.er1
   3303   cat conftest.err >&5
   3304   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3305   (exit $ac_status); } && {
   3306 	 test -z "$ac_c_werror_flag" ||
   3307 	 test ! -s conftest.err
   3308        } && test -s conftest.$ac_objext; then
   3309   :
   3310 else
   3311   $as_echo "$as_me: failed program was:" >&5
   3312 sed 's/^/| /' conftest.$ac_ext >&5
   3313 
   3314 	ac_c_werror_flag=$ac_save_c_werror_flag
   3315 	 CFLAGS="-g"
   3316 	 cat >conftest.$ac_ext <<_ACEOF
   3317 /* confdefs.h.  */
   3318 _ACEOF
   3319 cat confdefs.h >>conftest.$ac_ext
   3320 cat >>conftest.$ac_ext <<_ACEOF
   3321 /* end confdefs.h.  */
   3322 
   3323 int
   3324 main ()
   3325 {
   3326 
   3327   ;
   3328   return 0;
   3329 }
   3330 _ACEOF
   3331 rm -f conftest.$ac_objext
   3332 if { (ac_try="$ac_compile"
   3333 case "(($ac_try" in
   3334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3335   *) ac_try_echo=$ac_try;;
   3336 esac
   3337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3338 $as_echo "$ac_try_echo") >&5
   3339   (eval "$ac_compile") 2>conftest.er1
   3340   ac_status=$?
   3341   grep -v '^ *+' conftest.er1 >conftest.err
   3342   rm -f conftest.er1
   3343   cat conftest.err >&5
   3344   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3345   (exit $ac_status); } && {
   3346 	 test -z "$ac_c_werror_flag" ||
   3347 	 test ! -s conftest.err
   3348        } && test -s conftest.$ac_objext; then
   3349   ac_cv_prog_cc_g=yes
   3350 else
   3351   $as_echo "$as_me: failed program was:" >&5
   3352 sed 's/^/| /' conftest.$ac_ext >&5
   3353 
   3354 
   3355 fi
   3356 
   3357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3358 fi
   3359 
   3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3361 fi
   3362 
   3363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3364    ac_c_werror_flag=$ac_save_c_werror_flag
   3365 fi
   3366 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3367 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3368 if test "$ac_test_CFLAGS" = set; then
   3369   CFLAGS=$ac_save_CFLAGS
   3370 elif test $ac_cv_prog_cc_g = yes; then
   3371   if test "$GCC" = yes; then
   3372     CFLAGS="-g -O2"
   3373   else
   3374     CFLAGS="-g"
   3375   fi
   3376 else
   3377   if test "$GCC" = yes; then
   3378     CFLAGS="-O2"
   3379   else
   3380     CFLAGS=
   3381   fi
   3382 fi
   3383 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3384 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3385 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3386   $as_echo_n "(cached) " >&6
   3387 else
   3388   ac_cv_prog_cc_c89=no
   3389 ac_save_CC=$CC
   3390 cat >conftest.$ac_ext <<_ACEOF
   3391 /* confdefs.h.  */
   3392 _ACEOF
   3393 cat confdefs.h >>conftest.$ac_ext
   3394 cat >>conftest.$ac_ext <<_ACEOF
   3395 /* end confdefs.h.  */
   3396 #include <stdarg.h>
   3397 #include <stdio.h>
   3398 #include <sys/types.h>
   3399 #include <sys/stat.h>
   3400 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3401 struct buf { int x; };
   3402 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3403 static char *e (p, i)
   3404      char **p;
   3405      int i;
   3406 {
   3407   return p[i];
   3408 }
   3409 static char *f (char * (*g) (char **, int), char **p, ...)
   3410 {
   3411   char *s;
   3412   va_list v;
   3413   va_start (v,p);
   3414   s = g (p, va_arg (v,int));
   3415   va_end (v);
   3416   return s;
   3417 }
   3418 
   3419 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3420    function prototypes and stuff, but not '\xHH' hex character constants.
   3421    These don't provoke an error unfortunately, instead are silently treated
   3422    as 'x'.  The following induces an error, until -std is added to get
   3423    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3424    array size at least.  It's necessary to write '\x00'==0 to get something
   3425    that's true only with -std.  */
   3426 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3427 
   3428 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3429    inside strings and character constants.  */
   3430 #define FOO(x) 'x'
   3431 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3432 
   3433 int test (int i, double x);
   3434 struct s1 {int (*f) (int a);};
   3435 struct s2 {int (*f) (double a);};
   3436 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3437 int argc;
   3438 char **argv;
   3439 int
   3440 main ()
   3441 {
   3442 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3443   ;
   3444   return 0;
   3445 }
   3446 _ACEOF
   3447 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3448 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3449 do
   3450   CC="$ac_save_CC $ac_arg"
   3451   rm -f conftest.$ac_objext
   3452 if { (ac_try="$ac_compile"
   3453 case "(($ac_try" in
   3454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3455   *) ac_try_echo=$ac_try;;
   3456 esac
   3457 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3458 $as_echo "$ac_try_echo") >&5
   3459   (eval "$ac_compile") 2>conftest.er1
   3460   ac_status=$?
   3461   grep -v '^ *+' conftest.er1 >conftest.err
   3462   rm -f conftest.er1
   3463   cat conftest.err >&5
   3464   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3465   (exit $ac_status); } && {
   3466 	 test -z "$ac_c_werror_flag" ||
   3467 	 test ! -s conftest.err
   3468        } && test -s conftest.$ac_objext; then
   3469   ac_cv_prog_cc_c89=$ac_arg
   3470 else
   3471   $as_echo "$as_me: failed program was:" >&5
   3472 sed 's/^/| /' conftest.$ac_ext >&5
   3473 
   3474 
   3475 fi
   3476 
   3477 rm -f core conftest.err conftest.$ac_objext
   3478   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3479 done
   3480 rm -f conftest.$ac_ext
   3481 CC=$ac_save_CC
   3482 
   3483 fi
   3484 # AC_CACHE_VAL
   3485 case "x$ac_cv_prog_cc_c89" in
   3486   x)
   3487     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3488 $as_echo "none needed" >&6; } ;;
   3489   xno)
   3490     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3491 $as_echo "unsupported" >&6; } ;;
   3492   *)
   3493     CC="$CC $ac_cv_prog_cc_c89"
   3494     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3495 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3496 esac
   3497 
   3498 
   3499 ac_ext=c
   3500 ac_cpp='$CPP $CPPFLAGS'
   3501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3504 DEPDIR="${am__leading_dot}deps"
   3505 
   3506 ac_config_commands="$ac_config_commands depfiles"
   3507 
   3508 
   3509 am_make=${MAKE-make}
   3510 cat > confinc << 'END'
   3511 am__doit:
   3512 	@echo done
   3513 .PHONY: am__doit
   3514 END
   3515 # If we don't find an include directive, just comment out the code.
   3516 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3517 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3518 am__include="#"
   3519 am__quote=
   3520 _am_result=none
   3521 # First try GNU make style include.
   3522 echo "include confinc" > confmf
   3523 # We grep out `Entering directory' and `Leaving directory'
   3524 # messages which can occur if `w' ends up in MAKEFLAGS.
   3525 # In particular we don't look at `^make:' because GNU make might
   3526 # be invoked under some other name (usually "gmake"), in which
   3527 # case it prints its new name instead of `make'.
   3528 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   3529    am__include=include
   3530    am__quote=
   3531    _am_result=GNU
   3532 fi
   3533 # Now try BSD make style include.
   3534 if test "$am__include" = "#"; then
   3535    echo '.include "confinc"' > confmf
   3536    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   3537       am__include=.include
   3538       am__quote="\""
   3539       _am_result=BSD
   3540    fi
   3541 fi
   3542 
   3543 
   3544 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3545 $as_echo "$_am_result" >&6; }
   3546 rm -f confinc confmf
   3547 
   3548 # Check whether --enable-dependency-tracking was given.
   3549 if test "${enable_dependency_tracking+set}" = set; then
   3550   enableval=$enable_dependency_tracking;
   3551 fi
   3552 
   3553 if test "x$enable_dependency_tracking" != xno; then
   3554   am_depcomp="$ac_aux_dir/depcomp"
   3555   AMDEPBACKSLASH='\'
   3556 fi
   3557  if test "x$enable_dependency_tracking" != xno; then
   3558   AMDEP_TRUE=
   3559   AMDEP_FALSE='#'
   3560 else
   3561   AMDEP_TRUE='#'
   3562   AMDEP_FALSE=
   3563 fi
   3564 
   3565 
   3566 
   3567 depcc="$CC"   am_compiler_list=
   3568 
   3569 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3570 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3571 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3572   $as_echo_n "(cached) " >&6
   3573 else
   3574   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3575   # We make a subdir and do the tests there.  Otherwise we can end up
   3576   # making bogus files that we don't know about and never remove.  For
   3577   # instance it was reported that on HP-UX the gcc test will end up
   3578   # making a dummy file named `D' -- because `-MD' means `put the output
   3579   # in D'.
   3580   mkdir conftest.dir
   3581   # Copy depcomp to subdir because otherwise we won't find it if we're
   3582   # using a relative directory.
   3583   cp "$am_depcomp" conftest.dir
   3584   cd conftest.dir
   3585   # We will build objects and dependencies in a subdirectory because
   3586   # it helps to detect inapplicable dependency modes.  For instance
   3587   # both Tru64's cc and ICC support -MD to output dependencies as a
   3588   # side effect of compilation, but ICC will put the dependencies in
   3589   # the current directory while Tru64 will put them in the object
   3590   # directory.
   3591   mkdir sub
   3592 
   3593   am_cv_CC_dependencies_compiler_type=none
   3594   if test "$am_compiler_list" = ""; then
   3595      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3596   fi
   3597   for depmode in $am_compiler_list; do
   3598     # Setup a source with many dependencies, because some compilers
   3599     # like to wrap large dependency lists on column 80 (with \), and
   3600     # we should not choose a depcomp mode which is confused by this.
   3601     #
   3602     # We need to recreate these files for each test, as the compiler may
   3603     # overwrite some of them when testing with obscure command lines.
   3604     # This happens at least with the AIX C compiler.
   3605     : > sub/conftest.c
   3606     for i in 1 2 3 4 5 6; do
   3607       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3608       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3609       # Solaris 8's {/usr,}/bin/sh.
   3610       touch sub/conftst$i.h
   3611     done
   3612     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3613 
   3614     case $depmode in
   3615     nosideeffect)
   3616       # after this tag, mechanisms are not by side-effect, so they'll
   3617       # only be used when explicitly requested
   3618       if test "x$enable_dependency_tracking" = xyes; then
   3619 	continue
   3620       else
   3621 	break
   3622       fi
   3623       ;;
   3624     none) break ;;
   3625     esac
   3626     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3627     # mode.  It turns out that the SunPro C++ compiler does not properly
   3628     # handle `-M -o', and we need to detect this.
   3629     if depmode=$depmode \
   3630        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3631        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3632        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3633          >/dev/null 2>conftest.err &&
   3634        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3635        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3636        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3637        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3638       # icc doesn't choke on unknown options, it will just issue warnings
   3639       # or remarks (even with -Werror).  So we grep stderr for any message
   3640       # that says an option was ignored or not supported.
   3641       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3642       #   icc: Command line warning: ignoring option '-M'; no argument required
   3643       # The diagnosis changed in icc 8.0:
   3644       #   icc: Command line remark: option '-MP' not supported
   3645       if (grep 'ignoring option' conftest.err ||
   3646           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3647         am_cv_CC_dependencies_compiler_type=$depmode
   3648         break
   3649       fi
   3650     fi
   3651   done
   3652 
   3653   cd ..
   3654   rm -rf conftest.dir
   3655 else
   3656   am_cv_CC_dependencies_compiler_type=none
   3657 fi
   3658 
   3659 fi
   3660 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3661 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3662 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3663 
   3664  if
   3665   test "x$enable_dependency_tracking" != xno \
   3666   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3667   am__fastdepCC_TRUE=
   3668   am__fastdepCC_FALSE='#'
   3669 else
   3670   am__fastdepCC_TRUE='#'
   3671   am__fastdepCC_FALSE=
   3672 fi
   3673 
   3674 
   3675 # Check whether --enable-shared was given.
   3676 if test "${enable_shared+set}" = set; then
   3677   enableval=$enable_shared; p=${PACKAGE-default}
   3678     case $enableval in
   3679     yes) enable_shared=yes ;;
   3680     no) enable_shared=no ;;
   3681     *)
   3682       enable_shared=no
   3683       # Look at the argument we got.  We use all the common list separators.
   3684       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3685       for pkg in $enableval; do
   3686 	IFS="$lt_save_ifs"
   3687 	if test "X$pkg" = "X$p"; then
   3688 	  enable_shared=yes
   3689 	fi
   3690       done
   3691       IFS="$lt_save_ifs"
   3692       ;;
   3693     esac
   3694 else
   3695   enable_shared=yes
   3696 fi
   3697 
   3698 
   3699 # Check whether --enable-static was given.
   3700 if test "${enable_static+set}" = set; then
   3701   enableval=$enable_static; p=${PACKAGE-default}
   3702     case $enableval in
   3703     yes) enable_static=yes ;;
   3704     no) enable_static=no ;;
   3705     *)
   3706      enable_static=no
   3707       # Look at the argument we got.  We use all the common list separators.
   3708       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3709       for pkg in $enableval; do
   3710 	IFS="$lt_save_ifs"
   3711 	if test "X$pkg" = "X$p"; then
   3712 	  enable_static=yes
   3713 	fi
   3714       done
   3715       IFS="$lt_save_ifs"
   3716       ;;
   3717     esac
   3718 else
   3719   enable_static=yes
   3720 fi
   3721 
   3722 
   3723 # Check whether --enable-fast-install was given.
   3724 if test "${enable_fast_install+set}" = set; then
   3725   enableval=$enable_fast_install; p=${PACKAGE-default}
   3726     case $enableval in
   3727     yes) enable_fast_install=yes ;;
   3728     no) enable_fast_install=no ;;
   3729     *)
   3730       enable_fast_install=no
   3731       # Look at the argument we got.  We use all the common list separators.
   3732       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3733       for pkg in $enableval; do
   3734 	IFS="$lt_save_ifs"
   3735 	if test "X$pkg" = "X$p"; then
   3736 	  enable_fast_install=yes
   3737 	fi
   3738       done
   3739       IFS="$lt_save_ifs"
   3740       ;;
   3741     esac
   3742 else
   3743   enable_fast_install=yes
   3744 fi
   3745 
   3746 
   3747 # Make sure we can run config.sub.
   3748 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3749   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3750 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3751    { (exit 1); exit 1; }; }
   3752 
   3753 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3754 $as_echo_n "checking build system type... " >&6; }
   3755 if test "${ac_cv_build+set}" = set; then
   3756   $as_echo_n "(cached) " >&6
   3757 else
   3758   ac_build_alias=$build_alias
   3759 test "x$ac_build_alias" = x &&
   3760   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3761 test "x$ac_build_alias" = x &&
   3762   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3763 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3764    { (exit 1); exit 1; }; }
   3765 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3766   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3767 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3768    { (exit 1); exit 1; }; }
   3769 
   3770 fi
   3771 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3772 $as_echo "$ac_cv_build" >&6; }
   3773 case $ac_cv_build in
   3774 *-*-*) ;;
   3775 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3776 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3777    { (exit 1); exit 1; }; };;
   3778 esac
   3779 build=$ac_cv_build
   3780 ac_save_IFS=$IFS; IFS='-'
   3781 set x $ac_cv_build
   3782 shift
   3783 build_cpu=$1
   3784 build_vendor=$2
   3785 shift; shift
   3786 # Remember, the first character of IFS is used to create $*,
   3787 # except with old shells:
   3788 build_os=$*
   3789 IFS=$ac_save_IFS
   3790 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3791 
   3792 
   3793 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3794 $as_echo_n "checking host system type... " >&6; }
   3795 if test "${ac_cv_host+set}" = set; then
   3796   $as_echo_n "(cached) " >&6
   3797 else
   3798   if test "x$host_alias" = x; then
   3799   ac_cv_host=$ac_cv_build
   3800 else
   3801   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3802     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3803 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3804    { (exit 1); exit 1; }; }
   3805 fi
   3806 
   3807 fi
   3808 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3809 $as_echo "$ac_cv_host" >&6; }
   3810 case $ac_cv_host in
   3811 *-*-*) ;;
   3812 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3813 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3814    { (exit 1); exit 1; }; };;
   3815 esac
   3816 host=$ac_cv_host
   3817 ac_save_IFS=$IFS; IFS='-'
   3818 set x $ac_cv_host
   3819 shift
   3820 host_cpu=$1
   3821 host_vendor=$2
   3822 shift; shift
   3823 # Remember, the first character of IFS is used to create $*,
   3824 # except with old shells:
   3825 host_os=$*
   3826 IFS=$ac_save_IFS
   3827 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3828 
   3829 
   3830 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3831 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3832 if test "${lt_cv_path_SED+set}" = set; then
   3833   $as_echo_n "(cached) " >&6
   3834 else
   3835   # Loop through the user's path and test for sed and gsed.
   3836 # Then use that list of sed's as ones to test for truncation.
   3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3838 for as_dir in $PATH
   3839 do
   3840   IFS=$as_save_IFS
   3841   test -z "$as_dir" && as_dir=.
   3842   for lt_ac_prog in sed gsed; do
   3843     for ac_exec_ext in '' $ac_executable_extensions; do
   3844       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3845         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3846       fi
   3847     done
   3848   done
   3849 done
   3850 IFS=$as_save_IFS
   3851 lt_ac_max=0
   3852 lt_ac_count=0
   3853 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3854 # along with /bin/sed that truncates output.
   3855 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3856   test ! -f $lt_ac_sed && continue
   3857   cat /dev/null > conftest.in
   3858   lt_ac_count=0
   3859   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3860   # Check for GNU sed and select it if it is found.
   3861   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3862     lt_cv_path_SED=$lt_ac_sed
   3863     break
   3864   fi
   3865   while true; do
   3866     cat conftest.in conftest.in >conftest.tmp
   3867     mv conftest.tmp conftest.in
   3868     cp conftest.in conftest.nl
   3869     echo >>conftest.nl
   3870     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3871     cmp -s conftest.out conftest.nl || break
   3872     # 10000 chars as input seems more than enough
   3873     test $lt_ac_count -gt 10 && break
   3874     lt_ac_count=`expr $lt_ac_count + 1`
   3875     if test $lt_ac_count -gt $lt_ac_max; then
   3876       lt_ac_max=$lt_ac_count
   3877       lt_cv_path_SED=$lt_ac_sed
   3878     fi
   3879   done
   3880 done
   3881 
   3882 fi
   3883 
   3884 SED=$lt_cv_path_SED
   3885 
   3886 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3887 $as_echo "$SED" >&6; }
   3888 
   3889 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3890 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3891 if test "${ac_cv_path_GREP+set}" = set; then
   3892   $as_echo_n "(cached) " >&6
   3893 else
   3894   if test -z "$GREP"; then
   3895   ac_path_GREP_found=false
   3896   # Loop through the user's path and test for each of PROGNAME-LIST
   3897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3898 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3899 do
   3900   IFS=$as_save_IFS
   3901   test -z "$as_dir" && as_dir=.
   3902   for ac_prog in grep ggrep; do
   3903     for ac_exec_ext in '' $ac_executable_extensions; do
   3904       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3905       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3906 # Check for GNU ac_path_GREP and select it if it is found.
   3907   # Check for GNU $ac_path_GREP
   3908 case `"$ac_path_GREP" --version 2>&1` in
   3909 *GNU*)
   3910   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3911 *)
   3912   ac_count=0
   3913   $as_echo_n 0123456789 >"conftest.in"
   3914   while :
   3915   do
   3916     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3917     mv "conftest.tmp" "conftest.in"
   3918     cp "conftest.in" "conftest.nl"
   3919     $as_echo 'GREP' >> "conftest.nl"
   3920     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3921     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3922     ac_count=`expr $ac_count + 1`
   3923     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3924       # Best one so far, save it but keep looking for a better one
   3925       ac_cv_path_GREP="$ac_path_GREP"
   3926       ac_path_GREP_max=$ac_count
   3927     fi
   3928     # 10*(2^10) chars as input seems more than enough
   3929     test $ac_count -gt 10 && break
   3930   done
   3931   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3932 esac
   3933 
   3934       $ac_path_GREP_found && break 3
   3935     done
   3936   done
   3937 done
   3938 IFS=$as_save_IFS
   3939   if test -z "$ac_cv_path_GREP"; then
   3940     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   3941 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   3942    { (exit 1); exit 1; }; }
   3943   fi
   3944 else
   3945   ac_cv_path_GREP=$GREP
   3946 fi
   3947 
   3948 fi
   3949 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   3950 $as_echo "$ac_cv_path_GREP" >&6; }
   3951  GREP="$ac_cv_path_GREP"
   3952 
   3953 
   3954 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   3955 $as_echo_n "checking for egrep... " >&6; }
   3956 if test "${ac_cv_path_EGREP+set}" = set; then
   3957   $as_echo_n "(cached) " >&6
   3958 else
   3959   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3960    then ac_cv_path_EGREP="$GREP -E"
   3961    else
   3962      if test -z "$EGREP"; then
   3963   ac_path_EGREP_found=false
   3964   # Loop through the user's path and test for each of PROGNAME-LIST
   3965   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3966 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3967 do
   3968   IFS=$as_save_IFS
   3969   test -z "$as_dir" && as_dir=.
   3970   for ac_prog in egrep; do
   3971     for ac_exec_ext in '' $ac_executable_extensions; do
   3972       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3973       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   3974 # Check for GNU ac_path_EGREP and select it if it is found.
   3975   # Check for GNU $ac_path_EGREP
   3976 case `"$ac_path_EGREP" --version 2>&1` in
   3977 *GNU*)
   3978   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3979 *)
   3980   ac_count=0
   3981   $as_echo_n 0123456789 >"conftest.in"
   3982   while :
   3983   do
   3984     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3985     mv "conftest.tmp" "conftest.in"
   3986     cp "conftest.in" "conftest.nl"
   3987     $as_echo 'EGREP' >> "conftest.nl"
   3988     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3989     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3990     ac_count=`expr $ac_count + 1`
   3991     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3992       # Best one so far, save it but keep looking for a better one
   3993       ac_cv_path_EGREP="$ac_path_EGREP"
   3994       ac_path_EGREP_max=$ac_count
   3995     fi
   3996     # 10*(2^10) chars as input seems more than enough
   3997     test $ac_count -gt 10 && break
   3998   done
   3999   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4000 esac
   4001 
   4002       $ac_path_EGREP_found && break 3
   4003     done
   4004   done
   4005 done
   4006 IFS=$as_save_IFS
   4007   if test -z "$ac_cv_path_EGREP"; then
   4008     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4009 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4010    { (exit 1); exit 1; }; }
   4011   fi
   4012 else
   4013   ac_cv_path_EGREP=$EGREP
   4014 fi
   4015 
   4016    fi
   4017 fi
   4018 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4019 $as_echo "$ac_cv_path_EGREP" >&6; }
   4020  EGREP="$ac_cv_path_EGREP"
   4021 
   4022 
   4023 
   4024 # Check whether --with-gnu-ld was given.
   4025 if test "${with_gnu_ld+set}" = set; then
   4026   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4027 else
   4028   with_gnu_ld=no
   4029 fi
   4030 
   4031 ac_prog=ld
   4032 if test "$GCC" = yes; then
   4033   # Check if gcc -print-prog-name=ld gives a path.
   4034   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4035 $as_echo_n "checking for ld used by $CC... " >&6; }
   4036   case $host in
   4037   *-*-mingw*)
   4038     # gcc leaves a trailing carriage return which upsets mingw
   4039     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4040   *)
   4041     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4042   esac
   4043   case $ac_prog in
   4044     # Accept absolute paths.
   4045     [\\/]* | ?:[\\/]*)
   4046       re_direlt='/[^/][^/]*/\.\./'
   4047       # Canonicalize the pathname of ld
   4048       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4049       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4050 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4051       done
   4052       test -z "$LD" && LD="$ac_prog"
   4053       ;;
   4054   "")
   4055     # If it fails, then pretend we aren't using GCC.
   4056     ac_prog=ld
   4057     ;;
   4058   *)
   4059     # If it is relative, then search for the first ld in PATH.
   4060     with_gnu_ld=unknown
   4061     ;;
   4062   esac
   4063 elif test "$with_gnu_ld" = yes; then
   4064   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4065 $as_echo_n "checking for GNU ld... " >&6; }
   4066 else
   4067   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4068 $as_echo_n "checking for non-GNU ld... " >&6; }
   4069 fi
   4070 if test "${lt_cv_path_LD+set}" = set; then
   4071   $as_echo_n "(cached) " >&6
   4072 else
   4073   if test -z "$LD"; then
   4074   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4075   for ac_dir in $PATH; do
   4076     IFS="$lt_save_ifs"
   4077     test -z "$ac_dir" && ac_dir=.
   4078     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4079       lt_cv_path_LD="$ac_dir/$ac_prog"
   4080       # Check to see if the program is GNU ld.  I'd rather use --version,
   4081       # but apparently some variants of GNU ld only accept -v.
   4082       # Break only if it was the GNU/non-GNU ld that we prefer.
   4083       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4084       *GNU* | *'with BFD'*)
   4085 	test "$with_gnu_ld" != no && break
   4086 	;;
   4087       *)
   4088 	test "$with_gnu_ld" != yes && break
   4089 	;;
   4090       esac
   4091     fi
   4092   done
   4093   IFS="$lt_save_ifs"
   4094 else
   4095   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4096 fi
   4097 fi
   4098 
   4099 LD="$lt_cv_path_LD"
   4100 if test -n "$LD"; then
   4101   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4102 $as_echo "$LD" >&6; }
   4103 else
   4104   { $as_echo "$as_me:$LINENO: result: no" >&5
   4105 $as_echo "no" >&6; }
   4106 fi
   4107 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4108 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4109    { (exit 1); exit 1; }; }
   4110 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4111 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4112 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4113   $as_echo_n "(cached) " >&6
   4114 else
   4115   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4116 case `$LD -v 2>&1 </dev/null` in
   4117 *GNU* | *'with BFD'*)
   4118   lt_cv_prog_gnu_ld=yes
   4119   ;;
   4120 *)
   4121   lt_cv_prog_gnu_ld=no
   4122   ;;
   4123 esac
   4124 fi
   4125 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4126 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4127 with_gnu_ld=$lt_cv_prog_gnu_ld
   4128 
   4129 
   4130 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4131 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4132 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4133   $as_echo_n "(cached) " >&6
   4134 else
   4135   lt_cv_ld_reload_flag='-r'
   4136 fi
   4137 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4138 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4139 reload_flag=$lt_cv_ld_reload_flag
   4140 case $reload_flag in
   4141 "" | " "*) ;;
   4142 *) reload_flag=" $reload_flag" ;;
   4143 esac
   4144 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4145 case $host_os in
   4146   darwin*)
   4147     if test "$GCC" = yes; then
   4148       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4149     else
   4150       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4151     fi
   4152     ;;
   4153 esac
   4154 
   4155 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4156 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4157 if test "${lt_cv_path_NM+set}" = set; then
   4158   $as_echo_n "(cached) " >&6
   4159 else
   4160   if test -n "$NM"; then
   4161   # Let the user override the test.
   4162   lt_cv_path_NM="$NM"
   4163 else
   4164   lt_nm_to_check="${ac_tool_prefix}nm"
   4165   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4166     lt_nm_to_check="$lt_nm_to_check nm"
   4167   fi
   4168   for lt_tmp_nm in $lt_nm_to_check; do
   4169     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4170     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4171       IFS="$lt_save_ifs"
   4172       test -z "$ac_dir" && ac_dir=.
   4173       tmp_nm="$ac_dir/$lt_tmp_nm"
   4174       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4175 	# Check to see if the nm accepts a BSD-compat flag.
   4176 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4177 	#   nm: unknown option "B" ignored
   4178 	# Tru64's nm complains that /dev/null is an invalid object file
   4179 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4180 	*/dev/null* | *'Invalid file or object type'*)
   4181 	  lt_cv_path_NM="$tmp_nm -B"
   4182 	  break
   4183 	  ;;
   4184 	*)
   4185 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4186 	  */dev/null*)
   4187 	    lt_cv_path_NM="$tmp_nm -p"
   4188 	    break
   4189 	    ;;
   4190 	  *)
   4191 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4192 	    continue # so that we can try to find one that supports BSD flags
   4193 	    ;;
   4194 	  esac
   4195 	  ;;
   4196 	esac
   4197       fi
   4198     done
   4199     IFS="$lt_save_ifs"
   4200   done
   4201   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4202 fi
   4203 fi
   4204 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4205 $as_echo "$lt_cv_path_NM" >&6; }
   4206 NM="$lt_cv_path_NM"
   4207 
   4208 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4209 $as_echo_n "checking whether ln -s works... " >&6; }
   4210 LN_S=$as_ln_s
   4211 if test "$LN_S" = "ln -s"; then
   4212   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4213 $as_echo "yes" >&6; }
   4214 else
   4215   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4216 $as_echo "no, using $LN_S" >&6; }
   4217 fi
   4218 
   4219 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4220 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4221 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4222   $as_echo_n "(cached) " >&6
   4223 else
   4224   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4225 lt_cv_file_magic_test_file=
   4226 lt_cv_deplibs_check_method='unknown'
   4227 # Need to set the preceding variable on all platforms that support
   4228 # interlibrary dependencies.
   4229 # 'none' -- dependencies not supported.
   4230 # `unknown' -- same as none, but documents that we really don't know.
   4231 # 'pass_all' -- all dependencies passed with no checks.
   4232 # 'test_compile' -- check by making test program.
   4233 # 'file_magic [[regex]]' -- check by looking for files in library path
   4234 # which responds to the $file_magic_cmd with a given extended regex.
   4235 # If you have `file' or equivalent on your system and you're not sure
   4236 # whether `pass_all' will *always* work, you probably want this one.
   4237 
   4238 case $host_os in
   4239 aix[4-9]*)
   4240   lt_cv_deplibs_check_method=pass_all
   4241   ;;
   4242 
   4243 beos*)
   4244   lt_cv_deplibs_check_method=pass_all
   4245   ;;
   4246 
   4247 bsdi[45]*)
   4248   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4249   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4250   lt_cv_file_magic_test_file=/shlib/libc.so
   4251   ;;
   4252 
   4253 cygwin*)
   4254   # func_win32_libid is a shell function defined in ltmain.sh
   4255   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4256   lt_cv_file_magic_cmd='func_win32_libid'
   4257   ;;
   4258 
   4259 mingw* | pw32*)
   4260   # Base MSYS/MinGW do not provide the 'file' command needed by
   4261   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4262   # unless we find 'file', for example because we are cross-compiling.
   4263   if ( file / ) >/dev/null 2>&1; then
   4264     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4265     lt_cv_file_magic_cmd='func_win32_libid'
   4266   else
   4267     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4268     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4269   fi
   4270   ;;
   4271 
   4272 darwin* | rhapsody*)
   4273   lt_cv_deplibs_check_method=pass_all
   4274   ;;
   4275 
   4276 freebsd* | dragonfly*)
   4277   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4278     case $host_cpu in
   4279     i*86 )
   4280       # Not sure whether the presence of OpenBSD here was a mistake.
   4281       # Let's accept both of them until this is cleared up.
   4282       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4283       lt_cv_file_magic_cmd=/usr/bin/file
   4284       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4285       ;;
   4286     esac
   4287   else
   4288     lt_cv_deplibs_check_method=pass_all
   4289   fi
   4290   ;;
   4291 
   4292 gnu*)
   4293   lt_cv_deplibs_check_method=pass_all
   4294   ;;
   4295 
   4296 hpux10.20* | hpux11*)
   4297   lt_cv_file_magic_cmd=/usr/bin/file
   4298   case $host_cpu in
   4299   ia64*)
   4300     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4301     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4302     ;;
   4303   hppa*64*)
   4304     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]'
   4305     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4306     ;;
   4307   *)
   4308     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4309     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4310     ;;
   4311   esac
   4312   ;;
   4313 
   4314 interix[3-9]*)
   4315   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4316   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4317   ;;
   4318 
   4319 irix5* | irix6* | nonstopux*)
   4320   case $LD in
   4321   *-32|*"-32 ") libmagic=32-bit;;
   4322   *-n32|*"-n32 ") libmagic=N32;;
   4323   *-64|*"-64 ") libmagic=64-bit;;
   4324   *) libmagic=never-match;;
   4325   esac
   4326   lt_cv_deplibs_check_method=pass_all
   4327   ;;
   4328 
   4329 # This must be Linux ELF.
   4330 linux* | k*bsd*-gnu)
   4331   lt_cv_deplibs_check_method=pass_all
   4332   ;;
   4333 
   4334 netbsd*)
   4335   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4336     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4337   else
   4338     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4339   fi
   4340   ;;
   4341 
   4342 newos6*)
   4343   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4344   lt_cv_file_magic_cmd=/usr/bin/file
   4345   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4346   ;;
   4347 
   4348 nto-qnx*)
   4349   lt_cv_deplibs_check_method=unknown
   4350   ;;
   4351 
   4352 openbsd*)
   4353   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4354     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4355   else
   4356     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4357   fi
   4358   ;;
   4359 
   4360 osf3* | osf4* | osf5*)
   4361   lt_cv_deplibs_check_method=pass_all
   4362   ;;
   4363 
   4364 rdos*)
   4365   lt_cv_deplibs_check_method=pass_all
   4366   ;;
   4367 
   4368 solaris*)
   4369   lt_cv_deplibs_check_method=pass_all
   4370   ;;
   4371 
   4372 sysv4 | sysv4.3*)
   4373   case $host_vendor in
   4374   motorola)
   4375     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]'
   4376     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4377     ;;
   4378   ncr)
   4379     lt_cv_deplibs_check_method=pass_all
   4380     ;;
   4381   sequent)
   4382     lt_cv_file_magic_cmd='/bin/file'
   4383     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4384     ;;
   4385   sni)
   4386     lt_cv_file_magic_cmd='/bin/file'
   4387     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4388     lt_cv_file_magic_test_file=/lib/libc.so
   4389     ;;
   4390   siemens)
   4391     lt_cv_deplibs_check_method=pass_all
   4392     ;;
   4393   pc)
   4394     lt_cv_deplibs_check_method=pass_all
   4395     ;;
   4396   esac
   4397   ;;
   4398 
   4399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4400   lt_cv_deplibs_check_method=pass_all
   4401   ;;
   4402 esac
   4403 
   4404 fi
   4405 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4406 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4407 file_magic_cmd=$lt_cv_file_magic_cmd
   4408 deplibs_check_method=$lt_cv_deplibs_check_method
   4409 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4410 
   4411 
   4412 
   4413 
   4414 # If no C compiler was specified, use CC.
   4415 LTCC=${LTCC-"$CC"}
   4416 
   4417 # If no C compiler flags were specified, use CFLAGS.
   4418 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4419 
   4420 # Allow CC to be a program name with arguments.
   4421 compiler=$CC
   4422 
   4423 
   4424 # Check whether --enable-libtool-lock was given.
   4425 if test "${enable_libtool_lock+set}" = set; then
   4426   enableval=$enable_libtool_lock;
   4427 fi
   4428 
   4429 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4430 
   4431 # Some flags need to be propagated to the compiler or linker for good
   4432 # libtool support.
   4433 case $host in
   4434 ia64-*-hpux*)
   4435   # Find out which ABI we are using.
   4436   echo 'int i;' > conftest.$ac_ext
   4437   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4438   (eval $ac_compile) 2>&5
   4439   ac_status=$?
   4440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4441   (exit $ac_status); }; then
   4442     case `/usr/bin/file conftest.$ac_objext` in
   4443     *ELF-32*)
   4444       HPUX_IA64_MODE="32"
   4445       ;;
   4446     *ELF-64*)
   4447       HPUX_IA64_MODE="64"
   4448       ;;
   4449     esac
   4450   fi
   4451   rm -rf conftest*
   4452   ;;
   4453 *-*-irix6*)
   4454   # Find out which ABI we are using.
   4455   echo '#line 4455 "configure"' > conftest.$ac_ext
   4456   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4457   (eval $ac_compile) 2>&5
   4458   ac_status=$?
   4459   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4460   (exit $ac_status); }; then
   4461    if test "$lt_cv_prog_gnu_ld" = yes; then
   4462     case `/usr/bin/file conftest.$ac_objext` in
   4463     *32-bit*)
   4464       LD="${LD-ld} -melf32bsmip"
   4465       ;;
   4466     *N32*)
   4467       LD="${LD-ld} -melf32bmipn32"
   4468       ;;
   4469     *64-bit*)
   4470       LD="${LD-ld} -melf64bmip"
   4471       ;;
   4472     esac
   4473    else
   4474     case `/usr/bin/file conftest.$ac_objext` in
   4475     *32-bit*)
   4476       LD="${LD-ld} -32"
   4477       ;;
   4478     *N32*)
   4479       LD="${LD-ld} -n32"
   4480       ;;
   4481     *64-bit*)
   4482       LD="${LD-ld} -64"
   4483       ;;
   4484     esac
   4485    fi
   4486   fi
   4487   rm -rf conftest*
   4488   ;;
   4489 
   4490 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4491 s390*-*linux*|sparc*-*linux*)
   4492   # Find out which ABI we are using.
   4493   echo 'int i;' > conftest.$ac_ext
   4494   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4495   (eval $ac_compile) 2>&5
   4496   ac_status=$?
   4497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4498   (exit $ac_status); }; then
   4499     case `/usr/bin/file conftest.o` in
   4500     *32-bit*)
   4501       case $host in
   4502         x86_64-*kfreebsd*-gnu)
   4503           LD="${LD-ld} -m elf_i386_fbsd"
   4504           ;;
   4505         x86_64-*linux*)
   4506           LD="${LD-ld} -m elf_i386"
   4507           ;;
   4508         ppc64-*linux*|powerpc64-*linux*)
   4509           LD="${LD-ld} -m elf32ppclinux"
   4510           ;;
   4511         s390x-*linux*)
   4512           LD="${LD-ld} -m elf_s390"
   4513           ;;
   4514         sparc64-*linux*)
   4515           LD="${LD-ld} -m elf32_sparc"
   4516           ;;
   4517       esac
   4518       ;;
   4519     *64-bit*)
   4520       case $host in
   4521         x86_64-*kfreebsd*-gnu)
   4522           LD="${LD-ld} -m elf_x86_64_fbsd"
   4523           ;;
   4524         x86_64-*linux*)
   4525           LD="${LD-ld} -m elf_x86_64"
   4526           ;;
   4527         ppc*-*linux*|powerpc*-*linux*)
   4528           LD="${LD-ld} -m elf64ppc"
   4529           ;;
   4530         s390*-*linux*)
   4531           LD="${LD-ld} -m elf64_s390"
   4532           ;;
   4533         sparc*-*linux*)
   4534           LD="${LD-ld} -m elf64_sparc"
   4535           ;;
   4536       esac
   4537       ;;
   4538     esac
   4539   fi
   4540   rm -rf conftest*
   4541   ;;
   4542 
   4543 *-*-sco3.2v5*)
   4544   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4545   SAVE_CFLAGS="$CFLAGS"
   4546   CFLAGS="$CFLAGS -belf"
   4547   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4548 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4549 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4550   $as_echo_n "(cached) " >&6
   4551 else
   4552   ac_ext=c
   4553 ac_cpp='$CPP $CPPFLAGS'
   4554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4557 
   4558      cat >conftest.$ac_ext <<_ACEOF
   4559 /* confdefs.h.  */
   4560 _ACEOF
   4561 cat confdefs.h >>conftest.$ac_ext
   4562 cat >>conftest.$ac_ext <<_ACEOF
   4563 /* end confdefs.h.  */
   4564 
   4565 int
   4566 main ()
   4567 {
   4568 
   4569   ;
   4570   return 0;
   4571 }
   4572 _ACEOF
   4573 rm -f conftest.$ac_objext conftest$ac_exeext
   4574 if { (ac_try="$ac_link"
   4575 case "(($ac_try" in
   4576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4577   *) ac_try_echo=$ac_try;;
   4578 esac
   4579 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4580 $as_echo "$ac_try_echo") >&5
   4581   (eval "$ac_link") 2>conftest.er1
   4582   ac_status=$?
   4583   grep -v '^ *+' conftest.er1 >conftest.err
   4584   rm -f conftest.er1
   4585   cat conftest.err >&5
   4586   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4587   (exit $ac_status); } && {
   4588 	 test -z "$ac_c_werror_flag" ||
   4589 	 test ! -s conftest.err
   4590        } && test -s conftest$ac_exeext && {
   4591 	 test "$cross_compiling" = yes ||
   4592 	 $as_test_x conftest$ac_exeext
   4593        }; then
   4594   lt_cv_cc_needs_belf=yes
   4595 else
   4596   $as_echo "$as_me: failed program was:" >&5
   4597 sed 's/^/| /' conftest.$ac_ext >&5
   4598 
   4599 	lt_cv_cc_needs_belf=no
   4600 fi
   4601 
   4602 rm -rf conftest.dSYM
   4603 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4604       conftest$ac_exeext conftest.$ac_ext
   4605      ac_ext=c
   4606 ac_cpp='$CPP $CPPFLAGS'
   4607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4610 
   4611 fi
   4612 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4613 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4614   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4615     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4616     CFLAGS="$SAVE_CFLAGS"
   4617   fi
   4618   ;;
   4619 sparc*-*solaris*)
   4620   # Find out which ABI we are using.
   4621   echo 'int i;' > conftest.$ac_ext
   4622   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4623   (eval $ac_compile) 2>&5
   4624   ac_status=$?
   4625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4626   (exit $ac_status); }; then
   4627     case `/usr/bin/file conftest.o` in
   4628     *64-bit*)
   4629       case $lt_cv_prog_gnu_ld in
   4630       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4631       *)
   4632         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4633 	  LD="${LD-ld} -64"
   4634 	fi
   4635 	;;
   4636       esac
   4637       ;;
   4638     esac
   4639   fi
   4640   rm -rf conftest*
   4641   ;;
   4642 
   4643 
   4644 esac
   4645 
   4646 need_locks="$enable_libtool_lock"
   4647 
   4648 
   4649 ac_ext=c
   4650 ac_cpp='$CPP $CPPFLAGS'
   4651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4654 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4655 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4656 # On Suns, sometimes $CPP names a directory.
   4657 if test -n "$CPP" && test -d "$CPP"; then
   4658   CPP=
   4659 fi
   4660 if test -z "$CPP"; then
   4661   if test "${ac_cv_prog_CPP+set}" = set; then
   4662   $as_echo_n "(cached) " >&6
   4663 else
   4664       # Double quotes because CPP needs to be expanded
   4665     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4666     do
   4667       ac_preproc_ok=false
   4668 for ac_c_preproc_warn_flag in '' yes
   4669 do
   4670   # Use a header file that comes with gcc, so configuring glibc
   4671   # with a fresh cross-compiler works.
   4672   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4673   # <limits.h> exists even on freestanding compilers.
   4674   # On the NeXT, cc -E runs the code through the compiler's parser,
   4675   # not just through cpp. "Syntax error" is here to catch this case.
   4676   cat >conftest.$ac_ext <<_ACEOF
   4677 /* confdefs.h.  */
   4678 _ACEOF
   4679 cat confdefs.h >>conftest.$ac_ext
   4680 cat >>conftest.$ac_ext <<_ACEOF
   4681 /* end confdefs.h.  */
   4682 #ifdef __STDC__
   4683 # include <limits.h>
   4684 #else
   4685 # include <assert.h>
   4686 #endif
   4687 		     Syntax error
   4688 _ACEOF
   4689 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4690 case "(($ac_try" in
   4691   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4692   *) ac_try_echo=$ac_try;;
   4693 esac
   4694 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4695 $as_echo "$ac_try_echo") >&5
   4696   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4697   ac_status=$?
   4698   grep -v '^ *+' conftest.er1 >conftest.err
   4699   rm -f conftest.er1
   4700   cat conftest.err >&5
   4701   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4702   (exit $ac_status); } >/dev/null && {
   4703 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4704 	 test ! -s conftest.err
   4705        }; then
   4706   :
   4707 else
   4708   $as_echo "$as_me: failed program was:" >&5
   4709 sed 's/^/| /' conftest.$ac_ext >&5
   4710 
   4711   # Broken: fails on valid input.
   4712 continue
   4713 fi
   4714 
   4715 rm -f conftest.err conftest.$ac_ext
   4716 
   4717   # OK, works on sane cases.  Now check whether nonexistent headers
   4718   # can be detected and how.
   4719   cat >conftest.$ac_ext <<_ACEOF
   4720 /* confdefs.h.  */
   4721 _ACEOF
   4722 cat confdefs.h >>conftest.$ac_ext
   4723 cat >>conftest.$ac_ext <<_ACEOF
   4724 /* end confdefs.h.  */
   4725 #include <ac_nonexistent.h>
   4726 _ACEOF
   4727 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4728 case "(($ac_try" in
   4729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4730   *) ac_try_echo=$ac_try;;
   4731 esac
   4732 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4733 $as_echo "$ac_try_echo") >&5
   4734   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4735   ac_status=$?
   4736   grep -v '^ *+' conftest.er1 >conftest.err
   4737   rm -f conftest.er1
   4738   cat conftest.err >&5
   4739   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4740   (exit $ac_status); } >/dev/null && {
   4741 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4742 	 test ! -s conftest.err
   4743        }; then
   4744   # Broken: success on invalid input.
   4745 continue
   4746 else
   4747   $as_echo "$as_me: failed program was:" >&5
   4748 sed 's/^/| /' conftest.$ac_ext >&5
   4749 
   4750   # Passes both tests.
   4751 ac_preproc_ok=:
   4752 break
   4753 fi
   4754 
   4755 rm -f conftest.err conftest.$ac_ext
   4756 
   4757 done
   4758 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4759 rm -f conftest.err conftest.$ac_ext
   4760 if $ac_preproc_ok; then
   4761   break
   4762 fi
   4763 
   4764     done
   4765     ac_cv_prog_CPP=$CPP
   4766 
   4767 fi
   4768   CPP=$ac_cv_prog_CPP
   4769 else
   4770   ac_cv_prog_CPP=$CPP
   4771 fi
   4772 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4773 $as_echo "$CPP" >&6; }
   4774 ac_preproc_ok=false
   4775 for ac_c_preproc_warn_flag in '' yes
   4776 do
   4777   # Use a header file that comes with gcc, so configuring glibc
   4778   # with a fresh cross-compiler works.
   4779   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4780   # <limits.h> exists even on freestanding compilers.
   4781   # On the NeXT, cc -E runs the code through the compiler's parser,
   4782   # not just through cpp. "Syntax error" is here to catch this case.
   4783   cat >conftest.$ac_ext <<_ACEOF
   4784 /* confdefs.h.  */
   4785 _ACEOF
   4786 cat confdefs.h >>conftest.$ac_ext
   4787 cat >>conftest.$ac_ext <<_ACEOF
   4788 /* end confdefs.h.  */
   4789 #ifdef __STDC__
   4790 # include <limits.h>
   4791 #else
   4792 # include <assert.h>
   4793 #endif
   4794 		     Syntax error
   4795 _ACEOF
   4796 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4797 case "(($ac_try" in
   4798   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4799   *) ac_try_echo=$ac_try;;
   4800 esac
   4801 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4802 $as_echo "$ac_try_echo") >&5
   4803   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4804   ac_status=$?
   4805   grep -v '^ *+' conftest.er1 >conftest.err
   4806   rm -f conftest.er1
   4807   cat conftest.err >&5
   4808   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4809   (exit $ac_status); } >/dev/null && {
   4810 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4811 	 test ! -s conftest.err
   4812        }; then
   4813   :
   4814 else
   4815   $as_echo "$as_me: failed program was:" >&5
   4816 sed 's/^/| /' conftest.$ac_ext >&5
   4817 
   4818   # Broken: fails on valid input.
   4819 continue
   4820 fi
   4821 
   4822 rm -f conftest.err conftest.$ac_ext
   4823 
   4824   # OK, works on sane cases.  Now check whether nonexistent headers
   4825   # can be detected and how.
   4826   cat >conftest.$ac_ext <<_ACEOF
   4827 /* confdefs.h.  */
   4828 _ACEOF
   4829 cat confdefs.h >>conftest.$ac_ext
   4830 cat >>conftest.$ac_ext <<_ACEOF
   4831 /* end confdefs.h.  */
   4832 #include <ac_nonexistent.h>
   4833 _ACEOF
   4834 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4835 case "(($ac_try" in
   4836   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4837   *) ac_try_echo=$ac_try;;
   4838 esac
   4839 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4840 $as_echo "$ac_try_echo") >&5
   4841   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4842   ac_status=$?
   4843   grep -v '^ *+' conftest.er1 >conftest.err
   4844   rm -f conftest.er1
   4845   cat conftest.err >&5
   4846   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4847   (exit $ac_status); } >/dev/null && {
   4848 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4849 	 test ! -s conftest.err
   4850        }; then
   4851   # Broken: success on invalid input.
   4852 continue
   4853 else
   4854   $as_echo "$as_me: failed program was:" >&5
   4855 sed 's/^/| /' conftest.$ac_ext >&5
   4856 
   4857   # Passes both tests.
   4858 ac_preproc_ok=:
   4859 break
   4860 fi
   4861 
   4862 rm -f conftest.err conftest.$ac_ext
   4863 
   4864 done
   4865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4866 rm -f conftest.err conftest.$ac_ext
   4867 if $ac_preproc_ok; then
   4868   :
   4869 else
   4870   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4872 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4873 See \`config.log' for more details." >&5
   4874 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4875 See \`config.log' for more details." >&2;}
   4876    { (exit 1); exit 1; }; }; }
   4877 fi
   4878 
   4879 ac_ext=c
   4880 ac_cpp='$CPP $CPPFLAGS'
   4881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4884 
   4885 
   4886 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4887 $as_echo_n "checking for ANSI C header files... " >&6; }
   4888 if test "${ac_cv_header_stdc+set}" = set; then
   4889   $as_echo_n "(cached) " >&6
   4890 else
   4891   cat >conftest.$ac_ext <<_ACEOF
   4892 /* confdefs.h.  */
   4893 _ACEOF
   4894 cat confdefs.h >>conftest.$ac_ext
   4895 cat >>conftest.$ac_ext <<_ACEOF
   4896 /* end confdefs.h.  */
   4897 #include <stdlib.h>
   4898 #include <stdarg.h>
   4899 #include <string.h>
   4900 #include <float.h>
   4901 
   4902 int
   4903 main ()
   4904 {
   4905 
   4906   ;
   4907   return 0;
   4908 }
   4909 _ACEOF
   4910 rm -f conftest.$ac_objext
   4911 if { (ac_try="$ac_compile"
   4912 case "(($ac_try" in
   4913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4914   *) ac_try_echo=$ac_try;;
   4915 esac
   4916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4917 $as_echo "$ac_try_echo") >&5
   4918   (eval "$ac_compile") 2>conftest.er1
   4919   ac_status=$?
   4920   grep -v '^ *+' conftest.er1 >conftest.err
   4921   rm -f conftest.er1
   4922   cat conftest.err >&5
   4923   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4924   (exit $ac_status); } && {
   4925 	 test -z "$ac_c_werror_flag" ||
   4926 	 test ! -s conftest.err
   4927        } && test -s conftest.$ac_objext; then
   4928   ac_cv_header_stdc=yes
   4929 else
   4930   $as_echo "$as_me: failed program was:" >&5
   4931 sed 's/^/| /' conftest.$ac_ext >&5
   4932 
   4933 	ac_cv_header_stdc=no
   4934 fi
   4935 
   4936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4937 
   4938 if test $ac_cv_header_stdc = yes; then
   4939   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4940   cat >conftest.$ac_ext <<_ACEOF
   4941 /* confdefs.h.  */
   4942 _ACEOF
   4943 cat confdefs.h >>conftest.$ac_ext
   4944 cat >>conftest.$ac_ext <<_ACEOF
   4945 /* end confdefs.h.  */
   4946 #include <string.h>
   4947 
   4948 _ACEOF
   4949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4950   $EGREP "memchr" >/dev/null 2>&1; then
   4951   :
   4952 else
   4953   ac_cv_header_stdc=no
   4954 fi
   4955 rm -f conftest*
   4956 
   4957 fi
   4958 
   4959 if test $ac_cv_header_stdc = yes; then
   4960   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4961   cat >conftest.$ac_ext <<_ACEOF
   4962 /* confdefs.h.  */
   4963 _ACEOF
   4964 cat confdefs.h >>conftest.$ac_ext
   4965 cat >>conftest.$ac_ext <<_ACEOF
   4966 /* end confdefs.h.  */
   4967 #include <stdlib.h>
   4968 
   4969 _ACEOF
   4970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4971   $EGREP "free" >/dev/null 2>&1; then
   4972   :
   4973 else
   4974   ac_cv_header_stdc=no
   4975 fi
   4976 rm -f conftest*
   4977 
   4978 fi
   4979 
   4980 if test $ac_cv_header_stdc = yes; then
   4981   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4982   if test "$cross_compiling" = yes; then
   4983   :
   4984 else
   4985   cat >conftest.$ac_ext <<_ACEOF
   4986 /* confdefs.h.  */
   4987 _ACEOF
   4988 cat confdefs.h >>conftest.$ac_ext
   4989 cat >>conftest.$ac_ext <<_ACEOF
   4990 /* end confdefs.h.  */
   4991 #include <ctype.h>
   4992 #include <stdlib.h>
   4993 #if ((' ' & 0x0FF) == 0x020)
   4994 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4995 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4996 #else
   4997 # define ISLOWER(c) \
   4998 		   (('a' <= (c) && (c) <= 'i') \
   4999 		     || ('j' <= (c) && (c) <= 'r') \
   5000 		     || ('s' <= (c) && (c) <= 'z'))
   5001 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5002 #endif
   5003 
   5004 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5005 int
   5006 main ()
   5007 {
   5008   int i;
   5009   for (i = 0; i < 256; i++)
   5010     if (XOR (islower (i), ISLOWER (i))
   5011 	|| toupper (i) != TOUPPER (i))
   5012       return 2;
   5013   return 0;
   5014 }
   5015 _ACEOF
   5016 rm -f conftest$ac_exeext
   5017 if { (ac_try="$ac_link"
   5018 case "(($ac_try" in
   5019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5020   *) ac_try_echo=$ac_try;;
   5021 esac
   5022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5023 $as_echo "$ac_try_echo") >&5
   5024   (eval "$ac_link") 2>&5
   5025   ac_status=$?
   5026   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5027   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5028   { (case "(($ac_try" in
   5029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5030   *) ac_try_echo=$ac_try;;
   5031 esac
   5032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5033 $as_echo "$ac_try_echo") >&5
   5034   (eval "$ac_try") 2>&5
   5035   ac_status=$?
   5036   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5037   (exit $ac_status); }; }; then
   5038   :
   5039 else
   5040   $as_echo "$as_me: program exited with status $ac_status" >&5
   5041 $as_echo "$as_me: failed program was:" >&5
   5042 sed 's/^/| /' conftest.$ac_ext >&5
   5043 
   5044 ( exit $ac_status )
   5045 ac_cv_header_stdc=no
   5046 fi
   5047 rm -rf conftest.dSYM
   5048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5049 fi
   5050 
   5051 
   5052 fi
   5053 fi
   5054 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5055 $as_echo "$ac_cv_header_stdc" >&6; }
   5056 if test $ac_cv_header_stdc = yes; then
   5057 
   5058 cat >>confdefs.h <<\_ACEOF
   5059 #define STDC_HEADERS 1
   5060 _ACEOF
   5061 
   5062 fi
   5063 
   5064 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 
   5074 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5075 		  inttypes.h stdint.h unistd.h
   5076 do
   5077 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5078 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5079 $as_echo_n "checking for $ac_header... " >&6; }
   5080 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5081   $as_echo_n "(cached) " >&6
   5082 else
   5083   cat >conftest.$ac_ext <<_ACEOF
   5084 /* confdefs.h.  */
   5085 _ACEOF
   5086 cat confdefs.h >>conftest.$ac_ext
   5087 cat >>conftest.$ac_ext <<_ACEOF
   5088 /* end confdefs.h.  */
   5089 $ac_includes_default
   5090 
   5091 #include <$ac_header>
   5092 _ACEOF
   5093 rm -f conftest.$ac_objext
   5094 if { (ac_try="$ac_compile"
   5095 case "(($ac_try" in
   5096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5097   *) ac_try_echo=$ac_try;;
   5098 esac
   5099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5100 $as_echo "$ac_try_echo") >&5
   5101   (eval "$ac_compile") 2>conftest.er1
   5102   ac_status=$?
   5103   grep -v '^ *+' conftest.er1 >conftest.err
   5104   rm -f conftest.er1
   5105   cat conftest.err >&5
   5106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5107   (exit $ac_status); } && {
   5108 	 test -z "$ac_c_werror_flag" ||
   5109 	 test ! -s conftest.err
   5110        } && test -s conftest.$ac_objext; then
   5111   eval "$as_ac_Header=yes"
   5112 else
   5113   $as_echo "$as_me: failed program was:" >&5
   5114 sed 's/^/| /' conftest.$ac_ext >&5
   5115 
   5116 	eval "$as_ac_Header=no"
   5117 fi
   5118 
   5119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5120 fi
   5121 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5122 		 $as_echo "$as_val"'`
   5123 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5124 $as_echo "$ac_res" >&6; }
   5125 as_val=`eval 'as_val=${'$as_ac_Header'}
   5126 		 $as_echo "$as_val"'`
   5127    if test "x$as_val" = x""yes; then
   5128   cat >>confdefs.h <<_ACEOF
   5129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5130 _ACEOF
   5131 
   5132 fi
   5133 
   5134 done
   5135 
   5136 
   5137 
   5138 for ac_header in dlfcn.h
   5139 do
   5140 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5141 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5142   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5143 $as_echo_n "checking for $ac_header... " >&6; }
   5144 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5145   $as_echo_n "(cached) " >&6
   5146 fi
   5147 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5148 		 $as_echo "$as_val"'`
   5149 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5150 $as_echo "$ac_res" >&6; }
   5151 else
   5152   # Is the header compilable?
   5153 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5154 $as_echo_n "checking $ac_header usability... " >&6; }
   5155 cat >conftest.$ac_ext <<_ACEOF
   5156 /* confdefs.h.  */
   5157 _ACEOF
   5158 cat confdefs.h >>conftest.$ac_ext
   5159 cat >>conftest.$ac_ext <<_ACEOF
   5160 /* end confdefs.h.  */
   5161 $ac_includes_default
   5162 #include <$ac_header>
   5163 _ACEOF
   5164 rm -f conftest.$ac_objext
   5165 if { (ac_try="$ac_compile"
   5166 case "(($ac_try" in
   5167   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5168   *) ac_try_echo=$ac_try;;
   5169 esac
   5170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5171 $as_echo "$ac_try_echo") >&5
   5172   (eval "$ac_compile") 2>conftest.er1
   5173   ac_status=$?
   5174   grep -v '^ *+' conftest.er1 >conftest.err
   5175   rm -f conftest.er1
   5176   cat conftest.err >&5
   5177   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5178   (exit $ac_status); } && {
   5179 	 test -z "$ac_c_werror_flag" ||
   5180 	 test ! -s conftest.err
   5181        } && test -s conftest.$ac_objext; then
   5182   ac_header_compiler=yes
   5183 else
   5184   $as_echo "$as_me: failed program was:" >&5
   5185 sed 's/^/| /' conftest.$ac_ext >&5
   5186 
   5187 	ac_header_compiler=no
   5188 fi
   5189 
   5190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5191 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5192 $as_echo "$ac_header_compiler" >&6; }
   5193 
   5194 # Is the header present?
   5195 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5196 $as_echo_n "checking $ac_header presence... " >&6; }
   5197 cat >conftest.$ac_ext <<_ACEOF
   5198 /* confdefs.h.  */
   5199 _ACEOF
   5200 cat confdefs.h >>conftest.$ac_ext
   5201 cat >>conftest.$ac_ext <<_ACEOF
   5202 /* end confdefs.h.  */
   5203 #include <$ac_header>
   5204 _ACEOF
   5205 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5206 case "(($ac_try" in
   5207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5208   *) ac_try_echo=$ac_try;;
   5209 esac
   5210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5211 $as_echo "$ac_try_echo") >&5
   5212   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5213   ac_status=$?
   5214   grep -v '^ *+' conftest.er1 >conftest.err
   5215   rm -f conftest.er1
   5216   cat conftest.err >&5
   5217   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5218   (exit $ac_status); } >/dev/null && {
   5219 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5220 	 test ! -s conftest.err
   5221        }; then
   5222   ac_header_preproc=yes
   5223 else
   5224   $as_echo "$as_me: failed program was:" >&5
   5225 sed 's/^/| /' conftest.$ac_ext >&5
   5226 
   5227   ac_header_preproc=no
   5228 fi
   5229 
   5230 rm -f conftest.err conftest.$ac_ext
   5231 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5232 $as_echo "$ac_header_preproc" >&6; }
   5233 
   5234 # So?  What about this header?
   5235 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5236   yes:no: )
   5237     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5238 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5239     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5240 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5241     ac_header_preproc=yes
   5242     ;;
   5243   no:yes:* )
   5244     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5245 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5246     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5247 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5248     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5249 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5250     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5251 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5252     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5253 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5254     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5255 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5256     ( cat <<\_ASBOX
   5257 ## ---------------------------------------------------------------------- ##
   5258 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5259 ## ---------------------------------------------------------------------- ##
   5260 _ASBOX
   5261      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5262     ;;
   5263 esac
   5264 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5265 $as_echo_n "checking for $ac_header... " >&6; }
   5266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5267   $as_echo_n "(cached) " >&6
   5268 else
   5269   eval "$as_ac_Header=\$ac_header_preproc"
   5270 fi
   5271 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5272 		 $as_echo "$as_val"'`
   5273 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5274 $as_echo "$ac_res" >&6; }
   5275 
   5276 fi
   5277 as_val=`eval 'as_val=${'$as_ac_Header'}
   5278 		 $as_echo "$as_val"'`
   5279    if test "x$as_val" = x""yes; then
   5280   cat >>confdefs.h <<_ACEOF
   5281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5282 _ACEOF
   5283 
   5284 fi
   5285 
   5286 done
   5287 
   5288 ac_ext=cpp
   5289 ac_cpp='$CXXCPP $CPPFLAGS'
   5290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5293 if test -z "$CXX"; then
   5294   if test -n "$CCC"; then
   5295     CXX=$CCC
   5296   else
   5297     if test -n "$ac_tool_prefix"; then
   5298   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5299   do
   5300     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5301 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5302 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5303 $as_echo_n "checking for $ac_word... " >&6; }
   5304 if test "${ac_cv_prog_CXX+set}" = set; then
   5305   $as_echo_n "(cached) " >&6
   5306 else
   5307   if test -n "$CXX"; then
   5308   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5309 else
   5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5311 for as_dir in $PATH
   5312 do
   5313   IFS=$as_save_IFS
   5314   test -z "$as_dir" && as_dir=.
   5315   for ac_exec_ext in '' $ac_executable_extensions; do
   5316   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5317     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5318     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5319     break 2
   5320   fi
   5321 done
   5322 done
   5323 IFS=$as_save_IFS
   5324 
   5325 fi
   5326 fi
   5327 CXX=$ac_cv_prog_CXX
   5328 if test -n "$CXX"; then
   5329   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5330 $as_echo "$CXX" >&6; }
   5331 else
   5332   { $as_echo "$as_me:$LINENO: result: no" >&5
   5333 $as_echo "no" >&6; }
   5334 fi
   5335 
   5336 
   5337     test -n "$CXX" && break
   5338   done
   5339 fi
   5340 if test -z "$CXX"; then
   5341   ac_ct_CXX=$CXX
   5342   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5343 do
   5344   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5345 set dummy $ac_prog; ac_word=$2
   5346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5347 $as_echo_n "checking for $ac_word... " >&6; }
   5348 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   if test -n "$ac_ct_CXX"; then
   5352   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5353 else
   5354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5355 for as_dir in $PATH
   5356 do
   5357   IFS=$as_save_IFS
   5358   test -z "$as_dir" && as_dir=.
   5359   for ac_exec_ext in '' $ac_executable_extensions; do
   5360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5361     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5362     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5363     break 2
   5364   fi
   5365 done
   5366 done
   5367 IFS=$as_save_IFS
   5368 
   5369 fi
   5370 fi
   5371 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5372 if test -n "$ac_ct_CXX"; then
   5373   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5374 $as_echo "$ac_ct_CXX" >&6; }
   5375 else
   5376   { $as_echo "$as_me:$LINENO: result: no" >&5
   5377 $as_echo "no" >&6; }
   5378 fi
   5379 
   5380 
   5381   test -n "$ac_ct_CXX" && break
   5382 done
   5383 
   5384   if test "x$ac_ct_CXX" = x; then
   5385     CXX="g++"
   5386   else
   5387     case $cross_compiling:$ac_tool_warned in
   5388 yes:)
   5389 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5391 ac_tool_warned=yes ;;
   5392 esac
   5393     CXX=$ac_ct_CXX
   5394   fi
   5395 fi
   5396 
   5397   fi
   5398 fi
   5399 # Provide some information about the compiler.
   5400 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5401 set X $ac_compile
   5402 ac_compiler=$2
   5403 { (ac_try="$ac_compiler --version >&5"
   5404 case "(($ac_try" in
   5405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5406   *) ac_try_echo=$ac_try;;
   5407 esac
   5408 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5409 $as_echo "$ac_try_echo") >&5
   5410   (eval "$ac_compiler --version >&5") 2>&5
   5411   ac_status=$?
   5412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5413   (exit $ac_status); }
   5414 { (ac_try="$ac_compiler -v >&5"
   5415 case "(($ac_try" in
   5416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5417   *) ac_try_echo=$ac_try;;
   5418 esac
   5419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5420 $as_echo "$ac_try_echo") >&5
   5421   (eval "$ac_compiler -v >&5") 2>&5
   5422   ac_status=$?
   5423   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5424   (exit $ac_status); }
   5425 { (ac_try="$ac_compiler -V >&5"
   5426 case "(($ac_try" in
   5427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5428   *) ac_try_echo=$ac_try;;
   5429 esac
   5430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5431 $as_echo "$ac_try_echo") >&5
   5432   (eval "$ac_compiler -V >&5") 2>&5
   5433   ac_status=$?
   5434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5435   (exit $ac_status); }
   5436 
   5437 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5438 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5439 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5440   $as_echo_n "(cached) " >&6
   5441 else
   5442   cat >conftest.$ac_ext <<_ACEOF
   5443 /* confdefs.h.  */
   5444 _ACEOF
   5445 cat confdefs.h >>conftest.$ac_ext
   5446 cat >>conftest.$ac_ext <<_ACEOF
   5447 /* end confdefs.h.  */
   5448 
   5449 int
   5450 main ()
   5451 {
   5452 #ifndef __GNUC__
   5453        choke me
   5454 #endif
   5455 
   5456   ;
   5457   return 0;
   5458 }
   5459 _ACEOF
   5460 rm -f conftest.$ac_objext
   5461 if { (ac_try="$ac_compile"
   5462 case "(($ac_try" in
   5463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5464   *) ac_try_echo=$ac_try;;
   5465 esac
   5466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5467 $as_echo "$ac_try_echo") >&5
   5468   (eval "$ac_compile") 2>conftest.er1
   5469   ac_status=$?
   5470   grep -v '^ *+' conftest.er1 >conftest.err
   5471   rm -f conftest.er1
   5472   cat conftest.err >&5
   5473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5474   (exit $ac_status); } && {
   5475 	 test -z "$ac_cxx_werror_flag" ||
   5476 	 test ! -s conftest.err
   5477        } && test -s conftest.$ac_objext; then
   5478   ac_compiler_gnu=yes
   5479 else
   5480   $as_echo "$as_me: failed program was:" >&5
   5481 sed 's/^/| /' conftest.$ac_ext >&5
   5482 
   5483 	ac_compiler_gnu=no
   5484 fi
   5485 
   5486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5487 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5488 
   5489 fi
   5490 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5491 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5492 if test $ac_compiler_gnu = yes; then
   5493   GXX=yes
   5494 else
   5495   GXX=
   5496 fi
   5497 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5498 ac_save_CXXFLAGS=$CXXFLAGS
   5499 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5500 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5501 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5502   $as_echo_n "(cached) " >&6
   5503 else
   5504   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5505    ac_cxx_werror_flag=yes
   5506    ac_cv_prog_cxx_g=no
   5507    CXXFLAGS="-g"
   5508    cat >conftest.$ac_ext <<_ACEOF
   5509 /* confdefs.h.  */
   5510 _ACEOF
   5511 cat confdefs.h >>conftest.$ac_ext
   5512 cat >>conftest.$ac_ext <<_ACEOF
   5513 /* end confdefs.h.  */
   5514 
   5515 int
   5516 main ()
   5517 {
   5518 
   5519   ;
   5520   return 0;
   5521 }
   5522 _ACEOF
   5523 rm -f conftest.$ac_objext
   5524 if { (ac_try="$ac_compile"
   5525 case "(($ac_try" in
   5526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5527   *) ac_try_echo=$ac_try;;
   5528 esac
   5529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5530 $as_echo "$ac_try_echo") >&5
   5531   (eval "$ac_compile") 2>conftest.er1
   5532   ac_status=$?
   5533   grep -v '^ *+' conftest.er1 >conftest.err
   5534   rm -f conftest.er1
   5535   cat conftest.err >&5
   5536   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5537   (exit $ac_status); } && {
   5538 	 test -z "$ac_cxx_werror_flag" ||
   5539 	 test ! -s conftest.err
   5540        } && test -s conftest.$ac_objext; then
   5541   ac_cv_prog_cxx_g=yes
   5542 else
   5543   $as_echo "$as_me: failed program was:" >&5
   5544 sed 's/^/| /' conftest.$ac_ext >&5
   5545 
   5546 	CXXFLAGS=""
   5547       cat >conftest.$ac_ext <<_ACEOF
   5548 /* confdefs.h.  */
   5549 _ACEOF
   5550 cat confdefs.h >>conftest.$ac_ext
   5551 cat >>conftest.$ac_ext <<_ACEOF
   5552 /* end confdefs.h.  */
   5553 
   5554 int
   5555 main ()
   5556 {
   5557 
   5558   ;
   5559   return 0;
   5560 }
   5561 _ACEOF
   5562 rm -f conftest.$ac_objext
   5563 if { (ac_try="$ac_compile"
   5564 case "(($ac_try" in
   5565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5566   *) ac_try_echo=$ac_try;;
   5567 esac
   5568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5569 $as_echo "$ac_try_echo") >&5
   5570   (eval "$ac_compile") 2>conftest.er1
   5571   ac_status=$?
   5572   grep -v '^ *+' conftest.er1 >conftest.err
   5573   rm -f conftest.er1
   5574   cat conftest.err >&5
   5575   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5576   (exit $ac_status); } && {
   5577 	 test -z "$ac_cxx_werror_flag" ||
   5578 	 test ! -s conftest.err
   5579        } && test -s conftest.$ac_objext; then
   5580   :
   5581 else
   5582   $as_echo "$as_me: failed program was:" >&5
   5583 sed 's/^/| /' conftest.$ac_ext >&5
   5584 
   5585 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5586 	 CXXFLAGS="-g"
   5587 	 cat >conftest.$ac_ext <<_ACEOF
   5588 /* confdefs.h.  */
   5589 _ACEOF
   5590 cat confdefs.h >>conftest.$ac_ext
   5591 cat >>conftest.$ac_ext <<_ACEOF
   5592 /* end confdefs.h.  */
   5593 
   5594 int
   5595 main ()
   5596 {
   5597 
   5598   ;
   5599   return 0;
   5600 }
   5601 _ACEOF
   5602 rm -f conftest.$ac_objext
   5603 if { (ac_try="$ac_compile"
   5604 case "(($ac_try" in
   5605   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5606   *) ac_try_echo=$ac_try;;
   5607 esac
   5608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5609 $as_echo "$ac_try_echo") >&5
   5610   (eval "$ac_compile") 2>conftest.er1
   5611   ac_status=$?
   5612   grep -v '^ *+' conftest.er1 >conftest.err
   5613   rm -f conftest.er1
   5614   cat conftest.err >&5
   5615   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5616   (exit $ac_status); } && {
   5617 	 test -z "$ac_cxx_werror_flag" ||
   5618 	 test ! -s conftest.err
   5619        } && test -s conftest.$ac_objext; then
   5620   ac_cv_prog_cxx_g=yes
   5621 else
   5622   $as_echo "$as_me: failed program was:" >&5
   5623 sed 's/^/| /' conftest.$ac_ext >&5
   5624 
   5625 
   5626 fi
   5627 
   5628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5629 fi
   5630 
   5631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5632 fi
   5633 
   5634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5635    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5636 fi
   5637 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5638 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5639 if test "$ac_test_CXXFLAGS" = set; then
   5640   CXXFLAGS=$ac_save_CXXFLAGS
   5641 elif test $ac_cv_prog_cxx_g = yes; then
   5642   if test "$GXX" = yes; then
   5643     CXXFLAGS="-g -O2"
   5644   else
   5645     CXXFLAGS="-g"
   5646   fi
   5647 else
   5648   if test "$GXX" = yes; then
   5649     CXXFLAGS="-O2"
   5650   else
   5651     CXXFLAGS=
   5652   fi
   5653 fi
   5654 ac_ext=cpp
   5655 ac_cpp='$CXXCPP $CPPFLAGS'
   5656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5659 
   5660 depcc="$CXX"  am_compiler_list=
   5661 
   5662 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5663 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5664 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5665   $as_echo_n "(cached) " >&6
   5666 else
   5667   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5668   # We make a subdir and do the tests there.  Otherwise we can end up
   5669   # making bogus files that we don't know about and never remove.  For
   5670   # instance it was reported that on HP-UX the gcc test will end up
   5671   # making a dummy file named `D' -- because `-MD' means `put the output
   5672   # in D'.
   5673   mkdir conftest.dir
   5674   # Copy depcomp to subdir because otherwise we won't find it if we're
   5675   # using a relative directory.
   5676   cp "$am_depcomp" conftest.dir
   5677   cd conftest.dir
   5678   # We will build objects and dependencies in a subdirectory because
   5679   # it helps to detect inapplicable dependency modes.  For instance
   5680   # both Tru64's cc and ICC support -MD to output dependencies as a
   5681   # side effect of compilation, but ICC will put the dependencies in
   5682   # the current directory while Tru64 will put them in the object
   5683   # directory.
   5684   mkdir sub
   5685 
   5686   am_cv_CXX_dependencies_compiler_type=none
   5687   if test "$am_compiler_list" = ""; then
   5688      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5689   fi
   5690   for depmode in $am_compiler_list; do
   5691     # Setup a source with many dependencies, because some compilers
   5692     # like to wrap large dependency lists on column 80 (with \), and
   5693     # we should not choose a depcomp mode which is confused by this.
   5694     #
   5695     # We need to recreate these files for each test, as the compiler may
   5696     # overwrite some of them when testing with obscure command lines.
   5697     # This happens at least with the AIX C compiler.
   5698     : > sub/conftest.c
   5699     for i in 1 2 3 4 5 6; do
   5700       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5701       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5702       # Solaris 8's {/usr,}/bin/sh.
   5703       touch sub/conftst$i.h
   5704     done
   5705     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5706 
   5707     case $depmode in
   5708     nosideeffect)
   5709       # after this tag, mechanisms are not by side-effect, so they'll
   5710       # only be used when explicitly requested
   5711       if test "x$enable_dependency_tracking" = xyes; then
   5712 	continue
   5713       else
   5714 	break
   5715       fi
   5716       ;;
   5717     none) break ;;
   5718     esac
   5719     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5720     # mode.  It turns out that the SunPro C++ compiler does not properly
   5721     # handle `-M -o', and we need to detect this.
   5722     if depmode=$depmode \
   5723        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5724        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5725        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5726          >/dev/null 2>conftest.err &&
   5727        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5728        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5729        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5730        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5731       # icc doesn't choke on unknown options, it will just issue warnings
   5732       # or remarks (even with -Werror).  So we grep stderr for any message
   5733       # that says an option was ignored or not supported.
   5734       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5735       #   icc: Command line warning: ignoring option '-M'; no argument required
   5736       # The diagnosis changed in icc 8.0:
   5737       #   icc: Command line remark: option '-MP' not supported
   5738       if (grep 'ignoring option' conftest.err ||
   5739           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5740         am_cv_CXX_dependencies_compiler_type=$depmode
   5741         break
   5742       fi
   5743     fi
   5744   done
   5745 
   5746   cd ..
   5747   rm -rf conftest.dir
   5748 else
   5749   am_cv_CXX_dependencies_compiler_type=none
   5750 fi
   5751 
   5752 fi
   5753 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5754 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5755 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5756 
   5757  if
   5758   test "x$enable_dependency_tracking" != xno \
   5759   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5760   am__fastdepCXX_TRUE=
   5761   am__fastdepCXX_FALSE='#'
   5762 else
   5763   am__fastdepCXX_TRUE='#'
   5764   am__fastdepCXX_FALSE=
   5765 fi
   5766 
   5767 
   5768 
   5769 
   5770 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5771     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5772     (test "X$CXX" != "Xg++"))) ; then
   5773   ac_ext=cpp
   5774 ac_cpp='$CXXCPP $CPPFLAGS'
   5775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5778 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5779 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5780 if test -z "$CXXCPP"; then
   5781   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5782   $as_echo_n "(cached) " >&6
   5783 else
   5784       # Double quotes because CXXCPP needs to be expanded
   5785     for CXXCPP in "$CXX -E" "/lib/cpp"
   5786     do
   5787       ac_preproc_ok=false
   5788 for ac_cxx_preproc_warn_flag in '' yes
   5789 do
   5790   # Use a header file that comes with gcc, so configuring glibc
   5791   # with a fresh cross-compiler works.
   5792   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5793   # <limits.h> exists even on freestanding compilers.
   5794   # On the NeXT, cc -E runs the code through the compiler's parser,
   5795   # not just through cpp. "Syntax error" is here to catch this case.
   5796   cat >conftest.$ac_ext <<_ACEOF
   5797 /* confdefs.h.  */
   5798 _ACEOF
   5799 cat confdefs.h >>conftest.$ac_ext
   5800 cat >>conftest.$ac_ext <<_ACEOF
   5801 /* end confdefs.h.  */
   5802 #ifdef __STDC__
   5803 # include <limits.h>
   5804 #else
   5805 # include <assert.h>
   5806 #endif
   5807 		     Syntax error
   5808 _ACEOF
   5809 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5810 case "(($ac_try" in
   5811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5812   *) ac_try_echo=$ac_try;;
   5813 esac
   5814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5815 $as_echo "$ac_try_echo") >&5
   5816   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5817   ac_status=$?
   5818   grep -v '^ *+' conftest.er1 >conftest.err
   5819   rm -f conftest.er1
   5820   cat conftest.err >&5
   5821   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5822   (exit $ac_status); } >/dev/null && {
   5823 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5824 	 test ! -s conftest.err
   5825        }; then
   5826   :
   5827 else
   5828   $as_echo "$as_me: failed program was:" >&5
   5829 sed 's/^/| /' conftest.$ac_ext >&5
   5830 
   5831   # Broken: fails on valid input.
   5832 continue
   5833 fi
   5834 
   5835 rm -f conftest.err conftest.$ac_ext
   5836 
   5837   # OK, works on sane cases.  Now check whether nonexistent headers
   5838   # can be detected and how.
   5839   cat >conftest.$ac_ext <<_ACEOF
   5840 /* confdefs.h.  */
   5841 _ACEOF
   5842 cat confdefs.h >>conftest.$ac_ext
   5843 cat >>conftest.$ac_ext <<_ACEOF
   5844 /* end confdefs.h.  */
   5845 #include <ac_nonexistent.h>
   5846 _ACEOF
   5847 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5848 case "(($ac_try" in
   5849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5850   *) ac_try_echo=$ac_try;;
   5851 esac
   5852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5853 $as_echo "$ac_try_echo") >&5
   5854   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5855   ac_status=$?
   5856   grep -v '^ *+' conftest.er1 >conftest.err
   5857   rm -f conftest.er1
   5858   cat conftest.err >&5
   5859   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5860   (exit $ac_status); } >/dev/null && {
   5861 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5862 	 test ! -s conftest.err
   5863        }; then
   5864   # Broken: success on invalid input.
   5865 continue
   5866 else
   5867   $as_echo "$as_me: failed program was:" >&5
   5868 sed 's/^/| /' conftest.$ac_ext >&5
   5869 
   5870   # Passes both tests.
   5871 ac_preproc_ok=:
   5872 break
   5873 fi
   5874 
   5875 rm -f conftest.err conftest.$ac_ext
   5876 
   5877 done
   5878 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5879 rm -f conftest.err conftest.$ac_ext
   5880 if $ac_preproc_ok; then
   5881   break
   5882 fi
   5883 
   5884     done
   5885     ac_cv_prog_CXXCPP=$CXXCPP
   5886 
   5887 fi
   5888   CXXCPP=$ac_cv_prog_CXXCPP
   5889 else
   5890   ac_cv_prog_CXXCPP=$CXXCPP
   5891 fi
   5892 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5893 $as_echo "$CXXCPP" >&6; }
   5894 ac_preproc_ok=false
   5895 for ac_cxx_preproc_warn_flag in '' yes
   5896 do
   5897   # Use a header file that comes with gcc, so configuring glibc
   5898   # with a fresh cross-compiler works.
   5899   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5900   # <limits.h> exists even on freestanding compilers.
   5901   # On the NeXT, cc -E runs the code through the compiler's parser,
   5902   # not just through cpp. "Syntax error" is here to catch this case.
   5903   cat >conftest.$ac_ext <<_ACEOF
   5904 /* confdefs.h.  */
   5905 _ACEOF
   5906 cat confdefs.h >>conftest.$ac_ext
   5907 cat >>conftest.$ac_ext <<_ACEOF
   5908 /* end confdefs.h.  */
   5909 #ifdef __STDC__
   5910 # include <limits.h>
   5911 #else
   5912 # include <assert.h>
   5913 #endif
   5914 		     Syntax error
   5915 _ACEOF
   5916 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5917 case "(($ac_try" in
   5918   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5919   *) ac_try_echo=$ac_try;;
   5920 esac
   5921 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5922 $as_echo "$ac_try_echo") >&5
   5923   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5924   ac_status=$?
   5925   grep -v '^ *+' conftest.er1 >conftest.err
   5926   rm -f conftest.er1
   5927   cat conftest.err >&5
   5928   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5929   (exit $ac_status); } >/dev/null && {
   5930 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5931 	 test ! -s conftest.err
   5932        }; then
   5933   :
   5934 else
   5935   $as_echo "$as_me: failed program was:" >&5
   5936 sed 's/^/| /' conftest.$ac_ext >&5
   5937 
   5938   # Broken: fails on valid input.
   5939 continue
   5940 fi
   5941 
   5942 rm -f conftest.err conftest.$ac_ext
   5943 
   5944   # OK, works on sane cases.  Now check whether nonexistent headers
   5945   # can be detected and how.
   5946   cat >conftest.$ac_ext <<_ACEOF
   5947 /* confdefs.h.  */
   5948 _ACEOF
   5949 cat confdefs.h >>conftest.$ac_ext
   5950 cat >>conftest.$ac_ext <<_ACEOF
   5951 /* end confdefs.h.  */
   5952 #include <ac_nonexistent.h>
   5953 _ACEOF
   5954 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5955 case "(($ac_try" in
   5956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5957   *) ac_try_echo=$ac_try;;
   5958 esac
   5959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5960 $as_echo "$ac_try_echo") >&5
   5961   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5962   ac_status=$?
   5963   grep -v '^ *+' conftest.er1 >conftest.err
   5964   rm -f conftest.er1
   5965   cat conftest.err >&5
   5966   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5967   (exit $ac_status); } >/dev/null && {
   5968 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5969 	 test ! -s conftest.err
   5970        }; then
   5971   # Broken: success on invalid input.
   5972 continue
   5973 else
   5974   $as_echo "$as_me: failed program was:" >&5
   5975 sed 's/^/| /' conftest.$ac_ext >&5
   5976 
   5977   # Passes both tests.
   5978 ac_preproc_ok=:
   5979 break
   5980 fi
   5981 
   5982 rm -f conftest.err conftest.$ac_ext
   5983 
   5984 done
   5985 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5986 rm -f conftest.err conftest.$ac_ext
   5987 if $ac_preproc_ok; then
   5988   :
   5989 else
   5990   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   5991 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5992 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5993 See \`config.log' for more details." >&5
   5994 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   5995 See \`config.log' for more details." >&2;}
   5996    { (exit 1); exit 1; }; }; }
   5997 fi
   5998 
   5999 ac_ext=cpp
   6000 ac_cpp='$CXXCPP $CPPFLAGS'
   6001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6004 
   6005 fi
   6006 
   6007 
   6008 ac_ext=f
   6009 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6010 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6011 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6012 if test -n "$ac_tool_prefix"; then
   6013   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
   6014   do
   6015     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6016 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6017 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6018 $as_echo_n "checking for $ac_word... " >&6; }
   6019 if test "${ac_cv_prog_F77+set}" = set; then
   6020   $as_echo_n "(cached) " >&6
   6021 else
   6022   if test -n "$F77"; then
   6023   ac_cv_prog_F77="$F77" # Let the user override the test.
   6024 else
   6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6026 for as_dir in $PATH
   6027 do
   6028   IFS=$as_save_IFS
   6029   test -z "$as_dir" && as_dir=.
   6030   for ac_exec_ext in '' $ac_executable_extensions; do
   6031   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6032     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6033     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6034     break 2
   6035   fi
   6036 done
   6037 done
   6038 IFS=$as_save_IFS
   6039 
   6040 fi
   6041 fi
   6042 F77=$ac_cv_prog_F77
   6043 if test -n "$F77"; then
   6044   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6045 $as_echo "$F77" >&6; }
   6046 else
   6047   { $as_echo "$as_me:$LINENO: result: no" >&5
   6048 $as_echo "no" >&6; }
   6049 fi
   6050 
   6051 
   6052     test -n "$F77" && break
   6053   done
   6054 fi
   6055 if test -z "$F77"; then
   6056   ac_ct_F77=$F77
   6057   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
   6058 do
   6059   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6060 set dummy $ac_prog; ac_word=$2
   6061 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6062 $as_echo_n "checking for $ac_word... " >&6; }
   6063 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6064   $as_echo_n "(cached) " >&6
   6065 else
   6066   if test -n "$ac_ct_F77"; then
   6067   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6068 else
   6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6070 for as_dir in $PATH
   6071 do
   6072   IFS=$as_save_IFS
   6073   test -z "$as_dir" && as_dir=.
   6074   for ac_exec_ext in '' $ac_executable_extensions; do
   6075   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6076     ac_cv_prog_ac_ct_F77="$ac_prog"
   6077     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6078     break 2
   6079   fi
   6080 done
   6081 done
   6082 IFS=$as_save_IFS
   6083 
   6084 fi
   6085 fi
   6086 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6087 if test -n "$ac_ct_F77"; then
   6088   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6089 $as_echo "$ac_ct_F77" >&6; }
   6090 else
   6091   { $as_echo "$as_me:$LINENO: result: no" >&5
   6092 $as_echo "no" >&6; }
   6093 fi
   6094 
   6095 
   6096   test -n "$ac_ct_F77" && break
   6097 done
   6098 
   6099   if test "x$ac_ct_F77" = x; then
   6100     F77=""
   6101   else
   6102     case $cross_compiling:$ac_tool_warned in
   6103 yes:)
   6104 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6106 ac_tool_warned=yes ;;
   6107 esac
   6108     F77=$ac_ct_F77
   6109   fi
   6110 fi
   6111 
   6112 
   6113 # Provide some information about the compiler.
   6114 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6115 set X $ac_compile
   6116 ac_compiler=$2
   6117 { (ac_try="$ac_compiler --version >&5"
   6118 case "(($ac_try" in
   6119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6120   *) ac_try_echo=$ac_try;;
   6121 esac
   6122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6123 $as_echo "$ac_try_echo") >&5
   6124   (eval "$ac_compiler --version >&5") 2>&5
   6125   ac_status=$?
   6126   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6127   (exit $ac_status); }
   6128 { (ac_try="$ac_compiler -v >&5"
   6129 case "(($ac_try" in
   6130   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6131   *) ac_try_echo=$ac_try;;
   6132 esac
   6133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6134 $as_echo "$ac_try_echo") >&5
   6135   (eval "$ac_compiler -v >&5") 2>&5
   6136   ac_status=$?
   6137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6138   (exit $ac_status); }
   6139 { (ac_try="$ac_compiler -V >&5"
   6140 case "(($ac_try" in
   6141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6142   *) ac_try_echo=$ac_try;;
   6143 esac
   6144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6145 $as_echo "$ac_try_echo") >&5
   6146   (eval "$ac_compiler -V >&5") 2>&5
   6147   ac_status=$?
   6148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6149   (exit $ac_status); }
   6150 rm -f a.out
   6151 
   6152 # If we don't use `.F' as extension, the preprocessor is not run on the
   6153 # input file.  (Note that this only needs to work for GNU compilers.)
   6154 ac_save_ext=$ac_ext
   6155 ac_ext=F
   6156 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6157 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6158 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6159   $as_echo_n "(cached) " >&6
   6160 else
   6161   cat >conftest.$ac_ext <<_ACEOF
   6162       program main
   6163 #ifndef __GNUC__
   6164        choke me
   6165 #endif
   6166 
   6167       end
   6168 _ACEOF
   6169 rm -f conftest.$ac_objext
   6170 if { (ac_try="$ac_compile"
   6171 case "(($ac_try" in
   6172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6173   *) ac_try_echo=$ac_try;;
   6174 esac
   6175 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6176 $as_echo "$ac_try_echo") >&5
   6177   (eval "$ac_compile") 2>conftest.er1
   6178   ac_status=$?
   6179   grep -v '^ *+' conftest.er1 >conftest.err
   6180   rm -f conftest.er1
   6181   cat conftest.err >&5
   6182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6183   (exit $ac_status); } && {
   6184 	 test -z "$ac_f77_werror_flag" ||
   6185 	 test ! -s conftest.err
   6186        } && test -s conftest.$ac_objext; then
   6187   ac_compiler_gnu=yes
   6188 else
   6189   $as_echo "$as_me: failed program was:" >&5
   6190 sed 's/^/| /' conftest.$ac_ext >&5
   6191 
   6192 	ac_compiler_gnu=no
   6193 fi
   6194 
   6195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6196 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6197 
   6198 fi
   6199 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6200 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6201 ac_ext=$ac_save_ext
   6202 ac_test_FFLAGS=${FFLAGS+set}
   6203 ac_save_FFLAGS=$FFLAGS
   6204 FFLAGS=
   6205 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6206 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6207 if test "${ac_cv_prog_f77_g+set}" = set; then
   6208   $as_echo_n "(cached) " >&6
   6209 else
   6210   FFLAGS=-g
   6211 cat >conftest.$ac_ext <<_ACEOF
   6212       program main
   6213 
   6214       end
   6215 _ACEOF
   6216 rm -f conftest.$ac_objext
   6217 if { (ac_try="$ac_compile"
   6218 case "(($ac_try" in
   6219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6220   *) ac_try_echo=$ac_try;;
   6221 esac
   6222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6223 $as_echo "$ac_try_echo") >&5
   6224   (eval "$ac_compile") 2>conftest.er1
   6225   ac_status=$?
   6226   grep -v '^ *+' conftest.er1 >conftest.err
   6227   rm -f conftest.er1
   6228   cat conftest.err >&5
   6229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6230   (exit $ac_status); } && {
   6231 	 test -z "$ac_f77_werror_flag" ||
   6232 	 test ! -s conftest.err
   6233        } && test -s conftest.$ac_objext; then
   6234   ac_cv_prog_f77_g=yes
   6235 else
   6236   $as_echo "$as_me: failed program was:" >&5
   6237 sed 's/^/| /' conftest.$ac_ext >&5
   6238 
   6239 	ac_cv_prog_f77_g=no
   6240 fi
   6241 
   6242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6243 
   6244 fi
   6245 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6246 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6247 if test "$ac_test_FFLAGS" = set; then
   6248   FFLAGS=$ac_save_FFLAGS
   6249 elif test $ac_cv_prog_f77_g = yes; then
   6250   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6251     FFLAGS="-g -O2"
   6252   else
   6253     FFLAGS="-g"
   6254   fi
   6255 else
   6256   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6257     FFLAGS="-O2"
   6258   else
   6259     FFLAGS=
   6260   fi
   6261 fi
   6262 
   6263 if test $ac_compiler_gnu = yes; then
   6264   G77=yes
   6265 else
   6266   G77=
   6267 fi
   6268 ac_ext=c
   6269 ac_cpp='$CPP $CPPFLAGS'
   6270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6273 
   6274 
   6275 
   6276 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6277 # find the maximum length of command line arguments
   6278 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6279 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6280 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6281   $as_echo_n "(cached) " >&6
   6282 else
   6283     i=0
   6284   teststring="ABCD"
   6285 
   6286   case $build_os in
   6287   msdosdjgpp*)
   6288     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6289     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6290     # during glob expansion).  Even if it were fixed, the result of this
   6291     # check would be larger than it should be.
   6292     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6293     ;;
   6294 
   6295   gnu*)
   6296     # Under GNU Hurd, this test is not required because there is
   6297     # no limit to the length of command line arguments.
   6298     # Libtool will interpret -1 as no limit whatsoever
   6299     lt_cv_sys_max_cmd_len=-1;
   6300     ;;
   6301 
   6302   cygwin* | mingw*)
   6303     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6304     # about 5 minutes as the teststring grows exponentially.
   6305     # Worse, since 9x/ME are not pre-emptively multitasking,
   6306     # you end up with a "frozen" computer, even though with patience
   6307     # the test eventually succeeds (with a max line length of 256k).
   6308     # Instead, let's just punt: use the minimum linelength reported by
   6309     # all of the supported platforms: 8192 (on NT/2K/XP).
   6310     lt_cv_sys_max_cmd_len=8192;
   6311     ;;
   6312 
   6313   amigaos*)
   6314     # On AmigaOS with pdksh, this test takes hours, literally.
   6315     # So we just punt and use a minimum line length of 8192.
   6316     lt_cv_sys_max_cmd_len=8192;
   6317     ;;
   6318 
   6319   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6320     # This has been around since 386BSD, at least.  Likely further.
   6321     if test -x /sbin/sysctl; then
   6322       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6323     elif test -x /usr/sbin/sysctl; then
   6324       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6325     else
   6326       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6327     fi
   6328     # And add a safety zone
   6329     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6330     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6331     ;;
   6332 
   6333   interix*)
   6334     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6335     lt_cv_sys_max_cmd_len=196608
   6336     ;;
   6337 
   6338   osf*)
   6339     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6340     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6341     # nice to cause kernel panics so lets avoid the loop below.
   6342     # First set a reasonable default.
   6343     lt_cv_sys_max_cmd_len=16384
   6344     #
   6345     if test -x /sbin/sysconfig; then
   6346       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6347         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6348       esac
   6349     fi
   6350     ;;
   6351   sco3.2v5*)
   6352     lt_cv_sys_max_cmd_len=102400
   6353     ;;
   6354   sysv5* | sco5v6* | sysv4.2uw2*)
   6355     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6356     if test -n "$kargmax"; then
   6357       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6358     else
   6359       lt_cv_sys_max_cmd_len=32768
   6360     fi
   6361     ;;
   6362   *)
   6363     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6364     if test -n "$lt_cv_sys_max_cmd_len"; then
   6365       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6366       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6367     else
   6368       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6369       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6370 	       = "XX$teststring") >/dev/null 2>&1 &&
   6371 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6372 	      lt_cv_sys_max_cmd_len=$new_result &&
   6373 	      test $i != 17 # 1/2 MB should be enough
   6374       do
   6375         i=`expr $i + 1`
   6376         teststring=$teststring$teststring
   6377       done
   6378       teststring=
   6379       # Add a significant safety factor because C++ compilers can tack on massive
   6380       # amounts of additional arguments before passing them to the linker.
   6381       # It appears as though 1/2 is a usable value.
   6382       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6383     fi
   6384     ;;
   6385   esac
   6386 
   6387 fi
   6388 
   6389 if test -n $lt_cv_sys_max_cmd_len ; then
   6390   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6391 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6392 else
   6393   { $as_echo "$as_me:$LINENO: result: none" >&5
   6394 $as_echo "none" >&6; }
   6395 fi
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6402 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6403 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6404 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6405   $as_echo_n "(cached) " >&6
   6406 else
   6407 
   6408 # These are sane defaults that work on at least a few old systems.
   6409 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6410 
   6411 # Character class describing NM global symbol codes.
   6412 symcode='[BCDEGRST]'
   6413 
   6414 # Regexp to match symbols that can be accessed directly from C.
   6415 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6416 
   6417 # Transform an extracted symbol line into a proper C declaration
   6418 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6419 
   6420 # Transform an extracted symbol line into symbol name and symbol address
   6421 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'"
   6422 
   6423 # Define system-specific variables.
   6424 case $host_os in
   6425 aix*)
   6426   symcode='[BCDT]'
   6427   ;;
   6428 cygwin* | mingw* | pw32*)
   6429   symcode='[ABCDGISTW]'
   6430   ;;
   6431 hpux*) # Its linker distinguishes data from code symbols
   6432   if test "$host_cpu" = ia64; then
   6433     symcode='[ABCDEGRST]'
   6434   fi
   6435   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6436   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'"
   6437   ;;
   6438 linux* | k*bsd*-gnu)
   6439   if test "$host_cpu" = ia64; then
   6440     symcode='[ABCDGIRSTW]'
   6441     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6442     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'"
   6443   fi
   6444   ;;
   6445 irix* | nonstopux*)
   6446   symcode='[BCDEGRST]'
   6447   ;;
   6448 osf*)
   6449   symcode='[BCDEGQRST]'
   6450   ;;
   6451 solaris*)
   6452   symcode='[BDRT]'
   6453   ;;
   6454 sco3.2v5*)
   6455   symcode='[DT]'
   6456   ;;
   6457 sysv4.2uw2*)
   6458   symcode='[DT]'
   6459   ;;
   6460 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6461   symcode='[ABDT]'
   6462   ;;
   6463 sysv4)
   6464   symcode='[DFNSTU]'
   6465   ;;
   6466 esac
   6467 
   6468 # Handle CRLF in mingw tool chain
   6469 opt_cr=
   6470 case $build_os in
   6471 mingw*)
   6472   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6473   ;;
   6474 esac
   6475 
   6476 # If we're using GNU nm, then use its standard symbol codes.
   6477 case `$NM -V 2>&1` in
   6478 *GNU* | *'with BFD'*)
   6479   symcode='[ABCDGIRSTW]' ;;
   6480 esac
   6481 
   6482 # Try without a prefix undercore, then with it.
   6483 for ac_symprfx in "" "_"; do
   6484 
   6485   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6486   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6487 
   6488   # Write the raw and C identifiers.
   6489   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6490 
   6491   # Check to see that the pipe works correctly.
   6492   pipe_works=no
   6493 
   6494   rm -f conftest*
   6495   cat > conftest.$ac_ext <<EOF
   6496 #ifdef __cplusplus
   6497 extern "C" {
   6498 #endif
   6499 char nm_test_var;
   6500 void nm_test_func(){}
   6501 #ifdef __cplusplus
   6502 }
   6503 #endif
   6504 int main(){nm_test_var='a';nm_test_func();return(0);}
   6505 EOF
   6506 
   6507   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6508   (eval $ac_compile) 2>&5
   6509   ac_status=$?
   6510   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6511   (exit $ac_status); }; then
   6512     # Now try to grab the symbols.
   6513     nlist=conftest.nm
   6514     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6515   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6516   ac_status=$?
   6517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6518   (exit $ac_status); } && test -s "$nlist"; then
   6519       # Try sorting and uniquifying the output.
   6520       if sort "$nlist" | uniq > "$nlist"T; then
   6521 	mv -f "$nlist"T "$nlist"
   6522       else
   6523 	rm -f "$nlist"T
   6524       fi
   6525 
   6526       # Make sure that we snagged all the symbols we need.
   6527       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6528 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6529 	  cat <<EOF > conftest.$ac_ext
   6530 #ifdef __cplusplus
   6531 extern "C" {
   6532 #endif
   6533 
   6534 EOF
   6535 	  # Now generate the symbol file.
   6536 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6537 
   6538 	  cat <<EOF >> conftest.$ac_ext
   6539 #if defined (__STDC__) && __STDC__
   6540 # define lt_ptr_t void *
   6541 #else
   6542 # define lt_ptr_t char *
   6543 # define const
   6544 #endif
   6545 
   6546 /* The mapping between symbol names and symbols. */
   6547 const struct {
   6548   const char *name;
   6549   lt_ptr_t address;
   6550 }
   6551 lt_preloaded_symbols[] =
   6552 {
   6553 EOF
   6554 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6555 	  cat <<\EOF >> conftest.$ac_ext
   6556   {0, (lt_ptr_t) 0}
   6557 };
   6558 
   6559 #ifdef __cplusplus
   6560 }
   6561 #endif
   6562 EOF
   6563 	  # Now try linking the two files.
   6564 	  mv conftest.$ac_objext conftstm.$ac_objext
   6565 	  lt_save_LIBS="$LIBS"
   6566 	  lt_save_CFLAGS="$CFLAGS"
   6567 	  LIBS="conftstm.$ac_objext"
   6568 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6569 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6570   (eval $ac_link) 2>&5
   6571   ac_status=$?
   6572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6573   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6574 	    pipe_works=yes
   6575 	  fi
   6576 	  LIBS="$lt_save_LIBS"
   6577 	  CFLAGS="$lt_save_CFLAGS"
   6578 	else
   6579 	  echo "cannot find nm_test_func in $nlist" >&5
   6580 	fi
   6581       else
   6582 	echo "cannot find nm_test_var in $nlist" >&5
   6583       fi
   6584     else
   6585       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6586     fi
   6587   else
   6588     echo "$progname: failed program was:" >&5
   6589     cat conftest.$ac_ext >&5
   6590   fi
   6591   rm -rf conftest* conftst*
   6592 
   6593   # Do not use the global_symbol_pipe unless it works.
   6594   if test "$pipe_works" = yes; then
   6595     break
   6596   else
   6597     lt_cv_sys_global_symbol_pipe=
   6598   fi
   6599 done
   6600 
   6601 fi
   6602 
   6603 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6604   lt_cv_sys_global_symbol_to_cdecl=
   6605 fi
   6606 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6607   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6608 $as_echo "failed" >&6; }
   6609 else
   6610   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6611 $as_echo "ok" >&6; }
   6612 fi
   6613 
   6614 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6615 $as_echo_n "checking for objdir... " >&6; }
   6616 if test "${lt_cv_objdir+set}" = set; then
   6617   $as_echo_n "(cached) " >&6
   6618 else
   6619   rm -f .libs 2>/dev/null
   6620 mkdir .libs 2>/dev/null
   6621 if test -d .libs; then
   6622   lt_cv_objdir=.libs
   6623 else
   6624   # MS-DOS does not allow filenames that begin with a dot.
   6625   lt_cv_objdir=_libs
   6626 fi
   6627 rmdir .libs 2>/dev/null
   6628 fi
   6629 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6630 $as_echo "$lt_cv_objdir" >&6; }
   6631 objdir=$lt_cv_objdir
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 case $host_os in
   6638 aix3*)
   6639   # AIX sometimes has problems with the GCC collect2 program.  For some
   6640   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6641   # vanish in a puff of smoke.
   6642   if test "X${COLLECT_NAMES+set}" != Xset; then
   6643     COLLECT_NAMES=
   6644     export COLLECT_NAMES
   6645   fi
   6646   ;;
   6647 esac
   6648 
   6649 # Sed substitution that helps us do robust quoting.  It backslashifies
   6650 # metacharacters that are still active within double-quoted strings.
   6651 Xsed='sed -e 1s/^X//'
   6652 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6653 
   6654 # Same as above, but do not quote variable references.
   6655 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6656 
   6657 # Sed substitution to delay expansion of an escaped shell variable in a
   6658 # double_quote_subst'ed string.
   6659 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6660 
   6661 # Sed substitution to avoid accidental globbing in evaled expressions
   6662 no_glob_subst='s/\*/\\\*/g'
   6663 
   6664 # Constants:
   6665 rm="rm -f"
   6666 
   6667 # Global variables:
   6668 default_ofile=libtool
   6669 can_build_shared=yes
   6670 
   6671 # All known linkers require a `.a' archive for static linking (except MSVC,
   6672 # which needs '.lib').
   6673 libext=a
   6674 ltmain="$ac_aux_dir/ltmain.sh"
   6675 ofile="$default_ofile"
   6676 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6677 
   6678 if test -n "$ac_tool_prefix"; then
   6679   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6680 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6682 $as_echo_n "checking for $ac_word... " >&6; }
   6683 if test "${ac_cv_prog_AR+set}" = set; then
   6684   $as_echo_n "(cached) " >&6
   6685 else
   6686   if test -n "$AR"; then
   6687   ac_cv_prog_AR="$AR" # Let the user override the test.
   6688 else
   6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6690 for as_dir in $PATH
   6691 do
   6692   IFS=$as_save_IFS
   6693   test -z "$as_dir" && as_dir=.
   6694   for ac_exec_ext in '' $ac_executable_extensions; do
   6695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6696     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6697     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6698     break 2
   6699   fi
   6700 done
   6701 done
   6702 IFS=$as_save_IFS
   6703 
   6704 fi
   6705 fi
   6706 AR=$ac_cv_prog_AR
   6707 if test -n "$AR"; then
   6708   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6709 $as_echo "$AR" >&6; }
   6710 else
   6711   { $as_echo "$as_me:$LINENO: result: no" >&5
   6712 $as_echo "no" >&6; }
   6713 fi
   6714 
   6715 
   6716 fi
   6717 if test -z "$ac_cv_prog_AR"; then
   6718   ac_ct_AR=$AR
   6719   # Extract the first word of "ar", so it can be a program name with args.
   6720 set dummy ar; ac_word=$2
   6721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6722 $as_echo_n "checking for $ac_word... " >&6; }
   6723 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6724   $as_echo_n "(cached) " >&6
   6725 else
   6726   if test -n "$ac_ct_AR"; then
   6727   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6728 else
   6729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6730 for as_dir in $PATH
   6731 do
   6732   IFS=$as_save_IFS
   6733   test -z "$as_dir" && as_dir=.
   6734   for ac_exec_ext in '' $ac_executable_extensions; do
   6735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6736     ac_cv_prog_ac_ct_AR="ar"
   6737     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6738     break 2
   6739   fi
   6740 done
   6741 done
   6742 IFS=$as_save_IFS
   6743 
   6744 fi
   6745 fi
   6746 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6747 if test -n "$ac_ct_AR"; then
   6748   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6749 $as_echo "$ac_ct_AR" >&6; }
   6750 else
   6751   { $as_echo "$as_me:$LINENO: result: no" >&5
   6752 $as_echo "no" >&6; }
   6753 fi
   6754 
   6755   if test "x$ac_ct_AR" = x; then
   6756     AR="false"
   6757   else
   6758     case $cross_compiling:$ac_tool_warned in
   6759 yes:)
   6760 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6761 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6762 ac_tool_warned=yes ;;
   6763 esac
   6764     AR=$ac_ct_AR
   6765   fi
   6766 else
   6767   AR="$ac_cv_prog_AR"
   6768 fi
   6769 
   6770 if test -n "$ac_tool_prefix"; then
   6771   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6772 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6773 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6774 $as_echo_n "checking for $ac_word... " >&6; }
   6775 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6776   $as_echo_n "(cached) " >&6
   6777 else
   6778   if test -n "$RANLIB"; then
   6779   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6780 else
   6781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6782 for as_dir in $PATH
   6783 do
   6784   IFS=$as_save_IFS
   6785   test -z "$as_dir" && as_dir=.
   6786   for ac_exec_ext in '' $ac_executable_extensions; do
   6787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6788     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6789     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6790     break 2
   6791   fi
   6792 done
   6793 done
   6794 IFS=$as_save_IFS
   6795 
   6796 fi
   6797 fi
   6798 RANLIB=$ac_cv_prog_RANLIB
   6799 if test -n "$RANLIB"; then
   6800   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6801 $as_echo "$RANLIB" >&6; }
   6802 else
   6803   { $as_echo "$as_me:$LINENO: result: no" >&5
   6804 $as_echo "no" >&6; }
   6805 fi
   6806 
   6807 
   6808 fi
   6809 if test -z "$ac_cv_prog_RANLIB"; then
   6810   ac_ct_RANLIB=$RANLIB
   6811   # Extract the first word of "ranlib", so it can be a program name with args.
   6812 set dummy ranlib; ac_word=$2
   6813 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6814 $as_echo_n "checking for $ac_word... " >&6; }
   6815 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6816   $as_echo_n "(cached) " >&6
   6817 else
   6818   if test -n "$ac_ct_RANLIB"; then
   6819   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6820 else
   6821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6822 for as_dir in $PATH
   6823 do
   6824   IFS=$as_save_IFS
   6825   test -z "$as_dir" && as_dir=.
   6826   for ac_exec_ext in '' $ac_executable_extensions; do
   6827   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6828     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6829     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6830     break 2
   6831   fi
   6832 done
   6833 done
   6834 IFS=$as_save_IFS
   6835 
   6836 fi
   6837 fi
   6838 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6839 if test -n "$ac_ct_RANLIB"; then
   6840   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6841 $as_echo "$ac_ct_RANLIB" >&6; }
   6842 else
   6843   { $as_echo "$as_me:$LINENO: result: no" >&5
   6844 $as_echo "no" >&6; }
   6845 fi
   6846 
   6847   if test "x$ac_ct_RANLIB" = x; then
   6848     RANLIB=":"
   6849   else
   6850     case $cross_compiling:$ac_tool_warned in
   6851 yes:)
   6852 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6853 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6854 ac_tool_warned=yes ;;
   6855 esac
   6856     RANLIB=$ac_ct_RANLIB
   6857   fi
   6858 else
   6859   RANLIB="$ac_cv_prog_RANLIB"
   6860 fi
   6861 
   6862 if test -n "$ac_tool_prefix"; then
   6863   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6864 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6865 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6866 $as_echo_n "checking for $ac_word... " >&6; }
   6867 if test "${ac_cv_prog_STRIP+set}" = set; then
   6868   $as_echo_n "(cached) " >&6
   6869 else
   6870   if test -n "$STRIP"; then
   6871   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6872 else
   6873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6874 for as_dir in $PATH
   6875 do
   6876   IFS=$as_save_IFS
   6877   test -z "$as_dir" && as_dir=.
   6878   for ac_exec_ext in '' $ac_executable_extensions; do
   6879   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6880     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6881     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6882     break 2
   6883   fi
   6884 done
   6885 done
   6886 IFS=$as_save_IFS
   6887 
   6888 fi
   6889 fi
   6890 STRIP=$ac_cv_prog_STRIP
   6891 if test -n "$STRIP"; then
   6892   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6893 $as_echo "$STRIP" >&6; }
   6894 else
   6895   { $as_echo "$as_me:$LINENO: result: no" >&5
   6896 $as_echo "no" >&6; }
   6897 fi
   6898 
   6899 
   6900 fi
   6901 if test -z "$ac_cv_prog_STRIP"; then
   6902   ac_ct_STRIP=$STRIP
   6903   # Extract the first word of "strip", so it can be a program name with args.
   6904 set dummy strip; ac_word=$2
   6905 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6906 $as_echo_n "checking for $ac_word... " >&6; }
   6907 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6908   $as_echo_n "(cached) " >&6
   6909 else
   6910   if test -n "$ac_ct_STRIP"; then
   6911   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6912 else
   6913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6914 for as_dir in $PATH
   6915 do
   6916   IFS=$as_save_IFS
   6917   test -z "$as_dir" && as_dir=.
   6918   for ac_exec_ext in '' $ac_executable_extensions; do
   6919   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6920     ac_cv_prog_ac_ct_STRIP="strip"
   6921     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6922     break 2
   6923   fi
   6924 done
   6925 done
   6926 IFS=$as_save_IFS
   6927 
   6928 fi
   6929 fi
   6930 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6931 if test -n "$ac_ct_STRIP"; then
   6932   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6933 $as_echo "$ac_ct_STRIP" >&6; }
   6934 else
   6935   { $as_echo "$as_me:$LINENO: result: no" >&5
   6936 $as_echo "no" >&6; }
   6937 fi
   6938 
   6939   if test "x$ac_ct_STRIP" = x; then
   6940     STRIP=":"
   6941   else
   6942     case $cross_compiling:$ac_tool_warned in
   6943 yes:)
   6944 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6946 ac_tool_warned=yes ;;
   6947 esac
   6948     STRIP=$ac_ct_STRIP
   6949   fi
   6950 else
   6951   STRIP="$ac_cv_prog_STRIP"
   6952 fi
   6953 
   6954 
   6955 old_CC="$CC"
   6956 old_CFLAGS="$CFLAGS"
   6957 
   6958 # Set sane defaults for various variables
   6959 test -z "$AR" && AR=ar
   6960 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6961 test -z "$AS" && AS=as
   6962 test -z "$CC" && CC=cc
   6963 test -z "$LTCC" && LTCC=$CC
   6964 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6965 test -z "$DLLTOOL" && DLLTOOL=dlltool
   6966 test -z "$LD" && LD=ld
   6967 test -z "$LN_S" && LN_S="ln -s"
   6968 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   6969 test -z "$NM" && NM=nm
   6970 test -z "$SED" && SED=sed
   6971 test -z "$OBJDUMP" && OBJDUMP=objdump
   6972 test -z "$RANLIB" && RANLIB=:
   6973 test -z "$STRIP" && STRIP=:
   6974 test -z "$ac_objext" && ac_objext=o
   6975 
   6976 # Determine commands to create old-style static archives.
   6977 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6978 old_postinstall_cmds='chmod 644 $oldlib'
   6979 old_postuninstall_cmds=
   6980 
   6981 if test -n "$RANLIB"; then
   6982   case $host_os in
   6983   openbsd*)
   6984     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6985     ;;
   6986   *)
   6987     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6988     ;;
   6989   esac
   6990   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6991 fi
   6992 
   6993 for cc_temp in $compiler""; do
   6994   case $cc_temp in
   6995     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6996     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6997     \-*) ;;
   6998     *) break;;
   6999   esac
   7000 done
   7001 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7002 
   7003 
   7004 # Only perform the check for file, if the check method requires it
   7005 case $deplibs_check_method in
   7006 file_magic*)
   7007   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7008     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7009 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7010 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7011   $as_echo_n "(cached) " >&6
   7012 else
   7013   case $MAGIC_CMD in
   7014 [\\/*] |  ?:[\\/]*)
   7015   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7016   ;;
   7017 *)
   7018   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7019   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7020   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7021   for ac_dir in $ac_dummy; do
   7022     IFS="$lt_save_ifs"
   7023     test -z "$ac_dir" && ac_dir=.
   7024     if test -f $ac_dir/${ac_tool_prefix}file; then
   7025       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7026       if test -n "$file_magic_test_file"; then
   7027 	case $deplibs_check_method in
   7028 	"file_magic "*)
   7029 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7030 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7031 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7032 	    $EGREP "$file_magic_regex" > /dev/null; then
   7033 	    :
   7034 	  else
   7035 	    cat <<EOF 1>&2
   7036 
   7037 *** Warning: the command libtool uses to detect shared libraries,
   7038 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7039 *** The result is that libtool may fail to recognize shared libraries
   7040 *** as such.  This will affect the creation of libtool libraries that
   7041 *** depend on shared libraries, but programs linked with such libtool
   7042 *** libraries will work regardless of this problem.  Nevertheless, you
   7043 *** may want to report the problem to your system manager and/or to
   7044 *** bug-libtool@gnu.org
   7045 
   7046 EOF
   7047 	  fi ;;
   7048 	esac
   7049       fi
   7050       break
   7051     fi
   7052   done
   7053   IFS="$lt_save_ifs"
   7054   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7055   ;;
   7056 esac
   7057 fi
   7058 
   7059 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7060 if test -n "$MAGIC_CMD"; then
   7061   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7062 $as_echo "$MAGIC_CMD" >&6; }
   7063 else
   7064   { $as_echo "$as_me:$LINENO: result: no" >&5
   7065 $as_echo "no" >&6; }
   7066 fi
   7067 
   7068 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7069   if test -n "$ac_tool_prefix"; then
   7070     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7071 $as_echo_n "checking for file... " >&6; }
   7072 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7073   $as_echo_n "(cached) " >&6
   7074 else
   7075   case $MAGIC_CMD in
   7076 [\\/*] |  ?:[\\/]*)
   7077   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7078   ;;
   7079 *)
   7080   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7081   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7082   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7083   for ac_dir in $ac_dummy; do
   7084     IFS="$lt_save_ifs"
   7085     test -z "$ac_dir" && ac_dir=.
   7086     if test -f $ac_dir/file; then
   7087       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7088       if test -n "$file_magic_test_file"; then
   7089 	case $deplibs_check_method in
   7090 	"file_magic "*)
   7091 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7092 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7093 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7094 	    $EGREP "$file_magic_regex" > /dev/null; then
   7095 	    :
   7096 	  else
   7097 	    cat <<EOF 1>&2
   7098 
   7099 *** Warning: the command libtool uses to detect shared libraries,
   7100 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7101 *** The result is that libtool may fail to recognize shared libraries
   7102 *** as such.  This will affect the creation of libtool libraries that
   7103 *** depend on shared libraries, but programs linked with such libtool
   7104 *** libraries will work regardless of this problem.  Nevertheless, you
   7105 *** may want to report the problem to your system manager and/or to
   7106 *** bug-libtool@gnu.org
   7107 
   7108 EOF
   7109 	  fi ;;
   7110 	esac
   7111       fi
   7112       break
   7113     fi
   7114   done
   7115   IFS="$lt_save_ifs"
   7116   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7117   ;;
   7118 esac
   7119 fi
   7120 
   7121 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7122 if test -n "$MAGIC_CMD"; then
   7123   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7124 $as_echo "$MAGIC_CMD" >&6; }
   7125 else
   7126   { $as_echo "$as_me:$LINENO: result: no" >&5
   7127 $as_echo "no" >&6; }
   7128 fi
   7129 
   7130   else
   7131     MAGIC_CMD=:
   7132   fi
   7133 fi
   7134 
   7135   fi
   7136   ;;
   7137 esac
   7138 
   7139 
   7140   case $host_os in
   7141     rhapsody* | darwin*)
   7142     if test -n "$ac_tool_prefix"; then
   7143   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7144 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7145 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7146 $as_echo_n "checking for $ac_word... " >&6; }
   7147 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7148   $as_echo_n "(cached) " >&6
   7149 else
   7150   if test -n "$DSYMUTIL"; then
   7151   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7152 else
   7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7154 for as_dir in $PATH
   7155 do
   7156   IFS=$as_save_IFS
   7157   test -z "$as_dir" && as_dir=.
   7158   for ac_exec_ext in '' $ac_executable_extensions; do
   7159   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7160     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7161     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7162     break 2
   7163   fi
   7164 done
   7165 done
   7166 IFS=$as_save_IFS
   7167 
   7168 fi
   7169 fi
   7170 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7171 if test -n "$DSYMUTIL"; then
   7172   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7173 $as_echo "$DSYMUTIL" >&6; }
   7174 else
   7175   { $as_echo "$as_me:$LINENO: result: no" >&5
   7176 $as_echo "no" >&6; }
   7177 fi
   7178 
   7179 
   7180 fi
   7181 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7182   ac_ct_DSYMUTIL=$DSYMUTIL
   7183   # Extract the first word of "dsymutil", so it can be a program name with args.
   7184 set dummy dsymutil; ac_word=$2
   7185 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7186 $as_echo_n "checking for $ac_word... " >&6; }
   7187 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7188   $as_echo_n "(cached) " >&6
   7189 else
   7190   if test -n "$ac_ct_DSYMUTIL"; then
   7191   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7192 else
   7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7194 for as_dir in $PATH
   7195 do
   7196   IFS=$as_save_IFS
   7197   test -z "$as_dir" && as_dir=.
   7198   for ac_exec_ext in '' $ac_executable_extensions; do
   7199   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7200     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7201     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7202     break 2
   7203   fi
   7204 done
   7205 done
   7206 IFS=$as_save_IFS
   7207 
   7208 fi
   7209 fi
   7210 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7211 if test -n "$ac_ct_DSYMUTIL"; then
   7212   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7213 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7214 else
   7215   { $as_echo "$as_me:$LINENO: result: no" >&5
   7216 $as_echo "no" >&6; }
   7217 fi
   7218 
   7219   if test "x$ac_ct_DSYMUTIL" = x; then
   7220     DSYMUTIL=":"
   7221   else
   7222     case $cross_compiling:$ac_tool_warned in
   7223 yes:)
   7224 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7226 ac_tool_warned=yes ;;
   7227 esac
   7228     DSYMUTIL=$ac_ct_DSYMUTIL
   7229   fi
   7230 else
   7231   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7232 fi
   7233 
   7234     if test -n "$ac_tool_prefix"; then
   7235   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7236 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7237 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7238 $as_echo_n "checking for $ac_word... " >&6; }
   7239 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7240   $as_echo_n "(cached) " >&6
   7241 else
   7242   if test -n "$NMEDIT"; then
   7243   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7244 else
   7245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7246 for as_dir in $PATH
   7247 do
   7248   IFS=$as_save_IFS
   7249   test -z "$as_dir" && as_dir=.
   7250   for ac_exec_ext in '' $ac_executable_extensions; do
   7251   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7252     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7253     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7254     break 2
   7255   fi
   7256 done
   7257 done
   7258 IFS=$as_save_IFS
   7259 
   7260 fi
   7261 fi
   7262 NMEDIT=$ac_cv_prog_NMEDIT
   7263 if test -n "$NMEDIT"; then
   7264   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7265 $as_echo "$NMEDIT" >&6; }
   7266 else
   7267   { $as_echo "$as_me:$LINENO: result: no" >&5
   7268 $as_echo "no" >&6; }
   7269 fi
   7270 
   7271 
   7272 fi
   7273 if test -z "$ac_cv_prog_NMEDIT"; then
   7274   ac_ct_NMEDIT=$NMEDIT
   7275   # Extract the first word of "nmedit", so it can be a program name with args.
   7276 set dummy nmedit; ac_word=$2
   7277 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7278 $as_echo_n "checking for $ac_word... " >&6; }
   7279 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7280   $as_echo_n "(cached) " >&6
   7281 else
   7282   if test -n "$ac_ct_NMEDIT"; then
   7283   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7284 else
   7285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7286 for as_dir in $PATH
   7287 do
   7288   IFS=$as_save_IFS
   7289   test -z "$as_dir" && as_dir=.
   7290   for ac_exec_ext in '' $ac_executable_extensions; do
   7291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7292     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7293     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7294     break 2
   7295   fi
   7296 done
   7297 done
   7298 IFS=$as_save_IFS
   7299 
   7300 fi
   7301 fi
   7302 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7303 if test -n "$ac_ct_NMEDIT"; then
   7304   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7305 $as_echo "$ac_ct_NMEDIT" >&6; }
   7306 else
   7307   { $as_echo "$as_me:$LINENO: result: no" >&5
   7308 $as_echo "no" >&6; }
   7309 fi
   7310 
   7311   if test "x$ac_ct_NMEDIT" = x; then
   7312     NMEDIT=":"
   7313   else
   7314     case $cross_compiling:$ac_tool_warned in
   7315 yes:)
   7316 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7317 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7318 ac_tool_warned=yes ;;
   7319 esac
   7320     NMEDIT=$ac_ct_NMEDIT
   7321   fi
   7322 else
   7323   NMEDIT="$ac_cv_prog_NMEDIT"
   7324 fi
   7325 
   7326 
   7327     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7328 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7329 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   lt_cv_apple_cc_single_mod=no
   7333       if test -z "${LT_MULTI_MODULE}"; then
   7334    # By default we will add the -single_module flag. You can override
   7335    # by either setting the environment variable LT_MULTI_MODULE
   7336    # non-empty at configure time, or by adding -multi_module to the
   7337    # link flags.
   7338    echo "int foo(void){return 1;}" > conftest.c
   7339    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7340      -dynamiclib ${wl}-single_module conftest.c
   7341    if test -f libconftest.dylib; then
   7342      lt_cv_apple_cc_single_mod=yes
   7343      rm -rf libconftest.dylib*
   7344    fi
   7345    rm conftest.c
   7346       fi
   7347 fi
   7348 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7349 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7350     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7351 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7352 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7353   $as_echo_n "(cached) " >&6
   7354 else
   7355   lt_cv_ld_exported_symbols_list=no
   7356       save_LDFLAGS=$LDFLAGS
   7357       echo "_main" > conftest.sym
   7358       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7359       cat >conftest.$ac_ext <<_ACEOF
   7360 /* confdefs.h.  */
   7361 _ACEOF
   7362 cat confdefs.h >>conftest.$ac_ext
   7363 cat >>conftest.$ac_ext <<_ACEOF
   7364 /* end confdefs.h.  */
   7365 
   7366 int
   7367 main ()
   7368 {
   7369 
   7370   ;
   7371   return 0;
   7372 }
   7373 _ACEOF
   7374 rm -f conftest.$ac_objext conftest$ac_exeext
   7375 if { (ac_try="$ac_link"
   7376 case "(($ac_try" in
   7377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7378   *) ac_try_echo=$ac_try;;
   7379 esac
   7380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7381 $as_echo "$ac_try_echo") >&5
   7382   (eval "$ac_link") 2>conftest.er1
   7383   ac_status=$?
   7384   grep -v '^ *+' conftest.er1 >conftest.err
   7385   rm -f conftest.er1
   7386   cat conftest.err >&5
   7387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7388   (exit $ac_status); } && {
   7389 	 test -z "$ac_c_werror_flag" ||
   7390 	 test ! -s conftest.err
   7391        } && test -s conftest$ac_exeext && {
   7392 	 test "$cross_compiling" = yes ||
   7393 	 $as_test_x conftest$ac_exeext
   7394        }; then
   7395   lt_cv_ld_exported_symbols_list=yes
   7396 else
   7397   $as_echo "$as_me: failed program was:" >&5
   7398 sed 's/^/| /' conftest.$ac_ext >&5
   7399 
   7400 	lt_cv_ld_exported_symbols_list=no
   7401 fi
   7402 
   7403 rm -rf conftest.dSYM
   7404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7405       conftest$ac_exeext conftest.$ac_ext
   7406    LDFLAGS="$save_LDFLAGS"
   7407 
   7408 fi
   7409 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7410 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7411     case $host_os in
   7412     rhapsody* | darwin1.[0123])
   7413       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7414     darwin1.*)
   7415      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7416     darwin*)
   7417       # if running on 10.5 or later, the deployment target defaults
   7418       # to the OS version, if on x86, and 10.4, the deployment
   7419       # target defaults to 10.4. Don't you love it?
   7420       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7421    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7422      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7423    10.[012]*)
   7424      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7425    10.*)
   7426      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7427       esac
   7428     ;;
   7429   esac
   7430     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7431       _lt_dar_single_mod='$single_module'
   7432     fi
   7433     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7434       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7435     else
   7436       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7437     fi
   7438     if test "$DSYMUTIL" != ":"; then
   7439       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7440     else
   7441       _lt_dsymutil=
   7442     fi
   7443     ;;
   7444   esac
   7445 
   7446 
   7447 enable_dlopen=no
   7448 enable_win32_dll=no
   7449 
   7450 # Check whether --enable-libtool-lock was given.
   7451 if test "${enable_libtool_lock+set}" = set; then
   7452   enableval=$enable_libtool_lock;
   7453 fi
   7454 
   7455 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7456 
   7457 
   7458 # Check whether --with-pic was given.
   7459 if test "${with_pic+set}" = set; then
   7460   withval=$with_pic; pic_mode="$withval"
   7461 else
   7462   pic_mode=default
   7463 fi
   7464 
   7465 test -z "$pic_mode" && pic_mode=default
   7466 
   7467 # Use C for the default configuration in the libtool script
   7468 tagname=
   7469 lt_save_CC="$CC"
   7470 ac_ext=c
   7471 ac_cpp='$CPP $CPPFLAGS'
   7472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7475 
   7476 
   7477 # Source file extension for C test sources.
   7478 ac_ext=c
   7479 
   7480 # Object file extension for compiled C test sources.
   7481 objext=o
   7482 objext=$objext
   7483 
   7484 # Code to be used in simple compile tests
   7485 lt_simple_compile_test_code="int some_variable = 0;"
   7486 
   7487 # Code to be used in simple link tests
   7488 lt_simple_link_test_code='int main(){return(0);}'
   7489 
   7490 
   7491 # If no C compiler was specified, use CC.
   7492 LTCC=${LTCC-"$CC"}
   7493 
   7494 # If no C compiler flags were specified, use CFLAGS.
   7495 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7496 
   7497 # Allow CC to be a program name with arguments.
   7498 compiler=$CC
   7499 
   7500 
   7501 # save warnings/boilerplate of simple test code
   7502 ac_outfile=conftest.$ac_objext
   7503 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7504 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7505 _lt_compiler_boilerplate=`cat conftest.err`
   7506 $rm conftest*
   7507 
   7508 ac_outfile=conftest.$ac_objext
   7509 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7510 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7511 _lt_linker_boilerplate=`cat conftest.err`
   7512 $rm -r conftest*
   7513 
   7514 
   7515 
   7516 lt_prog_compiler_no_builtin_flag=
   7517 
   7518 if test "$GCC" = yes; then
   7519   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7520 
   7521 
   7522 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7523 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7524 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7525   $as_echo_n "(cached) " >&6
   7526 else
   7527   lt_cv_prog_compiler_rtti_exceptions=no
   7528   ac_outfile=conftest.$ac_objext
   7529    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7530    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7531    # Insert the option either (1) after the last *FLAGS variable, or
   7532    # (2) before a word containing "conftest.", or (3) at the end.
   7533    # Note that $ac_compile itself does not contain backslashes and begins
   7534    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7535    # The option is referenced via a variable to avoid confusing sed.
   7536    lt_compile=`echo "$ac_compile" | $SED \
   7537    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7538    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7539    -e 's:$: $lt_compiler_flag:'`
   7540    (eval echo "\"\$as_me:7540: $lt_compile\"" >&5)
   7541    (eval "$lt_compile" 2>conftest.err)
   7542    ac_status=$?
   7543    cat conftest.err >&5
   7544    echo "$as_me:7544: \$? = $ac_status" >&5
   7545    if (exit $ac_status) && test -s "$ac_outfile"; then
   7546      # The compiler can only warn and ignore the option if not recognized
   7547      # So say no if there are warnings other than the usual output.
   7548      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7549      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7550      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7551        lt_cv_prog_compiler_rtti_exceptions=yes
   7552      fi
   7553    fi
   7554    $rm conftest*
   7555 
   7556 fi
   7557 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7558 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7559 
   7560 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7561     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7562 else
   7563     :
   7564 fi
   7565 
   7566 fi
   7567 
   7568 lt_prog_compiler_wl=
   7569 lt_prog_compiler_pic=
   7570 lt_prog_compiler_static=
   7571 
   7572 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7573 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7574 
   7575   if test "$GCC" = yes; then
   7576     lt_prog_compiler_wl='-Wl,'
   7577     lt_prog_compiler_static='-static'
   7578 
   7579     case $host_os in
   7580       aix*)
   7581       # All AIX code is PIC.
   7582       if test "$host_cpu" = ia64; then
   7583 	# AIX 5 now supports IA64 processor
   7584 	lt_prog_compiler_static='-Bstatic'
   7585       fi
   7586       ;;
   7587 
   7588     amigaos*)
   7589       # FIXME: we need at least 68020 code to build shared libraries, but
   7590       # adding the `-m68020' flag to GCC prevents building anything better,
   7591       # like `-m68040'.
   7592       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7593       ;;
   7594 
   7595     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7596       # PIC is the default for these OSes.
   7597       ;;
   7598 
   7599     mingw* | cygwin* | pw32* | os2*)
   7600       # This hack is so that the source file can tell whether it is being
   7601       # built for inclusion in a dll (and should export symbols for example).
   7602       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7603       # (--disable-auto-import) libraries
   7604       lt_prog_compiler_pic='-DDLL_EXPORT'
   7605       ;;
   7606 
   7607     darwin* | rhapsody*)
   7608       # PIC is the default on this platform
   7609       # Common symbols not allowed in MH_DYLIB files
   7610       lt_prog_compiler_pic='-fno-common'
   7611       ;;
   7612 
   7613     interix[3-9]*)
   7614       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7615       # Instead, we relocate shared libraries at runtime.
   7616       ;;
   7617 
   7618     msdosdjgpp*)
   7619       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7620       # on systems that don't support them.
   7621       lt_prog_compiler_can_build_shared=no
   7622       enable_shared=no
   7623       ;;
   7624 
   7625     sysv4*MP*)
   7626       if test -d /usr/nec; then
   7627 	lt_prog_compiler_pic=-Kconform_pic
   7628       fi
   7629       ;;
   7630 
   7631     hpux*)
   7632       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7633       # not for PA HP-UX.
   7634       case $host_cpu in
   7635       hppa*64*|ia64*)
   7636 	# +Z the default
   7637 	;;
   7638       *)
   7639 	lt_prog_compiler_pic='-fPIC'
   7640 	;;
   7641       esac
   7642       ;;
   7643 
   7644     *)
   7645       lt_prog_compiler_pic='-fPIC'
   7646       ;;
   7647     esac
   7648   else
   7649     # PORTME Check for flag to pass linker flags through the system compiler.
   7650     case $host_os in
   7651     aix*)
   7652       lt_prog_compiler_wl='-Wl,'
   7653       if test "$host_cpu" = ia64; then
   7654 	# AIX 5 now supports IA64 processor
   7655 	lt_prog_compiler_static='-Bstatic'
   7656       else
   7657 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7658       fi
   7659       ;;
   7660       darwin*)
   7661         # PIC is the default on this platform
   7662         # Common symbols not allowed in MH_DYLIB files
   7663        case $cc_basename in
   7664          xlc*)
   7665          lt_prog_compiler_pic='-qnocommon'
   7666          lt_prog_compiler_wl='-Wl,'
   7667          ;;
   7668        esac
   7669        ;;
   7670 
   7671     mingw* | cygwin* | pw32* | os2*)
   7672       # This hack is so that the source file can tell whether it is being
   7673       # built for inclusion in a dll (and should export symbols for example).
   7674       lt_prog_compiler_pic='-DDLL_EXPORT'
   7675       ;;
   7676 
   7677     hpux9* | hpux10* | hpux11*)
   7678       lt_prog_compiler_wl='-Wl,'
   7679       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7680       # not for PA HP-UX.
   7681       case $host_cpu in
   7682       hppa*64*|ia64*)
   7683 	# +Z the default
   7684 	;;
   7685       *)
   7686 	lt_prog_compiler_pic='+Z'
   7687 	;;
   7688       esac
   7689       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7690       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7691       ;;
   7692 
   7693     irix5* | irix6* | nonstopux*)
   7694       lt_prog_compiler_wl='-Wl,'
   7695       # PIC (with -KPIC) is the default.
   7696       lt_prog_compiler_static='-non_shared'
   7697       ;;
   7698 
   7699     newsos6)
   7700       lt_prog_compiler_pic='-KPIC'
   7701       lt_prog_compiler_static='-Bstatic'
   7702       ;;
   7703 
   7704     linux* | k*bsd*-gnu)
   7705       case $cc_basename in
   7706       icc* | ecc*)
   7707 	lt_prog_compiler_wl='-Wl,'
   7708 	lt_prog_compiler_pic='-KPIC'
   7709 	lt_prog_compiler_static='-static'
   7710         ;;
   7711       pgcc* | pgf77* | pgf90* | pgf95*)
   7712         # Portland Group compilers (*not* the Pentium gcc compiler,
   7713 	# which looks to be a dead project)
   7714 	lt_prog_compiler_wl='-Wl,'
   7715 	lt_prog_compiler_pic='-fpic'
   7716 	lt_prog_compiler_static='-Bstatic'
   7717         ;;
   7718       ccc*)
   7719         lt_prog_compiler_wl='-Wl,'
   7720         # All Alpha code is PIC.
   7721         lt_prog_compiler_static='-non_shared'
   7722         ;;
   7723       *)
   7724         case `$CC -V 2>&1 | sed 5q` in
   7725 	*Sun\ C*)
   7726 	  # Sun C 5.9
   7727 	  lt_prog_compiler_pic='-KPIC'
   7728 	  lt_prog_compiler_static='-Bstatic'
   7729 	  lt_prog_compiler_wl='-Wl,'
   7730 	  ;;
   7731 	*Sun\ F*)
   7732 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7733 	  lt_prog_compiler_pic='-KPIC'
   7734 	  lt_prog_compiler_static='-Bstatic'
   7735 	  lt_prog_compiler_wl=''
   7736 	  ;;
   7737 	esac
   7738 	;;
   7739       esac
   7740       ;;
   7741 
   7742     osf3* | osf4* | osf5*)
   7743       lt_prog_compiler_wl='-Wl,'
   7744       # All OSF/1 code is PIC.
   7745       lt_prog_compiler_static='-non_shared'
   7746       ;;
   7747 
   7748     rdos*)
   7749       lt_prog_compiler_static='-non_shared'
   7750       ;;
   7751 
   7752     solaris*)
   7753       lt_prog_compiler_pic='-KPIC'
   7754       lt_prog_compiler_static='-Bstatic'
   7755       case $cc_basename in
   7756       f77* | f90* | f95*)
   7757 	lt_prog_compiler_wl='-Qoption ld ';;
   7758       *)
   7759 	lt_prog_compiler_wl='-Wl,';;
   7760       esac
   7761       ;;
   7762 
   7763     sunos4*)
   7764       lt_prog_compiler_wl='-Qoption ld '
   7765       lt_prog_compiler_pic='-PIC'
   7766       lt_prog_compiler_static='-Bstatic'
   7767       ;;
   7768 
   7769     sysv4 | sysv4.2uw2* | sysv4.3*)
   7770       lt_prog_compiler_wl='-Wl,'
   7771       lt_prog_compiler_pic='-KPIC'
   7772       lt_prog_compiler_static='-Bstatic'
   7773       ;;
   7774 
   7775     sysv4*MP*)
   7776       if test -d /usr/nec ;then
   7777 	lt_prog_compiler_pic='-Kconform_pic'
   7778 	lt_prog_compiler_static='-Bstatic'
   7779       fi
   7780       ;;
   7781 
   7782     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7783       lt_prog_compiler_wl='-Wl,'
   7784       lt_prog_compiler_pic='-KPIC'
   7785       lt_prog_compiler_static='-Bstatic'
   7786       ;;
   7787 
   7788     unicos*)
   7789       lt_prog_compiler_wl='-Wl,'
   7790       lt_prog_compiler_can_build_shared=no
   7791       ;;
   7792 
   7793     uts4*)
   7794       lt_prog_compiler_pic='-pic'
   7795       lt_prog_compiler_static='-Bstatic'
   7796       ;;
   7797 
   7798     *)
   7799       lt_prog_compiler_can_build_shared=no
   7800       ;;
   7801     esac
   7802   fi
   7803 
   7804 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7805 $as_echo "$lt_prog_compiler_pic" >&6; }
   7806 
   7807 #
   7808 # Check to make sure the PIC flag actually works.
   7809 #
   7810 if test -n "$lt_prog_compiler_pic"; then
   7811 
   7812 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7813 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7814 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7815   $as_echo_n "(cached) " >&6
   7816 else
   7817   lt_cv_prog_compiler_pic_works=no
   7818   ac_outfile=conftest.$ac_objext
   7819    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7820    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7821    # Insert the option either (1) after the last *FLAGS variable, or
   7822    # (2) before a word containing "conftest.", or (3) at the end.
   7823    # Note that $ac_compile itself does not contain backslashes and begins
   7824    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7825    # The option is referenced via a variable to avoid confusing sed.
   7826    lt_compile=`echo "$ac_compile" | $SED \
   7827    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7828    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7829    -e 's:$: $lt_compiler_flag:'`
   7830    (eval echo "\"\$as_me:7830: $lt_compile\"" >&5)
   7831    (eval "$lt_compile" 2>conftest.err)
   7832    ac_status=$?
   7833    cat conftest.err >&5
   7834    echo "$as_me:7834: \$? = $ac_status" >&5
   7835    if (exit $ac_status) && test -s "$ac_outfile"; then
   7836      # The compiler can only warn and ignore the option if not recognized
   7837      # So say no if there are warnings other than the usual output.
   7838      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7839      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7840      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7841        lt_cv_prog_compiler_pic_works=yes
   7842      fi
   7843    fi
   7844    $rm conftest*
   7845 
   7846 fi
   7847 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7848 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7849 
   7850 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7851     case $lt_prog_compiler_pic in
   7852      "" | " "*) ;;
   7853      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7854      esac
   7855 else
   7856     lt_prog_compiler_pic=
   7857      lt_prog_compiler_can_build_shared=no
   7858 fi
   7859 
   7860 fi
   7861 case $host_os in
   7862   # For platforms which do not support PIC, -DPIC is meaningless:
   7863   *djgpp*)
   7864     lt_prog_compiler_pic=
   7865     ;;
   7866   *)
   7867     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7868     ;;
   7869 esac
   7870 
   7871 #
   7872 # Check to make sure the static flag actually works.
   7873 #
   7874 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7875 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7876 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7877 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7878   $as_echo_n "(cached) " >&6
   7879 else
   7880   lt_cv_prog_compiler_static_works=no
   7881    save_LDFLAGS="$LDFLAGS"
   7882    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7883    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7884    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7885      # The linker can only warn and ignore the option if not recognized
   7886      # So say no if there are warnings
   7887      if test -s conftest.err; then
   7888        # Append any errors to the config.log.
   7889        cat conftest.err 1>&5
   7890        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7891        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7892        if diff conftest.exp conftest.er2 >/dev/null; then
   7893          lt_cv_prog_compiler_static_works=yes
   7894        fi
   7895      else
   7896        lt_cv_prog_compiler_static_works=yes
   7897      fi
   7898    fi
   7899    $rm -r conftest*
   7900    LDFLAGS="$save_LDFLAGS"
   7901 
   7902 fi
   7903 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   7904 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   7905 
   7906 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   7907     :
   7908 else
   7909     lt_prog_compiler_static=
   7910 fi
   7911 
   7912 
   7913 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7914 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   7915 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7916   $as_echo_n "(cached) " >&6
   7917 else
   7918   lt_cv_prog_compiler_c_o=no
   7919    $rm -r conftest 2>/dev/null
   7920    mkdir conftest
   7921    cd conftest
   7922    mkdir out
   7923    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7924 
   7925    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7926    # Insert the option either (1) after the last *FLAGS variable, or
   7927    # (2) before a word containing "conftest.", or (3) at the end.
   7928    # Note that $ac_compile itself does not contain backslashes and begins
   7929    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7930    lt_compile=`echo "$ac_compile" | $SED \
   7931    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7932    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7933    -e 's:$: $lt_compiler_flag:'`
   7934    (eval echo "\"\$as_me:7934: $lt_compile\"" >&5)
   7935    (eval "$lt_compile" 2>out/conftest.err)
   7936    ac_status=$?
   7937    cat out/conftest.err >&5
   7938    echo "$as_me:7938: \$? = $ac_status" >&5
   7939    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7940    then
   7941      # The compiler can only warn and ignore the option if not recognized
   7942      # So say no if there are warnings
   7943      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7944      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7945      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7946        lt_cv_prog_compiler_c_o=yes
   7947      fi
   7948    fi
   7949    chmod u+w . 2>&5
   7950    $rm conftest*
   7951    # SGI C++ compiler will create directory out/ii_files/ for
   7952    # template instantiation
   7953    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   7954    $rm out/* && rmdir out
   7955    cd ..
   7956    rmdir conftest
   7957    $rm conftest*
   7958 
   7959 fi
   7960 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7961 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   7962 
   7963 
   7964 hard_links="nottested"
   7965 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7966   # do not overwrite the value of need_locks provided by the user
   7967   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7968 $as_echo_n "checking if we can lock with hard links... " >&6; }
   7969   hard_links=yes
   7970   $rm conftest*
   7971   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7972   touch conftest.a
   7973   ln conftest.a conftest.b 2>&5 || hard_links=no
   7974   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7975   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   7976 $as_echo "$hard_links" >&6; }
   7977   if test "$hard_links" = no; then
   7978     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7979 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7980     need_locks=warn
   7981   fi
   7982 else
   7983   need_locks=no
   7984 fi
   7985 
   7986 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7987 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   7988 
   7989   runpath_var=
   7990   allow_undefined_flag=
   7991   enable_shared_with_static_runtimes=no
   7992   archive_cmds=
   7993   archive_expsym_cmds=
   7994   old_archive_From_new_cmds=
   7995   old_archive_from_expsyms_cmds=
   7996   export_dynamic_flag_spec=
   7997   whole_archive_flag_spec=
   7998   thread_safe_flag_spec=
   7999   hardcode_libdir_flag_spec=
   8000   hardcode_libdir_flag_spec_ld=
   8001   hardcode_libdir_separator=
   8002   hardcode_direct=no
   8003   hardcode_minus_L=no
   8004   hardcode_shlibpath_var=unsupported
   8005   link_all_deplibs=unknown
   8006   hardcode_automatic=no
   8007   module_cmds=
   8008   module_expsym_cmds=
   8009   always_export_symbols=no
   8010   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8011   # include_expsyms should be a list of space-separated symbols to be *always*
   8012   # included in the symbol list
   8013   include_expsyms=
   8014   # exclude_expsyms can be an extended regexp of symbols to exclude
   8015   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8016   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8017   # as well as any symbol that contains `d'.
   8018   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8019   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8020   # platforms (ab)use it in PIC code, but their linkers get confused if
   8021   # the symbol is explicitly referenced.  Since portable code cannot
   8022   # rely on this symbol name, it's probably fine to never include it in
   8023   # preloaded symbol tables.
   8024   # Exclude shared library initialization/finalization symbols.
   8025   extract_expsyms_cmds=
   8026   # Just being paranoid about ensuring that cc_basename is set.
   8027   for cc_temp in $compiler""; do
   8028   case $cc_temp in
   8029     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8030     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8031     \-*) ;;
   8032     *) break;;
   8033   esac
   8034 done
   8035 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8036 
   8037   case $host_os in
   8038   cygwin* | mingw* | pw32*)
   8039     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8040     # When not using gcc, we currently assume that we are using
   8041     # Microsoft Visual C++.
   8042     if test "$GCC" != yes; then
   8043       with_gnu_ld=no
   8044     fi
   8045     ;;
   8046   interix*)
   8047     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8048     with_gnu_ld=yes
   8049     ;;
   8050   openbsd*)
   8051     with_gnu_ld=no
   8052     ;;
   8053   esac
   8054 
   8055   ld_shlibs=yes
   8056   if test "$with_gnu_ld" = yes; then
   8057     # If archive_cmds runs LD, not CC, wlarc should be empty
   8058     wlarc='${wl}'
   8059 
   8060     # Set some defaults for GNU ld with shared library support. These
   8061     # are reset later if shared libraries are not supported. Putting them
   8062     # here allows them to be overridden if necessary.
   8063     runpath_var=LD_RUN_PATH
   8064     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8065     export_dynamic_flag_spec='${wl}--export-dynamic'
   8066     # ancient GNU ld didn't support --whole-archive et. al.
   8067     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8068 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8069       else
   8070   	whole_archive_flag_spec=
   8071     fi
   8072     supports_anon_versioning=no
   8073     case `$LD -v 2>/dev/null` in
   8074       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8075       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8076       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8077       *\ 2.11.*) ;; # other 2.11 versions
   8078       *) supports_anon_versioning=yes ;;
   8079     esac
   8080 
   8081     # See if GNU ld supports shared libraries.
   8082     case $host_os in
   8083     aix[3-9]*)
   8084       # On AIX/PPC, the GNU linker is very broken
   8085       if test "$host_cpu" != ia64; then
   8086 	ld_shlibs=no
   8087 	cat <<EOF 1>&2
   8088 
   8089 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8090 *** to be unable to reliably create shared libraries on AIX.
   8091 *** Therefore, libtool is disabling shared libraries support.  If you
   8092 *** really care for shared libraries, you may want to modify your PATH
   8093 *** so that a non-GNU linker is found, and then restart.
   8094 
   8095 EOF
   8096       fi
   8097       ;;
   8098 
   8099     amigaos*)
   8100       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)'
   8101       hardcode_libdir_flag_spec='-L$libdir'
   8102       hardcode_minus_L=yes
   8103 
   8104       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8105       # that the semantics of dynamic libraries on AmigaOS, at least up
   8106       # to version 4, is to share data among multiple programs linked
   8107       # with the same dynamic library.  Since this doesn't match the
   8108       # behavior of shared libraries on other platforms, we can't use
   8109       # them.
   8110       ld_shlibs=no
   8111       ;;
   8112 
   8113     beos*)
   8114       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8115 	allow_undefined_flag=unsupported
   8116 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8117 	# support --undefined.  This deserves some investigation.  FIXME
   8118 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8119       else
   8120 	ld_shlibs=no
   8121       fi
   8122       ;;
   8123 
   8124     cygwin* | mingw* | pw32*)
   8125       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8126       # as there is no search path for DLLs.
   8127       hardcode_libdir_flag_spec='-L$libdir'
   8128       allow_undefined_flag=unsupported
   8129       always_export_symbols=no
   8130       enable_shared_with_static_runtimes=yes
   8131       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8132 
   8133       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8134         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8135 	# If the export-symbols file already is a .def file (1st line
   8136 	# is EXPORTS), use it as is; otherwise, prepend...
   8137 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8138 	  cp $export_symbols $output_objdir/$soname.def;
   8139 	else
   8140 	  echo EXPORTS > $output_objdir/$soname.def;
   8141 	  cat $export_symbols >> $output_objdir/$soname.def;
   8142 	fi~
   8143 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8144       else
   8145 	ld_shlibs=no
   8146       fi
   8147       ;;
   8148 
   8149     interix[3-9]*)
   8150       hardcode_direct=no
   8151       hardcode_shlibpath_var=no
   8152       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8153       export_dynamic_flag_spec='${wl}-E'
   8154       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8155       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8156       # default) and relocated if they conflict, which is a slow very memory
   8157       # consuming and fragmenting process.  To avoid this, we pick a random,
   8158       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8159       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8160       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8161       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'
   8162       ;;
   8163 
   8164     gnu* | linux* | k*bsd*-gnu)
   8165       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8166 	tmp_addflag=
   8167 	case $cc_basename,$host_cpu in
   8168 	pgcc*)				# Portland Group C compiler
   8169 	  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'
   8170 	  tmp_addflag=' $pic_flag'
   8171 	  ;;
   8172 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8173 	  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'
   8174 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8175 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8176 	  tmp_addflag=' -i_dynamic' ;;
   8177 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8178 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8179 	ifc* | ifort*)			# Intel Fortran compiler
   8180 	  tmp_addflag=' -nofor_main' ;;
   8181 	esac
   8182 	case `$CC -V 2>&1 | sed 5q` in
   8183 	*Sun\ C*)			# Sun C 5.9
   8184 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   8185 	  tmp_sharedflag='-G' ;;
   8186 	*Sun\ F*)			# Sun Fortran 8.3
   8187 	  tmp_sharedflag='-G' ;;
   8188 	*)
   8189 	  tmp_sharedflag='-shared' ;;
   8190 	esac
   8191 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8192 
   8193 	if test $supports_anon_versioning = yes; then
   8194 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8195   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8196   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8197 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8198 	fi
   8199 	link_all_deplibs=no
   8200       else
   8201 	ld_shlibs=no
   8202       fi
   8203       ;;
   8204 
   8205     netbsd*)
   8206       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8207 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8208 	wlarc=
   8209       else
   8210 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8211 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8212       fi
   8213       ;;
   8214 
   8215     solaris*)
   8216       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8217 	ld_shlibs=no
   8218 	cat <<EOF 1>&2
   8219 
   8220 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8221 *** create shared libraries on Solaris systems.  Therefore, libtool
   8222 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8223 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8224 *** your PATH or compiler configuration so that the native linker is
   8225 *** used, and then restart.
   8226 
   8227 EOF
   8228       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8229 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8230 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8231       else
   8232 	ld_shlibs=no
   8233       fi
   8234       ;;
   8235 
   8236     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8237       case `$LD -v 2>&1` in
   8238         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8239 	ld_shlibs=no
   8240 	cat <<_LT_EOF 1>&2
   8241 
   8242 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8243 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8244 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8245 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8246 *** your PATH or compiler configuration so that the native linker is
   8247 *** used, and then restart.
   8248 
   8249 _LT_EOF
   8250 	;;
   8251 	*)
   8252 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8253 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8254 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8255 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8256 	  else
   8257 	    ld_shlibs=no
   8258 	  fi
   8259 	;;
   8260       esac
   8261       ;;
   8262 
   8263     sunos4*)
   8264       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8265       wlarc=
   8266       hardcode_direct=yes
   8267       hardcode_shlibpath_var=no
   8268       ;;
   8269 
   8270     *)
   8271       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8272 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8273 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8274       else
   8275 	ld_shlibs=no
   8276       fi
   8277       ;;
   8278     esac
   8279 
   8280     if test "$ld_shlibs" = no; then
   8281       runpath_var=
   8282       hardcode_libdir_flag_spec=
   8283       export_dynamic_flag_spec=
   8284       whole_archive_flag_spec=
   8285     fi
   8286   else
   8287     # PORTME fill in a description of your system's linker (not GNU ld)
   8288     case $host_os in
   8289     aix3*)
   8290       allow_undefined_flag=unsupported
   8291       always_export_symbols=yes
   8292       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'
   8293       # Note: this linker hardcodes the directories in LIBPATH if there
   8294       # are no directories specified by -L.
   8295       hardcode_minus_L=yes
   8296       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8297 	# Neither direct hardcoding nor static linking is supported with a
   8298 	# broken collect2.
   8299 	hardcode_direct=unsupported
   8300       fi
   8301       ;;
   8302 
   8303     aix[4-9]*)
   8304       if test "$host_cpu" = ia64; then
   8305 	# On IA64, the linker does run time linking by default, so we don't
   8306 	# have to do anything special.
   8307 	aix_use_runtimelinking=no
   8308 	exp_sym_flag='-Bexport'
   8309 	no_entry_flag=""
   8310       else
   8311 	# If we're using GNU nm, then we don't want the "-C" option.
   8312 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8313 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8314 	  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'
   8315 	else
   8316 	  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'
   8317 	fi
   8318 	aix_use_runtimelinking=no
   8319 
   8320 	# Test if we are trying to use run time linking or normal
   8321 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8322 	# need to do runtime linking.
   8323 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8324 	  for ld_flag in $LDFLAGS; do
   8325   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8326   	    aix_use_runtimelinking=yes
   8327   	    break
   8328   	  fi
   8329 	  done
   8330 	  ;;
   8331 	esac
   8332 
   8333 	exp_sym_flag='-bexport'
   8334 	no_entry_flag='-bnoentry'
   8335       fi
   8336 
   8337       # When large executables or shared objects are built, AIX ld can
   8338       # have problems creating the table of contents.  If linking a library
   8339       # or program results in "error TOC overflow" add -mminimal-toc to
   8340       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8341       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8342 
   8343       archive_cmds=''
   8344       hardcode_direct=yes
   8345       hardcode_libdir_separator=':'
   8346       link_all_deplibs=yes
   8347 
   8348       if test "$GCC" = yes; then
   8349 	case $host_os in aix4.[012]|aix4.[012].*)
   8350 	# We only want to do this on AIX 4.2 and lower, the check
   8351 	# below for broken collect2 doesn't work under 4.3+
   8352 	  collect2name=`${CC} -print-prog-name=collect2`
   8353 	  if test -f "$collect2name" && \
   8354   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8355 	  then
   8356   	  # We have reworked collect2
   8357   	  :
   8358 	  else
   8359   	  # We have old collect2
   8360   	  hardcode_direct=unsupported
   8361   	  # It fails to find uninstalled libraries when the uninstalled
   8362   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8363   	  # to unsupported forces relinking
   8364   	  hardcode_minus_L=yes
   8365   	  hardcode_libdir_flag_spec='-L$libdir'
   8366   	  hardcode_libdir_separator=
   8367 	  fi
   8368 	  ;;
   8369 	esac
   8370 	shared_flag='-shared'
   8371 	if test "$aix_use_runtimelinking" = yes; then
   8372 	  shared_flag="$shared_flag "'${wl}-G'
   8373 	fi
   8374       else
   8375 	# not using gcc
   8376 	if test "$host_cpu" = ia64; then
   8377   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8378   	# chokes on -Wl,-G. The following line is correct:
   8379 	  shared_flag='-G'
   8380 	else
   8381 	  if test "$aix_use_runtimelinking" = yes; then
   8382 	    shared_flag='${wl}-G'
   8383 	  else
   8384 	    shared_flag='${wl}-bM:SRE'
   8385 	  fi
   8386 	fi
   8387       fi
   8388 
   8389       # It seems that -bexpall does not export symbols beginning with
   8390       # underscore (_), so it is better to generate a list of symbols to export.
   8391       always_export_symbols=yes
   8392       if test "$aix_use_runtimelinking" = yes; then
   8393 	# Warning - without using the other runtime loading flags (-brtl),
   8394 	# -berok will link without error, but may produce a broken library.
   8395 	allow_undefined_flag='-berok'
   8396        # Determine the default libpath from the value encoded in an empty executable.
   8397        cat >conftest.$ac_ext <<_ACEOF
   8398 /* confdefs.h.  */
   8399 _ACEOF
   8400 cat confdefs.h >>conftest.$ac_ext
   8401 cat >>conftest.$ac_ext <<_ACEOF
   8402 /* end confdefs.h.  */
   8403 
   8404 int
   8405 main ()
   8406 {
   8407 
   8408   ;
   8409   return 0;
   8410 }
   8411 _ACEOF
   8412 rm -f conftest.$ac_objext conftest$ac_exeext
   8413 if { (ac_try="$ac_link"
   8414 case "(($ac_try" in
   8415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8416   *) ac_try_echo=$ac_try;;
   8417 esac
   8418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8419 $as_echo "$ac_try_echo") >&5
   8420   (eval "$ac_link") 2>conftest.er1
   8421   ac_status=$?
   8422   grep -v '^ *+' conftest.er1 >conftest.err
   8423   rm -f conftest.er1
   8424   cat conftest.err >&5
   8425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8426   (exit $ac_status); } && {
   8427 	 test -z "$ac_c_werror_flag" ||
   8428 	 test ! -s conftest.err
   8429        } && test -s conftest$ac_exeext && {
   8430 	 test "$cross_compiling" = yes ||
   8431 	 $as_test_x conftest$ac_exeext
   8432        }; then
   8433 
   8434 lt_aix_libpath_sed='
   8435     /Import File Strings/,/^$/ {
   8436 	/^0/ {
   8437 	    s/^0  *\(.*\)$/\1/
   8438 	    p
   8439 	}
   8440     }'
   8441 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8442 # Check for a 64-bit object if we didn't find anything.
   8443 if test -z "$aix_libpath"; then
   8444   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8445 fi
   8446 else
   8447   $as_echo "$as_me: failed program was:" >&5
   8448 sed 's/^/| /' conftest.$ac_ext >&5
   8449 
   8450 
   8451 fi
   8452 
   8453 rm -rf conftest.dSYM
   8454 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8455       conftest$ac_exeext conftest.$ac_ext
   8456 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8457 
   8458        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8459 	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"
   8460        else
   8461 	if test "$host_cpu" = ia64; then
   8462 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8463 	  allow_undefined_flag="-z nodefs"
   8464 	  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"
   8465 	else
   8466 	 # Determine the default libpath from the value encoded in an empty executable.
   8467 	 cat >conftest.$ac_ext <<_ACEOF
   8468 /* confdefs.h.  */
   8469 _ACEOF
   8470 cat confdefs.h >>conftest.$ac_ext
   8471 cat >>conftest.$ac_ext <<_ACEOF
   8472 /* end confdefs.h.  */
   8473 
   8474 int
   8475 main ()
   8476 {
   8477 
   8478   ;
   8479   return 0;
   8480 }
   8481 _ACEOF
   8482 rm -f conftest.$ac_objext conftest$ac_exeext
   8483 if { (ac_try="$ac_link"
   8484 case "(($ac_try" in
   8485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8486   *) ac_try_echo=$ac_try;;
   8487 esac
   8488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8489 $as_echo "$ac_try_echo") >&5
   8490   (eval "$ac_link") 2>conftest.er1
   8491   ac_status=$?
   8492   grep -v '^ *+' conftest.er1 >conftest.err
   8493   rm -f conftest.er1
   8494   cat conftest.err >&5
   8495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8496   (exit $ac_status); } && {
   8497 	 test -z "$ac_c_werror_flag" ||
   8498 	 test ! -s conftest.err
   8499        } && test -s conftest$ac_exeext && {
   8500 	 test "$cross_compiling" = yes ||
   8501 	 $as_test_x conftest$ac_exeext
   8502        }; then
   8503 
   8504 lt_aix_libpath_sed='
   8505     /Import File Strings/,/^$/ {
   8506 	/^0/ {
   8507 	    s/^0  *\(.*\)$/\1/
   8508 	    p
   8509 	}
   8510     }'
   8511 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8512 # Check for a 64-bit object if we didn't find anything.
   8513 if test -z "$aix_libpath"; then
   8514   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8515 fi
   8516 else
   8517   $as_echo "$as_me: failed program was:" >&5
   8518 sed 's/^/| /' conftest.$ac_ext >&5
   8519 
   8520 
   8521 fi
   8522 
   8523 rm -rf conftest.dSYM
   8524 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8525       conftest$ac_exeext conftest.$ac_ext
   8526 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8527 
   8528 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8529 	  # Warning - without using the other run time loading flags,
   8530 	  # -berok will link without error, but may produce a broken library.
   8531 	  no_undefined_flag=' ${wl}-bernotok'
   8532 	  allow_undefined_flag=' ${wl}-berok'
   8533 	  # Exported symbols can be pulled into shared objects from archives
   8534 	  whole_archive_flag_spec='$convenience'
   8535 	  archive_cmds_need_lc=yes
   8536 	  # This is similar to how AIX traditionally builds its shared libraries.
   8537 	  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'
   8538 	fi
   8539       fi
   8540       ;;
   8541 
   8542     amigaos*)
   8543       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)'
   8544       hardcode_libdir_flag_spec='-L$libdir'
   8545       hardcode_minus_L=yes
   8546       # see comment about different semantics on the GNU ld section
   8547       ld_shlibs=no
   8548       ;;
   8549 
   8550     bsdi[45]*)
   8551       export_dynamic_flag_spec=-rdynamic
   8552       ;;
   8553 
   8554     cygwin* | mingw* | pw32*)
   8555       # When not using gcc, we currently assume that we are using
   8556       # Microsoft Visual C++.
   8557       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8558       # no search path for DLLs.
   8559       hardcode_libdir_flag_spec=' '
   8560       allow_undefined_flag=unsupported
   8561       # Tell ltmain to make .lib files, not .a files.
   8562       libext=lib
   8563       # Tell ltmain to make .dll files, not .so files.
   8564       shrext_cmds=".dll"
   8565       # FIXME: Setting linknames here is a bad hack.
   8566       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8567       # The linker will automatically build a .lib file if we build a DLL.
   8568       old_archive_From_new_cmds='true'
   8569       # FIXME: Should let the user specify the lib program.
   8570       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8571       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8572       enable_shared_with_static_runtimes=yes
   8573       ;;
   8574 
   8575     darwin* | rhapsody*)
   8576       case $host_os in
   8577         rhapsody* | darwin1.[012])
   8578          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8579          ;;
   8580        *) # Darwin 1.3 on
   8581          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8582            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8583          else
   8584            case ${MACOSX_DEPLOYMENT_TARGET} in
   8585              10.[012])
   8586                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8587                ;;
   8588              10.*)
   8589                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8590                ;;
   8591            esac
   8592          fi
   8593          ;;
   8594       esac
   8595       archive_cmds_need_lc=no
   8596       hardcode_direct=no
   8597       hardcode_automatic=yes
   8598       hardcode_shlibpath_var=unsupported
   8599       whole_archive_flag_spec=''
   8600       link_all_deplibs=yes
   8601     if test "$GCC" = yes ; then
   8602     	output_verbose_link_cmd='echo'
   8603         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8604         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8605         archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   8606         module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   8607     else
   8608       case $cc_basename in
   8609         xlc*)
   8610          output_verbose_link_cmd='echo'
   8611          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8612          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8613           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8614          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8615           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}'
   8616           ;;
   8617        *)
   8618          ld_shlibs=no
   8619           ;;
   8620       esac
   8621     fi
   8622       ;;
   8623 
   8624     dgux*)
   8625       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8626       hardcode_libdir_flag_spec='-L$libdir'
   8627       hardcode_shlibpath_var=no
   8628       ;;
   8629 
   8630     freebsd1*)
   8631       ld_shlibs=no
   8632       ;;
   8633 
   8634     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8635     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8636     # does not break anything, and helps significantly (at the cost of a little
   8637     # extra space).
   8638     freebsd2.2*)
   8639       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8640       hardcode_libdir_flag_spec='-R$libdir'
   8641       hardcode_direct=yes
   8642       hardcode_shlibpath_var=no
   8643       ;;
   8644 
   8645     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8646     freebsd2*)
   8647       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8648       hardcode_direct=yes
   8649       hardcode_minus_L=yes
   8650       hardcode_shlibpath_var=no
   8651       ;;
   8652 
   8653     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8654     freebsd* | dragonfly*)
   8655       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8656       hardcode_libdir_flag_spec='-R$libdir'
   8657       hardcode_direct=yes
   8658       hardcode_shlibpath_var=no
   8659       ;;
   8660 
   8661     hpux9*)
   8662       if test "$GCC" = yes; then
   8663 	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'
   8664       else
   8665 	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'
   8666       fi
   8667       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8668       hardcode_libdir_separator=:
   8669       hardcode_direct=yes
   8670 
   8671       # hardcode_minus_L: Not really in the search PATH,
   8672       # but as the default location of the library.
   8673       hardcode_minus_L=yes
   8674       export_dynamic_flag_spec='${wl}-E'
   8675       ;;
   8676 
   8677     hpux10*)
   8678       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8679 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8680       else
   8681 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8682       fi
   8683       if test "$with_gnu_ld" = no; then
   8684 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8685 	hardcode_libdir_separator=:
   8686 
   8687 	hardcode_direct=yes
   8688 	export_dynamic_flag_spec='${wl}-E'
   8689 
   8690 	# hardcode_minus_L: Not really in the search PATH,
   8691 	# but as the default location of the library.
   8692 	hardcode_minus_L=yes
   8693       fi
   8694       ;;
   8695 
   8696     hpux11*)
   8697       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8698 	case $host_cpu in
   8699 	hppa*64*)
   8700 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8701 	  ;;
   8702 	ia64*)
   8703 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8704 	  ;;
   8705 	*)
   8706 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8707 	  ;;
   8708 	esac
   8709       else
   8710 	case $host_cpu in
   8711 	hppa*64*)
   8712 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8713 	  ;;
   8714 	ia64*)
   8715 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8716 	  ;;
   8717 	*)
   8718 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8719 	  ;;
   8720 	esac
   8721       fi
   8722       if test "$with_gnu_ld" = no; then
   8723 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8724 	hardcode_libdir_separator=:
   8725 
   8726 	case $host_cpu in
   8727 	hppa*64*|ia64*)
   8728 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8729 	  hardcode_direct=no
   8730 	  hardcode_shlibpath_var=no
   8731 	  ;;
   8732 	*)
   8733 	  hardcode_direct=yes
   8734 	  export_dynamic_flag_spec='${wl}-E'
   8735 
   8736 	  # hardcode_minus_L: Not really in the search PATH,
   8737 	  # but as the default location of the library.
   8738 	  hardcode_minus_L=yes
   8739 	  ;;
   8740 	esac
   8741       fi
   8742       ;;
   8743 
   8744     irix5* | irix6* | nonstopux*)
   8745       if test "$GCC" = yes; then
   8746 	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'
   8747       else
   8748 	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'
   8749 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8750       fi
   8751       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8752       hardcode_libdir_separator=:
   8753       link_all_deplibs=yes
   8754       ;;
   8755 
   8756     netbsd*)
   8757       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8758 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8759       else
   8760 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8761       fi
   8762       hardcode_libdir_flag_spec='-R$libdir'
   8763       hardcode_direct=yes
   8764       hardcode_shlibpath_var=no
   8765       ;;
   8766 
   8767     newsos6)
   8768       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8769       hardcode_direct=yes
   8770       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8771       hardcode_libdir_separator=:
   8772       hardcode_shlibpath_var=no
   8773       ;;
   8774 
   8775     openbsd*)
   8776       if test -f /usr/libexec/ld.so; then
   8777 	hardcode_direct=yes
   8778 	hardcode_shlibpath_var=no
   8779 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8780 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8781 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8782 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8783 	  export_dynamic_flag_spec='${wl}-E'
   8784 	else
   8785 	  case $host_os in
   8786 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8787 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8788 	     hardcode_libdir_flag_spec='-R$libdir'
   8789 	     ;;
   8790 	   *)
   8791 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8792 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8793 	     ;;
   8794 	  esac
   8795         fi
   8796       else
   8797 	ld_shlibs=no
   8798       fi
   8799       ;;
   8800 
   8801     os2*)
   8802       hardcode_libdir_flag_spec='-L$libdir'
   8803       hardcode_minus_L=yes
   8804       allow_undefined_flag=unsupported
   8805       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'
   8806       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8807       ;;
   8808 
   8809     osf3*)
   8810       if test "$GCC" = yes; then
   8811 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8812 	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'
   8813       else
   8814 	allow_undefined_flag=' -expect_unresolved \*'
   8815 	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'
   8816       fi
   8817       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8818       hardcode_libdir_separator=:
   8819       ;;
   8820 
   8821     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8822       if test "$GCC" = yes; then
   8823 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8824 	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'
   8825 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8826       else
   8827 	allow_undefined_flag=' -expect_unresolved \*'
   8828 	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'
   8829 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8830 	$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'
   8831 
   8832 	# Both c and cxx compiler support -rpath directly
   8833 	hardcode_libdir_flag_spec='-rpath $libdir'
   8834       fi
   8835       hardcode_libdir_separator=:
   8836       ;;
   8837 
   8838     solaris*)
   8839       no_undefined_flag=' -z text'
   8840       if test "$GCC" = yes; then
   8841 	wlarc='${wl}'
   8842 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8843 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8844 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8845       else
   8846 	wlarc=''
   8847 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8848 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8849   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8850       fi
   8851       hardcode_libdir_flag_spec='-R$libdir'
   8852       hardcode_shlibpath_var=no
   8853       case $host_os in
   8854       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8855       *)
   8856 	# The compiler driver will combine and reorder linker options,
   8857 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8858 	# but is careful enough not to reorder.
   8859  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8860 	if test "$GCC" = yes; then
   8861 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8862 	else
   8863 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8864 	fi
   8865 	;;
   8866       esac
   8867       link_all_deplibs=yes
   8868       ;;
   8869 
   8870     sunos4*)
   8871       if test "x$host_vendor" = xsequent; then
   8872 	# Use $CC to link under sequent, because it throws in some extra .o
   8873 	# files that make .init and .fini sections work.
   8874 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8875       else
   8876 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8877       fi
   8878       hardcode_libdir_flag_spec='-L$libdir'
   8879       hardcode_direct=yes
   8880       hardcode_minus_L=yes
   8881       hardcode_shlibpath_var=no
   8882       ;;
   8883 
   8884     sysv4)
   8885       case $host_vendor in
   8886 	sni)
   8887 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8888 	  hardcode_direct=yes # is this really true???
   8889 	;;
   8890 	siemens)
   8891 	  ## LD is ld it makes a PLAMLIB
   8892 	  ## CC just makes a GrossModule.
   8893 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8894 	  reload_cmds='$CC -r -o $output$reload_objs'
   8895 	  hardcode_direct=no
   8896         ;;
   8897 	motorola)
   8898 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8899 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8900 	;;
   8901       esac
   8902       runpath_var='LD_RUN_PATH'
   8903       hardcode_shlibpath_var=no
   8904       ;;
   8905 
   8906     sysv4.3*)
   8907       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8908       hardcode_shlibpath_var=no
   8909       export_dynamic_flag_spec='-Bexport'
   8910       ;;
   8911 
   8912     sysv4*MP*)
   8913       if test -d /usr/nec; then
   8914 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8915 	hardcode_shlibpath_var=no
   8916 	runpath_var=LD_RUN_PATH
   8917 	hardcode_runpath_var=yes
   8918 	ld_shlibs=yes
   8919       fi
   8920       ;;
   8921 
   8922     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8923       no_undefined_flag='${wl}-z,text'
   8924       archive_cmds_need_lc=no
   8925       hardcode_shlibpath_var=no
   8926       runpath_var='LD_RUN_PATH'
   8927 
   8928       if test "$GCC" = yes; then
   8929 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8930 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8931       else
   8932 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8933 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8934       fi
   8935       ;;
   8936 
   8937     sysv5* | sco3.2v5* | sco5v6*)
   8938       # Note: We can NOT use -z defs as we might desire, because we do not
   8939       # link with -lc, and that would cause any symbols used from libc to
   8940       # always be unresolved, which means just about no library would
   8941       # ever link correctly.  If we're not using GNU ld we use -z text
   8942       # though, which does catch some bad symbols but isn't as heavy-handed
   8943       # as -z defs.
   8944       no_undefined_flag='${wl}-z,text'
   8945       allow_undefined_flag='${wl}-z,nodefs'
   8946       archive_cmds_need_lc=no
   8947       hardcode_shlibpath_var=no
   8948       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   8949       hardcode_libdir_separator=':'
   8950       link_all_deplibs=yes
   8951       export_dynamic_flag_spec='${wl}-Bexport'
   8952       runpath_var='LD_RUN_PATH'
   8953 
   8954       if test "$GCC" = yes; then
   8955 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8956 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8957       else
   8958 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8959 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8960       fi
   8961       ;;
   8962 
   8963     uts4*)
   8964       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8965       hardcode_libdir_flag_spec='-L$libdir'
   8966       hardcode_shlibpath_var=no
   8967       ;;
   8968 
   8969     *)
   8970       ld_shlibs=no
   8971       ;;
   8972     esac
   8973   fi
   8974 
   8975 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8976 $as_echo "$ld_shlibs" >&6; }
   8977 test "$ld_shlibs" = no && can_build_shared=no
   8978 
   8979 #
   8980 # Do we need to explicitly link libc?
   8981 #
   8982 case "x$archive_cmds_need_lc" in
   8983 x|xyes)
   8984   # Assume -lc should be added
   8985   archive_cmds_need_lc=yes
   8986 
   8987   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8988     case $archive_cmds in
   8989     *'~'*)
   8990       # FIXME: we may have to deal with multi-command sequences.
   8991       ;;
   8992     '$CC '*)
   8993       # Test whether the compiler implicitly links with -lc since on some
   8994       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8995       # to ld, don't add -lc before -lgcc.
   8996       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8997 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   8998       $rm conftest*
   8999       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9000 
   9001       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9002   (eval $ac_compile) 2>&5
   9003   ac_status=$?
   9004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9005   (exit $ac_status); } 2>conftest.err; then
   9006         soname=conftest
   9007         lib=conftest
   9008         libobjs=conftest.$ac_objext
   9009         deplibs=
   9010         wl=$lt_prog_compiler_wl
   9011 	pic_flag=$lt_prog_compiler_pic
   9012         compiler_flags=-v
   9013         linker_flags=-v
   9014         verstring=
   9015         output_objdir=.
   9016         libname=conftest
   9017         lt_save_allow_undefined_flag=$allow_undefined_flag
   9018         allow_undefined_flag=
   9019         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9020   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9021   ac_status=$?
   9022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9023   (exit $ac_status); }
   9024         then
   9025 	  archive_cmds_need_lc=no
   9026         else
   9027 	  archive_cmds_need_lc=yes
   9028         fi
   9029         allow_undefined_flag=$lt_save_allow_undefined_flag
   9030       else
   9031         cat conftest.err 1>&5
   9032       fi
   9033       $rm conftest*
   9034       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9035 $as_echo "$archive_cmds_need_lc" >&6; }
   9036       ;;
   9037     esac
   9038   fi
   9039   ;;
   9040 esac
   9041 
   9042 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9043 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9044 library_names_spec=
   9045 libname_spec='lib$name'
   9046 soname_spec=
   9047 shrext_cmds=".so"
   9048 postinstall_cmds=
   9049 postuninstall_cmds=
   9050 finish_cmds=
   9051 finish_eval=
   9052 shlibpath_var=
   9053 shlibpath_overrides_runpath=unknown
   9054 version_type=none
   9055 dynamic_linker="$host_os ld.so"
   9056 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9057 
   9058 if test "$GCC" = yes; then
   9059   case $host_os in
   9060     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9061     *) lt_awk_arg="/^libraries:/" ;;
   9062   esac
   9063   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9064   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9065     # if the path contains ";" then we assume it to be the separator
   9066     # otherwise default to the standard path separator (i.e. ":") - it is
   9067     # assumed that no part of a normal pathname contains ";" but that should
   9068     # okay in the real world where ";" in dirpaths is itself problematic.
   9069     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9070   else
   9071     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9072   fi
   9073   # Ok, now we have the path, separated by spaces, we can step through it
   9074   # and add multilib dir if necessary.
   9075   lt_tmp_lt_search_path_spec=
   9076   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9077   for lt_sys_path in $lt_search_path_spec; do
   9078     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9079       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9080     else
   9081       test -d "$lt_sys_path" && \
   9082 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9083     fi
   9084   done
   9085   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9086 BEGIN {RS=" "; FS="/|\n";} {
   9087   lt_foo="";
   9088   lt_count=0;
   9089   for (lt_i = NF; lt_i > 0; lt_i--) {
   9090     if ($lt_i != "" && $lt_i != ".") {
   9091       if ($lt_i == "..") {
   9092         lt_count++;
   9093       } else {
   9094         if (lt_count == 0) {
   9095           lt_foo="/" $lt_i lt_foo;
   9096         } else {
   9097           lt_count--;
   9098         }
   9099       }
   9100     }
   9101   }
   9102   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9103   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9104 }'`
   9105   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9106 else
   9107   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9108 fi
   9109 need_lib_prefix=unknown
   9110 hardcode_into_libs=no
   9111 
   9112 # when you set need_version to no, make sure it does not cause -set_version
   9113 # flags to be left without arguments
   9114 need_version=unknown
   9115 
   9116 case $host_os in
   9117 aix3*)
   9118   version_type=linux
   9119   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9120   shlibpath_var=LIBPATH
   9121 
   9122   # AIX 3 has no versioning support, so we append a major version to the name.
   9123   soname_spec='${libname}${release}${shared_ext}$major'
   9124   ;;
   9125 
   9126 aix[4-9]*)
   9127   version_type=linux
   9128   need_lib_prefix=no
   9129   need_version=no
   9130   hardcode_into_libs=yes
   9131   if test "$host_cpu" = ia64; then
   9132     # AIX 5 supports IA64
   9133     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9134     shlibpath_var=LD_LIBRARY_PATH
   9135   else
   9136     # With GCC up to 2.95.x, collect2 would create an import file
   9137     # for dependence libraries.  The import file would start with
   9138     # the line `#! .'.  This would cause the generated library to
   9139     # depend on `.', always an invalid library.  This was fixed in
   9140     # development snapshots of GCC prior to 3.0.
   9141     case $host_os in
   9142       aix4 | aix4.[01] | aix4.[01].*)
   9143       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9144 	   echo ' yes '
   9145 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9146 	:
   9147       else
   9148 	can_build_shared=no
   9149       fi
   9150       ;;
   9151     esac
   9152     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9153     # soname into executable. Probably we can add versioning support to
   9154     # collect2, so additional links can be useful in future.
   9155     if test "$aix_use_runtimelinking" = yes; then
   9156       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9157       # instead of lib<name>.a to let people know that these are not
   9158       # typical AIX shared libraries.
   9159       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9160     else
   9161       # We preserve .a as extension for shared libraries through AIX4.2
   9162       # and later when we are not doing run time linking.
   9163       library_names_spec='${libname}${release}.a $libname.a'
   9164       soname_spec='${libname}${release}${shared_ext}$major'
   9165     fi
   9166     shlibpath_var=LIBPATH
   9167   fi
   9168   ;;
   9169 
   9170 amigaos*)
   9171   library_names_spec='$libname.ixlibrary $libname.a'
   9172   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9173   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'
   9174   ;;
   9175 
   9176 beos*)
   9177   library_names_spec='${libname}${shared_ext}'
   9178   dynamic_linker="$host_os ld.so"
   9179   shlibpath_var=LIBRARY_PATH
   9180   ;;
   9181 
   9182 bsdi[45]*)
   9183   version_type=linux
   9184   need_version=no
   9185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9186   soname_spec='${libname}${release}${shared_ext}$major'
   9187   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9188   shlibpath_var=LD_LIBRARY_PATH
   9189   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9190   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9191   # the default ld.so.conf also contains /usr/contrib/lib and
   9192   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9193   # libtool to hard-code these into programs
   9194   ;;
   9195 
   9196 cygwin* | mingw* | pw32*)
   9197   version_type=windows
   9198   shrext_cmds=".dll"
   9199   need_version=no
   9200   need_lib_prefix=no
   9201 
   9202   case $GCC,$host_os in
   9203   yes,cygwin* | yes,mingw* | yes,pw32*)
   9204     library_names_spec='$libname.dll.a'
   9205     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9206     postinstall_cmds='base_file=`basename \${file}`~
   9207       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9208       dldir=$destdir/`dirname \$dlpath`~
   9209       test -d \$dldir || mkdir -p \$dldir~
   9210       $install_prog $dir/$dlname \$dldir/$dlname~
   9211       chmod a+x \$dldir/$dlname'
   9212     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9213       dlpath=$dir/\$dldll~
   9214        $rm \$dlpath'
   9215     shlibpath_overrides_runpath=yes
   9216 
   9217     case $host_os in
   9218     cygwin*)
   9219       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9220       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9221       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9222       ;;
   9223     mingw*)
   9224       # MinGW DLLs use traditional 'lib' prefix
   9225       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9226       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9227       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9228         # It is most probably a Windows format PATH printed by
   9229         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9230         # path with ; separators, and with drive letters. We can handle the
   9231         # drive letters (cygwin fileutils understands them), so leave them,
   9232         # especially as we might pass files found there to a mingw objdump,
   9233         # which wouldn't understand a cygwinified path. Ahh.
   9234         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9235       else
   9236         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9237       fi
   9238       ;;
   9239     pw32*)
   9240       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9241       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9242       ;;
   9243     esac
   9244     ;;
   9245 
   9246   *)
   9247     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9248     ;;
   9249   esac
   9250   dynamic_linker='Win32 ld.exe'
   9251   # FIXME: first we should search . and the directory the executable is in
   9252   shlibpath_var=PATH
   9253   ;;
   9254 
   9255 darwin* | rhapsody*)
   9256   dynamic_linker="$host_os dyld"
   9257   version_type=darwin
   9258   need_lib_prefix=no
   9259   need_version=no
   9260   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9261   soname_spec='${libname}${release}${major}$shared_ext'
   9262   shlibpath_overrides_runpath=yes
   9263   shlibpath_var=DYLD_LIBRARY_PATH
   9264   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9265 
   9266   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9267   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9268   ;;
   9269 
   9270 dgux*)
   9271   version_type=linux
   9272   need_lib_prefix=no
   9273   need_version=no
   9274   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9275   soname_spec='${libname}${release}${shared_ext}$major'
   9276   shlibpath_var=LD_LIBRARY_PATH
   9277   ;;
   9278 
   9279 freebsd1*)
   9280   dynamic_linker=no
   9281   ;;
   9282 
   9283 freebsd* | dragonfly*)
   9284   # DragonFly does not have aout.  When/if they implement a new
   9285   # versioning mechanism, adjust this.
   9286   if test -x /usr/bin/objformat; then
   9287     objformat=`/usr/bin/objformat`
   9288   else
   9289     case $host_os in
   9290     freebsd[123]*) objformat=aout ;;
   9291     *) objformat=elf ;;
   9292     esac
   9293   fi
   9294   version_type=freebsd-$objformat
   9295   case $version_type in
   9296     freebsd-elf*)
   9297       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9298       need_version=no
   9299       need_lib_prefix=no
   9300       ;;
   9301     freebsd-*)
   9302       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9303       need_version=yes
   9304       ;;
   9305   esac
   9306   shlibpath_var=LD_LIBRARY_PATH
   9307   case $host_os in
   9308   freebsd2*)
   9309     shlibpath_overrides_runpath=yes
   9310     ;;
   9311   freebsd3.[01]* | freebsdelf3.[01]*)
   9312     shlibpath_overrides_runpath=yes
   9313     hardcode_into_libs=yes
   9314     ;;
   9315   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9316   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9317     shlibpath_overrides_runpath=no
   9318     hardcode_into_libs=yes
   9319     ;;
   9320   *) # from 4.6 on, and DragonFly
   9321     shlibpath_overrides_runpath=yes
   9322     hardcode_into_libs=yes
   9323     ;;
   9324   esac
   9325   ;;
   9326 
   9327 gnu*)
   9328   version_type=linux
   9329   need_lib_prefix=no
   9330   need_version=no
   9331   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9332   soname_spec='${libname}${release}${shared_ext}$major'
   9333   shlibpath_var=LD_LIBRARY_PATH
   9334   hardcode_into_libs=yes
   9335   ;;
   9336 
   9337 hpux9* | hpux10* | hpux11*)
   9338   # Give a soname corresponding to the major version so that dld.sl refuses to
   9339   # link against other versions.
   9340   version_type=sunos
   9341   need_lib_prefix=no
   9342   need_version=no
   9343   case $host_cpu in
   9344   ia64*)
   9345     shrext_cmds='.so'
   9346     hardcode_into_libs=yes
   9347     dynamic_linker="$host_os dld.so"
   9348     shlibpath_var=LD_LIBRARY_PATH
   9349     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9350     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9351     soname_spec='${libname}${release}${shared_ext}$major'
   9352     if test "X$HPUX_IA64_MODE" = X32; then
   9353       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9354     else
   9355       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9356     fi
   9357     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9358     ;;
   9359    hppa*64*)
   9360      shrext_cmds='.sl'
   9361      hardcode_into_libs=yes
   9362      dynamic_linker="$host_os dld.sl"
   9363      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9364      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9365      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9366      soname_spec='${libname}${release}${shared_ext}$major'
   9367      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9368      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9369      ;;
   9370    *)
   9371     shrext_cmds='.sl'
   9372     dynamic_linker="$host_os dld.sl"
   9373     shlibpath_var=SHLIB_PATH
   9374     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9375     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9376     soname_spec='${libname}${release}${shared_ext}$major'
   9377     ;;
   9378   esac
   9379   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9380   postinstall_cmds='chmod 555 $lib'
   9381   ;;
   9382 
   9383 interix[3-9]*)
   9384   version_type=linux
   9385   need_lib_prefix=no
   9386   need_version=no
   9387   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9388   soname_spec='${libname}${release}${shared_ext}$major'
   9389   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9390   shlibpath_var=LD_LIBRARY_PATH
   9391   shlibpath_overrides_runpath=no
   9392   hardcode_into_libs=yes
   9393   ;;
   9394 
   9395 irix5* | irix6* | nonstopux*)
   9396   case $host_os in
   9397     nonstopux*) version_type=nonstopux ;;
   9398     *)
   9399 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9400 		version_type=linux
   9401 	else
   9402 		version_type=irix
   9403 	fi ;;
   9404   esac
   9405   need_lib_prefix=no
   9406   need_version=no
   9407   soname_spec='${libname}${release}${shared_ext}$major'
   9408   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9409   case $host_os in
   9410   irix5* | nonstopux*)
   9411     libsuff= shlibsuff=
   9412     ;;
   9413   *)
   9414     case $LD in # libtool.m4 will add one of these switches to LD
   9415     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9416       libsuff= shlibsuff= libmagic=32-bit;;
   9417     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9418       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9419     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9420       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9421     *) libsuff= shlibsuff= libmagic=never-match;;
   9422     esac
   9423     ;;
   9424   esac
   9425   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9426   shlibpath_overrides_runpath=no
   9427   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9428   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9429   hardcode_into_libs=yes
   9430   ;;
   9431 
   9432 # No shared lib support for Linux oldld, aout, or coff.
   9433 linux*oldld* | linux*aout* | linux*coff*)
   9434   dynamic_linker=no
   9435   ;;
   9436 
   9437 # This must be Linux ELF.
   9438 linux* | k*bsd*-gnu)
   9439   version_type=linux
   9440   need_lib_prefix=no
   9441   need_version=no
   9442   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9443   soname_spec='${libname}${release}${shared_ext}$major'
   9444   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9445   shlibpath_var=LD_LIBRARY_PATH
   9446   shlibpath_overrides_runpath=no
   9447   # This implies no fast_install, which is unacceptable.
   9448   # Some rework will be needed to allow for fast_install
   9449   # before this can be enabled.
   9450   hardcode_into_libs=yes
   9451 
   9452   # find out which ABI we are using
   9453   libsuff=
   9454   case "$host_cpu" in
   9455   x86_64*|s390x*|powerpc64*)
   9456     echo '#line 9456 "configure"' > conftest.$ac_ext
   9457     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9458   (eval $ac_compile) 2>&5
   9459   ac_status=$?
   9460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9461   (exit $ac_status); }; then
   9462       case `/usr/bin/file conftest.$ac_objext` in
   9463       *64-bit*)
   9464         libsuff=64
   9465         ;;
   9466       esac
   9467     fi
   9468     rm -rf conftest*
   9469     ;;
   9470   esac
   9471 
   9472   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
   9473 
   9474   # Append ld.so.conf contents to the search path
   9475   if test -f /etc/ld.so.conf; then
   9476     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9477     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   9478   fi
   9479 
   9480   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9481   # powerpc, because MkLinux only supported shared libraries with the
   9482   # GNU dynamic linker.  Since this was broken with cross compilers,
   9483   # most powerpc-linux boxes support dynamic linking these days and
   9484   # people can always --disable-shared, the test was removed, and we
   9485   # assume the GNU/Linux dynamic linker is in use.
   9486   dynamic_linker='GNU/Linux ld.so'
   9487   ;;
   9488 
   9489 netbsd*)
   9490   version_type=sunos
   9491   need_lib_prefix=no
   9492   need_version=no
   9493   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9494     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9495     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9496     dynamic_linker='NetBSD (a.out) ld.so'
   9497   else
   9498     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9499     soname_spec='${libname}${release}${shared_ext}$major'
   9500     dynamic_linker='NetBSD ld.elf_so'
   9501   fi
   9502   shlibpath_var=LD_LIBRARY_PATH
   9503   shlibpath_overrides_runpath=yes
   9504   hardcode_into_libs=yes
   9505   ;;
   9506 
   9507 newsos6)
   9508   version_type=linux
   9509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9510   shlibpath_var=LD_LIBRARY_PATH
   9511   shlibpath_overrides_runpath=yes
   9512   ;;
   9513 
   9514 nto-qnx*)
   9515   version_type=linux
   9516   need_lib_prefix=no
   9517   need_version=no
   9518   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9519   soname_spec='${libname}${release}${shared_ext}$major'
   9520   shlibpath_var=LD_LIBRARY_PATH
   9521   shlibpath_overrides_runpath=yes
   9522   ;;
   9523 
   9524 openbsd*)
   9525   version_type=sunos
   9526   sys_lib_dlsearch_path_spec="/usr/lib"
   9527   need_lib_prefix=no
   9528   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9529   case $host_os in
   9530     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9531     *)                         need_version=no  ;;
   9532   esac
   9533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9534   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9535   shlibpath_var=LD_LIBRARY_PATH
   9536   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9537     case $host_os in
   9538       openbsd2.[89] | openbsd2.[89].*)
   9539 	shlibpath_overrides_runpath=no
   9540 	;;
   9541       *)
   9542 	shlibpath_overrides_runpath=yes
   9543 	;;
   9544       esac
   9545   else
   9546     shlibpath_overrides_runpath=yes
   9547   fi
   9548   ;;
   9549 
   9550 os2*)
   9551   libname_spec='$name'
   9552   shrext_cmds=".dll"
   9553   need_lib_prefix=no
   9554   library_names_spec='$libname${shared_ext} $libname.a'
   9555   dynamic_linker='OS/2 ld.exe'
   9556   shlibpath_var=LIBPATH
   9557   ;;
   9558 
   9559 osf3* | osf4* | osf5*)
   9560   version_type=osf
   9561   need_lib_prefix=no
   9562   need_version=no
   9563   soname_spec='${libname}${release}${shared_ext}$major'
   9564   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9565   shlibpath_var=LD_LIBRARY_PATH
   9566   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9567   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9568   ;;
   9569 
   9570 rdos*)
   9571   dynamic_linker=no
   9572   ;;
   9573 
   9574 solaris*)
   9575   version_type=linux
   9576   need_lib_prefix=no
   9577   need_version=no
   9578   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9579   soname_spec='${libname}${release}${shared_ext}$major'
   9580   shlibpath_var=LD_LIBRARY_PATH
   9581   shlibpath_overrides_runpath=yes
   9582   hardcode_into_libs=yes
   9583   # ldd complains unless libraries are executable
   9584   postinstall_cmds='chmod +x $lib'
   9585   ;;
   9586 
   9587 sunos4*)
   9588   version_type=sunos
   9589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9590   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9591   shlibpath_var=LD_LIBRARY_PATH
   9592   shlibpath_overrides_runpath=yes
   9593   if test "$with_gnu_ld" = yes; then
   9594     need_lib_prefix=no
   9595   fi
   9596   need_version=yes
   9597   ;;
   9598 
   9599 sysv4 | sysv4.3*)
   9600   version_type=linux
   9601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9602   soname_spec='${libname}${release}${shared_ext}$major'
   9603   shlibpath_var=LD_LIBRARY_PATH
   9604   case $host_vendor in
   9605     sni)
   9606       shlibpath_overrides_runpath=no
   9607       need_lib_prefix=no
   9608       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9609       runpath_var=LD_RUN_PATH
   9610       ;;
   9611     siemens)
   9612       need_lib_prefix=no
   9613       ;;
   9614     motorola)
   9615       need_lib_prefix=no
   9616       need_version=no
   9617       shlibpath_overrides_runpath=no
   9618       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9619       ;;
   9620   esac
   9621   ;;
   9622 
   9623 sysv4*MP*)
   9624   if test -d /usr/nec ;then
   9625     version_type=linux
   9626     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9627     soname_spec='$libname${shared_ext}.$major'
   9628     shlibpath_var=LD_LIBRARY_PATH
   9629   fi
   9630   ;;
   9631 
   9632 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9633   version_type=freebsd-elf
   9634   need_lib_prefix=no
   9635   need_version=no
   9636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9637   soname_spec='${libname}${release}${shared_ext}$major'
   9638   shlibpath_var=LD_LIBRARY_PATH
   9639   hardcode_into_libs=yes
   9640   if test "$with_gnu_ld" = yes; then
   9641     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9642     shlibpath_overrides_runpath=no
   9643   else
   9644     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9645     shlibpath_overrides_runpath=yes
   9646     case $host_os in
   9647       sco3.2v5*)
   9648         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9649 	;;
   9650     esac
   9651   fi
   9652   sys_lib_dlsearch_path_spec='/usr/lib'
   9653   ;;
   9654 
   9655 uts4*)
   9656   version_type=linux
   9657   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9658   soname_spec='${libname}${release}${shared_ext}$major'
   9659   shlibpath_var=LD_LIBRARY_PATH
   9660   ;;
   9661 
   9662 *)
   9663   dynamic_linker=no
   9664   ;;
   9665 esac
   9666 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9667 $as_echo "$dynamic_linker" >&6; }
   9668 test "$dynamic_linker" = no && can_build_shared=no
   9669 
   9670 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9671   $as_echo_n "(cached) " >&6
   9672 else
   9673   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9674 fi
   9675 
   9676 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9677 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9678   $as_echo_n "(cached) " >&6
   9679 else
   9680   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9681 fi
   9682 
   9683 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9684 
   9685 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9686 if test "$GCC" = yes; then
   9687   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9688 fi
   9689 
   9690 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9691 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9692 hardcode_action=
   9693 if test -n "$hardcode_libdir_flag_spec" || \
   9694    test -n "$runpath_var" || \
   9695    test "X$hardcode_automatic" = "Xyes" ; then
   9696 
   9697   # We can hardcode non-existant directories.
   9698   if test "$hardcode_direct" != no &&
   9699      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9700      # have to relink, otherwise we might link with an installed library
   9701      # when we should be linking with a yet-to-be-installed one
   9702      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9703      test "$hardcode_minus_L" != no; then
   9704     # Linking always hardcodes the temporary library directory.
   9705     hardcode_action=relink
   9706   else
   9707     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9708     hardcode_action=immediate
   9709   fi
   9710 else
   9711   # We cannot hardcode anything, or else we can only hardcode existing
   9712   # directories.
   9713   hardcode_action=unsupported
   9714 fi
   9715 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9716 $as_echo "$hardcode_action" >&6; }
   9717 
   9718 if test "$hardcode_action" = relink; then
   9719   # Fast installation is not supported
   9720   enable_fast_install=no
   9721 elif test "$shlibpath_overrides_runpath" = yes ||
   9722      test "$enable_shared" = no; then
   9723   # Fast installation is not necessary
   9724   enable_fast_install=needless
   9725 fi
   9726 
   9727 striplib=
   9728 old_striplib=
   9729 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9730 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9731 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9732   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9733   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9734   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9735 $as_echo "yes" >&6; }
   9736 else
   9737 # FIXME - insert some real tests, host_os isn't really good enough
   9738   case $host_os in
   9739    darwin*)
   9740        if test -n "$STRIP" ; then
   9741          striplib="$STRIP -x"
   9742          old_striplib="$STRIP -S"
   9743          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9744 $as_echo "yes" >&6; }
   9745        else
   9746   { $as_echo "$as_me:$LINENO: result: no" >&5
   9747 $as_echo "no" >&6; }
   9748 fi
   9749        ;;
   9750    *)
   9751   { $as_echo "$as_me:$LINENO: result: no" >&5
   9752 $as_echo "no" >&6; }
   9753     ;;
   9754   esac
   9755 fi
   9756 
   9757 if test "x$enable_dlopen" != xyes; then
   9758   enable_dlopen=unknown
   9759   enable_dlopen_self=unknown
   9760   enable_dlopen_self_static=unknown
   9761 else
   9762   lt_cv_dlopen=no
   9763   lt_cv_dlopen_libs=
   9764 
   9765   case $host_os in
   9766   beos*)
   9767     lt_cv_dlopen="load_add_on"
   9768     lt_cv_dlopen_libs=
   9769     lt_cv_dlopen_self=yes
   9770     ;;
   9771 
   9772   mingw* | pw32*)
   9773     lt_cv_dlopen="LoadLibrary"
   9774     lt_cv_dlopen_libs=
   9775    ;;
   9776 
   9777   cygwin*)
   9778     lt_cv_dlopen="dlopen"
   9779     lt_cv_dlopen_libs=
   9780    ;;
   9781 
   9782   darwin*)
   9783   # if libdl is installed we need to link against it
   9784     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9785 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9786 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9787   $as_echo_n "(cached) " >&6
   9788 else
   9789   ac_check_lib_save_LIBS=$LIBS
   9790 LIBS="-ldl  $LIBS"
   9791 cat >conftest.$ac_ext <<_ACEOF
   9792 /* confdefs.h.  */
   9793 _ACEOF
   9794 cat confdefs.h >>conftest.$ac_ext
   9795 cat >>conftest.$ac_ext <<_ACEOF
   9796 /* end confdefs.h.  */
   9797 
   9798 /* Override any GCC internal prototype to avoid an error.
   9799    Use char because int might match the return type of a GCC
   9800    builtin and then its argument prototype would still apply.  */
   9801 #ifdef __cplusplus
   9802 extern "C"
   9803 #endif
   9804 char dlopen ();
   9805 int
   9806 main ()
   9807 {
   9808 return dlopen ();
   9809   ;
   9810   return 0;
   9811 }
   9812 _ACEOF
   9813 rm -f conftest.$ac_objext conftest$ac_exeext
   9814 if { (ac_try="$ac_link"
   9815 case "(($ac_try" in
   9816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9817   *) ac_try_echo=$ac_try;;
   9818 esac
   9819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9820 $as_echo "$ac_try_echo") >&5
   9821   (eval "$ac_link") 2>conftest.er1
   9822   ac_status=$?
   9823   grep -v '^ *+' conftest.er1 >conftest.err
   9824   rm -f conftest.er1
   9825   cat conftest.err >&5
   9826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9827   (exit $ac_status); } && {
   9828 	 test -z "$ac_c_werror_flag" ||
   9829 	 test ! -s conftest.err
   9830        } && test -s conftest$ac_exeext && {
   9831 	 test "$cross_compiling" = yes ||
   9832 	 $as_test_x conftest$ac_exeext
   9833        }; then
   9834   ac_cv_lib_dl_dlopen=yes
   9835 else
   9836   $as_echo "$as_me: failed program was:" >&5
   9837 sed 's/^/| /' conftest.$ac_ext >&5
   9838 
   9839 	ac_cv_lib_dl_dlopen=no
   9840 fi
   9841 
   9842 rm -rf conftest.dSYM
   9843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9844       conftest$ac_exeext conftest.$ac_ext
   9845 LIBS=$ac_check_lib_save_LIBS
   9846 fi
   9847 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9848 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9849 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9850   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9851 else
   9852 
   9853     lt_cv_dlopen="dyld"
   9854     lt_cv_dlopen_libs=
   9855     lt_cv_dlopen_self=yes
   9856 
   9857 fi
   9858 
   9859    ;;
   9860 
   9861   *)
   9862     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9863 $as_echo_n "checking for shl_load... " >&6; }
   9864 if test "${ac_cv_func_shl_load+set}" = set; then
   9865   $as_echo_n "(cached) " >&6
   9866 else
   9867   cat >conftest.$ac_ext <<_ACEOF
   9868 /* confdefs.h.  */
   9869 _ACEOF
   9870 cat confdefs.h >>conftest.$ac_ext
   9871 cat >>conftest.$ac_ext <<_ACEOF
   9872 /* end confdefs.h.  */
   9873 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9875 #define shl_load innocuous_shl_load
   9876 
   9877 /* System header to define __stub macros and hopefully few prototypes,
   9878     which can conflict with char shl_load (); below.
   9879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9880     <limits.h> exists even on freestanding compilers.  */
   9881 
   9882 #ifdef __STDC__
   9883 # include <limits.h>
   9884 #else
   9885 # include <assert.h>
   9886 #endif
   9887 
   9888 #undef shl_load
   9889 
   9890 /* Override any GCC internal prototype to avoid an error.
   9891    Use char because int might match the return type of a GCC
   9892    builtin and then its argument prototype would still apply.  */
   9893 #ifdef __cplusplus
   9894 extern "C"
   9895 #endif
   9896 char shl_load ();
   9897 /* The GNU C library defines this for functions which it implements
   9898     to always fail with ENOSYS.  Some functions are actually named
   9899     something starting with __ and the normal name is an alias.  */
   9900 #if defined __stub_shl_load || defined __stub___shl_load
   9901 choke me
   9902 #endif
   9903 
   9904 int
   9905 main ()
   9906 {
   9907 return shl_load ();
   9908   ;
   9909   return 0;
   9910 }
   9911 _ACEOF
   9912 rm -f conftest.$ac_objext conftest$ac_exeext
   9913 if { (ac_try="$ac_link"
   9914 case "(($ac_try" in
   9915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9916   *) ac_try_echo=$ac_try;;
   9917 esac
   9918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9919 $as_echo "$ac_try_echo") >&5
   9920   (eval "$ac_link") 2>conftest.er1
   9921   ac_status=$?
   9922   grep -v '^ *+' conftest.er1 >conftest.err
   9923   rm -f conftest.er1
   9924   cat conftest.err >&5
   9925   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9926   (exit $ac_status); } && {
   9927 	 test -z "$ac_c_werror_flag" ||
   9928 	 test ! -s conftest.err
   9929        } && test -s conftest$ac_exeext && {
   9930 	 test "$cross_compiling" = yes ||
   9931 	 $as_test_x conftest$ac_exeext
   9932        }; then
   9933   ac_cv_func_shl_load=yes
   9934 else
   9935   $as_echo "$as_me: failed program was:" >&5
   9936 sed 's/^/| /' conftest.$ac_ext >&5
   9937 
   9938 	ac_cv_func_shl_load=no
   9939 fi
   9940 
   9941 rm -rf conftest.dSYM
   9942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9943       conftest$ac_exeext conftest.$ac_ext
   9944 fi
   9945 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   9946 $as_echo "$ac_cv_func_shl_load" >&6; }
   9947 if test "x$ac_cv_func_shl_load" = x""yes; then
   9948   lt_cv_dlopen="shl_load"
   9949 else
   9950   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   9951 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   9952 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   9953   $as_echo_n "(cached) " >&6
   9954 else
   9955   ac_check_lib_save_LIBS=$LIBS
   9956 LIBS="-ldld  $LIBS"
   9957 cat >conftest.$ac_ext <<_ACEOF
   9958 /* confdefs.h.  */
   9959 _ACEOF
   9960 cat confdefs.h >>conftest.$ac_ext
   9961 cat >>conftest.$ac_ext <<_ACEOF
   9962 /* end confdefs.h.  */
   9963 
   9964 /* Override any GCC internal prototype to avoid an error.
   9965    Use char because int might match the return type of a GCC
   9966    builtin and then its argument prototype would still apply.  */
   9967 #ifdef __cplusplus
   9968 extern "C"
   9969 #endif
   9970 char shl_load ();
   9971 int
   9972 main ()
   9973 {
   9974 return shl_load ();
   9975   ;
   9976   return 0;
   9977 }
   9978 _ACEOF
   9979 rm -f conftest.$ac_objext conftest$ac_exeext
   9980 if { (ac_try="$ac_link"
   9981 case "(($ac_try" in
   9982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9983   *) ac_try_echo=$ac_try;;
   9984 esac
   9985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9986 $as_echo "$ac_try_echo") >&5
   9987   (eval "$ac_link") 2>conftest.er1
   9988   ac_status=$?
   9989   grep -v '^ *+' conftest.er1 >conftest.err
   9990   rm -f conftest.er1
   9991   cat conftest.err >&5
   9992   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9993   (exit $ac_status); } && {
   9994 	 test -z "$ac_c_werror_flag" ||
   9995 	 test ! -s conftest.err
   9996        } && test -s conftest$ac_exeext && {
   9997 	 test "$cross_compiling" = yes ||
   9998 	 $as_test_x conftest$ac_exeext
   9999        }; then
   10000   ac_cv_lib_dld_shl_load=yes
   10001 else
   10002   $as_echo "$as_me: failed program was:" >&5
   10003 sed 's/^/| /' conftest.$ac_ext >&5
   10004 
   10005 	ac_cv_lib_dld_shl_load=no
   10006 fi
   10007 
   10008 rm -rf conftest.dSYM
   10009 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10010       conftest$ac_exeext conftest.$ac_ext
   10011 LIBS=$ac_check_lib_save_LIBS
   10012 fi
   10013 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10014 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10015 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10016   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10017 else
   10018   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10019 $as_echo_n "checking for dlopen... " >&6; }
   10020 if test "${ac_cv_func_dlopen+set}" = set; then
   10021   $as_echo_n "(cached) " >&6
   10022 else
   10023   cat >conftest.$ac_ext <<_ACEOF
   10024 /* confdefs.h.  */
   10025 _ACEOF
   10026 cat confdefs.h >>conftest.$ac_ext
   10027 cat >>conftest.$ac_ext <<_ACEOF
   10028 /* end confdefs.h.  */
   10029 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10030    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10031 #define dlopen innocuous_dlopen
   10032 
   10033 /* System header to define __stub macros and hopefully few prototypes,
   10034     which can conflict with char dlopen (); below.
   10035     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10036     <limits.h> exists even on freestanding compilers.  */
   10037 
   10038 #ifdef __STDC__
   10039 # include <limits.h>
   10040 #else
   10041 # include <assert.h>
   10042 #endif
   10043 
   10044 #undef dlopen
   10045 
   10046 /* Override any GCC internal prototype to avoid an error.
   10047    Use char because int might match the return type of a GCC
   10048    builtin and then its argument prototype would still apply.  */
   10049 #ifdef __cplusplus
   10050 extern "C"
   10051 #endif
   10052 char dlopen ();
   10053 /* The GNU C library defines this for functions which it implements
   10054     to always fail with ENOSYS.  Some functions are actually named
   10055     something starting with __ and the normal name is an alias.  */
   10056 #if defined __stub_dlopen || defined __stub___dlopen
   10057 choke me
   10058 #endif
   10059 
   10060 int
   10061 main ()
   10062 {
   10063 return dlopen ();
   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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10075 $as_echo "$ac_try_echo") >&5
   10076   (eval "$ac_link") 2>conftest.er1
   10077   ac_status=$?
   10078   grep -v '^ *+' conftest.er1 >conftest.err
   10079   rm -f conftest.er1
   10080   cat conftest.err >&5
   10081   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10082   (exit $ac_status); } && {
   10083 	 test -z "$ac_c_werror_flag" ||
   10084 	 test ! -s conftest.err
   10085        } && test -s conftest$ac_exeext && {
   10086 	 test "$cross_compiling" = yes ||
   10087 	 $as_test_x conftest$ac_exeext
   10088        }; then
   10089   ac_cv_func_dlopen=yes
   10090 else
   10091   $as_echo "$as_me: failed program was:" >&5
   10092 sed 's/^/| /' conftest.$ac_ext >&5
   10093 
   10094 	ac_cv_func_dlopen=no
   10095 fi
   10096 
   10097 rm -rf conftest.dSYM
   10098 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10099       conftest$ac_exeext conftest.$ac_ext
   10100 fi
   10101 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10102 $as_echo "$ac_cv_func_dlopen" >&6; }
   10103 if test "x$ac_cv_func_dlopen" = x""yes; then
   10104   lt_cv_dlopen="dlopen"
   10105 else
   10106   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10107 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10108 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10109   $as_echo_n "(cached) " >&6
   10110 else
   10111   ac_check_lib_save_LIBS=$LIBS
   10112 LIBS="-ldl  $LIBS"
   10113 cat >conftest.$ac_ext <<_ACEOF
   10114 /* confdefs.h.  */
   10115 _ACEOF
   10116 cat confdefs.h >>conftest.$ac_ext
   10117 cat >>conftest.$ac_ext <<_ACEOF
   10118 /* end confdefs.h.  */
   10119 
   10120 /* Override any GCC internal prototype to avoid an error.
   10121    Use char because int might match the return type of a GCC
   10122    builtin and then its argument prototype would still apply.  */
   10123 #ifdef __cplusplus
   10124 extern "C"
   10125 #endif
   10126 char dlopen ();
   10127 int
   10128 main ()
   10129 {
   10130 return dlopen ();
   10131   ;
   10132   return 0;
   10133 }
   10134 _ACEOF
   10135 rm -f conftest.$ac_objext conftest$ac_exeext
   10136 if { (ac_try="$ac_link"
   10137 case "(($ac_try" in
   10138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10139   *) ac_try_echo=$ac_try;;
   10140 esac
   10141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10142 $as_echo "$ac_try_echo") >&5
   10143   (eval "$ac_link") 2>conftest.er1
   10144   ac_status=$?
   10145   grep -v '^ *+' conftest.er1 >conftest.err
   10146   rm -f conftest.er1
   10147   cat conftest.err >&5
   10148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10149   (exit $ac_status); } && {
   10150 	 test -z "$ac_c_werror_flag" ||
   10151 	 test ! -s conftest.err
   10152        } && test -s conftest$ac_exeext && {
   10153 	 test "$cross_compiling" = yes ||
   10154 	 $as_test_x conftest$ac_exeext
   10155        }; then
   10156   ac_cv_lib_dl_dlopen=yes
   10157 else
   10158   $as_echo "$as_me: failed program was:" >&5
   10159 sed 's/^/| /' conftest.$ac_ext >&5
   10160 
   10161 	ac_cv_lib_dl_dlopen=no
   10162 fi
   10163 
   10164 rm -rf conftest.dSYM
   10165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10166       conftest$ac_exeext conftest.$ac_ext
   10167 LIBS=$ac_check_lib_save_LIBS
   10168 fi
   10169 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10170 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10171 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10172   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10173 else
   10174   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10175 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10176 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10177   $as_echo_n "(cached) " >&6
   10178 else
   10179   ac_check_lib_save_LIBS=$LIBS
   10180 LIBS="-lsvld  $LIBS"
   10181 cat >conftest.$ac_ext <<_ACEOF
   10182 /* confdefs.h.  */
   10183 _ACEOF
   10184 cat confdefs.h >>conftest.$ac_ext
   10185 cat >>conftest.$ac_ext <<_ACEOF
   10186 /* end confdefs.h.  */
   10187 
   10188 /* Override any GCC internal prototype to avoid an error.
   10189    Use char because int might match the return type of a GCC
   10190    builtin and then its argument prototype would still apply.  */
   10191 #ifdef __cplusplus
   10192 extern "C"
   10193 #endif
   10194 char dlopen ();
   10195 int
   10196 main ()
   10197 {
   10198 return dlopen ();
   10199   ;
   10200   return 0;
   10201 }
   10202 _ACEOF
   10203 rm -f conftest.$ac_objext conftest$ac_exeext
   10204 if { (ac_try="$ac_link"
   10205 case "(($ac_try" in
   10206   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10207   *) ac_try_echo=$ac_try;;
   10208 esac
   10209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10210 $as_echo "$ac_try_echo") >&5
   10211   (eval "$ac_link") 2>conftest.er1
   10212   ac_status=$?
   10213   grep -v '^ *+' conftest.er1 >conftest.err
   10214   rm -f conftest.er1
   10215   cat conftest.err >&5
   10216   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10217   (exit $ac_status); } && {
   10218 	 test -z "$ac_c_werror_flag" ||
   10219 	 test ! -s conftest.err
   10220        } && test -s conftest$ac_exeext && {
   10221 	 test "$cross_compiling" = yes ||
   10222 	 $as_test_x conftest$ac_exeext
   10223        }; then
   10224   ac_cv_lib_svld_dlopen=yes
   10225 else
   10226   $as_echo "$as_me: failed program was:" >&5
   10227 sed 's/^/| /' conftest.$ac_ext >&5
   10228 
   10229 	ac_cv_lib_svld_dlopen=no
   10230 fi
   10231 
   10232 rm -rf conftest.dSYM
   10233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10234       conftest$ac_exeext conftest.$ac_ext
   10235 LIBS=$ac_check_lib_save_LIBS
   10236 fi
   10237 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10238 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10239 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10240   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10241 else
   10242   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10243 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10244 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10245   $as_echo_n "(cached) " >&6
   10246 else
   10247   ac_check_lib_save_LIBS=$LIBS
   10248 LIBS="-ldld  $LIBS"
   10249 cat >conftest.$ac_ext <<_ACEOF
   10250 /* confdefs.h.  */
   10251 _ACEOF
   10252 cat confdefs.h >>conftest.$ac_ext
   10253 cat >>conftest.$ac_ext <<_ACEOF
   10254 /* end confdefs.h.  */
   10255 
   10256 /* Override any GCC internal prototype to avoid an error.
   10257    Use char because int might match the return type of a GCC
   10258    builtin and then its argument prototype would still apply.  */
   10259 #ifdef __cplusplus
   10260 extern "C"
   10261 #endif
   10262 char dld_link ();
   10263 int
   10264 main ()
   10265 {
   10266 return dld_link ();
   10267   ;
   10268   return 0;
   10269 }
   10270 _ACEOF
   10271 rm -f conftest.$ac_objext conftest$ac_exeext
   10272 if { (ac_try="$ac_link"
   10273 case "(($ac_try" in
   10274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10275   *) ac_try_echo=$ac_try;;
   10276 esac
   10277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10278 $as_echo "$ac_try_echo") >&5
   10279   (eval "$ac_link") 2>conftest.er1
   10280   ac_status=$?
   10281   grep -v '^ *+' conftest.er1 >conftest.err
   10282   rm -f conftest.er1
   10283   cat conftest.err >&5
   10284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10285   (exit $ac_status); } && {
   10286 	 test -z "$ac_c_werror_flag" ||
   10287 	 test ! -s conftest.err
   10288        } && test -s conftest$ac_exeext && {
   10289 	 test "$cross_compiling" = yes ||
   10290 	 $as_test_x conftest$ac_exeext
   10291        }; then
   10292   ac_cv_lib_dld_dld_link=yes
   10293 else
   10294   $as_echo "$as_me: failed program was:" >&5
   10295 sed 's/^/| /' conftest.$ac_ext >&5
   10296 
   10297 	ac_cv_lib_dld_dld_link=no
   10298 fi
   10299 
   10300 rm -rf conftest.dSYM
   10301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10302       conftest$ac_exeext conftest.$ac_ext
   10303 LIBS=$ac_check_lib_save_LIBS
   10304 fi
   10305 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10306 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10307 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10308   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10309 fi
   10310 
   10311 
   10312 fi
   10313 
   10314 
   10315 fi
   10316 
   10317 
   10318 fi
   10319 
   10320 
   10321 fi
   10322 
   10323 
   10324 fi
   10325 
   10326     ;;
   10327   esac
   10328 
   10329   if test "x$lt_cv_dlopen" != xno; then
   10330     enable_dlopen=yes
   10331   else
   10332     enable_dlopen=no
   10333   fi
   10334 
   10335   case $lt_cv_dlopen in
   10336   dlopen)
   10337     save_CPPFLAGS="$CPPFLAGS"
   10338     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10339 
   10340     save_LDFLAGS="$LDFLAGS"
   10341     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10342 
   10343     save_LIBS="$LIBS"
   10344     LIBS="$lt_cv_dlopen_libs $LIBS"
   10345 
   10346     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10347 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10348 if test "${lt_cv_dlopen_self+set}" = set; then
   10349   $as_echo_n "(cached) " >&6
   10350 else
   10351   	  if test "$cross_compiling" = yes; then :
   10352   lt_cv_dlopen_self=cross
   10353 else
   10354   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10355   lt_status=$lt_dlunknown
   10356   cat > conftest.$ac_ext <<EOF
   10357 #line 10357 "configure"
   10358 #include "confdefs.h"
   10359 
   10360 #if HAVE_DLFCN_H
   10361 #include <dlfcn.h>
   10362 #endif
   10363 
   10364 #include <stdio.h>
   10365 
   10366 #ifdef RTLD_GLOBAL
   10367 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10368 #else
   10369 #  ifdef DL_GLOBAL
   10370 #    define LT_DLGLOBAL		DL_GLOBAL
   10371 #  else
   10372 #    define LT_DLGLOBAL		0
   10373 #  endif
   10374 #endif
   10375 
   10376 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10377    find out it does not work in some platform. */
   10378 #ifndef LT_DLLAZY_OR_NOW
   10379 #  ifdef RTLD_LAZY
   10380 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10381 #  else
   10382 #    ifdef DL_LAZY
   10383 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10384 #    else
   10385 #      ifdef RTLD_NOW
   10386 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10387 #      else
   10388 #        ifdef DL_NOW
   10389 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10390 #        else
   10391 #          define LT_DLLAZY_OR_NOW	0
   10392 #        endif
   10393 #      endif
   10394 #    endif
   10395 #  endif
   10396 #endif
   10397 
   10398 #ifdef __cplusplus
   10399 extern "C" void exit (int);
   10400 #endif
   10401 
   10402 void fnord() { int i=42;}
   10403 int main ()
   10404 {
   10405   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10406   int status = $lt_dlunknown;
   10407 
   10408   if (self)
   10409     {
   10410       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10411       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10412       /* dlclose (self); */
   10413     }
   10414   else
   10415     puts (dlerror ());
   10416 
   10417     exit (status);
   10418 }
   10419 EOF
   10420   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10421   (eval $ac_link) 2>&5
   10422   ac_status=$?
   10423   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10424   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10425     (./conftest; exit; ) >&5 2>/dev/null
   10426     lt_status=$?
   10427     case x$lt_status in
   10428       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10429       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10430       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10431     esac
   10432   else :
   10433     # compilation failed
   10434     lt_cv_dlopen_self=no
   10435   fi
   10436 fi
   10437 rm -fr conftest*
   10438 
   10439 
   10440 fi
   10441 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10442 $as_echo "$lt_cv_dlopen_self" >&6; }
   10443 
   10444     if test "x$lt_cv_dlopen_self" = xyes; then
   10445       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10446       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10447 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10448 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10449   $as_echo_n "(cached) " >&6
   10450 else
   10451   	  if test "$cross_compiling" = yes; then :
   10452   lt_cv_dlopen_self_static=cross
   10453 else
   10454   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10455   lt_status=$lt_dlunknown
   10456   cat > conftest.$ac_ext <<EOF
   10457 #line 10457 "configure"
   10458 #include "confdefs.h"
   10459 
   10460 #if HAVE_DLFCN_H
   10461 #include <dlfcn.h>
   10462 #endif
   10463 
   10464 #include <stdio.h>
   10465 
   10466 #ifdef RTLD_GLOBAL
   10467 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10468 #else
   10469 #  ifdef DL_GLOBAL
   10470 #    define LT_DLGLOBAL		DL_GLOBAL
   10471 #  else
   10472 #    define LT_DLGLOBAL		0
   10473 #  endif
   10474 #endif
   10475 
   10476 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10477    find out it does not work in some platform. */
   10478 #ifndef LT_DLLAZY_OR_NOW
   10479 #  ifdef RTLD_LAZY
   10480 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10481 #  else
   10482 #    ifdef DL_LAZY
   10483 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10484 #    else
   10485 #      ifdef RTLD_NOW
   10486 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10487 #      else
   10488 #        ifdef DL_NOW
   10489 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10490 #        else
   10491 #          define LT_DLLAZY_OR_NOW	0
   10492 #        endif
   10493 #      endif
   10494 #    endif
   10495 #  endif
   10496 #endif
   10497 
   10498 #ifdef __cplusplus
   10499 extern "C" void exit (int);
   10500 #endif
   10501 
   10502 void fnord() { int i=42;}
   10503 int main ()
   10504 {
   10505   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10506   int status = $lt_dlunknown;
   10507 
   10508   if (self)
   10509     {
   10510       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10511       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10512       /* dlclose (self); */
   10513     }
   10514   else
   10515     puts (dlerror ());
   10516 
   10517     exit (status);
   10518 }
   10519 EOF
   10520   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10521   (eval $ac_link) 2>&5
   10522   ac_status=$?
   10523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10524   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10525     (./conftest; exit; ) >&5 2>/dev/null
   10526     lt_status=$?
   10527     case x$lt_status in
   10528       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10529       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10530       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10531     esac
   10532   else :
   10533     # compilation failed
   10534     lt_cv_dlopen_self_static=no
   10535   fi
   10536 fi
   10537 rm -fr conftest*
   10538 
   10539 
   10540 fi
   10541 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10542 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10543     fi
   10544 
   10545     CPPFLAGS="$save_CPPFLAGS"
   10546     LDFLAGS="$save_LDFLAGS"
   10547     LIBS="$save_LIBS"
   10548     ;;
   10549   esac
   10550 
   10551   case $lt_cv_dlopen_self in
   10552   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10553   *) enable_dlopen_self=unknown ;;
   10554   esac
   10555 
   10556   case $lt_cv_dlopen_self_static in
   10557   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10558   *) enable_dlopen_self_static=unknown ;;
   10559   esac
   10560 fi
   10561 
   10562 
   10563 # Report which library types will actually be built
   10564 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10565 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10566 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10567 $as_echo "$can_build_shared" >&6; }
   10568 
   10569 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10570 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10571 test "$can_build_shared" = "no" && enable_shared=no
   10572 
   10573 # On AIX, shared libraries and static libraries use the same namespace, and
   10574 # are all built from PIC.
   10575 case $host_os in
   10576 aix3*)
   10577   test "$enable_shared" = yes && enable_static=no
   10578   if test -n "$RANLIB"; then
   10579     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10580     postinstall_cmds='$RANLIB $lib'
   10581   fi
   10582   ;;
   10583 
   10584 aix[4-9]*)
   10585   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10586     test "$enable_shared" = yes && enable_static=no
   10587   fi
   10588     ;;
   10589 esac
   10590 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10591 $as_echo "$enable_shared" >&6; }
   10592 
   10593 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10594 $as_echo_n "checking whether to build static libraries... " >&6; }
   10595 # Make sure either enable_shared or enable_static is yes.
   10596 test "$enable_shared" = yes || enable_static=yes
   10597 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10598 $as_echo "$enable_static" >&6; }
   10599 
   10600 # The else clause should only fire when bootstrapping the
   10601 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10602 # with your package, and you will get complaints that there are
   10603 # no rules to generate ltmain.sh.
   10604 if test -f "$ltmain"; then
   10605   # See if we are running on zsh, and set the options which allow our commands through
   10606   # without removal of \ escapes.
   10607   if test -n "${ZSH_VERSION+set}" ; then
   10608     setopt NO_GLOB_SUBST
   10609   fi
   10610   # Now quote all the things that may contain metacharacters while being
   10611   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10612   # variables and quote the copies for generation of the libtool script.
   10613   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10614     SED SHELL STRIP \
   10615     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10616     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10617     deplibs_check_method reload_flag reload_cmds need_locks \
   10618     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10619     lt_cv_sys_global_symbol_to_c_name_address \
   10620     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10621     old_postinstall_cmds old_postuninstall_cmds \
   10622     compiler \
   10623     CC \
   10624     LD \
   10625     lt_prog_compiler_wl \
   10626     lt_prog_compiler_pic \
   10627     lt_prog_compiler_static \
   10628     lt_prog_compiler_no_builtin_flag \
   10629     export_dynamic_flag_spec \
   10630     thread_safe_flag_spec \
   10631     whole_archive_flag_spec \
   10632     enable_shared_with_static_runtimes \
   10633     old_archive_cmds \
   10634     old_archive_from_new_cmds \
   10635     predep_objects \
   10636     postdep_objects \
   10637     predeps \
   10638     postdeps \
   10639     compiler_lib_search_path \
   10640     compiler_lib_search_dirs \
   10641     archive_cmds \
   10642     archive_expsym_cmds \
   10643     postinstall_cmds \
   10644     postuninstall_cmds \
   10645     old_archive_from_expsyms_cmds \
   10646     allow_undefined_flag \
   10647     no_undefined_flag \
   10648     export_symbols_cmds \
   10649     hardcode_libdir_flag_spec \
   10650     hardcode_libdir_flag_spec_ld \
   10651     hardcode_libdir_separator \
   10652     hardcode_automatic \
   10653     module_cmds \
   10654     module_expsym_cmds \
   10655     lt_cv_prog_compiler_c_o \
   10656     fix_srcfile_path \
   10657     exclude_expsyms \
   10658     include_expsyms; do
   10659 
   10660     case $var in
   10661     old_archive_cmds | \
   10662     old_archive_from_new_cmds | \
   10663     archive_cmds | \
   10664     archive_expsym_cmds | \
   10665     module_cmds | \
   10666     module_expsym_cmds | \
   10667     old_archive_from_expsyms_cmds | \
   10668     export_symbols_cmds | \
   10669     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10670     postinstall_cmds | postuninstall_cmds | \
   10671     old_postinstall_cmds | old_postuninstall_cmds | \
   10672     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10673       # Double-quote double-evaled strings.
   10674       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10675       ;;
   10676     *)
   10677       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10678       ;;
   10679     esac
   10680   done
   10681 
   10682   case $lt_echo in
   10683   *'\$0 --fallback-echo"')
   10684     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10685     ;;
   10686   esac
   10687 
   10688 cfgfile="${ofile}T"
   10689   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10690   $rm -f "$cfgfile"
   10691   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10692 $as_echo "$as_me: creating $ofile" >&6;}
   10693 
   10694   cat <<__EOF__ >> "$cfgfile"
   10695 #! $SHELL
   10696 
   10697 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10698 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10699 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10700 #
   10701 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10702 # Free Software Foundation, Inc.
   10703 #
   10704 # This file is part of GNU Libtool:
   10705 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10706 #
   10707 # This program is free software; you can redistribute it and/or modify
   10708 # it under the terms of the GNU General Public License as published by
   10709 # the Free Software Foundation; either version 2 of the License, or
   10710 # (at your option) any later version.
   10711 #
   10712 # This program is distributed in the hope that it will be useful, but
   10713 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10714 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10715 # General Public License for more details.
   10716 #
   10717 # You should have received a copy of the GNU General Public License
   10718 # along with this program; if not, write to the Free Software
   10719 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10720 #
   10721 # As a special exception to the GNU General Public License, if you
   10722 # distribute this file as part of a program that contains a
   10723 # configuration script generated by Autoconf, you may include it under
   10724 # the same distribution terms that you use for the rest of that program.
   10725 
   10726 # A sed program that does not truncate output.
   10727 SED=$lt_SED
   10728 
   10729 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10730 Xsed="$SED -e 1s/^X//"
   10731 
   10732 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10733 # if CDPATH is set.
   10734 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10735 
   10736 # The names of the tagged configurations supported by this script.
   10737 available_tags=
   10738 
   10739 # ### BEGIN LIBTOOL CONFIG
   10740 
   10741 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10742 
   10743 # Shell to use when invoking shell scripts.
   10744 SHELL=$lt_SHELL
   10745 
   10746 # Whether or not to build shared libraries.
   10747 build_libtool_libs=$enable_shared
   10748 
   10749 # Whether or not to build static libraries.
   10750 build_old_libs=$enable_static
   10751 
   10752 # Whether or not to add -lc for building shared libraries.
   10753 build_libtool_need_lc=$archive_cmds_need_lc
   10754 
   10755 # Whether or not to disallow shared libs when runtime libs are static
   10756 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10757 
   10758 # Whether or not to optimize for fast installation.
   10759 fast_install=$enable_fast_install
   10760 
   10761 # The host system.
   10762 host_alias=$host_alias
   10763 host=$host
   10764 host_os=$host_os
   10765 
   10766 # The build system.
   10767 build_alias=$build_alias
   10768 build=$build
   10769 build_os=$build_os
   10770 
   10771 # An echo program that does not interpret backslashes.
   10772 echo=$lt_echo
   10773 
   10774 # The archiver.
   10775 AR=$lt_AR
   10776 AR_FLAGS=$lt_AR_FLAGS
   10777 
   10778 # A C compiler.
   10779 LTCC=$lt_LTCC
   10780 
   10781 # LTCC compiler flags.
   10782 LTCFLAGS=$lt_LTCFLAGS
   10783 
   10784 # A language-specific compiler.
   10785 CC=$lt_compiler
   10786 
   10787 # Is the compiler the GNU C compiler?
   10788 with_gcc=$GCC
   10789 
   10790 # An ERE matcher.
   10791 EGREP=$lt_EGREP
   10792 
   10793 # The linker used to build libraries.
   10794 LD=$lt_LD
   10795 
   10796 # Whether we need hard or soft links.
   10797 LN_S=$lt_LN_S
   10798 
   10799 # A BSD-compatible nm program.
   10800 NM=$lt_NM
   10801 
   10802 # A symbol stripping program
   10803 STRIP=$lt_STRIP
   10804 
   10805 # Used to examine libraries when file_magic_cmd begins "file"
   10806 MAGIC_CMD=$MAGIC_CMD
   10807 
   10808 # Used on cygwin: DLL creation program.
   10809 DLLTOOL="$DLLTOOL"
   10810 
   10811 # Used on cygwin: object dumper.
   10812 OBJDUMP="$OBJDUMP"
   10813 
   10814 # Used on cygwin: assembler.
   10815 AS="$AS"
   10816 
   10817 # The name of the directory that contains temporary libtool files.
   10818 objdir=$objdir
   10819 
   10820 # How to create reloadable object files.
   10821 reload_flag=$lt_reload_flag
   10822 reload_cmds=$lt_reload_cmds
   10823 
   10824 # How to pass a linker flag through the compiler.
   10825 wl=$lt_lt_prog_compiler_wl
   10826 
   10827 # Object file suffix (normally "o").
   10828 objext="$ac_objext"
   10829 
   10830 # Old archive suffix (normally "a").
   10831 libext="$libext"
   10832 
   10833 # Shared library suffix (normally ".so").
   10834 shrext_cmds='$shrext_cmds'
   10835 
   10836 # Executable file suffix (normally "").
   10837 exeext="$exeext"
   10838 
   10839 # Additional compiler flags for building library objects.
   10840 pic_flag=$lt_lt_prog_compiler_pic
   10841 pic_mode=$pic_mode
   10842 
   10843 # What is the maximum length of a command?
   10844 max_cmd_len=$lt_cv_sys_max_cmd_len
   10845 
   10846 # Does compiler simultaneously support -c and -o options?
   10847 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10848 
   10849 # Must we lock files when doing compilation?
   10850 need_locks=$lt_need_locks
   10851 
   10852 # Do we need the lib prefix for modules?
   10853 need_lib_prefix=$need_lib_prefix
   10854 
   10855 # Do we need a version for libraries?
   10856 need_version=$need_version
   10857 
   10858 # Whether dlopen is supported.
   10859 dlopen_support=$enable_dlopen
   10860 
   10861 # Whether dlopen of programs is supported.
   10862 dlopen_self=$enable_dlopen_self
   10863 
   10864 # Whether dlopen of statically linked programs is supported.
   10865 dlopen_self_static=$enable_dlopen_self_static
   10866 
   10867 # Compiler flag to prevent dynamic linking.
   10868 link_static_flag=$lt_lt_prog_compiler_static
   10869 
   10870 # Compiler flag to turn off builtin functions.
   10871 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10872 
   10873 # Compiler flag to allow reflexive dlopens.
   10874 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10875 
   10876 # Compiler flag to generate shared objects directly from archives.
   10877 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10878 
   10879 # Compiler flag to generate thread-safe objects.
   10880 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10881 
   10882 # Library versioning type.
   10883 version_type=$version_type
   10884 
   10885 # Format of library name prefix.
   10886 libname_spec=$lt_libname_spec
   10887 
   10888 # List of archive names.  First name is the real one, the rest are links.
   10889 # The last name is the one that the linker finds with -lNAME.
   10890 library_names_spec=$lt_library_names_spec
   10891 
   10892 # The coded name of the library, if different from the real name.
   10893 soname_spec=$lt_soname_spec
   10894 
   10895 # Commands used to build and install an old-style archive.
   10896 RANLIB=$lt_RANLIB
   10897 old_archive_cmds=$lt_old_archive_cmds
   10898 old_postinstall_cmds=$lt_old_postinstall_cmds
   10899 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10900 
   10901 # Create an old-style archive from a shared archive.
   10902 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10903 
   10904 # Create a temporary old-style archive to link instead of a shared archive.
   10905 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10906 
   10907 # Commands used to build and install a shared archive.
   10908 archive_cmds=$lt_archive_cmds
   10909 archive_expsym_cmds=$lt_archive_expsym_cmds
   10910 postinstall_cmds=$lt_postinstall_cmds
   10911 postuninstall_cmds=$lt_postuninstall_cmds
   10912 
   10913 # Commands used to build a loadable module (assumed same as above if empty)
   10914 module_cmds=$lt_module_cmds
   10915 module_expsym_cmds=$lt_module_expsym_cmds
   10916 
   10917 # Commands to strip libraries.
   10918 old_striplib=$lt_old_striplib
   10919 striplib=$lt_striplib
   10920 
   10921 # Dependencies to place before the objects being linked to create a
   10922 # shared library.
   10923 predep_objects=$lt_predep_objects
   10924 
   10925 # Dependencies to place after the objects being linked to create a
   10926 # shared library.
   10927 postdep_objects=$lt_postdep_objects
   10928 
   10929 # Dependencies to place before the objects being linked to create a
   10930 # shared library.
   10931 predeps=$lt_predeps
   10932 
   10933 # Dependencies to place after the objects being linked to create a
   10934 # shared library.
   10935 postdeps=$lt_postdeps
   10936 
   10937 # The directories searched by this compiler when creating a shared
   10938 # library
   10939 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   10940 
   10941 # The library search path used internally by the compiler when linking
   10942 # a shared library.
   10943 compiler_lib_search_path=$lt_compiler_lib_search_path
   10944 
   10945 # Method to check whether dependent libraries are shared objects.
   10946 deplibs_check_method=$lt_deplibs_check_method
   10947 
   10948 # Command to use when deplibs_check_method == file_magic.
   10949 file_magic_cmd=$lt_file_magic_cmd
   10950 
   10951 # Flag that allows shared libraries with undefined symbols to be built.
   10952 allow_undefined_flag=$lt_allow_undefined_flag
   10953 
   10954 # Flag that forces no undefined symbols.
   10955 no_undefined_flag=$lt_no_undefined_flag
   10956 
   10957 # Commands used to finish a libtool library installation in a directory.
   10958 finish_cmds=$lt_finish_cmds
   10959 
   10960 # Same as above, but a single script fragment to be evaled but not shown.
   10961 finish_eval=$lt_finish_eval
   10962 
   10963 # Take the output of nm and produce a listing of raw symbols and C names.
   10964 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   10965 
   10966 # Transform the output of nm in a proper C declaration
   10967 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   10968 
   10969 # Transform the output of nm in a C name address pair
   10970 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   10971 
   10972 # This is the shared library runtime path variable.
   10973 runpath_var=$runpath_var
   10974 
   10975 # This is the shared library path variable.
   10976 shlibpath_var=$shlibpath_var
   10977 
   10978 # Is shlibpath searched before the hard-coded library search path?
   10979 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   10980 
   10981 # How to hardcode a shared library path into an executable.
   10982 hardcode_action=$hardcode_action
   10983 
   10984 # Whether we should hardcode library paths into libraries.
   10985 hardcode_into_libs=$hardcode_into_libs
   10986 
   10987 # Flag to hardcode \$libdir into a binary during linking.
   10988 # This must work even if \$libdir does not exist.
   10989 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   10990 
   10991 # If ld is used when linking, flag to hardcode \$libdir into
   10992 # a binary during linking. This must work even if \$libdir does
   10993 # not exist.
   10994 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   10995 
   10996 # Whether we need a single -rpath flag with a separated argument.
   10997 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   10998 
   10999 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11000 # resulting binary.
   11001 hardcode_direct=$hardcode_direct
   11002 
   11003 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11004 # resulting binary.
   11005 hardcode_minus_L=$hardcode_minus_L
   11006 
   11007 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11008 # the resulting binary.
   11009 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11010 
   11011 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11012 # and all subsequent libraries and executables linked against it.
   11013 hardcode_automatic=$hardcode_automatic
   11014 
   11015 # Variables whose values should be saved in libtool wrapper scripts and
   11016 # restored at relink time.
   11017 variables_saved_for_relink="$variables_saved_for_relink"
   11018 
   11019 # Whether libtool must link a program against all its dependency libraries.
   11020 link_all_deplibs=$link_all_deplibs
   11021 
   11022 # Compile-time system search path for libraries
   11023 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11024 
   11025 # Run-time system search path for libraries
   11026 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11027 
   11028 # Fix the shell variable \$srcfile for the compiler.
   11029 fix_srcfile_path=$lt_fix_srcfile_path
   11030 
   11031 # Set to yes if exported symbols are required.
   11032 always_export_symbols=$always_export_symbols
   11033 
   11034 # The commands to list exported symbols.
   11035 export_symbols_cmds=$lt_export_symbols_cmds
   11036 
   11037 # The commands to extract the exported symbol list from a shared archive.
   11038 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11039 
   11040 # Symbols that should not be listed in the preloaded symbols.
   11041 exclude_expsyms=$lt_exclude_expsyms
   11042 
   11043 # Symbols that must always be exported.
   11044 include_expsyms=$lt_include_expsyms
   11045 
   11046 # ### END LIBTOOL CONFIG
   11047 
   11048 __EOF__
   11049 
   11050 
   11051   case $host_os in
   11052   aix3*)
   11053     cat <<\EOF >> "$cfgfile"
   11054 
   11055 # AIX sometimes has problems with the GCC collect2 program.  For some
   11056 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11057 # vanish in a puff of smoke.
   11058 if test "X${COLLECT_NAMES+set}" != Xset; then
   11059   COLLECT_NAMES=
   11060   export COLLECT_NAMES
   11061 fi
   11062 EOF
   11063     ;;
   11064   esac
   11065 
   11066   # We use sed instead of cat because bash on DJGPP gets confused if
   11067   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11068   # text mode, it properly converts lines to CR/LF.  This bash problem
   11069   # is reportedly fixed, but why not run on old versions too?
   11070   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11071 
   11072   mv -f "$cfgfile" "$ofile" || \
   11073     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11074   chmod +x "$ofile"
   11075 
   11076 else
   11077   # If there is no Makefile yet, we rely on a make rule to execute
   11078   # `config.status --recheck' to rerun these tests and create the
   11079   # libtool script then.
   11080   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11081   if test -f "$ltmain_in"; then
   11082     test -f Makefile && make "$ltmain"
   11083   fi
   11084 fi
   11085 
   11086 
   11087 ac_ext=c
   11088 ac_cpp='$CPP $CPPFLAGS'
   11089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11092 
   11093 CC="$lt_save_CC"
   11094 
   11095 
   11096 # Check whether --with-tags was given.
   11097 if test "${with_tags+set}" = set; then
   11098   withval=$with_tags; tagnames="$withval"
   11099 fi
   11100 
   11101 
   11102 if test -f "$ltmain" && test -n "$tagnames"; then
   11103   if test ! -f "${ofile}"; then
   11104     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11105 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11106   fi
   11107 
   11108   if test -z "$LTCC"; then
   11109     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11110     if test -z "$LTCC"; then
   11111       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11112 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11113     else
   11114       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11115 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11116     fi
   11117   fi
   11118   if test -z "$LTCFLAGS"; then
   11119     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11120   fi
   11121 
   11122   # Extract list of available tagged configurations in $ofile.
   11123   # Note that this assumes the entire list is on one line.
   11124   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11125 
   11126   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11127   for tagname in $tagnames; do
   11128     IFS="$lt_save_ifs"
   11129     # Check whether tagname contains only valid characters
   11130     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11131     "") ;;
   11132     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11133 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11134    { (exit 1); exit 1; }; }
   11135 	;;
   11136     esac
   11137 
   11138     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11139     then
   11140       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11141 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11142    { (exit 1); exit 1; }; }
   11143     fi
   11144 
   11145     # Update the list of available tags.
   11146     if test -n "$tagname"; then
   11147       echo appending configuration tag \"$tagname\" to $ofile
   11148 
   11149       case $tagname in
   11150       CXX)
   11151 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11152 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11153 	    (test "X$CXX" != "Xg++"))) ; then
   11154 	  ac_ext=cpp
   11155 ac_cpp='$CXXCPP $CPPFLAGS'
   11156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11159 
   11160 
   11161 
   11162 
   11163 archive_cmds_need_lc_CXX=no
   11164 allow_undefined_flag_CXX=
   11165 always_export_symbols_CXX=no
   11166 archive_expsym_cmds_CXX=
   11167 export_dynamic_flag_spec_CXX=
   11168 hardcode_direct_CXX=no
   11169 hardcode_libdir_flag_spec_CXX=
   11170 hardcode_libdir_flag_spec_ld_CXX=
   11171 hardcode_libdir_separator_CXX=
   11172 hardcode_minus_L_CXX=no
   11173 hardcode_shlibpath_var_CXX=unsupported
   11174 hardcode_automatic_CXX=no
   11175 module_cmds_CXX=
   11176 module_expsym_cmds_CXX=
   11177 link_all_deplibs_CXX=unknown
   11178 old_archive_cmds_CXX=$old_archive_cmds
   11179 no_undefined_flag_CXX=
   11180 whole_archive_flag_spec_CXX=
   11181 enable_shared_with_static_runtimes_CXX=no
   11182 
   11183 # Dependencies to place before and after the object being linked:
   11184 predep_objects_CXX=
   11185 postdep_objects_CXX=
   11186 predeps_CXX=
   11187 postdeps_CXX=
   11188 compiler_lib_search_path_CXX=
   11189 compiler_lib_search_dirs_CXX=
   11190 
   11191 # Source file extension for C++ test sources.
   11192 ac_ext=cpp
   11193 
   11194 # Object file extension for compiled C++ test sources.
   11195 objext=o
   11196 objext_CXX=$objext
   11197 
   11198 # Code to be used in simple compile tests
   11199 lt_simple_compile_test_code="int some_variable = 0;"
   11200 
   11201 # Code to be used in simple link tests
   11202 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11203 
   11204 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11205 
   11206 # If no C compiler was specified, use CC.
   11207 LTCC=${LTCC-"$CC"}
   11208 
   11209 # If no C compiler flags were specified, use CFLAGS.
   11210 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11211 
   11212 # Allow CC to be a program name with arguments.
   11213 compiler=$CC
   11214 
   11215 
   11216 # save warnings/boilerplate of simple test code
   11217 ac_outfile=conftest.$ac_objext
   11218 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11219 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11220 _lt_compiler_boilerplate=`cat conftest.err`
   11221 $rm conftest*
   11222 
   11223 ac_outfile=conftest.$ac_objext
   11224 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11225 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11226 _lt_linker_boilerplate=`cat conftest.err`
   11227 $rm -r conftest*
   11228 
   11229 
   11230 # Allow CC to be a program name with arguments.
   11231 lt_save_CC=$CC
   11232 lt_save_LD=$LD
   11233 lt_save_GCC=$GCC
   11234 GCC=$GXX
   11235 lt_save_with_gnu_ld=$with_gnu_ld
   11236 lt_save_path_LD=$lt_cv_path_LD
   11237 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11238   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11239 else
   11240   $as_unset lt_cv_prog_gnu_ld
   11241 fi
   11242 if test -n "${lt_cv_path_LDCXX+set}"; then
   11243   lt_cv_path_LD=$lt_cv_path_LDCXX
   11244 else
   11245   $as_unset lt_cv_path_LD
   11246 fi
   11247 test -z "${LDCXX+set}" || LD=$LDCXX
   11248 CC=${CXX-"c++"}
   11249 compiler=$CC
   11250 compiler_CXX=$CC
   11251 for cc_temp in $compiler""; do
   11252   case $cc_temp in
   11253     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11254     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11255     \-*) ;;
   11256     *) break;;
   11257   esac
   11258 done
   11259 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11260 
   11261 
   11262 # We don't want -fno-exception wen compiling C++ code, so set the
   11263 # no_builtin_flag separately
   11264 if test "$GXX" = yes; then
   11265   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11266 else
   11267   lt_prog_compiler_no_builtin_flag_CXX=
   11268 fi
   11269 
   11270 if test "$GXX" = yes; then
   11271   # Set up default GNU C++ configuration
   11272 
   11273 
   11274 # Check whether --with-gnu-ld was given.
   11275 if test "${with_gnu_ld+set}" = set; then
   11276   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11277 else
   11278   with_gnu_ld=no
   11279 fi
   11280 
   11281 ac_prog=ld
   11282 if test "$GCC" = yes; then
   11283   # Check if gcc -print-prog-name=ld gives a path.
   11284   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11285 $as_echo_n "checking for ld used by $CC... " >&6; }
   11286   case $host in
   11287   *-*-mingw*)
   11288     # gcc leaves a trailing carriage return which upsets mingw
   11289     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11290   *)
   11291     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11292   esac
   11293   case $ac_prog in
   11294     # Accept absolute paths.
   11295     [\\/]* | ?:[\\/]*)
   11296       re_direlt='/[^/][^/]*/\.\./'
   11297       # Canonicalize the pathname of ld
   11298       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11299       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11300 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11301       done
   11302       test -z "$LD" && LD="$ac_prog"
   11303       ;;
   11304   "")
   11305     # If it fails, then pretend we aren't using GCC.
   11306     ac_prog=ld
   11307     ;;
   11308   *)
   11309     # If it is relative, then search for the first ld in PATH.
   11310     with_gnu_ld=unknown
   11311     ;;
   11312   esac
   11313 elif test "$with_gnu_ld" = yes; then
   11314   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11315 $as_echo_n "checking for GNU ld... " >&6; }
   11316 else
   11317   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11318 $as_echo_n "checking for non-GNU ld... " >&6; }
   11319 fi
   11320 if test "${lt_cv_path_LD+set}" = set; then
   11321   $as_echo_n "(cached) " >&6
   11322 else
   11323   if test -z "$LD"; then
   11324   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11325   for ac_dir in $PATH; do
   11326     IFS="$lt_save_ifs"
   11327     test -z "$ac_dir" && ac_dir=.
   11328     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11329       lt_cv_path_LD="$ac_dir/$ac_prog"
   11330       # Check to see if the program is GNU ld.  I'd rather use --version,
   11331       # but apparently some variants of GNU ld only accept -v.
   11332       # Break only if it was the GNU/non-GNU ld that we prefer.
   11333       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11334       *GNU* | *'with BFD'*)
   11335 	test "$with_gnu_ld" != no && break
   11336 	;;
   11337       *)
   11338 	test "$with_gnu_ld" != yes && break
   11339 	;;
   11340       esac
   11341     fi
   11342   done
   11343   IFS="$lt_save_ifs"
   11344 else
   11345   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11346 fi
   11347 fi
   11348 
   11349 LD="$lt_cv_path_LD"
   11350 if test -n "$LD"; then
   11351   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11352 $as_echo "$LD" >&6; }
   11353 else
   11354   { $as_echo "$as_me:$LINENO: result: no" >&5
   11355 $as_echo "no" >&6; }
   11356 fi
   11357 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11358 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11359    { (exit 1); exit 1; }; }
   11360 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11361 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11362 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11363   $as_echo_n "(cached) " >&6
   11364 else
   11365   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11366 case `$LD -v 2>&1 </dev/null` in
   11367 *GNU* | *'with BFD'*)
   11368   lt_cv_prog_gnu_ld=yes
   11369   ;;
   11370 *)
   11371   lt_cv_prog_gnu_ld=no
   11372   ;;
   11373 esac
   11374 fi
   11375 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11376 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11377 with_gnu_ld=$lt_cv_prog_gnu_ld
   11378 
   11379 
   11380 
   11381   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11382   # archiving commands below assume that GNU ld is being used.
   11383   if test "$with_gnu_ld" = yes; then
   11384     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11385     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'
   11386 
   11387     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11388     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11389 
   11390     # If archive_cmds runs LD, not CC, wlarc should be empty
   11391     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11392     #     investigate it a little bit more. (MM)
   11393     wlarc='${wl}'
   11394 
   11395     # ancient GNU ld didn't support --whole-archive et. al.
   11396     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11397 	grep 'no-whole-archive' > /dev/null; then
   11398       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11399     else
   11400       whole_archive_flag_spec_CXX=
   11401     fi
   11402   else
   11403     with_gnu_ld=no
   11404     wlarc=
   11405 
   11406     # A generic and very simple default shared library creation
   11407     # command for GNU C++ for the case where it uses the native
   11408     # linker, instead of GNU ld.  If possible, this setting should
   11409     # overridden to take advantage of the native linker features on
   11410     # the platform it is being used on.
   11411     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11412   fi
   11413 
   11414   # Commands to make compiler produce verbose output that lists
   11415   # what "hidden" libraries, object files and flags are used when
   11416   # linking a shared library.
   11417   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11418 
   11419 else
   11420   GXX=no
   11421   with_gnu_ld=no
   11422   wlarc=
   11423 fi
   11424 
   11425 # PORTME: fill in a description of your system's C++ link characteristics
   11426 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11427 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11428 ld_shlibs_CXX=yes
   11429 case $host_os in
   11430   aix3*)
   11431     # FIXME: insert proper C++ library support
   11432     ld_shlibs_CXX=no
   11433     ;;
   11434   aix[4-9]*)
   11435     if test "$host_cpu" = ia64; then
   11436       # On IA64, the linker does run time linking by default, so we don't
   11437       # have to do anything special.
   11438       aix_use_runtimelinking=no
   11439       exp_sym_flag='-Bexport'
   11440       no_entry_flag=""
   11441     else
   11442       aix_use_runtimelinking=no
   11443 
   11444       # Test if we are trying to use run time linking or normal
   11445       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11446       # need to do runtime linking.
   11447       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11448 	for ld_flag in $LDFLAGS; do
   11449 	  case $ld_flag in
   11450 	  *-brtl*)
   11451 	    aix_use_runtimelinking=yes
   11452 	    break
   11453 	    ;;
   11454 	  esac
   11455 	done
   11456 	;;
   11457       esac
   11458 
   11459       exp_sym_flag='-bexport'
   11460       no_entry_flag='-bnoentry'
   11461     fi
   11462 
   11463     # When large executables or shared objects are built, AIX ld can
   11464     # have problems creating the table of contents.  If linking a library
   11465     # or program results in "error TOC overflow" add -mminimal-toc to
   11466     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11467     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11468 
   11469     archive_cmds_CXX=''
   11470     hardcode_direct_CXX=yes
   11471     hardcode_libdir_separator_CXX=':'
   11472     link_all_deplibs_CXX=yes
   11473 
   11474     if test "$GXX" = yes; then
   11475       case $host_os in aix4.[012]|aix4.[012].*)
   11476       # We only want to do this on AIX 4.2 and lower, the check
   11477       # below for broken collect2 doesn't work under 4.3+
   11478 	collect2name=`${CC} -print-prog-name=collect2`
   11479 	if test -f "$collect2name" && \
   11480 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11481 	then
   11482 	  # We have reworked collect2
   11483 	  :
   11484 	else
   11485 	  # We have old collect2
   11486 	  hardcode_direct_CXX=unsupported
   11487 	  # It fails to find uninstalled libraries when the uninstalled
   11488 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11489 	  # to unsupported forces relinking
   11490 	  hardcode_minus_L_CXX=yes
   11491 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11492 	  hardcode_libdir_separator_CXX=
   11493 	fi
   11494 	;;
   11495       esac
   11496       shared_flag='-shared'
   11497       if test "$aix_use_runtimelinking" = yes; then
   11498 	shared_flag="$shared_flag "'${wl}-G'
   11499       fi
   11500     else
   11501       # not using gcc
   11502       if test "$host_cpu" = ia64; then
   11503 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11504 	# chokes on -Wl,-G. The following line is correct:
   11505 	shared_flag='-G'
   11506       else
   11507 	if test "$aix_use_runtimelinking" = yes; then
   11508 	  shared_flag='${wl}-G'
   11509 	else
   11510 	  shared_flag='${wl}-bM:SRE'
   11511 	fi
   11512       fi
   11513     fi
   11514 
   11515     # It seems that -bexpall does not export symbols beginning with
   11516     # underscore (_), so it is better to generate a list of symbols to export.
   11517     always_export_symbols_CXX=yes
   11518     if test "$aix_use_runtimelinking" = yes; then
   11519       # Warning - without using the other runtime loading flags (-brtl),
   11520       # -berok will link without error, but may produce a broken library.
   11521       allow_undefined_flag_CXX='-berok'
   11522       # Determine the default libpath from the value encoded in an empty executable.
   11523       cat >conftest.$ac_ext <<_ACEOF
   11524 /* confdefs.h.  */
   11525 _ACEOF
   11526 cat confdefs.h >>conftest.$ac_ext
   11527 cat >>conftest.$ac_ext <<_ACEOF
   11528 /* end confdefs.h.  */
   11529 
   11530 int
   11531 main ()
   11532 {
   11533 
   11534   ;
   11535   return 0;
   11536 }
   11537 _ACEOF
   11538 rm -f conftest.$ac_objext conftest$ac_exeext
   11539 if { (ac_try="$ac_link"
   11540 case "(($ac_try" in
   11541   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11542   *) ac_try_echo=$ac_try;;
   11543 esac
   11544 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11545 $as_echo "$ac_try_echo") >&5
   11546   (eval "$ac_link") 2>conftest.er1
   11547   ac_status=$?
   11548   grep -v '^ *+' conftest.er1 >conftest.err
   11549   rm -f conftest.er1
   11550   cat conftest.err >&5
   11551   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11552   (exit $ac_status); } && {
   11553 	 test -z "$ac_cxx_werror_flag" ||
   11554 	 test ! -s conftest.err
   11555        } && test -s conftest$ac_exeext && {
   11556 	 test "$cross_compiling" = yes ||
   11557 	 $as_test_x conftest$ac_exeext
   11558        }; then
   11559 
   11560 lt_aix_libpath_sed='
   11561     /Import File Strings/,/^$/ {
   11562 	/^0/ {
   11563 	    s/^0  *\(.*\)$/\1/
   11564 	    p
   11565 	}
   11566     }'
   11567 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11568 # Check for a 64-bit object if we didn't find anything.
   11569 if test -z "$aix_libpath"; then
   11570   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11571 fi
   11572 else
   11573   $as_echo "$as_me: failed program was:" >&5
   11574 sed 's/^/| /' conftest.$ac_ext >&5
   11575 
   11576 
   11577 fi
   11578 
   11579 rm -rf conftest.dSYM
   11580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11581       conftest$ac_exeext conftest.$ac_ext
   11582 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11583 
   11584       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11585 
   11586       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"
   11587      else
   11588       if test "$host_cpu" = ia64; then
   11589 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11590 	allow_undefined_flag_CXX="-z nodefs"
   11591 	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"
   11592       else
   11593 	# Determine the default libpath from the value encoded in an empty executable.
   11594 	cat >conftest.$ac_ext <<_ACEOF
   11595 /* confdefs.h.  */
   11596 _ACEOF
   11597 cat confdefs.h >>conftest.$ac_ext
   11598 cat >>conftest.$ac_ext <<_ACEOF
   11599 /* end confdefs.h.  */
   11600 
   11601 int
   11602 main ()
   11603 {
   11604 
   11605   ;
   11606   return 0;
   11607 }
   11608 _ACEOF
   11609 rm -f conftest.$ac_objext conftest$ac_exeext
   11610 if { (ac_try="$ac_link"
   11611 case "(($ac_try" in
   11612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11613   *) ac_try_echo=$ac_try;;
   11614 esac
   11615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11616 $as_echo "$ac_try_echo") >&5
   11617   (eval "$ac_link") 2>conftest.er1
   11618   ac_status=$?
   11619   grep -v '^ *+' conftest.er1 >conftest.err
   11620   rm -f conftest.er1
   11621   cat conftest.err >&5
   11622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11623   (exit $ac_status); } && {
   11624 	 test -z "$ac_cxx_werror_flag" ||
   11625 	 test ! -s conftest.err
   11626        } && test -s conftest$ac_exeext && {
   11627 	 test "$cross_compiling" = yes ||
   11628 	 $as_test_x conftest$ac_exeext
   11629        }; then
   11630 
   11631 lt_aix_libpath_sed='
   11632     /Import File Strings/,/^$/ {
   11633 	/^0/ {
   11634 	    s/^0  *\(.*\)$/\1/
   11635 	    p
   11636 	}
   11637     }'
   11638 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11639 # Check for a 64-bit object if we didn't find anything.
   11640 if test -z "$aix_libpath"; then
   11641   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11642 fi
   11643 else
   11644   $as_echo "$as_me: failed program was:" >&5
   11645 sed 's/^/| /' conftest.$ac_ext >&5
   11646 
   11647 
   11648 fi
   11649 
   11650 rm -rf conftest.dSYM
   11651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11652       conftest$ac_exeext conftest.$ac_ext
   11653 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11654 
   11655 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11656 	# Warning - without using the other run time loading flags,
   11657 	# -berok will link without error, but may produce a broken library.
   11658 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11659 	allow_undefined_flag_CXX=' ${wl}-berok'
   11660 	# Exported symbols can be pulled into shared objects from archives
   11661 	whole_archive_flag_spec_CXX='$convenience'
   11662 	archive_cmds_need_lc_CXX=yes
   11663 	# This is similar to how AIX traditionally builds its shared libraries.
   11664 	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'
   11665       fi
   11666     fi
   11667     ;;
   11668 
   11669   beos*)
   11670     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11671       allow_undefined_flag_CXX=unsupported
   11672       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11673       # support --undefined.  This deserves some investigation.  FIXME
   11674       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11675     else
   11676       ld_shlibs_CXX=no
   11677     fi
   11678     ;;
   11679 
   11680   chorus*)
   11681     case $cc_basename in
   11682       *)
   11683 	# FIXME: insert proper C++ library support
   11684 	ld_shlibs_CXX=no
   11685 	;;
   11686     esac
   11687     ;;
   11688 
   11689   cygwin* | mingw* | pw32*)
   11690     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11691     # as there is no search path for DLLs.
   11692     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11693     allow_undefined_flag_CXX=unsupported
   11694     always_export_symbols_CXX=no
   11695     enable_shared_with_static_runtimes_CXX=yes
   11696 
   11697     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11698       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'
   11699       # If the export-symbols file already is a .def file (1st line
   11700       # is EXPORTS), use it as is; otherwise, prepend...
   11701       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11702 	cp $export_symbols $output_objdir/$soname.def;
   11703       else
   11704 	echo EXPORTS > $output_objdir/$soname.def;
   11705 	cat $export_symbols >> $output_objdir/$soname.def;
   11706       fi~
   11707       $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'
   11708     else
   11709       ld_shlibs_CXX=no
   11710     fi
   11711   ;;
   11712       darwin* | rhapsody*)
   11713       archive_cmds_need_lc_CXX=no
   11714       hardcode_direct_CXX=no
   11715       hardcode_automatic_CXX=yes
   11716       hardcode_shlibpath_var_CXX=unsupported
   11717       whole_archive_flag_spec_CXX=''
   11718       link_all_deplibs_CXX=yes
   11719       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11720       if test "$GXX" = yes ; then
   11721       output_verbose_link_cmd='echo'
   11722       archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   11723       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11724       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   11725       module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   11726       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11727         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${_lt_dsymutil}"
   11728         archive_expsym_cmds_CXX="sed '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${_lt_dar_export_syms}${_lt_dsymutil}"
   11729       fi
   11730       else
   11731       case $cc_basename in
   11732         xlc*)
   11733          output_verbose_link_cmd='echo'
   11734           archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   11735           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11736           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11737           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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   11738           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}'
   11739           ;;
   11740        *)
   11741          ld_shlibs_CXX=no
   11742           ;;
   11743       esac
   11744       fi
   11745         ;;
   11746 
   11747   dgux*)
   11748     case $cc_basename in
   11749       ec++*)
   11750 	# FIXME: insert proper C++ library support
   11751 	ld_shlibs_CXX=no
   11752 	;;
   11753       ghcx*)
   11754 	# Green Hills C++ Compiler
   11755 	# FIXME: insert proper C++ library support
   11756 	ld_shlibs_CXX=no
   11757 	;;
   11758       *)
   11759 	# FIXME: insert proper C++ library support
   11760 	ld_shlibs_CXX=no
   11761 	;;
   11762     esac
   11763     ;;
   11764   freebsd[12]*)
   11765     # C++ shared libraries reported to be fairly broken before switch to ELF
   11766     ld_shlibs_CXX=no
   11767     ;;
   11768   freebsd-elf*)
   11769     archive_cmds_need_lc_CXX=no
   11770     ;;
   11771   freebsd* | dragonfly*)
   11772     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11773     # conventions
   11774     ld_shlibs_CXX=yes
   11775     ;;
   11776   gnu*)
   11777     ;;
   11778   hpux9*)
   11779     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11780     hardcode_libdir_separator_CXX=:
   11781     export_dynamic_flag_spec_CXX='${wl}-E'
   11782     hardcode_direct_CXX=yes
   11783     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11784 				# but as the default
   11785 				# location of the library.
   11786 
   11787     case $cc_basename in
   11788     CC*)
   11789       # FIXME: insert proper C++ library support
   11790       ld_shlibs_CXX=no
   11791       ;;
   11792     aCC*)
   11793       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'
   11794       # Commands to make compiler produce verbose output that lists
   11795       # what "hidden" libraries, object files and flags are used when
   11796       # linking a shared library.
   11797       #
   11798       # There doesn't appear to be a way to prevent this compiler from
   11799       # explicitly linking system object files so we need to strip them
   11800       # from the output so that they don't get included in the library
   11801       # dependencies.
   11802       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'
   11803       ;;
   11804     *)
   11805       if test "$GXX" = yes; then
   11806         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'
   11807       else
   11808         # FIXME: insert proper C++ library support
   11809         ld_shlibs_CXX=no
   11810       fi
   11811       ;;
   11812     esac
   11813     ;;
   11814   hpux10*|hpux11*)
   11815     if test $with_gnu_ld = no; then
   11816       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11817       hardcode_libdir_separator_CXX=:
   11818 
   11819       case $host_cpu in
   11820       hppa*64*|ia64*) ;;
   11821       *)
   11822 	export_dynamic_flag_spec_CXX='${wl}-E'
   11823         ;;
   11824       esac
   11825     fi
   11826     case $host_cpu in
   11827     hppa*64*|ia64*)
   11828       hardcode_direct_CXX=no
   11829       hardcode_shlibpath_var_CXX=no
   11830       ;;
   11831     *)
   11832       hardcode_direct_CXX=yes
   11833       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11834 					      # but as the default
   11835 					      # location of the library.
   11836       ;;
   11837     esac
   11838 
   11839     case $cc_basename in
   11840       CC*)
   11841 	# FIXME: insert proper C++ library support
   11842 	ld_shlibs_CXX=no
   11843 	;;
   11844       aCC*)
   11845 	case $host_cpu in
   11846 	hppa*64*)
   11847 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11848 	  ;;
   11849 	ia64*)
   11850 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11851 	  ;;
   11852 	*)
   11853 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11854 	  ;;
   11855 	esac
   11856 	# Commands to make compiler produce verbose output that lists
   11857 	# what "hidden" libraries, object files and flags are used when
   11858 	# linking a shared library.
   11859 	#
   11860 	# There doesn't appear to be a way to prevent this compiler from
   11861 	# explicitly linking system object files so we need to strip them
   11862 	# from the output so that they don't get included in the library
   11863 	# dependencies.
   11864 	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'
   11865 	;;
   11866       *)
   11867 	if test "$GXX" = yes; then
   11868 	  if test $with_gnu_ld = no; then
   11869 	    case $host_cpu in
   11870 	    hppa*64*)
   11871 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11872 	      ;;
   11873 	    ia64*)
   11874 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11875 	      ;;
   11876 	    *)
   11877 	      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'
   11878 	      ;;
   11879 	    esac
   11880 	  fi
   11881 	else
   11882 	  # FIXME: insert proper C++ library support
   11883 	  ld_shlibs_CXX=no
   11884 	fi
   11885 	;;
   11886     esac
   11887     ;;
   11888   interix[3-9]*)
   11889     hardcode_direct_CXX=no
   11890     hardcode_shlibpath_var_CXX=no
   11891     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11892     export_dynamic_flag_spec_CXX='${wl}-E'
   11893     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11894     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11895     # default) and relocated if they conflict, which is a slow very memory
   11896     # consuming and fragmenting process.  To avoid this, we pick a random,
   11897     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11898     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11899     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'
   11900     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'
   11901     ;;
   11902   irix5* | irix6*)
   11903     case $cc_basename in
   11904       CC*)
   11905 	# SGI C++
   11906 	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'
   11907 
   11908 	# Archives containing C++ object files must be created using
   11909 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11910 	# necessary to make sure instantiated templates are included
   11911 	# in the archive.
   11912 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11913 	;;
   11914       *)
   11915 	if test "$GXX" = yes; then
   11916 	  if test "$with_gnu_ld" = no; then
   11917 	    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'
   11918 	  else
   11919 	    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'
   11920 	  fi
   11921 	fi
   11922 	link_all_deplibs_CXX=yes
   11923 	;;
   11924     esac
   11925     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   11926     hardcode_libdir_separator_CXX=:
   11927     ;;
   11928   linux* | k*bsd*-gnu)
   11929     case $cc_basename in
   11930       KCC*)
   11931 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   11932 
   11933 	# KCC will only create a shared library if the output file
   11934 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   11935 	# to its proper name (with version) after linking.
   11936 	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'
   11937 	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'
   11938 	# Commands to make compiler produce verbose output that lists
   11939 	# what "hidden" libraries, object files and flags are used when
   11940 	# linking a shared library.
   11941 	#
   11942 	# There doesn't appear to be a way to prevent this compiler from
   11943 	# explicitly linking system object files so we need to strip them
   11944 	# from the output so that they don't get included in the library
   11945 	# dependencies.
   11946 	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'
   11947 
   11948 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   11949 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11950 
   11951 	# Archives containing C++ object files must be created using
   11952 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   11953 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   11954 	;;
   11955       icpc*)
   11956 	# Intel C++
   11957 	with_gnu_ld=yes
   11958 	# version 8.0 and above of icpc choke on multiply defined symbols
   11959 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   11960 	# earlier do not add the objects themselves.
   11961 	case `$CC -V 2>&1` in
   11962 	*"Version 7."*)
   11963   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11964   	  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'
   11965 	  ;;
   11966 	*)  # Version 8.0 or newer
   11967 	  tmp_idyn=
   11968 	  case $host_cpu in
   11969 	    ia64*) tmp_idyn=' -i_dynamic';;
   11970 	  esac
   11971   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11972 	  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'
   11973 	  ;;
   11974 	esac
   11975 	archive_cmds_need_lc_CXX=no
   11976 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11977 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11978 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   11979 	;;
   11980       pgCC* | pgcpp*)
   11981         # Portland Group C++ compiler
   11982 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   11983   	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'
   11984 
   11985 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11986 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11987 	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'
   11988         ;;
   11989       cxx*)
   11990 	# Compaq C++
   11991 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11992 	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'
   11993 
   11994 	runpath_var=LD_RUN_PATH
   11995 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   11996 	hardcode_libdir_separator_CXX=:
   11997 
   11998 	# Commands to make compiler produce verbose output that lists
   11999 	# what "hidden" libraries, object files and flags are used when
   12000 	# linking a shared library.
   12001 	#
   12002 	# There doesn't appear to be a way to prevent this compiler from
   12003 	# explicitly linking system object files so we need to strip them
   12004 	# from the output so that they don't get included in the library
   12005 	# dependencies.
   12006 	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'
   12007 	;;
   12008       *)
   12009 	case `$CC -V 2>&1 | sed 5q` in
   12010 	*Sun\ C*)
   12011 	  # Sun C++ 5.9
   12012 	  no_undefined_flag_CXX=' -zdefs'
   12013 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12014 	  archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   12015 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12016 	  whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   12017 
   12018 	  # Not sure whether something based on
   12019 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12020 	  # would be better.
   12021 	  output_verbose_link_cmd='echo'
   12022 
   12023 	  # Archives containing C++ object files must be created using
   12024 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12025 	  # necessary to make sure instantiated templates are included
   12026 	  # in the archive.
   12027 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12028 	  ;;
   12029 	esac
   12030 	;;
   12031     esac
   12032     ;;
   12033   lynxos*)
   12034     # FIXME: insert proper C++ library support
   12035     ld_shlibs_CXX=no
   12036     ;;
   12037   m88k*)
   12038     # FIXME: insert proper C++ library support
   12039     ld_shlibs_CXX=no
   12040     ;;
   12041   mvs*)
   12042     case $cc_basename in
   12043       cxx*)
   12044 	# FIXME: insert proper C++ library support
   12045 	ld_shlibs_CXX=no
   12046 	;;
   12047       *)
   12048 	# FIXME: insert proper C++ library support
   12049 	ld_shlibs_CXX=no
   12050 	;;
   12051     esac
   12052     ;;
   12053   netbsd*)
   12054     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12055       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12056       wlarc=
   12057       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12058       hardcode_direct_CXX=yes
   12059       hardcode_shlibpath_var_CXX=no
   12060     fi
   12061     # Workaround some broken pre-1.5 toolchains
   12062     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12063     ;;
   12064   openbsd2*)
   12065     # C++ shared libraries are fairly broken
   12066     ld_shlibs_CXX=no
   12067     ;;
   12068   openbsd*)
   12069     if test -f /usr/libexec/ld.so; then
   12070       hardcode_direct_CXX=yes
   12071       hardcode_shlibpath_var_CXX=no
   12072       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12073       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12074       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12075 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12076 	export_dynamic_flag_spec_CXX='${wl}-E'
   12077 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12078       fi
   12079       output_verbose_link_cmd='echo'
   12080     else
   12081       ld_shlibs_CXX=no
   12082     fi
   12083     ;;
   12084   osf3*)
   12085     case $cc_basename in
   12086       KCC*)
   12087 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12088 
   12089 	# KCC will only create a shared library if the output file
   12090 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12091 	# to its proper name (with version) after linking.
   12092 	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'
   12093 
   12094 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12095 	hardcode_libdir_separator_CXX=:
   12096 
   12097 	# Archives containing C++ object files must be created using
   12098 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12099 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12100 
   12101 	;;
   12102       RCC*)
   12103 	# Rational C++ 2.4.1
   12104 	# FIXME: insert proper C++ library support
   12105 	ld_shlibs_CXX=no
   12106 	;;
   12107       cxx*)
   12108 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12109 	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'
   12110 
   12111 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12112 	hardcode_libdir_separator_CXX=:
   12113 
   12114 	# Commands to make compiler produce verbose output that lists
   12115 	# what "hidden" libraries, object files and flags are used when
   12116 	# linking a shared library.
   12117 	#
   12118 	# There doesn't appear to be a way to prevent this compiler from
   12119 	# explicitly linking system object files so we need to strip them
   12120 	# from the output so that they don't get included in the library
   12121 	# dependencies.
   12122 	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'
   12123 	;;
   12124       *)
   12125 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12126 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12127 	  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'
   12128 
   12129 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12130 	  hardcode_libdir_separator_CXX=:
   12131 
   12132 	  # Commands to make compiler produce verbose output that lists
   12133 	  # what "hidden" libraries, object files and flags are used when
   12134 	  # linking a shared library.
   12135 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12136 
   12137 	else
   12138 	  # FIXME: insert proper C++ library support
   12139 	  ld_shlibs_CXX=no
   12140 	fi
   12141 	;;
   12142     esac
   12143     ;;
   12144   osf4* | osf5*)
   12145     case $cc_basename in
   12146       KCC*)
   12147 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12148 
   12149 	# KCC will only create a shared library if the output file
   12150 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12151 	# to its proper name (with version) after linking.
   12152 	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'
   12153 
   12154 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12155 	hardcode_libdir_separator_CXX=:
   12156 
   12157 	# Archives containing C++ object files must be created using
   12158 	# the KAI C++ compiler.
   12159 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12160 	;;
   12161       RCC*)
   12162 	# Rational C++ 2.4.1
   12163 	# FIXME: insert proper C++ library support
   12164 	ld_shlibs_CXX=no
   12165 	;;
   12166       cxx*)
   12167 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12168 	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'
   12169 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12170 	  echo "-hidden">> $lib.exp~
   12171 	  $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~
   12172 	  $rm $lib.exp'
   12173 
   12174 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12175 	hardcode_libdir_separator_CXX=:
   12176 
   12177 	# Commands to make compiler produce verbose output that lists
   12178 	# what "hidden" libraries, object files and flags are used when
   12179 	# linking a shared library.
   12180 	#
   12181 	# There doesn't appear to be a way to prevent this compiler from
   12182 	# explicitly linking system object files so we need to strip them
   12183 	# from the output so that they don't get included in the library
   12184 	# dependencies.
   12185 	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'
   12186 	;;
   12187       *)
   12188 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12189 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12190 	 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'
   12191 
   12192 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12193 	  hardcode_libdir_separator_CXX=:
   12194 
   12195 	  # Commands to make compiler produce verbose output that lists
   12196 	  # what "hidden" libraries, object files and flags are used when
   12197 	  # linking a shared library.
   12198 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12199 
   12200 	else
   12201 	  # FIXME: insert proper C++ library support
   12202 	  ld_shlibs_CXX=no
   12203 	fi
   12204 	;;
   12205     esac
   12206     ;;
   12207   psos*)
   12208     # FIXME: insert proper C++ library support
   12209     ld_shlibs_CXX=no
   12210     ;;
   12211   sunos4*)
   12212     case $cc_basename in
   12213       CC*)
   12214 	# Sun C++ 4.x
   12215 	# FIXME: insert proper C++ library support
   12216 	ld_shlibs_CXX=no
   12217 	;;
   12218       lcc*)
   12219 	# Lucid
   12220 	# FIXME: insert proper C++ library support
   12221 	ld_shlibs_CXX=no
   12222 	;;
   12223       *)
   12224 	# FIXME: insert proper C++ library support
   12225 	ld_shlibs_CXX=no
   12226 	;;
   12227     esac
   12228     ;;
   12229   solaris*)
   12230     case $cc_basename in
   12231       CC*)
   12232 	# Sun C++ 4.2, 5.x and Centerline C++
   12233         archive_cmds_need_lc_CXX=yes
   12234 	no_undefined_flag_CXX=' -zdefs'
   12235 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12236 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12237 	$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'
   12238 
   12239 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12240 	hardcode_shlibpath_var_CXX=no
   12241 	case $host_os in
   12242 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12243 	  *)
   12244 	    # The compiler driver will combine and reorder linker options,
   12245 	    # but understands `-z linker_flag'.
   12246 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12247 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12248 	    ;;
   12249 	esac
   12250 	link_all_deplibs_CXX=yes
   12251 
   12252 	output_verbose_link_cmd='echo'
   12253 
   12254 	# Archives containing C++ object files must be created using
   12255 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12256 	# necessary to make sure instantiated templates are included
   12257 	# in the archive.
   12258 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12259 	;;
   12260       gcx*)
   12261 	# Green Hills C++ Compiler
   12262 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12263 
   12264 	# The C++ compiler must be used to create the archive.
   12265 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12266 	;;
   12267       *)
   12268 	# GNU C++ compiler with Solaris linker
   12269 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12270 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12271 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12272 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12273 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12274 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12275 
   12276 	    # Commands to make compiler produce verbose output that lists
   12277 	    # what "hidden" libraries, object files and flags are used when
   12278 	    # linking a shared library.
   12279 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12280 	  else
   12281 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12282 	    # platform.
   12283 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12284 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12285 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12286 
   12287 	    # Commands to make compiler produce verbose output that lists
   12288 	    # what "hidden" libraries, object files and flags are used when
   12289 	    # linking a shared library.
   12290 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12291 	  fi
   12292 
   12293 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12294 	  case $host_os in
   12295 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12296 	  *)
   12297 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12298 	    ;;
   12299 	  esac
   12300 	fi
   12301 	;;
   12302     esac
   12303     ;;
   12304   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12305     no_undefined_flag_CXX='${wl}-z,text'
   12306     archive_cmds_need_lc_CXX=no
   12307     hardcode_shlibpath_var_CXX=no
   12308     runpath_var='LD_RUN_PATH'
   12309 
   12310     case $cc_basename in
   12311       CC*)
   12312 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12313 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12314 	;;
   12315       *)
   12316 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12317 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12318 	;;
   12319     esac
   12320     ;;
   12321   sysv5* | sco3.2v5* | sco5v6*)
   12322     # Note: We can NOT use -z defs as we might desire, because we do not
   12323     # link with -lc, and that would cause any symbols used from libc to
   12324     # always be unresolved, which means just about no library would
   12325     # ever link correctly.  If we're not using GNU ld we use -z text
   12326     # though, which does catch some bad symbols but isn't as heavy-handed
   12327     # as -z defs.
   12328     # For security reasons, it is highly recommended that you always
   12329     # use absolute paths for naming shared libraries, and exclude the
   12330     # DT_RUNPATH tag from executables and libraries.  But doing so
   12331     # requires that you compile everything twice, which is a pain.
   12332     # So that behaviour is only enabled if SCOABSPATH is set to a
   12333     # non-empty value in the environment.  Most likely only useful for
   12334     # creating official distributions of packages.
   12335     # This is a hack until libtool officially supports absolute path
   12336     # names for shared libraries.
   12337     no_undefined_flag_CXX='${wl}-z,text'
   12338     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12339     archive_cmds_need_lc_CXX=no
   12340     hardcode_shlibpath_var_CXX=no
   12341     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12342     hardcode_libdir_separator_CXX=':'
   12343     link_all_deplibs_CXX=yes
   12344     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12345     runpath_var='LD_RUN_PATH'
   12346 
   12347     case $cc_basename in
   12348       CC*)
   12349 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12350 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12351 	;;
   12352       *)
   12353 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12354 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12355 	;;
   12356     esac
   12357     ;;
   12358   tandem*)
   12359     case $cc_basename in
   12360       NCC*)
   12361 	# NonStop-UX NCC 3.20
   12362 	# FIXME: insert proper C++ library support
   12363 	ld_shlibs_CXX=no
   12364 	;;
   12365       *)
   12366 	# FIXME: insert proper C++ library support
   12367 	ld_shlibs_CXX=no
   12368 	;;
   12369     esac
   12370     ;;
   12371   vxworks*)
   12372     # FIXME: insert proper C++ library support
   12373     ld_shlibs_CXX=no
   12374     ;;
   12375   *)
   12376     # FIXME: insert proper C++ library support
   12377     ld_shlibs_CXX=no
   12378     ;;
   12379 esac
   12380 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12381 $as_echo "$ld_shlibs_CXX" >&6; }
   12382 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12383 
   12384 GCC_CXX="$GXX"
   12385 LD_CXX="$LD"
   12386 
   12387 cat > conftest.$ac_ext <<EOF
   12388 class Foo
   12389 {
   12390 public:
   12391   Foo (void) { a = 0; }
   12392 private:
   12393   int a;
   12394 };
   12395 EOF
   12396 
   12397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12398   (eval $ac_compile) 2>&5
   12399   ac_status=$?
   12400   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12401   (exit $ac_status); }; then
   12402   # Parse the compiler output and extract the necessary
   12403   # objects, libraries and library flags.
   12404 
   12405   # Sentinel used to keep track of whether or not we are before
   12406   # the conftest object file.
   12407   pre_test_object_deps_done=no
   12408 
   12409   # The `*' in the case matches for architectures that use `case' in
   12410   # $output_verbose_cmd can trigger glob expansion during the loop
   12411   # eval without this substitution.
   12412   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12413 
   12414   for p in `eval $output_verbose_link_cmd`; do
   12415     case $p in
   12416 
   12417     -L* | -R* | -l*)
   12418        # Some compilers place space between "-{L,R}" and the path.
   12419        # Remove the space.
   12420        if test $p = "-L" \
   12421 	  || test $p = "-R"; then
   12422 	 prev=$p
   12423 	 continue
   12424        else
   12425 	 prev=
   12426        fi
   12427 
   12428        if test "$pre_test_object_deps_done" = no; then
   12429 	 case $p in
   12430 	 -L* | -R*)
   12431 	   # Internal compiler library paths should come after those
   12432 	   # provided the user.  The postdeps already come after the
   12433 	   # user supplied libs so there is no need to process them.
   12434 	   if test -z "$compiler_lib_search_path_CXX"; then
   12435 	     compiler_lib_search_path_CXX="${prev}${p}"
   12436 	   else
   12437 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12438 	   fi
   12439 	   ;;
   12440 	 # The "-l" case would never come before the object being
   12441 	 # linked, so don't bother handling this case.
   12442 	 esac
   12443        else
   12444 	 if test -z "$postdeps_CXX"; then
   12445 	   postdeps_CXX="${prev}${p}"
   12446 	 else
   12447 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12448 	 fi
   12449        fi
   12450        ;;
   12451 
   12452     *.$objext)
   12453        # This assumes that the test object file only shows up
   12454        # once in the compiler output.
   12455        if test "$p" = "conftest.$objext"; then
   12456 	 pre_test_object_deps_done=yes
   12457 	 continue
   12458        fi
   12459 
   12460        if test "$pre_test_object_deps_done" = no; then
   12461 	 if test -z "$predep_objects_CXX"; then
   12462 	   predep_objects_CXX="$p"
   12463 	 else
   12464 	   predep_objects_CXX="$predep_objects_CXX $p"
   12465 	 fi
   12466        else
   12467 	 if test -z "$postdep_objects_CXX"; then
   12468 	   postdep_objects_CXX="$p"
   12469 	 else
   12470 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12471 	 fi
   12472        fi
   12473        ;;
   12474 
   12475     *) ;; # Ignore the rest.
   12476 
   12477     esac
   12478   done
   12479 
   12480   # Clean up.
   12481   rm -f a.out a.exe
   12482 else
   12483   echo "libtool.m4: error: problem compiling CXX test program"
   12484 fi
   12485 
   12486 $rm -f confest.$objext
   12487 
   12488 compiler_lib_search_dirs_CXX=
   12489 if test -n "$compiler_lib_search_path_CXX"; then
   12490   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12491 fi
   12492 
   12493 # PORTME: override above test on systems where it is broken
   12494 case $host_os in
   12495 interix[3-9]*)
   12496   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12497   # hack all around it, let's just trust "g++" to DTRT.
   12498   predep_objects_CXX=
   12499   postdep_objects_CXX=
   12500   postdeps_CXX=
   12501   ;;
   12502 
   12503 linux*)
   12504   case `$CC -V 2>&1 | sed 5q` in
   12505   *Sun\ C*)
   12506     # Sun C++ 5.9
   12507     #
   12508     # The more standards-conforming stlport4 library is
   12509     # incompatible with the Cstd library. Avoid specifying
   12510     # it if it's in CXXFLAGS. Ignore libCrun as
   12511     # -library=stlport4 depends on it.
   12512     case " $CXX $CXXFLAGS " in
   12513     *" -library=stlport4 "*)
   12514       solaris_use_stlport4=yes
   12515       ;;
   12516     esac
   12517     if test "$solaris_use_stlport4" != yes; then
   12518       postdeps_CXX='-library=Cstd -library=Crun'
   12519     fi
   12520     ;;
   12521   esac
   12522   ;;
   12523 
   12524 solaris*)
   12525   case $cc_basename in
   12526   CC*)
   12527     # The more standards-conforming stlport4 library is
   12528     # incompatible with the Cstd library. Avoid specifying
   12529     # it if it's in CXXFLAGS. Ignore libCrun as
   12530     # -library=stlport4 depends on it.
   12531     case " $CXX $CXXFLAGS " in
   12532     *" -library=stlport4 "*)
   12533       solaris_use_stlport4=yes
   12534       ;;
   12535     esac
   12536 
   12537     # Adding this requires a known-good setup of shared libraries for
   12538     # Sun compiler versions before 5.6, else PIC objects from an old
   12539     # archive will be linked into the output, leading to subtle bugs.
   12540     if test "$solaris_use_stlport4" != yes; then
   12541       postdeps_CXX='-library=Cstd -library=Crun'
   12542     fi
   12543     ;;
   12544   esac
   12545   ;;
   12546 esac
   12547 
   12548 case " $postdeps_CXX " in
   12549 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12550 esac
   12551 
   12552 lt_prog_compiler_wl_CXX=
   12553 lt_prog_compiler_pic_CXX=
   12554 lt_prog_compiler_static_CXX=
   12555 
   12556 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12557 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12558 
   12559   # C++ specific cases for pic, static, wl, etc.
   12560   if test "$GXX" = yes; then
   12561     lt_prog_compiler_wl_CXX='-Wl,'
   12562     lt_prog_compiler_static_CXX='-static'
   12563 
   12564     case $host_os in
   12565     aix*)
   12566       # All AIX code is PIC.
   12567       if test "$host_cpu" = ia64; then
   12568 	# AIX 5 now supports IA64 processor
   12569 	lt_prog_compiler_static_CXX='-Bstatic'
   12570       fi
   12571       ;;
   12572     amigaos*)
   12573       # FIXME: we need at least 68020 code to build shared libraries, but
   12574       # adding the `-m68020' flag to GCC prevents building anything better,
   12575       # like `-m68040'.
   12576       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12577       ;;
   12578     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12579       # PIC is the default for these OSes.
   12580       ;;
   12581     mingw* | cygwin* | os2* | pw32*)
   12582       # This hack is so that the source file can tell whether it is being
   12583       # built for inclusion in a dll (and should export symbols for example).
   12584       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12585       # (--disable-auto-import) libraries
   12586       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12587       ;;
   12588     darwin* | rhapsody*)
   12589       # PIC is the default on this platform
   12590       # Common symbols not allowed in MH_DYLIB files
   12591       lt_prog_compiler_pic_CXX='-fno-common'
   12592       ;;
   12593     *djgpp*)
   12594       # DJGPP does not support shared libraries at all
   12595       lt_prog_compiler_pic_CXX=
   12596       ;;
   12597     interix[3-9]*)
   12598       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12599       # Instead, we relocate shared libraries at runtime.
   12600       ;;
   12601     sysv4*MP*)
   12602       if test -d /usr/nec; then
   12603 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12604       fi
   12605       ;;
   12606     hpux*)
   12607       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12608       # not for PA HP-UX.
   12609       case $host_cpu in
   12610       hppa*64*|ia64*)
   12611 	;;
   12612       *)
   12613 	lt_prog_compiler_pic_CXX='-fPIC'
   12614 	;;
   12615       esac
   12616       ;;
   12617     *)
   12618       lt_prog_compiler_pic_CXX='-fPIC'
   12619       ;;
   12620     esac
   12621   else
   12622     case $host_os in
   12623       aix[4-9]*)
   12624 	# All AIX code is PIC.
   12625 	if test "$host_cpu" = ia64; then
   12626 	  # AIX 5 now supports IA64 processor
   12627 	  lt_prog_compiler_static_CXX='-Bstatic'
   12628 	else
   12629 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12630 	fi
   12631 	;;
   12632       chorus*)
   12633 	case $cc_basename in
   12634 	cxch68*)
   12635 	  # Green Hills C++ Compiler
   12636 	  # _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"
   12637 	  ;;
   12638 	esac
   12639 	;;
   12640        darwin*)
   12641          # PIC is the default on this platform
   12642          # Common symbols not allowed in MH_DYLIB files
   12643          case $cc_basename in
   12644            xlc*)
   12645            lt_prog_compiler_pic_CXX='-qnocommon'
   12646            lt_prog_compiler_wl_CXX='-Wl,'
   12647            ;;
   12648          esac
   12649        ;;
   12650       dgux*)
   12651 	case $cc_basename in
   12652 	  ec++*)
   12653 	    lt_prog_compiler_pic_CXX='-KPIC'
   12654 	    ;;
   12655 	  ghcx*)
   12656 	    # Green Hills C++ Compiler
   12657 	    lt_prog_compiler_pic_CXX='-pic'
   12658 	    ;;
   12659 	  *)
   12660 	    ;;
   12661 	esac
   12662 	;;
   12663       freebsd* | dragonfly*)
   12664 	# FreeBSD uses GNU C++
   12665 	;;
   12666       hpux9* | hpux10* | hpux11*)
   12667 	case $cc_basename in
   12668 	  CC*)
   12669 	    lt_prog_compiler_wl_CXX='-Wl,'
   12670 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12671 	    if test "$host_cpu" != ia64; then
   12672 	      lt_prog_compiler_pic_CXX='+Z'
   12673 	    fi
   12674 	    ;;
   12675 	  aCC*)
   12676 	    lt_prog_compiler_wl_CXX='-Wl,'
   12677 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12678 	    case $host_cpu in
   12679 	    hppa*64*|ia64*)
   12680 	      # +Z the default
   12681 	      ;;
   12682 	    *)
   12683 	      lt_prog_compiler_pic_CXX='+Z'
   12684 	      ;;
   12685 	    esac
   12686 	    ;;
   12687 	  *)
   12688 	    ;;
   12689 	esac
   12690 	;;
   12691       interix*)
   12692 	# This is c89, which is MS Visual C++ (no shared libs)
   12693 	# Anyone wants to do a port?
   12694 	;;
   12695       irix5* | irix6* | nonstopux*)
   12696 	case $cc_basename in
   12697 	  CC*)
   12698 	    lt_prog_compiler_wl_CXX='-Wl,'
   12699 	    lt_prog_compiler_static_CXX='-non_shared'
   12700 	    # CC pic flag -KPIC is the default.
   12701 	    ;;
   12702 	  *)
   12703 	    ;;
   12704 	esac
   12705 	;;
   12706       linux* | k*bsd*-gnu)
   12707 	case $cc_basename in
   12708 	  KCC*)
   12709 	    # KAI C++ Compiler
   12710 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12711 	    lt_prog_compiler_pic_CXX='-fPIC'
   12712 	    ;;
   12713 	  icpc* | ecpc*)
   12714 	    # Intel C++
   12715 	    lt_prog_compiler_wl_CXX='-Wl,'
   12716 	    lt_prog_compiler_pic_CXX='-KPIC'
   12717 	    lt_prog_compiler_static_CXX='-static'
   12718 	    ;;
   12719 	  pgCC* | pgcpp*)
   12720 	    # Portland Group C++ compiler.
   12721 	    lt_prog_compiler_wl_CXX='-Wl,'
   12722 	    lt_prog_compiler_pic_CXX='-fpic'
   12723 	    lt_prog_compiler_static_CXX='-Bstatic'
   12724 	    ;;
   12725 	  cxx*)
   12726 	    # Compaq C++
   12727 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12728 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12729 	    lt_prog_compiler_pic_CXX=
   12730 	    lt_prog_compiler_static_CXX='-non_shared'
   12731 	    ;;
   12732 	  *)
   12733 	    case `$CC -V 2>&1 | sed 5q` in
   12734 	    *Sun\ C*)
   12735 	      # Sun C++ 5.9
   12736 	      lt_prog_compiler_pic_CXX='-KPIC'
   12737 	      lt_prog_compiler_static_CXX='-Bstatic'
   12738 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12739 	      ;;
   12740 	    esac
   12741 	    ;;
   12742 	esac
   12743 	;;
   12744       lynxos*)
   12745 	;;
   12746       m88k*)
   12747 	;;
   12748       mvs*)
   12749 	case $cc_basename in
   12750 	  cxx*)
   12751 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12752 	    ;;
   12753 	  *)
   12754 	    ;;
   12755 	esac
   12756 	;;
   12757       netbsd*)
   12758 	;;
   12759       osf3* | osf4* | osf5*)
   12760 	case $cc_basename in
   12761 	  KCC*)
   12762 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12763 	    ;;
   12764 	  RCC*)
   12765 	    # Rational C++ 2.4.1
   12766 	    lt_prog_compiler_pic_CXX='-pic'
   12767 	    ;;
   12768 	  cxx*)
   12769 	    # Digital/Compaq C++
   12770 	    lt_prog_compiler_wl_CXX='-Wl,'
   12771 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12772 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12773 	    lt_prog_compiler_pic_CXX=
   12774 	    lt_prog_compiler_static_CXX='-non_shared'
   12775 	    ;;
   12776 	  *)
   12777 	    ;;
   12778 	esac
   12779 	;;
   12780       psos*)
   12781 	;;
   12782       solaris*)
   12783 	case $cc_basename in
   12784 	  CC*)
   12785 	    # Sun C++ 4.2, 5.x and Centerline C++
   12786 	    lt_prog_compiler_pic_CXX='-KPIC'
   12787 	    lt_prog_compiler_static_CXX='-Bstatic'
   12788 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12789 	    ;;
   12790 	  gcx*)
   12791 	    # Green Hills C++ Compiler
   12792 	    lt_prog_compiler_pic_CXX='-PIC'
   12793 	    ;;
   12794 	  *)
   12795 	    ;;
   12796 	esac
   12797 	;;
   12798       sunos4*)
   12799 	case $cc_basename in
   12800 	  CC*)
   12801 	    # Sun C++ 4.x
   12802 	    lt_prog_compiler_pic_CXX='-pic'
   12803 	    lt_prog_compiler_static_CXX='-Bstatic'
   12804 	    ;;
   12805 	  lcc*)
   12806 	    # Lucid
   12807 	    lt_prog_compiler_pic_CXX='-pic'
   12808 	    ;;
   12809 	  *)
   12810 	    ;;
   12811 	esac
   12812 	;;
   12813       tandem*)
   12814 	case $cc_basename in
   12815 	  NCC*)
   12816 	    # NonStop-UX NCC 3.20
   12817 	    lt_prog_compiler_pic_CXX='-KPIC'
   12818 	    ;;
   12819 	  *)
   12820 	    ;;
   12821 	esac
   12822 	;;
   12823       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12824 	case $cc_basename in
   12825 	  CC*)
   12826 	    lt_prog_compiler_wl_CXX='-Wl,'
   12827 	    lt_prog_compiler_pic_CXX='-KPIC'
   12828 	    lt_prog_compiler_static_CXX='-Bstatic'
   12829 	    ;;
   12830 	esac
   12831 	;;
   12832       vxworks*)
   12833 	;;
   12834       *)
   12835 	lt_prog_compiler_can_build_shared_CXX=no
   12836 	;;
   12837     esac
   12838   fi
   12839 
   12840 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12841 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12842 
   12843 #
   12844 # Check to make sure the PIC flag actually works.
   12845 #
   12846 if test -n "$lt_prog_compiler_pic_CXX"; then
   12847 
   12848 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12849 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12850 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12851   $as_echo_n "(cached) " >&6
   12852 else
   12853   lt_cv_prog_compiler_pic_works_CXX=no
   12854   ac_outfile=conftest.$ac_objext
   12855    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12856    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12857    # Insert the option either (1) after the last *FLAGS variable, or
   12858    # (2) before a word containing "conftest.", or (3) at the end.
   12859    # Note that $ac_compile itself does not contain backslashes and begins
   12860    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12861    # The option is referenced via a variable to avoid confusing sed.
   12862    lt_compile=`echo "$ac_compile" | $SED \
   12863    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12864    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12865    -e 's:$: $lt_compiler_flag:'`
   12866    (eval echo "\"\$as_me:12866: $lt_compile\"" >&5)
   12867    (eval "$lt_compile" 2>conftest.err)
   12868    ac_status=$?
   12869    cat conftest.err >&5
   12870    echo "$as_me:12870: \$? = $ac_status" >&5
   12871    if (exit $ac_status) && test -s "$ac_outfile"; then
   12872      # The compiler can only warn and ignore the option if not recognized
   12873      # So say no if there are warnings other than the usual output.
   12874      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12875      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12876      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12877        lt_cv_prog_compiler_pic_works_CXX=yes
   12878      fi
   12879    fi
   12880    $rm conftest*
   12881 
   12882 fi
   12883 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12884 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12885 
   12886 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12887     case $lt_prog_compiler_pic_CXX in
   12888      "" | " "*) ;;
   12889      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12890      esac
   12891 else
   12892     lt_prog_compiler_pic_CXX=
   12893      lt_prog_compiler_can_build_shared_CXX=no
   12894 fi
   12895 
   12896 fi
   12897 case $host_os in
   12898   # For platforms which do not support PIC, -DPIC is meaningless:
   12899   *djgpp*)
   12900     lt_prog_compiler_pic_CXX=
   12901     ;;
   12902   *)
   12903     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12904     ;;
   12905 esac
   12906 
   12907 #
   12908 # Check to make sure the static flag actually works.
   12909 #
   12910 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12911 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12912 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12913 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12914   $as_echo_n "(cached) " >&6
   12915 else
   12916   lt_cv_prog_compiler_static_works_CXX=no
   12917    save_LDFLAGS="$LDFLAGS"
   12918    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   12919    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   12920    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   12921      # The linker can only warn and ignore the option if not recognized
   12922      # So say no if there are warnings
   12923      if test -s conftest.err; then
   12924        # Append any errors to the config.log.
   12925        cat conftest.err 1>&5
   12926        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   12927        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12928        if diff conftest.exp conftest.er2 >/dev/null; then
   12929          lt_cv_prog_compiler_static_works_CXX=yes
   12930        fi
   12931      else
   12932        lt_cv_prog_compiler_static_works_CXX=yes
   12933      fi
   12934    fi
   12935    $rm -r conftest*
   12936    LDFLAGS="$save_LDFLAGS"
   12937 
   12938 fi
   12939 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   12940 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   12941 
   12942 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   12943     :
   12944 else
   12945     lt_prog_compiler_static_CXX=
   12946 fi
   12947 
   12948 
   12949 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   12950 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   12951 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   12952   $as_echo_n "(cached) " >&6
   12953 else
   12954   lt_cv_prog_compiler_c_o_CXX=no
   12955    $rm -r conftest 2>/dev/null
   12956    mkdir conftest
   12957    cd conftest
   12958    mkdir out
   12959    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12960 
   12961    lt_compiler_flag="-o out/conftest2.$ac_objext"
   12962    # Insert the option either (1) after the last *FLAGS variable, or
   12963    # (2) before a word containing "conftest.", or (3) at the end.
   12964    # Note that $ac_compile itself does not contain backslashes and begins
   12965    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12966    lt_compile=`echo "$ac_compile" | $SED \
   12967    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12968    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12969    -e 's:$: $lt_compiler_flag:'`
   12970    (eval echo "\"\$as_me:12970: $lt_compile\"" >&5)
   12971    (eval "$lt_compile" 2>out/conftest.err)
   12972    ac_status=$?
   12973    cat out/conftest.err >&5
   12974    echo "$as_me:12974: \$? = $ac_status" >&5
   12975    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   12976    then
   12977      # The compiler can only warn and ignore the option if not recognized
   12978      # So say no if there are warnings
   12979      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   12980      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   12981      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   12982        lt_cv_prog_compiler_c_o_CXX=yes
   12983      fi
   12984    fi
   12985    chmod u+w . 2>&5
   12986    $rm conftest*
   12987    # SGI C++ compiler will create directory out/ii_files/ for
   12988    # template instantiation
   12989    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   12990    $rm out/* && rmdir out
   12991    cd ..
   12992    rmdir conftest
   12993    $rm conftest*
   12994 
   12995 fi
   12996 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   12997 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   12998 
   12999 
   13000 hard_links="nottested"
   13001 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13002   # do not overwrite the value of need_locks provided by the user
   13003   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13004 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13005   hard_links=yes
   13006   $rm conftest*
   13007   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13008   touch conftest.a
   13009   ln conftest.a conftest.b 2>&5 || hard_links=no
   13010   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13011   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13012 $as_echo "$hard_links" >&6; }
   13013   if test "$hard_links" = no; then
   13014     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13015 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13016     need_locks=warn
   13017   fi
   13018 else
   13019   need_locks=no
   13020 fi
   13021 
   13022 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13023 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13024 
   13025   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13026   case $host_os in
   13027   aix[4-9]*)
   13028     # If we're using GNU nm, then we don't want the "-C" option.
   13029     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13030     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13031       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'
   13032     else
   13033       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'
   13034     fi
   13035     ;;
   13036   pw32*)
   13037     export_symbols_cmds_CXX="$ltdll_cmds"
   13038   ;;
   13039   cygwin* | mingw*)
   13040     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'
   13041   ;;
   13042   linux* | k*bsd*-gnu)
   13043     link_all_deplibs_CXX=no
   13044   ;;
   13045   *)
   13046     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13047   ;;
   13048   esac
   13049   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13050 
   13051 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13052 $as_echo "$ld_shlibs_CXX" >&6; }
   13053 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13054 
   13055 #
   13056 # Do we need to explicitly link libc?
   13057 #
   13058 case "x$archive_cmds_need_lc_CXX" in
   13059 x|xyes)
   13060   # Assume -lc should be added
   13061   archive_cmds_need_lc_CXX=yes
   13062 
   13063   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13064     case $archive_cmds_CXX in
   13065     *'~'*)
   13066       # FIXME: we may have to deal with multi-command sequences.
   13067       ;;
   13068     '$CC '*)
   13069       # Test whether the compiler implicitly links with -lc since on some
   13070       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13071       # to ld, don't add -lc before -lgcc.
   13072       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13073 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13074       $rm conftest*
   13075       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13076 
   13077       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13078   (eval $ac_compile) 2>&5
   13079   ac_status=$?
   13080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13081   (exit $ac_status); } 2>conftest.err; then
   13082         soname=conftest
   13083         lib=conftest
   13084         libobjs=conftest.$ac_objext
   13085         deplibs=
   13086         wl=$lt_prog_compiler_wl_CXX
   13087 	pic_flag=$lt_prog_compiler_pic_CXX
   13088         compiler_flags=-v
   13089         linker_flags=-v
   13090         verstring=
   13091         output_objdir=.
   13092         libname=conftest
   13093         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13094         allow_undefined_flag_CXX=
   13095         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13096   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13097   ac_status=$?
   13098   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13099   (exit $ac_status); }
   13100         then
   13101 	  archive_cmds_need_lc_CXX=no
   13102         else
   13103 	  archive_cmds_need_lc_CXX=yes
   13104         fi
   13105         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13106       else
   13107         cat conftest.err 1>&5
   13108       fi
   13109       $rm conftest*
   13110       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13111 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13112       ;;
   13113     esac
   13114   fi
   13115   ;;
   13116 esac
   13117 
   13118 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13119 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13120 library_names_spec=
   13121 libname_spec='lib$name'
   13122 soname_spec=
   13123 shrext_cmds=".so"
   13124 postinstall_cmds=
   13125 postuninstall_cmds=
   13126 finish_cmds=
   13127 finish_eval=
   13128 shlibpath_var=
   13129 shlibpath_overrides_runpath=unknown
   13130 version_type=none
   13131 dynamic_linker="$host_os ld.so"
   13132 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13133 
   13134 need_lib_prefix=unknown
   13135 hardcode_into_libs=no
   13136 
   13137 # when you set need_version to no, make sure it does not cause -set_version
   13138 # flags to be left without arguments
   13139 need_version=unknown
   13140 
   13141 case $host_os in
   13142 aix3*)
   13143   version_type=linux
   13144   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13145   shlibpath_var=LIBPATH
   13146 
   13147   # AIX 3 has no versioning support, so we append a major version to the name.
   13148   soname_spec='${libname}${release}${shared_ext}$major'
   13149   ;;
   13150 
   13151 aix[4-9]*)
   13152   version_type=linux
   13153   need_lib_prefix=no
   13154   need_version=no
   13155   hardcode_into_libs=yes
   13156   if test "$host_cpu" = ia64; then
   13157     # AIX 5 supports IA64
   13158     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13159     shlibpath_var=LD_LIBRARY_PATH
   13160   else
   13161     # With GCC up to 2.95.x, collect2 would create an import file
   13162     # for dependence libraries.  The import file would start with
   13163     # the line `#! .'.  This would cause the generated library to
   13164     # depend on `.', always an invalid library.  This was fixed in
   13165     # development snapshots of GCC prior to 3.0.
   13166     case $host_os in
   13167       aix4 | aix4.[01] | aix4.[01].*)
   13168       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13169 	   echo ' yes '
   13170 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13171 	:
   13172       else
   13173 	can_build_shared=no
   13174       fi
   13175       ;;
   13176     esac
   13177     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13178     # soname into executable. Probably we can add versioning support to
   13179     # collect2, so additional links can be useful in future.
   13180     if test "$aix_use_runtimelinking" = yes; then
   13181       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13182       # instead of lib<name>.a to let people know that these are not
   13183       # typical AIX shared libraries.
   13184       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13185     else
   13186       # We preserve .a as extension for shared libraries through AIX4.2
   13187       # and later when we are not doing run time linking.
   13188       library_names_spec='${libname}${release}.a $libname.a'
   13189       soname_spec='${libname}${release}${shared_ext}$major'
   13190     fi
   13191     shlibpath_var=LIBPATH
   13192   fi
   13193   ;;
   13194 
   13195 amigaos*)
   13196   library_names_spec='$libname.ixlibrary $libname.a'
   13197   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13198   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'
   13199   ;;
   13200 
   13201 beos*)
   13202   library_names_spec='${libname}${shared_ext}'
   13203   dynamic_linker="$host_os ld.so"
   13204   shlibpath_var=LIBRARY_PATH
   13205   ;;
   13206 
   13207 bsdi[45]*)
   13208   version_type=linux
   13209   need_version=no
   13210   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13211   soname_spec='${libname}${release}${shared_ext}$major'
   13212   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13213   shlibpath_var=LD_LIBRARY_PATH
   13214   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13215   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13216   # the default ld.so.conf also contains /usr/contrib/lib and
   13217   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13218   # libtool to hard-code these into programs
   13219   ;;
   13220 
   13221 cygwin* | mingw* | pw32*)
   13222   version_type=windows
   13223   shrext_cmds=".dll"
   13224   need_version=no
   13225   need_lib_prefix=no
   13226 
   13227   case $GCC,$host_os in
   13228   yes,cygwin* | yes,mingw* | yes,pw32*)
   13229     library_names_spec='$libname.dll.a'
   13230     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13231     postinstall_cmds='base_file=`basename \${file}`~
   13232       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13233       dldir=$destdir/`dirname \$dlpath`~
   13234       test -d \$dldir || mkdir -p \$dldir~
   13235       $install_prog $dir/$dlname \$dldir/$dlname~
   13236       chmod a+x \$dldir/$dlname'
   13237     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13238       dlpath=$dir/\$dldll~
   13239        $rm \$dlpath'
   13240     shlibpath_overrides_runpath=yes
   13241 
   13242     case $host_os in
   13243     cygwin*)
   13244       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13245       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13246       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13247       ;;
   13248     mingw*)
   13249       # MinGW DLLs use traditional 'lib' prefix
   13250       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13251       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13252       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13253         # It is most probably a Windows format PATH printed by
   13254         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13255         # path with ; separators, and with drive letters. We can handle the
   13256         # drive letters (cygwin fileutils understands them), so leave them,
   13257         # especially as we might pass files found there to a mingw objdump,
   13258         # which wouldn't understand a cygwinified path. Ahh.
   13259         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13260       else
   13261         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13262       fi
   13263       ;;
   13264     pw32*)
   13265       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13266       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13267       ;;
   13268     esac
   13269     ;;
   13270 
   13271   *)
   13272     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13273     ;;
   13274   esac
   13275   dynamic_linker='Win32 ld.exe'
   13276   # FIXME: first we should search . and the directory the executable is in
   13277   shlibpath_var=PATH
   13278   ;;
   13279 
   13280 darwin* | rhapsody*)
   13281   dynamic_linker="$host_os dyld"
   13282   version_type=darwin
   13283   need_lib_prefix=no
   13284   need_version=no
   13285   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13286   soname_spec='${libname}${release}${major}$shared_ext'
   13287   shlibpath_overrides_runpath=yes
   13288   shlibpath_var=DYLD_LIBRARY_PATH
   13289   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13290 
   13291   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13292   ;;
   13293 
   13294 dgux*)
   13295   version_type=linux
   13296   need_lib_prefix=no
   13297   need_version=no
   13298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13299   soname_spec='${libname}${release}${shared_ext}$major'
   13300   shlibpath_var=LD_LIBRARY_PATH
   13301   ;;
   13302 
   13303 freebsd1*)
   13304   dynamic_linker=no
   13305   ;;
   13306 
   13307 freebsd* | dragonfly*)
   13308   # DragonFly does not have aout.  When/if they implement a new
   13309   # versioning mechanism, adjust this.
   13310   if test -x /usr/bin/objformat; then
   13311     objformat=`/usr/bin/objformat`
   13312   else
   13313     case $host_os in
   13314     freebsd[123]*) objformat=aout ;;
   13315     *) objformat=elf ;;
   13316     esac
   13317   fi
   13318   version_type=freebsd-$objformat
   13319   case $version_type in
   13320     freebsd-elf*)
   13321       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13322       need_version=no
   13323       need_lib_prefix=no
   13324       ;;
   13325     freebsd-*)
   13326       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13327       need_version=yes
   13328       ;;
   13329   esac
   13330   shlibpath_var=LD_LIBRARY_PATH
   13331   case $host_os in
   13332   freebsd2*)
   13333     shlibpath_overrides_runpath=yes
   13334     ;;
   13335   freebsd3.[01]* | freebsdelf3.[01]*)
   13336     shlibpath_overrides_runpath=yes
   13337     hardcode_into_libs=yes
   13338     ;;
   13339   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13340   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13341     shlibpath_overrides_runpath=no
   13342     hardcode_into_libs=yes
   13343     ;;
   13344   *) # from 4.6 on, and DragonFly
   13345     shlibpath_overrides_runpath=yes
   13346     hardcode_into_libs=yes
   13347     ;;
   13348   esac
   13349   ;;
   13350 
   13351 gnu*)
   13352   version_type=linux
   13353   need_lib_prefix=no
   13354   need_version=no
   13355   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13356   soname_spec='${libname}${release}${shared_ext}$major'
   13357   shlibpath_var=LD_LIBRARY_PATH
   13358   hardcode_into_libs=yes
   13359   ;;
   13360 
   13361 hpux9* | hpux10* | hpux11*)
   13362   # Give a soname corresponding to the major version so that dld.sl refuses to
   13363   # link against other versions.
   13364   version_type=sunos
   13365   need_lib_prefix=no
   13366   need_version=no
   13367   case $host_cpu in
   13368   ia64*)
   13369     shrext_cmds='.so'
   13370     hardcode_into_libs=yes
   13371     dynamic_linker="$host_os dld.so"
   13372     shlibpath_var=LD_LIBRARY_PATH
   13373     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13374     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13375     soname_spec='${libname}${release}${shared_ext}$major'
   13376     if test "X$HPUX_IA64_MODE" = X32; then
   13377       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13378     else
   13379       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13380     fi
   13381     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13382     ;;
   13383    hppa*64*)
   13384      shrext_cmds='.sl'
   13385      hardcode_into_libs=yes
   13386      dynamic_linker="$host_os dld.sl"
   13387      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13388      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13389      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13390      soname_spec='${libname}${release}${shared_ext}$major'
   13391      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13392      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13393      ;;
   13394    *)
   13395     shrext_cmds='.sl'
   13396     dynamic_linker="$host_os dld.sl"
   13397     shlibpath_var=SHLIB_PATH
   13398     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13399     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13400     soname_spec='${libname}${release}${shared_ext}$major'
   13401     ;;
   13402   esac
   13403   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13404   postinstall_cmds='chmod 555 $lib'
   13405   ;;
   13406 
   13407 interix[3-9]*)
   13408   version_type=linux
   13409   need_lib_prefix=no
   13410   need_version=no
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13414   shlibpath_var=LD_LIBRARY_PATH
   13415   shlibpath_overrides_runpath=no
   13416   hardcode_into_libs=yes
   13417   ;;
   13418 
   13419 irix5* | irix6* | nonstopux*)
   13420   case $host_os in
   13421     nonstopux*) version_type=nonstopux ;;
   13422     *)
   13423 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13424 		version_type=linux
   13425 	else
   13426 		version_type=irix
   13427 	fi ;;
   13428   esac
   13429   need_lib_prefix=no
   13430   need_version=no
   13431   soname_spec='${libname}${release}${shared_ext}$major'
   13432   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13433   case $host_os in
   13434   irix5* | nonstopux*)
   13435     libsuff= shlibsuff=
   13436     ;;
   13437   *)
   13438     case $LD in # libtool.m4 will add one of these switches to LD
   13439     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13440       libsuff= shlibsuff= libmagic=32-bit;;
   13441     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13442       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13443     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13444       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13445     *) libsuff= shlibsuff= libmagic=never-match;;
   13446     esac
   13447     ;;
   13448   esac
   13449   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13450   shlibpath_overrides_runpath=no
   13451   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13452   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13453   hardcode_into_libs=yes
   13454   ;;
   13455 
   13456 # No shared lib support for Linux oldld, aout, or coff.
   13457 linux*oldld* | linux*aout* | linux*coff*)
   13458   dynamic_linker=no
   13459   ;;
   13460 
   13461 # This must be Linux ELF.
   13462 linux* | k*bsd*-gnu)
   13463   version_type=linux
   13464   need_lib_prefix=no
   13465   need_version=no
   13466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13467   soname_spec='${libname}${release}${shared_ext}$major'
   13468   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13469   shlibpath_var=LD_LIBRARY_PATH
   13470   shlibpath_overrides_runpath=no
   13471   # This implies no fast_install, which is unacceptable.
   13472   # Some rework will be needed to allow for fast_install
   13473   # before this can be enabled.
   13474   hardcode_into_libs=yes
   13475 
   13476   # find out which ABI we are using
   13477   libsuff=
   13478   case "$host_cpu" in
   13479   x86_64*|s390x*|powerpc64*)
   13480     echo '#line 13480 "configure"' > conftest.$ac_ext
   13481     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13482   (eval $ac_compile) 2>&5
   13483   ac_status=$?
   13484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13485   (exit $ac_status); }; then
   13486       case `/usr/bin/file conftest.$ac_objext` in
   13487       *64-bit*)
   13488         libsuff=64
   13489         ;;
   13490       esac
   13491     fi
   13492     rm -rf conftest*
   13493     ;;
   13494   esac
   13495 
   13496   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
   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>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   13501     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $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 netbsd*)
   13514   version_type=sunos
   13515   need_lib_prefix=no
   13516   need_version=no
   13517   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13518     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13519     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13520     dynamic_linker='NetBSD (a.out) ld.so'
   13521   else
   13522     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13523     soname_spec='${libname}${release}${shared_ext}$major'
   13524     dynamic_linker='NetBSD ld.elf_so'
   13525   fi
   13526   shlibpath_var=LD_LIBRARY_PATH
   13527   shlibpath_overrides_runpath=yes
   13528   hardcode_into_libs=yes
   13529   ;;
   13530 
   13531 newsos6)
   13532   version_type=linux
   13533   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13534   shlibpath_var=LD_LIBRARY_PATH
   13535   shlibpath_overrides_runpath=yes
   13536   ;;
   13537 
   13538 nto-qnx*)
   13539   version_type=linux
   13540   need_lib_prefix=no
   13541   need_version=no
   13542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13543   soname_spec='${libname}${release}${shared_ext}$major'
   13544   shlibpath_var=LD_LIBRARY_PATH
   13545   shlibpath_overrides_runpath=yes
   13546   ;;
   13547 
   13548 openbsd*)
   13549   version_type=sunos
   13550   sys_lib_dlsearch_path_spec="/usr/lib"
   13551   need_lib_prefix=no
   13552   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13553   case $host_os in
   13554     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13555     *)                         need_version=no  ;;
   13556   esac
   13557   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13558   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13559   shlibpath_var=LD_LIBRARY_PATH
   13560   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13561     case $host_os in
   13562       openbsd2.[89] | openbsd2.[89].*)
   13563 	shlibpath_overrides_runpath=no
   13564 	;;
   13565       *)
   13566 	shlibpath_overrides_runpath=yes
   13567 	;;
   13568       esac
   13569   else
   13570     shlibpath_overrides_runpath=yes
   13571   fi
   13572   ;;
   13573 
   13574 os2*)
   13575   libname_spec='$name'
   13576   shrext_cmds=".dll"
   13577   need_lib_prefix=no
   13578   library_names_spec='$libname${shared_ext} $libname.a'
   13579   dynamic_linker='OS/2 ld.exe'
   13580   shlibpath_var=LIBPATH
   13581   ;;
   13582 
   13583 osf3* | osf4* | osf5*)
   13584   version_type=osf
   13585   need_lib_prefix=no
   13586   need_version=no
   13587   soname_spec='${libname}${release}${shared_ext}$major'
   13588   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13589   shlibpath_var=LD_LIBRARY_PATH
   13590   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13591   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13592   ;;
   13593 
   13594 rdos*)
   13595   dynamic_linker=no
   13596   ;;
   13597 
   13598 solaris*)
   13599   version_type=linux
   13600   need_lib_prefix=no
   13601   need_version=no
   13602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13603   soname_spec='${libname}${release}${shared_ext}$major'
   13604   shlibpath_var=LD_LIBRARY_PATH
   13605   shlibpath_overrides_runpath=yes
   13606   hardcode_into_libs=yes
   13607   # ldd complains unless libraries are executable
   13608   postinstall_cmds='chmod +x $lib'
   13609   ;;
   13610 
   13611 sunos4*)
   13612   version_type=sunos
   13613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13614   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13615   shlibpath_var=LD_LIBRARY_PATH
   13616   shlibpath_overrides_runpath=yes
   13617   if test "$with_gnu_ld" = yes; then
   13618     need_lib_prefix=no
   13619   fi
   13620   need_version=yes
   13621   ;;
   13622 
   13623 sysv4 | sysv4.3*)
   13624   version_type=linux
   13625   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13626   soname_spec='${libname}${release}${shared_ext}$major'
   13627   shlibpath_var=LD_LIBRARY_PATH
   13628   case $host_vendor in
   13629     sni)
   13630       shlibpath_overrides_runpath=no
   13631       need_lib_prefix=no
   13632       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13633       runpath_var=LD_RUN_PATH
   13634       ;;
   13635     siemens)
   13636       need_lib_prefix=no
   13637       ;;
   13638     motorola)
   13639       need_lib_prefix=no
   13640       need_version=no
   13641       shlibpath_overrides_runpath=no
   13642       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13643       ;;
   13644   esac
   13645   ;;
   13646 
   13647 sysv4*MP*)
   13648   if test -d /usr/nec ;then
   13649     version_type=linux
   13650     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13651     soname_spec='$libname${shared_ext}.$major'
   13652     shlibpath_var=LD_LIBRARY_PATH
   13653   fi
   13654   ;;
   13655 
   13656 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13657   version_type=freebsd-elf
   13658   need_lib_prefix=no
   13659   need_version=no
   13660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13661   soname_spec='${libname}${release}${shared_ext}$major'
   13662   shlibpath_var=LD_LIBRARY_PATH
   13663   hardcode_into_libs=yes
   13664   if test "$with_gnu_ld" = yes; then
   13665     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13666     shlibpath_overrides_runpath=no
   13667   else
   13668     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13669     shlibpath_overrides_runpath=yes
   13670     case $host_os in
   13671       sco3.2v5*)
   13672         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13673 	;;
   13674     esac
   13675   fi
   13676   sys_lib_dlsearch_path_spec='/usr/lib'
   13677   ;;
   13678 
   13679 uts4*)
   13680   version_type=linux
   13681   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13682   soname_spec='${libname}${release}${shared_ext}$major'
   13683   shlibpath_var=LD_LIBRARY_PATH
   13684   ;;
   13685 
   13686 *)
   13687   dynamic_linker=no
   13688   ;;
   13689 esac
   13690 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13691 $as_echo "$dynamic_linker" >&6; }
   13692 test "$dynamic_linker" = no && can_build_shared=no
   13693 
   13694 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13695   $as_echo_n "(cached) " >&6
   13696 else
   13697   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13698 fi
   13699 
   13700 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13701 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13702   $as_echo_n "(cached) " >&6
   13703 else
   13704   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13705 fi
   13706 
   13707 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13708 
   13709 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13710 if test "$GCC" = yes; then
   13711   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13712 fi
   13713 
   13714 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13715 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13716 hardcode_action_CXX=
   13717 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13718    test -n "$runpath_var_CXX" || \
   13719    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13720 
   13721   # We can hardcode non-existant directories.
   13722   if test "$hardcode_direct_CXX" != no &&
   13723      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13724      # have to relink, otherwise we might link with an installed library
   13725      # when we should be linking with a yet-to-be-installed one
   13726      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13727      test "$hardcode_minus_L_CXX" != no; then
   13728     # Linking always hardcodes the temporary library directory.
   13729     hardcode_action_CXX=relink
   13730   else
   13731     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13732     hardcode_action_CXX=immediate
   13733   fi
   13734 else
   13735   # We cannot hardcode anything, or else we can only hardcode existing
   13736   # directories.
   13737   hardcode_action_CXX=unsupported
   13738 fi
   13739 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13740 $as_echo "$hardcode_action_CXX" >&6; }
   13741 
   13742 if test "$hardcode_action_CXX" = relink; then
   13743   # Fast installation is not supported
   13744   enable_fast_install=no
   13745 elif test "$shlibpath_overrides_runpath" = yes ||
   13746      test "$enable_shared" = no; then
   13747   # Fast installation is not necessary
   13748   enable_fast_install=needless
   13749 fi
   13750 
   13751 
   13752 # The else clause should only fire when bootstrapping the
   13753 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13754 # with your package, and you will get complaints that there are
   13755 # no rules to generate ltmain.sh.
   13756 if test -f "$ltmain"; then
   13757   # See if we are running on zsh, and set the options which allow our commands through
   13758   # without removal of \ escapes.
   13759   if test -n "${ZSH_VERSION+set}" ; then
   13760     setopt NO_GLOB_SUBST
   13761   fi
   13762   # Now quote all the things that may contain metacharacters while being
   13763   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13764   # variables and quote the copies for generation of the libtool script.
   13765   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13766     SED SHELL STRIP \
   13767     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13768     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13769     deplibs_check_method reload_flag reload_cmds need_locks \
   13770     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13771     lt_cv_sys_global_symbol_to_c_name_address \
   13772     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13773     old_postinstall_cmds old_postuninstall_cmds \
   13774     compiler_CXX \
   13775     CC_CXX \
   13776     LD_CXX \
   13777     lt_prog_compiler_wl_CXX \
   13778     lt_prog_compiler_pic_CXX \
   13779     lt_prog_compiler_static_CXX \
   13780     lt_prog_compiler_no_builtin_flag_CXX \
   13781     export_dynamic_flag_spec_CXX \
   13782     thread_safe_flag_spec_CXX \
   13783     whole_archive_flag_spec_CXX \
   13784     enable_shared_with_static_runtimes_CXX \
   13785     old_archive_cmds_CXX \
   13786     old_archive_from_new_cmds_CXX \
   13787     predep_objects_CXX \
   13788     postdep_objects_CXX \
   13789     predeps_CXX \
   13790     postdeps_CXX \
   13791     compiler_lib_search_path_CXX \
   13792     compiler_lib_search_dirs_CXX \
   13793     archive_cmds_CXX \
   13794     archive_expsym_cmds_CXX \
   13795     postinstall_cmds_CXX \
   13796     postuninstall_cmds_CXX \
   13797     old_archive_from_expsyms_cmds_CXX \
   13798     allow_undefined_flag_CXX \
   13799     no_undefined_flag_CXX \
   13800     export_symbols_cmds_CXX \
   13801     hardcode_libdir_flag_spec_CXX \
   13802     hardcode_libdir_flag_spec_ld_CXX \
   13803     hardcode_libdir_separator_CXX \
   13804     hardcode_automatic_CXX \
   13805     module_cmds_CXX \
   13806     module_expsym_cmds_CXX \
   13807     lt_cv_prog_compiler_c_o_CXX \
   13808     fix_srcfile_path_CXX \
   13809     exclude_expsyms_CXX \
   13810     include_expsyms_CXX; do
   13811 
   13812     case $var in
   13813     old_archive_cmds_CXX | \
   13814     old_archive_from_new_cmds_CXX | \
   13815     archive_cmds_CXX | \
   13816     archive_expsym_cmds_CXX | \
   13817     module_cmds_CXX | \
   13818     module_expsym_cmds_CXX | \
   13819     old_archive_from_expsyms_cmds_CXX | \
   13820     export_symbols_cmds_CXX | \
   13821     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13822     postinstall_cmds | postuninstall_cmds | \
   13823     old_postinstall_cmds | old_postuninstall_cmds | \
   13824     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13825       # Double-quote double-evaled strings.
   13826       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13827       ;;
   13828     *)
   13829       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13830       ;;
   13831     esac
   13832   done
   13833 
   13834   case $lt_echo in
   13835   *'\$0 --fallback-echo"')
   13836     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13837     ;;
   13838   esac
   13839 
   13840 cfgfile="$ofile"
   13841 
   13842   cat <<__EOF__ >> "$cfgfile"
   13843 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13844 
   13845 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13846 
   13847 # Shell to use when invoking shell scripts.
   13848 SHELL=$lt_SHELL
   13849 
   13850 # Whether or not to build shared libraries.
   13851 build_libtool_libs=$enable_shared
   13852 
   13853 # Whether or not to build static libraries.
   13854 build_old_libs=$enable_static
   13855 
   13856 # Whether or not to add -lc for building shared libraries.
   13857 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13858 
   13859 # Whether or not to disallow shared libs when runtime libs are static
   13860 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13861 
   13862 # Whether or not to optimize for fast installation.
   13863 fast_install=$enable_fast_install
   13864 
   13865 # The host system.
   13866 host_alias=$host_alias
   13867 host=$host
   13868 host_os=$host_os
   13869 
   13870 # The build system.
   13871 build_alias=$build_alias
   13872 build=$build
   13873 build_os=$build_os
   13874 
   13875 # An echo program that does not interpret backslashes.
   13876 echo=$lt_echo
   13877 
   13878 # The archiver.
   13879 AR=$lt_AR
   13880 AR_FLAGS=$lt_AR_FLAGS
   13881 
   13882 # A C compiler.
   13883 LTCC=$lt_LTCC
   13884 
   13885 # LTCC compiler flags.
   13886 LTCFLAGS=$lt_LTCFLAGS
   13887 
   13888 # A language-specific compiler.
   13889 CC=$lt_compiler_CXX
   13890 
   13891 # Is the compiler the GNU C compiler?
   13892 with_gcc=$GCC_CXX
   13893 
   13894 # An ERE matcher.
   13895 EGREP=$lt_EGREP
   13896 
   13897 # The linker used to build libraries.
   13898 LD=$lt_LD_CXX
   13899 
   13900 # Whether we need hard or soft links.
   13901 LN_S=$lt_LN_S
   13902 
   13903 # A BSD-compatible nm program.
   13904 NM=$lt_NM
   13905 
   13906 # A symbol stripping program
   13907 STRIP=$lt_STRIP
   13908 
   13909 # Used to examine libraries when file_magic_cmd begins "file"
   13910 MAGIC_CMD=$MAGIC_CMD
   13911 
   13912 # Used on cygwin: DLL creation program.
   13913 DLLTOOL="$DLLTOOL"
   13914 
   13915 # Used on cygwin: object dumper.
   13916 OBJDUMP="$OBJDUMP"
   13917 
   13918 # Used on cygwin: assembler.
   13919 AS="$AS"
   13920 
   13921 # The name of the directory that contains temporary libtool files.
   13922 objdir=$objdir
   13923 
   13924 # How to create reloadable object files.
   13925 reload_flag=$lt_reload_flag
   13926 reload_cmds=$lt_reload_cmds
   13927 
   13928 # How to pass a linker flag through the compiler.
   13929 wl=$lt_lt_prog_compiler_wl_CXX
   13930 
   13931 # Object file suffix (normally "o").
   13932 objext="$ac_objext"
   13933 
   13934 # Old archive suffix (normally "a").
   13935 libext="$libext"
   13936 
   13937 # Shared library suffix (normally ".so").
   13938 shrext_cmds='$shrext_cmds'
   13939 
   13940 # Executable file suffix (normally "").
   13941 exeext="$exeext"
   13942 
   13943 # Additional compiler flags for building library objects.
   13944 pic_flag=$lt_lt_prog_compiler_pic_CXX
   13945 pic_mode=$pic_mode
   13946 
   13947 # What is the maximum length of a command?
   13948 max_cmd_len=$lt_cv_sys_max_cmd_len
   13949 
   13950 # Does compiler simultaneously support -c and -o options?
   13951 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   13952 
   13953 # Must we lock files when doing compilation?
   13954 need_locks=$lt_need_locks
   13955 
   13956 # Do we need the lib prefix for modules?
   13957 need_lib_prefix=$need_lib_prefix
   13958 
   13959 # Do we need a version for libraries?
   13960 need_version=$need_version
   13961 
   13962 # Whether dlopen is supported.
   13963 dlopen_support=$enable_dlopen
   13964 
   13965 # Whether dlopen of programs is supported.
   13966 dlopen_self=$enable_dlopen_self
   13967 
   13968 # Whether dlopen of statically linked programs is supported.
   13969 dlopen_self_static=$enable_dlopen_self_static
   13970 
   13971 # Compiler flag to prevent dynamic linking.
   13972 link_static_flag=$lt_lt_prog_compiler_static_CXX
   13973 
   13974 # Compiler flag to turn off builtin functions.
   13975 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   13976 
   13977 # Compiler flag to allow reflexive dlopens.
   13978 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   13979 
   13980 # Compiler flag to generate shared objects directly from archives.
   13981 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   13982 
   13983 # Compiler flag to generate thread-safe objects.
   13984 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   13985 
   13986 # Library versioning type.
   13987 version_type=$version_type
   13988 
   13989 # Format of library name prefix.
   13990 libname_spec=$lt_libname_spec
   13991 
   13992 # List of archive names.  First name is the real one, the rest are links.
   13993 # The last name is the one that the linker finds with -lNAME.
   13994 library_names_spec=$lt_library_names_spec
   13995 
   13996 # The coded name of the library, if different from the real name.
   13997 soname_spec=$lt_soname_spec
   13998 
   13999 # Commands used to build and install an old-style archive.
   14000 RANLIB=$lt_RANLIB
   14001 old_archive_cmds=$lt_old_archive_cmds_CXX
   14002 old_postinstall_cmds=$lt_old_postinstall_cmds
   14003 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14004 
   14005 # Create an old-style archive from a shared archive.
   14006 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14007 
   14008 # Create a temporary old-style archive to link instead of a shared archive.
   14009 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14010 
   14011 # Commands used to build and install a shared archive.
   14012 archive_cmds=$lt_archive_cmds_CXX
   14013 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14014 postinstall_cmds=$lt_postinstall_cmds
   14015 postuninstall_cmds=$lt_postuninstall_cmds
   14016 
   14017 # Commands used to build a loadable module (assumed same as above if empty)
   14018 module_cmds=$lt_module_cmds_CXX
   14019 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14020 
   14021 # Commands to strip libraries.
   14022 old_striplib=$lt_old_striplib
   14023 striplib=$lt_striplib
   14024 
   14025 # Dependencies to place before the objects being linked to create a
   14026 # shared library.
   14027 predep_objects=$lt_predep_objects_CXX
   14028 
   14029 # Dependencies to place after the objects being linked to create a
   14030 # shared library.
   14031 postdep_objects=$lt_postdep_objects_CXX
   14032 
   14033 # Dependencies to place before the objects being linked to create a
   14034 # shared library.
   14035 predeps=$lt_predeps_CXX
   14036 
   14037 # Dependencies to place after the objects being linked to create a
   14038 # shared library.
   14039 postdeps=$lt_postdeps_CXX
   14040 
   14041 # The directories searched by this compiler when creating a shared
   14042 # library
   14043 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14044 
   14045 # The library search path used internally by the compiler when linking
   14046 # a shared library.
   14047 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14048 
   14049 # Method to check whether dependent libraries are shared objects.
   14050 deplibs_check_method=$lt_deplibs_check_method
   14051 
   14052 # Command to use when deplibs_check_method == file_magic.
   14053 file_magic_cmd=$lt_file_magic_cmd
   14054 
   14055 # Flag that allows shared libraries with undefined symbols to be built.
   14056 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14057 
   14058 # Flag that forces no undefined symbols.
   14059 no_undefined_flag=$lt_no_undefined_flag_CXX
   14060 
   14061 # Commands used to finish a libtool library installation in a directory.
   14062 finish_cmds=$lt_finish_cmds
   14063 
   14064 # Same as above, but a single script fragment to be evaled but not shown.
   14065 finish_eval=$lt_finish_eval
   14066 
   14067 # Take the output of nm and produce a listing of raw symbols and C names.
   14068 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14069 
   14070 # Transform the output of nm in a proper C declaration
   14071 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14072 
   14073 # Transform the output of nm in a C name address pair
   14074 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14075 
   14076 # This is the shared library runtime path variable.
   14077 runpath_var=$runpath_var
   14078 
   14079 # This is the shared library path variable.
   14080 shlibpath_var=$shlibpath_var
   14081 
   14082 # Is shlibpath searched before the hard-coded library search path?
   14083 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14084 
   14085 # How to hardcode a shared library path into an executable.
   14086 hardcode_action=$hardcode_action_CXX
   14087 
   14088 # Whether we should hardcode library paths into libraries.
   14089 hardcode_into_libs=$hardcode_into_libs
   14090 
   14091 # Flag to hardcode \$libdir into a binary during linking.
   14092 # This must work even if \$libdir does not exist.
   14093 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14094 
   14095 # If ld is used when linking, flag to hardcode \$libdir into
   14096 # a binary during linking. This must work even if \$libdir does
   14097 # not exist.
   14098 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14099 
   14100 # Whether we need a single -rpath flag with a separated argument.
   14101 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14102 
   14103 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14104 # resulting binary.
   14105 hardcode_direct=$hardcode_direct_CXX
   14106 
   14107 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14108 # resulting binary.
   14109 hardcode_minus_L=$hardcode_minus_L_CXX
   14110 
   14111 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14112 # the resulting binary.
   14113 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14114 
   14115 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14116 # and all subsequent libraries and executables linked against it.
   14117 hardcode_automatic=$hardcode_automatic_CXX
   14118 
   14119 # Variables whose values should be saved in libtool wrapper scripts and
   14120 # restored at relink time.
   14121 variables_saved_for_relink="$variables_saved_for_relink"
   14122 
   14123 # Whether libtool must link a program against all its dependency libraries.
   14124 link_all_deplibs=$link_all_deplibs_CXX
   14125 
   14126 # Compile-time system search path for libraries
   14127 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14128 
   14129 # Run-time system search path for libraries
   14130 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14131 
   14132 # Fix the shell variable \$srcfile for the compiler.
   14133 fix_srcfile_path=$lt_fix_srcfile_path
   14134 
   14135 # Set to yes if exported symbols are required.
   14136 always_export_symbols=$always_export_symbols_CXX
   14137 
   14138 # The commands to list exported symbols.
   14139 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14140 
   14141 # The commands to extract the exported symbol list from a shared archive.
   14142 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14143 
   14144 # Symbols that should not be listed in the preloaded symbols.
   14145 exclude_expsyms=$lt_exclude_expsyms_CXX
   14146 
   14147 # Symbols that must always be exported.
   14148 include_expsyms=$lt_include_expsyms_CXX
   14149 
   14150 # ### END LIBTOOL TAG CONFIG: $tagname
   14151 
   14152 __EOF__
   14153 
   14154 
   14155 else
   14156   # If there is no Makefile yet, we rely on a make rule to execute
   14157   # `config.status --recheck' to rerun these tests and create the
   14158   # libtool script then.
   14159   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14160   if test -f "$ltmain_in"; then
   14161     test -f Makefile && make "$ltmain"
   14162   fi
   14163 fi
   14164 
   14165 
   14166 ac_ext=c
   14167 ac_cpp='$CPP $CPPFLAGS'
   14168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14171 
   14172 CC=$lt_save_CC
   14173 LDCXX=$LD
   14174 LD=$lt_save_LD
   14175 GCC=$lt_save_GCC
   14176 with_gnu_ldcxx=$with_gnu_ld
   14177 with_gnu_ld=$lt_save_with_gnu_ld
   14178 lt_cv_path_LDCXX=$lt_cv_path_LD
   14179 lt_cv_path_LD=$lt_save_path_LD
   14180 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14181 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14182 
   14183 	else
   14184 	  tagname=""
   14185 	fi
   14186 	;;
   14187 
   14188       F77)
   14189 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14190 
   14191 ac_ext=f
   14192 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14193 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14194 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14195 
   14196 
   14197 archive_cmds_need_lc_F77=no
   14198 allow_undefined_flag_F77=
   14199 always_export_symbols_F77=no
   14200 archive_expsym_cmds_F77=
   14201 export_dynamic_flag_spec_F77=
   14202 hardcode_direct_F77=no
   14203 hardcode_libdir_flag_spec_F77=
   14204 hardcode_libdir_flag_spec_ld_F77=
   14205 hardcode_libdir_separator_F77=
   14206 hardcode_minus_L_F77=no
   14207 hardcode_automatic_F77=no
   14208 module_cmds_F77=
   14209 module_expsym_cmds_F77=
   14210 link_all_deplibs_F77=unknown
   14211 old_archive_cmds_F77=$old_archive_cmds
   14212 no_undefined_flag_F77=
   14213 whole_archive_flag_spec_F77=
   14214 enable_shared_with_static_runtimes_F77=no
   14215 
   14216 # Source file extension for f77 test sources.
   14217 ac_ext=f
   14218 
   14219 # Object file extension for compiled f77 test sources.
   14220 objext=o
   14221 objext_F77=$objext
   14222 
   14223 # Code to be used in simple compile tests
   14224 lt_simple_compile_test_code="\
   14225       subroutine t
   14226       return
   14227       end
   14228 "
   14229 
   14230 # Code to be used in simple link tests
   14231 lt_simple_link_test_code="\
   14232       program t
   14233       end
   14234 "
   14235 
   14236 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14237 
   14238 # If no C compiler was specified, use CC.
   14239 LTCC=${LTCC-"$CC"}
   14240 
   14241 # If no C compiler flags were specified, use CFLAGS.
   14242 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14243 
   14244 # Allow CC to be a program name with arguments.
   14245 compiler=$CC
   14246 
   14247 
   14248 # save warnings/boilerplate of simple test code
   14249 ac_outfile=conftest.$ac_objext
   14250 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14251 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14252 _lt_compiler_boilerplate=`cat conftest.err`
   14253 $rm conftest*
   14254 
   14255 ac_outfile=conftest.$ac_objext
   14256 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14257 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14258 _lt_linker_boilerplate=`cat conftest.err`
   14259 $rm -r conftest*
   14260 
   14261 
   14262 # Allow CC to be a program name with arguments.
   14263 lt_save_CC="$CC"
   14264 CC=${F77-"f77"}
   14265 compiler=$CC
   14266 compiler_F77=$CC
   14267 for cc_temp in $compiler""; do
   14268   case $cc_temp in
   14269     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14270     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14271     \-*) ;;
   14272     *) break;;
   14273   esac
   14274 done
   14275 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14276 
   14277 
   14278 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14279 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14280 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14281 $as_echo "$can_build_shared" >&6; }
   14282 
   14283 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14284 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14285 test "$can_build_shared" = "no" && enable_shared=no
   14286 
   14287 # On AIX, shared libraries and static libraries use the same namespace, and
   14288 # are all built from PIC.
   14289 case $host_os in
   14290 aix3*)
   14291   test "$enable_shared" = yes && enable_static=no
   14292   if test -n "$RANLIB"; then
   14293     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14294     postinstall_cmds='$RANLIB $lib'
   14295   fi
   14296   ;;
   14297 aix[4-9]*)
   14298   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14299     test "$enable_shared" = yes && enable_static=no
   14300   fi
   14301   ;;
   14302 esac
   14303 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14304 $as_echo "$enable_shared" >&6; }
   14305 
   14306 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14307 $as_echo_n "checking whether to build static libraries... " >&6; }
   14308 # Make sure either enable_shared or enable_static is yes.
   14309 test "$enable_shared" = yes || enable_static=yes
   14310 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14311 $as_echo "$enable_static" >&6; }
   14312 
   14313 GCC_F77="$G77"
   14314 LD_F77="$LD"
   14315 
   14316 lt_prog_compiler_wl_F77=
   14317 lt_prog_compiler_pic_F77=
   14318 lt_prog_compiler_static_F77=
   14319 
   14320 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14321 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14322 
   14323   if test "$GCC" = yes; then
   14324     lt_prog_compiler_wl_F77='-Wl,'
   14325     lt_prog_compiler_static_F77='-static'
   14326 
   14327     case $host_os in
   14328       aix*)
   14329       # All AIX code is PIC.
   14330       if test "$host_cpu" = ia64; then
   14331 	# AIX 5 now supports IA64 processor
   14332 	lt_prog_compiler_static_F77='-Bstatic'
   14333       fi
   14334       ;;
   14335 
   14336     amigaos*)
   14337       # FIXME: we need at least 68020 code to build shared libraries, but
   14338       # adding the `-m68020' flag to GCC prevents building anything better,
   14339       # like `-m68040'.
   14340       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14341       ;;
   14342 
   14343     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14344       # PIC is the default for these OSes.
   14345       ;;
   14346 
   14347     mingw* | cygwin* | pw32* | os2*)
   14348       # This hack is so that the source file can tell whether it is being
   14349       # built for inclusion in a dll (and should export symbols for example).
   14350       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14351       # (--disable-auto-import) libraries
   14352       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14353       ;;
   14354 
   14355     darwin* | rhapsody*)
   14356       # PIC is the default on this platform
   14357       # Common symbols not allowed in MH_DYLIB files
   14358       lt_prog_compiler_pic_F77='-fno-common'
   14359       ;;
   14360 
   14361     interix[3-9]*)
   14362       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14363       # Instead, we relocate shared libraries at runtime.
   14364       ;;
   14365 
   14366     msdosdjgpp*)
   14367       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14368       # on systems that don't support them.
   14369       lt_prog_compiler_can_build_shared_F77=no
   14370       enable_shared=no
   14371       ;;
   14372 
   14373     sysv4*MP*)
   14374       if test -d /usr/nec; then
   14375 	lt_prog_compiler_pic_F77=-Kconform_pic
   14376       fi
   14377       ;;
   14378 
   14379     hpux*)
   14380       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14381       # not for PA HP-UX.
   14382       case $host_cpu in
   14383       hppa*64*|ia64*)
   14384 	# +Z the default
   14385 	;;
   14386       *)
   14387 	lt_prog_compiler_pic_F77='-fPIC'
   14388 	;;
   14389       esac
   14390       ;;
   14391 
   14392     *)
   14393       lt_prog_compiler_pic_F77='-fPIC'
   14394       ;;
   14395     esac
   14396   else
   14397     # PORTME Check for flag to pass linker flags through the system compiler.
   14398     case $host_os in
   14399     aix*)
   14400       lt_prog_compiler_wl_F77='-Wl,'
   14401       if test "$host_cpu" = ia64; then
   14402 	# AIX 5 now supports IA64 processor
   14403 	lt_prog_compiler_static_F77='-Bstatic'
   14404       else
   14405 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14406       fi
   14407       ;;
   14408       darwin*)
   14409         # PIC is the default on this platform
   14410         # Common symbols not allowed in MH_DYLIB files
   14411        case $cc_basename in
   14412          xlc*)
   14413          lt_prog_compiler_pic_F77='-qnocommon'
   14414          lt_prog_compiler_wl_F77='-Wl,'
   14415          ;;
   14416        esac
   14417        ;;
   14418 
   14419     mingw* | cygwin* | pw32* | os2*)
   14420       # This hack is so that the source file can tell whether it is being
   14421       # built for inclusion in a dll (and should export symbols for example).
   14422       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14423       ;;
   14424 
   14425     hpux9* | hpux10* | hpux11*)
   14426       lt_prog_compiler_wl_F77='-Wl,'
   14427       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14428       # not for PA HP-UX.
   14429       case $host_cpu in
   14430       hppa*64*|ia64*)
   14431 	# +Z the default
   14432 	;;
   14433       *)
   14434 	lt_prog_compiler_pic_F77='+Z'
   14435 	;;
   14436       esac
   14437       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14438       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14439       ;;
   14440 
   14441     irix5* | irix6* | nonstopux*)
   14442       lt_prog_compiler_wl_F77='-Wl,'
   14443       # PIC (with -KPIC) is the default.
   14444       lt_prog_compiler_static_F77='-non_shared'
   14445       ;;
   14446 
   14447     newsos6)
   14448       lt_prog_compiler_pic_F77='-KPIC'
   14449       lt_prog_compiler_static_F77='-Bstatic'
   14450       ;;
   14451 
   14452     linux* | k*bsd*-gnu)
   14453       case $cc_basename in
   14454       icc* | ecc*)
   14455 	lt_prog_compiler_wl_F77='-Wl,'
   14456 	lt_prog_compiler_pic_F77='-KPIC'
   14457 	lt_prog_compiler_static_F77='-static'
   14458         ;;
   14459       pgcc* | pgf77* | pgf90* | pgf95*)
   14460         # Portland Group compilers (*not* the Pentium gcc compiler,
   14461 	# which looks to be a dead project)
   14462 	lt_prog_compiler_wl_F77='-Wl,'
   14463 	lt_prog_compiler_pic_F77='-fpic'
   14464 	lt_prog_compiler_static_F77='-Bstatic'
   14465         ;;
   14466       ccc*)
   14467         lt_prog_compiler_wl_F77='-Wl,'
   14468         # All Alpha code is PIC.
   14469         lt_prog_compiler_static_F77='-non_shared'
   14470         ;;
   14471       *)
   14472         case `$CC -V 2>&1 | sed 5q` in
   14473 	*Sun\ C*)
   14474 	  # Sun C 5.9
   14475 	  lt_prog_compiler_pic_F77='-KPIC'
   14476 	  lt_prog_compiler_static_F77='-Bstatic'
   14477 	  lt_prog_compiler_wl_F77='-Wl,'
   14478 	  ;;
   14479 	*Sun\ F*)
   14480 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14481 	  lt_prog_compiler_pic_F77='-KPIC'
   14482 	  lt_prog_compiler_static_F77='-Bstatic'
   14483 	  lt_prog_compiler_wl_F77=''
   14484 	  ;;
   14485 	esac
   14486 	;;
   14487       esac
   14488       ;;
   14489 
   14490     osf3* | osf4* | osf5*)
   14491       lt_prog_compiler_wl_F77='-Wl,'
   14492       # All OSF/1 code is PIC.
   14493       lt_prog_compiler_static_F77='-non_shared'
   14494       ;;
   14495 
   14496     rdos*)
   14497       lt_prog_compiler_static_F77='-non_shared'
   14498       ;;
   14499 
   14500     solaris*)
   14501       lt_prog_compiler_pic_F77='-KPIC'
   14502       lt_prog_compiler_static_F77='-Bstatic'
   14503       case $cc_basename in
   14504       f77* | f90* | f95*)
   14505 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14506       *)
   14507 	lt_prog_compiler_wl_F77='-Wl,';;
   14508       esac
   14509       ;;
   14510 
   14511     sunos4*)
   14512       lt_prog_compiler_wl_F77='-Qoption ld '
   14513       lt_prog_compiler_pic_F77='-PIC'
   14514       lt_prog_compiler_static_F77='-Bstatic'
   14515       ;;
   14516 
   14517     sysv4 | sysv4.2uw2* | sysv4.3*)
   14518       lt_prog_compiler_wl_F77='-Wl,'
   14519       lt_prog_compiler_pic_F77='-KPIC'
   14520       lt_prog_compiler_static_F77='-Bstatic'
   14521       ;;
   14522 
   14523     sysv4*MP*)
   14524       if test -d /usr/nec ;then
   14525 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14526 	lt_prog_compiler_static_F77='-Bstatic'
   14527       fi
   14528       ;;
   14529 
   14530     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14531       lt_prog_compiler_wl_F77='-Wl,'
   14532       lt_prog_compiler_pic_F77='-KPIC'
   14533       lt_prog_compiler_static_F77='-Bstatic'
   14534       ;;
   14535 
   14536     unicos*)
   14537       lt_prog_compiler_wl_F77='-Wl,'
   14538       lt_prog_compiler_can_build_shared_F77=no
   14539       ;;
   14540 
   14541     uts4*)
   14542       lt_prog_compiler_pic_F77='-pic'
   14543       lt_prog_compiler_static_F77='-Bstatic'
   14544       ;;
   14545 
   14546     *)
   14547       lt_prog_compiler_can_build_shared_F77=no
   14548       ;;
   14549     esac
   14550   fi
   14551 
   14552 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14553 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14554 
   14555 #
   14556 # Check to make sure the PIC flag actually works.
   14557 #
   14558 if test -n "$lt_prog_compiler_pic_F77"; then
   14559 
   14560 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14561 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14562 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14563   $as_echo_n "(cached) " >&6
   14564 else
   14565   lt_cv_prog_compiler_pic_works_F77=no
   14566   ac_outfile=conftest.$ac_objext
   14567    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14568    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14569    # Insert the option either (1) after the last *FLAGS variable, or
   14570    # (2) before a word containing "conftest.", or (3) at the end.
   14571    # Note that $ac_compile itself does not contain backslashes and begins
   14572    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14573    # The option is referenced via a variable to avoid confusing sed.
   14574    lt_compile=`echo "$ac_compile" | $SED \
   14575    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14576    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14577    -e 's:$: $lt_compiler_flag:'`
   14578    (eval echo "\"\$as_me:14578: $lt_compile\"" >&5)
   14579    (eval "$lt_compile" 2>conftest.err)
   14580    ac_status=$?
   14581    cat conftest.err >&5
   14582    echo "$as_me:14582: \$? = $ac_status" >&5
   14583    if (exit $ac_status) && test -s "$ac_outfile"; then
   14584      # The compiler can only warn and ignore the option if not recognized
   14585      # So say no if there are warnings other than the usual output.
   14586      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14587      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14588      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14589        lt_cv_prog_compiler_pic_works_F77=yes
   14590      fi
   14591    fi
   14592    $rm conftest*
   14593 
   14594 fi
   14595 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14596 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14597 
   14598 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14599     case $lt_prog_compiler_pic_F77 in
   14600      "" | " "*) ;;
   14601      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14602      esac
   14603 else
   14604     lt_prog_compiler_pic_F77=
   14605      lt_prog_compiler_can_build_shared_F77=no
   14606 fi
   14607 
   14608 fi
   14609 case $host_os in
   14610   # For platforms which do not support PIC, -DPIC is meaningless:
   14611   *djgpp*)
   14612     lt_prog_compiler_pic_F77=
   14613     ;;
   14614   *)
   14615     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14616     ;;
   14617 esac
   14618 
   14619 #
   14620 # Check to make sure the static flag actually works.
   14621 #
   14622 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14623 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14624 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14625 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14626   $as_echo_n "(cached) " >&6
   14627 else
   14628   lt_cv_prog_compiler_static_works_F77=no
   14629    save_LDFLAGS="$LDFLAGS"
   14630    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14631    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14632    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14633      # The linker can only warn and ignore the option if not recognized
   14634      # So say no if there are warnings
   14635      if test -s conftest.err; then
   14636        # Append any errors to the config.log.
   14637        cat conftest.err 1>&5
   14638        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14639        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14640        if diff conftest.exp conftest.er2 >/dev/null; then
   14641          lt_cv_prog_compiler_static_works_F77=yes
   14642        fi
   14643      else
   14644        lt_cv_prog_compiler_static_works_F77=yes
   14645      fi
   14646    fi
   14647    $rm -r conftest*
   14648    LDFLAGS="$save_LDFLAGS"
   14649 
   14650 fi
   14651 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14652 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14653 
   14654 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14655     :
   14656 else
   14657     lt_prog_compiler_static_F77=
   14658 fi
   14659 
   14660 
   14661 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14662 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14663 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14664   $as_echo_n "(cached) " >&6
   14665 else
   14666   lt_cv_prog_compiler_c_o_F77=no
   14667    $rm -r conftest 2>/dev/null
   14668    mkdir conftest
   14669    cd conftest
   14670    mkdir out
   14671    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14672 
   14673    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14674    # Insert the option either (1) after the last *FLAGS variable, or
   14675    # (2) before a word containing "conftest.", or (3) at the end.
   14676    # Note that $ac_compile itself does not contain backslashes and begins
   14677    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14678    lt_compile=`echo "$ac_compile" | $SED \
   14679    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14680    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14681    -e 's:$: $lt_compiler_flag:'`
   14682    (eval echo "\"\$as_me:14682: $lt_compile\"" >&5)
   14683    (eval "$lt_compile" 2>out/conftest.err)
   14684    ac_status=$?
   14685    cat out/conftest.err >&5
   14686    echo "$as_me:14686: \$? = $ac_status" >&5
   14687    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14688    then
   14689      # The compiler can only warn and ignore the option if not recognized
   14690      # So say no if there are warnings
   14691      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14692      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14693      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14694        lt_cv_prog_compiler_c_o_F77=yes
   14695      fi
   14696    fi
   14697    chmod u+w . 2>&5
   14698    $rm conftest*
   14699    # SGI C++ compiler will create directory out/ii_files/ for
   14700    # template instantiation
   14701    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14702    $rm out/* && rmdir out
   14703    cd ..
   14704    rmdir conftest
   14705    $rm conftest*
   14706 
   14707 fi
   14708 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14709 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14710 
   14711 
   14712 hard_links="nottested"
   14713 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14714   # do not overwrite the value of need_locks provided by the user
   14715   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14716 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14717   hard_links=yes
   14718   $rm conftest*
   14719   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14720   touch conftest.a
   14721   ln conftest.a conftest.b 2>&5 || hard_links=no
   14722   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14723   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14724 $as_echo "$hard_links" >&6; }
   14725   if test "$hard_links" = no; then
   14726     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14727 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14728     need_locks=warn
   14729   fi
   14730 else
   14731   need_locks=no
   14732 fi
   14733 
   14734 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14735 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14736 
   14737   runpath_var=
   14738   allow_undefined_flag_F77=
   14739   enable_shared_with_static_runtimes_F77=no
   14740   archive_cmds_F77=
   14741   archive_expsym_cmds_F77=
   14742   old_archive_From_new_cmds_F77=
   14743   old_archive_from_expsyms_cmds_F77=
   14744   export_dynamic_flag_spec_F77=
   14745   whole_archive_flag_spec_F77=
   14746   thread_safe_flag_spec_F77=
   14747   hardcode_libdir_flag_spec_F77=
   14748   hardcode_libdir_flag_spec_ld_F77=
   14749   hardcode_libdir_separator_F77=
   14750   hardcode_direct_F77=no
   14751   hardcode_minus_L_F77=no
   14752   hardcode_shlibpath_var_F77=unsupported
   14753   link_all_deplibs_F77=unknown
   14754   hardcode_automatic_F77=no
   14755   module_cmds_F77=
   14756   module_expsym_cmds_F77=
   14757   always_export_symbols_F77=no
   14758   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14759   # include_expsyms should be a list of space-separated symbols to be *always*
   14760   # included in the symbol list
   14761   include_expsyms_F77=
   14762   # exclude_expsyms can be an extended regexp of symbols to exclude
   14763   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14764   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14765   # as well as any symbol that contains `d'.
   14766   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14767   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14768   # platforms (ab)use it in PIC code, but their linkers get confused if
   14769   # the symbol is explicitly referenced.  Since portable code cannot
   14770   # rely on this symbol name, it's probably fine to never include it in
   14771   # preloaded symbol tables.
   14772   # Exclude shared library initialization/finalization symbols.
   14773   extract_expsyms_cmds=
   14774   # Just being paranoid about ensuring that cc_basename is set.
   14775   for cc_temp in $compiler""; do
   14776   case $cc_temp in
   14777     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14778     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14779     \-*) ;;
   14780     *) break;;
   14781   esac
   14782 done
   14783 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14784 
   14785   case $host_os in
   14786   cygwin* | mingw* | pw32*)
   14787     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14788     # When not using gcc, we currently assume that we are using
   14789     # Microsoft Visual C++.
   14790     if test "$GCC" != yes; then
   14791       with_gnu_ld=no
   14792     fi
   14793     ;;
   14794   interix*)
   14795     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14796     with_gnu_ld=yes
   14797     ;;
   14798   openbsd*)
   14799     with_gnu_ld=no
   14800     ;;
   14801   esac
   14802 
   14803   ld_shlibs_F77=yes
   14804   if test "$with_gnu_ld" = yes; then
   14805     # If archive_cmds runs LD, not CC, wlarc should be empty
   14806     wlarc='${wl}'
   14807 
   14808     # Set some defaults for GNU ld with shared library support. These
   14809     # are reset later if shared libraries are not supported. Putting them
   14810     # here allows them to be overridden if necessary.
   14811     runpath_var=LD_RUN_PATH
   14812     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14813     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14814     # ancient GNU ld didn't support --whole-archive et. al.
   14815     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14816 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14817       else
   14818   	whole_archive_flag_spec_F77=
   14819     fi
   14820     supports_anon_versioning=no
   14821     case `$LD -v 2>/dev/null` in
   14822       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14823       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14824       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14825       *\ 2.11.*) ;; # other 2.11 versions
   14826       *) supports_anon_versioning=yes ;;
   14827     esac
   14828 
   14829     # See if GNU ld supports shared libraries.
   14830     case $host_os in
   14831     aix[3-9]*)
   14832       # On AIX/PPC, the GNU linker is very broken
   14833       if test "$host_cpu" != ia64; then
   14834 	ld_shlibs_F77=no
   14835 	cat <<EOF 1>&2
   14836 
   14837 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14838 *** to be unable to reliably create shared libraries on AIX.
   14839 *** Therefore, libtool is disabling shared libraries support.  If you
   14840 *** really care for shared libraries, you may want to modify your PATH
   14841 *** so that a non-GNU linker is found, and then restart.
   14842 
   14843 EOF
   14844       fi
   14845       ;;
   14846 
   14847     amigaos*)
   14848       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)'
   14849       hardcode_libdir_flag_spec_F77='-L$libdir'
   14850       hardcode_minus_L_F77=yes
   14851 
   14852       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14853       # that the semantics of dynamic libraries on AmigaOS, at least up
   14854       # to version 4, is to share data among multiple programs linked
   14855       # with the same dynamic library.  Since this doesn't match the
   14856       # behavior of shared libraries on other platforms, we can't use
   14857       # them.
   14858       ld_shlibs_F77=no
   14859       ;;
   14860 
   14861     beos*)
   14862       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14863 	allow_undefined_flag_F77=unsupported
   14864 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14865 	# support --undefined.  This deserves some investigation.  FIXME
   14866 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14867       else
   14868 	ld_shlibs_F77=no
   14869       fi
   14870       ;;
   14871 
   14872     cygwin* | mingw* | pw32*)
   14873       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14874       # as there is no search path for DLLs.
   14875       hardcode_libdir_flag_spec_F77='-L$libdir'
   14876       allow_undefined_flag_F77=unsupported
   14877       always_export_symbols_F77=no
   14878       enable_shared_with_static_runtimes_F77=yes
   14879       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14880 
   14881       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14882         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14883 	# If the export-symbols file already is a .def file (1st line
   14884 	# is EXPORTS), use it as is; otherwise, prepend...
   14885 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14886 	  cp $export_symbols $output_objdir/$soname.def;
   14887 	else
   14888 	  echo EXPORTS > $output_objdir/$soname.def;
   14889 	  cat $export_symbols >> $output_objdir/$soname.def;
   14890 	fi~
   14891 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14892       else
   14893 	ld_shlibs_F77=no
   14894       fi
   14895       ;;
   14896 
   14897     interix[3-9]*)
   14898       hardcode_direct_F77=no
   14899       hardcode_shlibpath_var_F77=no
   14900       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14901       export_dynamic_flag_spec_F77='${wl}-E'
   14902       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14903       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14904       # default) and relocated if they conflict, which is a slow very memory
   14905       # consuming and fragmenting process.  To avoid this, we pick a random,
   14906       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14907       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14908       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'
   14909       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'
   14910       ;;
   14911 
   14912     gnu* | linux* | k*bsd*-gnu)
   14913       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14914 	tmp_addflag=
   14915 	case $cc_basename,$host_cpu in
   14916 	pgcc*)				# Portland Group C compiler
   14917 	  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'
   14918 	  tmp_addflag=' $pic_flag'
   14919 	  ;;
   14920 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14921 	  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'
   14922 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14923 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14924 	  tmp_addflag=' -i_dynamic' ;;
   14925 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14926 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14927 	ifc* | ifort*)			# Intel Fortran compiler
   14928 	  tmp_addflag=' -nofor_main' ;;
   14929 	esac
   14930 	case `$CC -V 2>&1 | sed 5q` in
   14931 	*Sun\ C*)			# Sun C 5.9
   14932 	  whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   14933 	  tmp_sharedflag='-G' ;;
   14934 	*Sun\ F*)			# Sun Fortran 8.3
   14935 	  tmp_sharedflag='-G' ;;
   14936 	*)
   14937 	  tmp_sharedflag='-shared' ;;
   14938 	esac
   14939 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14940 
   14941 	if test $supports_anon_versioning = yes; then
   14942 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14943   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   14944   $echo "local: *; };" >> $output_objdir/$libname.ver~
   14945 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   14946 	fi
   14947 	link_all_deplibs_F77=no
   14948       else
   14949 	ld_shlibs_F77=no
   14950       fi
   14951       ;;
   14952 
   14953     netbsd*)
   14954       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   14955 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   14956 	wlarc=
   14957       else
   14958 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14959 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14960       fi
   14961       ;;
   14962 
   14963     solaris*)
   14964       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   14965 	ld_shlibs_F77=no
   14966 	cat <<EOF 1>&2
   14967 
   14968 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   14969 *** create shared libraries on Solaris systems.  Therefore, libtool
   14970 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14971 *** binutils to release 2.9.1 or newer.  Another option is to modify
   14972 *** your PATH or compiler configuration so that the native linker is
   14973 *** used, and then restart.
   14974 
   14975 EOF
   14976       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14977 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14978 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   14979       else
   14980 	ld_shlibs_F77=no
   14981       fi
   14982       ;;
   14983 
   14984     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   14985       case `$LD -v 2>&1` in
   14986         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   14987 	ld_shlibs_F77=no
   14988 	cat <<_LT_EOF 1>&2
   14989 
   14990 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   14991 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   14992 *** is disabling shared libraries support.  We urge you to upgrade GNU
   14993 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   14994 *** your PATH or compiler configuration so that the native linker is
   14995 *** used, and then restart.
   14996 
   14997 _LT_EOF
   14998 	;;
   14999 	*)
   15000 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15001 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15002 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15003 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15004 	  else
   15005 	    ld_shlibs_F77=no
   15006 	  fi
   15007 	;;
   15008       esac
   15009       ;;
   15010 
   15011     sunos4*)
   15012       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15013       wlarc=
   15014       hardcode_direct_F77=yes
   15015       hardcode_shlibpath_var_F77=no
   15016       ;;
   15017 
   15018     *)
   15019       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15020 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15021 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15022       else
   15023 	ld_shlibs_F77=no
   15024       fi
   15025       ;;
   15026     esac
   15027 
   15028     if test "$ld_shlibs_F77" = no; then
   15029       runpath_var=
   15030       hardcode_libdir_flag_spec_F77=
   15031       export_dynamic_flag_spec_F77=
   15032       whole_archive_flag_spec_F77=
   15033     fi
   15034   else
   15035     # PORTME fill in a description of your system's linker (not GNU ld)
   15036     case $host_os in
   15037     aix3*)
   15038       allow_undefined_flag_F77=unsupported
   15039       always_export_symbols_F77=yes
   15040       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'
   15041       # Note: this linker hardcodes the directories in LIBPATH if there
   15042       # are no directories specified by -L.
   15043       hardcode_minus_L_F77=yes
   15044       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15045 	# Neither direct hardcoding nor static linking is supported with a
   15046 	# broken collect2.
   15047 	hardcode_direct_F77=unsupported
   15048       fi
   15049       ;;
   15050 
   15051     aix[4-9]*)
   15052       if test "$host_cpu" = ia64; then
   15053 	# On IA64, the linker does run time linking by default, so we don't
   15054 	# have to do anything special.
   15055 	aix_use_runtimelinking=no
   15056 	exp_sym_flag='-Bexport'
   15057 	no_entry_flag=""
   15058       else
   15059 	# If we're using GNU nm, then we don't want the "-C" option.
   15060 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15061 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15062 	  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'
   15063 	else
   15064 	  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'
   15065 	fi
   15066 	aix_use_runtimelinking=no
   15067 
   15068 	# Test if we are trying to use run time linking or normal
   15069 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15070 	# need to do runtime linking.
   15071 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15072 	  for ld_flag in $LDFLAGS; do
   15073   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15074   	    aix_use_runtimelinking=yes
   15075   	    break
   15076   	  fi
   15077 	  done
   15078 	  ;;
   15079 	esac
   15080 
   15081 	exp_sym_flag='-bexport'
   15082 	no_entry_flag='-bnoentry'
   15083       fi
   15084 
   15085       # When large executables or shared objects are built, AIX ld can
   15086       # have problems creating the table of contents.  If linking a library
   15087       # or program results in "error TOC overflow" add -mminimal-toc to
   15088       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15089       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15090 
   15091       archive_cmds_F77=''
   15092       hardcode_direct_F77=yes
   15093       hardcode_libdir_separator_F77=':'
   15094       link_all_deplibs_F77=yes
   15095 
   15096       if test "$GCC" = yes; then
   15097 	case $host_os in aix4.[012]|aix4.[012].*)
   15098 	# We only want to do this on AIX 4.2 and lower, the check
   15099 	# below for broken collect2 doesn't work under 4.3+
   15100 	  collect2name=`${CC} -print-prog-name=collect2`
   15101 	  if test -f "$collect2name" && \
   15102   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15103 	  then
   15104   	  # We have reworked collect2
   15105   	  :
   15106 	  else
   15107   	  # We have old collect2
   15108   	  hardcode_direct_F77=unsupported
   15109   	  # It fails to find uninstalled libraries when the uninstalled
   15110   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15111   	  # to unsupported forces relinking
   15112   	  hardcode_minus_L_F77=yes
   15113   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15114   	  hardcode_libdir_separator_F77=
   15115 	  fi
   15116 	  ;;
   15117 	esac
   15118 	shared_flag='-shared'
   15119 	if test "$aix_use_runtimelinking" = yes; then
   15120 	  shared_flag="$shared_flag "'${wl}-G'
   15121 	fi
   15122       else
   15123 	# not using gcc
   15124 	if test "$host_cpu" = ia64; then
   15125   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15126   	# chokes on -Wl,-G. The following line is correct:
   15127 	  shared_flag='-G'
   15128 	else
   15129 	  if test "$aix_use_runtimelinking" = yes; then
   15130 	    shared_flag='${wl}-G'
   15131 	  else
   15132 	    shared_flag='${wl}-bM:SRE'
   15133 	  fi
   15134 	fi
   15135       fi
   15136 
   15137       # It seems that -bexpall does not export symbols beginning with
   15138       # underscore (_), so it is better to generate a list of symbols to export.
   15139       always_export_symbols_F77=yes
   15140       if test "$aix_use_runtimelinking" = yes; then
   15141 	# Warning - without using the other runtime loading flags (-brtl),
   15142 	# -berok will link without error, but may produce a broken library.
   15143 	allow_undefined_flag_F77='-berok'
   15144        # Determine the default libpath from the value encoded in an empty executable.
   15145        cat >conftest.$ac_ext <<_ACEOF
   15146       program main
   15147 
   15148       end
   15149 _ACEOF
   15150 rm -f conftest.$ac_objext conftest$ac_exeext
   15151 if { (ac_try="$ac_link"
   15152 case "(($ac_try" in
   15153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15154   *) ac_try_echo=$ac_try;;
   15155 esac
   15156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15157 $as_echo "$ac_try_echo") >&5
   15158   (eval "$ac_link") 2>conftest.er1
   15159   ac_status=$?
   15160   grep -v '^ *+' conftest.er1 >conftest.err
   15161   rm -f conftest.er1
   15162   cat conftest.err >&5
   15163   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15164   (exit $ac_status); } && {
   15165 	 test -z "$ac_f77_werror_flag" ||
   15166 	 test ! -s conftest.err
   15167        } && test -s conftest$ac_exeext && {
   15168 	 test "$cross_compiling" = yes ||
   15169 	 $as_test_x conftest$ac_exeext
   15170        }; then
   15171 
   15172 lt_aix_libpath_sed='
   15173     /Import File Strings/,/^$/ {
   15174 	/^0/ {
   15175 	    s/^0  *\(.*\)$/\1/
   15176 	    p
   15177 	}
   15178     }'
   15179 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15180 # Check for a 64-bit object if we didn't find anything.
   15181 if test -z "$aix_libpath"; then
   15182   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15183 fi
   15184 else
   15185   $as_echo "$as_me: failed program was:" >&5
   15186 sed 's/^/| /' conftest.$ac_ext >&5
   15187 
   15188 
   15189 fi
   15190 
   15191 rm -rf conftest.dSYM
   15192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15193       conftest$ac_exeext conftest.$ac_ext
   15194 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15195 
   15196        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15197 	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"
   15198        else
   15199 	if test "$host_cpu" = ia64; then
   15200 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15201 	  allow_undefined_flag_F77="-z nodefs"
   15202 	  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"
   15203 	else
   15204 	 # Determine the default libpath from the value encoded in an empty executable.
   15205 	 cat >conftest.$ac_ext <<_ACEOF
   15206       program main
   15207 
   15208       end
   15209 _ACEOF
   15210 rm -f conftest.$ac_objext conftest$ac_exeext
   15211 if { (ac_try="$ac_link"
   15212 case "(($ac_try" in
   15213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15214   *) ac_try_echo=$ac_try;;
   15215 esac
   15216 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15217 $as_echo "$ac_try_echo") >&5
   15218   (eval "$ac_link") 2>conftest.er1
   15219   ac_status=$?
   15220   grep -v '^ *+' conftest.er1 >conftest.err
   15221   rm -f conftest.er1
   15222   cat conftest.err >&5
   15223   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15224   (exit $ac_status); } && {
   15225 	 test -z "$ac_f77_werror_flag" ||
   15226 	 test ! -s conftest.err
   15227        } && test -s conftest$ac_exeext && {
   15228 	 test "$cross_compiling" = yes ||
   15229 	 $as_test_x conftest$ac_exeext
   15230        }; then
   15231 
   15232 lt_aix_libpath_sed='
   15233     /Import File Strings/,/^$/ {
   15234 	/^0/ {
   15235 	    s/^0  *\(.*\)$/\1/
   15236 	    p
   15237 	}
   15238     }'
   15239 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15240 # Check for a 64-bit object if we didn't find anything.
   15241 if test -z "$aix_libpath"; then
   15242   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15243 fi
   15244 else
   15245   $as_echo "$as_me: failed program was:" >&5
   15246 sed 's/^/| /' conftest.$ac_ext >&5
   15247 
   15248 
   15249 fi
   15250 
   15251 rm -rf conftest.dSYM
   15252 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15253       conftest$ac_exeext conftest.$ac_ext
   15254 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15255 
   15256 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15257 	  # Warning - without using the other run time loading flags,
   15258 	  # -berok will link without error, but may produce a broken library.
   15259 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15260 	  allow_undefined_flag_F77=' ${wl}-berok'
   15261 	  # Exported symbols can be pulled into shared objects from archives
   15262 	  whole_archive_flag_spec_F77='$convenience'
   15263 	  archive_cmds_need_lc_F77=yes
   15264 	  # This is similar to how AIX traditionally builds its shared libraries.
   15265 	  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'
   15266 	fi
   15267       fi
   15268       ;;
   15269 
   15270     amigaos*)
   15271       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)'
   15272       hardcode_libdir_flag_spec_F77='-L$libdir'
   15273       hardcode_minus_L_F77=yes
   15274       # see comment about different semantics on the GNU ld section
   15275       ld_shlibs_F77=no
   15276       ;;
   15277 
   15278     bsdi[45]*)
   15279       export_dynamic_flag_spec_F77=-rdynamic
   15280       ;;
   15281 
   15282     cygwin* | mingw* | pw32*)
   15283       # When not using gcc, we currently assume that we are using
   15284       # Microsoft Visual C++.
   15285       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15286       # no search path for DLLs.
   15287       hardcode_libdir_flag_spec_F77=' '
   15288       allow_undefined_flag_F77=unsupported
   15289       # Tell ltmain to make .lib files, not .a files.
   15290       libext=lib
   15291       # Tell ltmain to make .dll files, not .so files.
   15292       shrext_cmds=".dll"
   15293       # FIXME: Setting linknames here is a bad hack.
   15294       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15295       # The linker will automatically build a .lib file if we build a DLL.
   15296       old_archive_From_new_cmds_F77='true'
   15297       # FIXME: Should let the user specify the lib program.
   15298       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15299       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15300       enable_shared_with_static_runtimes_F77=yes
   15301       ;;
   15302 
   15303     darwin* | rhapsody*)
   15304       case $host_os in
   15305         rhapsody* | darwin1.[012])
   15306          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15307          ;;
   15308        *) # Darwin 1.3 on
   15309          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15310            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15311          else
   15312            case ${MACOSX_DEPLOYMENT_TARGET} in
   15313              10.[012])
   15314                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15315                ;;
   15316              10.*)
   15317                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15318                ;;
   15319            esac
   15320          fi
   15321          ;;
   15322       esac
   15323       archive_cmds_need_lc_F77=no
   15324       hardcode_direct_F77=no
   15325       hardcode_automatic_F77=yes
   15326       hardcode_shlibpath_var_F77=unsupported
   15327       whole_archive_flag_spec_F77=''
   15328       link_all_deplibs_F77=yes
   15329     if test "$GCC" = yes ; then
   15330     	output_verbose_link_cmd='echo'
   15331         archive_cmds_F77="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15332         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15333         archive_expsym_cmds_F77="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   15334         module_expsym_cmds_F77="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   15335     else
   15336       case $cc_basename in
   15337         xlc*)
   15338          output_verbose_link_cmd='echo'
   15339          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15340          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15341           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15342          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   15343           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}'
   15344           ;;
   15345        *)
   15346          ld_shlibs_F77=no
   15347           ;;
   15348       esac
   15349     fi
   15350       ;;
   15351 
   15352     dgux*)
   15353       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15354       hardcode_libdir_flag_spec_F77='-L$libdir'
   15355       hardcode_shlibpath_var_F77=no
   15356       ;;
   15357 
   15358     freebsd1*)
   15359       ld_shlibs_F77=no
   15360       ;;
   15361 
   15362     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15363     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15364     # does not break anything, and helps significantly (at the cost of a little
   15365     # extra space).
   15366     freebsd2.2*)
   15367       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15368       hardcode_libdir_flag_spec_F77='-R$libdir'
   15369       hardcode_direct_F77=yes
   15370       hardcode_shlibpath_var_F77=no
   15371       ;;
   15372 
   15373     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15374     freebsd2*)
   15375       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15376       hardcode_direct_F77=yes
   15377       hardcode_minus_L_F77=yes
   15378       hardcode_shlibpath_var_F77=no
   15379       ;;
   15380 
   15381     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15382     freebsd* | dragonfly*)
   15383       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15384       hardcode_libdir_flag_spec_F77='-R$libdir'
   15385       hardcode_direct_F77=yes
   15386       hardcode_shlibpath_var_F77=no
   15387       ;;
   15388 
   15389     hpux9*)
   15390       if test "$GCC" = yes; then
   15391 	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'
   15392       else
   15393 	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'
   15394       fi
   15395       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15396       hardcode_libdir_separator_F77=:
   15397       hardcode_direct_F77=yes
   15398 
   15399       # hardcode_minus_L: Not really in the search PATH,
   15400       # but as the default location of the library.
   15401       hardcode_minus_L_F77=yes
   15402       export_dynamic_flag_spec_F77='${wl}-E'
   15403       ;;
   15404 
   15405     hpux10*)
   15406       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15407 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15408       else
   15409 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15410       fi
   15411       if test "$with_gnu_ld" = no; then
   15412 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15413 	hardcode_libdir_separator_F77=:
   15414 
   15415 	hardcode_direct_F77=yes
   15416 	export_dynamic_flag_spec_F77='${wl}-E'
   15417 
   15418 	# hardcode_minus_L: Not really in the search PATH,
   15419 	# but as the default location of the library.
   15420 	hardcode_minus_L_F77=yes
   15421       fi
   15422       ;;
   15423 
   15424     hpux11*)
   15425       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15426 	case $host_cpu in
   15427 	hppa*64*)
   15428 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15429 	  ;;
   15430 	ia64*)
   15431 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15432 	  ;;
   15433 	*)
   15434 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15435 	  ;;
   15436 	esac
   15437       else
   15438 	case $host_cpu in
   15439 	hppa*64*)
   15440 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15441 	  ;;
   15442 	ia64*)
   15443 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15444 	  ;;
   15445 	*)
   15446 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15447 	  ;;
   15448 	esac
   15449       fi
   15450       if test "$with_gnu_ld" = no; then
   15451 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15452 	hardcode_libdir_separator_F77=:
   15453 
   15454 	case $host_cpu in
   15455 	hppa*64*|ia64*)
   15456 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15457 	  hardcode_direct_F77=no
   15458 	  hardcode_shlibpath_var_F77=no
   15459 	  ;;
   15460 	*)
   15461 	  hardcode_direct_F77=yes
   15462 	  export_dynamic_flag_spec_F77='${wl}-E'
   15463 
   15464 	  # hardcode_minus_L: Not really in the search PATH,
   15465 	  # but as the default location of the library.
   15466 	  hardcode_minus_L_F77=yes
   15467 	  ;;
   15468 	esac
   15469       fi
   15470       ;;
   15471 
   15472     irix5* | irix6* | nonstopux*)
   15473       if test "$GCC" = yes; then
   15474 	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'
   15475       else
   15476 	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'
   15477 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15478       fi
   15479       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15480       hardcode_libdir_separator_F77=:
   15481       link_all_deplibs_F77=yes
   15482       ;;
   15483 
   15484     netbsd*)
   15485       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15486 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15487       else
   15488 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15489       fi
   15490       hardcode_libdir_flag_spec_F77='-R$libdir'
   15491       hardcode_direct_F77=yes
   15492       hardcode_shlibpath_var_F77=no
   15493       ;;
   15494 
   15495     newsos6)
   15496       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15497       hardcode_direct_F77=yes
   15498       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15499       hardcode_libdir_separator_F77=:
   15500       hardcode_shlibpath_var_F77=no
   15501       ;;
   15502 
   15503     openbsd*)
   15504       if test -f /usr/libexec/ld.so; then
   15505 	hardcode_direct_F77=yes
   15506 	hardcode_shlibpath_var_F77=no
   15507 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15508 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15509 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15510 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15511 	  export_dynamic_flag_spec_F77='${wl}-E'
   15512 	else
   15513 	  case $host_os in
   15514 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15515 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15516 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15517 	     ;;
   15518 	   *)
   15519 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15520 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15521 	     ;;
   15522 	  esac
   15523         fi
   15524       else
   15525 	ld_shlibs_F77=no
   15526       fi
   15527       ;;
   15528 
   15529     os2*)
   15530       hardcode_libdir_flag_spec_F77='-L$libdir'
   15531       hardcode_minus_L_F77=yes
   15532       allow_undefined_flag_F77=unsupported
   15533       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'
   15534       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15535       ;;
   15536 
   15537     osf3*)
   15538       if test "$GCC" = yes; then
   15539 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15540 	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'
   15541       else
   15542 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15543 	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'
   15544       fi
   15545       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15546       hardcode_libdir_separator_F77=:
   15547       ;;
   15548 
   15549     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15550       if test "$GCC" = yes; then
   15551 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15552 	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'
   15553 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15554       else
   15555 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15556 	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'
   15557 	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~
   15558 	$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'
   15559 
   15560 	# Both c and cxx compiler support -rpath directly
   15561 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15562       fi
   15563       hardcode_libdir_separator_F77=:
   15564       ;;
   15565 
   15566     solaris*)
   15567       no_undefined_flag_F77=' -z text'
   15568       if test "$GCC" = yes; then
   15569 	wlarc='${wl}'
   15570 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15571 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15572 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15573       else
   15574 	wlarc=''
   15575 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15576 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15577   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15578       fi
   15579       hardcode_libdir_flag_spec_F77='-R$libdir'
   15580       hardcode_shlibpath_var_F77=no
   15581       case $host_os in
   15582       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15583       *)
   15584 	# The compiler driver will combine and reorder linker options,
   15585 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15586 	# but is careful enough not to reorder.
   15587  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15588 	if test "$GCC" = yes; then
   15589 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15590 	else
   15591 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15592 	fi
   15593 	;;
   15594       esac
   15595       link_all_deplibs_F77=yes
   15596       ;;
   15597 
   15598     sunos4*)
   15599       if test "x$host_vendor" = xsequent; then
   15600 	# Use $CC to link under sequent, because it throws in some extra .o
   15601 	# files that make .init and .fini sections work.
   15602 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15603       else
   15604 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15605       fi
   15606       hardcode_libdir_flag_spec_F77='-L$libdir'
   15607       hardcode_direct_F77=yes
   15608       hardcode_minus_L_F77=yes
   15609       hardcode_shlibpath_var_F77=no
   15610       ;;
   15611 
   15612     sysv4)
   15613       case $host_vendor in
   15614 	sni)
   15615 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15616 	  hardcode_direct_F77=yes # is this really true???
   15617 	;;
   15618 	siemens)
   15619 	  ## LD is ld it makes a PLAMLIB
   15620 	  ## CC just makes a GrossModule.
   15621 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15622 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15623 	  hardcode_direct_F77=no
   15624         ;;
   15625 	motorola)
   15626 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15627 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15628 	;;
   15629       esac
   15630       runpath_var='LD_RUN_PATH'
   15631       hardcode_shlibpath_var_F77=no
   15632       ;;
   15633 
   15634     sysv4.3*)
   15635       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15636       hardcode_shlibpath_var_F77=no
   15637       export_dynamic_flag_spec_F77='-Bexport'
   15638       ;;
   15639 
   15640     sysv4*MP*)
   15641       if test -d /usr/nec; then
   15642 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15643 	hardcode_shlibpath_var_F77=no
   15644 	runpath_var=LD_RUN_PATH
   15645 	hardcode_runpath_var=yes
   15646 	ld_shlibs_F77=yes
   15647       fi
   15648       ;;
   15649 
   15650     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15651       no_undefined_flag_F77='${wl}-z,text'
   15652       archive_cmds_need_lc_F77=no
   15653       hardcode_shlibpath_var_F77=no
   15654       runpath_var='LD_RUN_PATH'
   15655 
   15656       if test "$GCC" = yes; then
   15657 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15658 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15659       else
   15660 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15661 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15662       fi
   15663       ;;
   15664 
   15665     sysv5* | sco3.2v5* | sco5v6*)
   15666       # Note: We can NOT use -z defs as we might desire, because we do not
   15667       # link with -lc, and that would cause any symbols used from libc to
   15668       # always be unresolved, which means just about no library would
   15669       # ever link correctly.  If we're not using GNU ld we use -z text
   15670       # though, which does catch some bad symbols but isn't as heavy-handed
   15671       # as -z defs.
   15672       no_undefined_flag_F77='${wl}-z,text'
   15673       allow_undefined_flag_F77='${wl}-z,nodefs'
   15674       archive_cmds_need_lc_F77=no
   15675       hardcode_shlibpath_var_F77=no
   15676       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15677       hardcode_libdir_separator_F77=':'
   15678       link_all_deplibs_F77=yes
   15679       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15680       runpath_var='LD_RUN_PATH'
   15681 
   15682       if test "$GCC" = yes; then
   15683 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15684 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15685       else
   15686 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15687 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15688       fi
   15689       ;;
   15690 
   15691     uts4*)
   15692       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15693       hardcode_libdir_flag_spec_F77='-L$libdir'
   15694       hardcode_shlibpath_var_F77=no
   15695       ;;
   15696 
   15697     *)
   15698       ld_shlibs_F77=no
   15699       ;;
   15700     esac
   15701   fi
   15702 
   15703 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15704 $as_echo "$ld_shlibs_F77" >&6; }
   15705 test "$ld_shlibs_F77" = no && can_build_shared=no
   15706 
   15707 #
   15708 # Do we need to explicitly link libc?
   15709 #
   15710 case "x$archive_cmds_need_lc_F77" in
   15711 x|xyes)
   15712   # Assume -lc should be added
   15713   archive_cmds_need_lc_F77=yes
   15714 
   15715   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15716     case $archive_cmds_F77 in
   15717     *'~'*)
   15718       # FIXME: we may have to deal with multi-command sequences.
   15719       ;;
   15720     '$CC '*)
   15721       # Test whether the compiler implicitly links with -lc since on some
   15722       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15723       # to ld, don't add -lc before -lgcc.
   15724       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15725 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15726       $rm conftest*
   15727       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15728 
   15729       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15730   (eval $ac_compile) 2>&5
   15731   ac_status=$?
   15732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15733   (exit $ac_status); } 2>conftest.err; then
   15734         soname=conftest
   15735         lib=conftest
   15736         libobjs=conftest.$ac_objext
   15737         deplibs=
   15738         wl=$lt_prog_compiler_wl_F77
   15739 	pic_flag=$lt_prog_compiler_pic_F77
   15740         compiler_flags=-v
   15741         linker_flags=-v
   15742         verstring=
   15743         output_objdir=.
   15744         libname=conftest
   15745         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15746         allow_undefined_flag_F77=
   15747         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15748   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15749   ac_status=$?
   15750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15751   (exit $ac_status); }
   15752         then
   15753 	  archive_cmds_need_lc_F77=no
   15754         else
   15755 	  archive_cmds_need_lc_F77=yes
   15756         fi
   15757         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15758       else
   15759         cat conftest.err 1>&5
   15760       fi
   15761       $rm conftest*
   15762       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15763 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15764       ;;
   15765     esac
   15766   fi
   15767   ;;
   15768 esac
   15769 
   15770 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15771 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15772 library_names_spec=
   15773 libname_spec='lib$name'
   15774 soname_spec=
   15775 shrext_cmds=".so"
   15776 postinstall_cmds=
   15777 postuninstall_cmds=
   15778 finish_cmds=
   15779 finish_eval=
   15780 shlibpath_var=
   15781 shlibpath_overrides_runpath=unknown
   15782 version_type=none
   15783 dynamic_linker="$host_os ld.so"
   15784 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15785 
   15786 need_lib_prefix=unknown
   15787 hardcode_into_libs=no
   15788 
   15789 # when you set need_version to no, make sure it does not cause -set_version
   15790 # flags to be left without arguments
   15791 need_version=unknown
   15792 
   15793 case $host_os in
   15794 aix3*)
   15795   version_type=linux
   15796   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15797   shlibpath_var=LIBPATH
   15798 
   15799   # AIX 3 has no versioning support, so we append a major version to the name.
   15800   soname_spec='${libname}${release}${shared_ext}$major'
   15801   ;;
   15802 
   15803 aix[4-9]*)
   15804   version_type=linux
   15805   need_lib_prefix=no
   15806   need_version=no
   15807   hardcode_into_libs=yes
   15808   if test "$host_cpu" = ia64; then
   15809     # AIX 5 supports IA64
   15810     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15811     shlibpath_var=LD_LIBRARY_PATH
   15812   else
   15813     # With GCC up to 2.95.x, collect2 would create an import file
   15814     # for dependence libraries.  The import file would start with
   15815     # the line `#! .'.  This would cause the generated library to
   15816     # depend on `.', always an invalid library.  This was fixed in
   15817     # development snapshots of GCC prior to 3.0.
   15818     case $host_os in
   15819       aix4 | aix4.[01] | aix4.[01].*)
   15820       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15821 	   echo ' yes '
   15822 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15823 	:
   15824       else
   15825 	can_build_shared=no
   15826       fi
   15827       ;;
   15828     esac
   15829     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15830     # soname into executable. Probably we can add versioning support to
   15831     # collect2, so additional links can be useful in future.
   15832     if test "$aix_use_runtimelinking" = yes; then
   15833       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15834       # instead of lib<name>.a to let people know that these are not
   15835       # typical AIX shared libraries.
   15836       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15837     else
   15838       # We preserve .a as extension for shared libraries through AIX4.2
   15839       # and later when we are not doing run time linking.
   15840       library_names_spec='${libname}${release}.a $libname.a'
   15841       soname_spec='${libname}${release}${shared_ext}$major'
   15842     fi
   15843     shlibpath_var=LIBPATH
   15844   fi
   15845   ;;
   15846 
   15847 amigaos*)
   15848   library_names_spec='$libname.ixlibrary $libname.a'
   15849   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15850   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'
   15851   ;;
   15852 
   15853 beos*)
   15854   library_names_spec='${libname}${shared_ext}'
   15855   dynamic_linker="$host_os ld.so"
   15856   shlibpath_var=LIBRARY_PATH
   15857   ;;
   15858 
   15859 bsdi[45]*)
   15860   version_type=linux
   15861   need_version=no
   15862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15863   soname_spec='${libname}${release}${shared_ext}$major'
   15864   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15865   shlibpath_var=LD_LIBRARY_PATH
   15866   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15867   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15868   # the default ld.so.conf also contains /usr/contrib/lib and
   15869   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15870   # libtool to hard-code these into programs
   15871   ;;
   15872 
   15873 cygwin* | mingw* | pw32*)
   15874   version_type=windows
   15875   shrext_cmds=".dll"
   15876   need_version=no
   15877   need_lib_prefix=no
   15878 
   15879   case $GCC,$host_os in
   15880   yes,cygwin* | yes,mingw* | yes,pw32*)
   15881     library_names_spec='$libname.dll.a'
   15882     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15883     postinstall_cmds='base_file=`basename \${file}`~
   15884       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15885       dldir=$destdir/`dirname \$dlpath`~
   15886       test -d \$dldir || mkdir -p \$dldir~
   15887       $install_prog $dir/$dlname \$dldir/$dlname~
   15888       chmod a+x \$dldir/$dlname'
   15889     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15890       dlpath=$dir/\$dldll~
   15891        $rm \$dlpath'
   15892     shlibpath_overrides_runpath=yes
   15893 
   15894     case $host_os in
   15895     cygwin*)
   15896       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15897       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15898       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15899       ;;
   15900     mingw*)
   15901       # MinGW DLLs use traditional 'lib' prefix
   15902       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15903       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15904       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15905         # It is most probably a Windows format PATH printed by
   15906         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15907         # path with ; separators, and with drive letters. We can handle the
   15908         # drive letters (cygwin fileutils understands them), so leave them,
   15909         # especially as we might pass files found there to a mingw objdump,
   15910         # which wouldn't understand a cygwinified path. Ahh.
   15911         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15912       else
   15913         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15914       fi
   15915       ;;
   15916     pw32*)
   15917       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15918       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15919       ;;
   15920     esac
   15921     ;;
   15922 
   15923   *)
   15924     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15925     ;;
   15926   esac
   15927   dynamic_linker='Win32 ld.exe'
   15928   # FIXME: first we should search . and the directory the executable is in
   15929   shlibpath_var=PATH
   15930   ;;
   15931 
   15932 darwin* | rhapsody*)
   15933   dynamic_linker="$host_os dyld"
   15934   version_type=darwin
   15935   need_lib_prefix=no
   15936   need_version=no
   15937   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15938   soname_spec='${libname}${release}${major}$shared_ext'
   15939   shlibpath_overrides_runpath=yes
   15940   shlibpath_var=DYLD_LIBRARY_PATH
   15941   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15942 
   15943   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15944   ;;
   15945 
   15946 dgux*)
   15947   version_type=linux
   15948   need_lib_prefix=no
   15949   need_version=no
   15950   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15951   soname_spec='${libname}${release}${shared_ext}$major'
   15952   shlibpath_var=LD_LIBRARY_PATH
   15953   ;;
   15954 
   15955 freebsd1*)
   15956   dynamic_linker=no
   15957   ;;
   15958 
   15959 freebsd* | dragonfly*)
   15960   # DragonFly does not have aout.  When/if they implement a new
   15961   # versioning mechanism, adjust this.
   15962   if test -x /usr/bin/objformat; then
   15963     objformat=`/usr/bin/objformat`
   15964   else
   15965     case $host_os in
   15966     freebsd[123]*) objformat=aout ;;
   15967     *) objformat=elf ;;
   15968     esac
   15969   fi
   15970   version_type=freebsd-$objformat
   15971   case $version_type in
   15972     freebsd-elf*)
   15973       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15974       need_version=no
   15975       need_lib_prefix=no
   15976       ;;
   15977     freebsd-*)
   15978       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15979       need_version=yes
   15980       ;;
   15981   esac
   15982   shlibpath_var=LD_LIBRARY_PATH
   15983   case $host_os in
   15984   freebsd2*)
   15985     shlibpath_overrides_runpath=yes
   15986     ;;
   15987   freebsd3.[01]* | freebsdelf3.[01]*)
   15988     shlibpath_overrides_runpath=yes
   15989     hardcode_into_libs=yes
   15990     ;;
   15991   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15992   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15993     shlibpath_overrides_runpath=no
   15994     hardcode_into_libs=yes
   15995     ;;
   15996   *) # from 4.6 on, and DragonFly
   15997     shlibpath_overrides_runpath=yes
   15998     hardcode_into_libs=yes
   15999     ;;
   16000   esac
   16001   ;;
   16002 
   16003 gnu*)
   16004   version_type=linux
   16005   need_lib_prefix=no
   16006   need_version=no
   16007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16008   soname_spec='${libname}${release}${shared_ext}$major'
   16009   shlibpath_var=LD_LIBRARY_PATH
   16010   hardcode_into_libs=yes
   16011   ;;
   16012 
   16013 hpux9* | hpux10* | hpux11*)
   16014   # Give a soname corresponding to the major version so that dld.sl refuses to
   16015   # link against other versions.
   16016   version_type=sunos
   16017   need_lib_prefix=no
   16018   need_version=no
   16019   case $host_cpu in
   16020   ia64*)
   16021     shrext_cmds='.so'
   16022     hardcode_into_libs=yes
   16023     dynamic_linker="$host_os dld.so"
   16024     shlibpath_var=LD_LIBRARY_PATH
   16025     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16026     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16027     soname_spec='${libname}${release}${shared_ext}$major'
   16028     if test "X$HPUX_IA64_MODE" = X32; then
   16029       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16030     else
   16031       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16032     fi
   16033     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16034     ;;
   16035    hppa*64*)
   16036      shrext_cmds='.sl'
   16037      hardcode_into_libs=yes
   16038      dynamic_linker="$host_os dld.sl"
   16039      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16040      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16041      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16042      soname_spec='${libname}${release}${shared_ext}$major'
   16043      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16044      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16045      ;;
   16046    *)
   16047     shrext_cmds='.sl'
   16048     dynamic_linker="$host_os dld.sl"
   16049     shlibpath_var=SHLIB_PATH
   16050     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16051     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16052     soname_spec='${libname}${release}${shared_ext}$major'
   16053     ;;
   16054   esac
   16055   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16056   postinstall_cmds='chmod 555 $lib'
   16057   ;;
   16058 
   16059 interix[3-9]*)
   16060   version_type=linux
   16061   need_lib_prefix=no
   16062   need_version=no
   16063   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16064   soname_spec='${libname}${release}${shared_ext}$major'
   16065   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16066   shlibpath_var=LD_LIBRARY_PATH
   16067   shlibpath_overrides_runpath=no
   16068   hardcode_into_libs=yes
   16069   ;;
   16070 
   16071 irix5* | irix6* | nonstopux*)
   16072   case $host_os in
   16073     nonstopux*) version_type=nonstopux ;;
   16074     *)
   16075 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16076 		version_type=linux
   16077 	else
   16078 		version_type=irix
   16079 	fi ;;
   16080   esac
   16081   need_lib_prefix=no
   16082   need_version=no
   16083   soname_spec='${libname}${release}${shared_ext}$major'
   16084   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16085   case $host_os in
   16086   irix5* | nonstopux*)
   16087     libsuff= shlibsuff=
   16088     ;;
   16089   *)
   16090     case $LD in # libtool.m4 will add one of these switches to LD
   16091     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16092       libsuff= shlibsuff= libmagic=32-bit;;
   16093     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16094       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16095     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16096       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16097     *) libsuff= shlibsuff= libmagic=never-match;;
   16098     esac
   16099     ;;
   16100   esac
   16101   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16102   shlibpath_overrides_runpath=no
   16103   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16104   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16105   hardcode_into_libs=yes
   16106   ;;
   16107 
   16108 # No shared lib support for Linux oldld, aout, or coff.
   16109 linux*oldld* | linux*aout* | linux*coff*)
   16110   dynamic_linker=no
   16111   ;;
   16112 
   16113 # This must be Linux ELF.
   16114 linux* | k*bsd*-gnu)
   16115   version_type=linux
   16116   need_lib_prefix=no
   16117   need_version=no
   16118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16119   soname_spec='${libname}${release}${shared_ext}$major'
   16120   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16121   shlibpath_var=LD_LIBRARY_PATH
   16122   shlibpath_overrides_runpath=no
   16123   # This implies no fast_install, which is unacceptable.
   16124   # Some rework will be needed to allow for fast_install
   16125   # before this can be enabled.
   16126   hardcode_into_libs=yes
   16127 
   16128   # find out which ABI we are using
   16129   libsuff=
   16130   case "$host_cpu" in
   16131   x86_64*|s390x*|powerpc64*)
   16132     echo '#line 16132 "configure"' > conftest.$ac_ext
   16133     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   16134   (eval $ac_compile) 2>&5
   16135   ac_status=$?
   16136   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   16137   (exit $ac_status); }; then
   16138       case `/usr/bin/file conftest.$ac_objext` in
   16139       *64-bit*)
   16140         libsuff=64
   16141         ;;
   16142       esac
   16143     fi
   16144     rm -rf conftest*
   16145     ;;
   16146   esac
   16147 
   16148   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
   16149 
   16150   # Append ld.so.conf contents to the search path
   16151   if test -f /etc/ld.so.conf; then
   16152     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   16153     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   16154   fi
   16155 
   16156   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16157   # powerpc, because MkLinux only supported shared libraries with the
   16158   # GNU dynamic linker.  Since this was broken with cross compilers,
   16159   # most powerpc-linux boxes support dynamic linking these days and
   16160   # people can always --disable-shared, the test was removed, and we
   16161   # assume the GNU/Linux dynamic linker is in use.
   16162   dynamic_linker='GNU/Linux ld.so'
   16163   ;;
   16164 
   16165 netbsd*)
   16166   version_type=sunos
   16167   need_lib_prefix=no
   16168   need_version=no
   16169   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16170     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16171     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16172     dynamic_linker='NetBSD (a.out) ld.so'
   16173   else
   16174     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16175     soname_spec='${libname}${release}${shared_ext}$major'
   16176     dynamic_linker='NetBSD ld.elf_so'
   16177   fi
   16178   shlibpath_var=LD_LIBRARY_PATH
   16179   shlibpath_overrides_runpath=yes
   16180   hardcode_into_libs=yes
   16181   ;;
   16182 
   16183 newsos6)
   16184   version_type=linux
   16185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16186   shlibpath_var=LD_LIBRARY_PATH
   16187   shlibpath_overrides_runpath=yes
   16188   ;;
   16189 
   16190 nto-qnx*)
   16191   version_type=linux
   16192   need_lib_prefix=no
   16193   need_version=no
   16194   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16195   soname_spec='${libname}${release}${shared_ext}$major'
   16196   shlibpath_var=LD_LIBRARY_PATH
   16197   shlibpath_overrides_runpath=yes
   16198   ;;
   16199 
   16200 openbsd*)
   16201   version_type=sunos
   16202   sys_lib_dlsearch_path_spec="/usr/lib"
   16203   need_lib_prefix=no
   16204   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16205   case $host_os in
   16206     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16207     *)                         need_version=no  ;;
   16208   esac
   16209   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16210   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16211   shlibpath_var=LD_LIBRARY_PATH
   16212   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16213     case $host_os in
   16214       openbsd2.[89] | openbsd2.[89].*)
   16215 	shlibpath_overrides_runpath=no
   16216 	;;
   16217       *)
   16218 	shlibpath_overrides_runpath=yes
   16219 	;;
   16220       esac
   16221   else
   16222     shlibpath_overrides_runpath=yes
   16223   fi
   16224   ;;
   16225 
   16226 os2*)
   16227   libname_spec='$name'
   16228   shrext_cmds=".dll"
   16229   need_lib_prefix=no
   16230   library_names_spec='$libname${shared_ext} $libname.a'
   16231   dynamic_linker='OS/2 ld.exe'
   16232   shlibpath_var=LIBPATH
   16233   ;;
   16234 
   16235 osf3* | osf4* | osf5*)
   16236   version_type=osf
   16237   need_lib_prefix=no
   16238   need_version=no
   16239   soname_spec='${libname}${release}${shared_ext}$major'
   16240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16241   shlibpath_var=LD_LIBRARY_PATH
   16242   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16243   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16244   ;;
   16245 
   16246 rdos*)
   16247   dynamic_linker=no
   16248   ;;
   16249 
   16250 solaris*)
   16251   version_type=linux
   16252   need_lib_prefix=no
   16253   need_version=no
   16254   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16255   soname_spec='${libname}${release}${shared_ext}$major'
   16256   shlibpath_var=LD_LIBRARY_PATH
   16257   shlibpath_overrides_runpath=yes
   16258   hardcode_into_libs=yes
   16259   # ldd complains unless libraries are executable
   16260   postinstall_cmds='chmod +x $lib'
   16261   ;;
   16262 
   16263 sunos4*)
   16264   version_type=sunos
   16265   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16266   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16267   shlibpath_var=LD_LIBRARY_PATH
   16268   shlibpath_overrides_runpath=yes
   16269   if test "$with_gnu_ld" = yes; then
   16270     need_lib_prefix=no
   16271   fi
   16272   need_version=yes
   16273   ;;
   16274 
   16275 sysv4 | sysv4.3*)
   16276   version_type=linux
   16277   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16278   soname_spec='${libname}${release}${shared_ext}$major'
   16279   shlibpath_var=LD_LIBRARY_PATH
   16280   case $host_vendor in
   16281     sni)
   16282       shlibpath_overrides_runpath=no
   16283       need_lib_prefix=no
   16284       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16285       runpath_var=LD_RUN_PATH
   16286       ;;
   16287     siemens)
   16288       need_lib_prefix=no
   16289       ;;
   16290     motorola)
   16291       need_lib_prefix=no
   16292       need_version=no
   16293       shlibpath_overrides_runpath=no
   16294       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16295       ;;
   16296   esac
   16297   ;;
   16298 
   16299 sysv4*MP*)
   16300   if test -d /usr/nec ;then
   16301     version_type=linux
   16302     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16303     soname_spec='$libname${shared_ext}.$major'
   16304     shlibpath_var=LD_LIBRARY_PATH
   16305   fi
   16306   ;;
   16307 
   16308 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16309   version_type=freebsd-elf
   16310   need_lib_prefix=no
   16311   need_version=no
   16312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16313   soname_spec='${libname}${release}${shared_ext}$major'
   16314   shlibpath_var=LD_LIBRARY_PATH
   16315   hardcode_into_libs=yes
   16316   if test "$with_gnu_ld" = yes; then
   16317     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16318     shlibpath_overrides_runpath=no
   16319   else
   16320     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16321     shlibpath_overrides_runpath=yes
   16322     case $host_os in
   16323       sco3.2v5*)
   16324         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16325 	;;
   16326     esac
   16327   fi
   16328   sys_lib_dlsearch_path_spec='/usr/lib'
   16329   ;;
   16330 
   16331 uts4*)
   16332   version_type=linux
   16333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16334   soname_spec='${libname}${release}${shared_ext}$major'
   16335   shlibpath_var=LD_LIBRARY_PATH
   16336   ;;
   16337 
   16338 *)
   16339   dynamic_linker=no
   16340   ;;
   16341 esac
   16342 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16343 $as_echo "$dynamic_linker" >&6; }
   16344 test "$dynamic_linker" = no && can_build_shared=no
   16345 
   16346 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16347   $as_echo_n "(cached) " >&6
   16348 else
   16349   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16350 fi
   16351 
   16352 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16353 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16354   $as_echo_n "(cached) " >&6
   16355 else
   16356   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16357 fi
   16358 
   16359 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16360 
   16361 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16362 if test "$GCC" = yes; then
   16363   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16364 fi
   16365 
   16366 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16367 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16368 hardcode_action_F77=
   16369 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16370    test -n "$runpath_var_F77" || \
   16371    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16372 
   16373   # We can hardcode non-existant directories.
   16374   if test "$hardcode_direct_F77" != no &&
   16375      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16376      # have to relink, otherwise we might link with an installed library
   16377      # when we should be linking with a yet-to-be-installed one
   16378      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16379      test "$hardcode_minus_L_F77" != no; then
   16380     # Linking always hardcodes the temporary library directory.
   16381     hardcode_action_F77=relink
   16382   else
   16383     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16384     hardcode_action_F77=immediate
   16385   fi
   16386 else
   16387   # We cannot hardcode anything, or else we can only hardcode existing
   16388   # directories.
   16389   hardcode_action_F77=unsupported
   16390 fi
   16391 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16392 $as_echo "$hardcode_action_F77" >&6; }
   16393 
   16394 if test "$hardcode_action_F77" = relink; then
   16395   # Fast installation is not supported
   16396   enable_fast_install=no
   16397 elif test "$shlibpath_overrides_runpath" = yes ||
   16398      test "$enable_shared" = no; then
   16399   # Fast installation is not necessary
   16400   enable_fast_install=needless
   16401 fi
   16402 
   16403 
   16404 # The else clause should only fire when bootstrapping the
   16405 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16406 # with your package, and you will get complaints that there are
   16407 # no rules to generate ltmain.sh.
   16408 if test -f "$ltmain"; then
   16409   # See if we are running on zsh, and set the options which allow our commands through
   16410   # without removal of \ escapes.
   16411   if test -n "${ZSH_VERSION+set}" ; then
   16412     setopt NO_GLOB_SUBST
   16413   fi
   16414   # Now quote all the things that may contain metacharacters while being
   16415   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16416   # variables and quote the copies for generation of the libtool script.
   16417   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16418     SED SHELL STRIP \
   16419     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16420     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16421     deplibs_check_method reload_flag reload_cmds need_locks \
   16422     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16423     lt_cv_sys_global_symbol_to_c_name_address \
   16424     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16425     old_postinstall_cmds old_postuninstall_cmds \
   16426     compiler_F77 \
   16427     CC_F77 \
   16428     LD_F77 \
   16429     lt_prog_compiler_wl_F77 \
   16430     lt_prog_compiler_pic_F77 \
   16431     lt_prog_compiler_static_F77 \
   16432     lt_prog_compiler_no_builtin_flag_F77 \
   16433     export_dynamic_flag_spec_F77 \
   16434     thread_safe_flag_spec_F77 \
   16435     whole_archive_flag_spec_F77 \
   16436     enable_shared_with_static_runtimes_F77 \
   16437     old_archive_cmds_F77 \
   16438     old_archive_from_new_cmds_F77 \
   16439     predep_objects_F77 \
   16440     postdep_objects_F77 \
   16441     predeps_F77 \
   16442     postdeps_F77 \
   16443     compiler_lib_search_path_F77 \
   16444     compiler_lib_search_dirs_F77 \
   16445     archive_cmds_F77 \
   16446     archive_expsym_cmds_F77 \
   16447     postinstall_cmds_F77 \
   16448     postuninstall_cmds_F77 \
   16449     old_archive_from_expsyms_cmds_F77 \
   16450     allow_undefined_flag_F77 \
   16451     no_undefined_flag_F77 \
   16452     export_symbols_cmds_F77 \
   16453     hardcode_libdir_flag_spec_F77 \
   16454     hardcode_libdir_flag_spec_ld_F77 \
   16455     hardcode_libdir_separator_F77 \
   16456     hardcode_automatic_F77 \
   16457     module_cmds_F77 \
   16458     module_expsym_cmds_F77 \
   16459     lt_cv_prog_compiler_c_o_F77 \
   16460     fix_srcfile_path_F77 \
   16461     exclude_expsyms_F77 \
   16462     include_expsyms_F77; do
   16463 
   16464     case $var in
   16465     old_archive_cmds_F77 | \
   16466     old_archive_from_new_cmds_F77 | \
   16467     archive_cmds_F77 | \
   16468     archive_expsym_cmds_F77 | \
   16469     module_cmds_F77 | \
   16470     module_expsym_cmds_F77 | \
   16471     old_archive_from_expsyms_cmds_F77 | \
   16472     export_symbols_cmds_F77 | \
   16473     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16474     postinstall_cmds | postuninstall_cmds | \
   16475     old_postinstall_cmds | old_postuninstall_cmds | \
   16476     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16477       # Double-quote double-evaled strings.
   16478       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16479       ;;
   16480     *)
   16481       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16482       ;;
   16483     esac
   16484   done
   16485 
   16486   case $lt_echo in
   16487   *'\$0 --fallback-echo"')
   16488     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16489     ;;
   16490   esac
   16491 
   16492 cfgfile="$ofile"
   16493 
   16494   cat <<__EOF__ >> "$cfgfile"
   16495 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16496 
   16497 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16498 
   16499 # Shell to use when invoking shell scripts.
   16500 SHELL=$lt_SHELL
   16501 
   16502 # Whether or not to build shared libraries.
   16503 build_libtool_libs=$enable_shared
   16504 
   16505 # Whether or not to build static libraries.
   16506 build_old_libs=$enable_static
   16507 
   16508 # Whether or not to add -lc for building shared libraries.
   16509 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16510 
   16511 # Whether or not to disallow shared libs when runtime libs are static
   16512 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16513 
   16514 # Whether or not to optimize for fast installation.
   16515 fast_install=$enable_fast_install
   16516 
   16517 # The host system.
   16518 host_alias=$host_alias
   16519 host=$host
   16520 host_os=$host_os
   16521 
   16522 # The build system.
   16523 build_alias=$build_alias
   16524 build=$build
   16525 build_os=$build_os
   16526 
   16527 # An echo program that does not interpret backslashes.
   16528 echo=$lt_echo
   16529 
   16530 # The archiver.
   16531 AR=$lt_AR
   16532 AR_FLAGS=$lt_AR_FLAGS
   16533 
   16534 # A C compiler.
   16535 LTCC=$lt_LTCC
   16536 
   16537 # LTCC compiler flags.
   16538 LTCFLAGS=$lt_LTCFLAGS
   16539 
   16540 # A language-specific compiler.
   16541 CC=$lt_compiler_F77
   16542 
   16543 # Is the compiler the GNU C compiler?
   16544 with_gcc=$GCC_F77
   16545 
   16546 # An ERE matcher.
   16547 EGREP=$lt_EGREP
   16548 
   16549 # The linker used to build libraries.
   16550 LD=$lt_LD_F77
   16551 
   16552 # Whether we need hard or soft links.
   16553 LN_S=$lt_LN_S
   16554 
   16555 # A BSD-compatible nm program.
   16556 NM=$lt_NM
   16557 
   16558 # A symbol stripping program
   16559 STRIP=$lt_STRIP
   16560 
   16561 # Used to examine libraries when file_magic_cmd begins "file"
   16562 MAGIC_CMD=$MAGIC_CMD
   16563 
   16564 # Used on cygwin: DLL creation program.
   16565 DLLTOOL="$DLLTOOL"
   16566 
   16567 # Used on cygwin: object dumper.
   16568 OBJDUMP="$OBJDUMP"
   16569 
   16570 # Used on cygwin: assembler.
   16571 AS="$AS"
   16572 
   16573 # The name of the directory that contains temporary libtool files.
   16574 objdir=$objdir
   16575 
   16576 # How to create reloadable object files.
   16577 reload_flag=$lt_reload_flag
   16578 reload_cmds=$lt_reload_cmds
   16579 
   16580 # How to pass a linker flag through the compiler.
   16581 wl=$lt_lt_prog_compiler_wl_F77
   16582 
   16583 # Object file suffix (normally "o").
   16584 objext="$ac_objext"
   16585 
   16586 # Old archive suffix (normally "a").
   16587 libext="$libext"
   16588 
   16589 # Shared library suffix (normally ".so").
   16590 shrext_cmds='$shrext_cmds'
   16591 
   16592 # Executable file suffix (normally "").
   16593 exeext="$exeext"
   16594 
   16595 # Additional compiler flags for building library objects.
   16596 pic_flag=$lt_lt_prog_compiler_pic_F77
   16597 pic_mode=$pic_mode
   16598 
   16599 # What is the maximum length of a command?
   16600 max_cmd_len=$lt_cv_sys_max_cmd_len
   16601 
   16602 # Does compiler simultaneously support -c and -o options?
   16603 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16604 
   16605 # Must we lock files when doing compilation?
   16606 need_locks=$lt_need_locks
   16607 
   16608 # Do we need the lib prefix for modules?
   16609 need_lib_prefix=$need_lib_prefix
   16610 
   16611 # Do we need a version for libraries?
   16612 need_version=$need_version
   16613 
   16614 # Whether dlopen is supported.
   16615 dlopen_support=$enable_dlopen
   16616 
   16617 # Whether dlopen of programs is supported.
   16618 dlopen_self=$enable_dlopen_self
   16619 
   16620 # Whether dlopen of statically linked programs is supported.
   16621 dlopen_self_static=$enable_dlopen_self_static
   16622 
   16623 # Compiler flag to prevent dynamic linking.
   16624 link_static_flag=$lt_lt_prog_compiler_static_F77
   16625 
   16626 # Compiler flag to turn off builtin functions.
   16627 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16628 
   16629 # Compiler flag to allow reflexive dlopens.
   16630 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16631 
   16632 # Compiler flag to generate shared objects directly from archives.
   16633 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16634 
   16635 # Compiler flag to generate thread-safe objects.
   16636 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16637 
   16638 # Library versioning type.
   16639 version_type=$version_type
   16640 
   16641 # Format of library name prefix.
   16642 libname_spec=$lt_libname_spec
   16643 
   16644 # List of archive names.  First name is the real one, the rest are links.
   16645 # The last name is the one that the linker finds with -lNAME.
   16646 library_names_spec=$lt_library_names_spec
   16647 
   16648 # The coded name of the library, if different from the real name.
   16649 soname_spec=$lt_soname_spec
   16650 
   16651 # Commands used to build and install an old-style archive.
   16652 RANLIB=$lt_RANLIB
   16653 old_archive_cmds=$lt_old_archive_cmds_F77
   16654 old_postinstall_cmds=$lt_old_postinstall_cmds
   16655 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16656 
   16657 # Create an old-style archive from a shared archive.
   16658 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16659 
   16660 # Create a temporary old-style archive to link instead of a shared archive.
   16661 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16662 
   16663 # Commands used to build and install a shared archive.
   16664 archive_cmds=$lt_archive_cmds_F77
   16665 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16666 postinstall_cmds=$lt_postinstall_cmds
   16667 postuninstall_cmds=$lt_postuninstall_cmds
   16668 
   16669 # Commands used to build a loadable module (assumed same as above if empty)
   16670 module_cmds=$lt_module_cmds_F77
   16671 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16672 
   16673 # Commands to strip libraries.
   16674 old_striplib=$lt_old_striplib
   16675 striplib=$lt_striplib
   16676 
   16677 # Dependencies to place before the objects being linked to create a
   16678 # shared library.
   16679 predep_objects=$lt_predep_objects_F77
   16680 
   16681 # Dependencies to place after the objects being linked to create a
   16682 # shared library.
   16683 postdep_objects=$lt_postdep_objects_F77
   16684 
   16685 # Dependencies to place before the objects being linked to create a
   16686 # shared library.
   16687 predeps=$lt_predeps_F77
   16688 
   16689 # Dependencies to place after the objects being linked to create a
   16690 # shared library.
   16691 postdeps=$lt_postdeps_F77
   16692 
   16693 # The directories searched by this compiler when creating a shared
   16694 # library
   16695 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16696 
   16697 # The library search path used internally by the compiler when linking
   16698 # a shared library.
   16699 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16700 
   16701 # Method to check whether dependent libraries are shared objects.
   16702 deplibs_check_method=$lt_deplibs_check_method
   16703 
   16704 # Command to use when deplibs_check_method == file_magic.
   16705 file_magic_cmd=$lt_file_magic_cmd
   16706 
   16707 # Flag that allows shared libraries with undefined symbols to be built.
   16708 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16709 
   16710 # Flag that forces no undefined symbols.
   16711 no_undefined_flag=$lt_no_undefined_flag_F77
   16712 
   16713 # Commands used to finish a libtool library installation in a directory.
   16714 finish_cmds=$lt_finish_cmds
   16715 
   16716 # Same as above, but a single script fragment to be evaled but not shown.
   16717 finish_eval=$lt_finish_eval
   16718 
   16719 # Take the output of nm and produce a listing of raw symbols and C names.
   16720 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16721 
   16722 # Transform the output of nm in a proper C declaration
   16723 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16724 
   16725 # Transform the output of nm in a C name address pair
   16726 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16727 
   16728 # This is the shared library runtime path variable.
   16729 runpath_var=$runpath_var
   16730 
   16731 # This is the shared library path variable.
   16732 shlibpath_var=$shlibpath_var
   16733 
   16734 # Is shlibpath searched before the hard-coded library search path?
   16735 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16736 
   16737 # How to hardcode a shared library path into an executable.
   16738 hardcode_action=$hardcode_action_F77
   16739 
   16740 # Whether we should hardcode library paths into libraries.
   16741 hardcode_into_libs=$hardcode_into_libs
   16742 
   16743 # Flag to hardcode \$libdir into a binary during linking.
   16744 # This must work even if \$libdir does not exist.
   16745 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16746 
   16747 # If ld is used when linking, flag to hardcode \$libdir into
   16748 # a binary during linking. This must work even if \$libdir does
   16749 # not exist.
   16750 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16751 
   16752 # Whether we need a single -rpath flag with a separated argument.
   16753 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16754 
   16755 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16756 # resulting binary.
   16757 hardcode_direct=$hardcode_direct_F77
   16758 
   16759 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16760 # resulting binary.
   16761 hardcode_minus_L=$hardcode_minus_L_F77
   16762 
   16763 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16764 # the resulting binary.
   16765 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16766 
   16767 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16768 # and all subsequent libraries and executables linked against it.
   16769 hardcode_automatic=$hardcode_automatic_F77
   16770 
   16771 # Variables whose values should be saved in libtool wrapper scripts and
   16772 # restored at relink time.
   16773 variables_saved_for_relink="$variables_saved_for_relink"
   16774 
   16775 # Whether libtool must link a program against all its dependency libraries.
   16776 link_all_deplibs=$link_all_deplibs_F77
   16777 
   16778 # Compile-time system search path for libraries
   16779 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16780 
   16781 # Run-time system search path for libraries
   16782 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16783 
   16784 # Fix the shell variable \$srcfile for the compiler.
   16785 fix_srcfile_path=$lt_fix_srcfile_path
   16786 
   16787 # Set to yes if exported symbols are required.
   16788 always_export_symbols=$always_export_symbols_F77
   16789 
   16790 # The commands to list exported symbols.
   16791 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16792 
   16793 # The commands to extract the exported symbol list from a shared archive.
   16794 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16795 
   16796 # Symbols that should not be listed in the preloaded symbols.
   16797 exclude_expsyms=$lt_exclude_expsyms_F77
   16798 
   16799 # Symbols that must always be exported.
   16800 include_expsyms=$lt_include_expsyms_F77
   16801 
   16802 # ### END LIBTOOL TAG CONFIG: $tagname
   16803 
   16804 __EOF__
   16805 
   16806 
   16807 else
   16808   # If there is no Makefile yet, we rely on a make rule to execute
   16809   # `config.status --recheck' to rerun these tests and create the
   16810   # libtool script then.
   16811   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16812   if test -f "$ltmain_in"; then
   16813     test -f Makefile && make "$ltmain"
   16814   fi
   16815 fi
   16816 
   16817 
   16818 ac_ext=c
   16819 ac_cpp='$CPP $CPPFLAGS'
   16820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16823 
   16824 CC="$lt_save_CC"
   16825 
   16826 	else
   16827 	  tagname=""
   16828 	fi
   16829 	;;
   16830 
   16831       GCJ)
   16832 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16833 
   16834 
   16835 # Source file extension for Java test sources.
   16836 ac_ext=java
   16837 
   16838 # Object file extension for compiled Java test sources.
   16839 objext=o
   16840 objext_GCJ=$objext
   16841 
   16842 # Code to be used in simple compile tests
   16843 lt_simple_compile_test_code="class foo {}"
   16844 
   16845 # Code to be used in simple link tests
   16846 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16847 
   16848 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16849 
   16850 # If no C compiler was specified, use CC.
   16851 LTCC=${LTCC-"$CC"}
   16852 
   16853 # If no C compiler flags were specified, use CFLAGS.
   16854 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16855 
   16856 # Allow CC to be a program name with arguments.
   16857 compiler=$CC
   16858 
   16859 
   16860 # save warnings/boilerplate of simple test code
   16861 ac_outfile=conftest.$ac_objext
   16862 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16863 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16864 _lt_compiler_boilerplate=`cat conftest.err`
   16865 $rm conftest*
   16866 
   16867 ac_outfile=conftest.$ac_objext
   16868 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16869 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16870 _lt_linker_boilerplate=`cat conftest.err`
   16871 $rm -r conftest*
   16872 
   16873 
   16874 # Allow CC to be a program name with arguments.
   16875 lt_save_CC="$CC"
   16876 CC=${GCJ-"gcj"}
   16877 compiler=$CC
   16878 compiler_GCJ=$CC
   16879 for cc_temp in $compiler""; do
   16880   case $cc_temp in
   16881     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16882     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16883     \-*) ;;
   16884     *) break;;
   16885   esac
   16886 done
   16887 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16888 
   16889 LD_GCJ="$LD"
   16890 
   16891 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16892 archive_cmds_need_lc_GCJ=no
   16893 
   16894 old_archive_cmds_GCJ=$old_archive_cmds
   16895 
   16896 
   16897 lt_prog_compiler_no_builtin_flag_GCJ=
   16898 
   16899 if test "$GCC" = yes; then
   16900   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16901 
   16902 
   16903 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16904 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16905 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16906   $as_echo_n "(cached) " >&6
   16907 else
   16908   lt_cv_prog_compiler_rtti_exceptions=no
   16909   ac_outfile=conftest.$ac_objext
   16910    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16911    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16912    # Insert the option either (1) after the last *FLAGS variable, or
   16913    # (2) before a word containing "conftest.", or (3) at the end.
   16914    # Note that $ac_compile itself does not contain backslashes and begins
   16915    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16916    # The option is referenced via a variable to avoid confusing sed.
   16917    lt_compile=`echo "$ac_compile" | $SED \
   16918    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16919    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16920    -e 's:$: $lt_compiler_flag:'`
   16921    (eval echo "\"\$as_me:16921: $lt_compile\"" >&5)
   16922    (eval "$lt_compile" 2>conftest.err)
   16923    ac_status=$?
   16924    cat conftest.err >&5
   16925    echo "$as_me:16925: \$? = $ac_status" >&5
   16926    if (exit $ac_status) && test -s "$ac_outfile"; then
   16927      # The compiler can only warn and ignore the option if not recognized
   16928      # So say no if there are warnings other than the usual output.
   16929      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16930      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16931      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16932        lt_cv_prog_compiler_rtti_exceptions=yes
   16933      fi
   16934    fi
   16935    $rm conftest*
   16936 
   16937 fi
   16938 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16939 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16940 
   16941 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16942     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16943 else
   16944     :
   16945 fi
   16946 
   16947 fi
   16948 
   16949 lt_prog_compiler_wl_GCJ=
   16950 lt_prog_compiler_pic_GCJ=
   16951 lt_prog_compiler_static_GCJ=
   16952 
   16953 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16954 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16955 
   16956   if test "$GCC" = yes; then
   16957     lt_prog_compiler_wl_GCJ='-Wl,'
   16958     lt_prog_compiler_static_GCJ='-static'
   16959 
   16960     case $host_os in
   16961       aix*)
   16962       # All AIX code is PIC.
   16963       if test "$host_cpu" = ia64; then
   16964 	# AIX 5 now supports IA64 processor
   16965 	lt_prog_compiler_static_GCJ='-Bstatic'
   16966       fi
   16967       ;;
   16968 
   16969     amigaos*)
   16970       # FIXME: we need at least 68020 code to build shared libraries, but
   16971       # adding the `-m68020' flag to GCC prevents building anything better,
   16972       # like `-m68040'.
   16973       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   16974       ;;
   16975 
   16976     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   16977       # PIC is the default for these OSes.
   16978       ;;
   16979 
   16980     mingw* | cygwin* | pw32* | os2*)
   16981       # This hack is so that the source file can tell whether it is being
   16982       # built for inclusion in a dll (and should export symbols for example).
   16983       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   16984       # (--disable-auto-import) libraries
   16985 
   16986       ;;
   16987 
   16988     darwin* | rhapsody*)
   16989       # PIC is the default on this platform
   16990       # Common symbols not allowed in MH_DYLIB files
   16991       lt_prog_compiler_pic_GCJ='-fno-common'
   16992       ;;
   16993 
   16994     interix[3-9]*)
   16995       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   16996       # Instead, we relocate shared libraries at runtime.
   16997       ;;
   16998 
   16999     msdosdjgpp*)
   17000       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17001       # on systems that don't support them.
   17002       lt_prog_compiler_can_build_shared_GCJ=no
   17003       enable_shared=no
   17004       ;;
   17005 
   17006     sysv4*MP*)
   17007       if test -d /usr/nec; then
   17008 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17009       fi
   17010       ;;
   17011 
   17012     hpux*)
   17013       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17014       # not for PA HP-UX.
   17015       case $host_cpu in
   17016       hppa*64*|ia64*)
   17017 	# +Z the default
   17018 	;;
   17019       *)
   17020 	lt_prog_compiler_pic_GCJ='-fPIC'
   17021 	;;
   17022       esac
   17023       ;;
   17024 
   17025     *)
   17026       lt_prog_compiler_pic_GCJ='-fPIC'
   17027       ;;
   17028     esac
   17029   else
   17030     # PORTME Check for flag to pass linker flags through the system compiler.
   17031     case $host_os in
   17032     aix*)
   17033       lt_prog_compiler_wl_GCJ='-Wl,'
   17034       if test "$host_cpu" = ia64; then
   17035 	# AIX 5 now supports IA64 processor
   17036 	lt_prog_compiler_static_GCJ='-Bstatic'
   17037       else
   17038 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17039       fi
   17040       ;;
   17041       darwin*)
   17042         # PIC is the default on this platform
   17043         # Common symbols not allowed in MH_DYLIB files
   17044        case $cc_basename in
   17045          xlc*)
   17046          lt_prog_compiler_pic_GCJ='-qnocommon'
   17047          lt_prog_compiler_wl_GCJ='-Wl,'
   17048          ;;
   17049        esac
   17050        ;;
   17051 
   17052     mingw* | cygwin* | pw32* | os2*)
   17053       # This hack is so that the source file can tell whether it is being
   17054       # built for inclusion in a dll (and should export symbols for example).
   17055 
   17056       ;;
   17057 
   17058     hpux9* | hpux10* | hpux11*)
   17059       lt_prog_compiler_wl_GCJ='-Wl,'
   17060       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17061       # not for PA HP-UX.
   17062       case $host_cpu in
   17063       hppa*64*|ia64*)
   17064 	# +Z the default
   17065 	;;
   17066       *)
   17067 	lt_prog_compiler_pic_GCJ='+Z'
   17068 	;;
   17069       esac
   17070       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17071       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17072       ;;
   17073 
   17074     irix5* | irix6* | nonstopux*)
   17075       lt_prog_compiler_wl_GCJ='-Wl,'
   17076       # PIC (with -KPIC) is the default.
   17077       lt_prog_compiler_static_GCJ='-non_shared'
   17078       ;;
   17079 
   17080     newsos6)
   17081       lt_prog_compiler_pic_GCJ='-KPIC'
   17082       lt_prog_compiler_static_GCJ='-Bstatic'
   17083       ;;
   17084 
   17085     linux* | k*bsd*-gnu)
   17086       case $cc_basename in
   17087       icc* | ecc*)
   17088 	lt_prog_compiler_wl_GCJ='-Wl,'
   17089 	lt_prog_compiler_pic_GCJ='-KPIC'
   17090 	lt_prog_compiler_static_GCJ='-static'
   17091         ;;
   17092       pgcc* | pgf77* | pgf90* | pgf95*)
   17093         # Portland Group compilers (*not* the Pentium gcc compiler,
   17094 	# which looks to be a dead project)
   17095 	lt_prog_compiler_wl_GCJ='-Wl,'
   17096 	lt_prog_compiler_pic_GCJ='-fpic'
   17097 	lt_prog_compiler_static_GCJ='-Bstatic'
   17098         ;;
   17099       ccc*)
   17100         lt_prog_compiler_wl_GCJ='-Wl,'
   17101         # All Alpha code is PIC.
   17102         lt_prog_compiler_static_GCJ='-non_shared'
   17103         ;;
   17104       *)
   17105         case `$CC -V 2>&1 | sed 5q` in
   17106 	*Sun\ C*)
   17107 	  # Sun C 5.9
   17108 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17109 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17110 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17111 	  ;;
   17112 	*Sun\ F*)
   17113 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17114 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17115 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17116 	  lt_prog_compiler_wl_GCJ=''
   17117 	  ;;
   17118 	esac
   17119 	;;
   17120       esac
   17121       ;;
   17122 
   17123     osf3* | osf4* | osf5*)
   17124       lt_prog_compiler_wl_GCJ='-Wl,'
   17125       # All OSF/1 code is PIC.
   17126       lt_prog_compiler_static_GCJ='-non_shared'
   17127       ;;
   17128 
   17129     rdos*)
   17130       lt_prog_compiler_static_GCJ='-non_shared'
   17131       ;;
   17132 
   17133     solaris*)
   17134       lt_prog_compiler_pic_GCJ='-KPIC'
   17135       lt_prog_compiler_static_GCJ='-Bstatic'
   17136       case $cc_basename in
   17137       f77* | f90* | f95*)
   17138 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17139       *)
   17140 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17141       esac
   17142       ;;
   17143 
   17144     sunos4*)
   17145       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17146       lt_prog_compiler_pic_GCJ='-PIC'
   17147       lt_prog_compiler_static_GCJ='-Bstatic'
   17148       ;;
   17149 
   17150     sysv4 | sysv4.2uw2* | sysv4.3*)
   17151       lt_prog_compiler_wl_GCJ='-Wl,'
   17152       lt_prog_compiler_pic_GCJ='-KPIC'
   17153       lt_prog_compiler_static_GCJ='-Bstatic'
   17154       ;;
   17155 
   17156     sysv4*MP*)
   17157       if test -d /usr/nec ;then
   17158 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17159 	lt_prog_compiler_static_GCJ='-Bstatic'
   17160       fi
   17161       ;;
   17162 
   17163     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17164       lt_prog_compiler_wl_GCJ='-Wl,'
   17165       lt_prog_compiler_pic_GCJ='-KPIC'
   17166       lt_prog_compiler_static_GCJ='-Bstatic'
   17167       ;;
   17168 
   17169     unicos*)
   17170       lt_prog_compiler_wl_GCJ='-Wl,'
   17171       lt_prog_compiler_can_build_shared_GCJ=no
   17172       ;;
   17173 
   17174     uts4*)
   17175       lt_prog_compiler_pic_GCJ='-pic'
   17176       lt_prog_compiler_static_GCJ='-Bstatic'
   17177       ;;
   17178 
   17179     *)
   17180       lt_prog_compiler_can_build_shared_GCJ=no
   17181       ;;
   17182     esac
   17183   fi
   17184 
   17185 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17186 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17187 
   17188 #
   17189 # Check to make sure the PIC flag actually works.
   17190 #
   17191 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17192 
   17193 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17194 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17195 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17196   $as_echo_n "(cached) " >&6
   17197 else
   17198   lt_cv_prog_compiler_pic_works_GCJ=no
   17199   ac_outfile=conftest.$ac_objext
   17200    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17201    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   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    # The option is referenced via a variable to avoid confusing sed.
   17207    lt_compile=`echo "$ac_compile" | $SED \
   17208    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17209    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17210    -e 's:$: $lt_compiler_flag:'`
   17211    (eval echo "\"\$as_me:17211: $lt_compile\"" >&5)
   17212    (eval "$lt_compile" 2>conftest.err)
   17213    ac_status=$?
   17214    cat conftest.err >&5
   17215    echo "$as_me:17215: \$? = $ac_status" >&5
   17216    if (exit $ac_status) && test -s "$ac_outfile"; then
   17217      # The compiler can only warn and ignore the option if not recognized
   17218      # So say no if there are warnings other than the usual output.
   17219      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17220      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17221      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17222        lt_cv_prog_compiler_pic_works_GCJ=yes
   17223      fi
   17224    fi
   17225    $rm conftest*
   17226 
   17227 fi
   17228 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17229 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17230 
   17231 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17232     case $lt_prog_compiler_pic_GCJ in
   17233      "" | " "*) ;;
   17234      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17235      esac
   17236 else
   17237     lt_prog_compiler_pic_GCJ=
   17238      lt_prog_compiler_can_build_shared_GCJ=no
   17239 fi
   17240 
   17241 fi
   17242 case $host_os in
   17243   # For platforms which do not support PIC, -DPIC is meaningless:
   17244   *djgpp*)
   17245     lt_prog_compiler_pic_GCJ=
   17246     ;;
   17247   *)
   17248     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17249     ;;
   17250 esac
   17251 
   17252 #
   17253 # Check to make sure the static flag actually works.
   17254 #
   17255 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17256 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17257 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17258 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17259   $as_echo_n "(cached) " >&6
   17260 else
   17261   lt_cv_prog_compiler_static_works_GCJ=no
   17262    save_LDFLAGS="$LDFLAGS"
   17263    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17264    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17265    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17266      # The linker can only warn and ignore the option if not recognized
   17267      # So say no if there are warnings
   17268      if test -s conftest.err; then
   17269        # Append any errors to the config.log.
   17270        cat conftest.err 1>&5
   17271        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17272        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17273        if diff conftest.exp conftest.er2 >/dev/null; then
   17274          lt_cv_prog_compiler_static_works_GCJ=yes
   17275        fi
   17276      else
   17277        lt_cv_prog_compiler_static_works_GCJ=yes
   17278      fi
   17279    fi
   17280    $rm -r conftest*
   17281    LDFLAGS="$save_LDFLAGS"
   17282 
   17283 fi
   17284 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17285 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17286 
   17287 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17288     :
   17289 else
   17290     lt_prog_compiler_static_GCJ=
   17291 fi
   17292 
   17293 
   17294 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17295 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17296 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17297   $as_echo_n "(cached) " >&6
   17298 else
   17299   lt_cv_prog_compiler_c_o_GCJ=no
   17300    $rm -r conftest 2>/dev/null
   17301    mkdir conftest
   17302    cd conftest
   17303    mkdir out
   17304    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17305 
   17306    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17307    # Insert the option either (1) after the last *FLAGS variable, or
   17308    # (2) before a word containing "conftest.", or (3) at the end.
   17309    # Note that $ac_compile itself does not contain backslashes and begins
   17310    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17311    lt_compile=`echo "$ac_compile" | $SED \
   17312    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17313    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17314    -e 's:$: $lt_compiler_flag:'`
   17315    (eval echo "\"\$as_me:17315: $lt_compile\"" >&5)
   17316    (eval "$lt_compile" 2>out/conftest.err)
   17317    ac_status=$?
   17318    cat out/conftest.err >&5
   17319    echo "$as_me:17319: \$? = $ac_status" >&5
   17320    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17321    then
   17322      # The compiler can only warn and ignore the option if not recognized
   17323      # So say no if there are warnings
   17324      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17325      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17326      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17327        lt_cv_prog_compiler_c_o_GCJ=yes
   17328      fi
   17329    fi
   17330    chmod u+w . 2>&5
   17331    $rm conftest*
   17332    # SGI C++ compiler will create directory out/ii_files/ for
   17333    # template instantiation
   17334    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17335    $rm out/* && rmdir out
   17336    cd ..
   17337    rmdir conftest
   17338    $rm conftest*
   17339 
   17340 fi
   17341 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17342 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17343 
   17344 
   17345 hard_links="nottested"
   17346 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17347   # do not overwrite the value of need_locks provided by the user
   17348   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17349 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17350   hard_links=yes
   17351   $rm conftest*
   17352   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17353   touch conftest.a
   17354   ln conftest.a conftest.b 2>&5 || hard_links=no
   17355   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17356   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17357 $as_echo "$hard_links" >&6; }
   17358   if test "$hard_links" = no; then
   17359     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17360 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17361     need_locks=warn
   17362   fi
   17363 else
   17364   need_locks=no
   17365 fi
   17366 
   17367 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17368 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17369 
   17370   runpath_var=
   17371   allow_undefined_flag_GCJ=
   17372   enable_shared_with_static_runtimes_GCJ=no
   17373   archive_cmds_GCJ=
   17374   archive_expsym_cmds_GCJ=
   17375   old_archive_From_new_cmds_GCJ=
   17376   old_archive_from_expsyms_cmds_GCJ=
   17377   export_dynamic_flag_spec_GCJ=
   17378   whole_archive_flag_spec_GCJ=
   17379   thread_safe_flag_spec_GCJ=
   17380   hardcode_libdir_flag_spec_GCJ=
   17381   hardcode_libdir_flag_spec_ld_GCJ=
   17382   hardcode_libdir_separator_GCJ=
   17383   hardcode_direct_GCJ=no
   17384   hardcode_minus_L_GCJ=no
   17385   hardcode_shlibpath_var_GCJ=unsupported
   17386   link_all_deplibs_GCJ=unknown
   17387   hardcode_automatic_GCJ=no
   17388   module_cmds_GCJ=
   17389   module_expsym_cmds_GCJ=
   17390   always_export_symbols_GCJ=no
   17391   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17392   # include_expsyms should be a list of space-separated symbols to be *always*
   17393   # included in the symbol list
   17394   include_expsyms_GCJ=
   17395   # exclude_expsyms can be an extended regexp of symbols to exclude
   17396   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17397   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17398   # as well as any symbol that contains `d'.
   17399   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17400   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17401   # platforms (ab)use it in PIC code, but their linkers get confused if
   17402   # the symbol is explicitly referenced.  Since portable code cannot
   17403   # rely on this symbol name, it's probably fine to never include it in
   17404   # preloaded symbol tables.
   17405   # Exclude shared library initialization/finalization symbols.
   17406   extract_expsyms_cmds=
   17407   # Just being paranoid about ensuring that cc_basename is set.
   17408   for cc_temp in $compiler""; do
   17409   case $cc_temp in
   17410     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17411     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17412     \-*) ;;
   17413     *) break;;
   17414   esac
   17415 done
   17416 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17417 
   17418   case $host_os in
   17419   cygwin* | mingw* | pw32*)
   17420     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17421     # When not using gcc, we currently assume that we are using
   17422     # Microsoft Visual C++.
   17423     if test "$GCC" != yes; then
   17424       with_gnu_ld=no
   17425     fi
   17426     ;;
   17427   interix*)
   17428     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17429     with_gnu_ld=yes
   17430     ;;
   17431   openbsd*)
   17432     with_gnu_ld=no
   17433     ;;
   17434   esac
   17435 
   17436   ld_shlibs_GCJ=yes
   17437   if test "$with_gnu_ld" = yes; then
   17438     # If archive_cmds runs LD, not CC, wlarc should be empty
   17439     wlarc='${wl}'
   17440 
   17441     # Set some defaults for GNU ld with shared library support. These
   17442     # are reset later if shared libraries are not supported. Putting them
   17443     # here allows them to be overridden if necessary.
   17444     runpath_var=LD_RUN_PATH
   17445     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17446     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17447     # ancient GNU ld didn't support --whole-archive et. al.
   17448     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17449 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17450       else
   17451   	whole_archive_flag_spec_GCJ=
   17452     fi
   17453     supports_anon_versioning=no
   17454     case `$LD -v 2>/dev/null` in
   17455       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17456       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17457       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17458       *\ 2.11.*) ;; # other 2.11 versions
   17459       *) supports_anon_versioning=yes ;;
   17460     esac
   17461 
   17462     # See if GNU ld supports shared libraries.
   17463     case $host_os in
   17464     aix[3-9]*)
   17465       # On AIX/PPC, the GNU linker is very broken
   17466       if test "$host_cpu" != ia64; then
   17467 	ld_shlibs_GCJ=no
   17468 	cat <<EOF 1>&2
   17469 
   17470 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17471 *** to be unable to reliably create shared libraries on AIX.
   17472 *** Therefore, libtool is disabling shared libraries support.  If you
   17473 *** really care for shared libraries, you may want to modify your PATH
   17474 *** so that a non-GNU linker is found, and then restart.
   17475 
   17476 EOF
   17477       fi
   17478       ;;
   17479 
   17480     amigaos*)
   17481       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)'
   17482       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17483       hardcode_minus_L_GCJ=yes
   17484 
   17485       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17486       # that the semantics of dynamic libraries on AmigaOS, at least up
   17487       # to version 4, is to share data among multiple programs linked
   17488       # with the same dynamic library.  Since this doesn't match the
   17489       # behavior of shared libraries on other platforms, we can't use
   17490       # them.
   17491       ld_shlibs_GCJ=no
   17492       ;;
   17493 
   17494     beos*)
   17495       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17496 	allow_undefined_flag_GCJ=unsupported
   17497 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17498 	# support --undefined.  This deserves some investigation.  FIXME
   17499 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17500       else
   17501 	ld_shlibs_GCJ=no
   17502       fi
   17503       ;;
   17504 
   17505     cygwin* | mingw* | pw32*)
   17506       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17507       # as there is no search path for DLLs.
   17508       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17509       allow_undefined_flag_GCJ=unsupported
   17510       always_export_symbols_GCJ=no
   17511       enable_shared_with_static_runtimes_GCJ=yes
   17512       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17513 
   17514       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17515         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17516 	# If the export-symbols file already is a .def file (1st line
   17517 	# is EXPORTS), use it as is; otherwise, prepend...
   17518 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17519 	  cp $export_symbols $output_objdir/$soname.def;
   17520 	else
   17521 	  echo EXPORTS > $output_objdir/$soname.def;
   17522 	  cat $export_symbols >> $output_objdir/$soname.def;
   17523 	fi~
   17524 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17525       else
   17526 	ld_shlibs_GCJ=no
   17527       fi
   17528       ;;
   17529 
   17530     interix[3-9]*)
   17531       hardcode_direct_GCJ=no
   17532       hardcode_shlibpath_var_GCJ=no
   17533       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17534       export_dynamic_flag_spec_GCJ='${wl}-E'
   17535       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17536       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17537       # default) and relocated if they conflict, which is a slow very memory
   17538       # consuming and fragmenting process.  To avoid this, we pick a random,
   17539       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17540       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17541       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'
   17542       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'
   17543       ;;
   17544 
   17545     gnu* | linux* | k*bsd*-gnu)
   17546       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17547 	tmp_addflag=
   17548 	case $cc_basename,$host_cpu in
   17549 	pgcc*)				# Portland Group C compiler
   17550 	  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'
   17551 	  tmp_addflag=' $pic_flag'
   17552 	  ;;
   17553 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17554 	  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'
   17555 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17556 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17557 	  tmp_addflag=' -i_dynamic' ;;
   17558 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17559 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17560 	ifc* | ifort*)			# Intel Fortran compiler
   17561 	  tmp_addflag=' -nofor_main' ;;
   17562 	esac
   17563 	case `$CC -V 2>&1 | sed 5q` in
   17564 	*Sun\ C*)			# Sun C 5.9
   17565 	  whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
   17566 	  tmp_sharedflag='-G' ;;
   17567 	*Sun\ F*)			# Sun Fortran 8.3
   17568 	  tmp_sharedflag='-G' ;;
   17569 	*)
   17570 	  tmp_sharedflag='-shared' ;;
   17571 	esac
   17572 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17573 
   17574 	if test $supports_anon_versioning = yes; then
   17575 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17576   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17577   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17578 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17579 	fi
   17580 	link_all_deplibs_GCJ=no
   17581       else
   17582 	ld_shlibs_GCJ=no
   17583       fi
   17584       ;;
   17585 
   17586     netbsd*)
   17587       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17588 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17589 	wlarc=
   17590       else
   17591 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17592 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17593       fi
   17594       ;;
   17595 
   17596     solaris*)
   17597       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17598 	ld_shlibs_GCJ=no
   17599 	cat <<EOF 1>&2
   17600 
   17601 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17602 *** create shared libraries on Solaris systems.  Therefore, libtool
   17603 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17604 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17605 *** your PATH or compiler configuration so that the native linker is
   17606 *** used, and then restart.
   17607 
   17608 EOF
   17609       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17610 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17611 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17612       else
   17613 	ld_shlibs_GCJ=no
   17614       fi
   17615       ;;
   17616 
   17617     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17618       case `$LD -v 2>&1` in
   17619         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17620 	ld_shlibs_GCJ=no
   17621 	cat <<_LT_EOF 1>&2
   17622 
   17623 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17624 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17625 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17626 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17627 *** your PATH or compiler configuration so that the native linker is
   17628 *** used, and then restart.
   17629 
   17630 _LT_EOF
   17631 	;;
   17632 	*)
   17633 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17634 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17635 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17636 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17637 	  else
   17638 	    ld_shlibs_GCJ=no
   17639 	  fi
   17640 	;;
   17641       esac
   17642       ;;
   17643 
   17644     sunos4*)
   17645       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17646       wlarc=
   17647       hardcode_direct_GCJ=yes
   17648       hardcode_shlibpath_var_GCJ=no
   17649       ;;
   17650 
   17651     *)
   17652       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17653 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17654 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17655       else
   17656 	ld_shlibs_GCJ=no
   17657       fi
   17658       ;;
   17659     esac
   17660 
   17661     if test "$ld_shlibs_GCJ" = no; then
   17662       runpath_var=
   17663       hardcode_libdir_flag_spec_GCJ=
   17664       export_dynamic_flag_spec_GCJ=
   17665       whole_archive_flag_spec_GCJ=
   17666     fi
   17667   else
   17668     # PORTME fill in a description of your system's linker (not GNU ld)
   17669     case $host_os in
   17670     aix3*)
   17671       allow_undefined_flag_GCJ=unsupported
   17672       always_export_symbols_GCJ=yes
   17673       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'
   17674       # Note: this linker hardcodes the directories in LIBPATH if there
   17675       # are no directories specified by -L.
   17676       hardcode_minus_L_GCJ=yes
   17677       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17678 	# Neither direct hardcoding nor static linking is supported with a
   17679 	# broken collect2.
   17680 	hardcode_direct_GCJ=unsupported
   17681       fi
   17682       ;;
   17683 
   17684     aix[4-9]*)
   17685       if test "$host_cpu" = ia64; then
   17686 	# On IA64, the linker does run time linking by default, so we don't
   17687 	# have to do anything special.
   17688 	aix_use_runtimelinking=no
   17689 	exp_sym_flag='-Bexport'
   17690 	no_entry_flag=""
   17691       else
   17692 	# If we're using GNU nm, then we don't want the "-C" option.
   17693 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17694 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17695 	  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'
   17696 	else
   17697 	  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'
   17698 	fi
   17699 	aix_use_runtimelinking=no
   17700 
   17701 	# Test if we are trying to use run time linking or normal
   17702 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17703 	# need to do runtime linking.
   17704 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17705 	  for ld_flag in $LDFLAGS; do
   17706   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17707   	    aix_use_runtimelinking=yes
   17708   	    break
   17709   	  fi
   17710 	  done
   17711 	  ;;
   17712 	esac
   17713 
   17714 	exp_sym_flag='-bexport'
   17715 	no_entry_flag='-bnoentry'
   17716       fi
   17717 
   17718       # When large executables or shared objects are built, AIX ld can
   17719       # have problems creating the table of contents.  If linking a library
   17720       # or program results in "error TOC overflow" add -mminimal-toc to
   17721       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17722       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17723 
   17724       archive_cmds_GCJ=''
   17725       hardcode_direct_GCJ=yes
   17726       hardcode_libdir_separator_GCJ=':'
   17727       link_all_deplibs_GCJ=yes
   17728 
   17729       if test "$GCC" = yes; then
   17730 	case $host_os in aix4.[012]|aix4.[012].*)
   17731 	# We only want to do this on AIX 4.2 and lower, the check
   17732 	# below for broken collect2 doesn't work under 4.3+
   17733 	  collect2name=`${CC} -print-prog-name=collect2`
   17734 	  if test -f "$collect2name" && \
   17735   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17736 	  then
   17737   	  # We have reworked collect2
   17738   	  :
   17739 	  else
   17740   	  # We have old collect2
   17741   	  hardcode_direct_GCJ=unsupported
   17742   	  # It fails to find uninstalled libraries when the uninstalled
   17743   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17744   	  # to unsupported forces relinking
   17745   	  hardcode_minus_L_GCJ=yes
   17746   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17747   	  hardcode_libdir_separator_GCJ=
   17748 	  fi
   17749 	  ;;
   17750 	esac
   17751 	shared_flag='-shared'
   17752 	if test "$aix_use_runtimelinking" = yes; then
   17753 	  shared_flag="$shared_flag "'${wl}-G'
   17754 	fi
   17755       else
   17756 	# not using gcc
   17757 	if test "$host_cpu" = ia64; then
   17758   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17759   	# chokes on -Wl,-G. The following line is correct:
   17760 	  shared_flag='-G'
   17761 	else
   17762 	  if test "$aix_use_runtimelinking" = yes; then
   17763 	    shared_flag='${wl}-G'
   17764 	  else
   17765 	    shared_flag='${wl}-bM:SRE'
   17766 	  fi
   17767 	fi
   17768       fi
   17769 
   17770       # It seems that -bexpall does not export symbols beginning with
   17771       # underscore (_), so it is better to generate a list of symbols to export.
   17772       always_export_symbols_GCJ=yes
   17773       if test "$aix_use_runtimelinking" = yes; then
   17774 	# Warning - without using the other runtime loading flags (-brtl),
   17775 	# -berok will link without error, but may produce a broken library.
   17776 	allow_undefined_flag_GCJ='-berok'
   17777        # Determine the default libpath from the value encoded in an empty executable.
   17778        cat >conftest.$ac_ext <<_ACEOF
   17779 /* confdefs.h.  */
   17780 _ACEOF
   17781 cat confdefs.h >>conftest.$ac_ext
   17782 cat >>conftest.$ac_ext <<_ACEOF
   17783 /* end confdefs.h.  */
   17784 
   17785 int
   17786 main ()
   17787 {
   17788 
   17789   ;
   17790   return 0;
   17791 }
   17792 _ACEOF
   17793 rm -f conftest.$ac_objext conftest$ac_exeext
   17794 if { (ac_try="$ac_link"
   17795 case "(($ac_try" in
   17796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17797   *) ac_try_echo=$ac_try;;
   17798 esac
   17799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17800 $as_echo "$ac_try_echo") >&5
   17801   (eval "$ac_link") 2>conftest.er1
   17802   ac_status=$?
   17803   grep -v '^ *+' conftest.er1 >conftest.err
   17804   rm -f conftest.er1
   17805   cat conftest.err >&5
   17806   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17807   (exit $ac_status); } && {
   17808 	 test -z "$ac_c_werror_flag" ||
   17809 	 test ! -s conftest.err
   17810        } && test -s conftest$ac_exeext && {
   17811 	 test "$cross_compiling" = yes ||
   17812 	 $as_test_x conftest$ac_exeext
   17813        }; then
   17814 
   17815 lt_aix_libpath_sed='
   17816     /Import File Strings/,/^$/ {
   17817 	/^0/ {
   17818 	    s/^0  *\(.*\)$/\1/
   17819 	    p
   17820 	}
   17821     }'
   17822 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17823 # Check for a 64-bit object if we didn't find anything.
   17824 if test -z "$aix_libpath"; then
   17825   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17826 fi
   17827 else
   17828   $as_echo "$as_me: failed program was:" >&5
   17829 sed 's/^/| /' conftest.$ac_ext >&5
   17830 
   17831 
   17832 fi
   17833 
   17834 rm -rf conftest.dSYM
   17835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17836       conftest$ac_exeext conftest.$ac_ext
   17837 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17838 
   17839        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17840 	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"
   17841        else
   17842 	if test "$host_cpu" = ia64; then
   17843 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17844 	  allow_undefined_flag_GCJ="-z nodefs"
   17845 	  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"
   17846 	else
   17847 	 # Determine the default libpath from the value encoded in an empty executable.
   17848 	 cat >conftest.$ac_ext <<_ACEOF
   17849 /* confdefs.h.  */
   17850 _ACEOF
   17851 cat confdefs.h >>conftest.$ac_ext
   17852 cat >>conftest.$ac_ext <<_ACEOF
   17853 /* end confdefs.h.  */
   17854 
   17855 int
   17856 main ()
   17857 {
   17858 
   17859   ;
   17860   return 0;
   17861 }
   17862 _ACEOF
   17863 rm -f conftest.$ac_objext conftest$ac_exeext
   17864 if { (ac_try="$ac_link"
   17865 case "(($ac_try" in
   17866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17867   *) ac_try_echo=$ac_try;;
   17868 esac
   17869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17870 $as_echo "$ac_try_echo") >&5
   17871   (eval "$ac_link") 2>conftest.er1
   17872   ac_status=$?
   17873   grep -v '^ *+' conftest.er1 >conftest.err
   17874   rm -f conftest.er1
   17875   cat conftest.err >&5
   17876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17877   (exit $ac_status); } && {
   17878 	 test -z "$ac_c_werror_flag" ||
   17879 	 test ! -s conftest.err
   17880        } && test -s conftest$ac_exeext && {
   17881 	 test "$cross_compiling" = yes ||
   17882 	 $as_test_x conftest$ac_exeext
   17883        }; then
   17884 
   17885 lt_aix_libpath_sed='
   17886     /Import File Strings/,/^$/ {
   17887 	/^0/ {
   17888 	    s/^0  *\(.*\)$/\1/
   17889 	    p
   17890 	}
   17891     }'
   17892 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17893 # Check for a 64-bit object if we didn't find anything.
   17894 if test -z "$aix_libpath"; then
   17895   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17896 fi
   17897 else
   17898   $as_echo "$as_me: failed program was:" >&5
   17899 sed 's/^/| /' conftest.$ac_ext >&5
   17900 
   17901 
   17902 fi
   17903 
   17904 rm -rf conftest.dSYM
   17905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17906       conftest$ac_exeext conftest.$ac_ext
   17907 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17908 
   17909 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17910 	  # Warning - without using the other run time loading flags,
   17911 	  # -berok will link without error, but may produce a broken library.
   17912 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17913 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17914 	  # Exported symbols can be pulled into shared objects from archives
   17915 	  whole_archive_flag_spec_GCJ='$convenience'
   17916 	  archive_cmds_need_lc_GCJ=yes
   17917 	  # This is similar to how AIX traditionally builds its shared libraries.
   17918 	  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'
   17919 	fi
   17920       fi
   17921       ;;
   17922 
   17923     amigaos*)
   17924       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)'
   17925       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17926       hardcode_minus_L_GCJ=yes
   17927       # see comment about different semantics on the GNU ld section
   17928       ld_shlibs_GCJ=no
   17929       ;;
   17930 
   17931     bsdi[45]*)
   17932       export_dynamic_flag_spec_GCJ=-rdynamic
   17933       ;;
   17934 
   17935     cygwin* | mingw* | pw32*)
   17936       # When not using gcc, we currently assume that we are using
   17937       # Microsoft Visual C++.
   17938       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17939       # no search path for DLLs.
   17940       hardcode_libdir_flag_spec_GCJ=' '
   17941       allow_undefined_flag_GCJ=unsupported
   17942       # Tell ltmain to make .lib files, not .a files.
   17943       libext=lib
   17944       # Tell ltmain to make .dll files, not .so files.
   17945       shrext_cmds=".dll"
   17946       # FIXME: Setting linknames here is a bad hack.
   17947       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17948       # The linker will automatically build a .lib file if we build a DLL.
   17949       old_archive_From_new_cmds_GCJ='true'
   17950       # FIXME: Should let the user specify the lib program.
   17951       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17952       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17953       enable_shared_with_static_runtimes_GCJ=yes
   17954       ;;
   17955 
   17956     darwin* | rhapsody*)
   17957       case $host_os in
   17958         rhapsody* | darwin1.[012])
   17959          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17960          ;;
   17961        *) # Darwin 1.3 on
   17962          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17963            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17964          else
   17965            case ${MACOSX_DEPLOYMENT_TARGET} in
   17966              10.[012])
   17967                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17968                ;;
   17969              10.*)
   17970                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   17971                ;;
   17972            esac
   17973          fi
   17974          ;;
   17975       esac
   17976       archive_cmds_need_lc_GCJ=no
   17977       hardcode_direct_GCJ=no
   17978       hardcode_automatic_GCJ=yes
   17979       hardcode_shlibpath_var_GCJ=unsupported
   17980       whole_archive_flag_spec_GCJ=''
   17981       link_all_deplibs_GCJ=yes
   17982     if test "$GCC" = yes ; then
   17983     	output_verbose_link_cmd='echo'
   17984         archive_cmds_GCJ="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   17985         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   17986         archive_expsym_cmds_GCJ="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   17987         module_expsym_cmds_GCJ="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   17988     else
   17989       case $cc_basename in
   17990         xlc*)
   17991          output_verbose_link_cmd='echo'
   17992          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   17993          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   17994           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   17995          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   17996           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}'
   17997           ;;
   17998        *)
   17999          ld_shlibs_GCJ=no
   18000           ;;
   18001       esac
   18002     fi
   18003       ;;
   18004 
   18005     dgux*)
   18006       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18007       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18008       hardcode_shlibpath_var_GCJ=no
   18009       ;;
   18010 
   18011     freebsd1*)
   18012       ld_shlibs_GCJ=no
   18013       ;;
   18014 
   18015     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18016     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18017     # does not break anything, and helps significantly (at the cost of a little
   18018     # extra space).
   18019     freebsd2.2*)
   18020       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18021       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18022       hardcode_direct_GCJ=yes
   18023       hardcode_shlibpath_var_GCJ=no
   18024       ;;
   18025 
   18026     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18027     freebsd2*)
   18028       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18029       hardcode_direct_GCJ=yes
   18030       hardcode_minus_L_GCJ=yes
   18031       hardcode_shlibpath_var_GCJ=no
   18032       ;;
   18033 
   18034     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18035     freebsd* | dragonfly*)
   18036       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18037       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18038       hardcode_direct_GCJ=yes
   18039       hardcode_shlibpath_var_GCJ=no
   18040       ;;
   18041 
   18042     hpux9*)
   18043       if test "$GCC" = yes; then
   18044 	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'
   18045       else
   18046 	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'
   18047       fi
   18048       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18049       hardcode_libdir_separator_GCJ=:
   18050       hardcode_direct_GCJ=yes
   18051 
   18052       # hardcode_minus_L: Not really in the search PATH,
   18053       # but as the default location of the library.
   18054       hardcode_minus_L_GCJ=yes
   18055       export_dynamic_flag_spec_GCJ='${wl}-E'
   18056       ;;
   18057 
   18058     hpux10*)
   18059       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18060 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18061       else
   18062 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18063       fi
   18064       if test "$with_gnu_ld" = no; then
   18065 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18066 	hardcode_libdir_separator_GCJ=:
   18067 
   18068 	hardcode_direct_GCJ=yes
   18069 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18070 
   18071 	# hardcode_minus_L: Not really in the search PATH,
   18072 	# but as the default location of the library.
   18073 	hardcode_minus_L_GCJ=yes
   18074       fi
   18075       ;;
   18076 
   18077     hpux11*)
   18078       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18079 	case $host_cpu in
   18080 	hppa*64*)
   18081 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18082 	  ;;
   18083 	ia64*)
   18084 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18085 	  ;;
   18086 	*)
   18087 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18088 	  ;;
   18089 	esac
   18090       else
   18091 	case $host_cpu in
   18092 	hppa*64*)
   18093 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18094 	  ;;
   18095 	ia64*)
   18096 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18097 	  ;;
   18098 	*)
   18099 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18100 	  ;;
   18101 	esac
   18102       fi
   18103       if test "$with_gnu_ld" = no; then
   18104 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18105 	hardcode_libdir_separator_GCJ=:
   18106 
   18107 	case $host_cpu in
   18108 	hppa*64*|ia64*)
   18109 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18110 	  hardcode_direct_GCJ=no
   18111 	  hardcode_shlibpath_var_GCJ=no
   18112 	  ;;
   18113 	*)
   18114 	  hardcode_direct_GCJ=yes
   18115 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18116 
   18117 	  # hardcode_minus_L: Not really in the search PATH,
   18118 	  # but as the default location of the library.
   18119 	  hardcode_minus_L_GCJ=yes
   18120 	  ;;
   18121 	esac
   18122       fi
   18123       ;;
   18124 
   18125     irix5* | irix6* | nonstopux*)
   18126       if test "$GCC" = yes; then
   18127 	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'
   18128       else
   18129 	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'
   18130 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18131       fi
   18132       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18133       hardcode_libdir_separator_GCJ=:
   18134       link_all_deplibs_GCJ=yes
   18135       ;;
   18136 
   18137     netbsd*)
   18138       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18139 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18140       else
   18141 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18142       fi
   18143       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18144       hardcode_direct_GCJ=yes
   18145       hardcode_shlibpath_var_GCJ=no
   18146       ;;
   18147 
   18148     newsos6)
   18149       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18150       hardcode_direct_GCJ=yes
   18151       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18152       hardcode_libdir_separator_GCJ=:
   18153       hardcode_shlibpath_var_GCJ=no
   18154       ;;
   18155 
   18156     openbsd*)
   18157       if test -f /usr/libexec/ld.so; then
   18158 	hardcode_direct_GCJ=yes
   18159 	hardcode_shlibpath_var_GCJ=no
   18160 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18161 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18162 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18163 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18164 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18165 	else
   18166 	  case $host_os in
   18167 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18168 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18169 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18170 	     ;;
   18171 	   *)
   18172 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18173 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18174 	     ;;
   18175 	  esac
   18176         fi
   18177       else
   18178 	ld_shlibs_GCJ=no
   18179       fi
   18180       ;;
   18181 
   18182     os2*)
   18183       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18184       hardcode_minus_L_GCJ=yes
   18185       allow_undefined_flag_GCJ=unsupported
   18186       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'
   18187       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18188       ;;
   18189 
   18190     osf3*)
   18191       if test "$GCC" = yes; then
   18192 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18193 	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'
   18194       else
   18195 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18196 	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'
   18197       fi
   18198       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18199       hardcode_libdir_separator_GCJ=:
   18200       ;;
   18201 
   18202     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18203       if test "$GCC" = yes; then
   18204 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18205 	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'
   18206 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18207       else
   18208 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18209 	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'
   18210 	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~
   18211 	$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'
   18212 
   18213 	# Both c and cxx compiler support -rpath directly
   18214 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18215       fi
   18216       hardcode_libdir_separator_GCJ=:
   18217       ;;
   18218 
   18219     solaris*)
   18220       no_undefined_flag_GCJ=' -z text'
   18221       if test "$GCC" = yes; then
   18222 	wlarc='${wl}'
   18223 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18224 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18225 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18226       else
   18227 	wlarc=''
   18228 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18229 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18230   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18231       fi
   18232       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18233       hardcode_shlibpath_var_GCJ=no
   18234       case $host_os in
   18235       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18236       *)
   18237 	# The compiler driver will combine and reorder linker options,
   18238 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18239 	# but is careful enough not to reorder.
   18240  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18241 	if test "$GCC" = yes; then
   18242 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18243 	else
   18244 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18245 	fi
   18246 	;;
   18247       esac
   18248       link_all_deplibs_GCJ=yes
   18249       ;;
   18250 
   18251     sunos4*)
   18252       if test "x$host_vendor" = xsequent; then
   18253 	# Use $CC to link under sequent, because it throws in some extra .o
   18254 	# files that make .init and .fini sections work.
   18255 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18256       else
   18257 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18258       fi
   18259       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18260       hardcode_direct_GCJ=yes
   18261       hardcode_minus_L_GCJ=yes
   18262       hardcode_shlibpath_var_GCJ=no
   18263       ;;
   18264 
   18265     sysv4)
   18266       case $host_vendor in
   18267 	sni)
   18268 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18269 	  hardcode_direct_GCJ=yes # is this really true???
   18270 	;;
   18271 	siemens)
   18272 	  ## LD is ld it makes a PLAMLIB
   18273 	  ## CC just makes a GrossModule.
   18274 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18275 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18276 	  hardcode_direct_GCJ=no
   18277         ;;
   18278 	motorola)
   18279 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18280 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18281 	;;
   18282       esac
   18283       runpath_var='LD_RUN_PATH'
   18284       hardcode_shlibpath_var_GCJ=no
   18285       ;;
   18286 
   18287     sysv4.3*)
   18288       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18289       hardcode_shlibpath_var_GCJ=no
   18290       export_dynamic_flag_spec_GCJ='-Bexport'
   18291       ;;
   18292 
   18293     sysv4*MP*)
   18294       if test -d /usr/nec; then
   18295 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18296 	hardcode_shlibpath_var_GCJ=no
   18297 	runpath_var=LD_RUN_PATH
   18298 	hardcode_runpath_var=yes
   18299 	ld_shlibs_GCJ=yes
   18300       fi
   18301       ;;
   18302 
   18303     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18304       no_undefined_flag_GCJ='${wl}-z,text'
   18305       archive_cmds_need_lc_GCJ=no
   18306       hardcode_shlibpath_var_GCJ=no
   18307       runpath_var='LD_RUN_PATH'
   18308 
   18309       if test "$GCC" = yes; then
   18310 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18311 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18312       else
   18313 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18314 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18315       fi
   18316       ;;
   18317 
   18318     sysv5* | sco3.2v5* | sco5v6*)
   18319       # Note: We can NOT use -z defs as we might desire, because we do not
   18320       # link with -lc, and that would cause any symbols used from libc to
   18321       # always be unresolved, which means just about no library would
   18322       # ever link correctly.  If we're not using GNU ld we use -z text
   18323       # though, which does catch some bad symbols but isn't as heavy-handed
   18324       # as -z defs.
   18325       no_undefined_flag_GCJ='${wl}-z,text'
   18326       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18327       archive_cmds_need_lc_GCJ=no
   18328       hardcode_shlibpath_var_GCJ=no
   18329       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18330       hardcode_libdir_separator_GCJ=':'
   18331       link_all_deplibs_GCJ=yes
   18332       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18333       runpath_var='LD_RUN_PATH'
   18334 
   18335       if test "$GCC" = yes; then
   18336 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18337 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18338       else
   18339 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18340 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18341       fi
   18342       ;;
   18343 
   18344     uts4*)
   18345       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18346       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18347       hardcode_shlibpath_var_GCJ=no
   18348       ;;
   18349 
   18350     *)
   18351       ld_shlibs_GCJ=no
   18352       ;;
   18353     esac
   18354   fi
   18355 
   18356 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18357 $as_echo "$ld_shlibs_GCJ" >&6; }
   18358 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18359 
   18360 #
   18361 # Do we need to explicitly link libc?
   18362 #
   18363 case "x$archive_cmds_need_lc_GCJ" in
   18364 x|xyes)
   18365   # Assume -lc should be added
   18366   archive_cmds_need_lc_GCJ=yes
   18367 
   18368   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18369     case $archive_cmds_GCJ in
   18370     *'~'*)
   18371       # FIXME: we may have to deal with multi-command sequences.
   18372       ;;
   18373     '$CC '*)
   18374       # Test whether the compiler implicitly links with -lc since on some
   18375       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18376       # to ld, don't add -lc before -lgcc.
   18377       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18378 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18379       $rm conftest*
   18380       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18381 
   18382       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18383   (eval $ac_compile) 2>&5
   18384   ac_status=$?
   18385   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18386   (exit $ac_status); } 2>conftest.err; then
   18387         soname=conftest
   18388         lib=conftest
   18389         libobjs=conftest.$ac_objext
   18390         deplibs=
   18391         wl=$lt_prog_compiler_wl_GCJ
   18392 	pic_flag=$lt_prog_compiler_pic_GCJ
   18393         compiler_flags=-v
   18394         linker_flags=-v
   18395         verstring=
   18396         output_objdir=.
   18397         libname=conftest
   18398         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18399         allow_undefined_flag_GCJ=
   18400         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18401   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18402   ac_status=$?
   18403   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18404   (exit $ac_status); }
   18405         then
   18406 	  archive_cmds_need_lc_GCJ=no
   18407         else
   18408 	  archive_cmds_need_lc_GCJ=yes
   18409         fi
   18410         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18411       else
   18412         cat conftest.err 1>&5
   18413       fi
   18414       $rm conftest*
   18415       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18416 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18417       ;;
   18418     esac
   18419   fi
   18420   ;;
   18421 esac
   18422 
   18423 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18424 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18425 library_names_spec=
   18426 libname_spec='lib$name'
   18427 soname_spec=
   18428 shrext_cmds=".so"
   18429 postinstall_cmds=
   18430 postuninstall_cmds=
   18431 finish_cmds=
   18432 finish_eval=
   18433 shlibpath_var=
   18434 shlibpath_overrides_runpath=unknown
   18435 version_type=none
   18436 dynamic_linker="$host_os ld.so"
   18437 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18438 
   18439 need_lib_prefix=unknown
   18440 hardcode_into_libs=no
   18441 
   18442 # when you set need_version to no, make sure it does not cause -set_version
   18443 # flags to be left without arguments
   18444 need_version=unknown
   18445 
   18446 case $host_os in
   18447 aix3*)
   18448   version_type=linux
   18449   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18450   shlibpath_var=LIBPATH
   18451 
   18452   # AIX 3 has no versioning support, so we append a major version to the name.
   18453   soname_spec='${libname}${release}${shared_ext}$major'
   18454   ;;
   18455 
   18456 aix[4-9]*)
   18457   version_type=linux
   18458   need_lib_prefix=no
   18459   need_version=no
   18460   hardcode_into_libs=yes
   18461   if test "$host_cpu" = ia64; then
   18462     # AIX 5 supports IA64
   18463     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18464     shlibpath_var=LD_LIBRARY_PATH
   18465   else
   18466     # With GCC up to 2.95.x, collect2 would create an import file
   18467     # for dependence libraries.  The import file would start with
   18468     # the line `#! .'.  This would cause the generated library to
   18469     # depend on `.', always an invalid library.  This was fixed in
   18470     # development snapshots of GCC prior to 3.0.
   18471     case $host_os in
   18472       aix4 | aix4.[01] | aix4.[01].*)
   18473       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18474 	   echo ' yes '
   18475 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18476 	:
   18477       else
   18478 	can_build_shared=no
   18479       fi
   18480       ;;
   18481     esac
   18482     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18483     # soname into executable. Probably we can add versioning support to
   18484     # collect2, so additional links can be useful in future.
   18485     if test "$aix_use_runtimelinking" = yes; then
   18486       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18487       # instead of lib<name>.a to let people know that these are not
   18488       # typical AIX shared libraries.
   18489       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18490     else
   18491       # We preserve .a as extension for shared libraries through AIX4.2
   18492       # and later when we are not doing run time linking.
   18493       library_names_spec='${libname}${release}.a $libname.a'
   18494       soname_spec='${libname}${release}${shared_ext}$major'
   18495     fi
   18496     shlibpath_var=LIBPATH
   18497   fi
   18498   ;;
   18499 
   18500 amigaos*)
   18501   library_names_spec='$libname.ixlibrary $libname.a'
   18502   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18503   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'
   18504   ;;
   18505 
   18506 beos*)
   18507   library_names_spec='${libname}${shared_ext}'
   18508   dynamic_linker="$host_os ld.so"
   18509   shlibpath_var=LIBRARY_PATH
   18510   ;;
   18511 
   18512 bsdi[45]*)
   18513   version_type=linux
   18514   need_version=no
   18515   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18516   soname_spec='${libname}${release}${shared_ext}$major'
   18517   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18518   shlibpath_var=LD_LIBRARY_PATH
   18519   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18520   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18521   # the default ld.so.conf also contains /usr/contrib/lib and
   18522   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18523   # libtool to hard-code these into programs
   18524   ;;
   18525 
   18526 cygwin* | mingw* | pw32*)
   18527   version_type=windows
   18528   shrext_cmds=".dll"
   18529   need_version=no
   18530   need_lib_prefix=no
   18531 
   18532   case $GCC,$host_os in
   18533   yes,cygwin* | yes,mingw* | yes,pw32*)
   18534     library_names_spec='$libname.dll.a'
   18535     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18536     postinstall_cmds='base_file=`basename \${file}`~
   18537       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18538       dldir=$destdir/`dirname \$dlpath`~
   18539       test -d \$dldir || mkdir -p \$dldir~
   18540       $install_prog $dir/$dlname \$dldir/$dlname~
   18541       chmod a+x \$dldir/$dlname'
   18542     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18543       dlpath=$dir/\$dldll~
   18544        $rm \$dlpath'
   18545     shlibpath_overrides_runpath=yes
   18546 
   18547     case $host_os in
   18548     cygwin*)
   18549       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18550       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18551       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18552       ;;
   18553     mingw*)
   18554       # MinGW DLLs use traditional 'lib' prefix
   18555       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18556       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18557       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18558         # It is most probably a Windows format PATH printed by
   18559         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18560         # path with ; separators, and with drive letters. We can handle the
   18561         # drive letters (cygwin fileutils understands them), so leave them,
   18562         # especially as we might pass files found there to a mingw objdump,
   18563         # which wouldn't understand a cygwinified path. Ahh.
   18564         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18565       else
   18566         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18567       fi
   18568       ;;
   18569     pw32*)
   18570       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18571       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18572       ;;
   18573     esac
   18574     ;;
   18575 
   18576   *)
   18577     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18578     ;;
   18579   esac
   18580   dynamic_linker='Win32 ld.exe'
   18581   # FIXME: first we should search . and the directory the executable is in
   18582   shlibpath_var=PATH
   18583   ;;
   18584 
   18585 darwin* | rhapsody*)
   18586   dynamic_linker="$host_os dyld"
   18587   version_type=darwin
   18588   need_lib_prefix=no
   18589   need_version=no
   18590   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18591   soname_spec='${libname}${release}${major}$shared_ext'
   18592   shlibpath_overrides_runpath=yes
   18593   shlibpath_var=DYLD_LIBRARY_PATH
   18594   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18595 
   18596   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18597   ;;
   18598 
   18599 dgux*)
   18600   version_type=linux
   18601   need_lib_prefix=no
   18602   need_version=no
   18603   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18604   soname_spec='${libname}${release}${shared_ext}$major'
   18605   shlibpath_var=LD_LIBRARY_PATH
   18606   ;;
   18607 
   18608 freebsd1*)
   18609   dynamic_linker=no
   18610   ;;
   18611 
   18612 freebsd* | dragonfly*)
   18613   # DragonFly does not have aout.  When/if they implement a new
   18614   # versioning mechanism, adjust this.
   18615   if test -x /usr/bin/objformat; then
   18616     objformat=`/usr/bin/objformat`
   18617   else
   18618     case $host_os in
   18619     freebsd[123]*) objformat=aout ;;
   18620     *) objformat=elf ;;
   18621     esac
   18622   fi
   18623   version_type=freebsd-$objformat
   18624   case $version_type in
   18625     freebsd-elf*)
   18626       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18627       need_version=no
   18628       need_lib_prefix=no
   18629       ;;
   18630     freebsd-*)
   18631       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18632       need_version=yes
   18633       ;;
   18634   esac
   18635   shlibpath_var=LD_LIBRARY_PATH
   18636   case $host_os in
   18637   freebsd2*)
   18638     shlibpath_overrides_runpath=yes
   18639     ;;
   18640   freebsd3.[01]* | freebsdelf3.[01]*)
   18641     shlibpath_overrides_runpath=yes
   18642     hardcode_into_libs=yes
   18643     ;;
   18644   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18645   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18646     shlibpath_overrides_runpath=no
   18647     hardcode_into_libs=yes
   18648     ;;
   18649   *) # from 4.6 on, and DragonFly
   18650     shlibpath_overrides_runpath=yes
   18651     hardcode_into_libs=yes
   18652     ;;
   18653   esac
   18654   ;;
   18655 
   18656 gnu*)
   18657   version_type=linux
   18658   need_lib_prefix=no
   18659   need_version=no
   18660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18661   soname_spec='${libname}${release}${shared_ext}$major'
   18662   shlibpath_var=LD_LIBRARY_PATH
   18663   hardcode_into_libs=yes
   18664   ;;
   18665 
   18666 hpux9* | hpux10* | hpux11*)
   18667   # Give a soname corresponding to the major version so that dld.sl refuses to
   18668   # link against other versions.
   18669   version_type=sunos
   18670   need_lib_prefix=no
   18671   need_version=no
   18672   case $host_cpu in
   18673   ia64*)
   18674     shrext_cmds='.so'
   18675     hardcode_into_libs=yes
   18676     dynamic_linker="$host_os dld.so"
   18677     shlibpath_var=LD_LIBRARY_PATH
   18678     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18679     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18680     soname_spec='${libname}${release}${shared_ext}$major'
   18681     if test "X$HPUX_IA64_MODE" = X32; then
   18682       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18683     else
   18684       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18685     fi
   18686     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18687     ;;
   18688    hppa*64*)
   18689      shrext_cmds='.sl'
   18690      hardcode_into_libs=yes
   18691      dynamic_linker="$host_os dld.sl"
   18692      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18693      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18694      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18695      soname_spec='${libname}${release}${shared_ext}$major'
   18696      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18697      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18698      ;;
   18699    *)
   18700     shrext_cmds='.sl'
   18701     dynamic_linker="$host_os dld.sl"
   18702     shlibpath_var=SHLIB_PATH
   18703     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18704     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18705     soname_spec='${libname}${release}${shared_ext}$major'
   18706     ;;
   18707   esac
   18708   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18709   postinstall_cmds='chmod 555 $lib'
   18710   ;;
   18711 
   18712 interix[3-9]*)
   18713   version_type=linux
   18714   need_lib_prefix=no
   18715   need_version=no
   18716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18717   soname_spec='${libname}${release}${shared_ext}$major'
   18718   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18719   shlibpath_var=LD_LIBRARY_PATH
   18720   shlibpath_overrides_runpath=no
   18721   hardcode_into_libs=yes
   18722   ;;
   18723 
   18724 irix5* | irix6* | nonstopux*)
   18725   case $host_os in
   18726     nonstopux*) version_type=nonstopux ;;
   18727     *)
   18728 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18729 		version_type=linux
   18730 	else
   18731 		version_type=irix
   18732 	fi ;;
   18733   esac
   18734   need_lib_prefix=no
   18735   need_version=no
   18736   soname_spec='${libname}${release}${shared_ext}$major'
   18737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18738   case $host_os in
   18739   irix5* | nonstopux*)
   18740     libsuff= shlibsuff=
   18741     ;;
   18742   *)
   18743     case $LD in # libtool.m4 will add one of these switches to LD
   18744     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18745       libsuff= shlibsuff= libmagic=32-bit;;
   18746     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18747       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18748     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18749       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18750     *) libsuff= shlibsuff= libmagic=never-match;;
   18751     esac
   18752     ;;
   18753   esac
   18754   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18755   shlibpath_overrides_runpath=no
   18756   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18757   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18758   hardcode_into_libs=yes
   18759   ;;
   18760 
   18761 # No shared lib support for Linux oldld, aout, or coff.
   18762 linux*oldld* | linux*aout* | linux*coff*)
   18763   dynamic_linker=no
   18764   ;;
   18765 
   18766 # This must be Linux ELF.
   18767 linux* | k*bsd*-gnu)
   18768   version_type=linux
   18769   need_lib_prefix=no
   18770   need_version=no
   18771   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18772   soname_spec='${libname}${release}${shared_ext}$major'
   18773   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18774   shlibpath_var=LD_LIBRARY_PATH
   18775   shlibpath_overrides_runpath=no
   18776   # This implies no fast_install, which is unacceptable.
   18777   # Some rework will be needed to allow for fast_install
   18778   # before this can be enabled.
   18779   hardcode_into_libs=yes
   18780 
   18781   # find out which ABI we are using
   18782   libsuff=
   18783   case "$host_cpu" in
   18784   x86_64*|s390x*|powerpc64*)
   18785     echo '#line 18785 "configure"' > conftest.$ac_ext
   18786     if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18787   (eval $ac_compile) 2>&5
   18788   ac_status=$?
   18789   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18790   (exit $ac_status); }; then
   18791       case `/usr/bin/file conftest.$ac_objext` in
   18792       *64-bit*)
   18793         libsuff=64
   18794         ;;
   18795       esac
   18796     fi
   18797     rm -rf conftest*
   18798     ;;
   18799   esac
   18800 
   18801   sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff}"
   18802 
   18803   # Append ld.so.conf contents to the search path
   18804   if test -f /etc/ld.so.conf; then
   18805     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ 	]*hwcap[ 	]/d;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   18806     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   18807   fi
   18808 
   18809   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18810   # powerpc, because MkLinux only supported shared libraries with the
   18811   # GNU dynamic linker.  Since this was broken with cross compilers,
   18812   # most powerpc-linux boxes support dynamic linking these days and
   18813   # people can always --disable-shared, the test was removed, and we
   18814   # assume the GNU/Linux dynamic linker is in use.
   18815   dynamic_linker='GNU/Linux ld.so'
   18816   ;;
   18817 
   18818 netbsd*)
   18819   version_type=sunos
   18820   need_lib_prefix=no
   18821   need_version=no
   18822   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18823     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18824     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18825     dynamic_linker='NetBSD (a.out) ld.so'
   18826   else
   18827     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18828     soname_spec='${libname}${release}${shared_ext}$major'
   18829     dynamic_linker='NetBSD ld.elf_so'
   18830   fi
   18831   shlibpath_var=LD_LIBRARY_PATH
   18832   shlibpath_overrides_runpath=yes
   18833   hardcode_into_libs=yes
   18834   ;;
   18835 
   18836 newsos6)
   18837   version_type=linux
   18838   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18839   shlibpath_var=LD_LIBRARY_PATH
   18840   shlibpath_overrides_runpath=yes
   18841   ;;
   18842 
   18843 nto-qnx*)
   18844   version_type=linux
   18845   need_lib_prefix=no
   18846   need_version=no
   18847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18848   soname_spec='${libname}${release}${shared_ext}$major'
   18849   shlibpath_var=LD_LIBRARY_PATH
   18850   shlibpath_overrides_runpath=yes
   18851   ;;
   18852 
   18853 openbsd*)
   18854   version_type=sunos
   18855   sys_lib_dlsearch_path_spec="/usr/lib"
   18856   need_lib_prefix=no
   18857   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18858   case $host_os in
   18859     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18860     *)                         need_version=no  ;;
   18861   esac
   18862   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18863   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18864   shlibpath_var=LD_LIBRARY_PATH
   18865   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18866     case $host_os in
   18867       openbsd2.[89] | openbsd2.[89].*)
   18868 	shlibpath_overrides_runpath=no
   18869 	;;
   18870       *)
   18871 	shlibpath_overrides_runpath=yes
   18872 	;;
   18873       esac
   18874   else
   18875     shlibpath_overrides_runpath=yes
   18876   fi
   18877   ;;
   18878 
   18879 os2*)
   18880   libname_spec='$name'
   18881   shrext_cmds=".dll"
   18882   need_lib_prefix=no
   18883   library_names_spec='$libname${shared_ext} $libname.a'
   18884   dynamic_linker='OS/2 ld.exe'
   18885   shlibpath_var=LIBPATH
   18886   ;;
   18887 
   18888 osf3* | osf4* | osf5*)
   18889   version_type=osf
   18890   need_lib_prefix=no
   18891   need_version=no
   18892   soname_spec='${libname}${release}${shared_ext}$major'
   18893   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18894   shlibpath_var=LD_LIBRARY_PATH
   18895   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18896   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18897   ;;
   18898 
   18899 rdos*)
   18900   dynamic_linker=no
   18901   ;;
   18902 
   18903 solaris*)
   18904   version_type=linux
   18905   need_lib_prefix=no
   18906   need_version=no
   18907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18908   soname_spec='${libname}${release}${shared_ext}$major'
   18909   shlibpath_var=LD_LIBRARY_PATH
   18910   shlibpath_overrides_runpath=yes
   18911   hardcode_into_libs=yes
   18912   # ldd complains unless libraries are executable
   18913   postinstall_cmds='chmod +x $lib'
   18914   ;;
   18915 
   18916 sunos4*)
   18917   version_type=sunos
   18918   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18919   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18920   shlibpath_var=LD_LIBRARY_PATH
   18921   shlibpath_overrides_runpath=yes
   18922   if test "$with_gnu_ld" = yes; then
   18923     need_lib_prefix=no
   18924   fi
   18925   need_version=yes
   18926   ;;
   18927 
   18928 sysv4 | sysv4.3*)
   18929   version_type=linux
   18930   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18931   soname_spec='${libname}${release}${shared_ext}$major'
   18932   shlibpath_var=LD_LIBRARY_PATH
   18933   case $host_vendor in
   18934     sni)
   18935       shlibpath_overrides_runpath=no
   18936       need_lib_prefix=no
   18937       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18938       runpath_var=LD_RUN_PATH
   18939       ;;
   18940     siemens)
   18941       need_lib_prefix=no
   18942       ;;
   18943     motorola)
   18944       need_lib_prefix=no
   18945       need_version=no
   18946       shlibpath_overrides_runpath=no
   18947       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18948       ;;
   18949   esac
   18950   ;;
   18951 
   18952 sysv4*MP*)
   18953   if test -d /usr/nec ;then
   18954     version_type=linux
   18955     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18956     soname_spec='$libname${shared_ext}.$major'
   18957     shlibpath_var=LD_LIBRARY_PATH
   18958   fi
   18959   ;;
   18960 
   18961 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18962   version_type=freebsd-elf
   18963   need_lib_prefix=no
   18964   need_version=no
   18965   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18966   soname_spec='${libname}${release}${shared_ext}$major'
   18967   shlibpath_var=LD_LIBRARY_PATH
   18968   hardcode_into_libs=yes
   18969   if test "$with_gnu_ld" = yes; then
   18970     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18971     shlibpath_overrides_runpath=no
   18972   else
   18973     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18974     shlibpath_overrides_runpath=yes
   18975     case $host_os in
   18976       sco3.2v5*)
   18977         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18978 	;;
   18979     esac
   18980   fi
   18981   sys_lib_dlsearch_path_spec='/usr/lib'
   18982   ;;
   18983 
   18984 uts4*)
   18985   version_type=linux
   18986   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18987   soname_spec='${libname}${release}${shared_ext}$major'
   18988   shlibpath_var=LD_LIBRARY_PATH
   18989   ;;
   18990 
   18991 *)
   18992   dynamic_linker=no
   18993   ;;
   18994 esac
   18995 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   18996 $as_echo "$dynamic_linker" >&6; }
   18997 test "$dynamic_linker" = no && can_build_shared=no
   18998 
   18999 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19000   $as_echo_n "(cached) " >&6
   19001 else
   19002   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19003 fi
   19004 
   19005 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19006 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19007   $as_echo_n "(cached) " >&6
   19008 else
   19009   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19010 fi
   19011 
   19012 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19013 
   19014 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19015 if test "$GCC" = yes; then
   19016   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19017 fi
   19018 
   19019 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19020 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19021 hardcode_action_GCJ=
   19022 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19023    test -n "$runpath_var_GCJ" || \
   19024    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19025 
   19026   # We can hardcode non-existant directories.
   19027   if test "$hardcode_direct_GCJ" != no &&
   19028      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19029      # have to relink, otherwise we might link with an installed library
   19030      # when we should be linking with a yet-to-be-installed one
   19031      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19032      test "$hardcode_minus_L_GCJ" != no; then
   19033     # Linking always hardcodes the temporary library directory.
   19034     hardcode_action_GCJ=relink
   19035   else
   19036     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19037     hardcode_action_GCJ=immediate
   19038   fi
   19039 else
   19040   # We cannot hardcode anything, or else we can only hardcode existing
   19041   # directories.
   19042   hardcode_action_GCJ=unsupported
   19043 fi
   19044 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19045 $as_echo "$hardcode_action_GCJ" >&6; }
   19046 
   19047 if test "$hardcode_action_GCJ" = relink; then
   19048   # Fast installation is not supported
   19049   enable_fast_install=no
   19050 elif test "$shlibpath_overrides_runpath" = yes ||
   19051      test "$enable_shared" = no; then
   19052   # Fast installation is not necessary
   19053   enable_fast_install=needless
   19054 fi
   19055 
   19056 
   19057 # The else clause should only fire when bootstrapping the
   19058 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19059 # with your package, and you will get complaints that there are
   19060 # no rules to generate ltmain.sh.
   19061 if test -f "$ltmain"; then
   19062   # See if we are running on zsh, and set the options which allow our commands through
   19063   # without removal of \ escapes.
   19064   if test -n "${ZSH_VERSION+set}" ; then
   19065     setopt NO_GLOB_SUBST
   19066   fi
   19067   # Now quote all the things that may contain metacharacters while being
   19068   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19069   # variables and quote the copies for generation of the libtool script.
   19070   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19071     SED SHELL STRIP \
   19072     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19073     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19074     deplibs_check_method reload_flag reload_cmds need_locks \
   19075     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19076     lt_cv_sys_global_symbol_to_c_name_address \
   19077     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19078     old_postinstall_cmds old_postuninstall_cmds \
   19079     compiler_GCJ \
   19080     CC_GCJ \
   19081     LD_GCJ \
   19082     lt_prog_compiler_wl_GCJ \
   19083     lt_prog_compiler_pic_GCJ \
   19084     lt_prog_compiler_static_GCJ \
   19085     lt_prog_compiler_no_builtin_flag_GCJ \
   19086     export_dynamic_flag_spec_GCJ \
   19087     thread_safe_flag_spec_GCJ \
   19088     whole_archive_flag_spec_GCJ \
   19089     enable_shared_with_static_runtimes_GCJ \
   19090     old_archive_cmds_GCJ \
   19091     old_archive_from_new_cmds_GCJ \
   19092     predep_objects_GCJ \
   19093     postdep_objects_GCJ \
   19094     predeps_GCJ \
   19095     postdeps_GCJ \
   19096     compiler_lib_search_path_GCJ \
   19097     compiler_lib_search_dirs_GCJ \
   19098     archive_cmds_GCJ \
   19099     archive_expsym_cmds_GCJ \
   19100     postinstall_cmds_GCJ \
   19101     postuninstall_cmds_GCJ \
   19102     old_archive_from_expsyms_cmds_GCJ \
   19103     allow_undefined_flag_GCJ \
   19104     no_undefined_flag_GCJ \
   19105     export_symbols_cmds_GCJ \
   19106     hardcode_libdir_flag_spec_GCJ \
   19107     hardcode_libdir_flag_spec_ld_GCJ \
   19108     hardcode_libdir_separator_GCJ \
   19109     hardcode_automatic_GCJ \
   19110     module_cmds_GCJ \
   19111     module_expsym_cmds_GCJ \
   19112     lt_cv_prog_compiler_c_o_GCJ \
   19113     fix_srcfile_path_GCJ \
   19114     exclude_expsyms_GCJ \
   19115     include_expsyms_GCJ; do
   19116 
   19117     case $var in
   19118     old_archive_cmds_GCJ | \
   19119     old_archive_from_new_cmds_GCJ | \
   19120     archive_cmds_GCJ | \
   19121     archive_expsym_cmds_GCJ | \
   19122     module_cmds_GCJ | \
   19123     module_expsym_cmds_GCJ | \
   19124     old_archive_from_expsyms_cmds_GCJ | \
   19125     export_symbols_cmds_GCJ | \
   19126     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19127     postinstall_cmds | postuninstall_cmds | \
   19128     old_postinstall_cmds | old_postuninstall_cmds | \
   19129     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19130       # Double-quote double-evaled strings.
   19131       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19132       ;;
   19133     *)
   19134       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19135       ;;
   19136     esac
   19137   done
   19138 
   19139   case $lt_echo in
   19140   *'\$0 --fallback-echo"')
   19141     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19142     ;;
   19143   esac
   19144 
   19145 cfgfile="$ofile"
   19146 
   19147   cat <<__EOF__ >> "$cfgfile"
   19148 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19149 
   19150 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19151 
   19152 # Shell to use when invoking shell scripts.
   19153 SHELL=$lt_SHELL
   19154 
   19155 # Whether or not to build shared libraries.
   19156 build_libtool_libs=$enable_shared
   19157 
   19158 # Whether or not to build static libraries.
   19159 build_old_libs=$enable_static
   19160 
   19161 # Whether or not to add -lc for building shared libraries.
   19162 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19163 
   19164 # Whether or not to disallow shared libs when runtime libs are static
   19165 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19166 
   19167 # Whether or not to optimize for fast installation.
   19168 fast_install=$enable_fast_install
   19169 
   19170 # The host system.
   19171 host_alias=$host_alias
   19172 host=$host
   19173 host_os=$host_os
   19174 
   19175 # The build system.
   19176 build_alias=$build_alias
   19177 build=$build
   19178 build_os=$build_os
   19179 
   19180 # An echo program that does not interpret backslashes.
   19181 echo=$lt_echo
   19182 
   19183 # The archiver.
   19184 AR=$lt_AR
   19185 AR_FLAGS=$lt_AR_FLAGS
   19186 
   19187 # A C compiler.
   19188 LTCC=$lt_LTCC
   19189 
   19190 # LTCC compiler flags.
   19191 LTCFLAGS=$lt_LTCFLAGS
   19192 
   19193 # A language-specific compiler.
   19194 CC=$lt_compiler_GCJ
   19195 
   19196 # Is the compiler the GNU C compiler?
   19197 with_gcc=$GCC_GCJ
   19198 
   19199 # An ERE matcher.
   19200 EGREP=$lt_EGREP
   19201 
   19202 # The linker used to build libraries.
   19203 LD=$lt_LD_GCJ
   19204 
   19205 # Whether we need hard or soft links.
   19206 LN_S=$lt_LN_S
   19207 
   19208 # A BSD-compatible nm program.
   19209 NM=$lt_NM
   19210 
   19211 # A symbol stripping program
   19212 STRIP=$lt_STRIP
   19213 
   19214 # Used to examine libraries when file_magic_cmd begins "file"
   19215 MAGIC_CMD=$MAGIC_CMD
   19216 
   19217 # Used on cygwin: DLL creation program.
   19218 DLLTOOL="$DLLTOOL"
   19219 
   19220 # Used on cygwin: object dumper.
   19221 OBJDUMP="$OBJDUMP"
   19222 
   19223 # Used on cygwin: assembler.
   19224 AS="$AS"
   19225 
   19226 # The name of the directory that contains temporary libtool files.
   19227 objdir=$objdir
   19228 
   19229 # How to create reloadable object files.
   19230 reload_flag=$lt_reload_flag
   19231 reload_cmds=$lt_reload_cmds
   19232 
   19233 # How to pass a linker flag through the compiler.
   19234 wl=$lt_lt_prog_compiler_wl_GCJ
   19235 
   19236 # Object file suffix (normally "o").
   19237 objext="$ac_objext"
   19238 
   19239 # Old archive suffix (normally "a").
   19240 libext="$libext"
   19241 
   19242 # Shared library suffix (normally ".so").
   19243 shrext_cmds='$shrext_cmds'
   19244 
   19245 # Executable file suffix (normally "").
   19246 exeext="$exeext"
   19247 
   19248 # Additional compiler flags for building library objects.
   19249 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19250 pic_mode=$pic_mode
   19251 
   19252 # What is the maximum length of a command?
   19253 max_cmd_len=$lt_cv_sys_max_cmd_len
   19254 
   19255 # Does compiler simultaneously support -c and -o options?
   19256 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19257 
   19258 # Must we lock files when doing compilation?
   19259 need_locks=$lt_need_locks
   19260 
   19261 # Do we need the lib prefix for modules?
   19262 need_lib_prefix=$need_lib_prefix
   19263 
   19264 # Do we need a version for libraries?
   19265 need_version=$need_version
   19266 
   19267 # Whether dlopen is supported.
   19268 dlopen_support=$enable_dlopen
   19269 
   19270 # Whether dlopen of programs is supported.
   19271 dlopen_self=$enable_dlopen_self
   19272 
   19273 # Whether dlopen of statically linked programs is supported.
   19274 dlopen_self_static=$enable_dlopen_self_static
   19275 
   19276 # Compiler flag to prevent dynamic linking.
   19277 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19278 
   19279 # Compiler flag to turn off builtin functions.
   19280 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19281 
   19282 # Compiler flag to allow reflexive dlopens.
   19283 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19284 
   19285 # Compiler flag to generate shared objects directly from archives.
   19286 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19287 
   19288 # Compiler flag to generate thread-safe objects.
   19289 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19290 
   19291 # Library versioning type.
   19292 version_type=$version_type
   19293 
   19294 # Format of library name prefix.
   19295 libname_spec=$lt_libname_spec
   19296 
   19297 # List of archive names.  First name is the real one, the rest are links.
   19298 # The last name is the one that the linker finds with -lNAME.
   19299 library_names_spec=$lt_library_names_spec
   19300 
   19301 # The coded name of the library, if different from the real name.
   19302 soname_spec=$lt_soname_spec
   19303 
   19304 # Commands used to build and install an old-style archive.
   19305 RANLIB=$lt_RANLIB
   19306 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19307 old_postinstall_cmds=$lt_old_postinstall_cmds
   19308 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19309 
   19310 # Create an old-style archive from a shared archive.
   19311 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19312 
   19313 # Create a temporary old-style archive to link instead of a shared archive.
   19314 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19315 
   19316 # Commands used to build and install a shared archive.
   19317 archive_cmds=$lt_archive_cmds_GCJ
   19318 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19319 postinstall_cmds=$lt_postinstall_cmds
   19320 postuninstall_cmds=$lt_postuninstall_cmds
   19321 
   19322 # Commands used to build a loadable module (assumed same as above if empty)
   19323 module_cmds=$lt_module_cmds_GCJ
   19324 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19325 
   19326 # Commands to strip libraries.
   19327 old_striplib=$lt_old_striplib
   19328 striplib=$lt_striplib
   19329 
   19330 # Dependencies to place before the objects being linked to create a
   19331 # shared library.
   19332 predep_objects=$lt_predep_objects_GCJ
   19333 
   19334 # Dependencies to place after the objects being linked to create a
   19335 # shared library.
   19336 postdep_objects=$lt_postdep_objects_GCJ
   19337 
   19338 # Dependencies to place before the objects being linked to create a
   19339 # shared library.
   19340 predeps=$lt_predeps_GCJ
   19341 
   19342 # Dependencies to place after the objects being linked to create a
   19343 # shared library.
   19344 postdeps=$lt_postdeps_GCJ
   19345 
   19346 # The directories searched by this compiler when creating a shared
   19347 # library
   19348 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19349 
   19350 # The library search path used internally by the compiler when linking
   19351 # a shared library.
   19352 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19353 
   19354 # Method to check whether dependent libraries are shared objects.
   19355 deplibs_check_method=$lt_deplibs_check_method
   19356 
   19357 # Command to use when deplibs_check_method == file_magic.
   19358 file_magic_cmd=$lt_file_magic_cmd
   19359 
   19360 # Flag that allows shared libraries with undefined symbols to be built.
   19361 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19362 
   19363 # Flag that forces no undefined symbols.
   19364 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19365 
   19366 # Commands used to finish a libtool library installation in a directory.
   19367 finish_cmds=$lt_finish_cmds
   19368 
   19369 # Same as above, but a single script fragment to be evaled but not shown.
   19370 finish_eval=$lt_finish_eval
   19371 
   19372 # Take the output of nm and produce a listing of raw symbols and C names.
   19373 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19374 
   19375 # Transform the output of nm in a proper C declaration
   19376 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19377 
   19378 # Transform the output of nm in a C name address pair
   19379 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19380 
   19381 # This is the shared library runtime path variable.
   19382 runpath_var=$runpath_var
   19383 
   19384 # This is the shared library path variable.
   19385 shlibpath_var=$shlibpath_var
   19386 
   19387 # Is shlibpath searched before the hard-coded library search path?
   19388 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19389 
   19390 # How to hardcode a shared library path into an executable.
   19391 hardcode_action=$hardcode_action_GCJ
   19392 
   19393 # Whether we should hardcode library paths into libraries.
   19394 hardcode_into_libs=$hardcode_into_libs
   19395 
   19396 # Flag to hardcode \$libdir into a binary during linking.
   19397 # This must work even if \$libdir does not exist.
   19398 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19399 
   19400 # If ld is used when linking, flag to hardcode \$libdir into
   19401 # a binary during linking. This must work even if \$libdir does
   19402 # not exist.
   19403 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19404 
   19405 # Whether we need a single -rpath flag with a separated argument.
   19406 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19407 
   19408 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19409 # resulting binary.
   19410 hardcode_direct=$hardcode_direct_GCJ
   19411 
   19412 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19413 # resulting binary.
   19414 hardcode_minus_L=$hardcode_minus_L_GCJ
   19415 
   19416 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19417 # the resulting binary.
   19418 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19419 
   19420 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19421 # and all subsequent libraries and executables linked against it.
   19422 hardcode_automatic=$hardcode_automatic_GCJ
   19423 
   19424 # Variables whose values should be saved in libtool wrapper scripts and
   19425 # restored at relink time.
   19426 variables_saved_for_relink="$variables_saved_for_relink"
   19427 
   19428 # Whether libtool must link a program against all its dependency libraries.
   19429 link_all_deplibs=$link_all_deplibs_GCJ
   19430 
   19431 # Compile-time system search path for libraries
   19432 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19433 
   19434 # Run-time system search path for libraries
   19435 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19436 
   19437 # Fix the shell variable \$srcfile for the compiler.
   19438 fix_srcfile_path=$lt_fix_srcfile_path
   19439 
   19440 # Set to yes if exported symbols are required.
   19441 always_export_symbols=$always_export_symbols_GCJ
   19442 
   19443 # The commands to list exported symbols.
   19444 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19445 
   19446 # The commands to extract the exported symbol list from a shared archive.
   19447 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19448 
   19449 # Symbols that should not be listed in the preloaded symbols.
   19450 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19451 
   19452 # Symbols that must always be exported.
   19453 include_expsyms=$lt_include_expsyms_GCJ
   19454 
   19455 # ### END LIBTOOL TAG CONFIG: $tagname
   19456 
   19457 __EOF__
   19458 
   19459 
   19460 else
   19461   # If there is no Makefile yet, we rely on a make rule to execute
   19462   # `config.status --recheck' to rerun these tests and create the
   19463   # libtool script then.
   19464   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19465   if test -f "$ltmain_in"; then
   19466     test -f Makefile && make "$ltmain"
   19467   fi
   19468 fi
   19469 
   19470 
   19471 ac_ext=c
   19472 ac_cpp='$CPP $CPPFLAGS'
   19473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19476 
   19477 CC="$lt_save_CC"
   19478 
   19479 	else
   19480 	  tagname=""
   19481 	fi
   19482 	;;
   19483 
   19484       RC)
   19485 
   19486 
   19487 # Source file extension for RC test sources.
   19488 ac_ext=rc
   19489 
   19490 # Object file extension for compiled RC test sources.
   19491 objext=o
   19492 objext_RC=$objext
   19493 
   19494 # Code to be used in simple compile tests
   19495 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19496 
   19497 # Code to be used in simple link tests
   19498 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19499 
   19500 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19501 
   19502 # If no C compiler was specified, use CC.
   19503 LTCC=${LTCC-"$CC"}
   19504 
   19505 # If no C compiler flags were specified, use CFLAGS.
   19506 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19507 
   19508 # Allow CC to be a program name with arguments.
   19509 compiler=$CC
   19510 
   19511 
   19512 # save warnings/boilerplate of simple test code
   19513 ac_outfile=conftest.$ac_objext
   19514 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19515 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19516 _lt_compiler_boilerplate=`cat conftest.err`
   19517 $rm conftest*
   19518 
   19519 ac_outfile=conftest.$ac_objext
   19520 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19521 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19522 _lt_linker_boilerplate=`cat conftest.err`
   19523 $rm -r conftest*
   19524 
   19525 
   19526 # Allow CC to be a program name with arguments.
   19527 lt_save_CC="$CC"
   19528 CC=${RC-"windres"}
   19529 compiler=$CC
   19530 compiler_RC=$CC
   19531 for cc_temp in $compiler""; do
   19532   case $cc_temp in
   19533     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19534     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19535     \-*) ;;
   19536     *) break;;
   19537   esac
   19538 done
   19539 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19540 
   19541 lt_cv_prog_compiler_c_o_RC=yes
   19542 
   19543 # The else clause should only fire when bootstrapping the
   19544 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19545 # with your package, and you will get complaints that there are
   19546 # no rules to generate ltmain.sh.
   19547 if test -f "$ltmain"; then
   19548   # See if we are running on zsh, and set the options which allow our commands through
   19549   # without removal of \ escapes.
   19550   if test -n "${ZSH_VERSION+set}" ; then
   19551     setopt NO_GLOB_SUBST
   19552   fi
   19553   # Now quote all the things that may contain metacharacters while being
   19554   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19555   # variables and quote the copies for generation of the libtool script.
   19556   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19557     SED SHELL STRIP \
   19558     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19559     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19560     deplibs_check_method reload_flag reload_cmds need_locks \
   19561     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19562     lt_cv_sys_global_symbol_to_c_name_address \
   19563     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19564     old_postinstall_cmds old_postuninstall_cmds \
   19565     compiler_RC \
   19566     CC_RC \
   19567     LD_RC \
   19568     lt_prog_compiler_wl_RC \
   19569     lt_prog_compiler_pic_RC \
   19570     lt_prog_compiler_static_RC \
   19571     lt_prog_compiler_no_builtin_flag_RC \
   19572     export_dynamic_flag_spec_RC \
   19573     thread_safe_flag_spec_RC \
   19574     whole_archive_flag_spec_RC \
   19575     enable_shared_with_static_runtimes_RC \
   19576     old_archive_cmds_RC \
   19577     old_archive_from_new_cmds_RC \
   19578     predep_objects_RC \
   19579     postdep_objects_RC \
   19580     predeps_RC \
   19581     postdeps_RC \
   19582     compiler_lib_search_path_RC \
   19583     compiler_lib_search_dirs_RC \
   19584     archive_cmds_RC \
   19585     archive_expsym_cmds_RC \
   19586     postinstall_cmds_RC \
   19587     postuninstall_cmds_RC \
   19588     old_archive_from_expsyms_cmds_RC \
   19589     allow_undefined_flag_RC \
   19590     no_undefined_flag_RC \
   19591     export_symbols_cmds_RC \
   19592     hardcode_libdir_flag_spec_RC \
   19593     hardcode_libdir_flag_spec_ld_RC \
   19594     hardcode_libdir_separator_RC \
   19595     hardcode_automatic_RC \
   19596     module_cmds_RC \
   19597     module_expsym_cmds_RC \
   19598     lt_cv_prog_compiler_c_o_RC \
   19599     fix_srcfile_path_RC \
   19600     exclude_expsyms_RC \
   19601     include_expsyms_RC; do
   19602 
   19603     case $var in
   19604     old_archive_cmds_RC | \
   19605     old_archive_from_new_cmds_RC | \
   19606     archive_cmds_RC | \
   19607     archive_expsym_cmds_RC | \
   19608     module_cmds_RC | \
   19609     module_expsym_cmds_RC | \
   19610     old_archive_from_expsyms_cmds_RC | \
   19611     export_symbols_cmds_RC | \
   19612     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19613     postinstall_cmds | postuninstall_cmds | \
   19614     old_postinstall_cmds | old_postuninstall_cmds | \
   19615     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19616       # Double-quote double-evaled strings.
   19617       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19618       ;;
   19619     *)
   19620       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19621       ;;
   19622     esac
   19623   done
   19624 
   19625   case $lt_echo in
   19626   *'\$0 --fallback-echo"')
   19627     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19628     ;;
   19629   esac
   19630 
   19631 cfgfile="$ofile"
   19632 
   19633   cat <<__EOF__ >> "$cfgfile"
   19634 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19635 
   19636 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19637 
   19638 # Shell to use when invoking shell scripts.
   19639 SHELL=$lt_SHELL
   19640 
   19641 # Whether or not to build shared libraries.
   19642 build_libtool_libs=$enable_shared
   19643 
   19644 # Whether or not to build static libraries.
   19645 build_old_libs=$enable_static
   19646 
   19647 # Whether or not to add -lc for building shared libraries.
   19648 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19649 
   19650 # Whether or not to disallow shared libs when runtime libs are static
   19651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19652 
   19653 # Whether or not to optimize for fast installation.
   19654 fast_install=$enable_fast_install
   19655 
   19656 # The host system.
   19657 host_alias=$host_alias
   19658 host=$host
   19659 host_os=$host_os
   19660 
   19661 # The build system.
   19662 build_alias=$build_alias
   19663 build=$build
   19664 build_os=$build_os
   19665 
   19666 # An echo program that does not interpret backslashes.
   19667 echo=$lt_echo
   19668 
   19669 # The archiver.
   19670 AR=$lt_AR
   19671 AR_FLAGS=$lt_AR_FLAGS
   19672 
   19673 # A C compiler.
   19674 LTCC=$lt_LTCC
   19675 
   19676 # LTCC compiler flags.
   19677 LTCFLAGS=$lt_LTCFLAGS
   19678 
   19679 # A language-specific compiler.
   19680 CC=$lt_compiler_RC
   19681 
   19682 # Is the compiler the GNU C compiler?
   19683 with_gcc=$GCC_RC
   19684 
   19685 # An ERE matcher.
   19686 EGREP=$lt_EGREP
   19687 
   19688 # The linker used to build libraries.
   19689 LD=$lt_LD_RC
   19690 
   19691 # Whether we need hard or soft links.
   19692 LN_S=$lt_LN_S
   19693 
   19694 # A BSD-compatible nm program.
   19695 NM=$lt_NM
   19696 
   19697 # A symbol stripping program
   19698 STRIP=$lt_STRIP
   19699 
   19700 # Used to examine libraries when file_magic_cmd begins "file"
   19701 MAGIC_CMD=$MAGIC_CMD
   19702 
   19703 # Used on cygwin: DLL creation program.
   19704 DLLTOOL="$DLLTOOL"
   19705 
   19706 # Used on cygwin: object dumper.
   19707 OBJDUMP="$OBJDUMP"
   19708 
   19709 # Used on cygwin: assembler.
   19710 AS="$AS"
   19711 
   19712 # The name of the directory that contains temporary libtool files.
   19713 objdir=$objdir
   19714 
   19715 # How to create reloadable object files.
   19716 reload_flag=$lt_reload_flag
   19717 reload_cmds=$lt_reload_cmds
   19718 
   19719 # How to pass a linker flag through the compiler.
   19720 wl=$lt_lt_prog_compiler_wl_RC
   19721 
   19722 # Object file suffix (normally "o").
   19723 objext="$ac_objext"
   19724 
   19725 # Old archive suffix (normally "a").
   19726 libext="$libext"
   19727 
   19728 # Shared library suffix (normally ".so").
   19729 shrext_cmds='$shrext_cmds'
   19730 
   19731 # Executable file suffix (normally "").
   19732 exeext="$exeext"
   19733 
   19734 # Additional compiler flags for building library objects.
   19735 pic_flag=$lt_lt_prog_compiler_pic_RC
   19736 pic_mode=$pic_mode
   19737 
   19738 # What is the maximum length of a command?
   19739 max_cmd_len=$lt_cv_sys_max_cmd_len
   19740 
   19741 # Does compiler simultaneously support -c and -o options?
   19742 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19743 
   19744 # Must we lock files when doing compilation?
   19745 need_locks=$lt_need_locks
   19746 
   19747 # Do we need the lib prefix for modules?
   19748 need_lib_prefix=$need_lib_prefix
   19749 
   19750 # Do we need a version for libraries?
   19751 need_version=$need_version
   19752 
   19753 # Whether dlopen is supported.
   19754 dlopen_support=$enable_dlopen
   19755 
   19756 # Whether dlopen of programs is supported.
   19757 dlopen_self=$enable_dlopen_self
   19758 
   19759 # Whether dlopen of statically linked programs is supported.
   19760 dlopen_self_static=$enable_dlopen_self_static
   19761 
   19762 # Compiler flag to prevent dynamic linking.
   19763 link_static_flag=$lt_lt_prog_compiler_static_RC
   19764 
   19765 # Compiler flag to turn off builtin functions.
   19766 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19767 
   19768 # Compiler flag to allow reflexive dlopens.
   19769 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19770 
   19771 # Compiler flag to generate shared objects directly from archives.
   19772 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19773 
   19774 # Compiler flag to generate thread-safe objects.
   19775 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19776 
   19777 # Library versioning type.
   19778 version_type=$version_type
   19779 
   19780 # Format of library name prefix.
   19781 libname_spec=$lt_libname_spec
   19782 
   19783 # List of archive names.  First name is the real one, the rest are links.
   19784 # The last name is the one that the linker finds with -lNAME.
   19785 library_names_spec=$lt_library_names_spec
   19786 
   19787 # The coded name of the library, if different from the real name.
   19788 soname_spec=$lt_soname_spec
   19789 
   19790 # Commands used to build and install an old-style archive.
   19791 RANLIB=$lt_RANLIB
   19792 old_archive_cmds=$lt_old_archive_cmds_RC
   19793 old_postinstall_cmds=$lt_old_postinstall_cmds
   19794 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19795 
   19796 # Create an old-style archive from a shared archive.
   19797 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19798 
   19799 # Create a temporary old-style archive to link instead of a shared archive.
   19800 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19801 
   19802 # Commands used to build and install a shared archive.
   19803 archive_cmds=$lt_archive_cmds_RC
   19804 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19805 postinstall_cmds=$lt_postinstall_cmds
   19806 postuninstall_cmds=$lt_postuninstall_cmds
   19807 
   19808 # Commands used to build a loadable module (assumed same as above if empty)
   19809 module_cmds=$lt_module_cmds_RC
   19810 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19811 
   19812 # Commands to strip libraries.
   19813 old_striplib=$lt_old_striplib
   19814 striplib=$lt_striplib
   19815 
   19816 # Dependencies to place before the objects being linked to create a
   19817 # shared library.
   19818 predep_objects=$lt_predep_objects_RC
   19819 
   19820 # Dependencies to place after the objects being linked to create a
   19821 # shared library.
   19822 postdep_objects=$lt_postdep_objects_RC
   19823 
   19824 # Dependencies to place before the objects being linked to create a
   19825 # shared library.
   19826 predeps=$lt_predeps_RC
   19827 
   19828 # Dependencies to place after the objects being linked to create a
   19829 # shared library.
   19830 postdeps=$lt_postdeps_RC
   19831 
   19832 # The directories searched by this compiler when creating a shared
   19833 # library
   19834 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19835 
   19836 # The library search path used internally by the compiler when linking
   19837 # a shared library.
   19838 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19839 
   19840 # Method to check whether dependent libraries are shared objects.
   19841 deplibs_check_method=$lt_deplibs_check_method
   19842 
   19843 # Command to use when deplibs_check_method == file_magic.
   19844 file_magic_cmd=$lt_file_magic_cmd
   19845 
   19846 # Flag that allows shared libraries with undefined symbols to be built.
   19847 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19848 
   19849 # Flag that forces no undefined symbols.
   19850 no_undefined_flag=$lt_no_undefined_flag_RC
   19851 
   19852 # Commands used to finish a libtool library installation in a directory.
   19853 finish_cmds=$lt_finish_cmds
   19854 
   19855 # Same as above, but a single script fragment to be evaled but not shown.
   19856 finish_eval=$lt_finish_eval
   19857 
   19858 # Take the output of nm and produce a listing of raw symbols and C names.
   19859 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19860 
   19861 # Transform the output of nm in a proper C declaration
   19862 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19863 
   19864 # Transform the output of nm in a C name address pair
   19865 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19866 
   19867 # This is the shared library runtime path variable.
   19868 runpath_var=$runpath_var
   19869 
   19870 # This is the shared library path variable.
   19871 shlibpath_var=$shlibpath_var
   19872 
   19873 # Is shlibpath searched before the hard-coded library search path?
   19874 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19875 
   19876 # How to hardcode a shared library path into an executable.
   19877 hardcode_action=$hardcode_action_RC
   19878 
   19879 # Whether we should hardcode library paths into libraries.
   19880 hardcode_into_libs=$hardcode_into_libs
   19881 
   19882 # Flag to hardcode \$libdir into a binary during linking.
   19883 # This must work even if \$libdir does not exist.
   19884 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19885 
   19886 # If ld is used when linking, flag to hardcode \$libdir into
   19887 # a binary during linking. This must work even if \$libdir does
   19888 # not exist.
   19889 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19890 
   19891 # Whether we need a single -rpath flag with a separated argument.
   19892 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19893 
   19894 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19895 # resulting binary.
   19896 hardcode_direct=$hardcode_direct_RC
   19897 
   19898 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19899 # resulting binary.
   19900 hardcode_minus_L=$hardcode_minus_L_RC
   19901 
   19902 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19903 # the resulting binary.
   19904 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19905 
   19906 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19907 # and all subsequent libraries and executables linked against it.
   19908 hardcode_automatic=$hardcode_automatic_RC
   19909 
   19910 # Variables whose values should be saved in libtool wrapper scripts and
   19911 # restored at relink time.
   19912 variables_saved_for_relink="$variables_saved_for_relink"
   19913 
   19914 # Whether libtool must link a program against all its dependency libraries.
   19915 link_all_deplibs=$link_all_deplibs_RC
   19916 
   19917 # Compile-time system search path for libraries
   19918 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19919 
   19920 # Run-time system search path for libraries
   19921 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19922 
   19923 # Fix the shell variable \$srcfile for the compiler.
   19924 fix_srcfile_path=$lt_fix_srcfile_path
   19925 
   19926 # Set to yes if exported symbols are required.
   19927 always_export_symbols=$always_export_symbols_RC
   19928 
   19929 # The commands to list exported symbols.
   19930 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19931 
   19932 # The commands to extract the exported symbol list from a shared archive.
   19933 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19934 
   19935 # Symbols that should not be listed in the preloaded symbols.
   19936 exclude_expsyms=$lt_exclude_expsyms_RC
   19937 
   19938 # Symbols that must always be exported.
   19939 include_expsyms=$lt_include_expsyms_RC
   19940 
   19941 # ### END LIBTOOL TAG CONFIG: $tagname
   19942 
   19943 __EOF__
   19944 
   19945 
   19946 else
   19947   # If there is no Makefile yet, we rely on a make rule to execute
   19948   # `config.status --recheck' to rerun these tests and create the
   19949   # libtool script then.
   19950   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19951   if test -f "$ltmain_in"; then
   19952     test -f Makefile && make "$ltmain"
   19953   fi
   19954 fi
   19955 
   19956 
   19957 ac_ext=c
   19958 ac_cpp='$CPP $CPPFLAGS'
   19959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19962 
   19963 CC="$lt_save_CC"
   19964 
   19965 	;;
   19966 
   19967       *)
   19968 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19969 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19970    { (exit 1); exit 1; }; }
   19971 	;;
   19972       esac
   19973 
   19974       # Append the new tag name to the list of available tags.
   19975       if test -n "$tagname" ; then
   19976       available_tags="$available_tags $tagname"
   19977     fi
   19978     fi
   19979   done
   19980   IFS="$lt_save_ifs"
   19981 
   19982   # Now substitute the updated list of available tags.
   19983   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19984     mv "${ofile}T" "$ofile"
   19985     chmod +x "$ofile"
   19986   else
   19987     rm -f "${ofile}T"
   19988     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19989 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19990    { (exit 1); exit 1; }; }
   19991   fi
   19992 fi
   19993 
   19994 
   19995 
   19996 # This can be used to rebuild libtool when needed
   19997 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   19998 
   19999 # Always use our own libtool.
   20000 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20001 
   20002 # Prevent multiple expansion
   20003 
   20004 
   20005 
   20006 
   20007 
   20008 
   20009 
   20010 
   20011 
   20012 
   20013 
   20014 
   20015 
   20016 
   20017 
   20018 
   20019 
   20020 
   20021 
   20022 
   20023 
   20024 # Need to call this explicitly since the first call to PKG_CHECK_MODULES
   20025 # is in an if statement, and later calls would break if it's skipped.
   20026 
   20027 
   20028 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20029 	if test -n "$ac_tool_prefix"; then
   20030   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20031 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20033 $as_echo_n "checking for $ac_word... " >&6; }
   20034 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20035   $as_echo_n "(cached) " >&6
   20036 else
   20037   case $PKG_CONFIG in
   20038   [\\/]* | ?:[\\/]*)
   20039   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20040   ;;
   20041   *)
   20042   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20043 for as_dir in $PATH
   20044 do
   20045   IFS=$as_save_IFS
   20046   test -z "$as_dir" && as_dir=.
   20047   for ac_exec_ext in '' $ac_executable_extensions; do
   20048   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20049     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20050     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20051     break 2
   20052   fi
   20053 done
   20054 done
   20055 IFS=$as_save_IFS
   20056 
   20057   ;;
   20058 esac
   20059 fi
   20060 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20061 if test -n "$PKG_CONFIG"; then
   20062   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20063 $as_echo "$PKG_CONFIG" >&6; }
   20064 else
   20065   { $as_echo "$as_me:$LINENO: result: no" >&5
   20066 $as_echo "no" >&6; }
   20067 fi
   20068 
   20069 
   20070 fi
   20071 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20072   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20073   # Extract the first word of "pkg-config", so it can be a program name with args.
   20074 set dummy pkg-config; ac_word=$2
   20075 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20076 $as_echo_n "checking for $ac_word... " >&6; }
   20077 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20078   $as_echo_n "(cached) " >&6
   20079 else
   20080   case $ac_pt_PKG_CONFIG in
   20081   [\\/]* | ?:[\\/]*)
   20082   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20083   ;;
   20084   *)
   20085   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20086 for as_dir in $PATH
   20087 do
   20088   IFS=$as_save_IFS
   20089   test -z "$as_dir" && as_dir=.
   20090   for ac_exec_ext in '' $ac_executable_extensions; do
   20091   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20092     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20093     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20094     break 2
   20095   fi
   20096 done
   20097 done
   20098 IFS=$as_save_IFS
   20099 
   20100   ;;
   20101 esac
   20102 fi
   20103 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20104 if test -n "$ac_pt_PKG_CONFIG"; then
   20105   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20106 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20107 else
   20108   { $as_echo "$as_me:$LINENO: result: no" >&5
   20109 $as_echo "no" >&6; }
   20110 fi
   20111 
   20112   if test "x$ac_pt_PKG_CONFIG" = x; then
   20113     PKG_CONFIG=""
   20114   else
   20115     case $cross_compiling:$ac_tool_warned in
   20116 yes:)
   20117 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20118 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20119 ac_tool_warned=yes ;;
   20120 esac
   20121     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20122   fi
   20123 else
   20124   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20125 fi
   20126 
   20127 fi
   20128 if test -n "$PKG_CONFIG"; then
   20129 	_pkg_min_version=0.9.0
   20130 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20131 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20132 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20133 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20134 $as_echo "yes" >&6; }
   20135 	else
   20136 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20137 $as_echo "no" >&6; }
   20138 		PKG_CONFIG=""
   20139 	fi
   20140 
   20141 fi
   20142 
   20143 #
   20144 # fix libtool to set SONAME to libXaw.so.$major
   20145 #
   20146 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   20147 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   20148 if test "${ac_cv_path_SED+set}" = set; then
   20149   $as_echo_n "(cached) " >&6
   20150 else
   20151             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   20152      for ac_i in 1 2 3 4 5 6 7; do
   20153        ac_script="$ac_script$as_nl$ac_script"
   20154      done
   20155      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   20156      $as_unset ac_script || ac_script=
   20157      if test -z "$SED"; then
   20158   ac_path_SED_found=false
   20159   # Loop through the user's path and test for each of PROGNAME-LIST
   20160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20161 for as_dir in $PATH
   20162 do
   20163   IFS=$as_save_IFS
   20164   test -z "$as_dir" && as_dir=.
   20165   for ac_prog in sed gsed; do
   20166     for ac_exec_ext in '' $ac_executable_extensions; do
   20167       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   20168       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   20169 # Check for GNU ac_path_SED and select it if it is found.
   20170   # Check for GNU $ac_path_SED
   20171 case `"$ac_path_SED" --version 2>&1` in
   20172 *GNU*)
   20173   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   20174 *)
   20175   ac_count=0
   20176   $as_echo_n 0123456789 >"conftest.in"
   20177   while :
   20178   do
   20179     cat "conftest.in" "conftest.in" >"conftest.tmp"
   20180     mv "conftest.tmp" "conftest.in"
   20181     cp "conftest.in" "conftest.nl"
   20182     $as_echo '' >> "conftest.nl"
   20183     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   20184     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   20185     ac_count=`expr $ac_count + 1`
   20186     if test $ac_count -gt ${ac_path_SED_max-0}; then
   20187       # Best one so far, save it but keep looking for a better one
   20188       ac_cv_path_SED="$ac_path_SED"
   20189       ac_path_SED_max=$ac_count
   20190     fi
   20191     # 10*(2^10) chars as input seems more than enough
   20192     test $ac_count -gt 10 && break
   20193   done
   20194   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   20195 esac
   20196 
   20197       $ac_path_SED_found && break 3
   20198     done
   20199   done
   20200 done
   20201 IFS=$as_save_IFS
   20202   if test -z "$ac_cv_path_SED"; then
   20203     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   20204 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   20205    { (exit 1); exit 1; }; }
   20206   fi
   20207 else
   20208   ac_cv_path_SED=$SED
   20209 fi
   20210 
   20211 fi
   20212 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   20213 $as_echo "$ac_cv_path_SED" >&6; }
   20214  SED="$ac_cv_path_SED"
   20215   rm -f conftest.sed
   20216 
   20217 ac_config_commands="$ac_config_commands libtool_hack"
   20218 
   20219 
   20220 # Win32 DLL rules are different.
   20221 case $host_os in
   20222     cygwin*|mingw*)
   20223 	platform_win32=yes
   20224 	;;
   20225     *)
   20226 	platform_win32=no
   20227 	;;
   20228 esac
   20229  if test "x$platform_win32" = "xyes"; then
   20230   PLATFORM_WIN32_TRUE=
   20231   PLATFORM_WIN32_FALSE='#'
   20232 else
   20233   PLATFORM_WIN32_TRUE='#'
   20234   PLATFORM_WIN32_FALSE=
   20235 fi
   20236 
   20237 
   20238 # Whether to build Xaw6
   20239 
   20240 # Check whether --enable-xaw6 was given.
   20241 if test "${enable_xaw6+set}" = set; then
   20242   enableval=$enable_xaw6; build_v6=$enableval
   20243 else
   20244   build_v6=yes
   20245 fi
   20246 
   20247 
   20248 if test "x$build_v6" = xyes; then
   20249 
   20250 pkg_failed=no
   20251 { $as_echo "$as_me:$LINENO: checking for XAW6" >&5
   20252 $as_echo_n "checking for XAW6... " >&6; }
   20253 
   20254 if test -n "$XAW6_CFLAGS"; then
   20255     pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
   20256  elif test -n "$PKG_CONFIG"; then
   20257     if test -n "$PKG_CONFIG" && \
   20258     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
   20259   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20260   ac_status=$?
   20261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20262   (exit $ac_status); }; then
   20263   pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20264 else
   20265   pkg_failed=yes
   20266 fi
   20267  else
   20268     pkg_failed=untried
   20269 fi
   20270 if test -n "$XAW6_LIBS"; then
   20271     pkg_cv_XAW6_LIBS="$XAW6_LIBS"
   20272  elif test -n "$PKG_CONFIG"; then
   20273     if test -n "$PKG_CONFIG" && \
   20274     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
   20275   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20276   ac_status=$?
   20277   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20278   (exit $ac_status); }; then
   20279   pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20280 else
   20281   pkg_failed=yes
   20282 fi
   20283  else
   20284     pkg_failed=untried
   20285 fi
   20286 
   20287 
   20288 
   20289 if test $pkg_failed = yes; then
   20290 
   20291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20292         _pkg_short_errors_supported=yes
   20293 else
   20294         _pkg_short_errors_supported=no
   20295 fi
   20296         if test $_pkg_short_errors_supported = yes; then
   20297 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
   20298         else
   20299 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
   20300         fi
   20301 	# Put the nasty error message in config.log where it belongs
   20302 	echo "$XAW6_PKG_ERRORS" >&5
   20303 
   20304 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
   20305 
   20306 $XAW6_PKG_ERRORS
   20307 
   20308 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20309 installed software in a non-standard prefix.
   20310 
   20311 Alternatively, you may set the environment variables XAW6_CFLAGS
   20312 and XAW6_LIBS to avoid the need to call pkg-config.
   20313 See the pkg-config man page for more details.
   20314 " >&5
   20315 $as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
   20316 
   20317 $XAW6_PKG_ERRORS
   20318 
   20319 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20320 installed software in a non-standard prefix.
   20321 
   20322 Alternatively, you may set the environment variables XAW6_CFLAGS
   20323 and XAW6_LIBS to avoid the need to call pkg-config.
   20324 See the pkg-config man page for more details.
   20325 " >&2;}
   20326    { (exit 1); exit 1; }; }
   20327 elif test $pkg_failed = untried; then
   20328 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20329 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20330 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20331 is in your PATH or set the PKG_CONFIG environment variable to the full
   20332 path to pkg-config.
   20333 
   20334 Alternatively, you may set the environment variables XAW6_CFLAGS
   20335 and XAW6_LIBS to avoid the need to call pkg-config.
   20336 See the pkg-config man page for more details.
   20337 
   20338 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20339 See \`config.log' for more details." >&5
   20340 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20341 is in your PATH or set the PKG_CONFIG environment variable to the full
   20342 path to pkg-config.
   20343 
   20344 Alternatively, you may set the environment variables XAW6_CFLAGS
   20345 and XAW6_LIBS to avoid the need to call pkg-config.
   20346 See the pkg-config man page for more details.
   20347 
   20348 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20349 See \`config.log' for more details." >&2;}
   20350    { (exit 1); exit 1; }; }; }
   20351 else
   20352 	XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
   20353 	XAW6_LIBS=$pkg_cv_XAW6_LIBS
   20354         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20355 $as_echo "yes" >&6; }
   20356 	:
   20357 fi
   20358 
   20359 
   20360 
   20361 fi
   20362 
   20363 
   20364 # Whether to build Xaw7
   20365 
   20366 # Check whether --enable-xaw7 was given.
   20367 if test "${enable_xaw7+set}" = set; then
   20368   enableval=$enable_xaw7; build_v7=$enableval
   20369 else
   20370   build_v7=yes
   20371 fi
   20372 
   20373 
   20374 if test "x$build_v7" = xyes; then
   20375 
   20376 pkg_failed=no
   20377 { $as_echo "$as_me:$LINENO: checking for XAW7" >&5
   20378 $as_echo_n "checking for XAW7... " >&6; }
   20379 
   20380 if test -n "$XAW7_CFLAGS"; then
   20381     pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
   20382  elif test -n "$PKG_CONFIG"; then
   20383     if test -n "$PKG_CONFIG" && \
   20384     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
   20385   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   20386   ac_status=$?
   20387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20388   (exit $ac_status); }; then
   20389   pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   20390 else
   20391   pkg_failed=yes
   20392 fi
   20393  else
   20394     pkg_failed=untried
   20395 fi
   20396 if test -n "$XAW7_LIBS"; then
   20397     pkg_cv_XAW7_LIBS="$XAW7_LIBS"
   20398  elif test -n "$PKG_CONFIG"; then
   20399     if test -n "$PKG_CONFIG" && \
   20400     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
   20401   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   20402   ac_status=$?
   20403   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20404   (exit $ac_status); }; then
   20405   pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   20406 else
   20407   pkg_failed=yes
   20408 fi
   20409  else
   20410     pkg_failed=untried
   20411 fi
   20412 
   20413 
   20414 
   20415 if test $pkg_failed = yes; then
   20416 
   20417 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20418         _pkg_short_errors_supported=yes
   20419 else
   20420         _pkg_short_errors_supported=no
   20421 fi
   20422         if test $_pkg_short_errors_supported = yes; then
   20423 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   20424         else
   20425 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   20426         fi
   20427 	# Put the nasty error message in config.log where it belongs
   20428 	echo "$XAW7_PKG_ERRORS" >&5
   20429 
   20430 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
   20431 
   20432 $XAW7_PKG_ERRORS
   20433 
   20434 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20435 installed software in a non-standard prefix.
   20436 
   20437 Alternatively, you may set the environment variables XAW7_CFLAGS
   20438 and XAW7_LIBS to avoid the need to call pkg-config.
   20439 See the pkg-config man page for more details.
   20440 " >&5
   20441 $as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
   20442 
   20443 $XAW7_PKG_ERRORS
   20444 
   20445 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   20446 installed software in a non-standard prefix.
   20447 
   20448 Alternatively, you may set the environment variables XAW7_CFLAGS
   20449 and XAW7_LIBS to avoid the need to call pkg-config.
   20450 See the pkg-config man page for more details.
   20451 " >&2;}
   20452    { (exit 1); exit 1; }; }
   20453 elif test $pkg_failed = untried; then
   20454 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   20455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   20456 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   20457 is in your PATH or set the PKG_CONFIG environment variable to the full
   20458 path to pkg-config.
   20459 
   20460 Alternatively, you may set the environment variables XAW7_CFLAGS
   20461 and XAW7_LIBS to avoid the need to call pkg-config.
   20462 See the pkg-config man page for more details.
   20463 
   20464 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20465 See \`config.log' for more details." >&5
   20466 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   20467 is in your PATH or set the PKG_CONFIG environment variable to the full
   20468 path to pkg-config.
   20469 
   20470 Alternatively, you may set the environment variables XAW7_CFLAGS
   20471 and XAW7_LIBS to avoid the need to call pkg-config.
   20472 See the pkg-config man page for more details.
   20473 
   20474 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   20475 See \`config.log' for more details." >&2;}
   20476    { (exit 1); exit 1; }; }; }
   20477 else
   20478 	XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
   20479 	XAW7_LIBS=$pkg_cv_XAW7_LIBS
   20480         { $as_echo "$as_me:$LINENO: result: yes" >&5
   20481 $as_echo "yes" >&6; }
   20482 	:
   20483 fi
   20484 
   20485 
   20486 
   20487 fi
   20488 
   20489 
   20490  if test x$build_v6 = xyes; then
   20491   BUILD_XAW6_TRUE=
   20492   BUILD_XAW6_FALSE='#'
   20493 else
   20494   BUILD_XAW6_TRUE='#'
   20495   BUILD_XAW6_FALSE=
   20496 fi
   20497 
   20498  if test x$build_v7 = xyes; then
   20499   BUILD_XAW7_TRUE=
   20500   BUILD_XAW7_FALSE='#'
   20501 else
   20502   BUILD_XAW7_TRUE='#'
   20503   BUILD_XAW7_FALSE=
   20504 fi
   20505 
   20506 
   20507 # Checks for header files.
   20508 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   20509 $as_echo_n "checking for ANSI C header files... " >&6; }
   20510 if test "${ac_cv_header_stdc+set}" = set; then
   20511   $as_echo_n "(cached) " >&6
   20512 else
   20513   cat >conftest.$ac_ext <<_ACEOF
   20514 /* confdefs.h.  */
   20515 _ACEOF
   20516 cat confdefs.h >>conftest.$ac_ext
   20517 cat >>conftest.$ac_ext <<_ACEOF
   20518 /* end confdefs.h.  */
   20519 #include <stdlib.h>
   20520 #include <stdarg.h>
   20521 #include <string.h>
   20522 #include <float.h>
   20523 
   20524 int
   20525 main ()
   20526 {
   20527 
   20528   ;
   20529   return 0;
   20530 }
   20531 _ACEOF
   20532 rm -f conftest.$ac_objext
   20533 if { (ac_try="$ac_compile"
   20534 case "(($ac_try" in
   20535   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20536   *) ac_try_echo=$ac_try;;
   20537 esac
   20538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20539 $as_echo "$ac_try_echo") >&5
   20540   (eval "$ac_compile") 2>conftest.er1
   20541   ac_status=$?
   20542   grep -v '^ *+' conftest.er1 >conftest.err
   20543   rm -f conftest.er1
   20544   cat conftest.err >&5
   20545   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20546   (exit $ac_status); } && {
   20547 	 test -z "$ac_c_werror_flag" ||
   20548 	 test ! -s conftest.err
   20549        } && test -s conftest.$ac_objext; then
   20550   ac_cv_header_stdc=yes
   20551 else
   20552   $as_echo "$as_me: failed program was:" >&5
   20553 sed 's/^/| /' conftest.$ac_ext >&5
   20554 
   20555 	ac_cv_header_stdc=no
   20556 fi
   20557 
   20558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20559 
   20560 if test $ac_cv_header_stdc = yes; then
   20561   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   20562   cat >conftest.$ac_ext <<_ACEOF
   20563 /* confdefs.h.  */
   20564 _ACEOF
   20565 cat confdefs.h >>conftest.$ac_ext
   20566 cat >>conftest.$ac_ext <<_ACEOF
   20567 /* end confdefs.h.  */
   20568 #include <string.h>
   20569 
   20570 _ACEOF
   20571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20572   $EGREP "memchr" >/dev/null 2>&1; then
   20573   :
   20574 else
   20575   ac_cv_header_stdc=no
   20576 fi
   20577 rm -f conftest*
   20578 
   20579 fi
   20580 
   20581 if test $ac_cv_header_stdc = yes; then
   20582   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   20583   cat >conftest.$ac_ext <<_ACEOF
   20584 /* confdefs.h.  */
   20585 _ACEOF
   20586 cat confdefs.h >>conftest.$ac_ext
   20587 cat >>conftest.$ac_ext <<_ACEOF
   20588 /* end confdefs.h.  */
   20589 #include <stdlib.h>
   20590 
   20591 _ACEOF
   20592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   20593   $EGREP "free" >/dev/null 2>&1; then
   20594   :
   20595 else
   20596   ac_cv_header_stdc=no
   20597 fi
   20598 rm -f conftest*
   20599 
   20600 fi
   20601 
   20602 if test $ac_cv_header_stdc = yes; then
   20603   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   20604   if test "$cross_compiling" = yes; then
   20605   :
   20606 else
   20607   cat >conftest.$ac_ext <<_ACEOF
   20608 /* confdefs.h.  */
   20609 _ACEOF
   20610 cat confdefs.h >>conftest.$ac_ext
   20611 cat >>conftest.$ac_ext <<_ACEOF
   20612 /* end confdefs.h.  */
   20613 #include <ctype.h>
   20614 #include <stdlib.h>
   20615 #if ((' ' & 0x0FF) == 0x020)
   20616 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   20617 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   20618 #else
   20619 # define ISLOWER(c) \
   20620 		   (('a' <= (c) && (c) <= 'i') \
   20621 		     || ('j' <= (c) && (c) <= 'r') \
   20622 		     || ('s' <= (c) && (c) <= 'z'))
   20623 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   20624 #endif
   20625 
   20626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   20627 int
   20628 main ()
   20629 {
   20630   int i;
   20631   for (i = 0; i < 256; i++)
   20632     if (XOR (islower (i), ISLOWER (i))
   20633 	|| toupper (i) != TOUPPER (i))
   20634       return 2;
   20635   return 0;
   20636 }
   20637 _ACEOF
   20638 rm -f conftest$ac_exeext
   20639 if { (ac_try="$ac_link"
   20640 case "(($ac_try" in
   20641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20642   *) ac_try_echo=$ac_try;;
   20643 esac
   20644 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20645 $as_echo "$ac_try_echo") >&5
   20646   (eval "$ac_link") 2>&5
   20647   ac_status=$?
   20648   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20649   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   20650   { (case "(($ac_try" in
   20651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20652   *) ac_try_echo=$ac_try;;
   20653 esac
   20654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20655 $as_echo "$ac_try_echo") >&5
   20656   (eval "$ac_try") 2>&5
   20657   ac_status=$?
   20658   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20659   (exit $ac_status); }; }; then
   20660   :
   20661 else
   20662   $as_echo "$as_me: program exited with status $ac_status" >&5
   20663 $as_echo "$as_me: failed program was:" >&5
   20664 sed 's/^/| /' conftest.$ac_ext >&5
   20665 
   20666 ( exit $ac_status )
   20667 ac_cv_header_stdc=no
   20668 fi
   20669 rm -rf conftest.dSYM
   20670 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   20671 fi
   20672 
   20673 
   20674 fi
   20675 fi
   20676 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   20677 $as_echo "$ac_cv_header_stdc" >&6; }
   20678 if test $ac_cv_header_stdc = yes; then
   20679 
   20680 cat >>confdefs.h <<\_ACEOF
   20681 #define STDC_HEADERS 1
   20682 _ACEOF
   20683 
   20684 fi
   20685 
   20686 if test "${ac_cv_header_wctype_h+set}" = set; then
   20687   { $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
   20688 $as_echo_n "checking for wctype.h... " >&6; }
   20689 if test "${ac_cv_header_wctype_h+set}" = set; then
   20690   $as_echo_n "(cached) " >&6
   20691 fi
   20692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
   20693 $as_echo "$ac_cv_header_wctype_h" >&6; }
   20694 else
   20695   # Is the header compilable?
   20696 { $as_echo "$as_me:$LINENO: checking wctype.h usability" >&5
   20697 $as_echo_n "checking wctype.h usability... " >&6; }
   20698 cat >conftest.$ac_ext <<_ACEOF
   20699 /* confdefs.h.  */
   20700 _ACEOF
   20701 cat confdefs.h >>conftest.$ac_ext
   20702 cat >>conftest.$ac_ext <<_ACEOF
   20703 /* end confdefs.h.  */
   20704 $ac_includes_default
   20705 #include <wctype.h>
   20706 _ACEOF
   20707 rm -f conftest.$ac_objext
   20708 if { (ac_try="$ac_compile"
   20709 case "(($ac_try" in
   20710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20711   *) ac_try_echo=$ac_try;;
   20712 esac
   20713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20714 $as_echo "$ac_try_echo") >&5
   20715   (eval "$ac_compile") 2>conftest.er1
   20716   ac_status=$?
   20717   grep -v '^ *+' conftest.er1 >conftest.err
   20718   rm -f conftest.er1
   20719   cat conftest.err >&5
   20720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20721   (exit $ac_status); } && {
   20722 	 test -z "$ac_c_werror_flag" ||
   20723 	 test ! -s conftest.err
   20724        } && test -s conftest.$ac_objext; then
   20725   ac_header_compiler=yes
   20726 else
   20727   $as_echo "$as_me: failed program was:" >&5
   20728 sed 's/^/| /' conftest.$ac_ext >&5
   20729 
   20730 	ac_header_compiler=no
   20731 fi
   20732 
   20733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20734 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20735 $as_echo "$ac_header_compiler" >&6; }
   20736 
   20737 # Is the header present?
   20738 { $as_echo "$as_me:$LINENO: checking wctype.h presence" >&5
   20739 $as_echo_n "checking wctype.h presence... " >&6; }
   20740 cat >conftest.$ac_ext <<_ACEOF
   20741 /* confdefs.h.  */
   20742 _ACEOF
   20743 cat confdefs.h >>conftest.$ac_ext
   20744 cat >>conftest.$ac_ext <<_ACEOF
   20745 /* end confdefs.h.  */
   20746 #include <wctype.h>
   20747 _ACEOF
   20748 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20749 case "(($ac_try" in
   20750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20751   *) ac_try_echo=$ac_try;;
   20752 esac
   20753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20754 $as_echo "$ac_try_echo") >&5
   20755   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20756   ac_status=$?
   20757   grep -v '^ *+' conftest.er1 >conftest.err
   20758   rm -f conftest.er1
   20759   cat conftest.err >&5
   20760   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20761   (exit $ac_status); } >/dev/null && {
   20762 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20763 	 test ! -s conftest.err
   20764        }; then
   20765   ac_header_preproc=yes
   20766 else
   20767   $as_echo "$as_me: failed program was:" >&5
   20768 sed 's/^/| /' conftest.$ac_ext >&5
   20769 
   20770   ac_header_preproc=no
   20771 fi
   20772 
   20773 rm -f conftest.err conftest.$ac_ext
   20774 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20775 $as_echo "$ac_header_preproc" >&6; }
   20776 
   20777 # So?  What about this header?
   20778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20779   yes:no: )
   20780     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&5
   20781 $as_echo "$as_me: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20782     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the compiler's result" >&5
   20783 $as_echo "$as_me: WARNING: wctype.h: proceeding with the compiler's result" >&2;}
   20784     ac_header_preproc=yes
   20785     ;;
   20786   no:yes:* )
   20787     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: present but cannot be compiled" >&5
   20788 $as_echo "$as_me: WARNING: wctype.h: present but cannot be compiled" >&2;}
   20789     { $as_echo "$as_me:$LINENO: WARNING: wctype.h:     check for missing prerequisite headers?" >&5
   20790 $as_echo "$as_me: WARNING: wctype.h:     check for missing prerequisite headers?" >&2;}
   20791     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: see the Autoconf documentation" >&5
   20792 $as_echo "$as_me: WARNING: wctype.h: see the Autoconf documentation" >&2;}
   20793     { $as_echo "$as_me:$LINENO: WARNING: wctype.h:     section \"Present But Cannot Be Compiled\"" >&5
   20794 $as_echo "$as_me: WARNING: wctype.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   20795     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the preprocessor's result" >&5
   20796 $as_echo "$as_me: WARNING: wctype.h: proceeding with the preprocessor's result" >&2;}
   20797     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: in the future, the compiler will take precedence" >&5
   20798 $as_echo "$as_me: WARNING: wctype.h: in the future, the compiler will take precedence" >&2;}
   20799     ( cat <<\_ASBOX
   20800 ## ---------------------------------------------------------------------- ##
   20801 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   20802 ## ---------------------------------------------------------------------- ##
   20803 _ASBOX
   20804      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20805     ;;
   20806 esac
   20807 { $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
   20808 $as_echo_n "checking for wctype.h... " >&6; }
   20809 if test "${ac_cv_header_wctype_h+set}" = set; then
   20810   $as_echo_n "(cached) " >&6
   20811 else
   20812   ac_cv_header_wctype_h=$ac_header_preproc
   20813 fi
   20814 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
   20815 $as_echo "$ac_cv_header_wctype_h" >&6; }
   20816 
   20817 fi
   20818 if test "x$ac_cv_header_wctype_h" = x""yes; then
   20819 
   20820 cat >>confdefs.h <<\_ACEOF
   20821 #define HAS_WCTYPE_H 1
   20822 _ACEOF
   20823 
   20824 fi
   20825 
   20826 
   20827 if test "${ac_cv_header_wchar_h+set}" = set; then
   20828   { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
   20829 $as_echo_n "checking for wchar.h... " >&6; }
   20830 if test "${ac_cv_header_wchar_h+set}" = set; then
   20831   $as_echo_n "(cached) " >&6
   20832 fi
   20833 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
   20834 $as_echo "$ac_cv_header_wchar_h" >&6; }
   20835 else
   20836   # Is the header compilable?
   20837 { $as_echo "$as_me:$LINENO: checking wchar.h usability" >&5
   20838 $as_echo_n "checking wchar.h usability... " >&6; }
   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 $ac_includes_default
   20846 #include <wchar.h>
   20847 _ACEOF
   20848 rm -f conftest.$ac_objext
   20849 if { (ac_try="$ac_compile"
   20850 case "(($ac_try" in
   20851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20852   *) ac_try_echo=$ac_try;;
   20853 esac
   20854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20855 $as_echo "$ac_try_echo") >&5
   20856   (eval "$ac_compile") 2>conftest.er1
   20857   ac_status=$?
   20858   grep -v '^ *+' conftest.er1 >conftest.err
   20859   rm -f conftest.er1
   20860   cat conftest.err >&5
   20861   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20862   (exit $ac_status); } && {
   20863 	 test -z "$ac_c_werror_flag" ||
   20864 	 test ! -s conftest.err
   20865        } && test -s conftest.$ac_objext; then
   20866   ac_header_compiler=yes
   20867 else
   20868   $as_echo "$as_me: failed program was:" >&5
   20869 sed 's/^/| /' conftest.$ac_ext >&5
   20870 
   20871 	ac_header_compiler=no
   20872 fi
   20873 
   20874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20875 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   20876 $as_echo "$ac_header_compiler" >&6; }
   20877 
   20878 # Is the header present?
   20879 { $as_echo "$as_me:$LINENO: checking wchar.h presence" >&5
   20880 $as_echo_n "checking wchar.h presence... " >&6; }
   20881 cat >conftest.$ac_ext <<_ACEOF
   20882 /* confdefs.h.  */
   20883 _ACEOF
   20884 cat confdefs.h >>conftest.$ac_ext
   20885 cat >>conftest.$ac_ext <<_ACEOF
   20886 /* end confdefs.h.  */
   20887 #include <wchar.h>
   20888 _ACEOF
   20889 if { (ac_try="$ac_cpp conftest.$ac_ext"
   20890 case "(($ac_try" in
   20891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20892   *) ac_try_echo=$ac_try;;
   20893 esac
   20894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20895 $as_echo "$ac_try_echo") >&5
   20896   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   20897   ac_status=$?
   20898   grep -v '^ *+' conftest.er1 >conftest.err
   20899   rm -f conftest.er1
   20900   cat conftest.err >&5
   20901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20902   (exit $ac_status); } >/dev/null && {
   20903 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   20904 	 test ! -s conftest.err
   20905        }; then
   20906   ac_header_preproc=yes
   20907 else
   20908   $as_echo "$as_me: failed program was:" >&5
   20909 sed 's/^/| /' conftest.$ac_ext >&5
   20910 
   20911   ac_header_preproc=no
   20912 fi
   20913 
   20914 rm -f conftest.err conftest.$ac_ext
   20915 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   20916 $as_echo "$ac_header_preproc" >&6; }
   20917 
   20918 # So?  What about this header?
   20919 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   20920   yes:no: )
   20921     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
   20922 $as_echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   20923     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
   20924 $as_echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
   20925     ac_header_preproc=yes
   20926     ;;
   20927   no:yes:* )
   20928     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
   20929 $as_echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
   20930     { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     check for missing prerequisite headers?" >&5
   20931 $as_echo "$as_me: WARNING: wchar.h:     check for missing prerequisite headers?" >&2;}
   20932     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
   20933 $as_echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
   20934     { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&5
   20935 $as_echo "$as_me: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   20936     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
   20937 $as_echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
   20938     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
   20939 $as_echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
   20940     ( cat <<\_ASBOX
   20941 ## ---------------------------------------------------------------------- ##
   20942 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   20943 ## ---------------------------------------------------------------------- ##
   20944 _ASBOX
   20945      ) | sed "s/^/$as_me: WARNING:     /" >&2
   20946     ;;
   20947 esac
   20948 { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
   20949 $as_echo_n "checking for wchar.h... " >&6; }
   20950 if test "${ac_cv_header_wchar_h+set}" = set; then
   20951   $as_echo_n "(cached) " >&6
   20952 else
   20953   ac_cv_header_wchar_h=$ac_header_preproc
   20954 fi
   20955 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
   20956 $as_echo "$ac_cv_header_wchar_h" >&6; }
   20957 
   20958 fi
   20959 if test "x$ac_cv_header_wchar_h" = x""yes; then
   20960 
   20961 cat >>confdefs.h <<\_ACEOF
   20962 #define HAS_WCHAR_H 1
   20963 _ACEOF
   20964 
   20965 fi
   20966 
   20967 
   20968 if test "${ac_cv_header_widec_h+set}" = set; then
   20969   { $as_echo "$as_me:$LINENO: checking for widec.h" >&5
   20970 $as_echo_n "checking for widec.h... " >&6; }
   20971 if test "${ac_cv_header_widec_h+set}" = set; then
   20972   $as_echo_n "(cached) " >&6
   20973 fi
   20974 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
   20975 $as_echo "$ac_cv_header_widec_h" >&6; }
   20976 else
   20977   # Is the header compilable?
   20978 { $as_echo "$as_me:$LINENO: checking widec.h usability" >&5
   20979 $as_echo_n "checking widec.h usability... " >&6; }
   20980 cat >conftest.$ac_ext <<_ACEOF
   20981 /* confdefs.h.  */
   20982 _ACEOF
   20983 cat confdefs.h >>conftest.$ac_ext
   20984 cat >>conftest.$ac_ext <<_ACEOF
   20985 /* end confdefs.h.  */
   20986 $ac_includes_default
   20987 #include <widec.h>
   20988 _ACEOF
   20989 rm -f conftest.$ac_objext
   20990 if { (ac_try="$ac_compile"
   20991 case "(($ac_try" in
   20992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20993   *) ac_try_echo=$ac_try;;
   20994 esac
   20995 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20996 $as_echo "$ac_try_echo") >&5
   20997   (eval "$ac_compile") 2>conftest.er1
   20998   ac_status=$?
   20999   grep -v '^ *+' conftest.er1 >conftest.err
   21000   rm -f conftest.er1
   21001   cat conftest.err >&5
   21002   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21003   (exit $ac_status); } && {
   21004 	 test -z "$ac_c_werror_flag" ||
   21005 	 test ! -s conftest.err
   21006        } && test -s conftest.$ac_objext; then
   21007   ac_header_compiler=yes
   21008 else
   21009   $as_echo "$as_me: failed program was:" >&5
   21010 sed 's/^/| /' conftest.$ac_ext >&5
   21011 
   21012 	ac_header_compiler=no
   21013 fi
   21014 
   21015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21016 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21017 $as_echo "$ac_header_compiler" >&6; }
   21018 
   21019 # Is the header present?
   21020 { $as_echo "$as_me:$LINENO: checking widec.h presence" >&5
   21021 $as_echo_n "checking widec.h presence... " >&6; }
   21022 cat >conftest.$ac_ext <<_ACEOF
   21023 /* confdefs.h.  */
   21024 _ACEOF
   21025 cat confdefs.h >>conftest.$ac_ext
   21026 cat >>conftest.$ac_ext <<_ACEOF
   21027 /* end confdefs.h.  */
   21028 #include <widec.h>
   21029 _ACEOF
   21030 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21031 case "(($ac_try" in
   21032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21033   *) ac_try_echo=$ac_try;;
   21034 esac
   21035 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21036 $as_echo "$ac_try_echo") >&5
   21037   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21038   ac_status=$?
   21039   grep -v '^ *+' conftest.er1 >conftest.err
   21040   rm -f conftest.er1
   21041   cat conftest.err >&5
   21042   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21043   (exit $ac_status); } >/dev/null && {
   21044 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21045 	 test ! -s conftest.err
   21046        }; then
   21047   ac_header_preproc=yes
   21048 else
   21049   $as_echo "$as_me: failed program was:" >&5
   21050 sed 's/^/| /' conftest.$ac_ext >&5
   21051 
   21052   ac_header_preproc=no
   21053 fi
   21054 
   21055 rm -f conftest.err conftest.$ac_ext
   21056 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21057 $as_echo "$ac_header_preproc" >&6; }
   21058 
   21059 # So?  What about this header?
   21060 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21061   yes:no: )
   21062     { $as_echo "$as_me:$LINENO: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21063 $as_echo "$as_me: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21064     { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the compiler's result" >&5
   21065 $as_echo "$as_me: WARNING: widec.h: proceeding with the compiler's result" >&2;}
   21066     ac_header_preproc=yes
   21067     ;;
   21068   no:yes:* )
   21069     { $as_echo "$as_me:$LINENO: WARNING: widec.h: present but cannot be compiled" >&5
   21070 $as_echo "$as_me: WARNING: widec.h: present but cannot be compiled" >&2;}
   21071     { $as_echo "$as_me:$LINENO: WARNING: widec.h:     check for missing prerequisite headers?" >&5
   21072 $as_echo "$as_me: WARNING: widec.h:     check for missing prerequisite headers?" >&2;}
   21073     { $as_echo "$as_me:$LINENO: WARNING: widec.h: see the Autoconf documentation" >&5
   21074 $as_echo "$as_me: WARNING: widec.h: see the Autoconf documentation" >&2;}
   21075     { $as_echo "$as_me:$LINENO: WARNING: widec.h:     section \"Present But Cannot Be Compiled\"" >&5
   21076 $as_echo "$as_me: WARNING: widec.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21077     { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the preprocessor's result" >&5
   21078 $as_echo "$as_me: WARNING: widec.h: proceeding with the preprocessor's result" >&2;}
   21079     { $as_echo "$as_me:$LINENO: WARNING: widec.h: in the future, the compiler will take precedence" >&5
   21080 $as_echo "$as_me: WARNING: widec.h: in the future, the compiler will take precedence" >&2;}
   21081     ( cat <<\_ASBOX
   21082 ## ---------------------------------------------------------------------- ##
   21083 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21084 ## ---------------------------------------------------------------------- ##
   21085 _ASBOX
   21086      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21087     ;;
   21088 esac
   21089 { $as_echo "$as_me:$LINENO: checking for widec.h" >&5
   21090 $as_echo_n "checking for widec.h... " >&6; }
   21091 if test "${ac_cv_header_widec_h+set}" = set; then
   21092   $as_echo_n "(cached) " >&6
   21093 else
   21094   ac_cv_header_widec_h=$ac_header_preproc
   21095 fi
   21096 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
   21097 $as_echo "$ac_cv_header_widec_h" >&6; }
   21098 
   21099 fi
   21100 if test "x$ac_cv_header_widec_h" = x""yes; then
   21101   :
   21102 else
   21103 
   21104 cat >>confdefs.h <<\_ACEOF
   21105 #define NO_WIDEC_H 1
   21106 _ACEOF
   21107 
   21108 fi
   21109 
   21110 
   21111 
   21112 # Checks for functions
   21113 
   21114 for ac_func in iswalnum
   21115 do
   21116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21117 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21118 $as_echo_n "checking for $ac_func... " >&6; }
   21119 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21120   $as_echo_n "(cached) " >&6
   21121 else
   21122   cat >conftest.$ac_ext <<_ACEOF
   21123 /* confdefs.h.  */
   21124 _ACEOF
   21125 cat confdefs.h >>conftest.$ac_ext
   21126 cat >>conftest.$ac_ext <<_ACEOF
   21127 /* end confdefs.h.  */
   21128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21129    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21130 #define $ac_func innocuous_$ac_func
   21131 
   21132 /* System header to define __stub macros and hopefully few prototypes,
   21133     which can conflict with char $ac_func (); below.
   21134     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21135     <limits.h> exists even on freestanding compilers.  */
   21136 
   21137 #ifdef __STDC__
   21138 # include <limits.h>
   21139 #else
   21140 # include <assert.h>
   21141 #endif
   21142 
   21143 #undef $ac_func
   21144 
   21145 /* Override any GCC internal prototype to avoid an error.
   21146    Use char because int might match the return type of a GCC
   21147    builtin and then its argument prototype would still apply.  */
   21148 #ifdef __cplusplus
   21149 extern "C"
   21150 #endif
   21151 char $ac_func ();
   21152 /* The GNU C library defines this for functions which it implements
   21153     to always fail with ENOSYS.  Some functions are actually named
   21154     something starting with __ and the normal name is an alias.  */
   21155 #if defined __stub_$ac_func || defined __stub___$ac_func
   21156 choke me
   21157 #endif
   21158 
   21159 int
   21160 main ()
   21161 {
   21162 return $ac_func ();
   21163   ;
   21164   return 0;
   21165 }
   21166 _ACEOF
   21167 rm -f conftest.$ac_objext conftest$ac_exeext
   21168 if { (ac_try="$ac_link"
   21169 case "(($ac_try" in
   21170   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21171   *) ac_try_echo=$ac_try;;
   21172 esac
   21173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21174 $as_echo "$ac_try_echo") >&5
   21175   (eval "$ac_link") 2>conftest.er1
   21176   ac_status=$?
   21177   grep -v '^ *+' conftest.er1 >conftest.err
   21178   rm -f conftest.er1
   21179   cat conftest.err >&5
   21180   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21181   (exit $ac_status); } && {
   21182 	 test -z "$ac_c_werror_flag" ||
   21183 	 test ! -s conftest.err
   21184        } && test -s conftest$ac_exeext && {
   21185 	 test "$cross_compiling" = yes ||
   21186 	 $as_test_x conftest$ac_exeext
   21187        }; then
   21188   eval "$as_ac_var=yes"
   21189 else
   21190   $as_echo "$as_me: failed program was:" >&5
   21191 sed 's/^/| /' conftest.$ac_ext >&5
   21192 
   21193 	eval "$as_ac_var=no"
   21194 fi
   21195 
   21196 rm -rf conftest.dSYM
   21197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21198       conftest$ac_exeext conftest.$ac_ext
   21199 fi
   21200 ac_res=`eval 'as_val=${'$as_ac_var'}
   21201 		 $as_echo "$as_val"'`
   21202 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21203 $as_echo "$ac_res" >&6; }
   21204 as_val=`eval 'as_val=${'$as_ac_var'}
   21205 		 $as_echo "$as_val"'`
   21206    if test "x$as_val" = x""yes; then
   21207   cat >>confdefs.h <<_ACEOF
   21208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21209 _ACEOF
   21210 
   21211 fi
   21212 done
   21213 
   21214 
   21215 
   21216 
   21217 
   21218 if test x$APP_MAN_SUFFIX = x    ; then
   21219     APP_MAN_SUFFIX=1
   21220 fi
   21221 if test x$APP_MAN_DIR = x    ; then
   21222     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   21223 fi
   21224 
   21225 if test x$LIB_MAN_SUFFIX = x    ; then
   21226     LIB_MAN_SUFFIX=3
   21227 fi
   21228 if test x$LIB_MAN_DIR = x    ; then
   21229     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   21230 fi
   21231 
   21232 if test x$FILE_MAN_SUFFIX = x    ; then
   21233     case $host_os in
   21234 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   21235 	*)		FILE_MAN_SUFFIX=5  ;;
   21236     esac
   21237 fi
   21238 if test x$FILE_MAN_DIR = x    ; then
   21239     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   21240 fi
   21241 
   21242 if test x$MISC_MAN_SUFFIX = x    ; then
   21243     case $host_os in
   21244 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   21245 	*)		MISC_MAN_SUFFIX=7  ;;
   21246     esac
   21247 fi
   21248 if test x$MISC_MAN_DIR = x    ; then
   21249     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   21250 fi
   21251 
   21252 if test x$DRIVER_MAN_SUFFIX = x    ; then
   21253     case $host_os in
   21254 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   21255 	*)		DRIVER_MAN_SUFFIX=4  ;;
   21256     esac
   21257 fi
   21258 if test x$DRIVER_MAN_DIR = x    ; then
   21259     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   21260 fi
   21261 
   21262 if test x$ADMIN_MAN_SUFFIX = x    ; then
   21263     case $host_os in
   21264 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   21265 	*)		ADMIN_MAN_SUFFIX=8  ;;
   21266     esac
   21267 fi
   21268 if test x$ADMIN_MAN_DIR = x    ; then
   21269     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   21270 fi
   21271 
   21272 
   21273 
   21274 
   21275 
   21276 
   21277 
   21278 
   21279 
   21280 
   21281 
   21282 
   21283 
   21284 
   21285 
   21286 
   21287 
   21288 # Check whether --with-release-version was given.
   21289 if test "${with_release_version+set}" = set; then
   21290   withval=$with_release_version; RELEASE_VERSION="$withval"
   21291 else
   21292   RELEASE_VERSION=""
   21293 fi
   21294 
   21295 	if test "x$RELEASE_VERSION" != "x"; then
   21296 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   21297 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   21298 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   21299 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   21300 	fi
   21301 
   21302 cat >>confdefs.h <<_ACEOF
   21303 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   21304 _ACEOF
   21305 
   21306 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   21307 	if test "x$PVM" = "x"; then
   21308 		PVM="0"
   21309 	fi
   21310 
   21311 cat >>confdefs.h <<_ACEOF
   21312 #define PACKAGE_VERSION_MINOR $PVM
   21313 _ACEOF
   21314 
   21315 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   21316 	if test "x$PVP" = "x"; then
   21317 		PVP="0"
   21318 	fi
   21319 
   21320 cat >>confdefs.h <<_ACEOF
   21321 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   21322 _ACEOF
   21323 
   21324 
   21325 
   21326 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile src/Makefile"
   21327 
   21328 cat >confcache <<\_ACEOF
   21329 # This file is a shell script that caches the results of configure
   21330 # tests run on this system so they can be shared between configure
   21331 # scripts and configure runs, see configure's option --config-cache.
   21332 # It is not useful on other systems.  If it contains results you don't
   21333 # want to keep, you may remove or edit it.
   21334 #
   21335 # config.status only pays attention to the cache file if you give it
   21336 # the --recheck option to rerun configure.
   21337 #
   21338 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21339 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21340 # following values.
   21341 
   21342 _ACEOF
   21343 
   21344 # The following way of writing the cache mishandles newlines in values,
   21345 # but we know of no workaround that is simple, portable, and efficient.
   21346 # So, we kill variables containing newlines.
   21347 # Ultrix sh set writes to stderr and can't be redirected directly,
   21348 # and sets the high bit in the cache file unless we assign to the vars.
   21349 (
   21350   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21351     eval ac_val=\$$ac_var
   21352     case $ac_val in #(
   21353     *${as_nl}*)
   21354       case $ac_var in #(
   21355       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21356 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21357       esac
   21358       case $ac_var in #(
   21359       _ | IFS | as_nl) ;; #(
   21360       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21361       *) $as_unset $ac_var ;;
   21362       esac ;;
   21363     esac
   21364   done
   21365 
   21366   (set) 2>&1 |
   21367     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21368     *${as_nl}ac_space=\ *)
   21369       # `set' does not quote correctly, so add quotes (double-quote
   21370       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21371       sed -n \
   21372 	"s/'/'\\\\''/g;
   21373 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21374       ;; #(
   21375     *)
   21376       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21377       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21378       ;;
   21379     esac |
   21380     sort
   21381 ) |
   21382   sed '
   21383      /^ac_cv_env_/b end
   21384      t clear
   21385      :clear
   21386      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21387      t end
   21388      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21389      :end' >>confcache
   21390 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21391   if test -w "$cache_file"; then
   21392     test "x$cache_file" != "x/dev/null" &&
   21393       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21394 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21395     cat confcache >$cache_file
   21396   else
   21397     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21398 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21399   fi
   21400 fi
   21401 rm -f confcache
   21402 
   21403 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21404 # Let make expand exec_prefix.
   21405 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21406 
   21407 DEFS=-DHAVE_CONFIG_H
   21408 
   21409 ac_libobjs=
   21410 ac_ltlibobjs=
   21411 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21412   # 1. Remove the extension, and $U if already installed.
   21413   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   21414   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   21415   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   21416   #    will be set to the directory where LIBOBJS objects are built.
   21417   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   21418   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   21419 done
   21420 LIBOBJS=$ac_libobjs
   21421 
   21422 LTLIBOBJS=$ac_ltlibobjs
   21423 
   21424 
   21425 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   21426   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   21427 Usually this means the macro was only invoked conditionally." >&5
   21428 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   21429 Usually this means the macro was only invoked conditionally." >&2;}
   21430    { (exit 1); exit 1; }; }
   21431 fi
   21432 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   21433   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   21434 Usually this means the macro was only invoked conditionally." >&5
   21435 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   21436 Usually this means the macro was only invoked conditionally." >&2;}
   21437    { (exit 1); exit 1; }; }
   21438 fi
   21439 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   21440   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   21441 Usually this means the macro was only invoked conditionally." >&5
   21442 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   21443 Usually this means the macro was only invoked conditionally." >&2;}
   21444    { (exit 1); exit 1; }; }
   21445 fi
   21446 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   21447   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
   21448 Usually this means the macro was only invoked conditionally." >&5
   21449 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
   21450 Usually this means the macro was only invoked conditionally." >&2;}
   21451    { (exit 1); exit 1; }; }
   21452 fi
   21453 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   21454   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
   21455 Usually this means the macro was only invoked conditionally." >&5
   21456 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
   21457 Usually this means the macro was only invoked conditionally." >&2;}
   21458    { (exit 1); exit 1; }; }
   21459 fi
   21460 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   21461   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
   21462 Usually this means the macro was only invoked conditionally." >&5
   21463 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
   21464 Usually this means the macro was only invoked conditionally." >&2;}
   21465    { (exit 1); exit 1; }; }
   21466 fi
   21467 
   21468 : ${CONFIG_STATUS=./config.status}
   21469 ac_write_fail=0
   21470 ac_clean_files_save=$ac_clean_files
   21471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   21472 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   21473 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   21474 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21475 #! $SHELL
   21476 # Generated by $as_me.
   21477 # Run this file to recreate the current configuration.
   21478 # Compiler output produced by configure, useful for debugging
   21479 # configure, is in config.log if it exists.
   21480 
   21481 debug=false
   21482 ac_cs_recheck=false
   21483 ac_cs_silent=false
   21484 SHELL=\${CONFIG_SHELL-$SHELL}
   21485 _ACEOF
   21486 
   21487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21488 ## --------------------- ##
   21489 ## M4sh Initialization.  ##
   21490 ## --------------------- ##
   21491 
   21492 # Be more Bourne compatible
   21493 DUALCASE=1; export DUALCASE # for MKS sh
   21494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   21495   emulate sh
   21496   NULLCMD=:
   21497   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   21498   # is contrary to our usage.  Disable this feature.
   21499   alias -g '${1+"$@"}'='"$@"'
   21500   setopt NO_GLOB_SUBST
   21501 else
   21502   case `(set -o) 2>/dev/null` in
   21503   *posix*) set -o posix ;;
   21504 esac
   21505 
   21506 fi
   21507 
   21508 
   21509 
   21510 
   21511 # PATH needs CR
   21512 # Avoid depending upon Character Ranges.
   21513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   21514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   21515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   21516 as_cr_digits='0123456789'
   21517 as_cr_alnum=$as_cr_Letters$as_cr_digits
   21518 
   21519 as_nl='
   21520 '
   21521 export as_nl
   21522 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   21523 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   21524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   21525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   21526 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   21527   as_echo='printf %s\n'
   21528   as_echo_n='printf %s'
   21529 else
   21530   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   21531     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   21532     as_echo_n='/usr/ucb/echo -n'
   21533   else
   21534     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   21535     as_echo_n_body='eval
   21536       arg=$1;
   21537       case $arg in
   21538       *"$as_nl"*)
   21539 	expr "X$arg" : "X\\(.*\\)$as_nl";
   21540 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   21541       esac;
   21542       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   21543     '
   21544     export as_echo_n_body
   21545     as_echo_n='sh -c $as_echo_n_body as_echo'
   21546   fi
   21547   export as_echo_body
   21548   as_echo='sh -c $as_echo_body as_echo'
   21549 fi
   21550 
   21551 # The user is always right.
   21552 if test "${PATH_SEPARATOR+set}" != set; then
   21553   PATH_SEPARATOR=:
   21554   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   21555     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   21556       PATH_SEPARATOR=';'
   21557   }
   21558 fi
   21559 
   21560 # Support unset when possible.
   21561 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   21562   as_unset=unset
   21563 else
   21564   as_unset=false
   21565 fi
   21566 
   21567 
   21568 # IFS
   21569 # We need space, tab and new line, in precisely that order.  Quoting is
   21570 # there to prevent editors from complaining about space-tab.
   21571 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   21572 # splitting by setting IFS to empty value.)
   21573 IFS=" ""	$as_nl"
   21574 
   21575 # Find who we are.  Look in the path if we contain no directory separator.
   21576 case $0 in
   21577   *[\\/]* ) as_myself=$0 ;;
   21578   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   21579 for as_dir in $PATH
   21580 do
   21581   IFS=$as_save_IFS
   21582   test -z "$as_dir" && as_dir=.
   21583   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   21584 done
   21585 IFS=$as_save_IFS
   21586 
   21587      ;;
   21588 esac
   21589 # We did not find ourselves, most probably we were run as `sh COMMAND'
   21590 # in which case we are not to be found in the path.
   21591 if test "x$as_myself" = x; then
   21592   as_myself=$0
   21593 fi
   21594 if test ! -f "$as_myself"; then
   21595   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   21596   { (exit 1); exit 1; }
   21597 fi
   21598 
   21599 # Work around bugs in pre-3.0 UWIN ksh.
   21600 for as_var in ENV MAIL MAILPATH
   21601 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   21602 done
   21603 PS1='$ '
   21604 PS2='> '
   21605 PS4='+ '
   21606 
   21607 # NLS nuisances.
   21608 LC_ALL=C
   21609 export LC_ALL
   21610 LANGUAGE=C
   21611 export LANGUAGE
   21612 
   21613 # Required to use basename.
   21614 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21615    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21616   as_expr=expr
   21617 else
   21618   as_expr=false
   21619 fi
   21620 
   21621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   21622   as_basename=basename
   21623 else
   21624   as_basename=false
   21625 fi
   21626 
   21627 
   21628 # Name of the executable.
   21629 as_me=`$as_basename -- "$0" ||
   21630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   21631 	 X"$0" : 'X\(//\)$' \| \
   21632 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   21633 $as_echo X/"$0" |
   21634     sed '/^.*\/\([^/][^/]*\)\/*$/{
   21635 	    s//\1/
   21636 	    q
   21637 	  }
   21638 	  /^X\/\(\/\/\)$/{
   21639 	    s//\1/
   21640 	    q
   21641 	  }
   21642 	  /^X\/\(\/\).*/{
   21643 	    s//\1/
   21644 	    q
   21645 	  }
   21646 	  s/.*/./; q'`
   21647 
   21648 # CDPATH.
   21649 $as_unset CDPATH
   21650 
   21651 
   21652 
   21653   as_lineno_1=$LINENO
   21654   as_lineno_2=$LINENO
   21655   test "x$as_lineno_1" != "x$as_lineno_2" &&
   21656   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   21657 
   21658   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   21659   # uniformly replaced by the line number.  The first 'sed' inserts a
   21660   # line-number line after each line using $LINENO; the second 'sed'
   21661   # does the real work.  The second script uses 'N' to pair each
   21662   # line-number line with the line containing $LINENO, and appends
   21663   # trailing '-' during substitution so that $LINENO is not a special
   21664   # case at line end.
   21665   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   21666   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   21667   # E. McMahon (1931-1989) for sed's syntax.  :-)
   21668   sed -n '
   21669     p
   21670     /[$]LINENO/=
   21671   ' <$as_myself |
   21672     sed '
   21673       s/[$]LINENO.*/&-/
   21674       t lineno
   21675       b
   21676       :lineno
   21677       N
   21678       :loop
   21679       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   21680       t loop
   21681       s/-\n.*//
   21682     ' >$as_me.lineno &&
   21683   chmod +x "$as_me.lineno" ||
   21684     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   21685    { (exit 1); exit 1; }; }
   21686 
   21687   # Don't try to exec as it changes $[0], causing all sort of problems
   21688   # (the dirname of $[0] is not the place where we might find the
   21689   # original and so on.  Autoconf is especially sensitive to this).
   21690   . "./$as_me.lineno"
   21691   # Exit status is that of the last command.
   21692   exit
   21693 }
   21694 
   21695 
   21696 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   21697   as_dirname=dirname
   21698 else
   21699   as_dirname=false
   21700 fi
   21701 
   21702 ECHO_C= ECHO_N= ECHO_T=
   21703 case `echo -n x` in
   21704 -n*)
   21705   case `echo 'x\c'` in
   21706   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   21707   *)   ECHO_C='\c';;
   21708   esac;;
   21709 *)
   21710   ECHO_N='-n';;
   21711 esac
   21712 if expr a : '\(a\)' >/dev/null 2>&1 &&
   21713    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   21714   as_expr=expr
   21715 else
   21716   as_expr=false
   21717 fi
   21718 
   21719 rm -f conf$$ conf$$.exe conf$$.file
   21720 if test -d conf$$.dir; then
   21721   rm -f conf$$.dir/conf$$.file
   21722 else
   21723   rm -f conf$$.dir
   21724   mkdir conf$$.dir 2>/dev/null
   21725 fi
   21726 if (echo >conf$$.file) 2>/dev/null; then
   21727   if ln -s conf$$.file conf$$ 2>/dev/null; then
   21728     as_ln_s='ln -s'
   21729     # ... but there are two gotchas:
   21730     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   21731     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   21732     # In both cases, we have to default to `cp -p'.
   21733     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   21734       as_ln_s='cp -p'
   21735   elif ln conf$$.file conf$$ 2>/dev/null; then
   21736     as_ln_s=ln
   21737   else
   21738     as_ln_s='cp -p'
   21739   fi
   21740 else
   21741   as_ln_s='cp -p'
   21742 fi
   21743 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   21744 rmdir conf$$.dir 2>/dev/null
   21745 
   21746 if mkdir -p . 2>/dev/null; then
   21747   as_mkdir_p=:
   21748 else
   21749   test -d ./-p && rmdir ./-p
   21750   as_mkdir_p=false
   21751 fi
   21752 
   21753 if test -x / >/dev/null 2>&1; then
   21754   as_test_x='test -x'
   21755 else
   21756   if ls -dL / >/dev/null 2>&1; then
   21757     as_ls_L_option=L
   21758   else
   21759     as_ls_L_option=
   21760   fi
   21761   as_test_x='
   21762     eval sh -c '\''
   21763       if test -d "$1"; then
   21764 	test -d "$1/.";
   21765       else
   21766 	case $1 in
   21767 	-*)set "./$1";;
   21768 	esac;
   21769 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   21770 	???[sx]*):;;*)false;;esac;fi
   21771     '\'' sh
   21772   '
   21773 fi
   21774 as_executable_p=$as_test_x
   21775 
   21776 # Sed expression to map a string onto a valid CPP name.
   21777 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   21778 
   21779 # Sed expression to map a string onto a valid variable name.
   21780 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   21781 
   21782 
   21783 exec 6>&1
   21784 
   21785 # Save the log message, to keep $[0] and so on meaningful, and to
   21786 # report actual input values of CONFIG_FILES etc. instead of their
   21787 # values after options handling.
   21788 ac_log="
   21789 This file was extended by libXaw $as_me 1.0.5, which was
   21790 generated by GNU Autoconf 2.63.  Invocation command line was
   21791 
   21792   CONFIG_FILES    = $CONFIG_FILES
   21793   CONFIG_HEADERS  = $CONFIG_HEADERS
   21794   CONFIG_LINKS    = $CONFIG_LINKS
   21795   CONFIG_COMMANDS = $CONFIG_COMMANDS
   21796   $ $0 $@
   21797 
   21798 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   21799 "
   21800 
   21801 _ACEOF
   21802 
   21803 case $ac_config_files in *"
   21804 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   21805 esac
   21806 
   21807 case $ac_config_headers in *"
   21808 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   21809 esac
   21810 
   21811 
   21812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21813 # Files that config.status was made for.
   21814 config_files="`echo $ac_config_files`"
   21815 config_headers="`echo $ac_config_headers`"
   21816 config_commands="`echo $ac_config_commands`"
   21817 
   21818 _ACEOF
   21819 
   21820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21821 ac_cs_usage="\
   21822 \`$as_me' instantiates files from templates according to the
   21823 current configuration.
   21824 
   21825 Usage: $0 [OPTION]... [FILE]...
   21826 
   21827   -h, --help       print this help, then exit
   21828   -V, --version    print version number and configuration settings, then exit
   21829   -q, --quiet, --silent
   21830                    do not print progress messages
   21831   -d, --debug      don't remove temporary files
   21832       --recheck    update $as_me by reconfiguring in the same conditions
   21833       --file=FILE[:TEMPLATE]
   21834                    instantiate the configuration file FILE
   21835       --header=FILE[:TEMPLATE]
   21836                    instantiate the configuration header FILE
   21837 
   21838 Configuration files:
   21839 $config_files
   21840 
   21841 Configuration headers:
   21842 $config_headers
   21843 
   21844 Configuration commands:
   21845 $config_commands
   21846 
   21847 Report bugs to <bug-autoconf (at] gnu.org>."
   21848 
   21849 _ACEOF
   21850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21851 ac_cs_version="\\
   21852 libXaw config.status 1.0.5
   21853 configured by $0, generated by GNU Autoconf 2.63,
   21854   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   21855 
   21856 Copyright (C) 2008 Free Software Foundation, Inc.
   21857 This config.status script is free software; the Free Software Foundation
   21858 gives unlimited permission to copy, distribute and modify it."
   21859 
   21860 ac_pwd='$ac_pwd'
   21861 srcdir='$srcdir'
   21862 INSTALL='$INSTALL'
   21863 MKDIR_P='$MKDIR_P'
   21864 AWK='$AWK'
   21865 test -n "\$AWK" || AWK=awk
   21866 _ACEOF
   21867 
   21868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21869 # The default lists apply if the user does not specify any file.
   21870 ac_need_defaults=:
   21871 while test $# != 0
   21872 do
   21873   case $1 in
   21874   --*=*)
   21875     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   21876     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   21877     ac_shift=:
   21878     ;;
   21879   *)
   21880     ac_option=$1
   21881     ac_optarg=$2
   21882     ac_shift=shift
   21883     ;;
   21884   esac
   21885 
   21886   case $ac_option in
   21887   # Handling of the options.
   21888   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   21889     ac_cs_recheck=: ;;
   21890   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   21891     $as_echo "$ac_cs_version"; exit ;;
   21892   --debug | --debu | --deb | --de | --d | -d )
   21893     debug=: ;;
   21894   --file | --fil | --fi | --f )
   21895     $ac_shift
   21896     case $ac_optarg in
   21897     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21898     esac
   21899     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   21900     ac_need_defaults=false;;
   21901   --header | --heade | --head | --hea )
   21902     $ac_shift
   21903     case $ac_optarg in
   21904     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   21905     esac
   21906     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   21907     ac_need_defaults=false;;
   21908   --he | --h)
   21909     # Conflict between --help and --header
   21910     { $as_echo "$as_me: error: ambiguous option: $1
   21911 Try \`$0 --help' for more information." >&2
   21912    { (exit 1); exit 1; }; };;
   21913   --help | --hel | -h )
   21914     $as_echo "$ac_cs_usage"; exit ;;
   21915   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   21916   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   21917     ac_cs_silent=: ;;
   21918 
   21919   # This is an error.
   21920   -*) { $as_echo "$as_me: error: unrecognized option: $1
   21921 Try \`$0 --help' for more information." >&2
   21922    { (exit 1); exit 1; }; } ;;
   21923 
   21924   *) ac_config_targets="$ac_config_targets $1"
   21925      ac_need_defaults=false ;;
   21926 
   21927   esac
   21928   shift
   21929 done
   21930 
   21931 ac_configure_extra_args=
   21932 
   21933 if $ac_cs_silent; then
   21934   exec 6>/dev/null
   21935   ac_configure_extra_args="$ac_configure_extra_args --silent"
   21936 fi
   21937 
   21938 _ACEOF
   21939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21940 if \$ac_cs_recheck; then
   21941   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   21942   shift
   21943   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   21944   CONFIG_SHELL='$SHELL'
   21945   export CONFIG_SHELL
   21946   exec "\$@"
   21947 fi
   21948 
   21949 _ACEOF
   21950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21951 exec 5>>config.log
   21952 {
   21953   echo
   21954   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   21955 ## Running $as_me. ##
   21956 _ASBOX
   21957   $as_echo "$ac_log"
   21958 } >&5
   21959 
   21960 _ACEOF
   21961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   21962 #
   21963 # INIT-COMMANDS
   21964 #
   21965 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   21966 
   21967 _ACEOF
   21968 
   21969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   21970 
   21971 # Handling of arguments.
   21972 for ac_config_target in $ac_config_targets
   21973 do
   21974   case $ac_config_target in
   21975     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   21976     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   21977     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   21978     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   21979     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   21980     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   21981     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   21982 
   21983   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   21984 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   21985    { (exit 1); exit 1; }; };;
   21986   esac
   21987 done
   21988 
   21989 
   21990 # If the user did not use the arguments to specify the items to instantiate,
   21991 # then the envvar interface is used.  Set only those that are not.
   21992 # We use the long form for the default assignment because of an extremely
   21993 # bizarre bug on SunOS 4.1.3.
   21994 if $ac_need_defaults; then
   21995   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   21996   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   21997   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   21998 fi
   21999 
   22000 # Have a temporary directory for convenience.  Make it in the build tree
   22001 # simply because there is no reason against having it here, and in addition,
   22002 # creating and moving files from /tmp can sometimes cause problems.
   22003 # Hook for its removal unless debugging.
   22004 # Note that there is a small window in which the directory will not be cleaned:
   22005 # after its creation but before its name has been assigned to `$tmp'.
   22006 $debug ||
   22007 {
   22008   tmp=
   22009   trap 'exit_status=$?
   22010   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22011 ' 0
   22012   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22013 }
   22014 # Create a (secure) tmp directory for tmp files.
   22015 
   22016 {
   22017   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22018   test -n "$tmp" && test -d "$tmp"
   22019 }  ||
   22020 {
   22021   tmp=./conf$$-$RANDOM
   22022   (umask 077 && mkdir "$tmp")
   22023 } ||
   22024 {
   22025    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22026    { (exit 1); exit 1; }
   22027 }
   22028 
   22029 # Set up the scripts for CONFIG_FILES section.
   22030 # No need to generate them if there are no CONFIG_FILES.
   22031 # This happens for instance with `./config.status config.h'.
   22032 if test -n "$CONFIG_FILES"; then
   22033 
   22034 
   22035 ac_cr='
'
   22037 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22038 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22039   ac_cs_awk_cr='\\r'
   22040 else
   22041   ac_cs_awk_cr=$ac_cr
   22042 fi
   22043 
   22044 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22045 _ACEOF
   22046 
   22047 
   22048 {
   22049   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22050   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22051   echo "_ACEOF"
   22052 } >conf$$subs.sh ||
   22053   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22054 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22055    { (exit 1); exit 1; }; }
   22056 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22057 ac_delim='%!_!# '
   22058 for ac_last_try in false false false false false :; do
   22059   . ./conf$$subs.sh ||
   22060     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22061 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22062    { (exit 1); exit 1; }; }
   22063 
   22064   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22065   if test $ac_delim_n = $ac_delim_num; then
   22066     break
   22067   elif $ac_last_try; then
   22068     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22069 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22070    { (exit 1); exit 1; }; }
   22071   else
   22072     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22073   fi
   22074 done
   22075 rm -f conf$$subs.sh
   22076 
   22077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22078 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22079 _ACEOF
   22080 sed -n '
   22081 h
   22082 s/^/S["/; s/!.*/"]=/
   22083 p
   22084 g
   22085 s/^[^!]*!//
   22086 :repl
   22087 t repl
   22088 s/'"$ac_delim"'$//
   22089 t delim
   22090 :nl
   22091 h
   22092 s/\(.\{148\}\).*/\1/
   22093 t more1
   22094 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22095 p
   22096 n
   22097 b repl
   22098 :more1
   22099 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22100 p
   22101 g
   22102 s/.\{148\}//
   22103 t nl
   22104 :delim
   22105 h
   22106 s/\(.\{148\}\).*/\1/
   22107 t more2
   22108 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22109 p
   22110 b
   22111 :more2
   22112 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22113 p
   22114 g
   22115 s/.\{148\}//
   22116 t delim
   22117 ' <conf$$subs.awk | sed '
   22118 /^[^""]/{
   22119   N
   22120   s/\n//
   22121 }
   22122 ' >>$CONFIG_STATUS || ac_write_fail=1
   22123 rm -f conf$$subs.awk
   22124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22125 _ACAWK
   22126 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22127   for (key in S) S_is_set[key] = 1
   22128   FS = ""
   22129 
   22130 }
   22131 {
   22132   line = $ 0
   22133   nfields = split(line, field, "@")
   22134   substed = 0
   22135   len = length(field[1])
   22136   for (i = 2; i < nfields; i++) {
   22137     key = field[i]
   22138     keylen = length(key)
   22139     if (S_is_set[key]) {
   22140       value = S[key]
   22141       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22142       len += length(value) + length(field[++i])
   22143       substed = 1
   22144     } else
   22145       len += 1 + keylen
   22146   }
   22147 
   22148   print line
   22149 }
   22150 
   22151 _ACAWK
   22152 _ACEOF
   22153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22154 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22155   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22156 else
   22157   cat
   22158 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22159   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22160 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22161    { (exit 1); exit 1; }; }
   22162 _ACEOF
   22163 
   22164 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22165 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22166 # trailing colons and then remove the whole line if VPATH becomes empty
   22167 # (actually we leave an empty line to preserve line numbers).
   22168 if test "x$srcdir" = x.; then
   22169   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22170 s/:*\$(srcdir):*/:/
   22171 s/:*\${srcdir}:*/:/
   22172 s/:*@srcdir@:*/:/
   22173 s/^\([^=]*=[	 ]*\):*/\1/
   22174 s/:*$//
   22175 s/^[^=]*=[	 ]*$//
   22176 }'
   22177 fi
   22178 
   22179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22180 fi # test -n "$CONFIG_FILES"
   22181 
   22182 # Set up the scripts for CONFIG_HEADERS section.
   22183 # No need to generate them if there are no CONFIG_HEADERS.
   22184 # This happens for instance with `./config.status Makefile'.
   22185 if test -n "$CONFIG_HEADERS"; then
   22186 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22187 BEGIN {
   22188 _ACEOF
   22189 
   22190 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22191 # here-document in config.status, that substitutes the proper values into
   22192 # config.h.in to produce config.h.
   22193 
   22194 # Create a delimiter string that does not exist in confdefs.h, to ease
   22195 # handling of long lines.
   22196 ac_delim='%!_!# '
   22197 for ac_last_try in false false :; do
   22198   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22199   if test -z "$ac_t"; then
   22200     break
   22201   elif $ac_last_try; then
   22202     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22203 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22204    { (exit 1); exit 1; }; }
   22205   else
   22206     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22207   fi
   22208 done
   22209 
   22210 # For the awk script, D is an array of macro values keyed by name,
   22211 # likewise P contains macro parameters if any.  Preserve backslash
   22212 # newline sequences.
   22213 
   22214 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22215 sed -n '
   22216 s/.\{148\}/&'"$ac_delim"'/g
   22217 t rset
   22218 :rset
   22219 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22220 t def
   22221 d
   22222 :def
   22223 s/\\$//
   22224 t bsnl
   22225 s/["\\]/\\&/g
   22226 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22227 D["\1"]=" \3"/p
   22228 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22229 d
   22230 :bsnl
   22231 s/["\\]/\\&/g
   22232 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22233 D["\1"]=" \3\\\\\\n"\\/p
   22234 t cont
   22235 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22236 t cont
   22237 d
   22238 :cont
   22239 n
   22240 s/.\{148\}/&'"$ac_delim"'/g
   22241 t clear
   22242 :clear
   22243 s/\\$//
   22244 t bsnlc
   22245 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22246 d
   22247 :bsnlc
   22248 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22249 b cont
   22250 ' <confdefs.h | sed '
   22251 s/'"$ac_delim"'/"\\\
   22252 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22253 
   22254 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22255   for (key in D) D_is_set[key] = 1
   22256   FS = ""
   22257 }
   22258 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22259   line = \$ 0
   22260   split(line, arg, " ")
   22261   if (arg[1] == "#") {
   22262     defundef = arg[2]
   22263     mac1 = arg[3]
   22264   } else {
   22265     defundef = substr(arg[1], 2)
   22266     mac1 = arg[2]
   22267   }
   22268   split(mac1, mac2, "(") #)
   22269   macro = mac2[1]
   22270   prefix = substr(line, 1, index(line, defundef) - 1)
   22271   if (D_is_set[macro]) {
   22272     # Preserve the white space surrounding the "#".
   22273     print prefix "define", macro P[macro] D[macro]
   22274     next
   22275   } else {
   22276     # Replace #undef with comments.  This is necessary, for example,
   22277     # in the case of _POSIX_SOURCE, which is predefined and required
   22278     # on some systems where configure will not decide to define it.
   22279     if (defundef == "undef") {
   22280       print "/*", prefix defundef, macro, "*/"
   22281       next
   22282     }
   22283   }
   22284 }
   22285 { print }
   22286 _ACAWK
   22287 _ACEOF
   22288 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22289   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22290 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22291    { (exit 1); exit 1; }; }
   22292 fi # test -n "$CONFIG_HEADERS"
   22293 
   22294 
   22295 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22296 shift
   22297 for ac_tag
   22298 do
   22299   case $ac_tag in
   22300   :[FHLC]) ac_mode=$ac_tag; continue;;
   22301   esac
   22302   case $ac_mode$ac_tag in
   22303   :[FHL]*:*);;
   22304   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22305 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22306    { (exit 1); exit 1; }; };;
   22307   :[FH]-) ac_tag=-:-;;
   22308   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22309   esac
   22310   ac_save_IFS=$IFS
   22311   IFS=:
   22312   set x $ac_tag
   22313   IFS=$ac_save_IFS
   22314   shift
   22315   ac_file=$1
   22316   shift
   22317 
   22318   case $ac_mode in
   22319   :L) ac_source=$1;;
   22320   :[FH])
   22321     ac_file_inputs=
   22322     for ac_f
   22323     do
   22324       case $ac_f in
   22325       -) ac_f="$tmp/stdin";;
   22326       *) # Look for the file first in the build tree, then in the source tree
   22327 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22328 	 # because $ac_f cannot contain `:'.
   22329 	 test -f "$ac_f" ||
   22330 	   case $ac_f in
   22331 	   [\\/$]*) false;;
   22332 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22333 	   esac ||
   22334 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22335 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22336    { (exit 1); exit 1; }; };;
   22337       esac
   22338       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22339       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22340     done
   22341 
   22342     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22343     # use $as_me), people would be surprised to read:
   22344     #    /* config.h.  Generated by config.status.  */
   22345     configure_input='Generated from '`
   22346 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22347 	`' by configure.'
   22348     if test x"$ac_file" != x-; then
   22349       configure_input="$ac_file.  $configure_input"
   22350       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22351 $as_echo "$as_me: creating $ac_file" >&6;}
   22352     fi
   22353     # Neutralize special characters interpreted by sed in replacement strings.
   22354     case $configure_input in #(
   22355     *\&* | *\|* | *\\* )
   22356        ac_sed_conf_input=`$as_echo "$configure_input" |
   22357        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22358     *) ac_sed_conf_input=$configure_input;;
   22359     esac
   22360 
   22361     case $ac_tag in
   22362     *:-:* | *:-) cat >"$tmp/stdin" \
   22363       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22364 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22365    { (exit 1); exit 1; }; } ;;
   22366     esac
   22367     ;;
   22368   esac
   22369 
   22370   ac_dir=`$as_dirname -- "$ac_file" ||
   22371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22372 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22373 	 X"$ac_file" : 'X\(//\)$' \| \
   22374 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22375 $as_echo X"$ac_file" |
   22376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22377 	    s//\1/
   22378 	    q
   22379 	  }
   22380 	  /^X\(\/\/\)[^/].*/{
   22381 	    s//\1/
   22382 	    q
   22383 	  }
   22384 	  /^X\(\/\/\)$/{
   22385 	    s//\1/
   22386 	    q
   22387 	  }
   22388 	  /^X\(\/\).*/{
   22389 	    s//\1/
   22390 	    q
   22391 	  }
   22392 	  s/.*/./; q'`
   22393   { as_dir="$ac_dir"
   22394   case $as_dir in #(
   22395   -*) as_dir=./$as_dir;;
   22396   esac
   22397   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22398     as_dirs=
   22399     while :; do
   22400       case $as_dir in #(
   22401       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22402       *) as_qdir=$as_dir;;
   22403       esac
   22404       as_dirs="'$as_qdir' $as_dirs"
   22405       as_dir=`$as_dirname -- "$as_dir" ||
   22406 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22407 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22408 	 X"$as_dir" : 'X\(//\)$' \| \
   22409 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22410 $as_echo X"$as_dir" |
   22411     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22412 	    s//\1/
   22413 	    q
   22414 	  }
   22415 	  /^X\(\/\/\)[^/].*/{
   22416 	    s//\1/
   22417 	    q
   22418 	  }
   22419 	  /^X\(\/\/\)$/{
   22420 	    s//\1/
   22421 	    q
   22422 	  }
   22423 	  /^X\(\/\).*/{
   22424 	    s//\1/
   22425 	    q
   22426 	  }
   22427 	  s/.*/./; q'`
   22428       test -d "$as_dir" && break
   22429     done
   22430     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22431   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22432 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22433    { (exit 1); exit 1; }; }; }
   22434   ac_builddir=.
   22435 
   22436 case "$ac_dir" in
   22437 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22438 *)
   22439   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   22440   # A ".." for each directory in $ac_dir_suffix.
   22441   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   22442   case $ac_top_builddir_sub in
   22443   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   22444   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   22445   esac ;;
   22446 esac
   22447 ac_abs_top_builddir=$ac_pwd
   22448 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   22449 # for backward compatibility:
   22450 ac_top_builddir=$ac_top_build_prefix
   22451 
   22452 case $srcdir in
   22453   .)  # We are building in place.
   22454     ac_srcdir=.
   22455     ac_top_srcdir=$ac_top_builddir_sub
   22456     ac_abs_top_srcdir=$ac_pwd ;;
   22457   [\\/]* | ?:[\\/]* )  # Absolute name.
   22458     ac_srcdir=$srcdir$ac_dir_suffix;
   22459     ac_top_srcdir=$srcdir
   22460     ac_abs_top_srcdir=$srcdir ;;
   22461   *) # Relative name.
   22462     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   22463     ac_top_srcdir=$ac_top_build_prefix$srcdir
   22464     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   22465 esac
   22466 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   22467 
   22468 
   22469   case $ac_mode in
   22470   :F)
   22471   #
   22472   # CONFIG_FILE
   22473   #
   22474 
   22475   case $INSTALL in
   22476   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   22477   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   22478   esac
   22479   ac_MKDIR_P=$MKDIR_P
   22480   case $MKDIR_P in
   22481   [\\/$]* | ?:[\\/]* ) ;;
   22482   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   22483   esac
   22484 _ACEOF
   22485 
   22486 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22487 # If the template does not know about datarootdir, expand it.
   22488 # FIXME: This hack should be removed a few years after 2.60.
   22489 ac_datarootdir_hack=; ac_datarootdir_seen=
   22490 
   22491 ac_sed_dataroot='
   22492 /datarootdir/ {
   22493   p
   22494   q
   22495 }
   22496 /@datadir@/p
   22497 /@docdir@/p
   22498 /@infodir@/p
   22499 /@localedir@/p
   22500 /@mandir@/p
   22501 '
   22502 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   22503 *datarootdir*) ac_datarootdir_seen=yes;;
   22504 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   22505   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   22506 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   22507 _ACEOF
   22508 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22509   ac_datarootdir_hack='
   22510   s&@datadir@&$datadir&g
   22511   s&@docdir@&$docdir&g
   22512   s&@infodir@&$infodir&g
   22513   s&@localedir@&$localedir&g
   22514   s&@mandir@&$mandir&g
   22515     s&\\\${datarootdir}&$datarootdir&g' ;;
   22516 esac
   22517 _ACEOF
   22518 
   22519 # Neutralize VPATH when `$srcdir' = `.'.
   22520 # Shell code in configure.ac might set extrasub.
   22521 # FIXME: do we really want to maintain this feature?
   22522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22523 ac_sed_extra="$ac_vpsub
   22524 $extrasub
   22525 _ACEOF
   22526 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22527 :t
   22528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   22529 s|@configure_input@|$ac_sed_conf_input|;t t
   22530 s&@top_builddir@&$ac_top_builddir_sub&;t t
   22531 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   22532 s&@srcdir@&$ac_srcdir&;t t
   22533 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   22534 s&@top_srcdir@&$ac_top_srcdir&;t t
   22535 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   22536 s&@builddir@&$ac_builddir&;t t
   22537 s&@abs_builddir@&$ac_abs_builddir&;t t
   22538 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   22539 s&@INSTALL@&$ac_INSTALL&;t t
   22540 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   22541 $ac_datarootdir_hack
   22542 "
   22543 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   22544   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22545 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22546    { (exit 1); exit 1; }; }
   22547 
   22548 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   22549   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   22550   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   22551   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22552 which seems to be undefined.  Please make sure it is defined." >&5
   22553 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   22554 which seems to be undefined.  Please make sure it is defined." >&2;}
   22555 
   22556   rm -f "$tmp/stdin"
   22557   case $ac_file in
   22558   -) cat "$tmp/out" && rm -f "$tmp/out";;
   22559   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   22560   esac \
   22561   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22562 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22563    { (exit 1); exit 1; }; }
   22564  ;;
   22565   :H)
   22566   #
   22567   # CONFIG_HEADER
   22568   #
   22569   if test x"$ac_file" != x-; then
   22570     {
   22571       $as_echo "/* $configure_input  */" \
   22572       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   22573     } >"$tmp/config.h" \
   22574       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22575 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22576    { (exit 1); exit 1; }; }
   22577     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   22578       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   22579 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   22580     else
   22581       rm -f "$ac_file"
   22582       mv "$tmp/config.h" "$ac_file" \
   22583 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22584 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22585    { (exit 1); exit 1; }; }
   22586     fi
   22587   else
   22588     $as_echo "/* $configure_input  */" \
   22589       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   22590       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   22591 $as_echo "$as_me: error: could not create -" >&2;}
   22592    { (exit 1); exit 1; }; }
   22593   fi
   22594 # Compute "$ac_file"'s index in $config_headers.
   22595 _am_arg="$ac_file"
   22596 _am_stamp_count=1
   22597 for _am_header in $config_headers :; do
   22598   case $_am_header in
   22599     $_am_arg | $_am_arg:* )
   22600       break ;;
   22601     * )
   22602       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   22603   esac
   22604 done
   22605 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   22606 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22607 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   22608 	 X"$_am_arg" : 'X\(//\)$' \| \
   22609 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   22610 $as_echo X"$_am_arg" |
   22611     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22612 	    s//\1/
   22613 	    q
   22614 	  }
   22615 	  /^X\(\/\/\)[^/].*/{
   22616 	    s//\1/
   22617 	    q
   22618 	  }
   22619 	  /^X\(\/\/\)$/{
   22620 	    s//\1/
   22621 	    q
   22622 	  }
   22623 	  /^X\(\/\).*/{
   22624 	    s//\1/
   22625 	    q
   22626 	  }
   22627 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   22628  ;;
   22629 
   22630   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   22631 $as_echo "$as_me: executing $ac_file commands" >&6;}
   22632  ;;
   22633   esac
   22634 
   22635 
   22636   case $ac_file$ac_mode in
   22637     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   22638   # Strip MF so we end up with the name of the file.
   22639   mf=`echo "$mf" | sed -e 's/:.*$//'`
   22640   # Check whether this is an Automake generated Makefile or not.
   22641   # We used to match only the files named `Makefile.in', but
   22642   # some people rename them; so instead we look at the file content.
   22643   # Grep'ing the first line is not enough: some people post-process
   22644   # each Makefile.in and add a new line on top of each file to say so.
   22645   # Grep'ing the whole file is not good either: AIX grep has a line
   22646   # limit of 2048, but all sed's we know have understand at least 4000.
   22647   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   22648     dirpart=`$as_dirname -- "$mf" ||
   22649 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22650 	 X"$mf" : 'X\(//\)[^/]' \| \
   22651 	 X"$mf" : 'X\(//\)$' \| \
   22652 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   22653 $as_echo X"$mf" |
   22654     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22655 	    s//\1/
   22656 	    q
   22657 	  }
   22658 	  /^X\(\/\/\)[^/].*/{
   22659 	    s//\1/
   22660 	    q
   22661 	  }
   22662 	  /^X\(\/\/\)$/{
   22663 	    s//\1/
   22664 	    q
   22665 	  }
   22666 	  /^X\(\/\).*/{
   22667 	    s//\1/
   22668 	    q
   22669 	  }
   22670 	  s/.*/./; q'`
   22671   else
   22672     continue
   22673   fi
   22674   # Extract the definition of DEPDIR, am__include, and am__quote
   22675   # from the Makefile without running `make'.
   22676   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   22677   test -z "$DEPDIR" && continue
   22678   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   22679   test -z "am__include" && continue
   22680   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   22681   # When using ansi2knr, U may be empty or an underscore; expand it
   22682   U=`sed -n 's/^U = //p' < "$mf"`
   22683   # Find all dependency output files, they are included files with
   22684   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   22685   # simplest approach to changing $(DEPDIR) to its actual value in the
   22686   # expansion.
   22687   for file in `sed -n "
   22688     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   22689        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   22690     # Make sure the directory exists.
   22691     test -f "$dirpart/$file" && continue
   22692     fdir=`$as_dirname -- "$file" ||
   22693 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22694 	 X"$file" : 'X\(//\)[^/]' \| \
   22695 	 X"$file" : 'X\(//\)$' \| \
   22696 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   22697 $as_echo X"$file" |
   22698     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22699 	    s//\1/
   22700 	    q
   22701 	  }
   22702 	  /^X\(\/\/\)[^/].*/{
   22703 	    s//\1/
   22704 	    q
   22705 	  }
   22706 	  /^X\(\/\/\)$/{
   22707 	    s//\1/
   22708 	    q
   22709 	  }
   22710 	  /^X\(\/\).*/{
   22711 	    s//\1/
   22712 	    q
   22713 	  }
   22714 	  s/.*/./; q'`
   22715     { as_dir=$dirpart/$fdir
   22716   case $as_dir in #(
   22717   -*) as_dir=./$as_dir;;
   22718   esac
   22719   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   22720     as_dirs=
   22721     while :; do
   22722       case $as_dir in #(
   22723       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   22724       *) as_qdir=$as_dir;;
   22725       esac
   22726       as_dirs="'$as_qdir' $as_dirs"
   22727       as_dir=`$as_dirname -- "$as_dir" ||
   22728 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22729 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   22730 	 X"$as_dir" : 'X\(//\)$' \| \
   22731 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   22732 $as_echo X"$as_dir" |
   22733     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22734 	    s//\1/
   22735 	    q
   22736 	  }
   22737 	  /^X\(\/\/\)[^/].*/{
   22738 	    s//\1/
   22739 	    q
   22740 	  }
   22741 	  /^X\(\/\/\)$/{
   22742 	    s//\1/
   22743 	    q
   22744 	  }
   22745 	  /^X\(\/\).*/{
   22746 	    s//\1/
   22747 	    q
   22748 	  }
   22749 	  s/.*/./; q'`
   22750       test -d "$as_dir" && break
   22751     done
   22752     test -z "$as_dirs" || eval "mkdir $as_dirs"
   22753   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   22754 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   22755    { (exit 1); exit 1; }; }; }
   22756     # echo "creating $dirpart/$file"
   22757     echo '# dummy' > "$dirpart/$file"
   22758   done
   22759 done
   22760  ;;
   22761     "libtool_hack":C)
   22762 	cp -f libtool libtool_
   22763 	test -z "$SED" && SED=sed
   22764 	$SED '1,/^soname_spec/{
   22765 /^soname_spec/i\
   22766 # X.Org hack to match monolithic Xaw SONAME\
   22767 xorglibxawname="libXaw"
   22768 /^soname_spec/s/libname/xorglibxawname/
   22769 }' libtool_ > libtool
   22770 	rm -f libtool_
   22771  ;;
   22772 
   22773   esac
   22774 done # for ac_tag
   22775 
   22776 
   22777 { (exit 0); exit 0; }
   22778 _ACEOF
   22779 chmod +x $CONFIG_STATUS
   22780 ac_clean_files=$ac_clean_files_save
   22781 
   22782 test $ac_write_fail = 0 ||
   22783   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   22784 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   22785    { (exit 1); exit 1; }; }
   22786 
   22787 
   22788 # configure is writing to config.log, and then calls config.status.
   22789 # config.status does its own redirection, appending to config.log.
   22790 # Unfortunately, on DOS this fails, as config.log is still kept open
   22791 # by configure, so config.status won't be able to write to it; its
   22792 # output is simply discarded.  So we exec the FD to /dev/null,
   22793 # effectively closing config.log, so it can be properly (re)opened and
   22794 # appended to by config.status.  When coming back to configure, we
   22795 # need to make the FD available again.
   22796 if test "$no_create" != yes; then
   22797   ac_cs_success=:
   22798   ac_config_status_args=
   22799   test "$silent" = yes &&
   22800     ac_config_status_args="$ac_config_status_args --quiet"
   22801   exec 5>/dev/null
   22802   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   22803   exec 5>>config.log
   22804   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   22805   # would make configure fail if this is the last instruction.
   22806   $ac_cs_success || { (exit 1); exit 1; }
   22807 fi
   22808 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   22809   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   22810 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   22811 fi
   22812 
   22813 
   22814 if test "x$build_v6" = xyes; then
   22815    ac_config_files="$ac_config_files xaw6.pc"
   22816 
   22817 cat >confcache <<\_ACEOF
   22818 # This file is a shell script that caches the results of configure
   22819 # tests run on this system so they can be shared between configure
   22820 # scripts and configure runs, see configure's option --config-cache.
   22821 # It is not useful on other systems.  If it contains results you don't
   22822 # want to keep, you may remove or edit it.
   22823 #
   22824 # config.status only pays attention to the cache file if you give it
   22825 # the --recheck option to rerun configure.
   22826 #
   22827 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   22828 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   22829 # following values.
   22830 
   22831 _ACEOF
   22832 
   22833 # The following way of writing the cache mishandles newlines in values,
   22834 # but we know of no workaround that is simple, portable, and efficient.
   22835 # So, we kill variables containing newlines.
   22836 # Ultrix sh set writes to stderr and can't be redirected directly,
   22837 # and sets the high bit in the cache file unless we assign to the vars.
   22838 (
   22839   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   22840     eval ac_val=\$$ac_var
   22841     case $ac_val in #(
   22842     *${as_nl}*)
   22843       case $ac_var in #(
   22844       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   22845 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   22846       esac
   22847       case $ac_var in #(
   22848       _ | IFS | as_nl) ;; #(
   22849       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   22850       *) $as_unset $ac_var ;;
   22851       esac ;;
   22852     esac
   22853   done
   22854 
   22855   (set) 2>&1 |
   22856     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   22857     *${as_nl}ac_space=\ *)
   22858       # `set' does not quote correctly, so add quotes (double-quote
   22859       # substitution turns \\\\ into \\, and sed turns \\ into \).
   22860       sed -n \
   22861 	"s/'/'\\\\''/g;
   22862 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   22863       ;; #(
   22864     *)
   22865       # `set' quotes correctly as required by POSIX, so do not add quotes.
   22866       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   22867       ;;
   22868     esac |
   22869     sort
   22870 ) |
   22871   sed '
   22872      /^ac_cv_env_/b end
   22873      t clear
   22874      :clear
   22875      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   22876      t end
   22877      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   22878      :end' >>confcache
   22879 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   22880   if test -w "$cache_file"; then
   22881     test "x$cache_file" != "x/dev/null" &&
   22882       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   22883 $as_echo "$as_me: updating cache $cache_file" >&6;}
   22884     cat confcache >$cache_file
   22885   else
   22886     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   22887 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   22888   fi
   22889 fi
   22890 rm -f confcache
   22891 
   22892 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   22893 # Let make expand exec_prefix.
   22894 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   22895 
   22896 DEFS=-DHAVE_CONFIG_H
   22897 
   22898 ac_libobjs=
   22899 ac_ltlibobjs=
   22900 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   22901   # 1. Remove the extension, and $U if already installed.
   22902   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22903   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22904   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22905   #    will be set to the directory where LIBOBJS objects are built.
   22906   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22907   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22908 done
   22909 LIBOBJS=$ac_libobjs
   22910 
   22911 LTLIBOBJS=$ac_ltlibobjs
   22912 
   22913 
   22914 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22915   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22916 Usually this means the macro was only invoked conditionally." >&5
   22917 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22918 Usually this means the macro was only invoked conditionally." >&2;}
   22919    { (exit 1); exit 1; }; }
   22920 fi
   22921 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22922   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22923 Usually this means the macro was only invoked conditionally." >&5
   22924 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22925 Usually this means the macro was only invoked conditionally." >&2;}
   22926    { (exit 1); exit 1; }; }
   22927 fi
   22928 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22929   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22930 Usually this means the macro was only invoked conditionally." >&5
   22931 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22932 Usually this means the macro was only invoked conditionally." >&2;}
   22933    { (exit 1); exit 1; }; }
   22934 fi
   22935 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   22936   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
   22937 Usually this means the macro was only invoked conditionally." >&5
   22938 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
   22939 Usually this means the macro was only invoked conditionally." >&2;}
   22940    { (exit 1); exit 1; }; }
   22941 fi
   22942 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   22943   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
   22944 Usually this means the macro was only invoked conditionally." >&5
   22945 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
   22946 Usually this means the macro was only invoked conditionally." >&2;}
   22947    { (exit 1); exit 1; }; }
   22948 fi
   22949 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   22950   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
   22951 Usually this means the macro was only invoked conditionally." >&5
   22952 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
   22953 Usually this means the macro was only invoked conditionally." >&2;}
   22954    { (exit 1); exit 1; }; }
   22955 fi
   22956 
   22957 : ${CONFIG_STATUS=./config.status}
   22958 ac_write_fail=0
   22959 ac_clean_files_save=$ac_clean_files
   22960 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22961 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22962 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22963 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22964 #! $SHELL
   22965 # Generated by $as_me.
   22966 # Run this file to recreate the current configuration.
   22967 # Compiler output produced by configure, useful for debugging
   22968 # configure, is in config.log if it exists.
   22969 
   22970 debug=false
   22971 ac_cs_recheck=false
   22972 ac_cs_silent=false
   22973 SHELL=\${CONFIG_SHELL-$SHELL}
   22974 _ACEOF
   22975 
   22976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22977 ## --------------------- ##
   22978 ## M4sh Initialization.  ##
   22979 ## --------------------- ##
   22980 
   22981 # Be more Bourne compatible
   22982 DUALCASE=1; export DUALCASE # for MKS sh
   22983 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22984   emulate sh
   22985   NULLCMD=:
   22986   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22987   # is contrary to our usage.  Disable this feature.
   22988   alias -g '${1+"$@"}'='"$@"'
   22989   setopt NO_GLOB_SUBST
   22990 else
   22991   case `(set -o) 2>/dev/null` in
   22992   *posix*) set -o posix ;;
   22993 esac
   22994 
   22995 fi
   22996 
   22997 
   22998 
   22999 
   23000 # PATH needs CR
   23001 # Avoid depending upon Character Ranges.
   23002 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   23003 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   23004 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   23005 as_cr_digits='0123456789'
   23006 as_cr_alnum=$as_cr_Letters$as_cr_digits
   23007 
   23008 as_nl='
   23009 '
   23010 export as_nl
   23011 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   23012 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   23013 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   23014 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   23015 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   23016   as_echo='printf %s\n'
   23017   as_echo_n='printf %s'
   23018 else
   23019   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   23020     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   23021     as_echo_n='/usr/ucb/echo -n'
   23022   else
   23023     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   23024     as_echo_n_body='eval
   23025       arg=$1;
   23026       case $arg in
   23027       *"$as_nl"*)
   23028 	expr "X$arg" : "X\\(.*\\)$as_nl";
   23029 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   23030       esac;
   23031       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   23032     '
   23033     export as_echo_n_body
   23034     as_echo_n='sh -c $as_echo_n_body as_echo'
   23035   fi
   23036   export as_echo_body
   23037   as_echo='sh -c $as_echo_body as_echo'
   23038 fi
   23039 
   23040 # The user is always right.
   23041 if test "${PATH_SEPARATOR+set}" != set; then
   23042   PATH_SEPARATOR=:
   23043   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   23044     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   23045       PATH_SEPARATOR=';'
   23046   }
   23047 fi
   23048 
   23049 # Support unset when possible.
   23050 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   23051   as_unset=unset
   23052 else
   23053   as_unset=false
   23054 fi
   23055 
   23056 
   23057 # IFS
   23058 # We need space, tab and new line, in precisely that order.  Quoting is
   23059 # there to prevent editors from complaining about space-tab.
   23060 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   23061 # splitting by setting IFS to empty value.)
   23062 IFS=" ""	$as_nl"
   23063 
   23064 # Find who we are.  Look in the path if we contain no directory separator.
   23065 case $0 in
   23066   *[\\/]* ) as_myself=$0 ;;
   23067   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23068 for as_dir in $PATH
   23069 do
   23070   IFS=$as_save_IFS
   23071   test -z "$as_dir" && as_dir=.
   23072   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   23073 done
   23074 IFS=$as_save_IFS
   23075 
   23076      ;;
   23077 esac
   23078 # We did not find ourselves, most probably we were run as `sh COMMAND'
   23079 # in which case we are not to be found in the path.
   23080 if test "x$as_myself" = x; then
   23081   as_myself=$0
   23082 fi
   23083 if test ! -f "$as_myself"; then
   23084   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   23085   { (exit 1); exit 1; }
   23086 fi
   23087 
   23088 # Work around bugs in pre-3.0 UWIN ksh.
   23089 for as_var in ENV MAIL MAILPATH
   23090 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   23091 done
   23092 PS1='$ '
   23093 PS2='> '
   23094 PS4='+ '
   23095 
   23096 # NLS nuisances.
   23097 LC_ALL=C
   23098 export LC_ALL
   23099 LANGUAGE=C
   23100 export LANGUAGE
   23101 
   23102 # Required to use basename.
   23103 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23104    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23105   as_expr=expr
   23106 else
   23107   as_expr=false
   23108 fi
   23109 
   23110 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   23111   as_basename=basename
   23112 else
   23113   as_basename=false
   23114 fi
   23115 
   23116 
   23117 # Name of the executable.
   23118 as_me=`$as_basename -- "$0" ||
   23119 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   23120 	 X"$0" : 'X\(//\)$' \| \
   23121 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   23122 $as_echo X/"$0" |
   23123     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23124 	    s//\1/
   23125 	    q
   23126 	  }
   23127 	  /^X\/\(\/\/\)$/{
   23128 	    s//\1/
   23129 	    q
   23130 	  }
   23131 	  /^X\/\(\/\).*/{
   23132 	    s//\1/
   23133 	    q
   23134 	  }
   23135 	  s/.*/./; q'`
   23136 
   23137 # CDPATH.
   23138 $as_unset CDPATH
   23139 
   23140 
   23141 
   23142   as_lineno_1=$LINENO
   23143   as_lineno_2=$LINENO
   23144   test "x$as_lineno_1" != "x$as_lineno_2" &&
   23145   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   23146 
   23147   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   23148   # uniformly replaced by the line number.  The first 'sed' inserts a
   23149   # line-number line after each line using $LINENO; the second 'sed'
   23150   # does the real work.  The second script uses 'N' to pair each
   23151   # line-number line with the line containing $LINENO, and appends
   23152   # trailing '-' during substitution so that $LINENO is not a special
   23153   # case at line end.
   23154   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   23155   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   23156   # E. McMahon (1931-1989) for sed's syntax.  :-)
   23157   sed -n '
   23158     p
   23159     /[$]LINENO/=
   23160   ' <$as_myself |
   23161     sed '
   23162       s/[$]LINENO.*/&-/
   23163       t lineno
   23164       b
   23165       :lineno
   23166       N
   23167       :loop
   23168       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   23169       t loop
   23170       s/-\n.*//
   23171     ' >$as_me.lineno &&
   23172   chmod +x "$as_me.lineno" ||
   23173     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   23174    { (exit 1); exit 1; }; }
   23175 
   23176   # Don't try to exec as it changes $[0], causing all sort of problems
   23177   # (the dirname of $[0] is not the place where we might find the
   23178   # original and so on.  Autoconf is especially sensitive to this).
   23179   . "./$as_me.lineno"
   23180   # Exit status is that of the last command.
   23181   exit
   23182 }
   23183 
   23184 
   23185 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   23186   as_dirname=dirname
   23187 else
   23188   as_dirname=false
   23189 fi
   23190 
   23191 ECHO_C= ECHO_N= ECHO_T=
   23192 case `echo -n x` in
   23193 -n*)
   23194   case `echo 'x\c'` in
   23195   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   23196   *)   ECHO_C='\c';;
   23197   esac;;
   23198 *)
   23199   ECHO_N='-n';;
   23200 esac
   23201 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23202    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23203   as_expr=expr
   23204 else
   23205   as_expr=false
   23206 fi
   23207 
   23208 rm -f conf$$ conf$$.exe conf$$.file
   23209 if test -d conf$$.dir; then
   23210   rm -f conf$$.dir/conf$$.file
   23211 else
   23212   rm -f conf$$.dir
   23213   mkdir conf$$.dir 2>/dev/null
   23214 fi
   23215 if (echo >conf$$.file) 2>/dev/null; then
   23216   if ln -s conf$$.file conf$$ 2>/dev/null; then
   23217     as_ln_s='ln -s'
   23218     # ... but there are two gotchas:
   23219     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   23220     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   23221     # In both cases, we have to default to `cp -p'.
   23222     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23223       as_ln_s='cp -p'
   23224   elif ln conf$$.file conf$$ 2>/dev/null; then
   23225     as_ln_s=ln
   23226   else
   23227     as_ln_s='cp -p'
   23228   fi
   23229 else
   23230   as_ln_s='cp -p'
   23231 fi
   23232 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23233 rmdir conf$$.dir 2>/dev/null
   23234 
   23235 if mkdir -p . 2>/dev/null; then
   23236   as_mkdir_p=:
   23237 else
   23238   test -d ./-p && rmdir ./-p
   23239   as_mkdir_p=false
   23240 fi
   23241 
   23242 if test -x / >/dev/null 2>&1; then
   23243   as_test_x='test -x'
   23244 else
   23245   if ls -dL / >/dev/null 2>&1; then
   23246     as_ls_L_option=L
   23247   else
   23248     as_ls_L_option=
   23249   fi
   23250   as_test_x='
   23251     eval sh -c '\''
   23252       if test -d "$1"; then
   23253 	test -d "$1/.";
   23254       else
   23255 	case $1 in
   23256 	-*)set "./$1";;
   23257 	esac;
   23258 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   23259 	???[sx]*):;;*)false;;esac;fi
   23260     '\'' sh
   23261   '
   23262 fi
   23263 as_executable_p=$as_test_x
   23264 
   23265 # Sed expression to map a string onto a valid CPP name.
   23266 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23267 
   23268 # Sed expression to map a string onto a valid variable name.
   23269 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23270 
   23271 
   23272 exec 6>&1
   23273 
   23274 # Save the log message, to keep $[0] and so on meaningful, and to
   23275 # report actual input values of CONFIG_FILES etc. instead of their
   23276 # values after options handling.
   23277 ac_log="
   23278 This file was extended by libXaw $as_me 1.0.5, which was
   23279 generated by GNU Autoconf 2.63.  Invocation command line was
   23280 
   23281   CONFIG_FILES    = $CONFIG_FILES
   23282   CONFIG_HEADERS  = $CONFIG_HEADERS
   23283   CONFIG_LINKS    = $CONFIG_LINKS
   23284   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23285   $ $0 $@
   23286 
   23287 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23288 "
   23289 
   23290 _ACEOF
   23291 
   23292 case $ac_config_files in *"
   23293 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23294 esac
   23295 
   23296 case $ac_config_headers in *"
   23297 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23298 esac
   23299 
   23300 
   23301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23302 # Files that config.status was made for.
   23303 config_files="`echo $ac_config_files`"
   23304 config_headers="`echo $ac_config_headers`"
   23305 config_commands="`echo $ac_config_commands`"
   23306 
   23307 _ACEOF
   23308 
   23309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23310 ac_cs_usage="\
   23311 \`$as_me' instantiates files from templates according to the
   23312 current configuration.
   23313 
   23314 Usage: $0 [OPTION]... [FILE]...
   23315 
   23316   -h, --help       print this help, then exit
   23317   -V, --version    print version number and configuration settings, then exit
   23318   -q, --quiet, --silent
   23319                    do not print progress messages
   23320   -d, --debug      don't remove temporary files
   23321       --recheck    update $as_me by reconfiguring in the same conditions
   23322       --file=FILE[:TEMPLATE]
   23323                    instantiate the configuration file FILE
   23324       --header=FILE[:TEMPLATE]
   23325                    instantiate the configuration header FILE
   23326 
   23327 Configuration files:
   23328 $config_files
   23329 
   23330 Configuration headers:
   23331 $config_headers
   23332 
   23333 Configuration commands:
   23334 $config_commands
   23335 
   23336 Report bugs to <bug-autoconf (at] gnu.org>."
   23337 
   23338 _ACEOF
   23339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23340 ac_cs_version="\\
   23341 libXaw config.status 1.0.5
   23342 configured by $0, generated by GNU Autoconf 2.63,
   23343   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23344 
   23345 Copyright (C) 2008 Free Software Foundation, Inc.
   23346 This config.status script is free software; the Free Software Foundation
   23347 gives unlimited permission to copy, distribute and modify it."
   23348 
   23349 ac_pwd='$ac_pwd'
   23350 srcdir='$srcdir'
   23351 INSTALL='$INSTALL'
   23352 MKDIR_P='$MKDIR_P'
   23353 AWK='$AWK'
   23354 test -n "\$AWK" || AWK=awk
   23355 _ACEOF
   23356 
   23357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23358 # The default lists apply if the user does not specify any file.
   23359 ac_need_defaults=:
   23360 while test $# != 0
   23361 do
   23362   case $1 in
   23363   --*=*)
   23364     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   23365     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   23366     ac_shift=:
   23367     ;;
   23368   *)
   23369     ac_option=$1
   23370     ac_optarg=$2
   23371     ac_shift=shift
   23372     ;;
   23373   esac
   23374 
   23375   case $ac_option in
   23376   # Handling of the options.
   23377   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   23378     ac_cs_recheck=: ;;
   23379   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   23380     $as_echo "$ac_cs_version"; exit ;;
   23381   --debug | --debu | --deb | --de | --d | -d )
   23382     debug=: ;;
   23383   --file | --fil | --fi | --f )
   23384     $ac_shift
   23385     case $ac_optarg in
   23386     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23387     esac
   23388     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   23389     ac_need_defaults=false;;
   23390   --header | --heade | --head | --hea )
   23391     $ac_shift
   23392     case $ac_optarg in
   23393     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   23394     esac
   23395     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   23396     ac_need_defaults=false;;
   23397   --he | --h)
   23398     # Conflict between --help and --header
   23399     { $as_echo "$as_me: error: ambiguous option: $1
   23400 Try \`$0 --help' for more information." >&2
   23401    { (exit 1); exit 1; }; };;
   23402   --help | --hel | -h )
   23403     $as_echo "$ac_cs_usage"; exit ;;
   23404   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   23405   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   23406     ac_cs_silent=: ;;
   23407 
   23408   # This is an error.
   23409   -*) { $as_echo "$as_me: error: unrecognized option: $1
   23410 Try \`$0 --help' for more information." >&2
   23411    { (exit 1); exit 1; }; } ;;
   23412 
   23413   *) ac_config_targets="$ac_config_targets $1"
   23414      ac_need_defaults=false ;;
   23415 
   23416   esac
   23417   shift
   23418 done
   23419 
   23420 ac_configure_extra_args=
   23421 
   23422 if $ac_cs_silent; then
   23423   exec 6>/dev/null
   23424   ac_configure_extra_args="$ac_configure_extra_args --silent"
   23425 fi
   23426 
   23427 _ACEOF
   23428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23429 if \$ac_cs_recheck; then
   23430   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   23431   shift
   23432   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   23433   CONFIG_SHELL='$SHELL'
   23434   export CONFIG_SHELL
   23435   exec "\$@"
   23436 fi
   23437 
   23438 _ACEOF
   23439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23440 exec 5>>config.log
   23441 {
   23442   echo
   23443   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   23444 ## Running $as_me. ##
   23445 _ASBOX
   23446   $as_echo "$ac_log"
   23447 } >&5
   23448 
   23449 _ACEOF
   23450 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23451 #
   23452 # INIT-COMMANDS
   23453 #
   23454 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   23455 
   23456 _ACEOF
   23457 
   23458 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23459 
   23460 # Handling of arguments.
   23461 for ac_config_target in $ac_config_targets
   23462 do
   23463   case $ac_config_target in
   23464     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   23465     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   23466     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   23467     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   23468     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   23469     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   23470     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   23471     "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
   23472 
   23473   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   23474 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   23475    { (exit 1); exit 1; }; };;
   23476   esac
   23477 done
   23478 
   23479 
   23480 # If the user did not use the arguments to specify the items to instantiate,
   23481 # then the envvar interface is used.  Set only those that are not.
   23482 # We use the long form for the default assignment because of an extremely
   23483 # bizarre bug on SunOS 4.1.3.
   23484 if $ac_need_defaults; then
   23485   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   23486   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   23487   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   23488 fi
   23489 
   23490 # Have a temporary directory for convenience.  Make it in the build tree
   23491 # simply because there is no reason against having it here, and in addition,
   23492 # creating and moving files from /tmp can sometimes cause problems.
   23493 # Hook for its removal unless debugging.
   23494 # Note that there is a small window in which the directory will not be cleaned:
   23495 # after its creation but before its name has been assigned to `$tmp'.
   23496 $debug ||
   23497 {
   23498   tmp=
   23499   trap 'exit_status=$?
   23500   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   23501 ' 0
   23502   trap '{ (exit 1); exit 1; }' 1 2 13 15
   23503 }
   23504 # Create a (secure) tmp directory for tmp files.
   23505 
   23506 {
   23507   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   23508   test -n "$tmp" && test -d "$tmp"
   23509 }  ||
   23510 {
   23511   tmp=./conf$$-$RANDOM
   23512   (umask 077 && mkdir "$tmp")
   23513 } ||
   23514 {
   23515    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   23516    { (exit 1); exit 1; }
   23517 }
   23518 
   23519 # Set up the scripts for CONFIG_FILES section.
   23520 # No need to generate them if there are no CONFIG_FILES.
   23521 # This happens for instance with `./config.status config.h'.
   23522 if test -n "$CONFIG_FILES"; then
   23523 
   23524 
   23525 ac_cr='
'
   23527 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   23528 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   23529   ac_cs_awk_cr='\\r'
   23530 else
   23531   ac_cs_awk_cr=$ac_cr
   23532 fi
   23533 
   23534 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   23535 _ACEOF
   23536 
   23537 
   23538 {
   23539   echo "cat >conf$$subs.awk <<_ACEOF" &&
   23540   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   23541   echo "_ACEOF"
   23542 } >conf$$subs.sh ||
   23543   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23544 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23545    { (exit 1); exit 1; }; }
   23546 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   23547 ac_delim='%!_!# '
   23548 for ac_last_try in false false false false false :; do
   23549   . ./conf$$subs.sh ||
   23550     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23551 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23552    { (exit 1); exit 1; }; }
   23553 
   23554   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   23555   if test $ac_delim_n = $ac_delim_num; then
   23556     break
   23557   elif $ac_last_try; then
   23558     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   23559 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   23560    { (exit 1); exit 1; }; }
   23561   else
   23562     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23563   fi
   23564 done
   23565 rm -f conf$$subs.sh
   23566 
   23567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23568 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   23569 _ACEOF
   23570 sed -n '
   23571 h
   23572 s/^/S["/; s/!.*/"]=/
   23573 p
   23574 g
   23575 s/^[^!]*!//
   23576 :repl
   23577 t repl
   23578 s/'"$ac_delim"'$//
   23579 t delim
   23580 :nl
   23581 h
   23582 s/\(.\{148\}\).*/\1/
   23583 t more1
   23584 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   23585 p
   23586 n
   23587 b repl
   23588 :more1
   23589 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23590 p
   23591 g
   23592 s/.\{148\}//
   23593 t nl
   23594 :delim
   23595 h
   23596 s/\(.\{148\}\).*/\1/
   23597 t more2
   23598 s/["\\]/\\&/g; s/^/"/; s/$/"/
   23599 p
   23600 b
   23601 :more2
   23602 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   23603 p
   23604 g
   23605 s/.\{148\}//
   23606 t delim
   23607 ' <conf$$subs.awk | sed '
   23608 /^[^""]/{
   23609   N
   23610   s/\n//
   23611 }
   23612 ' >>$CONFIG_STATUS || ac_write_fail=1
   23613 rm -f conf$$subs.awk
   23614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23615 _ACAWK
   23616 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   23617   for (key in S) S_is_set[key] = 1
   23618   FS = ""
   23619 
   23620 }
   23621 {
   23622   line = $ 0
   23623   nfields = split(line, field, "@")
   23624   substed = 0
   23625   len = length(field[1])
   23626   for (i = 2; i < nfields; i++) {
   23627     key = field[i]
   23628     keylen = length(key)
   23629     if (S_is_set[key]) {
   23630       value = S[key]
   23631       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   23632       len += length(value) + length(field[++i])
   23633       substed = 1
   23634     } else
   23635       len += 1 + keylen
   23636   }
   23637 
   23638   print line
   23639 }
   23640 
   23641 _ACAWK
   23642 _ACEOF
   23643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23644 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   23645   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   23646 else
   23647   cat
   23648 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   23649   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   23650 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   23651    { (exit 1); exit 1; }; }
   23652 _ACEOF
   23653 
   23654 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   23655 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   23656 # trailing colons and then remove the whole line if VPATH becomes empty
   23657 # (actually we leave an empty line to preserve line numbers).
   23658 if test "x$srcdir" = x.; then
   23659   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   23660 s/:*\$(srcdir):*/:/
   23661 s/:*\${srcdir}:*/:/
   23662 s/:*@srcdir@:*/:/
   23663 s/^\([^=]*=[	 ]*\):*/\1/
   23664 s/:*$//
   23665 s/^[^=]*=[	 ]*$//
   23666 }'
   23667 fi
   23668 
   23669 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23670 fi # test -n "$CONFIG_FILES"
   23671 
   23672 # Set up the scripts for CONFIG_HEADERS section.
   23673 # No need to generate them if there are no CONFIG_HEADERS.
   23674 # This happens for instance with `./config.status Makefile'.
   23675 if test -n "$CONFIG_HEADERS"; then
   23676 cat >"$tmp/defines.awk" <<\_ACAWK ||
   23677 BEGIN {
   23678 _ACEOF
   23679 
   23680 # Transform confdefs.h into an awk script `defines.awk', embedded as
   23681 # here-document in config.status, that substitutes the proper values into
   23682 # config.h.in to produce config.h.
   23683 
   23684 # Create a delimiter string that does not exist in confdefs.h, to ease
   23685 # handling of long lines.
   23686 ac_delim='%!_!# '
   23687 for ac_last_try in false false :; do
   23688   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   23689   if test -z "$ac_t"; then
   23690     break
   23691   elif $ac_last_try; then
   23692     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   23693 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   23694    { (exit 1); exit 1; }; }
   23695   else
   23696     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   23697   fi
   23698 done
   23699 
   23700 # For the awk script, D is an array of macro values keyed by name,
   23701 # likewise P contains macro parameters if any.  Preserve backslash
   23702 # newline sequences.
   23703 
   23704 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   23705 sed -n '
   23706 s/.\{148\}/&'"$ac_delim"'/g
   23707 t rset
   23708 :rset
   23709 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   23710 t def
   23711 d
   23712 :def
   23713 s/\\$//
   23714 t bsnl
   23715 s/["\\]/\\&/g
   23716 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23717 D["\1"]=" \3"/p
   23718 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   23719 d
   23720 :bsnl
   23721 s/["\\]/\\&/g
   23722 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   23723 D["\1"]=" \3\\\\\\n"\\/p
   23724 t cont
   23725 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   23726 t cont
   23727 d
   23728 :cont
   23729 n
   23730 s/.\{148\}/&'"$ac_delim"'/g
   23731 t clear
   23732 :clear
   23733 s/\\$//
   23734 t bsnlc
   23735 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   23736 d
   23737 :bsnlc
   23738 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   23739 b cont
   23740 ' <confdefs.h | sed '
   23741 s/'"$ac_delim"'/"\\\
   23742 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   23743 
   23744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23745   for (key in D) D_is_set[key] = 1
   23746   FS = ""
   23747 }
   23748 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   23749   line = \$ 0
   23750   split(line, arg, " ")
   23751   if (arg[1] == "#") {
   23752     defundef = arg[2]
   23753     mac1 = arg[3]
   23754   } else {
   23755     defundef = substr(arg[1], 2)
   23756     mac1 = arg[2]
   23757   }
   23758   split(mac1, mac2, "(") #)
   23759   macro = mac2[1]
   23760   prefix = substr(line, 1, index(line, defundef) - 1)
   23761   if (D_is_set[macro]) {
   23762     # Preserve the white space surrounding the "#".
   23763     print prefix "define", macro P[macro] D[macro]
   23764     next
   23765   } else {
   23766     # Replace #undef with comments.  This is necessary, for example,
   23767     # in the case of _POSIX_SOURCE, which is predefined and required
   23768     # on some systems where configure will not decide to define it.
   23769     if (defundef == "undef") {
   23770       print "/*", prefix defundef, macro, "*/"
   23771       next
   23772     }
   23773   }
   23774 }
   23775 { print }
   23776 _ACAWK
   23777 _ACEOF
   23778 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23779   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   23780 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   23781    { (exit 1); exit 1; }; }
   23782 fi # test -n "$CONFIG_HEADERS"
   23783 
   23784 
   23785 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   23786 shift
   23787 for ac_tag
   23788 do
   23789   case $ac_tag in
   23790   :[FHLC]) ac_mode=$ac_tag; continue;;
   23791   esac
   23792   case $ac_mode$ac_tag in
   23793   :[FHL]*:*);;
   23794   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   23795 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   23796    { (exit 1); exit 1; }; };;
   23797   :[FH]-) ac_tag=-:-;;
   23798   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   23799   esac
   23800   ac_save_IFS=$IFS
   23801   IFS=:
   23802   set x $ac_tag
   23803   IFS=$ac_save_IFS
   23804   shift
   23805   ac_file=$1
   23806   shift
   23807 
   23808   case $ac_mode in
   23809   :L) ac_source=$1;;
   23810   :[FH])
   23811     ac_file_inputs=
   23812     for ac_f
   23813     do
   23814       case $ac_f in
   23815       -) ac_f="$tmp/stdin";;
   23816       *) # Look for the file first in the build tree, then in the source tree
   23817 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   23818 	 # because $ac_f cannot contain `:'.
   23819 	 test -f "$ac_f" ||
   23820 	   case $ac_f in
   23821 	   [\\/$]*) false;;
   23822 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   23823 	   esac ||
   23824 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   23825 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   23826    { (exit 1); exit 1; }; };;
   23827       esac
   23828       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   23829       ac_file_inputs="$ac_file_inputs '$ac_f'"
   23830     done
   23831 
   23832     # Let's still pretend it is `configure' which instantiates (i.e., don't
   23833     # use $as_me), people would be surprised to read:
   23834     #    /* config.h.  Generated by config.status.  */
   23835     configure_input='Generated from '`
   23836 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   23837 	`' by configure.'
   23838     if test x"$ac_file" != x-; then
   23839       configure_input="$ac_file.  $configure_input"
   23840       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   23841 $as_echo "$as_me: creating $ac_file" >&6;}
   23842     fi
   23843     # Neutralize special characters interpreted by sed in replacement strings.
   23844     case $configure_input in #(
   23845     *\&* | *\|* | *\\* )
   23846        ac_sed_conf_input=`$as_echo "$configure_input" |
   23847        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   23848     *) ac_sed_conf_input=$configure_input;;
   23849     esac
   23850 
   23851     case $ac_tag in
   23852     *:-:* | *:-) cat >"$tmp/stdin" \
   23853       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23854 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23855    { (exit 1); exit 1; }; } ;;
   23856     esac
   23857     ;;
   23858   esac
   23859 
   23860   ac_dir=`$as_dirname -- "$ac_file" ||
   23861 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23862 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   23863 	 X"$ac_file" : 'X\(//\)$' \| \
   23864 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   23865 $as_echo X"$ac_file" |
   23866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23867 	    s//\1/
   23868 	    q
   23869 	  }
   23870 	  /^X\(\/\/\)[^/].*/{
   23871 	    s//\1/
   23872 	    q
   23873 	  }
   23874 	  /^X\(\/\/\)$/{
   23875 	    s//\1/
   23876 	    q
   23877 	  }
   23878 	  /^X\(\/\).*/{
   23879 	    s//\1/
   23880 	    q
   23881 	  }
   23882 	  s/.*/./; q'`
   23883   { as_dir="$ac_dir"
   23884   case $as_dir in #(
   23885   -*) as_dir=./$as_dir;;
   23886   esac
   23887   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23888     as_dirs=
   23889     while :; do
   23890       case $as_dir in #(
   23891       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23892       *) as_qdir=$as_dir;;
   23893       esac
   23894       as_dirs="'$as_qdir' $as_dirs"
   23895       as_dir=`$as_dirname -- "$as_dir" ||
   23896 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23897 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23898 	 X"$as_dir" : 'X\(//\)$' \| \
   23899 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23900 $as_echo X"$as_dir" |
   23901     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23902 	    s//\1/
   23903 	    q
   23904 	  }
   23905 	  /^X\(\/\/\)[^/].*/{
   23906 	    s//\1/
   23907 	    q
   23908 	  }
   23909 	  /^X\(\/\/\)$/{
   23910 	    s//\1/
   23911 	    q
   23912 	  }
   23913 	  /^X\(\/\).*/{
   23914 	    s//\1/
   23915 	    q
   23916 	  }
   23917 	  s/.*/./; q'`
   23918       test -d "$as_dir" && break
   23919     done
   23920     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23921   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23922 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23923    { (exit 1); exit 1; }; }; }
   23924   ac_builddir=.
   23925 
   23926 case "$ac_dir" in
   23927 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23928 *)
   23929   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23930   # A ".." for each directory in $ac_dir_suffix.
   23931   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23932   case $ac_top_builddir_sub in
   23933   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23934   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23935   esac ;;
   23936 esac
   23937 ac_abs_top_builddir=$ac_pwd
   23938 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23939 # for backward compatibility:
   23940 ac_top_builddir=$ac_top_build_prefix
   23941 
   23942 case $srcdir in
   23943   .)  # We are building in place.
   23944     ac_srcdir=.
   23945     ac_top_srcdir=$ac_top_builddir_sub
   23946     ac_abs_top_srcdir=$ac_pwd ;;
   23947   [\\/]* | ?:[\\/]* )  # Absolute name.
   23948     ac_srcdir=$srcdir$ac_dir_suffix;
   23949     ac_top_srcdir=$srcdir
   23950     ac_abs_top_srcdir=$srcdir ;;
   23951   *) # Relative name.
   23952     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23953     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23954     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23955 esac
   23956 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23957 
   23958 
   23959   case $ac_mode in
   23960   :F)
   23961   #
   23962   # CONFIG_FILE
   23963   #
   23964 
   23965   case $INSTALL in
   23966   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23967   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23968   esac
   23969   ac_MKDIR_P=$MKDIR_P
   23970   case $MKDIR_P in
   23971   [\\/$]* | ?:[\\/]* ) ;;
   23972   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23973   esac
   23974 _ACEOF
   23975 
   23976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23977 # If the template does not know about datarootdir, expand it.
   23978 # FIXME: This hack should be removed a few years after 2.60.
   23979 ac_datarootdir_hack=; ac_datarootdir_seen=
   23980 
   23981 ac_sed_dataroot='
   23982 /datarootdir/ {
   23983   p
   23984   q
   23985 }
   23986 /@datadir@/p
   23987 /@docdir@/p
   23988 /@infodir@/p
   23989 /@localedir@/p
   23990 /@mandir@/p
   23991 '
   23992 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23993 *datarootdir*) ac_datarootdir_seen=yes;;
   23994 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23995   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23996 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23997 _ACEOF
   23998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23999   ac_datarootdir_hack='
   24000   s&@datadir@&$datadir&g
   24001   s&@docdir@&$docdir&g
   24002   s&@infodir@&$infodir&g
   24003   s&@localedir@&$localedir&g
   24004   s&@mandir@&$mandir&g
   24005     s&\\\${datarootdir}&$datarootdir&g' ;;
   24006 esac
   24007 _ACEOF
   24008 
   24009 # Neutralize VPATH when `$srcdir' = `.'.
   24010 # Shell code in configure.ac might set extrasub.
   24011 # FIXME: do we really want to maintain this feature?
   24012 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24013 ac_sed_extra="$ac_vpsub
   24014 $extrasub
   24015 _ACEOF
   24016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24017 :t
   24018 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24019 s|@configure_input@|$ac_sed_conf_input|;t t
   24020 s&@top_builddir@&$ac_top_builddir_sub&;t t
   24021 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   24022 s&@srcdir@&$ac_srcdir&;t t
   24023 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   24024 s&@top_srcdir@&$ac_top_srcdir&;t t
   24025 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   24026 s&@builddir@&$ac_builddir&;t t
   24027 s&@abs_builddir@&$ac_abs_builddir&;t t
   24028 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   24029 s&@INSTALL@&$ac_INSTALL&;t t
   24030 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   24031 $ac_datarootdir_hack
   24032 "
   24033 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   24034   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24035 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24036    { (exit 1); exit 1; }; }
   24037 
   24038 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   24039   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   24040   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   24041   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24042 which seems to be undefined.  Please make sure it is defined." >&5
   24043 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24044 which seems to be undefined.  Please make sure it is defined." >&2;}
   24045 
   24046   rm -f "$tmp/stdin"
   24047   case $ac_file in
   24048   -) cat "$tmp/out" && rm -f "$tmp/out";;
   24049   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   24050   esac \
   24051   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24052 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24053    { (exit 1); exit 1; }; }
   24054  ;;
   24055   :H)
   24056   #
   24057   # CONFIG_HEADER
   24058   #
   24059   if test x"$ac_file" != x-; then
   24060     {
   24061       $as_echo "/* $configure_input  */" \
   24062       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   24063     } >"$tmp/config.h" \
   24064       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24065 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24066    { (exit 1); exit 1; }; }
   24067     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   24068       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   24069 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   24070     else
   24071       rm -f "$ac_file"
   24072       mv "$tmp/config.h" "$ac_file" \
   24073 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24074 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24075    { (exit 1); exit 1; }; }
   24076     fi
   24077   else
   24078     $as_echo "/* $configure_input  */" \
   24079       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   24080       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   24081 $as_echo "$as_me: error: could not create -" >&2;}
   24082    { (exit 1); exit 1; }; }
   24083   fi
   24084 # Compute "$ac_file"'s index in $config_headers.
   24085 _am_arg="$ac_file"
   24086 _am_stamp_count=1
   24087 for _am_header in $config_headers :; do
   24088   case $_am_header in
   24089     $_am_arg | $_am_arg:* )
   24090       break ;;
   24091     * )
   24092       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   24093   esac
   24094 done
   24095 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   24096 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24097 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   24098 	 X"$_am_arg" : 'X\(//\)$' \| \
   24099 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   24100 $as_echo X"$_am_arg" |
   24101     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24102 	    s//\1/
   24103 	    q
   24104 	  }
   24105 	  /^X\(\/\/\)[^/].*/{
   24106 	    s//\1/
   24107 	    q
   24108 	  }
   24109 	  /^X\(\/\/\)$/{
   24110 	    s//\1/
   24111 	    q
   24112 	  }
   24113 	  /^X\(\/\).*/{
   24114 	    s//\1/
   24115 	    q
   24116 	  }
   24117 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   24118  ;;
   24119 
   24120   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   24121 $as_echo "$as_me: executing $ac_file commands" >&6;}
   24122  ;;
   24123   esac
   24124 
   24125 
   24126   case $ac_file$ac_mode in
   24127     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   24128   # Strip MF so we end up with the name of the file.
   24129   mf=`echo "$mf" | sed -e 's/:.*$//'`
   24130   # Check whether this is an Automake generated Makefile or not.
   24131   # We used to match only the files named `Makefile.in', but
   24132   # some people rename them; so instead we look at the file content.
   24133   # Grep'ing the first line is not enough: some people post-process
   24134   # each Makefile.in and add a new line on top of each file to say so.
   24135   # Grep'ing the whole file is not good either: AIX grep has a line
   24136   # limit of 2048, but all sed's we know have understand at least 4000.
   24137   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   24138     dirpart=`$as_dirname -- "$mf" ||
   24139 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24140 	 X"$mf" : 'X\(//\)[^/]' \| \
   24141 	 X"$mf" : 'X\(//\)$' \| \
   24142 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   24143 $as_echo X"$mf" |
   24144     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24145 	    s//\1/
   24146 	    q
   24147 	  }
   24148 	  /^X\(\/\/\)[^/].*/{
   24149 	    s//\1/
   24150 	    q
   24151 	  }
   24152 	  /^X\(\/\/\)$/{
   24153 	    s//\1/
   24154 	    q
   24155 	  }
   24156 	  /^X\(\/\).*/{
   24157 	    s//\1/
   24158 	    q
   24159 	  }
   24160 	  s/.*/./; q'`
   24161   else
   24162     continue
   24163   fi
   24164   # Extract the definition of DEPDIR, am__include, and am__quote
   24165   # from the Makefile without running `make'.
   24166   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   24167   test -z "$DEPDIR" && continue
   24168   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   24169   test -z "am__include" && continue
   24170   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   24171   # When using ansi2knr, U may be empty or an underscore; expand it
   24172   U=`sed -n 's/^U = //p' < "$mf"`
   24173   # Find all dependency output files, they are included files with
   24174   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   24175   # simplest approach to changing $(DEPDIR) to its actual value in the
   24176   # expansion.
   24177   for file in `sed -n "
   24178     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   24179        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   24180     # Make sure the directory exists.
   24181     test -f "$dirpart/$file" && continue
   24182     fdir=`$as_dirname -- "$file" ||
   24183 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24184 	 X"$file" : 'X\(//\)[^/]' \| \
   24185 	 X"$file" : 'X\(//\)$' \| \
   24186 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   24187 $as_echo X"$file" |
   24188     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24189 	    s//\1/
   24190 	    q
   24191 	  }
   24192 	  /^X\(\/\/\)[^/].*/{
   24193 	    s//\1/
   24194 	    q
   24195 	  }
   24196 	  /^X\(\/\/\)$/{
   24197 	    s//\1/
   24198 	    q
   24199 	  }
   24200 	  /^X\(\/\).*/{
   24201 	    s//\1/
   24202 	    q
   24203 	  }
   24204 	  s/.*/./; q'`
   24205     { as_dir=$dirpart/$fdir
   24206   case $as_dir in #(
   24207   -*) as_dir=./$as_dir;;
   24208   esac
   24209   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24210     as_dirs=
   24211     while :; do
   24212       case $as_dir in #(
   24213       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24214       *) as_qdir=$as_dir;;
   24215       esac
   24216       as_dirs="'$as_qdir' $as_dirs"
   24217       as_dir=`$as_dirname -- "$as_dir" ||
   24218 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24219 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24220 	 X"$as_dir" : 'X\(//\)$' \| \
   24221 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24222 $as_echo X"$as_dir" |
   24223     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24224 	    s//\1/
   24225 	    q
   24226 	  }
   24227 	  /^X\(\/\/\)[^/].*/{
   24228 	    s//\1/
   24229 	    q
   24230 	  }
   24231 	  /^X\(\/\/\)$/{
   24232 	    s//\1/
   24233 	    q
   24234 	  }
   24235 	  /^X\(\/\).*/{
   24236 	    s//\1/
   24237 	    q
   24238 	  }
   24239 	  s/.*/./; q'`
   24240       test -d "$as_dir" && break
   24241     done
   24242     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24243   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24244 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24245    { (exit 1); exit 1; }; }; }
   24246     # echo "creating $dirpart/$file"
   24247     echo '# dummy' > "$dirpart/$file"
   24248   done
   24249 done
   24250  ;;
   24251     "libtool_hack":C)
   24252 	cp -f libtool libtool_
   24253 	test -z "$SED" && SED=sed
   24254 	$SED '1,/^soname_spec/{
   24255 /^soname_spec/i\
   24256 # X.Org hack to match monolithic Xaw SONAME\
   24257 xorglibxawname="libXaw"
   24258 /^soname_spec/s/libname/xorglibxawname/
   24259 }' libtool_ > libtool
   24260 	rm -f libtool_
   24261  ;;
   24262 
   24263   esac
   24264 done # for ac_tag
   24265 
   24266 
   24267 { (exit 0); exit 0; }
   24268 _ACEOF
   24269 chmod +x $CONFIG_STATUS
   24270 ac_clean_files=$ac_clean_files_save
   24271 
   24272 test $ac_write_fail = 0 ||
   24273   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   24274 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   24275    { (exit 1); exit 1; }; }
   24276 
   24277 
   24278 # configure is writing to config.log, and then calls config.status.
   24279 # config.status does its own redirection, appending to config.log.
   24280 # Unfortunately, on DOS this fails, as config.log is still kept open
   24281 # by configure, so config.status won't be able to write to it; its
   24282 # output is simply discarded.  So we exec the FD to /dev/null,
   24283 # effectively closing config.log, so it can be properly (re)opened and
   24284 # appended to by config.status.  When coming back to configure, we
   24285 # need to make the FD available again.
   24286 if test "$no_create" != yes; then
   24287   ac_cs_success=:
   24288   ac_config_status_args=
   24289   test "$silent" = yes &&
   24290     ac_config_status_args="$ac_config_status_args --quiet"
   24291   exec 5>/dev/null
   24292   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24293   exec 5>>config.log
   24294   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24295   # would make configure fail if this is the last instruction.
   24296   $ac_cs_success || { (exit 1); exit 1; }
   24297 fi
   24298 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24299   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24300 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24301 fi
   24302 
   24303 fi
   24304 
   24305 if test "x$build_v7" = xyes; then
   24306    ac_config_files="$ac_config_files xaw7.pc"
   24307 
   24308 cat >confcache <<\_ACEOF
   24309 # This file is a shell script that caches the results of configure
   24310 # tests run on this system so they can be shared between configure
   24311 # scripts and configure runs, see configure's option --config-cache.
   24312 # It is not useful on other systems.  If it contains results you don't
   24313 # want to keep, you may remove or edit it.
   24314 #
   24315 # config.status only pays attention to the cache file if you give it
   24316 # the --recheck option to rerun configure.
   24317 #
   24318 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   24319 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   24320 # following values.
   24321 
   24322 _ACEOF
   24323 
   24324 # The following way of writing the cache mishandles newlines in values,
   24325 # but we know of no workaround that is simple, portable, and efficient.
   24326 # So, we kill variables containing newlines.
   24327 # Ultrix sh set writes to stderr and can't be redirected directly,
   24328 # and sets the high bit in the cache file unless we assign to the vars.
   24329 (
   24330   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   24331     eval ac_val=\$$ac_var
   24332     case $ac_val in #(
   24333     *${as_nl}*)
   24334       case $ac_var in #(
   24335       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   24336 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   24337       esac
   24338       case $ac_var in #(
   24339       _ | IFS | as_nl) ;; #(
   24340       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   24341       *) $as_unset $ac_var ;;
   24342       esac ;;
   24343     esac
   24344   done
   24345 
   24346   (set) 2>&1 |
   24347     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   24348     *${as_nl}ac_space=\ *)
   24349       # `set' does not quote correctly, so add quotes (double-quote
   24350       # substitution turns \\\\ into \\, and sed turns \\ into \).
   24351       sed -n \
   24352 	"s/'/'\\\\''/g;
   24353 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   24354       ;; #(
   24355     *)
   24356       # `set' quotes correctly as required by POSIX, so do not add quotes.
   24357       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   24358       ;;
   24359     esac |
   24360     sort
   24361 ) |
   24362   sed '
   24363      /^ac_cv_env_/b end
   24364      t clear
   24365      :clear
   24366      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   24367      t end
   24368      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   24369      :end' >>confcache
   24370 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   24371   if test -w "$cache_file"; then
   24372     test "x$cache_file" != "x/dev/null" &&
   24373       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   24374 $as_echo "$as_me: updating cache $cache_file" >&6;}
   24375     cat confcache >$cache_file
   24376   else
   24377     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   24378 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   24379   fi
   24380 fi
   24381 rm -f confcache
   24382 
   24383 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   24384 # Let make expand exec_prefix.
   24385 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   24386 
   24387 DEFS=-DHAVE_CONFIG_H
   24388 
   24389 ac_libobjs=
   24390 ac_ltlibobjs=
   24391 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   24392   # 1. Remove the extension, and $U if already installed.
   24393   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   24394   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   24395   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   24396   #    will be set to the directory where LIBOBJS objects are built.
   24397   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   24398   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   24399 done
   24400 LIBOBJS=$ac_libobjs
   24401 
   24402 LTLIBOBJS=$ac_ltlibobjs
   24403 
   24404 
   24405 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   24406   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   24407 Usually this means the macro was only invoked conditionally." >&5
   24408 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   24409 Usually this means the macro was only invoked conditionally." >&2;}
   24410    { (exit 1); exit 1; }; }
   24411 fi
   24412 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   24413   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   24414 Usually this means the macro was only invoked conditionally." >&5
   24415 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   24416 Usually this means the macro was only invoked conditionally." >&2;}
   24417    { (exit 1); exit 1; }; }
   24418 fi
   24419 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   24420   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   24421 Usually this means the macro was only invoked conditionally." >&5
   24422 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   24423 Usually this means the macro was only invoked conditionally." >&2;}
   24424    { (exit 1); exit 1; }; }
   24425 fi
   24426 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   24427   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
   24428 Usually this means the macro was only invoked conditionally." >&5
   24429 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
   24430 Usually this means the macro was only invoked conditionally." >&2;}
   24431    { (exit 1); exit 1; }; }
   24432 fi
   24433 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   24434   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
   24435 Usually this means the macro was only invoked conditionally." >&5
   24436 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
   24437 Usually this means the macro was only invoked conditionally." >&2;}
   24438    { (exit 1); exit 1; }; }
   24439 fi
   24440 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   24441   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
   24442 Usually this means the macro was only invoked conditionally." >&5
   24443 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
   24444 Usually this means the macro was only invoked conditionally." >&2;}
   24445    { (exit 1); exit 1; }; }
   24446 fi
   24447 
   24448 : ${CONFIG_STATUS=./config.status}
   24449 ac_write_fail=0
   24450 ac_clean_files_save=$ac_clean_files
   24451 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   24452 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   24453 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   24454 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24455 #! $SHELL
   24456 # Generated by $as_me.
   24457 # Run this file to recreate the current configuration.
   24458 # Compiler output produced by configure, useful for debugging
   24459 # configure, is in config.log if it exists.
   24460 
   24461 debug=false
   24462 ac_cs_recheck=false
   24463 ac_cs_silent=false
   24464 SHELL=\${CONFIG_SHELL-$SHELL}
   24465 _ACEOF
   24466 
   24467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24468 ## --------------------- ##
   24469 ## M4sh Initialization.  ##
   24470 ## --------------------- ##
   24471 
   24472 # Be more Bourne compatible
   24473 DUALCASE=1; export DUALCASE # for MKS sh
   24474 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   24475   emulate sh
   24476   NULLCMD=:
   24477   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   24478   # is contrary to our usage.  Disable this feature.
   24479   alias -g '${1+"$@"}'='"$@"'
   24480   setopt NO_GLOB_SUBST
   24481 else
   24482   case `(set -o) 2>/dev/null` in
   24483   *posix*) set -o posix ;;
   24484 esac
   24485 
   24486 fi
   24487 
   24488 
   24489 
   24490 
   24491 # PATH needs CR
   24492 # Avoid depending upon Character Ranges.
   24493 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   24494 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   24495 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   24496 as_cr_digits='0123456789'
   24497 as_cr_alnum=$as_cr_Letters$as_cr_digits
   24498 
   24499 as_nl='
   24500 '
   24501 export as_nl
   24502 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   24503 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   24504 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   24505 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   24506 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   24507   as_echo='printf %s\n'
   24508   as_echo_n='printf %s'
   24509 else
   24510   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   24511     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   24512     as_echo_n='/usr/ucb/echo -n'
   24513   else
   24514     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   24515     as_echo_n_body='eval
   24516       arg=$1;
   24517       case $arg in
   24518       *"$as_nl"*)
   24519 	expr "X$arg" : "X\\(.*\\)$as_nl";
   24520 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   24521       esac;
   24522       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   24523     '
   24524     export as_echo_n_body
   24525     as_echo_n='sh -c $as_echo_n_body as_echo'
   24526   fi
   24527   export as_echo_body
   24528   as_echo='sh -c $as_echo_body as_echo'
   24529 fi
   24530 
   24531 # The user is always right.
   24532 if test "${PATH_SEPARATOR+set}" != set; then
   24533   PATH_SEPARATOR=:
   24534   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   24535     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   24536       PATH_SEPARATOR=';'
   24537   }
   24538 fi
   24539 
   24540 # Support unset when possible.
   24541 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   24542   as_unset=unset
   24543 else
   24544   as_unset=false
   24545 fi
   24546 
   24547 
   24548 # IFS
   24549 # We need space, tab and new line, in precisely that order.  Quoting is
   24550 # there to prevent editors from complaining about space-tab.
   24551 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   24552 # splitting by setting IFS to empty value.)
   24553 IFS=" ""	$as_nl"
   24554 
   24555 # Find who we are.  Look in the path if we contain no directory separator.
   24556 case $0 in
   24557   *[\\/]* ) as_myself=$0 ;;
   24558   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   24559 for as_dir in $PATH
   24560 do
   24561   IFS=$as_save_IFS
   24562   test -z "$as_dir" && as_dir=.
   24563   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   24564 done
   24565 IFS=$as_save_IFS
   24566 
   24567      ;;
   24568 esac
   24569 # We did not find ourselves, most probably we were run as `sh COMMAND'
   24570 # in which case we are not to be found in the path.
   24571 if test "x$as_myself" = x; then
   24572   as_myself=$0
   24573 fi
   24574 if test ! -f "$as_myself"; then
   24575   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   24576   { (exit 1); exit 1; }
   24577 fi
   24578 
   24579 # Work around bugs in pre-3.0 UWIN ksh.
   24580 for as_var in ENV MAIL MAILPATH
   24581 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   24582 done
   24583 PS1='$ '
   24584 PS2='> '
   24585 PS4='+ '
   24586 
   24587 # NLS nuisances.
   24588 LC_ALL=C
   24589 export LC_ALL
   24590 LANGUAGE=C
   24591 export LANGUAGE
   24592 
   24593 # Required to use basename.
   24594 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24595    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24596   as_expr=expr
   24597 else
   24598   as_expr=false
   24599 fi
   24600 
   24601 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   24602   as_basename=basename
   24603 else
   24604   as_basename=false
   24605 fi
   24606 
   24607 
   24608 # Name of the executable.
   24609 as_me=`$as_basename -- "$0" ||
   24610 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   24611 	 X"$0" : 'X\(//\)$' \| \
   24612 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   24613 $as_echo X/"$0" |
   24614     sed '/^.*\/\([^/][^/]*\)\/*$/{
   24615 	    s//\1/
   24616 	    q
   24617 	  }
   24618 	  /^X\/\(\/\/\)$/{
   24619 	    s//\1/
   24620 	    q
   24621 	  }
   24622 	  /^X\/\(\/\).*/{
   24623 	    s//\1/
   24624 	    q
   24625 	  }
   24626 	  s/.*/./; q'`
   24627 
   24628 # CDPATH.
   24629 $as_unset CDPATH
   24630 
   24631 
   24632 
   24633   as_lineno_1=$LINENO
   24634   as_lineno_2=$LINENO
   24635   test "x$as_lineno_1" != "x$as_lineno_2" &&
   24636   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   24637 
   24638   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   24639   # uniformly replaced by the line number.  The first 'sed' inserts a
   24640   # line-number line after each line using $LINENO; the second 'sed'
   24641   # does the real work.  The second script uses 'N' to pair each
   24642   # line-number line with the line containing $LINENO, and appends
   24643   # trailing '-' during substitution so that $LINENO is not a special
   24644   # case at line end.
   24645   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   24646   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   24647   # E. McMahon (1931-1989) for sed's syntax.  :-)
   24648   sed -n '
   24649     p
   24650     /[$]LINENO/=
   24651   ' <$as_myself |
   24652     sed '
   24653       s/[$]LINENO.*/&-/
   24654       t lineno
   24655       b
   24656       :lineno
   24657       N
   24658       :loop
   24659       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   24660       t loop
   24661       s/-\n.*//
   24662     ' >$as_me.lineno &&
   24663   chmod +x "$as_me.lineno" ||
   24664     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   24665    { (exit 1); exit 1; }; }
   24666 
   24667   # Don't try to exec as it changes $[0], causing all sort of problems
   24668   # (the dirname of $[0] is not the place where we might find the
   24669   # original and so on.  Autoconf is especially sensitive to this).
   24670   . "./$as_me.lineno"
   24671   # Exit status is that of the last command.
   24672   exit
   24673 }
   24674 
   24675 
   24676 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   24677   as_dirname=dirname
   24678 else
   24679   as_dirname=false
   24680 fi
   24681 
   24682 ECHO_C= ECHO_N= ECHO_T=
   24683 case `echo -n x` in
   24684 -n*)
   24685   case `echo 'x\c'` in
   24686   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   24687   *)   ECHO_C='\c';;
   24688   esac;;
   24689 *)
   24690   ECHO_N='-n';;
   24691 esac
   24692 if expr a : '\(a\)' >/dev/null 2>&1 &&
   24693    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   24694   as_expr=expr
   24695 else
   24696   as_expr=false
   24697 fi
   24698 
   24699 rm -f conf$$ conf$$.exe conf$$.file
   24700 if test -d conf$$.dir; then
   24701   rm -f conf$$.dir/conf$$.file
   24702 else
   24703   rm -f conf$$.dir
   24704   mkdir conf$$.dir 2>/dev/null
   24705 fi
   24706 if (echo >conf$$.file) 2>/dev/null; then
   24707   if ln -s conf$$.file conf$$ 2>/dev/null; then
   24708     as_ln_s='ln -s'
   24709     # ... but there are two gotchas:
   24710     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   24711     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   24712     # In both cases, we have to default to `cp -p'.
   24713     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   24714       as_ln_s='cp -p'
   24715   elif ln conf$$.file conf$$ 2>/dev/null; then
   24716     as_ln_s=ln
   24717   else
   24718     as_ln_s='cp -p'
   24719   fi
   24720 else
   24721   as_ln_s='cp -p'
   24722 fi
   24723 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   24724 rmdir conf$$.dir 2>/dev/null
   24725 
   24726 if mkdir -p . 2>/dev/null; then
   24727   as_mkdir_p=:
   24728 else
   24729   test -d ./-p && rmdir ./-p
   24730   as_mkdir_p=false
   24731 fi
   24732 
   24733 if test -x / >/dev/null 2>&1; then
   24734   as_test_x='test -x'
   24735 else
   24736   if ls -dL / >/dev/null 2>&1; then
   24737     as_ls_L_option=L
   24738   else
   24739     as_ls_L_option=
   24740   fi
   24741   as_test_x='
   24742     eval sh -c '\''
   24743       if test -d "$1"; then
   24744 	test -d "$1/.";
   24745       else
   24746 	case $1 in
   24747 	-*)set "./$1";;
   24748 	esac;
   24749 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   24750 	???[sx]*):;;*)false;;esac;fi
   24751     '\'' sh
   24752   '
   24753 fi
   24754 as_executable_p=$as_test_x
   24755 
   24756 # Sed expression to map a string onto a valid CPP name.
   24757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   24758 
   24759 # Sed expression to map a string onto a valid variable name.
   24760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   24761 
   24762 
   24763 exec 6>&1
   24764 
   24765 # Save the log message, to keep $[0] and so on meaningful, and to
   24766 # report actual input values of CONFIG_FILES etc. instead of their
   24767 # values after options handling.
   24768 ac_log="
   24769 This file was extended by libXaw $as_me 1.0.5, which was
   24770 generated by GNU Autoconf 2.63.  Invocation command line was
   24771 
   24772   CONFIG_FILES    = $CONFIG_FILES
   24773   CONFIG_HEADERS  = $CONFIG_HEADERS
   24774   CONFIG_LINKS    = $CONFIG_LINKS
   24775   CONFIG_COMMANDS = $CONFIG_COMMANDS
   24776   $ $0 $@
   24777 
   24778 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   24779 "
   24780 
   24781 _ACEOF
   24782 
   24783 case $ac_config_files in *"
   24784 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   24785 esac
   24786 
   24787 case $ac_config_headers in *"
   24788 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   24789 esac
   24790 
   24791 
   24792 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24793 # Files that config.status was made for.
   24794 config_files="`echo $ac_config_files`"
   24795 config_headers="`echo $ac_config_headers`"
   24796 config_commands="`echo $ac_config_commands`"
   24797 
   24798 _ACEOF
   24799 
   24800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24801 ac_cs_usage="\
   24802 \`$as_me' instantiates files from templates according to the
   24803 current configuration.
   24804 
   24805 Usage: $0 [OPTION]... [FILE]...
   24806 
   24807   -h, --help       print this help, then exit
   24808   -V, --version    print version number and configuration settings, then exit
   24809   -q, --quiet, --silent
   24810                    do not print progress messages
   24811   -d, --debug      don't remove temporary files
   24812       --recheck    update $as_me by reconfiguring in the same conditions
   24813       --file=FILE[:TEMPLATE]
   24814                    instantiate the configuration file FILE
   24815       --header=FILE[:TEMPLATE]
   24816                    instantiate the configuration header FILE
   24817 
   24818 Configuration files:
   24819 $config_files
   24820 
   24821 Configuration headers:
   24822 $config_headers
   24823 
   24824 Configuration commands:
   24825 $config_commands
   24826 
   24827 Report bugs to <bug-autoconf (at] gnu.org>."
   24828 
   24829 _ACEOF
   24830 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24831 ac_cs_version="\\
   24832 libXaw config.status 1.0.5
   24833 configured by $0, generated by GNU Autoconf 2.63,
   24834   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   24835 
   24836 Copyright (C) 2008 Free Software Foundation, Inc.
   24837 This config.status script is free software; the Free Software Foundation
   24838 gives unlimited permission to copy, distribute and modify it."
   24839 
   24840 ac_pwd='$ac_pwd'
   24841 srcdir='$srcdir'
   24842 INSTALL='$INSTALL'
   24843 MKDIR_P='$MKDIR_P'
   24844 AWK='$AWK'
   24845 test -n "\$AWK" || AWK=awk
   24846 _ACEOF
   24847 
   24848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24849 # The default lists apply if the user does not specify any file.
   24850 ac_need_defaults=:
   24851 while test $# != 0
   24852 do
   24853   case $1 in
   24854   --*=*)
   24855     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24856     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24857     ac_shift=:
   24858     ;;
   24859   *)
   24860     ac_option=$1
   24861     ac_optarg=$2
   24862     ac_shift=shift
   24863     ;;
   24864   esac
   24865 
   24866   case $ac_option in
   24867   # Handling of the options.
   24868   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24869     ac_cs_recheck=: ;;
   24870   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24871     $as_echo "$ac_cs_version"; exit ;;
   24872   --debug | --debu | --deb | --de | --d | -d )
   24873     debug=: ;;
   24874   --file | --fil | --fi | --f )
   24875     $ac_shift
   24876     case $ac_optarg in
   24877     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24878     esac
   24879     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   24880     ac_need_defaults=false;;
   24881   --header | --heade | --head | --hea )
   24882     $ac_shift
   24883     case $ac_optarg in
   24884     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24885     esac
   24886     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   24887     ac_need_defaults=false;;
   24888   --he | --h)
   24889     # Conflict between --help and --header
   24890     { $as_echo "$as_me: error: ambiguous option: $1
   24891 Try \`$0 --help' for more information." >&2
   24892    { (exit 1); exit 1; }; };;
   24893   --help | --hel | -h )
   24894     $as_echo "$ac_cs_usage"; exit ;;
   24895   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   24896   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   24897     ac_cs_silent=: ;;
   24898 
   24899   # This is an error.
   24900   -*) { $as_echo "$as_me: error: unrecognized option: $1
   24901 Try \`$0 --help' for more information." >&2
   24902    { (exit 1); exit 1; }; } ;;
   24903 
   24904   *) ac_config_targets="$ac_config_targets $1"
   24905      ac_need_defaults=false ;;
   24906 
   24907   esac
   24908   shift
   24909 done
   24910 
   24911 ac_configure_extra_args=
   24912 
   24913 if $ac_cs_silent; then
   24914   exec 6>/dev/null
   24915   ac_configure_extra_args="$ac_configure_extra_args --silent"
   24916 fi
   24917 
   24918 _ACEOF
   24919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24920 if \$ac_cs_recheck; then
   24921   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   24922   shift
   24923   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   24924   CONFIG_SHELL='$SHELL'
   24925   export CONFIG_SHELL
   24926   exec "\$@"
   24927 fi
   24928 
   24929 _ACEOF
   24930 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24931 exec 5>>config.log
   24932 {
   24933   echo
   24934   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   24935 ## Running $as_me. ##
   24936 _ASBOX
   24937   $as_echo "$ac_log"
   24938 } >&5
   24939 
   24940 _ACEOF
   24941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24942 #
   24943 # INIT-COMMANDS
   24944 #
   24945 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   24946 
   24947 _ACEOF
   24948 
   24949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24950 
   24951 # Handling of arguments.
   24952 for ac_config_target in $ac_config_targets
   24953 do
   24954   case $ac_config_target in
   24955     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   24956     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   24957     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   24958     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   24959     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   24960     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   24961     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   24962     "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
   24963     "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
   24964 
   24965   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   24966 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   24967    { (exit 1); exit 1; }; };;
   24968   esac
   24969 done
   24970 
   24971 
   24972 # If the user did not use the arguments to specify the items to instantiate,
   24973 # then the envvar interface is used.  Set only those that are not.
   24974 # We use the long form for the default assignment because of an extremely
   24975 # bizarre bug on SunOS 4.1.3.
   24976 if $ac_need_defaults; then
   24977   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   24978   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   24979   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   24980 fi
   24981 
   24982 # Have a temporary directory for convenience.  Make it in the build tree
   24983 # simply because there is no reason against having it here, and in addition,
   24984 # creating and moving files from /tmp can sometimes cause problems.
   24985 # Hook for its removal unless debugging.
   24986 # Note that there is a small window in which the directory will not be cleaned:
   24987 # after its creation but before its name has been assigned to `$tmp'.
   24988 $debug ||
   24989 {
   24990   tmp=
   24991   trap 'exit_status=$?
   24992   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   24993 ' 0
   24994   trap '{ (exit 1); exit 1; }' 1 2 13 15
   24995 }
   24996 # Create a (secure) tmp directory for tmp files.
   24997 
   24998 {
   24999   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25000   test -n "$tmp" && test -d "$tmp"
   25001 }  ||
   25002 {
   25003   tmp=./conf$$-$RANDOM
   25004   (umask 077 && mkdir "$tmp")
   25005 } ||
   25006 {
   25007    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   25008    { (exit 1); exit 1; }
   25009 }
   25010 
   25011 # Set up the scripts for CONFIG_FILES section.
   25012 # No need to generate them if there are no CONFIG_FILES.
   25013 # This happens for instance with `./config.status config.h'.
   25014 if test -n "$CONFIG_FILES"; then
   25015 
   25016 
   25017 ac_cr='
'
   25019 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25020 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25021   ac_cs_awk_cr='\\r'
   25022 else
   25023   ac_cs_awk_cr=$ac_cr
   25024 fi
   25025 
   25026 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   25027 _ACEOF
   25028 
   25029 
   25030 {
   25031   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25032   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25033   echo "_ACEOF"
   25034 } >conf$$subs.sh ||
   25035   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25036 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25037    { (exit 1); exit 1; }; }
   25038 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   25039 ac_delim='%!_!# '
   25040 for ac_last_try in false false false false false :; do
   25041   . ./conf$$subs.sh ||
   25042     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25043 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25044    { (exit 1); exit 1; }; }
   25045 
   25046   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   25047   if test $ac_delim_n = $ac_delim_num; then
   25048     break
   25049   elif $ac_last_try; then
   25050     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25051 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25052    { (exit 1); exit 1; }; }
   25053   else
   25054     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25055   fi
   25056 done
   25057 rm -f conf$$subs.sh
   25058 
   25059 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25060 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   25061 _ACEOF
   25062 sed -n '
   25063 h
   25064 s/^/S["/; s/!.*/"]=/
   25065 p
   25066 g
   25067 s/^[^!]*!//
   25068 :repl
   25069 t repl
   25070 s/'"$ac_delim"'$//
   25071 t delim
   25072 :nl
   25073 h
   25074 s/\(.\{148\}\).*/\1/
   25075 t more1
   25076 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25077 p
   25078 n
   25079 b repl
   25080 :more1
   25081 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25082 p
   25083 g
   25084 s/.\{148\}//
   25085 t nl
   25086 :delim
   25087 h
   25088 s/\(.\{148\}\).*/\1/
   25089 t more2
   25090 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25091 p
   25092 b
   25093 :more2
   25094 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25095 p
   25096 g
   25097 s/.\{148\}//
   25098 t delim
   25099 ' <conf$$subs.awk | sed '
   25100 /^[^""]/{
   25101   N
   25102   s/\n//
   25103 }
   25104 ' >>$CONFIG_STATUS || ac_write_fail=1
   25105 rm -f conf$$subs.awk
   25106 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25107 _ACAWK
   25108 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   25109   for (key in S) S_is_set[key] = 1
   25110   FS = ""
   25111 
   25112 }
   25113 {
   25114   line = $ 0
   25115   nfields = split(line, field, "@")
   25116   substed = 0
   25117   len = length(field[1])
   25118   for (i = 2; i < nfields; i++) {
   25119     key = field[i]
   25120     keylen = length(key)
   25121     if (S_is_set[key]) {
   25122       value = S[key]
   25123       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25124       len += length(value) + length(field[++i])
   25125       substed = 1
   25126     } else
   25127       len += 1 + keylen
   25128   }
   25129 
   25130   print line
   25131 }
   25132 
   25133 _ACAWK
   25134 _ACEOF
   25135 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25136 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25137   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25138 else
   25139   cat
   25140 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   25141   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   25142 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   25143    { (exit 1); exit 1; }; }
   25144 _ACEOF
   25145 
   25146 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   25147 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   25148 # trailing colons and then remove the whole line if VPATH becomes empty
   25149 # (actually we leave an empty line to preserve line numbers).
   25150 if test "x$srcdir" = x.; then
   25151   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   25152 s/:*\$(srcdir):*/:/
   25153 s/:*\${srcdir}:*/:/
   25154 s/:*@srcdir@:*/:/
   25155 s/^\([^=]*=[	 ]*\):*/\1/
   25156 s/:*$//
   25157 s/^[^=]*=[	 ]*$//
   25158 }'
   25159 fi
   25160 
   25161 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25162 fi # test -n "$CONFIG_FILES"
   25163 
   25164 # Set up the scripts for CONFIG_HEADERS section.
   25165 # No need to generate them if there are no CONFIG_HEADERS.
   25166 # This happens for instance with `./config.status Makefile'.
   25167 if test -n "$CONFIG_HEADERS"; then
   25168 cat >"$tmp/defines.awk" <<\_ACAWK ||
   25169 BEGIN {
   25170 _ACEOF
   25171 
   25172 # Transform confdefs.h into an awk script `defines.awk', embedded as
   25173 # here-document in config.status, that substitutes the proper values into
   25174 # config.h.in to produce config.h.
   25175 
   25176 # Create a delimiter string that does not exist in confdefs.h, to ease
   25177 # handling of long lines.
   25178 ac_delim='%!_!# '
   25179 for ac_last_try in false false :; do
   25180   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   25181   if test -z "$ac_t"; then
   25182     break
   25183   elif $ac_last_try; then
   25184     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   25185 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   25186    { (exit 1); exit 1; }; }
   25187   else
   25188     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25189   fi
   25190 done
   25191 
   25192 # For the awk script, D is an array of macro values keyed by name,
   25193 # likewise P contains macro parameters if any.  Preserve backslash
   25194 # newline sequences.
   25195 
   25196 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25197 sed -n '
   25198 s/.\{148\}/&'"$ac_delim"'/g
   25199 t rset
   25200 :rset
   25201 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25202 t def
   25203 d
   25204 :def
   25205 s/\\$//
   25206 t bsnl
   25207 s/["\\]/\\&/g
   25208 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25209 D["\1"]=" \3"/p
   25210 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25211 d
   25212 :bsnl
   25213 s/["\\]/\\&/g
   25214 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25215 D["\1"]=" \3\\\\\\n"\\/p
   25216 t cont
   25217 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25218 t cont
   25219 d
   25220 :cont
   25221 n
   25222 s/.\{148\}/&'"$ac_delim"'/g
   25223 t clear
   25224 :clear
   25225 s/\\$//
   25226 t bsnlc
   25227 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   25228 d
   25229 :bsnlc
   25230 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   25231 b cont
   25232 ' <confdefs.h | sed '
   25233 s/'"$ac_delim"'/"\\\
   25234 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   25235 
   25236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25237   for (key in D) D_is_set[key] = 1
   25238   FS = ""
   25239 }
   25240 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   25241   line = \$ 0
   25242   split(line, arg, " ")
   25243   if (arg[1] == "#") {
   25244     defundef = arg[2]
   25245     mac1 = arg[3]
   25246   } else {
   25247     defundef = substr(arg[1], 2)
   25248     mac1 = arg[2]
   25249   }
   25250   split(mac1, mac2, "(") #)
   25251   macro = mac2[1]
   25252   prefix = substr(line, 1, index(line, defundef) - 1)
   25253   if (D_is_set[macro]) {
   25254     # Preserve the white space surrounding the "#".
   25255     print prefix "define", macro P[macro] D[macro]
   25256     next
   25257   } else {
   25258     # Replace #undef with comments.  This is necessary, for example,
   25259     # in the case of _POSIX_SOURCE, which is predefined and required
   25260     # on some systems where configure will not decide to define it.
   25261     if (defundef == "undef") {
   25262       print "/*", prefix defundef, macro, "*/"
   25263       next
   25264     }
   25265   }
   25266 }
   25267 { print }
   25268 _ACAWK
   25269 _ACEOF
   25270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25271   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   25272 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   25273    { (exit 1); exit 1; }; }
   25274 fi # test -n "$CONFIG_HEADERS"
   25275 
   25276 
   25277 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25278 shift
   25279 for ac_tag
   25280 do
   25281   case $ac_tag in
   25282   :[FHLC]) ac_mode=$ac_tag; continue;;
   25283   esac
   25284   case $ac_mode$ac_tag in
   25285   :[FHL]*:*);;
   25286   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   25287 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   25288    { (exit 1); exit 1; }; };;
   25289   :[FH]-) ac_tag=-:-;;
   25290   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25291   esac
   25292   ac_save_IFS=$IFS
   25293   IFS=:
   25294   set x $ac_tag
   25295   IFS=$ac_save_IFS
   25296   shift
   25297   ac_file=$1
   25298   shift
   25299 
   25300   case $ac_mode in
   25301   :L) ac_source=$1;;
   25302   :[FH])
   25303     ac_file_inputs=
   25304     for ac_f
   25305     do
   25306       case $ac_f in
   25307       -) ac_f="$tmp/stdin";;
   25308       *) # Look for the file first in the build tree, then in the source tree
   25309 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   25310 	 # because $ac_f cannot contain `:'.
   25311 	 test -f "$ac_f" ||
   25312 	   case $ac_f in
   25313 	   [\\/$]*) false;;
   25314 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   25315 	   esac ||
   25316 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   25317 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   25318    { (exit 1); exit 1; }; };;
   25319       esac
   25320       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   25321       ac_file_inputs="$ac_file_inputs '$ac_f'"
   25322     done
   25323 
   25324     # Let's still pretend it is `configure' which instantiates (i.e., don't
   25325     # use $as_me), people would be surprised to read:
   25326     #    /* config.h.  Generated by config.status.  */
   25327     configure_input='Generated from '`
   25328 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   25329 	`' by configure.'
   25330     if test x"$ac_file" != x-; then
   25331       configure_input="$ac_file.  $configure_input"
   25332       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   25333 $as_echo "$as_me: creating $ac_file" >&6;}
   25334     fi
   25335     # Neutralize special characters interpreted by sed in replacement strings.
   25336     case $configure_input in #(
   25337     *\&* | *\|* | *\\* )
   25338        ac_sed_conf_input=`$as_echo "$configure_input" |
   25339        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   25340     *) ac_sed_conf_input=$configure_input;;
   25341     esac
   25342 
   25343     case $ac_tag in
   25344     *:-:* | *:-) cat >"$tmp/stdin" \
   25345       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25346 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25347    { (exit 1); exit 1; }; } ;;
   25348     esac
   25349     ;;
   25350   esac
   25351 
   25352   ac_dir=`$as_dirname -- "$ac_file" ||
   25353 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25354 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   25355 	 X"$ac_file" : 'X\(//\)$' \| \
   25356 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   25357 $as_echo X"$ac_file" |
   25358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25359 	    s//\1/
   25360 	    q
   25361 	  }
   25362 	  /^X\(\/\/\)[^/].*/{
   25363 	    s//\1/
   25364 	    q
   25365 	  }
   25366 	  /^X\(\/\/\)$/{
   25367 	    s//\1/
   25368 	    q
   25369 	  }
   25370 	  /^X\(\/\).*/{
   25371 	    s//\1/
   25372 	    q
   25373 	  }
   25374 	  s/.*/./; q'`
   25375   { as_dir="$ac_dir"
   25376   case $as_dir in #(
   25377   -*) as_dir=./$as_dir;;
   25378   esac
   25379   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   25380     as_dirs=
   25381     while :; do
   25382       case $as_dir in #(
   25383       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   25384       *) as_qdir=$as_dir;;
   25385       esac
   25386       as_dirs="'$as_qdir' $as_dirs"
   25387       as_dir=`$as_dirname -- "$as_dir" ||
   25388 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25389 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25390 	 X"$as_dir" : 'X\(//\)$' \| \
   25391 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25392 $as_echo X"$as_dir" |
   25393     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25394 	    s//\1/
   25395 	    q
   25396 	  }
   25397 	  /^X\(\/\/\)[^/].*/{
   25398 	    s//\1/
   25399 	    q
   25400 	  }
   25401 	  /^X\(\/\/\)$/{
   25402 	    s//\1/
   25403 	    q
   25404 	  }
   25405 	  /^X\(\/\).*/{
   25406 	    s//\1/
   25407 	    q
   25408 	  }
   25409 	  s/.*/./; q'`
   25410       test -d "$as_dir" && break
   25411     done
   25412     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25413   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   25414 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   25415    { (exit 1); exit 1; }; }; }
   25416   ac_builddir=.
   25417 
   25418 case "$ac_dir" in
   25419 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25420 *)
   25421   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   25422   # A ".." for each directory in $ac_dir_suffix.
   25423   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   25424   case $ac_top_builddir_sub in
   25425   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   25426   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   25427   esac ;;
   25428 esac
   25429 ac_abs_top_builddir=$ac_pwd
   25430 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   25431 # for backward compatibility:
   25432 ac_top_builddir=$ac_top_build_prefix
   25433 
   25434 case $srcdir in
   25435   .)  # We are building in place.
   25436     ac_srcdir=.
   25437     ac_top_srcdir=$ac_top_builddir_sub
   25438     ac_abs_top_srcdir=$ac_pwd ;;
   25439   [\\/]* | ?:[\\/]* )  # Absolute name.
   25440     ac_srcdir=$srcdir$ac_dir_suffix;
   25441     ac_top_srcdir=$srcdir
   25442     ac_abs_top_srcdir=$srcdir ;;
   25443   *) # Relative name.
   25444     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   25445     ac_top_srcdir=$ac_top_build_prefix$srcdir
   25446     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   25447 esac
   25448 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   25449 
   25450 
   25451   case $ac_mode in
   25452   :F)
   25453   #
   25454   # CONFIG_FILE
   25455   #
   25456 
   25457   case $INSTALL in
   25458   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   25459   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   25460   esac
   25461   ac_MKDIR_P=$MKDIR_P
   25462   case $MKDIR_P in
   25463   [\\/$]* | ?:[\\/]* ) ;;
   25464   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   25465   esac
   25466 _ACEOF
   25467 
   25468 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25469 # If the template does not know about datarootdir, expand it.
   25470 # FIXME: This hack should be removed a few years after 2.60.
   25471 ac_datarootdir_hack=; ac_datarootdir_seen=
   25472 
   25473 ac_sed_dataroot='
   25474 /datarootdir/ {
   25475   p
   25476   q
   25477 }
   25478 /@datadir@/p
   25479 /@docdir@/p
   25480 /@infodir@/p
   25481 /@localedir@/p
   25482 /@mandir@/p
   25483 '
   25484 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   25485 *datarootdir*) ac_datarootdir_seen=yes;;
   25486 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   25487   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   25488 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   25489 _ACEOF
   25490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25491   ac_datarootdir_hack='
   25492   s&@datadir@&$datadir&g
   25493   s&@docdir@&$docdir&g
   25494   s&@infodir@&$infodir&g
   25495   s&@localedir@&$localedir&g
   25496   s&@mandir@&$mandir&g
   25497     s&\\\${datarootdir}&$datarootdir&g' ;;
   25498 esac
   25499 _ACEOF
   25500 
   25501 # Neutralize VPATH when `$srcdir' = `.'.
   25502 # Shell code in configure.ac might set extrasub.
   25503 # FIXME: do we really want to maintain this feature?
   25504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25505 ac_sed_extra="$ac_vpsub
   25506 $extrasub
   25507 _ACEOF
   25508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25509 :t
   25510 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   25511 s|@configure_input@|$ac_sed_conf_input|;t t
   25512 s&@top_builddir@&$ac_top_builddir_sub&;t t
   25513 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   25514 s&@srcdir@&$ac_srcdir&;t t
   25515 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   25516 s&@top_srcdir@&$ac_top_srcdir&;t t
   25517 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   25518 s&@builddir@&$ac_builddir&;t t
   25519 s&@abs_builddir@&$ac_abs_builddir&;t t
   25520 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   25521 s&@INSTALL@&$ac_INSTALL&;t t
   25522 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   25523 $ac_datarootdir_hack
   25524 "
   25525 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   25526   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25527 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25528    { (exit 1); exit 1; }; }
   25529 
   25530 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   25531   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   25532   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   25533   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   25534 which seems to be undefined.  Please make sure it is defined." >&5
   25535 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   25536 which seems to be undefined.  Please make sure it is defined." >&2;}
   25537 
   25538   rm -f "$tmp/stdin"
   25539   case $ac_file in
   25540   -) cat "$tmp/out" && rm -f "$tmp/out";;
   25541   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   25542   esac \
   25543   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25544 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25545    { (exit 1); exit 1; }; }
   25546  ;;
   25547   :H)
   25548   #
   25549   # CONFIG_HEADER
   25550   #
   25551   if test x"$ac_file" != x-; then
   25552     {
   25553       $as_echo "/* $configure_input  */" \
   25554       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   25555     } >"$tmp/config.h" \
   25556       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25557 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25558    { (exit 1); exit 1; }; }
   25559     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   25560       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   25561 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   25562     else
   25563       rm -f "$ac_file"
   25564       mv "$tmp/config.h" "$ac_file" \
   25565 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   25566 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   25567    { (exit 1); exit 1; }; }
   25568     fi
   25569   else
   25570     $as_echo "/* $configure_input  */" \
   25571       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   25572       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   25573 $as_echo "$as_me: error: could not create -" >&2;}
   25574    { (exit 1); exit 1; }; }
   25575   fi
   25576 # Compute "$ac_file"'s index in $config_headers.
   25577 _am_arg="$ac_file"
   25578 _am_stamp_count=1
   25579 for _am_header in $config_headers :; do
   25580   case $_am_header in
   25581     $_am_arg | $_am_arg:* )
   25582       break ;;
   25583     * )
   25584       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   25585   esac
   25586 done
   25587 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   25588 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25589 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   25590 	 X"$_am_arg" : 'X\(//\)$' \| \
   25591 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   25592 $as_echo X"$_am_arg" |
   25593     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25594 	    s//\1/
   25595 	    q
   25596 	  }
   25597 	  /^X\(\/\/\)[^/].*/{
   25598 	    s//\1/
   25599 	    q
   25600 	  }
   25601 	  /^X\(\/\/\)$/{
   25602 	    s//\1/
   25603 	    q
   25604 	  }
   25605 	  /^X\(\/\).*/{
   25606 	    s//\1/
   25607 	    q
   25608 	  }
   25609 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   25610  ;;
   25611 
   25612   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   25613 $as_echo "$as_me: executing $ac_file commands" >&6;}
   25614  ;;
   25615   esac
   25616 
   25617 
   25618   case $ac_file$ac_mode in
   25619     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   25620   # Strip MF so we end up with the name of the file.
   25621   mf=`echo "$mf" | sed -e 's/:.*$//'`
   25622   # Check whether this is an Automake generated Makefile or not.
   25623   # We used to match only the files named `Makefile.in', but
   25624   # some people rename them; so instead we look at the file content.
   25625   # Grep'ing the first line is not enough: some people post-process
   25626   # each Makefile.in and add a new line on top of each file to say so.
   25627   # Grep'ing the whole file is not good either: AIX grep has a line
   25628   # limit of 2048, but all sed's we know have understand at least 4000.
   25629   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   25630     dirpart=`$as_dirname -- "$mf" ||
   25631 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25632 	 X"$mf" : 'X\(//\)[^/]' \| \
   25633 	 X"$mf" : 'X\(//\)$' \| \
   25634 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   25635 $as_echo X"$mf" |
   25636     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25637 	    s//\1/
   25638 	    q
   25639 	  }
   25640 	  /^X\(\/\/\)[^/].*/{
   25641 	    s//\1/
   25642 	    q
   25643 	  }
   25644 	  /^X\(\/\/\)$/{
   25645 	    s//\1/
   25646 	    q
   25647 	  }
   25648 	  /^X\(\/\).*/{
   25649 	    s//\1/
   25650 	    q
   25651 	  }
   25652 	  s/.*/./; q'`
   25653   else
   25654     continue
   25655   fi
   25656   # Extract the definition of DEPDIR, am__include, and am__quote
   25657   # from the Makefile without running `make'.
   25658   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   25659   test -z "$DEPDIR" && continue
   25660   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   25661   test -z "am__include" && continue
   25662   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   25663   # When using ansi2knr, U may be empty or an underscore; expand it
   25664   U=`sed -n 's/^U = //p' < "$mf"`
   25665   # Find all dependency output files, they are included files with
   25666   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   25667   # simplest approach to changing $(DEPDIR) to its actual value in the
   25668   # expansion.
   25669   for file in `sed -n "
   25670     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   25671        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   25672     # Make sure the directory exists.
   25673     test -f "$dirpart/$file" && continue
   25674     fdir=`$as_dirname -- "$file" ||
   25675 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25676 	 X"$file" : 'X\(//\)[^/]' \| \
   25677 	 X"$file" : 'X\(//\)$' \| \
   25678 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   25679 $as_echo X"$file" |
   25680     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25681 	    s//\1/
   25682 	    q
   25683 	  }
   25684 	  /^X\(\/\/\)[^/].*/{
   25685 	    s//\1/
   25686 	    q
   25687 	  }
   25688 	  /^X\(\/\/\)$/{
   25689 	    s//\1/
   25690 	    q
   25691 	  }
   25692 	  /^X\(\/\).*/{
   25693 	    s//\1/
   25694 	    q
   25695 	  }
   25696 	  s/.*/./; q'`
   25697     { as_dir=$dirpart/$fdir
   25698   case $as_dir in #(
   25699   -*) as_dir=./$as_dir;;
   25700   esac
   25701   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   25702     as_dirs=
   25703     while :; do
   25704       case $as_dir in #(
   25705       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   25706       *) as_qdir=$as_dir;;
   25707       esac
   25708       as_dirs="'$as_qdir' $as_dirs"
   25709       as_dir=`$as_dirname -- "$as_dir" ||
   25710 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   25711 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   25712 	 X"$as_dir" : 'X\(//\)$' \| \
   25713 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   25714 $as_echo X"$as_dir" |
   25715     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   25716 	    s//\1/
   25717 	    q
   25718 	  }
   25719 	  /^X\(\/\/\)[^/].*/{
   25720 	    s//\1/
   25721 	    q
   25722 	  }
   25723 	  /^X\(\/\/\)$/{
   25724 	    s//\1/
   25725 	    q
   25726 	  }
   25727 	  /^X\(\/\).*/{
   25728 	    s//\1/
   25729 	    q
   25730 	  }
   25731 	  s/.*/./; q'`
   25732       test -d "$as_dir" && break
   25733     done
   25734     test -z "$as_dirs" || eval "mkdir $as_dirs"
   25735   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   25736 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   25737    { (exit 1); exit 1; }; }; }
   25738     # echo "creating $dirpart/$file"
   25739     echo '# dummy' > "$dirpart/$file"
   25740   done
   25741 done
   25742  ;;
   25743     "libtool_hack":C)
   25744 	cp -f libtool libtool_
   25745 	test -z "$SED" && SED=sed
   25746 	$SED '1,/^soname_spec/{
   25747 /^soname_spec/i\
   25748 # X.Org hack to match monolithic Xaw SONAME\
   25749 xorglibxawname="libXaw"
   25750 /^soname_spec/s/libname/xorglibxawname/
   25751 }' libtool_ > libtool
   25752 	rm -f libtool_
   25753  ;;
   25754 
   25755   esac
   25756 done # for ac_tag
   25757 
   25758 
   25759 { (exit 0); exit 0; }
   25760 _ACEOF
   25761 chmod +x $CONFIG_STATUS
   25762 ac_clean_files=$ac_clean_files_save
   25763 
   25764 test $ac_write_fail = 0 ||
   25765   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   25766 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   25767    { (exit 1); exit 1; }; }
   25768 
   25769 
   25770 # configure is writing to config.log, and then calls config.status.
   25771 # config.status does its own redirection, appending to config.log.
   25772 # Unfortunately, on DOS this fails, as config.log is still kept open
   25773 # by configure, so config.status won't be able to write to it; its
   25774 # output is simply discarded.  So we exec the FD to /dev/null,
   25775 # effectively closing config.log, so it can be properly (re)opened and
   25776 # appended to by config.status.  When coming back to configure, we
   25777 # need to make the FD available again.
   25778 if test "$no_create" != yes; then
   25779   ac_cs_success=:
   25780   ac_config_status_args=
   25781   test "$silent" = yes &&
   25782     ac_config_status_args="$ac_config_status_args --quiet"
   25783   exec 5>/dev/null
   25784   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   25785   exec 5>>config.log
   25786   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   25787   # would make configure fail if this is the last instruction.
   25788   $ac_cs_success || { (exit 1); exit 1; }
   25789 fi
   25790 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   25791   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   25792 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   25793 fi
   25794 
   25795 fi
   25796