Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.63 for libXaw 1.0.7.
      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.7'
    754 PACKAGE_STRING='libXaw 1.0.7'
    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='am__EXEEXT_FALSE
    794 am__EXEEXT_TRUE
    795 LTLIBOBJS
    796 LIBOBJS
    797 BUILD_XAW7_FALSE
    798 BUILD_XAW7_TRUE
    799 BUILD_XAW6_FALSE
    800 BUILD_XAW6_TRUE
    801 XAW7_LIBS
    802 XAW7_CFLAGS
    803 XAW6_LIBS
    804 XAW6_CFLAGS
    805 PLATFORM_DARWIN_FALSE
    806 PLATFORM_DARWIN_TRUE
    807 PLATFORM_WIN32_FALSE
    808 PLATFORM_WIN32_TRUE
    809 LIBEXT
    810 ADMIN_MAN_DIR
    811 DRIVER_MAN_DIR
    812 MISC_MAN_DIR
    813 FILE_MAN_DIR
    814 LIB_MAN_DIR
    815 APP_MAN_DIR
    816 ADMIN_MAN_SUFFIX
    817 DRIVER_MAN_SUFFIX
    818 MISC_MAN_SUFFIX
    819 FILE_MAN_SUFFIX
    820 LIB_MAN_SUFFIX
    821 APP_MAN_SUFFIX
    822 distcleancheck_listfiles
    823 CHANGELOG_CMD
    824 AM_BACKSLASH
    825 AM_DEFAULT_VERBOSITY
    826 CWARNFLAGS
    827 PKG_CONFIG
    828 BUILD_DOCS_FALSE
    829 BUILD_DOCS_TRUE
    830 GROFF
    831 LIBTOOL
    832 ac_ct_F77
    833 FFLAGS
    834 F77
    835 CXXCPP
    836 am__fastdepCXX_FALSE
    837 am__fastdepCXX_TRUE
    838 CXXDEPMODE
    839 ac_ct_CXX
    840 CXXFLAGS
    841 CXX
    842 CPP
    843 NMEDIT
    844 DSYMUTIL
    845 RANLIB
    846 AR
    847 ECHO
    848 LN_S
    849 EGREP
    850 GREP
    851 SED
    852 host_os
    853 host_vendor
    854 host_cpu
    855 host
    856 build_os
    857 build_vendor
    858 build_cpu
    859 build
    860 am__fastdepCC_FALSE
    861 am__fastdepCC_TRUE
    862 CCDEPMODE
    863 AMDEPBACKSLASH
    864 AMDEP_FALSE
    865 AMDEP_TRUE
    866 am__quote
    867 am__include
    868 DEPDIR
    869 OBJEXT
    870 EXEEXT
    871 ac_ct_CC
    872 CPPFLAGS
    873 LDFLAGS
    874 CFLAGS
    875 CC
    876 am__untar
    877 am__tar
    878 AMTAR
    879 am__leading_dot
    880 SET_MAKE
    881 AWK
    882 mkdir_p
    883 MKDIR_P
    884 INSTALL_STRIP_PROGRAM
    885 STRIP
    886 install_sh
    887 MAKEINFO
    888 AUTOHEADER
    889 AUTOMAKE
    890 AUTOCONF
    891 ACLOCAL
    892 VERSION
    893 PACKAGE
    894 CYGPATH_W
    895 am__isrc
    896 INSTALL_DATA
    897 INSTALL_SCRIPT
    898 INSTALL_PROGRAM
    899 target_alias
    900 host_alias
    901 build_alias
    902 LIBS
    903 ECHO_T
    904 ECHO_N
    905 ECHO_C
    906 DEFS
    907 mandir
    908 localedir
    909 libdir
    910 psdir
    911 pdfdir
    912 dvidir
    913 htmldir
    914 infodir
    915 docdir
    916 oldincludedir
    917 includedir
    918 localstatedir
    919 sharedstatedir
    920 sysconfdir
    921 datadir
    922 datarootdir
    923 libexecdir
    924 sbindir
    925 bindir
    926 program_transform_name
    927 prefix
    928 exec_prefix
    929 PACKAGE_BUGREPORT
    930 PACKAGE_STRING
    931 PACKAGE_VERSION
    932 PACKAGE_TARNAME
    933 PACKAGE_NAME
    934 PATH_SEPARATOR
    935 SHELL'
    936 ac_subst_files=''
    937 ac_user_opts='
    938 enable_option_checking
    939 enable_dependency_tracking
    940 enable_shared
    941 enable_static
    942 enable_fast_install
    943 with_gnu_ld
    944 enable_libtool_lock
    945 with_pic
    946 with_tags
    947 enable_docs
    948 enable_silent_rules
    949 enable_strict_compilation
    950 with_release_version
    951 enable_xaw6
    952 enable_xaw7
    953 '
    954       ac_precious_vars='build_alias
    955 host_alias
    956 target_alias
    957 CC
    958 CFLAGS
    959 LDFLAGS
    960 LIBS
    961 CPPFLAGS
    962 CPP
    963 CXX
    964 CXXFLAGS
    965 CCC
    966 CXXCPP
    967 F77
    968 FFLAGS
    969 PKG_CONFIG
    970 XAW6_CFLAGS
    971 XAW6_LIBS
    972 XAW7_CFLAGS
    973 XAW7_LIBS'
    974 
    975 
    976 # Initialize some variables set by options.
    977 ac_init_help=
    978 ac_init_version=false
    979 ac_unrecognized_opts=
    980 ac_unrecognized_sep=
    981 # The variables have the same names as the options, with
    982 # dashes changed to underlines.
    983 cache_file=/dev/null
    984 exec_prefix=NONE
    985 no_create=
    986 no_recursion=
    987 prefix=NONE
    988 program_prefix=NONE
    989 program_suffix=NONE
    990 program_transform_name=s,x,x,
    991 silent=
    992 site=
    993 srcdir=
    994 verbose=
    995 x_includes=NONE
    996 x_libraries=NONE
    997 
    998 # Installation directory options.
    999 # These are left unexpanded so users can "make install exec_prefix=/foo"
   1000 # and all the variables that are supposed to be based on exec_prefix
   1001 # by default will actually change.
   1002 # Use braces instead of parens because sh, perl, etc. also accept them.
   1003 # (The list follows the same order as the GNU Coding Standards.)
   1004 bindir='${exec_prefix}/bin'
   1005 sbindir='${exec_prefix}/sbin'
   1006 libexecdir='${exec_prefix}/libexec'
   1007 datarootdir='${prefix}/share'
   1008 datadir='${datarootdir}'
   1009 sysconfdir='${prefix}/etc'
   1010 sharedstatedir='${prefix}/com'
   1011 localstatedir='${prefix}/var'
   1012 includedir='${prefix}/include'
   1013 oldincludedir='/usr/include'
   1014 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   1015 infodir='${datarootdir}/info'
   1016 htmldir='${docdir}'
   1017 dvidir='${docdir}'
   1018 pdfdir='${docdir}'
   1019 psdir='${docdir}'
   1020 libdir='${exec_prefix}/lib'
   1021 localedir='${datarootdir}/locale'
   1022 mandir='${datarootdir}/man'
   1023 
   1024 ac_prev=
   1025 ac_dashdash=
   1026 for ac_option
   1027 do
   1028   # If the previous option needs an argument, assign it.
   1029   if test -n "$ac_prev"; then
   1030     eval $ac_prev=\$ac_option
   1031     ac_prev=
   1032     continue
   1033   fi
   1034 
   1035   case $ac_option in
   1036   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   1037   *)	ac_optarg=yes ;;
   1038   esac
   1039 
   1040   # Accept the important Cygnus configure options, so we can diagnose typos.
   1041 
   1042   case $ac_dashdash$ac_option in
   1043   --)
   1044     ac_dashdash=yes ;;
   1045 
   1046   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   1047     ac_prev=bindir ;;
   1048   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   1049     bindir=$ac_optarg ;;
   1050 
   1051   -build | --build | --buil | --bui | --bu)
   1052     ac_prev=build_alias ;;
   1053   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   1054     build_alias=$ac_optarg ;;
   1055 
   1056   -cache-file | --cache-file | --cache-fil | --cache-fi \
   1057   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   1058     ac_prev=cache_file ;;
   1059   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   1060   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   1061     cache_file=$ac_optarg ;;
   1062 
   1063   --config-cache | -C)
   1064     cache_file=config.cache ;;
   1065 
   1066   -datadir | --datadir | --datadi | --datad)
   1067     ac_prev=datadir ;;
   1068   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   1069     datadir=$ac_optarg ;;
   1070 
   1071   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   1072   | --dataroo | --dataro | --datar)
   1073     ac_prev=datarootdir ;;
   1074   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1075   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1076     datarootdir=$ac_optarg ;;
   1077 
   1078   -disable-* | --disable-*)
   1079     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1080     # Reject names that are not valid shell variable names.
   1081     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1082       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1083    { (exit 1); exit 1; }; }
   1084     ac_useropt_orig=$ac_useropt
   1085     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1086     case $ac_user_opts in
   1087       *"
   1088 "enable_$ac_useropt"
   1089 "*) ;;
   1090       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1091 	 ac_unrecognized_sep=', ';;
   1092     esac
   1093     eval enable_$ac_useropt=no ;;
   1094 
   1095   -docdir | --docdir | --docdi | --doc | --do)
   1096     ac_prev=docdir ;;
   1097   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1098     docdir=$ac_optarg ;;
   1099 
   1100   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1101     ac_prev=dvidir ;;
   1102   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1103     dvidir=$ac_optarg ;;
   1104 
   1105   -enable-* | --enable-*)
   1106     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1107     # Reject names that are not valid shell variable names.
   1108     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1109       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   1110    { (exit 1); exit 1; }; }
   1111     ac_useropt_orig=$ac_useropt
   1112     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1113     case $ac_user_opts in
   1114       *"
   1115 "enable_$ac_useropt"
   1116 "*) ;;
   1117       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1118 	 ac_unrecognized_sep=', ';;
   1119     esac
   1120     eval enable_$ac_useropt=\$ac_optarg ;;
   1121 
   1122   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1123   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1124   | --exec | --exe | --ex)
   1125     ac_prev=exec_prefix ;;
   1126   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1127   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1128   | --exec=* | --exe=* | --ex=*)
   1129     exec_prefix=$ac_optarg ;;
   1130 
   1131   -gas | --gas | --ga | --g)
   1132     # Obsolete; use --with-gas.
   1133     with_gas=yes ;;
   1134 
   1135   -help | --help | --hel | --he | -h)
   1136     ac_init_help=long ;;
   1137   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1138     ac_init_help=recursive ;;
   1139   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1140     ac_init_help=short ;;
   1141 
   1142   -host | --host | --hos | --ho)
   1143     ac_prev=host_alias ;;
   1144   -host=* | --host=* | --hos=* | --ho=*)
   1145     host_alias=$ac_optarg ;;
   1146 
   1147   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1148     ac_prev=htmldir ;;
   1149   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1150   | --ht=*)
   1151     htmldir=$ac_optarg ;;
   1152 
   1153   -includedir | --includedir | --includedi | --included | --include \
   1154   | --includ | --inclu | --incl | --inc)
   1155     ac_prev=includedir ;;
   1156   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1157   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1158     includedir=$ac_optarg ;;
   1159 
   1160   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1161     ac_prev=infodir ;;
   1162   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1163     infodir=$ac_optarg ;;
   1164 
   1165   -libdir | --libdir | --libdi | --libd)
   1166     ac_prev=libdir ;;
   1167   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1168     libdir=$ac_optarg ;;
   1169 
   1170   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1171   | --libexe | --libex | --libe)
   1172     ac_prev=libexecdir ;;
   1173   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1174   | --libexe=* | --libex=* | --libe=*)
   1175     libexecdir=$ac_optarg ;;
   1176 
   1177   -localedir | --localedir | --localedi | --localed | --locale)
   1178     ac_prev=localedir ;;
   1179   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1180     localedir=$ac_optarg ;;
   1181 
   1182   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1183   | --localstate | --localstat | --localsta | --localst | --locals)
   1184     ac_prev=localstatedir ;;
   1185   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1186   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1187     localstatedir=$ac_optarg ;;
   1188 
   1189   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1190     ac_prev=mandir ;;
   1191   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1192     mandir=$ac_optarg ;;
   1193 
   1194   -nfp | --nfp | --nf)
   1195     # Obsolete; use --without-fp.
   1196     with_fp=no ;;
   1197 
   1198   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1199   | --no-cr | --no-c | -n)
   1200     no_create=yes ;;
   1201 
   1202   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1203   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1204     no_recursion=yes ;;
   1205 
   1206   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1207   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1208   | --oldin | --oldi | --old | --ol | --o)
   1209     ac_prev=oldincludedir ;;
   1210   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1211   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1212   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1213     oldincludedir=$ac_optarg ;;
   1214 
   1215   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1216     ac_prev=prefix ;;
   1217   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1218     prefix=$ac_optarg ;;
   1219 
   1220   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1221   | --program-pre | --program-pr | --program-p)
   1222     ac_prev=program_prefix ;;
   1223   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1224   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1225     program_prefix=$ac_optarg ;;
   1226 
   1227   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1228   | --program-suf | --program-su | --program-s)
   1229     ac_prev=program_suffix ;;
   1230   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1231   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1232     program_suffix=$ac_optarg ;;
   1233 
   1234   -program-transform-name | --program-transform-name \
   1235   | --program-transform-nam | --program-transform-na \
   1236   | --program-transform-n | --program-transform- \
   1237   | --program-transform | --program-transfor \
   1238   | --program-transfo | --program-transf \
   1239   | --program-trans | --program-tran \
   1240   | --progr-tra | --program-tr | --program-t)
   1241     ac_prev=program_transform_name ;;
   1242   -program-transform-name=* | --program-transform-name=* \
   1243   | --program-transform-nam=* | --program-transform-na=* \
   1244   | --program-transform-n=* | --program-transform-=* \
   1245   | --program-transform=* | --program-transfor=* \
   1246   | --program-transfo=* | --program-transf=* \
   1247   | --program-trans=* | --program-tran=* \
   1248   | --progr-tra=* | --program-tr=* | --program-t=*)
   1249     program_transform_name=$ac_optarg ;;
   1250 
   1251   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1252     ac_prev=pdfdir ;;
   1253   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1254     pdfdir=$ac_optarg ;;
   1255 
   1256   -psdir | --psdir | --psdi | --psd | --ps)
   1257     ac_prev=psdir ;;
   1258   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1259     psdir=$ac_optarg ;;
   1260 
   1261   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1262   | -silent | --silent | --silen | --sile | --sil)
   1263     silent=yes ;;
   1264 
   1265   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1266     ac_prev=sbindir ;;
   1267   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1268   | --sbi=* | --sb=*)
   1269     sbindir=$ac_optarg ;;
   1270 
   1271   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1272   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1273   | --sharedst | --shareds | --shared | --share | --shar \
   1274   | --sha | --sh)
   1275     ac_prev=sharedstatedir ;;
   1276   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1277   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1278   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1279   | --sha=* | --sh=*)
   1280     sharedstatedir=$ac_optarg ;;
   1281 
   1282   -site | --site | --sit)
   1283     ac_prev=site ;;
   1284   -site=* | --site=* | --sit=*)
   1285     site=$ac_optarg ;;
   1286 
   1287   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1288     ac_prev=srcdir ;;
   1289   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1290     srcdir=$ac_optarg ;;
   1291 
   1292   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1293   | --syscon | --sysco | --sysc | --sys | --sy)
   1294     ac_prev=sysconfdir ;;
   1295   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1296   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1297     sysconfdir=$ac_optarg ;;
   1298 
   1299   -target | --target | --targe | --targ | --tar | --ta | --t)
   1300     ac_prev=target_alias ;;
   1301   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1302     target_alias=$ac_optarg ;;
   1303 
   1304   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1305     verbose=yes ;;
   1306 
   1307   -version | --version | --versio | --versi | --vers | -V)
   1308     ac_init_version=: ;;
   1309 
   1310   -with-* | --with-*)
   1311     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1312     # Reject names that are not valid shell variable names.
   1313     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1314       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1315    { (exit 1); exit 1; }; }
   1316     ac_useropt_orig=$ac_useropt
   1317     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1318     case $ac_user_opts in
   1319       *"
   1320 "with_$ac_useropt"
   1321 "*) ;;
   1322       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1323 	 ac_unrecognized_sep=', ';;
   1324     esac
   1325     eval with_$ac_useropt=\$ac_optarg ;;
   1326 
   1327   -without-* | --without-*)
   1328     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1329     # Reject names that are not valid shell variable names.
   1330     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1331       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
   1332    { (exit 1); exit 1; }; }
   1333     ac_useropt_orig=$ac_useropt
   1334     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1335     case $ac_user_opts in
   1336       *"
   1337 "with_$ac_useropt"
   1338 "*) ;;
   1339       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1340 	 ac_unrecognized_sep=', ';;
   1341     esac
   1342     eval with_$ac_useropt=no ;;
   1343 
   1344   --x)
   1345     # Obsolete; use --with-x.
   1346     with_x=yes ;;
   1347 
   1348   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1349   | --x-incl | --x-inc | --x-in | --x-i)
   1350     ac_prev=x_includes ;;
   1351   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1352   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1353     x_includes=$ac_optarg ;;
   1354 
   1355   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1356   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1357     ac_prev=x_libraries ;;
   1358   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1359   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1360     x_libraries=$ac_optarg ;;
   1361 
   1362   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
   1363 Try \`$0 --help' for more information." >&2
   1364    { (exit 1); exit 1; }; }
   1365     ;;
   1366 
   1367   *=*)
   1368     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1369     # Reject names that are not valid shell variable names.
   1370     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
   1371       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
   1372    { (exit 1); exit 1; }; }
   1373     eval $ac_envvar=\$ac_optarg
   1374     export $ac_envvar ;;
   1375 
   1376   *)
   1377     # FIXME: should be removed in autoconf 3.0.
   1378     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1379     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1380       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1381     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
   1382     ;;
   1383 
   1384   esac
   1385 done
   1386 
   1387 if test -n "$ac_prev"; then
   1388   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1389   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
   1390    { (exit 1); exit 1; }; }
   1391 fi
   1392 
   1393 if test -n "$ac_unrecognized_opts"; then
   1394   case $enable_option_checking in
   1395     no) ;;
   1396     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
   1397    { (exit 1); exit 1; }; } ;;
   1398     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1399   esac
   1400 fi
   1401 
   1402 # Check all directory arguments for consistency.
   1403 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1404 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1405 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1406 		libdir localedir mandir
   1407 do
   1408   eval ac_val=\$$ac_var
   1409   # Remove trailing slashes.
   1410   case $ac_val in
   1411     */ )
   1412       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1413       eval $ac_var=\$ac_val;;
   1414   esac
   1415   # Be sure to have absolute directory names.
   1416   case $ac_val in
   1417     [\\/$]* | ?:[\\/]* )  continue;;
   1418     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1419   esac
   1420   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
   1421    { (exit 1); exit 1; }; }
   1422 done
   1423 
   1424 # There might be people who depend on the old broken behavior: `$host'
   1425 # used to hold the argument of --host etc.
   1426 # FIXME: To remove some day.
   1427 build=$build_alias
   1428 host=$host_alias
   1429 target=$target_alias
   1430 
   1431 # FIXME: To remove some day.
   1432 if test "x$host_alias" != x; then
   1433   if test "x$build_alias" = x; then
   1434     cross_compiling=maybe
   1435     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
   1436     If a cross compiler is detected then cross compile mode will be used." >&2
   1437   elif test "x$build_alias" != "x$host_alias"; then
   1438     cross_compiling=yes
   1439   fi
   1440 fi
   1441 
   1442 ac_tool_prefix=
   1443 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1444 
   1445 test "$silent" = yes && exec 6>/dev/null
   1446 
   1447 
   1448 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1449 ac_ls_di=`ls -di .` &&
   1450 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1451   { $as_echo "$as_me: error: working directory cannot be determined" >&2
   1452    { (exit 1); exit 1; }; }
   1453 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1454   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
   1455    { (exit 1); exit 1; }; }
   1456 
   1457 
   1458 # Find the source files, if location was not specified.
   1459 if test -z "$srcdir"; then
   1460   ac_srcdir_defaulted=yes
   1461   # Try the directory containing this script, then the parent directory.
   1462   ac_confdir=`$as_dirname -- "$as_myself" ||
   1463 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1464 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1465 	 X"$as_myself" : 'X\(//\)$' \| \
   1466 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1467 $as_echo X"$as_myself" |
   1468     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1469 	    s//\1/
   1470 	    q
   1471 	  }
   1472 	  /^X\(\/\/\)[^/].*/{
   1473 	    s//\1/
   1474 	    q
   1475 	  }
   1476 	  /^X\(\/\/\)$/{
   1477 	    s//\1/
   1478 	    q
   1479 	  }
   1480 	  /^X\(\/\).*/{
   1481 	    s//\1/
   1482 	    q
   1483 	  }
   1484 	  s/.*/./; q'`
   1485   srcdir=$ac_confdir
   1486   if test ! -r "$srcdir/$ac_unique_file"; then
   1487     srcdir=..
   1488   fi
   1489 else
   1490   ac_srcdir_defaulted=no
   1491 fi
   1492 if test ! -r "$srcdir/$ac_unique_file"; then
   1493   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1494   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
   1495    { (exit 1); exit 1; }; }
   1496 fi
   1497 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1498 ac_abs_confdir=`(
   1499 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
   1500    { (exit 1); exit 1; }; }
   1501 	pwd)`
   1502 # When building in place, set srcdir=.
   1503 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1504   srcdir=.
   1505 fi
   1506 # Remove unnecessary trailing slashes from srcdir.
   1507 # Double slashes in file names in object file debugging info
   1508 # mess up M-x gdb in Emacs.
   1509 case $srcdir in
   1510 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1511 esac
   1512 for ac_var in $ac_precious_vars; do
   1513   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1514   eval ac_env_${ac_var}_value=\$${ac_var}
   1515   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1516   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1517 done
   1518 
   1519 #
   1520 # Report the --help message.
   1521 #
   1522 if test "$ac_init_help" = "long"; then
   1523   # Omit some internal or obsolete options to make the list less imposing.
   1524   # This message is too long to be a string in the A/UX 3.1 sh.
   1525   cat <<_ACEOF
   1526 \`configure' configures libXaw 1.0.7 to adapt to many kinds of systems.
   1527 
   1528 Usage: $0 [OPTION]... [VAR=VALUE]...
   1529 
   1530 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1531 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1532 
   1533 Defaults for the options are specified in brackets.
   1534 
   1535 Configuration:
   1536   -h, --help              display this help and exit
   1537       --help=short        display options specific to this package
   1538       --help=recursive    display the short help of all the included packages
   1539   -V, --version           display version information and exit
   1540   -q, --quiet, --silent   do not print \`checking...' messages
   1541       --cache-file=FILE   cache test results in FILE [disabled]
   1542   -C, --config-cache      alias for \`--cache-file=config.cache'
   1543   -n, --no-create         do not create output files
   1544       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1545 
   1546 Installation directories:
   1547   --prefix=PREFIX         install architecture-independent files in PREFIX
   1548                           [$ac_default_prefix]
   1549   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1550                           [PREFIX]
   1551 
   1552 By default, \`make install' will install all the files in
   1553 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1554 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1555 for instance \`--prefix=\$HOME'.
   1556 
   1557 For better control, use the options below.
   1558 
   1559 Fine tuning of the installation directories:
   1560   --bindir=DIR            user executables [EPREFIX/bin]
   1561   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1562   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1563   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1564   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1565   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1566   --libdir=DIR            object code libraries [EPREFIX/lib]
   1567   --includedir=DIR        C header files [PREFIX/include]
   1568   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1569   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1570   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1571   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1572   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1573   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1574   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXaw]
   1575   --htmldir=DIR           html documentation [DOCDIR]
   1576   --dvidir=DIR            dvi documentation [DOCDIR]
   1577   --pdfdir=DIR            pdf documentation [DOCDIR]
   1578   --psdir=DIR             ps documentation [DOCDIR]
   1579 _ACEOF
   1580 
   1581   cat <<\_ACEOF
   1582 
   1583 Program names:
   1584   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1585   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1586   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1587 
   1588 System types:
   1589   --build=BUILD     configure for building on BUILD [guessed]
   1590   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1591 _ACEOF
   1592 fi
   1593 
   1594 if test -n "$ac_init_help"; then
   1595   case $ac_init_help in
   1596      short | recursive ) echo "Configuration of libXaw 1.0.7:";;
   1597    esac
   1598   cat <<\_ACEOF
   1599 
   1600 Optional Features:
   1601   --disable-option-checking  ignore unrecognized --enable/--with options
   1602   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1603   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1604   --disable-dependency-tracking  speeds up one-time build
   1605   --enable-dependency-tracking   do not reject slow dependency extractors
   1606   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1607   --enable-static[=PKGS]  build static libraries [default=yes]
   1608   --enable-fast-install[=PKGS]
   1609                           optimize for fast installation [default=yes]
   1610   --disable-libtool-lock  avoid locking (might break parallel builds)
   1611   --enable-docs           Enable building of Xaw documentation
   1612   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1613   --disable-silent-rules         verbose build output (undo: `make V=0')
   1614   --enable-strict-compilation
   1615                           Enable all warnings from compiler and make them
   1616                           errors (default: disabled)
   1617   --disable-xaw6          Disable building of libXaw.so.6
   1618   --disable-xaw7          Disable building of libXaw.so.7
   1619 
   1620 Optional Packages:
   1621   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1622   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1623   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1624   --with-pic              try to use only PIC/non-PIC objects [default=use
   1625                           both]
   1626   --with-tags[=TAGS]      include additional configurations [automatic]
   1627   --with-release-version=STRING
   1628                           Use release version string in package name
   1629 
   1630 Some influential environment variables:
   1631   CC          C compiler command
   1632   CFLAGS      C compiler flags
   1633   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1634               nonstandard directory <lib dir>
   1635   LIBS        libraries to pass to the linker, e.g. -l<library>
   1636   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
   1637               you have headers in a nonstandard directory <include dir>
   1638   CPP         C preprocessor
   1639   CXX         C++ compiler command
   1640   CXXFLAGS    C++ compiler flags
   1641   CXXCPP      C++ preprocessor
   1642   F77         Fortran 77 compiler command
   1643   FFLAGS      Fortran 77 compiler flags
   1644   PKG_CONFIG  path to pkg-config utility
   1645   XAW6_CFLAGS C compiler flags for XAW6, overriding pkg-config
   1646   XAW6_LIBS   linker flags for XAW6, overriding pkg-config
   1647   XAW7_CFLAGS C compiler flags for XAW7, overriding pkg-config
   1648   XAW7_LIBS   linker flags for XAW7, overriding pkg-config
   1649 
   1650 Use these variables to override the choices made by `configure' or to help
   1651 it to find libraries and programs with nonstandard names/locations.
   1652 
   1653 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1654 _ACEOF
   1655 ac_status=$?
   1656 fi
   1657 
   1658 if test "$ac_init_help" = "recursive"; then
   1659   # If there are subdirs, report their specific --help.
   1660   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1661     test -d "$ac_dir" ||
   1662       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1663       continue
   1664     ac_builddir=.
   1665 
   1666 case "$ac_dir" in
   1667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1668 *)
   1669   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1670   # A ".." for each directory in $ac_dir_suffix.
   1671   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1672   case $ac_top_builddir_sub in
   1673   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1674   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1675   esac ;;
   1676 esac
   1677 ac_abs_top_builddir=$ac_pwd
   1678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1679 # for backward compatibility:
   1680 ac_top_builddir=$ac_top_build_prefix
   1681 
   1682 case $srcdir in
   1683   .)  # We are building in place.
   1684     ac_srcdir=.
   1685     ac_top_srcdir=$ac_top_builddir_sub
   1686     ac_abs_top_srcdir=$ac_pwd ;;
   1687   [\\/]* | ?:[\\/]* )  # Absolute name.
   1688     ac_srcdir=$srcdir$ac_dir_suffix;
   1689     ac_top_srcdir=$srcdir
   1690     ac_abs_top_srcdir=$srcdir ;;
   1691   *) # Relative name.
   1692     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1693     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1694     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1695 esac
   1696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1697 
   1698     cd "$ac_dir" || { ac_status=$?; continue; }
   1699     # Check for guested configure.
   1700     if test -f "$ac_srcdir/configure.gnu"; then
   1701       echo &&
   1702       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1703     elif test -f "$ac_srcdir/configure"; then
   1704       echo &&
   1705       $SHELL "$ac_srcdir/configure" --help=recursive
   1706     else
   1707       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1708     fi || ac_status=$?
   1709     cd "$ac_pwd" || { ac_status=$?; break; }
   1710   done
   1711 fi
   1712 
   1713 test -n "$ac_init_help" && exit $ac_status
   1714 if $ac_init_version; then
   1715   cat <<\_ACEOF
   1716 libXaw configure 1.0.7
   1717 generated by GNU Autoconf 2.63
   1718 
   1719 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
   1720 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
   1721 This configure script is free software; the Free Software Foundation
   1722 gives unlimited permission to copy, distribute and modify it.
   1723 _ACEOF
   1724   exit
   1725 fi
   1726 cat >config.log <<_ACEOF
   1727 This file contains any messages produced by compilers while
   1728 running configure, to aid debugging if configure makes a mistake.
   1729 
   1730 It was created by libXaw $as_me 1.0.7, which was
   1731 generated by GNU Autoconf 2.63.  Invocation command line was
   1732 
   1733   $ $0 $@
   1734 
   1735 _ACEOF
   1736 exec 5>>config.log
   1737 {
   1738 cat <<_ASUNAME
   1739 ## --------- ##
   1740 ## Platform. ##
   1741 ## --------- ##
   1742 
   1743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1748 
   1749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1750 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1751 
   1752 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1753 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1755 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1756 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1757 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1758 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1759 
   1760 _ASUNAME
   1761 
   1762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1763 for as_dir in $PATH
   1764 do
   1765   IFS=$as_save_IFS
   1766   test -z "$as_dir" && as_dir=.
   1767   $as_echo "PATH: $as_dir"
   1768 done
   1769 IFS=$as_save_IFS
   1770 
   1771 } >&5
   1772 
   1773 cat >&5 <<_ACEOF
   1774 
   1775 
   1776 ## ----------- ##
   1777 ## Core tests. ##
   1778 ## ----------- ##
   1779 
   1780 _ACEOF
   1781 
   1782 
   1783 # Keep a trace of the command line.
   1784 # Strip out --no-create and --no-recursion so they do not pile up.
   1785 # Strip out --silent because we don't want to record it for future runs.
   1786 # Also quote any args containing shell meta-characters.
   1787 # Make two passes to allow for proper duplicate-argument suppression.
   1788 ac_configure_args=
   1789 ac_configure_args0=
   1790 ac_configure_args1=
   1791 ac_must_keep_next=false
   1792 for ac_pass in 1 2
   1793 do
   1794   for ac_arg
   1795   do
   1796     case $ac_arg in
   1797     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1798     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1799     | -silent | --silent | --silen | --sile | --sil)
   1800       continue ;;
   1801     *\'*)
   1802       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1803     esac
   1804     case $ac_pass in
   1805     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1806     2)
   1807       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1808       if test $ac_must_keep_next = true; then
   1809 	ac_must_keep_next=false # Got value, back to normal.
   1810       else
   1811 	case $ac_arg in
   1812 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1813 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1814 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1815 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1816 	    case "$ac_configure_args0 " in
   1817 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1818 	    esac
   1819 	    ;;
   1820 	  -* ) ac_must_keep_next=true ;;
   1821 	esac
   1822       fi
   1823       ac_configure_args="$ac_configure_args '$ac_arg'"
   1824       ;;
   1825     esac
   1826   done
   1827 done
   1828 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1829 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1830 
   1831 # When interrupted or exit'd, cleanup temporary files, and complete
   1832 # config.log.  We remove comments because anyway the quotes in there
   1833 # would cause problems or look ugly.
   1834 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1836 trap 'exit_status=$?
   1837   # Save into config.log some information that might help in debugging.
   1838   {
   1839     echo
   1840 
   1841     cat <<\_ASBOX
   1842 ## ---------------- ##
   1843 ## Cache variables. ##
   1844 ## ---------------- ##
   1845 _ASBOX
   1846     echo
   1847     # The following way of writing the cache mishandles newlines in values,
   1848 (
   1849   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1850     eval ac_val=\$$ac_var
   1851     case $ac_val in #(
   1852     *${as_nl}*)
   1853       case $ac_var in #(
   1854       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   1855 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1856       esac
   1857       case $ac_var in #(
   1858       _ | IFS | as_nl) ;; #(
   1859       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1860       *) $as_unset $ac_var ;;
   1861       esac ;;
   1862     esac
   1863   done
   1864   (set) 2>&1 |
   1865     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1866     *${as_nl}ac_space=\ *)
   1867       sed -n \
   1868 	"s/'\''/'\''\\\\'\'''\''/g;
   1869 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1870       ;; #(
   1871     *)
   1872       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1873       ;;
   1874     esac |
   1875     sort
   1876 )
   1877     echo
   1878 
   1879     cat <<\_ASBOX
   1880 ## ----------------- ##
   1881 ## Output variables. ##
   1882 ## ----------------- ##
   1883 _ASBOX
   1884     echo
   1885     for ac_var in $ac_subst_vars
   1886     do
   1887       eval ac_val=\$$ac_var
   1888       case $ac_val in
   1889       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1890       esac
   1891       $as_echo "$ac_var='\''$ac_val'\''"
   1892     done | sort
   1893     echo
   1894 
   1895     if test -n "$ac_subst_files"; then
   1896       cat <<\_ASBOX
   1897 ## ------------------- ##
   1898 ## File substitutions. ##
   1899 ## ------------------- ##
   1900 _ASBOX
   1901       echo
   1902       for ac_var in $ac_subst_files
   1903       do
   1904 	eval ac_val=\$$ac_var
   1905 	case $ac_val in
   1906 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1907 	esac
   1908 	$as_echo "$ac_var='\''$ac_val'\''"
   1909       done | sort
   1910       echo
   1911     fi
   1912 
   1913     if test -s confdefs.h; then
   1914       cat <<\_ASBOX
   1915 ## ----------- ##
   1916 ## confdefs.h. ##
   1917 ## ----------- ##
   1918 _ASBOX
   1919       echo
   1920       cat confdefs.h
   1921       echo
   1922     fi
   1923     test "$ac_signal" != 0 &&
   1924       $as_echo "$as_me: caught signal $ac_signal"
   1925     $as_echo "$as_me: exit $exit_status"
   1926   } >&5
   1927   rm -f core *.core core.conftest.* &&
   1928     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1929     exit $exit_status
   1930 ' 0
   1931 for ac_signal in 1 2 13 15; do
   1932   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1933 done
   1934 ac_signal=0
   1935 
   1936 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1937 rm -f -r conftest* confdefs.h
   1938 
   1939 # Predefined preprocessor variables.
   1940 
   1941 cat >>confdefs.h <<_ACEOF
   1942 #define PACKAGE_NAME "$PACKAGE_NAME"
   1943 _ACEOF
   1944 
   1945 
   1946 cat >>confdefs.h <<_ACEOF
   1947 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1948 _ACEOF
   1949 
   1950 
   1951 cat >>confdefs.h <<_ACEOF
   1952 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1953 _ACEOF
   1954 
   1955 
   1956 cat >>confdefs.h <<_ACEOF
   1957 #define PACKAGE_STRING "$PACKAGE_STRING"
   1958 _ACEOF
   1959 
   1960 
   1961 cat >>confdefs.h <<_ACEOF
   1962 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1963 _ACEOF
   1964 
   1965 
   1966 # Let the site file select an alternate cache file if it wants to.
   1967 # Prefer an explicitly selected file to automatically selected ones.
   1968 ac_site_file1=NONE
   1969 ac_site_file2=NONE
   1970 if test -n "$CONFIG_SITE"; then
   1971   ac_site_file1=$CONFIG_SITE
   1972 elif test "x$prefix" != xNONE; then
   1973   ac_site_file1=$prefix/share/config.site
   1974   ac_site_file2=$prefix/etc/config.site
   1975 else
   1976   ac_site_file1=$ac_default_prefix/share/config.site
   1977   ac_site_file2=$ac_default_prefix/etc/config.site
   1978 fi
   1979 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   1980 do
   1981   test "x$ac_site_file" = xNONE && continue
   1982   if test -r "$ac_site_file"; then
   1983     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1984 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   1985     sed 's/^/| /' "$ac_site_file" >&5
   1986     . "$ac_site_file"
   1987   fi
   1988 done
   1989 
   1990 if test -r "$cache_file"; then
   1991   # Some versions of bash will fail to source /dev/null (special
   1992   # files actually), so we avoid doing that.
   1993   if test -f "$cache_file"; then
   1994     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1995 $as_echo "$as_me: loading cache $cache_file" >&6;}
   1996     case $cache_file in
   1997       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   1998       *)                      . "./$cache_file";;
   1999     esac
   2000   fi
   2001 else
   2002   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
   2003 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2004   >$cache_file
   2005 fi
   2006 
   2007 # Check that the precious variables saved in the cache have kept the same
   2008 # value.
   2009 ac_cache_corrupted=false
   2010 for ac_var in $ac_precious_vars; do
   2011   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2012   eval ac_new_set=\$ac_env_${ac_var}_set
   2013   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2014   eval ac_new_val=\$ac_env_${ac_var}_value
   2015   case $ac_old_set,$ac_new_set in
   2016     set,)
   2017       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2018 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2019       ac_cache_corrupted=: ;;
   2020     ,set)
   2021       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   2022 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2023       ac_cache_corrupted=: ;;
   2024     ,);;
   2025     *)
   2026       if test "x$ac_old_val" != "x$ac_new_val"; then
   2027 	# differences in whitespace do not lead to failure.
   2028 	ac_old_val_w=`echo x $ac_old_val`
   2029 	ac_new_val_w=`echo x $ac_new_val`
   2030 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2031 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   2032 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2033 	  ac_cache_corrupted=:
   2034 	else
   2035 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2036 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2037 	  eval $ac_var=\$ac_old_val
   2038 	fi
   2039 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   2040 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2041 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   2042 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2043       fi;;
   2044   esac
   2045   # Pass precious variables to config.status.
   2046   if test "$ac_new_set" = set; then
   2047     case $ac_new_val in
   2048     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2049     *) ac_arg=$ac_var=$ac_new_val ;;
   2050     esac
   2051     case " $ac_configure_args " in
   2052       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2053       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   2054     esac
   2055   fi
   2056 done
   2057 if $ac_cache_corrupted; then
   2058   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2059 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2060   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   2061 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2062   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   2063 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   2064    { (exit 1); exit 1; }; }
   2065 fi
   2066 
   2067 
   2068 
   2069 
   2070 
   2071 
   2072 
   2073 
   2074 
   2075 
   2076 
   2077 
   2078 
   2079 
   2080 
   2081 
   2082 
   2083 
   2084 
   2085 
   2086 
   2087 
   2088 
   2089 
   2090 
   2091 ac_ext=c
   2092 ac_cpp='$CPP $CPPFLAGS'
   2093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2096 
   2097 
   2098 
   2099 am__api_version='1.11'
   2100 
   2101 ac_aux_dir=
   2102 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2103   if test -f "$ac_dir/install-sh"; then
   2104     ac_aux_dir=$ac_dir
   2105     ac_install_sh="$ac_aux_dir/install-sh -c"
   2106     break
   2107   elif test -f "$ac_dir/install.sh"; then
   2108     ac_aux_dir=$ac_dir
   2109     ac_install_sh="$ac_aux_dir/install.sh -c"
   2110     break
   2111   elif test -f "$ac_dir/shtool"; then
   2112     ac_aux_dir=$ac_dir
   2113     ac_install_sh="$ac_aux_dir/shtool install -c"
   2114     break
   2115   fi
   2116 done
   2117 if test -z "$ac_aux_dir"; then
   2118   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
   2119 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
   2120    { (exit 1); exit 1; }; }
   2121 fi
   2122 
   2123 # These three variables are undocumented and unsupported,
   2124 # and are intended to be withdrawn in a future Autoconf release.
   2125 # They can cause serious problems if a builder's source tree is in a directory
   2126 # whose full name contains unusual characters.
   2127 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2128 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2129 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2130 
   2131 
   2132 # Find a good install program.  We prefer a C program (faster),
   2133 # so one script is as good as another.  But avoid the broken or
   2134 # incompatible versions:
   2135 # SysV /etc/install, /usr/sbin/install
   2136 # SunOS /usr/etc/install
   2137 # IRIX /sbin/install
   2138 # AIX /bin/install
   2139 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2140 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2141 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2142 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2143 # OS/2's system install, which has a completely different semantic
   2144 # ./install, which can be erroneously created by make from ./install.sh.
   2145 # Reject install programs that cannot install multiple files.
   2146 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2147 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2148 if test -z "$INSTALL"; then
   2149 if test "${ac_cv_path_install+set}" = set; then
   2150   $as_echo_n "(cached) " >&6
   2151 else
   2152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2153 for as_dir in $PATH
   2154 do
   2155   IFS=$as_save_IFS
   2156   test -z "$as_dir" && as_dir=.
   2157   # Account for people who put trailing slashes in PATH elements.
   2158 case $as_dir/ in
   2159   ./ | .// | /cC/* | \
   2160   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2161   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2162   /usr/ucb/* ) ;;
   2163   *)
   2164     # OSF1 and SCO ODT 3.0 have their own names for install.
   2165     # Don't use installbsd from OSF since it installs stuff as root
   2166     # by default.
   2167     for ac_prog in ginstall scoinst install; do
   2168       for ac_exec_ext in '' $ac_executable_extensions; do
   2169 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2170 	  if test $ac_prog = install &&
   2171 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2172 	    # AIX install.  It has an incompatible calling convention.
   2173 	    :
   2174 	  elif test $ac_prog = install &&
   2175 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2176 	    # program-specific install script used by HP pwplus--don't use.
   2177 	    :
   2178 	  else
   2179 	    rm -rf conftest.one conftest.two conftest.dir
   2180 	    echo one > conftest.one
   2181 	    echo two > conftest.two
   2182 	    mkdir conftest.dir
   2183 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2184 	      test -s conftest.one && test -s conftest.two &&
   2185 	      test -s conftest.dir/conftest.one &&
   2186 	      test -s conftest.dir/conftest.two
   2187 	    then
   2188 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2189 	      break 3
   2190 	    fi
   2191 	  fi
   2192 	fi
   2193       done
   2194     done
   2195     ;;
   2196 esac
   2197 
   2198 done
   2199 IFS=$as_save_IFS
   2200 
   2201 rm -rf conftest.one conftest.two conftest.dir
   2202 
   2203 fi
   2204   if test "${ac_cv_path_install+set}" = set; then
   2205     INSTALL=$ac_cv_path_install
   2206   else
   2207     # As a last resort, use the slow shell script.  Don't cache a
   2208     # value for INSTALL within a source directory, because that will
   2209     # break other packages using the cache if that directory is
   2210     # removed, or if the value is a relative name.
   2211     INSTALL=$ac_install_sh
   2212   fi
   2213 fi
   2214 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
   2215 $as_echo "$INSTALL" >&6; }
   2216 
   2217 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2218 # It thinks the first close brace ends the variable substitution.
   2219 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2220 
   2221 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2222 
   2223 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2224 
   2225 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2226 $as_echo_n "checking whether build environment is sane... " >&6; }
   2227 # Just in case
   2228 sleep 1
   2229 echo timestamp > conftest.file
   2230 # Reject unsafe characters in $srcdir or the absolute working directory
   2231 # name.  Accept space and tab only in the latter.
   2232 am_lf='
   2233 '
   2234 case `pwd` in
   2235   *[\\\"\#\$\&\'\`$am_lf]*)
   2236     { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
   2237 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
   2238    { (exit 1); exit 1; }; };;
   2239 esac
   2240 case $srcdir in
   2241   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2242     { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
   2243 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
   2244    { (exit 1); exit 1; }; };;
   2245 esac
   2246 
   2247 # Do `set' in a subshell so we don't clobber the current shell's
   2248 # arguments.  Must try -L first in case configure is actually a
   2249 # symlink; some systems play weird games with the mod time of symlinks
   2250 # (eg FreeBSD returns the mod time of the symlink's containing
   2251 # directory).
   2252 if (
   2253    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2254    if test "$*" = "X"; then
   2255       # -L didn't work.
   2256       set X `ls -t "$srcdir/configure" conftest.file`
   2257    fi
   2258    rm -f conftest.file
   2259    if test "$*" != "X $srcdir/configure conftest.file" \
   2260       && test "$*" != "X conftest.file $srcdir/configure"; then
   2261 
   2262       # If neither matched, then we have a broken ls.  This can happen
   2263       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2264       # broken ls alias from the environment.  This has actually
   2265       # happened.  Such a system could not be considered "sane".
   2266       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2267 alias in your environment" >&5
   2268 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2269 alias in your environment" >&2;}
   2270    { (exit 1); exit 1; }; }
   2271    fi
   2272 
   2273    test "$2" = conftest.file
   2274    )
   2275 then
   2276    # Ok.
   2277    :
   2278 else
   2279    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2280 Check your system clock" >&5
   2281 $as_echo "$as_me: error: newly created file is older than distributed files!
   2282 Check your system clock" >&2;}
   2283    { (exit 1); exit 1; }; }
   2284 fi
   2285 { $as_echo "$as_me:$LINENO: result: yes" >&5
   2286 $as_echo "yes" >&6; }
   2287 test "$program_prefix" != NONE &&
   2288   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2289 # Use a double $ so make ignores it.
   2290 test "$program_suffix" != NONE &&
   2291   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2292 # Double any \ or $.
   2293 # By default was `s,x,x', remove it if useless.
   2294 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2295 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2296 
   2297 # expand $ac_aux_dir to an absolute path
   2298 am_aux_dir=`cd $ac_aux_dir && pwd`
   2299 
   2300 if test x"${MISSING+set}" != xset; then
   2301   case $am_aux_dir in
   2302   *\ * | *\	*)
   2303     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2304   *)
   2305     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2306   esac
   2307 fi
   2308 # Use eval to expand $SHELL
   2309 if eval "$MISSING --run true"; then
   2310   am_missing_run="$MISSING --run "
   2311 else
   2312   am_missing_run=
   2313   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2314 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2315 fi
   2316 
   2317 if test x"${install_sh}" != xset; then
   2318   case $am_aux_dir in
   2319   *\ * | *\	*)
   2320     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2321   *)
   2322     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2323   esac
   2324 fi
   2325 
   2326 # Installed binaries are usually stripped using `strip' when the user
   2327 # run `make install-strip'.  However `strip' might not be the right
   2328 # tool to use in cross-compilation environments, therefore Automake
   2329 # will honor the `STRIP' environment variable to overrule this program.
   2330 if test "$cross_compiling" != no; then
   2331   if test -n "$ac_tool_prefix"; then
   2332   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2333 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2334 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2335 $as_echo_n "checking for $ac_word... " >&6; }
   2336 if test "${ac_cv_prog_STRIP+set}" = set; then
   2337   $as_echo_n "(cached) " >&6
   2338 else
   2339   if test -n "$STRIP"; then
   2340   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2341 else
   2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2343 for as_dir in $PATH
   2344 do
   2345   IFS=$as_save_IFS
   2346   test -z "$as_dir" && as_dir=.
   2347   for ac_exec_ext in '' $ac_executable_extensions; do
   2348   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2349     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2350     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2351     break 2
   2352   fi
   2353 done
   2354 done
   2355 IFS=$as_save_IFS
   2356 
   2357 fi
   2358 fi
   2359 STRIP=$ac_cv_prog_STRIP
   2360 if test -n "$STRIP"; then
   2361   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   2362 $as_echo "$STRIP" >&6; }
   2363 else
   2364   { $as_echo "$as_me:$LINENO: result: no" >&5
   2365 $as_echo "no" >&6; }
   2366 fi
   2367 
   2368 
   2369 fi
   2370 if test -z "$ac_cv_prog_STRIP"; then
   2371   ac_ct_STRIP=$STRIP
   2372   # Extract the first word of "strip", so it can be a program name with args.
   2373 set dummy strip; ac_word=$2
   2374 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2375 $as_echo_n "checking for $ac_word... " >&6; }
   2376 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   2377   $as_echo_n "(cached) " >&6
   2378 else
   2379   if test -n "$ac_ct_STRIP"; then
   2380   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2381 else
   2382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2383 for as_dir in $PATH
   2384 do
   2385   IFS=$as_save_IFS
   2386   test -z "$as_dir" && as_dir=.
   2387   for ac_exec_ext in '' $ac_executable_extensions; do
   2388   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2389     ac_cv_prog_ac_ct_STRIP="strip"
   2390     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2391     break 2
   2392   fi
   2393 done
   2394 done
   2395 IFS=$as_save_IFS
   2396 
   2397 fi
   2398 fi
   2399 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2400 if test -n "$ac_ct_STRIP"; then
   2401   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   2402 $as_echo "$ac_ct_STRIP" >&6; }
   2403 else
   2404   { $as_echo "$as_me:$LINENO: result: no" >&5
   2405 $as_echo "no" >&6; }
   2406 fi
   2407 
   2408   if test "x$ac_ct_STRIP" = x; then
   2409     STRIP=":"
   2410   else
   2411     case $cross_compiling:$ac_tool_warned in
   2412 yes:)
   2413 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2415 ac_tool_warned=yes ;;
   2416 esac
   2417     STRIP=$ac_ct_STRIP
   2418   fi
   2419 else
   2420   STRIP="$ac_cv_prog_STRIP"
   2421 fi
   2422 
   2423 fi
   2424 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2425 
   2426 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
   2427 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2428 if test -z "$MKDIR_P"; then
   2429   if test "${ac_cv_path_mkdir+set}" = set; then
   2430   $as_echo_n "(cached) " >&6
   2431 else
   2432   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2433 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2434 do
   2435   IFS=$as_save_IFS
   2436   test -z "$as_dir" && as_dir=.
   2437   for ac_prog in mkdir gmkdir; do
   2438 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2439 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2440 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2441 	     'mkdir (GNU coreutils) '* | \
   2442 	     'mkdir (coreutils) '* | \
   2443 	     'mkdir (fileutils) '4.1*)
   2444 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2445 	       break 3;;
   2446 	   esac
   2447 	 done
   2448        done
   2449 done
   2450 IFS=$as_save_IFS
   2451 
   2452 fi
   2453 
   2454   if test "${ac_cv_path_mkdir+set}" = set; then
   2455     MKDIR_P="$ac_cv_path_mkdir -p"
   2456   else
   2457     # As a last resort, use the slow shell script.  Don't cache a
   2458     # value for MKDIR_P within a source directory, because that will
   2459     # break other packages using the cache if that directory is
   2460     # removed, or if the value is a relative name.
   2461     test -d ./--version && rmdir ./--version
   2462     MKDIR_P="$ac_install_sh -d"
   2463   fi
   2464 fi
   2465 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
   2466 $as_echo "$MKDIR_P" >&6; }
   2467 
   2468 mkdir_p="$MKDIR_P"
   2469 case $mkdir_p in
   2470   [\\/$]* | ?:[\\/]*) ;;
   2471   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2472 esac
   2473 
   2474 for ac_prog in gawk mawk nawk awk
   2475 do
   2476   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2477 set dummy $ac_prog; ac_word=$2
   2478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2479 $as_echo_n "checking for $ac_word... " >&6; }
   2480 if test "${ac_cv_prog_AWK+set}" = set; then
   2481   $as_echo_n "(cached) " >&6
   2482 else
   2483   if test -n "$AWK"; then
   2484   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2485 else
   2486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2487 for as_dir in $PATH
   2488 do
   2489   IFS=$as_save_IFS
   2490   test -z "$as_dir" && as_dir=.
   2491   for ac_exec_ext in '' $ac_executable_extensions; do
   2492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2493     ac_cv_prog_AWK="$ac_prog"
   2494     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2495     break 2
   2496   fi
   2497 done
   2498 done
   2499 IFS=$as_save_IFS
   2500 
   2501 fi
   2502 fi
   2503 AWK=$ac_cv_prog_AWK
   2504 if test -n "$AWK"; then
   2505   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   2506 $as_echo "$AWK" >&6; }
   2507 else
   2508   { $as_echo "$as_me:$LINENO: result: no" >&5
   2509 $as_echo "no" >&6; }
   2510 fi
   2511 
   2512 
   2513   test -n "$AWK" && break
   2514 done
   2515 
   2516 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2517 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2518 set x ${MAKE-make}
   2519 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2520 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
   2521   $as_echo_n "(cached) " >&6
   2522 else
   2523   cat >conftest.make <<\_ACEOF
   2524 SHELL = /bin/sh
   2525 all:
   2526 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2527 _ACEOF
   2528 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2529 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2530   *@@@%%%=?*=@@@%%%*)
   2531     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2532   *)
   2533     eval ac_cv_prog_make_${ac_make}_set=no;;
   2534 esac
   2535 rm -f conftest.make
   2536 fi
   2537 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2538   { $as_echo "$as_me:$LINENO: result: yes" >&5
   2539 $as_echo "yes" >&6; }
   2540   SET_MAKE=
   2541 else
   2542   { $as_echo "$as_me:$LINENO: result: no" >&5
   2543 $as_echo "no" >&6; }
   2544   SET_MAKE="MAKE=${MAKE-make}"
   2545 fi
   2546 
   2547 rm -rf .tst 2>/dev/null
   2548 mkdir .tst 2>/dev/null
   2549 if test -d .tst; then
   2550   am__leading_dot=.
   2551 else
   2552   am__leading_dot=_
   2553 fi
   2554 rmdir .tst 2>/dev/null
   2555 
   2556 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2557   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2558   # is not polluted with repeated "-I."
   2559   am__isrc=' -I$(srcdir)'
   2560   # test to see if srcdir already configured
   2561   if test -f $srcdir/config.status; then
   2562     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   2563 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   2564    { (exit 1); exit 1; }; }
   2565   fi
   2566 fi
   2567 
   2568 # test whether we have cygpath
   2569 if test -z "$CYGPATH_W"; then
   2570   if (cygpath --version) >/dev/null 2>/dev/null; then
   2571     CYGPATH_W='cygpath -w'
   2572   else
   2573     CYGPATH_W=echo
   2574   fi
   2575 fi
   2576 
   2577 
   2578 # Define the identity of the package.
   2579  PACKAGE='libXaw'
   2580  VERSION='1.0.7'
   2581 
   2582 
   2583 cat >>confdefs.h <<_ACEOF
   2584 #define PACKAGE "$PACKAGE"
   2585 _ACEOF
   2586 
   2587 
   2588 cat >>confdefs.h <<_ACEOF
   2589 #define VERSION "$VERSION"
   2590 _ACEOF
   2591 
   2592 # Some tools Automake needs.
   2593 
   2594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2595 
   2596 
   2597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2598 
   2599 
   2600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2601 
   2602 
   2603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2604 
   2605 
   2606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2607 
   2608 # We need awk for the "check" target.  The system "awk" is bad on
   2609 # some platforms.
   2610 # Always define AMTAR for backward compatibility.
   2611 
   2612 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2613 
   2614 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2615 
   2616 
   2617 
   2618 
   2619 
   2620 
   2621 ac_config_headers="$ac_config_headers config.h"
   2622 
   2623 
   2624 # Require xorg-macros: XORG_WITH_LINT, XORG_DEFAULT_OPTIONS
   2625 
   2626 
   2627 
   2628 
   2629 
   2630 
   2631 
   2632 
   2633 
   2634 
   2635 
   2636 
   2637 # Check for progs
   2638 ac_ext=c
   2639 ac_cpp='$CPP $CPPFLAGS'
   2640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2643 if test -n "$ac_tool_prefix"; then
   2644   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2646 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2647 $as_echo_n "checking for $ac_word... " >&6; }
   2648 if test "${ac_cv_prog_CC+set}" = set; then
   2649   $as_echo_n "(cached) " >&6
   2650 else
   2651   if test -n "$CC"; then
   2652   ac_cv_prog_CC="$CC" # Let the user override the test.
   2653 else
   2654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2655 for as_dir in $PATH
   2656 do
   2657   IFS=$as_save_IFS
   2658   test -z "$as_dir" && as_dir=.
   2659   for ac_exec_ext in '' $ac_executable_extensions; do
   2660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2661     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2662     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2663     break 2
   2664   fi
   2665 done
   2666 done
   2667 IFS=$as_save_IFS
   2668 
   2669 fi
   2670 fi
   2671 CC=$ac_cv_prog_CC
   2672 if test -n "$CC"; then
   2673   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2674 $as_echo "$CC" >&6; }
   2675 else
   2676   { $as_echo "$as_me:$LINENO: result: no" >&5
   2677 $as_echo "no" >&6; }
   2678 fi
   2679 
   2680 
   2681 fi
   2682 if test -z "$ac_cv_prog_CC"; then
   2683   ac_ct_CC=$CC
   2684   # Extract the first word of "gcc", so it can be a program name with args.
   2685 set dummy gcc; ac_word=$2
   2686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2687 $as_echo_n "checking for $ac_word... " >&6; }
   2688 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2689   $as_echo_n "(cached) " >&6
   2690 else
   2691   if test -n "$ac_ct_CC"; then
   2692   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2693 else
   2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2695 for as_dir in $PATH
   2696 do
   2697   IFS=$as_save_IFS
   2698   test -z "$as_dir" && as_dir=.
   2699   for ac_exec_ext in '' $ac_executable_extensions; do
   2700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2701     ac_cv_prog_ac_ct_CC="gcc"
   2702     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2703     break 2
   2704   fi
   2705 done
   2706 done
   2707 IFS=$as_save_IFS
   2708 
   2709 fi
   2710 fi
   2711 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2712 if test -n "$ac_ct_CC"; then
   2713   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2714 $as_echo "$ac_ct_CC" >&6; }
   2715 else
   2716   { $as_echo "$as_me:$LINENO: result: no" >&5
   2717 $as_echo "no" >&6; }
   2718 fi
   2719 
   2720   if test "x$ac_ct_CC" = x; then
   2721     CC=""
   2722   else
   2723     case $cross_compiling:$ac_tool_warned in
   2724 yes:)
   2725 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2727 ac_tool_warned=yes ;;
   2728 esac
   2729     CC=$ac_ct_CC
   2730   fi
   2731 else
   2732   CC="$ac_cv_prog_CC"
   2733 fi
   2734 
   2735 if test -z "$CC"; then
   2736           if test -n "$ac_tool_prefix"; then
   2737     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2738 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2740 $as_echo_n "checking for $ac_word... " >&6; }
   2741 if test "${ac_cv_prog_CC+set}" = set; then
   2742   $as_echo_n "(cached) " >&6
   2743 else
   2744   if test -n "$CC"; then
   2745   ac_cv_prog_CC="$CC" # Let the user override the test.
   2746 else
   2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2748 for as_dir in $PATH
   2749 do
   2750   IFS=$as_save_IFS
   2751   test -z "$as_dir" && as_dir=.
   2752   for ac_exec_ext in '' $ac_executable_extensions; do
   2753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2754     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2755     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2756     break 2
   2757   fi
   2758 done
   2759 done
   2760 IFS=$as_save_IFS
   2761 
   2762 fi
   2763 fi
   2764 CC=$ac_cv_prog_CC
   2765 if test -n "$CC"; then
   2766   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2767 $as_echo "$CC" >&6; }
   2768 else
   2769   { $as_echo "$as_me:$LINENO: result: no" >&5
   2770 $as_echo "no" >&6; }
   2771 fi
   2772 
   2773 
   2774   fi
   2775 fi
   2776 if test -z "$CC"; then
   2777   # Extract the first word of "cc", so it can be a program name with args.
   2778 set dummy cc; ac_word=$2
   2779 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2780 $as_echo_n "checking for $ac_word... " >&6; }
   2781 if test "${ac_cv_prog_CC+set}" = set; then
   2782   $as_echo_n "(cached) " >&6
   2783 else
   2784   if test -n "$CC"; then
   2785   ac_cv_prog_CC="$CC" # Let the user override the test.
   2786 else
   2787   ac_prog_rejected=no
   2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2789 for as_dir in $PATH
   2790 do
   2791   IFS=$as_save_IFS
   2792   test -z "$as_dir" && as_dir=.
   2793   for ac_exec_ext in '' $ac_executable_extensions; do
   2794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2795     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2796        ac_prog_rejected=yes
   2797        continue
   2798      fi
   2799     ac_cv_prog_CC="cc"
   2800     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804 done
   2805 IFS=$as_save_IFS
   2806 
   2807 if test $ac_prog_rejected = yes; then
   2808   # We found a bogon in the path, so make sure we never use it.
   2809   set dummy $ac_cv_prog_CC
   2810   shift
   2811   if test $# != 0; then
   2812     # We chose a different compiler from the bogus one.
   2813     # However, it has the same basename, so the bogon will be chosen
   2814     # first if we set CC to just the basename; use the full file name.
   2815     shift
   2816     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2817   fi
   2818 fi
   2819 fi
   2820 fi
   2821 CC=$ac_cv_prog_CC
   2822 if test -n "$CC"; then
   2823   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2824 $as_echo "$CC" >&6; }
   2825 else
   2826   { $as_echo "$as_me:$LINENO: result: no" >&5
   2827 $as_echo "no" >&6; }
   2828 fi
   2829 
   2830 
   2831 fi
   2832 if test -z "$CC"; then
   2833   if test -n "$ac_tool_prefix"; then
   2834   for ac_prog in cl.exe
   2835   do
   2836     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2837 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2838 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2839 $as_echo_n "checking for $ac_word... " >&6; }
   2840 if test "${ac_cv_prog_CC+set}" = set; then
   2841   $as_echo_n "(cached) " >&6
   2842 else
   2843   if test -n "$CC"; then
   2844   ac_cv_prog_CC="$CC" # Let the user override the test.
   2845 else
   2846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2847 for as_dir in $PATH
   2848 do
   2849   IFS=$as_save_IFS
   2850   test -z "$as_dir" && as_dir=.
   2851   for ac_exec_ext in '' $ac_executable_extensions; do
   2852   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2853     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2854     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2855     break 2
   2856   fi
   2857 done
   2858 done
   2859 IFS=$as_save_IFS
   2860 
   2861 fi
   2862 fi
   2863 CC=$ac_cv_prog_CC
   2864 if test -n "$CC"; then
   2865   { $as_echo "$as_me:$LINENO: result: $CC" >&5
   2866 $as_echo "$CC" >&6; }
   2867 else
   2868   { $as_echo "$as_me:$LINENO: result: no" >&5
   2869 $as_echo "no" >&6; }
   2870 fi
   2871 
   2872 
   2873     test -n "$CC" && break
   2874   done
   2875 fi
   2876 if test -z "$CC"; then
   2877   ac_ct_CC=$CC
   2878   for ac_prog in cl.exe
   2879 do
   2880   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2881 set dummy $ac_prog; ac_word=$2
   2882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   2883 $as_echo_n "checking for $ac_word... " >&6; }
   2884 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2885   $as_echo_n "(cached) " >&6
   2886 else
   2887   if test -n "$ac_ct_CC"; then
   2888   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2889 else
   2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2891 for as_dir in $PATH
   2892 do
   2893   IFS=$as_save_IFS
   2894   test -z "$as_dir" && as_dir=.
   2895   for ac_exec_ext in '' $ac_executable_extensions; do
   2896   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2897     ac_cv_prog_ac_ct_CC="$ac_prog"
   2898     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2899     break 2
   2900   fi
   2901 done
   2902 done
   2903 IFS=$as_save_IFS
   2904 
   2905 fi
   2906 fi
   2907 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2908 if test -n "$ac_ct_CC"; then
   2909   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2910 $as_echo "$ac_ct_CC" >&6; }
   2911 else
   2912   { $as_echo "$as_me:$LINENO: result: no" >&5
   2913 $as_echo "no" >&6; }
   2914 fi
   2915 
   2916 
   2917   test -n "$ac_ct_CC" && break
   2918 done
   2919 
   2920   if test "x$ac_ct_CC" = x; then
   2921     CC=""
   2922   else
   2923     case $cross_compiling:$ac_tool_warned in
   2924 yes:)
   2925 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   2926 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2927 ac_tool_warned=yes ;;
   2928 esac
   2929     CC=$ac_ct_CC
   2930   fi
   2931 fi
   2932 
   2933 fi
   2934 
   2935 
   2936 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2938 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2939 See \`config.log' for more details." >&5
   2940 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
   2941 See \`config.log' for more details." >&2;}
   2942    { (exit 1); exit 1; }; }; }
   2943 
   2944 # Provide some information about the compiler.
   2945 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
   2946 set X $ac_compile
   2947 ac_compiler=$2
   2948 { (ac_try="$ac_compiler --version >&5"
   2949 case "(($ac_try" in
   2950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2951   *) ac_try_echo=$ac_try;;
   2952 esac
   2953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2954 $as_echo "$ac_try_echo") >&5
   2955   (eval "$ac_compiler --version >&5") 2>&5
   2956   ac_status=$?
   2957   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2958   (exit $ac_status); }
   2959 { (ac_try="$ac_compiler -v >&5"
   2960 case "(($ac_try" in
   2961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2962   *) ac_try_echo=$ac_try;;
   2963 esac
   2964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2965 $as_echo "$ac_try_echo") >&5
   2966   (eval "$ac_compiler -v >&5") 2>&5
   2967   ac_status=$?
   2968   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2969   (exit $ac_status); }
   2970 { (ac_try="$ac_compiler -V >&5"
   2971 case "(($ac_try" in
   2972   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2973   *) ac_try_echo=$ac_try;;
   2974 esac
   2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   2976 $as_echo "$ac_try_echo") >&5
   2977   (eval "$ac_compiler -V >&5") 2>&5
   2978   ac_status=$?
   2979   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2980   (exit $ac_status); }
   2981 
   2982 cat >conftest.$ac_ext <<_ACEOF
   2983 /* confdefs.h.  */
   2984 _ACEOF
   2985 cat confdefs.h >>conftest.$ac_ext
   2986 cat >>conftest.$ac_ext <<_ACEOF
   2987 /* end confdefs.h.  */
   2988 
   2989 int
   2990 main ()
   2991 {
   2992 
   2993   ;
   2994   return 0;
   2995 }
   2996 _ACEOF
   2997 ac_clean_files_save=$ac_clean_files
   2998 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2999 # Try to create an executable without -o first, disregard a.out.
   3000 # It will help us diagnose broken compilers, and finding out an intuition
   3001 # of exeext.
   3002 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   3003 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3004 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3005 
   3006 # The possible output files:
   3007 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3008 
   3009 ac_rmfiles=
   3010 for ac_file in $ac_files
   3011 do
   3012   case $ac_file in
   3013     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3014     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3015   esac
   3016 done
   3017 rm -f $ac_rmfiles
   3018 
   3019 if { (ac_try="$ac_link_default"
   3020 case "(($ac_try" in
   3021   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3022   *) ac_try_echo=$ac_try;;
   3023 esac
   3024 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3025 $as_echo "$ac_try_echo") >&5
   3026   (eval "$ac_link_default") 2>&5
   3027   ac_status=$?
   3028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3029   (exit $ac_status); }; then
   3030   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3031 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3032 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3033 # so that the user can short-circuit this test for compilers unknown to
   3034 # Autoconf.
   3035 for ac_file in $ac_files ''
   3036 do
   3037   test -f "$ac_file" || continue
   3038   case $ac_file in
   3039     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3040 	;;
   3041     [ab].out )
   3042 	# We found the default executable, but exeext='' is most
   3043 	# certainly right.
   3044 	break;;
   3045     *.* )
   3046         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3047 	then :; else
   3048 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3049 	fi
   3050 	# We set ac_cv_exeext here because the later test for it is not
   3051 	# safe: cross compilers may not add the suffix if given an `-o'
   3052 	# argument, so we may need to know it at that point already.
   3053 	# Even if this section looks crufty: it has the advantage of
   3054 	# actually working.
   3055 	break;;
   3056     * )
   3057 	break;;
   3058   esac
   3059 done
   3060 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3061 
   3062 else
   3063   ac_file=''
   3064 fi
   3065 
   3066 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
   3067 $as_echo "$ac_file" >&6; }
   3068 if test -z "$ac_file"; then
   3069   $as_echo "$as_me: failed program was:" >&5
   3070 sed 's/^/| /' conftest.$ac_ext >&5
   3071 
   3072 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3073 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3074 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
   3075 See \`config.log' for more details." >&5
   3076 $as_echo "$as_me: error: C compiler cannot create executables
   3077 See \`config.log' for more details." >&2;}
   3078    { (exit 77); exit 77; }; }; }
   3079 fi
   3080 
   3081 ac_exeext=$ac_cv_exeext
   3082 
   3083 # Check that the compiler produces executables we can run.  If not, either
   3084 # the compiler is broken, or we cross compile.
   3085 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   3086 $as_echo_n "checking whether the C compiler works... " >&6; }
   3087 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   3088 # If not cross compiling, check that we can run a simple program.
   3089 if test "$cross_compiling" != yes; then
   3090   if { ac_try='./$ac_file'
   3091   { (case "(($ac_try" in
   3092   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3093   *) ac_try_echo=$ac_try;;
   3094 esac
   3095 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3096 $as_echo "$ac_try_echo") >&5
   3097   (eval "$ac_try") 2>&5
   3098   ac_status=$?
   3099   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3100   (exit $ac_status); }; }; then
   3101     cross_compiling=no
   3102   else
   3103     if test "$cross_compiling" = maybe; then
   3104 	cross_compiling=yes
   3105     else
   3106 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3108 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
   3109 If you meant to cross compile, use \`--host'.
   3110 See \`config.log' for more details." >&5
   3111 $as_echo "$as_me: error: cannot run C compiled programs.
   3112 If you meant to cross compile, use \`--host'.
   3113 See \`config.log' for more details." >&2;}
   3114    { (exit 1); exit 1; }; }; }
   3115     fi
   3116   fi
   3117 fi
   3118 { $as_echo "$as_me:$LINENO: result: yes" >&5
   3119 $as_echo "yes" >&6; }
   3120 
   3121 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3122 ac_clean_files=$ac_clean_files_save
   3123 # Check that the compiler produces executables we can run.  If not, either
   3124 # the compiler is broken, or we cross compile.
   3125 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   3126 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3127 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
   3128 $as_echo "$cross_compiling" >&6; }
   3129 
   3130 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
   3131 $as_echo_n "checking for suffix of executables... " >&6; }
   3132 if { (ac_try="$ac_link"
   3133 case "(($ac_try" in
   3134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3135   *) ac_try_echo=$ac_try;;
   3136 esac
   3137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3138 $as_echo "$ac_try_echo") >&5
   3139   (eval "$ac_link") 2>&5
   3140   ac_status=$?
   3141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3142   (exit $ac_status); }; then
   3143   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3144 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3145 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3146 # `rm'.
   3147 for ac_file in conftest.exe conftest conftest.*; do
   3148   test -f "$ac_file" || continue
   3149   case $ac_file in
   3150     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3151     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3152 	  break;;
   3153     * ) break;;
   3154   esac
   3155 done
   3156 else
   3157   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3159 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   3160 See \`config.log' for more details." >&5
   3161 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   3162 See \`config.log' for more details." >&2;}
   3163    { (exit 1); exit 1; }; }; }
   3164 fi
   3165 
   3166 rm -f conftest$ac_cv_exeext
   3167 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   3168 $as_echo "$ac_cv_exeext" >&6; }
   3169 
   3170 rm -f conftest.$ac_ext
   3171 EXEEXT=$ac_cv_exeext
   3172 ac_exeext=$EXEEXT
   3173 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
   3174 $as_echo_n "checking for suffix of object files... " >&6; }
   3175 if test "${ac_cv_objext+set}" = set; then
   3176   $as_echo_n "(cached) " >&6
   3177 else
   3178   cat >conftest.$ac_ext <<_ACEOF
   3179 /* confdefs.h.  */
   3180 _ACEOF
   3181 cat confdefs.h >>conftest.$ac_ext
   3182 cat >>conftest.$ac_ext <<_ACEOF
   3183 /* end confdefs.h.  */
   3184 
   3185 int
   3186 main ()
   3187 {
   3188 
   3189   ;
   3190   return 0;
   3191 }
   3192 _ACEOF
   3193 rm -f conftest.o conftest.obj
   3194 if { (ac_try="$ac_compile"
   3195 case "(($ac_try" in
   3196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3197   *) ac_try_echo=$ac_try;;
   3198 esac
   3199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3200 $as_echo "$ac_try_echo") >&5
   3201   (eval "$ac_compile") 2>&5
   3202   ac_status=$?
   3203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3204   (exit $ac_status); }; then
   3205   for ac_file in conftest.o conftest.obj conftest.*; do
   3206   test -f "$ac_file" || continue;
   3207   case $ac_file in
   3208     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3209     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3210        break;;
   3211   esac
   3212 done
   3213 else
   3214   $as_echo "$as_me: failed program was:" >&5
   3215 sed 's/^/| /' conftest.$ac_ext >&5
   3216 
   3217 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3218 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3219 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   3220 See \`config.log' for more details." >&5
   3221 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
   3222 See \`config.log' for more details." >&2;}
   3223    { (exit 1); exit 1; }; }; }
   3224 fi
   3225 
   3226 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3227 fi
   3228 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   3229 $as_echo "$ac_cv_objext" >&6; }
   3230 OBJEXT=$ac_cv_objext
   3231 ac_objext=$OBJEXT
   3232 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3233 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3234 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3235   $as_echo_n "(cached) " >&6
   3236 else
   3237   cat >conftest.$ac_ext <<_ACEOF
   3238 /* confdefs.h.  */
   3239 _ACEOF
   3240 cat confdefs.h >>conftest.$ac_ext
   3241 cat >>conftest.$ac_ext <<_ACEOF
   3242 /* end confdefs.h.  */
   3243 
   3244 int
   3245 main ()
   3246 {
   3247 #ifndef __GNUC__
   3248        choke me
   3249 #endif
   3250 
   3251   ;
   3252   return 0;
   3253 }
   3254 _ACEOF
   3255 rm -f conftest.$ac_objext
   3256 if { (ac_try="$ac_compile"
   3257 case "(($ac_try" in
   3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3259   *) ac_try_echo=$ac_try;;
   3260 esac
   3261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3262 $as_echo "$ac_try_echo") >&5
   3263   (eval "$ac_compile") 2>conftest.er1
   3264   ac_status=$?
   3265   grep -v '^ *+' conftest.er1 >conftest.err
   3266   rm -f conftest.er1
   3267   cat conftest.err >&5
   3268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3269   (exit $ac_status); } && {
   3270 	 test -z "$ac_c_werror_flag" ||
   3271 	 test ! -s conftest.err
   3272        } && test -s conftest.$ac_objext; then
   3273   ac_compiler_gnu=yes
   3274 else
   3275   $as_echo "$as_me: failed program was:" >&5
   3276 sed 's/^/| /' conftest.$ac_ext >&5
   3277 
   3278 	ac_compiler_gnu=no
   3279 fi
   3280 
   3281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3282 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3283 
   3284 fi
   3285 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3286 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3287 if test $ac_compiler_gnu = yes; then
   3288   GCC=yes
   3289 else
   3290   GCC=
   3291 fi
   3292 ac_test_CFLAGS=${CFLAGS+set}
   3293 ac_save_CFLAGS=$CFLAGS
   3294 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3295 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3296 if test "${ac_cv_prog_cc_g+set}" = set; then
   3297   $as_echo_n "(cached) " >&6
   3298 else
   3299   ac_save_c_werror_flag=$ac_c_werror_flag
   3300    ac_c_werror_flag=yes
   3301    ac_cv_prog_cc_g=no
   3302    CFLAGS="-g"
   3303    cat >conftest.$ac_ext <<_ACEOF
   3304 /* confdefs.h.  */
   3305 _ACEOF
   3306 cat confdefs.h >>conftest.$ac_ext
   3307 cat >>conftest.$ac_ext <<_ACEOF
   3308 /* end confdefs.h.  */
   3309 
   3310 int
   3311 main ()
   3312 {
   3313 
   3314   ;
   3315   return 0;
   3316 }
   3317 _ACEOF
   3318 rm -f conftest.$ac_objext
   3319 if { (ac_try="$ac_compile"
   3320 case "(($ac_try" in
   3321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3322   *) ac_try_echo=$ac_try;;
   3323 esac
   3324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3325 $as_echo "$ac_try_echo") >&5
   3326   (eval "$ac_compile") 2>conftest.er1
   3327   ac_status=$?
   3328   grep -v '^ *+' conftest.er1 >conftest.err
   3329   rm -f conftest.er1
   3330   cat conftest.err >&5
   3331   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3332   (exit $ac_status); } && {
   3333 	 test -z "$ac_c_werror_flag" ||
   3334 	 test ! -s conftest.err
   3335        } && test -s conftest.$ac_objext; then
   3336   ac_cv_prog_cc_g=yes
   3337 else
   3338   $as_echo "$as_me: failed program was:" >&5
   3339 sed 's/^/| /' conftest.$ac_ext >&5
   3340 
   3341 	CFLAGS=""
   3342       cat >conftest.$ac_ext <<_ACEOF
   3343 /* confdefs.h.  */
   3344 _ACEOF
   3345 cat confdefs.h >>conftest.$ac_ext
   3346 cat >>conftest.$ac_ext <<_ACEOF
   3347 /* end confdefs.h.  */
   3348 
   3349 int
   3350 main ()
   3351 {
   3352 
   3353   ;
   3354   return 0;
   3355 }
   3356 _ACEOF
   3357 rm -f conftest.$ac_objext
   3358 if { (ac_try="$ac_compile"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3364 $as_echo "$ac_try_echo") >&5
   3365   (eval "$ac_compile") 2>conftest.er1
   3366   ac_status=$?
   3367   grep -v '^ *+' conftest.er1 >conftest.err
   3368   rm -f conftest.er1
   3369   cat conftest.err >&5
   3370   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3371   (exit $ac_status); } && {
   3372 	 test -z "$ac_c_werror_flag" ||
   3373 	 test ! -s conftest.err
   3374        } && test -s conftest.$ac_objext; then
   3375   :
   3376 else
   3377   $as_echo "$as_me: failed program was:" >&5
   3378 sed 's/^/| /' conftest.$ac_ext >&5
   3379 
   3380 	ac_c_werror_flag=$ac_save_c_werror_flag
   3381 	 CFLAGS="-g"
   3382 	 cat >conftest.$ac_ext <<_ACEOF
   3383 /* confdefs.h.  */
   3384 _ACEOF
   3385 cat confdefs.h >>conftest.$ac_ext
   3386 cat >>conftest.$ac_ext <<_ACEOF
   3387 /* end confdefs.h.  */
   3388 
   3389 int
   3390 main ()
   3391 {
   3392 
   3393   ;
   3394   return 0;
   3395 }
   3396 _ACEOF
   3397 rm -f conftest.$ac_objext
   3398 if { (ac_try="$ac_compile"
   3399 case "(($ac_try" in
   3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3401   *) ac_try_echo=$ac_try;;
   3402 esac
   3403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3404 $as_echo "$ac_try_echo") >&5
   3405   (eval "$ac_compile") 2>conftest.er1
   3406   ac_status=$?
   3407   grep -v '^ *+' conftest.er1 >conftest.err
   3408   rm -f conftest.er1
   3409   cat conftest.err >&5
   3410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3411   (exit $ac_status); } && {
   3412 	 test -z "$ac_c_werror_flag" ||
   3413 	 test ! -s conftest.err
   3414        } && test -s conftest.$ac_objext; then
   3415   ac_cv_prog_cc_g=yes
   3416 else
   3417   $as_echo "$as_me: failed program was:" >&5
   3418 sed 's/^/| /' conftest.$ac_ext >&5
   3419 
   3420 
   3421 fi
   3422 
   3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3424 fi
   3425 
   3426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3427 fi
   3428 
   3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3430    ac_c_werror_flag=$ac_save_c_werror_flag
   3431 fi
   3432 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3433 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3434 if test "$ac_test_CFLAGS" = set; then
   3435   CFLAGS=$ac_save_CFLAGS
   3436 elif test $ac_cv_prog_cc_g = yes; then
   3437   if test "$GCC" = yes; then
   3438     CFLAGS="-g -O2"
   3439   else
   3440     CFLAGS="-g"
   3441   fi
   3442 else
   3443   if test "$GCC" = yes; then
   3444     CFLAGS="-O2"
   3445   else
   3446     CFLAGS=
   3447   fi
   3448 fi
   3449 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
   3450 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3451 if test "${ac_cv_prog_cc_c89+set}" = set; then
   3452   $as_echo_n "(cached) " >&6
   3453 else
   3454   ac_cv_prog_cc_c89=no
   3455 ac_save_CC=$CC
   3456 cat >conftest.$ac_ext <<_ACEOF
   3457 /* confdefs.h.  */
   3458 _ACEOF
   3459 cat confdefs.h >>conftest.$ac_ext
   3460 cat >>conftest.$ac_ext <<_ACEOF
   3461 /* end confdefs.h.  */
   3462 #include <stdarg.h>
   3463 #include <stdio.h>
   3464 #include <sys/types.h>
   3465 #include <sys/stat.h>
   3466 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3467 struct buf { int x; };
   3468 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3469 static char *e (p, i)
   3470      char **p;
   3471      int i;
   3472 {
   3473   return p[i];
   3474 }
   3475 static char *f (char * (*g) (char **, int), char **p, ...)
   3476 {
   3477   char *s;
   3478   va_list v;
   3479   va_start (v,p);
   3480   s = g (p, va_arg (v,int));
   3481   va_end (v);
   3482   return s;
   3483 }
   3484 
   3485 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3486    function prototypes and stuff, but not '\xHH' hex character constants.
   3487    These don't provoke an error unfortunately, instead are silently treated
   3488    as 'x'.  The following induces an error, until -std is added to get
   3489    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3490    array size at least.  It's necessary to write '\x00'==0 to get something
   3491    that's true only with -std.  */
   3492 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3493 
   3494 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3495    inside strings and character constants.  */
   3496 #define FOO(x) 'x'
   3497 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3498 
   3499 int test (int i, double x);
   3500 struct s1 {int (*f) (int a);};
   3501 struct s2 {int (*f) (double a);};
   3502 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3503 int argc;
   3504 char **argv;
   3505 int
   3506 main ()
   3507 {
   3508 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3509   ;
   3510   return 0;
   3511 }
   3512 _ACEOF
   3513 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3514 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3515 do
   3516   CC="$ac_save_CC $ac_arg"
   3517   rm -f conftest.$ac_objext
   3518 if { (ac_try="$ac_compile"
   3519 case "(($ac_try" in
   3520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3521   *) ac_try_echo=$ac_try;;
   3522 esac
   3523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   3524 $as_echo "$ac_try_echo") >&5
   3525   (eval "$ac_compile") 2>conftest.er1
   3526   ac_status=$?
   3527   grep -v '^ *+' conftest.er1 >conftest.err
   3528   rm -f conftest.er1
   3529   cat conftest.err >&5
   3530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3531   (exit $ac_status); } && {
   3532 	 test -z "$ac_c_werror_flag" ||
   3533 	 test ! -s conftest.err
   3534        } && test -s conftest.$ac_objext; then
   3535   ac_cv_prog_cc_c89=$ac_arg
   3536 else
   3537   $as_echo "$as_me: failed program was:" >&5
   3538 sed 's/^/| /' conftest.$ac_ext >&5
   3539 
   3540 
   3541 fi
   3542 
   3543 rm -f core conftest.err conftest.$ac_objext
   3544   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3545 done
   3546 rm -f conftest.$ac_ext
   3547 CC=$ac_save_CC
   3548 
   3549 fi
   3550 # AC_CACHE_VAL
   3551 case "x$ac_cv_prog_cc_c89" in
   3552   x)
   3553     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   3554 $as_echo "none needed" >&6; } ;;
   3555   xno)
   3556     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   3557 $as_echo "unsupported" >&6; } ;;
   3558   *)
   3559     CC="$CC $ac_cv_prog_cc_c89"
   3560     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
   3561 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3562 esac
   3563 
   3564 
   3565 ac_ext=c
   3566 ac_cpp='$CPP $CPPFLAGS'
   3567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3570 DEPDIR="${am__leading_dot}deps"
   3571 
   3572 ac_config_commands="$ac_config_commands depfiles"
   3573 
   3574 
   3575 am_make=${MAKE-make}
   3576 cat > confinc << 'END'
   3577 am__doit:
   3578 	@echo this is the am__doit target
   3579 .PHONY: am__doit
   3580 END
   3581 # If we don't find an include directive, just comment out the code.
   3582 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   3583 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3584 am__include="#"
   3585 am__quote=
   3586 _am_result=none
   3587 # First try GNU make style include.
   3588 echo "include confinc" > confmf
   3589 # Ignore all kinds of additional output from `make'.
   3590 case `$am_make -s -f confmf 2> /dev/null` in #(
   3591 *the\ am__doit\ target*)
   3592   am__include=include
   3593   am__quote=
   3594   _am_result=GNU
   3595   ;;
   3596 esac
   3597 # Now try BSD make style include.
   3598 if test "$am__include" = "#"; then
   3599    echo '.include "confinc"' > confmf
   3600    case `$am_make -s -f confmf 2> /dev/null` in #(
   3601    *the\ am__doit\ target*)
   3602      am__include=.include
   3603      am__quote="\""
   3604      _am_result=BSD
   3605      ;;
   3606    esac
   3607 fi
   3608 
   3609 
   3610 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
   3611 $as_echo "$_am_result" >&6; }
   3612 rm -f confinc confmf
   3613 
   3614 # Check whether --enable-dependency-tracking was given.
   3615 if test "${enable_dependency_tracking+set}" = set; then
   3616   enableval=$enable_dependency_tracking;
   3617 fi
   3618 
   3619 if test "x$enable_dependency_tracking" != xno; then
   3620   am_depcomp="$ac_aux_dir/depcomp"
   3621   AMDEPBACKSLASH='\'
   3622 fi
   3623  if test "x$enable_dependency_tracking" != xno; then
   3624   AMDEP_TRUE=
   3625   AMDEP_FALSE='#'
   3626 else
   3627   AMDEP_TRUE='#'
   3628   AMDEP_FALSE=
   3629 fi
   3630 
   3631 
   3632 
   3633 depcc="$CC"   am_compiler_list=
   3634 
   3635 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3636 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3637 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3638   $as_echo_n "(cached) " >&6
   3639 else
   3640   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3641   # We make a subdir and do the tests there.  Otherwise we can end up
   3642   # making bogus files that we don't know about and never remove.  For
   3643   # instance it was reported that on HP-UX the gcc test will end up
   3644   # making a dummy file named `D' -- because `-MD' means `put the output
   3645   # in D'.
   3646   mkdir conftest.dir
   3647   # Copy depcomp to subdir because otherwise we won't find it if we're
   3648   # using a relative directory.
   3649   cp "$am_depcomp" conftest.dir
   3650   cd conftest.dir
   3651   # We will build objects and dependencies in a subdirectory because
   3652   # it helps to detect inapplicable dependency modes.  For instance
   3653   # both Tru64's cc and ICC support -MD to output dependencies as a
   3654   # side effect of compilation, but ICC will put the dependencies in
   3655   # the current directory while Tru64 will put them in the object
   3656   # directory.
   3657   mkdir sub
   3658 
   3659   am_cv_CC_dependencies_compiler_type=none
   3660   if test "$am_compiler_list" = ""; then
   3661      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3662   fi
   3663   am__universal=false
   3664   case " $depcc " in #(
   3665      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3666      esac
   3667 
   3668   for depmode in $am_compiler_list; do
   3669     # Setup a source with many dependencies, because some compilers
   3670     # like to wrap large dependency lists on column 80 (with \), and
   3671     # we should not choose a depcomp mode which is confused by this.
   3672     #
   3673     # We need to recreate these files for each test, as the compiler may
   3674     # overwrite some of them when testing with obscure command lines.
   3675     # This happens at least with the AIX C compiler.
   3676     : > sub/conftest.c
   3677     for i in 1 2 3 4 5 6; do
   3678       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3679       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3680       # Solaris 8's {/usr,}/bin/sh.
   3681       touch sub/conftst$i.h
   3682     done
   3683     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3684 
   3685     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3686     # mode.  It turns out that the SunPro C++ compiler does not properly
   3687     # handle `-M -o', and we need to detect this.  Also, some Intel
   3688     # versions had trouble with output in subdirs
   3689     am__obj=sub/conftest.${OBJEXT-o}
   3690     am__minus_obj="-o $am__obj"
   3691     case $depmode in
   3692     gcc)
   3693       # This depmode causes a compiler race in universal mode.
   3694       test "$am__universal" = false || continue
   3695       ;;
   3696     nosideeffect)
   3697       # after this tag, mechanisms are not by side-effect, so they'll
   3698       # only be used when explicitly requested
   3699       if test "x$enable_dependency_tracking" = xyes; then
   3700 	continue
   3701       else
   3702 	break
   3703       fi
   3704       ;;
   3705     msvisualcpp | msvcmsys)
   3706       # This compiler won't grok `-c -o', but also, the minuso test has
   3707       # not run yet.  These depmodes are late enough in the game, and
   3708       # so weak that their functioning should not be impacted.
   3709       am__obj=conftest.${OBJEXT-o}
   3710       am__minus_obj=
   3711       ;;
   3712     none) break ;;
   3713     esac
   3714     if depmode=$depmode \
   3715        source=sub/conftest.c object=$am__obj \
   3716        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3717        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3718          >/dev/null 2>conftest.err &&
   3719        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3720        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3721        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3722        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3723       # icc doesn't choke on unknown options, it will just issue warnings
   3724       # or remarks (even with -Werror).  So we grep stderr for any message
   3725       # that says an option was ignored or not supported.
   3726       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3727       #   icc: Command line warning: ignoring option '-M'; no argument required
   3728       # The diagnosis changed in icc 8.0:
   3729       #   icc: Command line remark: option '-MP' not supported
   3730       if (grep 'ignoring option' conftest.err ||
   3731           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3732         am_cv_CC_dependencies_compiler_type=$depmode
   3733         break
   3734       fi
   3735     fi
   3736   done
   3737 
   3738   cd ..
   3739   rm -rf conftest.dir
   3740 else
   3741   am_cv_CC_dependencies_compiler_type=none
   3742 fi
   3743 
   3744 fi
   3745 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3746 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3747 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3748 
   3749  if
   3750   test "x$enable_dependency_tracking" != xno \
   3751   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3752   am__fastdepCC_TRUE=
   3753   am__fastdepCC_FALSE='#'
   3754 else
   3755   am__fastdepCC_TRUE='#'
   3756   am__fastdepCC_FALSE=
   3757 fi
   3758 
   3759 
   3760 # Check whether --enable-shared was given.
   3761 if test "${enable_shared+set}" = set; then
   3762   enableval=$enable_shared; p=${PACKAGE-default}
   3763     case $enableval in
   3764     yes) enable_shared=yes ;;
   3765     no) enable_shared=no ;;
   3766     *)
   3767       enable_shared=no
   3768       # Look at the argument we got.  We use all the common list separators.
   3769       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3770       for pkg in $enableval; do
   3771 	IFS="$lt_save_ifs"
   3772 	if test "X$pkg" = "X$p"; then
   3773 	  enable_shared=yes
   3774 	fi
   3775       done
   3776       IFS="$lt_save_ifs"
   3777       ;;
   3778     esac
   3779 else
   3780   enable_shared=yes
   3781 fi
   3782 
   3783 
   3784 # Check whether --enable-static was given.
   3785 if test "${enable_static+set}" = set; then
   3786   enableval=$enable_static; p=${PACKAGE-default}
   3787     case $enableval in
   3788     yes) enable_static=yes ;;
   3789     no) enable_static=no ;;
   3790     *)
   3791      enable_static=no
   3792       # Look at the argument we got.  We use all the common list separators.
   3793       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3794       for pkg in $enableval; do
   3795 	IFS="$lt_save_ifs"
   3796 	if test "X$pkg" = "X$p"; then
   3797 	  enable_static=yes
   3798 	fi
   3799       done
   3800       IFS="$lt_save_ifs"
   3801       ;;
   3802     esac
   3803 else
   3804   enable_static=yes
   3805 fi
   3806 
   3807 
   3808 # Check whether --enable-fast-install was given.
   3809 if test "${enable_fast_install+set}" = set; then
   3810   enableval=$enable_fast_install; p=${PACKAGE-default}
   3811     case $enableval in
   3812     yes) enable_fast_install=yes ;;
   3813     no) enable_fast_install=no ;;
   3814     *)
   3815       enable_fast_install=no
   3816       # Look at the argument we got.  We use all the common list separators.
   3817       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   3818       for pkg in $enableval; do
   3819 	IFS="$lt_save_ifs"
   3820 	if test "X$pkg" = "X$p"; then
   3821 	  enable_fast_install=yes
   3822 	fi
   3823       done
   3824       IFS="$lt_save_ifs"
   3825       ;;
   3826     esac
   3827 else
   3828   enable_fast_install=yes
   3829 fi
   3830 
   3831 
   3832 # Make sure we can run config.sub.
   3833 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3834   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
   3835 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
   3836    { (exit 1); exit 1; }; }
   3837 
   3838 { $as_echo "$as_me:$LINENO: checking build system type" >&5
   3839 $as_echo_n "checking build system type... " >&6; }
   3840 if test "${ac_cv_build+set}" = set; then
   3841   $as_echo_n "(cached) " >&6
   3842 else
   3843   ac_build_alias=$build_alias
   3844 test "x$ac_build_alias" = x &&
   3845   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3846 test "x$ac_build_alias" = x &&
   3847   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   3848 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   3849    { (exit 1); exit 1; }; }
   3850 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3851   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
   3852 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
   3853    { (exit 1); exit 1; }; }
   3854 
   3855 fi
   3856 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   3857 $as_echo "$ac_cv_build" >&6; }
   3858 case $ac_cv_build in
   3859 *-*-*) ;;
   3860 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
   3861 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
   3862    { (exit 1); exit 1; }; };;
   3863 esac
   3864 build=$ac_cv_build
   3865 ac_save_IFS=$IFS; IFS='-'
   3866 set x $ac_cv_build
   3867 shift
   3868 build_cpu=$1
   3869 build_vendor=$2
   3870 shift; shift
   3871 # Remember, the first character of IFS is used to create $*,
   3872 # except with old shells:
   3873 build_os=$*
   3874 IFS=$ac_save_IFS
   3875 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3876 
   3877 
   3878 { $as_echo "$as_me:$LINENO: checking host system type" >&5
   3879 $as_echo_n "checking host system type... " >&6; }
   3880 if test "${ac_cv_host+set}" = set; then
   3881   $as_echo_n "(cached) " >&6
   3882 else
   3883   if test "x$host_alias" = x; then
   3884   ac_cv_host=$ac_cv_build
   3885 else
   3886   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3887     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
   3888 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
   3889    { (exit 1); exit 1; }; }
   3890 fi
   3891 
   3892 fi
   3893 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   3894 $as_echo "$ac_cv_host" >&6; }
   3895 case $ac_cv_host in
   3896 *-*-*) ;;
   3897 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
   3898 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
   3899    { (exit 1); exit 1; }; };;
   3900 esac
   3901 host=$ac_cv_host
   3902 ac_save_IFS=$IFS; IFS='-'
   3903 set x $ac_cv_host
   3904 shift
   3905 host_cpu=$1
   3906 host_vendor=$2
   3907 shift; shift
   3908 # Remember, the first character of IFS is used to create $*,
   3909 # except with old shells:
   3910 host_os=$*
   3911 IFS=$ac_save_IFS
   3912 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3913 
   3914 
   3915 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   3916 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3917 if test "${lt_cv_path_SED+set}" = set; then
   3918   $as_echo_n "(cached) " >&6
   3919 else
   3920   # Loop through the user's path and test for sed and gsed.
   3921 # Then use that list of sed's as ones to test for truncation.
   3922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3923 for as_dir in $PATH
   3924 do
   3925   IFS=$as_save_IFS
   3926   test -z "$as_dir" && as_dir=.
   3927   for lt_ac_prog in sed gsed; do
   3928     for ac_exec_ext in '' $ac_executable_extensions; do
   3929       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
   3930         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   3931       fi
   3932     done
   3933   done
   3934 done
   3935 IFS=$as_save_IFS
   3936 lt_ac_max=0
   3937 lt_ac_count=0
   3938 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   3939 # along with /bin/sed that truncates output.
   3940 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   3941   test ! -f $lt_ac_sed && continue
   3942   cat /dev/null > conftest.in
   3943   lt_ac_count=0
   3944   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   3945   # Check for GNU sed and select it if it is found.
   3946   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   3947     lt_cv_path_SED=$lt_ac_sed
   3948     break
   3949   fi
   3950   while true; do
   3951     cat conftest.in conftest.in >conftest.tmp
   3952     mv conftest.tmp conftest.in
   3953     cp conftest.in conftest.nl
   3954     echo >>conftest.nl
   3955     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   3956     cmp -s conftest.out conftest.nl || break
   3957     # 10000 chars as input seems more than enough
   3958     test $lt_ac_count -gt 10 && break
   3959     lt_ac_count=`expr $lt_ac_count + 1`
   3960     if test $lt_ac_count -gt $lt_ac_max; then
   3961       lt_ac_max=$lt_ac_count
   3962       lt_cv_path_SED=$lt_ac_sed
   3963     fi
   3964   done
   3965 done
   3966 
   3967 fi
   3968 
   3969 SED=$lt_cv_path_SED
   3970 
   3971 { $as_echo "$as_me:$LINENO: result: $SED" >&5
   3972 $as_echo "$SED" >&6; }
   3973 
   3974 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
   3975 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3976 if test "${ac_cv_path_GREP+set}" = set; then
   3977   $as_echo_n "(cached) " >&6
   3978 else
   3979   if test -z "$GREP"; then
   3980   ac_path_GREP_found=false
   3981   # Loop through the user's path and test for each of PROGNAME-LIST
   3982   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3983 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3984 do
   3985   IFS=$as_save_IFS
   3986   test -z "$as_dir" && as_dir=.
   3987   for ac_prog in grep ggrep; do
   3988     for ac_exec_ext in '' $ac_executable_extensions; do
   3989       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3990       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   3991 # Check for GNU ac_path_GREP and select it if it is found.
   3992   # Check for GNU $ac_path_GREP
   3993 case `"$ac_path_GREP" --version 2>&1` in
   3994 *GNU*)
   3995   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3996 *)
   3997   ac_count=0
   3998   $as_echo_n 0123456789 >"conftest.in"
   3999   while :
   4000   do
   4001     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4002     mv "conftest.tmp" "conftest.in"
   4003     cp "conftest.in" "conftest.nl"
   4004     $as_echo 'GREP' >> "conftest.nl"
   4005     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4006     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4007     ac_count=`expr $ac_count + 1`
   4008     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4009       # Best one so far, save it but keep looking for a better one
   4010       ac_cv_path_GREP="$ac_path_GREP"
   4011       ac_path_GREP_max=$ac_count
   4012     fi
   4013     # 10*(2^10) chars as input seems more than enough
   4014     test $ac_count -gt 10 && break
   4015   done
   4016   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4017 esac
   4018 
   4019       $ac_path_GREP_found && break 3
   4020     done
   4021   done
   4022 done
   4023 IFS=$as_save_IFS
   4024   if test -z "$ac_cv_path_GREP"; then
   4025     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4026 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4027    { (exit 1); exit 1; }; }
   4028   fi
   4029 else
   4030   ac_cv_path_GREP=$GREP
   4031 fi
   4032 
   4033 fi
   4034 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
   4035 $as_echo "$ac_cv_path_GREP" >&6; }
   4036  GREP="$ac_cv_path_GREP"
   4037 
   4038 
   4039 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
   4040 $as_echo_n "checking for egrep... " >&6; }
   4041 if test "${ac_cv_path_EGREP+set}" = set; then
   4042   $as_echo_n "(cached) " >&6
   4043 else
   4044   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4045    then ac_cv_path_EGREP="$GREP -E"
   4046    else
   4047      if test -z "$EGREP"; then
   4048   ac_path_EGREP_found=false
   4049   # Loop through the user's path and test for each of PROGNAME-LIST
   4050   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4051 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4052 do
   4053   IFS=$as_save_IFS
   4054   test -z "$as_dir" && as_dir=.
   4055   for ac_prog in egrep; do
   4056     for ac_exec_ext in '' $ac_executable_extensions; do
   4057       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4058       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4059 # Check for GNU ac_path_EGREP and select it if it is found.
   4060   # Check for GNU $ac_path_EGREP
   4061 case `"$ac_path_EGREP" --version 2>&1` in
   4062 *GNU*)
   4063   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4064 *)
   4065   ac_count=0
   4066   $as_echo_n 0123456789 >"conftest.in"
   4067   while :
   4068   do
   4069     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4070     mv "conftest.tmp" "conftest.in"
   4071     cp "conftest.in" "conftest.nl"
   4072     $as_echo 'EGREP' >> "conftest.nl"
   4073     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4074     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4075     ac_count=`expr $ac_count + 1`
   4076     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4077       # Best one so far, save it but keep looking for a better one
   4078       ac_cv_path_EGREP="$ac_path_EGREP"
   4079       ac_path_EGREP_max=$ac_count
   4080     fi
   4081     # 10*(2^10) chars as input seems more than enough
   4082     test $ac_count -gt 10 && break
   4083   done
   4084   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4085 esac
   4086 
   4087       $ac_path_EGREP_found && break 3
   4088     done
   4089   done
   4090 done
   4091 IFS=$as_save_IFS
   4092   if test -z "$ac_cv_path_EGREP"; then
   4093     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
   4094 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
   4095    { (exit 1); exit 1; }; }
   4096   fi
   4097 else
   4098   ac_cv_path_EGREP=$EGREP
   4099 fi
   4100 
   4101    fi
   4102 fi
   4103 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
   4104 $as_echo "$ac_cv_path_EGREP" >&6; }
   4105  EGREP="$ac_cv_path_EGREP"
   4106 
   4107 
   4108 
   4109 # Check whether --with-gnu-ld was given.
   4110 if test "${with_gnu_ld+set}" = set; then
   4111   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4112 else
   4113   with_gnu_ld=no
   4114 fi
   4115 
   4116 ac_prog=ld
   4117 if test "$GCC" = yes; then
   4118   # Check if gcc -print-prog-name=ld gives a path.
   4119   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   4120 $as_echo_n "checking for ld used by $CC... " >&6; }
   4121   case $host in
   4122   *-*-mingw*)
   4123     # gcc leaves a trailing carriage return which upsets mingw
   4124     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4125   *)
   4126     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4127   esac
   4128   case $ac_prog in
   4129     # Accept absolute paths.
   4130     [\\/]* | ?:[\\/]*)
   4131       re_direlt='/[^/][^/]*/\.\./'
   4132       # Canonicalize the pathname of ld
   4133       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   4134       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   4135 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   4136       done
   4137       test -z "$LD" && LD="$ac_prog"
   4138       ;;
   4139   "")
   4140     # If it fails, then pretend we aren't using GCC.
   4141     ac_prog=ld
   4142     ;;
   4143   *)
   4144     # If it is relative, then search for the first ld in PATH.
   4145     with_gnu_ld=unknown
   4146     ;;
   4147   esac
   4148 elif test "$with_gnu_ld" = yes; then
   4149   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   4150 $as_echo_n "checking for GNU ld... " >&6; }
   4151 else
   4152   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   4153 $as_echo_n "checking for non-GNU ld... " >&6; }
   4154 fi
   4155 if test "${lt_cv_path_LD+set}" = set; then
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   if test -z "$LD"; then
   4159   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4160   for ac_dir in $PATH; do
   4161     IFS="$lt_save_ifs"
   4162     test -z "$ac_dir" && ac_dir=.
   4163     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4164       lt_cv_path_LD="$ac_dir/$ac_prog"
   4165       # Check to see if the program is GNU ld.  I'd rather use --version,
   4166       # but apparently some variants of GNU ld only accept -v.
   4167       # Break only if it was the GNU/non-GNU ld that we prefer.
   4168       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4169       *GNU* | *'with BFD'*)
   4170 	test "$with_gnu_ld" != no && break
   4171 	;;
   4172       *)
   4173 	test "$with_gnu_ld" != yes && break
   4174 	;;
   4175       esac
   4176     fi
   4177   done
   4178   IFS="$lt_save_ifs"
   4179 else
   4180   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4181 fi
   4182 fi
   4183 
   4184 LD="$lt_cv_path_LD"
   4185 if test -n "$LD"; then
   4186   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   4187 $as_echo "$LD" >&6; }
   4188 else
   4189   { $as_echo "$as_me:$LINENO: result: no" >&5
   4190 $as_echo "no" >&6; }
   4191 fi
   4192 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   4193 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   4194    { (exit 1); exit 1; }; }
   4195 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   4196 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4197 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   4198   $as_echo_n "(cached) " >&6
   4199 else
   4200   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4201 case `$LD -v 2>&1 </dev/null` in
   4202 *GNU* | *'with BFD'*)
   4203   lt_cv_prog_gnu_ld=yes
   4204   ;;
   4205 *)
   4206   lt_cv_prog_gnu_ld=no
   4207   ;;
   4208 esac
   4209 fi
   4210 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   4211 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4212 with_gnu_ld=$lt_cv_prog_gnu_ld
   4213 
   4214 
   4215 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   4216 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4217 if test "${lt_cv_ld_reload_flag+set}" = set; then
   4218   $as_echo_n "(cached) " >&6
   4219 else
   4220   lt_cv_ld_reload_flag='-r'
   4221 fi
   4222 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   4223 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4224 reload_flag=$lt_cv_ld_reload_flag
   4225 case $reload_flag in
   4226 "" | " "*) ;;
   4227 *) reload_flag=" $reload_flag" ;;
   4228 esac
   4229 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4230 case $host_os in
   4231   darwin*)
   4232     if test "$GCC" = yes; then
   4233       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4234     else
   4235       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4236     fi
   4237     ;;
   4238 esac
   4239 
   4240 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
   4241 $as_echo_n "checking for BSD-compatible nm... " >&6; }
   4242 if test "${lt_cv_path_NM+set}" = set; then
   4243   $as_echo_n "(cached) " >&6
   4244 else
   4245   if test -n "$NM"; then
   4246   # Let the user override the test.
   4247   lt_cv_path_NM="$NM"
   4248 else
   4249   lt_nm_to_check="${ac_tool_prefix}nm"
   4250   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4251     lt_nm_to_check="$lt_nm_to_check nm"
   4252   fi
   4253   for lt_tmp_nm in $lt_nm_to_check; do
   4254     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4255     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4256       IFS="$lt_save_ifs"
   4257       test -z "$ac_dir" && ac_dir=.
   4258       tmp_nm="$ac_dir/$lt_tmp_nm"
   4259       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4260 	# Check to see if the nm accepts a BSD-compat flag.
   4261 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4262 	#   nm: unknown option "B" ignored
   4263 	# Tru64's nm complains that /dev/null is an invalid object file
   4264 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4265 	*/dev/null* | *'Invalid file or object type'*)
   4266 	  lt_cv_path_NM="$tmp_nm -B"
   4267 	  break
   4268 	  ;;
   4269 	*)
   4270 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4271 	  */dev/null*)
   4272 	    lt_cv_path_NM="$tmp_nm -p"
   4273 	    break
   4274 	    ;;
   4275 	  *)
   4276 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4277 	    continue # so that we can try to find one that supports BSD flags
   4278 	    ;;
   4279 	  esac
   4280 	  ;;
   4281 	esac
   4282       fi
   4283     done
   4284     IFS="$lt_save_ifs"
   4285   done
   4286   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
   4287 fi
   4288 fi
   4289 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   4290 $as_echo "$lt_cv_path_NM" >&6; }
   4291 NM="$lt_cv_path_NM"
   4292 
   4293 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
   4294 $as_echo_n "checking whether ln -s works... " >&6; }
   4295 LN_S=$as_ln_s
   4296 if test "$LN_S" = "ln -s"; then
   4297   { $as_echo "$as_me:$LINENO: result: yes" >&5
   4298 $as_echo "yes" >&6; }
   4299 else
   4300   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   4301 $as_echo "no, using $LN_S" >&6; }
   4302 fi
   4303 
   4304 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   4305 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4306 if test "${lt_cv_deplibs_check_method+set}" = set; then
   4307   $as_echo_n "(cached) " >&6
   4308 else
   4309   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4310 lt_cv_file_magic_test_file=
   4311 lt_cv_deplibs_check_method='unknown'
   4312 # Need to set the preceding variable on all platforms that support
   4313 # interlibrary dependencies.
   4314 # 'none' -- dependencies not supported.
   4315 # `unknown' -- same as none, but documents that we really don't know.
   4316 # 'pass_all' -- all dependencies passed with no checks.
   4317 # 'test_compile' -- check by making test program.
   4318 # 'file_magic [[regex]]' -- check by looking for files in library path
   4319 # which responds to the $file_magic_cmd with a given extended regex.
   4320 # If you have `file' or equivalent on your system and you're not sure
   4321 # whether `pass_all' will *always* work, you probably want this one.
   4322 
   4323 case $host_os in
   4324 aix[4-9]*)
   4325   lt_cv_deplibs_check_method=pass_all
   4326   ;;
   4327 
   4328 beos*)
   4329   lt_cv_deplibs_check_method=pass_all
   4330   ;;
   4331 
   4332 bsdi[45]*)
   4333   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4334   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4335   lt_cv_file_magic_test_file=/shlib/libc.so
   4336   ;;
   4337 
   4338 cygwin*)
   4339   # func_win32_libid is a shell function defined in ltmain.sh
   4340   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4341   lt_cv_file_magic_cmd='func_win32_libid'
   4342   ;;
   4343 
   4344 mingw* | pw32*)
   4345   # Base MSYS/MinGW do not provide the 'file' command needed by
   4346   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   4347   # unless we find 'file', for example because we are cross-compiling.
   4348   if ( file / ) >/dev/null 2>&1; then
   4349     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   4350     lt_cv_file_magic_cmd='func_win32_libid'
   4351   else
   4352     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   4353     lt_cv_file_magic_cmd='$OBJDUMP -f'
   4354   fi
   4355   ;;
   4356 
   4357 darwin* | rhapsody*)
   4358   lt_cv_deplibs_check_method=pass_all
   4359   ;;
   4360 
   4361 freebsd* | dragonfly*)
   4362   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4363     case $host_cpu in
   4364     i*86 )
   4365       # Not sure whether the presence of OpenBSD here was a mistake.
   4366       # Let's accept both of them until this is cleared up.
   4367       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   4368       lt_cv_file_magic_cmd=/usr/bin/file
   4369       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   4370       ;;
   4371     esac
   4372   else
   4373     lt_cv_deplibs_check_method=pass_all
   4374   fi
   4375   ;;
   4376 
   4377 gnu*)
   4378   lt_cv_deplibs_check_method=pass_all
   4379   ;;
   4380 
   4381 hpux10.20* | hpux11*)
   4382   lt_cv_file_magic_cmd=/usr/bin/file
   4383   case $host_cpu in
   4384   ia64*)
   4385     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   4386     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   4387     ;;
   4388   hppa*64*)
   4389     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]'
   4390     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   4391     ;;
   4392   *)
   4393     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   4394     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   4395     ;;
   4396   esac
   4397   ;;
   4398 
   4399 interix[3-9]*)
   4400   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   4401   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   4402   ;;
   4403 
   4404 irix5* | irix6* | nonstopux*)
   4405   case $LD in
   4406   *-32|*"-32 ") libmagic=32-bit;;
   4407   *-n32|*"-n32 ") libmagic=N32;;
   4408   *-64|*"-64 ") libmagic=64-bit;;
   4409   *) libmagic=never-match;;
   4410   esac
   4411   lt_cv_deplibs_check_method=pass_all
   4412   ;;
   4413 
   4414 # This must be Linux ELF.
   4415 linux* | k*bsd*-gnu)
   4416   lt_cv_deplibs_check_method=pass_all
   4417   ;;
   4418 
   4419 netbsd*)
   4420   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
   4421     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4422   else
   4423     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   4424   fi
   4425   ;;
   4426 
   4427 newos6*)
   4428   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   4429   lt_cv_file_magic_cmd=/usr/bin/file
   4430   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   4431   ;;
   4432 
   4433 nto-qnx*)
   4434   lt_cv_deplibs_check_method=unknown
   4435   ;;
   4436 
   4437 openbsd*)
   4438   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   4439     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   4440   else
   4441     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   4442   fi
   4443   ;;
   4444 
   4445 osf3* | osf4* | osf5*)
   4446   lt_cv_deplibs_check_method=pass_all
   4447   ;;
   4448 
   4449 rdos*)
   4450   lt_cv_deplibs_check_method=pass_all
   4451   ;;
   4452 
   4453 solaris*)
   4454   lt_cv_deplibs_check_method=pass_all
   4455   ;;
   4456 
   4457 sysv4 | sysv4.3*)
   4458   case $host_vendor in
   4459   motorola)
   4460     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]'
   4461     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   4462     ;;
   4463   ncr)
   4464     lt_cv_deplibs_check_method=pass_all
   4465     ;;
   4466   sequent)
   4467     lt_cv_file_magic_cmd='/bin/file'
   4468     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   4469     ;;
   4470   sni)
   4471     lt_cv_file_magic_cmd='/bin/file'
   4472     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   4473     lt_cv_file_magic_test_file=/lib/libc.so
   4474     ;;
   4475   siemens)
   4476     lt_cv_deplibs_check_method=pass_all
   4477     ;;
   4478   pc)
   4479     lt_cv_deplibs_check_method=pass_all
   4480     ;;
   4481   esac
   4482   ;;
   4483 
   4484 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   4485   lt_cv_deplibs_check_method=pass_all
   4486   ;;
   4487 esac
   4488 
   4489 fi
   4490 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   4491 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   4492 file_magic_cmd=$lt_cv_file_magic_cmd
   4493 deplibs_check_method=$lt_cv_deplibs_check_method
   4494 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   4495 
   4496 
   4497 
   4498 
   4499 # If no C compiler was specified, use CC.
   4500 LTCC=${LTCC-"$CC"}
   4501 
   4502 # If no C compiler flags were specified, use CFLAGS.
   4503 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   4504 
   4505 # Allow CC to be a program name with arguments.
   4506 compiler=$CC
   4507 
   4508 
   4509 # Check whether --enable-libtool-lock was given.
   4510 if test "${enable_libtool_lock+set}" = set; then
   4511   enableval=$enable_libtool_lock;
   4512 fi
   4513 
   4514 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   4515 
   4516 # Some flags need to be propagated to the compiler or linker for good
   4517 # libtool support.
   4518 case $host in
   4519 ia64-*-hpux*)
   4520   # Find out which ABI we are using.
   4521   echo 'int i;' > conftest.$ac_ext
   4522   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4523   (eval $ac_compile) 2>&5
   4524   ac_status=$?
   4525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4526   (exit $ac_status); }; then
   4527     case `/usr/bin/file conftest.$ac_objext` in
   4528     *ELF-32*)
   4529       HPUX_IA64_MODE="32"
   4530       ;;
   4531     *ELF-64*)
   4532       HPUX_IA64_MODE="64"
   4533       ;;
   4534     esac
   4535   fi
   4536   rm -rf conftest*
   4537   ;;
   4538 *-*-irix6*)
   4539   # Find out which ABI we are using.
   4540   echo '#line 4540 "configure"' > conftest.$ac_ext
   4541   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4542   (eval $ac_compile) 2>&5
   4543   ac_status=$?
   4544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4545   (exit $ac_status); }; then
   4546    if test "$lt_cv_prog_gnu_ld" = yes; then
   4547     case `/usr/bin/file conftest.$ac_objext` in
   4548     *32-bit*)
   4549       LD="${LD-ld} -melf32bsmip"
   4550       ;;
   4551     *N32*)
   4552       LD="${LD-ld} -melf32bmipn32"
   4553       ;;
   4554     *64-bit*)
   4555       LD="${LD-ld} -melf64bmip"
   4556       ;;
   4557     esac
   4558    else
   4559     case `/usr/bin/file conftest.$ac_objext` in
   4560     *32-bit*)
   4561       LD="${LD-ld} -32"
   4562       ;;
   4563     *N32*)
   4564       LD="${LD-ld} -n32"
   4565       ;;
   4566     *64-bit*)
   4567       LD="${LD-ld} -64"
   4568       ;;
   4569     esac
   4570    fi
   4571   fi
   4572   rm -rf conftest*
   4573   ;;
   4574 
   4575 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   4576 s390*-*linux*|sparc*-*linux*)
   4577   # Find out which ABI we are using.
   4578   echo 'int i;' > conftest.$ac_ext
   4579   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4580   (eval $ac_compile) 2>&5
   4581   ac_status=$?
   4582   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4583   (exit $ac_status); }; then
   4584     case `/usr/bin/file conftest.o` in
   4585     *32-bit*)
   4586       case $host in
   4587         x86_64-*kfreebsd*-gnu)
   4588           LD="${LD-ld} -m elf_i386_fbsd"
   4589           ;;
   4590         x86_64-*linux*)
   4591           LD="${LD-ld} -m elf_i386"
   4592           ;;
   4593         ppc64-*linux*|powerpc64-*linux*)
   4594           LD="${LD-ld} -m elf32ppclinux"
   4595           ;;
   4596         s390x-*linux*)
   4597           LD="${LD-ld} -m elf_s390"
   4598           ;;
   4599         sparc64-*linux*)
   4600           LD="${LD-ld} -m elf32_sparc"
   4601           ;;
   4602       esac
   4603       ;;
   4604     *64-bit*)
   4605       case $host in
   4606         x86_64-*kfreebsd*-gnu)
   4607           LD="${LD-ld} -m elf_x86_64_fbsd"
   4608           ;;
   4609         x86_64-*linux*)
   4610           LD="${LD-ld} -m elf_x86_64"
   4611           ;;
   4612         ppc*-*linux*|powerpc*-*linux*)
   4613           LD="${LD-ld} -m elf64ppc"
   4614           ;;
   4615         s390*-*linux*)
   4616           LD="${LD-ld} -m elf64_s390"
   4617           ;;
   4618         sparc*-*linux*)
   4619           LD="${LD-ld} -m elf64_sparc"
   4620           ;;
   4621       esac
   4622       ;;
   4623     esac
   4624   fi
   4625   rm -rf conftest*
   4626   ;;
   4627 
   4628 *-*-sco3.2v5*)
   4629   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   4630   SAVE_CFLAGS="$CFLAGS"
   4631   CFLAGS="$CFLAGS -belf"
   4632   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   4633 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   4634 if test "${lt_cv_cc_needs_belf+set}" = set; then
   4635   $as_echo_n "(cached) " >&6
   4636 else
   4637   ac_ext=c
   4638 ac_cpp='$CPP $CPPFLAGS'
   4639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4642 
   4643      cat >conftest.$ac_ext <<_ACEOF
   4644 /* confdefs.h.  */
   4645 _ACEOF
   4646 cat confdefs.h >>conftest.$ac_ext
   4647 cat >>conftest.$ac_ext <<_ACEOF
   4648 /* end confdefs.h.  */
   4649 
   4650 int
   4651 main ()
   4652 {
   4653 
   4654   ;
   4655   return 0;
   4656 }
   4657 _ACEOF
   4658 rm -f conftest.$ac_objext conftest$ac_exeext
   4659 if { (ac_try="$ac_link"
   4660 case "(($ac_try" in
   4661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4662   *) ac_try_echo=$ac_try;;
   4663 esac
   4664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4665 $as_echo "$ac_try_echo") >&5
   4666   (eval "$ac_link") 2>conftest.er1
   4667   ac_status=$?
   4668   grep -v '^ *+' conftest.er1 >conftest.err
   4669   rm -f conftest.er1
   4670   cat conftest.err >&5
   4671   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4672   (exit $ac_status); } && {
   4673 	 test -z "$ac_c_werror_flag" ||
   4674 	 test ! -s conftest.err
   4675        } && test -s conftest$ac_exeext && {
   4676 	 test "$cross_compiling" = yes ||
   4677 	 $as_test_x conftest$ac_exeext
   4678        }; then
   4679   lt_cv_cc_needs_belf=yes
   4680 else
   4681   $as_echo "$as_me: failed program was:" >&5
   4682 sed 's/^/| /' conftest.$ac_ext >&5
   4683 
   4684 	lt_cv_cc_needs_belf=no
   4685 fi
   4686 
   4687 rm -rf conftest.dSYM
   4688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   4689       conftest$ac_exeext conftest.$ac_ext
   4690      ac_ext=c
   4691 ac_cpp='$CPP $CPPFLAGS'
   4692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4695 
   4696 fi
   4697 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   4698 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   4699   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   4700     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   4701     CFLAGS="$SAVE_CFLAGS"
   4702   fi
   4703   ;;
   4704 sparc*-*solaris*)
   4705   # Find out which ABI we are using.
   4706   echo 'int i;' > conftest.$ac_ext
   4707   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4708   (eval $ac_compile) 2>&5
   4709   ac_status=$?
   4710   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4711   (exit $ac_status); }; then
   4712     case `/usr/bin/file conftest.o` in
   4713     *64-bit*)
   4714       case $lt_cv_prog_gnu_ld in
   4715       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   4716       *)
   4717         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   4718 	  LD="${LD-ld} -64"
   4719 	fi
   4720 	;;
   4721       esac
   4722       ;;
   4723     esac
   4724   fi
   4725   rm -rf conftest*
   4726   ;;
   4727 
   4728 
   4729 esac
   4730 
   4731 need_locks="$enable_libtool_lock"
   4732 
   4733 
   4734 ac_ext=c
   4735 ac_cpp='$CPP $CPPFLAGS'
   4736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4739 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4740 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4741 # On Suns, sometimes $CPP names a directory.
   4742 if test -n "$CPP" && test -d "$CPP"; then
   4743   CPP=
   4744 fi
   4745 if test -z "$CPP"; then
   4746   if test "${ac_cv_prog_CPP+set}" = set; then
   4747   $as_echo_n "(cached) " >&6
   4748 else
   4749       # Double quotes because CPP needs to be expanded
   4750     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4751     do
   4752       ac_preproc_ok=false
   4753 for ac_c_preproc_warn_flag in '' yes
   4754 do
   4755   # Use a header file that comes with gcc, so configuring glibc
   4756   # with a fresh cross-compiler works.
   4757   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4758   # <limits.h> exists even on freestanding compilers.
   4759   # On the NeXT, cc -E runs the code through the compiler's parser,
   4760   # not just through cpp. "Syntax error" is here to catch this case.
   4761   cat >conftest.$ac_ext <<_ACEOF
   4762 /* confdefs.h.  */
   4763 _ACEOF
   4764 cat confdefs.h >>conftest.$ac_ext
   4765 cat >>conftest.$ac_ext <<_ACEOF
   4766 /* end confdefs.h.  */
   4767 #ifdef __STDC__
   4768 # include <limits.h>
   4769 #else
   4770 # include <assert.h>
   4771 #endif
   4772 		     Syntax error
   4773 _ACEOF
   4774 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4775 case "(($ac_try" in
   4776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4777   *) ac_try_echo=$ac_try;;
   4778 esac
   4779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4780 $as_echo "$ac_try_echo") >&5
   4781   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4782   ac_status=$?
   4783   grep -v '^ *+' conftest.er1 >conftest.err
   4784   rm -f conftest.er1
   4785   cat conftest.err >&5
   4786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4787   (exit $ac_status); } >/dev/null && {
   4788 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4789 	 test ! -s conftest.err
   4790        }; then
   4791   :
   4792 else
   4793   $as_echo "$as_me: failed program was:" >&5
   4794 sed 's/^/| /' conftest.$ac_ext >&5
   4795 
   4796   # Broken: fails on valid input.
   4797 continue
   4798 fi
   4799 
   4800 rm -f conftest.err conftest.$ac_ext
   4801 
   4802   # OK, works on sane cases.  Now check whether nonexistent headers
   4803   # can be detected and how.
   4804   cat >conftest.$ac_ext <<_ACEOF
   4805 /* confdefs.h.  */
   4806 _ACEOF
   4807 cat confdefs.h >>conftest.$ac_ext
   4808 cat >>conftest.$ac_ext <<_ACEOF
   4809 /* end confdefs.h.  */
   4810 #include <ac_nonexistent.h>
   4811 _ACEOF
   4812 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4813 case "(($ac_try" in
   4814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4815   *) ac_try_echo=$ac_try;;
   4816 esac
   4817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4818 $as_echo "$ac_try_echo") >&5
   4819   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4820   ac_status=$?
   4821   grep -v '^ *+' conftest.er1 >conftest.err
   4822   rm -f conftest.er1
   4823   cat conftest.err >&5
   4824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4825   (exit $ac_status); } >/dev/null && {
   4826 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4827 	 test ! -s conftest.err
   4828        }; then
   4829   # Broken: success on invalid input.
   4830 continue
   4831 else
   4832   $as_echo "$as_me: failed program was:" >&5
   4833 sed 's/^/| /' conftest.$ac_ext >&5
   4834 
   4835   # Passes both tests.
   4836 ac_preproc_ok=:
   4837 break
   4838 fi
   4839 
   4840 rm -f conftest.err conftest.$ac_ext
   4841 
   4842 done
   4843 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4844 rm -f conftest.err conftest.$ac_ext
   4845 if $ac_preproc_ok; then
   4846   break
   4847 fi
   4848 
   4849     done
   4850     ac_cv_prog_CPP=$CPP
   4851 
   4852 fi
   4853   CPP=$ac_cv_prog_CPP
   4854 else
   4855   ac_cv_prog_CPP=$CPP
   4856 fi
   4857 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
   4858 $as_echo "$CPP" >&6; }
   4859 ac_preproc_ok=false
   4860 for ac_c_preproc_warn_flag in '' yes
   4861 do
   4862   # Use a header file that comes with gcc, so configuring glibc
   4863   # with a fresh cross-compiler works.
   4864   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4865   # <limits.h> exists even on freestanding compilers.
   4866   # On the NeXT, cc -E runs the code through the compiler's parser,
   4867   # not just through cpp. "Syntax error" is here to catch this case.
   4868   cat >conftest.$ac_ext <<_ACEOF
   4869 /* confdefs.h.  */
   4870 _ACEOF
   4871 cat confdefs.h >>conftest.$ac_ext
   4872 cat >>conftest.$ac_ext <<_ACEOF
   4873 /* end confdefs.h.  */
   4874 #ifdef __STDC__
   4875 # include <limits.h>
   4876 #else
   4877 # include <assert.h>
   4878 #endif
   4879 		     Syntax error
   4880 _ACEOF
   4881 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4882 case "(($ac_try" in
   4883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4884   *) ac_try_echo=$ac_try;;
   4885 esac
   4886 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4887 $as_echo "$ac_try_echo") >&5
   4888   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4889   ac_status=$?
   4890   grep -v '^ *+' conftest.er1 >conftest.err
   4891   rm -f conftest.er1
   4892   cat conftest.err >&5
   4893   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4894   (exit $ac_status); } >/dev/null && {
   4895 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4896 	 test ! -s conftest.err
   4897        }; then
   4898   :
   4899 else
   4900   $as_echo "$as_me: failed program was:" >&5
   4901 sed 's/^/| /' conftest.$ac_ext >&5
   4902 
   4903   # Broken: fails on valid input.
   4904 continue
   4905 fi
   4906 
   4907 rm -f conftest.err conftest.$ac_ext
   4908 
   4909   # OK, works on sane cases.  Now check whether nonexistent headers
   4910   # can be detected and how.
   4911   cat >conftest.$ac_ext <<_ACEOF
   4912 /* confdefs.h.  */
   4913 _ACEOF
   4914 cat confdefs.h >>conftest.$ac_ext
   4915 cat >>conftest.$ac_ext <<_ACEOF
   4916 /* end confdefs.h.  */
   4917 #include <ac_nonexistent.h>
   4918 _ACEOF
   4919 if { (ac_try="$ac_cpp conftest.$ac_ext"
   4920 case "(($ac_try" in
   4921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4922   *) ac_try_echo=$ac_try;;
   4923 esac
   4924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   4925 $as_echo "$ac_try_echo") >&5
   4926   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   4927   ac_status=$?
   4928   grep -v '^ *+' conftest.er1 >conftest.err
   4929   rm -f conftest.er1
   4930   cat conftest.err >&5
   4931   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4932   (exit $ac_status); } >/dev/null && {
   4933 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   4934 	 test ! -s conftest.err
   4935        }; then
   4936   # Broken: success on invalid input.
   4937 continue
   4938 else
   4939   $as_echo "$as_me: failed program was:" >&5
   4940 sed 's/^/| /' conftest.$ac_ext >&5
   4941 
   4942   # Passes both tests.
   4943 ac_preproc_ok=:
   4944 break
   4945 fi
   4946 
   4947 rm -f conftest.err conftest.$ac_ext
   4948 
   4949 done
   4950 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4951 rm -f conftest.err conftest.$ac_ext
   4952 if $ac_preproc_ok; then
   4953   :
   4954 else
   4955   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4956 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4957 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4958 See \`config.log' for more details." >&5
   4959 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4960 See \`config.log' for more details." >&2;}
   4961    { (exit 1); exit 1; }; }; }
   4962 fi
   4963 
   4964 ac_ext=c
   4965 ac_cpp='$CPP $CPPFLAGS'
   4966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4969 
   4970 
   4971 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4972 $as_echo_n "checking for ANSI C header files... " >&6; }
   4973 if test "${ac_cv_header_stdc+set}" = set; then
   4974   $as_echo_n "(cached) " >&6
   4975 else
   4976   cat >conftest.$ac_ext <<_ACEOF
   4977 /* confdefs.h.  */
   4978 _ACEOF
   4979 cat confdefs.h >>conftest.$ac_ext
   4980 cat >>conftest.$ac_ext <<_ACEOF
   4981 /* end confdefs.h.  */
   4982 #include <stdlib.h>
   4983 #include <stdarg.h>
   4984 #include <string.h>
   4985 #include <float.h>
   4986 
   4987 int
   4988 main ()
   4989 {
   4990 
   4991   ;
   4992   return 0;
   4993 }
   4994 _ACEOF
   4995 rm -f conftest.$ac_objext
   4996 if { (ac_try="$ac_compile"
   4997 case "(($ac_try" in
   4998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4999   *) ac_try_echo=$ac_try;;
   5000 esac
   5001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5002 $as_echo "$ac_try_echo") >&5
   5003   (eval "$ac_compile") 2>conftest.er1
   5004   ac_status=$?
   5005   grep -v '^ *+' conftest.er1 >conftest.err
   5006   rm -f conftest.er1
   5007   cat conftest.err >&5
   5008   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5009   (exit $ac_status); } && {
   5010 	 test -z "$ac_c_werror_flag" ||
   5011 	 test ! -s conftest.err
   5012        } && test -s conftest.$ac_objext; then
   5013   ac_cv_header_stdc=yes
   5014 else
   5015   $as_echo "$as_me: failed program was:" >&5
   5016 sed 's/^/| /' conftest.$ac_ext >&5
   5017 
   5018 	ac_cv_header_stdc=no
   5019 fi
   5020 
   5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5022 
   5023 if test $ac_cv_header_stdc = yes; then
   5024   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5025   cat >conftest.$ac_ext <<_ACEOF
   5026 /* confdefs.h.  */
   5027 _ACEOF
   5028 cat confdefs.h >>conftest.$ac_ext
   5029 cat >>conftest.$ac_ext <<_ACEOF
   5030 /* end confdefs.h.  */
   5031 #include <string.h>
   5032 
   5033 _ACEOF
   5034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5035   $EGREP "memchr" >/dev/null 2>&1; then
   5036   :
   5037 else
   5038   ac_cv_header_stdc=no
   5039 fi
   5040 rm -f conftest*
   5041 
   5042 fi
   5043 
   5044 if test $ac_cv_header_stdc = yes; then
   5045   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5046   cat >conftest.$ac_ext <<_ACEOF
   5047 /* confdefs.h.  */
   5048 _ACEOF
   5049 cat confdefs.h >>conftest.$ac_ext
   5050 cat >>conftest.$ac_ext <<_ACEOF
   5051 /* end confdefs.h.  */
   5052 #include <stdlib.h>
   5053 
   5054 _ACEOF
   5055 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5056   $EGREP "free" >/dev/null 2>&1; then
   5057   :
   5058 else
   5059   ac_cv_header_stdc=no
   5060 fi
   5061 rm -f conftest*
   5062 
   5063 fi
   5064 
   5065 if test $ac_cv_header_stdc = yes; then
   5066   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5067   if test "$cross_compiling" = yes; then
   5068   :
   5069 else
   5070   cat >conftest.$ac_ext <<_ACEOF
   5071 /* confdefs.h.  */
   5072 _ACEOF
   5073 cat confdefs.h >>conftest.$ac_ext
   5074 cat >>conftest.$ac_ext <<_ACEOF
   5075 /* end confdefs.h.  */
   5076 #include <ctype.h>
   5077 #include <stdlib.h>
   5078 #if ((' ' & 0x0FF) == 0x020)
   5079 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5080 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5081 #else
   5082 # define ISLOWER(c) \
   5083 		   (('a' <= (c) && (c) <= 'i') \
   5084 		     || ('j' <= (c) && (c) <= 'r') \
   5085 		     || ('s' <= (c) && (c) <= 'z'))
   5086 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5087 #endif
   5088 
   5089 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5090 int
   5091 main ()
   5092 {
   5093   int i;
   5094   for (i = 0; i < 256; i++)
   5095     if (XOR (islower (i), ISLOWER (i))
   5096 	|| toupper (i) != TOUPPER (i))
   5097       return 2;
   5098   return 0;
   5099 }
   5100 _ACEOF
   5101 rm -f conftest$ac_exeext
   5102 if { (ac_try="$ac_link"
   5103 case "(($ac_try" in
   5104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5105   *) ac_try_echo=$ac_try;;
   5106 esac
   5107 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5108 $as_echo "$ac_try_echo") >&5
   5109   (eval "$ac_link") 2>&5
   5110   ac_status=$?
   5111   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5112   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5113   { (case "(($ac_try" in
   5114   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5115   *) ac_try_echo=$ac_try;;
   5116 esac
   5117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5118 $as_echo "$ac_try_echo") >&5
   5119   (eval "$ac_try") 2>&5
   5120   ac_status=$?
   5121   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5122   (exit $ac_status); }; }; then
   5123   :
   5124 else
   5125   $as_echo "$as_me: program exited with status $ac_status" >&5
   5126 $as_echo "$as_me: failed program was:" >&5
   5127 sed 's/^/| /' conftest.$ac_ext >&5
   5128 
   5129 ( exit $ac_status )
   5130 ac_cv_header_stdc=no
   5131 fi
   5132 rm -rf conftest.dSYM
   5133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5134 fi
   5135 
   5136 
   5137 fi
   5138 fi
   5139 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   5140 $as_echo "$ac_cv_header_stdc" >&6; }
   5141 if test $ac_cv_header_stdc = yes; then
   5142 
   5143 cat >>confdefs.h <<\_ACEOF
   5144 #define STDC_HEADERS 1
   5145 _ACEOF
   5146 
   5147 fi
   5148 
   5149 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5160 		  inttypes.h stdint.h unistd.h
   5161 do
   5162 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5163 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5164 $as_echo_n "checking for $ac_header... " >&6; }
   5165 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5166   $as_echo_n "(cached) " >&6
   5167 else
   5168   cat >conftest.$ac_ext <<_ACEOF
   5169 /* confdefs.h.  */
   5170 _ACEOF
   5171 cat confdefs.h >>conftest.$ac_ext
   5172 cat >>conftest.$ac_ext <<_ACEOF
   5173 /* end confdefs.h.  */
   5174 $ac_includes_default
   5175 
   5176 #include <$ac_header>
   5177 _ACEOF
   5178 rm -f conftest.$ac_objext
   5179 if { (ac_try="$ac_compile"
   5180 case "(($ac_try" in
   5181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5182   *) ac_try_echo=$ac_try;;
   5183 esac
   5184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5185 $as_echo "$ac_try_echo") >&5
   5186   (eval "$ac_compile") 2>conftest.er1
   5187   ac_status=$?
   5188   grep -v '^ *+' conftest.er1 >conftest.err
   5189   rm -f conftest.er1
   5190   cat conftest.err >&5
   5191   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5192   (exit $ac_status); } && {
   5193 	 test -z "$ac_c_werror_flag" ||
   5194 	 test ! -s conftest.err
   5195        } && test -s conftest.$ac_objext; then
   5196   eval "$as_ac_Header=yes"
   5197 else
   5198   $as_echo "$as_me: failed program was:" >&5
   5199 sed 's/^/| /' conftest.$ac_ext >&5
   5200 
   5201 	eval "$as_ac_Header=no"
   5202 fi
   5203 
   5204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5205 fi
   5206 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5207 		 $as_echo "$as_val"'`
   5208 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5209 $as_echo "$ac_res" >&6; }
   5210 as_val=`eval 'as_val=${'$as_ac_Header'}
   5211 		 $as_echo "$as_val"'`
   5212    if test "x$as_val" = x""yes; then
   5213   cat >>confdefs.h <<_ACEOF
   5214 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5215 _ACEOF
   5216 
   5217 fi
   5218 
   5219 done
   5220 
   5221 
   5222 
   5223 for ac_header in dlfcn.h
   5224 do
   5225 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5226 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5227   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5228 $as_echo_n "checking for $ac_header... " >&6; }
   5229 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5230   $as_echo_n "(cached) " >&6
   5231 fi
   5232 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5233 		 $as_echo "$as_val"'`
   5234 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5235 $as_echo "$ac_res" >&6; }
   5236 else
   5237   # Is the header compilable?
   5238 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
   5239 $as_echo_n "checking $ac_header usability... " >&6; }
   5240 cat >conftest.$ac_ext <<_ACEOF
   5241 /* confdefs.h.  */
   5242 _ACEOF
   5243 cat confdefs.h >>conftest.$ac_ext
   5244 cat >>conftest.$ac_ext <<_ACEOF
   5245 /* end confdefs.h.  */
   5246 $ac_includes_default
   5247 #include <$ac_header>
   5248 _ACEOF
   5249 rm -f conftest.$ac_objext
   5250 if { (ac_try="$ac_compile"
   5251 case "(($ac_try" in
   5252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5253   *) ac_try_echo=$ac_try;;
   5254 esac
   5255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5256 $as_echo "$ac_try_echo") >&5
   5257   (eval "$ac_compile") 2>conftest.er1
   5258   ac_status=$?
   5259   grep -v '^ *+' conftest.er1 >conftest.err
   5260   rm -f conftest.er1
   5261   cat conftest.err >&5
   5262   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5263   (exit $ac_status); } && {
   5264 	 test -z "$ac_c_werror_flag" ||
   5265 	 test ! -s conftest.err
   5266        } && test -s conftest.$ac_objext; then
   5267   ac_header_compiler=yes
   5268 else
   5269   $as_echo "$as_me: failed program was:" >&5
   5270 sed 's/^/| /' conftest.$ac_ext >&5
   5271 
   5272 	ac_header_compiler=no
   5273 fi
   5274 
   5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5276 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   5277 $as_echo "$ac_header_compiler" >&6; }
   5278 
   5279 # Is the header present?
   5280 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
   5281 $as_echo_n "checking $ac_header presence... " >&6; }
   5282 cat >conftest.$ac_ext <<_ACEOF
   5283 /* confdefs.h.  */
   5284 _ACEOF
   5285 cat confdefs.h >>conftest.$ac_ext
   5286 cat >>conftest.$ac_ext <<_ACEOF
   5287 /* end confdefs.h.  */
   5288 #include <$ac_header>
   5289 _ACEOF
   5290 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5291 case "(($ac_try" in
   5292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5293   *) ac_try_echo=$ac_try;;
   5294 esac
   5295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5296 $as_echo "$ac_try_echo") >&5
   5297   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5298   ac_status=$?
   5299   grep -v '^ *+' conftest.er1 >conftest.err
   5300   rm -f conftest.er1
   5301   cat conftest.err >&5
   5302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5303   (exit $ac_status); } >/dev/null && {
   5304 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   5305 	 test ! -s conftest.err
   5306        }; then
   5307   ac_header_preproc=yes
   5308 else
   5309   $as_echo "$as_me: failed program was:" >&5
   5310 sed 's/^/| /' conftest.$ac_ext >&5
   5311 
   5312   ac_header_preproc=no
   5313 fi
   5314 
   5315 rm -f conftest.err conftest.$ac_ext
   5316 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   5317 $as_echo "$ac_header_preproc" >&6; }
   5318 
   5319 # So?  What about this header?
   5320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   5321   yes:no: )
   5322     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   5323 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   5324     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   5325 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   5326     ac_header_preproc=yes
   5327     ;;
   5328   no:yes:* )
   5329     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   5330 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   5331     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   5332 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   5333     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   5334 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   5335     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   5336 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   5337     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   5338 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   5339     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   5340 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   5341     ( cat <<\_ASBOX
   5342 ## ---------------------------------------------------------------------- ##
   5343 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   5344 ## ---------------------------------------------------------------------- ##
   5345 _ASBOX
   5346      ) | sed "s/^/$as_me: WARNING:     /" >&2
   5347     ;;
   5348 esac
   5349 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
   5350 $as_echo_n "checking for $ac_header... " >&6; }
   5351 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
   5352   $as_echo_n "(cached) " >&6
   5353 else
   5354   eval "$as_ac_Header=\$ac_header_preproc"
   5355 fi
   5356 ac_res=`eval 'as_val=${'$as_ac_Header'}
   5357 		 $as_echo "$as_val"'`
   5358 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   5359 $as_echo "$ac_res" >&6; }
   5360 
   5361 fi
   5362 as_val=`eval 'as_val=${'$as_ac_Header'}
   5363 		 $as_echo "$as_val"'`
   5364    if test "x$as_val" = x""yes; then
   5365   cat >>confdefs.h <<_ACEOF
   5366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5367 _ACEOF
   5368 
   5369 fi
   5370 
   5371 done
   5372 
   5373 ac_ext=cpp
   5374 ac_cpp='$CXXCPP $CPPFLAGS'
   5375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5378 if test -z "$CXX"; then
   5379   if test -n "$CCC"; then
   5380     CXX=$CCC
   5381   else
   5382     if test -n "$ac_tool_prefix"; then
   5383   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5384   do
   5385     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5386 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5387 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5388 $as_echo_n "checking for $ac_word... " >&6; }
   5389 if test "${ac_cv_prog_CXX+set}" = set; then
   5390   $as_echo_n "(cached) " >&6
   5391 else
   5392   if test -n "$CXX"; then
   5393   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5394 else
   5395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5396 for as_dir in $PATH
   5397 do
   5398   IFS=$as_save_IFS
   5399   test -z "$as_dir" && as_dir=.
   5400   for ac_exec_ext in '' $ac_executable_extensions; do
   5401   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5402     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5403     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5404     break 2
   5405   fi
   5406 done
   5407 done
   5408 IFS=$as_save_IFS
   5409 
   5410 fi
   5411 fi
   5412 CXX=$ac_cv_prog_CXX
   5413 if test -n "$CXX"; then
   5414   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
   5415 $as_echo "$CXX" >&6; }
   5416 else
   5417   { $as_echo "$as_me:$LINENO: result: no" >&5
   5418 $as_echo "no" >&6; }
   5419 fi
   5420 
   5421 
   5422     test -n "$CXX" && break
   5423   done
   5424 fi
   5425 if test -z "$CXX"; then
   5426   ac_ct_CXX=$CXX
   5427   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5428 do
   5429   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5430 set dummy $ac_prog; ac_word=$2
   5431 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   5432 $as_echo_n "checking for $ac_word... " >&6; }
   5433 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   5434   $as_echo_n "(cached) " >&6
   5435 else
   5436   if test -n "$ac_ct_CXX"; then
   5437   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5438 else
   5439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5440 for as_dir in $PATH
   5441 do
   5442   IFS=$as_save_IFS
   5443   test -z "$as_dir" && as_dir=.
   5444   for ac_exec_ext in '' $ac_executable_extensions; do
   5445   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5446     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5447     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5448     break 2
   5449   fi
   5450 done
   5451 done
   5452 IFS=$as_save_IFS
   5453 
   5454 fi
   5455 fi
   5456 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5457 if test -n "$ac_ct_CXX"; then
   5458   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   5459 $as_echo "$ac_ct_CXX" >&6; }
   5460 else
   5461   { $as_echo "$as_me:$LINENO: result: no" >&5
   5462 $as_echo "no" >&6; }
   5463 fi
   5464 
   5465 
   5466   test -n "$ac_ct_CXX" && break
   5467 done
   5468 
   5469   if test "x$ac_ct_CXX" = x; then
   5470     CXX="g++"
   5471   else
   5472     case $cross_compiling:$ac_tool_warned in
   5473 yes:)
   5474 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   5475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5476 ac_tool_warned=yes ;;
   5477 esac
   5478     CXX=$ac_ct_CXX
   5479   fi
   5480 fi
   5481 
   5482   fi
   5483 fi
   5484 # Provide some information about the compiler.
   5485 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
   5486 set X $ac_compile
   5487 ac_compiler=$2
   5488 { (ac_try="$ac_compiler --version >&5"
   5489 case "(($ac_try" in
   5490   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5491   *) ac_try_echo=$ac_try;;
   5492 esac
   5493 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5494 $as_echo "$ac_try_echo") >&5
   5495   (eval "$ac_compiler --version >&5") 2>&5
   5496   ac_status=$?
   5497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5498   (exit $ac_status); }
   5499 { (ac_try="$ac_compiler -v >&5"
   5500 case "(($ac_try" in
   5501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5502   *) ac_try_echo=$ac_try;;
   5503 esac
   5504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5505 $as_echo "$ac_try_echo") >&5
   5506   (eval "$ac_compiler -v >&5") 2>&5
   5507   ac_status=$?
   5508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5509   (exit $ac_status); }
   5510 { (ac_try="$ac_compiler -V >&5"
   5511 case "(($ac_try" in
   5512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5513   *) ac_try_echo=$ac_try;;
   5514 esac
   5515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5516 $as_echo "$ac_try_echo") >&5
   5517   (eval "$ac_compiler -V >&5") 2>&5
   5518   ac_status=$?
   5519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5520   (exit $ac_status); }
   5521 
   5522 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   5523 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5524 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   5525   $as_echo_n "(cached) " >&6
   5526 else
   5527   cat >conftest.$ac_ext <<_ACEOF
   5528 /* confdefs.h.  */
   5529 _ACEOF
   5530 cat confdefs.h >>conftest.$ac_ext
   5531 cat >>conftest.$ac_ext <<_ACEOF
   5532 /* end confdefs.h.  */
   5533 
   5534 int
   5535 main ()
   5536 {
   5537 #ifndef __GNUC__
   5538        choke me
   5539 #endif
   5540 
   5541   ;
   5542   return 0;
   5543 }
   5544 _ACEOF
   5545 rm -f conftest.$ac_objext
   5546 if { (ac_try="$ac_compile"
   5547 case "(($ac_try" in
   5548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5549   *) ac_try_echo=$ac_try;;
   5550 esac
   5551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5552 $as_echo "$ac_try_echo") >&5
   5553   (eval "$ac_compile") 2>conftest.er1
   5554   ac_status=$?
   5555   grep -v '^ *+' conftest.er1 >conftest.err
   5556   rm -f conftest.er1
   5557   cat conftest.err >&5
   5558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5559   (exit $ac_status); } && {
   5560 	 test -z "$ac_cxx_werror_flag" ||
   5561 	 test ! -s conftest.err
   5562        } && test -s conftest.$ac_objext; then
   5563   ac_compiler_gnu=yes
   5564 else
   5565   $as_echo "$as_me: failed program was:" >&5
   5566 sed 's/^/| /' conftest.$ac_ext >&5
   5567 
   5568 	ac_compiler_gnu=no
   5569 fi
   5570 
   5571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5572 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5573 
   5574 fi
   5575 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   5576 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5577 if test $ac_compiler_gnu = yes; then
   5578   GXX=yes
   5579 else
   5580   GXX=
   5581 fi
   5582 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5583 ac_save_CXXFLAGS=$CXXFLAGS
   5584 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   5585 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5586 if test "${ac_cv_prog_cxx_g+set}" = set; then
   5587   $as_echo_n "(cached) " >&6
   5588 else
   5589   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5590    ac_cxx_werror_flag=yes
   5591    ac_cv_prog_cxx_g=no
   5592    CXXFLAGS="-g"
   5593    cat >conftest.$ac_ext <<_ACEOF
   5594 /* confdefs.h.  */
   5595 _ACEOF
   5596 cat confdefs.h >>conftest.$ac_ext
   5597 cat >>conftest.$ac_ext <<_ACEOF
   5598 /* end confdefs.h.  */
   5599 
   5600 int
   5601 main ()
   5602 {
   5603 
   5604   ;
   5605   return 0;
   5606 }
   5607 _ACEOF
   5608 rm -f conftest.$ac_objext
   5609 if { (ac_try="$ac_compile"
   5610 case "(($ac_try" in
   5611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5612   *) ac_try_echo=$ac_try;;
   5613 esac
   5614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5615 $as_echo "$ac_try_echo") >&5
   5616   (eval "$ac_compile") 2>conftest.er1
   5617   ac_status=$?
   5618   grep -v '^ *+' conftest.er1 >conftest.err
   5619   rm -f conftest.er1
   5620   cat conftest.err >&5
   5621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5622   (exit $ac_status); } && {
   5623 	 test -z "$ac_cxx_werror_flag" ||
   5624 	 test ! -s conftest.err
   5625        } && test -s conftest.$ac_objext; then
   5626   ac_cv_prog_cxx_g=yes
   5627 else
   5628   $as_echo "$as_me: failed program was:" >&5
   5629 sed 's/^/| /' conftest.$ac_ext >&5
   5630 
   5631 	CXXFLAGS=""
   5632       cat >conftest.$ac_ext <<_ACEOF
   5633 /* confdefs.h.  */
   5634 _ACEOF
   5635 cat confdefs.h >>conftest.$ac_ext
   5636 cat >>conftest.$ac_ext <<_ACEOF
   5637 /* end confdefs.h.  */
   5638 
   5639 int
   5640 main ()
   5641 {
   5642 
   5643   ;
   5644   return 0;
   5645 }
   5646 _ACEOF
   5647 rm -f conftest.$ac_objext
   5648 if { (ac_try="$ac_compile"
   5649 case "(($ac_try" in
   5650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5651   *) ac_try_echo=$ac_try;;
   5652 esac
   5653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5654 $as_echo "$ac_try_echo") >&5
   5655   (eval "$ac_compile") 2>conftest.er1
   5656   ac_status=$?
   5657   grep -v '^ *+' conftest.er1 >conftest.err
   5658   rm -f conftest.er1
   5659   cat conftest.err >&5
   5660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5661   (exit $ac_status); } && {
   5662 	 test -z "$ac_cxx_werror_flag" ||
   5663 	 test ! -s conftest.err
   5664        } && test -s conftest.$ac_objext; then
   5665   :
   5666 else
   5667   $as_echo "$as_me: failed program was:" >&5
   5668 sed 's/^/| /' conftest.$ac_ext >&5
   5669 
   5670 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5671 	 CXXFLAGS="-g"
   5672 	 cat >conftest.$ac_ext <<_ACEOF
   5673 /* confdefs.h.  */
   5674 _ACEOF
   5675 cat confdefs.h >>conftest.$ac_ext
   5676 cat >>conftest.$ac_ext <<_ACEOF
   5677 /* end confdefs.h.  */
   5678 
   5679 int
   5680 main ()
   5681 {
   5682 
   5683   ;
   5684   return 0;
   5685 }
   5686 _ACEOF
   5687 rm -f conftest.$ac_objext
   5688 if { (ac_try="$ac_compile"
   5689 case "(($ac_try" in
   5690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5691   *) ac_try_echo=$ac_try;;
   5692 esac
   5693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5694 $as_echo "$ac_try_echo") >&5
   5695   (eval "$ac_compile") 2>conftest.er1
   5696   ac_status=$?
   5697   grep -v '^ *+' conftest.er1 >conftest.err
   5698   rm -f conftest.er1
   5699   cat conftest.err >&5
   5700   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5701   (exit $ac_status); } && {
   5702 	 test -z "$ac_cxx_werror_flag" ||
   5703 	 test ! -s conftest.err
   5704        } && test -s conftest.$ac_objext; then
   5705   ac_cv_prog_cxx_g=yes
   5706 else
   5707   $as_echo "$as_me: failed program was:" >&5
   5708 sed 's/^/| /' conftest.$ac_ext >&5
   5709 
   5710 
   5711 fi
   5712 
   5713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5714 fi
   5715 
   5716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5717 fi
   5718 
   5719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5720    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5721 fi
   5722 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   5723 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5724 if test "$ac_test_CXXFLAGS" = set; then
   5725   CXXFLAGS=$ac_save_CXXFLAGS
   5726 elif test $ac_cv_prog_cxx_g = yes; then
   5727   if test "$GXX" = yes; then
   5728     CXXFLAGS="-g -O2"
   5729   else
   5730     CXXFLAGS="-g"
   5731   fi
   5732 else
   5733   if test "$GXX" = yes; then
   5734     CXXFLAGS="-O2"
   5735   else
   5736     CXXFLAGS=
   5737   fi
   5738 fi
   5739 ac_ext=cpp
   5740 ac_cpp='$CXXCPP $CPPFLAGS'
   5741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5744 
   5745 depcc="$CXX"  am_compiler_list=
   5746 
   5747 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5748 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5749 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   5750   $as_echo_n "(cached) " >&6
   5751 else
   5752   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5753   # We make a subdir and do the tests there.  Otherwise we can end up
   5754   # making bogus files that we don't know about and never remove.  For
   5755   # instance it was reported that on HP-UX the gcc test will end up
   5756   # making a dummy file named `D' -- because `-MD' means `put the output
   5757   # in D'.
   5758   mkdir conftest.dir
   5759   # Copy depcomp to subdir because otherwise we won't find it if we're
   5760   # using a relative directory.
   5761   cp "$am_depcomp" conftest.dir
   5762   cd conftest.dir
   5763   # We will build objects and dependencies in a subdirectory because
   5764   # it helps to detect inapplicable dependency modes.  For instance
   5765   # both Tru64's cc and ICC support -MD to output dependencies as a
   5766   # side effect of compilation, but ICC will put the dependencies in
   5767   # the current directory while Tru64 will put them in the object
   5768   # directory.
   5769   mkdir sub
   5770 
   5771   am_cv_CXX_dependencies_compiler_type=none
   5772   if test "$am_compiler_list" = ""; then
   5773      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5774   fi
   5775   am__universal=false
   5776   case " $depcc " in #(
   5777      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5778      esac
   5779 
   5780   for depmode in $am_compiler_list; do
   5781     # Setup a source with many dependencies, because some compilers
   5782     # like to wrap large dependency lists on column 80 (with \), and
   5783     # we should not choose a depcomp mode which is confused by this.
   5784     #
   5785     # We need to recreate these files for each test, as the compiler may
   5786     # overwrite some of them when testing with obscure command lines.
   5787     # This happens at least with the AIX C compiler.
   5788     : > sub/conftest.c
   5789     for i in 1 2 3 4 5 6; do
   5790       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5791       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5792       # Solaris 8's {/usr,}/bin/sh.
   5793       touch sub/conftst$i.h
   5794     done
   5795     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5796 
   5797     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5798     # mode.  It turns out that the SunPro C++ compiler does not properly
   5799     # handle `-M -o', and we need to detect this.  Also, some Intel
   5800     # versions had trouble with output in subdirs
   5801     am__obj=sub/conftest.${OBJEXT-o}
   5802     am__minus_obj="-o $am__obj"
   5803     case $depmode in
   5804     gcc)
   5805       # This depmode causes a compiler race in universal mode.
   5806       test "$am__universal" = false || continue
   5807       ;;
   5808     nosideeffect)
   5809       # after this tag, mechanisms are not by side-effect, so they'll
   5810       # only be used when explicitly requested
   5811       if test "x$enable_dependency_tracking" = xyes; then
   5812 	continue
   5813       else
   5814 	break
   5815       fi
   5816       ;;
   5817     msvisualcpp | msvcmsys)
   5818       # This compiler won't grok `-c -o', but also, the minuso test has
   5819       # not run yet.  These depmodes are late enough in the game, and
   5820       # so weak that their functioning should not be impacted.
   5821       am__obj=conftest.${OBJEXT-o}
   5822       am__minus_obj=
   5823       ;;
   5824     none) break ;;
   5825     esac
   5826     if depmode=$depmode \
   5827        source=sub/conftest.c object=$am__obj \
   5828        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5829        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5830          >/dev/null 2>conftest.err &&
   5831        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5832        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5833        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5834        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5835       # icc doesn't choke on unknown options, it will just issue warnings
   5836       # or remarks (even with -Werror).  So we grep stderr for any message
   5837       # that says an option was ignored or not supported.
   5838       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5839       #   icc: Command line warning: ignoring option '-M'; no argument required
   5840       # The diagnosis changed in icc 8.0:
   5841       #   icc: Command line remark: option '-MP' not supported
   5842       if (grep 'ignoring option' conftest.err ||
   5843           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5844         am_cv_CXX_dependencies_compiler_type=$depmode
   5845         break
   5846       fi
   5847     fi
   5848   done
   5849 
   5850   cd ..
   5851   rm -rf conftest.dir
   5852 else
   5853   am_cv_CXX_dependencies_compiler_type=none
   5854 fi
   5855 
   5856 fi
   5857 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5858 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5859 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5860 
   5861  if
   5862   test "x$enable_dependency_tracking" != xno \
   5863   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5864   am__fastdepCXX_TRUE=
   5865   am__fastdepCXX_FALSE='#'
   5866 else
   5867   am__fastdepCXX_TRUE='#'
   5868   am__fastdepCXX_FALSE=
   5869 fi
   5870 
   5871 
   5872 
   5873 
   5874 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   5875     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   5876     (test "X$CXX" != "Xg++"))) ; then
   5877   ac_ext=cpp
   5878 ac_cpp='$CXXCPP $CPPFLAGS'
   5879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5882 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
   5883 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   5884 if test -z "$CXXCPP"; then
   5885   if test "${ac_cv_prog_CXXCPP+set}" = set; then
   5886   $as_echo_n "(cached) " >&6
   5887 else
   5888       # Double quotes because CXXCPP needs to be expanded
   5889     for CXXCPP in "$CXX -E" "/lib/cpp"
   5890     do
   5891       ac_preproc_ok=false
   5892 for ac_cxx_preproc_warn_flag in '' yes
   5893 do
   5894   # Use a header file that comes with gcc, so configuring glibc
   5895   # with a fresh cross-compiler works.
   5896   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5897   # <limits.h> exists even on freestanding compilers.
   5898   # On the NeXT, cc -E runs the code through the compiler's parser,
   5899   # not just through cpp. "Syntax error" is here to catch this case.
   5900   cat >conftest.$ac_ext <<_ACEOF
   5901 /* confdefs.h.  */
   5902 _ACEOF
   5903 cat confdefs.h >>conftest.$ac_ext
   5904 cat >>conftest.$ac_ext <<_ACEOF
   5905 /* end confdefs.h.  */
   5906 #ifdef __STDC__
   5907 # include <limits.h>
   5908 #else
   5909 # include <assert.h>
   5910 #endif
   5911 		     Syntax error
   5912 _ACEOF
   5913 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5914 case "(($ac_try" in
   5915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5916   *) ac_try_echo=$ac_try;;
   5917 esac
   5918 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5919 $as_echo "$ac_try_echo") >&5
   5920   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5921   ac_status=$?
   5922   grep -v '^ *+' conftest.er1 >conftest.err
   5923   rm -f conftest.er1
   5924   cat conftest.err >&5
   5925   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5926   (exit $ac_status); } >/dev/null && {
   5927 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5928 	 test ! -s conftest.err
   5929        }; then
   5930   :
   5931 else
   5932   $as_echo "$as_me: failed program was:" >&5
   5933 sed 's/^/| /' conftest.$ac_ext >&5
   5934 
   5935   # Broken: fails on valid input.
   5936 continue
   5937 fi
   5938 
   5939 rm -f conftest.err conftest.$ac_ext
   5940 
   5941   # OK, works on sane cases.  Now check whether nonexistent headers
   5942   # can be detected and how.
   5943   cat >conftest.$ac_ext <<_ACEOF
   5944 /* confdefs.h.  */
   5945 _ACEOF
   5946 cat confdefs.h >>conftest.$ac_ext
   5947 cat >>conftest.$ac_ext <<_ACEOF
   5948 /* end confdefs.h.  */
   5949 #include <ac_nonexistent.h>
   5950 _ACEOF
   5951 if { (ac_try="$ac_cpp conftest.$ac_ext"
   5952 case "(($ac_try" in
   5953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5954   *) ac_try_echo=$ac_try;;
   5955 esac
   5956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   5957 $as_echo "$ac_try_echo") >&5
   5958   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   5959   ac_status=$?
   5960   grep -v '^ *+' conftest.er1 >conftest.err
   5961   rm -f conftest.er1
   5962   cat conftest.err >&5
   5963   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5964   (exit $ac_status); } >/dev/null && {
   5965 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   5966 	 test ! -s conftest.err
   5967        }; then
   5968   # Broken: success on invalid input.
   5969 continue
   5970 else
   5971   $as_echo "$as_me: failed program was:" >&5
   5972 sed 's/^/| /' conftest.$ac_ext >&5
   5973 
   5974   # Passes both tests.
   5975 ac_preproc_ok=:
   5976 break
   5977 fi
   5978 
   5979 rm -f conftest.err conftest.$ac_ext
   5980 
   5981 done
   5982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5983 rm -f conftest.err conftest.$ac_ext
   5984 if $ac_preproc_ok; then
   5985   break
   5986 fi
   5987 
   5988     done
   5989     ac_cv_prog_CXXCPP=$CXXCPP
   5990 
   5991 fi
   5992   CXXCPP=$ac_cv_prog_CXXCPP
   5993 else
   5994   ac_cv_prog_CXXCPP=$CXXCPP
   5995 fi
   5996 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
   5997 $as_echo "$CXXCPP" >&6; }
   5998 ac_preproc_ok=false
   5999 for ac_cxx_preproc_warn_flag in '' yes
   6000 do
   6001   # Use a header file that comes with gcc, so configuring glibc
   6002   # with a fresh cross-compiler works.
   6003   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6004   # <limits.h> exists even on freestanding compilers.
   6005   # On the NeXT, cc -E runs the code through the compiler's parser,
   6006   # not just through cpp. "Syntax error" is here to catch this case.
   6007   cat >conftest.$ac_ext <<_ACEOF
   6008 /* confdefs.h.  */
   6009 _ACEOF
   6010 cat confdefs.h >>conftest.$ac_ext
   6011 cat >>conftest.$ac_ext <<_ACEOF
   6012 /* end confdefs.h.  */
   6013 #ifdef __STDC__
   6014 # include <limits.h>
   6015 #else
   6016 # include <assert.h>
   6017 #endif
   6018 		     Syntax error
   6019 _ACEOF
   6020 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6021 case "(($ac_try" in
   6022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6023   *) ac_try_echo=$ac_try;;
   6024 esac
   6025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6026 $as_echo "$ac_try_echo") >&5
   6027   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6028   ac_status=$?
   6029   grep -v '^ *+' conftest.er1 >conftest.err
   6030   rm -f conftest.er1
   6031   cat conftest.err >&5
   6032   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6033   (exit $ac_status); } >/dev/null && {
   6034 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6035 	 test ! -s conftest.err
   6036        }; then
   6037   :
   6038 else
   6039   $as_echo "$as_me: failed program was:" >&5
   6040 sed 's/^/| /' conftest.$ac_ext >&5
   6041 
   6042   # Broken: fails on valid input.
   6043 continue
   6044 fi
   6045 
   6046 rm -f conftest.err conftest.$ac_ext
   6047 
   6048   # OK, works on sane cases.  Now check whether nonexistent headers
   6049   # can be detected and how.
   6050   cat >conftest.$ac_ext <<_ACEOF
   6051 /* confdefs.h.  */
   6052 _ACEOF
   6053 cat confdefs.h >>conftest.$ac_ext
   6054 cat >>conftest.$ac_ext <<_ACEOF
   6055 /* end confdefs.h.  */
   6056 #include <ac_nonexistent.h>
   6057 _ACEOF
   6058 if { (ac_try="$ac_cpp conftest.$ac_ext"
   6059 case "(($ac_try" in
   6060   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6061   *) ac_try_echo=$ac_try;;
   6062 esac
   6063 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6064 $as_echo "$ac_try_echo") >&5
   6065   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   6066   ac_status=$?
   6067   grep -v '^ *+' conftest.er1 >conftest.err
   6068   rm -f conftest.er1
   6069   cat conftest.err >&5
   6070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6071   (exit $ac_status); } >/dev/null && {
   6072 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   6073 	 test ! -s conftest.err
   6074        }; then
   6075   # Broken: success on invalid input.
   6076 continue
   6077 else
   6078   $as_echo "$as_me: failed program was:" >&5
   6079 sed 's/^/| /' conftest.$ac_ext >&5
   6080 
   6081   # Passes both tests.
   6082 ac_preproc_ok=:
   6083 break
   6084 fi
   6085 
   6086 rm -f conftest.err conftest.$ac_ext
   6087 
   6088 done
   6089 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   6090 rm -f conftest.err conftest.$ac_ext
   6091 if $ac_preproc_ok; then
   6092   :
   6093 else
   6094   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   6095 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   6096 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6097 See \`config.log' for more details." >&5
   6098 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
   6099 See \`config.log' for more details." >&2;}
   6100    { (exit 1); exit 1; }; }; }
   6101 fi
   6102 
   6103 ac_ext=cpp
   6104 ac_cpp='$CXXCPP $CPPFLAGS'
   6105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   6108 
   6109 fi
   6110 
   6111 
   6112 ac_ext=f
   6113 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   6114 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6115 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   6116 if test -n "$ac_tool_prefix"; then
   6117   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
   6118   do
   6119     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6120 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6121 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6122 $as_echo_n "checking for $ac_word... " >&6; }
   6123 if test "${ac_cv_prog_F77+set}" = set; then
   6124   $as_echo_n "(cached) " >&6
   6125 else
   6126   if test -n "$F77"; then
   6127   ac_cv_prog_F77="$F77" # Let the user override the test.
   6128 else
   6129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6130 for as_dir in $PATH
   6131 do
   6132   IFS=$as_save_IFS
   6133   test -z "$as_dir" && as_dir=.
   6134   for ac_exec_ext in '' $ac_executable_extensions; do
   6135   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6136     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
   6137     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6138     break 2
   6139   fi
   6140 done
   6141 done
   6142 IFS=$as_save_IFS
   6143 
   6144 fi
   6145 fi
   6146 F77=$ac_cv_prog_F77
   6147 if test -n "$F77"; then
   6148   { $as_echo "$as_me:$LINENO: result: $F77" >&5
   6149 $as_echo "$F77" >&6; }
   6150 else
   6151   { $as_echo "$as_me:$LINENO: result: no" >&5
   6152 $as_echo "no" >&6; }
   6153 fi
   6154 
   6155 
   6156     test -n "$F77" && break
   6157   done
   6158 fi
   6159 if test -z "$F77"; then
   6160   ac_ct_F77=$F77
   6161   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
   6162 do
   6163   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6164 set dummy $ac_prog; ac_word=$2
   6165 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6166 $as_echo_n "checking for $ac_word... " >&6; }
   6167 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
   6168   $as_echo_n "(cached) " >&6
   6169 else
   6170   if test -n "$ac_ct_F77"; then
   6171   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
   6172 else
   6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6174 for as_dir in $PATH
   6175 do
   6176   IFS=$as_save_IFS
   6177   test -z "$as_dir" && as_dir=.
   6178   for ac_exec_ext in '' $ac_executable_extensions; do
   6179   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6180     ac_cv_prog_ac_ct_F77="$ac_prog"
   6181     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6182     break 2
   6183   fi
   6184 done
   6185 done
   6186 IFS=$as_save_IFS
   6187 
   6188 fi
   6189 fi
   6190 ac_ct_F77=$ac_cv_prog_ac_ct_F77
   6191 if test -n "$ac_ct_F77"; then
   6192   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
   6193 $as_echo "$ac_ct_F77" >&6; }
   6194 else
   6195   { $as_echo "$as_me:$LINENO: result: no" >&5
   6196 $as_echo "no" >&6; }
   6197 fi
   6198 
   6199 
   6200   test -n "$ac_ct_F77" && break
   6201 done
   6202 
   6203   if test "x$ac_ct_F77" = x; then
   6204     F77=""
   6205   else
   6206     case $cross_compiling:$ac_tool_warned in
   6207 yes:)
   6208 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6210 ac_tool_warned=yes ;;
   6211 esac
   6212     F77=$ac_ct_F77
   6213   fi
   6214 fi
   6215 
   6216 
   6217 # Provide some information about the compiler.
   6218 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
   6219 set X $ac_compile
   6220 ac_compiler=$2
   6221 { (ac_try="$ac_compiler --version >&5"
   6222 case "(($ac_try" in
   6223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6224   *) ac_try_echo=$ac_try;;
   6225 esac
   6226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6227 $as_echo "$ac_try_echo") >&5
   6228   (eval "$ac_compiler --version >&5") 2>&5
   6229   ac_status=$?
   6230   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6231   (exit $ac_status); }
   6232 { (ac_try="$ac_compiler -v >&5"
   6233 case "(($ac_try" in
   6234   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6235   *) ac_try_echo=$ac_try;;
   6236 esac
   6237 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6238 $as_echo "$ac_try_echo") >&5
   6239   (eval "$ac_compiler -v >&5") 2>&5
   6240   ac_status=$?
   6241   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6242   (exit $ac_status); }
   6243 { (ac_try="$ac_compiler -V >&5"
   6244 case "(($ac_try" in
   6245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6246   *) ac_try_echo=$ac_try;;
   6247 esac
   6248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6249 $as_echo "$ac_try_echo") >&5
   6250   (eval "$ac_compiler -V >&5") 2>&5
   6251   ac_status=$?
   6252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6253   (exit $ac_status); }
   6254 rm -f a.out
   6255 
   6256 # If we don't use `.F' as extension, the preprocessor is not run on the
   6257 # input file.  (Note that this only needs to work for GNU compilers.)
   6258 ac_save_ext=$ac_ext
   6259 ac_ext=F
   6260 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
   6261 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
   6262 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
   6263   $as_echo_n "(cached) " >&6
   6264 else
   6265   cat >conftest.$ac_ext <<_ACEOF
   6266       program main
   6267 #ifndef __GNUC__
   6268        choke me
   6269 #endif
   6270 
   6271       end
   6272 _ACEOF
   6273 rm -f conftest.$ac_objext
   6274 if { (ac_try="$ac_compile"
   6275 case "(($ac_try" in
   6276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6277   *) ac_try_echo=$ac_try;;
   6278 esac
   6279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6280 $as_echo "$ac_try_echo") >&5
   6281   (eval "$ac_compile") 2>conftest.er1
   6282   ac_status=$?
   6283   grep -v '^ *+' conftest.er1 >conftest.err
   6284   rm -f conftest.er1
   6285   cat conftest.err >&5
   6286   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6287   (exit $ac_status); } && {
   6288 	 test -z "$ac_f77_werror_flag" ||
   6289 	 test ! -s conftest.err
   6290        } && test -s conftest.$ac_objext; then
   6291   ac_compiler_gnu=yes
   6292 else
   6293   $as_echo "$as_me: failed program was:" >&5
   6294 sed 's/^/| /' conftest.$ac_ext >&5
   6295 
   6296 	ac_compiler_gnu=no
   6297 fi
   6298 
   6299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6300 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
   6301 
   6302 fi
   6303 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
   6304 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
   6305 ac_ext=$ac_save_ext
   6306 ac_test_FFLAGS=${FFLAGS+set}
   6307 ac_save_FFLAGS=$FFLAGS
   6308 FFLAGS=
   6309 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
   6310 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
   6311 if test "${ac_cv_prog_f77_g+set}" = set; then
   6312   $as_echo_n "(cached) " >&6
   6313 else
   6314   FFLAGS=-g
   6315 cat >conftest.$ac_ext <<_ACEOF
   6316       program main
   6317 
   6318       end
   6319 _ACEOF
   6320 rm -f conftest.$ac_objext
   6321 if { (ac_try="$ac_compile"
   6322 case "(($ac_try" in
   6323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   6324   *) ac_try_echo=$ac_try;;
   6325 esac
   6326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   6327 $as_echo "$ac_try_echo") >&5
   6328   (eval "$ac_compile") 2>conftest.er1
   6329   ac_status=$?
   6330   grep -v '^ *+' conftest.er1 >conftest.err
   6331   rm -f conftest.er1
   6332   cat conftest.err >&5
   6333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6334   (exit $ac_status); } && {
   6335 	 test -z "$ac_f77_werror_flag" ||
   6336 	 test ! -s conftest.err
   6337        } && test -s conftest.$ac_objext; then
   6338   ac_cv_prog_f77_g=yes
   6339 else
   6340   $as_echo "$as_me: failed program was:" >&5
   6341 sed 's/^/| /' conftest.$ac_ext >&5
   6342 
   6343 	ac_cv_prog_f77_g=no
   6344 fi
   6345 
   6346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6347 
   6348 fi
   6349 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
   6350 $as_echo "$ac_cv_prog_f77_g" >&6; }
   6351 if test "$ac_test_FFLAGS" = set; then
   6352   FFLAGS=$ac_save_FFLAGS
   6353 elif test $ac_cv_prog_f77_g = yes; then
   6354   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6355     FFLAGS="-g -O2"
   6356   else
   6357     FFLAGS="-g"
   6358   fi
   6359 else
   6360   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
   6361     FFLAGS="-O2"
   6362   else
   6363     FFLAGS=
   6364   fi
   6365 fi
   6366 
   6367 if test $ac_compiler_gnu = yes; then
   6368   G77=yes
   6369 else
   6370   G77=
   6371 fi
   6372 ac_ext=c
   6373 ac_cpp='$CPP $CPPFLAGS'
   6374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6377 
   6378 
   6379 
   6380 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
   6381 # find the maximum length of command line arguments
   6382 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   6383 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6384 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387     i=0
   6388   teststring="ABCD"
   6389 
   6390   case $build_os in
   6391   msdosdjgpp*)
   6392     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6393     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6394     # during glob expansion).  Even if it were fixed, the result of this
   6395     # check would be larger than it should be.
   6396     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6397     ;;
   6398 
   6399   gnu*)
   6400     # Under GNU Hurd, this test is not required because there is
   6401     # no limit to the length of command line arguments.
   6402     # Libtool will interpret -1 as no limit whatsoever
   6403     lt_cv_sys_max_cmd_len=-1;
   6404     ;;
   6405 
   6406   cygwin* | mingw*)
   6407     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6408     # about 5 minutes as the teststring grows exponentially.
   6409     # Worse, since 9x/ME are not pre-emptively multitasking,
   6410     # you end up with a "frozen" computer, even though with patience
   6411     # the test eventually succeeds (with a max line length of 256k).
   6412     # Instead, let's just punt: use the minimum linelength reported by
   6413     # all of the supported platforms: 8192 (on NT/2K/XP).
   6414     lt_cv_sys_max_cmd_len=8192;
   6415     ;;
   6416 
   6417   amigaos*)
   6418     # On AmigaOS with pdksh, this test takes hours, literally.
   6419     # So we just punt and use a minimum line length of 8192.
   6420     lt_cv_sys_max_cmd_len=8192;
   6421     ;;
   6422 
   6423   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6424     # This has been around since 386BSD, at least.  Likely further.
   6425     if test -x /sbin/sysctl; then
   6426       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6427     elif test -x /usr/sbin/sysctl; then
   6428       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6429     else
   6430       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6431     fi
   6432     # And add a safety zone
   6433     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6434     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6435     ;;
   6436 
   6437   interix*)
   6438     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6439     lt_cv_sys_max_cmd_len=196608
   6440     ;;
   6441 
   6442   osf*)
   6443     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6444     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6445     # nice to cause kernel panics so lets avoid the loop below.
   6446     # First set a reasonable default.
   6447     lt_cv_sys_max_cmd_len=16384
   6448     #
   6449     if test -x /sbin/sysconfig; then
   6450       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6451         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6452       esac
   6453     fi
   6454     ;;
   6455   sco3.2v5*)
   6456     lt_cv_sys_max_cmd_len=102400
   6457     ;;
   6458   sysv5* | sco5v6* | sysv4.2uw2*)
   6459     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6460     if test -n "$kargmax"; then
   6461       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
   6462     else
   6463       lt_cv_sys_max_cmd_len=32768
   6464     fi
   6465     ;;
   6466   *)
   6467     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6468     if test -n "$lt_cv_sys_max_cmd_len"; then
   6469       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6470       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6471     else
   6472       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6473       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
   6474 	       = "XX$teststring") >/dev/null 2>&1 &&
   6475 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
   6476 	      lt_cv_sys_max_cmd_len=$new_result &&
   6477 	      test $i != 17 # 1/2 MB should be enough
   6478       do
   6479         i=`expr $i + 1`
   6480         teststring=$teststring$teststring
   6481       done
   6482       teststring=
   6483       # Add a significant safety factor because C++ compilers can tack on massive
   6484       # amounts of additional arguments before passing them to the linker.
   6485       # It appears as though 1/2 is a usable value.
   6486       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6487     fi
   6488     ;;
   6489   esac
   6490 
   6491 fi
   6492 
   6493 if test -n $lt_cv_sys_max_cmd_len ; then
   6494   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   6495 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6496 else
   6497   { $as_echo "$as_me:$LINENO: result: none" >&5
   6498 $as_echo "none" >&6; }
   6499 fi
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6506 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6507 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6508 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6509   $as_echo_n "(cached) " >&6
   6510 else
   6511 
   6512 # These are sane defaults that work on at least a few old systems.
   6513 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6514 
   6515 # Character class describing NM global symbol codes.
   6516 symcode='[BCDEGRST]'
   6517 
   6518 # Regexp to match symbols that can be accessed directly from C.
   6519 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6520 
   6521 # Transform an extracted symbol line into a proper C declaration
   6522 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
   6523 
   6524 # Transform an extracted symbol line into symbol name and symbol address
   6525 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'"
   6526 
   6527 # Define system-specific variables.
   6528 case $host_os in
   6529 aix*)
   6530   symcode='[BCDT]'
   6531   ;;
   6532 cygwin* | mingw* | pw32*)
   6533   symcode='[ABCDGISTW]'
   6534   ;;
   6535 hpux*) # Its linker distinguishes data from code symbols
   6536   if test "$host_cpu" = ia64; then
   6537     symcode='[ABCDEGRST]'
   6538   fi
   6539   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6540   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'"
   6541   ;;
   6542 linux* | k*bsd*-gnu)
   6543   if test "$host_cpu" = ia64; then
   6544     symcode='[ABCDGIRSTW]'
   6545     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6546     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'"
   6547   fi
   6548   ;;
   6549 irix* | nonstopux*)
   6550   symcode='[BCDEGRST]'
   6551   ;;
   6552 osf*)
   6553   symcode='[BCDEGQRST]'
   6554   ;;
   6555 solaris*)
   6556   symcode='[BDRT]'
   6557   ;;
   6558 sco3.2v5*)
   6559   symcode='[DT]'
   6560   ;;
   6561 sysv4.2uw2*)
   6562   symcode='[DT]'
   6563   ;;
   6564 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6565   symcode='[ABDT]'
   6566   ;;
   6567 sysv4)
   6568   symcode='[DFNSTU]'
   6569   ;;
   6570 esac
   6571 
   6572 # Handle CRLF in mingw tool chain
   6573 opt_cr=
   6574 case $build_os in
   6575 mingw*)
   6576   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6577   ;;
   6578 esac
   6579 
   6580 # If we're using GNU nm, then use its standard symbol codes.
   6581 case `$NM -V 2>&1` in
   6582 *GNU* | *'with BFD'*)
   6583   symcode='[ABCDGIRSTW]' ;;
   6584 esac
   6585 
   6586 # Try without a prefix undercore, then with it.
   6587 for ac_symprfx in "" "_"; do
   6588 
   6589   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6590   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6591 
   6592   # Write the raw and C identifiers.
   6593   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6594 
   6595   # Check to see that the pipe works correctly.
   6596   pipe_works=no
   6597 
   6598   rm -f conftest*
   6599   cat > conftest.$ac_ext <<EOF
   6600 #ifdef __cplusplus
   6601 extern "C" {
   6602 #endif
   6603 char nm_test_var;
   6604 void nm_test_func(){}
   6605 #ifdef __cplusplus
   6606 }
   6607 #endif
   6608 int main(){nm_test_var='a';nm_test_func();return(0);}
   6609 EOF
   6610 
   6611   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6612   (eval $ac_compile) 2>&5
   6613   ac_status=$?
   6614   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6615   (exit $ac_status); }; then
   6616     # Now try to grab the symbols.
   6617     nlist=conftest.nm
   6618     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6619   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6620   ac_status=$?
   6621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6622   (exit $ac_status); } && test -s "$nlist"; then
   6623       # Try sorting and uniquifying the output.
   6624       if sort "$nlist" | uniq > "$nlist"T; then
   6625 	mv -f "$nlist"T "$nlist"
   6626       else
   6627 	rm -f "$nlist"T
   6628       fi
   6629 
   6630       # Make sure that we snagged all the symbols we need.
   6631       if grep ' nm_test_var$' "$nlist" >/dev/null; then
   6632 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
   6633 	  cat <<EOF > conftest.$ac_ext
   6634 #ifdef __cplusplus
   6635 extern "C" {
   6636 #endif
   6637 
   6638 EOF
   6639 	  # Now generate the symbol file.
   6640 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
   6641 
   6642 	  cat <<EOF >> conftest.$ac_ext
   6643 #if defined (__STDC__) && __STDC__
   6644 # define lt_ptr_t void *
   6645 #else
   6646 # define lt_ptr_t char *
   6647 # define const
   6648 #endif
   6649 
   6650 /* The mapping between symbol names and symbols. */
   6651 const struct {
   6652   const char *name;
   6653   lt_ptr_t address;
   6654 }
   6655 lt_preloaded_symbols[] =
   6656 {
   6657 EOF
   6658 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
   6659 	  cat <<\EOF >> conftest.$ac_ext
   6660   {0, (lt_ptr_t) 0}
   6661 };
   6662 
   6663 #ifdef __cplusplus
   6664 }
   6665 #endif
   6666 EOF
   6667 	  # Now try linking the two files.
   6668 	  mv conftest.$ac_objext conftstm.$ac_objext
   6669 	  lt_save_LIBS="$LIBS"
   6670 	  lt_save_CFLAGS="$CFLAGS"
   6671 	  LIBS="conftstm.$ac_objext"
   6672 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6673 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6674   (eval $ac_link) 2>&5
   6675   ac_status=$?
   6676   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6677   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6678 	    pipe_works=yes
   6679 	  fi
   6680 	  LIBS="$lt_save_LIBS"
   6681 	  CFLAGS="$lt_save_CFLAGS"
   6682 	else
   6683 	  echo "cannot find nm_test_func in $nlist" >&5
   6684 	fi
   6685       else
   6686 	echo "cannot find nm_test_var in $nlist" >&5
   6687       fi
   6688     else
   6689       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6690     fi
   6691   else
   6692     echo "$progname: failed program was:" >&5
   6693     cat conftest.$ac_ext >&5
   6694   fi
   6695   rm -rf conftest* conftst*
   6696 
   6697   # Do not use the global_symbol_pipe unless it works.
   6698   if test "$pipe_works" = yes; then
   6699     break
   6700   else
   6701     lt_cv_sys_global_symbol_pipe=
   6702   fi
   6703 done
   6704 
   6705 fi
   6706 
   6707 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6708   lt_cv_sys_global_symbol_to_cdecl=
   6709 fi
   6710 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6711   { $as_echo "$as_me:$LINENO: result: failed" >&5
   6712 $as_echo "failed" >&6; }
   6713 else
   6714   { $as_echo "$as_me:$LINENO: result: ok" >&5
   6715 $as_echo "ok" >&6; }
   6716 fi
   6717 
   6718 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
   6719 $as_echo_n "checking for objdir... " >&6; }
   6720 if test "${lt_cv_objdir+set}" = set; then
   6721   $as_echo_n "(cached) " >&6
   6722 else
   6723   rm -f .libs 2>/dev/null
   6724 mkdir .libs 2>/dev/null
   6725 if test -d .libs; then
   6726   lt_cv_objdir=.libs
   6727 else
   6728   # MS-DOS does not allow filenames that begin with a dot.
   6729   lt_cv_objdir=_libs
   6730 fi
   6731 rmdir .libs 2>/dev/null
   6732 fi
   6733 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6734 $as_echo "$lt_cv_objdir" >&6; }
   6735 objdir=$lt_cv_objdir
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 case $host_os in
   6742 aix3*)
   6743   # AIX sometimes has problems with the GCC collect2 program.  For some
   6744   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6745   # vanish in a puff of smoke.
   6746   if test "X${COLLECT_NAMES+set}" != Xset; then
   6747     COLLECT_NAMES=
   6748     export COLLECT_NAMES
   6749   fi
   6750   ;;
   6751 esac
   6752 
   6753 # Sed substitution that helps us do robust quoting.  It backslashifies
   6754 # metacharacters that are still active within double-quoted strings.
   6755 Xsed='sed -e 1s/^X//'
   6756 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
   6757 
   6758 # Same as above, but do not quote variable references.
   6759 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
   6760 
   6761 # Sed substitution to delay expansion of an escaped shell variable in a
   6762 # double_quote_subst'ed string.
   6763 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6764 
   6765 # Sed substitution to avoid accidental globbing in evaled expressions
   6766 no_glob_subst='s/\*/\\\*/g'
   6767 
   6768 # Constants:
   6769 rm="rm -f"
   6770 
   6771 # Global variables:
   6772 default_ofile=libtool
   6773 can_build_shared=yes
   6774 
   6775 # All known linkers require a `.a' archive for static linking (except MSVC,
   6776 # which needs '.lib').
   6777 libext=a
   6778 ltmain="$ac_aux_dir/ltmain.sh"
   6779 ofile="$default_ofile"
   6780 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6781 
   6782 if test -n "$ac_tool_prefix"; then
   6783   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6784 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6785 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6786 $as_echo_n "checking for $ac_word... " >&6; }
   6787 if test "${ac_cv_prog_AR+set}" = set; then
   6788   $as_echo_n "(cached) " >&6
   6789 else
   6790   if test -n "$AR"; then
   6791   ac_cv_prog_AR="$AR" # Let the user override the test.
   6792 else
   6793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6794 for as_dir in $PATH
   6795 do
   6796   IFS=$as_save_IFS
   6797   test -z "$as_dir" && as_dir=.
   6798   for ac_exec_ext in '' $ac_executable_extensions; do
   6799   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6800     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6801     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6802     break 2
   6803   fi
   6804 done
   6805 done
   6806 IFS=$as_save_IFS
   6807 
   6808 fi
   6809 fi
   6810 AR=$ac_cv_prog_AR
   6811 if test -n "$AR"; then
   6812   { $as_echo "$as_me:$LINENO: result: $AR" >&5
   6813 $as_echo "$AR" >&6; }
   6814 else
   6815   { $as_echo "$as_me:$LINENO: result: no" >&5
   6816 $as_echo "no" >&6; }
   6817 fi
   6818 
   6819 
   6820 fi
   6821 if test -z "$ac_cv_prog_AR"; then
   6822   ac_ct_AR=$AR
   6823   # Extract the first word of "ar", so it can be a program name with args.
   6824 set dummy ar; ac_word=$2
   6825 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6826 $as_echo_n "checking for $ac_word... " >&6; }
   6827 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6828   $as_echo_n "(cached) " >&6
   6829 else
   6830   if test -n "$ac_ct_AR"; then
   6831   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6832 else
   6833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6834 for as_dir in $PATH
   6835 do
   6836   IFS=$as_save_IFS
   6837   test -z "$as_dir" && as_dir=.
   6838   for ac_exec_ext in '' $ac_executable_extensions; do
   6839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6840     ac_cv_prog_ac_ct_AR="ar"
   6841     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6842     break 2
   6843   fi
   6844 done
   6845 done
   6846 IFS=$as_save_IFS
   6847 
   6848 fi
   6849 fi
   6850 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6851 if test -n "$ac_ct_AR"; then
   6852   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6853 $as_echo "$ac_ct_AR" >&6; }
   6854 else
   6855   { $as_echo "$as_me:$LINENO: result: no" >&5
   6856 $as_echo "no" >&6; }
   6857 fi
   6858 
   6859   if test "x$ac_ct_AR" = x; then
   6860     AR="false"
   6861   else
   6862     case $cross_compiling:$ac_tool_warned in
   6863 yes:)
   6864 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6866 ac_tool_warned=yes ;;
   6867 esac
   6868     AR=$ac_ct_AR
   6869   fi
   6870 else
   6871   AR="$ac_cv_prog_AR"
   6872 fi
   6873 
   6874 if test -n "$ac_tool_prefix"; then
   6875   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6876 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6877 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6878 $as_echo_n "checking for $ac_word... " >&6; }
   6879 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6880   $as_echo_n "(cached) " >&6
   6881 else
   6882   if test -n "$RANLIB"; then
   6883   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6884 else
   6885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6886 for as_dir in $PATH
   6887 do
   6888   IFS=$as_save_IFS
   6889   test -z "$as_dir" && as_dir=.
   6890   for ac_exec_ext in '' $ac_executable_extensions; do
   6891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6892     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6893     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6894     break 2
   6895   fi
   6896 done
   6897 done
   6898 IFS=$as_save_IFS
   6899 
   6900 fi
   6901 fi
   6902 RANLIB=$ac_cv_prog_RANLIB
   6903 if test -n "$RANLIB"; then
   6904   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
   6905 $as_echo "$RANLIB" >&6; }
   6906 else
   6907   { $as_echo "$as_me:$LINENO: result: no" >&5
   6908 $as_echo "no" >&6; }
   6909 fi
   6910 
   6911 
   6912 fi
   6913 if test -z "$ac_cv_prog_RANLIB"; then
   6914   ac_ct_RANLIB=$RANLIB
   6915   # Extract the first word of "ranlib", so it can be a program name with args.
   6916 set dummy ranlib; ac_word=$2
   6917 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6918 $as_echo_n "checking for $ac_word... " >&6; }
   6919 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6920   $as_echo_n "(cached) " >&6
   6921 else
   6922   if test -n "$ac_ct_RANLIB"; then
   6923   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6924 else
   6925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6926 for as_dir in $PATH
   6927 do
   6928   IFS=$as_save_IFS
   6929   test -z "$as_dir" && as_dir=.
   6930   for ac_exec_ext in '' $ac_executable_extensions; do
   6931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6932     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6933     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6934     break 2
   6935   fi
   6936 done
   6937 done
   6938 IFS=$as_save_IFS
   6939 
   6940 fi
   6941 fi
   6942 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6943 if test -n "$ac_ct_RANLIB"; then
   6944   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6945 $as_echo "$ac_ct_RANLIB" >&6; }
   6946 else
   6947   { $as_echo "$as_me:$LINENO: result: no" >&5
   6948 $as_echo "no" >&6; }
   6949 fi
   6950 
   6951   if test "x$ac_ct_RANLIB" = x; then
   6952     RANLIB=":"
   6953   else
   6954     case $cross_compiling:$ac_tool_warned in
   6955 yes:)
   6956 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   6957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6958 ac_tool_warned=yes ;;
   6959 esac
   6960     RANLIB=$ac_ct_RANLIB
   6961   fi
   6962 else
   6963   RANLIB="$ac_cv_prog_RANLIB"
   6964 fi
   6965 
   6966 if test -n "$ac_tool_prefix"; then
   6967   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6968 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6969 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   6970 $as_echo_n "checking for $ac_word... " >&6; }
   6971 if test "${ac_cv_prog_STRIP+set}" = set; then
   6972   $as_echo_n "(cached) " >&6
   6973 else
   6974   if test -n "$STRIP"; then
   6975   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6976 else
   6977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6978 for as_dir in $PATH
   6979 do
   6980   IFS=$as_save_IFS
   6981   test -z "$as_dir" && as_dir=.
   6982   for ac_exec_ext in '' $ac_executable_extensions; do
   6983   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6984     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6985     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6986     break 2
   6987   fi
   6988 done
   6989 done
   6990 IFS=$as_save_IFS
   6991 
   6992 fi
   6993 fi
   6994 STRIP=$ac_cv_prog_STRIP
   6995 if test -n "$STRIP"; then
   6996   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
   6997 $as_echo "$STRIP" >&6; }
   6998 else
   6999   { $as_echo "$as_me:$LINENO: result: no" >&5
   7000 $as_echo "no" >&6; }
   7001 fi
   7002 
   7003 
   7004 fi
   7005 if test -z "$ac_cv_prog_STRIP"; then
   7006   ac_ct_STRIP=$STRIP
   7007   # Extract the first word of "strip", so it can be a program name with args.
   7008 set dummy strip; ac_word=$2
   7009 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7010 $as_echo_n "checking for $ac_word... " >&6; }
   7011 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   7012   $as_echo_n "(cached) " >&6
   7013 else
   7014   if test -n "$ac_ct_STRIP"; then
   7015   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7016 else
   7017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7018 for as_dir in $PATH
   7019 do
   7020   IFS=$as_save_IFS
   7021   test -z "$as_dir" && as_dir=.
   7022   for ac_exec_ext in '' $ac_executable_extensions; do
   7023   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7024     ac_cv_prog_ac_ct_STRIP="strip"
   7025     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7026     break 2
   7027   fi
   7028 done
   7029 done
   7030 IFS=$as_save_IFS
   7031 
   7032 fi
   7033 fi
   7034 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7035 if test -n "$ac_ct_STRIP"; then
   7036   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   7037 $as_echo "$ac_ct_STRIP" >&6; }
   7038 else
   7039   { $as_echo "$as_me:$LINENO: result: no" >&5
   7040 $as_echo "no" >&6; }
   7041 fi
   7042 
   7043   if test "x$ac_ct_STRIP" = x; then
   7044     STRIP=":"
   7045   else
   7046     case $cross_compiling:$ac_tool_warned in
   7047 yes:)
   7048 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7050 ac_tool_warned=yes ;;
   7051 esac
   7052     STRIP=$ac_ct_STRIP
   7053   fi
   7054 else
   7055   STRIP="$ac_cv_prog_STRIP"
   7056 fi
   7057 
   7058 
   7059 old_CC="$CC"
   7060 old_CFLAGS="$CFLAGS"
   7061 
   7062 # Set sane defaults for various variables
   7063 test -z "$AR" && AR=ar
   7064 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7065 test -z "$AS" && AS=as
   7066 test -z "$CC" && CC=cc
   7067 test -z "$LTCC" && LTCC=$CC
   7068 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7069 test -z "$DLLTOOL" && DLLTOOL=dlltool
   7070 test -z "$LD" && LD=ld
   7071 test -z "$LN_S" && LN_S="ln -s"
   7072 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7073 test -z "$NM" && NM=nm
   7074 test -z "$SED" && SED=sed
   7075 test -z "$OBJDUMP" && OBJDUMP=objdump
   7076 test -z "$RANLIB" && RANLIB=:
   7077 test -z "$STRIP" && STRIP=:
   7078 test -z "$ac_objext" && ac_objext=o
   7079 
   7080 # Determine commands to create old-style static archives.
   7081 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7082 old_postinstall_cmds='chmod 644 $oldlib'
   7083 old_postuninstall_cmds=
   7084 
   7085 if test -n "$RANLIB"; then
   7086   case $host_os in
   7087   openbsd*)
   7088     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7089     ;;
   7090   *)
   7091     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7092     ;;
   7093   esac
   7094   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7095 fi
   7096 
   7097 for cc_temp in $compiler""; do
   7098   case $cc_temp in
   7099     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7100     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7101     \-*) ;;
   7102     *) break;;
   7103   esac
   7104 done
   7105 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7106 
   7107 
   7108 # Only perform the check for file, if the check method requires it
   7109 case $deplibs_check_method in
   7110 file_magic*)
   7111   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7112     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7113 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7114 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7115   $as_echo_n "(cached) " >&6
   7116 else
   7117   case $MAGIC_CMD in
   7118 [\\/*] |  ?:[\\/]*)
   7119   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7120   ;;
   7121 *)
   7122   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7123   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7124   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7125   for ac_dir in $ac_dummy; do
   7126     IFS="$lt_save_ifs"
   7127     test -z "$ac_dir" && ac_dir=.
   7128     if test -f $ac_dir/${ac_tool_prefix}file; then
   7129       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7130       if test -n "$file_magic_test_file"; then
   7131 	case $deplibs_check_method in
   7132 	"file_magic "*)
   7133 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7134 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7135 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7136 	    $EGREP "$file_magic_regex" > /dev/null; then
   7137 	    :
   7138 	  else
   7139 	    cat <<EOF 1>&2
   7140 
   7141 *** Warning: the command libtool uses to detect shared libraries,
   7142 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7143 *** The result is that libtool may fail to recognize shared libraries
   7144 *** as such.  This will affect the creation of libtool libraries that
   7145 *** depend on shared libraries, but programs linked with such libtool
   7146 *** libraries will work regardless of this problem.  Nevertheless, you
   7147 *** may want to report the problem to your system manager and/or to
   7148 *** bug-libtool@gnu.org
   7149 
   7150 EOF
   7151 	  fi ;;
   7152 	esac
   7153       fi
   7154       break
   7155     fi
   7156   done
   7157   IFS="$lt_save_ifs"
   7158   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7159   ;;
   7160 esac
   7161 fi
   7162 
   7163 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7164 if test -n "$MAGIC_CMD"; then
   7165   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7166 $as_echo "$MAGIC_CMD" >&6; }
   7167 else
   7168   { $as_echo "$as_me:$LINENO: result: no" >&5
   7169 $as_echo "no" >&6; }
   7170 fi
   7171 
   7172 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7173   if test -n "$ac_tool_prefix"; then
   7174     { $as_echo "$as_me:$LINENO: checking for file" >&5
   7175 $as_echo_n "checking for file... " >&6; }
   7176 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7177   $as_echo_n "(cached) " >&6
   7178 else
   7179   case $MAGIC_CMD in
   7180 [\\/*] |  ?:[\\/]*)
   7181   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7182   ;;
   7183 *)
   7184   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7185   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7186   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7187   for ac_dir in $ac_dummy; do
   7188     IFS="$lt_save_ifs"
   7189     test -z "$ac_dir" && ac_dir=.
   7190     if test -f $ac_dir/file; then
   7191       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7192       if test -n "$file_magic_test_file"; then
   7193 	case $deplibs_check_method in
   7194 	"file_magic "*)
   7195 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7196 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7197 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7198 	    $EGREP "$file_magic_regex" > /dev/null; then
   7199 	    :
   7200 	  else
   7201 	    cat <<EOF 1>&2
   7202 
   7203 *** Warning: the command libtool uses to detect shared libraries,
   7204 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7205 *** The result is that libtool may fail to recognize shared libraries
   7206 *** as such.  This will affect the creation of libtool libraries that
   7207 *** depend on shared libraries, but programs linked with such libtool
   7208 *** libraries will work regardless of this problem.  Nevertheless, you
   7209 *** may want to report the problem to your system manager and/or to
   7210 *** bug-libtool@gnu.org
   7211 
   7212 EOF
   7213 	  fi ;;
   7214 	esac
   7215       fi
   7216       break
   7217     fi
   7218   done
   7219   IFS="$lt_save_ifs"
   7220   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7221   ;;
   7222 esac
   7223 fi
   7224 
   7225 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7226 if test -n "$MAGIC_CMD"; then
   7227   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7228 $as_echo "$MAGIC_CMD" >&6; }
   7229 else
   7230   { $as_echo "$as_me:$LINENO: result: no" >&5
   7231 $as_echo "no" >&6; }
   7232 fi
   7233 
   7234   else
   7235     MAGIC_CMD=:
   7236   fi
   7237 fi
   7238 
   7239   fi
   7240   ;;
   7241 esac
   7242 
   7243 
   7244   case $host_os in
   7245     rhapsody* | darwin*)
   7246     if test -n "$ac_tool_prefix"; then
   7247   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7248 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7249 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7250 $as_echo_n "checking for $ac_word... " >&6; }
   7251 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
   7252   $as_echo_n "(cached) " >&6
   7253 else
   7254   if test -n "$DSYMUTIL"; then
   7255   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7256 else
   7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7258 for as_dir in $PATH
   7259 do
   7260   IFS=$as_save_IFS
   7261   test -z "$as_dir" && as_dir=.
   7262   for ac_exec_ext in '' $ac_executable_extensions; do
   7263   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7264     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7265     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7266     break 2
   7267   fi
   7268 done
   7269 done
   7270 IFS=$as_save_IFS
   7271 
   7272 fi
   7273 fi
   7274 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7275 if test -n "$DSYMUTIL"; then
   7276   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
   7277 $as_echo "$DSYMUTIL" >&6; }
   7278 else
   7279   { $as_echo "$as_me:$LINENO: result: no" >&5
   7280 $as_echo "no" >&6; }
   7281 fi
   7282 
   7283 
   7284 fi
   7285 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7286   ac_ct_DSYMUTIL=$DSYMUTIL
   7287   # Extract the first word of "dsymutil", so it can be a program name with args.
   7288 set dummy dsymutil; ac_word=$2
   7289 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7290 $as_echo_n "checking for $ac_word... " >&6; }
   7291 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
   7292   $as_echo_n "(cached) " >&6
   7293 else
   7294   if test -n "$ac_ct_DSYMUTIL"; then
   7295   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7296 else
   7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7298 for as_dir in $PATH
   7299 do
   7300   IFS=$as_save_IFS
   7301   test -z "$as_dir" && as_dir=.
   7302   for ac_exec_ext in '' $ac_executable_extensions; do
   7303   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7304     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7305     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7306     break 2
   7307   fi
   7308 done
   7309 done
   7310 IFS=$as_save_IFS
   7311 
   7312 fi
   7313 fi
   7314 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7315 if test -n "$ac_ct_DSYMUTIL"; then
   7316   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
   7317 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7318 else
   7319   { $as_echo "$as_me:$LINENO: result: no" >&5
   7320 $as_echo "no" >&6; }
   7321 fi
   7322 
   7323   if test "x$ac_ct_DSYMUTIL" = x; then
   7324     DSYMUTIL=":"
   7325   else
   7326     case $cross_compiling:$ac_tool_warned in
   7327 yes:)
   7328 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7330 ac_tool_warned=yes ;;
   7331 esac
   7332     DSYMUTIL=$ac_ct_DSYMUTIL
   7333   fi
   7334 else
   7335   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7336 fi
   7337 
   7338     if test -n "$ac_tool_prefix"; then
   7339   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7340 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7341 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7342 $as_echo_n "checking for $ac_word... " >&6; }
   7343 if test "${ac_cv_prog_NMEDIT+set}" = set; then
   7344   $as_echo_n "(cached) " >&6
   7345 else
   7346   if test -n "$NMEDIT"; then
   7347   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7348 else
   7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7350 for as_dir in $PATH
   7351 do
   7352   IFS=$as_save_IFS
   7353   test -z "$as_dir" && as_dir=.
   7354   for ac_exec_ext in '' $ac_executable_extensions; do
   7355   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7356     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7357     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7358     break 2
   7359   fi
   7360 done
   7361 done
   7362 IFS=$as_save_IFS
   7363 
   7364 fi
   7365 fi
   7366 NMEDIT=$ac_cv_prog_NMEDIT
   7367 if test -n "$NMEDIT"; then
   7368   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
   7369 $as_echo "$NMEDIT" >&6; }
   7370 else
   7371   { $as_echo "$as_me:$LINENO: result: no" >&5
   7372 $as_echo "no" >&6; }
   7373 fi
   7374 
   7375 
   7376 fi
   7377 if test -z "$ac_cv_prog_NMEDIT"; then
   7378   ac_ct_NMEDIT=$NMEDIT
   7379   # Extract the first word of "nmedit", so it can be a program name with args.
   7380 set dummy nmedit; ac_word=$2
   7381 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   7382 $as_echo_n "checking for $ac_word... " >&6; }
   7383 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
   7384   $as_echo_n "(cached) " >&6
   7385 else
   7386   if test -n "$ac_ct_NMEDIT"; then
   7387   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7388 else
   7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7390 for as_dir in $PATH
   7391 do
   7392   IFS=$as_save_IFS
   7393   test -z "$as_dir" && as_dir=.
   7394   for ac_exec_ext in '' $ac_executable_extensions; do
   7395   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7396     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7397     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7398     break 2
   7399   fi
   7400 done
   7401 done
   7402 IFS=$as_save_IFS
   7403 
   7404 fi
   7405 fi
   7406 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7407 if test -n "$ac_ct_NMEDIT"; then
   7408   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
   7409 $as_echo "$ac_ct_NMEDIT" >&6; }
   7410 else
   7411   { $as_echo "$as_me:$LINENO: result: no" >&5
   7412 $as_echo "no" >&6; }
   7413 fi
   7414 
   7415   if test "x$ac_ct_NMEDIT" = x; then
   7416     NMEDIT=":"
   7417   else
   7418     case $cross_compiling:$ac_tool_warned in
   7419 yes:)
   7420 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7422 ac_tool_warned=yes ;;
   7423 esac
   7424     NMEDIT=$ac_ct_NMEDIT
   7425   fi
   7426 else
   7427   NMEDIT="$ac_cv_prog_NMEDIT"
   7428 fi
   7429 
   7430 
   7431     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
   7432 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7433 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   7434   $as_echo_n "(cached) " >&6
   7435 else
   7436   lt_cv_apple_cc_single_mod=no
   7437       if test -z "${LT_MULTI_MODULE}"; then
   7438    # By default we will add the -single_module flag. You can override
   7439    # by either setting the environment variable LT_MULTI_MODULE
   7440    # non-empty at configure time, or by adding -multi_module to the
   7441    # link flags.
   7442    echo "int foo(void){return 1;}" > conftest.c
   7443    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7444      -dynamiclib ${wl}-single_module conftest.c
   7445    if test -f libconftest.dylib; then
   7446      lt_cv_apple_cc_single_mod=yes
   7447      rm -rf libconftest.dylib*
   7448    fi
   7449    rm conftest.c
   7450       fi
   7451 fi
   7452 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
   7453 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7454     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
   7455 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7456 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
   7457   $as_echo_n "(cached) " >&6
   7458 else
   7459   lt_cv_ld_exported_symbols_list=no
   7460       save_LDFLAGS=$LDFLAGS
   7461       echo "_main" > conftest.sym
   7462       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7463       cat >conftest.$ac_ext <<_ACEOF
   7464 /* confdefs.h.  */
   7465 _ACEOF
   7466 cat confdefs.h >>conftest.$ac_ext
   7467 cat >>conftest.$ac_ext <<_ACEOF
   7468 /* end confdefs.h.  */
   7469 
   7470 int
   7471 main ()
   7472 {
   7473 
   7474   ;
   7475   return 0;
   7476 }
   7477 _ACEOF
   7478 rm -f conftest.$ac_objext conftest$ac_exeext
   7479 if { (ac_try="$ac_link"
   7480 case "(($ac_try" in
   7481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   7482   *) ac_try_echo=$ac_try;;
   7483 esac
   7484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   7485 $as_echo "$ac_try_echo") >&5
   7486   (eval "$ac_link") 2>conftest.er1
   7487   ac_status=$?
   7488   grep -v '^ *+' conftest.er1 >conftest.err
   7489   rm -f conftest.er1
   7490   cat conftest.err >&5
   7491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7492   (exit $ac_status); } && {
   7493 	 test -z "$ac_c_werror_flag" ||
   7494 	 test ! -s conftest.err
   7495        } && test -s conftest$ac_exeext && {
   7496 	 test "$cross_compiling" = yes ||
   7497 	 $as_test_x conftest$ac_exeext
   7498        }; then
   7499   lt_cv_ld_exported_symbols_list=yes
   7500 else
   7501   $as_echo "$as_me: failed program was:" >&5
   7502 sed 's/^/| /' conftest.$ac_ext >&5
   7503 
   7504 	lt_cv_ld_exported_symbols_list=no
   7505 fi
   7506 
   7507 rm -rf conftest.dSYM
   7508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   7509       conftest$ac_exeext conftest.$ac_ext
   7510    LDFLAGS="$save_LDFLAGS"
   7511 
   7512 fi
   7513 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
   7514 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7515     case $host_os in
   7516     rhapsody* | darwin1.[0123])
   7517       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7518     darwin1.*)
   7519      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7520     darwin*)
   7521       # if running on 10.5 or later, the deployment target defaults
   7522       # to the OS version, if on x86, and 10.4, the deployment
   7523       # target defaults to 10.4. Don't you love it?
   7524       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7525    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7526      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7527    10.[012]*)
   7528      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7529    10.*)
   7530      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7531       esac
   7532     ;;
   7533   esac
   7534     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7535       _lt_dar_single_mod='$single_module'
   7536     fi
   7537     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7538       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7539     else
   7540       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
   7541     fi
   7542     if test "$DSYMUTIL" != ":"; then
   7543       _lt_dsymutil="~$DSYMUTIL \$lib || :"
   7544     else
   7545       _lt_dsymutil=
   7546     fi
   7547     ;;
   7548   esac
   7549 
   7550 
   7551 enable_dlopen=no
   7552 enable_win32_dll=no
   7553 
   7554 # Check whether --enable-libtool-lock was given.
   7555 if test "${enable_libtool_lock+set}" = set; then
   7556   enableval=$enable_libtool_lock;
   7557 fi
   7558 
   7559 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7560 
   7561 
   7562 # Check whether --with-pic was given.
   7563 if test "${with_pic+set}" = set; then
   7564   withval=$with_pic; pic_mode="$withval"
   7565 else
   7566   pic_mode=default
   7567 fi
   7568 
   7569 test -z "$pic_mode" && pic_mode=default
   7570 
   7571 # Use C for the default configuration in the libtool script
   7572 tagname=
   7573 lt_save_CC="$CC"
   7574 ac_ext=c
   7575 ac_cpp='$CPP $CPPFLAGS'
   7576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7579 
   7580 
   7581 # Source file extension for C test sources.
   7582 ac_ext=c
   7583 
   7584 # Object file extension for compiled C test sources.
   7585 objext=o
   7586 objext=$objext
   7587 
   7588 # Code to be used in simple compile tests
   7589 lt_simple_compile_test_code="int some_variable = 0;"
   7590 
   7591 # Code to be used in simple link tests
   7592 lt_simple_link_test_code='int main(){return(0);}'
   7593 
   7594 
   7595 # If no C compiler was specified, use CC.
   7596 LTCC=${LTCC-"$CC"}
   7597 
   7598 # If no C compiler flags were specified, use CFLAGS.
   7599 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7600 
   7601 # Allow CC to be a program name with arguments.
   7602 compiler=$CC
   7603 
   7604 
   7605 # save warnings/boilerplate of simple test code
   7606 ac_outfile=conftest.$ac_objext
   7607 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7608 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7609 _lt_compiler_boilerplate=`cat conftest.err`
   7610 $rm conftest*
   7611 
   7612 ac_outfile=conftest.$ac_objext
   7613 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7614 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7615 _lt_linker_boilerplate=`cat conftest.err`
   7616 $rm -r conftest*
   7617 
   7618 
   7619 
   7620 lt_prog_compiler_no_builtin_flag=
   7621 
   7622 if test "$GCC" = yes; then
   7623   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7624 
   7625 
   7626 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7627 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7628 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7629   $as_echo_n "(cached) " >&6
   7630 else
   7631   lt_cv_prog_compiler_rtti_exceptions=no
   7632   ac_outfile=conftest.$ac_objext
   7633    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7634    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7635    # Insert the option either (1) after the last *FLAGS variable, or
   7636    # (2) before a word containing "conftest.", or (3) at the end.
   7637    # Note that $ac_compile itself does not contain backslashes and begins
   7638    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7639    # The option is referenced via a variable to avoid confusing sed.
   7640    lt_compile=`echo "$ac_compile" | $SED \
   7641    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7642    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7643    -e 's:$: $lt_compiler_flag:'`
   7644    (eval echo "\"\$as_me:7644: $lt_compile\"" >&5)
   7645    (eval "$lt_compile" 2>conftest.err)
   7646    ac_status=$?
   7647    cat conftest.err >&5
   7648    echo "$as_me:7648: \$? = $ac_status" >&5
   7649    if (exit $ac_status) && test -s "$ac_outfile"; then
   7650      # The compiler can only warn and ignore the option if not recognized
   7651      # So say no if there are warnings other than the usual output.
   7652      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7653      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7654      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7655        lt_cv_prog_compiler_rtti_exceptions=yes
   7656      fi
   7657    fi
   7658    $rm conftest*
   7659 
   7660 fi
   7661 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7662 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7663 
   7664 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7665     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7666 else
   7667     :
   7668 fi
   7669 
   7670 fi
   7671 
   7672 lt_prog_compiler_wl=
   7673 lt_prog_compiler_pic=
   7674 lt_prog_compiler_static=
   7675 
   7676 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7677 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   7678 
   7679   if test "$GCC" = yes; then
   7680     lt_prog_compiler_wl='-Wl,'
   7681     lt_prog_compiler_static='-static'
   7682 
   7683     case $host_os in
   7684       aix*)
   7685       # All AIX code is PIC.
   7686       if test "$host_cpu" = ia64; then
   7687 	# AIX 5 now supports IA64 processor
   7688 	lt_prog_compiler_static='-Bstatic'
   7689       fi
   7690       ;;
   7691 
   7692     amigaos*)
   7693       # FIXME: we need at least 68020 code to build shared libraries, but
   7694       # adding the `-m68020' flag to GCC prevents building anything better,
   7695       # like `-m68040'.
   7696       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7697       ;;
   7698 
   7699     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7700       # PIC is the default for these OSes.
   7701       ;;
   7702 
   7703     mingw* | cygwin* | pw32* | os2*)
   7704       # This hack is so that the source file can tell whether it is being
   7705       # built for inclusion in a dll (and should export symbols for example).
   7706       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7707       # (--disable-auto-import) libraries
   7708       lt_prog_compiler_pic='-DDLL_EXPORT'
   7709       ;;
   7710 
   7711     darwin* | rhapsody*)
   7712       # PIC is the default on this platform
   7713       # Common symbols not allowed in MH_DYLIB files
   7714       lt_prog_compiler_pic='-fno-common'
   7715       ;;
   7716 
   7717     interix[3-9]*)
   7718       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7719       # Instead, we relocate shared libraries at runtime.
   7720       ;;
   7721 
   7722     msdosdjgpp*)
   7723       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7724       # on systems that don't support them.
   7725       lt_prog_compiler_can_build_shared=no
   7726       enable_shared=no
   7727       ;;
   7728 
   7729     sysv4*MP*)
   7730       if test -d /usr/nec; then
   7731 	lt_prog_compiler_pic=-Kconform_pic
   7732       fi
   7733       ;;
   7734 
   7735     hpux*)
   7736       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7737       # not for PA HP-UX.
   7738       case $host_cpu in
   7739       hppa*64*|ia64*)
   7740 	# +Z the default
   7741 	;;
   7742       *)
   7743 	lt_prog_compiler_pic='-fPIC'
   7744 	;;
   7745       esac
   7746       ;;
   7747 
   7748     *)
   7749       lt_prog_compiler_pic='-fPIC'
   7750       ;;
   7751     esac
   7752   else
   7753     # PORTME Check for flag to pass linker flags through the system compiler.
   7754     case $host_os in
   7755     aix*)
   7756       lt_prog_compiler_wl='-Wl,'
   7757       if test "$host_cpu" = ia64; then
   7758 	# AIX 5 now supports IA64 processor
   7759 	lt_prog_compiler_static='-Bstatic'
   7760       else
   7761 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7762       fi
   7763       ;;
   7764       darwin*)
   7765         # PIC is the default on this platform
   7766         # Common symbols not allowed in MH_DYLIB files
   7767        case $cc_basename in
   7768          xlc*)
   7769          lt_prog_compiler_pic='-qnocommon'
   7770          lt_prog_compiler_wl='-Wl,'
   7771          ;;
   7772        esac
   7773        ;;
   7774 
   7775     mingw* | cygwin* | pw32* | os2*)
   7776       # This hack is so that the source file can tell whether it is being
   7777       # built for inclusion in a dll (and should export symbols for example).
   7778       lt_prog_compiler_pic='-DDLL_EXPORT'
   7779       ;;
   7780 
   7781     hpux9* | hpux10* | hpux11*)
   7782       lt_prog_compiler_wl='-Wl,'
   7783       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7784       # not for PA HP-UX.
   7785       case $host_cpu in
   7786       hppa*64*|ia64*)
   7787 	# +Z the default
   7788 	;;
   7789       *)
   7790 	lt_prog_compiler_pic='+Z'
   7791 	;;
   7792       esac
   7793       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7794       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7795       ;;
   7796 
   7797     irix5* | irix6* | nonstopux*)
   7798       lt_prog_compiler_wl='-Wl,'
   7799       # PIC (with -KPIC) is the default.
   7800       lt_prog_compiler_static='-non_shared'
   7801       ;;
   7802 
   7803     newsos6)
   7804       lt_prog_compiler_pic='-KPIC'
   7805       lt_prog_compiler_static='-Bstatic'
   7806       ;;
   7807 
   7808     linux* | k*bsd*-gnu)
   7809       case $cc_basename in
   7810       icc* | ecc*)
   7811 	lt_prog_compiler_wl='-Wl,'
   7812 	lt_prog_compiler_pic='-KPIC'
   7813 	lt_prog_compiler_static='-static'
   7814         ;;
   7815       pgcc* | pgf77* | pgf90* | pgf95*)
   7816         # Portland Group compilers (*not* the Pentium gcc compiler,
   7817 	# which looks to be a dead project)
   7818 	lt_prog_compiler_wl='-Wl,'
   7819 	lt_prog_compiler_pic='-fpic'
   7820 	lt_prog_compiler_static='-Bstatic'
   7821         ;;
   7822       ccc*)
   7823         lt_prog_compiler_wl='-Wl,'
   7824         # All Alpha code is PIC.
   7825         lt_prog_compiler_static='-non_shared'
   7826         ;;
   7827       *)
   7828         case `$CC -V 2>&1 | sed 5q` in
   7829 	*Sun\ C*)
   7830 	  # Sun C 5.9
   7831 	  lt_prog_compiler_pic='-KPIC'
   7832 	  lt_prog_compiler_static='-Bstatic'
   7833 	  lt_prog_compiler_wl='-Wl,'
   7834 	  ;;
   7835 	*Sun\ F*)
   7836 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7837 	  lt_prog_compiler_pic='-KPIC'
   7838 	  lt_prog_compiler_static='-Bstatic'
   7839 	  lt_prog_compiler_wl=''
   7840 	  ;;
   7841 	esac
   7842 	;;
   7843       esac
   7844       ;;
   7845 
   7846     osf3* | osf4* | osf5*)
   7847       lt_prog_compiler_wl='-Wl,'
   7848       # All OSF/1 code is PIC.
   7849       lt_prog_compiler_static='-non_shared'
   7850       ;;
   7851 
   7852     rdos*)
   7853       lt_prog_compiler_static='-non_shared'
   7854       ;;
   7855 
   7856     solaris*)
   7857       lt_prog_compiler_pic='-KPIC'
   7858       lt_prog_compiler_static='-Bstatic'
   7859       case $cc_basename in
   7860       f77* | f90* | f95*)
   7861 	lt_prog_compiler_wl='-Qoption ld ';;
   7862       *)
   7863 	lt_prog_compiler_wl='-Wl,';;
   7864       esac
   7865       ;;
   7866 
   7867     sunos4*)
   7868       lt_prog_compiler_wl='-Qoption ld '
   7869       lt_prog_compiler_pic='-PIC'
   7870       lt_prog_compiler_static='-Bstatic'
   7871       ;;
   7872 
   7873     sysv4 | sysv4.2uw2* | sysv4.3*)
   7874       lt_prog_compiler_wl='-Wl,'
   7875       lt_prog_compiler_pic='-KPIC'
   7876       lt_prog_compiler_static='-Bstatic'
   7877       ;;
   7878 
   7879     sysv4*MP*)
   7880       if test -d /usr/nec ;then
   7881 	lt_prog_compiler_pic='-Kconform_pic'
   7882 	lt_prog_compiler_static='-Bstatic'
   7883       fi
   7884       ;;
   7885 
   7886     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7887       lt_prog_compiler_wl='-Wl,'
   7888       lt_prog_compiler_pic='-KPIC'
   7889       lt_prog_compiler_static='-Bstatic'
   7890       ;;
   7891 
   7892     unicos*)
   7893       lt_prog_compiler_wl='-Wl,'
   7894       lt_prog_compiler_can_build_shared=no
   7895       ;;
   7896 
   7897     uts4*)
   7898       lt_prog_compiler_pic='-pic'
   7899       lt_prog_compiler_static='-Bstatic'
   7900       ;;
   7901 
   7902     *)
   7903       lt_prog_compiler_can_build_shared=no
   7904       ;;
   7905     esac
   7906   fi
   7907 
   7908 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7909 $as_echo "$lt_prog_compiler_pic" >&6; }
   7910 
   7911 #
   7912 # Check to make sure the PIC flag actually works.
   7913 #
   7914 if test -n "$lt_prog_compiler_pic"; then
   7915 
   7916 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7917 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   7918 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
   7919   $as_echo_n "(cached) " >&6
   7920 else
   7921   lt_cv_prog_compiler_pic_works=no
   7922   ac_outfile=conftest.$ac_objext
   7923    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7924    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7925    # Insert the option either (1) after the last *FLAGS variable, or
   7926    # (2) before a word containing "conftest.", or (3) at the end.
   7927    # Note that $ac_compile itself does not contain backslashes and begins
   7928    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7929    # The option is referenced via a variable to avoid confusing sed.
   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>conftest.err)
   7936    ac_status=$?
   7937    cat conftest.err >&5
   7938    echo "$as_me:7938: \$? = $ac_status" >&5
   7939    if (exit $ac_status) && test -s "$ac_outfile"; then
   7940      # The compiler can only warn and ignore the option if not recognized
   7941      # So say no if there are warnings other than the usual output.
   7942      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7943      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7944      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7945        lt_cv_prog_compiler_pic_works=yes
   7946      fi
   7947    fi
   7948    $rm conftest*
   7949 
   7950 fi
   7951 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
   7952 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   7953 
   7954 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   7955     case $lt_prog_compiler_pic in
   7956      "" | " "*) ;;
   7957      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7958      esac
   7959 else
   7960     lt_prog_compiler_pic=
   7961      lt_prog_compiler_can_build_shared=no
   7962 fi
   7963 
   7964 fi
   7965 case $host_os in
   7966   # For platforms which do not support PIC, -DPIC is meaningless:
   7967   *djgpp*)
   7968     lt_prog_compiler_pic=
   7969     ;;
   7970   *)
   7971     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7972     ;;
   7973 esac
   7974 
   7975 #
   7976 # Check to make sure the static flag actually works.
   7977 #
   7978 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7979 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7980 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   7981 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
   7982   $as_echo_n "(cached) " >&6
   7983 else
   7984   lt_cv_prog_compiler_static_works=no
   7985    save_LDFLAGS="$LDFLAGS"
   7986    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7987    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7988    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7989      # The linker can only warn and ignore the option if not recognized
   7990      # So say no if there are warnings
   7991      if test -s conftest.err; then
   7992        # Append any errors to the config.log.
   7993        cat conftest.err 1>&5
   7994        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7995        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7996        if diff conftest.exp conftest.er2 >/dev/null; then
   7997          lt_cv_prog_compiler_static_works=yes
   7998        fi
   7999      else
   8000        lt_cv_prog_compiler_static_works=yes
   8001      fi
   8002    fi
   8003    $rm -r conftest*
   8004    LDFLAGS="$save_LDFLAGS"
   8005 
   8006 fi
   8007 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
   8008 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8009 
   8010 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8011     :
   8012 else
   8013     lt_prog_compiler_static=
   8014 fi
   8015 
   8016 
   8017 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   8018 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8019 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   8020   $as_echo_n "(cached) " >&6
   8021 else
   8022   lt_cv_prog_compiler_c_o=no
   8023    $rm -r conftest 2>/dev/null
   8024    mkdir conftest
   8025    cd conftest
   8026    mkdir out
   8027    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8028 
   8029    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8030    # Insert the option either (1) after the last *FLAGS variable, or
   8031    # (2) before a word containing "conftest.", or (3) at the end.
   8032    # Note that $ac_compile itself does not contain backslashes and begins
   8033    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8034    lt_compile=`echo "$ac_compile" | $SED \
   8035    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8036    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8037    -e 's:$: $lt_compiler_flag:'`
   8038    (eval echo "\"\$as_me:8038: $lt_compile\"" >&5)
   8039    (eval "$lt_compile" 2>out/conftest.err)
   8040    ac_status=$?
   8041    cat out/conftest.err >&5
   8042    echo "$as_me:8042: \$? = $ac_status" >&5
   8043    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8044    then
   8045      # The compiler can only warn and ignore the option if not recognized
   8046      # So say no if there are warnings
   8047      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   8048      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8049      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8050        lt_cv_prog_compiler_c_o=yes
   8051      fi
   8052    fi
   8053    chmod u+w . 2>&5
   8054    $rm conftest*
   8055    # SGI C++ compiler will create directory out/ii_files/ for
   8056    # template instantiation
   8057    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   8058    $rm out/* && rmdir out
   8059    cd ..
   8060    rmdir conftest
   8061    $rm conftest*
   8062 
   8063 fi
   8064 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   8065 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8066 
   8067 
   8068 hard_links="nottested"
   8069 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8070   # do not overwrite the value of need_locks provided by the user
   8071   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   8072 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8073   hard_links=yes
   8074   $rm conftest*
   8075   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8076   touch conftest.a
   8077   ln conftest.a conftest.b 2>&5 || hard_links=no
   8078   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8079   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   8080 $as_echo "$hard_links" >&6; }
   8081   if test "$hard_links" = no; then
   8082     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8083 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8084     need_locks=warn
   8085   fi
   8086 else
   8087   need_locks=no
   8088 fi
   8089 
   8090 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8091 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8092 
   8093   runpath_var=
   8094   allow_undefined_flag=
   8095   enable_shared_with_static_runtimes=no
   8096   archive_cmds=
   8097   archive_expsym_cmds=
   8098   old_archive_From_new_cmds=
   8099   old_archive_from_expsyms_cmds=
   8100   export_dynamic_flag_spec=
   8101   whole_archive_flag_spec=
   8102   thread_safe_flag_spec=
   8103   hardcode_libdir_flag_spec=
   8104   hardcode_libdir_flag_spec_ld=
   8105   hardcode_libdir_separator=
   8106   hardcode_direct=no
   8107   hardcode_minus_L=no
   8108   hardcode_shlibpath_var=unsupported
   8109   link_all_deplibs=unknown
   8110   hardcode_automatic=no
   8111   module_cmds=
   8112   module_expsym_cmds=
   8113   always_export_symbols=no
   8114   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8115   # include_expsyms should be a list of space-separated symbols to be *always*
   8116   # included in the symbol list
   8117   include_expsyms=
   8118   # exclude_expsyms can be an extended regexp of symbols to exclude
   8119   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8120   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8121   # as well as any symbol that contains `d'.
   8122   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8123   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8124   # platforms (ab)use it in PIC code, but their linkers get confused if
   8125   # the symbol is explicitly referenced.  Since portable code cannot
   8126   # rely on this symbol name, it's probably fine to never include it in
   8127   # preloaded symbol tables.
   8128   # Exclude shared library initialization/finalization symbols.
   8129   extract_expsyms_cmds=
   8130   # Just being paranoid about ensuring that cc_basename is set.
   8131   for cc_temp in $compiler""; do
   8132   case $cc_temp in
   8133     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8134     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8135     \-*) ;;
   8136     *) break;;
   8137   esac
   8138 done
   8139 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   8140 
   8141   case $host_os in
   8142   cygwin* | mingw* | pw32*)
   8143     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8144     # When not using gcc, we currently assume that we are using
   8145     # Microsoft Visual C++.
   8146     if test "$GCC" != yes; then
   8147       with_gnu_ld=no
   8148     fi
   8149     ;;
   8150   interix*)
   8151     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8152     with_gnu_ld=yes
   8153     ;;
   8154   openbsd*)
   8155     with_gnu_ld=no
   8156     ;;
   8157   esac
   8158 
   8159   ld_shlibs=yes
   8160   if test "$with_gnu_ld" = yes; then
   8161     # If archive_cmds runs LD, not CC, wlarc should be empty
   8162     wlarc='${wl}'
   8163 
   8164     # Set some defaults for GNU ld with shared library support. These
   8165     # are reset later if shared libraries are not supported. Putting them
   8166     # here allows them to be overridden if necessary.
   8167     runpath_var=LD_RUN_PATH
   8168     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
   8169     export_dynamic_flag_spec='${wl}--export-dynamic'
   8170     # ancient GNU ld didn't support --whole-archive et. al.
   8171     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   8172 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8173       else
   8174   	whole_archive_flag_spec=
   8175     fi
   8176     supports_anon_versioning=no
   8177     case `$LD -v 2>/dev/null` in
   8178       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8179       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8180       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8181       *\ 2.11.*) ;; # other 2.11 versions
   8182       *) supports_anon_versioning=yes ;;
   8183     esac
   8184 
   8185     # See if GNU ld supports shared libraries.
   8186     case $host_os in
   8187     aix[3-9]*)
   8188       # On AIX/PPC, the GNU linker is very broken
   8189       if test "$host_cpu" != ia64; then
   8190 	ld_shlibs=no
   8191 	cat <<EOF 1>&2
   8192 
   8193 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   8194 *** to be unable to reliably create shared libraries on AIX.
   8195 *** Therefore, libtool is disabling shared libraries support.  If you
   8196 *** really care for shared libraries, you may want to modify your PATH
   8197 *** so that a non-GNU linker is found, and then restart.
   8198 
   8199 EOF
   8200       fi
   8201       ;;
   8202 
   8203     amigaos*)
   8204       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)'
   8205       hardcode_libdir_flag_spec='-L$libdir'
   8206       hardcode_minus_L=yes
   8207 
   8208       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   8209       # that the semantics of dynamic libraries on AmigaOS, at least up
   8210       # to version 4, is to share data among multiple programs linked
   8211       # with the same dynamic library.  Since this doesn't match the
   8212       # behavior of shared libraries on other platforms, we can't use
   8213       # them.
   8214       ld_shlibs=no
   8215       ;;
   8216 
   8217     beos*)
   8218       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8219 	allow_undefined_flag=unsupported
   8220 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8221 	# support --undefined.  This deserves some investigation.  FIXME
   8222 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8223       else
   8224 	ld_shlibs=no
   8225       fi
   8226       ;;
   8227 
   8228     cygwin* | mingw* | pw32*)
   8229       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8230       # as there is no search path for DLLs.
   8231       hardcode_libdir_flag_spec='-L$libdir'
   8232       allow_undefined_flag=unsupported
   8233       always_export_symbols=no
   8234       enable_shared_with_static_runtimes=yes
   8235       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   8236 
   8237       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   8238         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8239 	# If the export-symbols file already is a .def file (1st line
   8240 	# is EXPORTS), use it as is; otherwise, prepend...
   8241 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8242 	  cp $export_symbols $output_objdir/$soname.def;
   8243 	else
   8244 	  echo EXPORTS > $output_objdir/$soname.def;
   8245 	  cat $export_symbols >> $output_objdir/$soname.def;
   8246 	fi~
   8247 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8248       else
   8249 	ld_shlibs=no
   8250       fi
   8251       ;;
   8252 
   8253     interix[3-9]*)
   8254       hardcode_direct=no
   8255       hardcode_shlibpath_var=no
   8256       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8257       export_dynamic_flag_spec='${wl}-E'
   8258       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8259       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8260       # default) and relocated if they conflict, which is a slow very memory
   8261       # consuming and fragmenting process.  To avoid this, we pick a random,
   8262       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8263       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8264       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8265       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'
   8266       ;;
   8267 
   8268     gnu* | linux* | k*bsd*-gnu)
   8269       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8270 	tmp_addflag=
   8271 	case $cc_basename,$host_cpu in
   8272 	pgcc*)				# Portland Group C compiler
   8273 	  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'
   8274 	  tmp_addflag=' $pic_flag'
   8275 	  ;;
   8276 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   8277 	  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'
   8278 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8279 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   8280 	  tmp_addflag=' -i_dynamic' ;;
   8281 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8282 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8283 	ifc* | ifort*)			# Intel Fortran compiler
   8284 	  tmp_addflag=' -nofor_main' ;;
   8285 	esac
   8286 	case `$CC -V 2>&1 | sed 5q` in
   8287 	*Sun\ C*)			# Sun C 5.9
   8288 	  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'
   8289 	  tmp_sharedflag='-G' ;;
   8290 	*Sun\ F*)			# Sun Fortran 8.3
   8291 	  tmp_sharedflag='-G' ;;
   8292 	*)
   8293 	  tmp_sharedflag='-shared' ;;
   8294 	esac
   8295 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8296 
   8297 	if test $supports_anon_versioning = yes; then
   8298 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
   8299   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8300   $echo "local: *; };" >> $output_objdir/$libname.ver~
   8301 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8302 	fi
   8303       else
   8304 	ld_shlibs=no
   8305       fi
   8306       ;;
   8307 
   8308     netbsd*)
   8309       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8310 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8311 	wlarc=
   8312       else
   8313 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8314 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8315       fi
   8316       ;;
   8317 
   8318     solaris*)
   8319       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   8320 	ld_shlibs=no
   8321 	cat <<EOF 1>&2
   8322 
   8323 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8324 *** create shared libraries on Solaris systems.  Therefore, libtool
   8325 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8326 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8327 *** your PATH or compiler configuration so that the native linker is
   8328 *** used, and then restart.
   8329 
   8330 EOF
   8331       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8332 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8333 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8334       else
   8335 	ld_shlibs=no
   8336       fi
   8337       ;;
   8338 
   8339     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8340       case `$LD -v 2>&1` in
   8341         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8342 	ld_shlibs=no
   8343 	cat <<_LT_EOF 1>&2
   8344 
   8345 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8346 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8347 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8348 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8349 *** your PATH or compiler configuration so that the native linker is
   8350 *** used, and then restart.
   8351 
   8352 _LT_EOF
   8353 	;;
   8354 	*)
   8355 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8356 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   8357 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   8358 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   8359 	  else
   8360 	    ld_shlibs=no
   8361 	  fi
   8362 	;;
   8363       esac
   8364       ;;
   8365 
   8366     sunos4*)
   8367       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8368       wlarc=
   8369       hardcode_direct=yes
   8370       hardcode_shlibpath_var=no
   8371       ;;
   8372 
   8373     *)
   8374       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   8375 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8376 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8377       else
   8378 	ld_shlibs=no
   8379       fi
   8380       ;;
   8381     esac
   8382 
   8383     if test "$ld_shlibs" = no; then
   8384       runpath_var=
   8385       hardcode_libdir_flag_spec=
   8386       export_dynamic_flag_spec=
   8387       whole_archive_flag_spec=
   8388     fi
   8389   else
   8390     # PORTME fill in a description of your system's linker (not GNU ld)
   8391     case $host_os in
   8392     aix3*)
   8393       allow_undefined_flag=unsupported
   8394       always_export_symbols=yes
   8395       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'
   8396       # Note: this linker hardcodes the directories in LIBPATH if there
   8397       # are no directories specified by -L.
   8398       hardcode_minus_L=yes
   8399       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8400 	# Neither direct hardcoding nor static linking is supported with a
   8401 	# broken collect2.
   8402 	hardcode_direct=unsupported
   8403       fi
   8404       ;;
   8405 
   8406     aix[4-9]*)
   8407       if test "$host_cpu" = ia64; then
   8408 	# On IA64, the linker does run time linking by default, so we don't
   8409 	# have to do anything special.
   8410 	aix_use_runtimelinking=no
   8411 	exp_sym_flag='-Bexport'
   8412 	no_entry_flag=""
   8413       else
   8414 	# If we're using GNU nm, then we don't want the "-C" option.
   8415 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8416 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   8417 	  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'
   8418 	else
   8419 	  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'
   8420 	fi
   8421 	aix_use_runtimelinking=no
   8422 
   8423 	# Test if we are trying to use run time linking or normal
   8424 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8425 	# need to do runtime linking.
   8426 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8427 	  for ld_flag in $LDFLAGS; do
   8428   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8429   	    aix_use_runtimelinking=yes
   8430   	    break
   8431   	  fi
   8432 	  done
   8433 	  ;;
   8434 	esac
   8435 
   8436 	exp_sym_flag='-bexport'
   8437 	no_entry_flag='-bnoentry'
   8438       fi
   8439 
   8440       # When large executables or shared objects are built, AIX ld can
   8441       # have problems creating the table of contents.  If linking a library
   8442       # or program results in "error TOC overflow" add -mminimal-toc to
   8443       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8444       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8445 
   8446       archive_cmds=''
   8447       hardcode_direct=yes
   8448       hardcode_libdir_separator=':'
   8449       link_all_deplibs=yes
   8450 
   8451       if test "$GCC" = yes; then
   8452 	case $host_os in aix4.[012]|aix4.[012].*)
   8453 	# We only want to do this on AIX 4.2 and lower, the check
   8454 	# below for broken collect2 doesn't work under 4.3+
   8455 	  collect2name=`${CC} -print-prog-name=collect2`
   8456 	  if test -f "$collect2name" && \
   8457   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   8458 	  then
   8459   	  # We have reworked collect2
   8460   	  :
   8461 	  else
   8462   	  # We have old collect2
   8463   	  hardcode_direct=unsupported
   8464   	  # It fails to find uninstalled libraries when the uninstalled
   8465   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8466   	  # to unsupported forces relinking
   8467   	  hardcode_minus_L=yes
   8468   	  hardcode_libdir_flag_spec='-L$libdir'
   8469   	  hardcode_libdir_separator=
   8470 	  fi
   8471 	  ;;
   8472 	esac
   8473 	shared_flag='-shared'
   8474 	if test "$aix_use_runtimelinking" = yes; then
   8475 	  shared_flag="$shared_flag "'${wl}-G'
   8476 	fi
   8477       else
   8478 	# not using gcc
   8479 	if test "$host_cpu" = ia64; then
   8480   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8481   	# chokes on -Wl,-G. The following line is correct:
   8482 	  shared_flag='-G'
   8483 	else
   8484 	  if test "$aix_use_runtimelinking" = yes; then
   8485 	    shared_flag='${wl}-G'
   8486 	  else
   8487 	    shared_flag='${wl}-bM:SRE'
   8488 	  fi
   8489 	fi
   8490       fi
   8491 
   8492       # It seems that -bexpall does not export symbols beginning with
   8493       # underscore (_), so it is better to generate a list of symbols to export.
   8494       always_export_symbols=yes
   8495       if test "$aix_use_runtimelinking" = yes; then
   8496 	# Warning - without using the other runtime loading flags (-brtl),
   8497 	# -berok will link without error, but may produce a broken library.
   8498 	allow_undefined_flag='-berok'
   8499        # Determine the default libpath from the value encoded in an empty executable.
   8500        cat >conftest.$ac_ext <<_ACEOF
   8501 /* confdefs.h.  */
   8502 _ACEOF
   8503 cat confdefs.h >>conftest.$ac_ext
   8504 cat >>conftest.$ac_ext <<_ACEOF
   8505 /* end confdefs.h.  */
   8506 
   8507 int
   8508 main ()
   8509 {
   8510 
   8511   ;
   8512   return 0;
   8513 }
   8514 _ACEOF
   8515 rm -f conftest.$ac_objext conftest$ac_exeext
   8516 if { (ac_try="$ac_link"
   8517 case "(($ac_try" in
   8518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8519   *) ac_try_echo=$ac_try;;
   8520 esac
   8521 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8522 $as_echo "$ac_try_echo") >&5
   8523   (eval "$ac_link") 2>conftest.er1
   8524   ac_status=$?
   8525   grep -v '^ *+' conftest.er1 >conftest.err
   8526   rm -f conftest.er1
   8527   cat conftest.err >&5
   8528   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8529   (exit $ac_status); } && {
   8530 	 test -z "$ac_c_werror_flag" ||
   8531 	 test ! -s conftest.err
   8532        } && test -s conftest$ac_exeext && {
   8533 	 test "$cross_compiling" = yes ||
   8534 	 $as_test_x conftest$ac_exeext
   8535        }; then
   8536 
   8537 lt_aix_libpath_sed='
   8538     /Import File Strings/,/^$/ {
   8539 	/^0/ {
   8540 	    s/^0  *\(.*\)$/\1/
   8541 	    p
   8542 	}
   8543     }'
   8544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8545 # Check for a 64-bit object if we didn't find anything.
   8546 if test -z "$aix_libpath"; then
   8547   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8548 fi
   8549 else
   8550   $as_echo "$as_me: failed program was:" >&5
   8551 sed 's/^/| /' conftest.$ac_ext >&5
   8552 
   8553 
   8554 fi
   8555 
   8556 rm -rf conftest.dSYM
   8557 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8558       conftest$ac_exeext conftest.$ac_ext
   8559 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8560 
   8561        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8562 	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"
   8563        else
   8564 	if test "$host_cpu" = ia64; then
   8565 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8566 	  allow_undefined_flag="-z nodefs"
   8567 	  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"
   8568 	else
   8569 	 # Determine the default libpath from the value encoded in an empty executable.
   8570 	 cat >conftest.$ac_ext <<_ACEOF
   8571 /* confdefs.h.  */
   8572 _ACEOF
   8573 cat confdefs.h >>conftest.$ac_ext
   8574 cat >>conftest.$ac_ext <<_ACEOF
   8575 /* end confdefs.h.  */
   8576 
   8577 int
   8578 main ()
   8579 {
   8580 
   8581   ;
   8582   return 0;
   8583 }
   8584 _ACEOF
   8585 rm -f conftest.$ac_objext conftest$ac_exeext
   8586 if { (ac_try="$ac_link"
   8587 case "(($ac_try" in
   8588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   8589   *) ac_try_echo=$ac_try;;
   8590 esac
   8591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   8592 $as_echo "$ac_try_echo") >&5
   8593   (eval "$ac_link") 2>conftest.er1
   8594   ac_status=$?
   8595   grep -v '^ *+' conftest.er1 >conftest.err
   8596   rm -f conftest.er1
   8597   cat conftest.err >&5
   8598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8599   (exit $ac_status); } && {
   8600 	 test -z "$ac_c_werror_flag" ||
   8601 	 test ! -s conftest.err
   8602        } && test -s conftest$ac_exeext && {
   8603 	 test "$cross_compiling" = yes ||
   8604 	 $as_test_x conftest$ac_exeext
   8605        }; then
   8606 
   8607 lt_aix_libpath_sed='
   8608     /Import File Strings/,/^$/ {
   8609 	/^0/ {
   8610 	    s/^0  *\(.*\)$/\1/
   8611 	    p
   8612 	}
   8613     }'
   8614 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8615 # Check for a 64-bit object if we didn't find anything.
   8616 if test -z "$aix_libpath"; then
   8617   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8618 fi
   8619 else
   8620   $as_echo "$as_me: failed program was:" >&5
   8621 sed 's/^/| /' conftest.$ac_ext >&5
   8622 
   8623 
   8624 fi
   8625 
   8626 rm -rf conftest.dSYM
   8627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   8628       conftest$ac_exeext conftest.$ac_ext
   8629 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8630 
   8631 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8632 	  # Warning - without using the other run time loading flags,
   8633 	  # -berok will link without error, but may produce a broken library.
   8634 	  no_undefined_flag=' ${wl}-bernotok'
   8635 	  allow_undefined_flag=' ${wl}-berok'
   8636 	  # Exported symbols can be pulled into shared objects from archives
   8637 	  whole_archive_flag_spec='$convenience'
   8638 	  archive_cmds_need_lc=yes
   8639 	  # This is similar to how AIX traditionally builds its shared libraries.
   8640 	  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'
   8641 	fi
   8642       fi
   8643       ;;
   8644 
   8645     amigaos*)
   8646       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)'
   8647       hardcode_libdir_flag_spec='-L$libdir'
   8648       hardcode_minus_L=yes
   8649       # see comment about different semantics on the GNU ld section
   8650       ld_shlibs=no
   8651       ;;
   8652 
   8653     bsdi[45]*)
   8654       export_dynamic_flag_spec=-rdynamic
   8655       ;;
   8656 
   8657     cygwin* | mingw* | pw32*)
   8658       # When not using gcc, we currently assume that we are using
   8659       # Microsoft Visual C++.
   8660       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8661       # no search path for DLLs.
   8662       hardcode_libdir_flag_spec=' '
   8663       allow_undefined_flag=unsupported
   8664       # Tell ltmain to make .lib files, not .a files.
   8665       libext=lib
   8666       # Tell ltmain to make .dll files, not .so files.
   8667       shrext_cmds=".dll"
   8668       # FIXME: Setting linknames here is a bad hack.
   8669       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8670       # The linker will automatically build a .lib file if we build a DLL.
   8671       old_archive_From_new_cmds='true'
   8672       # FIXME: Should let the user specify the lib program.
   8673       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8674       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8675       enable_shared_with_static_runtimes=yes
   8676       ;;
   8677 
   8678     darwin* | rhapsody*)
   8679       case $host_os in
   8680         rhapsody* | darwin1.[012])
   8681          allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8682          ;;
   8683        *) # Darwin 1.3 on
   8684          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   8685            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8686          else
   8687            case ${MACOSX_DEPLOYMENT_TARGET} in
   8688              10.[012])
   8689                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8690                ;;
   8691              10.*)
   8692                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8693                ;;
   8694            esac
   8695          fi
   8696          ;;
   8697       esac
   8698       archive_cmds_need_lc=no
   8699       hardcode_direct=no
   8700       hardcode_automatic=yes
   8701       hardcode_shlibpath_var=unsupported
   8702       whole_archive_flag_spec=''
   8703       link_all_deplibs=yes
   8704     if test "$GCC" = yes ; then
   8705     	output_verbose_link_cmd='echo'
   8706         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   8707         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   8708         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}"
   8709         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}"
   8710     else
   8711       case $cc_basename in
   8712         xlc*)
   8713          output_verbose_link_cmd='echo'
   8714          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   8715          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8716           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8717          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}'
   8718           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}'
   8719           ;;
   8720        *)
   8721          ld_shlibs=no
   8722           ;;
   8723       esac
   8724     fi
   8725       ;;
   8726 
   8727     dgux*)
   8728       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8729       hardcode_libdir_flag_spec='-L$libdir'
   8730       hardcode_shlibpath_var=no
   8731       ;;
   8732 
   8733     freebsd1*)
   8734       ld_shlibs=no
   8735       ;;
   8736 
   8737     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8738     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8739     # does not break anything, and helps significantly (at the cost of a little
   8740     # extra space).
   8741     freebsd2.2*)
   8742       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8743       hardcode_libdir_flag_spec='-R$libdir'
   8744       hardcode_direct=yes
   8745       hardcode_shlibpath_var=no
   8746       ;;
   8747 
   8748     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8749     freebsd2*)
   8750       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8751       hardcode_direct=yes
   8752       hardcode_minus_L=yes
   8753       hardcode_shlibpath_var=no
   8754       ;;
   8755 
   8756     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8757     freebsd* | dragonfly*)
   8758       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8759       hardcode_libdir_flag_spec='-R$libdir'
   8760       hardcode_direct=yes
   8761       hardcode_shlibpath_var=no
   8762       ;;
   8763 
   8764     hpux9*)
   8765       if test "$GCC" = yes; then
   8766 	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'
   8767       else
   8768 	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'
   8769       fi
   8770       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8771       hardcode_libdir_separator=:
   8772       hardcode_direct=yes
   8773 
   8774       # hardcode_minus_L: Not really in the search PATH,
   8775       # but as the default location of the library.
   8776       hardcode_minus_L=yes
   8777       export_dynamic_flag_spec='${wl}-E'
   8778       ;;
   8779 
   8780     hpux10*)
   8781       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8782 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8783       else
   8784 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8785       fi
   8786       if test "$with_gnu_ld" = no; then
   8787 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8788 	hardcode_libdir_separator=:
   8789 
   8790 	hardcode_direct=yes
   8791 	export_dynamic_flag_spec='${wl}-E'
   8792 
   8793 	# hardcode_minus_L: Not really in the search PATH,
   8794 	# but as the default location of the library.
   8795 	hardcode_minus_L=yes
   8796       fi
   8797       ;;
   8798 
   8799     hpux11*)
   8800       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8801 	case $host_cpu in
   8802 	hppa*64*)
   8803 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8804 	  ;;
   8805 	ia64*)
   8806 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8807 	  ;;
   8808 	*)
   8809 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8810 	  ;;
   8811 	esac
   8812       else
   8813 	case $host_cpu in
   8814 	hppa*64*)
   8815 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8816 	  ;;
   8817 	ia64*)
   8818 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8819 	  ;;
   8820 	*)
   8821 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8822 	  ;;
   8823 	esac
   8824       fi
   8825       if test "$with_gnu_ld" = no; then
   8826 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8827 	hardcode_libdir_separator=:
   8828 
   8829 	case $host_cpu in
   8830 	hppa*64*|ia64*)
   8831 	  hardcode_libdir_flag_spec_ld='+b $libdir'
   8832 	  hardcode_direct=no
   8833 	  hardcode_shlibpath_var=no
   8834 	  ;;
   8835 	*)
   8836 	  hardcode_direct=yes
   8837 	  export_dynamic_flag_spec='${wl}-E'
   8838 
   8839 	  # hardcode_minus_L: Not really in the search PATH,
   8840 	  # but as the default location of the library.
   8841 	  hardcode_minus_L=yes
   8842 	  ;;
   8843 	esac
   8844       fi
   8845       ;;
   8846 
   8847     irix5* | irix6* | nonstopux*)
   8848       if test "$GCC" = yes; then
   8849 	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'
   8850       else
   8851 	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'
   8852 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8853       fi
   8854       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8855       hardcode_libdir_separator=:
   8856       link_all_deplibs=yes
   8857       ;;
   8858 
   8859     netbsd*)
   8860       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   8861 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8862       else
   8863 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8864       fi
   8865       hardcode_libdir_flag_spec='-R$libdir'
   8866       hardcode_direct=yes
   8867       hardcode_shlibpath_var=no
   8868       ;;
   8869 
   8870     newsos6)
   8871       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8872       hardcode_direct=yes
   8873       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8874       hardcode_libdir_separator=:
   8875       hardcode_shlibpath_var=no
   8876       ;;
   8877 
   8878     openbsd*)
   8879       if test -f /usr/libexec/ld.so; then
   8880 	hardcode_direct=yes
   8881 	hardcode_shlibpath_var=no
   8882 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8883 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8884 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8885 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8886 	  export_dynamic_flag_spec='${wl}-E'
   8887 	else
   8888 	  case $host_os in
   8889 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8890 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8891 	     hardcode_libdir_flag_spec='-R$libdir'
   8892 	     ;;
   8893 	   *)
   8894 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8895 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8896 	     ;;
   8897 	  esac
   8898         fi
   8899       else
   8900 	ld_shlibs=no
   8901       fi
   8902       ;;
   8903 
   8904     os2*)
   8905       hardcode_libdir_flag_spec='-L$libdir'
   8906       hardcode_minus_L=yes
   8907       allow_undefined_flag=unsupported
   8908       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'
   8909       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8910       ;;
   8911 
   8912     osf3*)
   8913       if test "$GCC" = yes; then
   8914 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8915 	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'
   8916       else
   8917 	allow_undefined_flag=' -expect_unresolved \*'
   8918 	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'
   8919       fi
   8920       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8921       hardcode_libdir_separator=:
   8922       ;;
   8923 
   8924     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8925       if test "$GCC" = yes; then
   8926 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8927 	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'
   8928 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8929       else
   8930 	allow_undefined_flag=' -expect_unresolved \*'
   8931 	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'
   8932 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
   8933 	$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'
   8934 
   8935 	# Both c and cxx compiler support -rpath directly
   8936 	hardcode_libdir_flag_spec='-rpath $libdir'
   8937       fi
   8938       hardcode_libdir_separator=:
   8939       ;;
   8940 
   8941     solaris*)
   8942       no_undefined_flag=' -z text'
   8943       if test "$GCC" = yes; then
   8944 	wlarc='${wl}'
   8945 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8946 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8947 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   8948       else
   8949 	wlarc=''
   8950 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8951 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   8952   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   8953       fi
   8954       hardcode_libdir_flag_spec='-R$libdir'
   8955       hardcode_shlibpath_var=no
   8956       case $host_os in
   8957       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8958       *)
   8959 	# The compiler driver will combine and reorder linker options,
   8960 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8961 	# but is careful enough not to reorder.
   8962  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8963 	if test "$GCC" = yes; then
   8964 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8965 	else
   8966 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8967 	fi
   8968 	;;
   8969       esac
   8970       link_all_deplibs=yes
   8971       ;;
   8972 
   8973     sunos4*)
   8974       if test "x$host_vendor" = xsequent; then
   8975 	# Use $CC to link under sequent, because it throws in some extra .o
   8976 	# files that make .init and .fini sections work.
   8977 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8978       else
   8979 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8980       fi
   8981       hardcode_libdir_flag_spec='-L$libdir'
   8982       hardcode_direct=yes
   8983       hardcode_minus_L=yes
   8984       hardcode_shlibpath_var=no
   8985       ;;
   8986 
   8987     sysv4)
   8988       case $host_vendor in
   8989 	sni)
   8990 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8991 	  hardcode_direct=yes # is this really true???
   8992 	;;
   8993 	siemens)
   8994 	  ## LD is ld it makes a PLAMLIB
   8995 	  ## CC just makes a GrossModule.
   8996 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8997 	  reload_cmds='$CC -r -o $output$reload_objs'
   8998 	  hardcode_direct=no
   8999         ;;
   9000 	motorola)
   9001 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9002 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9003 	;;
   9004       esac
   9005       runpath_var='LD_RUN_PATH'
   9006       hardcode_shlibpath_var=no
   9007       ;;
   9008 
   9009     sysv4.3*)
   9010       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9011       hardcode_shlibpath_var=no
   9012       export_dynamic_flag_spec='-Bexport'
   9013       ;;
   9014 
   9015     sysv4*MP*)
   9016       if test -d /usr/nec; then
   9017 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9018 	hardcode_shlibpath_var=no
   9019 	runpath_var=LD_RUN_PATH
   9020 	hardcode_runpath_var=yes
   9021 	ld_shlibs=yes
   9022       fi
   9023       ;;
   9024 
   9025     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9026       no_undefined_flag='${wl}-z,text'
   9027       archive_cmds_need_lc=no
   9028       hardcode_shlibpath_var=no
   9029       runpath_var='LD_RUN_PATH'
   9030 
   9031       if test "$GCC" = yes; then
   9032 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9033 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9034       else
   9035 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9036 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9037       fi
   9038       ;;
   9039 
   9040     sysv5* | sco3.2v5* | sco5v6*)
   9041       # Note: We can NOT use -z defs as we might desire, because we do not
   9042       # link with -lc, and that would cause any symbols used from libc to
   9043       # always be unresolved, which means just about no library would
   9044       # ever link correctly.  If we're not using GNU ld we use -z text
   9045       # though, which does catch some bad symbols but isn't as heavy-handed
   9046       # as -z defs.
   9047       no_undefined_flag='${wl}-z,text'
   9048       allow_undefined_flag='${wl}-z,nodefs'
   9049       archive_cmds_need_lc=no
   9050       hardcode_shlibpath_var=no
   9051       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   9052       hardcode_libdir_separator=':'
   9053       link_all_deplibs=yes
   9054       export_dynamic_flag_spec='${wl}-Bexport'
   9055       runpath_var='LD_RUN_PATH'
   9056 
   9057       if test "$GCC" = yes; then
   9058 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9059 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9060       else
   9061 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9062 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9063       fi
   9064       ;;
   9065 
   9066     uts4*)
   9067       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9068       hardcode_libdir_flag_spec='-L$libdir'
   9069       hardcode_shlibpath_var=no
   9070       ;;
   9071 
   9072     *)
   9073       ld_shlibs=no
   9074       ;;
   9075     esac
   9076   fi
   9077 
   9078 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   9079 $as_echo "$ld_shlibs" >&6; }
   9080 test "$ld_shlibs" = no && can_build_shared=no
   9081 
   9082 #
   9083 # Do we need to explicitly link libc?
   9084 #
   9085 case "x$archive_cmds_need_lc" in
   9086 x|xyes)
   9087   # Assume -lc should be added
   9088   archive_cmds_need_lc=yes
   9089 
   9090   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9091     case $archive_cmds in
   9092     *'~'*)
   9093       # FIXME: we may have to deal with multi-command sequences.
   9094       ;;
   9095     '$CC '*)
   9096       # Test whether the compiler implicitly links with -lc since on some
   9097       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9098       # to ld, don't add -lc before -lgcc.
   9099       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   9100 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9101       $rm conftest*
   9102       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9103 
   9104       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9105   (eval $ac_compile) 2>&5
   9106   ac_status=$?
   9107   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9108   (exit $ac_status); } 2>conftest.err; then
   9109         soname=conftest
   9110         lib=conftest
   9111         libobjs=conftest.$ac_objext
   9112         deplibs=
   9113         wl=$lt_prog_compiler_wl
   9114 	pic_flag=$lt_prog_compiler_pic
   9115         compiler_flags=-v
   9116         linker_flags=-v
   9117         verstring=
   9118         output_objdir=.
   9119         libname=conftest
   9120         lt_save_allow_undefined_flag=$allow_undefined_flag
   9121         allow_undefined_flag=
   9122         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   9123   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9124   ac_status=$?
   9125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9126   (exit $ac_status); }
   9127         then
   9128 	  archive_cmds_need_lc=no
   9129         else
   9130 	  archive_cmds_need_lc=yes
   9131         fi
   9132         allow_undefined_flag=$lt_save_allow_undefined_flag
   9133       else
   9134         cat conftest.err 1>&5
   9135       fi
   9136       $rm conftest*
   9137       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   9138 $as_echo "$archive_cmds_need_lc" >&6; }
   9139       ;;
   9140     esac
   9141   fi
   9142   ;;
   9143 esac
   9144 
   9145 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9146 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9147 library_names_spec=
   9148 libname_spec='lib$name'
   9149 soname_spec=
   9150 shrext_cmds=".so"
   9151 postinstall_cmds=
   9152 postuninstall_cmds=
   9153 finish_cmds=
   9154 finish_eval=
   9155 shlibpath_var=
   9156 shlibpath_overrides_runpath=unknown
   9157 version_type=none
   9158 dynamic_linker="$host_os ld.so"
   9159 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9160 
   9161 if test "$GCC" = yes; then
   9162   case $host_os in
   9163     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9164     *) lt_awk_arg="/^libraries:/" ;;
   9165   esac
   9166   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9167   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
   9168     # if the path contains ";" then we assume it to be the separator
   9169     # otherwise default to the standard path separator (i.e. ":") - it is
   9170     # assumed that no part of a normal pathname contains ";" but that should
   9171     # okay in the real world where ";" in dirpaths is itself problematic.
   9172     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9173   else
   9174     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9175   fi
   9176   # Ok, now we have the path, separated by spaces, we can step through it
   9177   # and add multilib dir if necessary.
   9178   lt_tmp_lt_search_path_spec=
   9179   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9180   for lt_sys_path in $lt_search_path_spec; do
   9181     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9182       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9183     else
   9184       test -d "$lt_sys_path" && \
   9185 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9186     fi
   9187   done
   9188   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
   9189 BEGIN {RS=" "; FS="/|\n";} {
   9190   lt_foo="";
   9191   lt_count=0;
   9192   for (lt_i = NF; lt_i > 0; lt_i--) {
   9193     if ($lt_i != "" && $lt_i != ".") {
   9194       if ($lt_i == "..") {
   9195         lt_count++;
   9196       } else {
   9197         if (lt_count == 0) {
   9198           lt_foo="/" $lt_i lt_foo;
   9199         } else {
   9200           lt_count--;
   9201         }
   9202       }
   9203     }
   9204   }
   9205   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9206   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9207 }'`
   9208   sys_lib_search_path_spec=`echo $lt_search_path_spec`
   9209 else
   9210   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9211 fi
   9212 need_lib_prefix=unknown
   9213 hardcode_into_libs=no
   9214 
   9215 # when you set need_version to no, make sure it does not cause -set_version
   9216 # flags to be left without arguments
   9217 need_version=unknown
   9218 
   9219 case $host_os in
   9220 aix3*)
   9221   version_type=linux
   9222   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9223   shlibpath_var=LIBPATH
   9224 
   9225   # AIX 3 has no versioning support, so we append a major version to the name.
   9226   soname_spec='${libname}${release}${shared_ext}$major'
   9227   ;;
   9228 
   9229 aix[4-9]*)
   9230   version_type=linux
   9231   need_lib_prefix=no
   9232   need_version=no
   9233   hardcode_into_libs=yes
   9234   if test "$host_cpu" = ia64; then
   9235     # AIX 5 supports IA64
   9236     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9237     shlibpath_var=LD_LIBRARY_PATH
   9238   else
   9239     # With GCC up to 2.95.x, collect2 would create an import file
   9240     # for dependence libraries.  The import file would start with
   9241     # the line `#! .'.  This would cause the generated library to
   9242     # depend on `.', always an invalid library.  This was fixed in
   9243     # development snapshots of GCC prior to 3.0.
   9244     case $host_os in
   9245       aix4 | aix4.[01] | aix4.[01].*)
   9246       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9247 	   echo ' yes '
   9248 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   9249 	:
   9250       else
   9251 	can_build_shared=no
   9252       fi
   9253       ;;
   9254     esac
   9255     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9256     # soname into executable. Probably we can add versioning support to
   9257     # collect2, so additional links can be useful in future.
   9258     if test "$aix_use_runtimelinking" = yes; then
   9259       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9260       # instead of lib<name>.a to let people know that these are not
   9261       # typical AIX shared libraries.
   9262       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9263     else
   9264       # We preserve .a as extension for shared libraries through AIX4.2
   9265       # and later when we are not doing run time linking.
   9266       library_names_spec='${libname}${release}.a $libname.a'
   9267       soname_spec='${libname}${release}${shared_ext}$major'
   9268     fi
   9269     shlibpath_var=LIBPATH
   9270   fi
   9271   ;;
   9272 
   9273 amigaos*)
   9274   library_names_spec='$libname.ixlibrary $libname.a'
   9275   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9276   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'
   9277   ;;
   9278 
   9279 beos*)
   9280   library_names_spec='${libname}${shared_ext}'
   9281   dynamic_linker="$host_os ld.so"
   9282   shlibpath_var=LIBRARY_PATH
   9283   ;;
   9284 
   9285 bsdi[45]*)
   9286   version_type=linux
   9287   need_version=no
   9288   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9289   soname_spec='${libname}${release}${shared_ext}$major'
   9290   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9291   shlibpath_var=LD_LIBRARY_PATH
   9292   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9293   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9294   # the default ld.so.conf also contains /usr/contrib/lib and
   9295   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9296   # libtool to hard-code these into programs
   9297   ;;
   9298 
   9299 cygwin* | mingw* | pw32*)
   9300   version_type=windows
   9301   shrext_cmds=".dll"
   9302   need_version=no
   9303   need_lib_prefix=no
   9304 
   9305   case $GCC,$host_os in
   9306   yes,cygwin* | yes,mingw* | yes,pw32*)
   9307     library_names_spec='$libname.dll.a'
   9308     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9309     postinstall_cmds='base_file=`basename \${file}`~
   9310       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   9311       dldir=$destdir/`dirname \$dlpath`~
   9312       test -d \$dldir || mkdir -p \$dldir~
   9313       $install_prog $dir/$dlname \$dldir/$dlname~
   9314       chmod a+x \$dldir/$dlname'
   9315     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9316       dlpath=$dir/\$dldll~
   9317        $rm \$dlpath'
   9318     shlibpath_overrides_runpath=yes
   9319 
   9320     case $host_os in
   9321     cygwin*)
   9322       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9323       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9324       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9325       ;;
   9326     mingw*)
   9327       # MinGW DLLs use traditional 'lib' prefix
   9328       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9329       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9330       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   9331         # It is most probably a Windows format PATH printed by
   9332         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9333         # path with ; separators, and with drive letters. We can handle the
   9334         # drive letters (cygwin fileutils understands them), so leave them,
   9335         # especially as we might pass files found there to a mingw objdump,
   9336         # which wouldn't understand a cygwinified path. Ahh.
   9337         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9338       else
   9339         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9340       fi
   9341       ;;
   9342     pw32*)
   9343       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9344       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9345       ;;
   9346     esac
   9347     ;;
   9348 
   9349   *)
   9350     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9351     ;;
   9352   esac
   9353   dynamic_linker='Win32 ld.exe'
   9354   # FIXME: first we should search . and the directory the executable is in
   9355   shlibpath_var=PATH
   9356   ;;
   9357 
   9358 darwin* | rhapsody*)
   9359   dynamic_linker="$host_os dyld"
   9360   version_type=darwin
   9361   need_lib_prefix=no
   9362   need_version=no
   9363   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9364   soname_spec='${libname}${release}${major}$shared_ext'
   9365   shlibpath_overrides_runpath=yes
   9366   shlibpath_var=DYLD_LIBRARY_PATH
   9367   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9368 
   9369   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9370   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9371   ;;
   9372 
   9373 dgux*)
   9374   version_type=linux
   9375   need_lib_prefix=no
   9376   need_version=no
   9377   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9378   soname_spec='${libname}${release}${shared_ext}$major'
   9379   shlibpath_var=LD_LIBRARY_PATH
   9380   ;;
   9381 
   9382 freebsd1*)
   9383   dynamic_linker=no
   9384   ;;
   9385 
   9386 freebsd* | dragonfly*)
   9387   # DragonFly does not have aout.  When/if they implement a new
   9388   # versioning mechanism, adjust this.
   9389   if test -x /usr/bin/objformat; then
   9390     objformat=`/usr/bin/objformat`
   9391   else
   9392     case $host_os in
   9393     freebsd[123]*) objformat=aout ;;
   9394     *) objformat=elf ;;
   9395     esac
   9396   fi
   9397   version_type=freebsd-$objformat
   9398   case $version_type in
   9399     freebsd-elf*)
   9400       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9401       need_version=no
   9402       need_lib_prefix=no
   9403       ;;
   9404     freebsd-*)
   9405       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9406       need_version=yes
   9407       ;;
   9408   esac
   9409   shlibpath_var=LD_LIBRARY_PATH
   9410   case $host_os in
   9411   freebsd2*)
   9412     shlibpath_overrides_runpath=yes
   9413     ;;
   9414   freebsd3.[01]* | freebsdelf3.[01]*)
   9415     shlibpath_overrides_runpath=yes
   9416     hardcode_into_libs=yes
   9417     ;;
   9418   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9419   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9420     shlibpath_overrides_runpath=no
   9421     hardcode_into_libs=yes
   9422     ;;
   9423   *) # from 4.6 on, and DragonFly
   9424     shlibpath_overrides_runpath=yes
   9425     hardcode_into_libs=yes
   9426     ;;
   9427   esac
   9428   ;;
   9429 
   9430 gnu*)
   9431   version_type=linux
   9432   need_lib_prefix=no
   9433   need_version=no
   9434   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9435   soname_spec='${libname}${release}${shared_ext}$major'
   9436   shlibpath_var=LD_LIBRARY_PATH
   9437   hardcode_into_libs=yes
   9438   ;;
   9439 
   9440 hpux9* | hpux10* | hpux11*)
   9441   # Give a soname corresponding to the major version so that dld.sl refuses to
   9442   # link against other versions.
   9443   version_type=sunos
   9444   need_lib_prefix=no
   9445   need_version=no
   9446   case $host_cpu in
   9447   ia64*)
   9448     shrext_cmds='.so'
   9449     hardcode_into_libs=yes
   9450     dynamic_linker="$host_os dld.so"
   9451     shlibpath_var=LD_LIBRARY_PATH
   9452     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9453     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9454     soname_spec='${libname}${release}${shared_ext}$major'
   9455     if test "X$HPUX_IA64_MODE" = X32; then
   9456       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9457     else
   9458       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9459     fi
   9460     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9461     ;;
   9462    hppa*64*)
   9463      shrext_cmds='.sl'
   9464      hardcode_into_libs=yes
   9465      dynamic_linker="$host_os dld.sl"
   9466      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9467      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9468      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9469      soname_spec='${libname}${release}${shared_ext}$major'
   9470      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9471      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9472      ;;
   9473    *)
   9474     shrext_cmds='.sl'
   9475     dynamic_linker="$host_os dld.sl"
   9476     shlibpath_var=SHLIB_PATH
   9477     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9478     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9479     soname_spec='${libname}${release}${shared_ext}$major'
   9480     ;;
   9481   esac
   9482   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9483   postinstall_cmds='chmod 555 $lib'
   9484   ;;
   9485 
   9486 interix[3-9]*)
   9487   version_type=linux
   9488   need_lib_prefix=no
   9489   need_version=no
   9490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9491   soname_spec='${libname}${release}${shared_ext}$major'
   9492   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9493   shlibpath_var=LD_LIBRARY_PATH
   9494   shlibpath_overrides_runpath=no
   9495   hardcode_into_libs=yes
   9496   ;;
   9497 
   9498 irix5* | irix6* | nonstopux*)
   9499   case $host_os in
   9500     nonstopux*) version_type=nonstopux ;;
   9501     *)
   9502 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9503 		version_type=linux
   9504 	else
   9505 		version_type=irix
   9506 	fi ;;
   9507   esac
   9508   need_lib_prefix=no
   9509   need_version=no
   9510   soname_spec='${libname}${release}${shared_ext}$major'
   9511   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9512   case $host_os in
   9513   irix5* | nonstopux*)
   9514     libsuff= shlibsuff=
   9515     ;;
   9516   *)
   9517     case $LD in # libtool.m4 will add one of these switches to LD
   9518     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9519       libsuff= shlibsuff= libmagic=32-bit;;
   9520     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9521       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9522     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9523       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9524     *) libsuff= shlibsuff= libmagic=never-match;;
   9525     esac
   9526     ;;
   9527   esac
   9528   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9529   shlibpath_overrides_runpath=no
   9530   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9531   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9532   hardcode_into_libs=yes
   9533   ;;
   9534 
   9535 # No shared lib support for Linux oldld, aout, or coff.
   9536 linux*oldld* | linux*aout* | linux*coff*)
   9537   dynamic_linker=no
   9538   ;;
   9539 
   9540 # This must be Linux ELF.
   9541 linux* | k*bsd*-gnu)
   9542   version_type=linux
   9543   need_lib_prefix=no
   9544   need_version=no
   9545   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9546   soname_spec='${libname}${release}${shared_ext}$major'
   9547   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9548   shlibpath_var=LD_LIBRARY_PATH
   9549   shlibpath_overrides_runpath=no
   9550   # This implies no fast_install, which is unacceptable.
   9551   # Some rework will be needed to allow for fast_install
   9552   # before this can be enabled.
   9553   hardcode_into_libs=yes
   9554 
   9555   # Append ld.so.conf contents to the search path
   9556   if test -f /etc/ld.so.conf; then
   9557     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' ' '`
   9558     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9559   fi
   9560 
   9561   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9562   # powerpc, because MkLinux only supported shared libraries with the
   9563   # GNU dynamic linker.  Since this was broken with cross compilers,
   9564   # most powerpc-linux boxes support dynamic linking these days and
   9565   # people can always --disable-shared, the test was removed, and we
   9566   # assume the GNU/Linux dynamic linker is in use.
   9567   dynamic_linker='GNU/Linux ld.so'
   9568   ;;
   9569 
   9570 netbsd*)
   9571   version_type=sunos
   9572   need_lib_prefix=no
   9573   need_version=no
   9574   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   9575     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9576     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9577     dynamic_linker='NetBSD (a.out) ld.so'
   9578   else
   9579     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9580     soname_spec='${libname}${release}${shared_ext}$major'
   9581     dynamic_linker='NetBSD ld.elf_so'
   9582   fi
   9583   shlibpath_var=LD_LIBRARY_PATH
   9584   shlibpath_overrides_runpath=yes
   9585   hardcode_into_libs=yes
   9586   ;;
   9587 
   9588 newsos6)
   9589   version_type=linux
   9590   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9591   shlibpath_var=LD_LIBRARY_PATH
   9592   shlibpath_overrides_runpath=yes
   9593   ;;
   9594 
   9595 nto-qnx*)
   9596   version_type=linux
   9597   need_lib_prefix=no
   9598   need_version=no
   9599   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9600   soname_spec='${libname}${release}${shared_ext}$major'
   9601   shlibpath_var=LD_LIBRARY_PATH
   9602   shlibpath_overrides_runpath=yes
   9603   ;;
   9604 
   9605 openbsd*)
   9606   version_type=sunos
   9607   sys_lib_dlsearch_path_spec="/usr/lib"
   9608   need_lib_prefix=no
   9609   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9610   case $host_os in
   9611     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   9612     *)                         need_version=no  ;;
   9613   esac
   9614   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9615   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9616   shlibpath_var=LD_LIBRARY_PATH
   9617   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9618     case $host_os in
   9619       openbsd2.[89] | openbsd2.[89].*)
   9620 	shlibpath_overrides_runpath=no
   9621 	;;
   9622       *)
   9623 	shlibpath_overrides_runpath=yes
   9624 	;;
   9625       esac
   9626   else
   9627     shlibpath_overrides_runpath=yes
   9628   fi
   9629   ;;
   9630 
   9631 os2*)
   9632   libname_spec='$name'
   9633   shrext_cmds=".dll"
   9634   need_lib_prefix=no
   9635   library_names_spec='$libname${shared_ext} $libname.a'
   9636   dynamic_linker='OS/2 ld.exe'
   9637   shlibpath_var=LIBPATH
   9638   ;;
   9639 
   9640 osf3* | osf4* | osf5*)
   9641   version_type=osf
   9642   need_lib_prefix=no
   9643   need_version=no
   9644   soname_spec='${libname}${release}${shared_ext}$major'
   9645   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9646   shlibpath_var=LD_LIBRARY_PATH
   9647   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9648   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9649   ;;
   9650 
   9651 rdos*)
   9652   dynamic_linker=no
   9653   ;;
   9654 
   9655 solaris*)
   9656   version_type=linux
   9657   need_lib_prefix=no
   9658   need_version=no
   9659   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9660   soname_spec='${libname}${release}${shared_ext}$major'
   9661   shlibpath_var=LD_LIBRARY_PATH
   9662   shlibpath_overrides_runpath=yes
   9663   hardcode_into_libs=yes
   9664   # ldd complains unless libraries are executable
   9665   postinstall_cmds='chmod +x $lib'
   9666   ;;
   9667 
   9668 sunos4*)
   9669   version_type=sunos
   9670   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9671   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9672   shlibpath_var=LD_LIBRARY_PATH
   9673   shlibpath_overrides_runpath=yes
   9674   if test "$with_gnu_ld" = yes; then
   9675     need_lib_prefix=no
   9676   fi
   9677   need_version=yes
   9678   ;;
   9679 
   9680 sysv4 | sysv4.3*)
   9681   version_type=linux
   9682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9683   soname_spec='${libname}${release}${shared_ext}$major'
   9684   shlibpath_var=LD_LIBRARY_PATH
   9685   case $host_vendor in
   9686     sni)
   9687       shlibpath_overrides_runpath=no
   9688       need_lib_prefix=no
   9689       export_dynamic_flag_spec='${wl}-Blargedynsym'
   9690       runpath_var=LD_RUN_PATH
   9691       ;;
   9692     siemens)
   9693       need_lib_prefix=no
   9694       ;;
   9695     motorola)
   9696       need_lib_prefix=no
   9697       need_version=no
   9698       shlibpath_overrides_runpath=no
   9699       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9700       ;;
   9701   esac
   9702   ;;
   9703 
   9704 sysv4*MP*)
   9705   if test -d /usr/nec ;then
   9706     version_type=linux
   9707     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9708     soname_spec='$libname${shared_ext}.$major'
   9709     shlibpath_var=LD_LIBRARY_PATH
   9710   fi
   9711   ;;
   9712 
   9713 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9714   version_type=freebsd-elf
   9715   need_lib_prefix=no
   9716   need_version=no
   9717   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9718   soname_spec='${libname}${release}${shared_ext}$major'
   9719   shlibpath_var=LD_LIBRARY_PATH
   9720   hardcode_into_libs=yes
   9721   if test "$with_gnu_ld" = yes; then
   9722     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9723     shlibpath_overrides_runpath=no
   9724   else
   9725     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9726     shlibpath_overrides_runpath=yes
   9727     case $host_os in
   9728       sco3.2v5*)
   9729         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9730 	;;
   9731     esac
   9732   fi
   9733   sys_lib_dlsearch_path_spec='/usr/lib'
   9734   ;;
   9735 
   9736 uts4*)
   9737   version_type=linux
   9738   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9739   soname_spec='${libname}${release}${shared_ext}$major'
   9740   shlibpath_var=LD_LIBRARY_PATH
   9741   ;;
   9742 
   9743 *)
   9744   dynamic_linker=no
   9745   ;;
   9746 esac
   9747 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9748 $as_echo "$dynamic_linker" >&6; }
   9749 test "$dynamic_linker" = no && can_build_shared=no
   9750 
   9751 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   9752   $as_echo_n "(cached) " >&6
   9753 else
   9754   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   9755 fi
   9756 
   9757 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   9758 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   9759   $as_echo_n "(cached) " >&6
   9760 else
   9761   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   9762 fi
   9763 
   9764 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   9765 
   9766 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9767 if test "$GCC" = yes; then
   9768   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9769 fi
   9770 
   9771 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9772 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   9773 hardcode_action=
   9774 if test -n "$hardcode_libdir_flag_spec" || \
   9775    test -n "$runpath_var" || \
   9776    test "X$hardcode_automatic" = "Xyes" ; then
   9777 
   9778   # We can hardcode non-existant directories.
   9779   if test "$hardcode_direct" != no &&
   9780      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9781      # have to relink, otherwise we might link with an installed library
   9782      # when we should be linking with a yet-to-be-installed one
   9783      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9784      test "$hardcode_minus_L" != no; then
   9785     # Linking always hardcodes the temporary library directory.
   9786     hardcode_action=relink
   9787   else
   9788     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9789     hardcode_action=immediate
   9790   fi
   9791 else
   9792   # We cannot hardcode anything, or else we can only hardcode existing
   9793   # directories.
   9794   hardcode_action=unsupported
   9795 fi
   9796 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9797 $as_echo "$hardcode_action" >&6; }
   9798 
   9799 if test "$hardcode_action" = relink; then
   9800   # Fast installation is not supported
   9801   enable_fast_install=no
   9802 elif test "$shlibpath_overrides_runpath" = yes ||
   9803      test "$enable_shared" = no; then
   9804   # Fast installation is not necessary
   9805   enable_fast_install=needless
   9806 fi
   9807 
   9808 striplib=
   9809 old_striplib=
   9810 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   9811 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   9812 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
   9813   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   9814   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   9815   { $as_echo "$as_me:$LINENO: result: yes" >&5
   9816 $as_echo "yes" >&6; }
   9817 else
   9818 # FIXME - insert some real tests, host_os isn't really good enough
   9819   case $host_os in
   9820    darwin*)
   9821        if test -n "$STRIP" ; then
   9822          striplib="$STRIP -x"
   9823          old_striplib="$STRIP -S"
   9824          { $as_echo "$as_me:$LINENO: result: yes" >&5
   9825 $as_echo "yes" >&6; }
   9826        else
   9827   { $as_echo "$as_me:$LINENO: result: no" >&5
   9828 $as_echo "no" >&6; }
   9829 fi
   9830        ;;
   9831    *)
   9832   { $as_echo "$as_me:$LINENO: result: no" >&5
   9833 $as_echo "no" >&6; }
   9834     ;;
   9835   esac
   9836 fi
   9837 
   9838 if test "x$enable_dlopen" != xyes; then
   9839   enable_dlopen=unknown
   9840   enable_dlopen_self=unknown
   9841   enable_dlopen_self_static=unknown
   9842 else
   9843   lt_cv_dlopen=no
   9844   lt_cv_dlopen_libs=
   9845 
   9846   case $host_os in
   9847   beos*)
   9848     lt_cv_dlopen="load_add_on"
   9849     lt_cv_dlopen_libs=
   9850     lt_cv_dlopen_self=yes
   9851     ;;
   9852 
   9853   mingw* | pw32*)
   9854     lt_cv_dlopen="LoadLibrary"
   9855     lt_cv_dlopen_libs=
   9856    ;;
   9857 
   9858   cygwin*)
   9859     lt_cv_dlopen="dlopen"
   9860     lt_cv_dlopen_libs=
   9861    ;;
   9862 
   9863   darwin*)
   9864   # if libdl is installed we need to link against it
   9865     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9866 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   9867 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9868   $as_echo_n "(cached) " >&6
   9869 else
   9870   ac_check_lib_save_LIBS=$LIBS
   9871 LIBS="-ldl  $LIBS"
   9872 cat >conftest.$ac_ext <<_ACEOF
   9873 /* confdefs.h.  */
   9874 _ACEOF
   9875 cat confdefs.h >>conftest.$ac_ext
   9876 cat >>conftest.$ac_ext <<_ACEOF
   9877 /* end confdefs.h.  */
   9878 
   9879 /* Override any GCC internal prototype to avoid an error.
   9880    Use char because int might match the return type of a GCC
   9881    builtin and then its argument prototype would still apply.  */
   9882 #ifdef __cplusplus
   9883 extern "C"
   9884 #endif
   9885 char dlopen ();
   9886 int
   9887 main ()
   9888 {
   9889 return dlopen ();
   9890   ;
   9891   return 0;
   9892 }
   9893 _ACEOF
   9894 rm -f conftest.$ac_objext conftest$ac_exeext
   9895 if { (ac_try="$ac_link"
   9896 case "(($ac_try" in
   9897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9898   *) ac_try_echo=$ac_try;;
   9899 esac
   9900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   9901 $as_echo "$ac_try_echo") >&5
   9902   (eval "$ac_link") 2>conftest.er1
   9903   ac_status=$?
   9904   grep -v '^ *+' conftest.er1 >conftest.err
   9905   rm -f conftest.er1
   9906   cat conftest.err >&5
   9907   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9908   (exit $ac_status); } && {
   9909 	 test -z "$ac_c_werror_flag" ||
   9910 	 test ! -s conftest.err
   9911        } && test -s conftest$ac_exeext && {
   9912 	 test "$cross_compiling" = yes ||
   9913 	 $as_test_x conftest$ac_exeext
   9914        }; then
   9915   ac_cv_lib_dl_dlopen=yes
   9916 else
   9917   $as_echo "$as_me: failed program was:" >&5
   9918 sed 's/^/| /' conftest.$ac_ext >&5
   9919 
   9920 	ac_cv_lib_dl_dlopen=no
   9921 fi
   9922 
   9923 rm -rf conftest.dSYM
   9924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   9925       conftest$ac_exeext conftest.$ac_ext
   9926 LIBS=$ac_check_lib_save_LIBS
   9927 fi
   9928 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9929 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   9930 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   9931   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   9932 else
   9933 
   9934     lt_cv_dlopen="dyld"
   9935     lt_cv_dlopen_libs=
   9936     lt_cv_dlopen_self=yes
   9937 
   9938 fi
   9939 
   9940    ;;
   9941 
   9942   *)
   9943     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
   9944 $as_echo_n "checking for shl_load... " >&6; }
   9945 if test "${ac_cv_func_shl_load+set}" = set; then
   9946   $as_echo_n "(cached) " >&6
   9947 else
   9948   cat >conftest.$ac_ext <<_ACEOF
   9949 /* confdefs.h.  */
   9950 _ACEOF
   9951 cat confdefs.h >>conftest.$ac_ext
   9952 cat >>conftest.$ac_ext <<_ACEOF
   9953 /* end confdefs.h.  */
   9954 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   9955    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9956 #define shl_load innocuous_shl_load
   9957 
   9958 /* System header to define __stub macros and hopefully few prototypes,
   9959     which can conflict with char shl_load (); below.
   9960     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9961     <limits.h> exists even on freestanding compilers.  */
   9962 
   9963 #ifdef __STDC__
   9964 # include <limits.h>
   9965 #else
   9966 # include <assert.h>
   9967 #endif
   9968 
   9969 #undef shl_load
   9970 
   9971 /* Override any GCC internal prototype to avoid an error.
   9972    Use char because int might match the return type of a GCC
   9973    builtin and then its argument prototype would still apply.  */
   9974 #ifdef __cplusplus
   9975 extern "C"
   9976 #endif
   9977 char shl_load ();
   9978 /* The GNU C library defines this for functions which it implements
   9979     to always fail with ENOSYS.  Some functions are actually named
   9980     something starting with __ and the normal name is an alias.  */
   9981 #if defined __stub_shl_load || defined __stub___shl_load
   9982 choke me
   9983 #endif
   9984 
   9985 int
   9986 main ()
   9987 {
   9988 return shl_load ();
   9989   ;
   9990   return 0;
   9991 }
   9992 _ACEOF
   9993 rm -f conftest.$ac_objext conftest$ac_exeext
   9994 if { (ac_try="$ac_link"
   9995 case "(($ac_try" in
   9996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   9997   *) ac_try_echo=$ac_try;;
   9998 esac
   9999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10000 $as_echo "$ac_try_echo") >&5
   10001   (eval "$ac_link") 2>conftest.er1
   10002   ac_status=$?
   10003   grep -v '^ *+' conftest.er1 >conftest.err
   10004   rm -f conftest.er1
   10005   cat conftest.err >&5
   10006   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10007   (exit $ac_status); } && {
   10008 	 test -z "$ac_c_werror_flag" ||
   10009 	 test ! -s conftest.err
   10010        } && test -s conftest$ac_exeext && {
   10011 	 test "$cross_compiling" = yes ||
   10012 	 $as_test_x conftest$ac_exeext
   10013        }; then
   10014   ac_cv_func_shl_load=yes
   10015 else
   10016   $as_echo "$as_me: failed program was:" >&5
   10017 sed 's/^/| /' conftest.$ac_ext >&5
   10018 
   10019 	ac_cv_func_shl_load=no
   10020 fi
   10021 
   10022 rm -rf conftest.dSYM
   10023 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10024       conftest$ac_exeext conftest.$ac_ext
   10025 fi
   10026 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10027 $as_echo "$ac_cv_func_shl_load" >&6; }
   10028 if test "x$ac_cv_func_shl_load" = x""yes; then
   10029   lt_cv_dlopen="shl_load"
   10030 else
   10031   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10032 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10033 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10034   $as_echo_n "(cached) " >&6
   10035 else
   10036   ac_check_lib_save_LIBS=$LIBS
   10037 LIBS="-ldld  $LIBS"
   10038 cat >conftest.$ac_ext <<_ACEOF
   10039 /* confdefs.h.  */
   10040 _ACEOF
   10041 cat confdefs.h >>conftest.$ac_ext
   10042 cat >>conftest.$ac_ext <<_ACEOF
   10043 /* end confdefs.h.  */
   10044 
   10045 /* Override any GCC internal prototype to avoid an error.
   10046    Use char because int might match the return type of a GCC
   10047    builtin and then its argument prototype would still apply.  */
   10048 #ifdef __cplusplus
   10049 extern "C"
   10050 #endif
   10051 char shl_load ();
   10052 int
   10053 main ()
   10054 {
   10055 return shl_load ();
   10056   ;
   10057   return 0;
   10058 }
   10059 _ACEOF
   10060 rm -f conftest.$ac_objext conftest$ac_exeext
   10061 if { (ac_try="$ac_link"
   10062 case "(($ac_try" in
   10063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10064   *) ac_try_echo=$ac_try;;
   10065 esac
   10066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10067 $as_echo "$ac_try_echo") >&5
   10068   (eval "$ac_link") 2>conftest.er1
   10069   ac_status=$?
   10070   grep -v '^ *+' conftest.er1 >conftest.err
   10071   rm -f conftest.er1
   10072   cat conftest.err >&5
   10073   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10074   (exit $ac_status); } && {
   10075 	 test -z "$ac_c_werror_flag" ||
   10076 	 test ! -s conftest.err
   10077        } && test -s conftest$ac_exeext && {
   10078 	 test "$cross_compiling" = yes ||
   10079 	 $as_test_x conftest$ac_exeext
   10080        }; then
   10081   ac_cv_lib_dld_shl_load=yes
   10082 else
   10083   $as_echo "$as_me: failed program was:" >&5
   10084 sed 's/^/| /' conftest.$ac_ext >&5
   10085 
   10086 	ac_cv_lib_dld_shl_load=no
   10087 fi
   10088 
   10089 rm -rf conftest.dSYM
   10090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10091       conftest$ac_exeext conftest.$ac_ext
   10092 LIBS=$ac_check_lib_save_LIBS
   10093 fi
   10094 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10095 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10096 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
   10097   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10098 else
   10099   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
   10100 $as_echo_n "checking for dlopen... " >&6; }
   10101 if test "${ac_cv_func_dlopen+set}" = set; then
   10102   $as_echo_n "(cached) " >&6
   10103 else
   10104   cat >conftest.$ac_ext <<_ACEOF
   10105 /* confdefs.h.  */
   10106 _ACEOF
   10107 cat confdefs.h >>conftest.$ac_ext
   10108 cat >>conftest.$ac_ext <<_ACEOF
   10109 /* end confdefs.h.  */
   10110 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10111    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10112 #define dlopen innocuous_dlopen
   10113 
   10114 /* System header to define __stub macros and hopefully few prototypes,
   10115     which can conflict with char dlopen (); below.
   10116     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10117     <limits.h> exists even on freestanding compilers.  */
   10118 
   10119 #ifdef __STDC__
   10120 # include <limits.h>
   10121 #else
   10122 # include <assert.h>
   10123 #endif
   10124 
   10125 #undef dlopen
   10126 
   10127 /* Override any GCC internal prototype to avoid an error.
   10128    Use char because int might match the return type of a GCC
   10129    builtin and then its argument prototype would still apply.  */
   10130 #ifdef __cplusplus
   10131 extern "C"
   10132 #endif
   10133 char dlopen ();
   10134 /* The GNU C library defines this for functions which it implements
   10135     to always fail with ENOSYS.  Some functions are actually named
   10136     something starting with __ and the normal name is an alias.  */
   10137 #if defined __stub_dlopen || defined __stub___dlopen
   10138 choke me
   10139 #endif
   10140 
   10141 int
   10142 main ()
   10143 {
   10144 return dlopen ();
   10145   ;
   10146   return 0;
   10147 }
   10148 _ACEOF
   10149 rm -f conftest.$ac_objext conftest$ac_exeext
   10150 if { (ac_try="$ac_link"
   10151 case "(($ac_try" in
   10152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10153   *) ac_try_echo=$ac_try;;
   10154 esac
   10155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10156 $as_echo "$ac_try_echo") >&5
   10157   (eval "$ac_link") 2>conftest.er1
   10158   ac_status=$?
   10159   grep -v '^ *+' conftest.er1 >conftest.err
   10160   rm -f conftest.er1
   10161   cat conftest.err >&5
   10162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10163   (exit $ac_status); } && {
   10164 	 test -z "$ac_c_werror_flag" ||
   10165 	 test ! -s conftest.err
   10166        } && test -s conftest$ac_exeext && {
   10167 	 test "$cross_compiling" = yes ||
   10168 	 $as_test_x conftest$ac_exeext
   10169        }; then
   10170   ac_cv_func_dlopen=yes
   10171 else
   10172   $as_echo "$as_me: failed program was:" >&5
   10173 sed 's/^/| /' conftest.$ac_ext >&5
   10174 
   10175 	ac_cv_func_dlopen=no
   10176 fi
   10177 
   10178 rm -rf conftest.dSYM
   10179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10180       conftest$ac_exeext conftest.$ac_ext
   10181 fi
   10182 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10183 $as_echo "$ac_cv_func_dlopen" >&6; }
   10184 if test "x$ac_cv_func_dlopen" = x""yes; then
   10185   lt_cv_dlopen="dlopen"
   10186 else
   10187   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10188 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10189 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10190   $as_echo_n "(cached) " >&6
   10191 else
   10192   ac_check_lib_save_LIBS=$LIBS
   10193 LIBS="-ldl  $LIBS"
   10194 cat >conftest.$ac_ext <<_ACEOF
   10195 /* confdefs.h.  */
   10196 _ACEOF
   10197 cat confdefs.h >>conftest.$ac_ext
   10198 cat >>conftest.$ac_ext <<_ACEOF
   10199 /* end confdefs.h.  */
   10200 
   10201 /* Override any GCC internal prototype to avoid an error.
   10202    Use char because int might match the return type of a GCC
   10203    builtin and then its argument prototype would still apply.  */
   10204 #ifdef __cplusplus
   10205 extern "C"
   10206 #endif
   10207 char dlopen ();
   10208 int
   10209 main ()
   10210 {
   10211 return dlopen ();
   10212   ;
   10213   return 0;
   10214 }
   10215 _ACEOF
   10216 rm -f conftest.$ac_objext conftest$ac_exeext
   10217 if { (ac_try="$ac_link"
   10218 case "(($ac_try" in
   10219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10220   *) ac_try_echo=$ac_try;;
   10221 esac
   10222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10223 $as_echo "$ac_try_echo") >&5
   10224   (eval "$ac_link") 2>conftest.er1
   10225   ac_status=$?
   10226   grep -v '^ *+' conftest.er1 >conftest.err
   10227   rm -f conftest.er1
   10228   cat conftest.err >&5
   10229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10230   (exit $ac_status); } && {
   10231 	 test -z "$ac_c_werror_flag" ||
   10232 	 test ! -s conftest.err
   10233        } && test -s conftest$ac_exeext && {
   10234 	 test "$cross_compiling" = yes ||
   10235 	 $as_test_x conftest$ac_exeext
   10236        }; then
   10237   ac_cv_lib_dl_dlopen=yes
   10238 else
   10239   $as_echo "$as_me: failed program was:" >&5
   10240 sed 's/^/| /' conftest.$ac_ext >&5
   10241 
   10242 	ac_cv_lib_dl_dlopen=no
   10243 fi
   10244 
   10245 rm -rf conftest.dSYM
   10246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10247       conftest$ac_exeext conftest.$ac_ext
   10248 LIBS=$ac_check_lib_save_LIBS
   10249 fi
   10250 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10251 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10252 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
   10253   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10254 else
   10255   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10256 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10257 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10258   $as_echo_n "(cached) " >&6
   10259 else
   10260   ac_check_lib_save_LIBS=$LIBS
   10261 LIBS="-lsvld  $LIBS"
   10262 cat >conftest.$ac_ext <<_ACEOF
   10263 /* confdefs.h.  */
   10264 _ACEOF
   10265 cat confdefs.h >>conftest.$ac_ext
   10266 cat >>conftest.$ac_ext <<_ACEOF
   10267 /* end confdefs.h.  */
   10268 
   10269 /* Override any GCC internal prototype to avoid an error.
   10270    Use char because int might match the return type of a GCC
   10271    builtin and then its argument prototype would still apply.  */
   10272 #ifdef __cplusplus
   10273 extern "C"
   10274 #endif
   10275 char dlopen ();
   10276 int
   10277 main ()
   10278 {
   10279 return dlopen ();
   10280   ;
   10281   return 0;
   10282 }
   10283 _ACEOF
   10284 rm -f conftest.$ac_objext conftest$ac_exeext
   10285 if { (ac_try="$ac_link"
   10286 case "(($ac_try" in
   10287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10288   *) ac_try_echo=$ac_try;;
   10289 esac
   10290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10291 $as_echo "$ac_try_echo") >&5
   10292   (eval "$ac_link") 2>conftest.er1
   10293   ac_status=$?
   10294   grep -v '^ *+' conftest.er1 >conftest.err
   10295   rm -f conftest.er1
   10296   cat conftest.err >&5
   10297   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10298   (exit $ac_status); } && {
   10299 	 test -z "$ac_c_werror_flag" ||
   10300 	 test ! -s conftest.err
   10301        } && test -s conftest$ac_exeext && {
   10302 	 test "$cross_compiling" = yes ||
   10303 	 $as_test_x conftest$ac_exeext
   10304        }; then
   10305   ac_cv_lib_svld_dlopen=yes
   10306 else
   10307   $as_echo "$as_me: failed program was:" >&5
   10308 sed 's/^/| /' conftest.$ac_ext >&5
   10309 
   10310 	ac_cv_lib_svld_dlopen=no
   10311 fi
   10312 
   10313 rm -rf conftest.dSYM
   10314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10315       conftest$ac_exeext conftest.$ac_ext
   10316 LIBS=$ac_check_lib_save_LIBS
   10317 fi
   10318 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10319 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10320 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
   10321   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10322 else
   10323   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10324 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10325 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10326   $as_echo_n "(cached) " >&6
   10327 else
   10328   ac_check_lib_save_LIBS=$LIBS
   10329 LIBS="-ldld  $LIBS"
   10330 cat >conftest.$ac_ext <<_ACEOF
   10331 /* confdefs.h.  */
   10332 _ACEOF
   10333 cat confdefs.h >>conftest.$ac_ext
   10334 cat >>conftest.$ac_ext <<_ACEOF
   10335 /* end confdefs.h.  */
   10336 
   10337 /* Override any GCC internal prototype to avoid an error.
   10338    Use char because int might match the return type of a GCC
   10339    builtin and then its argument prototype would still apply.  */
   10340 #ifdef __cplusplus
   10341 extern "C"
   10342 #endif
   10343 char dld_link ();
   10344 int
   10345 main ()
   10346 {
   10347 return dld_link ();
   10348   ;
   10349   return 0;
   10350 }
   10351 _ACEOF
   10352 rm -f conftest.$ac_objext conftest$ac_exeext
   10353 if { (ac_try="$ac_link"
   10354 case "(($ac_try" in
   10355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   10356   *) ac_try_echo=$ac_try;;
   10357 esac
   10358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   10359 $as_echo "$ac_try_echo") >&5
   10360   (eval "$ac_link") 2>conftest.er1
   10361   ac_status=$?
   10362   grep -v '^ *+' conftest.er1 >conftest.err
   10363   rm -f conftest.er1
   10364   cat conftest.err >&5
   10365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10366   (exit $ac_status); } && {
   10367 	 test -z "$ac_c_werror_flag" ||
   10368 	 test ! -s conftest.err
   10369        } && test -s conftest$ac_exeext && {
   10370 	 test "$cross_compiling" = yes ||
   10371 	 $as_test_x conftest$ac_exeext
   10372        }; then
   10373   ac_cv_lib_dld_dld_link=yes
   10374 else
   10375   $as_echo "$as_me: failed program was:" >&5
   10376 sed 's/^/| /' conftest.$ac_ext >&5
   10377 
   10378 	ac_cv_lib_dld_dld_link=no
   10379 fi
   10380 
   10381 rm -rf conftest.dSYM
   10382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   10383       conftest$ac_exeext conftest.$ac_ext
   10384 LIBS=$ac_check_lib_save_LIBS
   10385 fi
   10386 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10387 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10388 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
   10389   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10390 fi
   10391 
   10392 
   10393 fi
   10394 
   10395 
   10396 fi
   10397 
   10398 
   10399 fi
   10400 
   10401 
   10402 fi
   10403 
   10404 
   10405 fi
   10406 
   10407     ;;
   10408   esac
   10409 
   10410   if test "x$lt_cv_dlopen" != xno; then
   10411     enable_dlopen=yes
   10412   else
   10413     enable_dlopen=no
   10414   fi
   10415 
   10416   case $lt_cv_dlopen in
   10417   dlopen)
   10418     save_CPPFLAGS="$CPPFLAGS"
   10419     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10420 
   10421     save_LDFLAGS="$LDFLAGS"
   10422     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10423 
   10424     save_LIBS="$LIBS"
   10425     LIBS="$lt_cv_dlopen_libs $LIBS"
   10426 
   10427     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10428 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10429 if test "${lt_cv_dlopen_self+set}" = set; then
   10430   $as_echo_n "(cached) " >&6
   10431 else
   10432   	  if test "$cross_compiling" = yes; then :
   10433   lt_cv_dlopen_self=cross
   10434 else
   10435   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10436   lt_status=$lt_dlunknown
   10437   cat > conftest.$ac_ext <<EOF
   10438 #line 10438 "configure"
   10439 #include "confdefs.h"
   10440 
   10441 #if HAVE_DLFCN_H
   10442 #include <dlfcn.h>
   10443 #endif
   10444 
   10445 #include <stdio.h>
   10446 
   10447 #ifdef RTLD_GLOBAL
   10448 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10449 #else
   10450 #  ifdef DL_GLOBAL
   10451 #    define LT_DLGLOBAL		DL_GLOBAL
   10452 #  else
   10453 #    define LT_DLGLOBAL		0
   10454 #  endif
   10455 #endif
   10456 
   10457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10458    find out it does not work in some platform. */
   10459 #ifndef LT_DLLAZY_OR_NOW
   10460 #  ifdef RTLD_LAZY
   10461 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10462 #  else
   10463 #    ifdef DL_LAZY
   10464 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10465 #    else
   10466 #      ifdef RTLD_NOW
   10467 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10468 #      else
   10469 #        ifdef DL_NOW
   10470 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10471 #        else
   10472 #          define LT_DLLAZY_OR_NOW	0
   10473 #        endif
   10474 #      endif
   10475 #    endif
   10476 #  endif
   10477 #endif
   10478 
   10479 #ifdef __cplusplus
   10480 extern "C" void exit (int);
   10481 #endif
   10482 
   10483 void fnord() { int i=42;}
   10484 int main ()
   10485 {
   10486   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10487   int status = $lt_dlunknown;
   10488 
   10489   if (self)
   10490     {
   10491       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10492       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10493       /* dlclose (self); */
   10494     }
   10495   else
   10496     puts (dlerror ());
   10497 
   10498     exit (status);
   10499 }
   10500 EOF
   10501   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10502   (eval $ac_link) 2>&5
   10503   ac_status=$?
   10504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10505   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10506     (./conftest; exit; ) >&5 2>/dev/null
   10507     lt_status=$?
   10508     case x$lt_status in
   10509       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10510       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10511       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10512     esac
   10513   else :
   10514     # compilation failed
   10515     lt_cv_dlopen_self=no
   10516   fi
   10517 fi
   10518 rm -fr conftest*
   10519 
   10520 
   10521 fi
   10522 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10523 $as_echo "$lt_cv_dlopen_self" >&6; }
   10524 
   10525     if test "x$lt_cv_dlopen_self" = xyes; then
   10526       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10527       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10528 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   10529 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10530   $as_echo_n "(cached) " >&6
   10531 else
   10532   	  if test "$cross_compiling" = yes; then :
   10533   lt_cv_dlopen_self_static=cross
   10534 else
   10535   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10536   lt_status=$lt_dlunknown
   10537   cat > conftest.$ac_ext <<EOF
   10538 #line 10538 "configure"
   10539 #include "confdefs.h"
   10540 
   10541 #if HAVE_DLFCN_H
   10542 #include <dlfcn.h>
   10543 #endif
   10544 
   10545 #include <stdio.h>
   10546 
   10547 #ifdef RTLD_GLOBAL
   10548 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10549 #else
   10550 #  ifdef DL_GLOBAL
   10551 #    define LT_DLGLOBAL		DL_GLOBAL
   10552 #  else
   10553 #    define LT_DLGLOBAL		0
   10554 #  endif
   10555 #endif
   10556 
   10557 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10558    find out it does not work in some platform. */
   10559 #ifndef LT_DLLAZY_OR_NOW
   10560 #  ifdef RTLD_LAZY
   10561 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10562 #  else
   10563 #    ifdef DL_LAZY
   10564 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10565 #    else
   10566 #      ifdef RTLD_NOW
   10567 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10568 #      else
   10569 #        ifdef DL_NOW
   10570 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10571 #        else
   10572 #          define LT_DLLAZY_OR_NOW	0
   10573 #        endif
   10574 #      endif
   10575 #    endif
   10576 #  endif
   10577 #endif
   10578 
   10579 #ifdef __cplusplus
   10580 extern "C" void exit (int);
   10581 #endif
   10582 
   10583 void fnord() { int i=42;}
   10584 int main ()
   10585 {
   10586   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10587   int status = $lt_dlunknown;
   10588 
   10589   if (self)
   10590     {
   10591       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10592       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10593       /* dlclose (self); */
   10594     }
   10595   else
   10596     puts (dlerror ());
   10597 
   10598     exit (status);
   10599 }
   10600 EOF
   10601   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10602   (eval $ac_link) 2>&5
   10603   ac_status=$?
   10604   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10605   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10606     (./conftest; exit; ) >&5 2>/dev/null
   10607     lt_status=$?
   10608     case x$lt_status in
   10609       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10610       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10611       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10612     esac
   10613   else :
   10614     # compilation failed
   10615     lt_cv_dlopen_self_static=no
   10616   fi
   10617 fi
   10618 rm -fr conftest*
   10619 
   10620 
   10621 fi
   10622 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10623 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   10624     fi
   10625 
   10626     CPPFLAGS="$save_CPPFLAGS"
   10627     LDFLAGS="$save_LDFLAGS"
   10628     LIBS="$save_LIBS"
   10629     ;;
   10630   esac
   10631 
   10632   case $lt_cv_dlopen_self in
   10633   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10634   *) enable_dlopen_self=unknown ;;
   10635   esac
   10636 
   10637   case $lt_cv_dlopen_self_static in
   10638   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10639   *) enable_dlopen_self_static=unknown ;;
   10640   esac
   10641 fi
   10642 
   10643 
   10644 # Report which library types will actually be built
   10645 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10646 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   10647 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10648 $as_echo "$can_build_shared" >&6; }
   10649 
   10650 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10651 $as_echo_n "checking whether to build shared libraries... " >&6; }
   10652 test "$can_build_shared" = "no" && enable_shared=no
   10653 
   10654 # On AIX, shared libraries and static libraries use the same namespace, and
   10655 # are all built from PIC.
   10656 case $host_os in
   10657 aix3*)
   10658   test "$enable_shared" = yes && enable_static=no
   10659   if test -n "$RANLIB"; then
   10660     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10661     postinstall_cmds='$RANLIB $lib'
   10662   fi
   10663   ;;
   10664 
   10665 aix[4-9]*)
   10666   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10667     test "$enable_shared" = yes && enable_static=no
   10668   fi
   10669     ;;
   10670 esac
   10671 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   10672 $as_echo "$enable_shared" >&6; }
   10673 
   10674 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10675 $as_echo_n "checking whether to build static libraries... " >&6; }
   10676 # Make sure either enable_shared or enable_static is yes.
   10677 test "$enable_shared" = yes || enable_static=yes
   10678 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   10679 $as_echo "$enable_static" >&6; }
   10680 
   10681 # The else clause should only fire when bootstrapping the
   10682 # libtool distribution, otherwise you forgot to ship ltmain.sh
   10683 # with your package, and you will get complaints that there are
   10684 # no rules to generate ltmain.sh.
   10685 if test -f "$ltmain"; then
   10686   # See if we are running on zsh, and set the options which allow our commands through
   10687   # without removal of \ escapes.
   10688   if test -n "${ZSH_VERSION+set}" ; then
   10689     setopt NO_GLOB_SUBST
   10690   fi
   10691   # Now quote all the things that may contain metacharacters while being
   10692   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   10693   # variables and quote the copies for generation of the libtool script.
   10694   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   10695     SED SHELL STRIP \
   10696     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   10697     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   10698     deplibs_check_method reload_flag reload_cmds need_locks \
   10699     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   10700     lt_cv_sys_global_symbol_to_c_name_address \
   10701     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   10702     old_postinstall_cmds old_postuninstall_cmds \
   10703     compiler \
   10704     CC \
   10705     LD \
   10706     lt_prog_compiler_wl \
   10707     lt_prog_compiler_pic \
   10708     lt_prog_compiler_static \
   10709     lt_prog_compiler_no_builtin_flag \
   10710     export_dynamic_flag_spec \
   10711     thread_safe_flag_spec \
   10712     whole_archive_flag_spec \
   10713     enable_shared_with_static_runtimes \
   10714     old_archive_cmds \
   10715     old_archive_from_new_cmds \
   10716     predep_objects \
   10717     postdep_objects \
   10718     predeps \
   10719     postdeps \
   10720     compiler_lib_search_path \
   10721     compiler_lib_search_dirs \
   10722     archive_cmds \
   10723     archive_expsym_cmds \
   10724     postinstall_cmds \
   10725     postuninstall_cmds \
   10726     old_archive_from_expsyms_cmds \
   10727     allow_undefined_flag \
   10728     no_undefined_flag \
   10729     export_symbols_cmds \
   10730     hardcode_libdir_flag_spec \
   10731     hardcode_libdir_flag_spec_ld \
   10732     hardcode_libdir_separator \
   10733     hardcode_automatic \
   10734     module_cmds \
   10735     module_expsym_cmds \
   10736     lt_cv_prog_compiler_c_o \
   10737     fix_srcfile_path \
   10738     exclude_expsyms \
   10739     include_expsyms; do
   10740 
   10741     case $var in
   10742     old_archive_cmds | \
   10743     old_archive_from_new_cmds | \
   10744     archive_cmds | \
   10745     archive_expsym_cmds | \
   10746     module_cmds | \
   10747     module_expsym_cmds | \
   10748     old_archive_from_expsyms_cmds | \
   10749     export_symbols_cmds | \
   10750     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   10751     postinstall_cmds | postuninstall_cmds | \
   10752     old_postinstall_cmds | old_postuninstall_cmds | \
   10753     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   10754       # Double-quote double-evaled strings.
   10755       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   10756       ;;
   10757     *)
   10758       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   10759       ;;
   10760     esac
   10761   done
   10762 
   10763   case $lt_echo in
   10764   *'\$0 --fallback-echo"')
   10765     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   10766     ;;
   10767   esac
   10768 
   10769 cfgfile="${ofile}T"
   10770   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
   10771   $rm -f "$cfgfile"
   10772   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
   10773 $as_echo "$as_me: creating $ofile" >&6;}
   10774 
   10775   cat <<__EOF__ >> "$cfgfile"
   10776 #! $SHELL
   10777 
   10778 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   10779 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
   10780 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   10781 #
   10782 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
   10783 # Free Software Foundation, Inc.
   10784 #
   10785 # This file is part of GNU Libtool:
   10786 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   10787 #
   10788 # This program is free software; you can redistribute it and/or modify
   10789 # it under the terms of the GNU General Public License as published by
   10790 # the Free Software Foundation; either version 2 of the License, or
   10791 # (at your option) any later version.
   10792 #
   10793 # This program is distributed in the hope that it will be useful, but
   10794 # WITHOUT ANY WARRANTY; without even the implied warranty of
   10795 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   10796 # General Public License for more details.
   10797 #
   10798 # You should have received a copy of the GNU General Public License
   10799 # along with this program; if not, write to the Free Software
   10800 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   10801 #
   10802 # As a special exception to the GNU General Public License, if you
   10803 # distribute this file as part of a program that contains a
   10804 # configuration script generated by Autoconf, you may include it under
   10805 # the same distribution terms that you use for the rest of that program.
   10806 
   10807 # A sed program that does not truncate output.
   10808 SED=$lt_SED
   10809 
   10810 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   10811 Xsed="$SED -e 1s/^X//"
   10812 
   10813 # The HP-UX ksh and POSIX shell print the target directory to stdout
   10814 # if CDPATH is set.
   10815 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   10816 
   10817 # The names of the tagged configurations supported by this script.
   10818 available_tags=
   10819 
   10820 # ### BEGIN LIBTOOL CONFIG
   10821 
   10822 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   10823 
   10824 # Shell to use when invoking shell scripts.
   10825 SHELL=$lt_SHELL
   10826 
   10827 # Whether or not to build shared libraries.
   10828 build_libtool_libs=$enable_shared
   10829 
   10830 # Whether or not to build static libraries.
   10831 build_old_libs=$enable_static
   10832 
   10833 # Whether or not to add -lc for building shared libraries.
   10834 build_libtool_need_lc=$archive_cmds_need_lc
   10835 
   10836 # Whether or not to disallow shared libs when runtime libs are static
   10837 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   10838 
   10839 # Whether or not to optimize for fast installation.
   10840 fast_install=$enable_fast_install
   10841 
   10842 # The host system.
   10843 host_alias=$host_alias
   10844 host=$host
   10845 host_os=$host_os
   10846 
   10847 # The build system.
   10848 build_alias=$build_alias
   10849 build=$build
   10850 build_os=$build_os
   10851 
   10852 # An echo program that does not interpret backslashes.
   10853 echo=$lt_echo
   10854 
   10855 # The archiver.
   10856 AR=$lt_AR
   10857 AR_FLAGS=$lt_AR_FLAGS
   10858 
   10859 # A C compiler.
   10860 LTCC=$lt_LTCC
   10861 
   10862 # LTCC compiler flags.
   10863 LTCFLAGS=$lt_LTCFLAGS
   10864 
   10865 # A language-specific compiler.
   10866 CC=$lt_compiler
   10867 
   10868 # Is the compiler the GNU C compiler?
   10869 with_gcc=$GCC
   10870 
   10871 # An ERE matcher.
   10872 EGREP=$lt_EGREP
   10873 
   10874 # The linker used to build libraries.
   10875 LD=$lt_LD
   10876 
   10877 # Whether we need hard or soft links.
   10878 LN_S=$lt_LN_S
   10879 
   10880 # A BSD-compatible nm program.
   10881 NM=$lt_NM
   10882 
   10883 # A symbol stripping program
   10884 STRIP=$lt_STRIP
   10885 
   10886 # Used to examine libraries when file_magic_cmd begins "file"
   10887 MAGIC_CMD=$MAGIC_CMD
   10888 
   10889 # Used on cygwin: DLL creation program.
   10890 DLLTOOL="$DLLTOOL"
   10891 
   10892 # Used on cygwin: object dumper.
   10893 OBJDUMP="$OBJDUMP"
   10894 
   10895 # Used on cygwin: assembler.
   10896 AS="$AS"
   10897 
   10898 # The name of the directory that contains temporary libtool files.
   10899 objdir=$objdir
   10900 
   10901 # How to create reloadable object files.
   10902 reload_flag=$lt_reload_flag
   10903 reload_cmds=$lt_reload_cmds
   10904 
   10905 # How to pass a linker flag through the compiler.
   10906 wl=$lt_lt_prog_compiler_wl
   10907 
   10908 # Object file suffix (normally "o").
   10909 objext="$ac_objext"
   10910 
   10911 # Old archive suffix (normally "a").
   10912 libext="$libext"
   10913 
   10914 # Shared library suffix (normally ".so").
   10915 shrext_cmds='$shrext_cmds'
   10916 
   10917 # Executable file suffix (normally "").
   10918 exeext="$exeext"
   10919 
   10920 # Additional compiler flags for building library objects.
   10921 pic_flag=$lt_lt_prog_compiler_pic
   10922 pic_mode=$pic_mode
   10923 
   10924 # What is the maximum length of a command?
   10925 max_cmd_len=$lt_cv_sys_max_cmd_len
   10926 
   10927 # Does compiler simultaneously support -c and -o options?
   10928 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   10929 
   10930 # Must we lock files when doing compilation?
   10931 need_locks=$lt_need_locks
   10932 
   10933 # Do we need the lib prefix for modules?
   10934 need_lib_prefix=$need_lib_prefix
   10935 
   10936 # Do we need a version for libraries?
   10937 need_version=$need_version
   10938 
   10939 # Whether dlopen is supported.
   10940 dlopen_support=$enable_dlopen
   10941 
   10942 # Whether dlopen of programs is supported.
   10943 dlopen_self=$enable_dlopen_self
   10944 
   10945 # Whether dlopen of statically linked programs is supported.
   10946 dlopen_self_static=$enable_dlopen_self_static
   10947 
   10948 # Compiler flag to prevent dynamic linking.
   10949 link_static_flag=$lt_lt_prog_compiler_static
   10950 
   10951 # Compiler flag to turn off builtin functions.
   10952 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   10953 
   10954 # Compiler flag to allow reflexive dlopens.
   10955 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   10956 
   10957 # Compiler flag to generate shared objects directly from archives.
   10958 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   10959 
   10960 # Compiler flag to generate thread-safe objects.
   10961 thread_safe_flag_spec=$lt_thread_safe_flag_spec
   10962 
   10963 # Library versioning type.
   10964 version_type=$version_type
   10965 
   10966 # Format of library name prefix.
   10967 libname_spec=$lt_libname_spec
   10968 
   10969 # List of archive names.  First name is the real one, the rest are links.
   10970 # The last name is the one that the linker finds with -lNAME.
   10971 library_names_spec=$lt_library_names_spec
   10972 
   10973 # The coded name of the library, if different from the real name.
   10974 soname_spec=$lt_soname_spec
   10975 
   10976 # Commands used to build and install an old-style archive.
   10977 RANLIB=$lt_RANLIB
   10978 old_archive_cmds=$lt_old_archive_cmds
   10979 old_postinstall_cmds=$lt_old_postinstall_cmds
   10980 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   10981 
   10982 # Create an old-style archive from a shared archive.
   10983 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   10984 
   10985 # Create a temporary old-style archive to link instead of a shared archive.
   10986 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   10987 
   10988 # Commands used to build and install a shared archive.
   10989 archive_cmds=$lt_archive_cmds
   10990 archive_expsym_cmds=$lt_archive_expsym_cmds
   10991 postinstall_cmds=$lt_postinstall_cmds
   10992 postuninstall_cmds=$lt_postuninstall_cmds
   10993 
   10994 # Commands used to build a loadable module (assumed same as above if empty)
   10995 module_cmds=$lt_module_cmds
   10996 module_expsym_cmds=$lt_module_expsym_cmds
   10997 
   10998 # Commands to strip libraries.
   10999 old_striplib=$lt_old_striplib
   11000 striplib=$lt_striplib
   11001 
   11002 # Dependencies to place before the objects being linked to create a
   11003 # shared library.
   11004 predep_objects=$lt_predep_objects
   11005 
   11006 # Dependencies to place after the objects being linked to create a
   11007 # shared library.
   11008 postdep_objects=$lt_postdep_objects
   11009 
   11010 # Dependencies to place before the objects being linked to create a
   11011 # shared library.
   11012 predeps=$lt_predeps
   11013 
   11014 # Dependencies to place after the objects being linked to create a
   11015 # shared library.
   11016 postdeps=$lt_postdeps
   11017 
   11018 # The directories searched by this compiler when creating a shared
   11019 # library
   11020 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   11021 
   11022 # The library search path used internally by the compiler when linking
   11023 # a shared library.
   11024 compiler_lib_search_path=$lt_compiler_lib_search_path
   11025 
   11026 # Method to check whether dependent libraries are shared objects.
   11027 deplibs_check_method=$lt_deplibs_check_method
   11028 
   11029 # Command to use when deplibs_check_method == file_magic.
   11030 file_magic_cmd=$lt_file_magic_cmd
   11031 
   11032 # Flag that allows shared libraries with undefined symbols to be built.
   11033 allow_undefined_flag=$lt_allow_undefined_flag
   11034 
   11035 # Flag that forces no undefined symbols.
   11036 no_undefined_flag=$lt_no_undefined_flag
   11037 
   11038 # Commands used to finish a libtool library installation in a directory.
   11039 finish_cmds=$lt_finish_cmds
   11040 
   11041 # Same as above, but a single script fragment to be evaled but not shown.
   11042 finish_eval=$lt_finish_eval
   11043 
   11044 # Take the output of nm and produce a listing of raw symbols and C names.
   11045 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   11046 
   11047 # Transform the output of nm in a proper C declaration
   11048 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   11049 
   11050 # Transform the output of nm in a C name address pair
   11051 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   11052 
   11053 # This is the shared library runtime path variable.
   11054 runpath_var=$runpath_var
   11055 
   11056 # This is the shared library path variable.
   11057 shlibpath_var=$shlibpath_var
   11058 
   11059 # Is shlibpath searched before the hard-coded library search path?
   11060 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   11061 
   11062 # How to hardcode a shared library path into an executable.
   11063 hardcode_action=$hardcode_action
   11064 
   11065 # Whether we should hardcode library paths into libraries.
   11066 hardcode_into_libs=$hardcode_into_libs
   11067 
   11068 # Flag to hardcode \$libdir into a binary during linking.
   11069 # This must work even if \$libdir does not exist.
   11070 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   11071 
   11072 # If ld is used when linking, flag to hardcode \$libdir into
   11073 # a binary during linking. This must work even if \$libdir does
   11074 # not exist.
   11075 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   11076 
   11077 # Whether we need a single -rpath flag with a separated argument.
   11078 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   11079 
   11080 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   11081 # resulting binary.
   11082 hardcode_direct=$hardcode_direct
   11083 
   11084 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   11085 # resulting binary.
   11086 hardcode_minus_L=$hardcode_minus_L
   11087 
   11088 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   11089 # the resulting binary.
   11090 hardcode_shlibpath_var=$hardcode_shlibpath_var
   11091 
   11092 # Set to yes if building a shared library automatically hardcodes DIR into the library
   11093 # and all subsequent libraries and executables linked against it.
   11094 hardcode_automatic=$hardcode_automatic
   11095 
   11096 # Variables whose values should be saved in libtool wrapper scripts and
   11097 # restored at relink time.
   11098 variables_saved_for_relink="$variables_saved_for_relink"
   11099 
   11100 # Whether libtool must link a program against all its dependency libraries.
   11101 link_all_deplibs=$link_all_deplibs
   11102 
   11103 # Compile-time system search path for libraries
   11104 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   11105 
   11106 # Run-time system search path for libraries
   11107 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   11108 
   11109 # Fix the shell variable \$srcfile for the compiler.
   11110 fix_srcfile_path=$lt_fix_srcfile_path
   11111 
   11112 # Set to yes if exported symbols are required.
   11113 always_export_symbols=$always_export_symbols
   11114 
   11115 # The commands to list exported symbols.
   11116 export_symbols_cmds=$lt_export_symbols_cmds
   11117 
   11118 # The commands to extract the exported symbol list from a shared archive.
   11119 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   11120 
   11121 # Symbols that should not be listed in the preloaded symbols.
   11122 exclude_expsyms=$lt_exclude_expsyms
   11123 
   11124 # Symbols that must always be exported.
   11125 include_expsyms=$lt_include_expsyms
   11126 
   11127 # ### END LIBTOOL CONFIG
   11128 
   11129 __EOF__
   11130 
   11131 
   11132   case $host_os in
   11133   aix3*)
   11134     cat <<\EOF >> "$cfgfile"
   11135 
   11136 # AIX sometimes has problems with the GCC collect2 program.  For some
   11137 # reason, if we set the COLLECT_NAMES environment variable, the problems
   11138 # vanish in a puff of smoke.
   11139 if test "X${COLLECT_NAMES+set}" != Xset; then
   11140   COLLECT_NAMES=
   11141   export COLLECT_NAMES
   11142 fi
   11143 EOF
   11144     ;;
   11145   esac
   11146 
   11147   # We use sed instead of cat because bash on DJGPP gets confused if
   11148   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   11149   # text mode, it properly converts lines to CR/LF.  This bash problem
   11150   # is reportedly fixed, but why not run on old versions too?
   11151   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
   11152 
   11153   mv -f "$cfgfile" "$ofile" || \
   11154     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   11155   chmod +x "$ofile"
   11156 
   11157 else
   11158   # If there is no Makefile yet, we rely on a make rule to execute
   11159   # `config.status --recheck' to rerun these tests and create the
   11160   # libtool script then.
   11161   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   11162   if test -f "$ltmain_in"; then
   11163     test -f Makefile && make "$ltmain"
   11164   fi
   11165 fi
   11166 
   11167 
   11168 ac_ext=c
   11169 ac_cpp='$CPP $CPPFLAGS'
   11170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11173 
   11174 CC="$lt_save_CC"
   11175 
   11176 
   11177 # Check whether --with-tags was given.
   11178 if test "${with_tags+set}" = set; then
   11179   withval=$with_tags; tagnames="$withval"
   11180 fi
   11181 
   11182 
   11183 if test -f "$ltmain" && test -n "$tagnames"; then
   11184   if test ! -f "${ofile}"; then
   11185     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
   11186 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
   11187   fi
   11188 
   11189   if test -z "$LTCC"; then
   11190     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
   11191     if test -z "$LTCC"; then
   11192       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
   11193 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
   11194     else
   11195       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
   11196 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
   11197     fi
   11198   fi
   11199   if test -z "$LTCFLAGS"; then
   11200     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
   11201   fi
   11202 
   11203   # Extract list of available tagged configurations in $ofile.
   11204   # Note that this assumes the entire list is on one line.
   11205   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
   11206 
   11207   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   11208   for tagname in $tagnames; do
   11209     IFS="$lt_save_ifs"
   11210     # Check whether tagname contains only valid characters
   11211     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
   11212     "") ;;
   11213     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
   11214 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
   11215    { (exit 1); exit 1; }; }
   11216 	;;
   11217     esac
   11218 
   11219     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
   11220     then
   11221       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
   11222 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
   11223    { (exit 1); exit 1; }; }
   11224     fi
   11225 
   11226     # Update the list of available tags.
   11227     if test -n "$tagname"; then
   11228       echo appending configuration tag \"$tagname\" to $ofile
   11229 
   11230       case $tagname in
   11231       CXX)
   11232 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11233 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11234 	    (test "X$CXX" != "Xg++"))) ; then
   11235 	  ac_ext=cpp
   11236 ac_cpp='$CXXCPP $CPPFLAGS'
   11237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11240 
   11241 
   11242 
   11243 
   11244 archive_cmds_need_lc_CXX=no
   11245 allow_undefined_flag_CXX=
   11246 always_export_symbols_CXX=no
   11247 archive_expsym_cmds_CXX=
   11248 export_dynamic_flag_spec_CXX=
   11249 hardcode_direct_CXX=no
   11250 hardcode_libdir_flag_spec_CXX=
   11251 hardcode_libdir_flag_spec_ld_CXX=
   11252 hardcode_libdir_separator_CXX=
   11253 hardcode_minus_L_CXX=no
   11254 hardcode_shlibpath_var_CXX=unsupported
   11255 hardcode_automatic_CXX=no
   11256 module_cmds_CXX=
   11257 module_expsym_cmds_CXX=
   11258 link_all_deplibs_CXX=unknown
   11259 old_archive_cmds_CXX=$old_archive_cmds
   11260 no_undefined_flag_CXX=
   11261 whole_archive_flag_spec_CXX=
   11262 enable_shared_with_static_runtimes_CXX=no
   11263 
   11264 # Dependencies to place before and after the object being linked:
   11265 predep_objects_CXX=
   11266 postdep_objects_CXX=
   11267 predeps_CXX=
   11268 postdeps_CXX=
   11269 compiler_lib_search_path_CXX=
   11270 compiler_lib_search_dirs_CXX=
   11271 
   11272 # Source file extension for C++ test sources.
   11273 ac_ext=cpp
   11274 
   11275 # Object file extension for compiled C++ test sources.
   11276 objext=o
   11277 objext_CXX=$objext
   11278 
   11279 # Code to be used in simple compile tests
   11280 lt_simple_compile_test_code="int some_variable = 0;"
   11281 
   11282 # Code to be used in simple link tests
   11283 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   11284 
   11285 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   11286 
   11287 # If no C compiler was specified, use CC.
   11288 LTCC=${LTCC-"$CC"}
   11289 
   11290 # If no C compiler flags were specified, use CFLAGS.
   11291 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   11292 
   11293 # Allow CC to be a program name with arguments.
   11294 compiler=$CC
   11295 
   11296 
   11297 # save warnings/boilerplate of simple test code
   11298 ac_outfile=conftest.$ac_objext
   11299 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   11300 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11301 _lt_compiler_boilerplate=`cat conftest.err`
   11302 $rm conftest*
   11303 
   11304 ac_outfile=conftest.$ac_objext
   11305 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   11306 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   11307 _lt_linker_boilerplate=`cat conftest.err`
   11308 $rm -r conftest*
   11309 
   11310 
   11311 # Allow CC to be a program name with arguments.
   11312 lt_save_CC=$CC
   11313 lt_save_LD=$LD
   11314 lt_save_GCC=$GCC
   11315 GCC=$GXX
   11316 lt_save_with_gnu_ld=$with_gnu_ld
   11317 lt_save_path_LD=$lt_cv_path_LD
   11318 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   11319   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   11320 else
   11321   $as_unset lt_cv_prog_gnu_ld
   11322 fi
   11323 if test -n "${lt_cv_path_LDCXX+set}"; then
   11324   lt_cv_path_LD=$lt_cv_path_LDCXX
   11325 else
   11326   $as_unset lt_cv_path_LD
   11327 fi
   11328 test -z "${LDCXX+set}" || LD=$LDCXX
   11329 CC=${CXX-"c++"}
   11330 compiler=$CC
   11331 compiler_CXX=$CC
   11332 for cc_temp in $compiler""; do
   11333   case $cc_temp in
   11334     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   11335     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   11336     \-*) ;;
   11337     *) break;;
   11338   esac
   11339 done
   11340 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   11341 
   11342 
   11343 # We don't want -fno-exception wen compiling C++ code, so set the
   11344 # no_builtin_flag separately
   11345 if test "$GXX" = yes; then
   11346   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   11347 else
   11348   lt_prog_compiler_no_builtin_flag_CXX=
   11349 fi
   11350 
   11351 if test "$GXX" = yes; then
   11352   # Set up default GNU C++ configuration
   11353 
   11354 
   11355 # Check whether --with-gnu-ld was given.
   11356 if test "${with_gnu_ld+set}" = set; then
   11357   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11358 else
   11359   with_gnu_ld=no
   11360 fi
   11361 
   11362 ac_prog=ld
   11363 if test "$GCC" = yes; then
   11364   # Check if gcc -print-prog-name=ld gives a path.
   11365   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   11366 $as_echo_n "checking for ld used by $CC... " >&6; }
   11367   case $host in
   11368   *-*-mingw*)
   11369     # gcc leaves a trailing carriage return which upsets mingw
   11370     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11371   *)
   11372     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11373   esac
   11374   case $ac_prog in
   11375     # Accept absolute paths.
   11376     [\\/]* | ?:[\\/]*)
   11377       re_direlt='/[^/][^/]*/\.\./'
   11378       # Canonicalize the pathname of ld
   11379       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
   11380       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   11381 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
   11382       done
   11383       test -z "$LD" && LD="$ac_prog"
   11384       ;;
   11385   "")
   11386     # If it fails, then pretend we aren't using GCC.
   11387     ac_prog=ld
   11388     ;;
   11389   *)
   11390     # If it is relative, then search for the first ld in PATH.
   11391     with_gnu_ld=unknown
   11392     ;;
   11393   esac
   11394 elif test "$with_gnu_ld" = yes; then
   11395   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
   11396 $as_echo_n "checking for GNU ld... " >&6; }
   11397 else
   11398   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   11399 $as_echo_n "checking for non-GNU ld... " >&6; }
   11400 fi
   11401 if test "${lt_cv_path_LD+set}" = set; then
   11402   $as_echo_n "(cached) " >&6
   11403 else
   11404   if test -z "$LD"; then
   11405   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11406   for ac_dir in $PATH; do
   11407     IFS="$lt_save_ifs"
   11408     test -z "$ac_dir" && ac_dir=.
   11409     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11410       lt_cv_path_LD="$ac_dir/$ac_prog"
   11411       # Check to see if the program is GNU ld.  I'd rather use --version,
   11412       # but apparently some variants of GNU ld only accept -v.
   11413       # Break only if it was the GNU/non-GNU ld that we prefer.
   11414       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11415       *GNU* | *'with BFD'*)
   11416 	test "$with_gnu_ld" != no && break
   11417 	;;
   11418       *)
   11419 	test "$with_gnu_ld" != yes && break
   11420 	;;
   11421       esac
   11422     fi
   11423   done
   11424   IFS="$lt_save_ifs"
   11425 else
   11426   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11427 fi
   11428 fi
   11429 
   11430 LD="$lt_cv_path_LD"
   11431 if test -n "$LD"; then
   11432   { $as_echo "$as_me:$LINENO: result: $LD" >&5
   11433 $as_echo "$LD" >&6; }
   11434 else
   11435   { $as_echo "$as_me:$LINENO: result: no" >&5
   11436 $as_echo "no" >&6; }
   11437 fi
   11438 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   11439 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   11440    { (exit 1); exit 1; }; }
   11441 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   11442 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11443 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   11444   $as_echo_n "(cached) " >&6
   11445 else
   11446   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11447 case `$LD -v 2>&1 </dev/null` in
   11448 *GNU* | *'with BFD'*)
   11449   lt_cv_prog_gnu_ld=yes
   11450   ;;
   11451 *)
   11452   lt_cv_prog_gnu_ld=no
   11453   ;;
   11454 esac
   11455 fi
   11456 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   11457 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11458 with_gnu_ld=$lt_cv_prog_gnu_ld
   11459 
   11460 
   11461 
   11462   # Check if GNU C++ uses GNU ld as the underlying linker, since the
   11463   # archiving commands below assume that GNU ld is being used.
   11464   if test "$with_gnu_ld" = yes; then
   11465     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11466     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'
   11467 
   11468     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   11469     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   11470 
   11471     # If archive_cmds runs LD, not CC, wlarc should be empty
   11472     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   11473     #     investigate it a little bit more. (MM)
   11474     wlarc='${wl}'
   11475 
   11476     # ancient GNU ld didn't support --whole-archive et. al.
   11477     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
   11478 	grep 'no-whole-archive' > /dev/null; then
   11479       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   11480     else
   11481       whole_archive_flag_spec_CXX=
   11482     fi
   11483   else
   11484     with_gnu_ld=no
   11485     wlarc=
   11486 
   11487     # A generic and very simple default shared library creation
   11488     # command for GNU C++ for the case where it uses the native
   11489     # linker, instead of GNU ld.  If possible, this setting should
   11490     # overridden to take advantage of the native linker features on
   11491     # the platform it is being used on.
   11492     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   11493   fi
   11494 
   11495   # Commands to make compiler produce verbose output that lists
   11496   # what "hidden" libraries, object files and flags are used when
   11497   # linking a shared library.
   11498   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   11499 
   11500 else
   11501   GXX=no
   11502   with_gnu_ld=no
   11503   wlarc=
   11504 fi
   11505 
   11506 # PORTME: fill in a description of your system's C++ link characteristics
   11507 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   11508 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   11509 ld_shlibs_CXX=yes
   11510 case $host_os in
   11511   aix3*)
   11512     # FIXME: insert proper C++ library support
   11513     ld_shlibs_CXX=no
   11514     ;;
   11515   aix[4-9]*)
   11516     if test "$host_cpu" = ia64; then
   11517       # On IA64, the linker does run time linking by default, so we don't
   11518       # have to do anything special.
   11519       aix_use_runtimelinking=no
   11520       exp_sym_flag='-Bexport'
   11521       no_entry_flag=""
   11522     else
   11523       aix_use_runtimelinking=no
   11524 
   11525       # Test if we are trying to use run time linking or normal
   11526       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   11527       # need to do runtime linking.
   11528       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   11529 	for ld_flag in $LDFLAGS; do
   11530 	  case $ld_flag in
   11531 	  *-brtl*)
   11532 	    aix_use_runtimelinking=yes
   11533 	    break
   11534 	    ;;
   11535 	  esac
   11536 	done
   11537 	;;
   11538       esac
   11539 
   11540       exp_sym_flag='-bexport'
   11541       no_entry_flag='-bnoentry'
   11542     fi
   11543 
   11544     # When large executables or shared objects are built, AIX ld can
   11545     # have problems creating the table of contents.  If linking a library
   11546     # or program results in "error TOC overflow" add -mminimal-toc to
   11547     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   11548     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   11549 
   11550     archive_cmds_CXX=''
   11551     hardcode_direct_CXX=yes
   11552     hardcode_libdir_separator_CXX=':'
   11553     link_all_deplibs_CXX=yes
   11554 
   11555     if test "$GXX" = yes; then
   11556       case $host_os in aix4.[012]|aix4.[012].*)
   11557       # We only want to do this on AIX 4.2 and lower, the check
   11558       # below for broken collect2 doesn't work under 4.3+
   11559 	collect2name=`${CC} -print-prog-name=collect2`
   11560 	if test -f "$collect2name" && \
   11561 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   11562 	then
   11563 	  # We have reworked collect2
   11564 	  :
   11565 	else
   11566 	  # We have old collect2
   11567 	  hardcode_direct_CXX=unsupported
   11568 	  # It fails to find uninstalled libraries when the uninstalled
   11569 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   11570 	  # to unsupported forces relinking
   11571 	  hardcode_minus_L_CXX=yes
   11572 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
   11573 	  hardcode_libdir_separator_CXX=
   11574 	fi
   11575 	;;
   11576       esac
   11577       shared_flag='-shared'
   11578       if test "$aix_use_runtimelinking" = yes; then
   11579 	shared_flag="$shared_flag "'${wl}-G'
   11580       fi
   11581     else
   11582       # not using gcc
   11583       if test "$host_cpu" = ia64; then
   11584 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   11585 	# chokes on -Wl,-G. The following line is correct:
   11586 	shared_flag='-G'
   11587       else
   11588 	if test "$aix_use_runtimelinking" = yes; then
   11589 	  shared_flag='${wl}-G'
   11590 	else
   11591 	  shared_flag='${wl}-bM:SRE'
   11592 	fi
   11593       fi
   11594     fi
   11595 
   11596     # It seems that -bexpall does not export symbols beginning with
   11597     # underscore (_), so it is better to generate a list of symbols to export.
   11598     always_export_symbols_CXX=yes
   11599     if test "$aix_use_runtimelinking" = yes; then
   11600       # Warning - without using the other runtime loading flags (-brtl),
   11601       # -berok will link without error, but may produce a broken library.
   11602       allow_undefined_flag_CXX='-berok'
   11603       # Determine the default libpath from the value encoded in an empty executable.
   11604       cat >conftest.$ac_ext <<_ACEOF
   11605 /* confdefs.h.  */
   11606 _ACEOF
   11607 cat confdefs.h >>conftest.$ac_ext
   11608 cat >>conftest.$ac_ext <<_ACEOF
   11609 /* end confdefs.h.  */
   11610 
   11611 int
   11612 main ()
   11613 {
   11614 
   11615   ;
   11616   return 0;
   11617 }
   11618 _ACEOF
   11619 rm -f conftest.$ac_objext conftest$ac_exeext
   11620 if { (ac_try="$ac_link"
   11621 case "(($ac_try" in
   11622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11623   *) ac_try_echo=$ac_try;;
   11624 esac
   11625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11626 $as_echo "$ac_try_echo") >&5
   11627   (eval "$ac_link") 2>conftest.er1
   11628   ac_status=$?
   11629   grep -v '^ *+' conftest.er1 >conftest.err
   11630   rm -f conftest.er1
   11631   cat conftest.err >&5
   11632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11633   (exit $ac_status); } && {
   11634 	 test -z "$ac_cxx_werror_flag" ||
   11635 	 test ! -s conftest.err
   11636        } && test -s conftest$ac_exeext && {
   11637 	 test "$cross_compiling" = yes ||
   11638 	 $as_test_x conftest$ac_exeext
   11639        }; then
   11640 
   11641 lt_aix_libpath_sed='
   11642     /Import File Strings/,/^$/ {
   11643 	/^0/ {
   11644 	    s/^0  *\(.*\)$/\1/
   11645 	    p
   11646 	}
   11647     }'
   11648 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11649 # Check for a 64-bit object if we didn't find anything.
   11650 if test -z "$aix_libpath"; then
   11651   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11652 fi
   11653 else
   11654   $as_echo "$as_me: failed program was:" >&5
   11655 sed 's/^/| /' conftest.$ac_ext >&5
   11656 
   11657 
   11658 fi
   11659 
   11660 rm -rf conftest.dSYM
   11661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11662       conftest$ac_exeext conftest.$ac_ext
   11663 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11664 
   11665       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11666 
   11667       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"
   11668      else
   11669       if test "$host_cpu" = ia64; then
   11670 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   11671 	allow_undefined_flag_CXX="-z nodefs"
   11672 	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"
   11673       else
   11674 	# Determine the default libpath from the value encoded in an empty executable.
   11675 	cat >conftest.$ac_ext <<_ACEOF
   11676 /* confdefs.h.  */
   11677 _ACEOF
   11678 cat confdefs.h >>conftest.$ac_ext
   11679 cat >>conftest.$ac_ext <<_ACEOF
   11680 /* end confdefs.h.  */
   11681 
   11682 int
   11683 main ()
   11684 {
   11685 
   11686   ;
   11687   return 0;
   11688 }
   11689 _ACEOF
   11690 rm -f conftest.$ac_objext conftest$ac_exeext
   11691 if { (ac_try="$ac_link"
   11692 case "(($ac_try" in
   11693   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   11694   *) ac_try_echo=$ac_try;;
   11695 esac
   11696 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   11697 $as_echo "$ac_try_echo") >&5
   11698   (eval "$ac_link") 2>conftest.er1
   11699   ac_status=$?
   11700   grep -v '^ *+' conftest.er1 >conftest.err
   11701   rm -f conftest.er1
   11702   cat conftest.err >&5
   11703   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11704   (exit $ac_status); } && {
   11705 	 test -z "$ac_cxx_werror_flag" ||
   11706 	 test ! -s conftest.err
   11707        } && test -s conftest$ac_exeext && {
   11708 	 test "$cross_compiling" = yes ||
   11709 	 $as_test_x conftest$ac_exeext
   11710        }; then
   11711 
   11712 lt_aix_libpath_sed='
   11713     /Import File Strings/,/^$/ {
   11714 	/^0/ {
   11715 	    s/^0  *\(.*\)$/\1/
   11716 	    p
   11717 	}
   11718     }'
   11719 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11720 # Check for a 64-bit object if we didn't find anything.
   11721 if test -z "$aix_libpath"; then
   11722   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   11723 fi
   11724 else
   11725   $as_echo "$as_me: failed program was:" >&5
   11726 sed 's/^/| /' conftest.$ac_ext >&5
   11727 
   11728 
   11729 fi
   11730 
   11731 rm -rf conftest.dSYM
   11732 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   11733       conftest$ac_exeext conftest.$ac_ext
   11734 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   11735 
   11736 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   11737 	# Warning - without using the other run time loading flags,
   11738 	# -berok will link without error, but may produce a broken library.
   11739 	no_undefined_flag_CXX=' ${wl}-bernotok'
   11740 	allow_undefined_flag_CXX=' ${wl}-berok'
   11741 	# Exported symbols can be pulled into shared objects from archives
   11742 	whole_archive_flag_spec_CXX='$convenience'
   11743 	archive_cmds_need_lc_CXX=yes
   11744 	# This is similar to how AIX traditionally builds its shared libraries.
   11745 	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'
   11746       fi
   11747     fi
   11748     ;;
   11749 
   11750   beos*)
   11751     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   11752       allow_undefined_flag_CXX=unsupported
   11753       # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   11754       # support --undefined.  This deserves some investigation.  FIXME
   11755       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   11756     else
   11757       ld_shlibs_CXX=no
   11758     fi
   11759     ;;
   11760 
   11761   chorus*)
   11762     case $cc_basename in
   11763       *)
   11764 	# FIXME: insert proper C++ library support
   11765 	ld_shlibs_CXX=no
   11766 	;;
   11767     esac
   11768     ;;
   11769 
   11770   cygwin* | mingw* | pw32*)
   11771     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   11772     # as there is no search path for DLLs.
   11773     hardcode_libdir_flag_spec_CXX='-L$libdir'
   11774     allow_undefined_flag_CXX=unsupported
   11775     always_export_symbols_CXX=no
   11776     enable_shared_with_static_runtimes_CXX=yes
   11777 
   11778     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   11779       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'
   11780       # If the export-symbols file already is a .def file (1st line
   11781       # is EXPORTS), use it as is; otherwise, prepend...
   11782       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   11783 	cp $export_symbols $output_objdir/$soname.def;
   11784       else
   11785 	echo EXPORTS > $output_objdir/$soname.def;
   11786 	cat $export_symbols >> $output_objdir/$soname.def;
   11787       fi~
   11788       $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'
   11789     else
   11790       ld_shlibs_CXX=no
   11791     fi
   11792   ;;
   11793       darwin* | rhapsody*)
   11794       archive_cmds_need_lc_CXX=no
   11795       hardcode_direct_CXX=no
   11796       hardcode_automatic_CXX=yes
   11797       hardcode_shlibpath_var_CXX=unsupported
   11798       whole_archive_flag_spec_CXX=''
   11799       link_all_deplibs_CXX=yes
   11800       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   11801       if test "$GXX" = yes ; then
   11802       output_verbose_link_cmd='echo'
   11803       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}"
   11804       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   11805       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}"
   11806       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}"
   11807       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   11808         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}"
   11809         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}"
   11810       fi
   11811       else
   11812       case $cc_basename in
   11813         xlc*)
   11814          output_verbose_link_cmd='echo'
   11815           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'
   11816           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   11817           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   11818           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}'
   11819           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}'
   11820           ;;
   11821        *)
   11822          ld_shlibs_CXX=no
   11823           ;;
   11824       esac
   11825       fi
   11826         ;;
   11827 
   11828   dgux*)
   11829     case $cc_basename in
   11830       ec++*)
   11831 	# FIXME: insert proper C++ library support
   11832 	ld_shlibs_CXX=no
   11833 	;;
   11834       ghcx*)
   11835 	# Green Hills C++ Compiler
   11836 	# FIXME: insert proper C++ library support
   11837 	ld_shlibs_CXX=no
   11838 	;;
   11839       *)
   11840 	# FIXME: insert proper C++ library support
   11841 	ld_shlibs_CXX=no
   11842 	;;
   11843     esac
   11844     ;;
   11845   freebsd[12]*)
   11846     # C++ shared libraries reported to be fairly broken before switch to ELF
   11847     ld_shlibs_CXX=no
   11848     ;;
   11849   freebsd-elf*)
   11850     archive_cmds_need_lc_CXX=no
   11851     ;;
   11852   freebsd* | dragonfly*)
   11853     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   11854     # conventions
   11855     ld_shlibs_CXX=yes
   11856     ;;
   11857   gnu*)
   11858     ;;
   11859   hpux9*)
   11860     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11861     hardcode_libdir_separator_CXX=:
   11862     export_dynamic_flag_spec_CXX='${wl}-E'
   11863     hardcode_direct_CXX=yes
   11864     hardcode_minus_L_CXX=yes # Not in the search PATH,
   11865 				# but as the default
   11866 				# location of the library.
   11867 
   11868     case $cc_basename in
   11869     CC*)
   11870       # FIXME: insert proper C++ library support
   11871       ld_shlibs_CXX=no
   11872       ;;
   11873     aCC*)
   11874       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'
   11875       # Commands to make compiler produce verbose output that lists
   11876       # what "hidden" libraries, object files and flags are used when
   11877       # linking a shared library.
   11878       #
   11879       # There doesn't appear to be a way to prevent this compiler from
   11880       # explicitly linking system object files so we need to strip them
   11881       # from the output so that they don't get included in the library
   11882       # dependencies.
   11883       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'
   11884       ;;
   11885     *)
   11886       if test "$GXX" = yes; then
   11887         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'
   11888       else
   11889         # FIXME: insert proper C++ library support
   11890         ld_shlibs_CXX=no
   11891       fi
   11892       ;;
   11893     esac
   11894     ;;
   11895   hpux10*|hpux11*)
   11896     if test $with_gnu_ld = no; then
   11897       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   11898       hardcode_libdir_separator_CXX=:
   11899 
   11900       case $host_cpu in
   11901       hppa*64*|ia64*) ;;
   11902       *)
   11903 	export_dynamic_flag_spec_CXX='${wl}-E'
   11904         ;;
   11905       esac
   11906     fi
   11907     case $host_cpu in
   11908     hppa*64*|ia64*)
   11909       hardcode_direct_CXX=no
   11910       hardcode_shlibpath_var_CXX=no
   11911       ;;
   11912     *)
   11913       hardcode_direct_CXX=yes
   11914       hardcode_minus_L_CXX=yes # Not in the search PATH,
   11915 					      # but as the default
   11916 					      # location of the library.
   11917       ;;
   11918     esac
   11919 
   11920     case $cc_basename in
   11921       CC*)
   11922 	# FIXME: insert proper C++ library support
   11923 	ld_shlibs_CXX=no
   11924 	;;
   11925       aCC*)
   11926 	case $host_cpu in
   11927 	hppa*64*)
   11928 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11929 	  ;;
   11930 	ia64*)
   11931 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11932 	  ;;
   11933 	*)
   11934 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11935 	  ;;
   11936 	esac
   11937 	# Commands to make compiler produce verbose output that lists
   11938 	# what "hidden" libraries, object files and flags are used when
   11939 	# linking a shared library.
   11940 	#
   11941 	# There doesn't appear to be a way to prevent this compiler from
   11942 	# explicitly linking system object files so we need to strip them
   11943 	# from the output so that they don't get included in the library
   11944 	# dependencies.
   11945 	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'
   11946 	;;
   11947       *)
   11948 	if test "$GXX" = yes; then
   11949 	  if test $with_gnu_ld = no; then
   11950 	    case $host_cpu in
   11951 	    hppa*64*)
   11952 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11953 	      ;;
   11954 	    ia64*)
   11955 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   11956 	      ;;
   11957 	    *)
   11958 	      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'
   11959 	      ;;
   11960 	    esac
   11961 	  fi
   11962 	else
   11963 	  # FIXME: insert proper C++ library support
   11964 	  ld_shlibs_CXX=no
   11965 	fi
   11966 	;;
   11967     esac
   11968     ;;
   11969   interix[3-9]*)
   11970     hardcode_direct_CXX=no
   11971     hardcode_shlibpath_var_CXX=no
   11972     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   11973     export_dynamic_flag_spec_CXX='${wl}-E'
   11974     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   11975     # Instead, shared libraries are loaded at an image base (0x10000000 by
   11976     # default) and relocated if they conflict, which is a slow very memory
   11977     # consuming and fragmenting process.  To avoid this, we pick a random,
   11978     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   11979     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   11980     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'
   11981     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'
   11982     ;;
   11983   irix5* | irix6*)
   11984     case $cc_basename in
   11985       CC*)
   11986 	# SGI C++
   11987 	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'
   11988 
   11989 	# Archives containing C++ object files must be created using
   11990 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   11991 	# necessary to make sure instantiated templates are included
   11992 	# in the archive.
   11993 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   11994 	;;
   11995       *)
   11996 	if test "$GXX" = yes; then
   11997 	  if test "$with_gnu_ld" = no; then
   11998 	    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'
   11999 	  else
   12000 	    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'
   12001 	  fi
   12002 	fi
   12003 	link_all_deplibs_CXX=yes
   12004 	;;
   12005     esac
   12006     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12007     hardcode_libdir_separator_CXX=:
   12008     ;;
   12009   linux* | k*bsd*-gnu)
   12010     case $cc_basename in
   12011       KCC*)
   12012 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12013 
   12014 	# KCC will only create a shared library if the output file
   12015 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12016 	# to its proper name (with version) after linking.
   12017 	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'
   12018 	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'
   12019 	# Commands to make compiler produce verbose output that lists
   12020 	# what "hidden" libraries, object files and flags are used when
   12021 	# linking a shared library.
   12022 	#
   12023 	# There doesn't appear to be a way to prevent this compiler from
   12024 	# explicitly linking system object files so we need to strip them
   12025 	# from the output so that they don't get included in the library
   12026 	# dependencies.
   12027 	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'
   12028 
   12029 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
   12030 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12031 
   12032 	# Archives containing C++ object files must be created using
   12033 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12034 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12035 	;;
   12036       icpc*)
   12037 	# Intel C++
   12038 	with_gnu_ld=yes
   12039 	# version 8.0 and above of icpc choke on multiply defined symbols
   12040 	# if we add $predep_objects and $postdep_objects, however 7.1 and
   12041 	# earlier do not add the objects themselves.
   12042 	case `$CC -V 2>&1` in
   12043 	*"Version 7."*)
   12044   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12045   	  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'
   12046 	  ;;
   12047 	*)  # Version 8.0 or newer
   12048 	  tmp_idyn=
   12049 	  case $host_cpu in
   12050 	    ia64*) tmp_idyn=' -i_dynamic';;
   12051 	  esac
   12052   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12053 	  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'
   12054 	  ;;
   12055 	esac
   12056 	archive_cmds_need_lc_CXX=no
   12057 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12058 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12059 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12060 	;;
   12061       pgCC* | pgcpp*)
   12062         # Portland Group C++ compiler
   12063 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12064   	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'
   12065 
   12066 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12067 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12068 	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'
   12069         ;;
   12070       cxx*)
   12071 	# Compaq C++
   12072 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12073 	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'
   12074 
   12075 	runpath_var=LD_RUN_PATH
   12076 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12077 	hardcode_libdir_separator_CXX=:
   12078 
   12079 	# Commands to make compiler produce verbose output that lists
   12080 	# what "hidden" libraries, object files and flags are used when
   12081 	# linking a shared library.
   12082 	#
   12083 	# There doesn't appear to be a way to prevent this compiler from
   12084 	# explicitly linking system object files so we need to strip them
   12085 	# from the output so that they don't get included in the library
   12086 	# dependencies.
   12087 	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'
   12088 	;;
   12089       *)
   12090 	case `$CC -V 2>&1 | sed 5q` in
   12091 	*Sun\ C*)
   12092 	  # Sun C++ 5.9
   12093 	  no_undefined_flag_CXX=' -zdefs'
   12094 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12095 	  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'
   12096 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12097 	  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'
   12098 
   12099 	  # Not sure whether something based on
   12100 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12101 	  # would be better.
   12102 	  output_verbose_link_cmd='echo'
   12103 
   12104 	  # Archives containing C++ object files must be created using
   12105 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12106 	  # necessary to make sure instantiated templates are included
   12107 	  # in the archive.
   12108 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12109 	  ;;
   12110 	esac
   12111 	;;
   12112     esac
   12113     ;;
   12114   lynxos*)
   12115     # FIXME: insert proper C++ library support
   12116     ld_shlibs_CXX=no
   12117     ;;
   12118   m88k*)
   12119     # FIXME: insert proper C++ library support
   12120     ld_shlibs_CXX=no
   12121     ;;
   12122   mvs*)
   12123     case $cc_basename in
   12124       cxx*)
   12125 	# FIXME: insert proper C++ library support
   12126 	ld_shlibs_CXX=no
   12127 	;;
   12128       *)
   12129 	# FIXME: insert proper C++ library support
   12130 	ld_shlibs_CXX=no
   12131 	;;
   12132     esac
   12133     ;;
   12134   netbsd*)
   12135     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   12136       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12137       wlarc=
   12138       hardcode_libdir_flag_spec_CXX='-R$libdir'
   12139       hardcode_direct_CXX=yes
   12140       hardcode_shlibpath_var_CXX=no
   12141     fi
   12142     # Workaround some broken pre-1.5 toolchains
   12143     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12144     ;;
   12145   openbsd2*)
   12146     # C++ shared libraries are fairly broken
   12147     ld_shlibs_CXX=no
   12148     ;;
   12149   openbsd*)
   12150     if test -f /usr/libexec/ld.so; then
   12151       hardcode_direct_CXX=yes
   12152       hardcode_shlibpath_var_CXX=no
   12153       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12154       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12155       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12156 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12157 	export_dynamic_flag_spec_CXX='${wl}-E'
   12158 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12159       fi
   12160       output_verbose_link_cmd='echo'
   12161     else
   12162       ld_shlibs_CXX=no
   12163     fi
   12164     ;;
   12165   osf3*)
   12166     case $cc_basename in
   12167       KCC*)
   12168 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12169 
   12170 	# KCC will only create a shared library if the output file
   12171 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12172 	# to its proper name (with version) after linking.
   12173 	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'
   12174 
   12175 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12176 	hardcode_libdir_separator_CXX=:
   12177 
   12178 	# Archives containing C++ object files must be created using
   12179 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12180 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12181 
   12182 	;;
   12183       RCC*)
   12184 	# Rational C++ 2.4.1
   12185 	# FIXME: insert proper C++ library support
   12186 	ld_shlibs_CXX=no
   12187 	;;
   12188       cxx*)
   12189 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12190 	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'
   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 	#
   12199 	# There doesn't appear to be a way to prevent this compiler from
   12200 	# explicitly linking system object files so we need to strip them
   12201 	# from the output so that they don't get included in the library
   12202 	# dependencies.
   12203 	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'
   12204 	;;
   12205       *)
   12206 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12207 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12208 	  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'
   12209 
   12210 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12211 	  hardcode_libdir_separator_CXX=:
   12212 
   12213 	  # Commands to make compiler produce verbose output that lists
   12214 	  # what "hidden" libraries, object files and flags are used when
   12215 	  # linking a shared library.
   12216 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
   12217 
   12218 	else
   12219 	  # FIXME: insert proper C++ library support
   12220 	  ld_shlibs_CXX=no
   12221 	fi
   12222 	;;
   12223     esac
   12224     ;;
   12225   osf4* | osf5*)
   12226     case $cc_basename in
   12227       KCC*)
   12228 	# Kuck and Associates, Inc. (KAI) C++ Compiler
   12229 
   12230 	# KCC will only create a shared library if the output file
   12231 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
   12232 	# to its proper name (with version) after linking.
   12233 	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'
   12234 
   12235 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12236 	hardcode_libdir_separator_CXX=:
   12237 
   12238 	# Archives containing C++ object files must be created using
   12239 	# the KAI C++ compiler.
   12240 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
   12241 	;;
   12242       RCC*)
   12243 	# Rational C++ 2.4.1
   12244 	# FIXME: insert proper C++ library support
   12245 	ld_shlibs_CXX=no
   12246 	;;
   12247       cxx*)
   12248 	allow_undefined_flag_CXX=' -expect_unresolved \*'
   12249 	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'
   12250 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12251 	  echo "-hidden">> $lib.exp~
   12252 	  $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~
   12253 	  $rm $lib.exp'
   12254 
   12255 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12256 	hardcode_libdir_separator_CXX=:
   12257 
   12258 	# Commands to make compiler produce verbose output that lists
   12259 	# what "hidden" libraries, object files and flags are used when
   12260 	# linking a shared library.
   12261 	#
   12262 	# There doesn't appear to be a way to prevent this compiler from
   12263 	# explicitly linking system object files so we need to strip them
   12264 	# from the output so that they don't get included in the library
   12265 	# dependencies.
   12266 	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'
   12267 	;;
   12268       *)
   12269 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12270 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12271 	 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'
   12272 
   12273 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12274 	  hardcode_libdir_separator_CXX=:
   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 
   12281 	else
   12282 	  # FIXME: insert proper C++ library support
   12283 	  ld_shlibs_CXX=no
   12284 	fi
   12285 	;;
   12286     esac
   12287     ;;
   12288   psos*)
   12289     # FIXME: insert proper C++ library support
   12290     ld_shlibs_CXX=no
   12291     ;;
   12292   sunos4*)
   12293     case $cc_basename in
   12294       CC*)
   12295 	# Sun C++ 4.x
   12296 	# FIXME: insert proper C++ library support
   12297 	ld_shlibs_CXX=no
   12298 	;;
   12299       lcc*)
   12300 	# Lucid
   12301 	# FIXME: insert proper C++ library support
   12302 	ld_shlibs_CXX=no
   12303 	;;
   12304       *)
   12305 	# FIXME: insert proper C++ library support
   12306 	ld_shlibs_CXX=no
   12307 	;;
   12308     esac
   12309     ;;
   12310   solaris*)
   12311     case $cc_basename in
   12312       CC*)
   12313 	# Sun C++ 4.2, 5.x and Centerline C++
   12314         archive_cmds_need_lc_CXX=yes
   12315 	no_undefined_flag_CXX=' -zdefs'
   12316 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12317 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12318 	$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'
   12319 
   12320 	hardcode_libdir_flag_spec_CXX='-R$libdir'
   12321 	hardcode_shlibpath_var_CXX=no
   12322 	case $host_os in
   12323 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12324 	  *)
   12325 	    # The compiler driver will combine and reorder linker options,
   12326 	    # but understands `-z linker_flag'.
   12327 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
   12328 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   12329 	    ;;
   12330 	esac
   12331 	link_all_deplibs_CXX=yes
   12332 
   12333 	output_verbose_link_cmd='echo'
   12334 
   12335 	# Archives containing C++ object files must be created using
   12336 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12337 	# necessary to make sure instantiated templates are included
   12338 	# in the archive.
   12339 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12340 	;;
   12341       gcx*)
   12342 	# Green Hills C++ Compiler
   12343 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12344 
   12345 	# The C++ compiler must be used to create the archive.
   12346 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   12347 	;;
   12348       *)
   12349 	# GNU C++ compiler with Solaris linker
   12350 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12351 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   12352 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
   12353 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12354 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12355 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12356 
   12357 	    # Commands to make compiler produce verbose output that lists
   12358 	    # what "hidden" libraries, object files and flags are used when
   12359 	    # linking a shared library.
   12360 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12361 	  else
   12362 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
   12363 	    # platform.
   12364 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   12365 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   12366 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
   12367 
   12368 	    # Commands to make compiler produce verbose output that lists
   12369 	    # what "hidden" libraries, object files and flags are used when
   12370 	    # linking a shared library.
   12371 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
   12372 	  fi
   12373 
   12374 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   12375 	  case $host_os in
   12376 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
   12377 	  *)
   12378 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   12379 	    ;;
   12380 	  esac
   12381 	fi
   12382 	;;
   12383     esac
   12384     ;;
   12385   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   12386     no_undefined_flag_CXX='${wl}-z,text'
   12387     archive_cmds_need_lc_CXX=no
   12388     hardcode_shlibpath_var_CXX=no
   12389     runpath_var='LD_RUN_PATH'
   12390 
   12391     case $cc_basename in
   12392       CC*)
   12393 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12394 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12395 	;;
   12396       *)
   12397 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12398 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   12399 	;;
   12400     esac
   12401     ;;
   12402   sysv5* | sco3.2v5* | sco5v6*)
   12403     # Note: We can NOT use -z defs as we might desire, because we do not
   12404     # link with -lc, and that would cause any symbols used from libc to
   12405     # always be unresolved, which means just about no library would
   12406     # ever link correctly.  If we're not using GNU ld we use -z text
   12407     # though, which does catch some bad symbols but isn't as heavy-handed
   12408     # as -z defs.
   12409     # For security reasons, it is highly recommended that you always
   12410     # use absolute paths for naming shared libraries, and exclude the
   12411     # DT_RUNPATH tag from executables and libraries.  But doing so
   12412     # requires that you compile everything twice, which is a pain.
   12413     # So that behaviour is only enabled if SCOABSPATH is set to a
   12414     # non-empty value in the environment.  Most likely only useful for
   12415     # creating official distributions of packages.
   12416     # This is a hack until libtool officially supports absolute path
   12417     # names for shared libraries.
   12418     no_undefined_flag_CXX='${wl}-z,text'
   12419     allow_undefined_flag_CXX='${wl}-z,nodefs'
   12420     archive_cmds_need_lc_CXX=no
   12421     hardcode_shlibpath_var_CXX=no
   12422     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   12423     hardcode_libdir_separator_CXX=':'
   12424     link_all_deplibs_CXX=yes
   12425     export_dynamic_flag_spec_CXX='${wl}-Bexport'
   12426     runpath_var='LD_RUN_PATH'
   12427 
   12428     case $cc_basename in
   12429       CC*)
   12430 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12431 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12432 	;;
   12433       *)
   12434 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12435 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   12436 	;;
   12437     esac
   12438     ;;
   12439   tandem*)
   12440     case $cc_basename in
   12441       NCC*)
   12442 	# NonStop-UX NCC 3.20
   12443 	# FIXME: insert proper C++ library support
   12444 	ld_shlibs_CXX=no
   12445 	;;
   12446       *)
   12447 	# FIXME: insert proper C++ library support
   12448 	ld_shlibs_CXX=no
   12449 	;;
   12450     esac
   12451     ;;
   12452   vxworks*)
   12453     # FIXME: insert proper C++ library support
   12454     ld_shlibs_CXX=no
   12455     ;;
   12456   *)
   12457     # FIXME: insert proper C++ library support
   12458     ld_shlibs_CXX=no
   12459     ;;
   12460 esac
   12461 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   12462 $as_echo "$ld_shlibs_CXX" >&6; }
   12463 test "$ld_shlibs_CXX" = no && can_build_shared=no
   12464 
   12465 GCC_CXX="$GXX"
   12466 LD_CXX="$LD"
   12467 
   12468 cat > conftest.$ac_ext <<EOF
   12469 class Foo
   12470 {
   12471 public:
   12472   Foo (void) { a = 0; }
   12473 private:
   12474   int a;
   12475 };
   12476 EOF
   12477 
   12478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12479   (eval $ac_compile) 2>&5
   12480   ac_status=$?
   12481   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12482   (exit $ac_status); }; then
   12483   # Parse the compiler output and extract the necessary
   12484   # objects, libraries and library flags.
   12485 
   12486   # Sentinel used to keep track of whether or not we are before
   12487   # the conftest object file.
   12488   pre_test_object_deps_done=no
   12489 
   12490   # The `*' in the case matches for architectures that use `case' in
   12491   # $output_verbose_cmd can trigger glob expansion during the loop
   12492   # eval without this substitution.
   12493   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
   12494 
   12495   for p in `eval $output_verbose_link_cmd`; do
   12496     case $p in
   12497 
   12498     -L* | -R* | -l*)
   12499        # Some compilers place space between "-{L,R}" and the path.
   12500        # Remove the space.
   12501        if test $p = "-L" \
   12502 	  || test $p = "-R"; then
   12503 	 prev=$p
   12504 	 continue
   12505        else
   12506 	 prev=
   12507        fi
   12508 
   12509        if test "$pre_test_object_deps_done" = no; then
   12510 	 case $p in
   12511 	 -L* | -R*)
   12512 	   # Internal compiler library paths should come after those
   12513 	   # provided the user.  The postdeps already come after the
   12514 	   # user supplied libs so there is no need to process them.
   12515 	   if test -z "$compiler_lib_search_path_CXX"; then
   12516 	     compiler_lib_search_path_CXX="${prev}${p}"
   12517 	   else
   12518 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   12519 	   fi
   12520 	   ;;
   12521 	 # The "-l" case would never come before the object being
   12522 	 # linked, so don't bother handling this case.
   12523 	 esac
   12524        else
   12525 	 if test -z "$postdeps_CXX"; then
   12526 	   postdeps_CXX="${prev}${p}"
   12527 	 else
   12528 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   12529 	 fi
   12530        fi
   12531        ;;
   12532 
   12533     *.$objext)
   12534        # This assumes that the test object file only shows up
   12535        # once in the compiler output.
   12536        if test "$p" = "conftest.$objext"; then
   12537 	 pre_test_object_deps_done=yes
   12538 	 continue
   12539        fi
   12540 
   12541        if test "$pre_test_object_deps_done" = no; then
   12542 	 if test -z "$predep_objects_CXX"; then
   12543 	   predep_objects_CXX="$p"
   12544 	 else
   12545 	   predep_objects_CXX="$predep_objects_CXX $p"
   12546 	 fi
   12547        else
   12548 	 if test -z "$postdep_objects_CXX"; then
   12549 	   postdep_objects_CXX="$p"
   12550 	 else
   12551 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   12552 	 fi
   12553        fi
   12554        ;;
   12555 
   12556     *) ;; # Ignore the rest.
   12557 
   12558     esac
   12559   done
   12560 
   12561   # Clean up.
   12562   rm -f a.out a.exe
   12563 else
   12564   echo "libtool.m4: error: problem compiling CXX test program"
   12565 fi
   12566 
   12567 $rm -f confest.$objext
   12568 
   12569 compiler_lib_search_dirs_CXX=
   12570 if test -n "$compiler_lib_search_path_CXX"; then
   12571   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   12572 fi
   12573 
   12574 # PORTME: override above test on systems where it is broken
   12575 case $host_os in
   12576 interix[3-9]*)
   12577   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   12578   # hack all around it, let's just trust "g++" to DTRT.
   12579   predep_objects_CXX=
   12580   postdep_objects_CXX=
   12581   postdeps_CXX=
   12582   ;;
   12583 
   12584 linux*)
   12585   case `$CC -V 2>&1 | sed 5q` in
   12586   *Sun\ C*)
   12587     # Sun C++ 5.9
   12588     #
   12589     # The more standards-conforming stlport4 library is
   12590     # incompatible with the Cstd library. Avoid specifying
   12591     # it if it's in CXXFLAGS. Ignore libCrun as
   12592     # -library=stlport4 depends on it.
   12593     case " $CXX $CXXFLAGS " in
   12594     *" -library=stlport4 "*)
   12595       solaris_use_stlport4=yes
   12596       ;;
   12597     esac
   12598     if test "$solaris_use_stlport4" != yes; then
   12599       postdeps_CXX='-library=Cstd -library=Crun'
   12600     fi
   12601     ;;
   12602   esac
   12603   ;;
   12604 
   12605 solaris*)
   12606   case $cc_basename in
   12607   CC*)
   12608     # The more standards-conforming stlport4 library is
   12609     # incompatible with the Cstd library. Avoid specifying
   12610     # it if it's in CXXFLAGS. Ignore libCrun as
   12611     # -library=stlport4 depends on it.
   12612     case " $CXX $CXXFLAGS " in
   12613     *" -library=stlport4 "*)
   12614       solaris_use_stlport4=yes
   12615       ;;
   12616     esac
   12617 
   12618     # Adding this requires a known-good setup of shared libraries for
   12619     # Sun compiler versions before 5.6, else PIC objects from an old
   12620     # archive will be linked into the output, leading to subtle bugs.
   12621     if test "$solaris_use_stlport4" != yes; then
   12622       postdeps_CXX='-library=Cstd -library=Crun'
   12623     fi
   12624     ;;
   12625   esac
   12626   ;;
   12627 esac
   12628 
   12629 case " $postdeps_CXX " in
   12630 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   12631 esac
   12632 
   12633 lt_prog_compiler_wl_CXX=
   12634 lt_prog_compiler_pic_CXX=
   12635 lt_prog_compiler_static_CXX=
   12636 
   12637 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   12638 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   12639 
   12640   # C++ specific cases for pic, static, wl, etc.
   12641   if test "$GXX" = yes; then
   12642     lt_prog_compiler_wl_CXX='-Wl,'
   12643     lt_prog_compiler_static_CXX='-static'
   12644 
   12645     case $host_os in
   12646     aix*)
   12647       # All AIX code is PIC.
   12648       if test "$host_cpu" = ia64; then
   12649 	# AIX 5 now supports IA64 processor
   12650 	lt_prog_compiler_static_CXX='-Bstatic'
   12651       fi
   12652       ;;
   12653     amigaos*)
   12654       # FIXME: we need at least 68020 code to build shared libraries, but
   12655       # adding the `-m68020' flag to GCC prevents building anything better,
   12656       # like `-m68040'.
   12657       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   12658       ;;
   12659     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   12660       # PIC is the default for these OSes.
   12661       ;;
   12662     mingw* | cygwin* | os2* | pw32*)
   12663       # This hack is so that the source file can tell whether it is being
   12664       # built for inclusion in a dll (and should export symbols for example).
   12665       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   12666       # (--disable-auto-import) libraries
   12667       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   12668       ;;
   12669     darwin* | rhapsody*)
   12670       # PIC is the default on this platform
   12671       # Common symbols not allowed in MH_DYLIB files
   12672       lt_prog_compiler_pic_CXX='-fno-common'
   12673       ;;
   12674     *djgpp*)
   12675       # DJGPP does not support shared libraries at all
   12676       lt_prog_compiler_pic_CXX=
   12677       ;;
   12678     interix[3-9]*)
   12679       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   12680       # Instead, we relocate shared libraries at runtime.
   12681       ;;
   12682     sysv4*MP*)
   12683       if test -d /usr/nec; then
   12684 	lt_prog_compiler_pic_CXX=-Kconform_pic
   12685       fi
   12686       ;;
   12687     hpux*)
   12688       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   12689       # not for PA HP-UX.
   12690       case $host_cpu in
   12691       hppa*64*|ia64*)
   12692 	;;
   12693       *)
   12694 	lt_prog_compiler_pic_CXX='-fPIC'
   12695 	;;
   12696       esac
   12697       ;;
   12698     *)
   12699       lt_prog_compiler_pic_CXX='-fPIC'
   12700       ;;
   12701     esac
   12702   else
   12703     case $host_os in
   12704       aix[4-9]*)
   12705 	# All AIX code is PIC.
   12706 	if test "$host_cpu" = ia64; then
   12707 	  # AIX 5 now supports IA64 processor
   12708 	  lt_prog_compiler_static_CXX='-Bstatic'
   12709 	else
   12710 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   12711 	fi
   12712 	;;
   12713       chorus*)
   12714 	case $cc_basename in
   12715 	cxch68*)
   12716 	  # Green Hills C++ Compiler
   12717 	  # _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"
   12718 	  ;;
   12719 	esac
   12720 	;;
   12721        darwin*)
   12722          # PIC is the default on this platform
   12723          # Common symbols not allowed in MH_DYLIB files
   12724          case $cc_basename in
   12725            xlc*)
   12726            lt_prog_compiler_pic_CXX='-qnocommon'
   12727            lt_prog_compiler_wl_CXX='-Wl,'
   12728            ;;
   12729          esac
   12730        ;;
   12731       dgux*)
   12732 	case $cc_basename in
   12733 	  ec++*)
   12734 	    lt_prog_compiler_pic_CXX='-KPIC'
   12735 	    ;;
   12736 	  ghcx*)
   12737 	    # Green Hills C++ Compiler
   12738 	    lt_prog_compiler_pic_CXX='-pic'
   12739 	    ;;
   12740 	  *)
   12741 	    ;;
   12742 	esac
   12743 	;;
   12744       freebsd* | dragonfly*)
   12745 	# FreeBSD uses GNU C++
   12746 	;;
   12747       hpux9* | hpux10* | hpux11*)
   12748 	case $cc_basename in
   12749 	  CC*)
   12750 	    lt_prog_compiler_wl_CXX='-Wl,'
   12751 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12752 	    if test "$host_cpu" != ia64; then
   12753 	      lt_prog_compiler_pic_CXX='+Z'
   12754 	    fi
   12755 	    ;;
   12756 	  aCC*)
   12757 	    lt_prog_compiler_wl_CXX='-Wl,'
   12758 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   12759 	    case $host_cpu in
   12760 	    hppa*64*|ia64*)
   12761 	      # +Z the default
   12762 	      ;;
   12763 	    *)
   12764 	      lt_prog_compiler_pic_CXX='+Z'
   12765 	      ;;
   12766 	    esac
   12767 	    ;;
   12768 	  *)
   12769 	    ;;
   12770 	esac
   12771 	;;
   12772       interix*)
   12773 	# This is c89, which is MS Visual C++ (no shared libs)
   12774 	# Anyone wants to do a port?
   12775 	;;
   12776       irix5* | irix6* | nonstopux*)
   12777 	case $cc_basename in
   12778 	  CC*)
   12779 	    lt_prog_compiler_wl_CXX='-Wl,'
   12780 	    lt_prog_compiler_static_CXX='-non_shared'
   12781 	    # CC pic flag -KPIC is the default.
   12782 	    ;;
   12783 	  *)
   12784 	    ;;
   12785 	esac
   12786 	;;
   12787       linux* | k*bsd*-gnu)
   12788 	case $cc_basename in
   12789 	  KCC*)
   12790 	    # KAI C++ Compiler
   12791 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12792 	    lt_prog_compiler_pic_CXX='-fPIC'
   12793 	    ;;
   12794 	  icpc* | ecpc*)
   12795 	    # Intel C++
   12796 	    lt_prog_compiler_wl_CXX='-Wl,'
   12797 	    lt_prog_compiler_pic_CXX='-KPIC'
   12798 	    lt_prog_compiler_static_CXX='-static'
   12799 	    ;;
   12800 	  pgCC* | pgcpp*)
   12801 	    # Portland Group C++ compiler.
   12802 	    lt_prog_compiler_wl_CXX='-Wl,'
   12803 	    lt_prog_compiler_pic_CXX='-fpic'
   12804 	    lt_prog_compiler_static_CXX='-Bstatic'
   12805 	    ;;
   12806 	  cxx*)
   12807 	    # Compaq C++
   12808 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12809 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12810 	    lt_prog_compiler_pic_CXX=
   12811 	    lt_prog_compiler_static_CXX='-non_shared'
   12812 	    ;;
   12813 	  *)
   12814 	    case `$CC -V 2>&1 | sed 5q` in
   12815 	    *Sun\ C*)
   12816 	      # Sun C++ 5.9
   12817 	      lt_prog_compiler_pic_CXX='-KPIC'
   12818 	      lt_prog_compiler_static_CXX='-Bstatic'
   12819 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   12820 	      ;;
   12821 	    esac
   12822 	    ;;
   12823 	esac
   12824 	;;
   12825       lynxos*)
   12826 	;;
   12827       m88k*)
   12828 	;;
   12829       mvs*)
   12830 	case $cc_basename in
   12831 	  cxx*)
   12832 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   12833 	    ;;
   12834 	  *)
   12835 	    ;;
   12836 	esac
   12837 	;;
   12838       netbsd*)
   12839 	;;
   12840       osf3* | osf4* | osf5*)
   12841 	case $cc_basename in
   12842 	  KCC*)
   12843 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   12844 	    ;;
   12845 	  RCC*)
   12846 	    # Rational C++ 2.4.1
   12847 	    lt_prog_compiler_pic_CXX='-pic'
   12848 	    ;;
   12849 	  cxx*)
   12850 	    # Digital/Compaq C++
   12851 	    lt_prog_compiler_wl_CXX='-Wl,'
   12852 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   12853 	    # Linux and Compaq Tru64 Unix objects are PIC.
   12854 	    lt_prog_compiler_pic_CXX=
   12855 	    lt_prog_compiler_static_CXX='-non_shared'
   12856 	    ;;
   12857 	  *)
   12858 	    ;;
   12859 	esac
   12860 	;;
   12861       psos*)
   12862 	;;
   12863       solaris*)
   12864 	case $cc_basename in
   12865 	  CC*)
   12866 	    # Sun C++ 4.2, 5.x and Centerline C++
   12867 	    lt_prog_compiler_pic_CXX='-KPIC'
   12868 	    lt_prog_compiler_static_CXX='-Bstatic'
   12869 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   12870 	    ;;
   12871 	  gcx*)
   12872 	    # Green Hills C++ Compiler
   12873 	    lt_prog_compiler_pic_CXX='-PIC'
   12874 	    ;;
   12875 	  *)
   12876 	    ;;
   12877 	esac
   12878 	;;
   12879       sunos4*)
   12880 	case $cc_basename in
   12881 	  CC*)
   12882 	    # Sun C++ 4.x
   12883 	    lt_prog_compiler_pic_CXX='-pic'
   12884 	    lt_prog_compiler_static_CXX='-Bstatic'
   12885 	    ;;
   12886 	  lcc*)
   12887 	    # Lucid
   12888 	    lt_prog_compiler_pic_CXX='-pic'
   12889 	    ;;
   12890 	  *)
   12891 	    ;;
   12892 	esac
   12893 	;;
   12894       tandem*)
   12895 	case $cc_basename in
   12896 	  NCC*)
   12897 	    # NonStop-UX NCC 3.20
   12898 	    lt_prog_compiler_pic_CXX='-KPIC'
   12899 	    ;;
   12900 	  *)
   12901 	    ;;
   12902 	esac
   12903 	;;
   12904       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   12905 	case $cc_basename in
   12906 	  CC*)
   12907 	    lt_prog_compiler_wl_CXX='-Wl,'
   12908 	    lt_prog_compiler_pic_CXX='-KPIC'
   12909 	    lt_prog_compiler_static_CXX='-Bstatic'
   12910 	    ;;
   12911 	esac
   12912 	;;
   12913       vxworks*)
   12914 	;;
   12915       *)
   12916 	lt_prog_compiler_can_build_shared_CXX=no
   12917 	;;
   12918     esac
   12919   fi
   12920 
   12921 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
   12922 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   12923 
   12924 #
   12925 # Check to make sure the PIC flag actually works.
   12926 #
   12927 if test -n "$lt_prog_compiler_pic_CXX"; then
   12928 
   12929 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   12930 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   12931 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
   12932   $as_echo_n "(cached) " >&6
   12933 else
   12934   lt_cv_prog_compiler_pic_works_CXX=no
   12935   ac_outfile=conftest.$ac_objext
   12936    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   12937    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   12938    # Insert the option either (1) after the last *FLAGS variable, or
   12939    # (2) before a word containing "conftest.", or (3) at the end.
   12940    # Note that $ac_compile itself does not contain backslashes and begins
   12941    # with a dollar sign (not a hyphen), so the echo should work correctly.
   12942    # The option is referenced via a variable to avoid confusing sed.
   12943    lt_compile=`echo "$ac_compile" | $SED \
   12944    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   12945    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   12946    -e 's:$: $lt_compiler_flag:'`
   12947    (eval echo "\"\$as_me:12947: $lt_compile\"" >&5)
   12948    (eval "$lt_compile" 2>conftest.err)
   12949    ac_status=$?
   12950    cat conftest.err >&5
   12951    echo "$as_me:12951: \$? = $ac_status" >&5
   12952    if (exit $ac_status) && test -s "$ac_outfile"; then
   12953      # The compiler can only warn and ignore the option if not recognized
   12954      # So say no if there are warnings other than the usual output.
   12955      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   12956      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   12957      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   12958        lt_cv_prog_compiler_pic_works_CXX=yes
   12959      fi
   12960    fi
   12961    $rm conftest*
   12962 
   12963 fi
   12964 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   12965 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   12966 
   12967 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   12968     case $lt_prog_compiler_pic_CXX in
   12969      "" | " "*) ;;
   12970      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   12971      esac
   12972 else
   12973     lt_prog_compiler_pic_CXX=
   12974      lt_prog_compiler_can_build_shared_CXX=no
   12975 fi
   12976 
   12977 fi
   12978 case $host_os in
   12979   # For platforms which do not support PIC, -DPIC is meaningless:
   12980   *djgpp*)
   12981     lt_prog_compiler_pic_CXX=
   12982     ;;
   12983   *)
   12984     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   12985     ;;
   12986 esac
   12987 
   12988 #
   12989 # Check to make sure the static flag actually works.
   12990 #
   12991 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   12992 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   12993 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   12994 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
   12995   $as_echo_n "(cached) " >&6
   12996 else
   12997   lt_cv_prog_compiler_static_works_CXX=no
   12998    save_LDFLAGS="$LDFLAGS"
   12999    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13000    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13001    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13002      # The linker can only warn and ignore the option if not recognized
   13003      # So say no if there are warnings
   13004      if test -s conftest.err; then
   13005        # Append any errors to the config.log.
   13006        cat conftest.err 1>&5
   13007        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   13008        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13009        if diff conftest.exp conftest.er2 >/dev/null; then
   13010          lt_cv_prog_compiler_static_works_CXX=yes
   13011        fi
   13012      else
   13013        lt_cv_prog_compiler_static_works_CXX=yes
   13014      fi
   13015    fi
   13016    $rm -r conftest*
   13017    LDFLAGS="$save_LDFLAGS"
   13018 
   13019 fi
   13020 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13021 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13022 
   13023 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13024     :
   13025 else
   13026     lt_prog_compiler_static_CXX=
   13027 fi
   13028 
   13029 
   13030 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   13031 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13032 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
   13033   $as_echo_n "(cached) " >&6
   13034 else
   13035   lt_cv_prog_compiler_c_o_CXX=no
   13036    $rm -r conftest 2>/dev/null
   13037    mkdir conftest
   13038    cd conftest
   13039    mkdir out
   13040    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13041 
   13042    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13043    # Insert the option either (1) after the last *FLAGS variable, or
   13044    # (2) before a word containing "conftest.", or (3) at the end.
   13045    # Note that $ac_compile itself does not contain backslashes and begins
   13046    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13047    lt_compile=`echo "$ac_compile" | $SED \
   13048    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13049    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13050    -e 's:$: $lt_compiler_flag:'`
   13051    (eval echo "\"\$as_me:13051: $lt_compile\"" >&5)
   13052    (eval "$lt_compile" 2>out/conftest.err)
   13053    ac_status=$?
   13054    cat out/conftest.err >&5
   13055    echo "$as_me:13055: \$? = $ac_status" >&5
   13056    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13057    then
   13058      # The compiler can only warn and ignore the option if not recognized
   13059      # So say no if there are warnings
   13060      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   13061      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13062      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13063        lt_cv_prog_compiler_c_o_CXX=yes
   13064      fi
   13065    fi
   13066    chmod u+w . 2>&5
   13067    $rm conftest*
   13068    # SGI C++ compiler will create directory out/ii_files/ for
   13069    # template instantiation
   13070    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   13071    $rm out/* && rmdir out
   13072    cd ..
   13073    rmdir conftest
   13074    $rm conftest*
   13075 
   13076 fi
   13077 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13078 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13079 
   13080 
   13081 hard_links="nottested"
   13082 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13083   # do not overwrite the value of need_locks provided by the user
   13084   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   13085 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13086   hard_links=yes
   13087   $rm conftest*
   13088   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13089   touch conftest.a
   13090   ln conftest.a conftest.b 2>&5 || hard_links=no
   13091   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13092   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   13093 $as_echo "$hard_links" >&6; }
   13094   if test "$hard_links" = no; then
   13095     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13096 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13097     need_locks=warn
   13098   fi
   13099 else
   13100   need_locks=no
   13101 fi
   13102 
   13103 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13104 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13105 
   13106   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13107   case $host_os in
   13108   aix[4-9]*)
   13109     # If we're using GNU nm, then we don't want the "-C" option.
   13110     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13111     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   13112       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'
   13113     else
   13114       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'
   13115     fi
   13116     ;;
   13117   pw32*)
   13118     export_symbols_cmds_CXX="$ltdll_cmds"
   13119   ;;
   13120   cygwin* | mingw*)
   13121     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'
   13122   ;;
   13123   *)
   13124     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13125   ;;
   13126   esac
   13127   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13128 
   13129 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
   13130 $as_echo "$ld_shlibs_CXX" >&6; }
   13131 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13132 
   13133 #
   13134 # Do we need to explicitly link libc?
   13135 #
   13136 case "x$archive_cmds_need_lc_CXX" in
   13137 x|xyes)
   13138   # Assume -lc should be added
   13139   archive_cmds_need_lc_CXX=yes
   13140 
   13141   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13142     case $archive_cmds_CXX in
   13143     *'~'*)
   13144       # FIXME: we may have to deal with multi-command sequences.
   13145       ;;
   13146     '$CC '*)
   13147       # Test whether the compiler implicitly links with -lc since on some
   13148       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13149       # to ld, don't add -lc before -lgcc.
   13150       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   13151 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13152       $rm conftest*
   13153       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13154 
   13155       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13156   (eval $ac_compile) 2>&5
   13157   ac_status=$?
   13158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13159   (exit $ac_status); } 2>conftest.err; then
   13160         soname=conftest
   13161         lib=conftest
   13162         libobjs=conftest.$ac_objext
   13163         deplibs=
   13164         wl=$lt_prog_compiler_wl_CXX
   13165 	pic_flag=$lt_prog_compiler_pic_CXX
   13166         compiler_flags=-v
   13167         linker_flags=-v
   13168         verstring=
   13169         output_objdir=.
   13170         libname=conftest
   13171         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   13172         allow_undefined_flag_CXX=
   13173         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   13174   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   13175   ac_status=$?
   13176   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13177   (exit $ac_status); }
   13178         then
   13179 	  archive_cmds_need_lc_CXX=no
   13180         else
   13181 	  archive_cmds_need_lc_CXX=yes
   13182         fi
   13183         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   13184       else
   13185         cat conftest.err 1>&5
   13186       fi
   13187       $rm conftest*
   13188       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
   13189 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
   13190       ;;
   13191     esac
   13192   fi
   13193   ;;
   13194 esac
   13195 
   13196 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   13197 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   13198 library_names_spec=
   13199 libname_spec='lib$name'
   13200 soname_spec=
   13201 shrext_cmds=".so"
   13202 postinstall_cmds=
   13203 postuninstall_cmds=
   13204 finish_cmds=
   13205 finish_eval=
   13206 shlibpath_var=
   13207 shlibpath_overrides_runpath=unknown
   13208 version_type=none
   13209 dynamic_linker="$host_os ld.so"
   13210 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   13211 
   13212 need_lib_prefix=unknown
   13213 hardcode_into_libs=no
   13214 
   13215 # when you set need_version to no, make sure it does not cause -set_version
   13216 # flags to be left without arguments
   13217 need_version=unknown
   13218 
   13219 case $host_os in
   13220 aix3*)
   13221   version_type=linux
   13222   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   13223   shlibpath_var=LIBPATH
   13224 
   13225   # AIX 3 has no versioning support, so we append a major version to the name.
   13226   soname_spec='${libname}${release}${shared_ext}$major'
   13227   ;;
   13228 
   13229 aix[4-9]*)
   13230   version_type=linux
   13231   need_lib_prefix=no
   13232   need_version=no
   13233   hardcode_into_libs=yes
   13234   if test "$host_cpu" = ia64; then
   13235     # AIX 5 supports IA64
   13236     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   13237     shlibpath_var=LD_LIBRARY_PATH
   13238   else
   13239     # With GCC up to 2.95.x, collect2 would create an import file
   13240     # for dependence libraries.  The import file would start with
   13241     # the line `#! .'.  This would cause the generated library to
   13242     # depend on `.', always an invalid library.  This was fixed in
   13243     # development snapshots of GCC prior to 3.0.
   13244     case $host_os in
   13245       aix4 | aix4.[01] | aix4.[01].*)
   13246       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   13247 	   echo ' yes '
   13248 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   13249 	:
   13250       else
   13251 	can_build_shared=no
   13252       fi
   13253       ;;
   13254     esac
   13255     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   13256     # soname into executable. Probably we can add versioning support to
   13257     # collect2, so additional links can be useful in future.
   13258     if test "$aix_use_runtimelinking" = yes; then
   13259       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   13260       # instead of lib<name>.a to let people know that these are not
   13261       # typical AIX shared libraries.
   13262       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13263     else
   13264       # We preserve .a as extension for shared libraries through AIX4.2
   13265       # and later when we are not doing run time linking.
   13266       library_names_spec='${libname}${release}.a $libname.a'
   13267       soname_spec='${libname}${release}${shared_ext}$major'
   13268     fi
   13269     shlibpath_var=LIBPATH
   13270   fi
   13271   ;;
   13272 
   13273 amigaos*)
   13274   library_names_spec='$libname.ixlibrary $libname.a'
   13275   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   13276   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'
   13277   ;;
   13278 
   13279 beos*)
   13280   library_names_spec='${libname}${shared_ext}'
   13281   dynamic_linker="$host_os ld.so"
   13282   shlibpath_var=LIBRARY_PATH
   13283   ;;
   13284 
   13285 bsdi[45]*)
   13286   version_type=linux
   13287   need_version=no
   13288   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13289   soname_spec='${libname}${release}${shared_ext}$major'
   13290   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   13291   shlibpath_var=LD_LIBRARY_PATH
   13292   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   13293   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   13294   # the default ld.so.conf also contains /usr/contrib/lib and
   13295   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   13296   # libtool to hard-code these into programs
   13297   ;;
   13298 
   13299 cygwin* | mingw* | pw32*)
   13300   version_type=windows
   13301   shrext_cmds=".dll"
   13302   need_version=no
   13303   need_lib_prefix=no
   13304 
   13305   case $GCC,$host_os in
   13306   yes,cygwin* | yes,mingw* | yes,pw32*)
   13307     library_names_spec='$libname.dll.a'
   13308     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   13309     postinstall_cmds='base_file=`basename \${file}`~
   13310       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   13311       dldir=$destdir/`dirname \$dlpath`~
   13312       test -d \$dldir || mkdir -p \$dldir~
   13313       $install_prog $dir/$dlname \$dldir/$dlname~
   13314       chmod a+x \$dldir/$dlname'
   13315     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   13316       dlpath=$dir/\$dldll~
   13317        $rm \$dlpath'
   13318     shlibpath_overrides_runpath=yes
   13319 
   13320     case $host_os in
   13321     cygwin*)
   13322       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   13323       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13324       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   13325       ;;
   13326     mingw*)
   13327       # MinGW DLLs use traditional 'lib' prefix
   13328       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13329       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   13330       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   13331         # It is most probably a Windows format PATH printed by
   13332         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   13333         # path with ; separators, and with drive letters. We can handle the
   13334         # drive letters (cygwin fileutils understands them), so leave them,
   13335         # especially as we might pass files found there to a mingw objdump,
   13336         # which wouldn't understand a cygwinified path. Ahh.
   13337         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   13338       else
   13339         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   13340       fi
   13341       ;;
   13342     pw32*)
   13343       # pw32 DLLs use 'pw' prefix rather than 'lib'
   13344       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   13345       ;;
   13346     esac
   13347     ;;
   13348 
   13349   *)
   13350     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   13351     ;;
   13352   esac
   13353   dynamic_linker='Win32 ld.exe'
   13354   # FIXME: first we should search . and the directory the executable is in
   13355   shlibpath_var=PATH
   13356   ;;
   13357 
   13358 darwin* | rhapsody*)
   13359   dynamic_linker="$host_os dyld"
   13360   version_type=darwin
   13361   need_lib_prefix=no
   13362   need_version=no
   13363   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   13364   soname_spec='${libname}${release}${major}$shared_ext'
   13365   shlibpath_overrides_runpath=yes
   13366   shlibpath_var=DYLD_LIBRARY_PATH
   13367   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   13368 
   13369   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   13370   ;;
   13371 
   13372 dgux*)
   13373   version_type=linux
   13374   need_lib_prefix=no
   13375   need_version=no
   13376   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   13377   soname_spec='${libname}${release}${shared_ext}$major'
   13378   shlibpath_var=LD_LIBRARY_PATH
   13379   ;;
   13380 
   13381 freebsd1*)
   13382   dynamic_linker=no
   13383   ;;
   13384 
   13385 freebsd* | dragonfly*)
   13386   # DragonFly does not have aout.  When/if they implement a new
   13387   # versioning mechanism, adjust this.
   13388   if test -x /usr/bin/objformat; then
   13389     objformat=`/usr/bin/objformat`
   13390   else
   13391     case $host_os in
   13392     freebsd[123]*) objformat=aout ;;
   13393     *) objformat=elf ;;
   13394     esac
   13395   fi
   13396   version_type=freebsd-$objformat
   13397   case $version_type in
   13398     freebsd-elf*)
   13399       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13400       need_version=no
   13401       need_lib_prefix=no
   13402       ;;
   13403     freebsd-*)
   13404       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   13405       need_version=yes
   13406       ;;
   13407   esac
   13408   shlibpath_var=LD_LIBRARY_PATH
   13409   case $host_os in
   13410   freebsd2*)
   13411     shlibpath_overrides_runpath=yes
   13412     ;;
   13413   freebsd3.[01]* | freebsdelf3.[01]*)
   13414     shlibpath_overrides_runpath=yes
   13415     hardcode_into_libs=yes
   13416     ;;
   13417   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   13418   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   13419     shlibpath_overrides_runpath=no
   13420     hardcode_into_libs=yes
   13421     ;;
   13422   *) # from 4.6 on, and DragonFly
   13423     shlibpath_overrides_runpath=yes
   13424     hardcode_into_libs=yes
   13425     ;;
   13426   esac
   13427   ;;
   13428 
   13429 gnu*)
   13430   version_type=linux
   13431   need_lib_prefix=no
   13432   need_version=no
   13433   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   13434   soname_spec='${libname}${release}${shared_ext}$major'
   13435   shlibpath_var=LD_LIBRARY_PATH
   13436   hardcode_into_libs=yes
   13437   ;;
   13438 
   13439 hpux9* | hpux10* | hpux11*)
   13440   # Give a soname corresponding to the major version so that dld.sl refuses to
   13441   # link against other versions.
   13442   version_type=sunos
   13443   need_lib_prefix=no
   13444   need_version=no
   13445   case $host_cpu in
   13446   ia64*)
   13447     shrext_cmds='.so'
   13448     hardcode_into_libs=yes
   13449     dynamic_linker="$host_os dld.so"
   13450     shlibpath_var=LD_LIBRARY_PATH
   13451     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13452     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13453     soname_spec='${libname}${release}${shared_ext}$major'
   13454     if test "X$HPUX_IA64_MODE" = X32; then
   13455       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   13456     else
   13457       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   13458     fi
   13459     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13460     ;;
   13461    hppa*64*)
   13462      shrext_cmds='.sl'
   13463      hardcode_into_libs=yes
   13464      dynamic_linker="$host_os dld.sl"
   13465      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   13466      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   13467      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13468      soname_spec='${libname}${release}${shared_ext}$major'
   13469      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   13470      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   13471      ;;
   13472    *)
   13473     shrext_cmds='.sl'
   13474     dynamic_linker="$host_os dld.sl"
   13475     shlibpath_var=SHLIB_PATH
   13476     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   13477     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13478     soname_spec='${libname}${release}${shared_ext}$major'
   13479     ;;
   13480   esac
   13481   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   13482   postinstall_cmds='chmod 555 $lib'
   13483   ;;
   13484 
   13485 interix[3-9]*)
   13486   version_type=linux
   13487   need_lib_prefix=no
   13488   need_version=no
   13489   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13490   soname_spec='${libname}${release}${shared_ext}$major'
   13491   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   13492   shlibpath_var=LD_LIBRARY_PATH
   13493   shlibpath_overrides_runpath=no
   13494   hardcode_into_libs=yes
   13495   ;;
   13496 
   13497 irix5* | irix6* | nonstopux*)
   13498   case $host_os in
   13499     nonstopux*) version_type=nonstopux ;;
   13500     *)
   13501 	if test "$lt_cv_prog_gnu_ld" = yes; then
   13502 		version_type=linux
   13503 	else
   13504 		version_type=irix
   13505 	fi ;;
   13506   esac
   13507   need_lib_prefix=no
   13508   need_version=no
   13509   soname_spec='${libname}${release}${shared_ext}$major'
   13510   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   13511   case $host_os in
   13512   irix5* | nonstopux*)
   13513     libsuff= shlibsuff=
   13514     ;;
   13515   *)
   13516     case $LD in # libtool.m4 will add one of these switches to LD
   13517     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   13518       libsuff= shlibsuff= libmagic=32-bit;;
   13519     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   13520       libsuff=32 shlibsuff=N32 libmagic=N32;;
   13521     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   13522       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   13523     *) libsuff= shlibsuff= libmagic=never-match;;
   13524     esac
   13525     ;;
   13526   esac
   13527   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   13528   shlibpath_overrides_runpath=no
   13529   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   13530   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   13531   hardcode_into_libs=yes
   13532   ;;
   13533 
   13534 # No shared lib support for Linux oldld, aout, or coff.
   13535 linux*oldld* | linux*aout* | linux*coff*)
   13536   dynamic_linker=no
   13537   ;;
   13538 
   13539 # This must be Linux ELF.
   13540 linux* | k*bsd*-gnu)
   13541   version_type=linux
   13542   need_lib_prefix=no
   13543   need_version=no
   13544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13545   soname_spec='${libname}${release}${shared_ext}$major'
   13546   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   13547   shlibpath_var=LD_LIBRARY_PATH
   13548   shlibpath_overrides_runpath=no
   13549   # This implies no fast_install, which is unacceptable.
   13550   # Some rework will be needed to allow for fast_install
   13551   # before this can be enabled.
   13552   hardcode_into_libs=yes
   13553 
   13554   # Append ld.so.conf contents to the search path
   13555   if test -f /etc/ld.so.conf; then
   13556     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' ' '`
   13557     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   13558   fi
   13559 
   13560   # We used to test for /lib/ld.so.1 and disable shared libraries on
   13561   # powerpc, because MkLinux only supported shared libraries with the
   13562   # GNU dynamic linker.  Since this was broken with cross compilers,
   13563   # most powerpc-linux boxes support dynamic linking these days and
   13564   # people can always --disable-shared, the test was removed, and we
   13565   # assume the GNU/Linux dynamic linker is in use.
   13566   dynamic_linker='GNU/Linux ld.so'
   13567   ;;
   13568 
   13569 netbsd*)
   13570   version_type=sunos
   13571   need_lib_prefix=no
   13572   need_version=no
   13573   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   13574     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13575     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13576     dynamic_linker='NetBSD (a.out) ld.so'
   13577   else
   13578     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   13579     soname_spec='${libname}${release}${shared_ext}$major'
   13580     dynamic_linker='NetBSD ld.elf_so'
   13581   fi
   13582   shlibpath_var=LD_LIBRARY_PATH
   13583   shlibpath_overrides_runpath=yes
   13584   hardcode_into_libs=yes
   13585   ;;
   13586 
   13587 newsos6)
   13588   version_type=linux
   13589   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13590   shlibpath_var=LD_LIBRARY_PATH
   13591   shlibpath_overrides_runpath=yes
   13592   ;;
   13593 
   13594 nto-qnx*)
   13595   version_type=linux
   13596   need_lib_prefix=no
   13597   need_version=no
   13598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13599   soname_spec='${libname}${release}${shared_ext}$major'
   13600   shlibpath_var=LD_LIBRARY_PATH
   13601   shlibpath_overrides_runpath=yes
   13602   ;;
   13603 
   13604 openbsd*)
   13605   version_type=sunos
   13606   sys_lib_dlsearch_path_spec="/usr/lib"
   13607   need_lib_prefix=no
   13608   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   13609   case $host_os in
   13610     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   13611     *)                         need_version=no  ;;
   13612   esac
   13613   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13614   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   13615   shlibpath_var=LD_LIBRARY_PATH
   13616   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13617     case $host_os in
   13618       openbsd2.[89] | openbsd2.[89].*)
   13619 	shlibpath_overrides_runpath=no
   13620 	;;
   13621       *)
   13622 	shlibpath_overrides_runpath=yes
   13623 	;;
   13624       esac
   13625   else
   13626     shlibpath_overrides_runpath=yes
   13627   fi
   13628   ;;
   13629 
   13630 os2*)
   13631   libname_spec='$name'
   13632   shrext_cmds=".dll"
   13633   need_lib_prefix=no
   13634   library_names_spec='$libname${shared_ext} $libname.a'
   13635   dynamic_linker='OS/2 ld.exe'
   13636   shlibpath_var=LIBPATH
   13637   ;;
   13638 
   13639 osf3* | osf4* | osf5*)
   13640   version_type=osf
   13641   need_lib_prefix=no
   13642   need_version=no
   13643   soname_spec='${libname}${release}${shared_ext}$major'
   13644   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13645   shlibpath_var=LD_LIBRARY_PATH
   13646   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   13647   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   13648   ;;
   13649 
   13650 rdos*)
   13651   dynamic_linker=no
   13652   ;;
   13653 
   13654 solaris*)
   13655   version_type=linux
   13656   need_lib_prefix=no
   13657   need_version=no
   13658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13659   soname_spec='${libname}${release}${shared_ext}$major'
   13660   shlibpath_var=LD_LIBRARY_PATH
   13661   shlibpath_overrides_runpath=yes
   13662   hardcode_into_libs=yes
   13663   # ldd complains unless libraries are executable
   13664   postinstall_cmds='chmod +x $lib'
   13665   ;;
   13666 
   13667 sunos4*)
   13668   version_type=sunos
   13669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   13670   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   13671   shlibpath_var=LD_LIBRARY_PATH
   13672   shlibpath_overrides_runpath=yes
   13673   if test "$with_gnu_ld" = yes; then
   13674     need_lib_prefix=no
   13675   fi
   13676   need_version=yes
   13677   ;;
   13678 
   13679 sysv4 | sysv4.3*)
   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   case $host_vendor in
   13685     sni)
   13686       shlibpath_overrides_runpath=no
   13687       need_lib_prefix=no
   13688       export_dynamic_flag_spec='${wl}-Blargedynsym'
   13689       runpath_var=LD_RUN_PATH
   13690       ;;
   13691     siemens)
   13692       need_lib_prefix=no
   13693       ;;
   13694     motorola)
   13695       need_lib_prefix=no
   13696       need_version=no
   13697       shlibpath_overrides_runpath=no
   13698       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   13699       ;;
   13700   esac
   13701   ;;
   13702 
   13703 sysv4*MP*)
   13704   if test -d /usr/nec ;then
   13705     version_type=linux
   13706     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   13707     soname_spec='$libname${shared_ext}.$major'
   13708     shlibpath_var=LD_LIBRARY_PATH
   13709   fi
   13710   ;;
   13711 
   13712 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   13713   version_type=freebsd-elf
   13714   need_lib_prefix=no
   13715   need_version=no
   13716   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   13717   soname_spec='${libname}${release}${shared_ext}$major'
   13718   shlibpath_var=LD_LIBRARY_PATH
   13719   hardcode_into_libs=yes
   13720   if test "$with_gnu_ld" = yes; then
   13721     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   13722     shlibpath_overrides_runpath=no
   13723   else
   13724     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   13725     shlibpath_overrides_runpath=yes
   13726     case $host_os in
   13727       sco3.2v5*)
   13728         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   13729 	;;
   13730     esac
   13731   fi
   13732   sys_lib_dlsearch_path_spec='/usr/lib'
   13733   ;;
   13734 
   13735 uts4*)
   13736   version_type=linux
   13737   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   13738   soname_spec='${libname}${release}${shared_ext}$major'
   13739   shlibpath_var=LD_LIBRARY_PATH
   13740   ;;
   13741 
   13742 *)
   13743   dynamic_linker=no
   13744   ;;
   13745 esac
   13746 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   13747 $as_echo "$dynamic_linker" >&6; }
   13748 test "$dynamic_linker" = no && can_build_shared=no
   13749 
   13750 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   13751   $as_echo_n "(cached) " >&6
   13752 else
   13753   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   13754 fi
   13755 
   13756 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   13757 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   13758   $as_echo_n "(cached) " >&6
   13759 else
   13760   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   13761 fi
   13762 
   13763 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   13764 
   13765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   13766 if test "$GCC" = yes; then
   13767   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   13768 fi
   13769 
   13770 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   13771 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   13772 hardcode_action_CXX=
   13773 if test -n "$hardcode_libdir_flag_spec_CXX" || \
   13774    test -n "$runpath_var_CXX" || \
   13775    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   13776 
   13777   # We can hardcode non-existant directories.
   13778   if test "$hardcode_direct_CXX" != no &&
   13779      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   13780      # have to relink, otherwise we might link with an installed library
   13781      # when we should be linking with a yet-to-be-installed one
   13782      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   13783      test "$hardcode_minus_L_CXX" != no; then
   13784     # Linking always hardcodes the temporary library directory.
   13785     hardcode_action_CXX=relink
   13786   else
   13787     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   13788     hardcode_action_CXX=immediate
   13789   fi
   13790 else
   13791   # We cannot hardcode anything, or else we can only hardcode existing
   13792   # directories.
   13793   hardcode_action_CXX=unsupported
   13794 fi
   13795 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
   13796 $as_echo "$hardcode_action_CXX" >&6; }
   13797 
   13798 if test "$hardcode_action_CXX" = relink; then
   13799   # Fast installation is not supported
   13800   enable_fast_install=no
   13801 elif test "$shlibpath_overrides_runpath" = yes ||
   13802      test "$enable_shared" = no; then
   13803   # Fast installation is not necessary
   13804   enable_fast_install=needless
   13805 fi
   13806 
   13807 
   13808 # The else clause should only fire when bootstrapping the
   13809 # libtool distribution, otherwise you forgot to ship ltmain.sh
   13810 # with your package, and you will get complaints that there are
   13811 # no rules to generate ltmain.sh.
   13812 if test -f "$ltmain"; then
   13813   # See if we are running on zsh, and set the options which allow our commands through
   13814   # without removal of \ escapes.
   13815   if test -n "${ZSH_VERSION+set}" ; then
   13816     setopt NO_GLOB_SUBST
   13817   fi
   13818   # Now quote all the things that may contain metacharacters while being
   13819   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   13820   # variables and quote the copies for generation of the libtool script.
   13821   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   13822     SED SHELL STRIP \
   13823     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   13824     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   13825     deplibs_check_method reload_flag reload_cmds need_locks \
   13826     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   13827     lt_cv_sys_global_symbol_to_c_name_address \
   13828     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   13829     old_postinstall_cmds old_postuninstall_cmds \
   13830     compiler_CXX \
   13831     CC_CXX \
   13832     LD_CXX \
   13833     lt_prog_compiler_wl_CXX \
   13834     lt_prog_compiler_pic_CXX \
   13835     lt_prog_compiler_static_CXX \
   13836     lt_prog_compiler_no_builtin_flag_CXX \
   13837     export_dynamic_flag_spec_CXX \
   13838     thread_safe_flag_spec_CXX \
   13839     whole_archive_flag_spec_CXX \
   13840     enable_shared_with_static_runtimes_CXX \
   13841     old_archive_cmds_CXX \
   13842     old_archive_from_new_cmds_CXX \
   13843     predep_objects_CXX \
   13844     postdep_objects_CXX \
   13845     predeps_CXX \
   13846     postdeps_CXX \
   13847     compiler_lib_search_path_CXX \
   13848     compiler_lib_search_dirs_CXX \
   13849     archive_cmds_CXX \
   13850     archive_expsym_cmds_CXX \
   13851     postinstall_cmds_CXX \
   13852     postuninstall_cmds_CXX \
   13853     old_archive_from_expsyms_cmds_CXX \
   13854     allow_undefined_flag_CXX \
   13855     no_undefined_flag_CXX \
   13856     export_symbols_cmds_CXX \
   13857     hardcode_libdir_flag_spec_CXX \
   13858     hardcode_libdir_flag_spec_ld_CXX \
   13859     hardcode_libdir_separator_CXX \
   13860     hardcode_automatic_CXX \
   13861     module_cmds_CXX \
   13862     module_expsym_cmds_CXX \
   13863     lt_cv_prog_compiler_c_o_CXX \
   13864     fix_srcfile_path_CXX \
   13865     exclude_expsyms_CXX \
   13866     include_expsyms_CXX; do
   13867 
   13868     case $var in
   13869     old_archive_cmds_CXX | \
   13870     old_archive_from_new_cmds_CXX | \
   13871     archive_cmds_CXX | \
   13872     archive_expsym_cmds_CXX | \
   13873     module_cmds_CXX | \
   13874     module_expsym_cmds_CXX | \
   13875     old_archive_from_expsyms_cmds_CXX | \
   13876     export_symbols_cmds_CXX | \
   13877     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   13878     postinstall_cmds | postuninstall_cmds | \
   13879     old_postinstall_cmds | old_postuninstall_cmds | \
   13880     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   13881       # Double-quote double-evaled strings.
   13882       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   13883       ;;
   13884     *)
   13885       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   13886       ;;
   13887     esac
   13888   done
   13889 
   13890   case $lt_echo in
   13891   *'\$0 --fallback-echo"')
   13892     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   13893     ;;
   13894   esac
   13895 
   13896 cfgfile="$ofile"
   13897 
   13898   cat <<__EOF__ >> "$cfgfile"
   13899 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   13900 
   13901 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   13902 
   13903 # Shell to use when invoking shell scripts.
   13904 SHELL=$lt_SHELL
   13905 
   13906 # Whether or not to build shared libraries.
   13907 build_libtool_libs=$enable_shared
   13908 
   13909 # Whether or not to build static libraries.
   13910 build_old_libs=$enable_static
   13911 
   13912 # Whether or not to add -lc for building shared libraries.
   13913 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   13914 
   13915 # Whether or not to disallow shared libs when runtime libs are static
   13916 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   13917 
   13918 # Whether or not to optimize for fast installation.
   13919 fast_install=$enable_fast_install
   13920 
   13921 # The host system.
   13922 host_alias=$host_alias
   13923 host=$host
   13924 host_os=$host_os
   13925 
   13926 # The build system.
   13927 build_alias=$build_alias
   13928 build=$build
   13929 build_os=$build_os
   13930 
   13931 # An echo program that does not interpret backslashes.
   13932 echo=$lt_echo
   13933 
   13934 # The archiver.
   13935 AR=$lt_AR
   13936 AR_FLAGS=$lt_AR_FLAGS
   13937 
   13938 # A C compiler.
   13939 LTCC=$lt_LTCC
   13940 
   13941 # LTCC compiler flags.
   13942 LTCFLAGS=$lt_LTCFLAGS
   13943 
   13944 # A language-specific compiler.
   13945 CC=$lt_compiler_CXX
   13946 
   13947 # Is the compiler the GNU C compiler?
   13948 with_gcc=$GCC_CXX
   13949 
   13950 # An ERE matcher.
   13951 EGREP=$lt_EGREP
   13952 
   13953 # The linker used to build libraries.
   13954 LD=$lt_LD_CXX
   13955 
   13956 # Whether we need hard or soft links.
   13957 LN_S=$lt_LN_S
   13958 
   13959 # A BSD-compatible nm program.
   13960 NM=$lt_NM
   13961 
   13962 # A symbol stripping program
   13963 STRIP=$lt_STRIP
   13964 
   13965 # Used to examine libraries when file_magic_cmd begins "file"
   13966 MAGIC_CMD=$MAGIC_CMD
   13967 
   13968 # Used on cygwin: DLL creation program.
   13969 DLLTOOL="$DLLTOOL"
   13970 
   13971 # Used on cygwin: object dumper.
   13972 OBJDUMP="$OBJDUMP"
   13973 
   13974 # Used on cygwin: assembler.
   13975 AS="$AS"
   13976 
   13977 # The name of the directory that contains temporary libtool files.
   13978 objdir=$objdir
   13979 
   13980 # How to create reloadable object files.
   13981 reload_flag=$lt_reload_flag
   13982 reload_cmds=$lt_reload_cmds
   13983 
   13984 # How to pass a linker flag through the compiler.
   13985 wl=$lt_lt_prog_compiler_wl_CXX
   13986 
   13987 # Object file suffix (normally "o").
   13988 objext="$ac_objext"
   13989 
   13990 # Old archive suffix (normally "a").
   13991 libext="$libext"
   13992 
   13993 # Shared library suffix (normally ".so").
   13994 shrext_cmds='$shrext_cmds'
   13995 
   13996 # Executable file suffix (normally "").
   13997 exeext="$exeext"
   13998 
   13999 # Additional compiler flags for building library objects.
   14000 pic_flag=$lt_lt_prog_compiler_pic_CXX
   14001 pic_mode=$pic_mode
   14002 
   14003 # What is the maximum length of a command?
   14004 max_cmd_len=$lt_cv_sys_max_cmd_len
   14005 
   14006 # Does compiler simultaneously support -c and -o options?
   14007 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   14008 
   14009 # Must we lock files when doing compilation?
   14010 need_locks=$lt_need_locks
   14011 
   14012 # Do we need the lib prefix for modules?
   14013 need_lib_prefix=$need_lib_prefix
   14014 
   14015 # Do we need a version for libraries?
   14016 need_version=$need_version
   14017 
   14018 # Whether dlopen is supported.
   14019 dlopen_support=$enable_dlopen
   14020 
   14021 # Whether dlopen of programs is supported.
   14022 dlopen_self=$enable_dlopen_self
   14023 
   14024 # Whether dlopen of statically linked programs is supported.
   14025 dlopen_self_static=$enable_dlopen_self_static
   14026 
   14027 # Compiler flag to prevent dynamic linking.
   14028 link_static_flag=$lt_lt_prog_compiler_static_CXX
   14029 
   14030 # Compiler flag to turn off builtin functions.
   14031 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   14032 
   14033 # Compiler flag to allow reflexive dlopens.
   14034 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   14035 
   14036 # Compiler flag to generate shared objects directly from archives.
   14037 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   14038 
   14039 # Compiler flag to generate thread-safe objects.
   14040 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
   14041 
   14042 # Library versioning type.
   14043 version_type=$version_type
   14044 
   14045 # Format of library name prefix.
   14046 libname_spec=$lt_libname_spec
   14047 
   14048 # List of archive names.  First name is the real one, the rest are links.
   14049 # The last name is the one that the linker finds with -lNAME.
   14050 library_names_spec=$lt_library_names_spec
   14051 
   14052 # The coded name of the library, if different from the real name.
   14053 soname_spec=$lt_soname_spec
   14054 
   14055 # Commands used to build and install an old-style archive.
   14056 RANLIB=$lt_RANLIB
   14057 old_archive_cmds=$lt_old_archive_cmds_CXX
   14058 old_postinstall_cmds=$lt_old_postinstall_cmds
   14059 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   14060 
   14061 # Create an old-style archive from a shared archive.
   14062 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   14063 
   14064 # Create a temporary old-style archive to link instead of a shared archive.
   14065 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   14066 
   14067 # Commands used to build and install a shared archive.
   14068 archive_cmds=$lt_archive_cmds_CXX
   14069 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   14070 postinstall_cmds=$lt_postinstall_cmds
   14071 postuninstall_cmds=$lt_postuninstall_cmds
   14072 
   14073 # Commands used to build a loadable module (assumed same as above if empty)
   14074 module_cmds=$lt_module_cmds_CXX
   14075 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   14076 
   14077 # Commands to strip libraries.
   14078 old_striplib=$lt_old_striplib
   14079 striplib=$lt_striplib
   14080 
   14081 # Dependencies to place before the objects being linked to create a
   14082 # shared library.
   14083 predep_objects=$lt_predep_objects_CXX
   14084 
   14085 # Dependencies to place after the objects being linked to create a
   14086 # shared library.
   14087 postdep_objects=$lt_postdep_objects_CXX
   14088 
   14089 # Dependencies to place before the objects being linked to create a
   14090 # shared library.
   14091 predeps=$lt_predeps_CXX
   14092 
   14093 # Dependencies to place after the objects being linked to create a
   14094 # shared library.
   14095 postdeps=$lt_postdeps_CXX
   14096 
   14097 # The directories searched by this compiler when creating a shared
   14098 # library
   14099 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   14100 
   14101 # The library search path used internally by the compiler when linking
   14102 # a shared library.
   14103 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   14104 
   14105 # Method to check whether dependent libraries are shared objects.
   14106 deplibs_check_method=$lt_deplibs_check_method
   14107 
   14108 # Command to use when deplibs_check_method == file_magic.
   14109 file_magic_cmd=$lt_file_magic_cmd
   14110 
   14111 # Flag that allows shared libraries with undefined symbols to be built.
   14112 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   14113 
   14114 # Flag that forces no undefined symbols.
   14115 no_undefined_flag=$lt_no_undefined_flag_CXX
   14116 
   14117 # Commands used to finish a libtool library installation in a directory.
   14118 finish_cmds=$lt_finish_cmds
   14119 
   14120 # Same as above, but a single script fragment to be evaled but not shown.
   14121 finish_eval=$lt_finish_eval
   14122 
   14123 # Take the output of nm and produce a listing of raw symbols and C names.
   14124 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   14125 
   14126 # Transform the output of nm in a proper C declaration
   14127 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   14128 
   14129 # Transform the output of nm in a C name address pair
   14130 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   14131 
   14132 # This is the shared library runtime path variable.
   14133 runpath_var=$runpath_var
   14134 
   14135 # This is the shared library path variable.
   14136 shlibpath_var=$shlibpath_var
   14137 
   14138 # Is shlibpath searched before the hard-coded library search path?
   14139 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   14140 
   14141 # How to hardcode a shared library path into an executable.
   14142 hardcode_action=$hardcode_action_CXX
   14143 
   14144 # Whether we should hardcode library paths into libraries.
   14145 hardcode_into_libs=$hardcode_into_libs
   14146 
   14147 # Flag to hardcode \$libdir into a binary during linking.
   14148 # This must work even if \$libdir does not exist.
   14149 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   14150 
   14151 # If ld is used when linking, flag to hardcode \$libdir into
   14152 # a binary during linking. This must work even if \$libdir does
   14153 # not exist.
   14154 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   14155 
   14156 # Whether we need a single -rpath flag with a separated argument.
   14157 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   14158 
   14159 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   14160 # resulting binary.
   14161 hardcode_direct=$hardcode_direct_CXX
   14162 
   14163 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   14164 # resulting binary.
   14165 hardcode_minus_L=$hardcode_minus_L_CXX
   14166 
   14167 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   14168 # the resulting binary.
   14169 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   14170 
   14171 # Set to yes if building a shared library automatically hardcodes DIR into the library
   14172 # and all subsequent libraries and executables linked against it.
   14173 hardcode_automatic=$hardcode_automatic_CXX
   14174 
   14175 # Variables whose values should be saved in libtool wrapper scripts and
   14176 # restored at relink time.
   14177 variables_saved_for_relink="$variables_saved_for_relink"
   14178 
   14179 # Whether libtool must link a program against all its dependency libraries.
   14180 link_all_deplibs=$link_all_deplibs_CXX
   14181 
   14182 # Compile-time system search path for libraries
   14183 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   14184 
   14185 # Run-time system search path for libraries
   14186 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   14187 
   14188 # Fix the shell variable \$srcfile for the compiler.
   14189 fix_srcfile_path=$lt_fix_srcfile_path
   14190 
   14191 # Set to yes if exported symbols are required.
   14192 always_export_symbols=$always_export_symbols_CXX
   14193 
   14194 # The commands to list exported symbols.
   14195 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   14196 
   14197 # The commands to extract the exported symbol list from a shared archive.
   14198 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   14199 
   14200 # Symbols that should not be listed in the preloaded symbols.
   14201 exclude_expsyms=$lt_exclude_expsyms_CXX
   14202 
   14203 # Symbols that must always be exported.
   14204 include_expsyms=$lt_include_expsyms_CXX
   14205 
   14206 # ### END LIBTOOL TAG CONFIG: $tagname
   14207 
   14208 __EOF__
   14209 
   14210 
   14211 else
   14212   # If there is no Makefile yet, we rely on a make rule to execute
   14213   # `config.status --recheck' to rerun these tests and create the
   14214   # libtool script then.
   14215   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   14216   if test -f "$ltmain_in"; then
   14217     test -f Makefile && make "$ltmain"
   14218   fi
   14219 fi
   14220 
   14221 
   14222 ac_ext=c
   14223 ac_cpp='$CPP $CPPFLAGS'
   14224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14227 
   14228 CC=$lt_save_CC
   14229 LDCXX=$LD
   14230 LD=$lt_save_LD
   14231 GCC=$lt_save_GCC
   14232 with_gnu_ldcxx=$with_gnu_ld
   14233 with_gnu_ld=$lt_save_with_gnu_ld
   14234 lt_cv_path_LDCXX=$lt_cv_path_LD
   14235 lt_cv_path_LD=$lt_save_path_LD
   14236 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14237 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14238 
   14239 	else
   14240 	  tagname=""
   14241 	fi
   14242 	;;
   14243 
   14244       F77)
   14245 	if test -n "$F77" && test "X$F77" != "Xno"; then
   14246 
   14247 ac_ext=f
   14248 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
   14249 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14250 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
   14251 
   14252 
   14253 archive_cmds_need_lc_F77=no
   14254 allow_undefined_flag_F77=
   14255 always_export_symbols_F77=no
   14256 archive_expsym_cmds_F77=
   14257 export_dynamic_flag_spec_F77=
   14258 hardcode_direct_F77=no
   14259 hardcode_libdir_flag_spec_F77=
   14260 hardcode_libdir_flag_spec_ld_F77=
   14261 hardcode_libdir_separator_F77=
   14262 hardcode_minus_L_F77=no
   14263 hardcode_automatic_F77=no
   14264 module_cmds_F77=
   14265 module_expsym_cmds_F77=
   14266 link_all_deplibs_F77=unknown
   14267 old_archive_cmds_F77=$old_archive_cmds
   14268 no_undefined_flag_F77=
   14269 whole_archive_flag_spec_F77=
   14270 enable_shared_with_static_runtimes_F77=no
   14271 
   14272 # Source file extension for f77 test sources.
   14273 ac_ext=f
   14274 
   14275 # Object file extension for compiled f77 test sources.
   14276 objext=o
   14277 objext_F77=$objext
   14278 
   14279 # Code to be used in simple compile tests
   14280 lt_simple_compile_test_code="\
   14281       subroutine t
   14282       return
   14283       end
   14284 "
   14285 
   14286 # Code to be used in simple link tests
   14287 lt_simple_link_test_code="\
   14288       program t
   14289       end
   14290 "
   14291 
   14292 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   14293 
   14294 # If no C compiler was specified, use CC.
   14295 LTCC=${LTCC-"$CC"}
   14296 
   14297 # If no C compiler flags were specified, use CFLAGS.
   14298 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14299 
   14300 # Allow CC to be a program name with arguments.
   14301 compiler=$CC
   14302 
   14303 
   14304 # save warnings/boilerplate of simple test code
   14305 ac_outfile=conftest.$ac_objext
   14306 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14307 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14308 _lt_compiler_boilerplate=`cat conftest.err`
   14309 $rm conftest*
   14310 
   14311 ac_outfile=conftest.$ac_objext
   14312 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14313 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14314 _lt_linker_boilerplate=`cat conftest.err`
   14315 $rm -r conftest*
   14316 
   14317 
   14318 # Allow CC to be a program name with arguments.
   14319 lt_save_CC="$CC"
   14320 CC=${F77-"f77"}
   14321 compiler=$CC
   14322 compiler_F77=$CC
   14323 for cc_temp in $compiler""; do
   14324   case $cc_temp in
   14325     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14326     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14327     \-*) ;;
   14328     *) break;;
   14329   esac
   14330 done
   14331 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14332 
   14333 
   14334 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   14335 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   14336 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
   14337 $as_echo "$can_build_shared" >&6; }
   14338 
   14339 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   14340 $as_echo_n "checking whether to build shared libraries... " >&6; }
   14341 test "$can_build_shared" = "no" && enable_shared=no
   14342 
   14343 # On AIX, shared libraries and static libraries use the same namespace, and
   14344 # are all built from PIC.
   14345 case $host_os in
   14346 aix3*)
   14347   test "$enable_shared" = yes && enable_static=no
   14348   if test -n "$RANLIB"; then
   14349     archive_cmds="$archive_cmds~\$RANLIB \$lib"
   14350     postinstall_cmds='$RANLIB $lib'
   14351   fi
   14352   ;;
   14353 aix[4-9]*)
   14354   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   14355     test "$enable_shared" = yes && enable_static=no
   14356   fi
   14357   ;;
   14358 esac
   14359 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
   14360 $as_echo "$enable_shared" >&6; }
   14361 
   14362 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   14363 $as_echo_n "checking whether to build static libraries... " >&6; }
   14364 # Make sure either enable_shared or enable_static is yes.
   14365 test "$enable_shared" = yes || enable_static=yes
   14366 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
   14367 $as_echo "$enable_static" >&6; }
   14368 
   14369 GCC_F77="$G77"
   14370 LD_F77="$LD"
   14371 
   14372 lt_prog_compiler_wl_F77=
   14373 lt_prog_compiler_pic_F77=
   14374 lt_prog_compiler_static_F77=
   14375 
   14376 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   14377 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14378 
   14379   if test "$GCC" = yes; then
   14380     lt_prog_compiler_wl_F77='-Wl,'
   14381     lt_prog_compiler_static_F77='-static'
   14382 
   14383     case $host_os in
   14384       aix*)
   14385       # All AIX code is PIC.
   14386       if test "$host_cpu" = ia64; then
   14387 	# AIX 5 now supports IA64 processor
   14388 	lt_prog_compiler_static_F77='-Bstatic'
   14389       fi
   14390       ;;
   14391 
   14392     amigaos*)
   14393       # FIXME: we need at least 68020 code to build shared libraries, but
   14394       # adding the `-m68020' flag to GCC prevents building anything better,
   14395       # like `-m68040'.
   14396       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
   14397       ;;
   14398 
   14399     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14400       # PIC is the default for these OSes.
   14401       ;;
   14402 
   14403     mingw* | cygwin* | pw32* | os2*)
   14404       # This hack is so that the source file can tell whether it is being
   14405       # built for inclusion in a dll (and should export symbols for example).
   14406       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14407       # (--disable-auto-import) libraries
   14408       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14409       ;;
   14410 
   14411     darwin* | rhapsody*)
   14412       # PIC is the default on this platform
   14413       # Common symbols not allowed in MH_DYLIB files
   14414       lt_prog_compiler_pic_F77='-fno-common'
   14415       ;;
   14416 
   14417     interix[3-9]*)
   14418       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14419       # Instead, we relocate shared libraries at runtime.
   14420       ;;
   14421 
   14422     msdosdjgpp*)
   14423       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14424       # on systems that don't support them.
   14425       lt_prog_compiler_can_build_shared_F77=no
   14426       enable_shared=no
   14427       ;;
   14428 
   14429     sysv4*MP*)
   14430       if test -d /usr/nec; then
   14431 	lt_prog_compiler_pic_F77=-Kconform_pic
   14432       fi
   14433       ;;
   14434 
   14435     hpux*)
   14436       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14437       # not for PA HP-UX.
   14438       case $host_cpu in
   14439       hppa*64*|ia64*)
   14440 	# +Z the default
   14441 	;;
   14442       *)
   14443 	lt_prog_compiler_pic_F77='-fPIC'
   14444 	;;
   14445       esac
   14446       ;;
   14447 
   14448     *)
   14449       lt_prog_compiler_pic_F77='-fPIC'
   14450       ;;
   14451     esac
   14452   else
   14453     # PORTME Check for flag to pass linker flags through the system compiler.
   14454     case $host_os in
   14455     aix*)
   14456       lt_prog_compiler_wl_F77='-Wl,'
   14457       if test "$host_cpu" = ia64; then
   14458 	# AIX 5 now supports IA64 processor
   14459 	lt_prog_compiler_static_F77='-Bstatic'
   14460       else
   14461 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
   14462       fi
   14463       ;;
   14464       darwin*)
   14465         # PIC is the default on this platform
   14466         # Common symbols not allowed in MH_DYLIB files
   14467        case $cc_basename in
   14468          xlc*)
   14469          lt_prog_compiler_pic_F77='-qnocommon'
   14470          lt_prog_compiler_wl_F77='-Wl,'
   14471          ;;
   14472        esac
   14473        ;;
   14474 
   14475     mingw* | cygwin* | pw32* | os2*)
   14476       # This hack is so that the source file can tell whether it is being
   14477       # built for inclusion in a dll (and should export symbols for example).
   14478       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
   14479       ;;
   14480 
   14481     hpux9* | hpux10* | hpux11*)
   14482       lt_prog_compiler_wl_F77='-Wl,'
   14483       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14484       # not for PA HP-UX.
   14485       case $host_cpu in
   14486       hppa*64*|ia64*)
   14487 	# +Z the default
   14488 	;;
   14489       *)
   14490 	lt_prog_compiler_pic_F77='+Z'
   14491 	;;
   14492       esac
   14493       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14494       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
   14495       ;;
   14496 
   14497     irix5* | irix6* | nonstopux*)
   14498       lt_prog_compiler_wl_F77='-Wl,'
   14499       # PIC (with -KPIC) is the default.
   14500       lt_prog_compiler_static_F77='-non_shared'
   14501       ;;
   14502 
   14503     newsos6)
   14504       lt_prog_compiler_pic_F77='-KPIC'
   14505       lt_prog_compiler_static_F77='-Bstatic'
   14506       ;;
   14507 
   14508     linux* | k*bsd*-gnu)
   14509       case $cc_basename in
   14510       icc* | ecc*)
   14511 	lt_prog_compiler_wl_F77='-Wl,'
   14512 	lt_prog_compiler_pic_F77='-KPIC'
   14513 	lt_prog_compiler_static_F77='-static'
   14514         ;;
   14515       pgcc* | pgf77* | pgf90* | pgf95*)
   14516         # Portland Group compilers (*not* the Pentium gcc compiler,
   14517 	# which looks to be a dead project)
   14518 	lt_prog_compiler_wl_F77='-Wl,'
   14519 	lt_prog_compiler_pic_F77='-fpic'
   14520 	lt_prog_compiler_static_F77='-Bstatic'
   14521         ;;
   14522       ccc*)
   14523         lt_prog_compiler_wl_F77='-Wl,'
   14524         # All Alpha code is PIC.
   14525         lt_prog_compiler_static_F77='-non_shared'
   14526         ;;
   14527       *)
   14528         case `$CC -V 2>&1 | sed 5q` in
   14529 	*Sun\ C*)
   14530 	  # Sun C 5.9
   14531 	  lt_prog_compiler_pic_F77='-KPIC'
   14532 	  lt_prog_compiler_static_F77='-Bstatic'
   14533 	  lt_prog_compiler_wl_F77='-Wl,'
   14534 	  ;;
   14535 	*Sun\ F*)
   14536 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14537 	  lt_prog_compiler_pic_F77='-KPIC'
   14538 	  lt_prog_compiler_static_F77='-Bstatic'
   14539 	  lt_prog_compiler_wl_F77=''
   14540 	  ;;
   14541 	esac
   14542 	;;
   14543       esac
   14544       ;;
   14545 
   14546     osf3* | osf4* | osf5*)
   14547       lt_prog_compiler_wl_F77='-Wl,'
   14548       # All OSF/1 code is PIC.
   14549       lt_prog_compiler_static_F77='-non_shared'
   14550       ;;
   14551 
   14552     rdos*)
   14553       lt_prog_compiler_static_F77='-non_shared'
   14554       ;;
   14555 
   14556     solaris*)
   14557       lt_prog_compiler_pic_F77='-KPIC'
   14558       lt_prog_compiler_static_F77='-Bstatic'
   14559       case $cc_basename in
   14560       f77* | f90* | f95*)
   14561 	lt_prog_compiler_wl_F77='-Qoption ld ';;
   14562       *)
   14563 	lt_prog_compiler_wl_F77='-Wl,';;
   14564       esac
   14565       ;;
   14566 
   14567     sunos4*)
   14568       lt_prog_compiler_wl_F77='-Qoption ld '
   14569       lt_prog_compiler_pic_F77='-PIC'
   14570       lt_prog_compiler_static_F77='-Bstatic'
   14571       ;;
   14572 
   14573     sysv4 | sysv4.2uw2* | sysv4.3*)
   14574       lt_prog_compiler_wl_F77='-Wl,'
   14575       lt_prog_compiler_pic_F77='-KPIC'
   14576       lt_prog_compiler_static_F77='-Bstatic'
   14577       ;;
   14578 
   14579     sysv4*MP*)
   14580       if test -d /usr/nec ;then
   14581 	lt_prog_compiler_pic_F77='-Kconform_pic'
   14582 	lt_prog_compiler_static_F77='-Bstatic'
   14583       fi
   14584       ;;
   14585 
   14586     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14587       lt_prog_compiler_wl_F77='-Wl,'
   14588       lt_prog_compiler_pic_F77='-KPIC'
   14589       lt_prog_compiler_static_F77='-Bstatic'
   14590       ;;
   14591 
   14592     unicos*)
   14593       lt_prog_compiler_wl_F77='-Wl,'
   14594       lt_prog_compiler_can_build_shared_F77=no
   14595       ;;
   14596 
   14597     uts4*)
   14598       lt_prog_compiler_pic_F77='-pic'
   14599       lt_prog_compiler_static_F77='-Bstatic'
   14600       ;;
   14601 
   14602     *)
   14603       lt_prog_compiler_can_build_shared_F77=no
   14604       ;;
   14605     esac
   14606   fi
   14607 
   14608 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
   14609 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
   14610 
   14611 #
   14612 # Check to make sure the PIC flag actually works.
   14613 #
   14614 if test -n "$lt_prog_compiler_pic_F77"; then
   14615 
   14616 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
   14617 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
   14618 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
   14619   $as_echo_n "(cached) " >&6
   14620 else
   14621   lt_cv_prog_compiler_pic_works_F77=no
   14622   ac_outfile=conftest.$ac_objext
   14623    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14624    lt_compiler_flag="$lt_prog_compiler_pic_F77"
   14625    # Insert the option either (1) after the last *FLAGS variable, or
   14626    # (2) before a word containing "conftest.", or (3) at the end.
   14627    # Note that $ac_compile itself does not contain backslashes and begins
   14628    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14629    # The option is referenced via a variable to avoid confusing sed.
   14630    lt_compile=`echo "$ac_compile" | $SED \
   14631    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14632    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14633    -e 's:$: $lt_compiler_flag:'`
   14634    (eval echo "\"\$as_me:14634: $lt_compile\"" >&5)
   14635    (eval "$lt_compile" 2>conftest.err)
   14636    ac_status=$?
   14637    cat conftest.err >&5
   14638    echo "$as_me:14638: \$? = $ac_status" >&5
   14639    if (exit $ac_status) && test -s "$ac_outfile"; then
   14640      # The compiler can only warn and ignore the option if not recognized
   14641      # So say no if there are warnings other than the usual output.
   14642      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   14643      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14644      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14645        lt_cv_prog_compiler_pic_works_F77=yes
   14646      fi
   14647    fi
   14648    $rm conftest*
   14649 
   14650 fi
   14651 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
   14652 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
   14653 
   14654 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
   14655     case $lt_prog_compiler_pic_F77 in
   14656      "" | " "*) ;;
   14657      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
   14658      esac
   14659 else
   14660     lt_prog_compiler_pic_F77=
   14661      lt_prog_compiler_can_build_shared_F77=no
   14662 fi
   14663 
   14664 fi
   14665 case $host_os in
   14666   # For platforms which do not support PIC, -DPIC is meaningless:
   14667   *djgpp*)
   14668     lt_prog_compiler_pic_F77=
   14669     ;;
   14670   *)
   14671     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
   14672     ;;
   14673 esac
   14674 
   14675 #
   14676 # Check to make sure the static flag actually works.
   14677 #
   14678 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
   14679 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14680 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14681 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
   14682   $as_echo_n "(cached) " >&6
   14683 else
   14684   lt_cv_prog_compiler_static_works_F77=no
   14685    save_LDFLAGS="$LDFLAGS"
   14686    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14687    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14688    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14689      # The linker can only warn and ignore the option if not recognized
   14690      # So say no if there are warnings
   14691      if test -s conftest.err; then
   14692        # Append any errors to the config.log.
   14693        cat conftest.err 1>&5
   14694        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   14695        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14696        if diff conftest.exp conftest.er2 >/dev/null; then
   14697          lt_cv_prog_compiler_static_works_F77=yes
   14698        fi
   14699      else
   14700        lt_cv_prog_compiler_static_works_F77=yes
   14701      fi
   14702    fi
   14703    $rm -r conftest*
   14704    LDFLAGS="$save_LDFLAGS"
   14705 
   14706 fi
   14707 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
   14708 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
   14709 
   14710 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
   14711     :
   14712 else
   14713     lt_prog_compiler_static_F77=
   14714 fi
   14715 
   14716 
   14717 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   14718 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14719 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
   14720   $as_echo_n "(cached) " >&6
   14721 else
   14722   lt_cv_prog_compiler_c_o_F77=no
   14723    $rm -r conftest 2>/dev/null
   14724    mkdir conftest
   14725    cd conftest
   14726    mkdir out
   14727    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14728 
   14729    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14730    # Insert the option either (1) after the last *FLAGS variable, or
   14731    # (2) before a word containing "conftest.", or (3) at the end.
   14732    # Note that $ac_compile itself does not contain backslashes and begins
   14733    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14734    lt_compile=`echo "$ac_compile" | $SED \
   14735    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14736    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14737    -e 's:$: $lt_compiler_flag:'`
   14738    (eval echo "\"\$as_me:14738: $lt_compile\"" >&5)
   14739    (eval "$lt_compile" 2>out/conftest.err)
   14740    ac_status=$?
   14741    cat out/conftest.err >&5
   14742    echo "$as_me:14742: \$? = $ac_status" >&5
   14743    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14744    then
   14745      # The compiler can only warn and ignore the option if not recognized
   14746      # So say no if there are warnings
   14747      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   14748      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14749      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14750        lt_cv_prog_compiler_c_o_F77=yes
   14751      fi
   14752    fi
   14753    chmod u+w . 2>&5
   14754    $rm conftest*
   14755    # SGI C++ compiler will create directory out/ii_files/ for
   14756    # template instantiation
   14757    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   14758    $rm out/* && rmdir out
   14759    cd ..
   14760    rmdir conftest
   14761    $rm conftest*
   14762 
   14763 fi
   14764 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
   14765 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
   14766 
   14767 
   14768 hard_links="nottested"
   14769 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
   14770   # do not overwrite the value of need_locks provided by the user
   14771   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   14772 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14773   hard_links=yes
   14774   $rm conftest*
   14775   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14776   touch conftest.a
   14777   ln conftest.a conftest.b 2>&5 || hard_links=no
   14778   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14779   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   14780 $as_echo "$hard_links" >&6; }
   14781   if test "$hard_links" = no; then
   14782     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14783 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14784     need_locks=warn
   14785   fi
   14786 else
   14787   need_locks=no
   14788 fi
   14789 
   14790 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14791 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14792 
   14793   runpath_var=
   14794   allow_undefined_flag_F77=
   14795   enable_shared_with_static_runtimes_F77=no
   14796   archive_cmds_F77=
   14797   archive_expsym_cmds_F77=
   14798   old_archive_From_new_cmds_F77=
   14799   old_archive_from_expsyms_cmds_F77=
   14800   export_dynamic_flag_spec_F77=
   14801   whole_archive_flag_spec_F77=
   14802   thread_safe_flag_spec_F77=
   14803   hardcode_libdir_flag_spec_F77=
   14804   hardcode_libdir_flag_spec_ld_F77=
   14805   hardcode_libdir_separator_F77=
   14806   hardcode_direct_F77=no
   14807   hardcode_minus_L_F77=no
   14808   hardcode_shlibpath_var_F77=unsupported
   14809   link_all_deplibs_F77=unknown
   14810   hardcode_automatic_F77=no
   14811   module_cmds_F77=
   14812   module_expsym_cmds_F77=
   14813   always_export_symbols_F77=no
   14814   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14815   # include_expsyms should be a list of space-separated symbols to be *always*
   14816   # included in the symbol list
   14817   include_expsyms_F77=
   14818   # exclude_expsyms can be an extended regexp of symbols to exclude
   14819   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14820   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14821   # as well as any symbol that contains `d'.
   14822   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14823   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14824   # platforms (ab)use it in PIC code, but their linkers get confused if
   14825   # the symbol is explicitly referenced.  Since portable code cannot
   14826   # rely on this symbol name, it's probably fine to never include it in
   14827   # preloaded symbol tables.
   14828   # Exclude shared library initialization/finalization symbols.
   14829   extract_expsyms_cmds=
   14830   # Just being paranoid about ensuring that cc_basename is set.
   14831   for cc_temp in $compiler""; do
   14832   case $cc_temp in
   14833     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14834     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14835     \-*) ;;
   14836     *) break;;
   14837   esac
   14838 done
   14839 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   14840 
   14841   case $host_os in
   14842   cygwin* | mingw* | pw32*)
   14843     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14844     # When not using gcc, we currently assume that we are using
   14845     # Microsoft Visual C++.
   14846     if test "$GCC" != yes; then
   14847       with_gnu_ld=no
   14848     fi
   14849     ;;
   14850   interix*)
   14851     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14852     with_gnu_ld=yes
   14853     ;;
   14854   openbsd*)
   14855     with_gnu_ld=no
   14856     ;;
   14857   esac
   14858 
   14859   ld_shlibs_F77=yes
   14860   if test "$with_gnu_ld" = yes; then
   14861     # If archive_cmds runs LD, not CC, wlarc should be empty
   14862     wlarc='${wl}'
   14863 
   14864     # Set some defaults for GNU ld with shared library support. These
   14865     # are reset later if shared libraries are not supported. Putting them
   14866     # here allows them to be overridden if necessary.
   14867     runpath_var=LD_RUN_PATH
   14868     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
   14869     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
   14870     # ancient GNU ld didn't support --whole-archive et. al.
   14871     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   14872 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14873       else
   14874   	whole_archive_flag_spec_F77=
   14875     fi
   14876     supports_anon_versioning=no
   14877     case `$LD -v 2>/dev/null` in
   14878       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14879       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14880       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14881       *\ 2.11.*) ;; # other 2.11 versions
   14882       *) supports_anon_versioning=yes ;;
   14883     esac
   14884 
   14885     # See if GNU ld supports shared libraries.
   14886     case $host_os in
   14887     aix[3-9]*)
   14888       # On AIX/PPC, the GNU linker is very broken
   14889       if test "$host_cpu" != ia64; then
   14890 	ld_shlibs_F77=no
   14891 	cat <<EOF 1>&2
   14892 
   14893 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   14894 *** to be unable to reliably create shared libraries on AIX.
   14895 *** Therefore, libtool is disabling shared libraries support.  If you
   14896 *** really care for shared libraries, you may want to modify your PATH
   14897 *** so that a non-GNU linker is found, and then restart.
   14898 
   14899 EOF
   14900       fi
   14901       ;;
   14902 
   14903     amigaos*)
   14904       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)'
   14905       hardcode_libdir_flag_spec_F77='-L$libdir'
   14906       hardcode_minus_L_F77=yes
   14907 
   14908       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   14909       # that the semantics of dynamic libraries on AmigaOS, at least up
   14910       # to version 4, is to share data among multiple programs linked
   14911       # with the same dynamic library.  Since this doesn't match the
   14912       # behavior of shared libraries on other platforms, we can't use
   14913       # them.
   14914       ld_shlibs_F77=no
   14915       ;;
   14916 
   14917     beos*)
   14918       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14919 	allow_undefined_flag_F77=unsupported
   14920 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14921 	# support --undefined.  This deserves some investigation.  FIXME
   14922 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14923       else
   14924 	ld_shlibs_F77=no
   14925       fi
   14926       ;;
   14927 
   14928     cygwin* | mingw* | pw32*)
   14929       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
   14930       # as there is no search path for DLLs.
   14931       hardcode_libdir_flag_spec_F77='-L$libdir'
   14932       allow_undefined_flag_F77=unsupported
   14933       always_export_symbols_F77=no
   14934       enable_shared_with_static_runtimes_F77=yes
   14935       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   14936 
   14937       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   14938         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14939 	# If the export-symbols file already is a .def file (1st line
   14940 	# is EXPORTS), use it as is; otherwise, prepend...
   14941 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14942 	  cp $export_symbols $output_objdir/$soname.def;
   14943 	else
   14944 	  echo EXPORTS > $output_objdir/$soname.def;
   14945 	  cat $export_symbols >> $output_objdir/$soname.def;
   14946 	fi~
   14947 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14948       else
   14949 	ld_shlibs_F77=no
   14950       fi
   14951       ;;
   14952 
   14953     interix[3-9]*)
   14954       hardcode_direct_F77=no
   14955       hardcode_shlibpath_var_F77=no
   14956       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   14957       export_dynamic_flag_spec_F77='${wl}-E'
   14958       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14959       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14960       # default) and relocated if they conflict, which is a slow very memory
   14961       # consuming and fragmenting process.  To avoid this, we pick a random,
   14962       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14963       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14964       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'
   14965       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'
   14966       ;;
   14967 
   14968     gnu* | linux* | k*bsd*-gnu)
   14969       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   14970 	tmp_addflag=
   14971 	case $cc_basename,$host_cpu in
   14972 	pgcc*)				# Portland Group C compiler
   14973 	  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'
   14974 	  tmp_addflag=' $pic_flag'
   14975 	  ;;
   14976 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   14977 	  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'
   14978 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   14979 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   14980 	  tmp_addflag=' -i_dynamic' ;;
   14981 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   14982 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   14983 	ifc* | ifort*)			# Intel Fortran compiler
   14984 	  tmp_addflag=' -nofor_main' ;;
   14985 	esac
   14986 	case `$CC -V 2>&1 | sed 5q` in
   14987 	*Sun\ C*)			# Sun C 5.9
   14988 	  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'
   14989 	  tmp_sharedflag='-G' ;;
   14990 	*Sun\ F*)			# Sun Fortran 8.3
   14991 	  tmp_sharedflag='-G' ;;
   14992 	*)
   14993 	  tmp_sharedflag='-shared' ;;
   14994 	esac
   14995 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14996 
   14997 	if test $supports_anon_versioning = yes; then
   14998 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
   14999   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15000   $echo "local: *; };" >> $output_objdir/$libname.ver~
   15001 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15002 	fi
   15003       else
   15004 	ld_shlibs_F77=no
   15005       fi
   15006       ;;
   15007 
   15008     netbsd*)
   15009       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15010 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15011 	wlarc=
   15012       else
   15013 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15014 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15015       fi
   15016       ;;
   15017 
   15018     solaris*)
   15019       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   15020 	ld_shlibs_F77=no
   15021 	cat <<EOF 1>&2
   15022 
   15023 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15024 *** create shared libraries on Solaris systems.  Therefore, libtool
   15025 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15026 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15027 *** your PATH or compiler configuration so that the native linker is
   15028 *** used, and then restart.
   15029 
   15030 EOF
   15031       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15032 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15033 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15034       else
   15035 	ld_shlibs_F77=no
   15036       fi
   15037       ;;
   15038 
   15039     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15040       case `$LD -v 2>&1` in
   15041         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15042 	ld_shlibs_F77=no
   15043 	cat <<_LT_EOF 1>&2
   15044 
   15045 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15046 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15047 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15048 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15049 *** your PATH or compiler configuration so that the native linker is
   15050 *** used, and then restart.
   15051 
   15052 _LT_EOF
   15053 	;;
   15054 	*)
   15055 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15056 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   15057 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   15058 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   15059 	  else
   15060 	    ld_shlibs_F77=no
   15061 	  fi
   15062 	;;
   15063       esac
   15064       ;;
   15065 
   15066     sunos4*)
   15067       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15068       wlarc=
   15069       hardcode_direct_F77=yes
   15070       hardcode_shlibpath_var_F77=no
   15071       ;;
   15072 
   15073     *)
   15074       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   15075 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15076 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15077       else
   15078 	ld_shlibs_F77=no
   15079       fi
   15080       ;;
   15081     esac
   15082 
   15083     if test "$ld_shlibs_F77" = no; then
   15084       runpath_var=
   15085       hardcode_libdir_flag_spec_F77=
   15086       export_dynamic_flag_spec_F77=
   15087       whole_archive_flag_spec_F77=
   15088     fi
   15089   else
   15090     # PORTME fill in a description of your system's linker (not GNU ld)
   15091     case $host_os in
   15092     aix3*)
   15093       allow_undefined_flag_F77=unsupported
   15094       always_export_symbols_F77=yes
   15095       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'
   15096       # Note: this linker hardcodes the directories in LIBPATH if there
   15097       # are no directories specified by -L.
   15098       hardcode_minus_L_F77=yes
   15099       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15100 	# Neither direct hardcoding nor static linking is supported with a
   15101 	# broken collect2.
   15102 	hardcode_direct_F77=unsupported
   15103       fi
   15104       ;;
   15105 
   15106     aix[4-9]*)
   15107       if test "$host_cpu" = ia64; then
   15108 	# On IA64, the linker does run time linking by default, so we don't
   15109 	# have to do anything special.
   15110 	aix_use_runtimelinking=no
   15111 	exp_sym_flag='-Bexport'
   15112 	no_entry_flag=""
   15113       else
   15114 	# If we're using GNU nm, then we don't want the "-C" option.
   15115 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15116 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   15117 	  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'
   15118 	else
   15119 	  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'
   15120 	fi
   15121 	aix_use_runtimelinking=no
   15122 
   15123 	# Test if we are trying to use run time linking or normal
   15124 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15125 	# need to do runtime linking.
   15126 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15127 	  for ld_flag in $LDFLAGS; do
   15128   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15129   	    aix_use_runtimelinking=yes
   15130   	    break
   15131   	  fi
   15132 	  done
   15133 	  ;;
   15134 	esac
   15135 
   15136 	exp_sym_flag='-bexport'
   15137 	no_entry_flag='-bnoentry'
   15138       fi
   15139 
   15140       # When large executables or shared objects are built, AIX ld can
   15141       # have problems creating the table of contents.  If linking a library
   15142       # or program results in "error TOC overflow" add -mminimal-toc to
   15143       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15144       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15145 
   15146       archive_cmds_F77=''
   15147       hardcode_direct_F77=yes
   15148       hardcode_libdir_separator_F77=':'
   15149       link_all_deplibs_F77=yes
   15150 
   15151       if test "$GCC" = yes; then
   15152 	case $host_os in aix4.[012]|aix4.[012].*)
   15153 	# We only want to do this on AIX 4.2 and lower, the check
   15154 	# below for broken collect2 doesn't work under 4.3+
   15155 	  collect2name=`${CC} -print-prog-name=collect2`
   15156 	  if test -f "$collect2name" && \
   15157   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   15158 	  then
   15159   	  # We have reworked collect2
   15160   	  :
   15161 	  else
   15162   	  # We have old collect2
   15163   	  hardcode_direct_F77=unsupported
   15164   	  # It fails to find uninstalled libraries when the uninstalled
   15165   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15166   	  # to unsupported forces relinking
   15167   	  hardcode_minus_L_F77=yes
   15168   	  hardcode_libdir_flag_spec_F77='-L$libdir'
   15169   	  hardcode_libdir_separator_F77=
   15170 	  fi
   15171 	  ;;
   15172 	esac
   15173 	shared_flag='-shared'
   15174 	if test "$aix_use_runtimelinking" = yes; then
   15175 	  shared_flag="$shared_flag "'${wl}-G'
   15176 	fi
   15177       else
   15178 	# not using gcc
   15179 	if test "$host_cpu" = ia64; then
   15180   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15181   	# chokes on -Wl,-G. The following line is correct:
   15182 	  shared_flag='-G'
   15183 	else
   15184 	  if test "$aix_use_runtimelinking" = yes; then
   15185 	    shared_flag='${wl}-G'
   15186 	  else
   15187 	    shared_flag='${wl}-bM:SRE'
   15188 	  fi
   15189 	fi
   15190       fi
   15191 
   15192       # It seems that -bexpall does not export symbols beginning with
   15193       # underscore (_), so it is better to generate a list of symbols to export.
   15194       always_export_symbols_F77=yes
   15195       if test "$aix_use_runtimelinking" = yes; then
   15196 	# Warning - without using the other runtime loading flags (-brtl),
   15197 	# -berok will link without error, but may produce a broken library.
   15198 	allow_undefined_flag_F77='-berok'
   15199        # Determine the default libpath from the value encoded in an empty executable.
   15200        cat >conftest.$ac_ext <<_ACEOF
   15201       program main
   15202 
   15203       end
   15204 _ACEOF
   15205 rm -f conftest.$ac_objext conftest$ac_exeext
   15206 if { (ac_try="$ac_link"
   15207 case "(($ac_try" in
   15208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15209   *) ac_try_echo=$ac_try;;
   15210 esac
   15211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15212 $as_echo "$ac_try_echo") >&5
   15213   (eval "$ac_link") 2>conftest.er1
   15214   ac_status=$?
   15215   grep -v '^ *+' conftest.er1 >conftest.err
   15216   rm -f conftest.er1
   15217   cat conftest.err >&5
   15218   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15219   (exit $ac_status); } && {
   15220 	 test -z "$ac_f77_werror_flag" ||
   15221 	 test ! -s conftest.err
   15222        } && test -s conftest$ac_exeext && {
   15223 	 test "$cross_compiling" = yes ||
   15224 	 $as_test_x conftest$ac_exeext
   15225        }; then
   15226 
   15227 lt_aix_libpath_sed='
   15228     /Import File Strings/,/^$/ {
   15229 	/^0/ {
   15230 	    s/^0  *\(.*\)$/\1/
   15231 	    p
   15232 	}
   15233     }'
   15234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15235 # Check for a 64-bit object if we didn't find anything.
   15236 if test -z "$aix_libpath"; then
   15237   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15238 fi
   15239 else
   15240   $as_echo "$as_me: failed program was:" >&5
   15241 sed 's/^/| /' conftest.$ac_ext >&5
   15242 
   15243 
   15244 fi
   15245 
   15246 rm -rf conftest.dSYM
   15247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15248       conftest$ac_exeext conftest.$ac_ext
   15249 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15250 
   15251        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15252 	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"
   15253        else
   15254 	if test "$host_cpu" = ia64; then
   15255 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
   15256 	  allow_undefined_flag_F77="-z nodefs"
   15257 	  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"
   15258 	else
   15259 	 # Determine the default libpath from the value encoded in an empty executable.
   15260 	 cat >conftest.$ac_ext <<_ACEOF
   15261       program main
   15262 
   15263       end
   15264 _ACEOF
   15265 rm -f conftest.$ac_objext conftest$ac_exeext
   15266 if { (ac_try="$ac_link"
   15267 case "(($ac_try" in
   15268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   15269   *) ac_try_echo=$ac_try;;
   15270 esac
   15271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   15272 $as_echo "$ac_try_echo") >&5
   15273   (eval "$ac_link") 2>conftest.er1
   15274   ac_status=$?
   15275   grep -v '^ *+' conftest.er1 >conftest.err
   15276   rm -f conftest.er1
   15277   cat conftest.err >&5
   15278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15279   (exit $ac_status); } && {
   15280 	 test -z "$ac_f77_werror_flag" ||
   15281 	 test ! -s conftest.err
   15282        } && test -s conftest$ac_exeext && {
   15283 	 test "$cross_compiling" = yes ||
   15284 	 $as_test_x conftest$ac_exeext
   15285        }; then
   15286 
   15287 lt_aix_libpath_sed='
   15288     /Import File Strings/,/^$/ {
   15289 	/^0/ {
   15290 	    s/^0  *\(.*\)$/\1/
   15291 	    p
   15292 	}
   15293     }'
   15294 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15295 # Check for a 64-bit object if we didn't find anything.
   15296 if test -z "$aix_libpath"; then
   15297   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15298 fi
   15299 else
   15300   $as_echo "$as_me: failed program was:" >&5
   15301 sed 's/^/| /' conftest.$ac_ext >&5
   15302 
   15303 
   15304 fi
   15305 
   15306 rm -rf conftest.dSYM
   15307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   15308       conftest$ac_exeext conftest.$ac_ext
   15309 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   15310 
   15311 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
   15312 	  # Warning - without using the other run time loading flags,
   15313 	  # -berok will link without error, but may produce a broken library.
   15314 	  no_undefined_flag_F77=' ${wl}-bernotok'
   15315 	  allow_undefined_flag_F77=' ${wl}-berok'
   15316 	  # Exported symbols can be pulled into shared objects from archives
   15317 	  whole_archive_flag_spec_F77='$convenience'
   15318 	  archive_cmds_need_lc_F77=yes
   15319 	  # This is similar to how AIX traditionally builds its shared libraries.
   15320 	  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'
   15321 	fi
   15322       fi
   15323       ;;
   15324 
   15325     amigaos*)
   15326       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)'
   15327       hardcode_libdir_flag_spec_F77='-L$libdir'
   15328       hardcode_minus_L_F77=yes
   15329       # see comment about different semantics on the GNU ld section
   15330       ld_shlibs_F77=no
   15331       ;;
   15332 
   15333     bsdi[45]*)
   15334       export_dynamic_flag_spec_F77=-rdynamic
   15335       ;;
   15336 
   15337     cygwin* | mingw* | pw32*)
   15338       # When not using gcc, we currently assume that we are using
   15339       # Microsoft Visual C++.
   15340       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15341       # no search path for DLLs.
   15342       hardcode_libdir_flag_spec_F77=' '
   15343       allow_undefined_flag_F77=unsupported
   15344       # Tell ltmain to make .lib files, not .a files.
   15345       libext=lib
   15346       # Tell ltmain to make .dll files, not .so files.
   15347       shrext_cmds=".dll"
   15348       # FIXME: Setting linknames here is a bad hack.
   15349       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   15350       # The linker will automatically build a .lib file if we build a DLL.
   15351       old_archive_From_new_cmds_F77='true'
   15352       # FIXME: Should let the user specify the lib program.
   15353       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15354       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
   15355       enable_shared_with_static_runtimes_F77=yes
   15356       ;;
   15357 
   15358     darwin* | rhapsody*)
   15359       case $host_os in
   15360         rhapsody* | darwin1.[012])
   15361          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
   15362          ;;
   15363        *) # Darwin 1.3 on
   15364          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   15365            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15366          else
   15367            case ${MACOSX_DEPLOYMENT_TARGET} in
   15368              10.[012])
   15369                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   15370                ;;
   15371              10.*)
   15372                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
   15373                ;;
   15374            esac
   15375          fi
   15376          ;;
   15377       esac
   15378       archive_cmds_need_lc_F77=no
   15379       hardcode_direct_F77=no
   15380       hardcode_automatic_F77=yes
   15381       hardcode_shlibpath_var_F77=unsupported
   15382       whole_archive_flag_spec_F77=''
   15383       link_all_deplibs_F77=yes
   15384     if test "$GCC" = yes ; then
   15385     	output_verbose_link_cmd='echo'
   15386         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}"
   15387         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15388         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}"
   15389         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}"
   15390     else
   15391       case $cc_basename in
   15392         xlc*)
   15393          output_verbose_link_cmd='echo'
   15394          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   15395          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   15396           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   15397          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}'
   15398           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}'
   15399           ;;
   15400        *)
   15401          ld_shlibs_F77=no
   15402           ;;
   15403       esac
   15404     fi
   15405       ;;
   15406 
   15407     dgux*)
   15408       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15409       hardcode_libdir_flag_spec_F77='-L$libdir'
   15410       hardcode_shlibpath_var_F77=no
   15411       ;;
   15412 
   15413     freebsd1*)
   15414       ld_shlibs_F77=no
   15415       ;;
   15416 
   15417     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15418     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15419     # does not break anything, and helps significantly (at the cost of a little
   15420     # extra space).
   15421     freebsd2.2*)
   15422       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15423       hardcode_libdir_flag_spec_F77='-R$libdir'
   15424       hardcode_direct_F77=yes
   15425       hardcode_shlibpath_var_F77=no
   15426       ;;
   15427 
   15428     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15429     freebsd2*)
   15430       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15431       hardcode_direct_F77=yes
   15432       hardcode_minus_L_F77=yes
   15433       hardcode_shlibpath_var_F77=no
   15434       ;;
   15435 
   15436     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15437     freebsd* | dragonfly*)
   15438       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   15439       hardcode_libdir_flag_spec_F77='-R$libdir'
   15440       hardcode_direct_F77=yes
   15441       hardcode_shlibpath_var_F77=no
   15442       ;;
   15443 
   15444     hpux9*)
   15445       if test "$GCC" = yes; then
   15446 	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'
   15447       else
   15448 	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'
   15449       fi
   15450       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15451       hardcode_libdir_separator_F77=:
   15452       hardcode_direct_F77=yes
   15453 
   15454       # hardcode_minus_L: Not really in the search PATH,
   15455       # but as the default location of the library.
   15456       hardcode_minus_L_F77=yes
   15457       export_dynamic_flag_spec_F77='${wl}-E'
   15458       ;;
   15459 
   15460     hpux10*)
   15461       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15462 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15463       else
   15464 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15465       fi
   15466       if test "$with_gnu_ld" = no; then
   15467 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15468 	hardcode_libdir_separator_F77=:
   15469 
   15470 	hardcode_direct_F77=yes
   15471 	export_dynamic_flag_spec_F77='${wl}-E'
   15472 
   15473 	# hardcode_minus_L: Not really in the search PATH,
   15474 	# but as the default location of the library.
   15475 	hardcode_minus_L_F77=yes
   15476       fi
   15477       ;;
   15478 
   15479     hpux11*)
   15480       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   15481 	case $host_cpu in
   15482 	hppa*64*)
   15483 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15484 	  ;;
   15485 	ia64*)
   15486 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15487 	  ;;
   15488 	*)
   15489 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15490 	  ;;
   15491 	esac
   15492       else
   15493 	case $host_cpu in
   15494 	hppa*64*)
   15495 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15496 	  ;;
   15497 	ia64*)
   15498 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15499 	  ;;
   15500 	*)
   15501 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15502 	  ;;
   15503 	esac
   15504       fi
   15505       if test "$with_gnu_ld" = no; then
   15506 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
   15507 	hardcode_libdir_separator_F77=:
   15508 
   15509 	case $host_cpu in
   15510 	hppa*64*|ia64*)
   15511 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
   15512 	  hardcode_direct_F77=no
   15513 	  hardcode_shlibpath_var_F77=no
   15514 	  ;;
   15515 	*)
   15516 	  hardcode_direct_F77=yes
   15517 	  export_dynamic_flag_spec_F77='${wl}-E'
   15518 
   15519 	  # hardcode_minus_L: Not really in the search PATH,
   15520 	  # but as the default location of the library.
   15521 	  hardcode_minus_L_F77=yes
   15522 	  ;;
   15523 	esac
   15524       fi
   15525       ;;
   15526 
   15527     irix5* | irix6* | nonstopux*)
   15528       if test "$GCC" = yes; then
   15529 	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'
   15530       else
   15531 	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'
   15532 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
   15533       fi
   15534       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15535       hardcode_libdir_separator_F77=:
   15536       link_all_deplibs_F77=yes
   15537       ;;
   15538 
   15539     netbsd*)
   15540       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   15541 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15542       else
   15543 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15544       fi
   15545       hardcode_libdir_flag_spec_F77='-R$libdir'
   15546       hardcode_direct_F77=yes
   15547       hardcode_shlibpath_var_F77=no
   15548       ;;
   15549 
   15550     newsos6)
   15551       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15552       hardcode_direct_F77=yes
   15553       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15554       hardcode_libdir_separator_F77=:
   15555       hardcode_shlibpath_var_F77=no
   15556       ;;
   15557 
   15558     openbsd*)
   15559       if test -f /usr/libexec/ld.so; then
   15560 	hardcode_direct_F77=yes
   15561 	hardcode_shlibpath_var_F77=no
   15562 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15563 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15564 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15565 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15566 	  export_dynamic_flag_spec_F77='${wl}-E'
   15567 	else
   15568 	  case $host_os in
   15569 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15570 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15571 	     hardcode_libdir_flag_spec_F77='-R$libdir'
   15572 	     ;;
   15573 	   *)
   15574 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15575 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
   15576 	     ;;
   15577 	  esac
   15578         fi
   15579       else
   15580 	ld_shlibs_F77=no
   15581       fi
   15582       ;;
   15583 
   15584     os2*)
   15585       hardcode_libdir_flag_spec_F77='-L$libdir'
   15586       hardcode_minus_L_F77=yes
   15587       allow_undefined_flag_F77=unsupported
   15588       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'
   15589       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15590       ;;
   15591 
   15592     osf3*)
   15593       if test "$GCC" = yes; then
   15594 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15595 	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'
   15596       else
   15597 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15598 	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'
   15599       fi
   15600       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15601       hardcode_libdir_separator_F77=:
   15602       ;;
   15603 
   15604     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15605       if test "$GCC" = yes; then
   15606 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
   15607 	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'
   15608 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
   15609       else
   15610 	allow_undefined_flag_F77=' -expect_unresolved \*'
   15611 	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'
   15612 	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~
   15613 	$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'
   15614 
   15615 	# Both c and cxx compiler support -rpath directly
   15616 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
   15617       fi
   15618       hardcode_libdir_separator_F77=:
   15619       ;;
   15620 
   15621     solaris*)
   15622       no_undefined_flag_F77=' -z text'
   15623       if test "$GCC" = yes; then
   15624 	wlarc='${wl}'
   15625 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15626 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15627 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   15628       else
   15629 	wlarc=''
   15630 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15631 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   15632   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   15633       fi
   15634       hardcode_libdir_flag_spec_F77='-R$libdir'
   15635       hardcode_shlibpath_var_F77=no
   15636       case $host_os in
   15637       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15638       *)
   15639 	# The compiler driver will combine and reorder linker options,
   15640 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15641 	# but is careful enough not to reorder.
   15642  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15643 	if test "$GCC" = yes; then
   15644 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15645 	else
   15646 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
   15647 	fi
   15648 	;;
   15649       esac
   15650       link_all_deplibs_F77=yes
   15651       ;;
   15652 
   15653     sunos4*)
   15654       if test "x$host_vendor" = xsequent; then
   15655 	# Use $CC to link under sequent, because it throws in some extra .o
   15656 	# files that make .init and .fini sections work.
   15657 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15658       else
   15659 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15660       fi
   15661       hardcode_libdir_flag_spec_F77='-L$libdir'
   15662       hardcode_direct_F77=yes
   15663       hardcode_minus_L_F77=yes
   15664       hardcode_shlibpath_var_F77=no
   15665       ;;
   15666 
   15667     sysv4)
   15668       case $host_vendor in
   15669 	sni)
   15670 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15671 	  hardcode_direct_F77=yes # is this really true???
   15672 	;;
   15673 	siemens)
   15674 	  ## LD is ld it makes a PLAMLIB
   15675 	  ## CC just makes a GrossModule.
   15676 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15677 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
   15678 	  hardcode_direct_F77=no
   15679         ;;
   15680 	motorola)
   15681 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15682 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
   15683 	;;
   15684       esac
   15685       runpath_var='LD_RUN_PATH'
   15686       hardcode_shlibpath_var_F77=no
   15687       ;;
   15688 
   15689     sysv4.3*)
   15690       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15691       hardcode_shlibpath_var_F77=no
   15692       export_dynamic_flag_spec_F77='-Bexport'
   15693       ;;
   15694 
   15695     sysv4*MP*)
   15696       if test -d /usr/nec; then
   15697 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15698 	hardcode_shlibpath_var_F77=no
   15699 	runpath_var=LD_RUN_PATH
   15700 	hardcode_runpath_var=yes
   15701 	ld_shlibs_F77=yes
   15702       fi
   15703       ;;
   15704 
   15705     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15706       no_undefined_flag_F77='${wl}-z,text'
   15707       archive_cmds_need_lc_F77=no
   15708       hardcode_shlibpath_var_F77=no
   15709       runpath_var='LD_RUN_PATH'
   15710 
   15711       if test "$GCC" = yes; then
   15712 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15713 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15714       else
   15715 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15716 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15717       fi
   15718       ;;
   15719 
   15720     sysv5* | sco3.2v5* | sco5v6*)
   15721       # Note: We can NOT use -z defs as we might desire, because we do not
   15722       # link with -lc, and that would cause any symbols used from libc to
   15723       # always be unresolved, which means just about no library would
   15724       # ever link correctly.  If we're not using GNU ld we use -z text
   15725       # though, which does catch some bad symbols but isn't as heavy-handed
   15726       # as -z defs.
   15727       no_undefined_flag_F77='${wl}-z,text'
   15728       allow_undefined_flag_F77='${wl}-z,nodefs'
   15729       archive_cmds_need_lc_F77=no
   15730       hardcode_shlibpath_var_F77=no
   15731       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   15732       hardcode_libdir_separator_F77=':'
   15733       link_all_deplibs_F77=yes
   15734       export_dynamic_flag_spec_F77='${wl}-Bexport'
   15735       runpath_var='LD_RUN_PATH'
   15736 
   15737       if test "$GCC" = yes; then
   15738 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15739 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15740       else
   15741 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15742 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15743       fi
   15744       ;;
   15745 
   15746     uts4*)
   15747       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15748       hardcode_libdir_flag_spec_F77='-L$libdir'
   15749       hardcode_shlibpath_var_F77=no
   15750       ;;
   15751 
   15752     *)
   15753       ld_shlibs_F77=no
   15754       ;;
   15755     esac
   15756   fi
   15757 
   15758 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
   15759 $as_echo "$ld_shlibs_F77" >&6; }
   15760 test "$ld_shlibs_F77" = no && can_build_shared=no
   15761 
   15762 #
   15763 # Do we need to explicitly link libc?
   15764 #
   15765 case "x$archive_cmds_need_lc_F77" in
   15766 x|xyes)
   15767   # Assume -lc should be added
   15768   archive_cmds_need_lc_F77=yes
   15769 
   15770   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15771     case $archive_cmds_F77 in
   15772     *'~'*)
   15773       # FIXME: we may have to deal with multi-command sequences.
   15774       ;;
   15775     '$CC '*)
   15776       # Test whether the compiler implicitly links with -lc since on some
   15777       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15778       # to ld, don't add -lc before -lgcc.
   15779       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   15780 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15781       $rm conftest*
   15782       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15783 
   15784       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15785   (eval $ac_compile) 2>&5
   15786   ac_status=$?
   15787   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15788   (exit $ac_status); } 2>conftest.err; then
   15789         soname=conftest
   15790         lib=conftest
   15791         libobjs=conftest.$ac_objext
   15792         deplibs=
   15793         wl=$lt_prog_compiler_wl_F77
   15794 	pic_flag=$lt_prog_compiler_pic_F77
   15795         compiler_flags=-v
   15796         linker_flags=-v
   15797         verstring=
   15798         output_objdir=.
   15799         libname=conftest
   15800         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
   15801         allow_undefined_flag_F77=
   15802         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   15803   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15804   ac_status=$?
   15805   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15806   (exit $ac_status); }
   15807         then
   15808 	  archive_cmds_need_lc_F77=no
   15809         else
   15810 	  archive_cmds_need_lc_F77=yes
   15811         fi
   15812         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
   15813       else
   15814         cat conftest.err 1>&5
   15815       fi
   15816       $rm conftest*
   15817       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
   15818 $as_echo "$archive_cmds_need_lc_F77" >&6; }
   15819       ;;
   15820     esac
   15821   fi
   15822   ;;
   15823 esac
   15824 
   15825 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   15826 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15827 library_names_spec=
   15828 libname_spec='lib$name'
   15829 soname_spec=
   15830 shrext_cmds=".so"
   15831 postinstall_cmds=
   15832 postuninstall_cmds=
   15833 finish_cmds=
   15834 finish_eval=
   15835 shlibpath_var=
   15836 shlibpath_overrides_runpath=unknown
   15837 version_type=none
   15838 dynamic_linker="$host_os ld.so"
   15839 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15840 
   15841 need_lib_prefix=unknown
   15842 hardcode_into_libs=no
   15843 
   15844 # when you set need_version to no, make sure it does not cause -set_version
   15845 # flags to be left without arguments
   15846 need_version=unknown
   15847 
   15848 case $host_os in
   15849 aix3*)
   15850   version_type=linux
   15851   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15852   shlibpath_var=LIBPATH
   15853 
   15854   # AIX 3 has no versioning support, so we append a major version to the name.
   15855   soname_spec='${libname}${release}${shared_ext}$major'
   15856   ;;
   15857 
   15858 aix[4-9]*)
   15859   version_type=linux
   15860   need_lib_prefix=no
   15861   need_version=no
   15862   hardcode_into_libs=yes
   15863   if test "$host_cpu" = ia64; then
   15864     # AIX 5 supports IA64
   15865     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15866     shlibpath_var=LD_LIBRARY_PATH
   15867   else
   15868     # With GCC up to 2.95.x, collect2 would create an import file
   15869     # for dependence libraries.  The import file would start with
   15870     # the line `#! .'.  This would cause the generated library to
   15871     # depend on `.', always an invalid library.  This was fixed in
   15872     # development snapshots of GCC prior to 3.0.
   15873     case $host_os in
   15874       aix4 | aix4.[01] | aix4.[01].*)
   15875       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15876 	   echo ' yes '
   15877 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   15878 	:
   15879       else
   15880 	can_build_shared=no
   15881       fi
   15882       ;;
   15883     esac
   15884     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15885     # soname into executable. Probably we can add versioning support to
   15886     # collect2, so additional links can be useful in future.
   15887     if test "$aix_use_runtimelinking" = yes; then
   15888       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15889       # instead of lib<name>.a to let people know that these are not
   15890       # typical AIX shared libraries.
   15891       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15892     else
   15893       # We preserve .a as extension for shared libraries through AIX4.2
   15894       # and later when we are not doing run time linking.
   15895       library_names_spec='${libname}${release}.a $libname.a'
   15896       soname_spec='${libname}${release}${shared_ext}$major'
   15897     fi
   15898     shlibpath_var=LIBPATH
   15899   fi
   15900   ;;
   15901 
   15902 amigaos*)
   15903   library_names_spec='$libname.ixlibrary $libname.a'
   15904   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15905   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'
   15906   ;;
   15907 
   15908 beos*)
   15909   library_names_spec='${libname}${shared_ext}'
   15910   dynamic_linker="$host_os ld.so"
   15911   shlibpath_var=LIBRARY_PATH
   15912   ;;
   15913 
   15914 bsdi[45]*)
   15915   version_type=linux
   15916   need_version=no
   15917   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15918   soname_spec='${libname}${release}${shared_ext}$major'
   15919   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15920   shlibpath_var=LD_LIBRARY_PATH
   15921   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15922   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15923   # the default ld.so.conf also contains /usr/contrib/lib and
   15924   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15925   # libtool to hard-code these into programs
   15926   ;;
   15927 
   15928 cygwin* | mingw* | pw32*)
   15929   version_type=windows
   15930   shrext_cmds=".dll"
   15931   need_version=no
   15932   need_lib_prefix=no
   15933 
   15934   case $GCC,$host_os in
   15935   yes,cygwin* | yes,mingw* | yes,pw32*)
   15936     library_names_spec='$libname.dll.a'
   15937     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15938     postinstall_cmds='base_file=`basename \${file}`~
   15939       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   15940       dldir=$destdir/`dirname \$dlpath`~
   15941       test -d \$dldir || mkdir -p \$dldir~
   15942       $install_prog $dir/$dlname \$dldir/$dlname~
   15943       chmod a+x \$dldir/$dlname'
   15944     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15945       dlpath=$dir/\$dldll~
   15946        $rm \$dlpath'
   15947     shlibpath_overrides_runpath=yes
   15948 
   15949     case $host_os in
   15950     cygwin*)
   15951       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15952       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15953       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   15954       ;;
   15955     mingw*)
   15956       # MinGW DLLs use traditional 'lib' prefix
   15957       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15958       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   15959       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   15960         # It is most probably a Windows format PATH printed by
   15961         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   15962         # path with ; separators, and with drive letters. We can handle the
   15963         # drive letters (cygwin fileutils understands them), so leave them,
   15964         # especially as we might pass files found there to a mingw objdump,
   15965         # which wouldn't understand a cygwinified path. Ahh.
   15966         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   15967       else
   15968         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   15969       fi
   15970       ;;
   15971     pw32*)
   15972       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15973       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15974       ;;
   15975     esac
   15976     ;;
   15977 
   15978   *)
   15979     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15980     ;;
   15981   esac
   15982   dynamic_linker='Win32 ld.exe'
   15983   # FIXME: first we should search . and the directory the executable is in
   15984   shlibpath_var=PATH
   15985   ;;
   15986 
   15987 darwin* | rhapsody*)
   15988   dynamic_linker="$host_os dyld"
   15989   version_type=darwin
   15990   need_lib_prefix=no
   15991   need_version=no
   15992   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15993   soname_spec='${libname}${release}${major}$shared_ext'
   15994   shlibpath_overrides_runpath=yes
   15995   shlibpath_var=DYLD_LIBRARY_PATH
   15996   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15997 
   15998   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15999   ;;
   16000 
   16001 dgux*)
   16002   version_type=linux
   16003   need_lib_prefix=no
   16004   need_version=no
   16005   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16006   soname_spec='${libname}${release}${shared_ext}$major'
   16007   shlibpath_var=LD_LIBRARY_PATH
   16008   ;;
   16009 
   16010 freebsd1*)
   16011   dynamic_linker=no
   16012   ;;
   16013 
   16014 freebsd* | dragonfly*)
   16015   # DragonFly does not have aout.  When/if they implement a new
   16016   # versioning mechanism, adjust this.
   16017   if test -x /usr/bin/objformat; then
   16018     objformat=`/usr/bin/objformat`
   16019   else
   16020     case $host_os in
   16021     freebsd[123]*) objformat=aout ;;
   16022     *) objformat=elf ;;
   16023     esac
   16024   fi
   16025   version_type=freebsd-$objformat
   16026   case $version_type in
   16027     freebsd-elf*)
   16028       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16029       need_version=no
   16030       need_lib_prefix=no
   16031       ;;
   16032     freebsd-*)
   16033       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16034       need_version=yes
   16035       ;;
   16036   esac
   16037   shlibpath_var=LD_LIBRARY_PATH
   16038   case $host_os in
   16039   freebsd2*)
   16040     shlibpath_overrides_runpath=yes
   16041     ;;
   16042   freebsd3.[01]* | freebsdelf3.[01]*)
   16043     shlibpath_overrides_runpath=yes
   16044     hardcode_into_libs=yes
   16045     ;;
   16046   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16047   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16048     shlibpath_overrides_runpath=no
   16049     hardcode_into_libs=yes
   16050     ;;
   16051   *) # from 4.6 on, and DragonFly
   16052     shlibpath_overrides_runpath=yes
   16053     hardcode_into_libs=yes
   16054     ;;
   16055   esac
   16056   ;;
   16057 
   16058 gnu*)
   16059   version_type=linux
   16060   need_lib_prefix=no
   16061   need_version=no
   16062   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16063   soname_spec='${libname}${release}${shared_ext}$major'
   16064   shlibpath_var=LD_LIBRARY_PATH
   16065   hardcode_into_libs=yes
   16066   ;;
   16067 
   16068 hpux9* | hpux10* | hpux11*)
   16069   # Give a soname corresponding to the major version so that dld.sl refuses to
   16070   # link against other versions.
   16071   version_type=sunos
   16072   need_lib_prefix=no
   16073   need_version=no
   16074   case $host_cpu in
   16075   ia64*)
   16076     shrext_cmds='.so'
   16077     hardcode_into_libs=yes
   16078     dynamic_linker="$host_os dld.so"
   16079     shlibpath_var=LD_LIBRARY_PATH
   16080     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16081     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16082     soname_spec='${libname}${release}${shared_ext}$major'
   16083     if test "X$HPUX_IA64_MODE" = X32; then
   16084       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16085     else
   16086       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16087     fi
   16088     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16089     ;;
   16090    hppa*64*)
   16091      shrext_cmds='.sl'
   16092      hardcode_into_libs=yes
   16093      dynamic_linker="$host_os dld.sl"
   16094      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16095      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16096      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16097      soname_spec='${libname}${release}${shared_ext}$major'
   16098      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16099      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16100      ;;
   16101    *)
   16102     shrext_cmds='.sl'
   16103     dynamic_linker="$host_os dld.sl"
   16104     shlibpath_var=SHLIB_PATH
   16105     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16106     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16107     soname_spec='${libname}${release}${shared_ext}$major'
   16108     ;;
   16109   esac
   16110   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   16111   postinstall_cmds='chmod 555 $lib'
   16112   ;;
   16113 
   16114 interix[3-9]*)
   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   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16121   shlibpath_var=LD_LIBRARY_PATH
   16122   shlibpath_overrides_runpath=no
   16123   hardcode_into_libs=yes
   16124   ;;
   16125 
   16126 irix5* | irix6* | nonstopux*)
   16127   case $host_os in
   16128     nonstopux*) version_type=nonstopux ;;
   16129     *)
   16130 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16131 		version_type=linux
   16132 	else
   16133 		version_type=irix
   16134 	fi ;;
   16135   esac
   16136   need_lib_prefix=no
   16137   need_version=no
   16138   soname_spec='${libname}${release}${shared_ext}$major'
   16139   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16140   case $host_os in
   16141   irix5* | nonstopux*)
   16142     libsuff= shlibsuff=
   16143     ;;
   16144   *)
   16145     case $LD in # libtool.m4 will add one of these switches to LD
   16146     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16147       libsuff= shlibsuff= libmagic=32-bit;;
   16148     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16149       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16150     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16151       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16152     *) libsuff= shlibsuff= libmagic=never-match;;
   16153     esac
   16154     ;;
   16155   esac
   16156   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16157   shlibpath_overrides_runpath=no
   16158   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16159   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16160   hardcode_into_libs=yes
   16161   ;;
   16162 
   16163 # No shared lib support for Linux oldld, aout, or coff.
   16164 linux*oldld* | linux*aout* | linux*coff*)
   16165   dynamic_linker=no
   16166   ;;
   16167 
   16168 # This must be Linux ELF.
   16169 linux* | k*bsd*-gnu)
   16170   version_type=linux
   16171   need_lib_prefix=no
   16172   need_version=no
   16173   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16174   soname_spec='${libname}${release}${shared_ext}$major'
   16175   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16176   shlibpath_var=LD_LIBRARY_PATH
   16177   shlibpath_overrides_runpath=no
   16178   # This implies no fast_install, which is unacceptable.
   16179   # Some rework will be needed to allow for fast_install
   16180   # before this can be enabled.
   16181   hardcode_into_libs=yes
   16182 
   16183   # Append ld.so.conf contents to the search path
   16184   if test -f /etc/ld.so.conf; then
   16185     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' ' '`
   16186     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16187   fi
   16188 
   16189   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16190   # powerpc, because MkLinux only supported shared libraries with the
   16191   # GNU dynamic linker.  Since this was broken with cross compilers,
   16192   # most powerpc-linux boxes support dynamic linking these days and
   16193   # people can always --disable-shared, the test was removed, and we
   16194   # assume the GNU/Linux dynamic linker is in use.
   16195   dynamic_linker='GNU/Linux ld.so'
   16196   ;;
   16197 
   16198 netbsd*)
   16199   version_type=sunos
   16200   need_lib_prefix=no
   16201   need_version=no
   16202   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   16203     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16204     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16205     dynamic_linker='NetBSD (a.out) ld.so'
   16206   else
   16207     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16208     soname_spec='${libname}${release}${shared_ext}$major'
   16209     dynamic_linker='NetBSD ld.elf_so'
   16210   fi
   16211   shlibpath_var=LD_LIBRARY_PATH
   16212   shlibpath_overrides_runpath=yes
   16213   hardcode_into_libs=yes
   16214   ;;
   16215 
   16216 newsos6)
   16217   version_type=linux
   16218   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16219   shlibpath_var=LD_LIBRARY_PATH
   16220   shlibpath_overrides_runpath=yes
   16221   ;;
   16222 
   16223 nto-qnx*)
   16224   version_type=linux
   16225   need_lib_prefix=no
   16226   need_version=no
   16227   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16228   soname_spec='${libname}${release}${shared_ext}$major'
   16229   shlibpath_var=LD_LIBRARY_PATH
   16230   shlibpath_overrides_runpath=yes
   16231   ;;
   16232 
   16233 openbsd*)
   16234   version_type=sunos
   16235   sys_lib_dlsearch_path_spec="/usr/lib"
   16236   need_lib_prefix=no
   16237   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16238   case $host_os in
   16239     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   16240     *)                         need_version=no  ;;
   16241   esac
   16242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16243   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16244   shlibpath_var=LD_LIBRARY_PATH
   16245   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16246     case $host_os in
   16247       openbsd2.[89] | openbsd2.[89].*)
   16248 	shlibpath_overrides_runpath=no
   16249 	;;
   16250       *)
   16251 	shlibpath_overrides_runpath=yes
   16252 	;;
   16253       esac
   16254   else
   16255     shlibpath_overrides_runpath=yes
   16256   fi
   16257   ;;
   16258 
   16259 os2*)
   16260   libname_spec='$name'
   16261   shrext_cmds=".dll"
   16262   need_lib_prefix=no
   16263   library_names_spec='$libname${shared_ext} $libname.a'
   16264   dynamic_linker='OS/2 ld.exe'
   16265   shlibpath_var=LIBPATH
   16266   ;;
   16267 
   16268 osf3* | osf4* | osf5*)
   16269   version_type=osf
   16270   need_lib_prefix=no
   16271   need_version=no
   16272   soname_spec='${libname}${release}${shared_ext}$major'
   16273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16274   shlibpath_var=LD_LIBRARY_PATH
   16275   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16276   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16277   ;;
   16278 
   16279 rdos*)
   16280   dynamic_linker=no
   16281   ;;
   16282 
   16283 solaris*)
   16284   version_type=linux
   16285   need_lib_prefix=no
   16286   need_version=no
   16287   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16288   soname_spec='${libname}${release}${shared_ext}$major'
   16289   shlibpath_var=LD_LIBRARY_PATH
   16290   shlibpath_overrides_runpath=yes
   16291   hardcode_into_libs=yes
   16292   # ldd complains unless libraries are executable
   16293   postinstall_cmds='chmod +x $lib'
   16294   ;;
   16295 
   16296 sunos4*)
   16297   version_type=sunos
   16298   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16299   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16300   shlibpath_var=LD_LIBRARY_PATH
   16301   shlibpath_overrides_runpath=yes
   16302   if test "$with_gnu_ld" = yes; then
   16303     need_lib_prefix=no
   16304   fi
   16305   need_version=yes
   16306   ;;
   16307 
   16308 sysv4 | sysv4.3*)
   16309   version_type=linux
   16310   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16311   soname_spec='${libname}${release}${shared_ext}$major'
   16312   shlibpath_var=LD_LIBRARY_PATH
   16313   case $host_vendor in
   16314     sni)
   16315       shlibpath_overrides_runpath=no
   16316       need_lib_prefix=no
   16317       export_dynamic_flag_spec='${wl}-Blargedynsym'
   16318       runpath_var=LD_RUN_PATH
   16319       ;;
   16320     siemens)
   16321       need_lib_prefix=no
   16322       ;;
   16323     motorola)
   16324       need_lib_prefix=no
   16325       need_version=no
   16326       shlibpath_overrides_runpath=no
   16327       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16328       ;;
   16329   esac
   16330   ;;
   16331 
   16332 sysv4*MP*)
   16333   if test -d /usr/nec ;then
   16334     version_type=linux
   16335     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16336     soname_spec='$libname${shared_ext}.$major'
   16337     shlibpath_var=LD_LIBRARY_PATH
   16338   fi
   16339   ;;
   16340 
   16341 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16342   version_type=freebsd-elf
   16343   need_lib_prefix=no
   16344   need_version=no
   16345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16346   soname_spec='${libname}${release}${shared_ext}$major'
   16347   shlibpath_var=LD_LIBRARY_PATH
   16348   hardcode_into_libs=yes
   16349   if test "$with_gnu_ld" = yes; then
   16350     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16351     shlibpath_overrides_runpath=no
   16352   else
   16353     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16354     shlibpath_overrides_runpath=yes
   16355     case $host_os in
   16356       sco3.2v5*)
   16357         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16358 	;;
   16359     esac
   16360   fi
   16361   sys_lib_dlsearch_path_spec='/usr/lib'
   16362   ;;
   16363 
   16364 uts4*)
   16365   version_type=linux
   16366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16367   soname_spec='${libname}${release}${shared_ext}$major'
   16368   shlibpath_var=LD_LIBRARY_PATH
   16369   ;;
   16370 
   16371 *)
   16372   dynamic_linker=no
   16373   ;;
   16374 esac
   16375 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   16376 $as_echo "$dynamic_linker" >&6; }
   16377 test "$dynamic_linker" = no && can_build_shared=no
   16378 
   16379 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16380   $as_echo_n "(cached) " >&6
   16381 else
   16382   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   16383 fi
   16384 
   16385 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16386 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16387   $as_echo_n "(cached) " >&6
   16388 else
   16389   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   16390 fi
   16391 
   16392 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16393 
   16394 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16395 if test "$GCC" = yes; then
   16396   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16397 fi
   16398 
   16399 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   16400 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   16401 hardcode_action_F77=
   16402 if test -n "$hardcode_libdir_flag_spec_F77" || \
   16403    test -n "$runpath_var_F77" || \
   16404    test "X$hardcode_automatic_F77" = "Xyes" ; then
   16405 
   16406   # We can hardcode non-existant directories.
   16407   if test "$hardcode_direct_F77" != no &&
   16408      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   16409      # have to relink, otherwise we might link with an installed library
   16410      # when we should be linking with a yet-to-be-installed one
   16411      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
   16412      test "$hardcode_minus_L_F77" != no; then
   16413     # Linking always hardcodes the temporary library directory.
   16414     hardcode_action_F77=relink
   16415   else
   16416     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   16417     hardcode_action_F77=immediate
   16418   fi
   16419 else
   16420   # We cannot hardcode anything, or else we can only hardcode existing
   16421   # directories.
   16422   hardcode_action_F77=unsupported
   16423 fi
   16424 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
   16425 $as_echo "$hardcode_action_F77" >&6; }
   16426 
   16427 if test "$hardcode_action_F77" = relink; then
   16428   # Fast installation is not supported
   16429   enable_fast_install=no
   16430 elif test "$shlibpath_overrides_runpath" = yes ||
   16431      test "$enable_shared" = no; then
   16432   # Fast installation is not necessary
   16433   enable_fast_install=needless
   16434 fi
   16435 
   16436 
   16437 # The else clause should only fire when bootstrapping the
   16438 # libtool distribution, otherwise you forgot to ship ltmain.sh
   16439 # with your package, and you will get complaints that there are
   16440 # no rules to generate ltmain.sh.
   16441 if test -f "$ltmain"; then
   16442   # See if we are running on zsh, and set the options which allow our commands through
   16443   # without removal of \ escapes.
   16444   if test -n "${ZSH_VERSION+set}" ; then
   16445     setopt NO_GLOB_SUBST
   16446   fi
   16447   # Now quote all the things that may contain metacharacters while being
   16448   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   16449   # variables and quote the copies for generation of the libtool script.
   16450   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   16451     SED SHELL STRIP \
   16452     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   16453     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   16454     deplibs_check_method reload_flag reload_cmds need_locks \
   16455     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   16456     lt_cv_sys_global_symbol_to_c_name_address \
   16457     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   16458     old_postinstall_cmds old_postuninstall_cmds \
   16459     compiler_F77 \
   16460     CC_F77 \
   16461     LD_F77 \
   16462     lt_prog_compiler_wl_F77 \
   16463     lt_prog_compiler_pic_F77 \
   16464     lt_prog_compiler_static_F77 \
   16465     lt_prog_compiler_no_builtin_flag_F77 \
   16466     export_dynamic_flag_spec_F77 \
   16467     thread_safe_flag_spec_F77 \
   16468     whole_archive_flag_spec_F77 \
   16469     enable_shared_with_static_runtimes_F77 \
   16470     old_archive_cmds_F77 \
   16471     old_archive_from_new_cmds_F77 \
   16472     predep_objects_F77 \
   16473     postdep_objects_F77 \
   16474     predeps_F77 \
   16475     postdeps_F77 \
   16476     compiler_lib_search_path_F77 \
   16477     compiler_lib_search_dirs_F77 \
   16478     archive_cmds_F77 \
   16479     archive_expsym_cmds_F77 \
   16480     postinstall_cmds_F77 \
   16481     postuninstall_cmds_F77 \
   16482     old_archive_from_expsyms_cmds_F77 \
   16483     allow_undefined_flag_F77 \
   16484     no_undefined_flag_F77 \
   16485     export_symbols_cmds_F77 \
   16486     hardcode_libdir_flag_spec_F77 \
   16487     hardcode_libdir_flag_spec_ld_F77 \
   16488     hardcode_libdir_separator_F77 \
   16489     hardcode_automatic_F77 \
   16490     module_cmds_F77 \
   16491     module_expsym_cmds_F77 \
   16492     lt_cv_prog_compiler_c_o_F77 \
   16493     fix_srcfile_path_F77 \
   16494     exclude_expsyms_F77 \
   16495     include_expsyms_F77; do
   16496 
   16497     case $var in
   16498     old_archive_cmds_F77 | \
   16499     old_archive_from_new_cmds_F77 | \
   16500     archive_cmds_F77 | \
   16501     archive_expsym_cmds_F77 | \
   16502     module_cmds_F77 | \
   16503     module_expsym_cmds_F77 | \
   16504     old_archive_from_expsyms_cmds_F77 | \
   16505     export_symbols_cmds_F77 | \
   16506     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   16507     postinstall_cmds | postuninstall_cmds | \
   16508     old_postinstall_cmds | old_postuninstall_cmds | \
   16509     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   16510       # Double-quote double-evaled strings.
   16511       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   16512       ;;
   16513     *)
   16514       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   16515       ;;
   16516     esac
   16517   done
   16518 
   16519   case $lt_echo in
   16520   *'\$0 --fallback-echo"')
   16521     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   16522     ;;
   16523   esac
   16524 
   16525 cfgfile="$ofile"
   16526 
   16527   cat <<__EOF__ >> "$cfgfile"
   16528 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   16529 
   16530 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   16531 
   16532 # Shell to use when invoking shell scripts.
   16533 SHELL=$lt_SHELL
   16534 
   16535 # Whether or not to build shared libraries.
   16536 build_libtool_libs=$enable_shared
   16537 
   16538 # Whether or not to build static libraries.
   16539 build_old_libs=$enable_static
   16540 
   16541 # Whether or not to add -lc for building shared libraries.
   16542 build_libtool_need_lc=$archive_cmds_need_lc_F77
   16543 
   16544 # Whether or not to disallow shared libs when runtime libs are static
   16545 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
   16546 
   16547 # Whether or not to optimize for fast installation.
   16548 fast_install=$enable_fast_install
   16549 
   16550 # The host system.
   16551 host_alias=$host_alias
   16552 host=$host
   16553 host_os=$host_os
   16554 
   16555 # The build system.
   16556 build_alias=$build_alias
   16557 build=$build
   16558 build_os=$build_os
   16559 
   16560 # An echo program that does not interpret backslashes.
   16561 echo=$lt_echo
   16562 
   16563 # The archiver.
   16564 AR=$lt_AR
   16565 AR_FLAGS=$lt_AR_FLAGS
   16566 
   16567 # A C compiler.
   16568 LTCC=$lt_LTCC
   16569 
   16570 # LTCC compiler flags.
   16571 LTCFLAGS=$lt_LTCFLAGS
   16572 
   16573 # A language-specific compiler.
   16574 CC=$lt_compiler_F77
   16575 
   16576 # Is the compiler the GNU C compiler?
   16577 with_gcc=$GCC_F77
   16578 
   16579 # An ERE matcher.
   16580 EGREP=$lt_EGREP
   16581 
   16582 # The linker used to build libraries.
   16583 LD=$lt_LD_F77
   16584 
   16585 # Whether we need hard or soft links.
   16586 LN_S=$lt_LN_S
   16587 
   16588 # A BSD-compatible nm program.
   16589 NM=$lt_NM
   16590 
   16591 # A symbol stripping program
   16592 STRIP=$lt_STRIP
   16593 
   16594 # Used to examine libraries when file_magic_cmd begins "file"
   16595 MAGIC_CMD=$MAGIC_CMD
   16596 
   16597 # Used on cygwin: DLL creation program.
   16598 DLLTOOL="$DLLTOOL"
   16599 
   16600 # Used on cygwin: object dumper.
   16601 OBJDUMP="$OBJDUMP"
   16602 
   16603 # Used on cygwin: assembler.
   16604 AS="$AS"
   16605 
   16606 # The name of the directory that contains temporary libtool files.
   16607 objdir=$objdir
   16608 
   16609 # How to create reloadable object files.
   16610 reload_flag=$lt_reload_flag
   16611 reload_cmds=$lt_reload_cmds
   16612 
   16613 # How to pass a linker flag through the compiler.
   16614 wl=$lt_lt_prog_compiler_wl_F77
   16615 
   16616 # Object file suffix (normally "o").
   16617 objext="$ac_objext"
   16618 
   16619 # Old archive suffix (normally "a").
   16620 libext="$libext"
   16621 
   16622 # Shared library suffix (normally ".so").
   16623 shrext_cmds='$shrext_cmds'
   16624 
   16625 # Executable file suffix (normally "").
   16626 exeext="$exeext"
   16627 
   16628 # Additional compiler flags for building library objects.
   16629 pic_flag=$lt_lt_prog_compiler_pic_F77
   16630 pic_mode=$pic_mode
   16631 
   16632 # What is the maximum length of a command?
   16633 max_cmd_len=$lt_cv_sys_max_cmd_len
   16634 
   16635 # Does compiler simultaneously support -c and -o options?
   16636 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
   16637 
   16638 # Must we lock files when doing compilation?
   16639 need_locks=$lt_need_locks
   16640 
   16641 # Do we need the lib prefix for modules?
   16642 need_lib_prefix=$need_lib_prefix
   16643 
   16644 # Do we need a version for libraries?
   16645 need_version=$need_version
   16646 
   16647 # Whether dlopen is supported.
   16648 dlopen_support=$enable_dlopen
   16649 
   16650 # Whether dlopen of programs is supported.
   16651 dlopen_self=$enable_dlopen_self
   16652 
   16653 # Whether dlopen of statically linked programs is supported.
   16654 dlopen_self_static=$enable_dlopen_self_static
   16655 
   16656 # Compiler flag to prevent dynamic linking.
   16657 link_static_flag=$lt_lt_prog_compiler_static_F77
   16658 
   16659 # Compiler flag to turn off builtin functions.
   16660 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
   16661 
   16662 # Compiler flag to allow reflexive dlopens.
   16663 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
   16664 
   16665 # Compiler flag to generate shared objects directly from archives.
   16666 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
   16667 
   16668 # Compiler flag to generate thread-safe objects.
   16669 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
   16670 
   16671 # Library versioning type.
   16672 version_type=$version_type
   16673 
   16674 # Format of library name prefix.
   16675 libname_spec=$lt_libname_spec
   16676 
   16677 # List of archive names.  First name is the real one, the rest are links.
   16678 # The last name is the one that the linker finds with -lNAME.
   16679 library_names_spec=$lt_library_names_spec
   16680 
   16681 # The coded name of the library, if different from the real name.
   16682 soname_spec=$lt_soname_spec
   16683 
   16684 # Commands used to build and install an old-style archive.
   16685 RANLIB=$lt_RANLIB
   16686 old_archive_cmds=$lt_old_archive_cmds_F77
   16687 old_postinstall_cmds=$lt_old_postinstall_cmds
   16688 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   16689 
   16690 # Create an old-style archive from a shared archive.
   16691 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
   16692 
   16693 # Create a temporary old-style archive to link instead of a shared archive.
   16694 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
   16695 
   16696 # Commands used to build and install a shared archive.
   16697 archive_cmds=$lt_archive_cmds_F77
   16698 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
   16699 postinstall_cmds=$lt_postinstall_cmds
   16700 postuninstall_cmds=$lt_postuninstall_cmds
   16701 
   16702 # Commands used to build a loadable module (assumed same as above if empty)
   16703 module_cmds=$lt_module_cmds_F77
   16704 module_expsym_cmds=$lt_module_expsym_cmds_F77
   16705 
   16706 # Commands to strip libraries.
   16707 old_striplib=$lt_old_striplib
   16708 striplib=$lt_striplib
   16709 
   16710 # Dependencies to place before the objects being linked to create a
   16711 # shared library.
   16712 predep_objects=$lt_predep_objects_F77
   16713 
   16714 # Dependencies to place after the objects being linked to create a
   16715 # shared library.
   16716 postdep_objects=$lt_postdep_objects_F77
   16717 
   16718 # Dependencies to place before the objects being linked to create a
   16719 # shared library.
   16720 predeps=$lt_predeps_F77
   16721 
   16722 # Dependencies to place after the objects being linked to create a
   16723 # shared library.
   16724 postdeps=$lt_postdeps_F77
   16725 
   16726 # The directories searched by this compiler when creating a shared
   16727 # library
   16728 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
   16729 
   16730 # The library search path used internally by the compiler when linking
   16731 # a shared library.
   16732 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
   16733 
   16734 # Method to check whether dependent libraries are shared objects.
   16735 deplibs_check_method=$lt_deplibs_check_method
   16736 
   16737 # Command to use when deplibs_check_method == file_magic.
   16738 file_magic_cmd=$lt_file_magic_cmd
   16739 
   16740 # Flag that allows shared libraries with undefined symbols to be built.
   16741 allow_undefined_flag=$lt_allow_undefined_flag_F77
   16742 
   16743 # Flag that forces no undefined symbols.
   16744 no_undefined_flag=$lt_no_undefined_flag_F77
   16745 
   16746 # Commands used to finish a libtool library installation in a directory.
   16747 finish_cmds=$lt_finish_cmds
   16748 
   16749 # Same as above, but a single script fragment to be evaled but not shown.
   16750 finish_eval=$lt_finish_eval
   16751 
   16752 # Take the output of nm and produce a listing of raw symbols and C names.
   16753 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   16754 
   16755 # Transform the output of nm in a proper C declaration
   16756 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   16757 
   16758 # Transform the output of nm in a C name address pair
   16759 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   16760 
   16761 # This is the shared library runtime path variable.
   16762 runpath_var=$runpath_var
   16763 
   16764 # This is the shared library path variable.
   16765 shlibpath_var=$shlibpath_var
   16766 
   16767 # Is shlibpath searched before the hard-coded library search path?
   16768 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   16769 
   16770 # How to hardcode a shared library path into an executable.
   16771 hardcode_action=$hardcode_action_F77
   16772 
   16773 # Whether we should hardcode library paths into libraries.
   16774 hardcode_into_libs=$hardcode_into_libs
   16775 
   16776 # Flag to hardcode \$libdir into a binary during linking.
   16777 # This must work even if \$libdir does not exist.
   16778 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
   16779 
   16780 # If ld is used when linking, flag to hardcode \$libdir into
   16781 # a binary during linking. This must work even if \$libdir does
   16782 # not exist.
   16783 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
   16784 
   16785 # Whether we need a single -rpath flag with a separated argument.
   16786 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
   16787 
   16788 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   16789 # resulting binary.
   16790 hardcode_direct=$hardcode_direct_F77
   16791 
   16792 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   16793 # resulting binary.
   16794 hardcode_minus_L=$hardcode_minus_L_F77
   16795 
   16796 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   16797 # the resulting binary.
   16798 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
   16799 
   16800 # Set to yes if building a shared library automatically hardcodes DIR into the library
   16801 # and all subsequent libraries and executables linked against it.
   16802 hardcode_automatic=$hardcode_automatic_F77
   16803 
   16804 # Variables whose values should be saved in libtool wrapper scripts and
   16805 # restored at relink time.
   16806 variables_saved_for_relink="$variables_saved_for_relink"
   16807 
   16808 # Whether libtool must link a program against all its dependency libraries.
   16809 link_all_deplibs=$link_all_deplibs_F77
   16810 
   16811 # Compile-time system search path for libraries
   16812 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   16813 
   16814 # Run-time system search path for libraries
   16815 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   16816 
   16817 # Fix the shell variable \$srcfile for the compiler.
   16818 fix_srcfile_path=$lt_fix_srcfile_path
   16819 
   16820 # Set to yes if exported symbols are required.
   16821 always_export_symbols=$always_export_symbols_F77
   16822 
   16823 # The commands to list exported symbols.
   16824 export_symbols_cmds=$lt_export_symbols_cmds_F77
   16825 
   16826 # The commands to extract the exported symbol list from a shared archive.
   16827 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   16828 
   16829 # Symbols that should not be listed in the preloaded symbols.
   16830 exclude_expsyms=$lt_exclude_expsyms_F77
   16831 
   16832 # Symbols that must always be exported.
   16833 include_expsyms=$lt_include_expsyms_F77
   16834 
   16835 # ### END LIBTOOL TAG CONFIG: $tagname
   16836 
   16837 __EOF__
   16838 
   16839 
   16840 else
   16841   # If there is no Makefile yet, we rely on a make rule to execute
   16842   # `config.status --recheck' to rerun these tests and create the
   16843   # libtool script then.
   16844   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   16845   if test -f "$ltmain_in"; then
   16846     test -f Makefile && make "$ltmain"
   16847   fi
   16848 fi
   16849 
   16850 
   16851 ac_ext=c
   16852 ac_cpp='$CPP $CPPFLAGS'
   16853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16856 
   16857 CC="$lt_save_CC"
   16858 
   16859 	else
   16860 	  tagname=""
   16861 	fi
   16862 	;;
   16863 
   16864       GCJ)
   16865 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
   16866 
   16867 
   16868 # Source file extension for Java test sources.
   16869 ac_ext=java
   16870 
   16871 # Object file extension for compiled Java test sources.
   16872 objext=o
   16873 objext_GCJ=$objext
   16874 
   16875 # Code to be used in simple compile tests
   16876 lt_simple_compile_test_code="class foo {}"
   16877 
   16878 # Code to be used in simple link tests
   16879 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
   16880 
   16881 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   16882 
   16883 # If no C compiler was specified, use CC.
   16884 LTCC=${LTCC-"$CC"}
   16885 
   16886 # If no C compiler flags were specified, use CFLAGS.
   16887 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   16888 
   16889 # Allow CC to be a program name with arguments.
   16890 compiler=$CC
   16891 
   16892 
   16893 # save warnings/boilerplate of simple test code
   16894 ac_outfile=conftest.$ac_objext
   16895 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   16896 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16897 _lt_compiler_boilerplate=`cat conftest.err`
   16898 $rm conftest*
   16899 
   16900 ac_outfile=conftest.$ac_objext
   16901 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   16902 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   16903 _lt_linker_boilerplate=`cat conftest.err`
   16904 $rm -r conftest*
   16905 
   16906 
   16907 # Allow CC to be a program name with arguments.
   16908 lt_save_CC="$CC"
   16909 CC=${GCJ-"gcj"}
   16910 compiler=$CC
   16911 compiler_GCJ=$CC
   16912 for cc_temp in $compiler""; do
   16913   case $cc_temp in
   16914     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   16915     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   16916     \-*) ;;
   16917     *) break;;
   16918   esac
   16919 done
   16920 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   16921 
   16922 
   16923 # GCJ did not exist at the time GCC didn't implicitly link libc in.
   16924 archive_cmds_need_lc_GCJ=no
   16925 
   16926 old_archive_cmds_GCJ=$old_archive_cmds
   16927 
   16928 
   16929 lt_prog_compiler_no_builtin_flag_GCJ=
   16930 
   16931 if test "$GCC" = yes; then
   16932   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
   16933 
   16934 
   16935 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   16936 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   16937 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   16938   $as_echo_n "(cached) " >&6
   16939 else
   16940   lt_cv_prog_compiler_rtti_exceptions=no
   16941   ac_outfile=conftest.$ac_objext
   16942    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16943    lt_compiler_flag="-fno-rtti -fno-exceptions"
   16944    # Insert the option either (1) after the last *FLAGS variable, or
   16945    # (2) before a word containing "conftest.", or (3) at the end.
   16946    # Note that $ac_compile itself does not contain backslashes and begins
   16947    # with a dollar sign (not a hyphen), so the echo should work correctly.
   16948    # The option is referenced via a variable to avoid confusing sed.
   16949    lt_compile=`echo "$ac_compile" | $SED \
   16950    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   16951    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   16952    -e 's:$: $lt_compiler_flag:'`
   16953    (eval echo "\"\$as_me:16953: $lt_compile\"" >&5)
   16954    (eval "$lt_compile" 2>conftest.err)
   16955    ac_status=$?
   16956    cat conftest.err >&5
   16957    echo "$as_me:16957: \$? = $ac_status" >&5
   16958    if (exit $ac_status) && test -s "$ac_outfile"; then
   16959      # The compiler can only warn and ignore the option if not recognized
   16960      # So say no if there are warnings other than the usual output.
   16961      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   16962      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16963      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   16964        lt_cv_prog_compiler_rtti_exceptions=yes
   16965      fi
   16966    fi
   16967    $rm conftest*
   16968 
   16969 fi
   16970 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   16971 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   16972 
   16973 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   16974     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
   16975 else
   16976     :
   16977 fi
   16978 
   16979 fi
   16980 
   16981 lt_prog_compiler_wl_GCJ=
   16982 lt_prog_compiler_pic_GCJ=
   16983 lt_prog_compiler_static_GCJ=
   16984 
   16985 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   16986 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   16987 
   16988   if test "$GCC" = yes; then
   16989     lt_prog_compiler_wl_GCJ='-Wl,'
   16990     lt_prog_compiler_static_GCJ='-static'
   16991 
   16992     case $host_os in
   16993       aix*)
   16994       # All AIX code is PIC.
   16995       if test "$host_cpu" = ia64; then
   16996 	# AIX 5 now supports IA64 processor
   16997 	lt_prog_compiler_static_GCJ='-Bstatic'
   16998       fi
   16999       ;;
   17000 
   17001     amigaos*)
   17002       # FIXME: we need at least 68020 code to build shared libraries, but
   17003       # adding the `-m68020' flag to GCC prevents building anything better,
   17004       # like `-m68040'.
   17005       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
   17006       ;;
   17007 
   17008     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   17009       # PIC is the default for these OSes.
   17010       ;;
   17011 
   17012     mingw* | cygwin* | pw32* | os2*)
   17013       # This hack is so that the source file can tell whether it is being
   17014       # built for inclusion in a dll (and should export symbols for example).
   17015       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   17016       # (--disable-auto-import) libraries
   17017 
   17018       ;;
   17019 
   17020     darwin* | rhapsody*)
   17021       # PIC is the default on this platform
   17022       # Common symbols not allowed in MH_DYLIB files
   17023       lt_prog_compiler_pic_GCJ='-fno-common'
   17024       ;;
   17025 
   17026     interix[3-9]*)
   17027       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   17028       # Instead, we relocate shared libraries at runtime.
   17029       ;;
   17030 
   17031     msdosdjgpp*)
   17032       # Just because we use GCC doesn't mean we suddenly get shared libraries
   17033       # on systems that don't support them.
   17034       lt_prog_compiler_can_build_shared_GCJ=no
   17035       enable_shared=no
   17036       ;;
   17037 
   17038     sysv4*MP*)
   17039       if test -d /usr/nec; then
   17040 	lt_prog_compiler_pic_GCJ=-Kconform_pic
   17041       fi
   17042       ;;
   17043 
   17044     hpux*)
   17045       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17046       # not for PA HP-UX.
   17047       case $host_cpu in
   17048       hppa*64*|ia64*)
   17049 	# +Z the default
   17050 	;;
   17051       *)
   17052 	lt_prog_compiler_pic_GCJ='-fPIC'
   17053 	;;
   17054       esac
   17055       ;;
   17056 
   17057     *)
   17058       lt_prog_compiler_pic_GCJ='-fPIC'
   17059       ;;
   17060     esac
   17061   else
   17062     # PORTME Check for flag to pass linker flags through the system compiler.
   17063     case $host_os in
   17064     aix*)
   17065       lt_prog_compiler_wl_GCJ='-Wl,'
   17066       if test "$host_cpu" = ia64; then
   17067 	# AIX 5 now supports IA64 processor
   17068 	lt_prog_compiler_static_GCJ='-Bstatic'
   17069       else
   17070 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
   17071       fi
   17072       ;;
   17073       darwin*)
   17074         # PIC is the default on this platform
   17075         # Common symbols not allowed in MH_DYLIB files
   17076        case $cc_basename in
   17077          xlc*)
   17078          lt_prog_compiler_pic_GCJ='-qnocommon'
   17079          lt_prog_compiler_wl_GCJ='-Wl,'
   17080          ;;
   17081        esac
   17082        ;;
   17083 
   17084     mingw* | cygwin* | pw32* | os2*)
   17085       # This hack is so that the source file can tell whether it is being
   17086       # built for inclusion in a dll (and should export symbols for example).
   17087 
   17088       ;;
   17089 
   17090     hpux9* | hpux10* | hpux11*)
   17091       lt_prog_compiler_wl_GCJ='-Wl,'
   17092       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   17093       # not for PA HP-UX.
   17094       case $host_cpu in
   17095       hppa*64*|ia64*)
   17096 	# +Z the default
   17097 	;;
   17098       *)
   17099 	lt_prog_compiler_pic_GCJ='+Z'
   17100 	;;
   17101       esac
   17102       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   17103       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
   17104       ;;
   17105 
   17106     irix5* | irix6* | nonstopux*)
   17107       lt_prog_compiler_wl_GCJ='-Wl,'
   17108       # PIC (with -KPIC) is the default.
   17109       lt_prog_compiler_static_GCJ='-non_shared'
   17110       ;;
   17111 
   17112     newsos6)
   17113       lt_prog_compiler_pic_GCJ='-KPIC'
   17114       lt_prog_compiler_static_GCJ='-Bstatic'
   17115       ;;
   17116 
   17117     linux* | k*bsd*-gnu)
   17118       case $cc_basename in
   17119       icc* | ecc*)
   17120 	lt_prog_compiler_wl_GCJ='-Wl,'
   17121 	lt_prog_compiler_pic_GCJ='-KPIC'
   17122 	lt_prog_compiler_static_GCJ='-static'
   17123         ;;
   17124       pgcc* | pgf77* | pgf90* | pgf95*)
   17125         # Portland Group compilers (*not* the Pentium gcc compiler,
   17126 	# which looks to be a dead project)
   17127 	lt_prog_compiler_wl_GCJ='-Wl,'
   17128 	lt_prog_compiler_pic_GCJ='-fpic'
   17129 	lt_prog_compiler_static_GCJ='-Bstatic'
   17130         ;;
   17131       ccc*)
   17132         lt_prog_compiler_wl_GCJ='-Wl,'
   17133         # All Alpha code is PIC.
   17134         lt_prog_compiler_static_GCJ='-non_shared'
   17135         ;;
   17136       *)
   17137         case `$CC -V 2>&1 | sed 5q` in
   17138 	*Sun\ C*)
   17139 	  # Sun C 5.9
   17140 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17141 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17142 	  lt_prog_compiler_wl_GCJ='-Wl,'
   17143 	  ;;
   17144 	*Sun\ F*)
   17145 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   17146 	  lt_prog_compiler_pic_GCJ='-KPIC'
   17147 	  lt_prog_compiler_static_GCJ='-Bstatic'
   17148 	  lt_prog_compiler_wl_GCJ=''
   17149 	  ;;
   17150 	esac
   17151 	;;
   17152       esac
   17153       ;;
   17154 
   17155     osf3* | osf4* | osf5*)
   17156       lt_prog_compiler_wl_GCJ='-Wl,'
   17157       # All OSF/1 code is PIC.
   17158       lt_prog_compiler_static_GCJ='-non_shared'
   17159       ;;
   17160 
   17161     rdos*)
   17162       lt_prog_compiler_static_GCJ='-non_shared'
   17163       ;;
   17164 
   17165     solaris*)
   17166       lt_prog_compiler_pic_GCJ='-KPIC'
   17167       lt_prog_compiler_static_GCJ='-Bstatic'
   17168       case $cc_basename in
   17169       f77* | f90* | f95*)
   17170 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
   17171       *)
   17172 	lt_prog_compiler_wl_GCJ='-Wl,';;
   17173       esac
   17174       ;;
   17175 
   17176     sunos4*)
   17177       lt_prog_compiler_wl_GCJ='-Qoption ld '
   17178       lt_prog_compiler_pic_GCJ='-PIC'
   17179       lt_prog_compiler_static_GCJ='-Bstatic'
   17180       ;;
   17181 
   17182     sysv4 | sysv4.2uw2* | sysv4.3*)
   17183       lt_prog_compiler_wl_GCJ='-Wl,'
   17184       lt_prog_compiler_pic_GCJ='-KPIC'
   17185       lt_prog_compiler_static_GCJ='-Bstatic'
   17186       ;;
   17187 
   17188     sysv4*MP*)
   17189       if test -d /usr/nec ;then
   17190 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
   17191 	lt_prog_compiler_static_GCJ='-Bstatic'
   17192       fi
   17193       ;;
   17194 
   17195     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   17196       lt_prog_compiler_wl_GCJ='-Wl,'
   17197       lt_prog_compiler_pic_GCJ='-KPIC'
   17198       lt_prog_compiler_static_GCJ='-Bstatic'
   17199       ;;
   17200 
   17201     unicos*)
   17202       lt_prog_compiler_wl_GCJ='-Wl,'
   17203       lt_prog_compiler_can_build_shared_GCJ=no
   17204       ;;
   17205 
   17206     uts4*)
   17207       lt_prog_compiler_pic_GCJ='-pic'
   17208       lt_prog_compiler_static_GCJ='-Bstatic'
   17209       ;;
   17210 
   17211     *)
   17212       lt_prog_compiler_can_build_shared_GCJ=no
   17213       ;;
   17214     esac
   17215   fi
   17216 
   17217 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
   17218 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
   17219 
   17220 #
   17221 # Check to make sure the PIC flag actually works.
   17222 #
   17223 if test -n "$lt_prog_compiler_pic_GCJ"; then
   17224 
   17225 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
   17226 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
   17227 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
   17228   $as_echo_n "(cached) " >&6
   17229 else
   17230   lt_cv_prog_compiler_pic_works_GCJ=no
   17231   ac_outfile=conftest.$ac_objext
   17232    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17233    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
   17234    # Insert the option either (1) after the last *FLAGS variable, or
   17235    # (2) before a word containing "conftest.", or (3) at the end.
   17236    # Note that $ac_compile itself does not contain backslashes and begins
   17237    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17238    # The option is referenced via a variable to avoid confusing sed.
   17239    lt_compile=`echo "$ac_compile" | $SED \
   17240    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17241    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17242    -e 's:$: $lt_compiler_flag:'`
   17243    (eval echo "\"\$as_me:17243: $lt_compile\"" >&5)
   17244    (eval "$lt_compile" 2>conftest.err)
   17245    ac_status=$?
   17246    cat conftest.err >&5
   17247    echo "$as_me:17247: \$? = $ac_status" >&5
   17248    if (exit $ac_status) && test -s "$ac_outfile"; then
   17249      # The compiler can only warn and ignore the option if not recognized
   17250      # So say no if there are warnings other than the usual output.
   17251      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   17252      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17253      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   17254        lt_cv_prog_compiler_pic_works_GCJ=yes
   17255      fi
   17256    fi
   17257    $rm conftest*
   17258 
   17259 fi
   17260 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
   17261 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
   17262 
   17263 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
   17264     case $lt_prog_compiler_pic_GCJ in
   17265      "" | " "*) ;;
   17266      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
   17267      esac
   17268 else
   17269     lt_prog_compiler_pic_GCJ=
   17270      lt_prog_compiler_can_build_shared_GCJ=no
   17271 fi
   17272 
   17273 fi
   17274 case $host_os in
   17275   # For platforms which do not support PIC, -DPIC is meaningless:
   17276   *djgpp*)
   17277     lt_prog_compiler_pic_GCJ=
   17278     ;;
   17279   *)
   17280     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
   17281     ;;
   17282 esac
   17283 
   17284 #
   17285 # Check to make sure the static flag actually works.
   17286 #
   17287 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
   17288 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   17289 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   17290 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
   17291   $as_echo_n "(cached) " >&6
   17292 else
   17293   lt_cv_prog_compiler_static_works_GCJ=no
   17294    save_LDFLAGS="$LDFLAGS"
   17295    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   17296    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   17297    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   17298      # The linker can only warn and ignore the option if not recognized
   17299      # So say no if there are warnings
   17300      if test -s conftest.err; then
   17301        # Append any errors to the config.log.
   17302        cat conftest.err 1>&5
   17303        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   17304        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   17305        if diff conftest.exp conftest.er2 >/dev/null; then
   17306          lt_cv_prog_compiler_static_works_GCJ=yes
   17307        fi
   17308      else
   17309        lt_cv_prog_compiler_static_works_GCJ=yes
   17310      fi
   17311    fi
   17312    $rm -r conftest*
   17313    LDFLAGS="$save_LDFLAGS"
   17314 
   17315 fi
   17316 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
   17317 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
   17318 
   17319 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
   17320     :
   17321 else
   17322     lt_prog_compiler_static_GCJ=
   17323 fi
   17324 
   17325 
   17326 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   17327 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   17328 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
   17329   $as_echo_n "(cached) " >&6
   17330 else
   17331   lt_cv_prog_compiler_c_o_GCJ=no
   17332    $rm -r conftest 2>/dev/null
   17333    mkdir conftest
   17334    cd conftest
   17335    mkdir out
   17336    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   17337 
   17338    lt_compiler_flag="-o out/conftest2.$ac_objext"
   17339    # Insert the option either (1) after the last *FLAGS variable, or
   17340    # (2) before a word containing "conftest.", or (3) at the end.
   17341    # Note that $ac_compile itself does not contain backslashes and begins
   17342    # with a dollar sign (not a hyphen), so the echo should work correctly.
   17343    lt_compile=`echo "$ac_compile" | $SED \
   17344    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   17345    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   17346    -e 's:$: $lt_compiler_flag:'`
   17347    (eval echo "\"\$as_me:17347: $lt_compile\"" >&5)
   17348    (eval "$lt_compile" 2>out/conftest.err)
   17349    ac_status=$?
   17350    cat out/conftest.err >&5
   17351    echo "$as_me:17351: \$? = $ac_status" >&5
   17352    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   17353    then
   17354      # The compiler can only warn and ignore the option if not recognized
   17355      # So say no if there are warnings
   17356      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   17357      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   17358      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   17359        lt_cv_prog_compiler_c_o_GCJ=yes
   17360      fi
   17361    fi
   17362    chmod u+w . 2>&5
   17363    $rm conftest*
   17364    # SGI C++ compiler will create directory out/ii_files/ for
   17365    # template instantiation
   17366    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
   17367    $rm out/* && rmdir out
   17368    cd ..
   17369    rmdir conftest
   17370    $rm conftest*
   17371 
   17372 fi
   17373 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
   17374 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
   17375 
   17376 
   17377 hard_links="nottested"
   17378 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
   17379   # do not overwrite the value of need_locks provided by the user
   17380   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   17381 $as_echo_n "checking if we can lock with hard links... " >&6; }
   17382   hard_links=yes
   17383   $rm conftest*
   17384   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17385   touch conftest.a
   17386   ln conftest.a conftest.b 2>&5 || hard_links=no
   17387   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   17388   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
   17389 $as_echo "$hard_links" >&6; }
   17390   if test "$hard_links" = no; then
   17391     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   17392 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   17393     need_locks=warn
   17394   fi
   17395 else
   17396   need_locks=no
   17397 fi
   17398 
   17399 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   17400 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   17401 
   17402   runpath_var=
   17403   allow_undefined_flag_GCJ=
   17404   enable_shared_with_static_runtimes_GCJ=no
   17405   archive_cmds_GCJ=
   17406   archive_expsym_cmds_GCJ=
   17407   old_archive_From_new_cmds_GCJ=
   17408   old_archive_from_expsyms_cmds_GCJ=
   17409   export_dynamic_flag_spec_GCJ=
   17410   whole_archive_flag_spec_GCJ=
   17411   thread_safe_flag_spec_GCJ=
   17412   hardcode_libdir_flag_spec_GCJ=
   17413   hardcode_libdir_flag_spec_ld_GCJ=
   17414   hardcode_libdir_separator_GCJ=
   17415   hardcode_direct_GCJ=no
   17416   hardcode_minus_L_GCJ=no
   17417   hardcode_shlibpath_var_GCJ=unsupported
   17418   link_all_deplibs_GCJ=unknown
   17419   hardcode_automatic_GCJ=no
   17420   module_cmds_GCJ=
   17421   module_expsym_cmds_GCJ=
   17422   always_export_symbols_GCJ=no
   17423   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   17424   # include_expsyms should be a list of space-separated symbols to be *always*
   17425   # included in the symbol list
   17426   include_expsyms_GCJ=
   17427   # exclude_expsyms can be an extended regexp of symbols to exclude
   17428   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   17429   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   17430   # as well as any symbol that contains `d'.
   17431   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   17432   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   17433   # platforms (ab)use it in PIC code, but their linkers get confused if
   17434   # the symbol is explicitly referenced.  Since portable code cannot
   17435   # rely on this symbol name, it's probably fine to never include it in
   17436   # preloaded symbol tables.
   17437   # Exclude shared library initialization/finalization symbols.
   17438   extract_expsyms_cmds=
   17439   # Just being paranoid about ensuring that cc_basename is set.
   17440   for cc_temp in $compiler""; do
   17441   case $cc_temp in
   17442     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   17443     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   17444     \-*) ;;
   17445     *) break;;
   17446   esac
   17447 done
   17448 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   17449 
   17450   case $host_os in
   17451   cygwin* | mingw* | pw32*)
   17452     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   17453     # When not using gcc, we currently assume that we are using
   17454     # Microsoft Visual C++.
   17455     if test "$GCC" != yes; then
   17456       with_gnu_ld=no
   17457     fi
   17458     ;;
   17459   interix*)
   17460     # we just hope/assume this is gcc and not c89 (= MSVC++)
   17461     with_gnu_ld=yes
   17462     ;;
   17463   openbsd*)
   17464     with_gnu_ld=no
   17465     ;;
   17466   esac
   17467 
   17468   ld_shlibs_GCJ=yes
   17469   if test "$with_gnu_ld" = yes; then
   17470     # If archive_cmds runs LD, not CC, wlarc should be empty
   17471     wlarc='${wl}'
   17472 
   17473     # Set some defaults for GNU ld with shared library support. These
   17474     # are reset later if shared libraries are not supported. Putting them
   17475     # here allows them to be overridden if necessary.
   17476     runpath_var=LD_RUN_PATH
   17477     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
   17478     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
   17479     # ancient GNU ld didn't support --whole-archive et. al.
   17480     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
   17481 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   17482       else
   17483   	whole_archive_flag_spec_GCJ=
   17484     fi
   17485     supports_anon_versioning=no
   17486     case `$LD -v 2>/dev/null` in
   17487       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   17488       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   17489       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   17490       *\ 2.11.*) ;; # other 2.11 versions
   17491       *) supports_anon_versioning=yes ;;
   17492     esac
   17493 
   17494     # See if GNU ld supports shared libraries.
   17495     case $host_os in
   17496     aix[3-9]*)
   17497       # On AIX/PPC, the GNU linker is very broken
   17498       if test "$host_cpu" != ia64; then
   17499 	ld_shlibs_GCJ=no
   17500 	cat <<EOF 1>&2
   17501 
   17502 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   17503 *** to be unable to reliably create shared libraries on AIX.
   17504 *** Therefore, libtool is disabling shared libraries support.  If you
   17505 *** really care for shared libraries, you may want to modify your PATH
   17506 *** so that a non-GNU linker is found, and then restart.
   17507 
   17508 EOF
   17509       fi
   17510       ;;
   17511 
   17512     amigaos*)
   17513       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)'
   17514       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17515       hardcode_minus_L_GCJ=yes
   17516 
   17517       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   17518       # that the semantics of dynamic libraries on AmigaOS, at least up
   17519       # to version 4, is to share data among multiple programs linked
   17520       # with the same dynamic library.  Since this doesn't match the
   17521       # behavior of shared libraries on other platforms, we can't use
   17522       # them.
   17523       ld_shlibs_GCJ=no
   17524       ;;
   17525 
   17526     beos*)
   17527       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17528 	allow_undefined_flag_GCJ=unsupported
   17529 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   17530 	# support --undefined.  This deserves some investigation.  FIXME
   17531 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17532       else
   17533 	ld_shlibs_GCJ=no
   17534       fi
   17535       ;;
   17536 
   17537     cygwin* | mingw* | pw32*)
   17538       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
   17539       # as there is no search path for DLLs.
   17540       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17541       allow_undefined_flag_GCJ=unsupported
   17542       always_export_symbols_GCJ=no
   17543       enable_shared_with_static_runtimes_GCJ=yes
   17544       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   17545 
   17546       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
   17547         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17548 	# If the export-symbols file already is a .def file (1st line
   17549 	# is EXPORTS), use it as is; otherwise, prepend...
   17550 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   17551 	  cp $export_symbols $output_objdir/$soname.def;
   17552 	else
   17553 	  echo EXPORTS > $output_objdir/$soname.def;
   17554 	  cat $export_symbols >> $output_objdir/$soname.def;
   17555 	fi~
   17556 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   17557       else
   17558 	ld_shlibs_GCJ=no
   17559       fi
   17560       ;;
   17561 
   17562     interix[3-9]*)
   17563       hardcode_direct_GCJ=no
   17564       hardcode_shlibpath_var_GCJ=no
   17565       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   17566       export_dynamic_flag_spec_GCJ='${wl}-E'
   17567       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   17568       # Instead, shared libraries are loaded at an image base (0x10000000 by
   17569       # default) and relocated if they conflict, which is a slow very memory
   17570       # consuming and fragmenting process.  To avoid this, we pick a random,
   17571       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   17572       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   17573       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'
   17574       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'
   17575       ;;
   17576 
   17577     gnu* | linux* | k*bsd*-gnu)
   17578       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17579 	tmp_addflag=
   17580 	case $cc_basename,$host_cpu in
   17581 	pgcc*)				# Portland Group C compiler
   17582 	  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'
   17583 	  tmp_addflag=' $pic_flag'
   17584 	  ;;
   17585 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   17586 	  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'
   17587 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   17588 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
   17589 	  tmp_addflag=' -i_dynamic' ;;
   17590 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   17591 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   17592 	ifc* | ifort*)			# Intel Fortran compiler
   17593 	  tmp_addflag=' -nofor_main' ;;
   17594 	esac
   17595 	case `$CC -V 2>&1 | sed 5q` in
   17596 	*Sun\ C*)			# Sun C 5.9
   17597 	  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'
   17598 	  tmp_sharedflag='-G' ;;
   17599 	*Sun\ F*)			# Sun Fortran 8.3
   17600 	  tmp_sharedflag='-G' ;;
   17601 	*)
   17602 	  tmp_sharedflag='-shared' ;;
   17603 	esac
   17604 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17605 
   17606 	if test $supports_anon_versioning = yes; then
   17607 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
   17608   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   17609   $echo "local: *; };" >> $output_objdir/$libname.ver~
   17610 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   17611 	fi
   17612       else
   17613 	ld_shlibs_GCJ=no
   17614       fi
   17615       ;;
   17616 
   17617     netbsd*)
   17618       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   17619 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   17620 	wlarc=
   17621       else
   17622 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17623 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17624       fi
   17625       ;;
   17626 
   17627     solaris*)
   17628       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
   17629 	ld_shlibs_GCJ=no
   17630 	cat <<EOF 1>&2
   17631 
   17632 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   17633 *** create shared libraries on Solaris systems.  Therefore, libtool
   17634 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17635 *** binutils to release 2.9.1 or newer.  Another option is to modify
   17636 *** your PATH or compiler configuration so that the native linker is
   17637 *** used, and then restart.
   17638 
   17639 EOF
   17640       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17641 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17642 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17643       else
   17644 	ld_shlibs_GCJ=no
   17645       fi
   17646       ;;
   17647 
   17648     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   17649       case `$LD -v 2>&1` in
   17650         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   17651 	ld_shlibs_GCJ=no
   17652 	cat <<_LT_EOF 1>&2
   17653 
   17654 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   17655 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   17656 *** is disabling shared libraries support.  We urge you to upgrade GNU
   17657 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   17658 *** your PATH or compiler configuration so that the native linker is
   17659 *** used, and then restart.
   17660 
   17661 _LT_EOF
   17662 	;;
   17663 	*)
   17664 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17665 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
   17666 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
   17667 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
   17668 	  else
   17669 	    ld_shlibs_GCJ=no
   17670 	  fi
   17671 	;;
   17672       esac
   17673       ;;
   17674 
   17675     sunos4*)
   17676       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   17677       wlarc=
   17678       hardcode_direct_GCJ=yes
   17679       hardcode_shlibpath_var_GCJ=no
   17680       ;;
   17681 
   17682     *)
   17683       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
   17684 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   17685 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   17686       else
   17687 	ld_shlibs_GCJ=no
   17688       fi
   17689       ;;
   17690     esac
   17691 
   17692     if test "$ld_shlibs_GCJ" = no; then
   17693       runpath_var=
   17694       hardcode_libdir_flag_spec_GCJ=
   17695       export_dynamic_flag_spec_GCJ=
   17696       whole_archive_flag_spec_GCJ=
   17697     fi
   17698   else
   17699     # PORTME fill in a description of your system's linker (not GNU ld)
   17700     case $host_os in
   17701     aix3*)
   17702       allow_undefined_flag_GCJ=unsupported
   17703       always_export_symbols_GCJ=yes
   17704       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'
   17705       # Note: this linker hardcodes the directories in LIBPATH if there
   17706       # are no directories specified by -L.
   17707       hardcode_minus_L_GCJ=yes
   17708       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   17709 	# Neither direct hardcoding nor static linking is supported with a
   17710 	# broken collect2.
   17711 	hardcode_direct_GCJ=unsupported
   17712       fi
   17713       ;;
   17714 
   17715     aix[4-9]*)
   17716       if test "$host_cpu" = ia64; then
   17717 	# On IA64, the linker does run time linking by default, so we don't
   17718 	# have to do anything special.
   17719 	aix_use_runtimelinking=no
   17720 	exp_sym_flag='-Bexport'
   17721 	no_entry_flag=""
   17722       else
   17723 	# If we're using GNU nm, then we don't want the "-C" option.
   17724 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   17725 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
   17726 	  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'
   17727 	else
   17728 	  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'
   17729 	fi
   17730 	aix_use_runtimelinking=no
   17731 
   17732 	# Test if we are trying to use run time linking or normal
   17733 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   17734 	# need to do runtime linking.
   17735 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   17736 	  for ld_flag in $LDFLAGS; do
   17737   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   17738   	    aix_use_runtimelinking=yes
   17739   	    break
   17740   	  fi
   17741 	  done
   17742 	  ;;
   17743 	esac
   17744 
   17745 	exp_sym_flag='-bexport'
   17746 	no_entry_flag='-bnoentry'
   17747       fi
   17748 
   17749       # When large executables or shared objects are built, AIX ld can
   17750       # have problems creating the table of contents.  If linking a library
   17751       # or program results in "error TOC overflow" add -mminimal-toc to
   17752       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   17753       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   17754 
   17755       archive_cmds_GCJ=''
   17756       hardcode_direct_GCJ=yes
   17757       hardcode_libdir_separator_GCJ=':'
   17758       link_all_deplibs_GCJ=yes
   17759 
   17760       if test "$GCC" = yes; then
   17761 	case $host_os in aix4.[012]|aix4.[012].*)
   17762 	# We only want to do this on AIX 4.2 and lower, the check
   17763 	# below for broken collect2 doesn't work under 4.3+
   17764 	  collect2name=`${CC} -print-prog-name=collect2`
   17765 	  if test -f "$collect2name" && \
   17766   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
   17767 	  then
   17768   	  # We have reworked collect2
   17769   	  :
   17770 	  else
   17771   	  # We have old collect2
   17772   	  hardcode_direct_GCJ=unsupported
   17773   	  # It fails to find uninstalled libraries when the uninstalled
   17774   	  # path is not listed in the libpath.  Setting hardcode_minus_L
   17775   	  # to unsupported forces relinking
   17776   	  hardcode_minus_L_GCJ=yes
   17777   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17778   	  hardcode_libdir_separator_GCJ=
   17779 	  fi
   17780 	  ;;
   17781 	esac
   17782 	shared_flag='-shared'
   17783 	if test "$aix_use_runtimelinking" = yes; then
   17784 	  shared_flag="$shared_flag "'${wl}-G'
   17785 	fi
   17786       else
   17787 	# not using gcc
   17788 	if test "$host_cpu" = ia64; then
   17789   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   17790   	# chokes on -Wl,-G. The following line is correct:
   17791 	  shared_flag='-G'
   17792 	else
   17793 	  if test "$aix_use_runtimelinking" = yes; then
   17794 	    shared_flag='${wl}-G'
   17795 	  else
   17796 	    shared_flag='${wl}-bM:SRE'
   17797 	  fi
   17798 	fi
   17799       fi
   17800 
   17801       # It seems that -bexpall does not export symbols beginning with
   17802       # underscore (_), so it is better to generate a list of symbols to export.
   17803       always_export_symbols_GCJ=yes
   17804       if test "$aix_use_runtimelinking" = yes; then
   17805 	# Warning - without using the other runtime loading flags (-brtl),
   17806 	# -berok will link without error, but may produce a broken library.
   17807 	allow_undefined_flag_GCJ='-berok'
   17808        # Determine the default libpath from the value encoded in an empty executable.
   17809        cat >conftest.$ac_ext <<_ACEOF
   17810 /* confdefs.h.  */
   17811 _ACEOF
   17812 cat confdefs.h >>conftest.$ac_ext
   17813 cat >>conftest.$ac_ext <<_ACEOF
   17814 /* end confdefs.h.  */
   17815 
   17816 int
   17817 main ()
   17818 {
   17819 
   17820   ;
   17821   return 0;
   17822 }
   17823 _ACEOF
   17824 rm -f conftest.$ac_objext conftest$ac_exeext
   17825 if { (ac_try="$ac_link"
   17826 case "(($ac_try" in
   17827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17828   *) ac_try_echo=$ac_try;;
   17829 esac
   17830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17831 $as_echo "$ac_try_echo") >&5
   17832   (eval "$ac_link") 2>conftest.er1
   17833   ac_status=$?
   17834   grep -v '^ *+' conftest.er1 >conftest.err
   17835   rm -f conftest.er1
   17836   cat conftest.err >&5
   17837   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17838   (exit $ac_status); } && {
   17839 	 test -z "$ac_c_werror_flag" ||
   17840 	 test ! -s conftest.err
   17841        } && test -s conftest$ac_exeext && {
   17842 	 test "$cross_compiling" = yes ||
   17843 	 $as_test_x conftest$ac_exeext
   17844        }; then
   17845 
   17846 lt_aix_libpath_sed='
   17847     /Import File Strings/,/^$/ {
   17848 	/^0/ {
   17849 	    s/^0  *\(.*\)$/\1/
   17850 	    p
   17851 	}
   17852     }'
   17853 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17854 # Check for a 64-bit object if we didn't find anything.
   17855 if test -z "$aix_libpath"; then
   17856   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17857 fi
   17858 else
   17859   $as_echo "$as_me: failed program was:" >&5
   17860 sed 's/^/| /' conftest.$ac_ext >&5
   17861 
   17862 
   17863 fi
   17864 
   17865 rm -rf conftest.dSYM
   17866 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17867       conftest$ac_exeext conftest.$ac_ext
   17868 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17869 
   17870        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17871 	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"
   17872        else
   17873 	if test "$host_cpu" = ia64; then
   17874 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
   17875 	  allow_undefined_flag_GCJ="-z nodefs"
   17876 	  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"
   17877 	else
   17878 	 # Determine the default libpath from the value encoded in an empty executable.
   17879 	 cat >conftest.$ac_ext <<_ACEOF
   17880 /* confdefs.h.  */
   17881 _ACEOF
   17882 cat confdefs.h >>conftest.$ac_ext
   17883 cat >>conftest.$ac_ext <<_ACEOF
   17884 /* end confdefs.h.  */
   17885 
   17886 int
   17887 main ()
   17888 {
   17889 
   17890   ;
   17891   return 0;
   17892 }
   17893 _ACEOF
   17894 rm -f conftest.$ac_objext conftest$ac_exeext
   17895 if { (ac_try="$ac_link"
   17896 case "(($ac_try" in
   17897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   17898   *) ac_try_echo=$ac_try;;
   17899 esac
   17900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   17901 $as_echo "$ac_try_echo") >&5
   17902   (eval "$ac_link") 2>conftest.er1
   17903   ac_status=$?
   17904   grep -v '^ *+' conftest.er1 >conftest.err
   17905   rm -f conftest.er1
   17906   cat conftest.err >&5
   17907   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   17908   (exit $ac_status); } && {
   17909 	 test -z "$ac_c_werror_flag" ||
   17910 	 test ! -s conftest.err
   17911        } && test -s conftest$ac_exeext && {
   17912 	 test "$cross_compiling" = yes ||
   17913 	 $as_test_x conftest$ac_exeext
   17914        }; then
   17915 
   17916 lt_aix_libpath_sed='
   17917     /Import File Strings/,/^$/ {
   17918 	/^0/ {
   17919 	    s/^0  *\(.*\)$/\1/
   17920 	    p
   17921 	}
   17922     }'
   17923 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17924 # Check for a 64-bit object if we didn't find anything.
   17925 if test -z "$aix_libpath"; then
   17926   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   17927 fi
   17928 else
   17929   $as_echo "$as_me: failed program was:" >&5
   17930 sed 's/^/| /' conftest.$ac_ext >&5
   17931 
   17932 
   17933 fi
   17934 
   17935 rm -rf conftest.dSYM
   17936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   17937       conftest$ac_exeext conftest.$ac_ext
   17938 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   17939 
   17940 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
   17941 	  # Warning - without using the other run time loading flags,
   17942 	  # -berok will link without error, but may produce a broken library.
   17943 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
   17944 	  allow_undefined_flag_GCJ=' ${wl}-berok'
   17945 	  # Exported symbols can be pulled into shared objects from archives
   17946 	  whole_archive_flag_spec_GCJ='$convenience'
   17947 	  archive_cmds_need_lc_GCJ=yes
   17948 	  # This is similar to how AIX traditionally builds its shared libraries.
   17949 	  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'
   17950 	fi
   17951       fi
   17952       ;;
   17953 
   17954     amigaos*)
   17955       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)'
   17956       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   17957       hardcode_minus_L_GCJ=yes
   17958       # see comment about different semantics on the GNU ld section
   17959       ld_shlibs_GCJ=no
   17960       ;;
   17961 
   17962     bsdi[45]*)
   17963       export_dynamic_flag_spec_GCJ=-rdynamic
   17964       ;;
   17965 
   17966     cygwin* | mingw* | pw32*)
   17967       # When not using gcc, we currently assume that we are using
   17968       # Microsoft Visual C++.
   17969       # hardcode_libdir_flag_spec is actually meaningless, as there is
   17970       # no search path for DLLs.
   17971       hardcode_libdir_flag_spec_GCJ=' '
   17972       allow_undefined_flag_GCJ=unsupported
   17973       # Tell ltmain to make .lib files, not .a files.
   17974       libext=lib
   17975       # Tell ltmain to make .dll files, not .so files.
   17976       shrext_cmds=".dll"
   17977       # FIXME: Setting linknames here is a bad hack.
   17978       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
   17979       # The linker will automatically build a .lib file if we build a DLL.
   17980       old_archive_From_new_cmds_GCJ='true'
   17981       # FIXME: Should let the user specify the lib program.
   17982       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
   17983       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
   17984       enable_shared_with_static_runtimes_GCJ=yes
   17985       ;;
   17986 
   17987     darwin* | rhapsody*)
   17988       case $host_os in
   17989         rhapsody* | darwin1.[012])
   17990          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
   17991          ;;
   17992        *) # Darwin 1.3 on
   17993          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
   17994            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17995          else
   17996            case ${MACOSX_DEPLOYMENT_TARGET} in
   17997              10.[012])
   17998                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   17999                ;;
   18000              10.*)
   18001                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
   18002                ;;
   18003            esac
   18004          fi
   18005          ;;
   18006       esac
   18007       archive_cmds_need_lc_GCJ=no
   18008       hardcode_direct_GCJ=no
   18009       hardcode_automatic_GCJ=yes
   18010       hardcode_shlibpath_var_GCJ=unsupported
   18011       whole_archive_flag_spec_GCJ=''
   18012       link_all_deplibs_GCJ=yes
   18013     if test "$GCC" = yes ; then
   18014     	output_verbose_link_cmd='echo'
   18015         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}"
   18016         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   18017         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}"
   18018         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}"
   18019     else
   18020       case $cc_basename in
   18021         xlc*)
   18022          output_verbose_link_cmd='echo'
   18023          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
   18024          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   18025           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   18026          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}'
   18027           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}'
   18028           ;;
   18029        *)
   18030          ld_shlibs_GCJ=no
   18031           ;;
   18032       esac
   18033     fi
   18034       ;;
   18035 
   18036     dgux*)
   18037       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18038       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18039       hardcode_shlibpath_var_GCJ=no
   18040       ;;
   18041 
   18042     freebsd1*)
   18043       ld_shlibs_GCJ=no
   18044       ;;
   18045 
   18046     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   18047     # support.  Future versions do this automatically, but an explicit c++rt0.o
   18048     # does not break anything, and helps significantly (at the cost of a little
   18049     # extra space).
   18050     freebsd2.2*)
   18051       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   18052       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18053       hardcode_direct_GCJ=yes
   18054       hardcode_shlibpath_var_GCJ=no
   18055       ;;
   18056 
   18057     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   18058     freebsd2*)
   18059       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18060       hardcode_direct_GCJ=yes
   18061       hardcode_minus_L_GCJ=yes
   18062       hardcode_shlibpath_var_GCJ=no
   18063       ;;
   18064 
   18065     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   18066     freebsd* | dragonfly*)
   18067       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   18068       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18069       hardcode_direct_GCJ=yes
   18070       hardcode_shlibpath_var_GCJ=no
   18071       ;;
   18072 
   18073     hpux9*)
   18074       if test "$GCC" = yes; then
   18075 	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'
   18076       else
   18077 	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'
   18078       fi
   18079       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18080       hardcode_libdir_separator_GCJ=:
   18081       hardcode_direct_GCJ=yes
   18082 
   18083       # hardcode_minus_L: Not really in the search PATH,
   18084       # but as the default location of the library.
   18085       hardcode_minus_L_GCJ=yes
   18086       export_dynamic_flag_spec_GCJ='${wl}-E'
   18087       ;;
   18088 
   18089     hpux10*)
   18090       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18091 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18092       else
   18093 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   18094       fi
   18095       if test "$with_gnu_ld" = no; then
   18096 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18097 	hardcode_libdir_separator_GCJ=:
   18098 
   18099 	hardcode_direct_GCJ=yes
   18100 	export_dynamic_flag_spec_GCJ='${wl}-E'
   18101 
   18102 	# hardcode_minus_L: Not really in the search PATH,
   18103 	# but as the default location of the library.
   18104 	hardcode_minus_L_GCJ=yes
   18105       fi
   18106       ;;
   18107 
   18108     hpux11*)
   18109       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   18110 	case $host_cpu in
   18111 	hppa*64*)
   18112 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18113 	  ;;
   18114 	ia64*)
   18115 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18116 	  ;;
   18117 	*)
   18118 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18119 	  ;;
   18120 	esac
   18121       else
   18122 	case $host_cpu in
   18123 	hppa*64*)
   18124 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18125 	  ;;
   18126 	ia64*)
   18127 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   18128 	  ;;
   18129 	*)
   18130 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   18131 	  ;;
   18132 	esac
   18133       fi
   18134       if test "$with_gnu_ld" = no; then
   18135 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
   18136 	hardcode_libdir_separator_GCJ=:
   18137 
   18138 	case $host_cpu in
   18139 	hppa*64*|ia64*)
   18140 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
   18141 	  hardcode_direct_GCJ=no
   18142 	  hardcode_shlibpath_var_GCJ=no
   18143 	  ;;
   18144 	*)
   18145 	  hardcode_direct_GCJ=yes
   18146 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18147 
   18148 	  # hardcode_minus_L: Not really in the search PATH,
   18149 	  # but as the default location of the library.
   18150 	  hardcode_minus_L_GCJ=yes
   18151 	  ;;
   18152 	esac
   18153       fi
   18154       ;;
   18155 
   18156     irix5* | irix6* | nonstopux*)
   18157       if test "$GCC" = yes; then
   18158 	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'
   18159       else
   18160 	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'
   18161 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
   18162       fi
   18163       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18164       hardcode_libdir_separator_GCJ=:
   18165       link_all_deplibs_GCJ=yes
   18166       ;;
   18167 
   18168     netbsd*)
   18169       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18170 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   18171       else
   18172 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   18173       fi
   18174       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18175       hardcode_direct_GCJ=yes
   18176       hardcode_shlibpath_var_GCJ=no
   18177       ;;
   18178 
   18179     newsos6)
   18180       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18181       hardcode_direct_GCJ=yes
   18182       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18183       hardcode_libdir_separator_GCJ=:
   18184       hardcode_shlibpath_var_GCJ=no
   18185       ;;
   18186 
   18187     openbsd*)
   18188       if test -f /usr/libexec/ld.so; then
   18189 	hardcode_direct_GCJ=yes
   18190 	hardcode_shlibpath_var_GCJ=no
   18191 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18192 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18193 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   18194 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18195 	  export_dynamic_flag_spec_GCJ='${wl}-E'
   18196 	else
   18197 	  case $host_os in
   18198 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   18199 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   18200 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18201 	     ;;
   18202 	   *)
   18203 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   18204 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
   18205 	     ;;
   18206 	  esac
   18207         fi
   18208       else
   18209 	ld_shlibs_GCJ=no
   18210       fi
   18211       ;;
   18212 
   18213     os2*)
   18214       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18215       hardcode_minus_L_GCJ=yes
   18216       allow_undefined_flag_GCJ=unsupported
   18217       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'
   18218       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   18219       ;;
   18220 
   18221     osf3*)
   18222       if test "$GCC" = yes; then
   18223 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18224 	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'
   18225       else
   18226 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18227 	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'
   18228       fi
   18229       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18230       hardcode_libdir_separator_GCJ=:
   18231       ;;
   18232 
   18233     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   18234       if test "$GCC" = yes; then
   18235 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
   18236 	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'
   18237 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
   18238       else
   18239 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
   18240 	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'
   18241 	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~
   18242 	$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'
   18243 
   18244 	# Both c and cxx compiler support -rpath directly
   18245 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
   18246       fi
   18247       hardcode_libdir_separator_GCJ=:
   18248       ;;
   18249 
   18250     solaris*)
   18251       no_undefined_flag_GCJ=' -z text'
   18252       if test "$GCC" = yes; then
   18253 	wlarc='${wl}'
   18254 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18255 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18256 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
   18257       else
   18258 	wlarc=''
   18259 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18260 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
   18261   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
   18262       fi
   18263       hardcode_libdir_flag_spec_GCJ='-R$libdir'
   18264       hardcode_shlibpath_var_GCJ=no
   18265       case $host_os in
   18266       solaris2.[0-5] | solaris2.[0-5].*) ;;
   18267       *)
   18268 	# The compiler driver will combine and reorder linker options,
   18269 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   18270 	# but is careful enough not to reorder.
   18271  	# Supported since Solaris 2.6 (maybe 2.5.1?)
   18272 	if test "$GCC" = yes; then
   18273 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   18274 	else
   18275 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
   18276 	fi
   18277 	;;
   18278       esac
   18279       link_all_deplibs_GCJ=yes
   18280       ;;
   18281 
   18282     sunos4*)
   18283       if test "x$host_vendor" = xsequent; then
   18284 	# Use $CC to link under sequent, because it throws in some extra .o
   18285 	# files that make .init and .fini sections work.
   18286 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   18287       else
   18288 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   18289       fi
   18290       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18291       hardcode_direct_GCJ=yes
   18292       hardcode_minus_L_GCJ=yes
   18293       hardcode_shlibpath_var_GCJ=no
   18294       ;;
   18295 
   18296     sysv4)
   18297       case $host_vendor in
   18298 	sni)
   18299 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18300 	  hardcode_direct_GCJ=yes # is this really true???
   18301 	;;
   18302 	siemens)
   18303 	  ## LD is ld it makes a PLAMLIB
   18304 	  ## CC just makes a GrossModule.
   18305 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   18306 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
   18307 	  hardcode_direct_GCJ=no
   18308         ;;
   18309 	motorola)
   18310 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18311 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
   18312 	;;
   18313       esac
   18314       runpath_var='LD_RUN_PATH'
   18315       hardcode_shlibpath_var_GCJ=no
   18316       ;;
   18317 
   18318     sysv4.3*)
   18319       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18320       hardcode_shlibpath_var_GCJ=no
   18321       export_dynamic_flag_spec_GCJ='-Bexport'
   18322       ;;
   18323 
   18324     sysv4*MP*)
   18325       if test -d /usr/nec; then
   18326 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18327 	hardcode_shlibpath_var_GCJ=no
   18328 	runpath_var=LD_RUN_PATH
   18329 	hardcode_runpath_var=yes
   18330 	ld_shlibs_GCJ=yes
   18331       fi
   18332       ;;
   18333 
   18334     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   18335       no_undefined_flag_GCJ='${wl}-z,text'
   18336       archive_cmds_need_lc_GCJ=no
   18337       hardcode_shlibpath_var_GCJ=no
   18338       runpath_var='LD_RUN_PATH'
   18339 
   18340       if test "$GCC" = yes; then
   18341 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18342 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18343       else
   18344 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18345 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   18346       fi
   18347       ;;
   18348 
   18349     sysv5* | sco3.2v5* | sco5v6*)
   18350       # Note: We can NOT use -z defs as we might desire, because we do not
   18351       # link with -lc, and that would cause any symbols used from libc to
   18352       # always be unresolved, which means just about no library would
   18353       # ever link correctly.  If we're not using GNU ld we use -z text
   18354       # though, which does catch some bad symbols but isn't as heavy-handed
   18355       # as -z defs.
   18356       no_undefined_flag_GCJ='${wl}-z,text'
   18357       allow_undefined_flag_GCJ='${wl}-z,nodefs'
   18358       archive_cmds_need_lc_GCJ=no
   18359       hardcode_shlibpath_var_GCJ=no
   18360       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
   18361       hardcode_libdir_separator_GCJ=':'
   18362       link_all_deplibs_GCJ=yes
   18363       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
   18364       runpath_var='LD_RUN_PATH'
   18365 
   18366       if test "$GCC" = yes; then
   18367 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18368 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18369       else
   18370 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18371 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
   18372       fi
   18373       ;;
   18374 
   18375     uts4*)
   18376       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   18377       hardcode_libdir_flag_spec_GCJ='-L$libdir'
   18378       hardcode_shlibpath_var_GCJ=no
   18379       ;;
   18380 
   18381     *)
   18382       ld_shlibs_GCJ=no
   18383       ;;
   18384     esac
   18385   fi
   18386 
   18387 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
   18388 $as_echo "$ld_shlibs_GCJ" >&6; }
   18389 test "$ld_shlibs_GCJ" = no && can_build_shared=no
   18390 
   18391 #
   18392 # Do we need to explicitly link libc?
   18393 #
   18394 case "x$archive_cmds_need_lc_GCJ" in
   18395 x|xyes)
   18396   # Assume -lc should be added
   18397   archive_cmds_need_lc_GCJ=yes
   18398 
   18399   if test "$enable_shared" = yes && test "$GCC" = yes; then
   18400     case $archive_cmds_GCJ in
   18401     *'~'*)
   18402       # FIXME: we may have to deal with multi-command sequences.
   18403       ;;
   18404     '$CC '*)
   18405       # Test whether the compiler implicitly links with -lc since on some
   18406       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   18407       # to ld, don't add -lc before -lgcc.
   18408       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   18409 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   18410       $rm conftest*
   18411       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   18412 
   18413       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   18414   (eval $ac_compile) 2>&5
   18415   ac_status=$?
   18416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18417   (exit $ac_status); } 2>conftest.err; then
   18418         soname=conftest
   18419         lib=conftest
   18420         libobjs=conftest.$ac_objext
   18421         deplibs=
   18422         wl=$lt_prog_compiler_wl_GCJ
   18423 	pic_flag=$lt_prog_compiler_pic_GCJ
   18424         compiler_flags=-v
   18425         linker_flags=-v
   18426         verstring=
   18427         output_objdir=.
   18428         libname=conftest
   18429         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
   18430         allow_undefined_flag_GCJ=
   18431         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
   18432   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
   18433   ac_status=$?
   18434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   18435   (exit $ac_status); }
   18436         then
   18437 	  archive_cmds_need_lc_GCJ=no
   18438         else
   18439 	  archive_cmds_need_lc_GCJ=yes
   18440         fi
   18441         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
   18442       else
   18443         cat conftest.err 1>&5
   18444       fi
   18445       $rm conftest*
   18446       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
   18447 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
   18448       ;;
   18449     esac
   18450   fi
   18451   ;;
   18452 esac
   18453 
   18454 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   18455 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   18456 library_names_spec=
   18457 libname_spec='lib$name'
   18458 soname_spec=
   18459 shrext_cmds=".so"
   18460 postinstall_cmds=
   18461 postuninstall_cmds=
   18462 finish_cmds=
   18463 finish_eval=
   18464 shlibpath_var=
   18465 shlibpath_overrides_runpath=unknown
   18466 version_type=none
   18467 dynamic_linker="$host_os ld.so"
   18468 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   18469 
   18470 need_lib_prefix=unknown
   18471 hardcode_into_libs=no
   18472 
   18473 # when you set need_version to no, make sure it does not cause -set_version
   18474 # flags to be left without arguments
   18475 need_version=unknown
   18476 
   18477 case $host_os in
   18478 aix3*)
   18479   version_type=linux
   18480   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   18481   shlibpath_var=LIBPATH
   18482 
   18483   # AIX 3 has no versioning support, so we append a major version to the name.
   18484   soname_spec='${libname}${release}${shared_ext}$major'
   18485   ;;
   18486 
   18487 aix[4-9]*)
   18488   version_type=linux
   18489   need_lib_prefix=no
   18490   need_version=no
   18491   hardcode_into_libs=yes
   18492   if test "$host_cpu" = ia64; then
   18493     # AIX 5 supports IA64
   18494     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   18495     shlibpath_var=LD_LIBRARY_PATH
   18496   else
   18497     # With GCC up to 2.95.x, collect2 would create an import file
   18498     # for dependence libraries.  The import file would start with
   18499     # the line `#! .'.  This would cause the generated library to
   18500     # depend on `.', always an invalid library.  This was fixed in
   18501     # development snapshots of GCC prior to 3.0.
   18502     case $host_os in
   18503       aix4 | aix4.[01] | aix4.[01].*)
   18504       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   18505 	   echo ' yes '
   18506 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
   18507 	:
   18508       else
   18509 	can_build_shared=no
   18510       fi
   18511       ;;
   18512     esac
   18513     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   18514     # soname into executable. Probably we can add versioning support to
   18515     # collect2, so additional links can be useful in future.
   18516     if test "$aix_use_runtimelinking" = yes; then
   18517       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   18518       # instead of lib<name>.a to let people know that these are not
   18519       # typical AIX shared libraries.
   18520       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18521     else
   18522       # We preserve .a as extension for shared libraries through AIX4.2
   18523       # and later when we are not doing run time linking.
   18524       library_names_spec='${libname}${release}.a $libname.a'
   18525       soname_spec='${libname}${release}${shared_ext}$major'
   18526     fi
   18527     shlibpath_var=LIBPATH
   18528   fi
   18529   ;;
   18530 
   18531 amigaos*)
   18532   library_names_spec='$libname.ixlibrary $libname.a'
   18533   # Create ${libname}_ixlibrary.a entries in /sys/libs.
   18534   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'
   18535   ;;
   18536 
   18537 beos*)
   18538   library_names_spec='${libname}${shared_ext}'
   18539   dynamic_linker="$host_os ld.so"
   18540   shlibpath_var=LIBRARY_PATH
   18541   ;;
   18542 
   18543 bsdi[45]*)
   18544   version_type=linux
   18545   need_version=no
   18546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18547   soname_spec='${libname}${release}${shared_ext}$major'
   18548   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   18549   shlibpath_var=LD_LIBRARY_PATH
   18550   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   18551   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   18552   # the default ld.so.conf also contains /usr/contrib/lib and
   18553   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   18554   # libtool to hard-code these into programs
   18555   ;;
   18556 
   18557 cygwin* | mingw* | pw32*)
   18558   version_type=windows
   18559   shrext_cmds=".dll"
   18560   need_version=no
   18561   need_lib_prefix=no
   18562 
   18563   case $GCC,$host_os in
   18564   yes,cygwin* | yes,mingw* | yes,pw32*)
   18565     library_names_spec='$libname.dll.a'
   18566     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   18567     postinstall_cmds='base_file=`basename \${file}`~
   18568       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
   18569       dldir=$destdir/`dirname \$dlpath`~
   18570       test -d \$dldir || mkdir -p \$dldir~
   18571       $install_prog $dir/$dlname \$dldir/$dlname~
   18572       chmod a+x \$dldir/$dlname'
   18573     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   18574       dlpath=$dir/\$dldll~
   18575        $rm \$dlpath'
   18576     shlibpath_overrides_runpath=yes
   18577 
   18578     case $host_os in
   18579     cygwin*)
   18580       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   18581       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18582       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   18583       ;;
   18584     mingw*)
   18585       # MinGW DLLs use traditional 'lib' prefix
   18586       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18587       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   18588       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
   18589         # It is most probably a Windows format PATH printed by
   18590         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   18591         # path with ; separators, and with drive letters. We can handle the
   18592         # drive letters (cygwin fileutils understands them), so leave them,
   18593         # especially as we might pass files found there to a mingw objdump,
   18594         # which wouldn't understand a cygwinified path. Ahh.
   18595         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   18596       else
   18597         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   18598       fi
   18599       ;;
   18600     pw32*)
   18601       # pw32 DLLs use 'pw' prefix rather than 'lib'
   18602       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   18603       ;;
   18604     esac
   18605     ;;
   18606 
   18607   *)
   18608     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   18609     ;;
   18610   esac
   18611   dynamic_linker='Win32 ld.exe'
   18612   # FIXME: first we should search . and the directory the executable is in
   18613   shlibpath_var=PATH
   18614   ;;
   18615 
   18616 darwin* | rhapsody*)
   18617   dynamic_linker="$host_os dyld"
   18618   version_type=darwin
   18619   need_lib_prefix=no
   18620   need_version=no
   18621   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   18622   soname_spec='${libname}${release}${major}$shared_ext'
   18623   shlibpath_overrides_runpath=yes
   18624   shlibpath_var=DYLD_LIBRARY_PATH
   18625   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   18626 
   18627   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   18628   ;;
   18629 
   18630 dgux*)
   18631   version_type=linux
   18632   need_lib_prefix=no
   18633   need_version=no
   18634   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   18635   soname_spec='${libname}${release}${shared_ext}$major'
   18636   shlibpath_var=LD_LIBRARY_PATH
   18637   ;;
   18638 
   18639 freebsd1*)
   18640   dynamic_linker=no
   18641   ;;
   18642 
   18643 freebsd* | dragonfly*)
   18644   # DragonFly does not have aout.  When/if they implement a new
   18645   # versioning mechanism, adjust this.
   18646   if test -x /usr/bin/objformat; then
   18647     objformat=`/usr/bin/objformat`
   18648   else
   18649     case $host_os in
   18650     freebsd[123]*) objformat=aout ;;
   18651     *) objformat=elf ;;
   18652     esac
   18653   fi
   18654   version_type=freebsd-$objformat
   18655   case $version_type in
   18656     freebsd-elf*)
   18657       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18658       need_version=no
   18659       need_lib_prefix=no
   18660       ;;
   18661     freebsd-*)
   18662       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   18663       need_version=yes
   18664       ;;
   18665   esac
   18666   shlibpath_var=LD_LIBRARY_PATH
   18667   case $host_os in
   18668   freebsd2*)
   18669     shlibpath_overrides_runpath=yes
   18670     ;;
   18671   freebsd3.[01]* | freebsdelf3.[01]*)
   18672     shlibpath_overrides_runpath=yes
   18673     hardcode_into_libs=yes
   18674     ;;
   18675   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   18676   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   18677     shlibpath_overrides_runpath=no
   18678     hardcode_into_libs=yes
   18679     ;;
   18680   *) # from 4.6 on, and DragonFly
   18681     shlibpath_overrides_runpath=yes
   18682     hardcode_into_libs=yes
   18683     ;;
   18684   esac
   18685   ;;
   18686 
   18687 gnu*)
   18688   version_type=linux
   18689   need_lib_prefix=no
   18690   need_version=no
   18691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   18692   soname_spec='${libname}${release}${shared_ext}$major'
   18693   shlibpath_var=LD_LIBRARY_PATH
   18694   hardcode_into_libs=yes
   18695   ;;
   18696 
   18697 hpux9* | hpux10* | hpux11*)
   18698   # Give a soname corresponding to the major version so that dld.sl refuses to
   18699   # link against other versions.
   18700   version_type=sunos
   18701   need_lib_prefix=no
   18702   need_version=no
   18703   case $host_cpu in
   18704   ia64*)
   18705     shrext_cmds='.so'
   18706     hardcode_into_libs=yes
   18707     dynamic_linker="$host_os dld.so"
   18708     shlibpath_var=LD_LIBRARY_PATH
   18709     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18710     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18711     soname_spec='${libname}${release}${shared_ext}$major'
   18712     if test "X$HPUX_IA64_MODE" = X32; then
   18713       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   18714     else
   18715       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   18716     fi
   18717     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18718     ;;
   18719    hppa*64*)
   18720      shrext_cmds='.sl'
   18721      hardcode_into_libs=yes
   18722      dynamic_linker="$host_os dld.sl"
   18723      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   18724      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   18725      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18726      soname_spec='${libname}${release}${shared_ext}$major'
   18727      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   18728      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   18729      ;;
   18730    *)
   18731     shrext_cmds='.sl'
   18732     dynamic_linker="$host_os dld.sl"
   18733     shlibpath_var=SHLIB_PATH
   18734     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   18735     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18736     soname_spec='${libname}${release}${shared_ext}$major'
   18737     ;;
   18738   esac
   18739   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   18740   postinstall_cmds='chmod 555 $lib'
   18741   ;;
   18742 
   18743 interix[3-9]*)
   18744   version_type=linux
   18745   need_lib_prefix=no
   18746   need_version=no
   18747   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18748   soname_spec='${libname}${release}${shared_ext}$major'
   18749   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   18750   shlibpath_var=LD_LIBRARY_PATH
   18751   shlibpath_overrides_runpath=no
   18752   hardcode_into_libs=yes
   18753   ;;
   18754 
   18755 irix5* | irix6* | nonstopux*)
   18756   case $host_os in
   18757     nonstopux*) version_type=nonstopux ;;
   18758     *)
   18759 	if test "$lt_cv_prog_gnu_ld" = yes; then
   18760 		version_type=linux
   18761 	else
   18762 		version_type=irix
   18763 	fi ;;
   18764   esac
   18765   need_lib_prefix=no
   18766   need_version=no
   18767   soname_spec='${libname}${release}${shared_ext}$major'
   18768   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   18769   case $host_os in
   18770   irix5* | nonstopux*)
   18771     libsuff= shlibsuff=
   18772     ;;
   18773   *)
   18774     case $LD in # libtool.m4 will add one of these switches to LD
   18775     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   18776       libsuff= shlibsuff= libmagic=32-bit;;
   18777     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   18778       libsuff=32 shlibsuff=N32 libmagic=N32;;
   18779     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   18780       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   18781     *) libsuff= shlibsuff= libmagic=never-match;;
   18782     esac
   18783     ;;
   18784   esac
   18785   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   18786   shlibpath_overrides_runpath=no
   18787   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   18788   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   18789   hardcode_into_libs=yes
   18790   ;;
   18791 
   18792 # No shared lib support for Linux oldld, aout, or coff.
   18793 linux*oldld* | linux*aout* | linux*coff*)
   18794   dynamic_linker=no
   18795   ;;
   18796 
   18797 # This must be Linux ELF.
   18798 linux* | k*bsd*-gnu)
   18799   version_type=linux
   18800   need_lib_prefix=no
   18801   need_version=no
   18802   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18803   soname_spec='${libname}${release}${shared_ext}$major'
   18804   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   18805   shlibpath_var=LD_LIBRARY_PATH
   18806   shlibpath_overrides_runpath=no
   18807   # This implies no fast_install, which is unacceptable.
   18808   # Some rework will be needed to allow for fast_install
   18809   # before this can be enabled.
   18810   hardcode_into_libs=yes
   18811 
   18812   # Append ld.so.conf contents to the search path
   18813   if test -f /etc/ld.so.conf; then
   18814     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' ' '`
   18815     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   18816   fi
   18817 
   18818   # We used to test for /lib/ld.so.1 and disable shared libraries on
   18819   # powerpc, because MkLinux only supported shared libraries with the
   18820   # GNU dynamic linker.  Since this was broken with cross compilers,
   18821   # most powerpc-linux boxes support dynamic linking these days and
   18822   # people can always --disable-shared, the test was removed, and we
   18823   # assume the GNU/Linux dynamic linker is in use.
   18824   dynamic_linker='GNU/Linux ld.so'
   18825   ;;
   18826 
   18827 netbsd*)
   18828   version_type=sunos
   18829   need_lib_prefix=no
   18830   need_version=no
   18831   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
   18832     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18833     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18834     dynamic_linker='NetBSD (a.out) ld.so'
   18835   else
   18836     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   18837     soname_spec='${libname}${release}${shared_ext}$major'
   18838     dynamic_linker='NetBSD ld.elf_so'
   18839   fi
   18840   shlibpath_var=LD_LIBRARY_PATH
   18841   shlibpath_overrides_runpath=yes
   18842   hardcode_into_libs=yes
   18843   ;;
   18844 
   18845 newsos6)
   18846   version_type=linux
   18847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18848   shlibpath_var=LD_LIBRARY_PATH
   18849   shlibpath_overrides_runpath=yes
   18850   ;;
   18851 
   18852 nto-qnx*)
   18853   version_type=linux
   18854   need_lib_prefix=no
   18855   need_version=no
   18856   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18857   soname_spec='${libname}${release}${shared_ext}$major'
   18858   shlibpath_var=LD_LIBRARY_PATH
   18859   shlibpath_overrides_runpath=yes
   18860   ;;
   18861 
   18862 openbsd*)
   18863   version_type=sunos
   18864   sys_lib_dlsearch_path_spec="/usr/lib"
   18865   need_lib_prefix=no
   18866   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   18867   case $host_os in
   18868     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
   18869     *)                         need_version=no  ;;
   18870   esac
   18871   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18872   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   18873   shlibpath_var=LD_LIBRARY_PATH
   18874   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   18875     case $host_os in
   18876       openbsd2.[89] | openbsd2.[89].*)
   18877 	shlibpath_overrides_runpath=no
   18878 	;;
   18879       *)
   18880 	shlibpath_overrides_runpath=yes
   18881 	;;
   18882       esac
   18883   else
   18884     shlibpath_overrides_runpath=yes
   18885   fi
   18886   ;;
   18887 
   18888 os2*)
   18889   libname_spec='$name'
   18890   shrext_cmds=".dll"
   18891   need_lib_prefix=no
   18892   library_names_spec='$libname${shared_ext} $libname.a'
   18893   dynamic_linker='OS/2 ld.exe'
   18894   shlibpath_var=LIBPATH
   18895   ;;
   18896 
   18897 osf3* | osf4* | osf5*)
   18898   version_type=osf
   18899   need_lib_prefix=no
   18900   need_version=no
   18901   soname_spec='${libname}${release}${shared_ext}$major'
   18902   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18903   shlibpath_var=LD_LIBRARY_PATH
   18904   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   18905   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   18906   ;;
   18907 
   18908 rdos*)
   18909   dynamic_linker=no
   18910   ;;
   18911 
   18912 solaris*)
   18913   version_type=linux
   18914   need_lib_prefix=no
   18915   need_version=no
   18916   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18917   soname_spec='${libname}${release}${shared_ext}$major'
   18918   shlibpath_var=LD_LIBRARY_PATH
   18919   shlibpath_overrides_runpath=yes
   18920   hardcode_into_libs=yes
   18921   # ldd complains unless libraries are executable
   18922   postinstall_cmds='chmod +x $lib'
   18923   ;;
   18924 
   18925 sunos4*)
   18926   version_type=sunos
   18927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   18928   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   18929   shlibpath_var=LD_LIBRARY_PATH
   18930   shlibpath_overrides_runpath=yes
   18931   if test "$with_gnu_ld" = yes; then
   18932     need_lib_prefix=no
   18933   fi
   18934   need_version=yes
   18935   ;;
   18936 
   18937 sysv4 | sysv4.3*)
   18938   version_type=linux
   18939   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18940   soname_spec='${libname}${release}${shared_ext}$major'
   18941   shlibpath_var=LD_LIBRARY_PATH
   18942   case $host_vendor in
   18943     sni)
   18944       shlibpath_overrides_runpath=no
   18945       need_lib_prefix=no
   18946       export_dynamic_flag_spec='${wl}-Blargedynsym'
   18947       runpath_var=LD_RUN_PATH
   18948       ;;
   18949     siemens)
   18950       need_lib_prefix=no
   18951       ;;
   18952     motorola)
   18953       need_lib_prefix=no
   18954       need_version=no
   18955       shlibpath_overrides_runpath=no
   18956       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   18957       ;;
   18958   esac
   18959   ;;
   18960 
   18961 sysv4*MP*)
   18962   if test -d /usr/nec ;then
   18963     version_type=linux
   18964     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   18965     soname_spec='$libname${shared_ext}.$major'
   18966     shlibpath_var=LD_LIBRARY_PATH
   18967   fi
   18968   ;;
   18969 
   18970 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   18971   version_type=freebsd-elf
   18972   need_lib_prefix=no
   18973   need_version=no
   18974   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   18975   soname_spec='${libname}${release}${shared_ext}$major'
   18976   shlibpath_var=LD_LIBRARY_PATH
   18977   hardcode_into_libs=yes
   18978   if test "$with_gnu_ld" = yes; then
   18979     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   18980     shlibpath_overrides_runpath=no
   18981   else
   18982     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   18983     shlibpath_overrides_runpath=yes
   18984     case $host_os in
   18985       sco3.2v5*)
   18986         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   18987 	;;
   18988     esac
   18989   fi
   18990   sys_lib_dlsearch_path_spec='/usr/lib'
   18991   ;;
   18992 
   18993 uts4*)
   18994   version_type=linux
   18995   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   18996   soname_spec='${libname}${release}${shared_ext}$major'
   18997   shlibpath_var=LD_LIBRARY_PATH
   18998   ;;
   18999 
   19000 *)
   19001   dynamic_linker=no
   19002   ;;
   19003 esac
   19004 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   19005 $as_echo "$dynamic_linker" >&6; }
   19006 test "$dynamic_linker" = no && can_build_shared=no
   19007 
   19008 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   19009   $as_echo_n "(cached) " >&6
   19010 else
   19011   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
   19012 fi
   19013 
   19014 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   19015 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   19016   $as_echo_n "(cached) " >&6
   19017 else
   19018   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
   19019 fi
   19020 
   19021 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   19022 
   19023 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   19024 if test "$GCC" = yes; then
   19025   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   19026 fi
   19027 
   19028 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   19029 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   19030 hardcode_action_GCJ=
   19031 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
   19032    test -n "$runpath_var_GCJ" || \
   19033    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
   19034 
   19035   # We can hardcode non-existant directories.
   19036   if test "$hardcode_direct_GCJ" != no &&
   19037      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   19038      # have to relink, otherwise we might link with an installed library
   19039      # when we should be linking with a yet-to-be-installed one
   19040      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
   19041      test "$hardcode_minus_L_GCJ" != no; then
   19042     # Linking always hardcodes the temporary library directory.
   19043     hardcode_action_GCJ=relink
   19044   else
   19045     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   19046     hardcode_action_GCJ=immediate
   19047   fi
   19048 else
   19049   # We cannot hardcode anything, or else we can only hardcode existing
   19050   # directories.
   19051   hardcode_action_GCJ=unsupported
   19052 fi
   19053 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
   19054 $as_echo "$hardcode_action_GCJ" >&6; }
   19055 
   19056 if test "$hardcode_action_GCJ" = relink; then
   19057   # Fast installation is not supported
   19058   enable_fast_install=no
   19059 elif test "$shlibpath_overrides_runpath" = yes ||
   19060      test "$enable_shared" = no; then
   19061   # Fast installation is not necessary
   19062   enable_fast_install=needless
   19063 fi
   19064 
   19065 
   19066 # The else clause should only fire when bootstrapping the
   19067 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19068 # with your package, and you will get complaints that there are
   19069 # no rules to generate ltmain.sh.
   19070 if test -f "$ltmain"; then
   19071   # See if we are running on zsh, and set the options which allow our commands through
   19072   # without removal of \ escapes.
   19073   if test -n "${ZSH_VERSION+set}" ; then
   19074     setopt NO_GLOB_SUBST
   19075   fi
   19076   # Now quote all the things that may contain metacharacters while being
   19077   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19078   # variables and quote the copies for generation of the libtool script.
   19079   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19080     SED SHELL STRIP \
   19081     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19082     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19083     deplibs_check_method reload_flag reload_cmds need_locks \
   19084     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19085     lt_cv_sys_global_symbol_to_c_name_address \
   19086     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19087     old_postinstall_cmds old_postuninstall_cmds \
   19088     compiler_GCJ \
   19089     CC_GCJ \
   19090     LD_GCJ \
   19091     lt_prog_compiler_wl_GCJ \
   19092     lt_prog_compiler_pic_GCJ \
   19093     lt_prog_compiler_static_GCJ \
   19094     lt_prog_compiler_no_builtin_flag_GCJ \
   19095     export_dynamic_flag_spec_GCJ \
   19096     thread_safe_flag_spec_GCJ \
   19097     whole_archive_flag_spec_GCJ \
   19098     enable_shared_with_static_runtimes_GCJ \
   19099     old_archive_cmds_GCJ \
   19100     old_archive_from_new_cmds_GCJ \
   19101     predep_objects_GCJ \
   19102     postdep_objects_GCJ \
   19103     predeps_GCJ \
   19104     postdeps_GCJ \
   19105     compiler_lib_search_path_GCJ \
   19106     compiler_lib_search_dirs_GCJ \
   19107     archive_cmds_GCJ \
   19108     archive_expsym_cmds_GCJ \
   19109     postinstall_cmds_GCJ \
   19110     postuninstall_cmds_GCJ \
   19111     old_archive_from_expsyms_cmds_GCJ \
   19112     allow_undefined_flag_GCJ \
   19113     no_undefined_flag_GCJ \
   19114     export_symbols_cmds_GCJ \
   19115     hardcode_libdir_flag_spec_GCJ \
   19116     hardcode_libdir_flag_spec_ld_GCJ \
   19117     hardcode_libdir_separator_GCJ \
   19118     hardcode_automatic_GCJ \
   19119     module_cmds_GCJ \
   19120     module_expsym_cmds_GCJ \
   19121     lt_cv_prog_compiler_c_o_GCJ \
   19122     fix_srcfile_path_GCJ \
   19123     exclude_expsyms_GCJ \
   19124     include_expsyms_GCJ; do
   19125 
   19126     case $var in
   19127     old_archive_cmds_GCJ | \
   19128     old_archive_from_new_cmds_GCJ | \
   19129     archive_cmds_GCJ | \
   19130     archive_expsym_cmds_GCJ | \
   19131     module_cmds_GCJ | \
   19132     module_expsym_cmds_GCJ | \
   19133     old_archive_from_expsyms_cmds_GCJ | \
   19134     export_symbols_cmds_GCJ | \
   19135     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19136     postinstall_cmds | postuninstall_cmds | \
   19137     old_postinstall_cmds | old_postuninstall_cmds | \
   19138     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19139       # Double-quote double-evaled strings.
   19140       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19141       ;;
   19142     *)
   19143       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19144       ;;
   19145     esac
   19146   done
   19147 
   19148   case $lt_echo in
   19149   *'\$0 --fallback-echo"')
   19150     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19151     ;;
   19152   esac
   19153 
   19154 cfgfile="$ofile"
   19155 
   19156   cat <<__EOF__ >> "$cfgfile"
   19157 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19158 
   19159 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19160 
   19161 # Shell to use when invoking shell scripts.
   19162 SHELL=$lt_SHELL
   19163 
   19164 # Whether or not to build shared libraries.
   19165 build_libtool_libs=$enable_shared
   19166 
   19167 # Whether or not to build static libraries.
   19168 build_old_libs=$enable_static
   19169 
   19170 # Whether or not to add -lc for building shared libraries.
   19171 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
   19172 
   19173 # Whether or not to disallow shared libs when runtime libs are static
   19174 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
   19175 
   19176 # Whether or not to optimize for fast installation.
   19177 fast_install=$enable_fast_install
   19178 
   19179 # The host system.
   19180 host_alias=$host_alias
   19181 host=$host
   19182 host_os=$host_os
   19183 
   19184 # The build system.
   19185 build_alias=$build_alias
   19186 build=$build
   19187 build_os=$build_os
   19188 
   19189 # An echo program that does not interpret backslashes.
   19190 echo=$lt_echo
   19191 
   19192 # The archiver.
   19193 AR=$lt_AR
   19194 AR_FLAGS=$lt_AR_FLAGS
   19195 
   19196 # A C compiler.
   19197 LTCC=$lt_LTCC
   19198 
   19199 # LTCC compiler flags.
   19200 LTCFLAGS=$lt_LTCFLAGS
   19201 
   19202 # A language-specific compiler.
   19203 CC=$lt_compiler_GCJ
   19204 
   19205 # Is the compiler the GNU C compiler?
   19206 with_gcc=$GCC_GCJ
   19207 
   19208 # An ERE matcher.
   19209 EGREP=$lt_EGREP
   19210 
   19211 # The linker used to build libraries.
   19212 LD=$lt_LD_GCJ
   19213 
   19214 # Whether we need hard or soft links.
   19215 LN_S=$lt_LN_S
   19216 
   19217 # A BSD-compatible nm program.
   19218 NM=$lt_NM
   19219 
   19220 # A symbol stripping program
   19221 STRIP=$lt_STRIP
   19222 
   19223 # Used to examine libraries when file_magic_cmd begins "file"
   19224 MAGIC_CMD=$MAGIC_CMD
   19225 
   19226 # Used on cygwin: DLL creation program.
   19227 DLLTOOL="$DLLTOOL"
   19228 
   19229 # Used on cygwin: object dumper.
   19230 OBJDUMP="$OBJDUMP"
   19231 
   19232 # Used on cygwin: assembler.
   19233 AS="$AS"
   19234 
   19235 # The name of the directory that contains temporary libtool files.
   19236 objdir=$objdir
   19237 
   19238 # How to create reloadable object files.
   19239 reload_flag=$lt_reload_flag
   19240 reload_cmds=$lt_reload_cmds
   19241 
   19242 # How to pass a linker flag through the compiler.
   19243 wl=$lt_lt_prog_compiler_wl_GCJ
   19244 
   19245 # Object file suffix (normally "o").
   19246 objext="$ac_objext"
   19247 
   19248 # Old archive suffix (normally "a").
   19249 libext="$libext"
   19250 
   19251 # Shared library suffix (normally ".so").
   19252 shrext_cmds='$shrext_cmds'
   19253 
   19254 # Executable file suffix (normally "").
   19255 exeext="$exeext"
   19256 
   19257 # Additional compiler flags for building library objects.
   19258 pic_flag=$lt_lt_prog_compiler_pic_GCJ
   19259 pic_mode=$pic_mode
   19260 
   19261 # What is the maximum length of a command?
   19262 max_cmd_len=$lt_cv_sys_max_cmd_len
   19263 
   19264 # Does compiler simultaneously support -c and -o options?
   19265 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
   19266 
   19267 # Must we lock files when doing compilation?
   19268 need_locks=$lt_need_locks
   19269 
   19270 # Do we need the lib prefix for modules?
   19271 need_lib_prefix=$need_lib_prefix
   19272 
   19273 # Do we need a version for libraries?
   19274 need_version=$need_version
   19275 
   19276 # Whether dlopen is supported.
   19277 dlopen_support=$enable_dlopen
   19278 
   19279 # Whether dlopen of programs is supported.
   19280 dlopen_self=$enable_dlopen_self
   19281 
   19282 # Whether dlopen of statically linked programs is supported.
   19283 dlopen_self_static=$enable_dlopen_self_static
   19284 
   19285 # Compiler flag to prevent dynamic linking.
   19286 link_static_flag=$lt_lt_prog_compiler_static_GCJ
   19287 
   19288 # Compiler flag to turn off builtin functions.
   19289 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
   19290 
   19291 # Compiler flag to allow reflexive dlopens.
   19292 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
   19293 
   19294 # Compiler flag to generate shared objects directly from archives.
   19295 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
   19296 
   19297 # Compiler flag to generate thread-safe objects.
   19298 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
   19299 
   19300 # Library versioning type.
   19301 version_type=$version_type
   19302 
   19303 # Format of library name prefix.
   19304 libname_spec=$lt_libname_spec
   19305 
   19306 # List of archive names.  First name is the real one, the rest are links.
   19307 # The last name is the one that the linker finds with -lNAME.
   19308 library_names_spec=$lt_library_names_spec
   19309 
   19310 # The coded name of the library, if different from the real name.
   19311 soname_spec=$lt_soname_spec
   19312 
   19313 # Commands used to build and install an old-style archive.
   19314 RANLIB=$lt_RANLIB
   19315 old_archive_cmds=$lt_old_archive_cmds_GCJ
   19316 old_postinstall_cmds=$lt_old_postinstall_cmds
   19317 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19318 
   19319 # Create an old-style archive from a shared archive.
   19320 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
   19321 
   19322 # Create a temporary old-style archive to link instead of a shared archive.
   19323 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
   19324 
   19325 # Commands used to build and install a shared archive.
   19326 archive_cmds=$lt_archive_cmds_GCJ
   19327 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
   19328 postinstall_cmds=$lt_postinstall_cmds
   19329 postuninstall_cmds=$lt_postuninstall_cmds
   19330 
   19331 # Commands used to build a loadable module (assumed same as above if empty)
   19332 module_cmds=$lt_module_cmds_GCJ
   19333 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
   19334 
   19335 # Commands to strip libraries.
   19336 old_striplib=$lt_old_striplib
   19337 striplib=$lt_striplib
   19338 
   19339 # Dependencies to place before the objects being linked to create a
   19340 # shared library.
   19341 predep_objects=$lt_predep_objects_GCJ
   19342 
   19343 # Dependencies to place after the objects being linked to create a
   19344 # shared library.
   19345 postdep_objects=$lt_postdep_objects_GCJ
   19346 
   19347 # Dependencies to place before the objects being linked to create a
   19348 # shared library.
   19349 predeps=$lt_predeps_GCJ
   19350 
   19351 # Dependencies to place after the objects being linked to create a
   19352 # shared library.
   19353 postdeps=$lt_postdeps_GCJ
   19354 
   19355 # The directories searched by this compiler when creating a shared
   19356 # library
   19357 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
   19358 
   19359 # The library search path used internally by the compiler when linking
   19360 # a shared library.
   19361 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
   19362 
   19363 # Method to check whether dependent libraries are shared objects.
   19364 deplibs_check_method=$lt_deplibs_check_method
   19365 
   19366 # Command to use when deplibs_check_method == file_magic.
   19367 file_magic_cmd=$lt_file_magic_cmd
   19368 
   19369 # Flag that allows shared libraries with undefined symbols to be built.
   19370 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
   19371 
   19372 # Flag that forces no undefined symbols.
   19373 no_undefined_flag=$lt_no_undefined_flag_GCJ
   19374 
   19375 # Commands used to finish a libtool library installation in a directory.
   19376 finish_cmds=$lt_finish_cmds
   19377 
   19378 # Same as above, but a single script fragment to be evaled but not shown.
   19379 finish_eval=$lt_finish_eval
   19380 
   19381 # Take the output of nm and produce a listing of raw symbols and C names.
   19382 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19383 
   19384 # Transform the output of nm in a proper C declaration
   19385 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19386 
   19387 # Transform the output of nm in a C name address pair
   19388 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19389 
   19390 # This is the shared library runtime path variable.
   19391 runpath_var=$runpath_var
   19392 
   19393 # This is the shared library path variable.
   19394 shlibpath_var=$shlibpath_var
   19395 
   19396 # Is shlibpath searched before the hard-coded library search path?
   19397 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19398 
   19399 # How to hardcode a shared library path into an executable.
   19400 hardcode_action=$hardcode_action_GCJ
   19401 
   19402 # Whether we should hardcode library paths into libraries.
   19403 hardcode_into_libs=$hardcode_into_libs
   19404 
   19405 # Flag to hardcode \$libdir into a binary during linking.
   19406 # This must work even if \$libdir does not exist.
   19407 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
   19408 
   19409 # If ld is used when linking, flag to hardcode \$libdir into
   19410 # a binary during linking. This must work even if \$libdir does
   19411 # not exist.
   19412 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
   19413 
   19414 # Whether we need a single -rpath flag with a separated argument.
   19415 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
   19416 
   19417 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19418 # resulting binary.
   19419 hardcode_direct=$hardcode_direct_GCJ
   19420 
   19421 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19422 # resulting binary.
   19423 hardcode_minus_L=$hardcode_minus_L_GCJ
   19424 
   19425 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19426 # the resulting binary.
   19427 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
   19428 
   19429 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19430 # and all subsequent libraries and executables linked against it.
   19431 hardcode_automatic=$hardcode_automatic_GCJ
   19432 
   19433 # Variables whose values should be saved in libtool wrapper scripts and
   19434 # restored at relink time.
   19435 variables_saved_for_relink="$variables_saved_for_relink"
   19436 
   19437 # Whether libtool must link a program against all its dependency libraries.
   19438 link_all_deplibs=$link_all_deplibs_GCJ
   19439 
   19440 # Compile-time system search path for libraries
   19441 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19442 
   19443 # Run-time system search path for libraries
   19444 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19445 
   19446 # Fix the shell variable \$srcfile for the compiler.
   19447 fix_srcfile_path=$lt_fix_srcfile_path
   19448 
   19449 # Set to yes if exported symbols are required.
   19450 always_export_symbols=$always_export_symbols_GCJ
   19451 
   19452 # The commands to list exported symbols.
   19453 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
   19454 
   19455 # The commands to extract the exported symbol list from a shared archive.
   19456 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19457 
   19458 # Symbols that should not be listed in the preloaded symbols.
   19459 exclude_expsyms=$lt_exclude_expsyms_GCJ
   19460 
   19461 # Symbols that must always be exported.
   19462 include_expsyms=$lt_include_expsyms_GCJ
   19463 
   19464 # ### END LIBTOOL TAG CONFIG: $tagname
   19465 
   19466 __EOF__
   19467 
   19468 
   19469 else
   19470   # If there is no Makefile yet, we rely on a make rule to execute
   19471   # `config.status --recheck' to rerun these tests and create the
   19472   # libtool script then.
   19473   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19474   if test -f "$ltmain_in"; then
   19475     test -f Makefile && make "$ltmain"
   19476   fi
   19477 fi
   19478 
   19479 
   19480 ac_ext=c
   19481 ac_cpp='$CPP $CPPFLAGS'
   19482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19485 
   19486 CC="$lt_save_CC"
   19487 
   19488 	else
   19489 	  tagname=""
   19490 	fi
   19491 	;;
   19492 
   19493       RC)
   19494 
   19495 
   19496 # Source file extension for RC test sources.
   19497 ac_ext=rc
   19498 
   19499 # Object file extension for compiled RC test sources.
   19500 objext=o
   19501 objext_RC=$objext
   19502 
   19503 # Code to be used in simple compile tests
   19504 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
   19505 
   19506 # Code to be used in simple link tests
   19507 lt_simple_link_test_code="$lt_simple_compile_test_code"
   19508 
   19509 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   19510 
   19511 # If no C compiler was specified, use CC.
   19512 LTCC=${LTCC-"$CC"}
   19513 
   19514 # If no C compiler flags were specified, use CFLAGS.
   19515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   19516 
   19517 # Allow CC to be a program name with arguments.
   19518 compiler=$CC
   19519 
   19520 
   19521 # save warnings/boilerplate of simple test code
   19522 ac_outfile=conftest.$ac_objext
   19523 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   19524 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19525 _lt_compiler_boilerplate=`cat conftest.err`
   19526 $rm conftest*
   19527 
   19528 ac_outfile=conftest.$ac_objext
   19529 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   19530 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   19531 _lt_linker_boilerplate=`cat conftest.err`
   19532 $rm -r conftest*
   19533 
   19534 
   19535 # Allow CC to be a program name with arguments.
   19536 lt_save_CC="$CC"
   19537 CC=${RC-"windres"}
   19538 compiler=$CC
   19539 compiler_RC=$CC
   19540 for cc_temp in $compiler""; do
   19541   case $cc_temp in
   19542     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   19543     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   19544     \-*) ;;
   19545     *) break;;
   19546   esac
   19547 done
   19548 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   19549 
   19550 lt_cv_prog_compiler_c_o_RC=yes
   19551 
   19552 # The else clause should only fire when bootstrapping the
   19553 # libtool distribution, otherwise you forgot to ship ltmain.sh
   19554 # with your package, and you will get complaints that there are
   19555 # no rules to generate ltmain.sh.
   19556 if test -f "$ltmain"; then
   19557   # See if we are running on zsh, and set the options which allow our commands through
   19558   # without removal of \ escapes.
   19559   if test -n "${ZSH_VERSION+set}" ; then
   19560     setopt NO_GLOB_SUBST
   19561   fi
   19562   # Now quote all the things that may contain metacharacters while being
   19563   # careful not to overquote the AC_SUBSTed values.  We take copies of the
   19564   # variables and quote the copies for generation of the libtool script.
   19565   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
   19566     SED SHELL STRIP \
   19567     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
   19568     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
   19569     deplibs_check_method reload_flag reload_cmds need_locks \
   19570     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
   19571     lt_cv_sys_global_symbol_to_c_name_address \
   19572     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
   19573     old_postinstall_cmds old_postuninstall_cmds \
   19574     compiler_RC \
   19575     CC_RC \
   19576     LD_RC \
   19577     lt_prog_compiler_wl_RC \
   19578     lt_prog_compiler_pic_RC \
   19579     lt_prog_compiler_static_RC \
   19580     lt_prog_compiler_no_builtin_flag_RC \
   19581     export_dynamic_flag_spec_RC \
   19582     thread_safe_flag_spec_RC \
   19583     whole_archive_flag_spec_RC \
   19584     enable_shared_with_static_runtimes_RC \
   19585     old_archive_cmds_RC \
   19586     old_archive_from_new_cmds_RC \
   19587     predep_objects_RC \
   19588     postdep_objects_RC \
   19589     predeps_RC \
   19590     postdeps_RC \
   19591     compiler_lib_search_path_RC \
   19592     compiler_lib_search_dirs_RC \
   19593     archive_cmds_RC \
   19594     archive_expsym_cmds_RC \
   19595     postinstall_cmds_RC \
   19596     postuninstall_cmds_RC \
   19597     old_archive_from_expsyms_cmds_RC \
   19598     allow_undefined_flag_RC \
   19599     no_undefined_flag_RC \
   19600     export_symbols_cmds_RC \
   19601     hardcode_libdir_flag_spec_RC \
   19602     hardcode_libdir_flag_spec_ld_RC \
   19603     hardcode_libdir_separator_RC \
   19604     hardcode_automatic_RC \
   19605     module_cmds_RC \
   19606     module_expsym_cmds_RC \
   19607     lt_cv_prog_compiler_c_o_RC \
   19608     fix_srcfile_path_RC \
   19609     exclude_expsyms_RC \
   19610     include_expsyms_RC; do
   19611 
   19612     case $var in
   19613     old_archive_cmds_RC | \
   19614     old_archive_from_new_cmds_RC | \
   19615     archive_cmds_RC | \
   19616     archive_expsym_cmds_RC | \
   19617     module_cmds_RC | \
   19618     module_expsym_cmds_RC | \
   19619     old_archive_from_expsyms_cmds_RC | \
   19620     export_symbols_cmds_RC | \
   19621     extract_expsyms_cmds | reload_cmds | finish_cmds | \
   19622     postinstall_cmds | postuninstall_cmds | \
   19623     old_postinstall_cmds | old_postuninstall_cmds | \
   19624     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
   19625       # Double-quote double-evaled strings.
   19626       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
   19627       ;;
   19628     *)
   19629       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
   19630       ;;
   19631     esac
   19632   done
   19633 
   19634   case $lt_echo in
   19635   *'\$0 --fallback-echo"')
   19636     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
   19637     ;;
   19638   esac
   19639 
   19640 cfgfile="$ofile"
   19641 
   19642   cat <<__EOF__ >> "$cfgfile"
   19643 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
   19644 
   19645 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19646 
   19647 # Shell to use when invoking shell scripts.
   19648 SHELL=$lt_SHELL
   19649 
   19650 # Whether or not to build shared libraries.
   19651 build_libtool_libs=$enable_shared
   19652 
   19653 # Whether or not to build static libraries.
   19654 build_old_libs=$enable_static
   19655 
   19656 # Whether or not to add -lc for building shared libraries.
   19657 build_libtool_need_lc=$archive_cmds_need_lc_RC
   19658 
   19659 # Whether or not to disallow shared libs when runtime libs are static
   19660 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
   19661 
   19662 # Whether or not to optimize for fast installation.
   19663 fast_install=$enable_fast_install
   19664 
   19665 # The host system.
   19666 host_alias=$host_alias
   19667 host=$host
   19668 host_os=$host_os
   19669 
   19670 # The build system.
   19671 build_alias=$build_alias
   19672 build=$build
   19673 build_os=$build_os
   19674 
   19675 # An echo program that does not interpret backslashes.
   19676 echo=$lt_echo
   19677 
   19678 # The archiver.
   19679 AR=$lt_AR
   19680 AR_FLAGS=$lt_AR_FLAGS
   19681 
   19682 # A C compiler.
   19683 LTCC=$lt_LTCC
   19684 
   19685 # LTCC compiler flags.
   19686 LTCFLAGS=$lt_LTCFLAGS
   19687 
   19688 # A language-specific compiler.
   19689 CC=$lt_compiler_RC
   19690 
   19691 # Is the compiler the GNU C compiler?
   19692 with_gcc=$GCC_RC
   19693 
   19694 # An ERE matcher.
   19695 EGREP=$lt_EGREP
   19696 
   19697 # The linker used to build libraries.
   19698 LD=$lt_LD_RC
   19699 
   19700 # Whether we need hard or soft links.
   19701 LN_S=$lt_LN_S
   19702 
   19703 # A BSD-compatible nm program.
   19704 NM=$lt_NM
   19705 
   19706 # A symbol stripping program
   19707 STRIP=$lt_STRIP
   19708 
   19709 # Used to examine libraries when file_magic_cmd begins "file"
   19710 MAGIC_CMD=$MAGIC_CMD
   19711 
   19712 # Used on cygwin: DLL creation program.
   19713 DLLTOOL="$DLLTOOL"
   19714 
   19715 # Used on cygwin: object dumper.
   19716 OBJDUMP="$OBJDUMP"
   19717 
   19718 # Used on cygwin: assembler.
   19719 AS="$AS"
   19720 
   19721 # The name of the directory that contains temporary libtool files.
   19722 objdir=$objdir
   19723 
   19724 # How to create reloadable object files.
   19725 reload_flag=$lt_reload_flag
   19726 reload_cmds=$lt_reload_cmds
   19727 
   19728 # How to pass a linker flag through the compiler.
   19729 wl=$lt_lt_prog_compiler_wl_RC
   19730 
   19731 # Object file suffix (normally "o").
   19732 objext="$ac_objext"
   19733 
   19734 # Old archive suffix (normally "a").
   19735 libext="$libext"
   19736 
   19737 # Shared library suffix (normally ".so").
   19738 shrext_cmds='$shrext_cmds'
   19739 
   19740 # Executable file suffix (normally "").
   19741 exeext="$exeext"
   19742 
   19743 # Additional compiler flags for building library objects.
   19744 pic_flag=$lt_lt_prog_compiler_pic_RC
   19745 pic_mode=$pic_mode
   19746 
   19747 # What is the maximum length of a command?
   19748 max_cmd_len=$lt_cv_sys_max_cmd_len
   19749 
   19750 # Does compiler simultaneously support -c and -o options?
   19751 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
   19752 
   19753 # Must we lock files when doing compilation?
   19754 need_locks=$lt_need_locks
   19755 
   19756 # Do we need the lib prefix for modules?
   19757 need_lib_prefix=$need_lib_prefix
   19758 
   19759 # Do we need a version for libraries?
   19760 need_version=$need_version
   19761 
   19762 # Whether dlopen is supported.
   19763 dlopen_support=$enable_dlopen
   19764 
   19765 # Whether dlopen of programs is supported.
   19766 dlopen_self=$enable_dlopen_self
   19767 
   19768 # Whether dlopen of statically linked programs is supported.
   19769 dlopen_self_static=$enable_dlopen_self_static
   19770 
   19771 # Compiler flag to prevent dynamic linking.
   19772 link_static_flag=$lt_lt_prog_compiler_static_RC
   19773 
   19774 # Compiler flag to turn off builtin functions.
   19775 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
   19776 
   19777 # Compiler flag to allow reflexive dlopens.
   19778 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
   19779 
   19780 # Compiler flag to generate shared objects directly from archives.
   19781 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
   19782 
   19783 # Compiler flag to generate thread-safe objects.
   19784 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
   19785 
   19786 # Library versioning type.
   19787 version_type=$version_type
   19788 
   19789 # Format of library name prefix.
   19790 libname_spec=$lt_libname_spec
   19791 
   19792 # List of archive names.  First name is the real one, the rest are links.
   19793 # The last name is the one that the linker finds with -lNAME.
   19794 library_names_spec=$lt_library_names_spec
   19795 
   19796 # The coded name of the library, if different from the real name.
   19797 soname_spec=$lt_soname_spec
   19798 
   19799 # Commands used to build and install an old-style archive.
   19800 RANLIB=$lt_RANLIB
   19801 old_archive_cmds=$lt_old_archive_cmds_RC
   19802 old_postinstall_cmds=$lt_old_postinstall_cmds
   19803 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19804 
   19805 # Create an old-style archive from a shared archive.
   19806 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
   19807 
   19808 # Create a temporary old-style archive to link instead of a shared archive.
   19809 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
   19810 
   19811 # Commands used to build and install a shared archive.
   19812 archive_cmds=$lt_archive_cmds_RC
   19813 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
   19814 postinstall_cmds=$lt_postinstall_cmds
   19815 postuninstall_cmds=$lt_postuninstall_cmds
   19816 
   19817 # Commands used to build a loadable module (assumed same as above if empty)
   19818 module_cmds=$lt_module_cmds_RC
   19819 module_expsym_cmds=$lt_module_expsym_cmds_RC
   19820 
   19821 # Commands to strip libraries.
   19822 old_striplib=$lt_old_striplib
   19823 striplib=$lt_striplib
   19824 
   19825 # Dependencies to place before the objects being linked to create a
   19826 # shared library.
   19827 predep_objects=$lt_predep_objects_RC
   19828 
   19829 # Dependencies to place after the objects being linked to create a
   19830 # shared library.
   19831 postdep_objects=$lt_postdep_objects_RC
   19832 
   19833 # Dependencies to place before the objects being linked to create a
   19834 # shared library.
   19835 predeps=$lt_predeps_RC
   19836 
   19837 # Dependencies to place after the objects being linked to create a
   19838 # shared library.
   19839 postdeps=$lt_postdeps_RC
   19840 
   19841 # The directories searched by this compiler when creating a shared
   19842 # library
   19843 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
   19844 
   19845 # The library search path used internally by the compiler when linking
   19846 # a shared library.
   19847 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
   19848 
   19849 # Method to check whether dependent libraries are shared objects.
   19850 deplibs_check_method=$lt_deplibs_check_method
   19851 
   19852 # Command to use when deplibs_check_method == file_magic.
   19853 file_magic_cmd=$lt_file_magic_cmd
   19854 
   19855 # Flag that allows shared libraries with undefined symbols to be built.
   19856 allow_undefined_flag=$lt_allow_undefined_flag_RC
   19857 
   19858 # Flag that forces no undefined symbols.
   19859 no_undefined_flag=$lt_no_undefined_flag_RC
   19860 
   19861 # Commands used to finish a libtool library installation in a directory.
   19862 finish_cmds=$lt_finish_cmds
   19863 
   19864 # Same as above, but a single script fragment to be evaled but not shown.
   19865 finish_eval=$lt_finish_eval
   19866 
   19867 # Take the output of nm and produce a listing of raw symbols and C names.
   19868 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19869 
   19870 # Transform the output of nm in a proper C declaration
   19871 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19872 
   19873 # Transform the output of nm in a C name address pair
   19874 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19875 
   19876 # This is the shared library runtime path variable.
   19877 runpath_var=$runpath_var
   19878 
   19879 # This is the shared library path variable.
   19880 shlibpath_var=$shlibpath_var
   19881 
   19882 # Is shlibpath searched before the hard-coded library search path?
   19883 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19884 
   19885 # How to hardcode a shared library path into an executable.
   19886 hardcode_action=$hardcode_action_RC
   19887 
   19888 # Whether we should hardcode library paths into libraries.
   19889 hardcode_into_libs=$hardcode_into_libs
   19890 
   19891 # Flag to hardcode \$libdir into a binary during linking.
   19892 # This must work even if \$libdir does not exist.
   19893 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
   19894 
   19895 # If ld is used when linking, flag to hardcode \$libdir into
   19896 # a binary during linking. This must work even if \$libdir does
   19897 # not exist.
   19898 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
   19899 
   19900 # Whether we need a single -rpath flag with a separated argument.
   19901 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
   19902 
   19903 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
   19904 # resulting binary.
   19905 hardcode_direct=$hardcode_direct_RC
   19906 
   19907 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
   19908 # resulting binary.
   19909 hardcode_minus_L=$hardcode_minus_L_RC
   19910 
   19911 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
   19912 # the resulting binary.
   19913 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
   19914 
   19915 # Set to yes if building a shared library automatically hardcodes DIR into the library
   19916 # and all subsequent libraries and executables linked against it.
   19917 hardcode_automatic=$hardcode_automatic_RC
   19918 
   19919 # Variables whose values should be saved in libtool wrapper scripts and
   19920 # restored at relink time.
   19921 variables_saved_for_relink="$variables_saved_for_relink"
   19922 
   19923 # Whether libtool must link a program against all its dependency libraries.
   19924 link_all_deplibs=$link_all_deplibs_RC
   19925 
   19926 # Compile-time system search path for libraries
   19927 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19928 
   19929 # Run-time system search path for libraries
   19930 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19931 
   19932 # Fix the shell variable \$srcfile for the compiler.
   19933 fix_srcfile_path=$lt_fix_srcfile_path
   19934 
   19935 # Set to yes if exported symbols are required.
   19936 always_export_symbols=$always_export_symbols_RC
   19937 
   19938 # The commands to list exported symbols.
   19939 export_symbols_cmds=$lt_export_symbols_cmds_RC
   19940 
   19941 # The commands to extract the exported symbol list from a shared archive.
   19942 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19943 
   19944 # Symbols that should not be listed in the preloaded symbols.
   19945 exclude_expsyms=$lt_exclude_expsyms_RC
   19946 
   19947 # Symbols that must always be exported.
   19948 include_expsyms=$lt_include_expsyms_RC
   19949 
   19950 # ### END LIBTOOL TAG CONFIG: $tagname
   19951 
   19952 __EOF__
   19953 
   19954 
   19955 else
   19956   # If there is no Makefile yet, we rely on a make rule to execute
   19957   # `config.status --recheck' to rerun these tests and create the
   19958   # libtool script then.
   19959   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
   19960   if test -f "$ltmain_in"; then
   19961     test -f Makefile && make "$ltmain"
   19962   fi
   19963 fi
   19964 
   19965 
   19966 ac_ext=c
   19967 ac_cpp='$CPP $CPPFLAGS'
   19968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   19969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   19970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   19971 
   19972 CC="$lt_save_CC"
   19973 
   19974 	;;
   19975 
   19976       *)
   19977 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
   19978 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
   19979    { (exit 1); exit 1; }; }
   19980 	;;
   19981       esac
   19982 
   19983       # Append the new tag name to the list of available tags.
   19984       if test -n "$tagname" ; then
   19985       available_tags="$available_tags $tagname"
   19986     fi
   19987     fi
   19988   done
   19989   IFS="$lt_save_ifs"
   19990 
   19991   # Now substitute the updated list of available tags.
   19992   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
   19993     mv "${ofile}T" "$ofile"
   19994     chmod +x "$ofile"
   19995   else
   19996     rm -f "${ofile}T"
   19997     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
   19998 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
   19999    { (exit 1); exit 1; }; }
   20000   fi
   20001 fi
   20002 
   20003 
   20004 
   20005 # This can be used to rebuild libtool when needed
   20006 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
   20007 
   20008 # Always use our own libtool.
   20009 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   20010 
   20011 # Prevent multiple expansion
   20012 
   20013 
   20014 
   20015 
   20016 
   20017 
   20018 
   20019 
   20020 
   20021 
   20022 
   20023 
   20024 
   20025 
   20026 
   20027 
   20028 
   20029 
   20030 
   20031 
   20032 for ac_prog in gawk mawk nawk awk
   20033 do
   20034   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20035 set dummy $ac_prog; ac_word=$2
   20036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20037 $as_echo_n "checking for $ac_word... " >&6; }
   20038 if test "${ac_cv_prog_AWK+set}" = set; then
   20039   $as_echo_n "(cached) " >&6
   20040 else
   20041   if test -n "$AWK"; then
   20042   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   20043 else
   20044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20045 for as_dir in $PATH
   20046 do
   20047   IFS=$as_save_IFS
   20048   test -z "$as_dir" && as_dir=.
   20049   for ac_exec_ext in '' $ac_executable_extensions; do
   20050   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20051     ac_cv_prog_AWK="$ac_prog"
   20052     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20053     break 2
   20054   fi
   20055 done
   20056 done
   20057 IFS=$as_save_IFS
   20058 
   20059 fi
   20060 fi
   20061 AWK=$ac_cv_prog_AWK
   20062 if test -n "$AWK"; then
   20063   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
   20064 $as_echo "$AWK" >&6; }
   20065 else
   20066   { $as_echo "$as_me:$LINENO: result: no" >&5
   20067 $as_echo "no" >&6; }
   20068 fi
   20069 
   20070 
   20071   test -n "$AWK" && break
   20072 done
   20073 
   20074 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   20075 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   20076 if test "${ac_cv_path_SED+set}" = set; then
   20077   $as_echo_n "(cached) " >&6
   20078 else
   20079             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   20080      for ac_i in 1 2 3 4 5 6 7; do
   20081        ac_script="$ac_script$as_nl$ac_script"
   20082      done
   20083      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   20084      $as_unset ac_script || ac_script=
   20085      if test -z "$SED"; then
   20086   ac_path_SED_found=false
   20087   # Loop through the user's path and test for each of PROGNAME-LIST
   20088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20089 for as_dir in $PATH
   20090 do
   20091   IFS=$as_save_IFS
   20092   test -z "$as_dir" && as_dir=.
   20093   for ac_prog in sed gsed; do
   20094     for ac_exec_ext in '' $ac_executable_extensions; do
   20095       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   20096       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   20097 # Check for GNU ac_path_SED and select it if it is found.
   20098   # Check for GNU $ac_path_SED
   20099 case `"$ac_path_SED" --version 2>&1` in
   20100 *GNU*)
   20101   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   20102 *)
   20103   ac_count=0
   20104   $as_echo_n 0123456789 >"conftest.in"
   20105   while :
   20106   do
   20107     cat "conftest.in" "conftest.in" >"conftest.tmp"
   20108     mv "conftest.tmp" "conftest.in"
   20109     cp "conftest.in" "conftest.nl"
   20110     $as_echo '' >> "conftest.nl"
   20111     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   20112     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   20113     ac_count=`expr $ac_count + 1`
   20114     if test $ac_count -gt ${ac_path_SED_max-0}; then
   20115       # Best one so far, save it but keep looking for a better one
   20116       ac_cv_path_SED="$ac_path_SED"
   20117       ac_path_SED_max=$ac_count
   20118     fi
   20119     # 10*(2^10) chars as input seems more than enough
   20120     test $ac_count -gt 10 && break
   20121   done
   20122   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   20123 esac
   20124 
   20125       $ac_path_SED_found && break 3
   20126     done
   20127   done
   20128 done
   20129 IFS=$as_save_IFS
   20130   if test -z "$ac_cv_path_SED"; then
   20131     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
   20132 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
   20133    { (exit 1); exit 1; }; }
   20134   fi
   20135 else
   20136   ac_cv_path_SED=$SED
   20137 fi
   20138 
   20139 fi
   20140 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
   20141 $as_echo "$ac_cv_path_SED" >&6; }
   20142  SED="$ac_cv_path_SED"
   20143   rm -f conftest.sed
   20144 
   20145 
   20146 for ac_prog in groff
   20147 do
   20148   # Extract the first word of "$ac_prog", so it can be a program name with args.
   20149 set dummy $ac_prog; ac_word=$2
   20150 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20151 $as_echo_n "checking for $ac_word... " >&6; }
   20152 if test "${ac_cv_path_GROFF+set}" = set; then
   20153   $as_echo_n "(cached) " >&6
   20154 else
   20155   case $GROFF in
   20156   [\\/]* | ?:[\\/]*)
   20157   ac_cv_path_GROFF="$GROFF" # Let the user override the test with a path.
   20158   ;;
   20159   *)
   20160   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20161 as_dummy="$PATH:/usr/gnu/bin"
   20162 for as_dir in $as_dummy
   20163 do
   20164   IFS=$as_save_IFS
   20165   test -z "$as_dir" && as_dir=.
   20166   for ac_exec_ext in '' $ac_executable_extensions; do
   20167   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20168     ac_cv_path_GROFF="$as_dir/$ac_word$ac_exec_ext"
   20169     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20170     break 2
   20171   fi
   20172 done
   20173 done
   20174 IFS=$as_save_IFS
   20175 
   20176   ;;
   20177 esac
   20178 fi
   20179 GROFF=$ac_cv_path_GROFF
   20180 if test -n "$GROFF"; then
   20181   { $as_echo "$as_me:$LINENO: result: $GROFF" >&5
   20182 $as_echo "$GROFF" >&6; }
   20183 else
   20184   { $as_echo "$as_me:$LINENO: result: no" >&5
   20185 $as_echo "no" >&6; }
   20186 fi
   20187 
   20188 
   20189   test -n "$GROFF" && break
   20190 done
   20191 test -n "$GROFF" || GROFF="none"
   20192 
   20193 
   20194 { $as_echo "$as_me:$LINENO: checking whether to build documentation" >&5
   20195 $as_echo_n "checking whether to build documentation... " >&6; }
   20196 # Check whether --enable-docs was given.
   20197 if test "${enable_docs+set}" = set; then
   20198   enableval=$enable_docs; build_docs="${enableval}"
   20199 else
   20200   build_docs="auto"
   20201 fi
   20202 
   20203 
   20204 if test "x${build_docs}" = xauto; then
   20205     if test "x${GROFF}" = xnone ; then
   20206 	build_docs=no
   20207     else
   20208 	build_docs=yes
   20209     fi
   20210 fi
   20211 { $as_echo "$as_me:$LINENO: result: ${build_docs}" >&5
   20212 $as_echo "${build_docs}" >&6; }
   20213 if test "x${build_docs}" = xyes && test "x${GROFF}" = xnone ; then
   20214     { { $as_echo "$as_me:$LINENO: error: can't build documentation without groff" >&5
   20215 $as_echo "$as_me: error: can't build documentation without groff" >&2;}
   20216    { (exit 1); exit 1; }; }
   20217 fi
   20218 
   20219  if test x$build_docs = xyes; then
   20220   BUILD_DOCS_TRUE=
   20221   BUILD_DOCS_FALSE='#'
   20222 else
   20223   BUILD_DOCS_TRUE='#'
   20224   BUILD_DOCS_FALSE=
   20225 fi
   20226 
   20227 
   20228 # Need to call this explicitly since the first call to PKG_CHECK_MODULES
   20229 # is in an if statement, and later calls would break if it's skipped.
   20230 
   20231 
   20232 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   20233 	if test -n "$ac_tool_prefix"; then
   20234   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   20235 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   20236 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20237 $as_echo_n "checking for $ac_word... " >&6; }
   20238 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
   20239   $as_echo_n "(cached) " >&6
   20240 else
   20241   case $PKG_CONFIG in
   20242   [\\/]* | ?:[\\/]*)
   20243   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   20244   ;;
   20245   *)
   20246   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20247 for as_dir in $PATH
   20248 do
   20249   IFS=$as_save_IFS
   20250   test -z "$as_dir" && as_dir=.
   20251   for ac_exec_ext in '' $ac_executable_extensions; do
   20252   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20253     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20254     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20255     break 2
   20256   fi
   20257 done
   20258 done
   20259 IFS=$as_save_IFS
   20260 
   20261   ;;
   20262 esac
   20263 fi
   20264 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   20265 if test -n "$PKG_CONFIG"; then
   20266   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
   20267 $as_echo "$PKG_CONFIG" >&6; }
   20268 else
   20269   { $as_echo "$as_me:$LINENO: result: no" >&5
   20270 $as_echo "no" >&6; }
   20271 fi
   20272 
   20273 
   20274 fi
   20275 if test -z "$ac_cv_path_PKG_CONFIG"; then
   20276   ac_pt_PKG_CONFIG=$PKG_CONFIG
   20277   # Extract the first word of "pkg-config", so it can be a program name with args.
   20278 set dummy pkg-config; ac_word=$2
   20279 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
   20280 $as_echo_n "checking for $ac_word... " >&6; }
   20281 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
   20282   $as_echo_n "(cached) " >&6
   20283 else
   20284   case $ac_pt_PKG_CONFIG in
   20285   [\\/]* | ?:[\\/]*)
   20286   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   20287   ;;
   20288   *)
   20289   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   20290 for as_dir in $PATH
   20291 do
   20292   IFS=$as_save_IFS
   20293   test -z "$as_dir" && as_dir=.
   20294   for ac_exec_ext in '' $ac_executable_extensions; do
   20295   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   20296     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   20297     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   20298     break 2
   20299   fi
   20300 done
   20301 done
   20302 IFS=$as_save_IFS
   20303 
   20304   ;;
   20305 esac
   20306 fi
   20307 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   20308 if test -n "$ac_pt_PKG_CONFIG"; then
   20309   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
   20310 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   20311 else
   20312   { $as_echo "$as_me:$LINENO: result: no" >&5
   20313 $as_echo "no" >&6; }
   20314 fi
   20315 
   20316   if test "x$ac_pt_PKG_CONFIG" = x; then
   20317     PKG_CONFIG=""
   20318   else
   20319     case $cross_compiling:$ac_tool_warned in
   20320 yes:)
   20321 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
   20322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   20323 ac_tool_warned=yes ;;
   20324 esac
   20325     PKG_CONFIG=$ac_pt_PKG_CONFIG
   20326   fi
   20327 else
   20328   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   20329 fi
   20330 
   20331 fi
   20332 if test -n "$PKG_CONFIG"; then
   20333 	_pkg_min_version=0.9.0
   20334 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
   20335 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   20336 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   20337 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
   20338 $as_echo "yes" >&6; }
   20339 	else
   20340 		{ $as_echo "$as_me:$LINENO: result: no" >&5
   20341 $as_echo "no" >&6; }
   20342 		PKG_CONFIG=""
   20343 	fi
   20344 
   20345 fi
   20346 
   20347    { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C99" >&5
   20348 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   20349 if test "${ac_cv_prog_cc_c99+set}" = set; then
   20350   $as_echo_n "(cached) " >&6
   20351 else
   20352   ac_cv_prog_cc_c99=no
   20353 ac_save_CC=$CC
   20354 cat >conftest.$ac_ext <<_ACEOF
   20355 /* confdefs.h.  */
   20356 _ACEOF
   20357 cat confdefs.h >>conftest.$ac_ext
   20358 cat >>conftest.$ac_ext <<_ACEOF
   20359 /* end confdefs.h.  */
   20360 #include <stdarg.h>
   20361 #include <stdbool.h>
   20362 #include <stdlib.h>
   20363 #include <wchar.h>
   20364 #include <stdio.h>
   20365 
   20366 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   20367 #define debug(...) fprintf (stderr, __VA_ARGS__)
   20368 #define showlist(...) puts (#__VA_ARGS__)
   20369 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   20370 static void
   20371 test_varargs_macros (void)
   20372 {
   20373   int x = 1234;
   20374   int y = 5678;
   20375   debug ("Flag");
   20376   debug ("X = %d\n", x);
   20377   showlist (The first, second, and third items.);
   20378   report (x>y, "x is %d but y is %d", x, y);
   20379 }
   20380 
   20381 // Check long long types.
   20382 #define BIG64 18446744073709551615ull
   20383 #define BIG32 4294967295ul
   20384 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   20385 #if !BIG_OK
   20386   your preprocessor is broken;
   20387 #endif
   20388 #if BIG_OK
   20389 #else
   20390   your preprocessor is broken;
   20391 #endif
   20392 static long long int bignum = -9223372036854775807LL;
   20393 static unsigned long long int ubignum = BIG64;
   20394 
   20395 struct incomplete_array
   20396 {
   20397   int datasize;
   20398   double data[];
   20399 };
   20400 
   20401 struct named_init {
   20402   int number;
   20403   const wchar_t *name;
   20404   double average;
   20405 };
   20406 
   20407 typedef const char *ccp;
   20408 
   20409 static inline int
   20410 test_restrict (ccp restrict text)
   20411 {
   20412   // See if C++-style comments work.
   20413   // Iterate through items via the restricted pointer.
   20414   // Also check for declarations in for loops.
   20415   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   20416     continue;
   20417   return 0;
   20418 }
   20419 
   20420 // Check varargs and va_copy.
   20421 static void
   20422 test_varargs (const char *format, ...)
   20423 {
   20424   va_list args;
   20425   va_start (args, format);
   20426   va_list args_copy;
   20427   va_copy (args_copy, args);
   20428 
   20429   const char *str;
   20430   int number;
   20431   float fnumber;
   20432 
   20433   while (*format)
   20434     {
   20435       switch (*format++)
   20436 	{
   20437 	case 's': // string
   20438 	  str = va_arg (args_copy, const char *);
   20439 	  break;
   20440 	case 'd': // int
   20441 	  number = va_arg (args_copy, int);
   20442 	  break;
   20443 	case 'f': // float
   20444 	  fnumber = va_arg (args_copy, double);
   20445 	  break;
   20446 	default:
   20447 	  break;
   20448 	}
   20449     }
   20450   va_end (args_copy);
   20451   va_end (args);
   20452 }
   20453 
   20454 int
   20455 main ()
   20456 {
   20457 
   20458   // Check bool.
   20459   _Bool success = false;
   20460 
   20461   // Check restrict.
   20462   if (test_restrict ("String literal") == 0)
   20463     success = true;
   20464   char *restrict newvar = "Another string";
   20465 
   20466   // Check varargs.
   20467   test_varargs ("s, d' f .", "string", 65, 34.234);
   20468   test_varargs_macros ();
   20469 
   20470   // Check flexible array members.
   20471   struct incomplete_array *ia =
   20472     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   20473   ia->datasize = 10;
   20474   for (int i = 0; i < ia->datasize; ++i)
   20475     ia->data[i] = i * 1.234;
   20476 
   20477   // Check named initializers.
   20478   struct named_init ni = {
   20479     .number = 34,
   20480     .name = L"Test wide string",
   20481     .average = 543.34343,
   20482   };
   20483 
   20484   ni.number = 58;
   20485 
   20486   int dynamic_array[ni.number];
   20487   dynamic_array[ni.number - 1] = 543;
   20488 
   20489   // work around unused variable warnings
   20490   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   20491 	  || dynamic_array[ni.number - 1] != 543);
   20492 
   20493   ;
   20494   return 0;
   20495 }
   20496 _ACEOF
   20497 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   20498 do
   20499   CC="$ac_save_CC $ac_arg"
   20500   rm -f conftest.$ac_objext
   20501 if { (ac_try="$ac_compile"
   20502 case "(($ac_try" in
   20503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20504   *) ac_try_echo=$ac_try;;
   20505 esac
   20506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20507 $as_echo "$ac_try_echo") >&5
   20508   (eval "$ac_compile") 2>conftest.er1
   20509   ac_status=$?
   20510   grep -v '^ *+' conftest.er1 >conftest.err
   20511   rm -f conftest.er1
   20512   cat conftest.err >&5
   20513   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20514   (exit $ac_status); } && {
   20515 	 test -z "$ac_c_werror_flag" ||
   20516 	 test ! -s conftest.err
   20517        } && test -s conftest.$ac_objext; then
   20518   ac_cv_prog_cc_c99=$ac_arg
   20519 else
   20520   $as_echo "$as_me: failed program was:" >&5
   20521 sed 's/^/| /' conftest.$ac_ext >&5
   20522 
   20523 
   20524 fi
   20525 
   20526 rm -f core conftest.err conftest.$ac_objext
   20527   test "x$ac_cv_prog_cc_c99" != "xno" && break
   20528 done
   20529 rm -f conftest.$ac_ext
   20530 CC=$ac_save_CC
   20531 
   20532 fi
   20533 # AC_CACHE_VAL
   20534 case "x$ac_cv_prog_cc_c99" in
   20535   x)
   20536     { $as_echo "$as_me:$LINENO: result: none needed" >&5
   20537 $as_echo "none needed" >&6; } ;;
   20538   xno)
   20539     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
   20540 $as_echo "unsupported" >&6; } ;;
   20541   *)
   20542     CC="$CC $ac_cv_prog_cc_c99"
   20543     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c99" >&5
   20544 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   20545 esac
   20546 
   20547 
   20548 
   20549 
   20550 
   20551 
   20552 if  test "x$GCC" = xyes ; then
   20553     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   20554 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   20555 -Wbad-function-cast"
   20556     case `$CC -dumpversion` in
   20557     3.4.* | 4.*)
   20558 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   20559 	;;
   20560     esac
   20561 else
   20562     { $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20563 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20564 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20565   $as_echo_n "(cached) " >&6
   20566 else
   20567   cat >conftest.$ac_ext <<_ACEOF
   20568 /* confdefs.h.  */
   20569 _ACEOF
   20570 cat confdefs.h >>conftest.$ac_ext
   20571 cat >>conftest.$ac_ext <<_ACEOF
   20572 /* end confdefs.h.  */
   20573 $ac_includes_default
   20574 int
   20575 main ()
   20576 {
   20577 #ifndef __SUNPRO_C
   20578   (void) __SUNPRO_C;
   20579 #endif
   20580 
   20581   ;
   20582   return 0;
   20583 }
   20584 _ACEOF
   20585 rm -f conftest.$ac_objext
   20586 if { (ac_try="$ac_compile"
   20587 case "(($ac_try" in
   20588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20589   *) ac_try_echo=$ac_try;;
   20590 esac
   20591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20592 $as_echo "$ac_try_echo") >&5
   20593   (eval "$ac_compile") 2>conftest.er1
   20594   ac_status=$?
   20595   grep -v '^ *+' conftest.er1 >conftest.err
   20596   rm -f conftest.er1
   20597   cat conftest.err >&5
   20598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20599   (exit $ac_status); } && {
   20600 	 test -z "$ac_c_werror_flag" ||
   20601 	 test ! -s conftest.err
   20602        } && test -s conftest.$ac_objext; then
   20603   ac_cv_have_decl___SUNPRO_C=yes
   20604 else
   20605   $as_echo "$as_me: failed program was:" >&5
   20606 sed 's/^/| /' conftest.$ac_ext >&5
   20607 
   20608 	ac_cv_have_decl___SUNPRO_C=no
   20609 fi
   20610 
   20611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20612 fi
   20613 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20614 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20615 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20616   SUNCC="yes"
   20617 else
   20618   SUNCC="no"
   20619 fi
   20620 
   20621     if test "x$SUNCC" = "xyes"; then
   20622 	CWARNFLAGS="-v"
   20623     fi
   20624 fi
   20625 
   20626 # Check whether --enable-silent-rules was given.
   20627 if test "${enable_silent_rules+set}" = set; then
   20628   enableval=$enable_silent_rules;
   20629 fi
   20630 
   20631 case $enable_silent_rules in
   20632 yes) AM_DEFAULT_VERBOSITY=0;;
   20633 no)  AM_DEFAULT_VERBOSITY=1;;
   20634 *)   AM_DEFAULT_VERBOSITY=0;;
   20635 esac
   20636 AM_BACKSLASH='\'
   20637 
   20638 
   20639 
   20640 
   20641 
   20642 
   20643 
   20644 # Check whether --enable-strict-compilation was given.
   20645 if test "${enable_strict_compilation+set}" = set; then
   20646   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   20647 else
   20648   STRICT_COMPILE=no
   20649 fi
   20650 
   20651 if test "x$STRICT_COMPILE" = "xyes"; then
   20652 	{ $as_echo "$as_me:$LINENO: checking whether __SUNPRO_C is declared" >&5
   20653 $as_echo_n "checking whether __SUNPRO_C is declared... " >&6; }
   20654 if test "${ac_cv_have_decl___SUNPRO_C+set}" = set; then
   20655   $as_echo_n "(cached) " >&6
   20656 else
   20657   cat >conftest.$ac_ext <<_ACEOF
   20658 /* confdefs.h.  */
   20659 _ACEOF
   20660 cat confdefs.h >>conftest.$ac_ext
   20661 cat >>conftest.$ac_ext <<_ACEOF
   20662 /* end confdefs.h.  */
   20663 $ac_includes_default
   20664 int
   20665 main ()
   20666 {
   20667 #ifndef __SUNPRO_C
   20668   (void) __SUNPRO_C;
   20669 #endif
   20670 
   20671   ;
   20672   return 0;
   20673 }
   20674 _ACEOF
   20675 rm -f conftest.$ac_objext
   20676 if { (ac_try="$ac_compile"
   20677 case "(($ac_try" in
   20678   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20679   *) ac_try_echo=$ac_try;;
   20680 esac
   20681 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20682 $as_echo "$ac_try_echo") >&5
   20683   (eval "$ac_compile") 2>conftest.er1
   20684   ac_status=$?
   20685   grep -v '^ *+' conftest.er1 >conftest.err
   20686   rm -f conftest.er1
   20687   cat conftest.err >&5
   20688   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20689   (exit $ac_status); } && {
   20690 	 test -z "$ac_c_werror_flag" ||
   20691 	 test ! -s conftest.err
   20692        } && test -s conftest.$ac_objext; then
   20693   ac_cv_have_decl___SUNPRO_C=yes
   20694 else
   20695   $as_echo "$as_me: failed program was:" >&5
   20696 sed 's/^/| /' conftest.$ac_ext >&5
   20697 
   20698 	ac_cv_have_decl___SUNPRO_C=no
   20699 fi
   20700 
   20701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20702 fi
   20703 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___SUNPRO_C" >&5
   20704 $as_echo "$ac_cv_have_decl___SUNPRO_C" >&6; }
   20705 if test "x$ac_cv_have_decl___SUNPRO_C" = x""yes; then
   20706   SUNCC="yes"
   20707 else
   20708   SUNCC="no"
   20709 fi
   20710 
   20711 	{ $as_echo "$as_me:$LINENO: checking whether __INTEL_COMPILER is declared" >&5
   20712 $as_echo_n "checking whether __INTEL_COMPILER is declared... " >&6; }
   20713 if test "${ac_cv_have_decl___INTEL_COMPILER+set}" = set; then
   20714   $as_echo_n "(cached) " >&6
   20715 else
   20716   cat >conftest.$ac_ext <<_ACEOF
   20717 /* confdefs.h.  */
   20718 _ACEOF
   20719 cat confdefs.h >>conftest.$ac_ext
   20720 cat >>conftest.$ac_ext <<_ACEOF
   20721 /* end confdefs.h.  */
   20722 $ac_includes_default
   20723 int
   20724 main ()
   20725 {
   20726 #ifndef __INTEL_COMPILER
   20727   (void) __INTEL_COMPILER;
   20728 #endif
   20729 
   20730   ;
   20731   return 0;
   20732 }
   20733 _ACEOF
   20734 rm -f conftest.$ac_objext
   20735 if { (ac_try="$ac_compile"
   20736 case "(($ac_try" in
   20737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   20738   *) ac_try_echo=$ac_try;;
   20739 esac
   20740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   20741 $as_echo "$ac_try_echo") >&5
   20742   (eval "$ac_compile") 2>conftest.er1
   20743   ac_status=$?
   20744   grep -v '^ *+' conftest.er1 >conftest.err
   20745   rm -f conftest.er1
   20746   cat conftest.err >&5
   20747   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20748   (exit $ac_status); } && {
   20749 	 test -z "$ac_c_werror_flag" ||
   20750 	 test ! -s conftest.err
   20751        } && test -s conftest.$ac_objext; then
   20752   ac_cv_have_decl___INTEL_COMPILER=yes
   20753 else
   20754   $as_echo "$as_me: failed program was:" >&5
   20755 sed 's/^/| /' conftest.$ac_ext >&5
   20756 
   20757 	ac_cv_have_decl___INTEL_COMPILER=no
   20758 fi
   20759 
   20760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   20761 fi
   20762 { $as_echo "$as_me:$LINENO: result: $ac_cv_have_decl___INTEL_COMPILER" >&5
   20763 $as_echo "$ac_cv_have_decl___INTEL_COMPILER" >&6; }
   20764 if test "x$ac_cv_have_decl___INTEL_COMPILER" = x""yes; then
   20765   INTELCC="yes"
   20766 else
   20767   INTELCC="no"
   20768 fi
   20769 
   20770 	if test "x$GCC" = xyes ; then
   20771 		STRICT_CFLAGS="-pedantic -Werror"
   20772 	elif test "x$SUNCC" = "xyes"; then
   20773 		STRICT_CFLAGS="-errwarn"
   20774     elif test "x$INTELCC" = "xyes"; then
   20775 		STRICT_CFLAGS="-Werror"
   20776 	fi
   20777 fi
   20778 CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   20779 
   20780 
   20781 
   20782 
   20783 # Check whether --with-release-version was given.
   20784 if test "${with_release_version+set}" = set; then
   20785   withval=$with_release_version; RELEASE_VERSION="$withval"
   20786 else
   20787   RELEASE_VERSION=""
   20788 fi
   20789 
   20790 	if test "x$RELEASE_VERSION" != "x"; then
   20791 		PACKAGE="$PACKAGE-$RELEASE_VERSION"
   20792 		PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
   20793 		{ $as_echo "$as_me:$LINENO: Building with package name set to $PACKAGE" >&5
   20794 $as_echo "$as_me: Building with package name set to $PACKAGE" >&6;}
   20795 	fi
   20796 
   20797 cat >>confdefs.h <<_ACEOF
   20798 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   20799 _ACEOF
   20800 
   20801 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   20802 	if test "x$PVM" = "x"; then
   20803 		PVM="0"
   20804 	fi
   20805 
   20806 cat >>confdefs.h <<_ACEOF
   20807 #define PACKAGE_VERSION_MINOR $PVM
   20808 _ACEOF
   20809 
   20810 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   20811 	if test "x$PVP" = "x"; then
   20812 		PVP="0"
   20813 	fi
   20814 
   20815 cat >>confdefs.h <<_ACEOF
   20816 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   20817 _ACEOF
   20818 
   20819 
   20820 
   20821 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > .changelog.tmp && \
   20822 mv .changelog.tmp ChangeLog) || (rm -f .changelog.tmp; touch ChangeLog; \
   20823 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   20824 
   20825 distcleancheck_listfiles='find . -type f ! -name ChangeLog -print'
   20826 
   20827 
   20828 
   20829 
   20830 
   20831 if test x$APP_MAN_SUFFIX = x    ; then
   20832     APP_MAN_SUFFIX=1
   20833 fi
   20834 if test x$APP_MAN_DIR = x    ; then
   20835     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   20836 fi
   20837 
   20838 if test x$LIB_MAN_SUFFIX = x    ; then
   20839     LIB_MAN_SUFFIX=3
   20840 fi
   20841 if test x$LIB_MAN_DIR = x    ; then
   20842     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   20843 fi
   20844 
   20845 if test x$FILE_MAN_SUFFIX = x    ; then
   20846     case $host_os in
   20847 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   20848 	*)		FILE_MAN_SUFFIX=5  ;;
   20849     esac
   20850 fi
   20851 if test x$FILE_MAN_DIR = x    ; then
   20852     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   20853 fi
   20854 
   20855 if test x$MISC_MAN_SUFFIX = x    ; then
   20856     case $host_os in
   20857 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   20858 	*)		MISC_MAN_SUFFIX=7  ;;
   20859     esac
   20860 fi
   20861 if test x$MISC_MAN_DIR = x    ; then
   20862     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   20863 fi
   20864 
   20865 if test x$DRIVER_MAN_SUFFIX = x    ; then
   20866     case $host_os in
   20867 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   20868 	*)		DRIVER_MAN_SUFFIX=4  ;;
   20869     esac
   20870 fi
   20871 if test x$DRIVER_MAN_DIR = x    ; then
   20872     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   20873 fi
   20874 
   20875 if test x$ADMIN_MAN_SUFFIX = x    ; then
   20876     case $host_os in
   20877 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   20878 	*)		ADMIN_MAN_SUFFIX=8  ;;
   20879     esac
   20880 fi
   20881 if test x$ADMIN_MAN_DIR = x    ; then
   20882     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   20883 fi
   20884 
   20885 
   20886 
   20887 
   20888 
   20889 
   20890 
   20891 
   20892 
   20893 
   20894 
   20895 
   20896 
   20897 
   20898 
   20899 
   20900 
   20901 #
   20902 # fix libtool to set SONAME to libXaw.so.$major
   20903 #
   20904 ac_config_commands="$ac_config_commands libtool_hack"
   20905 
   20906 
   20907 # OSX/Win32 rules are different.
   20908 platform_win32=no
   20909 platform_darwin=no
   20910 LIBEXT=so
   20911 case $host_os in
   20912     cygwin*|mingw*)
   20913 	platform_win32=yes
   20914 	;;
   20915     darwin*)
   20916 	LIBEXT=dylib
   20917 	platform_darwin=yes
   20918 	;;
   20919 esac
   20920 
   20921  if test "x$platform_win32" = "xyes"; then
   20922   PLATFORM_WIN32_TRUE=
   20923   PLATFORM_WIN32_FALSE='#'
   20924 else
   20925   PLATFORM_WIN32_TRUE='#'
   20926   PLATFORM_WIN32_FALSE=
   20927 fi
   20928 
   20929  if test "x$platform_darwin" = "xyes"; then
   20930   PLATFORM_DARWIN_TRUE=
   20931   PLATFORM_DARWIN_FALSE='#'
   20932 else
   20933   PLATFORM_DARWIN_TRUE='#'
   20934   PLATFORM_DARWIN_FALSE=
   20935 fi
   20936 
   20937 
   20938 # Whether to build Xaw6
   20939 
   20940 # Check whether --enable-xaw6 was given.
   20941 if test "${enable_xaw6+set}" = set; then
   20942   enableval=$enable_xaw6; build_v6=$enableval
   20943 else
   20944   build_v6=yes
   20945 fi
   20946 
   20947 
   20948 if test "x$build_v6" = xyes; then
   20949 
   20950 pkg_failed=no
   20951 { $as_echo "$as_me:$LINENO: checking for XAW6" >&5
   20952 $as_echo_n "checking for XAW6... " >&6; }
   20953 
   20954 if test -n "$XAW6_CFLAGS"; then
   20955     pkg_cv_XAW6_CFLAGS="$XAW6_CFLAGS"
   20956  elif test -n "$PKG_CONFIG"; then
   20957     if test -n "$PKG_CONFIG" && \
   20958     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
   20959   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20960   ac_status=$?
   20961   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20962   (exit $ac_status); }; then
   20963   pkg_cv_XAW6_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20964 else
   20965   pkg_failed=yes
   20966 fi
   20967  else
   20968     pkg_failed=untried
   20969 fi
   20970 if test -n "$XAW6_LIBS"; then
   20971     pkg_cv_XAW6_LIBS="$XAW6_LIBS"
   20972  elif test -n "$PKG_CONFIG"; then
   20973     if test -n "$PKG_CONFIG" && \
   20974     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu\"") >&5
   20975   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu") 2>&5
   20976   ac_status=$?
   20977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   20978   (exit $ac_status); }; then
   20979   pkg_cv_XAW6_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu" 2>/dev/null`
   20980 else
   20981   pkg_failed=yes
   20982 fi
   20983  else
   20984     pkg_failed=untried
   20985 fi
   20986 
   20987 
   20988 
   20989 if test $pkg_failed = yes; then
   20990 
   20991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   20992         _pkg_short_errors_supported=yes
   20993 else
   20994         _pkg_short_errors_supported=no
   20995 fi
   20996         if test $_pkg_short_errors_supported = yes; then
   20997 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
   20998         else
   20999 	        XAW6_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu" 2>&1`
   21000         fi
   21001 	# Put the nasty error message in config.log where it belongs
   21002 	echo "$XAW6_PKG_ERRORS" >&5
   21003 
   21004 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
   21005 
   21006 $XAW6_PKG_ERRORS
   21007 
   21008 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21009 installed software in a non-standard prefix.
   21010 
   21011 Alternatively, you may set the environment variables XAW6_CFLAGS
   21012 and XAW6_LIBS to avoid the need to call pkg-config.
   21013 See the pkg-config man page for more details.
   21014 " >&5
   21015 $as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu) were not met:
   21016 
   21017 $XAW6_PKG_ERRORS
   21018 
   21019 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21020 installed software in a non-standard prefix.
   21021 
   21022 Alternatively, you may set the environment variables XAW6_CFLAGS
   21023 and XAW6_LIBS to avoid the need to call pkg-config.
   21024 See the pkg-config man page for more details.
   21025 " >&2;}
   21026    { (exit 1); exit 1; }; }
   21027 elif test $pkg_failed = untried; then
   21028 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21030 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21031 is in your PATH or set the PKG_CONFIG environment variable to the full
   21032 path to pkg-config.
   21033 
   21034 Alternatively, you may set the environment variables XAW6_CFLAGS
   21035 and XAW6_LIBS to avoid the need to call pkg-config.
   21036 See the pkg-config man page for more details.
   21037 
   21038 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21039 See \`config.log' for more details." >&5
   21040 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21041 is in your PATH or set the PKG_CONFIG environment variable to the full
   21042 path to pkg-config.
   21043 
   21044 Alternatively, you may set the environment variables XAW6_CFLAGS
   21045 and XAW6_LIBS to avoid the need to call pkg-config.
   21046 See the pkg-config man page for more details.
   21047 
   21048 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21049 See \`config.log' for more details." >&2;}
   21050    { (exit 1); exit 1; }; }; }
   21051 else
   21052 	XAW6_CFLAGS=$pkg_cv_XAW6_CFLAGS
   21053 	XAW6_LIBS=$pkg_cv_XAW6_LIBS
   21054         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21055 $as_echo "yes" >&6; }
   21056 	:
   21057 fi
   21058 
   21059 
   21060 fi
   21061 
   21062 
   21063 # Whether to build Xaw7
   21064 
   21065 # Check whether --enable-xaw7 was given.
   21066 if test "${enable_xaw7+set}" = set; then
   21067   enableval=$enable_xaw7; build_v7=$enableval
   21068 else
   21069   build_v7=yes
   21070 fi
   21071 
   21072 
   21073 if test "x$build_v7" = xyes; then
   21074 
   21075 pkg_failed=no
   21076 { $as_echo "$as_me:$LINENO: checking for XAW7" >&5
   21077 $as_echo_n "checking for XAW7... " >&6; }
   21078 
   21079 if test -n "$XAW7_CFLAGS"; then
   21080     pkg_cv_XAW7_CFLAGS="$XAW7_CFLAGS"
   21081  elif test -n "$PKG_CONFIG"; then
   21082     if test -n "$PKG_CONFIG" && \
   21083     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
   21084   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   21085   ac_status=$?
   21086   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21087   (exit $ac_status); }; then
   21088   pkg_cv_XAW7_CFLAGS=`$PKG_CONFIG --cflags "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   21089 else
   21090   pkg_failed=yes
   21091 fi
   21092  else
   21093     pkg_failed=untried
   21094 fi
   21095 if test -n "$XAW7_LIBS"; then
   21096     pkg_cv_XAW7_LIBS="$XAW7_LIBS"
   21097  elif test -n "$PKG_CONFIG"; then
   21098     if test -n "$PKG_CONFIG" && \
   21099     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"xproto x11 xext xextproto xt xmu xpm\"") >&5
   21100   ($PKG_CONFIG --exists --print-errors "xproto x11 xext xextproto xt xmu xpm") 2>&5
   21101   ac_status=$?
   21102   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21103   (exit $ac_status); }; then
   21104   pkg_cv_XAW7_LIBS=`$PKG_CONFIG --libs "xproto x11 xext xextproto xt xmu xpm" 2>/dev/null`
   21105 else
   21106   pkg_failed=yes
   21107 fi
   21108  else
   21109     pkg_failed=untried
   21110 fi
   21111 
   21112 
   21113 
   21114 if test $pkg_failed = yes; then
   21115 
   21116 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   21117         _pkg_short_errors_supported=yes
   21118 else
   21119         _pkg_short_errors_supported=no
   21120 fi
   21121         if test $_pkg_short_errors_supported = yes; then
   21122 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   21123         else
   21124 	        XAW7_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11 xext xextproto xt xmu xpm" 2>&1`
   21125         fi
   21126 	# Put the nasty error message in config.log where it belongs
   21127 	echo "$XAW7_PKG_ERRORS" >&5
   21128 
   21129 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
   21130 
   21131 $XAW7_PKG_ERRORS
   21132 
   21133 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21134 installed software in a non-standard prefix.
   21135 
   21136 Alternatively, you may set the environment variables XAW7_CFLAGS
   21137 and XAW7_LIBS to avoid the need to call pkg-config.
   21138 See the pkg-config man page for more details.
   21139 " >&5
   21140 $as_echo "$as_me: error: Package requirements (xproto x11 xext xextproto xt xmu xpm) were not met:
   21141 
   21142 $XAW7_PKG_ERRORS
   21143 
   21144 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   21145 installed software in a non-standard prefix.
   21146 
   21147 Alternatively, you may set the environment variables XAW7_CFLAGS
   21148 and XAW7_LIBS to avoid the need to call pkg-config.
   21149 See the pkg-config man page for more details.
   21150 " >&2;}
   21151    { (exit 1); exit 1; }; }
   21152 elif test $pkg_failed = untried; then
   21153 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   21154 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   21155 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
   21156 is in your PATH or set the PKG_CONFIG environment variable to the full
   21157 path to pkg-config.
   21158 
   21159 Alternatively, you may set the environment variables XAW7_CFLAGS
   21160 and XAW7_LIBS to avoid the need to call pkg-config.
   21161 See the pkg-config man page for more details.
   21162 
   21163 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21164 See \`config.log' for more details." >&5
   21165 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
   21166 is in your PATH or set the PKG_CONFIG environment variable to the full
   21167 path to pkg-config.
   21168 
   21169 Alternatively, you may set the environment variables XAW7_CFLAGS
   21170 and XAW7_LIBS to avoid the need to call pkg-config.
   21171 See the pkg-config man page for more details.
   21172 
   21173 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   21174 See \`config.log' for more details." >&2;}
   21175    { (exit 1); exit 1; }; }; }
   21176 else
   21177 	XAW7_CFLAGS=$pkg_cv_XAW7_CFLAGS
   21178 	XAW7_LIBS=$pkg_cv_XAW7_LIBS
   21179         { $as_echo "$as_me:$LINENO: result: yes" >&5
   21180 $as_echo "yes" >&6; }
   21181 	:
   21182 fi
   21183 
   21184 
   21185 fi
   21186 
   21187 
   21188  if test x$build_v6 = xyes; then
   21189   BUILD_XAW6_TRUE=
   21190   BUILD_XAW6_FALSE='#'
   21191 else
   21192   BUILD_XAW6_TRUE='#'
   21193   BUILD_XAW6_FALSE=
   21194 fi
   21195 
   21196  if test x$build_v7 = xyes; then
   21197   BUILD_XAW7_TRUE=
   21198   BUILD_XAW7_FALSE='#'
   21199 else
   21200   BUILD_XAW7_TRUE='#'
   21201   BUILD_XAW7_FALSE=
   21202 fi
   21203 
   21204 
   21205 # Checks for header files.
   21206 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   21207 $as_echo_n "checking for ANSI C header files... " >&6; }
   21208 if test "${ac_cv_header_stdc+set}" = set; then
   21209   $as_echo_n "(cached) " >&6
   21210 else
   21211   cat >conftest.$ac_ext <<_ACEOF
   21212 /* confdefs.h.  */
   21213 _ACEOF
   21214 cat confdefs.h >>conftest.$ac_ext
   21215 cat >>conftest.$ac_ext <<_ACEOF
   21216 /* end confdefs.h.  */
   21217 #include <stdlib.h>
   21218 #include <stdarg.h>
   21219 #include <string.h>
   21220 #include <float.h>
   21221 
   21222 int
   21223 main ()
   21224 {
   21225 
   21226   ;
   21227   return 0;
   21228 }
   21229 _ACEOF
   21230 rm -f conftest.$ac_objext
   21231 if { (ac_try="$ac_compile"
   21232 case "(($ac_try" in
   21233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21234   *) ac_try_echo=$ac_try;;
   21235 esac
   21236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21237 $as_echo "$ac_try_echo") >&5
   21238   (eval "$ac_compile") 2>conftest.er1
   21239   ac_status=$?
   21240   grep -v '^ *+' conftest.er1 >conftest.err
   21241   rm -f conftest.er1
   21242   cat conftest.err >&5
   21243   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21244   (exit $ac_status); } && {
   21245 	 test -z "$ac_c_werror_flag" ||
   21246 	 test ! -s conftest.err
   21247        } && test -s conftest.$ac_objext; then
   21248   ac_cv_header_stdc=yes
   21249 else
   21250   $as_echo "$as_me: failed program was:" >&5
   21251 sed 's/^/| /' conftest.$ac_ext >&5
   21252 
   21253 	ac_cv_header_stdc=no
   21254 fi
   21255 
   21256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21257 
   21258 if test $ac_cv_header_stdc = yes; then
   21259   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   21260   cat >conftest.$ac_ext <<_ACEOF
   21261 /* confdefs.h.  */
   21262 _ACEOF
   21263 cat confdefs.h >>conftest.$ac_ext
   21264 cat >>conftest.$ac_ext <<_ACEOF
   21265 /* end confdefs.h.  */
   21266 #include <string.h>
   21267 
   21268 _ACEOF
   21269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21270   $EGREP "memchr" >/dev/null 2>&1; then
   21271   :
   21272 else
   21273   ac_cv_header_stdc=no
   21274 fi
   21275 rm -f conftest*
   21276 
   21277 fi
   21278 
   21279 if test $ac_cv_header_stdc = yes; then
   21280   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   21281   cat >conftest.$ac_ext <<_ACEOF
   21282 /* confdefs.h.  */
   21283 _ACEOF
   21284 cat confdefs.h >>conftest.$ac_ext
   21285 cat >>conftest.$ac_ext <<_ACEOF
   21286 /* end confdefs.h.  */
   21287 #include <stdlib.h>
   21288 
   21289 _ACEOF
   21290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   21291   $EGREP "free" >/dev/null 2>&1; then
   21292   :
   21293 else
   21294   ac_cv_header_stdc=no
   21295 fi
   21296 rm -f conftest*
   21297 
   21298 fi
   21299 
   21300 if test $ac_cv_header_stdc = yes; then
   21301   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   21302   if test "$cross_compiling" = yes; then
   21303   :
   21304 else
   21305   cat >conftest.$ac_ext <<_ACEOF
   21306 /* confdefs.h.  */
   21307 _ACEOF
   21308 cat confdefs.h >>conftest.$ac_ext
   21309 cat >>conftest.$ac_ext <<_ACEOF
   21310 /* end confdefs.h.  */
   21311 #include <ctype.h>
   21312 #include <stdlib.h>
   21313 #if ((' ' & 0x0FF) == 0x020)
   21314 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   21315 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   21316 #else
   21317 # define ISLOWER(c) \
   21318 		   (('a' <= (c) && (c) <= 'i') \
   21319 		     || ('j' <= (c) && (c) <= 'r') \
   21320 		     || ('s' <= (c) && (c) <= 'z'))
   21321 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   21322 #endif
   21323 
   21324 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   21325 int
   21326 main ()
   21327 {
   21328   int i;
   21329   for (i = 0; i < 256; i++)
   21330     if (XOR (islower (i), ISLOWER (i))
   21331 	|| toupper (i) != TOUPPER (i))
   21332       return 2;
   21333   return 0;
   21334 }
   21335 _ACEOF
   21336 rm -f conftest$ac_exeext
   21337 if { (ac_try="$ac_link"
   21338 case "(($ac_try" in
   21339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21340   *) ac_try_echo=$ac_try;;
   21341 esac
   21342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21343 $as_echo "$ac_try_echo") >&5
   21344   (eval "$ac_link") 2>&5
   21345   ac_status=$?
   21346   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21347   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   21348   { (case "(($ac_try" in
   21349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21350   *) ac_try_echo=$ac_try;;
   21351 esac
   21352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21353 $as_echo "$ac_try_echo") >&5
   21354   (eval "$ac_try") 2>&5
   21355   ac_status=$?
   21356   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21357   (exit $ac_status); }; }; then
   21358   :
   21359 else
   21360   $as_echo "$as_me: program exited with status $ac_status" >&5
   21361 $as_echo "$as_me: failed program was:" >&5
   21362 sed 's/^/| /' conftest.$ac_ext >&5
   21363 
   21364 ( exit $ac_status )
   21365 ac_cv_header_stdc=no
   21366 fi
   21367 rm -rf conftest.dSYM
   21368 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   21369 fi
   21370 
   21371 
   21372 fi
   21373 fi
   21374 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   21375 $as_echo "$ac_cv_header_stdc" >&6; }
   21376 if test $ac_cv_header_stdc = yes; then
   21377 
   21378 cat >>confdefs.h <<\_ACEOF
   21379 #define STDC_HEADERS 1
   21380 _ACEOF
   21381 
   21382 fi
   21383 
   21384 if test "${ac_cv_header_wctype_h+set}" = set; then
   21385   { $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
   21386 $as_echo_n "checking for wctype.h... " >&6; }
   21387 if test "${ac_cv_header_wctype_h+set}" = set; then
   21388   $as_echo_n "(cached) " >&6
   21389 fi
   21390 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
   21391 $as_echo "$ac_cv_header_wctype_h" >&6; }
   21392 else
   21393   # Is the header compilable?
   21394 { $as_echo "$as_me:$LINENO: checking wctype.h usability" >&5
   21395 $as_echo_n "checking wctype.h usability... " >&6; }
   21396 cat >conftest.$ac_ext <<_ACEOF
   21397 /* confdefs.h.  */
   21398 _ACEOF
   21399 cat confdefs.h >>conftest.$ac_ext
   21400 cat >>conftest.$ac_ext <<_ACEOF
   21401 /* end confdefs.h.  */
   21402 $ac_includes_default
   21403 #include <wctype.h>
   21404 _ACEOF
   21405 rm -f conftest.$ac_objext
   21406 if { (ac_try="$ac_compile"
   21407 case "(($ac_try" in
   21408   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21409   *) ac_try_echo=$ac_try;;
   21410 esac
   21411 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21412 $as_echo "$ac_try_echo") >&5
   21413   (eval "$ac_compile") 2>conftest.er1
   21414   ac_status=$?
   21415   grep -v '^ *+' conftest.er1 >conftest.err
   21416   rm -f conftest.er1
   21417   cat conftest.err >&5
   21418   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21419   (exit $ac_status); } && {
   21420 	 test -z "$ac_c_werror_flag" ||
   21421 	 test ! -s conftest.err
   21422        } && test -s conftest.$ac_objext; then
   21423   ac_header_compiler=yes
   21424 else
   21425   $as_echo "$as_me: failed program was:" >&5
   21426 sed 's/^/| /' conftest.$ac_ext >&5
   21427 
   21428 	ac_header_compiler=no
   21429 fi
   21430 
   21431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21432 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21433 $as_echo "$ac_header_compiler" >&6; }
   21434 
   21435 # Is the header present?
   21436 { $as_echo "$as_me:$LINENO: checking wctype.h presence" >&5
   21437 $as_echo_n "checking wctype.h presence... " >&6; }
   21438 cat >conftest.$ac_ext <<_ACEOF
   21439 /* confdefs.h.  */
   21440 _ACEOF
   21441 cat confdefs.h >>conftest.$ac_ext
   21442 cat >>conftest.$ac_ext <<_ACEOF
   21443 /* end confdefs.h.  */
   21444 #include <wctype.h>
   21445 _ACEOF
   21446 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21447 case "(($ac_try" in
   21448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21449   *) ac_try_echo=$ac_try;;
   21450 esac
   21451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21452 $as_echo "$ac_try_echo") >&5
   21453   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21454   ac_status=$?
   21455   grep -v '^ *+' conftest.er1 >conftest.err
   21456   rm -f conftest.er1
   21457   cat conftest.err >&5
   21458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21459   (exit $ac_status); } >/dev/null && {
   21460 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21461 	 test ! -s conftest.err
   21462        }; then
   21463   ac_header_preproc=yes
   21464 else
   21465   $as_echo "$as_me: failed program was:" >&5
   21466 sed 's/^/| /' conftest.$ac_ext >&5
   21467 
   21468   ac_header_preproc=no
   21469 fi
   21470 
   21471 rm -f conftest.err conftest.$ac_ext
   21472 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21473 $as_echo "$ac_header_preproc" >&6; }
   21474 
   21475 # So?  What about this header?
   21476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21477   yes:no: )
   21478     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21479 $as_echo "$as_me: WARNING: wctype.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21480     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the compiler's result" >&5
   21481 $as_echo "$as_me: WARNING: wctype.h: proceeding with the compiler's result" >&2;}
   21482     ac_header_preproc=yes
   21483     ;;
   21484   no:yes:* )
   21485     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: present but cannot be compiled" >&5
   21486 $as_echo "$as_me: WARNING: wctype.h: present but cannot be compiled" >&2;}
   21487     { $as_echo "$as_me:$LINENO: WARNING: wctype.h:     check for missing prerequisite headers?" >&5
   21488 $as_echo "$as_me: WARNING: wctype.h:     check for missing prerequisite headers?" >&2;}
   21489     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: see the Autoconf documentation" >&5
   21490 $as_echo "$as_me: WARNING: wctype.h: see the Autoconf documentation" >&2;}
   21491     { $as_echo "$as_me:$LINENO: WARNING: wctype.h:     section \"Present But Cannot Be Compiled\"" >&5
   21492 $as_echo "$as_me: WARNING: wctype.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21493     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: proceeding with the preprocessor's result" >&5
   21494 $as_echo "$as_me: WARNING: wctype.h: proceeding with the preprocessor's result" >&2;}
   21495     { $as_echo "$as_me:$LINENO: WARNING: wctype.h: in the future, the compiler will take precedence" >&5
   21496 $as_echo "$as_me: WARNING: wctype.h: in the future, the compiler will take precedence" >&2;}
   21497     ( cat <<\_ASBOX
   21498 ## ---------------------------------------------------------------------- ##
   21499 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21500 ## ---------------------------------------------------------------------- ##
   21501 _ASBOX
   21502      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21503     ;;
   21504 esac
   21505 { $as_echo "$as_me:$LINENO: checking for wctype.h" >&5
   21506 $as_echo_n "checking for wctype.h... " >&6; }
   21507 if test "${ac_cv_header_wctype_h+set}" = set; then
   21508   $as_echo_n "(cached) " >&6
   21509 else
   21510   ac_cv_header_wctype_h=$ac_header_preproc
   21511 fi
   21512 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wctype_h" >&5
   21513 $as_echo "$ac_cv_header_wctype_h" >&6; }
   21514 
   21515 fi
   21516 if test "x$ac_cv_header_wctype_h" = x""yes; then
   21517 
   21518 cat >>confdefs.h <<\_ACEOF
   21519 #define HAS_WCTYPE_H 1
   21520 _ACEOF
   21521 
   21522 fi
   21523 
   21524 
   21525 if test "${ac_cv_header_wchar_h+set}" = set; then
   21526   { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
   21527 $as_echo_n "checking for wchar.h... " >&6; }
   21528 if test "${ac_cv_header_wchar_h+set}" = set; then
   21529   $as_echo_n "(cached) " >&6
   21530 fi
   21531 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
   21532 $as_echo "$ac_cv_header_wchar_h" >&6; }
   21533 else
   21534   # Is the header compilable?
   21535 { $as_echo "$as_me:$LINENO: checking wchar.h usability" >&5
   21536 $as_echo_n "checking wchar.h usability... " >&6; }
   21537 cat >conftest.$ac_ext <<_ACEOF
   21538 /* confdefs.h.  */
   21539 _ACEOF
   21540 cat confdefs.h >>conftest.$ac_ext
   21541 cat >>conftest.$ac_ext <<_ACEOF
   21542 /* end confdefs.h.  */
   21543 $ac_includes_default
   21544 #include <wchar.h>
   21545 _ACEOF
   21546 rm -f conftest.$ac_objext
   21547 if { (ac_try="$ac_compile"
   21548 case "(($ac_try" in
   21549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21550   *) ac_try_echo=$ac_try;;
   21551 esac
   21552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21553 $as_echo "$ac_try_echo") >&5
   21554   (eval "$ac_compile") 2>conftest.er1
   21555   ac_status=$?
   21556   grep -v '^ *+' conftest.er1 >conftest.err
   21557   rm -f conftest.er1
   21558   cat conftest.err >&5
   21559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21560   (exit $ac_status); } && {
   21561 	 test -z "$ac_c_werror_flag" ||
   21562 	 test ! -s conftest.err
   21563        } && test -s conftest.$ac_objext; then
   21564   ac_header_compiler=yes
   21565 else
   21566   $as_echo "$as_me: failed program was:" >&5
   21567 sed 's/^/| /' conftest.$ac_ext >&5
   21568 
   21569 	ac_header_compiler=no
   21570 fi
   21571 
   21572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21573 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21574 $as_echo "$ac_header_compiler" >&6; }
   21575 
   21576 # Is the header present?
   21577 { $as_echo "$as_me:$LINENO: checking wchar.h presence" >&5
   21578 $as_echo_n "checking wchar.h presence... " >&6; }
   21579 cat >conftest.$ac_ext <<_ACEOF
   21580 /* confdefs.h.  */
   21581 _ACEOF
   21582 cat confdefs.h >>conftest.$ac_ext
   21583 cat >>conftest.$ac_ext <<_ACEOF
   21584 /* end confdefs.h.  */
   21585 #include <wchar.h>
   21586 _ACEOF
   21587 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21588 case "(($ac_try" in
   21589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21590   *) ac_try_echo=$ac_try;;
   21591 esac
   21592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21593 $as_echo "$ac_try_echo") >&5
   21594   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21595   ac_status=$?
   21596   grep -v '^ *+' conftest.er1 >conftest.err
   21597   rm -f conftest.er1
   21598   cat conftest.err >&5
   21599   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21600   (exit $ac_status); } >/dev/null && {
   21601 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21602 	 test ! -s conftest.err
   21603        }; then
   21604   ac_header_preproc=yes
   21605 else
   21606   $as_echo "$as_me: failed program was:" >&5
   21607 sed 's/^/| /' conftest.$ac_ext >&5
   21608 
   21609   ac_header_preproc=no
   21610 fi
   21611 
   21612 rm -f conftest.err conftest.$ac_ext
   21613 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21614 $as_echo "$ac_header_preproc" >&6; }
   21615 
   21616 # So?  What about this header?
   21617 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21618   yes:no: )
   21619     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21620 $as_echo "$as_me: WARNING: wchar.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21621     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the compiler's result" >&5
   21622 $as_echo "$as_me: WARNING: wchar.h: proceeding with the compiler's result" >&2;}
   21623     ac_header_preproc=yes
   21624     ;;
   21625   no:yes:* )
   21626     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: present but cannot be compiled" >&5
   21627 $as_echo "$as_me: WARNING: wchar.h: present but cannot be compiled" >&2;}
   21628     { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     check for missing prerequisite headers?" >&5
   21629 $as_echo "$as_me: WARNING: wchar.h:     check for missing prerequisite headers?" >&2;}
   21630     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: see the Autoconf documentation" >&5
   21631 $as_echo "$as_me: WARNING: wchar.h: see the Autoconf documentation" >&2;}
   21632     { $as_echo "$as_me:$LINENO: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&5
   21633 $as_echo "$as_me: WARNING: wchar.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21634     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: proceeding with the preprocessor's result" >&5
   21635 $as_echo "$as_me: WARNING: wchar.h: proceeding with the preprocessor's result" >&2;}
   21636     { $as_echo "$as_me:$LINENO: WARNING: wchar.h: in the future, the compiler will take precedence" >&5
   21637 $as_echo "$as_me: WARNING: wchar.h: in the future, the compiler will take precedence" >&2;}
   21638     ( cat <<\_ASBOX
   21639 ## ---------------------------------------------------------------------- ##
   21640 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21641 ## ---------------------------------------------------------------------- ##
   21642 _ASBOX
   21643      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21644     ;;
   21645 esac
   21646 { $as_echo "$as_me:$LINENO: checking for wchar.h" >&5
   21647 $as_echo_n "checking for wchar.h... " >&6; }
   21648 if test "${ac_cv_header_wchar_h+set}" = set; then
   21649   $as_echo_n "(cached) " >&6
   21650 else
   21651   ac_cv_header_wchar_h=$ac_header_preproc
   21652 fi
   21653 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_wchar_h" >&5
   21654 $as_echo "$ac_cv_header_wchar_h" >&6; }
   21655 
   21656 fi
   21657 if test "x$ac_cv_header_wchar_h" = x""yes; then
   21658 
   21659 cat >>confdefs.h <<\_ACEOF
   21660 #define HAS_WCHAR_H 1
   21661 _ACEOF
   21662 
   21663 fi
   21664 
   21665 
   21666 if test "${ac_cv_header_widec_h+set}" = set; then
   21667   { $as_echo "$as_me:$LINENO: checking for widec.h" >&5
   21668 $as_echo_n "checking for widec.h... " >&6; }
   21669 if test "${ac_cv_header_widec_h+set}" = set; then
   21670   $as_echo_n "(cached) " >&6
   21671 fi
   21672 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
   21673 $as_echo "$ac_cv_header_widec_h" >&6; }
   21674 else
   21675   # Is the header compilable?
   21676 { $as_echo "$as_me:$LINENO: checking widec.h usability" >&5
   21677 $as_echo_n "checking widec.h usability... " >&6; }
   21678 cat >conftest.$ac_ext <<_ACEOF
   21679 /* confdefs.h.  */
   21680 _ACEOF
   21681 cat confdefs.h >>conftest.$ac_ext
   21682 cat >>conftest.$ac_ext <<_ACEOF
   21683 /* end confdefs.h.  */
   21684 $ac_includes_default
   21685 #include <widec.h>
   21686 _ACEOF
   21687 rm -f conftest.$ac_objext
   21688 if { (ac_try="$ac_compile"
   21689 case "(($ac_try" in
   21690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21691   *) ac_try_echo=$ac_try;;
   21692 esac
   21693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21694 $as_echo "$ac_try_echo") >&5
   21695   (eval "$ac_compile") 2>conftest.er1
   21696   ac_status=$?
   21697   grep -v '^ *+' conftest.er1 >conftest.err
   21698   rm -f conftest.er1
   21699   cat conftest.err >&5
   21700   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21701   (exit $ac_status); } && {
   21702 	 test -z "$ac_c_werror_flag" ||
   21703 	 test ! -s conftest.err
   21704        } && test -s conftest.$ac_objext; then
   21705   ac_header_compiler=yes
   21706 else
   21707   $as_echo "$as_me: failed program was:" >&5
   21708 sed 's/^/| /' conftest.$ac_ext >&5
   21709 
   21710 	ac_header_compiler=no
   21711 fi
   21712 
   21713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   21714 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   21715 $as_echo "$ac_header_compiler" >&6; }
   21716 
   21717 # Is the header present?
   21718 { $as_echo "$as_me:$LINENO: checking widec.h presence" >&5
   21719 $as_echo_n "checking widec.h presence... " >&6; }
   21720 cat >conftest.$ac_ext <<_ACEOF
   21721 /* confdefs.h.  */
   21722 _ACEOF
   21723 cat confdefs.h >>conftest.$ac_ext
   21724 cat >>conftest.$ac_ext <<_ACEOF
   21725 /* end confdefs.h.  */
   21726 #include <widec.h>
   21727 _ACEOF
   21728 if { (ac_try="$ac_cpp conftest.$ac_ext"
   21729 case "(($ac_try" in
   21730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21731   *) ac_try_echo=$ac_try;;
   21732 esac
   21733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21734 $as_echo "$ac_try_echo") >&5
   21735   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
   21736   ac_status=$?
   21737   grep -v '^ *+' conftest.er1 >conftest.err
   21738   rm -f conftest.er1
   21739   cat conftest.err >&5
   21740   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21741   (exit $ac_status); } >/dev/null && {
   21742 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   21743 	 test ! -s conftest.err
   21744        }; then
   21745   ac_header_preproc=yes
   21746 else
   21747   $as_echo "$as_me: failed program was:" >&5
   21748 sed 's/^/| /' conftest.$ac_ext >&5
   21749 
   21750   ac_header_preproc=no
   21751 fi
   21752 
   21753 rm -f conftest.err conftest.$ac_ext
   21754 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   21755 $as_echo "$ac_header_preproc" >&6; }
   21756 
   21757 # So?  What about this header?
   21758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   21759   yes:no: )
   21760     { $as_echo "$as_me:$LINENO: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&5
   21761 $as_echo "$as_me: WARNING: widec.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   21762     { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the compiler's result" >&5
   21763 $as_echo "$as_me: WARNING: widec.h: proceeding with the compiler's result" >&2;}
   21764     ac_header_preproc=yes
   21765     ;;
   21766   no:yes:* )
   21767     { $as_echo "$as_me:$LINENO: WARNING: widec.h: present but cannot be compiled" >&5
   21768 $as_echo "$as_me: WARNING: widec.h: present but cannot be compiled" >&2;}
   21769     { $as_echo "$as_me:$LINENO: WARNING: widec.h:     check for missing prerequisite headers?" >&5
   21770 $as_echo "$as_me: WARNING: widec.h:     check for missing prerequisite headers?" >&2;}
   21771     { $as_echo "$as_me:$LINENO: WARNING: widec.h: see the Autoconf documentation" >&5
   21772 $as_echo "$as_me: WARNING: widec.h: see the Autoconf documentation" >&2;}
   21773     { $as_echo "$as_me:$LINENO: WARNING: widec.h:     section \"Present But Cannot Be Compiled\"" >&5
   21774 $as_echo "$as_me: WARNING: widec.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   21775     { $as_echo "$as_me:$LINENO: WARNING: widec.h: proceeding with the preprocessor's result" >&5
   21776 $as_echo "$as_me: WARNING: widec.h: proceeding with the preprocessor's result" >&2;}
   21777     { $as_echo "$as_me:$LINENO: WARNING: widec.h: in the future, the compiler will take precedence" >&5
   21778 $as_echo "$as_me: WARNING: widec.h: in the future, the compiler will take precedence" >&2;}
   21779     ( cat <<\_ASBOX
   21780 ## ---------------------------------------------------------------------- ##
   21781 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   21782 ## ---------------------------------------------------------------------- ##
   21783 _ASBOX
   21784      ) | sed "s/^/$as_me: WARNING:     /" >&2
   21785     ;;
   21786 esac
   21787 { $as_echo "$as_me:$LINENO: checking for widec.h" >&5
   21788 $as_echo_n "checking for widec.h... " >&6; }
   21789 if test "${ac_cv_header_widec_h+set}" = set; then
   21790   $as_echo_n "(cached) " >&6
   21791 else
   21792   ac_cv_header_widec_h=$ac_header_preproc
   21793 fi
   21794 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
   21795 $as_echo "$ac_cv_header_widec_h" >&6; }
   21796 
   21797 fi
   21798 if test "x$ac_cv_header_widec_h" = x""yes; then
   21799   :
   21800 else
   21801 
   21802 cat >>confdefs.h <<\_ACEOF
   21803 #define NO_WIDEC_H 1
   21804 _ACEOF
   21805 
   21806 fi
   21807 
   21808 
   21809 
   21810 # Checks for functions
   21811 
   21812 for ac_func in iswalnum
   21813 do
   21814 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   21815 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
   21816 $as_echo_n "checking for $ac_func... " >&6; }
   21817 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
   21818   $as_echo_n "(cached) " >&6
   21819 else
   21820   cat >conftest.$ac_ext <<_ACEOF
   21821 /* confdefs.h.  */
   21822 _ACEOF
   21823 cat confdefs.h >>conftest.$ac_ext
   21824 cat >>conftest.$ac_ext <<_ACEOF
   21825 /* end confdefs.h.  */
   21826 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   21827    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   21828 #define $ac_func innocuous_$ac_func
   21829 
   21830 /* System header to define __stub macros and hopefully few prototypes,
   21831     which can conflict with char $ac_func (); below.
   21832     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   21833     <limits.h> exists even on freestanding compilers.  */
   21834 
   21835 #ifdef __STDC__
   21836 # include <limits.h>
   21837 #else
   21838 # include <assert.h>
   21839 #endif
   21840 
   21841 #undef $ac_func
   21842 
   21843 /* Override any GCC internal prototype to avoid an error.
   21844    Use char because int might match the return type of a GCC
   21845    builtin and then its argument prototype would still apply.  */
   21846 #ifdef __cplusplus
   21847 extern "C"
   21848 #endif
   21849 char $ac_func ();
   21850 /* The GNU C library defines this for functions which it implements
   21851     to always fail with ENOSYS.  Some functions are actually named
   21852     something starting with __ and the normal name is an alias.  */
   21853 #if defined __stub_$ac_func || defined __stub___$ac_func
   21854 choke me
   21855 #endif
   21856 
   21857 int
   21858 main ()
   21859 {
   21860 return $ac_func ();
   21861   ;
   21862   return 0;
   21863 }
   21864 _ACEOF
   21865 rm -f conftest.$ac_objext conftest$ac_exeext
   21866 if { (ac_try="$ac_link"
   21867 case "(($ac_try" in
   21868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   21869   *) ac_try_echo=$ac_try;;
   21870 esac
   21871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
   21872 $as_echo "$ac_try_echo") >&5
   21873   (eval "$ac_link") 2>conftest.er1
   21874   ac_status=$?
   21875   grep -v '^ *+' conftest.er1 >conftest.err
   21876   rm -f conftest.er1
   21877   cat conftest.err >&5
   21878   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
   21879   (exit $ac_status); } && {
   21880 	 test -z "$ac_c_werror_flag" ||
   21881 	 test ! -s conftest.err
   21882        } && test -s conftest$ac_exeext && {
   21883 	 test "$cross_compiling" = yes ||
   21884 	 $as_test_x conftest$ac_exeext
   21885        }; then
   21886   eval "$as_ac_var=yes"
   21887 else
   21888   $as_echo "$as_me: failed program was:" >&5
   21889 sed 's/^/| /' conftest.$ac_ext >&5
   21890 
   21891 	eval "$as_ac_var=no"
   21892 fi
   21893 
   21894 rm -rf conftest.dSYM
   21895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
   21896       conftest$ac_exeext conftest.$ac_ext
   21897 fi
   21898 ac_res=`eval 'as_val=${'$as_ac_var'}
   21899 		 $as_echo "$as_val"'`
   21900 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
   21901 $as_echo "$ac_res" >&6; }
   21902 as_val=`eval 'as_val=${'$as_ac_var'}
   21903 		 $as_echo "$as_val"'`
   21904    if test "x$as_val" = x""yes; then
   21905   cat >>confdefs.h <<_ACEOF
   21906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   21907 _ACEOF
   21908 
   21909 fi
   21910 done
   21911 
   21912 
   21913 ac_config_files="$ac_config_files Makefile include/Makefile man/Makefile spec/Makefile src/Makefile"
   21914 
   21915 cat >confcache <<\_ACEOF
   21916 # This file is a shell script that caches the results of configure
   21917 # tests run on this system so they can be shared between configure
   21918 # scripts and configure runs, see configure's option --config-cache.
   21919 # It is not useful on other systems.  If it contains results you don't
   21920 # want to keep, you may remove or edit it.
   21921 #
   21922 # config.status only pays attention to the cache file if you give it
   21923 # the --recheck option to rerun configure.
   21924 #
   21925 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   21926 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   21927 # following values.
   21928 
   21929 _ACEOF
   21930 
   21931 # The following way of writing the cache mishandles newlines in values,
   21932 # but we know of no workaround that is simple, portable, and efficient.
   21933 # So, we kill variables containing newlines.
   21934 # Ultrix sh set writes to stderr and can't be redirected directly,
   21935 # and sets the high bit in the cache file unless we assign to the vars.
   21936 (
   21937   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   21938     eval ac_val=\$$ac_var
   21939     case $ac_val in #(
   21940     *${as_nl}*)
   21941       case $ac_var in #(
   21942       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   21943 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   21944       esac
   21945       case $ac_var in #(
   21946       _ | IFS | as_nl) ;; #(
   21947       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   21948       *) $as_unset $ac_var ;;
   21949       esac ;;
   21950     esac
   21951   done
   21952 
   21953   (set) 2>&1 |
   21954     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   21955     *${as_nl}ac_space=\ *)
   21956       # `set' does not quote correctly, so add quotes (double-quote
   21957       # substitution turns \\\\ into \\, and sed turns \\ into \).
   21958       sed -n \
   21959 	"s/'/'\\\\''/g;
   21960 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   21961       ;; #(
   21962     *)
   21963       # `set' quotes correctly as required by POSIX, so do not add quotes.
   21964       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   21965       ;;
   21966     esac |
   21967     sort
   21968 ) |
   21969   sed '
   21970      /^ac_cv_env_/b end
   21971      t clear
   21972      :clear
   21973      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   21974      t end
   21975      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   21976      :end' >>confcache
   21977 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   21978   if test -w "$cache_file"; then
   21979     test "x$cache_file" != "x/dev/null" &&
   21980       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   21981 $as_echo "$as_me: updating cache $cache_file" >&6;}
   21982     cat confcache >$cache_file
   21983   else
   21984     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   21985 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   21986   fi
   21987 fi
   21988 rm -f confcache
   21989 
   21990 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   21991 # Let make expand exec_prefix.
   21992 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   21993 
   21994 DEFS=-DHAVE_CONFIG_H
   21995 
   21996 ac_libobjs=
   21997 ac_ltlibobjs=
   21998 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   21999   # 1. Remove the extension, and $U if already installed.
   22000   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   22001   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   22002   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   22003   #    will be set to the directory where LIBOBJS objects are built.
   22004   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   22005   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   22006 done
   22007 LIBOBJS=$ac_libobjs
   22008 
   22009 LTLIBOBJS=$ac_ltlibobjs
   22010 
   22011 
   22012  if test -n "$EXEEXT"; then
   22013   am__EXEEXT_TRUE=
   22014   am__EXEEXT_FALSE='#'
   22015 else
   22016   am__EXEEXT_TRUE='#'
   22017   am__EXEEXT_FALSE=
   22018 fi
   22019 
   22020 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   22021   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   22022 Usually this means the macro was only invoked conditionally." >&5
   22023 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   22024 Usually this means the macro was only invoked conditionally." >&2;}
   22025    { (exit 1); exit 1; }; }
   22026 fi
   22027 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   22028   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   22029 Usually this means the macro was only invoked conditionally." >&5
   22030 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   22031 Usually this means the macro was only invoked conditionally." >&2;}
   22032    { (exit 1); exit 1; }; }
   22033 fi
   22034 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   22035   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   22036 Usually this means the macro was only invoked conditionally." >&5
   22037 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   22038 Usually this means the macro was only invoked conditionally." >&2;}
   22039    { (exit 1); exit 1; }; }
   22040 fi
   22041 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
   22042   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
   22043 Usually this means the macro was only invoked conditionally." >&5
   22044 $as_echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
   22045 Usually this means the macro was only invoked conditionally." >&2;}
   22046    { (exit 1); exit 1; }; }
   22047 fi
   22048 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   22049   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
   22050 Usually this means the macro was only invoked conditionally." >&5
   22051 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
   22052 Usually this means the macro was only invoked conditionally." >&2;}
   22053    { (exit 1); exit 1; }; }
   22054 fi
   22055 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
   22056   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
   22057 Usually this means the macro was only invoked conditionally." >&5
   22058 $as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
   22059 Usually this means the macro was only invoked conditionally." >&2;}
   22060    { (exit 1); exit 1; }; }
   22061 fi
   22062 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   22063   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
   22064 Usually this means the macro was only invoked conditionally." >&5
   22065 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
   22066 Usually this means the macro was only invoked conditionally." >&2;}
   22067    { (exit 1); exit 1; }; }
   22068 fi
   22069 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   22070   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
   22071 Usually this means the macro was only invoked conditionally." >&5
   22072 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
   22073 Usually this means the macro was only invoked conditionally." >&2;}
   22074    { (exit 1); exit 1; }; }
   22075 fi
   22076 
   22077 : ${CONFIG_STATUS=./config.status}
   22078 ac_write_fail=0
   22079 ac_clean_files_save=$ac_clean_files
   22080 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   22081 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   22082 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   22083 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22084 #! $SHELL
   22085 # Generated by $as_me.
   22086 # Run this file to recreate the current configuration.
   22087 # Compiler output produced by configure, useful for debugging
   22088 # configure, is in config.log if it exists.
   22089 
   22090 debug=false
   22091 ac_cs_recheck=false
   22092 ac_cs_silent=false
   22093 SHELL=\${CONFIG_SHELL-$SHELL}
   22094 _ACEOF
   22095 
   22096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22097 ## --------------------- ##
   22098 ## M4sh Initialization.  ##
   22099 ## --------------------- ##
   22100 
   22101 # Be more Bourne compatible
   22102 DUALCASE=1; export DUALCASE # for MKS sh
   22103 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   22104   emulate sh
   22105   NULLCMD=:
   22106   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   22107   # is contrary to our usage.  Disable this feature.
   22108   alias -g '${1+"$@"}'='"$@"'
   22109   setopt NO_GLOB_SUBST
   22110 else
   22111   case `(set -o) 2>/dev/null` in
   22112   *posix*) set -o posix ;;
   22113 esac
   22114 
   22115 fi
   22116 
   22117 
   22118 
   22119 
   22120 # PATH needs CR
   22121 # Avoid depending upon Character Ranges.
   22122 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   22123 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   22124 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   22125 as_cr_digits='0123456789'
   22126 as_cr_alnum=$as_cr_Letters$as_cr_digits
   22127 
   22128 as_nl='
   22129 '
   22130 export as_nl
   22131 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   22132 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   22133 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   22134 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   22135 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   22136   as_echo='printf %s\n'
   22137   as_echo_n='printf %s'
   22138 else
   22139   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   22140     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   22141     as_echo_n='/usr/ucb/echo -n'
   22142   else
   22143     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   22144     as_echo_n_body='eval
   22145       arg=$1;
   22146       case $arg in
   22147       *"$as_nl"*)
   22148 	expr "X$arg" : "X\\(.*\\)$as_nl";
   22149 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   22150       esac;
   22151       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   22152     '
   22153     export as_echo_n_body
   22154     as_echo_n='sh -c $as_echo_n_body as_echo'
   22155   fi
   22156   export as_echo_body
   22157   as_echo='sh -c $as_echo_body as_echo'
   22158 fi
   22159 
   22160 # The user is always right.
   22161 if test "${PATH_SEPARATOR+set}" != set; then
   22162   PATH_SEPARATOR=:
   22163   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   22164     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   22165       PATH_SEPARATOR=';'
   22166   }
   22167 fi
   22168 
   22169 # Support unset when possible.
   22170 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   22171   as_unset=unset
   22172 else
   22173   as_unset=false
   22174 fi
   22175 
   22176 
   22177 # IFS
   22178 # We need space, tab and new line, in precisely that order.  Quoting is
   22179 # there to prevent editors from complaining about space-tab.
   22180 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   22181 # splitting by setting IFS to empty value.)
   22182 IFS=" ""	$as_nl"
   22183 
   22184 # Find who we are.  Look in the path if we contain no directory separator.
   22185 case $0 in
   22186   *[\\/]* ) as_myself=$0 ;;
   22187   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   22188 for as_dir in $PATH
   22189 do
   22190   IFS=$as_save_IFS
   22191   test -z "$as_dir" && as_dir=.
   22192   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   22193 done
   22194 IFS=$as_save_IFS
   22195 
   22196      ;;
   22197 esac
   22198 # We did not find ourselves, most probably we were run as `sh COMMAND'
   22199 # in which case we are not to be found in the path.
   22200 if test "x$as_myself" = x; then
   22201   as_myself=$0
   22202 fi
   22203 if test ! -f "$as_myself"; then
   22204   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   22205   { (exit 1); exit 1; }
   22206 fi
   22207 
   22208 # Work around bugs in pre-3.0 UWIN ksh.
   22209 for as_var in ENV MAIL MAILPATH
   22210 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   22211 done
   22212 PS1='$ '
   22213 PS2='> '
   22214 PS4='+ '
   22215 
   22216 # NLS nuisances.
   22217 LC_ALL=C
   22218 export LC_ALL
   22219 LANGUAGE=C
   22220 export LANGUAGE
   22221 
   22222 # Required to use basename.
   22223 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22224    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22225   as_expr=expr
   22226 else
   22227   as_expr=false
   22228 fi
   22229 
   22230 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   22231   as_basename=basename
   22232 else
   22233   as_basename=false
   22234 fi
   22235 
   22236 
   22237 # Name of the executable.
   22238 as_me=`$as_basename -- "$0" ||
   22239 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   22240 	 X"$0" : 'X\(//\)$' \| \
   22241 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   22242 $as_echo X/"$0" |
   22243     sed '/^.*\/\([^/][^/]*\)\/*$/{
   22244 	    s//\1/
   22245 	    q
   22246 	  }
   22247 	  /^X\/\(\/\/\)$/{
   22248 	    s//\1/
   22249 	    q
   22250 	  }
   22251 	  /^X\/\(\/\).*/{
   22252 	    s//\1/
   22253 	    q
   22254 	  }
   22255 	  s/.*/./; q'`
   22256 
   22257 # CDPATH.
   22258 $as_unset CDPATH
   22259 
   22260 
   22261 
   22262   as_lineno_1=$LINENO
   22263   as_lineno_2=$LINENO
   22264   test "x$as_lineno_1" != "x$as_lineno_2" &&
   22265   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   22266 
   22267   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   22268   # uniformly replaced by the line number.  The first 'sed' inserts a
   22269   # line-number line after each line using $LINENO; the second 'sed'
   22270   # does the real work.  The second script uses 'N' to pair each
   22271   # line-number line with the line containing $LINENO, and appends
   22272   # trailing '-' during substitution so that $LINENO is not a special
   22273   # case at line end.
   22274   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   22275   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   22276   # E. McMahon (1931-1989) for sed's syntax.  :-)
   22277   sed -n '
   22278     p
   22279     /[$]LINENO/=
   22280   ' <$as_myself |
   22281     sed '
   22282       s/[$]LINENO.*/&-/
   22283       t lineno
   22284       b
   22285       :lineno
   22286       N
   22287       :loop
   22288       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   22289       t loop
   22290       s/-\n.*//
   22291     ' >$as_me.lineno &&
   22292   chmod +x "$as_me.lineno" ||
   22293     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   22294    { (exit 1); exit 1; }; }
   22295 
   22296   # Don't try to exec as it changes $[0], causing all sort of problems
   22297   # (the dirname of $[0] is not the place where we might find the
   22298   # original and so on.  Autoconf is especially sensitive to this).
   22299   . "./$as_me.lineno"
   22300   # Exit status is that of the last command.
   22301   exit
   22302 }
   22303 
   22304 
   22305 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   22306   as_dirname=dirname
   22307 else
   22308   as_dirname=false
   22309 fi
   22310 
   22311 ECHO_C= ECHO_N= ECHO_T=
   22312 case `echo -n x` in
   22313 -n*)
   22314   case `echo 'x\c'` in
   22315   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   22316   *)   ECHO_C='\c';;
   22317   esac;;
   22318 *)
   22319   ECHO_N='-n';;
   22320 esac
   22321 if expr a : '\(a\)' >/dev/null 2>&1 &&
   22322    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   22323   as_expr=expr
   22324 else
   22325   as_expr=false
   22326 fi
   22327 
   22328 rm -f conf$$ conf$$.exe conf$$.file
   22329 if test -d conf$$.dir; then
   22330   rm -f conf$$.dir/conf$$.file
   22331 else
   22332   rm -f conf$$.dir
   22333   mkdir conf$$.dir 2>/dev/null
   22334 fi
   22335 if (echo >conf$$.file) 2>/dev/null; then
   22336   if ln -s conf$$.file conf$$ 2>/dev/null; then
   22337     as_ln_s='ln -s'
   22338     # ... but there are two gotchas:
   22339     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   22340     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   22341     # In both cases, we have to default to `cp -p'.
   22342     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   22343       as_ln_s='cp -p'
   22344   elif ln conf$$.file conf$$ 2>/dev/null; then
   22345     as_ln_s=ln
   22346   else
   22347     as_ln_s='cp -p'
   22348   fi
   22349 else
   22350   as_ln_s='cp -p'
   22351 fi
   22352 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   22353 rmdir conf$$.dir 2>/dev/null
   22354 
   22355 if mkdir -p . 2>/dev/null; then
   22356   as_mkdir_p=:
   22357 else
   22358   test -d ./-p && rmdir ./-p
   22359   as_mkdir_p=false
   22360 fi
   22361 
   22362 if test -x / >/dev/null 2>&1; then
   22363   as_test_x='test -x'
   22364 else
   22365   if ls -dL / >/dev/null 2>&1; then
   22366     as_ls_L_option=L
   22367   else
   22368     as_ls_L_option=
   22369   fi
   22370   as_test_x='
   22371     eval sh -c '\''
   22372       if test -d "$1"; then
   22373 	test -d "$1/.";
   22374       else
   22375 	case $1 in
   22376 	-*)set "./$1";;
   22377 	esac;
   22378 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   22379 	???[sx]*):;;*)false;;esac;fi
   22380     '\'' sh
   22381   '
   22382 fi
   22383 as_executable_p=$as_test_x
   22384 
   22385 # Sed expression to map a string onto a valid CPP name.
   22386 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   22387 
   22388 # Sed expression to map a string onto a valid variable name.
   22389 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   22390 
   22391 
   22392 exec 6>&1
   22393 
   22394 # Save the log message, to keep $[0] and so on meaningful, and to
   22395 # report actual input values of CONFIG_FILES etc. instead of their
   22396 # values after options handling.
   22397 ac_log="
   22398 This file was extended by libXaw $as_me 1.0.7, which was
   22399 generated by GNU Autoconf 2.63.  Invocation command line was
   22400 
   22401   CONFIG_FILES    = $CONFIG_FILES
   22402   CONFIG_HEADERS  = $CONFIG_HEADERS
   22403   CONFIG_LINKS    = $CONFIG_LINKS
   22404   CONFIG_COMMANDS = $CONFIG_COMMANDS
   22405   $ $0 $@
   22406 
   22407 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   22408 "
   22409 
   22410 _ACEOF
   22411 
   22412 case $ac_config_files in *"
   22413 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   22414 esac
   22415 
   22416 case $ac_config_headers in *"
   22417 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   22418 esac
   22419 
   22420 
   22421 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22422 # Files that config.status was made for.
   22423 config_files="$ac_config_files"
   22424 config_headers="$ac_config_headers"
   22425 config_commands="$ac_config_commands"
   22426 
   22427 _ACEOF
   22428 
   22429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22430 ac_cs_usage="\
   22431 \`$as_me' instantiates files from templates according to the
   22432 current configuration.
   22433 
   22434 Usage: $0 [OPTION]... [FILE]...
   22435 
   22436   -h, --help       print this help, then exit
   22437   -V, --version    print version number and configuration settings, then exit
   22438   -q, --quiet, --silent
   22439                    do not print progress messages
   22440   -d, --debug      don't remove temporary files
   22441       --recheck    update $as_me by reconfiguring in the same conditions
   22442       --file=FILE[:TEMPLATE]
   22443                    instantiate the configuration file FILE
   22444       --header=FILE[:TEMPLATE]
   22445                    instantiate the configuration header FILE
   22446 
   22447 Configuration files:
   22448 $config_files
   22449 
   22450 Configuration headers:
   22451 $config_headers
   22452 
   22453 Configuration commands:
   22454 $config_commands
   22455 
   22456 Report bugs to <bug-autoconf (at] gnu.org>."
   22457 
   22458 _ACEOF
   22459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22460 ac_cs_version="\\
   22461 libXaw config.status 1.0.7
   22462 configured by $0, generated by GNU Autoconf 2.63,
   22463   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   22464 
   22465 Copyright (C) 2008 Free Software Foundation, Inc.
   22466 This config.status script is free software; the Free Software Foundation
   22467 gives unlimited permission to copy, distribute and modify it."
   22468 
   22469 ac_pwd='$ac_pwd'
   22470 srcdir='$srcdir'
   22471 INSTALL='$INSTALL'
   22472 MKDIR_P='$MKDIR_P'
   22473 AWK='$AWK'
   22474 test -n "\$AWK" || AWK=awk
   22475 _ACEOF
   22476 
   22477 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22478 # The default lists apply if the user does not specify any file.
   22479 ac_need_defaults=:
   22480 while test $# != 0
   22481 do
   22482   case $1 in
   22483   --*=*)
   22484     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   22485     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   22486     ac_shift=:
   22487     ;;
   22488   *)
   22489     ac_option=$1
   22490     ac_optarg=$2
   22491     ac_shift=shift
   22492     ;;
   22493   esac
   22494 
   22495   case $ac_option in
   22496   # Handling of the options.
   22497   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   22498     ac_cs_recheck=: ;;
   22499   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   22500     $as_echo "$ac_cs_version"; exit ;;
   22501   --debug | --debu | --deb | --de | --d | -d )
   22502     debug=: ;;
   22503   --file | --fil | --fi | --f )
   22504     $ac_shift
   22505     case $ac_optarg in
   22506     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22507     esac
   22508     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   22509     ac_need_defaults=false;;
   22510   --header | --heade | --head | --hea )
   22511     $ac_shift
   22512     case $ac_optarg in
   22513     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   22514     esac
   22515     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   22516     ac_need_defaults=false;;
   22517   --he | --h)
   22518     # Conflict between --help and --header
   22519     { $as_echo "$as_me: error: ambiguous option: $1
   22520 Try \`$0 --help' for more information." >&2
   22521    { (exit 1); exit 1; }; };;
   22522   --help | --hel | -h )
   22523     $as_echo "$ac_cs_usage"; exit ;;
   22524   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   22525   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   22526     ac_cs_silent=: ;;
   22527 
   22528   # This is an error.
   22529   -*) { $as_echo "$as_me: error: unrecognized option: $1
   22530 Try \`$0 --help' for more information." >&2
   22531    { (exit 1); exit 1; }; } ;;
   22532 
   22533   *) ac_config_targets="$ac_config_targets $1"
   22534      ac_need_defaults=false ;;
   22535 
   22536   esac
   22537   shift
   22538 done
   22539 
   22540 ac_configure_extra_args=
   22541 
   22542 if $ac_cs_silent; then
   22543   exec 6>/dev/null
   22544   ac_configure_extra_args="$ac_configure_extra_args --silent"
   22545 fi
   22546 
   22547 _ACEOF
   22548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22549 if \$ac_cs_recheck; then
   22550   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   22551   shift
   22552   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   22553   CONFIG_SHELL='$SHELL'
   22554   export CONFIG_SHELL
   22555   exec "\$@"
   22556 fi
   22557 
   22558 _ACEOF
   22559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22560 exec 5>>config.log
   22561 {
   22562   echo
   22563   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   22564 ## Running $as_me. ##
   22565 _ASBOX
   22566   $as_echo "$ac_log"
   22567 } >&5
   22568 
   22569 _ACEOF
   22570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22571 #
   22572 # INIT-COMMANDS
   22573 #
   22574 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   22575 
   22576 _ACEOF
   22577 
   22578 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22579 
   22580 # Handling of arguments.
   22581 for ac_config_target in $ac_config_targets
   22582 do
   22583   case $ac_config_target in
   22584     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   22585     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   22586     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   22587     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   22588     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   22589     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   22590     "spec/Makefile") CONFIG_FILES="$CONFIG_FILES spec/Makefile" ;;
   22591     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   22592 
   22593   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   22594 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   22595    { (exit 1); exit 1; }; };;
   22596   esac
   22597 done
   22598 
   22599 
   22600 # If the user did not use the arguments to specify the items to instantiate,
   22601 # then the envvar interface is used.  Set only those that are not.
   22602 # We use the long form for the default assignment because of an extremely
   22603 # bizarre bug on SunOS 4.1.3.
   22604 if $ac_need_defaults; then
   22605   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   22606   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   22607   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   22608 fi
   22609 
   22610 # Have a temporary directory for convenience.  Make it in the build tree
   22611 # simply because there is no reason against having it here, and in addition,
   22612 # creating and moving files from /tmp can sometimes cause problems.
   22613 # Hook for its removal unless debugging.
   22614 # Note that there is a small window in which the directory will not be cleaned:
   22615 # after its creation but before its name has been assigned to `$tmp'.
   22616 $debug ||
   22617 {
   22618   tmp=
   22619   trap 'exit_status=$?
   22620   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   22621 ' 0
   22622   trap '{ (exit 1); exit 1; }' 1 2 13 15
   22623 }
   22624 # Create a (secure) tmp directory for tmp files.
   22625 
   22626 {
   22627   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   22628   test -n "$tmp" && test -d "$tmp"
   22629 }  ||
   22630 {
   22631   tmp=./conf$$-$RANDOM
   22632   (umask 077 && mkdir "$tmp")
   22633 } ||
   22634 {
   22635    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   22636    { (exit 1); exit 1; }
   22637 }
   22638 
   22639 # Set up the scripts for CONFIG_FILES section.
   22640 # No need to generate them if there are no CONFIG_FILES.
   22641 # This happens for instance with `./config.status config.h'.
   22642 if test -n "$CONFIG_FILES"; then
   22643 
   22644 
   22645 ac_cr='
'
   22647 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   22648 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   22649   ac_cs_awk_cr='\\r'
   22650 else
   22651   ac_cs_awk_cr=$ac_cr
   22652 fi
   22653 
   22654 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   22655 _ACEOF
   22656 
   22657 
   22658 {
   22659   echo "cat >conf$$subs.awk <<_ACEOF" &&
   22660   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   22661   echo "_ACEOF"
   22662 } >conf$$subs.sh ||
   22663   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22664 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22665    { (exit 1); exit 1; }; }
   22666 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   22667 ac_delim='%!_!# '
   22668 for ac_last_try in false false false false false :; do
   22669   . ./conf$$subs.sh ||
   22670     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22671 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22672    { (exit 1); exit 1; }; }
   22673 
   22674   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   22675   if test $ac_delim_n = $ac_delim_num; then
   22676     break
   22677   elif $ac_last_try; then
   22678     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   22679 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   22680    { (exit 1); exit 1; }; }
   22681   else
   22682     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22683   fi
   22684 done
   22685 rm -f conf$$subs.sh
   22686 
   22687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22688 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   22689 _ACEOF
   22690 sed -n '
   22691 h
   22692 s/^/S["/; s/!.*/"]=/
   22693 p
   22694 g
   22695 s/^[^!]*!//
   22696 :repl
   22697 t repl
   22698 s/'"$ac_delim"'$//
   22699 t delim
   22700 :nl
   22701 h
   22702 s/\(.\{148\}\).*/\1/
   22703 t more1
   22704 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   22705 p
   22706 n
   22707 b repl
   22708 :more1
   22709 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22710 p
   22711 g
   22712 s/.\{148\}//
   22713 t nl
   22714 :delim
   22715 h
   22716 s/\(.\{148\}\).*/\1/
   22717 t more2
   22718 s/["\\]/\\&/g; s/^/"/; s/$/"/
   22719 p
   22720 b
   22721 :more2
   22722 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   22723 p
   22724 g
   22725 s/.\{148\}//
   22726 t delim
   22727 ' <conf$$subs.awk | sed '
   22728 /^[^""]/{
   22729   N
   22730   s/\n//
   22731 }
   22732 ' >>$CONFIG_STATUS || ac_write_fail=1
   22733 rm -f conf$$subs.awk
   22734 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22735 _ACAWK
   22736 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   22737   for (key in S) S_is_set[key] = 1
   22738   FS = ""
   22739 
   22740 }
   22741 {
   22742   line = $ 0
   22743   nfields = split(line, field, "@")
   22744   substed = 0
   22745   len = length(field[1])
   22746   for (i = 2; i < nfields; i++) {
   22747     key = field[i]
   22748     keylen = length(key)
   22749     if (S_is_set[key]) {
   22750       value = S[key]
   22751       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   22752       len += length(value) + length(field[++i])
   22753       substed = 1
   22754     } else
   22755       len += 1 + keylen
   22756   }
   22757 
   22758   print line
   22759 }
   22760 
   22761 _ACAWK
   22762 _ACEOF
   22763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22764 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   22765   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   22766 else
   22767   cat
   22768 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   22769   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   22770 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   22771    { (exit 1); exit 1; }; }
   22772 _ACEOF
   22773 
   22774 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   22775 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   22776 # trailing colons and then remove the whole line if VPATH becomes empty
   22777 # (actually we leave an empty line to preserve line numbers).
   22778 if test "x$srcdir" = x.; then
   22779   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   22780 s/:*\$(srcdir):*/:/
   22781 s/:*\${srcdir}:*/:/
   22782 s/:*@srcdir@:*/:/
   22783 s/^\([^=]*=[	 ]*\):*/\1/
   22784 s/:*$//
   22785 s/^[^=]*=[	 ]*$//
   22786 }'
   22787 fi
   22788 
   22789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22790 fi # test -n "$CONFIG_FILES"
   22791 
   22792 # Set up the scripts for CONFIG_HEADERS section.
   22793 # No need to generate them if there are no CONFIG_HEADERS.
   22794 # This happens for instance with `./config.status Makefile'.
   22795 if test -n "$CONFIG_HEADERS"; then
   22796 cat >"$tmp/defines.awk" <<\_ACAWK ||
   22797 BEGIN {
   22798 _ACEOF
   22799 
   22800 # Transform confdefs.h into an awk script `defines.awk', embedded as
   22801 # here-document in config.status, that substitutes the proper values into
   22802 # config.h.in to produce config.h.
   22803 
   22804 # Create a delimiter string that does not exist in confdefs.h, to ease
   22805 # handling of long lines.
   22806 ac_delim='%!_!# '
   22807 for ac_last_try in false false :; do
   22808   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   22809   if test -z "$ac_t"; then
   22810     break
   22811   elif $ac_last_try; then
   22812     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   22813 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   22814    { (exit 1); exit 1; }; }
   22815   else
   22816     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   22817   fi
   22818 done
   22819 
   22820 # For the awk script, D is an array of macro values keyed by name,
   22821 # likewise P contains macro parameters if any.  Preserve backslash
   22822 # newline sequences.
   22823 
   22824 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   22825 sed -n '
   22826 s/.\{148\}/&'"$ac_delim"'/g
   22827 t rset
   22828 :rset
   22829 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   22830 t def
   22831 d
   22832 :def
   22833 s/\\$//
   22834 t bsnl
   22835 s/["\\]/\\&/g
   22836 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22837 D["\1"]=" \3"/p
   22838 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   22839 d
   22840 :bsnl
   22841 s/["\\]/\\&/g
   22842 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   22843 D["\1"]=" \3\\\\\\n"\\/p
   22844 t cont
   22845 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   22846 t cont
   22847 d
   22848 :cont
   22849 n
   22850 s/.\{148\}/&'"$ac_delim"'/g
   22851 t clear
   22852 :clear
   22853 s/\\$//
   22854 t bsnlc
   22855 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   22856 d
   22857 :bsnlc
   22858 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   22859 b cont
   22860 ' <confdefs.h | sed '
   22861 s/'"$ac_delim"'/"\\\
   22862 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   22863 
   22864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   22865   for (key in D) D_is_set[key] = 1
   22866   FS = ""
   22867 }
   22868 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   22869   line = \$ 0
   22870   split(line, arg, " ")
   22871   if (arg[1] == "#") {
   22872     defundef = arg[2]
   22873     mac1 = arg[3]
   22874   } else {
   22875     defundef = substr(arg[1], 2)
   22876     mac1 = arg[2]
   22877   }
   22878   split(mac1, mac2, "(") #)
   22879   macro = mac2[1]
   22880   prefix = substr(line, 1, index(line, defundef) - 1)
   22881   if (D_is_set[macro]) {
   22882     # Preserve the white space surrounding the "#".
   22883     print prefix "define", macro P[macro] D[macro]
   22884     next
   22885   } else {
   22886     # Replace #undef with comments.  This is necessary, for example,
   22887     # in the case of _POSIX_SOURCE, which is predefined and required
   22888     # on some systems where configure will not decide to define it.
   22889     if (defundef == "undef") {
   22890       print "/*", prefix defundef, macro, "*/"
   22891       next
   22892     }
   22893   }
   22894 }
   22895 { print }
   22896 _ACAWK
   22897 _ACEOF
   22898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   22899   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   22900 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   22901    { (exit 1); exit 1; }; }
   22902 fi # test -n "$CONFIG_HEADERS"
   22903 
   22904 
   22905 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   22906 shift
   22907 for ac_tag
   22908 do
   22909   case $ac_tag in
   22910   :[FHLC]) ac_mode=$ac_tag; continue;;
   22911   esac
   22912   case $ac_mode$ac_tag in
   22913   :[FHL]*:*);;
   22914   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   22915 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   22916    { (exit 1); exit 1; }; };;
   22917   :[FH]-) ac_tag=-:-;;
   22918   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   22919   esac
   22920   ac_save_IFS=$IFS
   22921   IFS=:
   22922   set x $ac_tag
   22923   IFS=$ac_save_IFS
   22924   shift
   22925   ac_file=$1
   22926   shift
   22927 
   22928   case $ac_mode in
   22929   :L) ac_source=$1;;
   22930   :[FH])
   22931     ac_file_inputs=
   22932     for ac_f
   22933     do
   22934       case $ac_f in
   22935       -) ac_f="$tmp/stdin";;
   22936       *) # Look for the file first in the build tree, then in the source tree
   22937 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   22938 	 # because $ac_f cannot contain `:'.
   22939 	 test -f "$ac_f" ||
   22940 	   case $ac_f in
   22941 	   [\\/$]*) false;;
   22942 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   22943 	   esac ||
   22944 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   22945 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   22946    { (exit 1); exit 1; }; };;
   22947       esac
   22948       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   22949       ac_file_inputs="$ac_file_inputs '$ac_f'"
   22950     done
   22951 
   22952     # Let's still pretend it is `configure' which instantiates (i.e., don't
   22953     # use $as_me), people would be surprised to read:
   22954     #    /* config.h.  Generated by config.status.  */
   22955     configure_input='Generated from '`
   22956 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   22957 	`' by configure.'
   22958     if test x"$ac_file" != x-; then
   22959       configure_input="$ac_file.  $configure_input"
   22960       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   22961 $as_echo "$as_me: creating $ac_file" >&6;}
   22962     fi
   22963     # Neutralize special characters interpreted by sed in replacement strings.
   22964     case $configure_input in #(
   22965     *\&* | *\|* | *\\* )
   22966        ac_sed_conf_input=`$as_echo "$configure_input" |
   22967        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   22968     *) ac_sed_conf_input=$configure_input;;
   22969     esac
   22970 
   22971     case $ac_tag in
   22972     *:-:* | *:-) cat >"$tmp/stdin" \
   22973       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   22974 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   22975    { (exit 1); exit 1; }; } ;;
   22976     esac
   22977     ;;
   22978   esac
   22979 
   22980   ac_dir=`$as_dirname -- "$ac_file" ||
   22981 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   22982 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   22983 	 X"$ac_file" : 'X\(//\)$' \| \
   22984 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   22985 $as_echo X"$ac_file" |
   22986     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   22987 	    s//\1/
   22988 	    q
   22989 	  }
   22990 	  /^X\(\/\/\)[^/].*/{
   22991 	    s//\1/
   22992 	    q
   22993 	  }
   22994 	  /^X\(\/\/\)$/{
   22995 	    s//\1/
   22996 	    q
   22997 	  }
   22998 	  /^X\(\/\).*/{
   22999 	    s//\1/
   23000 	    q
   23001 	  }
   23002 	  s/.*/./; q'`
   23003   { as_dir="$ac_dir"
   23004   case $as_dir in #(
   23005   -*) as_dir=./$as_dir;;
   23006   esac
   23007   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23008     as_dirs=
   23009     while :; do
   23010       case $as_dir in #(
   23011       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23012       *) as_qdir=$as_dir;;
   23013       esac
   23014       as_dirs="'$as_qdir' $as_dirs"
   23015       as_dir=`$as_dirname -- "$as_dir" ||
   23016 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23017 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23018 	 X"$as_dir" : 'X\(//\)$' \| \
   23019 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23020 $as_echo X"$as_dir" |
   23021     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23022 	    s//\1/
   23023 	    q
   23024 	  }
   23025 	  /^X\(\/\/\)[^/].*/{
   23026 	    s//\1/
   23027 	    q
   23028 	  }
   23029 	  /^X\(\/\/\)$/{
   23030 	    s//\1/
   23031 	    q
   23032 	  }
   23033 	  /^X\(\/\).*/{
   23034 	    s//\1/
   23035 	    q
   23036 	  }
   23037 	  s/.*/./; q'`
   23038       test -d "$as_dir" && break
   23039     done
   23040     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23041   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23042 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23043    { (exit 1); exit 1; }; }; }
   23044   ac_builddir=.
   23045 
   23046 case "$ac_dir" in
   23047 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23048 *)
   23049   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   23050   # A ".." for each directory in $ac_dir_suffix.
   23051   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   23052   case $ac_top_builddir_sub in
   23053   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   23054   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   23055   esac ;;
   23056 esac
   23057 ac_abs_top_builddir=$ac_pwd
   23058 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   23059 # for backward compatibility:
   23060 ac_top_builddir=$ac_top_build_prefix
   23061 
   23062 case $srcdir in
   23063   .)  # We are building in place.
   23064     ac_srcdir=.
   23065     ac_top_srcdir=$ac_top_builddir_sub
   23066     ac_abs_top_srcdir=$ac_pwd ;;
   23067   [\\/]* | ?:[\\/]* )  # Absolute name.
   23068     ac_srcdir=$srcdir$ac_dir_suffix;
   23069     ac_top_srcdir=$srcdir
   23070     ac_abs_top_srcdir=$srcdir ;;
   23071   *) # Relative name.
   23072     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   23073     ac_top_srcdir=$ac_top_build_prefix$srcdir
   23074     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   23075 esac
   23076 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   23077 
   23078 
   23079   case $ac_mode in
   23080   :F)
   23081   #
   23082   # CONFIG_FILE
   23083   #
   23084 
   23085   case $INSTALL in
   23086   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   23087   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   23088   esac
   23089   ac_MKDIR_P=$MKDIR_P
   23090   case $MKDIR_P in
   23091   [\\/$]* | ?:[\\/]* ) ;;
   23092   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   23093   esac
   23094 _ACEOF
   23095 
   23096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23097 # If the template does not know about datarootdir, expand it.
   23098 # FIXME: This hack should be removed a few years after 2.60.
   23099 ac_datarootdir_hack=; ac_datarootdir_seen=
   23100 
   23101 ac_sed_dataroot='
   23102 /datarootdir/ {
   23103   p
   23104   q
   23105 }
   23106 /@datadir@/p
   23107 /@docdir@/p
   23108 /@infodir@/p
   23109 /@localedir@/p
   23110 /@mandir@/p
   23111 '
   23112 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   23113 *datarootdir*) ac_datarootdir_seen=yes;;
   23114 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   23115   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   23116 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   23117 _ACEOF
   23118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23119   ac_datarootdir_hack='
   23120   s&@datadir@&$datadir&g
   23121   s&@docdir@&$docdir&g
   23122   s&@infodir@&$infodir&g
   23123   s&@localedir@&$localedir&g
   23124   s&@mandir@&$mandir&g
   23125     s&\\\${datarootdir}&$datarootdir&g' ;;
   23126 esac
   23127 _ACEOF
   23128 
   23129 # Neutralize VPATH when `$srcdir' = `.'.
   23130 # Shell code in configure.ac might set extrasub.
   23131 # FIXME: do we really want to maintain this feature?
   23132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23133 ac_sed_extra="$ac_vpsub
   23134 $extrasub
   23135 _ACEOF
   23136 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23137 :t
   23138 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   23139 s|@configure_input@|$ac_sed_conf_input|;t t
   23140 s&@top_builddir@&$ac_top_builddir_sub&;t t
   23141 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   23142 s&@srcdir@&$ac_srcdir&;t t
   23143 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   23144 s&@top_srcdir@&$ac_top_srcdir&;t t
   23145 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   23146 s&@builddir@&$ac_builddir&;t t
   23147 s&@abs_builddir@&$ac_abs_builddir&;t t
   23148 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   23149 s&@INSTALL@&$ac_INSTALL&;t t
   23150 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   23151 $ac_datarootdir_hack
   23152 "
   23153 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   23154   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23155 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23156    { (exit 1); exit 1; }; }
   23157 
   23158 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   23159   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   23160   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   23161   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23162 which seems to be undefined.  Please make sure it is defined." >&5
   23163 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   23164 which seems to be undefined.  Please make sure it is defined." >&2;}
   23165 
   23166   rm -f "$tmp/stdin"
   23167   case $ac_file in
   23168   -) cat "$tmp/out" && rm -f "$tmp/out";;
   23169   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   23170   esac \
   23171   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23172 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23173    { (exit 1); exit 1; }; }
   23174  ;;
   23175   :H)
   23176   #
   23177   # CONFIG_HEADER
   23178   #
   23179   if test x"$ac_file" != x-; then
   23180     {
   23181       $as_echo "/* $configure_input  */" \
   23182       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   23183     } >"$tmp/config.h" \
   23184       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23185 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23186    { (exit 1); exit 1; }; }
   23187     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   23188       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   23189 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   23190     else
   23191       rm -f "$ac_file"
   23192       mv "$tmp/config.h" "$ac_file" \
   23193 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   23194 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   23195    { (exit 1); exit 1; }; }
   23196     fi
   23197   else
   23198     $as_echo "/* $configure_input  */" \
   23199       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   23200       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   23201 $as_echo "$as_me: error: could not create -" >&2;}
   23202    { (exit 1); exit 1; }; }
   23203   fi
   23204 # Compute "$ac_file"'s index in $config_headers.
   23205 _am_arg="$ac_file"
   23206 _am_stamp_count=1
   23207 for _am_header in $config_headers :; do
   23208   case $_am_header in
   23209     $_am_arg | $_am_arg:* )
   23210       break ;;
   23211     * )
   23212       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   23213   esac
   23214 done
   23215 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   23216 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23217 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   23218 	 X"$_am_arg" : 'X\(//\)$' \| \
   23219 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   23220 $as_echo X"$_am_arg" |
   23221     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23222 	    s//\1/
   23223 	    q
   23224 	  }
   23225 	  /^X\(\/\/\)[^/].*/{
   23226 	    s//\1/
   23227 	    q
   23228 	  }
   23229 	  /^X\(\/\/\)$/{
   23230 	    s//\1/
   23231 	    q
   23232 	  }
   23233 	  /^X\(\/\).*/{
   23234 	    s//\1/
   23235 	    q
   23236 	  }
   23237 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   23238  ;;
   23239 
   23240   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   23241 $as_echo "$as_me: executing $ac_file commands" >&6;}
   23242  ;;
   23243   esac
   23244 
   23245 
   23246   case $ac_file$ac_mode in
   23247     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   23248   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   23249   # are listed without --file.  Let's play safe and only enable the eval
   23250   # if we detect the quoting.
   23251   case $CONFIG_FILES in
   23252   *\'*) eval set x "$CONFIG_FILES" ;;
   23253   *)   set x $CONFIG_FILES ;;
   23254   esac
   23255   shift
   23256   for mf
   23257   do
   23258     # Strip MF so we end up with the name of the file.
   23259     mf=`echo "$mf" | sed -e 's/:.*$//'`
   23260     # Check whether this is an Automake generated Makefile or not.
   23261     # We used to match only the files named `Makefile.in', but
   23262     # some people rename them; so instead we look at the file content.
   23263     # Grep'ing the first line is not enough: some people post-process
   23264     # each Makefile.in and add a new line on top of each file to say so.
   23265     # Grep'ing the whole file is not good either: AIX grep has a line
   23266     # limit of 2048, but all sed's we know have understand at least 4000.
   23267     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   23268       dirpart=`$as_dirname -- "$mf" ||
   23269 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23270 	 X"$mf" : 'X\(//\)[^/]' \| \
   23271 	 X"$mf" : 'X\(//\)$' \| \
   23272 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   23273 $as_echo X"$mf" |
   23274     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23275 	    s//\1/
   23276 	    q
   23277 	  }
   23278 	  /^X\(\/\/\)[^/].*/{
   23279 	    s//\1/
   23280 	    q
   23281 	  }
   23282 	  /^X\(\/\/\)$/{
   23283 	    s//\1/
   23284 	    q
   23285 	  }
   23286 	  /^X\(\/\).*/{
   23287 	    s//\1/
   23288 	    q
   23289 	  }
   23290 	  s/.*/./; q'`
   23291     else
   23292       continue
   23293     fi
   23294     # Extract the definition of DEPDIR, am__include, and am__quote
   23295     # from the Makefile without running `make'.
   23296     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   23297     test -z "$DEPDIR" && continue
   23298     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   23299     test -z "am__include" && continue
   23300     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   23301     # When using ansi2knr, U may be empty or an underscore; expand it
   23302     U=`sed -n 's/^U = //p' < "$mf"`
   23303     # Find all dependency output files, they are included files with
   23304     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   23305     # simplest approach to changing $(DEPDIR) to its actual value in the
   23306     # expansion.
   23307     for file in `sed -n "
   23308       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   23309 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   23310       # Make sure the directory exists.
   23311       test -f "$dirpart/$file" && continue
   23312       fdir=`$as_dirname -- "$file" ||
   23313 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23314 	 X"$file" : 'X\(//\)[^/]' \| \
   23315 	 X"$file" : 'X\(//\)$' \| \
   23316 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   23317 $as_echo X"$file" |
   23318     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23319 	    s//\1/
   23320 	    q
   23321 	  }
   23322 	  /^X\(\/\/\)[^/].*/{
   23323 	    s//\1/
   23324 	    q
   23325 	  }
   23326 	  /^X\(\/\/\)$/{
   23327 	    s//\1/
   23328 	    q
   23329 	  }
   23330 	  /^X\(\/\).*/{
   23331 	    s//\1/
   23332 	    q
   23333 	  }
   23334 	  s/.*/./; q'`
   23335       { as_dir=$dirpart/$fdir
   23336   case $as_dir in #(
   23337   -*) as_dir=./$as_dir;;
   23338   esac
   23339   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   23340     as_dirs=
   23341     while :; do
   23342       case $as_dir in #(
   23343       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   23344       *) as_qdir=$as_dir;;
   23345       esac
   23346       as_dirs="'$as_qdir' $as_dirs"
   23347       as_dir=`$as_dirname -- "$as_dir" ||
   23348 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   23349 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   23350 	 X"$as_dir" : 'X\(//\)$' \| \
   23351 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   23352 $as_echo X"$as_dir" |
   23353     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   23354 	    s//\1/
   23355 	    q
   23356 	  }
   23357 	  /^X\(\/\/\)[^/].*/{
   23358 	    s//\1/
   23359 	    q
   23360 	  }
   23361 	  /^X\(\/\/\)$/{
   23362 	    s//\1/
   23363 	    q
   23364 	  }
   23365 	  /^X\(\/\).*/{
   23366 	    s//\1/
   23367 	    q
   23368 	  }
   23369 	  s/.*/./; q'`
   23370       test -d "$as_dir" && break
   23371     done
   23372     test -z "$as_dirs" || eval "mkdir $as_dirs"
   23373   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   23374 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   23375    { (exit 1); exit 1; }; }; }
   23376       # echo "creating $dirpart/$file"
   23377       echo '# dummy' > "$dirpart/$file"
   23378     done
   23379   done
   23380 }
   23381  ;;
   23382     "libtool_hack":C)
   23383 	cp -f libtool libtool_
   23384 	test -z "$SED" && SED=sed
   23385 	$SED '1,/^soname_spec/{
   23386 /^soname_spec/i\
   23387 # X.Org hack to match monolithic Xaw SONAME\
   23388 xorglibxawname="libXaw"
   23389 /^soname_spec/s/libname/xorglibxawname/
   23390 }' libtool_ > libtool
   23391 	rm -f libtool_
   23392  ;;
   23393 
   23394   esac
   23395 done # for ac_tag
   23396 
   23397 
   23398 { (exit 0); exit 0; }
   23399 _ACEOF
   23400 chmod +x $CONFIG_STATUS
   23401 ac_clean_files=$ac_clean_files_save
   23402 
   23403 test $ac_write_fail = 0 ||
   23404   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   23405 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   23406    { (exit 1); exit 1; }; }
   23407 
   23408 
   23409 # configure is writing to config.log, and then calls config.status.
   23410 # config.status does its own redirection, appending to config.log.
   23411 # Unfortunately, on DOS this fails, as config.log is still kept open
   23412 # by configure, so config.status won't be able to write to it; its
   23413 # output is simply discarded.  So we exec the FD to /dev/null,
   23414 # effectively closing config.log, so it can be properly (re)opened and
   23415 # appended to by config.status.  When coming back to configure, we
   23416 # need to make the FD available again.
   23417 if test "$no_create" != yes; then
   23418   ac_cs_success=:
   23419   ac_config_status_args=
   23420   test "$silent" = yes &&
   23421     ac_config_status_args="$ac_config_status_args --quiet"
   23422   exec 5>/dev/null
   23423   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   23424   exec 5>>config.log
   23425   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   23426   # would make configure fail if this is the last instruction.
   23427   $ac_cs_success || { (exit 1); exit 1; }
   23428 fi
   23429 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   23430   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   23431 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   23432 fi
   23433 
   23434 
   23435 if test "x$build_v6" = xyes; then
   23436    ac_config_files="$ac_config_files xaw6.pc"
   23437 
   23438 cat >confcache <<\_ACEOF
   23439 # This file is a shell script that caches the results of configure
   23440 # tests run on this system so they can be shared between configure
   23441 # scripts and configure runs, see configure's option --config-cache.
   23442 # It is not useful on other systems.  If it contains results you don't
   23443 # want to keep, you may remove or edit it.
   23444 #
   23445 # config.status only pays attention to the cache file if you give it
   23446 # the --recheck option to rerun configure.
   23447 #
   23448 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   23449 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   23450 # following values.
   23451 
   23452 _ACEOF
   23453 
   23454 # The following way of writing the cache mishandles newlines in values,
   23455 # but we know of no workaround that is simple, portable, and efficient.
   23456 # So, we kill variables containing newlines.
   23457 # Ultrix sh set writes to stderr and can't be redirected directly,
   23458 # and sets the high bit in the cache file unless we assign to the vars.
   23459 (
   23460   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   23461     eval ac_val=\$$ac_var
   23462     case $ac_val in #(
   23463     *${as_nl}*)
   23464       case $ac_var in #(
   23465       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   23466 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   23467       esac
   23468       case $ac_var in #(
   23469       _ | IFS | as_nl) ;; #(
   23470       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   23471       *) $as_unset $ac_var ;;
   23472       esac ;;
   23473     esac
   23474   done
   23475 
   23476   (set) 2>&1 |
   23477     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   23478     *${as_nl}ac_space=\ *)
   23479       # `set' does not quote correctly, so add quotes (double-quote
   23480       # substitution turns \\\\ into \\, and sed turns \\ into \).
   23481       sed -n \
   23482 	"s/'/'\\\\''/g;
   23483 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   23484       ;; #(
   23485     *)
   23486       # `set' quotes correctly as required by POSIX, so do not add quotes.
   23487       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   23488       ;;
   23489     esac |
   23490     sort
   23491 ) |
   23492   sed '
   23493      /^ac_cv_env_/b end
   23494      t clear
   23495      :clear
   23496      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   23497      t end
   23498      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   23499      :end' >>confcache
   23500 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   23501   if test -w "$cache_file"; then
   23502     test "x$cache_file" != "x/dev/null" &&
   23503       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   23504 $as_echo "$as_me: updating cache $cache_file" >&6;}
   23505     cat confcache >$cache_file
   23506   else
   23507     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   23508 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   23509   fi
   23510 fi
   23511 rm -f confcache
   23512 
   23513 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   23514 # Let make expand exec_prefix.
   23515 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   23516 
   23517 DEFS=-DHAVE_CONFIG_H
   23518 
   23519 ac_libobjs=
   23520 ac_ltlibobjs=
   23521 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   23522   # 1. Remove the extension, and $U if already installed.
   23523   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   23524   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   23525   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   23526   #    will be set to the directory where LIBOBJS objects are built.
   23527   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   23528   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   23529 done
   23530 LIBOBJS=$ac_libobjs
   23531 
   23532 LTLIBOBJS=$ac_ltlibobjs
   23533 
   23534 
   23535  if test -n "$EXEEXT"; then
   23536   am__EXEEXT_TRUE=
   23537   am__EXEEXT_FALSE='#'
   23538 else
   23539   am__EXEEXT_TRUE='#'
   23540   am__EXEEXT_FALSE=
   23541 fi
   23542 
   23543 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   23544   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   23545 Usually this means the macro was only invoked conditionally." >&5
   23546 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   23547 Usually this means the macro was only invoked conditionally." >&2;}
   23548    { (exit 1); exit 1; }; }
   23549 fi
   23550 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   23551   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   23552 Usually this means the macro was only invoked conditionally." >&5
   23553 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   23554 Usually this means the macro was only invoked conditionally." >&2;}
   23555    { (exit 1); exit 1; }; }
   23556 fi
   23557 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   23558   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   23559 Usually this means the macro was only invoked conditionally." >&5
   23560 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   23561 Usually this means the macro was only invoked conditionally." >&2;}
   23562    { (exit 1); exit 1; }; }
   23563 fi
   23564 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
   23565   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
   23566 Usually this means the macro was only invoked conditionally." >&5
   23567 $as_echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
   23568 Usually this means the macro was only invoked conditionally." >&2;}
   23569    { (exit 1); exit 1; }; }
   23570 fi
   23571 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   23572   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
   23573 Usually this means the macro was only invoked conditionally." >&5
   23574 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
   23575 Usually this means the macro was only invoked conditionally." >&2;}
   23576    { (exit 1); exit 1; }; }
   23577 fi
   23578 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
   23579   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
   23580 Usually this means the macro was only invoked conditionally." >&5
   23581 $as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
   23582 Usually this means the macro was only invoked conditionally." >&2;}
   23583    { (exit 1); exit 1; }; }
   23584 fi
   23585 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   23586   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
   23587 Usually this means the macro was only invoked conditionally." >&5
   23588 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
   23589 Usually this means the macro was only invoked conditionally." >&2;}
   23590    { (exit 1); exit 1; }; }
   23591 fi
   23592 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   23593   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
   23594 Usually this means the macro was only invoked conditionally." >&5
   23595 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
   23596 Usually this means the macro was only invoked conditionally." >&2;}
   23597    { (exit 1); exit 1; }; }
   23598 fi
   23599 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
   23600   { { $as_echo "$as_me:$LINENO: error: conditional \"am__EXEEXT\" was never defined.
   23601 Usually this means the macro was only invoked conditionally." >&5
   23602 $as_echo "$as_me: error: conditional \"am__EXEEXT\" was never defined.
   23603 Usually this means the macro was only invoked conditionally." >&2;}
   23604    { (exit 1); exit 1; }; }
   23605 fi
   23606 
   23607 : ${CONFIG_STATUS=./config.status}
   23608 ac_write_fail=0
   23609 ac_clean_files_save=$ac_clean_files
   23610 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   23611 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   23612 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   23613 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23614 #! $SHELL
   23615 # Generated by $as_me.
   23616 # Run this file to recreate the current configuration.
   23617 # Compiler output produced by configure, useful for debugging
   23618 # configure, is in config.log if it exists.
   23619 
   23620 debug=false
   23621 ac_cs_recheck=false
   23622 ac_cs_silent=false
   23623 SHELL=\${CONFIG_SHELL-$SHELL}
   23624 _ACEOF
   23625 
   23626 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23627 ## --------------------- ##
   23628 ## M4sh Initialization.  ##
   23629 ## --------------------- ##
   23630 
   23631 # Be more Bourne compatible
   23632 DUALCASE=1; export DUALCASE # for MKS sh
   23633 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   23634   emulate sh
   23635   NULLCMD=:
   23636   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   23637   # is contrary to our usage.  Disable this feature.
   23638   alias -g '${1+"$@"}'='"$@"'
   23639   setopt NO_GLOB_SUBST
   23640 else
   23641   case `(set -o) 2>/dev/null` in
   23642   *posix*) set -o posix ;;
   23643 esac
   23644 
   23645 fi
   23646 
   23647 
   23648 
   23649 
   23650 # PATH needs CR
   23651 # Avoid depending upon Character Ranges.
   23652 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   23653 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   23654 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   23655 as_cr_digits='0123456789'
   23656 as_cr_alnum=$as_cr_Letters$as_cr_digits
   23657 
   23658 as_nl='
   23659 '
   23660 export as_nl
   23661 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   23662 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   23663 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   23664 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   23665 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   23666   as_echo='printf %s\n'
   23667   as_echo_n='printf %s'
   23668 else
   23669   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   23670     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   23671     as_echo_n='/usr/ucb/echo -n'
   23672   else
   23673     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   23674     as_echo_n_body='eval
   23675       arg=$1;
   23676       case $arg in
   23677       *"$as_nl"*)
   23678 	expr "X$arg" : "X\\(.*\\)$as_nl";
   23679 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   23680       esac;
   23681       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   23682     '
   23683     export as_echo_n_body
   23684     as_echo_n='sh -c $as_echo_n_body as_echo'
   23685   fi
   23686   export as_echo_body
   23687   as_echo='sh -c $as_echo_body as_echo'
   23688 fi
   23689 
   23690 # The user is always right.
   23691 if test "${PATH_SEPARATOR+set}" != set; then
   23692   PATH_SEPARATOR=:
   23693   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   23694     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   23695       PATH_SEPARATOR=';'
   23696   }
   23697 fi
   23698 
   23699 # Support unset when possible.
   23700 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   23701   as_unset=unset
   23702 else
   23703   as_unset=false
   23704 fi
   23705 
   23706 
   23707 # IFS
   23708 # We need space, tab and new line, in precisely that order.  Quoting is
   23709 # there to prevent editors from complaining about space-tab.
   23710 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   23711 # splitting by setting IFS to empty value.)
   23712 IFS=" ""	$as_nl"
   23713 
   23714 # Find who we are.  Look in the path if we contain no directory separator.
   23715 case $0 in
   23716   *[\\/]* ) as_myself=$0 ;;
   23717   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   23718 for as_dir in $PATH
   23719 do
   23720   IFS=$as_save_IFS
   23721   test -z "$as_dir" && as_dir=.
   23722   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   23723 done
   23724 IFS=$as_save_IFS
   23725 
   23726      ;;
   23727 esac
   23728 # We did not find ourselves, most probably we were run as `sh COMMAND'
   23729 # in which case we are not to be found in the path.
   23730 if test "x$as_myself" = x; then
   23731   as_myself=$0
   23732 fi
   23733 if test ! -f "$as_myself"; then
   23734   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   23735   { (exit 1); exit 1; }
   23736 fi
   23737 
   23738 # Work around bugs in pre-3.0 UWIN ksh.
   23739 for as_var in ENV MAIL MAILPATH
   23740 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   23741 done
   23742 PS1='$ '
   23743 PS2='> '
   23744 PS4='+ '
   23745 
   23746 # NLS nuisances.
   23747 LC_ALL=C
   23748 export LC_ALL
   23749 LANGUAGE=C
   23750 export LANGUAGE
   23751 
   23752 # Required to use basename.
   23753 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23754    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23755   as_expr=expr
   23756 else
   23757   as_expr=false
   23758 fi
   23759 
   23760 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   23761   as_basename=basename
   23762 else
   23763   as_basename=false
   23764 fi
   23765 
   23766 
   23767 # Name of the executable.
   23768 as_me=`$as_basename -- "$0" ||
   23769 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   23770 	 X"$0" : 'X\(//\)$' \| \
   23771 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   23772 $as_echo X/"$0" |
   23773     sed '/^.*\/\([^/][^/]*\)\/*$/{
   23774 	    s//\1/
   23775 	    q
   23776 	  }
   23777 	  /^X\/\(\/\/\)$/{
   23778 	    s//\1/
   23779 	    q
   23780 	  }
   23781 	  /^X\/\(\/\).*/{
   23782 	    s//\1/
   23783 	    q
   23784 	  }
   23785 	  s/.*/./; q'`
   23786 
   23787 # CDPATH.
   23788 $as_unset CDPATH
   23789 
   23790 
   23791 
   23792   as_lineno_1=$LINENO
   23793   as_lineno_2=$LINENO
   23794   test "x$as_lineno_1" != "x$as_lineno_2" &&
   23795   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   23796 
   23797   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   23798   # uniformly replaced by the line number.  The first 'sed' inserts a
   23799   # line-number line after each line using $LINENO; the second 'sed'
   23800   # does the real work.  The second script uses 'N' to pair each
   23801   # line-number line with the line containing $LINENO, and appends
   23802   # trailing '-' during substitution so that $LINENO is not a special
   23803   # case at line end.
   23804   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   23805   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   23806   # E. McMahon (1931-1989) for sed's syntax.  :-)
   23807   sed -n '
   23808     p
   23809     /[$]LINENO/=
   23810   ' <$as_myself |
   23811     sed '
   23812       s/[$]LINENO.*/&-/
   23813       t lineno
   23814       b
   23815       :lineno
   23816       N
   23817       :loop
   23818       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   23819       t loop
   23820       s/-\n.*//
   23821     ' >$as_me.lineno &&
   23822   chmod +x "$as_me.lineno" ||
   23823     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   23824    { (exit 1); exit 1; }; }
   23825 
   23826   # Don't try to exec as it changes $[0], causing all sort of problems
   23827   # (the dirname of $[0] is not the place where we might find the
   23828   # original and so on.  Autoconf is especially sensitive to this).
   23829   . "./$as_me.lineno"
   23830   # Exit status is that of the last command.
   23831   exit
   23832 }
   23833 
   23834 
   23835 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   23836   as_dirname=dirname
   23837 else
   23838   as_dirname=false
   23839 fi
   23840 
   23841 ECHO_C= ECHO_N= ECHO_T=
   23842 case `echo -n x` in
   23843 -n*)
   23844   case `echo 'x\c'` in
   23845   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   23846   *)   ECHO_C='\c';;
   23847   esac;;
   23848 *)
   23849   ECHO_N='-n';;
   23850 esac
   23851 if expr a : '\(a\)' >/dev/null 2>&1 &&
   23852    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   23853   as_expr=expr
   23854 else
   23855   as_expr=false
   23856 fi
   23857 
   23858 rm -f conf$$ conf$$.exe conf$$.file
   23859 if test -d conf$$.dir; then
   23860   rm -f conf$$.dir/conf$$.file
   23861 else
   23862   rm -f conf$$.dir
   23863   mkdir conf$$.dir 2>/dev/null
   23864 fi
   23865 if (echo >conf$$.file) 2>/dev/null; then
   23866   if ln -s conf$$.file conf$$ 2>/dev/null; then
   23867     as_ln_s='ln -s'
   23868     # ... but there are two gotchas:
   23869     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   23870     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   23871     # In both cases, we have to default to `cp -p'.
   23872     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   23873       as_ln_s='cp -p'
   23874   elif ln conf$$.file conf$$ 2>/dev/null; then
   23875     as_ln_s=ln
   23876   else
   23877     as_ln_s='cp -p'
   23878   fi
   23879 else
   23880   as_ln_s='cp -p'
   23881 fi
   23882 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   23883 rmdir conf$$.dir 2>/dev/null
   23884 
   23885 if mkdir -p . 2>/dev/null; then
   23886   as_mkdir_p=:
   23887 else
   23888   test -d ./-p && rmdir ./-p
   23889   as_mkdir_p=false
   23890 fi
   23891 
   23892 if test -x / >/dev/null 2>&1; then
   23893   as_test_x='test -x'
   23894 else
   23895   if ls -dL / >/dev/null 2>&1; then
   23896     as_ls_L_option=L
   23897   else
   23898     as_ls_L_option=
   23899   fi
   23900   as_test_x='
   23901     eval sh -c '\''
   23902       if test -d "$1"; then
   23903 	test -d "$1/.";
   23904       else
   23905 	case $1 in
   23906 	-*)set "./$1";;
   23907 	esac;
   23908 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   23909 	???[sx]*):;;*)false;;esac;fi
   23910     '\'' sh
   23911   '
   23912 fi
   23913 as_executable_p=$as_test_x
   23914 
   23915 # Sed expression to map a string onto a valid CPP name.
   23916 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   23917 
   23918 # Sed expression to map a string onto a valid variable name.
   23919 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   23920 
   23921 
   23922 exec 6>&1
   23923 
   23924 # Save the log message, to keep $[0] and so on meaningful, and to
   23925 # report actual input values of CONFIG_FILES etc. instead of their
   23926 # values after options handling.
   23927 ac_log="
   23928 This file was extended by libXaw $as_me 1.0.7, which was
   23929 generated by GNU Autoconf 2.63.  Invocation command line was
   23930 
   23931   CONFIG_FILES    = $CONFIG_FILES
   23932   CONFIG_HEADERS  = $CONFIG_HEADERS
   23933   CONFIG_LINKS    = $CONFIG_LINKS
   23934   CONFIG_COMMANDS = $CONFIG_COMMANDS
   23935   $ $0 $@
   23936 
   23937 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   23938 "
   23939 
   23940 _ACEOF
   23941 
   23942 case $ac_config_files in *"
   23943 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   23944 esac
   23945 
   23946 case $ac_config_headers in *"
   23947 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   23948 esac
   23949 
   23950 
   23951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23952 # Files that config.status was made for.
   23953 config_files="$ac_config_files"
   23954 config_headers="$ac_config_headers"
   23955 config_commands="$ac_config_commands"
   23956 
   23957 _ACEOF
   23958 
   23959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   23960 ac_cs_usage="\
   23961 \`$as_me' instantiates files from templates according to the
   23962 current configuration.
   23963 
   23964 Usage: $0 [OPTION]... [FILE]...
   23965 
   23966   -h, --help       print this help, then exit
   23967   -V, --version    print version number and configuration settings, then exit
   23968   -q, --quiet, --silent
   23969                    do not print progress messages
   23970   -d, --debug      don't remove temporary files
   23971       --recheck    update $as_me by reconfiguring in the same conditions
   23972       --file=FILE[:TEMPLATE]
   23973                    instantiate the configuration file FILE
   23974       --header=FILE[:TEMPLATE]
   23975                    instantiate the configuration header FILE
   23976 
   23977 Configuration files:
   23978 $config_files
   23979 
   23980 Configuration headers:
   23981 $config_headers
   23982 
   23983 Configuration commands:
   23984 $config_commands
   23985 
   23986 Report bugs to <bug-autoconf (at] gnu.org>."
   23987 
   23988 _ACEOF
   23989 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   23990 ac_cs_version="\\
   23991 libXaw config.status 1.0.7
   23992 configured by $0, generated by GNU Autoconf 2.63,
   23993   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   23994 
   23995 Copyright (C) 2008 Free Software Foundation, Inc.
   23996 This config.status script is free software; the Free Software Foundation
   23997 gives unlimited permission to copy, distribute and modify it."
   23998 
   23999 ac_pwd='$ac_pwd'
   24000 srcdir='$srcdir'
   24001 INSTALL='$INSTALL'
   24002 MKDIR_P='$MKDIR_P'
   24003 AWK='$AWK'
   24004 test -n "\$AWK" || AWK=awk
   24005 _ACEOF
   24006 
   24007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24008 # The default lists apply if the user does not specify any file.
   24009 ac_need_defaults=:
   24010 while test $# != 0
   24011 do
   24012   case $1 in
   24013   --*=*)
   24014     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   24015     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   24016     ac_shift=:
   24017     ;;
   24018   *)
   24019     ac_option=$1
   24020     ac_optarg=$2
   24021     ac_shift=shift
   24022     ;;
   24023   esac
   24024 
   24025   case $ac_option in
   24026   # Handling of the options.
   24027   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   24028     ac_cs_recheck=: ;;
   24029   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   24030     $as_echo "$ac_cs_version"; exit ;;
   24031   --debug | --debu | --deb | --de | --d | -d )
   24032     debug=: ;;
   24033   --file | --fil | --fi | --f )
   24034     $ac_shift
   24035     case $ac_optarg in
   24036     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24037     esac
   24038     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   24039     ac_need_defaults=false;;
   24040   --header | --heade | --head | --hea )
   24041     $ac_shift
   24042     case $ac_optarg in
   24043     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   24044     esac
   24045     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   24046     ac_need_defaults=false;;
   24047   --he | --h)
   24048     # Conflict between --help and --header
   24049     { $as_echo "$as_me: error: ambiguous option: $1
   24050 Try \`$0 --help' for more information." >&2
   24051    { (exit 1); exit 1; }; };;
   24052   --help | --hel | -h )
   24053     $as_echo "$ac_cs_usage"; exit ;;
   24054   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   24055   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   24056     ac_cs_silent=: ;;
   24057 
   24058   # This is an error.
   24059   -*) { $as_echo "$as_me: error: unrecognized option: $1
   24060 Try \`$0 --help' for more information." >&2
   24061    { (exit 1); exit 1; }; } ;;
   24062 
   24063   *) ac_config_targets="$ac_config_targets $1"
   24064      ac_need_defaults=false ;;
   24065 
   24066   esac
   24067   shift
   24068 done
   24069 
   24070 ac_configure_extra_args=
   24071 
   24072 if $ac_cs_silent; then
   24073   exec 6>/dev/null
   24074   ac_configure_extra_args="$ac_configure_extra_args --silent"
   24075 fi
   24076 
   24077 _ACEOF
   24078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24079 if \$ac_cs_recheck; then
   24080   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   24081   shift
   24082   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   24083   CONFIG_SHELL='$SHELL'
   24084   export CONFIG_SHELL
   24085   exec "\$@"
   24086 fi
   24087 
   24088 _ACEOF
   24089 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24090 exec 5>>config.log
   24091 {
   24092   echo
   24093   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   24094 ## Running $as_me. ##
   24095 _ASBOX
   24096   $as_echo "$ac_log"
   24097 } >&5
   24098 
   24099 _ACEOF
   24100 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24101 #
   24102 # INIT-COMMANDS
   24103 #
   24104 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   24105 
   24106 _ACEOF
   24107 
   24108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24109 
   24110 # Handling of arguments.
   24111 for ac_config_target in $ac_config_targets
   24112 do
   24113   case $ac_config_target in
   24114     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   24115     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   24116     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   24117     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   24118     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   24119     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   24120     "spec/Makefile") CONFIG_FILES="$CONFIG_FILES spec/Makefile" ;;
   24121     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   24122     "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
   24123 
   24124   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   24125 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   24126    { (exit 1); exit 1; }; };;
   24127   esac
   24128 done
   24129 
   24130 
   24131 # If the user did not use the arguments to specify the items to instantiate,
   24132 # then the envvar interface is used.  Set only those that are not.
   24133 # We use the long form for the default assignment because of an extremely
   24134 # bizarre bug on SunOS 4.1.3.
   24135 if $ac_need_defaults; then
   24136   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   24137   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   24138   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   24139 fi
   24140 
   24141 # Have a temporary directory for convenience.  Make it in the build tree
   24142 # simply because there is no reason against having it here, and in addition,
   24143 # creating and moving files from /tmp can sometimes cause problems.
   24144 # Hook for its removal unless debugging.
   24145 # Note that there is a small window in which the directory will not be cleaned:
   24146 # after its creation but before its name has been assigned to `$tmp'.
   24147 $debug ||
   24148 {
   24149   tmp=
   24150   trap 'exit_status=$?
   24151   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   24152 ' 0
   24153   trap '{ (exit 1); exit 1; }' 1 2 13 15
   24154 }
   24155 # Create a (secure) tmp directory for tmp files.
   24156 
   24157 {
   24158   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   24159   test -n "$tmp" && test -d "$tmp"
   24160 }  ||
   24161 {
   24162   tmp=./conf$$-$RANDOM
   24163   (umask 077 && mkdir "$tmp")
   24164 } ||
   24165 {
   24166    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   24167    { (exit 1); exit 1; }
   24168 }
   24169 
   24170 # Set up the scripts for CONFIG_FILES section.
   24171 # No need to generate them if there are no CONFIG_FILES.
   24172 # This happens for instance with `./config.status config.h'.
   24173 if test -n "$CONFIG_FILES"; then
   24174 
   24175 
   24176 ac_cr='
'
   24178 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   24179 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   24180   ac_cs_awk_cr='\\r'
   24181 else
   24182   ac_cs_awk_cr=$ac_cr
   24183 fi
   24184 
   24185 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   24186 _ACEOF
   24187 
   24188 
   24189 {
   24190   echo "cat >conf$$subs.awk <<_ACEOF" &&
   24191   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   24192   echo "_ACEOF"
   24193 } >conf$$subs.sh ||
   24194   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   24195 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   24196    { (exit 1); exit 1; }; }
   24197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   24198 ac_delim='%!_!# '
   24199 for ac_last_try in false false false false false :; do
   24200   . ./conf$$subs.sh ||
   24201     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   24202 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   24203    { (exit 1); exit 1; }; }
   24204 
   24205   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   24206   if test $ac_delim_n = $ac_delim_num; then
   24207     break
   24208   elif $ac_last_try; then
   24209     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   24210 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   24211    { (exit 1); exit 1; }; }
   24212   else
   24213     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24214   fi
   24215 done
   24216 rm -f conf$$subs.sh
   24217 
   24218 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24219 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   24220 _ACEOF
   24221 sed -n '
   24222 h
   24223 s/^/S["/; s/!.*/"]=/
   24224 p
   24225 g
   24226 s/^[^!]*!//
   24227 :repl
   24228 t repl
   24229 s/'"$ac_delim"'$//
   24230 t delim
   24231 :nl
   24232 h
   24233 s/\(.\{148\}\).*/\1/
   24234 t more1
   24235 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   24236 p
   24237 n
   24238 b repl
   24239 :more1
   24240 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24241 p
   24242 g
   24243 s/.\{148\}//
   24244 t nl
   24245 :delim
   24246 h
   24247 s/\(.\{148\}\).*/\1/
   24248 t more2
   24249 s/["\\]/\\&/g; s/^/"/; s/$/"/
   24250 p
   24251 b
   24252 :more2
   24253 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   24254 p
   24255 g
   24256 s/.\{148\}//
   24257 t delim
   24258 ' <conf$$subs.awk | sed '
   24259 /^[^""]/{
   24260   N
   24261   s/\n//
   24262 }
   24263 ' >>$CONFIG_STATUS || ac_write_fail=1
   24264 rm -f conf$$subs.awk
   24265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24266 _ACAWK
   24267 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   24268   for (key in S) S_is_set[key] = 1
   24269   FS = ""
   24270 
   24271 }
   24272 {
   24273   line = $ 0
   24274   nfields = split(line, field, "@")
   24275   substed = 0
   24276   len = length(field[1])
   24277   for (i = 2; i < nfields; i++) {
   24278     key = field[i]
   24279     keylen = length(key)
   24280     if (S_is_set[key]) {
   24281       value = S[key]
   24282       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   24283       len += length(value) + length(field[++i])
   24284       substed = 1
   24285     } else
   24286       len += 1 + keylen
   24287   }
   24288 
   24289   print line
   24290 }
   24291 
   24292 _ACAWK
   24293 _ACEOF
   24294 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24295 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   24296   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   24297 else
   24298   cat
   24299 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   24300   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   24301 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   24302    { (exit 1); exit 1; }; }
   24303 _ACEOF
   24304 
   24305 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   24306 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   24307 # trailing colons and then remove the whole line if VPATH becomes empty
   24308 # (actually we leave an empty line to preserve line numbers).
   24309 if test "x$srcdir" = x.; then
   24310   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   24311 s/:*\$(srcdir):*/:/
   24312 s/:*\${srcdir}:*/:/
   24313 s/:*@srcdir@:*/:/
   24314 s/^\([^=]*=[	 ]*\):*/\1/
   24315 s/:*$//
   24316 s/^[^=]*=[	 ]*$//
   24317 }'
   24318 fi
   24319 
   24320 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24321 fi # test -n "$CONFIG_FILES"
   24322 
   24323 # Set up the scripts for CONFIG_HEADERS section.
   24324 # No need to generate them if there are no CONFIG_HEADERS.
   24325 # This happens for instance with `./config.status Makefile'.
   24326 if test -n "$CONFIG_HEADERS"; then
   24327 cat >"$tmp/defines.awk" <<\_ACAWK ||
   24328 BEGIN {
   24329 _ACEOF
   24330 
   24331 # Transform confdefs.h into an awk script `defines.awk', embedded as
   24332 # here-document in config.status, that substitutes the proper values into
   24333 # config.h.in to produce config.h.
   24334 
   24335 # Create a delimiter string that does not exist in confdefs.h, to ease
   24336 # handling of long lines.
   24337 ac_delim='%!_!# '
   24338 for ac_last_try in false false :; do
   24339   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   24340   if test -z "$ac_t"; then
   24341     break
   24342   elif $ac_last_try; then
   24343     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   24344 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   24345    { (exit 1); exit 1; }; }
   24346   else
   24347     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   24348   fi
   24349 done
   24350 
   24351 # For the awk script, D is an array of macro values keyed by name,
   24352 # likewise P contains macro parameters if any.  Preserve backslash
   24353 # newline sequences.
   24354 
   24355 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   24356 sed -n '
   24357 s/.\{148\}/&'"$ac_delim"'/g
   24358 t rset
   24359 :rset
   24360 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   24361 t def
   24362 d
   24363 :def
   24364 s/\\$//
   24365 t bsnl
   24366 s/["\\]/\\&/g
   24367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24368 D["\1"]=" \3"/p
   24369 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   24370 d
   24371 :bsnl
   24372 s/["\\]/\\&/g
   24373 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   24374 D["\1"]=" \3\\\\\\n"\\/p
   24375 t cont
   24376 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   24377 t cont
   24378 d
   24379 :cont
   24380 n
   24381 s/.\{148\}/&'"$ac_delim"'/g
   24382 t clear
   24383 :clear
   24384 s/\\$//
   24385 t bsnlc
   24386 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   24387 d
   24388 :bsnlc
   24389 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   24390 b cont
   24391 ' <confdefs.h | sed '
   24392 s/'"$ac_delim"'/"\\\
   24393 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   24394 
   24395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24396   for (key in D) D_is_set[key] = 1
   24397   FS = ""
   24398 }
   24399 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   24400   line = \$ 0
   24401   split(line, arg, " ")
   24402   if (arg[1] == "#") {
   24403     defundef = arg[2]
   24404     mac1 = arg[3]
   24405   } else {
   24406     defundef = substr(arg[1], 2)
   24407     mac1 = arg[2]
   24408   }
   24409   split(mac1, mac2, "(") #)
   24410   macro = mac2[1]
   24411   prefix = substr(line, 1, index(line, defundef) - 1)
   24412   if (D_is_set[macro]) {
   24413     # Preserve the white space surrounding the "#".
   24414     print prefix "define", macro P[macro] D[macro]
   24415     next
   24416   } else {
   24417     # Replace #undef with comments.  This is necessary, for example,
   24418     # in the case of _POSIX_SOURCE, which is predefined and required
   24419     # on some systems where configure will not decide to define it.
   24420     if (defundef == "undef") {
   24421       print "/*", prefix defundef, macro, "*/"
   24422       next
   24423     }
   24424   }
   24425 }
   24426 { print }
   24427 _ACAWK
   24428 _ACEOF
   24429 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24430   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   24431 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   24432    { (exit 1); exit 1; }; }
   24433 fi # test -n "$CONFIG_HEADERS"
   24434 
   24435 
   24436 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   24437 shift
   24438 for ac_tag
   24439 do
   24440   case $ac_tag in
   24441   :[FHLC]) ac_mode=$ac_tag; continue;;
   24442   esac
   24443   case $ac_mode$ac_tag in
   24444   :[FHL]*:*);;
   24445   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   24446 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   24447    { (exit 1); exit 1; }; };;
   24448   :[FH]-) ac_tag=-:-;;
   24449   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   24450   esac
   24451   ac_save_IFS=$IFS
   24452   IFS=:
   24453   set x $ac_tag
   24454   IFS=$ac_save_IFS
   24455   shift
   24456   ac_file=$1
   24457   shift
   24458 
   24459   case $ac_mode in
   24460   :L) ac_source=$1;;
   24461   :[FH])
   24462     ac_file_inputs=
   24463     for ac_f
   24464     do
   24465       case $ac_f in
   24466       -) ac_f="$tmp/stdin";;
   24467       *) # Look for the file first in the build tree, then in the source tree
   24468 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   24469 	 # because $ac_f cannot contain `:'.
   24470 	 test -f "$ac_f" ||
   24471 	   case $ac_f in
   24472 	   [\\/$]*) false;;
   24473 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   24474 	   esac ||
   24475 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   24476 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   24477    { (exit 1); exit 1; }; };;
   24478       esac
   24479       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   24480       ac_file_inputs="$ac_file_inputs '$ac_f'"
   24481     done
   24482 
   24483     # Let's still pretend it is `configure' which instantiates (i.e., don't
   24484     # use $as_me), people would be surprised to read:
   24485     #    /* config.h.  Generated by config.status.  */
   24486     configure_input='Generated from '`
   24487 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   24488 	`' by configure.'
   24489     if test x"$ac_file" != x-; then
   24490       configure_input="$ac_file.  $configure_input"
   24491       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   24492 $as_echo "$as_me: creating $ac_file" >&6;}
   24493     fi
   24494     # Neutralize special characters interpreted by sed in replacement strings.
   24495     case $configure_input in #(
   24496     *\&* | *\|* | *\\* )
   24497        ac_sed_conf_input=`$as_echo "$configure_input" |
   24498        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   24499     *) ac_sed_conf_input=$configure_input;;
   24500     esac
   24501 
   24502     case $ac_tag in
   24503     *:-:* | *:-) cat >"$tmp/stdin" \
   24504       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24505 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24506    { (exit 1); exit 1; }; } ;;
   24507     esac
   24508     ;;
   24509   esac
   24510 
   24511   ac_dir=`$as_dirname -- "$ac_file" ||
   24512 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24513 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   24514 	 X"$ac_file" : 'X\(//\)$' \| \
   24515 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   24516 $as_echo X"$ac_file" |
   24517     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24518 	    s//\1/
   24519 	    q
   24520 	  }
   24521 	  /^X\(\/\/\)[^/].*/{
   24522 	    s//\1/
   24523 	    q
   24524 	  }
   24525 	  /^X\(\/\/\)$/{
   24526 	    s//\1/
   24527 	    q
   24528 	  }
   24529 	  /^X\(\/\).*/{
   24530 	    s//\1/
   24531 	    q
   24532 	  }
   24533 	  s/.*/./; q'`
   24534   { as_dir="$ac_dir"
   24535   case $as_dir in #(
   24536   -*) as_dir=./$as_dir;;
   24537   esac
   24538   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24539     as_dirs=
   24540     while :; do
   24541       case $as_dir in #(
   24542       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24543       *) as_qdir=$as_dir;;
   24544       esac
   24545       as_dirs="'$as_qdir' $as_dirs"
   24546       as_dir=`$as_dirname -- "$as_dir" ||
   24547 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24548 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24549 	 X"$as_dir" : 'X\(//\)$' \| \
   24550 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24551 $as_echo X"$as_dir" |
   24552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24553 	    s//\1/
   24554 	    q
   24555 	  }
   24556 	  /^X\(\/\/\)[^/].*/{
   24557 	    s//\1/
   24558 	    q
   24559 	  }
   24560 	  /^X\(\/\/\)$/{
   24561 	    s//\1/
   24562 	    q
   24563 	  }
   24564 	  /^X\(\/\).*/{
   24565 	    s//\1/
   24566 	    q
   24567 	  }
   24568 	  s/.*/./; q'`
   24569       test -d "$as_dir" && break
   24570     done
   24571     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24572   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24573 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24574    { (exit 1); exit 1; }; }; }
   24575   ac_builddir=.
   24576 
   24577 case "$ac_dir" in
   24578 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24579 *)
   24580   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   24581   # A ".." for each directory in $ac_dir_suffix.
   24582   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   24583   case $ac_top_builddir_sub in
   24584   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   24585   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   24586   esac ;;
   24587 esac
   24588 ac_abs_top_builddir=$ac_pwd
   24589 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   24590 # for backward compatibility:
   24591 ac_top_builddir=$ac_top_build_prefix
   24592 
   24593 case $srcdir in
   24594   .)  # We are building in place.
   24595     ac_srcdir=.
   24596     ac_top_srcdir=$ac_top_builddir_sub
   24597     ac_abs_top_srcdir=$ac_pwd ;;
   24598   [\\/]* | ?:[\\/]* )  # Absolute name.
   24599     ac_srcdir=$srcdir$ac_dir_suffix;
   24600     ac_top_srcdir=$srcdir
   24601     ac_abs_top_srcdir=$srcdir ;;
   24602   *) # Relative name.
   24603     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   24604     ac_top_srcdir=$ac_top_build_prefix$srcdir
   24605     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   24606 esac
   24607 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   24608 
   24609 
   24610   case $ac_mode in
   24611   :F)
   24612   #
   24613   # CONFIG_FILE
   24614   #
   24615 
   24616   case $INSTALL in
   24617   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   24618   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   24619   esac
   24620   ac_MKDIR_P=$MKDIR_P
   24621   case $MKDIR_P in
   24622   [\\/$]* | ?:[\\/]* ) ;;
   24623   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   24624   esac
   24625 _ACEOF
   24626 
   24627 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24628 # If the template does not know about datarootdir, expand it.
   24629 # FIXME: This hack should be removed a few years after 2.60.
   24630 ac_datarootdir_hack=; ac_datarootdir_seen=
   24631 
   24632 ac_sed_dataroot='
   24633 /datarootdir/ {
   24634   p
   24635   q
   24636 }
   24637 /@datadir@/p
   24638 /@docdir@/p
   24639 /@infodir@/p
   24640 /@localedir@/p
   24641 /@mandir@/p
   24642 '
   24643 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   24644 *datarootdir*) ac_datarootdir_seen=yes;;
   24645 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   24646   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   24647 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   24648 _ACEOF
   24649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24650   ac_datarootdir_hack='
   24651   s&@datadir@&$datadir&g
   24652   s&@docdir@&$docdir&g
   24653   s&@infodir@&$infodir&g
   24654   s&@localedir@&$localedir&g
   24655   s&@mandir@&$mandir&g
   24656     s&\\\${datarootdir}&$datarootdir&g' ;;
   24657 esac
   24658 _ACEOF
   24659 
   24660 # Neutralize VPATH when `$srcdir' = `.'.
   24661 # Shell code in configure.ac might set extrasub.
   24662 # FIXME: do we really want to maintain this feature?
   24663 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   24664 ac_sed_extra="$ac_vpsub
   24665 $extrasub
   24666 _ACEOF
   24667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   24668 :t
   24669 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   24670 s|@configure_input@|$ac_sed_conf_input|;t t
   24671 s&@top_builddir@&$ac_top_builddir_sub&;t t
   24672 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   24673 s&@srcdir@&$ac_srcdir&;t t
   24674 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   24675 s&@top_srcdir@&$ac_top_srcdir&;t t
   24676 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   24677 s&@builddir@&$ac_builddir&;t t
   24678 s&@abs_builddir@&$ac_abs_builddir&;t t
   24679 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   24680 s&@INSTALL@&$ac_INSTALL&;t t
   24681 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   24682 $ac_datarootdir_hack
   24683 "
   24684 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   24685   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24686 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24687    { (exit 1); exit 1; }; }
   24688 
   24689 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   24690   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   24691   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   24692   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24693 which seems to be undefined.  Please make sure it is defined." >&5
   24694 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   24695 which seems to be undefined.  Please make sure it is defined." >&2;}
   24696 
   24697   rm -f "$tmp/stdin"
   24698   case $ac_file in
   24699   -) cat "$tmp/out" && rm -f "$tmp/out";;
   24700   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   24701   esac \
   24702   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24703 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24704    { (exit 1); exit 1; }; }
   24705  ;;
   24706   :H)
   24707   #
   24708   # CONFIG_HEADER
   24709   #
   24710   if test x"$ac_file" != x-; then
   24711     {
   24712       $as_echo "/* $configure_input  */" \
   24713       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   24714     } >"$tmp/config.h" \
   24715       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24716 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24717    { (exit 1); exit 1; }; }
   24718     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   24719       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   24720 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   24721     else
   24722       rm -f "$ac_file"
   24723       mv "$tmp/config.h" "$ac_file" \
   24724 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   24725 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   24726    { (exit 1); exit 1; }; }
   24727     fi
   24728   else
   24729     $as_echo "/* $configure_input  */" \
   24730       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   24731       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   24732 $as_echo "$as_me: error: could not create -" >&2;}
   24733    { (exit 1); exit 1; }; }
   24734   fi
   24735 # Compute "$ac_file"'s index in $config_headers.
   24736 _am_arg="$ac_file"
   24737 _am_stamp_count=1
   24738 for _am_header in $config_headers :; do
   24739   case $_am_header in
   24740     $_am_arg | $_am_arg:* )
   24741       break ;;
   24742     * )
   24743       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   24744   esac
   24745 done
   24746 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   24747 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24748 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   24749 	 X"$_am_arg" : 'X\(//\)$' \| \
   24750 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   24751 $as_echo X"$_am_arg" |
   24752     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24753 	    s//\1/
   24754 	    q
   24755 	  }
   24756 	  /^X\(\/\/\)[^/].*/{
   24757 	    s//\1/
   24758 	    q
   24759 	  }
   24760 	  /^X\(\/\/\)$/{
   24761 	    s//\1/
   24762 	    q
   24763 	  }
   24764 	  /^X\(\/\).*/{
   24765 	    s//\1/
   24766 	    q
   24767 	  }
   24768 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   24769  ;;
   24770 
   24771   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   24772 $as_echo "$as_me: executing $ac_file commands" >&6;}
   24773  ;;
   24774   esac
   24775 
   24776 
   24777   case $ac_file$ac_mode in
   24778     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   24779   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   24780   # are listed without --file.  Let's play safe and only enable the eval
   24781   # if we detect the quoting.
   24782   case $CONFIG_FILES in
   24783   *\'*) eval set x "$CONFIG_FILES" ;;
   24784   *)   set x $CONFIG_FILES ;;
   24785   esac
   24786   shift
   24787   for mf
   24788   do
   24789     # Strip MF so we end up with the name of the file.
   24790     mf=`echo "$mf" | sed -e 's/:.*$//'`
   24791     # Check whether this is an Automake generated Makefile or not.
   24792     # We used to match only the files named `Makefile.in', but
   24793     # some people rename them; so instead we look at the file content.
   24794     # Grep'ing the first line is not enough: some people post-process
   24795     # each Makefile.in and add a new line on top of each file to say so.
   24796     # Grep'ing the whole file is not good either: AIX grep has a line
   24797     # limit of 2048, but all sed's we know have understand at least 4000.
   24798     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   24799       dirpart=`$as_dirname -- "$mf" ||
   24800 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24801 	 X"$mf" : 'X\(//\)[^/]' \| \
   24802 	 X"$mf" : 'X\(//\)$' \| \
   24803 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   24804 $as_echo X"$mf" |
   24805     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24806 	    s//\1/
   24807 	    q
   24808 	  }
   24809 	  /^X\(\/\/\)[^/].*/{
   24810 	    s//\1/
   24811 	    q
   24812 	  }
   24813 	  /^X\(\/\/\)$/{
   24814 	    s//\1/
   24815 	    q
   24816 	  }
   24817 	  /^X\(\/\).*/{
   24818 	    s//\1/
   24819 	    q
   24820 	  }
   24821 	  s/.*/./; q'`
   24822     else
   24823       continue
   24824     fi
   24825     # Extract the definition of DEPDIR, am__include, and am__quote
   24826     # from the Makefile without running `make'.
   24827     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   24828     test -z "$DEPDIR" && continue
   24829     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   24830     test -z "am__include" && continue
   24831     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   24832     # When using ansi2knr, U may be empty or an underscore; expand it
   24833     U=`sed -n 's/^U = //p' < "$mf"`
   24834     # Find all dependency output files, they are included files with
   24835     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   24836     # simplest approach to changing $(DEPDIR) to its actual value in the
   24837     # expansion.
   24838     for file in `sed -n "
   24839       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   24840 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   24841       # Make sure the directory exists.
   24842       test -f "$dirpart/$file" && continue
   24843       fdir=`$as_dirname -- "$file" ||
   24844 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24845 	 X"$file" : 'X\(//\)[^/]' \| \
   24846 	 X"$file" : 'X\(//\)$' \| \
   24847 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   24848 $as_echo X"$file" |
   24849     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24850 	    s//\1/
   24851 	    q
   24852 	  }
   24853 	  /^X\(\/\/\)[^/].*/{
   24854 	    s//\1/
   24855 	    q
   24856 	  }
   24857 	  /^X\(\/\/\)$/{
   24858 	    s//\1/
   24859 	    q
   24860 	  }
   24861 	  /^X\(\/\).*/{
   24862 	    s//\1/
   24863 	    q
   24864 	  }
   24865 	  s/.*/./; q'`
   24866       { as_dir=$dirpart/$fdir
   24867   case $as_dir in #(
   24868   -*) as_dir=./$as_dir;;
   24869   esac
   24870   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   24871     as_dirs=
   24872     while :; do
   24873       case $as_dir in #(
   24874       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   24875       *) as_qdir=$as_dir;;
   24876       esac
   24877       as_dirs="'$as_qdir' $as_dirs"
   24878       as_dir=`$as_dirname -- "$as_dir" ||
   24879 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   24880 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   24881 	 X"$as_dir" : 'X\(//\)$' \| \
   24882 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   24883 $as_echo X"$as_dir" |
   24884     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   24885 	    s//\1/
   24886 	    q
   24887 	  }
   24888 	  /^X\(\/\/\)[^/].*/{
   24889 	    s//\1/
   24890 	    q
   24891 	  }
   24892 	  /^X\(\/\/\)$/{
   24893 	    s//\1/
   24894 	    q
   24895 	  }
   24896 	  /^X\(\/\).*/{
   24897 	    s//\1/
   24898 	    q
   24899 	  }
   24900 	  s/.*/./; q'`
   24901       test -d "$as_dir" && break
   24902     done
   24903     test -z "$as_dirs" || eval "mkdir $as_dirs"
   24904   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   24905 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   24906    { (exit 1); exit 1; }; }; }
   24907       # echo "creating $dirpart/$file"
   24908       echo '# dummy' > "$dirpart/$file"
   24909     done
   24910   done
   24911 }
   24912  ;;
   24913     "libtool_hack":C)
   24914 	cp -f libtool libtool_
   24915 	test -z "$SED" && SED=sed
   24916 	$SED '1,/^soname_spec/{
   24917 /^soname_spec/i\
   24918 # X.Org hack to match monolithic Xaw SONAME\
   24919 xorglibxawname="libXaw"
   24920 /^soname_spec/s/libname/xorglibxawname/
   24921 }' libtool_ > libtool
   24922 	rm -f libtool_
   24923  ;;
   24924 
   24925   esac
   24926 done # for ac_tag
   24927 
   24928 
   24929 { (exit 0); exit 0; }
   24930 _ACEOF
   24931 chmod +x $CONFIG_STATUS
   24932 ac_clean_files=$ac_clean_files_save
   24933 
   24934 test $ac_write_fail = 0 ||
   24935   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   24936 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   24937    { (exit 1); exit 1; }; }
   24938 
   24939 
   24940 # configure is writing to config.log, and then calls config.status.
   24941 # config.status does its own redirection, appending to config.log.
   24942 # Unfortunately, on DOS this fails, as config.log is still kept open
   24943 # by configure, so config.status won't be able to write to it; its
   24944 # output is simply discarded.  So we exec the FD to /dev/null,
   24945 # effectively closing config.log, so it can be properly (re)opened and
   24946 # appended to by config.status.  When coming back to configure, we
   24947 # need to make the FD available again.
   24948 if test "$no_create" != yes; then
   24949   ac_cs_success=:
   24950   ac_config_status_args=
   24951   test "$silent" = yes &&
   24952     ac_config_status_args="$ac_config_status_args --quiet"
   24953   exec 5>/dev/null
   24954   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   24955   exec 5>>config.log
   24956   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   24957   # would make configure fail if this is the last instruction.
   24958   $ac_cs_success || { (exit 1); exit 1; }
   24959 fi
   24960 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   24961   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   24962 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   24963 fi
   24964 
   24965 fi
   24966 
   24967 if test "x$build_v7" = xyes; then
   24968    ac_config_files="$ac_config_files xaw7.pc"
   24969 
   24970 cat >confcache <<\_ACEOF
   24971 # This file is a shell script that caches the results of configure
   24972 # tests run on this system so they can be shared between configure
   24973 # scripts and configure runs, see configure's option --config-cache.
   24974 # It is not useful on other systems.  If it contains results you don't
   24975 # want to keep, you may remove or edit it.
   24976 #
   24977 # config.status only pays attention to the cache file if you give it
   24978 # the --recheck option to rerun configure.
   24979 #
   24980 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   24981 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   24982 # following values.
   24983 
   24984 _ACEOF
   24985 
   24986 # The following way of writing the cache mishandles newlines in values,
   24987 # but we know of no workaround that is simple, portable, and efficient.
   24988 # So, we kill variables containing newlines.
   24989 # Ultrix sh set writes to stderr and can't be redirected directly,
   24990 # and sets the high bit in the cache file unless we assign to the vars.
   24991 (
   24992   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   24993     eval ac_val=\$$ac_var
   24994     case $ac_val in #(
   24995     *${as_nl}*)
   24996       case $ac_var in #(
   24997       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
   24998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   24999       esac
   25000       case $ac_var in #(
   25001       _ | IFS | as_nl) ;; #(
   25002       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   25003       *) $as_unset $ac_var ;;
   25004       esac ;;
   25005     esac
   25006   done
   25007 
   25008   (set) 2>&1 |
   25009     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   25010     *${as_nl}ac_space=\ *)
   25011       # `set' does not quote correctly, so add quotes (double-quote
   25012       # substitution turns \\\\ into \\, and sed turns \\ into \).
   25013       sed -n \
   25014 	"s/'/'\\\\''/g;
   25015 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   25016       ;; #(
   25017     *)
   25018       # `set' quotes correctly as required by POSIX, so do not add quotes.
   25019       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   25020       ;;
   25021     esac |
   25022     sort
   25023 ) |
   25024   sed '
   25025      /^ac_cv_env_/b end
   25026      t clear
   25027      :clear
   25028      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   25029      t end
   25030      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   25031      :end' >>confcache
   25032 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   25033   if test -w "$cache_file"; then
   25034     test "x$cache_file" != "x/dev/null" &&
   25035       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
   25036 $as_echo "$as_me: updating cache $cache_file" >&6;}
   25037     cat confcache >$cache_file
   25038   else
   25039     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
   25040 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   25041   fi
   25042 fi
   25043 rm -f confcache
   25044 
   25045 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   25046 # Let make expand exec_prefix.
   25047 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   25048 
   25049 DEFS=-DHAVE_CONFIG_H
   25050 
   25051 ac_libobjs=
   25052 ac_ltlibobjs=
   25053 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   25054   # 1. Remove the extension, and $U if already installed.
   25055   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   25056   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   25057   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   25058   #    will be set to the directory where LIBOBJS objects are built.
   25059   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   25060   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
   25061 done
   25062 LIBOBJS=$ac_libobjs
   25063 
   25064 LTLIBOBJS=$ac_ltlibobjs
   25065 
   25066 
   25067  if test -n "$EXEEXT"; then
   25068   am__EXEEXT_TRUE=
   25069   am__EXEEXT_FALSE='#'
   25070 else
   25071   am__EXEEXT_TRUE='#'
   25072   am__EXEEXT_FALSE=
   25073 fi
   25074 
   25075 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   25076   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   25077 Usually this means the macro was only invoked conditionally." >&5
   25078 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
   25079 Usually this means the macro was only invoked conditionally." >&2;}
   25080    { (exit 1); exit 1; }; }
   25081 fi
   25082 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   25083   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   25084 Usually this means the macro was only invoked conditionally." >&5
   25085 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   25086 Usually this means the macro was only invoked conditionally." >&2;}
   25087    { (exit 1); exit 1; }; }
   25088 fi
   25089 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   25090   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   25091 Usually this means the macro was only invoked conditionally." >&5
   25092 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   25093 Usually this means the macro was only invoked conditionally." >&2;}
   25094    { (exit 1); exit 1; }; }
   25095 fi
   25096 if test -z "${BUILD_DOCS_TRUE}" && test -z "${BUILD_DOCS_FALSE}"; then
   25097   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_DOCS\" was never defined.
   25098 Usually this means the macro was only invoked conditionally." >&5
   25099 $as_echo "$as_me: error: conditional \"BUILD_DOCS\" was never defined.
   25100 Usually this means the macro was only invoked conditionally." >&2;}
   25101    { (exit 1); exit 1; }; }
   25102 fi
   25103 if test -z "${PLATFORM_WIN32_TRUE}" && test -z "${PLATFORM_WIN32_FALSE}"; then
   25104   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_WIN32\" was never defined.
   25105 Usually this means the macro was only invoked conditionally." >&5
   25106 $as_echo "$as_me: error: conditional \"PLATFORM_WIN32\" was never defined.
   25107 Usually this means the macro was only invoked conditionally." >&2;}
   25108    { (exit 1); exit 1; }; }
   25109 fi
   25110 if test -z "${PLATFORM_DARWIN_TRUE}" && test -z "${PLATFORM_DARWIN_FALSE}"; then
   25111   { { $as_echo "$as_me:$LINENO: error: conditional \"PLATFORM_DARWIN\" was never defined.
   25112 Usually this means the macro was only invoked conditionally." >&5
   25113 $as_echo "$as_me: error: conditional \"PLATFORM_DARWIN\" was never defined.
   25114 Usually this means the macro was only invoked conditionally." >&2;}
   25115    { (exit 1); exit 1; }; }
   25116 fi
   25117 if test -z "${BUILD_XAW6_TRUE}" && test -z "${BUILD_XAW6_FALSE}"; then
   25118   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW6\" was never defined.
   25119 Usually this means the macro was only invoked conditionally." >&5
   25120 $as_echo "$as_me: error: conditional \"BUILD_XAW6\" was never defined.
   25121 Usually this means the macro was only invoked conditionally." >&2;}
   25122    { (exit 1); exit 1; }; }
   25123 fi
   25124 if test -z "${BUILD_XAW7_TRUE}" && test -z "${BUILD_XAW7_FALSE}"; then
   25125   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_XAW7\" was never defined.
   25126 Usually this means the macro was only invoked conditionally." >&5
   25127 $as_echo "$as_me: error: conditional \"BUILD_XAW7\" was never defined.
   25128 Usually this means the macro was only invoked conditionally." >&2;}
   25129    { (exit 1); exit 1; }; }
   25130 fi
   25131 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
   25132   { { $as_echo "$as_me:$LINENO: error: conditional \"am__EXEEXT\" was never defined.
   25133 Usually this means the macro was only invoked conditionally." >&5
   25134 $as_echo "$as_me: error: conditional \"am__EXEEXT\" was never defined.
   25135 Usually this means the macro was only invoked conditionally." >&2;}
   25136    { (exit 1); exit 1; }; }
   25137 fi
   25138 if test -z "${am__EXEEXT_TRUE}" && test -z "${am__EXEEXT_FALSE}"; then
   25139   { { $as_echo "$as_me:$LINENO: error: conditional \"am__EXEEXT\" was never defined.
   25140 Usually this means the macro was only invoked conditionally." >&5
   25141 $as_echo "$as_me: error: conditional \"am__EXEEXT\" was never defined.
   25142 Usually this means the macro was only invoked conditionally." >&2;}
   25143    { (exit 1); exit 1; }; }
   25144 fi
   25145 
   25146 : ${CONFIG_STATUS=./config.status}
   25147 ac_write_fail=0
   25148 ac_clean_files_save=$ac_clean_files
   25149 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   25150 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   25151 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   25152 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25153 #! $SHELL
   25154 # Generated by $as_me.
   25155 # Run this file to recreate the current configuration.
   25156 # Compiler output produced by configure, useful for debugging
   25157 # configure, is in config.log if it exists.
   25158 
   25159 debug=false
   25160 ac_cs_recheck=false
   25161 ac_cs_silent=false
   25162 SHELL=\${CONFIG_SHELL-$SHELL}
   25163 _ACEOF
   25164 
   25165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25166 ## --------------------- ##
   25167 ## M4sh Initialization.  ##
   25168 ## --------------------- ##
   25169 
   25170 # Be more Bourne compatible
   25171 DUALCASE=1; export DUALCASE # for MKS sh
   25172 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   25173   emulate sh
   25174   NULLCMD=:
   25175   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   25176   # is contrary to our usage.  Disable this feature.
   25177   alias -g '${1+"$@"}'='"$@"'
   25178   setopt NO_GLOB_SUBST
   25179 else
   25180   case `(set -o) 2>/dev/null` in
   25181   *posix*) set -o posix ;;
   25182 esac
   25183 
   25184 fi
   25185 
   25186 
   25187 
   25188 
   25189 # PATH needs CR
   25190 # Avoid depending upon Character Ranges.
   25191 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   25192 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   25193 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   25194 as_cr_digits='0123456789'
   25195 as_cr_alnum=$as_cr_Letters$as_cr_digits
   25196 
   25197 as_nl='
   25198 '
   25199 export as_nl
   25200 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   25201 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   25202 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   25203 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   25204 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   25205   as_echo='printf %s\n'
   25206   as_echo_n='printf %s'
   25207 else
   25208   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   25209     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   25210     as_echo_n='/usr/ucb/echo -n'
   25211   else
   25212     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   25213     as_echo_n_body='eval
   25214       arg=$1;
   25215       case $arg in
   25216       *"$as_nl"*)
   25217 	expr "X$arg" : "X\\(.*\\)$as_nl";
   25218 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   25219       esac;
   25220       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   25221     '
   25222     export as_echo_n_body
   25223     as_echo_n='sh -c $as_echo_n_body as_echo'
   25224   fi
   25225   export as_echo_body
   25226   as_echo='sh -c $as_echo_body as_echo'
   25227 fi
   25228 
   25229 # The user is always right.
   25230 if test "${PATH_SEPARATOR+set}" != set; then
   25231   PATH_SEPARATOR=:
   25232   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   25233     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   25234       PATH_SEPARATOR=';'
   25235   }
   25236 fi
   25237 
   25238 # Support unset when possible.
   25239 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   25240   as_unset=unset
   25241 else
   25242   as_unset=false
   25243 fi
   25244 
   25245 
   25246 # IFS
   25247 # We need space, tab and new line, in precisely that order.  Quoting is
   25248 # there to prevent editors from complaining about space-tab.
   25249 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   25250 # splitting by setting IFS to empty value.)
   25251 IFS=" ""	$as_nl"
   25252 
   25253 # Find who we are.  Look in the path if we contain no directory separator.
   25254 case $0 in
   25255   *[\\/]* ) as_myself=$0 ;;
   25256   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   25257 for as_dir in $PATH
   25258 do
   25259   IFS=$as_save_IFS
   25260   test -z "$as_dir" && as_dir=.
   25261   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   25262 done
   25263 IFS=$as_save_IFS
   25264 
   25265      ;;
   25266 esac
   25267 # We did not find ourselves, most probably we were run as `sh COMMAND'
   25268 # in which case we are not to be found in the path.
   25269 if test "x$as_myself" = x; then
   25270   as_myself=$0
   25271 fi
   25272 if test ! -f "$as_myself"; then
   25273   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   25274   { (exit 1); exit 1; }
   25275 fi
   25276 
   25277 # Work around bugs in pre-3.0 UWIN ksh.
   25278 for as_var in ENV MAIL MAILPATH
   25279 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   25280 done
   25281 PS1='$ '
   25282 PS2='> '
   25283 PS4='+ '
   25284 
   25285 # NLS nuisances.
   25286 LC_ALL=C
   25287 export LC_ALL
   25288 LANGUAGE=C
   25289 export LANGUAGE
   25290 
   25291 # Required to use basename.
   25292 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25293    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25294   as_expr=expr
   25295 else
   25296   as_expr=false
   25297 fi
   25298 
   25299 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   25300   as_basename=basename
   25301 else
   25302   as_basename=false
   25303 fi
   25304 
   25305 
   25306 # Name of the executable.
   25307 as_me=`$as_basename -- "$0" ||
   25308 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   25309 	 X"$0" : 'X\(//\)$' \| \
   25310 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   25311 $as_echo X/"$0" |
   25312     sed '/^.*\/\([^/][^/]*\)\/*$/{
   25313 	    s//\1/
   25314 	    q
   25315 	  }
   25316 	  /^X\/\(\/\/\)$/{
   25317 	    s//\1/
   25318 	    q
   25319 	  }
   25320 	  /^X\/\(\/\).*/{
   25321 	    s//\1/
   25322 	    q
   25323 	  }
   25324 	  s/.*/./; q'`
   25325 
   25326 # CDPATH.
   25327 $as_unset CDPATH
   25328 
   25329 
   25330 
   25331   as_lineno_1=$LINENO
   25332   as_lineno_2=$LINENO
   25333   test "x$as_lineno_1" != "x$as_lineno_2" &&
   25334   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   25335 
   25336   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   25337   # uniformly replaced by the line number.  The first 'sed' inserts a
   25338   # line-number line after each line using $LINENO; the second 'sed'
   25339   # does the real work.  The second script uses 'N' to pair each
   25340   # line-number line with the line containing $LINENO, and appends
   25341   # trailing '-' during substitution so that $LINENO is not a special
   25342   # case at line end.
   25343   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   25344   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   25345   # E. McMahon (1931-1989) for sed's syntax.  :-)
   25346   sed -n '
   25347     p
   25348     /[$]LINENO/=
   25349   ' <$as_myself |
   25350     sed '
   25351       s/[$]LINENO.*/&-/
   25352       t lineno
   25353       b
   25354       :lineno
   25355       N
   25356       :loop
   25357       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   25358       t loop
   25359       s/-\n.*//
   25360     ' >$as_me.lineno &&
   25361   chmod +x "$as_me.lineno" ||
   25362     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   25363    { (exit 1); exit 1; }; }
   25364 
   25365   # Don't try to exec as it changes $[0], causing all sort of problems
   25366   # (the dirname of $[0] is not the place where we might find the
   25367   # original and so on.  Autoconf is especially sensitive to this).
   25368   . "./$as_me.lineno"
   25369   # Exit status is that of the last command.
   25370   exit
   25371 }
   25372 
   25373 
   25374 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   25375   as_dirname=dirname
   25376 else
   25377   as_dirname=false
   25378 fi
   25379 
   25380 ECHO_C= ECHO_N= ECHO_T=
   25381 case `echo -n x` in
   25382 -n*)
   25383   case `echo 'x\c'` in
   25384   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   25385   *)   ECHO_C='\c';;
   25386   esac;;
   25387 *)
   25388   ECHO_N='-n';;
   25389 esac
   25390 if expr a : '\(a\)' >/dev/null 2>&1 &&
   25391    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   25392   as_expr=expr
   25393 else
   25394   as_expr=false
   25395 fi
   25396 
   25397 rm -f conf$$ conf$$.exe conf$$.file
   25398 if test -d conf$$.dir; then
   25399   rm -f conf$$.dir/conf$$.file
   25400 else
   25401   rm -f conf$$.dir
   25402   mkdir conf$$.dir 2>/dev/null
   25403 fi
   25404 if (echo >conf$$.file) 2>/dev/null; then
   25405   if ln -s conf$$.file conf$$ 2>/dev/null; then
   25406     as_ln_s='ln -s'
   25407     # ... but there are two gotchas:
   25408     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   25409     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   25410     # In both cases, we have to default to `cp -p'.
   25411     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   25412       as_ln_s='cp -p'
   25413   elif ln conf$$.file conf$$ 2>/dev/null; then
   25414     as_ln_s=ln
   25415   else
   25416     as_ln_s='cp -p'
   25417   fi
   25418 else
   25419   as_ln_s='cp -p'
   25420 fi
   25421 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   25422 rmdir conf$$.dir 2>/dev/null
   25423 
   25424 if mkdir -p . 2>/dev/null; then
   25425   as_mkdir_p=:
   25426 else
   25427   test -d ./-p && rmdir ./-p
   25428   as_mkdir_p=false
   25429 fi
   25430 
   25431 if test -x / >/dev/null 2>&1; then
   25432   as_test_x='test -x'
   25433 else
   25434   if ls -dL / >/dev/null 2>&1; then
   25435     as_ls_L_option=L
   25436   else
   25437     as_ls_L_option=
   25438   fi
   25439   as_test_x='
   25440     eval sh -c '\''
   25441       if test -d "$1"; then
   25442 	test -d "$1/.";
   25443       else
   25444 	case $1 in
   25445 	-*)set "./$1";;
   25446 	esac;
   25447 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   25448 	???[sx]*):;;*)false;;esac;fi
   25449     '\'' sh
   25450   '
   25451 fi
   25452 as_executable_p=$as_test_x
   25453 
   25454 # Sed expression to map a string onto a valid CPP name.
   25455 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   25456 
   25457 # Sed expression to map a string onto a valid variable name.
   25458 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   25459 
   25460 
   25461 exec 6>&1
   25462 
   25463 # Save the log message, to keep $[0] and so on meaningful, and to
   25464 # report actual input values of CONFIG_FILES etc. instead of their
   25465 # values after options handling.
   25466 ac_log="
   25467 This file was extended by libXaw $as_me 1.0.7, which was
   25468 generated by GNU Autoconf 2.63.  Invocation command line was
   25469 
   25470   CONFIG_FILES    = $CONFIG_FILES
   25471   CONFIG_HEADERS  = $CONFIG_HEADERS
   25472   CONFIG_LINKS    = $CONFIG_LINKS
   25473   CONFIG_COMMANDS = $CONFIG_COMMANDS
   25474   $ $0 $@
   25475 
   25476 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   25477 "
   25478 
   25479 _ACEOF
   25480 
   25481 case $ac_config_files in *"
   25482 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   25483 esac
   25484 
   25485 case $ac_config_headers in *"
   25486 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   25487 esac
   25488 
   25489 
   25490 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25491 # Files that config.status was made for.
   25492 config_files="$ac_config_files"
   25493 config_headers="$ac_config_headers"
   25494 config_commands="$ac_config_commands"
   25495 
   25496 _ACEOF
   25497 
   25498 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25499 ac_cs_usage="\
   25500 \`$as_me' instantiates files from templates according to the
   25501 current configuration.
   25502 
   25503 Usage: $0 [OPTION]... [FILE]...
   25504 
   25505   -h, --help       print this help, then exit
   25506   -V, --version    print version number and configuration settings, then exit
   25507   -q, --quiet, --silent
   25508                    do not print progress messages
   25509   -d, --debug      don't remove temporary files
   25510       --recheck    update $as_me by reconfiguring in the same conditions
   25511       --file=FILE[:TEMPLATE]
   25512                    instantiate the configuration file FILE
   25513       --header=FILE[:TEMPLATE]
   25514                    instantiate the configuration header FILE
   25515 
   25516 Configuration files:
   25517 $config_files
   25518 
   25519 Configuration headers:
   25520 $config_headers
   25521 
   25522 Configuration commands:
   25523 $config_commands
   25524 
   25525 Report bugs to <bug-autoconf (at] gnu.org>."
   25526 
   25527 _ACEOF
   25528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25529 ac_cs_version="\\
   25530 libXaw config.status 1.0.7
   25531 configured by $0, generated by GNU Autoconf 2.63,
   25532   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
   25533 
   25534 Copyright (C) 2008 Free Software Foundation, Inc.
   25535 This config.status script is free software; the Free Software Foundation
   25536 gives unlimited permission to copy, distribute and modify it."
   25537 
   25538 ac_pwd='$ac_pwd'
   25539 srcdir='$srcdir'
   25540 INSTALL='$INSTALL'
   25541 MKDIR_P='$MKDIR_P'
   25542 AWK='$AWK'
   25543 test -n "\$AWK" || AWK=awk
   25544 _ACEOF
   25545 
   25546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25547 # The default lists apply if the user does not specify any file.
   25548 ac_need_defaults=:
   25549 while test $# != 0
   25550 do
   25551   case $1 in
   25552   --*=*)
   25553     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   25554     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   25555     ac_shift=:
   25556     ;;
   25557   *)
   25558     ac_option=$1
   25559     ac_optarg=$2
   25560     ac_shift=shift
   25561     ;;
   25562   esac
   25563 
   25564   case $ac_option in
   25565   # Handling of the options.
   25566   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   25567     ac_cs_recheck=: ;;
   25568   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   25569     $as_echo "$ac_cs_version"; exit ;;
   25570   --debug | --debu | --deb | --de | --d | -d )
   25571     debug=: ;;
   25572   --file | --fil | --fi | --f )
   25573     $ac_shift
   25574     case $ac_optarg in
   25575     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25576     esac
   25577     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
   25578     ac_need_defaults=false;;
   25579   --header | --heade | --head | --hea )
   25580     $ac_shift
   25581     case $ac_optarg in
   25582     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   25583     esac
   25584     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
   25585     ac_need_defaults=false;;
   25586   --he | --h)
   25587     # Conflict between --help and --header
   25588     { $as_echo "$as_me: error: ambiguous option: $1
   25589 Try \`$0 --help' for more information." >&2
   25590    { (exit 1); exit 1; }; };;
   25591   --help | --hel | -h )
   25592     $as_echo "$ac_cs_usage"; exit ;;
   25593   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   25594   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   25595     ac_cs_silent=: ;;
   25596 
   25597   # This is an error.
   25598   -*) { $as_echo "$as_me: error: unrecognized option: $1
   25599 Try \`$0 --help' for more information." >&2
   25600    { (exit 1); exit 1; }; } ;;
   25601 
   25602   *) ac_config_targets="$ac_config_targets $1"
   25603      ac_need_defaults=false ;;
   25604 
   25605   esac
   25606   shift
   25607 done
   25608 
   25609 ac_configure_extra_args=
   25610 
   25611 if $ac_cs_silent; then
   25612   exec 6>/dev/null
   25613   ac_configure_extra_args="$ac_configure_extra_args --silent"
   25614 fi
   25615 
   25616 _ACEOF
   25617 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25618 if \$ac_cs_recheck; then
   25619   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   25620   shift
   25621   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   25622   CONFIG_SHELL='$SHELL'
   25623   export CONFIG_SHELL
   25624   exec "\$@"
   25625 fi
   25626 
   25627 _ACEOF
   25628 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25629 exec 5>>config.log
   25630 {
   25631   echo
   25632   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   25633 ## Running $as_me. ##
   25634 _ASBOX
   25635   $as_echo "$ac_log"
   25636 } >&5
   25637 
   25638 _ACEOF
   25639 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25640 #
   25641 # INIT-COMMANDS
   25642 #
   25643 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   25644 
   25645 _ACEOF
   25646 
   25647 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25648 
   25649 # Handling of arguments.
   25650 for ac_config_target in $ac_config_targets
   25651 do
   25652   case $ac_config_target in
   25653     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   25654     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   25655     "libtool_hack") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool_hack" ;;
   25656     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   25657     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   25658     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   25659     "spec/Makefile") CONFIG_FILES="$CONFIG_FILES spec/Makefile" ;;
   25660     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   25661     "xaw6.pc") CONFIG_FILES="$CONFIG_FILES xaw6.pc" ;;
   25662     "xaw7.pc") CONFIG_FILES="$CONFIG_FILES xaw7.pc" ;;
   25663 
   25664   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   25665 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   25666    { (exit 1); exit 1; }; };;
   25667   esac
   25668 done
   25669 
   25670 
   25671 # If the user did not use the arguments to specify the items to instantiate,
   25672 # then the envvar interface is used.  Set only those that are not.
   25673 # We use the long form for the default assignment because of an extremely
   25674 # bizarre bug on SunOS 4.1.3.
   25675 if $ac_need_defaults; then
   25676   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   25677   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   25678   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   25679 fi
   25680 
   25681 # Have a temporary directory for convenience.  Make it in the build tree
   25682 # simply because there is no reason against having it here, and in addition,
   25683 # creating and moving files from /tmp can sometimes cause problems.
   25684 # Hook for its removal unless debugging.
   25685 # Note that there is a small window in which the directory will not be cleaned:
   25686 # after its creation but before its name has been assigned to `$tmp'.
   25687 $debug ||
   25688 {
   25689   tmp=
   25690   trap 'exit_status=$?
   25691   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
   25692 ' 0
   25693   trap '{ (exit 1); exit 1; }' 1 2 13 15
   25694 }
   25695 # Create a (secure) tmp directory for tmp files.
   25696 
   25697 {
   25698   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   25699   test -n "$tmp" && test -d "$tmp"
   25700 }  ||
   25701 {
   25702   tmp=./conf$$-$RANDOM
   25703   (umask 077 && mkdir "$tmp")
   25704 } ||
   25705 {
   25706    $as_echo "$as_me: cannot create a temporary directory in ." >&2
   25707    { (exit 1); exit 1; }
   25708 }
   25709 
   25710 # Set up the scripts for CONFIG_FILES section.
   25711 # No need to generate them if there are no CONFIG_FILES.
   25712 # This happens for instance with `./config.status config.h'.
   25713 if test -n "$CONFIG_FILES"; then
   25714 
   25715 
   25716 ac_cr='
'
   25718 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   25719 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   25720   ac_cs_awk_cr='\\r'
   25721 else
   25722   ac_cs_awk_cr=$ac_cr
   25723 fi
   25724 
   25725 echo 'BEGIN {' >"$tmp/subs1.awk" &&
   25726 _ACEOF
   25727 
   25728 
   25729 {
   25730   echo "cat >conf$$subs.awk <<_ACEOF" &&
   25731   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   25732   echo "_ACEOF"
   25733 } >conf$$subs.sh ||
   25734   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25735 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25736    { (exit 1); exit 1; }; }
   25737 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
   25738 ac_delim='%!_!# '
   25739 for ac_last_try in false false false false false :; do
   25740   . ./conf$$subs.sh ||
   25741     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25742 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25743    { (exit 1); exit 1; }; }
   25744 
   25745   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   25746   if test $ac_delim_n = $ac_delim_num; then
   25747     break
   25748   elif $ac_last_try; then
   25749     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
   25750 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
   25751    { (exit 1); exit 1; }; }
   25752   else
   25753     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25754   fi
   25755 done
   25756 rm -f conf$$subs.sh
   25757 
   25758 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25759 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
   25760 _ACEOF
   25761 sed -n '
   25762 h
   25763 s/^/S["/; s/!.*/"]=/
   25764 p
   25765 g
   25766 s/^[^!]*!//
   25767 :repl
   25768 t repl
   25769 s/'"$ac_delim"'$//
   25770 t delim
   25771 :nl
   25772 h
   25773 s/\(.\{148\}\).*/\1/
   25774 t more1
   25775 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   25776 p
   25777 n
   25778 b repl
   25779 :more1
   25780 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25781 p
   25782 g
   25783 s/.\{148\}//
   25784 t nl
   25785 :delim
   25786 h
   25787 s/\(.\{148\}\).*/\1/
   25788 t more2
   25789 s/["\\]/\\&/g; s/^/"/; s/$/"/
   25790 p
   25791 b
   25792 :more2
   25793 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   25794 p
   25795 g
   25796 s/.\{148\}//
   25797 t delim
   25798 ' <conf$$subs.awk | sed '
   25799 /^[^""]/{
   25800   N
   25801   s/\n//
   25802 }
   25803 ' >>$CONFIG_STATUS || ac_write_fail=1
   25804 rm -f conf$$subs.awk
   25805 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25806 _ACAWK
   25807 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
   25808   for (key in S) S_is_set[key] = 1
   25809   FS = ""
   25810 
   25811 }
   25812 {
   25813   line = $ 0
   25814   nfields = split(line, field, "@")
   25815   substed = 0
   25816   len = length(field[1])
   25817   for (i = 2; i < nfields; i++) {
   25818     key = field[i]
   25819     keylen = length(key)
   25820     if (S_is_set[key]) {
   25821       value = S[key]
   25822       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   25823       len += length(value) + length(field[++i])
   25824       substed = 1
   25825     } else
   25826       len += 1 + keylen
   25827   }
   25828 
   25829   print line
   25830 }
   25831 
   25832 _ACAWK
   25833 _ACEOF
   25834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25835 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   25836   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   25837 else
   25838   cat
   25839 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
   25840   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
   25841 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
   25842    { (exit 1); exit 1; }; }
   25843 _ACEOF
   25844 
   25845 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   25846 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   25847 # trailing colons and then remove the whole line if VPATH becomes empty
   25848 # (actually we leave an empty line to preserve line numbers).
   25849 if test "x$srcdir" = x.; then
   25850   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   25851 s/:*\$(srcdir):*/:/
   25852 s/:*\${srcdir}:*/:/
   25853 s/:*@srcdir@:*/:/
   25854 s/^\([^=]*=[	 ]*\):*/\1/
   25855 s/:*$//
   25856 s/^[^=]*=[	 ]*$//
   25857 }'
   25858 fi
   25859 
   25860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25861 fi # test -n "$CONFIG_FILES"
   25862 
   25863 # Set up the scripts for CONFIG_HEADERS section.
   25864 # No need to generate them if there are no CONFIG_HEADERS.
   25865 # This happens for instance with `./config.status Makefile'.
   25866 if test -n "$CONFIG_HEADERS"; then
   25867 cat >"$tmp/defines.awk" <<\_ACAWK ||
   25868 BEGIN {
   25869 _ACEOF
   25870 
   25871 # Transform confdefs.h into an awk script `defines.awk', embedded as
   25872 # here-document in config.status, that substitutes the proper values into
   25873 # config.h.in to produce config.h.
   25874 
   25875 # Create a delimiter string that does not exist in confdefs.h, to ease
   25876 # handling of long lines.
   25877 ac_delim='%!_!# '
   25878 for ac_last_try in false false :; do
   25879   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
   25880   if test -z "$ac_t"; then
   25881     break
   25882   elif $ac_last_try; then
   25883     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
   25884 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
   25885    { (exit 1); exit 1; }; }
   25886   else
   25887     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   25888   fi
   25889 done
   25890 
   25891 # For the awk script, D is an array of macro values keyed by name,
   25892 # likewise P contains macro parameters if any.  Preserve backslash
   25893 # newline sequences.
   25894 
   25895 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   25896 sed -n '
   25897 s/.\{148\}/&'"$ac_delim"'/g
   25898 t rset
   25899 :rset
   25900 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   25901 t def
   25902 d
   25903 :def
   25904 s/\\$//
   25905 t bsnl
   25906 s/["\\]/\\&/g
   25907 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25908 D["\1"]=" \3"/p
   25909 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   25910 d
   25911 :bsnl
   25912 s/["\\]/\\&/g
   25913 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   25914 D["\1"]=" \3\\\\\\n"\\/p
   25915 t cont
   25916 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   25917 t cont
   25918 d
   25919 :cont
   25920 n
   25921 s/.\{148\}/&'"$ac_delim"'/g
   25922 t clear
   25923 :clear
   25924 s/\\$//
   25925 t bsnlc
   25926 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   25927 d
   25928 :bsnlc
   25929 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   25930 b cont
   25931 ' <confdefs.h | sed '
   25932 s/'"$ac_delim"'/"\\\
   25933 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   25934 
   25935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   25936   for (key in D) D_is_set[key] = 1
   25937   FS = ""
   25938 }
   25939 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   25940   line = \$ 0
   25941   split(line, arg, " ")
   25942   if (arg[1] == "#") {
   25943     defundef = arg[2]
   25944     mac1 = arg[3]
   25945   } else {
   25946     defundef = substr(arg[1], 2)
   25947     mac1 = arg[2]
   25948   }
   25949   split(mac1, mac2, "(") #)
   25950   macro = mac2[1]
   25951   prefix = substr(line, 1, index(line, defundef) - 1)
   25952   if (D_is_set[macro]) {
   25953     # Preserve the white space surrounding the "#".
   25954     print prefix "define", macro P[macro] D[macro]
   25955     next
   25956   } else {
   25957     # Replace #undef with comments.  This is necessary, for example,
   25958     # in the case of _POSIX_SOURCE, which is predefined and required
   25959     # on some systems where configure will not decide to define it.
   25960     if (defundef == "undef") {
   25961       print "/*", prefix defundef, macro, "*/"
   25962       next
   25963     }
   25964   }
   25965 }
   25966 { print }
   25967 _ACAWK
   25968 _ACEOF
   25969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   25970   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
   25971 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
   25972    { (exit 1); exit 1; }; }
   25973 fi # test -n "$CONFIG_HEADERS"
   25974 
   25975 
   25976 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   25977 shift
   25978 for ac_tag
   25979 do
   25980   case $ac_tag in
   25981   :[FHLC]) ac_mode=$ac_tag; continue;;
   25982   esac
   25983   case $ac_mode$ac_tag in
   25984   :[FHL]*:*);;
   25985   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
   25986 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
   25987    { (exit 1); exit 1; }; };;
   25988   :[FH]-) ac_tag=-:-;;
   25989   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   25990   esac
   25991   ac_save_IFS=$IFS
   25992   IFS=:
   25993   set x $ac_tag
   25994   IFS=$ac_save_IFS
   25995   shift
   25996   ac_file=$1
   25997   shift
   25998 
   25999   case $ac_mode in
   26000   :L) ac_source=$1;;
   26001   :[FH])
   26002     ac_file_inputs=
   26003     for ac_f
   26004     do
   26005       case $ac_f in
   26006       -) ac_f="$tmp/stdin";;
   26007       *) # Look for the file first in the build tree, then in the source tree
   26008 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   26009 	 # because $ac_f cannot contain `:'.
   26010 	 test -f "$ac_f" ||
   26011 	   case $ac_f in
   26012 	   [\\/$]*) false;;
   26013 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   26014 	   esac ||
   26015 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
   26016 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
   26017    { (exit 1); exit 1; }; };;
   26018       esac
   26019       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   26020       ac_file_inputs="$ac_file_inputs '$ac_f'"
   26021     done
   26022 
   26023     # Let's still pretend it is `configure' which instantiates (i.e., don't
   26024     # use $as_me), people would be surprised to read:
   26025     #    /* config.h.  Generated by config.status.  */
   26026     configure_input='Generated from '`
   26027 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   26028 	`' by configure.'
   26029     if test x"$ac_file" != x-; then
   26030       configure_input="$ac_file.  $configure_input"
   26031       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
   26032 $as_echo "$as_me: creating $ac_file" >&6;}
   26033     fi
   26034     # Neutralize special characters interpreted by sed in replacement strings.
   26035     case $configure_input in #(
   26036     *\&* | *\|* | *\\* )
   26037        ac_sed_conf_input=`$as_echo "$configure_input" |
   26038        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   26039     *) ac_sed_conf_input=$configure_input;;
   26040     esac
   26041 
   26042     case $ac_tag in
   26043     *:-:* | *:-) cat >"$tmp/stdin" \
   26044       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   26045 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   26046    { (exit 1); exit 1; }; } ;;
   26047     esac
   26048     ;;
   26049   esac
   26050 
   26051   ac_dir=`$as_dirname -- "$ac_file" ||
   26052 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26053 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   26054 	 X"$ac_file" : 'X\(//\)$' \| \
   26055 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   26056 $as_echo X"$ac_file" |
   26057     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26058 	    s//\1/
   26059 	    q
   26060 	  }
   26061 	  /^X\(\/\/\)[^/].*/{
   26062 	    s//\1/
   26063 	    q
   26064 	  }
   26065 	  /^X\(\/\/\)$/{
   26066 	    s//\1/
   26067 	    q
   26068 	  }
   26069 	  /^X\(\/\).*/{
   26070 	    s//\1/
   26071 	    q
   26072 	  }
   26073 	  s/.*/./; q'`
   26074   { as_dir="$ac_dir"
   26075   case $as_dir in #(
   26076   -*) as_dir=./$as_dir;;
   26077   esac
   26078   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   26079     as_dirs=
   26080     while :; do
   26081       case $as_dir in #(
   26082       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   26083       *) as_qdir=$as_dir;;
   26084       esac
   26085       as_dirs="'$as_qdir' $as_dirs"
   26086       as_dir=`$as_dirname -- "$as_dir" ||
   26087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26088 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   26089 	 X"$as_dir" : 'X\(//\)$' \| \
   26090 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   26091 $as_echo X"$as_dir" |
   26092     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26093 	    s//\1/
   26094 	    q
   26095 	  }
   26096 	  /^X\(\/\/\)[^/].*/{
   26097 	    s//\1/
   26098 	    q
   26099 	  }
   26100 	  /^X\(\/\/\)$/{
   26101 	    s//\1/
   26102 	    q
   26103 	  }
   26104 	  /^X\(\/\).*/{
   26105 	    s//\1/
   26106 	    q
   26107 	  }
   26108 	  s/.*/./; q'`
   26109       test -d "$as_dir" && break
   26110     done
   26111     test -z "$as_dirs" || eval "mkdir $as_dirs"
   26112   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   26113 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   26114    { (exit 1); exit 1; }; }; }
   26115   ac_builddir=.
   26116 
   26117 case "$ac_dir" in
   26118 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26119 *)
   26120   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   26121   # A ".." for each directory in $ac_dir_suffix.
   26122   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   26123   case $ac_top_builddir_sub in
   26124   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   26125   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   26126   esac ;;
   26127 esac
   26128 ac_abs_top_builddir=$ac_pwd
   26129 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   26130 # for backward compatibility:
   26131 ac_top_builddir=$ac_top_build_prefix
   26132 
   26133 case $srcdir in
   26134   .)  # We are building in place.
   26135     ac_srcdir=.
   26136     ac_top_srcdir=$ac_top_builddir_sub
   26137     ac_abs_top_srcdir=$ac_pwd ;;
   26138   [\\/]* | ?:[\\/]* )  # Absolute name.
   26139     ac_srcdir=$srcdir$ac_dir_suffix;
   26140     ac_top_srcdir=$srcdir
   26141     ac_abs_top_srcdir=$srcdir ;;
   26142   *) # Relative name.
   26143     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   26144     ac_top_srcdir=$ac_top_build_prefix$srcdir
   26145     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   26146 esac
   26147 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   26148 
   26149 
   26150   case $ac_mode in
   26151   :F)
   26152   #
   26153   # CONFIG_FILE
   26154   #
   26155 
   26156   case $INSTALL in
   26157   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   26158   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   26159   esac
   26160   ac_MKDIR_P=$MKDIR_P
   26161   case $MKDIR_P in
   26162   [\\/$]* | ?:[\\/]* ) ;;
   26163   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   26164   esac
   26165 _ACEOF
   26166 
   26167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26168 # If the template does not know about datarootdir, expand it.
   26169 # FIXME: This hack should be removed a few years after 2.60.
   26170 ac_datarootdir_hack=; ac_datarootdir_seen=
   26171 
   26172 ac_sed_dataroot='
   26173 /datarootdir/ {
   26174   p
   26175   q
   26176 }
   26177 /@datadir@/p
   26178 /@docdir@/p
   26179 /@infodir@/p
   26180 /@localedir@/p
   26181 /@mandir@/p
   26182 '
   26183 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   26184 *datarootdir*) ac_datarootdir_seen=yes;;
   26185 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   26186   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   26187 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   26188 _ACEOF
   26189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26190   ac_datarootdir_hack='
   26191   s&@datadir@&$datadir&g
   26192   s&@docdir@&$docdir&g
   26193   s&@infodir@&$infodir&g
   26194   s&@localedir@&$localedir&g
   26195   s&@mandir@&$mandir&g
   26196     s&\\\${datarootdir}&$datarootdir&g' ;;
   26197 esac
   26198 _ACEOF
   26199 
   26200 # Neutralize VPATH when `$srcdir' = `.'.
   26201 # Shell code in configure.ac might set extrasub.
   26202 # FIXME: do we really want to maintain this feature?
   26203 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   26204 ac_sed_extra="$ac_vpsub
   26205 $extrasub
   26206 _ACEOF
   26207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   26208 :t
   26209 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   26210 s|@configure_input@|$ac_sed_conf_input|;t t
   26211 s&@top_builddir@&$ac_top_builddir_sub&;t t
   26212 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   26213 s&@srcdir@&$ac_srcdir&;t t
   26214 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   26215 s&@top_srcdir@&$ac_top_srcdir&;t t
   26216 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   26217 s&@builddir@&$ac_builddir&;t t
   26218 s&@abs_builddir@&$ac_abs_builddir&;t t
   26219 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   26220 s&@INSTALL@&$ac_INSTALL&;t t
   26221 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   26222 $ac_datarootdir_hack
   26223 "
   26224 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
   26225   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   26226 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   26227    { (exit 1); exit 1; }; }
   26228 
   26229 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   26230   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
   26231   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
   26232   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26233 which seems to be undefined.  Please make sure it is defined." >&5
   26234 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   26235 which seems to be undefined.  Please make sure it is defined." >&2;}
   26236 
   26237   rm -f "$tmp/stdin"
   26238   case $ac_file in
   26239   -) cat "$tmp/out" && rm -f "$tmp/out";;
   26240   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
   26241   esac \
   26242   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   26243 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   26244    { (exit 1); exit 1; }; }
   26245  ;;
   26246   :H)
   26247   #
   26248   # CONFIG_HEADER
   26249   #
   26250   if test x"$ac_file" != x-; then
   26251     {
   26252       $as_echo "/* $configure_input  */" \
   26253       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
   26254     } >"$tmp/config.h" \
   26255       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   26256 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   26257    { (exit 1); exit 1; }; }
   26258     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
   26259       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   26260 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   26261     else
   26262       rm -f "$ac_file"
   26263       mv "$tmp/config.h" "$ac_file" \
   26264 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
   26265 $as_echo "$as_me: error: could not create $ac_file" >&2;}
   26266    { (exit 1); exit 1; }; }
   26267     fi
   26268   else
   26269     $as_echo "/* $configure_input  */" \
   26270       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
   26271       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
   26272 $as_echo "$as_me: error: could not create -" >&2;}
   26273    { (exit 1); exit 1; }; }
   26274   fi
   26275 # Compute "$ac_file"'s index in $config_headers.
   26276 _am_arg="$ac_file"
   26277 _am_stamp_count=1
   26278 for _am_header in $config_headers :; do
   26279   case $_am_header in
   26280     $_am_arg | $_am_arg:* )
   26281       break ;;
   26282     * )
   26283       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   26284   esac
   26285 done
   26286 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   26287 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26288 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   26289 	 X"$_am_arg" : 'X\(//\)$' \| \
   26290 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   26291 $as_echo X"$_am_arg" |
   26292     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26293 	    s//\1/
   26294 	    q
   26295 	  }
   26296 	  /^X\(\/\/\)[^/].*/{
   26297 	    s//\1/
   26298 	    q
   26299 	  }
   26300 	  /^X\(\/\/\)$/{
   26301 	    s//\1/
   26302 	    q
   26303 	  }
   26304 	  /^X\(\/\).*/{
   26305 	    s//\1/
   26306 	    q
   26307 	  }
   26308 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   26309  ;;
   26310 
   26311   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
   26312 $as_echo "$as_me: executing $ac_file commands" >&6;}
   26313  ;;
   26314   esac
   26315 
   26316 
   26317   case $ac_file$ac_mode in
   26318     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   26319   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   26320   # are listed without --file.  Let's play safe and only enable the eval
   26321   # if we detect the quoting.
   26322   case $CONFIG_FILES in
   26323   *\'*) eval set x "$CONFIG_FILES" ;;
   26324   *)   set x $CONFIG_FILES ;;
   26325   esac
   26326   shift
   26327   for mf
   26328   do
   26329     # Strip MF so we end up with the name of the file.
   26330     mf=`echo "$mf" | sed -e 's/:.*$//'`
   26331     # Check whether this is an Automake generated Makefile or not.
   26332     # We used to match only the files named `Makefile.in', but
   26333     # some people rename them; so instead we look at the file content.
   26334     # Grep'ing the first line is not enough: some people post-process
   26335     # each Makefile.in and add a new line on top of each file to say so.
   26336     # Grep'ing the whole file is not good either: AIX grep has a line
   26337     # limit of 2048, but all sed's we know have understand at least 4000.
   26338     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   26339       dirpart=`$as_dirname -- "$mf" ||
   26340 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26341 	 X"$mf" : 'X\(//\)[^/]' \| \
   26342 	 X"$mf" : 'X\(//\)$' \| \
   26343 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   26344 $as_echo X"$mf" |
   26345     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26346 	    s//\1/
   26347 	    q
   26348 	  }
   26349 	  /^X\(\/\/\)[^/].*/{
   26350 	    s//\1/
   26351 	    q
   26352 	  }
   26353 	  /^X\(\/\/\)$/{
   26354 	    s//\1/
   26355 	    q
   26356 	  }
   26357 	  /^X\(\/\).*/{
   26358 	    s//\1/
   26359 	    q
   26360 	  }
   26361 	  s/.*/./; q'`
   26362     else
   26363       continue
   26364     fi
   26365     # Extract the definition of DEPDIR, am__include, and am__quote
   26366     # from the Makefile without running `make'.
   26367     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   26368     test -z "$DEPDIR" && continue
   26369     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   26370     test -z "am__include" && continue
   26371     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   26372     # When using ansi2knr, U may be empty or an underscore; expand it
   26373     U=`sed -n 's/^U = //p' < "$mf"`
   26374     # Find all dependency output files, they are included files with
   26375     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   26376     # simplest approach to changing $(DEPDIR) to its actual value in the
   26377     # expansion.
   26378     for file in `sed -n "
   26379       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   26380 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   26381       # Make sure the directory exists.
   26382       test -f "$dirpart/$file" && continue
   26383       fdir=`$as_dirname -- "$file" ||
   26384 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26385 	 X"$file" : 'X\(//\)[^/]' \| \
   26386 	 X"$file" : 'X\(//\)$' \| \
   26387 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   26388 $as_echo X"$file" |
   26389     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26390 	    s//\1/
   26391 	    q
   26392 	  }
   26393 	  /^X\(\/\/\)[^/].*/{
   26394 	    s//\1/
   26395 	    q
   26396 	  }
   26397 	  /^X\(\/\/\)$/{
   26398 	    s//\1/
   26399 	    q
   26400 	  }
   26401 	  /^X\(\/\).*/{
   26402 	    s//\1/
   26403 	    q
   26404 	  }
   26405 	  s/.*/./; q'`
   26406       { as_dir=$dirpart/$fdir
   26407   case $as_dir in #(
   26408   -*) as_dir=./$as_dir;;
   26409   esac
   26410   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
   26411     as_dirs=
   26412     while :; do
   26413       case $as_dir in #(
   26414       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   26415       *) as_qdir=$as_dir;;
   26416       esac
   26417       as_dirs="'$as_qdir' $as_dirs"
   26418       as_dir=`$as_dirname -- "$as_dir" ||
   26419 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   26420 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   26421 	 X"$as_dir" : 'X\(//\)$' \| \
   26422 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   26423 $as_echo X"$as_dir" |
   26424     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   26425 	    s//\1/
   26426 	    q
   26427 	  }
   26428 	  /^X\(\/\/\)[^/].*/{
   26429 	    s//\1/
   26430 	    q
   26431 	  }
   26432 	  /^X\(\/\/\)$/{
   26433 	    s//\1/
   26434 	    q
   26435 	  }
   26436 	  /^X\(\/\).*/{
   26437 	    s//\1/
   26438 	    q
   26439 	  }
   26440 	  s/.*/./; q'`
   26441       test -d "$as_dir" && break
   26442     done
   26443     test -z "$as_dirs" || eval "mkdir $as_dirs"
   26444   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
   26445 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
   26446    { (exit 1); exit 1; }; }; }
   26447       # echo "creating $dirpart/$file"
   26448       echo '# dummy' > "$dirpart/$file"
   26449     done
   26450   done
   26451 }
   26452  ;;
   26453     "libtool_hack":C)
   26454 	cp -f libtool libtool_
   26455 	test -z "$SED" && SED=sed
   26456 	$SED '1,/^soname_spec/{
   26457 /^soname_spec/i\
   26458 # X.Org hack to match monolithic Xaw SONAME\
   26459 xorglibxawname="libXaw"
   26460 /^soname_spec/s/libname/xorglibxawname/
   26461 }' libtool_ > libtool
   26462 	rm -f libtool_
   26463  ;;
   26464 
   26465   esac
   26466 done # for ac_tag
   26467 
   26468 
   26469 { (exit 0); exit 0; }
   26470 _ACEOF
   26471 chmod +x $CONFIG_STATUS
   26472 ac_clean_files=$ac_clean_files_save
   26473 
   26474 test $ac_write_fail = 0 ||
   26475   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
   26476 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
   26477    { (exit 1); exit 1; }; }
   26478 
   26479 
   26480 # configure is writing to config.log, and then calls config.status.
   26481 # config.status does its own redirection, appending to config.log.
   26482 # Unfortunately, on DOS this fails, as config.log is still kept open
   26483 # by configure, so config.status won't be able to write to it; its
   26484 # output is simply discarded.  So we exec the FD to /dev/null,
   26485 # effectively closing config.log, so it can be properly (re)opened and
   26486 # appended to by config.status.  When coming back to configure, we
   26487 # need to make the FD available again.
   26488 if test "$no_create" != yes; then
   26489   ac_cs_success=:
   26490   ac_config_status_args=
   26491   test "$silent" = yes &&
   26492     ac_config_status_args="$ac_config_status_args --quiet"
   26493   exec 5>/dev/null
   26494   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   26495   exec 5>>config.log
   26496   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   26497   # would make configure fail if this is the last instruction.
   26498   $ac_cs_success || { (exit 1); exit 1; }
   26499 fi
   26500 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   26501   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   26502 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   26503 fi
   26504 
   26505 fi
   26506