tools/pcre/configure
author Nicholas Hastings <skamonkey@gmail.com>
Sun Jul 15 12:31:06 2012 -0400 (2012-07-15)
changeset 3579 6d730190a3e4
parent 2762 d2d467bf1b5a
child 3831 babd0eee3c5e
permissions -rwxr-xr-x
Added missing files to each core and logic makefiles (NPOTB).
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.63 for PCRE 7.9.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    12 
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    26 
    27 fi
    28 
    29 
    30 
    31 
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    39 
    40 as_nl='
    41 '
    42 export as_nl
    43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    71 
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    80 
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    87 
    88 
    89 # IFS
    90 # We need space, tab and new line, in precisely that order.  Quoting is
    91 # there to prevent editors from complaining about space-tab.
    92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    93 # splitting by setting IFS to empty value.)
    94 IFS=" ""	$as_nl"
    95 
    96 # Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
    98   *[\\/]* ) as_myself=$0 ;;
    99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   100 for as_dir in $PATH
   101 do
   102   IFS=$as_save_IFS
   103   test -z "$as_dir" && as_dir=.
   104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   105 done
   106 IFS=$as_save_IFS
   107 
   108      ;;
   109 esac
   110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   111 # in which case we are not to be found in the path.
   112 if test "x$as_myself" = x; then
   113   as_myself=$0
   114 fi
   115 if test ! -f "$as_myself"; then
   116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   117   { (exit 1); exit 1; }
   118 fi
   119 
   120 # Work around bugs in pre-3.0 UWIN ksh.
   121 for as_var in ENV MAIL MAILPATH
   122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   123 done
   124 PS1='$ '
   125 PS2='> '
   126 PS4='+ '
   127 
   128 # NLS nuisances.
   129 LC_ALL=C
   130 export LC_ALL
   131 LANGUAGE=C
   132 export LANGUAGE
   133 
   134 # Required to use basename.
   135 if expr a : '\(a\)' >/dev/null 2>&1 &&
   136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   137   as_expr=expr
   138 else
   139   as_expr=false
   140 fi
   141 
   142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   143   as_basename=basename
   144 else
   145   as_basename=false
   146 fi
   147 
   148 
   149 # Name of the executable.
   150 as_me=`$as_basename -- "$0" ||
   151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   152 	 X"$0" : 'X\(//\)$' \| \
   153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   154 $as_echo X/"$0" |
   155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   156 	    s//\1/
   157 	    q
   158 	  }
   159 	  /^X\/\(\/\/\)$/{
   160 	    s//\1/
   161 	    q
   162 	  }
   163 	  /^X\/\(\/\).*/{
   164 	    s//\1/
   165 	    q
   166 	  }
   167 	  s/.*/./; q'`
   168 
   169 # CDPATH.
   170 $as_unset CDPATH
   171 
   172 
   173 if test "x$CONFIG_SHELL" = x; then
   174   if (eval ":") 2>/dev/null; then
   175   as_have_required=yes
   176 else
   177   as_have_required=no
   178 fi
   179 
   180   if test $as_have_required = yes &&	 (eval ":
   181 (as_func_return () {
   182   (exit \$1)
   183 }
   184 as_func_success () {
   185   as_func_return 0
   186 }
   187 as_func_failure () {
   188   as_func_return 1
   189 }
   190 as_func_ret_success () {
   191   return 0
   192 }
   193 as_func_ret_failure () {
   194   return 1
   195 }
   196 
   197 exitcode=0
   198 if as_func_success; then
   199   :
   200 else
   201   exitcode=1
   202   echo as_func_success failed.
   203 fi
   204 
   205 if as_func_failure; then
   206   exitcode=1
   207   echo as_func_failure succeeded.
   208 fi
   209 
   210 if as_func_ret_success; then
   211   :
   212 else
   213   exitcode=1
   214   echo as_func_ret_success failed.
   215 fi
   216 
   217 if as_func_ret_failure; then
   218   exitcode=1
   219   echo as_func_ret_failure succeeded.
   220 fi
   221 
   222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   223   :
   224 else
   225   exitcode=1
   226   echo positional parameters were not saved.
   227 fi
   228 
   229 test \$exitcode = 0) || { (exit 1); exit 1; }
   230 
   231 (
   232   as_lineno_1=\$LINENO
   233   as_lineno_2=\$LINENO
   234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   236 ") 2> /dev/null; then
   237   :
   238 else
   239   as_candidate_shells=
   240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   242 do
   243   IFS=$as_save_IFS
   244   test -z "$as_dir" && as_dir=.
   245   case $as_dir in
   246 	 /*)
   247 	   for as_base in sh bash ksh sh5; do
   248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   249 	   done;;
   250        esac
   251 done
   252 IFS=$as_save_IFS
   253 
   254 
   255       for as_shell in $as_candidate_shells $SHELL; do
   256 	 # Try only shells that exist, to save several forks.
   257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   260   emulate sh
   261   NULLCMD=:
   262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   263   # is contrary to our usage.  Disable this feature.
   264   alias -g '${1+"$@"}'='"$@"'
   265   setopt NO_GLOB_SUBST
   266 else
   267   case `(set -o) 2>/dev/null` in
   268   *posix*) set -o posix ;;
   269 esac
   270 
   271 fi
   272 
   273 
   274 :
   275 _ASEOF
   276 }; then
   277   CONFIG_SHELL=$as_shell
   278 	       as_have_required=yes
   279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   281   emulate sh
   282   NULLCMD=:
   283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   284   # is contrary to our usage.  Disable this feature.
   285   alias -g '${1+"$@"}'='"$@"'
   286   setopt NO_GLOB_SUBST
   287 else
   288   case `(set -o) 2>/dev/null` in
   289   *posix*) set -o posix ;;
   290 esac
   291 
   292 fi
   293 
   294 
   295 :
   296 (as_func_return () {
   297   (exit $1)
   298 }
   299 as_func_success () {
   300   as_func_return 0
   301 }
   302 as_func_failure () {
   303   as_func_return 1
   304 }
   305 as_func_ret_success () {
   306   return 0
   307 }
   308 as_func_ret_failure () {
   309   return 1
   310 }
   311 
   312 exitcode=0
   313 if as_func_success; then
   314   :
   315 else
   316   exitcode=1
   317   echo as_func_success failed.
   318 fi
   319 
   320 if as_func_failure; then
   321   exitcode=1
   322   echo as_func_failure succeeded.
   323 fi
   324 
   325 if as_func_ret_success; then
   326   :
   327 else
   328   exitcode=1
   329   echo as_func_ret_success failed.
   330 fi
   331 
   332 if as_func_ret_failure; then
   333   exitcode=1
   334   echo as_func_ret_failure succeeded.
   335 fi
   336 
   337 if ( set x; as_func_ret_success y && test x = "$1" ); then
   338   :
   339 else
   340   exitcode=1
   341   echo positional parameters were not saved.
   342 fi
   343 
   344 test $exitcode = 0) || { (exit 1); exit 1; }
   345 
   346 (
   347   as_lineno_1=$LINENO
   348   as_lineno_2=$LINENO
   349   test "x$as_lineno_1" != "x$as_lineno_2" &&
   350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   351 
   352 _ASEOF
   353 }; then
   354   break
   355 fi
   356 
   357 fi
   358 
   359       done
   360 
   361       if test "x$CONFIG_SHELL" != x; then
   362   for as_var in BASH_ENV ENV
   363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   364 	done
   365 	export CONFIG_SHELL
   366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   367 fi
   368 
   369 
   370     if test $as_have_required = no; then
   371   echo This script requires a shell more modern than all the
   372       echo shells that I found on your system.  Please install a
   373       echo modern shell, or manually run the script under such a
   374       echo shell if you do have one.
   375       { (exit 1); exit 1; }
   376 fi
   377 
   378 
   379 fi
   380 
   381 fi
   382 
   383 
   384 
   385 (eval "as_func_return () {
   386   (exit \$1)
   387 }
   388 as_func_success () {
   389   as_func_return 0
   390 }
   391 as_func_failure () {
   392   as_func_return 1
   393 }
   394 as_func_ret_success () {
   395   return 0
   396 }
   397 as_func_ret_failure () {
   398   return 1
   399 }
   400 
   401 exitcode=0
   402 if as_func_success; then
   403   :
   404 else
   405   exitcode=1
   406   echo as_func_success failed.
   407 fi
   408 
   409 if as_func_failure; then
   410   exitcode=1
   411   echo as_func_failure succeeded.
   412 fi
   413 
   414 if as_func_ret_success; then
   415   :
   416 else
   417   exitcode=1
   418   echo as_func_ret_success failed.
   419 fi
   420 
   421 if as_func_ret_failure; then
   422   exitcode=1
   423   echo as_func_ret_failure succeeded.
   424 fi
   425 
   426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   427   :
   428 else
   429   exitcode=1
   430   echo positional parameters were not saved.
   431 fi
   432 
   433 test \$exitcode = 0") || {
   434   echo No shell found that supports shell functions.
   435   echo Please tell [email protected] about your system,
   436   echo including any error possibly output before this message.
   437   echo This can help us improve future autoconf versions.
   438   echo Configuration will now proceed without shell functions.
   439 }
   440 
   441 
   442 
   443   as_lineno_1=$LINENO
   444   as_lineno_2=$LINENO
   445   test "x$as_lineno_1" != "x$as_lineno_2" &&
   446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   447 
   448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   449   # uniformly replaced by the line number.  The first 'sed' inserts a
   450   # line-number line after each line using $LINENO; the second 'sed'
   451   # does the real work.  The second script uses 'N' to pair each
   452   # line-number line with the line containing $LINENO, and appends
   453   # trailing '-' during substitution so that $LINENO is not a special
   454   # case at line end.
   455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   457   # E. McMahon (1931-1989) for sed's syntax.  :-)
   458   sed -n '
   459     p
   460     /[$]LINENO/=
   461   ' <$as_myself |
   462     sed '
   463       s/[$]LINENO.*/&-/
   464       t lineno
   465       b
   466       :lineno
   467       N
   468       :loop
   469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   470       t loop
   471       s/-\n.*//
   472     ' >$as_me.lineno &&
   473   chmod +x "$as_me.lineno" ||
   474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   475    { (exit 1); exit 1; }; }
   476 
   477   # Don't try to exec as it changes $[0], causing all sort of problems
   478   # (the dirname of $[0] is not the place where we might find the
   479   # original and so on.  Autoconf is especially sensitive to this).
   480   . "./$as_me.lineno"
   481   # Exit status is that of the last command.
   482   exit
   483 }
   484 
   485 
   486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   487   as_dirname=dirname
   488 else
   489   as_dirname=false
   490 fi
   491 
   492 ECHO_C= ECHO_N= ECHO_T=
   493 case `echo -n x` in
   494 -n*)
   495   case `echo 'x\c'` in
   496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   497   *)   ECHO_C='\c';;
   498   esac;;
   499 *)
   500   ECHO_N='-n';;
   501 esac
   502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   504   as_expr=expr
   505 else
   506   as_expr=false
   507 fi
   508 
   509 rm -f conf$$ conf$$.exe conf$$.file
   510 if test -d conf$$.dir; then
   511   rm -f conf$$.dir/conf$$.file
   512 else
   513   rm -f conf$$.dir
   514   mkdir conf$$.dir 2>/dev/null
   515 fi
   516 if (echo >conf$$.file) 2>/dev/null; then
   517   if ln -s conf$$.file conf$$ 2>/dev/null; then
   518     as_ln_s='ln -s'
   519     # ... but there are two gotchas:
   520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   522     # In both cases, we have to default to `cp -p'.
   523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   524       as_ln_s='cp -p'
   525   elif ln conf$$.file conf$$ 2>/dev/null; then
   526     as_ln_s=ln
   527   else
   528     as_ln_s='cp -p'
   529   fi
   530 else
   531   as_ln_s='cp -p'
   532 fi
   533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   534 rmdir conf$$.dir 2>/dev/null
   535 
   536 if mkdir -p . 2>/dev/null; then
   537   as_mkdir_p=:
   538 else
   539   test -d ./-p && rmdir ./-p
   540   as_mkdir_p=false
   541 fi
   542 
   543 if test -x / >/dev/null 2>&1; then
   544   as_test_x='test -x'
   545 else
   546   if ls -dL / >/dev/null 2>&1; then
   547     as_ls_L_option=L
   548   else
   549     as_ls_L_option=
   550   fi
   551   as_test_x='
   552     eval sh -c '\''
   553       if test -d "$1"; then
   554 	test -d "$1/.";
   555       else
   556 	case $1 in
   557 	-*)set "./$1";;
   558 	esac;
   559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   560 	???[sx]*):;;*)false;;esac;fi
   561     '\'' sh
   562   '
   563 fi
   564 as_executable_p=$as_test_x
   565 
   566 # Sed expression to map a string onto a valid CPP name.
   567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   568 
   569 # Sed expression to map a string onto a valid variable name.
   570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   571 
   572 
   573 
   574 
   575 # Check that we are running under the correct shell.
   576 SHELL=${CONFIG_SHELL-/bin/sh}
   577 
   578 case X$ECHO in
   579 X*--fallback-echo)
   580   # Remove one level of quotation (which was required for Make).
   581   ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
   582   ;;
   583 esac
   584 
   585 echo=${ECHO-echo}
   586 if test "X$1" = X--no-reexec; then
   587   # Discard the --no-reexec flag, and continue.
   588   shift
   589 elif test "X$1" = X--fallback-echo; then
   590   # Avoid inline document here, it may be left over
   591   :
   592 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
   593   # Yippee, $echo works!
   594   :
   595 else
   596   # Restart under the correct shell.
   597   exec $SHELL "$0" --no-reexec ${1+"$@"}
   598 fi
   599 
   600 if test "X$1" = X--fallback-echo; then
   601   # used as fallback echo
   602   shift
   603   cat <<EOF
   604 $*
   605 EOF
   606   exit 0
   607 fi
   608 
   609 # The HP-UX ksh and POSIX shell print the target directory to stdout
   610 # if CDPATH is set.
   611 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   612 
   613 if test -z "$ECHO"; then
   614 if test "X${echo_test_string+set}" != Xset; then
   615 # find a string as large as possible, as long as the shell can cope with it
   616   for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   617     # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   618     if (echo_test_string=`eval $cmd`) 2>/dev/null &&
   619        echo_test_string=`eval $cmd` &&
   620        (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
   621     then
   622       break
   623     fi
   624   done
   625 fi
   626 
   627 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   628    echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   629    test "X$echo_testing_string" = "X$echo_test_string"; then
   630   :
   631 else
   632   # The Solaris, AIX, and Digital Unix default echo programs unquote
   633   # backslashes.  This makes it impossible to quote backslashes using
   634   #   echo "$something" | sed 's/\\/\\\\/g'
   635   #
   636   # So, first we look for a working echo in the user's PATH.
   637 
   638   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   639   for dir in $PATH /usr/ucb; do
   640     IFS="$lt_save_ifs"
   641     if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   642        test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   643        echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   644        test "X$echo_testing_string" = "X$echo_test_string"; then
   645       echo="$dir/echo"
   646       break
   647     fi
   648   done
   649   IFS="$lt_save_ifs"
   650 
   651   if test "X$echo" = Xecho; then
   652     # We didn't find a better echo, so look for alternatives.
   653     if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
   654        echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
   655        test "X$echo_testing_string" = "X$echo_test_string"; then
   656       # This shell has a builtin print -r that does the trick.
   657       echo='print -r'
   658     elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
   659 	 test "X$CONFIG_SHELL" != X/bin/ksh; then
   660       # If we have ksh, try running configure again with it.
   661       ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   662       export ORIGINAL_CONFIG_SHELL
   663       CONFIG_SHELL=/bin/ksh
   664       export CONFIG_SHELL
   665       exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
   666     else
   667       # Try using printf.
   668       echo='printf %s\n'
   669       if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
   670 	 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
   671 	 test "X$echo_testing_string" = "X$echo_test_string"; then
   672 	# Cool, printf works
   673 	:
   674       elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   675 	   test "X$echo_testing_string" = 'X\t' &&
   676 	   echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   677 	   test "X$echo_testing_string" = "X$echo_test_string"; then
   678 	CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   679 	export CONFIG_SHELL
   680 	SHELL="$CONFIG_SHELL"
   681 	export SHELL
   682 	echo="$CONFIG_SHELL $0 --fallback-echo"
   683       elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   684 	   test "X$echo_testing_string" = 'X\t' &&
   685 	   echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   686 	   test "X$echo_testing_string" = "X$echo_test_string"; then
   687 	echo="$CONFIG_SHELL $0 --fallback-echo"
   688       else
   689 	# maybe with a smaller string...
   690 	prev=:
   691 
   692 	for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
   693 	  if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
   694 	  then
   695 	    break
   696 	  fi
   697 	  prev="$cmd"
   698 	done
   699 
   700 	if test "$prev" != 'sed 50q "$0"'; then
   701 	  echo_test_string=`eval $prev`
   702 	  export echo_test_string
   703 	  exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
   704 	else
   705 	  # Oops.  We lost completely, so just stick with echo.
   706 	  echo=echo
   707 	fi
   708       fi
   709     fi
   710   fi
   711 fi
   712 fi
   713 
   714 # Copy echo and quote the copy suitably for passing to libtool from
   715 # the Makefile, instead of quoting the original, which is used later.
   716 ECHO=$echo
   717 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
   718    ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   719 fi
   720 
   721 
   722 
   723 
   724 tagnames=${tagnames+${tagnames},}CXX
   725 
   726 tagnames=${tagnames+${tagnames},}F77
   727 
   728 exec 7<&0 </dev/null 6>&1
   729 
   730 # Name of the host.
   731 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   732 # so uname gets run too.
   733 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   734 
   735 #
   736 # Initializations.
   737 #
   738 ac_default_prefix=/usr/local
   739 ac_clean_files=
   740 ac_config_libobj_dir=.
   741 LIBOBJS=
   742 cross_compiling=no
   743 subdirs=
   744 MFLAGS=
   745 MAKEFLAGS=
   746 SHELL=${CONFIG_SHELL-/bin/sh}
   747 
   748 # Identity of this package.
   749 PACKAGE_NAME='PCRE'
   750 PACKAGE_TARNAME='pcre'
   751 PACKAGE_VERSION='7.9'
   752 PACKAGE_STRING='PCRE 7.9'
   753 PACKAGE_BUGREPORT=''
   754 
   755 ac_unique_file="pcre.h.in"
   756 # Factoring default headers for most tests.
   757 ac_includes_default="\
   758 #include <stdio.h>
   759 #ifdef HAVE_SYS_TYPES_H
   760 # include <sys/types.h>
   761 #endif
   762 #ifdef HAVE_SYS_STAT_H
   763 # include <sys/stat.h>
   764 #endif
   765 #ifdef STDC_HEADERS
   766 # include <stdlib.h>
   767 # include <stddef.h>
   768 #else
   769 # ifdef HAVE_STDLIB_H
   770 #  include <stdlib.h>
   771 # endif
   772 #endif
   773 #ifdef HAVE_STRING_H
   774 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   775 #  include <memory.h>
   776 # endif
   777 # include <string.h>
   778 #endif
   779 #ifdef HAVE_STRINGS_H
   780 # include <strings.h>
   781 #endif
   782 #ifdef HAVE_INTTYPES_H
   783 # include <inttypes.h>
   784 #endif
   785 #ifdef HAVE_STDINT_H
   786 # include <stdint.h>
   787 #endif
   788 #ifdef HAVE_UNISTD_H
   789 # include <unistd.h>
   790 #endif"
   791 
   792 ac_subst_vars='LTLIBOBJS
   793 LIBOBJS
   794 LIBREADLINE
   795 LIBBZ2
   796 LIBZ
   797 DISTCHECK_CONFIGURE_FLAGS
   798 EXTRA_LIBPCRECPP_LDFLAGS
   799 EXTRA_LIBPCREPOSIX_LDFLAGS
   800 EXTRA_LIBPCRE_LDFLAGS
   801 pcre_have_ulong_long
   802 pcre_have_long_long
   803 WITH_REBUILD_CHARTABLES_FALSE
   804 WITH_REBUILD_CHARTABLES_TRUE
   805 WITH_PCRE_CPP_FALSE
   806 WITH_PCRE_CPP_TRUE
   807 pcre_have_bits_type_traits
   808 pcre_have_type_traits
   809 PCRE_DATE
   810 PCRE_PRERELEASE
   811 PCRE_MINOR
   812 PCRE_MAJOR
   813 LIBTOOL
   814 ac_ct_F77
   815 FFLAGS
   816 F77
   817 CXXCPP
   818 CPP
   819 OBJDUMP
   820 AS
   821 DLLTOOL
   822 NMEDIT
   823 DSYMUTIL
   824 RANLIB
   825 AR
   826 ECHO
   827 LN_S
   828 EGREP
   829 GREP
   830 SED
   831 host_os
   832 host_vendor
   833 host_cpu
   834 host
   835 build_os
   836 build_vendor
   837 build_cpu
   838 build
   839 am__fastdepCXX_FALSE
   840 am__fastdepCXX_TRUE
   841 CXXDEPMODE
   842 ac_ct_CXX
   843 CXXFLAGS
   844 CXX
   845 am__fastdepCC_FALSE
   846 am__fastdepCC_TRUE
   847 CCDEPMODE
   848 AMDEPBACKSLASH
   849 AMDEP_FALSE
   850 AMDEP_TRUE
   851 am__quote
   852 am__include
   853 DEPDIR
   854 OBJEXT
   855 EXEEXT
   856 ac_ct_CC
   857 CPPFLAGS
   858 LDFLAGS
   859 CFLAGS
   860 CC
   861 am__untar
   862 am__tar
   863 AMTAR
   864 am__leading_dot
   865 SET_MAKE
   866 AWK
   867 mkdir_p
   868 MKDIR_P
   869 INSTALL_STRIP_PROGRAM
   870 STRIP
   871 install_sh
   872 MAKEINFO
   873 AUTOHEADER
   874 AUTOMAKE
   875 AUTOCONF
   876 ACLOCAL
   877 VERSION
   878 PACKAGE
   879 CYGPATH_W
   880 am__isrc
   881 INSTALL_DATA
   882 INSTALL_SCRIPT
   883 INSTALL_PROGRAM
   884 target_alias
   885 host_alias
   886 build_alias
   887 LIBS
   888 ECHO_T
   889 ECHO_N
   890 ECHO_C
   891 DEFS
   892 mandir
   893 localedir
   894 libdir
   895 psdir
   896 pdfdir
   897 dvidir
   898 htmldir
   899 infodir
   900 docdir
   901 oldincludedir
   902 includedir
   903 localstatedir
   904 sharedstatedir
   905 sysconfdir
   906 datadir
   907 datarootdir
   908 libexecdir
   909 sbindir
   910 bindir
   911 program_transform_name
   912 prefix
   913 exec_prefix
   914 PACKAGE_BUGREPORT
   915 PACKAGE_STRING
   916 PACKAGE_VERSION
   917 PACKAGE_TARNAME
   918 PACKAGE_NAME
   919 PATH_SEPARATOR
   920 SHELL'
   921 ac_subst_files=''
   922 ac_user_opts='
   923 enable_option_checking
   924 enable_dependency_tracking
   925 enable_shared
   926 enable_static
   927 enable_fast_install
   928 with_gnu_ld
   929 enable_libtool_lock
   930 with_pic
   931 with_tags
   932 enable_cpp
   933 enable_rebuild_chartables
   934 enable_utf8
   935 enable_unicode_properties
   936 enable_newline_is_cr
   937 enable_newline_is_lf
   938 enable_newline_is_crlf
   939 enable_newline_is_anycrlf
   940 enable_newline_is_any
   941 enable_bsr_anycrlf
   942 enable_ebcdic
   943 enable_stack_for_recursion
   944 enable_pcregrep_libz
   945 enable_pcregrep_libbz2
   946 enable_pcretest_libreadline
   947 with_posix_malloc_threshold
   948 with_link_size
   949 with_match_limit
   950 with_match_limit_recursion
   951 '
   952       ac_precious_vars='build_alias
   953 host_alias
   954 target_alias
   955 CC
   956 CFLAGS
   957 LDFLAGS
   958 LIBS
   959 CPPFLAGS
   960 CXX
   961 CXXFLAGS
   962 CCC
   963 CPP
   964 CXXCPP
   965 F77
   966 FFLAGS'
   967 
   968 
   969 # Initialize some variables set by options.
   970 ac_init_help=
   971 ac_init_version=false
   972 ac_unrecognized_opts=
   973 ac_unrecognized_sep=
   974 # The variables have the same names as the options, with
   975 # dashes changed to underlines.
   976 cache_file=/dev/null
   977 exec_prefix=NONE
   978 no_create=
   979 no_recursion=
   980 prefix=NONE
   981 program_prefix=NONE
   982 program_suffix=NONE
   983 program_transform_name=s,x,x,
   984 silent=
   985 site=
   986 srcdir=
   987 verbose=
   988 x_includes=NONE
   989 x_libraries=NONE
   990 
   991 # Installation directory options.
   992 # These are left unexpanded so users can "make install exec_prefix=/foo"
   993 # and all the variables that are supposed to be based on exec_prefix
   994 # by default will actually change.
   995 # Use braces instead of parens because sh, perl, etc. also accept them.
   996 # (The list follows the same order as the GNU Coding Standards.)
   997 bindir='${exec_prefix}/bin'
   998 sbindir='${exec_prefix}/sbin'
   999 libexecdir='${exec_prefix}/libexec'
  1000 datarootdir='${prefix}/share'
  1001 datadir='${datarootdir}'
  1002 sysconfdir='${prefix}/etc'
  1003 sharedstatedir='${prefix}/com'
  1004 localstatedir='${prefix}/var'
  1005 includedir='${prefix}/include'
  1006 oldincludedir='/usr/include'
  1007 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1008 infodir='${datarootdir}/info'
  1009 htmldir='${docdir}'
  1010 dvidir='${docdir}'
  1011 pdfdir='${docdir}'
  1012 psdir='${docdir}'
  1013 libdir='${exec_prefix}/lib'
  1014 localedir='${datarootdir}/locale'
  1015 mandir='${datarootdir}/man'
  1016 
  1017 ac_prev=
  1018 ac_dashdash=
  1019 for ac_option
  1020 do
  1021   # If the previous option needs an argument, assign it.
  1022   if test -n "$ac_prev"; then
  1023     eval $ac_prev=\$ac_option
  1024     ac_prev=
  1025     continue
  1026   fi
  1027 
  1028   case $ac_option in
  1029   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1030   *)	ac_optarg=yes ;;
  1031   esac
  1032 
  1033   # Accept the important Cygnus configure options, so we can diagnose typos.
  1034 
  1035   case $ac_dashdash$ac_option in
  1036   --)
  1037     ac_dashdash=yes ;;
  1038 
  1039   -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1040     ac_prev=bindir ;;
  1041   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1042     bindir=$ac_optarg ;;
  1043 
  1044   -build | --build | --buil | --bui | --bu)
  1045     ac_prev=build_alias ;;
  1046   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1047     build_alias=$ac_optarg ;;
  1048 
  1049   -cache-file | --cache-file | --cache-fil | --cache-fi \
  1050   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1051     ac_prev=cache_file ;;
  1052   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1053   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1054     cache_file=$ac_optarg ;;
  1055 
  1056   --config-cache | -C)
  1057     cache_file=config.cache ;;
  1058 
  1059   -datadir | --datadir | --datadi | --datad)
  1060     ac_prev=datadir ;;
  1061   -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1062     datadir=$ac_optarg ;;
  1063 
  1064   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1065   | --dataroo | --dataro | --datar)
  1066     ac_prev=datarootdir ;;
  1067   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1068   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1069     datarootdir=$ac_optarg ;;
  1070 
  1071   -disable-* | --disable-*)
  1072     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1073     # Reject names that are not valid shell variable names.
  1074     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1075       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1076    { (exit 1); exit 1; }; }
  1077     ac_useropt_orig=$ac_useropt
  1078     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1079     case $ac_user_opts in
  1080       *"
  1081 "enable_$ac_useropt"
  1082 "*) ;;
  1083       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1084 	 ac_unrecognized_sep=', ';;
  1085     esac
  1086     eval enable_$ac_useropt=no ;;
  1087 
  1088   -docdir | --docdir | --docdi | --doc | --do)
  1089     ac_prev=docdir ;;
  1090   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1091     docdir=$ac_optarg ;;
  1092 
  1093   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1094     ac_prev=dvidir ;;
  1095   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1096     dvidir=$ac_optarg ;;
  1097 
  1098   -enable-* | --enable-*)
  1099     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1100     # Reject names that are not valid shell variable names.
  1101     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1102       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1103    { (exit 1); exit 1; }; }
  1104     ac_useropt_orig=$ac_useropt
  1105     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1106     case $ac_user_opts in
  1107       *"
  1108 "enable_$ac_useropt"
  1109 "*) ;;
  1110       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1111 	 ac_unrecognized_sep=', ';;
  1112     esac
  1113     eval enable_$ac_useropt=\$ac_optarg ;;
  1114 
  1115   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1116   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1117   | --exec | --exe | --ex)
  1118     ac_prev=exec_prefix ;;
  1119   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1120   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1121   | --exec=* | --exe=* | --ex=*)
  1122     exec_prefix=$ac_optarg ;;
  1123 
  1124   -gas | --gas | --ga | --g)
  1125     # Obsolete; use --with-gas.
  1126     with_gas=yes ;;
  1127 
  1128   -help | --help | --hel | --he | -h)
  1129     ac_init_help=long ;;
  1130   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1131     ac_init_help=recursive ;;
  1132   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1133     ac_init_help=short ;;
  1134 
  1135   -host | --host | --hos | --ho)
  1136     ac_prev=host_alias ;;
  1137   -host=* | --host=* | --hos=* | --ho=*)
  1138     host_alias=$ac_optarg ;;
  1139 
  1140   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1141     ac_prev=htmldir ;;
  1142   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1143   | --ht=*)
  1144     htmldir=$ac_optarg ;;
  1145 
  1146   -includedir | --includedir | --includedi | --included | --include \
  1147   | --includ | --inclu | --incl | --inc)
  1148     ac_prev=includedir ;;
  1149   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1150   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1151     includedir=$ac_optarg ;;
  1152 
  1153   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1154     ac_prev=infodir ;;
  1155   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1156     infodir=$ac_optarg ;;
  1157 
  1158   -libdir | --libdir | --libdi | --libd)
  1159     ac_prev=libdir ;;
  1160   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1161     libdir=$ac_optarg ;;
  1162 
  1163   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1164   | --libexe | --libex | --libe)
  1165     ac_prev=libexecdir ;;
  1166   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1167   | --libexe=* | --libex=* | --libe=*)
  1168     libexecdir=$ac_optarg ;;
  1169 
  1170   -localedir | --localedir | --localedi | --localed | --locale)
  1171     ac_prev=localedir ;;
  1172   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1173     localedir=$ac_optarg ;;
  1174 
  1175   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1176   | --localstate | --localstat | --localsta | --localst | --locals)
  1177     ac_prev=localstatedir ;;
  1178   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1179   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1180     localstatedir=$ac_optarg ;;
  1181 
  1182   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1183     ac_prev=mandir ;;
  1184   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1185     mandir=$ac_optarg ;;
  1186 
  1187   -nfp | --nfp | --nf)
  1188     # Obsolete; use --without-fp.
  1189     with_fp=no ;;
  1190 
  1191   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1192   | --no-cr | --no-c | -n)
  1193     no_create=yes ;;
  1194 
  1195   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1196   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1197     no_recursion=yes ;;
  1198 
  1199   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1200   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1201   | --oldin | --oldi | --old | --ol | --o)
  1202     ac_prev=oldincludedir ;;
  1203   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1204   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1205   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1206     oldincludedir=$ac_optarg ;;
  1207 
  1208   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1209     ac_prev=prefix ;;
  1210   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1211     prefix=$ac_optarg ;;
  1212 
  1213   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1214   | --program-pre | --program-pr | --program-p)
  1215     ac_prev=program_prefix ;;
  1216   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1217   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1218     program_prefix=$ac_optarg ;;
  1219 
  1220   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1221   | --program-suf | --program-su | --program-s)
  1222     ac_prev=program_suffix ;;
  1223   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1224   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1225     program_suffix=$ac_optarg ;;
  1226 
  1227   -program-transform-name | --program-transform-name \
  1228   | --program-transform-nam | --program-transform-na \
  1229   | --program-transform-n | --program-transform- \
  1230   | --program-transform | --program-transfor \
  1231   | --program-transfo | --program-transf \
  1232   | --program-trans | --program-tran \
  1233   | --progr-tra | --program-tr | --program-t)
  1234     ac_prev=program_transform_name ;;
  1235   -program-transform-name=* | --program-transform-name=* \
  1236   | --program-transform-nam=* | --program-transform-na=* \
  1237   | --program-transform-n=* | --program-transform-=* \
  1238   | --program-transform=* | --program-transfor=* \
  1239   | --program-transfo=* | --program-transf=* \
  1240   | --program-trans=* | --program-tran=* \
  1241   | --progr-tra=* | --program-tr=* | --program-t=*)
  1242     program_transform_name=$ac_optarg ;;
  1243 
  1244   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1245     ac_prev=pdfdir ;;
  1246   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1247     pdfdir=$ac_optarg ;;
  1248 
  1249   -psdir | --psdir | --psdi | --psd | --ps)
  1250     ac_prev=psdir ;;
  1251   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1252     psdir=$ac_optarg ;;
  1253 
  1254   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1255   | -silent | --silent | --silen | --sile | --sil)
  1256     silent=yes ;;
  1257 
  1258   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1259     ac_prev=sbindir ;;
  1260   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1261   | --sbi=* | --sb=*)
  1262     sbindir=$ac_optarg ;;
  1263 
  1264   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1265   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1266   | --sharedst | --shareds | --shared | --share | --shar \
  1267   | --sha | --sh)
  1268     ac_prev=sharedstatedir ;;
  1269   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1270   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1271   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1272   | --sha=* | --sh=*)
  1273     sharedstatedir=$ac_optarg ;;
  1274 
  1275   -site | --site | --sit)
  1276     ac_prev=site ;;
  1277   -site=* | --site=* | --sit=*)
  1278     site=$ac_optarg ;;
  1279 
  1280   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1281     ac_prev=srcdir ;;
  1282   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1283     srcdir=$ac_optarg ;;
  1284 
  1285   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1286   | --syscon | --sysco | --sysc | --sys | --sy)
  1287     ac_prev=sysconfdir ;;
  1288   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1289   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1290     sysconfdir=$ac_optarg ;;
  1291 
  1292   -target | --target | --targe | --targ | --tar | --ta | --t)
  1293     ac_prev=target_alias ;;
  1294   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1295     target_alias=$ac_optarg ;;
  1296 
  1297   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1298     verbose=yes ;;
  1299 
  1300   -version | --version | --versio | --versi | --vers | -V)
  1301     ac_init_version=: ;;
  1302 
  1303   -with-* | --with-*)
  1304     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1305     # Reject names that are not valid shell variable names.
  1306     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1307       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1308    { (exit 1); exit 1; }; }
  1309     ac_useropt_orig=$ac_useropt
  1310     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1311     case $ac_user_opts in
  1312       *"
  1313 "with_$ac_useropt"
  1314 "*) ;;
  1315       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1316 	 ac_unrecognized_sep=', ';;
  1317     esac
  1318     eval with_$ac_useropt=\$ac_optarg ;;
  1319 
  1320   -without-* | --without-*)
  1321     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1322     # Reject names that are not valid shell variable names.
  1323     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1324       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1325    { (exit 1); exit 1; }; }
  1326     ac_useropt_orig=$ac_useropt
  1327     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1328     case $ac_user_opts in
  1329       *"
  1330 "with_$ac_useropt"
  1331 "*) ;;
  1332       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1333 	 ac_unrecognized_sep=', ';;
  1334     esac
  1335     eval with_$ac_useropt=no ;;
  1336 
  1337   --x)
  1338     # Obsolete; use --with-x.
  1339     with_x=yes ;;
  1340 
  1341   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1342   | --x-incl | --x-inc | --x-in | --x-i)
  1343     ac_prev=x_includes ;;
  1344   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1345   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1346     x_includes=$ac_optarg ;;
  1347 
  1348   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1349   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1350     ac_prev=x_libraries ;;
  1351   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1352   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1353     x_libraries=$ac_optarg ;;
  1354 
  1355   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1356 Try \`$0 --help' for more information." >&2
  1357    { (exit 1); exit 1; }; }
  1358     ;;
  1359 
  1360   *=*)
  1361     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1362     # Reject names that are not valid shell variable names.
  1363     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1364       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1365    { (exit 1); exit 1; }; }
  1366     eval $ac_envvar=\$ac_optarg
  1367     export $ac_envvar ;;
  1368 
  1369   *)
  1370     # FIXME: should be removed in autoconf 3.0.
  1371     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1372     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1373       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1374     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1375     ;;
  1376 
  1377   esac
  1378 done
  1379 
  1380 if test -n "$ac_prev"; then
  1381   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1382   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1383    { (exit 1); exit 1; }; }
  1384 fi
  1385 
  1386 if test -n "$ac_unrecognized_opts"; then
  1387   case $enable_option_checking in
  1388     no) ;;
  1389     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
  1390    { (exit 1); exit 1; }; } ;;
  1391     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1392   esac
  1393 fi
  1394 
  1395 # Check all directory arguments for consistency.
  1396 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1397 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1398 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1399 		libdir localedir mandir
  1400 do
  1401   eval ac_val=\$$ac_var
  1402   # Remove trailing slashes.
  1403   case $ac_val in
  1404     */ )
  1405       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1406       eval $ac_var=\$ac_val;;
  1407   esac
  1408   # Be sure to have absolute directory names.
  1409   case $ac_val in
  1410     [\\/$]* | ?:[\\/]* )  continue;;
  1411     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1412   esac
  1413   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1414    { (exit 1); exit 1; }; }
  1415 done
  1416 
  1417 # There might be people who depend on the old broken behavior: `$host'
  1418 # used to hold the argument of --host etc.
  1419 # FIXME: To remove some day.
  1420 build=$build_alias
  1421 host=$host_alias
  1422 target=$target_alias
  1423 
  1424 # FIXME: To remove some day.
  1425 if test "x$host_alias" != x; then
  1426   if test "x$build_alias" = x; then
  1427     cross_compiling=maybe
  1428     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1429     If a cross compiler is detected then cross compile mode will be used." >&2
  1430   elif test "x$build_alias" != "x$host_alias"; then
  1431     cross_compiling=yes
  1432   fi
  1433 fi
  1434 
  1435 ac_tool_prefix=
  1436 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1437 
  1438 test "$silent" = yes && exec 6>/dev/null
  1439 
  1440 
  1441 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1442 ac_ls_di=`ls -di .` &&
  1443 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1444   { $as_echo "$as_me: error: working directory cannot be determined" >&2
  1445    { (exit 1); exit 1; }; }
  1446 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1447   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1448    { (exit 1); exit 1; }; }
  1449 
  1450 
  1451 # Find the source files, if location was not specified.
  1452 if test -z "$srcdir"; then
  1453   ac_srcdir_defaulted=yes
  1454   # Try the directory containing this script, then the parent directory.
  1455   ac_confdir=`$as_dirname -- "$as_myself" ||
  1456 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1457 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1458 	 X"$as_myself" : 'X\(//\)$' \| \
  1459 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1460 $as_echo X"$as_myself" |
  1461     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1462 	    s//\1/
  1463 	    q
  1464 	  }
  1465 	  /^X\(\/\/\)[^/].*/{
  1466 	    s//\1/
  1467 	    q
  1468 	  }
  1469 	  /^X\(\/\/\)$/{
  1470 	    s//\1/
  1471 	    q
  1472 	  }
  1473 	  /^X\(\/\).*/{
  1474 	    s//\1/
  1475 	    q
  1476 	  }
  1477 	  s/.*/./; q'`
  1478   srcdir=$ac_confdir
  1479   if test ! -r "$srcdir/$ac_unique_file"; then
  1480     srcdir=..
  1481   fi
  1482 else
  1483   ac_srcdir_defaulted=no
  1484 fi
  1485 if test ! -r "$srcdir/$ac_unique_file"; then
  1486   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1487   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1488    { (exit 1); exit 1; }; }
  1489 fi
  1490 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1491 ac_abs_confdir=`(
  1492 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1493    { (exit 1); exit 1; }; }
  1494 	pwd)`
  1495 # When building in place, set srcdir=.
  1496 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1497   srcdir=.
  1498 fi
  1499 # Remove unnecessary trailing slashes from srcdir.
  1500 # Double slashes in file names in object file debugging info
  1501 # mess up M-x gdb in Emacs.
  1502 case $srcdir in
  1503 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1504 esac
  1505 for ac_var in $ac_precious_vars; do
  1506   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1507   eval ac_env_${ac_var}_value=\$${ac_var}
  1508   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1509   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1510 done
  1511 
  1512 #
  1513 # Report the --help message.
  1514 #
  1515 if test "$ac_init_help" = "long"; then
  1516   # Omit some internal or obsolete options to make the list less imposing.
  1517   # This message is too long to be a string in the A/UX 3.1 sh.
  1518   cat <<_ACEOF
  1519 \`configure' configures PCRE 7.9 to adapt to many kinds of systems.
  1520 
  1521 Usage: $0 [OPTION]... [VAR=VALUE]...
  1522 
  1523 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1524 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1525 
  1526 Defaults for the options are specified in brackets.
  1527 
  1528 Configuration:
  1529   -h, --help              display this help and exit
  1530       --help=short        display options specific to this package
  1531       --help=recursive    display the short help of all the included packages
  1532   -V, --version           display version information and exit
  1533   -q, --quiet, --silent   do not print \`checking...' messages
  1534       --cache-file=FILE   cache test results in FILE [disabled]
  1535   -C, --config-cache      alias for \`--cache-file=config.cache'
  1536   -n, --no-create         do not create output files
  1537       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1538 
  1539 Installation directories:
  1540   --prefix=PREFIX         install architecture-independent files in PREFIX
  1541                           [$ac_default_prefix]
  1542   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1543                           [PREFIX]
  1544 
  1545 By default, \`make install' will install all the files in
  1546 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1547 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1548 for instance \`--prefix=\$HOME'.
  1549 
  1550 For better control, use the options below.
  1551 
  1552 Fine tuning of the installation directories:
  1553   --bindir=DIR            user executables [EPREFIX/bin]
  1554   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1555   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1556   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1557   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1558   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1559   --libdir=DIR            object code libraries [EPREFIX/lib]
  1560   --includedir=DIR        C header files [PREFIX/include]
  1561   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1562   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1563   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1564   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1565   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1566   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1567   --docdir=DIR            documentation root [DATAROOTDIR/doc/pcre]
  1568   --htmldir=DIR           html documentation [DOCDIR]
  1569   --dvidir=DIR            dvi documentation [DOCDIR]
  1570   --pdfdir=DIR            pdf documentation [DOCDIR]
  1571   --psdir=DIR             ps documentation [DOCDIR]
  1572 _ACEOF
  1573 
  1574   cat <<\_ACEOF
  1575 
  1576 Program names:
  1577   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1578   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1579   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1580 
  1581 System types:
  1582   --build=BUILD     configure for building on BUILD [guessed]
  1583   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1584 _ACEOF
  1585 fi
  1586 
  1587 if test -n "$ac_init_help"; then
  1588   case $ac_init_help in
  1589      short | recursive ) echo "Configuration of PCRE 7.9:";;
  1590    esac
  1591   cat <<\_ACEOF
  1592 
  1593 Optional Features:
  1594   --disable-option-checking  ignore unrecognized --enable/--with options
  1595   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1596   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1597   --disable-dependency-tracking  speeds up one-time build
  1598   --enable-dependency-tracking   do not reject slow dependency extractors
  1599   --enable-shared[=PKGS]  build shared libraries [default=yes]
  1600   --enable-static[=PKGS]  build static libraries [default=yes]
  1601   --enable-fast-install[=PKGS]
  1602                           optimize for fast installation [default=yes]
  1603   --disable-libtool-lock  avoid locking (might break parallel builds)
  1604   --disable-cpp           disable C++ support
  1605   --enable-rebuild-chartables
  1606                           rebuild character tables in current locale
  1607   --enable-utf8           enable UTF-8 support (incompatible with
  1608                           --enable-ebcdic)
  1609   --enable-unicode-properties
  1610                           enable Unicode properties support (implies
  1611                           --enable-utf8)
  1612   --enable-newline-is-cr  use CR as newline character
  1613   --enable-newline-is-lf  use LF as newline character (default)
  1614   --enable-newline-is-crlf
  1615                           use CRLF as newline sequence
  1616   --enable-newline-is-anycrlf
  1617                           use CR, LF, or CRLF as newline sequence
  1618   --enable-newline-is-any use any valid Unicode newline sequence
  1619   --enable-bsr-anycrlf    \R matches only CR, LF, CRLF by default
  1620   --enable-ebcdic         assume EBCDIC coding rather than ASCII; incompatible
  1621                           with --enable-utf8; use only in (uncommon) EBCDIC
  1622                           environments; it implies --enable-rebuild-chartables
  1623   --disable-stack-for-recursion
  1624                           don't use stack recursion when matching
  1625   --enable-pcregrep-libz  link pcregrep with libz to handle .gz files
  1626   --enable-pcregrep-libbz2
  1627                           link pcregrep with libbz2 to handle .bz2 files
  1628   --enable-pcretest-libreadline
  1629                           link pcretest with libreadline
  1630 
  1631 Optional Packages:
  1632   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1633   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1634   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1635   --with-pic              try to use only PIC/non-PIC objects [default=use
  1636                           both]
  1637   --with-tags[=TAGS]      include additional configurations [automatic]
  1638   --with-posix-malloc-threshold=NBYTES
  1639                           threshold for POSIX malloc usage (default=10)
  1640   --with-link-size=N      internal link size (2, 3, or 4 allowed; default=2)
  1641   --with-match-limit=N    default limit on internal looping (default=10000000)
  1642   --with-match-limit-recursion=N
  1643                           default limit on internal recursion
  1644                           (default=MATCH_LIMIT)
  1645 
  1646 Some influential environment variables:
  1647   CC          C compiler command
  1648   CFLAGS      C compiler flags
  1649   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1650               nonstandard directory <lib dir>
  1651   LIBS        libraries to pass to the linker, e.g. -l<library>
  1652   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1653               you have headers in a nonstandard directory <include dir>
  1654   CXX         C++ compiler command
  1655   CXXFLAGS    C++ compiler flags
  1656   CPP         C preprocessor
  1657   CXXCPP      C++ preprocessor
  1658   F77         Fortran 77 compiler command
  1659   FFLAGS      Fortran 77 compiler flags
  1660 
  1661 Use these variables to override the choices made by `configure' or to help
  1662 it to find libraries and programs with nonstandard names/locations.
  1663 
  1664 _ACEOF
  1665 ac_status=$?
  1666 fi
  1667 
  1668 if test "$ac_init_help" = "recursive"; then
  1669   # If there are subdirs, report their specific --help.
  1670   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1671     test -d "$ac_dir" ||
  1672       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1673       continue
  1674     ac_builddir=.
  1675 
  1676 case "$ac_dir" in
  1677 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1678 *)
  1679   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1680   # A ".." for each directory in $ac_dir_suffix.
  1681   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1682   case $ac_top_builddir_sub in
  1683   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1684   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1685   esac ;;
  1686 esac
  1687 ac_abs_top_builddir=$ac_pwd
  1688 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1689 # for backward compatibility:
  1690 ac_top_builddir=$ac_top_build_prefix
  1691 
  1692 case $srcdir in
  1693   .)  # We are building in place.
  1694     ac_srcdir=.
  1695     ac_top_srcdir=$ac_top_builddir_sub
  1696     ac_abs_top_srcdir=$ac_pwd ;;
  1697   [\\/]* | ?:[\\/]* )  # Absolute name.
  1698     ac_srcdir=$srcdir$ac_dir_suffix;
  1699     ac_top_srcdir=$srcdir
  1700     ac_abs_top_srcdir=$srcdir ;;
  1701   *) # Relative name.
  1702     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1703     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1704     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1705 esac
  1706 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1707 
  1708     cd "$ac_dir" || { ac_status=$?; continue; }
  1709     # Check for guested configure.
  1710     if test -f "$ac_srcdir/configure.gnu"; then
  1711       echo &&
  1712       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1713     elif test -f "$ac_srcdir/configure"; then
  1714       echo &&
  1715       $SHELL "$ac_srcdir/configure" --help=recursive
  1716     else
  1717       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1718     fi || ac_status=$?
  1719     cd "$ac_pwd" || { ac_status=$?; break; }
  1720   done
  1721 fi
  1722 
  1723 test -n "$ac_init_help" && exit $ac_status
  1724 if $ac_init_version; then
  1725   cat <<\_ACEOF
  1726 PCRE configure 7.9
  1727 generated by GNU Autoconf 2.63
  1728 
  1729 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1730 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1731 This configure script is free software; the Free Software Foundation
  1732 gives unlimited permission to copy, distribute and modify it.
  1733 _ACEOF
  1734   exit
  1735 fi
  1736 cat >config.log <<_ACEOF
  1737 This file contains any messages produced by compilers while
  1738 running configure, to aid debugging if configure makes a mistake.
  1739 
  1740 It was created by PCRE $as_me 7.9, which was
  1741 generated by GNU Autoconf 2.63.  Invocation command line was
  1742 
  1743   $ $0 $@
  1744 
  1745 _ACEOF
  1746 exec 5>>config.log
  1747 {
  1748 cat <<_ASUNAME
  1749 ## --------- ##
  1750 ## Platform. ##
  1751 ## --------- ##
  1752 
  1753 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1754 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1755 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1756 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1757 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1758 
  1759 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1760 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1761 
  1762 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1763 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1764 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1765 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1766 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1767 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1768 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1769 
  1770 _ASUNAME
  1771 
  1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1773 for as_dir in $PATH
  1774 do
  1775   IFS=$as_save_IFS
  1776   test -z "$as_dir" && as_dir=.
  1777   $as_echo "PATH: $as_dir"
  1778 done
  1779 IFS=$as_save_IFS
  1780 
  1781 } >&5
  1782 
  1783 cat >&5 <<_ACEOF
  1784 
  1785 
  1786 ## ----------- ##
  1787 ## Core tests. ##
  1788 ## ----------- ##
  1789 
  1790 _ACEOF
  1791 
  1792 
  1793 # Keep a trace of the command line.
  1794 # Strip out --no-create and --no-recursion so they do not pile up.
  1795 # Strip out --silent because we don't want to record it for future runs.
  1796 # Also quote any args containing shell meta-characters.
  1797 # Make two passes to allow for proper duplicate-argument suppression.
  1798 ac_configure_args=
  1799 ac_configure_args0=
  1800 ac_configure_args1=
  1801 ac_must_keep_next=false
  1802 for ac_pass in 1 2
  1803 do
  1804   for ac_arg
  1805   do
  1806     case $ac_arg in
  1807     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1808     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1809     | -silent | --silent | --silen | --sile | --sil)
  1810       continue ;;
  1811     *\'*)
  1812       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1813     esac
  1814     case $ac_pass in
  1815     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1816     2)
  1817       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1818       if test $ac_must_keep_next = true; then
  1819 	ac_must_keep_next=false # Got value, back to normal.
  1820       else
  1821 	case $ac_arg in
  1822 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1823 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1824 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1825 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1826 	    case "$ac_configure_args0 " in
  1827 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1828 	    esac
  1829 	    ;;
  1830 	  -* ) ac_must_keep_next=true ;;
  1831 	esac
  1832       fi
  1833       ac_configure_args="$ac_configure_args '$ac_arg'"
  1834       ;;
  1835     esac
  1836   done
  1837 done
  1838 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1839 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1840 
  1841 # When interrupted or exit'd, cleanup temporary files, and complete
  1842 # config.log.  We remove comments because anyway the quotes in there
  1843 # would cause problems or look ugly.
  1844 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1845 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1846 trap 'exit_status=$?
  1847   # Save into config.log some information that might help in debugging.
  1848   {
  1849     echo
  1850 
  1851     cat <<\_ASBOX
  1852 ## ---------------- ##
  1853 ## Cache variables. ##
  1854 ## ---------------- ##
  1855 _ASBOX
  1856     echo
  1857     # The following way of writing the cache mishandles newlines in values,
  1858 (
  1859   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1860     eval ac_val=\$$ac_var
  1861     case $ac_val in #(
  1862     *${as_nl}*)
  1863       case $ac_var in #(
  1864       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  1865 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1866       esac
  1867       case $ac_var in #(
  1868       _ | IFS | as_nl) ;; #(
  1869       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1870       *) $as_unset $ac_var ;;
  1871       esac ;;
  1872     esac
  1873   done
  1874   (set) 2>&1 |
  1875     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1876     *${as_nl}ac_space=\ *)
  1877       sed -n \
  1878 	"s/'\''/'\''\\\\'\'''\''/g;
  1879 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1880       ;; #(
  1881     *)
  1882       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1883       ;;
  1884     esac |
  1885     sort
  1886 )
  1887     echo
  1888 
  1889     cat <<\_ASBOX
  1890 ## ----------------- ##
  1891 ## Output variables. ##
  1892 ## ----------------- ##
  1893 _ASBOX
  1894     echo
  1895     for ac_var in $ac_subst_vars
  1896     do
  1897       eval ac_val=\$$ac_var
  1898       case $ac_val in
  1899       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1900       esac
  1901       $as_echo "$ac_var='\''$ac_val'\''"
  1902     done | sort
  1903     echo
  1904 
  1905     if test -n "$ac_subst_files"; then
  1906       cat <<\_ASBOX
  1907 ## ------------------- ##
  1908 ## File substitutions. ##
  1909 ## ------------------- ##
  1910 _ASBOX
  1911       echo
  1912       for ac_var in $ac_subst_files
  1913       do
  1914 	eval ac_val=\$$ac_var
  1915 	case $ac_val in
  1916 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1917 	esac
  1918 	$as_echo "$ac_var='\''$ac_val'\''"
  1919       done | sort
  1920       echo
  1921     fi
  1922 
  1923     if test -s confdefs.h; then
  1924       cat <<\_ASBOX
  1925 ## ----------- ##
  1926 ## confdefs.h. ##
  1927 ## ----------- ##
  1928 _ASBOX
  1929       echo
  1930       cat confdefs.h
  1931       echo
  1932     fi
  1933     test "$ac_signal" != 0 &&
  1934       $as_echo "$as_me: caught signal $ac_signal"
  1935     $as_echo "$as_me: exit $exit_status"
  1936   } >&5
  1937   rm -f core *.core core.conftest.* &&
  1938     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1939     exit $exit_status
  1940 ' 0
  1941 for ac_signal in 1 2 13 15; do
  1942   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1943 done
  1944 ac_signal=0
  1945 
  1946 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1947 rm -f -r conftest* confdefs.h
  1948 
  1949 # Predefined preprocessor variables.
  1950 
  1951 cat >>confdefs.h <<_ACEOF
  1952 #define PACKAGE_NAME "$PACKAGE_NAME"
  1953 _ACEOF
  1954 
  1955 
  1956 cat >>confdefs.h <<_ACEOF
  1957 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1958 _ACEOF
  1959 
  1960 
  1961 cat >>confdefs.h <<_ACEOF
  1962 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1963 _ACEOF
  1964 
  1965 
  1966 cat >>confdefs.h <<_ACEOF
  1967 #define PACKAGE_STRING "$PACKAGE_STRING"
  1968 _ACEOF
  1969 
  1970 
  1971 cat >>confdefs.h <<_ACEOF
  1972 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1973 _ACEOF
  1974 
  1975 
  1976 # Let the site file select an alternate cache file if it wants to.
  1977 # Prefer an explicitly selected file to automatically selected ones.
  1978 ac_site_file1=NONE
  1979 ac_site_file2=NONE
  1980 if test -n "$CONFIG_SITE"; then
  1981   ac_site_file1=$CONFIG_SITE
  1982 elif test "x$prefix" != xNONE; then
  1983   ac_site_file1=$prefix/share/config.site
  1984   ac_site_file2=$prefix/etc/config.site
  1985 else
  1986   ac_site_file1=$ac_default_prefix/share/config.site
  1987   ac_site_file2=$ac_default_prefix/etc/config.site
  1988 fi
  1989 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1990 do
  1991   test "x$ac_site_file" = xNONE && continue
  1992   if test -r "$ac_site_file"; then
  1993     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1994 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1995     sed 's/^/| /' "$ac_site_file" >&5
  1996     . "$ac_site_file"
  1997   fi
  1998 done
  1999 
  2000 if test -r "$cache_file"; then
  2001   # Some versions of bash will fail to source /dev/null (special
  2002   # files actually), so we avoid doing that.
  2003   if test -f "$cache_file"; then
  2004     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  2005 $as_echo "$as_me: loading cache $cache_file" >&6;}
  2006     case $cache_file in
  2007       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2008       *)                      . "./$cache_file";;
  2009     esac
  2010   fi
  2011 else
  2012   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  2013 $as_echo "$as_me: creating cache $cache_file" >&6;}
  2014   >$cache_file
  2015 fi
  2016 
  2017 # Check that the precious variables saved in the cache have kept the same
  2018 # value.
  2019 ac_cache_corrupted=false
  2020 for ac_var in $ac_precious_vars; do
  2021   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2022   eval ac_new_set=\$ac_env_${ac_var}_set
  2023   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2024   eval ac_new_val=\$ac_env_${ac_var}_value
  2025   case $ac_old_set,$ac_new_set in
  2026     set,)
  2027       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2028 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2029       ac_cache_corrupted=: ;;
  2030     ,set)
  2031       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  2032 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2033       ac_cache_corrupted=: ;;
  2034     ,);;
  2035     *)
  2036       if test "x$ac_old_val" != "x$ac_new_val"; then
  2037 	# differences in whitespace do not lead to failure.
  2038 	ac_old_val_w=`echo x $ac_old_val`
  2039 	ac_new_val_w=`echo x $ac_new_val`
  2040 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2041 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  2042 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2043 	  ac_cache_corrupted=:
  2044 	else
  2045 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2046 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2047 	  eval $ac_var=\$ac_old_val
  2048 	fi
  2049 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  2050 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2051 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  2052 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2053       fi;;
  2054   esac
  2055   # Pass precious variables to config.status.
  2056   if test "$ac_new_set" = set; then
  2057     case $ac_new_val in
  2058     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2059     *) ac_arg=$ac_var=$ac_new_val ;;
  2060     esac
  2061     case " $ac_configure_args " in
  2062       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2063       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  2064     esac
  2065   fi
  2066 done
  2067 if $ac_cache_corrupted; then
  2068   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2069 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2070   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  2071 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2072   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  2073 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  2074    { (exit 1); exit 1; }; }
  2075 fi
  2076 
  2077 
  2078 
  2079 
  2080 
  2081 
  2082 
  2083 
  2084 
  2085 
  2086 
  2087 
  2088 
  2089 
  2090 
  2091 
  2092 
  2093 
  2094 
  2095 
  2096 
  2097 
  2098 
  2099 
  2100 
  2101 ac_ext=c
  2102 ac_cpp='$CPP $CPPFLAGS'
  2103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2106 
  2107 
  2108 
  2109 am__api_version='1.10'
  2110 
  2111 ac_aux_dir=
  2112 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2113   if test -f "$ac_dir/install-sh"; then
  2114     ac_aux_dir=$ac_dir
  2115     ac_install_sh="$ac_aux_dir/install-sh -c"
  2116     break
  2117   elif test -f "$ac_dir/install.sh"; then
  2118     ac_aux_dir=$ac_dir
  2119     ac_install_sh="$ac_aux_dir/install.sh -c"
  2120     break
  2121   elif test -f "$ac_dir/shtool"; then
  2122     ac_aux_dir=$ac_dir
  2123     ac_install_sh="$ac_aux_dir/shtool install -c"
  2124     break
  2125   fi
  2126 done
  2127 if test -z "$ac_aux_dir"; then
  2128   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  2129 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  2130    { (exit 1); exit 1; }; }
  2131 fi
  2132 
  2133 # These three variables are undocumented and unsupported,
  2134 # and are intended to be withdrawn in a future Autoconf release.
  2135 # They can cause serious problems if a builder's source tree is in a directory
  2136 # whose full name contains unusual characters.
  2137 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2138 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2139 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2140 
  2141 
  2142 # Find a good install program.  We prefer a C program (faster),
  2143 # so one script is as good as another.  But avoid the broken or
  2144 # incompatible versions:
  2145 # SysV /etc/install, /usr/sbin/install
  2146 # SunOS /usr/etc/install
  2147 # IRIX /sbin/install
  2148 # AIX /bin/install
  2149 # AmigaOS /C/install, which installs bootblocks on floppy discs
  2150 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2151 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2152 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2153 # OS/2's system install, which has a completely different semantic
  2154 # ./install, which can be erroneously created by make from ./install.sh.
  2155 # Reject install programs that cannot install multiple files.
  2156 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2157 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2158 if test -z "$INSTALL"; then
  2159 if test "${ac_cv_path_install+set}" = set; then
  2160   $as_echo_n "(cached) " >&6
  2161 else
  2162   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2163 for as_dir in $PATH
  2164 do
  2165   IFS=$as_save_IFS
  2166   test -z "$as_dir" && as_dir=.
  2167   # Account for people who put trailing slashes in PATH elements.
  2168 case $as_dir/ in
  2169   ./ | .// | /cC/* | \
  2170   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2171   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2172   /usr/ucb/* ) ;;
  2173   *)
  2174     # OSF1 and SCO ODT 3.0 have their own names for install.
  2175     # Don't use installbsd from OSF since it installs stuff as root
  2176     # by default.
  2177     for ac_prog in ginstall scoinst install; do
  2178       for ac_exec_ext in '' $ac_executable_extensions; do
  2179 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2180 	  if test $ac_prog = install &&
  2181 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2182 	    # AIX install.  It has an incompatible calling convention.
  2183 	    :
  2184 	  elif test $ac_prog = install &&
  2185 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2186 	    # program-specific install script used by HP pwplus--don't use.
  2187 	    :
  2188 	  else
  2189 	    rm -rf conftest.one conftest.two conftest.dir
  2190 	    echo one > conftest.one
  2191 	    echo two > conftest.two
  2192 	    mkdir conftest.dir
  2193 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2194 	      test -s conftest.one && test -s conftest.two &&
  2195 	      test -s conftest.dir/conftest.one &&
  2196 	      test -s conftest.dir/conftest.two
  2197 	    then
  2198 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2199 	      break 3
  2200 	    fi
  2201 	  fi
  2202 	fi
  2203       done
  2204     done
  2205     ;;
  2206 esac
  2207 
  2208 done
  2209 IFS=$as_save_IFS
  2210 
  2211 rm -rf conftest.one conftest.two conftest.dir
  2212 
  2213 fi
  2214   if test "${ac_cv_path_install+set}" = set; then
  2215     INSTALL=$ac_cv_path_install
  2216   else
  2217     # As a last resort, use the slow shell script.  Don't cache a
  2218     # value for INSTALL within a source directory, because that will
  2219     # break other packages using the cache if that directory is
  2220     # removed, or if the value is a relative name.
  2221     INSTALL=$ac_install_sh
  2222   fi
  2223 fi
  2224 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2225 $as_echo "$INSTALL" >&6; }
  2226 
  2227 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2228 # It thinks the first close brace ends the variable substitution.
  2229 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2230 
  2231 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2232 
  2233 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2234 
  2235 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2236 $as_echo_n "checking whether build environment is sane... " >&6; }
  2237 # Just in case
  2238 sleep 1
  2239 echo timestamp > conftest.file
  2240 # Do `set' in a subshell so we don't clobber the current shell's
  2241 # arguments.  Must try -L first in case configure is actually a
  2242 # symlink; some systems play weird games with the mod time of symlinks
  2243 # (eg FreeBSD returns the mod time of the symlink's containing
  2244 # directory).
  2245 if (
  2246    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2247    if test "$*" = "X"; then
  2248       # -L didn't work.
  2249       set X `ls -t $srcdir/configure conftest.file`
  2250    fi
  2251    rm -f conftest.file
  2252    if test "$*" != "X $srcdir/configure conftest.file" \
  2253       && test "$*" != "X conftest.file $srcdir/configure"; then
  2254 
  2255       # If neither matched, then we have a broken ls.  This can happen
  2256       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2257       # broken ls alias from the environment.  This has actually
  2258       # happened.  Such a system could not be considered "sane".
  2259       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2260 alias in your environment" >&5
  2261 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2262 alias in your environment" >&2;}
  2263    { (exit 1); exit 1; }; }
  2264    fi
  2265 
  2266    test "$2" = conftest.file
  2267    )
  2268 then
  2269    # Ok.
  2270    :
  2271 else
  2272    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2273 Check your system clock" >&5
  2274 $as_echo "$as_me: error: newly created file is older than distributed files!
  2275 Check your system clock" >&2;}
  2276    { (exit 1); exit 1; }; }
  2277 fi
  2278 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2279 $as_echo "yes" >&6; }
  2280 test "$program_prefix" != NONE &&
  2281   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2282 # Use a double $ so make ignores it.
  2283 test "$program_suffix" != NONE &&
  2284   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2285 # Double any \ or $.
  2286 # By default was `s,x,x', remove it if useless.
  2287 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2288 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2289 
  2290 # expand $ac_aux_dir to an absolute path
  2291 am_aux_dir=`cd $ac_aux_dir && pwd`
  2292 
  2293 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2294 # Use eval to expand $SHELL
  2295 if eval "$MISSING --run true"; then
  2296   am_missing_run="$MISSING --run "
  2297 else
  2298   am_missing_run=
  2299   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2300 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2301 fi
  2302 
  2303 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  2304 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2305 if test -z "$MKDIR_P"; then
  2306   if test "${ac_cv_path_mkdir+set}" = set; then
  2307   $as_echo_n "(cached) " >&6
  2308 else
  2309   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2310 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2311 do
  2312   IFS=$as_save_IFS
  2313   test -z "$as_dir" && as_dir=.
  2314   for ac_prog in mkdir gmkdir; do
  2315 	 for ac_exec_ext in '' $ac_executable_extensions; do
  2316 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2317 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2318 	     'mkdir (GNU coreutils) '* | \
  2319 	     'mkdir (coreutils) '* | \
  2320 	     'mkdir (fileutils) '4.1*)
  2321 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2322 	       break 3;;
  2323 	   esac
  2324 	 done
  2325        done
  2326 done
  2327 IFS=$as_save_IFS
  2328 
  2329 fi
  2330 
  2331   if test "${ac_cv_path_mkdir+set}" = set; then
  2332     MKDIR_P="$ac_cv_path_mkdir -p"
  2333   else
  2334     # As a last resort, use the slow shell script.  Don't cache a
  2335     # value for MKDIR_P within a source directory, because that will
  2336     # break other packages using the cache if that directory is
  2337     # removed, or if the value is a relative name.
  2338     test -d ./--version && rmdir ./--version
  2339     MKDIR_P="$ac_install_sh -d"
  2340   fi
  2341 fi
  2342 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  2343 $as_echo "$MKDIR_P" >&6; }
  2344 
  2345 mkdir_p="$MKDIR_P"
  2346 case $mkdir_p in
  2347   [\\/$]* | ?:[\\/]*) ;;
  2348   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2349 esac
  2350 
  2351 for ac_prog in gawk mawk nawk awk
  2352 do
  2353   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2354 set dummy $ac_prog; ac_word=$2
  2355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2356 $as_echo_n "checking for $ac_word... " >&6; }
  2357 if test "${ac_cv_prog_AWK+set}" = set; then
  2358   $as_echo_n "(cached) " >&6
  2359 else
  2360   if test -n "$AWK"; then
  2361   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2362 else
  2363 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2364 for as_dir in $PATH
  2365 do
  2366   IFS=$as_save_IFS
  2367   test -z "$as_dir" && as_dir=.
  2368   for ac_exec_ext in '' $ac_executable_extensions; do
  2369   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2370     ac_cv_prog_AWK="$ac_prog"
  2371     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2372     break 2
  2373   fi
  2374 done
  2375 done
  2376 IFS=$as_save_IFS
  2377 
  2378 fi
  2379 fi
  2380 AWK=$ac_cv_prog_AWK
  2381 if test -n "$AWK"; then
  2382   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2383 $as_echo "$AWK" >&6; }
  2384 else
  2385   { $as_echo "$as_me:$LINENO: result: no" >&5
  2386 $as_echo "no" >&6; }
  2387 fi
  2388 
  2389 
  2390   test -n "$AWK" && break
  2391 done
  2392 
  2393 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2394 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2395 set x ${MAKE-make}
  2396 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2397 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2398   $as_echo_n "(cached) " >&6
  2399 else
  2400   cat >conftest.make <<\_ACEOF
  2401 SHELL = /bin/sh
  2402 all:
  2403 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2404 _ACEOF
  2405 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2406 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2407   *@@@%%%=?*=@@@%%%*)
  2408     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2409   *)
  2410     eval ac_cv_prog_make_${ac_make}_set=no;;
  2411 esac
  2412 rm -f conftest.make
  2413 fi
  2414 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2415   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2416 $as_echo "yes" >&6; }
  2417   SET_MAKE=
  2418 else
  2419   { $as_echo "$as_me:$LINENO: result: no" >&5
  2420 $as_echo "no" >&6; }
  2421   SET_MAKE="MAKE=${MAKE-make}"
  2422 fi
  2423 
  2424 rm -rf .tst 2>/dev/null
  2425 mkdir .tst 2>/dev/null
  2426 if test -d .tst; then
  2427   am__leading_dot=.
  2428 else
  2429   am__leading_dot=_
  2430 fi
  2431 rmdir .tst 2>/dev/null
  2432 
  2433 if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2434   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2435   # is not polluted with repeated "-I."
  2436   am__isrc=' -I$(srcdir)'
  2437   # test to see if srcdir already configured
  2438   if test -f $srcdir/config.status; then
  2439     { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2440 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2441    { (exit 1); exit 1; }; }
  2442   fi
  2443 fi
  2444 
  2445 # test whether we have cygpath
  2446 if test -z "$CYGPATH_W"; then
  2447   if (cygpath --version) >/dev/null 2>/dev/null; then
  2448     CYGPATH_W='cygpath -w'
  2449   else
  2450     CYGPATH_W=echo
  2451   fi
  2452 fi
  2453 
  2454 
  2455 # Define the identity of the package.
  2456  PACKAGE='pcre'
  2457  VERSION='7.9'
  2458 
  2459 
  2460 cat >>confdefs.h <<_ACEOF
  2461 #define PACKAGE "$PACKAGE"
  2462 _ACEOF
  2463 
  2464 
  2465 cat >>confdefs.h <<_ACEOF
  2466 #define VERSION "$VERSION"
  2467 _ACEOF
  2468 
  2469 # Some tools Automake needs.
  2470 
  2471 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2472 
  2473 
  2474 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2475 
  2476 
  2477 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2478 
  2479 
  2480 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2481 
  2482 
  2483 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2484 
  2485 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  2486 
  2487 # Installed binaries are usually stripped using `strip' when the user
  2488 # run `make install-strip'.  However `strip' might not be the right
  2489 # tool to use in cross-compilation environments, therefore Automake
  2490 # will honor the `STRIP' environment variable to overrule this program.
  2491 if test "$cross_compiling" != no; then
  2492   if test -n "$ac_tool_prefix"; then
  2493   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2494 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2495 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2496 $as_echo_n "checking for $ac_word... " >&6; }
  2497 if test "${ac_cv_prog_STRIP+set}" = set; then
  2498   $as_echo_n "(cached) " >&6
  2499 else
  2500   if test -n "$STRIP"; then
  2501   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2502 else
  2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2504 for as_dir in $PATH
  2505 do
  2506   IFS=$as_save_IFS
  2507   test -z "$as_dir" && as_dir=.
  2508   for ac_exec_ext in '' $ac_executable_extensions; do
  2509   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2510     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2511     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2512     break 2
  2513   fi
  2514 done
  2515 done
  2516 IFS=$as_save_IFS
  2517 
  2518 fi
  2519 fi
  2520 STRIP=$ac_cv_prog_STRIP
  2521 if test -n "$STRIP"; then
  2522   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2523 $as_echo "$STRIP" >&6; }
  2524 else
  2525   { $as_echo "$as_me:$LINENO: result: no" >&5
  2526 $as_echo "no" >&6; }
  2527 fi
  2528 
  2529 
  2530 fi
  2531 if test -z "$ac_cv_prog_STRIP"; then
  2532   ac_ct_STRIP=$STRIP
  2533   # Extract the first word of "strip", so it can be a program name with args.
  2534 set dummy strip; ac_word=$2
  2535 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2536 $as_echo_n "checking for $ac_word... " >&6; }
  2537 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2538   $as_echo_n "(cached) " >&6
  2539 else
  2540   if test -n "$ac_ct_STRIP"; then
  2541   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2542 else
  2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2544 for as_dir in $PATH
  2545 do
  2546   IFS=$as_save_IFS
  2547   test -z "$as_dir" && as_dir=.
  2548   for ac_exec_ext in '' $ac_executable_extensions; do
  2549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2550     ac_cv_prog_ac_ct_STRIP="strip"
  2551     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2552     break 2
  2553   fi
  2554 done
  2555 done
  2556 IFS=$as_save_IFS
  2557 
  2558 fi
  2559 fi
  2560 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2561 if test -n "$ac_ct_STRIP"; then
  2562   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2563 $as_echo "$ac_ct_STRIP" >&6; }
  2564 else
  2565   { $as_echo "$as_me:$LINENO: result: no" >&5
  2566 $as_echo "no" >&6; }
  2567 fi
  2568 
  2569   if test "x$ac_ct_STRIP" = x; then
  2570     STRIP=":"
  2571   else
  2572     case $cross_compiling:$ac_tool_warned in
  2573 yes:)
  2574 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2576 ac_tool_warned=yes ;;
  2577 esac
  2578     STRIP=$ac_ct_STRIP
  2579   fi
  2580 else
  2581   STRIP="$ac_cv_prog_STRIP"
  2582 fi
  2583 
  2584 fi
  2585 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2586 
  2587 # We need awk for the "check" target.  The system "awk" is bad on
  2588 # some platforms.
  2589 # Always define AMTAR for backward compatibility.
  2590 
  2591 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2592 
  2593 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2594 
  2595 
  2596 
  2597 
  2598 
  2599 ac_config_headers="$ac_config_headers config.h"
  2600 
  2601 
  2602 # The default CFLAGS and CXXFLAGS in Autoconf are "-g -O2" for gcc and just
  2603 # "-g" for any other compiler. There doesn't seem to be a standard way of
  2604 # getting rid of the -g (which I don't think is needed for a production
  2605 # library). This fudge seems to achieve the necessary. First, we remember the
  2606 # externally set values of CFLAGS and CXXFLAGS. Then call the AC_PROG_CC and
  2607 # AC_PROG_CXX macros to find the compilers - if CFLAGS and CXXFLAGS are not
  2608 # set, they will be set to Autoconf's defaults. Afterwards, if the original
  2609 # values were not set, remove the -g from the Autoconf defaults.
  2610 # (PH 02-May-07)
  2611 
  2612 remember_set_CFLAGS="$CFLAGS"
  2613 remember_set_CXXFLAGS="$CXXFLAGS"
  2614 
  2615 ac_ext=c
  2616 ac_cpp='$CPP $CPPFLAGS'
  2617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2620 if test -n "$ac_tool_prefix"; then
  2621   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2622 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2623 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2624 $as_echo_n "checking for $ac_word... " >&6; }
  2625 if test "${ac_cv_prog_CC+set}" = set; then
  2626   $as_echo_n "(cached) " >&6
  2627 else
  2628   if test -n "$CC"; then
  2629   ac_cv_prog_CC="$CC" # Let the user override the test.
  2630 else
  2631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2632 for as_dir in $PATH
  2633 do
  2634   IFS=$as_save_IFS
  2635   test -z "$as_dir" && as_dir=.
  2636   for ac_exec_ext in '' $ac_executable_extensions; do
  2637   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2638     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2639     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2640     break 2
  2641   fi
  2642 done
  2643 done
  2644 IFS=$as_save_IFS
  2645 
  2646 fi
  2647 fi
  2648 CC=$ac_cv_prog_CC
  2649 if test -n "$CC"; then
  2650   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2651 $as_echo "$CC" >&6; }
  2652 else
  2653   { $as_echo "$as_me:$LINENO: result: no" >&5
  2654 $as_echo "no" >&6; }
  2655 fi
  2656 
  2657 
  2658 fi
  2659 if test -z "$ac_cv_prog_CC"; then
  2660   ac_ct_CC=$CC
  2661   # Extract the first word of "gcc", so it can be a program name with args.
  2662 set dummy gcc; ac_word=$2
  2663 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2664 $as_echo_n "checking for $ac_word... " >&6; }
  2665 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2666   $as_echo_n "(cached) " >&6
  2667 else
  2668   if test -n "$ac_ct_CC"; then
  2669   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2670 else
  2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2672 for as_dir in $PATH
  2673 do
  2674   IFS=$as_save_IFS
  2675   test -z "$as_dir" && as_dir=.
  2676   for ac_exec_ext in '' $ac_executable_extensions; do
  2677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2678     ac_cv_prog_ac_ct_CC="gcc"
  2679     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2680     break 2
  2681   fi
  2682 done
  2683 done
  2684 IFS=$as_save_IFS
  2685 
  2686 fi
  2687 fi
  2688 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2689 if test -n "$ac_ct_CC"; then
  2690   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2691 $as_echo "$ac_ct_CC" >&6; }
  2692 else
  2693   { $as_echo "$as_me:$LINENO: result: no" >&5
  2694 $as_echo "no" >&6; }
  2695 fi
  2696 
  2697   if test "x$ac_ct_CC" = x; then
  2698     CC=""
  2699   else
  2700     case $cross_compiling:$ac_tool_warned in
  2701 yes:)
  2702 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2704 ac_tool_warned=yes ;;
  2705 esac
  2706     CC=$ac_ct_CC
  2707   fi
  2708 else
  2709   CC="$ac_cv_prog_CC"
  2710 fi
  2711 
  2712 if test -z "$CC"; then
  2713           if test -n "$ac_tool_prefix"; then
  2714     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2715 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2717 $as_echo_n "checking for $ac_word... " >&6; }
  2718 if test "${ac_cv_prog_CC+set}" = set; then
  2719   $as_echo_n "(cached) " >&6
  2720 else
  2721   if test -n "$CC"; then
  2722   ac_cv_prog_CC="$CC" # Let the user override the test.
  2723 else
  2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2725 for as_dir in $PATH
  2726 do
  2727   IFS=$as_save_IFS
  2728   test -z "$as_dir" && as_dir=.
  2729   for ac_exec_ext in '' $ac_executable_extensions; do
  2730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2731     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2732     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2733     break 2
  2734   fi
  2735 done
  2736 done
  2737 IFS=$as_save_IFS
  2738 
  2739 fi
  2740 fi
  2741 CC=$ac_cv_prog_CC
  2742 if test -n "$CC"; then
  2743   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2744 $as_echo "$CC" >&6; }
  2745 else
  2746   { $as_echo "$as_me:$LINENO: result: no" >&5
  2747 $as_echo "no" >&6; }
  2748 fi
  2749 
  2750 
  2751   fi
  2752 fi
  2753 if test -z "$CC"; then
  2754   # Extract the first word of "cc", so it can be a program name with args.
  2755 set dummy cc; ac_word=$2
  2756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2757 $as_echo_n "checking for $ac_word... " >&6; }
  2758 if test "${ac_cv_prog_CC+set}" = set; then
  2759   $as_echo_n "(cached) " >&6
  2760 else
  2761   if test -n "$CC"; then
  2762   ac_cv_prog_CC="$CC" # Let the user override the test.
  2763 else
  2764   ac_prog_rejected=no
  2765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2766 for as_dir in $PATH
  2767 do
  2768   IFS=$as_save_IFS
  2769   test -z "$as_dir" && as_dir=.
  2770   for ac_exec_ext in '' $ac_executable_extensions; do
  2771   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2772     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2773        ac_prog_rejected=yes
  2774        continue
  2775      fi
  2776     ac_cv_prog_CC="cc"
  2777     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2778     break 2
  2779   fi
  2780 done
  2781 done
  2782 IFS=$as_save_IFS
  2783 
  2784 if test $ac_prog_rejected = yes; then
  2785   # We found a bogon in the path, so make sure we never use it.
  2786   set dummy $ac_cv_prog_CC
  2787   shift
  2788   if test $# != 0; then
  2789     # We chose a different compiler from the bogus one.
  2790     # However, it has the same basename, so the bogon will be chosen
  2791     # first if we set CC to just the basename; use the full file name.
  2792     shift
  2793     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2794   fi
  2795 fi
  2796 fi
  2797 fi
  2798 CC=$ac_cv_prog_CC
  2799 if test -n "$CC"; then
  2800   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2801 $as_echo "$CC" >&6; }
  2802 else
  2803   { $as_echo "$as_me:$LINENO: result: no" >&5
  2804 $as_echo "no" >&6; }
  2805 fi
  2806 
  2807 
  2808 fi
  2809 if test -z "$CC"; then
  2810   if test -n "$ac_tool_prefix"; then
  2811   for ac_prog in cl.exe
  2812   do
  2813     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2814 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2815 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2816 $as_echo_n "checking for $ac_word... " >&6; }
  2817 if test "${ac_cv_prog_CC+set}" = set; then
  2818   $as_echo_n "(cached) " >&6
  2819 else
  2820   if test -n "$CC"; then
  2821   ac_cv_prog_CC="$CC" # Let the user override the test.
  2822 else
  2823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2824 for as_dir in $PATH
  2825 do
  2826   IFS=$as_save_IFS
  2827   test -z "$as_dir" && as_dir=.
  2828   for ac_exec_ext in '' $ac_executable_extensions; do
  2829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2830     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2831     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2832     break 2
  2833   fi
  2834 done
  2835 done
  2836 IFS=$as_save_IFS
  2837 
  2838 fi
  2839 fi
  2840 CC=$ac_cv_prog_CC
  2841 if test -n "$CC"; then
  2842   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2843 $as_echo "$CC" >&6; }
  2844 else
  2845   { $as_echo "$as_me:$LINENO: result: no" >&5
  2846 $as_echo "no" >&6; }
  2847 fi
  2848 
  2849 
  2850     test -n "$CC" && break
  2851   done
  2852 fi
  2853 if test -z "$CC"; then
  2854   ac_ct_CC=$CC
  2855   for ac_prog in cl.exe
  2856 do
  2857   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2858 set dummy $ac_prog; ac_word=$2
  2859 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2860 $as_echo_n "checking for $ac_word... " >&6; }
  2861 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2862   $as_echo_n "(cached) " >&6
  2863 else
  2864   if test -n "$ac_ct_CC"; then
  2865   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2866 else
  2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2868 for as_dir in $PATH
  2869 do
  2870   IFS=$as_save_IFS
  2871   test -z "$as_dir" && as_dir=.
  2872   for ac_exec_ext in '' $ac_executable_extensions; do
  2873   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2874     ac_cv_prog_ac_ct_CC="$ac_prog"
  2875     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2876     break 2
  2877   fi
  2878 done
  2879 done
  2880 IFS=$as_save_IFS
  2881 
  2882 fi
  2883 fi
  2884 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2885 if test -n "$ac_ct_CC"; then
  2886   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2887 $as_echo "$ac_ct_CC" >&6; }
  2888 else
  2889   { $as_echo "$as_me:$LINENO: result: no" >&5
  2890 $as_echo "no" >&6; }
  2891 fi
  2892 
  2893 
  2894   test -n "$ac_ct_CC" && break
  2895 done
  2896 
  2897   if test "x$ac_ct_CC" = x; then
  2898     CC=""
  2899   else
  2900     case $cross_compiling:$ac_tool_warned in
  2901 yes:)
  2902 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2904 ac_tool_warned=yes ;;
  2905 esac
  2906     CC=$ac_ct_CC
  2907   fi
  2908 fi
  2909 
  2910 fi
  2911 
  2912 
  2913 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2914 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2915 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2916 See \`config.log' for more details." >&5
  2917 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2918 See \`config.log' for more details." >&2;}
  2919    { (exit 1); exit 1; }; }; }
  2920 
  2921 # Provide some information about the compiler.
  2922 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2923 set X $ac_compile
  2924 ac_compiler=$2
  2925 { (ac_try="$ac_compiler --version >&5"
  2926 case "(($ac_try" in
  2927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2928   *) ac_try_echo=$ac_try;;
  2929 esac
  2930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2931 $as_echo "$ac_try_echo") >&5
  2932   (eval "$ac_compiler --version >&5") 2>&5
  2933   ac_status=$?
  2934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2935   (exit $ac_status); }
  2936 { (ac_try="$ac_compiler -v >&5"
  2937 case "(($ac_try" in
  2938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2939   *) ac_try_echo=$ac_try;;
  2940 esac
  2941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2942 $as_echo "$ac_try_echo") >&5
  2943   (eval "$ac_compiler -v >&5") 2>&5
  2944   ac_status=$?
  2945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2946   (exit $ac_status); }
  2947 { (ac_try="$ac_compiler -V >&5"
  2948 case "(($ac_try" in
  2949   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2950   *) ac_try_echo=$ac_try;;
  2951 esac
  2952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2953 $as_echo "$ac_try_echo") >&5
  2954   (eval "$ac_compiler -V >&5") 2>&5
  2955   ac_status=$?
  2956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2957   (exit $ac_status); }
  2958 
  2959 cat >conftest.$ac_ext <<_ACEOF
  2960 /* confdefs.h.  */
  2961 _ACEOF
  2962 cat confdefs.h >>conftest.$ac_ext
  2963 cat >>conftest.$ac_ext <<_ACEOF
  2964 /* end confdefs.h.  */
  2965 
  2966 int
  2967 main ()
  2968 {
  2969 
  2970   ;
  2971   return 0;
  2972 }
  2973 _ACEOF
  2974 ac_clean_files_save=$ac_clean_files
  2975 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2976 # Try to create an executable without -o first, disregard a.out.
  2977 # It will help us diagnose broken compilers, and finding out an intuition
  2978 # of exeext.
  2979 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2980 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2981 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2982 
  2983 # The possible output files:
  2984 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2985 
  2986 ac_rmfiles=
  2987 for ac_file in $ac_files
  2988 do
  2989   case $ac_file in
  2990     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2991     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2992   esac
  2993 done
  2994 rm -f $ac_rmfiles
  2995 
  2996 if { (ac_try="$ac_link_default"
  2997 case "(($ac_try" in
  2998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2999   *) ac_try_echo=$ac_try;;
  3000 esac
  3001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3002 $as_echo "$ac_try_echo") >&5
  3003   (eval "$ac_link_default") 2>&5
  3004   ac_status=$?
  3005   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3006   (exit $ac_status); }; then
  3007   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3008 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3009 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3010 # so that the user can short-circuit this test for compilers unknown to
  3011 # Autoconf.
  3012 for ac_file in $ac_files ''
  3013 do
  3014   test -f "$ac_file" || continue
  3015   case $ac_file in
  3016     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3017 	;;
  3018     [ab].out )
  3019 	# We found the default executable, but exeext='' is most
  3020 	# certainly right.
  3021 	break;;
  3022     *.* )
  3023         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3024 	then :; else
  3025 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3026 	fi
  3027 	# We set ac_cv_exeext here because the later test for it is not
  3028 	# safe: cross compilers may not add the suffix if given an `-o'
  3029 	# argument, so we may need to know it at that point already.
  3030 	# Even if this section looks crufty: it has the advantage of
  3031 	# actually working.
  3032 	break;;
  3033     * )
  3034 	break;;
  3035   esac
  3036 done
  3037 test "$ac_cv_exeext" = no && ac_cv_exeext=
  3038 
  3039 else
  3040   ac_file=''
  3041 fi
  3042 
  3043 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  3044 $as_echo "$ac_file" >&6; }
  3045 if test -z "$ac_file"; then
  3046   $as_echo "$as_me: failed program was:" >&5
  3047 sed 's/^/| /' conftest.$ac_ext >&5
  3048 
  3049 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3050 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3051 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  3052 See \`config.log' for more details." >&5
  3053 $as_echo "$as_me: error: C compiler cannot create executables
  3054 See \`config.log' for more details." >&2;}
  3055    { (exit 77); exit 77; }; }; }
  3056 fi
  3057 
  3058 ac_exeext=$ac_cv_exeext
  3059 
  3060 # Check that the compiler produces executables we can run.  If not, either
  3061 # the compiler is broken, or we cross compile.
  3062 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  3063 $as_echo_n "checking whether the C compiler works... " >&6; }
  3064 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  3065 # If not cross compiling, check that we can run a simple program.
  3066 if test "$cross_compiling" != yes; then
  3067   if { ac_try='./$ac_file'
  3068   { (case "(($ac_try" in
  3069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3070   *) ac_try_echo=$ac_try;;
  3071 esac
  3072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3073 $as_echo "$ac_try_echo") >&5
  3074   (eval "$ac_try") 2>&5
  3075   ac_status=$?
  3076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3077   (exit $ac_status); }; }; then
  3078     cross_compiling=no
  3079   else
  3080     if test "$cross_compiling" = maybe; then
  3081 	cross_compiling=yes
  3082     else
  3083 	{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3084 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3085 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3086 If you meant to cross compile, use \`--host'.
  3087 See \`config.log' for more details." >&5
  3088 $as_echo "$as_me: error: cannot run C compiled programs.
  3089 If you meant to cross compile, use \`--host'.
  3090 See \`config.log' for more details." >&2;}
  3091    { (exit 1); exit 1; }; }; }
  3092     fi
  3093   fi
  3094 fi
  3095 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3096 $as_echo "yes" >&6; }
  3097 
  3098 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3099 ac_clean_files=$ac_clean_files_save
  3100 # Check that the compiler produces executables we can run.  If not, either
  3101 # the compiler is broken, or we cross compile.
  3102 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3103 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3104 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3105 $as_echo "$cross_compiling" >&6; }
  3106 
  3107 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3108 $as_echo_n "checking for suffix of executables... " >&6; }
  3109 if { (ac_try="$ac_link"
  3110 case "(($ac_try" in
  3111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3112   *) ac_try_echo=$ac_try;;
  3113 esac
  3114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3115 $as_echo "$ac_try_echo") >&5
  3116   (eval "$ac_link") 2>&5
  3117   ac_status=$?
  3118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3119   (exit $ac_status); }; then
  3120   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3121 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3122 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3123 # `rm'.
  3124 for ac_file in conftest.exe conftest conftest.*; do
  3125   test -f "$ac_file" || continue
  3126   case $ac_file in
  3127     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3128     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3129 	  break;;
  3130     * ) break;;
  3131   esac
  3132 done
  3133 else
  3134   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3136 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3137 See \`config.log' for more details." >&5
  3138 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3139 See \`config.log' for more details." >&2;}
  3140    { (exit 1); exit 1; }; }; }
  3141 fi
  3142 
  3143 rm -f conftest$ac_cv_exeext
  3144 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3145 $as_echo "$ac_cv_exeext" >&6; }
  3146 
  3147 rm -f conftest.$ac_ext
  3148 EXEEXT=$ac_cv_exeext
  3149 ac_exeext=$EXEEXT
  3150 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3151 $as_echo_n "checking for suffix of object files... " >&6; }
  3152 if test "${ac_cv_objext+set}" = set; then
  3153   $as_echo_n "(cached) " >&6
  3154 else
  3155   cat >conftest.$ac_ext <<_ACEOF
  3156 /* confdefs.h.  */
  3157 _ACEOF
  3158 cat confdefs.h >>conftest.$ac_ext
  3159 cat >>conftest.$ac_ext <<_ACEOF
  3160 /* end confdefs.h.  */
  3161 
  3162 int
  3163 main ()
  3164 {
  3165 
  3166   ;
  3167   return 0;
  3168 }
  3169 _ACEOF
  3170 rm -f conftest.o conftest.obj
  3171 if { (ac_try="$ac_compile"
  3172 case "(($ac_try" in
  3173   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3174   *) ac_try_echo=$ac_try;;
  3175 esac
  3176 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3177 $as_echo "$ac_try_echo") >&5
  3178   (eval "$ac_compile") 2>&5
  3179   ac_status=$?
  3180   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3181   (exit $ac_status); }; then
  3182   for ac_file in conftest.o conftest.obj conftest.*; do
  3183   test -f "$ac_file" || continue;
  3184   case $ac_file in
  3185     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3186     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3187        break;;
  3188   esac
  3189 done
  3190 else
  3191   $as_echo "$as_me: failed program was:" >&5
  3192 sed 's/^/| /' conftest.$ac_ext >&5
  3193 
  3194 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3196 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3197 See \`config.log' for more details." >&5
  3198 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3199 See \`config.log' for more details." >&2;}
  3200    { (exit 1); exit 1; }; }; }
  3201 fi
  3202 
  3203 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3204 fi
  3205 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3206 $as_echo "$ac_cv_objext" >&6; }
  3207 OBJEXT=$ac_cv_objext
  3208 ac_objext=$OBJEXT
  3209 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3210 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3211 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3212   $as_echo_n "(cached) " >&6
  3213 else
  3214   cat >conftest.$ac_ext <<_ACEOF
  3215 /* confdefs.h.  */
  3216 _ACEOF
  3217 cat confdefs.h >>conftest.$ac_ext
  3218 cat >>conftest.$ac_ext <<_ACEOF
  3219 /* end confdefs.h.  */
  3220 
  3221 int
  3222 main ()
  3223 {
  3224 #ifndef __GNUC__
  3225        choke me
  3226 #endif
  3227 
  3228   ;
  3229   return 0;
  3230 }
  3231 _ACEOF
  3232 rm -f conftest.$ac_objext
  3233 if { (ac_try="$ac_compile"
  3234 case "(($ac_try" in
  3235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3236   *) ac_try_echo=$ac_try;;
  3237 esac
  3238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3239 $as_echo "$ac_try_echo") >&5
  3240   (eval "$ac_compile") 2>conftest.er1
  3241   ac_status=$?
  3242   grep -v '^ *+' conftest.er1 >conftest.err
  3243   rm -f conftest.er1
  3244   cat conftest.err >&5
  3245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3246   (exit $ac_status); } && {
  3247 	 test -z "$ac_c_werror_flag" ||
  3248 	 test ! -s conftest.err
  3249        } && test -s conftest.$ac_objext; then
  3250   ac_compiler_gnu=yes
  3251 else
  3252   $as_echo "$as_me: failed program was:" >&5
  3253 sed 's/^/| /' conftest.$ac_ext >&5
  3254 
  3255 	ac_compiler_gnu=no
  3256 fi
  3257 
  3258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3259 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3260 
  3261 fi
  3262 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3263 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3264 if test $ac_compiler_gnu = yes; then
  3265   GCC=yes
  3266 else
  3267   GCC=
  3268 fi
  3269 ac_test_CFLAGS=${CFLAGS+set}
  3270 ac_save_CFLAGS=$CFLAGS
  3271 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3272 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3273 if test "${ac_cv_prog_cc_g+set}" = set; then
  3274   $as_echo_n "(cached) " >&6
  3275 else
  3276   ac_save_c_werror_flag=$ac_c_werror_flag
  3277    ac_c_werror_flag=yes
  3278    ac_cv_prog_cc_g=no
  3279    CFLAGS="-g"
  3280    cat >conftest.$ac_ext <<_ACEOF
  3281 /* confdefs.h.  */
  3282 _ACEOF
  3283 cat confdefs.h >>conftest.$ac_ext
  3284 cat >>conftest.$ac_ext <<_ACEOF
  3285 /* end confdefs.h.  */
  3286 
  3287 int
  3288 main ()
  3289 {
  3290 
  3291   ;
  3292   return 0;
  3293 }
  3294 _ACEOF
  3295 rm -f conftest.$ac_objext
  3296 if { (ac_try="$ac_compile"
  3297 case "(($ac_try" in
  3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3299   *) ac_try_echo=$ac_try;;
  3300 esac
  3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3302 $as_echo "$ac_try_echo") >&5
  3303   (eval "$ac_compile") 2>conftest.er1
  3304   ac_status=$?
  3305   grep -v '^ *+' conftest.er1 >conftest.err
  3306   rm -f conftest.er1
  3307   cat conftest.err >&5
  3308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3309   (exit $ac_status); } && {
  3310 	 test -z "$ac_c_werror_flag" ||
  3311 	 test ! -s conftest.err
  3312        } && test -s conftest.$ac_objext; then
  3313   ac_cv_prog_cc_g=yes
  3314 else
  3315   $as_echo "$as_me: failed program was:" >&5
  3316 sed 's/^/| /' conftest.$ac_ext >&5
  3317 
  3318 	CFLAGS=""
  3319       cat >conftest.$ac_ext <<_ACEOF
  3320 /* confdefs.h.  */
  3321 _ACEOF
  3322 cat confdefs.h >>conftest.$ac_ext
  3323 cat >>conftest.$ac_ext <<_ACEOF
  3324 /* end confdefs.h.  */
  3325 
  3326 int
  3327 main ()
  3328 {
  3329 
  3330   ;
  3331   return 0;
  3332 }
  3333 _ACEOF
  3334 rm -f conftest.$ac_objext
  3335 if { (ac_try="$ac_compile"
  3336 case "(($ac_try" in
  3337   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3338   *) ac_try_echo=$ac_try;;
  3339 esac
  3340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3341 $as_echo "$ac_try_echo") >&5
  3342   (eval "$ac_compile") 2>conftest.er1
  3343   ac_status=$?
  3344   grep -v '^ *+' conftest.er1 >conftest.err
  3345   rm -f conftest.er1
  3346   cat conftest.err >&5
  3347   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3348   (exit $ac_status); } && {
  3349 	 test -z "$ac_c_werror_flag" ||
  3350 	 test ! -s conftest.err
  3351        } && test -s conftest.$ac_objext; then
  3352   :
  3353 else
  3354   $as_echo "$as_me: failed program was:" >&5
  3355 sed 's/^/| /' conftest.$ac_ext >&5
  3356 
  3357 	ac_c_werror_flag=$ac_save_c_werror_flag
  3358 	 CFLAGS="-g"
  3359 	 cat >conftest.$ac_ext <<_ACEOF
  3360 /* confdefs.h.  */
  3361 _ACEOF
  3362 cat confdefs.h >>conftest.$ac_ext
  3363 cat >>conftest.$ac_ext <<_ACEOF
  3364 /* end confdefs.h.  */
  3365 
  3366 int
  3367 main ()
  3368 {
  3369 
  3370   ;
  3371   return 0;
  3372 }
  3373 _ACEOF
  3374 rm -f conftest.$ac_objext
  3375 if { (ac_try="$ac_compile"
  3376 case "(($ac_try" in
  3377   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3378   *) ac_try_echo=$ac_try;;
  3379 esac
  3380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3381 $as_echo "$ac_try_echo") >&5
  3382   (eval "$ac_compile") 2>conftest.er1
  3383   ac_status=$?
  3384   grep -v '^ *+' conftest.er1 >conftest.err
  3385   rm -f conftest.er1
  3386   cat conftest.err >&5
  3387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3388   (exit $ac_status); } && {
  3389 	 test -z "$ac_c_werror_flag" ||
  3390 	 test ! -s conftest.err
  3391        } && test -s conftest.$ac_objext; then
  3392   ac_cv_prog_cc_g=yes
  3393 else
  3394   $as_echo "$as_me: failed program was:" >&5
  3395 sed 's/^/| /' conftest.$ac_ext >&5
  3396 
  3397 
  3398 fi
  3399 
  3400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3401 fi
  3402 
  3403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3404 fi
  3405 
  3406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3407    ac_c_werror_flag=$ac_save_c_werror_flag
  3408 fi
  3409 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3410 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3411 if test "$ac_test_CFLAGS" = set; then
  3412   CFLAGS=$ac_save_CFLAGS
  3413 elif test $ac_cv_prog_cc_g = yes; then
  3414   if test "$GCC" = yes; then
  3415     CFLAGS="-g -O2"
  3416   else
  3417     CFLAGS="-g"
  3418   fi
  3419 else
  3420   if test "$GCC" = yes; then
  3421     CFLAGS="-O2"
  3422   else
  3423     CFLAGS=
  3424   fi
  3425 fi
  3426 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3427 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3428 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3429   $as_echo_n "(cached) " >&6
  3430 else
  3431   ac_cv_prog_cc_c89=no
  3432 ac_save_CC=$CC
  3433 cat >conftest.$ac_ext <<_ACEOF
  3434 /* confdefs.h.  */
  3435 _ACEOF
  3436 cat confdefs.h >>conftest.$ac_ext
  3437 cat >>conftest.$ac_ext <<_ACEOF
  3438 /* end confdefs.h.  */
  3439 #include <stdarg.h>
  3440 #include <stdio.h>
  3441 #include <sys/types.h>
  3442 #include <sys/stat.h>
  3443 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3444 struct buf { int x; };
  3445 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3446 static char *e (p, i)
  3447      char **p;
  3448      int i;
  3449 {
  3450   return p[i];
  3451 }
  3452 static char *f (char * (*g) (char **, int), char **p, ...)
  3453 {
  3454   char *s;
  3455   va_list v;
  3456   va_start (v,p);
  3457   s = g (p, va_arg (v,int));
  3458   va_end (v);
  3459   return s;
  3460 }
  3461 
  3462 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3463    function prototypes and stuff, but not '\xHH' hex character constants.
  3464    These don't provoke an error unfortunately, instead are silently treated
  3465    as 'x'.  The following induces an error, until -std is added to get
  3466    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3467    array size at least.  It's necessary to write '\x00'==0 to get something
  3468    that's true only with -std.  */
  3469 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3470 
  3471 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3472    inside strings and character constants.  */
  3473 #define FOO(x) 'x'
  3474 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3475 
  3476 int test (int i, double x);
  3477 struct s1 {int (*f) (int a);};
  3478 struct s2 {int (*f) (double a);};
  3479 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3480 int argc;
  3481 char **argv;
  3482 int
  3483 main ()
  3484 {
  3485 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3486   ;
  3487   return 0;
  3488 }
  3489 _ACEOF
  3490 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3491 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3492 do
  3493   CC="$ac_save_CC $ac_arg"
  3494   rm -f conftest.$ac_objext
  3495 if { (ac_try="$ac_compile"
  3496 case "(($ac_try" in
  3497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3498   *) ac_try_echo=$ac_try;;
  3499 esac
  3500 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3501 $as_echo "$ac_try_echo") >&5
  3502   (eval "$ac_compile") 2>conftest.er1
  3503   ac_status=$?
  3504   grep -v '^ *+' conftest.er1 >conftest.err
  3505   rm -f conftest.er1
  3506   cat conftest.err >&5
  3507   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3508   (exit $ac_status); } && {
  3509 	 test -z "$ac_c_werror_flag" ||
  3510 	 test ! -s conftest.err
  3511        } && test -s conftest.$ac_objext; then
  3512   ac_cv_prog_cc_c89=$ac_arg
  3513 else
  3514   $as_echo "$as_me: failed program was:" >&5
  3515 sed 's/^/| /' conftest.$ac_ext >&5
  3516 
  3517 
  3518 fi
  3519 
  3520 rm -f core conftest.err conftest.$ac_objext
  3521   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3522 done
  3523 rm -f conftest.$ac_ext
  3524 CC=$ac_save_CC
  3525 
  3526 fi
  3527 # AC_CACHE_VAL
  3528 case "x$ac_cv_prog_cc_c89" in
  3529   x)
  3530     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3531 $as_echo "none needed" >&6; } ;;
  3532   xno)
  3533     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3534 $as_echo "unsupported" >&6; } ;;
  3535   *)
  3536     CC="$CC $ac_cv_prog_cc_c89"
  3537     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3538 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3539 esac
  3540 
  3541 
  3542 ac_ext=c
  3543 ac_cpp='$CPP $CPPFLAGS'
  3544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3547 DEPDIR="${am__leading_dot}deps"
  3548 
  3549 ac_config_commands="$ac_config_commands depfiles"
  3550 
  3551 
  3552 am_make=${MAKE-make}
  3553 cat > confinc << 'END'
  3554 am__doit:
  3555 	@echo done
  3556 .PHONY: am__doit
  3557 END
  3558 # If we don't find an include directive, just comment out the code.
  3559 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3560 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3561 am__include="#"
  3562 am__quote=
  3563 _am_result=none
  3564 # First try GNU make style include.
  3565 echo "include confinc" > confmf
  3566 # We grep out `Entering directory' and `Leaving directory'
  3567 # messages which can occur if `w' ends up in MAKEFLAGS.
  3568 # In particular we don't look at `^make:' because GNU make might
  3569 # be invoked under some other name (usually "gmake"), in which
  3570 # case it prints its new name instead of `make'.
  3571 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  3572    am__include=include
  3573    am__quote=
  3574    _am_result=GNU
  3575 fi
  3576 # Now try BSD make style include.
  3577 if test "$am__include" = "#"; then
  3578    echo '.include "confinc"' > confmf
  3579    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  3580       am__include=.include
  3581       am__quote="\""
  3582       _am_result=BSD
  3583    fi
  3584 fi
  3585 
  3586 
  3587 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  3588 $as_echo "$_am_result" >&6; }
  3589 rm -f confinc confmf
  3590 
  3591 # Check whether --enable-dependency-tracking was given.
  3592 if test "${enable_dependency_tracking+set}" = set; then
  3593   enableval=$enable_dependency_tracking;
  3594 fi
  3595 
  3596 if test "x$enable_dependency_tracking" != xno; then
  3597   am_depcomp="$ac_aux_dir/depcomp"
  3598   AMDEPBACKSLASH='\'
  3599 fi
  3600  if test "x$enable_dependency_tracking" != xno; then
  3601   AMDEP_TRUE=
  3602   AMDEP_FALSE='#'
  3603 else
  3604   AMDEP_TRUE='#'
  3605   AMDEP_FALSE=
  3606 fi
  3607 
  3608 
  3609 
  3610 depcc="$CC"   am_compiler_list=
  3611 
  3612 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3613 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3614 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3615   $as_echo_n "(cached) " >&6
  3616 else
  3617   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3618   # We make a subdir and do the tests there.  Otherwise we can end up
  3619   # making bogus files that we don't know about and never remove.  For
  3620   # instance it was reported that on HP-UX the gcc test will end up
  3621   # making a dummy file named `D' -- because `-MD' means `put the output
  3622   # in D'.
  3623   mkdir conftest.dir
  3624   # Copy depcomp to subdir because otherwise we won't find it if we're
  3625   # using a relative directory.
  3626   cp "$am_depcomp" conftest.dir
  3627   cd conftest.dir
  3628   # We will build objects and dependencies in a subdirectory because
  3629   # it helps to detect inapplicable dependency modes.  For instance
  3630   # both Tru64's cc and ICC support -MD to output dependencies as a
  3631   # side effect of compilation, but ICC will put the dependencies in
  3632   # the current directory while Tru64 will put them in the object
  3633   # directory.
  3634   mkdir sub
  3635 
  3636   am_cv_CC_dependencies_compiler_type=none
  3637   if test "$am_compiler_list" = ""; then
  3638      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3639   fi
  3640   for depmode in $am_compiler_list; do
  3641     # Setup a source with many dependencies, because some compilers
  3642     # like to wrap large dependency lists on column 80 (with \), and
  3643     # we should not choose a depcomp mode which is confused by this.
  3644     #
  3645     # We need to recreate these files for each test, as the compiler may
  3646     # overwrite some of them when testing with obscure command lines.
  3647     # This happens at least with the AIX C compiler.
  3648     : > sub/conftest.c
  3649     for i in 1 2 3 4 5 6; do
  3650       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3651       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3652       # Solaris 8's {/usr,}/bin/sh.
  3653       touch sub/conftst$i.h
  3654     done
  3655     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3656 
  3657     case $depmode in
  3658     nosideeffect)
  3659       # after this tag, mechanisms are not by side-effect, so they'll
  3660       # only be used when explicitly requested
  3661       if test "x$enable_dependency_tracking" = xyes; then
  3662 	continue
  3663       else
  3664 	break
  3665       fi
  3666       ;;
  3667     none) break ;;
  3668     esac
  3669     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3670     # mode.  It turns out that the SunPro C++ compiler does not properly
  3671     # handle `-M -o', and we need to detect this.
  3672     if depmode=$depmode \
  3673        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3674        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3675        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3676          >/dev/null 2>conftest.err &&
  3677        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3678        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3679        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3680        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3681       # icc doesn't choke on unknown options, it will just issue warnings
  3682       # or remarks (even with -Werror).  So we grep stderr for any message
  3683       # that says an option was ignored or not supported.
  3684       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3685       #   icc: Command line warning: ignoring option '-M'; no argument required
  3686       # The diagnosis changed in icc 8.0:
  3687       #   icc: Command line remark: option '-MP' not supported
  3688       if (grep 'ignoring option' conftest.err ||
  3689           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3690         am_cv_CC_dependencies_compiler_type=$depmode
  3691         break
  3692       fi
  3693     fi
  3694   done
  3695 
  3696   cd ..
  3697   rm -rf conftest.dir
  3698 else
  3699   am_cv_CC_dependencies_compiler_type=none
  3700 fi
  3701 
  3702 fi
  3703 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3704 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3705 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3706 
  3707  if
  3708   test "x$enable_dependency_tracking" != xno \
  3709   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3710   am__fastdepCC_TRUE=
  3711   am__fastdepCC_FALSE='#'
  3712 else
  3713   am__fastdepCC_TRUE='#'
  3714   am__fastdepCC_FALSE=
  3715 fi
  3716 
  3717 
  3718 ac_ext=cpp
  3719 ac_cpp='$CXXCPP $CPPFLAGS'
  3720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  3723 if test -z "$CXX"; then
  3724   if test -n "$CCC"; then
  3725     CXX=$CCC
  3726   else
  3727     if test -n "$ac_tool_prefix"; then
  3728   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  3729   do
  3730     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3732 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3733 $as_echo_n "checking for $ac_word... " >&6; }
  3734 if test "${ac_cv_prog_CXX+set}" = set; then
  3735   $as_echo_n "(cached) " >&6
  3736 else
  3737   if test -n "$CXX"; then
  3738   ac_cv_prog_CXX="$CXX" # Let the user override the test.
  3739 else
  3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3741 for as_dir in $PATH
  3742 do
  3743   IFS=$as_save_IFS
  3744   test -z "$as_dir" && as_dir=.
  3745   for ac_exec_ext in '' $ac_executable_extensions; do
  3746   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3747     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  3748     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3749     break 2
  3750   fi
  3751 done
  3752 done
  3753 IFS=$as_save_IFS
  3754 
  3755 fi
  3756 fi
  3757 CXX=$ac_cv_prog_CXX
  3758 if test -n "$CXX"; then
  3759   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
  3760 $as_echo "$CXX" >&6; }
  3761 else
  3762   { $as_echo "$as_me:$LINENO: result: no" >&5
  3763 $as_echo "no" >&6; }
  3764 fi
  3765 
  3766 
  3767     test -n "$CXX" && break
  3768   done
  3769 fi
  3770 if test -z "$CXX"; then
  3771   ac_ct_CXX=$CXX
  3772   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  3773 do
  3774   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3775 set dummy $ac_prog; ac_word=$2
  3776 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3777 $as_echo_n "checking for $ac_word... " >&6; }
  3778 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  3779   $as_echo_n "(cached) " >&6
  3780 else
  3781   if test -n "$ac_ct_CXX"; then
  3782   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  3783 else
  3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3785 for as_dir in $PATH
  3786 do
  3787   IFS=$as_save_IFS
  3788   test -z "$as_dir" && as_dir=.
  3789   for ac_exec_ext in '' $ac_executable_extensions; do
  3790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3791     ac_cv_prog_ac_ct_CXX="$ac_prog"
  3792     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3793     break 2
  3794   fi
  3795 done
  3796 done
  3797 IFS=$as_save_IFS
  3798 
  3799 fi
  3800 fi
  3801 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  3802 if test -n "$ac_ct_CXX"; then
  3803   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  3804 $as_echo "$ac_ct_CXX" >&6; }
  3805 else
  3806   { $as_echo "$as_me:$LINENO: result: no" >&5
  3807 $as_echo "no" >&6; }
  3808 fi
  3809 
  3810 
  3811   test -n "$ac_ct_CXX" && break
  3812 done
  3813 
  3814   if test "x$ac_ct_CXX" = x; then
  3815     CXX="g++"
  3816   else
  3817     case $cross_compiling:$ac_tool_warned in
  3818 yes:)
  3819 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  3820 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3821 ac_tool_warned=yes ;;
  3822 esac
  3823     CXX=$ac_ct_CXX
  3824   fi
  3825 fi
  3826 
  3827   fi
  3828 fi
  3829 # Provide some information about the compiler.
  3830 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  3831 set X $ac_compile
  3832 ac_compiler=$2
  3833 { (ac_try="$ac_compiler --version >&5"
  3834 case "(($ac_try" in
  3835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3836   *) ac_try_echo=$ac_try;;
  3837 esac
  3838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3839 $as_echo "$ac_try_echo") >&5
  3840   (eval "$ac_compiler --version >&5") 2>&5
  3841   ac_status=$?
  3842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3843   (exit $ac_status); }
  3844 { (ac_try="$ac_compiler -v >&5"
  3845 case "(($ac_try" in
  3846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3847   *) ac_try_echo=$ac_try;;
  3848 esac
  3849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3850 $as_echo "$ac_try_echo") >&5
  3851   (eval "$ac_compiler -v >&5") 2>&5
  3852   ac_status=$?
  3853   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3854   (exit $ac_status); }
  3855 { (ac_try="$ac_compiler -V >&5"
  3856 case "(($ac_try" in
  3857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3858   *) ac_try_echo=$ac_try;;
  3859 esac
  3860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3861 $as_echo "$ac_try_echo") >&5
  3862   (eval "$ac_compiler -V >&5") 2>&5
  3863   ac_status=$?
  3864   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3865   (exit $ac_status); }
  3866 
  3867 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  3868 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  3869 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  3870   $as_echo_n "(cached) " >&6
  3871 else
  3872   cat >conftest.$ac_ext <<_ACEOF
  3873 /* confdefs.h.  */
  3874 _ACEOF
  3875 cat confdefs.h >>conftest.$ac_ext
  3876 cat >>conftest.$ac_ext <<_ACEOF
  3877 /* end confdefs.h.  */
  3878 
  3879 int
  3880 main ()
  3881 {
  3882 #ifndef __GNUC__
  3883        choke me
  3884 #endif
  3885 
  3886   ;
  3887   return 0;
  3888 }
  3889 _ACEOF
  3890 rm -f conftest.$ac_objext
  3891 if { (ac_try="$ac_compile"
  3892 case "(($ac_try" in
  3893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3894   *) ac_try_echo=$ac_try;;
  3895 esac
  3896 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3897 $as_echo "$ac_try_echo") >&5
  3898   (eval "$ac_compile") 2>conftest.er1
  3899   ac_status=$?
  3900   grep -v '^ *+' conftest.er1 >conftest.err
  3901   rm -f conftest.er1
  3902   cat conftest.err >&5
  3903   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3904   (exit $ac_status); } && {
  3905 	 test -z "$ac_cxx_werror_flag" ||
  3906 	 test ! -s conftest.err
  3907        } && test -s conftest.$ac_objext; then
  3908   ac_compiler_gnu=yes
  3909 else
  3910   $as_echo "$as_me: failed program was:" >&5
  3911 sed 's/^/| /' conftest.$ac_ext >&5
  3912 
  3913 	ac_compiler_gnu=no
  3914 fi
  3915 
  3916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3917 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  3918 
  3919 fi
  3920 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  3921 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  3922 if test $ac_compiler_gnu = yes; then
  3923   GXX=yes
  3924 else
  3925   GXX=
  3926 fi
  3927 ac_test_CXXFLAGS=${CXXFLAGS+set}
  3928 ac_save_CXXFLAGS=$CXXFLAGS
  3929 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  3930 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  3931 if test "${ac_cv_prog_cxx_g+set}" = set; then
  3932   $as_echo_n "(cached) " >&6
  3933 else
  3934   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  3935    ac_cxx_werror_flag=yes
  3936    ac_cv_prog_cxx_g=no
  3937    CXXFLAGS="-g"
  3938    cat >conftest.$ac_ext <<_ACEOF
  3939 /* confdefs.h.  */
  3940 _ACEOF
  3941 cat confdefs.h >>conftest.$ac_ext
  3942 cat >>conftest.$ac_ext <<_ACEOF
  3943 /* end confdefs.h.  */
  3944 
  3945 int
  3946 main ()
  3947 {
  3948 
  3949   ;
  3950   return 0;
  3951 }
  3952 _ACEOF
  3953 rm -f conftest.$ac_objext
  3954 if { (ac_try="$ac_compile"
  3955 case "(($ac_try" in
  3956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3957   *) ac_try_echo=$ac_try;;
  3958 esac
  3959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3960 $as_echo "$ac_try_echo") >&5
  3961   (eval "$ac_compile") 2>conftest.er1
  3962   ac_status=$?
  3963   grep -v '^ *+' conftest.er1 >conftest.err
  3964   rm -f conftest.er1
  3965   cat conftest.err >&5
  3966   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3967   (exit $ac_status); } && {
  3968 	 test -z "$ac_cxx_werror_flag" ||
  3969 	 test ! -s conftest.err
  3970        } && test -s conftest.$ac_objext; then
  3971   ac_cv_prog_cxx_g=yes
  3972 else
  3973   $as_echo "$as_me: failed program was:" >&5
  3974 sed 's/^/| /' conftest.$ac_ext >&5
  3975 
  3976 	CXXFLAGS=""
  3977       cat >conftest.$ac_ext <<_ACEOF
  3978 /* confdefs.h.  */
  3979 _ACEOF
  3980 cat confdefs.h >>conftest.$ac_ext
  3981 cat >>conftest.$ac_ext <<_ACEOF
  3982 /* end confdefs.h.  */
  3983 
  3984 int
  3985 main ()
  3986 {
  3987 
  3988   ;
  3989   return 0;
  3990 }
  3991 _ACEOF
  3992 rm -f conftest.$ac_objext
  3993 if { (ac_try="$ac_compile"
  3994 case "(($ac_try" in
  3995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3996   *) ac_try_echo=$ac_try;;
  3997 esac
  3998 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3999 $as_echo "$ac_try_echo") >&5
  4000   (eval "$ac_compile") 2>conftest.er1
  4001   ac_status=$?
  4002   grep -v '^ *+' conftest.er1 >conftest.err
  4003   rm -f conftest.er1
  4004   cat conftest.err >&5
  4005   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4006   (exit $ac_status); } && {
  4007 	 test -z "$ac_cxx_werror_flag" ||
  4008 	 test ! -s conftest.err
  4009        } && test -s conftest.$ac_objext; then
  4010   :
  4011 else
  4012   $as_echo "$as_me: failed program was:" >&5
  4013 sed 's/^/| /' conftest.$ac_ext >&5
  4014 
  4015 	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4016 	 CXXFLAGS="-g"
  4017 	 cat >conftest.$ac_ext <<_ACEOF
  4018 /* confdefs.h.  */
  4019 _ACEOF
  4020 cat confdefs.h >>conftest.$ac_ext
  4021 cat >>conftest.$ac_ext <<_ACEOF
  4022 /* end confdefs.h.  */
  4023 
  4024 int
  4025 main ()
  4026 {
  4027 
  4028   ;
  4029   return 0;
  4030 }
  4031 _ACEOF
  4032 rm -f conftest.$ac_objext
  4033 if { (ac_try="$ac_compile"
  4034 case "(($ac_try" in
  4035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4036   *) ac_try_echo=$ac_try;;
  4037 esac
  4038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4039 $as_echo "$ac_try_echo") >&5
  4040   (eval "$ac_compile") 2>conftest.er1
  4041   ac_status=$?
  4042   grep -v '^ *+' conftest.er1 >conftest.err
  4043   rm -f conftest.er1
  4044   cat conftest.err >&5
  4045   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4046   (exit $ac_status); } && {
  4047 	 test -z "$ac_cxx_werror_flag" ||
  4048 	 test ! -s conftest.err
  4049        } && test -s conftest.$ac_objext; then
  4050   ac_cv_prog_cxx_g=yes
  4051 else
  4052   $as_echo "$as_me: failed program was:" >&5
  4053 sed 's/^/| /' conftest.$ac_ext >&5
  4054 
  4055 
  4056 fi
  4057 
  4058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4059 fi
  4060 
  4061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4062 fi
  4063 
  4064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4065    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4066 fi
  4067 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  4068 $as_echo "$ac_cv_prog_cxx_g" >&6; }
  4069 if test "$ac_test_CXXFLAGS" = set; then
  4070   CXXFLAGS=$ac_save_CXXFLAGS
  4071 elif test $ac_cv_prog_cxx_g = yes; then
  4072   if test "$GXX" = yes; then
  4073     CXXFLAGS="-g -O2"
  4074   else
  4075     CXXFLAGS="-g"
  4076   fi
  4077 else
  4078   if test "$GXX" = yes; then
  4079     CXXFLAGS="-O2"
  4080   else
  4081     CXXFLAGS=
  4082   fi
  4083 fi
  4084 ac_ext=c
  4085 ac_cpp='$CPP $CPPFLAGS'
  4086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4089 
  4090 depcc="$CXX"  am_compiler_list=
  4091 
  4092 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4093 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4094 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  4095   $as_echo_n "(cached) " >&6
  4096 else
  4097   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4098   # We make a subdir and do the tests there.  Otherwise we can end up
  4099   # making bogus files that we don't know about and never remove.  For
  4100   # instance it was reported that on HP-UX the gcc test will end up
  4101   # making a dummy file named `D' -- because `-MD' means `put the output
  4102   # in D'.
  4103   mkdir conftest.dir
  4104   # Copy depcomp to subdir because otherwise we won't find it if we're
  4105   # using a relative directory.
  4106   cp "$am_depcomp" conftest.dir
  4107   cd conftest.dir
  4108   # We will build objects and dependencies in a subdirectory because
  4109   # it helps to detect inapplicable dependency modes.  For instance
  4110   # both Tru64's cc and ICC support -MD to output dependencies as a
  4111   # side effect of compilation, but ICC will put the dependencies in
  4112   # the current directory while Tru64 will put them in the object
  4113   # directory.
  4114   mkdir sub
  4115 
  4116   am_cv_CXX_dependencies_compiler_type=none
  4117   if test "$am_compiler_list" = ""; then
  4118      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4119   fi
  4120   for depmode in $am_compiler_list; do
  4121     # Setup a source with many dependencies, because some compilers
  4122     # like to wrap large dependency lists on column 80 (with \), and
  4123     # we should not choose a depcomp mode which is confused by this.
  4124     #
  4125     # We need to recreate these files for each test, as the compiler may
  4126     # overwrite some of them when testing with obscure command lines.
  4127     # This happens at least with the AIX C compiler.
  4128     : > sub/conftest.c
  4129     for i in 1 2 3 4 5 6; do
  4130       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4131       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4132       # Solaris 8's {/usr,}/bin/sh.
  4133       touch sub/conftst$i.h
  4134     done
  4135     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4136 
  4137     case $depmode in
  4138     nosideeffect)
  4139       # after this tag, mechanisms are not by side-effect, so they'll
  4140       # only be used when explicitly requested
  4141       if test "x$enable_dependency_tracking" = xyes; then
  4142 	continue
  4143       else
  4144 	break
  4145       fi
  4146       ;;
  4147     none) break ;;
  4148     esac
  4149     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4150     # mode.  It turns out that the SunPro C++ compiler does not properly
  4151     # handle `-M -o', and we need to detect this.
  4152     if depmode=$depmode \
  4153        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4154        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4155        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4156          >/dev/null 2>conftest.err &&
  4157        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4158        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4159        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4160        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4161       # icc doesn't choke on unknown options, it will just issue warnings
  4162       # or remarks (even with -Werror).  So we grep stderr for any message
  4163       # that says an option was ignored or not supported.
  4164       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4165       #   icc: Command line warning: ignoring option '-M'; no argument required
  4166       # The diagnosis changed in icc 8.0:
  4167       #   icc: Command line remark: option '-MP' not supported
  4168       if (grep 'ignoring option' conftest.err ||
  4169           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4170         am_cv_CXX_dependencies_compiler_type=$depmode
  4171         break
  4172       fi
  4173     fi
  4174   done
  4175 
  4176   cd ..
  4177   rm -rf conftest.dir
  4178 else
  4179   am_cv_CXX_dependencies_compiler_type=none
  4180 fi
  4181 
  4182 fi
  4183 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  4184 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  4185 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  4186 
  4187  if
  4188   test "x$enable_dependency_tracking" != xno \
  4189   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  4190   am__fastdepCXX_TRUE=
  4191   am__fastdepCXX_FALSE='#'
  4192 else
  4193   am__fastdepCXX_TRUE='#'
  4194   am__fastdepCXX_FALSE=
  4195 fi
  4196 
  4197 
  4198 
  4199 if test "x$remember_set_CFLAGS" = "x"
  4200 then
  4201   if test "$CFLAGS" = "-g -O2"
  4202   then
  4203     CFLAGS="-O2"
  4204   elif test "$CFLAGS" = "-g"
  4205   then
  4206     CFLAGS=""
  4207   fi
  4208 fi
  4209 
  4210 if test "x$remember_set_CXXFLAGS" = "x"
  4211 then
  4212   if test "$CXXFLAGS" = "-g -O2"
  4213   then
  4214     CXXFLAGS="-O2"
  4215   elif test "$CXXFLAGS" = "-g"
  4216   then
  4217     CXXFLAGS=""
  4218   fi
  4219 fi
  4220 
  4221 # AC_PROG_CXX will return "g++" even if no c++ compiler is installed.
  4222 # Check for that case, and just disable c++ code if g++ doesn't run.
  4223 ac_ext=cpp
  4224 ac_cpp='$CXXCPP $CPPFLAGS'
  4225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4228 
  4229 
  4230 cat >conftest.$ac_ext <<_ACEOF
  4231 /* confdefs.h.  */
  4232 _ACEOF
  4233 cat confdefs.h >>conftest.$ac_ext
  4234 cat >>conftest.$ac_ext <<_ACEOF
  4235 /* end confdefs.h.  */
  4236 
  4237 int
  4238 main ()
  4239 {
  4240 
  4241   ;
  4242   return 0;
  4243 }
  4244 _ACEOF
  4245 rm -f conftest.$ac_objext
  4246 if { (ac_try="$ac_compile"
  4247 case "(($ac_try" in
  4248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4249   *) ac_try_echo=$ac_try;;
  4250 esac
  4251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4252 $as_echo "$ac_try_echo") >&5
  4253   (eval "$ac_compile") 2>conftest.er1
  4254   ac_status=$?
  4255   grep -v '^ *+' conftest.er1 >conftest.err
  4256   rm -f conftest.er1
  4257   cat conftest.err >&5
  4258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4259   (exit $ac_status); } && {
  4260 	 test -z "$ac_cxx_werror_flag" ||
  4261 	 test ! -s conftest.err
  4262        } && test -s conftest.$ac_objext; then
  4263   :
  4264 else
  4265   $as_echo "$as_me: failed program was:" >&5
  4266 sed 's/^/| /' conftest.$ac_ext >&5
  4267 
  4268 	CXX=""; CXXCP=""; CXXFLAGS=""
  4269 fi
  4270 
  4271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4272 ac_ext=c
  4273 ac_cpp='$CPP $CPPFLAGS'
  4274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4277 
  4278 
  4279 # Find a good install program.  We prefer a C program (faster),
  4280 # so one script is as good as another.  But avoid the broken or
  4281 # incompatible versions:
  4282 # SysV /etc/install, /usr/sbin/install
  4283 # SunOS /usr/etc/install
  4284 # IRIX /sbin/install
  4285 # AIX /bin/install
  4286 # AmigaOS /C/install, which installs bootblocks on floppy discs
  4287 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  4288 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  4289 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  4290 # OS/2's system install, which has a completely different semantic
  4291 # ./install, which can be erroneously created by make from ./install.sh.
  4292 # Reject install programs that cannot install multiple files.
  4293 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  4294 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  4295 if test -z "$INSTALL"; then
  4296 if test "${ac_cv_path_install+set}" = set; then
  4297   $as_echo_n "(cached) " >&6
  4298 else
  4299   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4300 for as_dir in $PATH
  4301 do
  4302   IFS=$as_save_IFS
  4303   test -z "$as_dir" && as_dir=.
  4304   # Account for people who put trailing slashes in PATH elements.
  4305 case $as_dir/ in
  4306   ./ | .// | /cC/* | \
  4307   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  4308   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  4309   /usr/ucb/* ) ;;
  4310   *)
  4311     # OSF1 and SCO ODT 3.0 have their own names for install.
  4312     # Don't use installbsd from OSF since it installs stuff as root
  4313     # by default.
  4314     for ac_prog in ginstall scoinst install; do
  4315       for ac_exec_ext in '' $ac_executable_extensions; do
  4316 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  4317 	  if test $ac_prog = install &&
  4318 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4319 	    # AIX install.  It has an incompatible calling convention.
  4320 	    :
  4321 	  elif test $ac_prog = install &&
  4322 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  4323 	    # program-specific install script used by HP pwplus--don't use.
  4324 	    :
  4325 	  else
  4326 	    rm -rf conftest.one conftest.two conftest.dir
  4327 	    echo one > conftest.one
  4328 	    echo two > conftest.two
  4329 	    mkdir conftest.dir
  4330 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  4331 	      test -s conftest.one && test -s conftest.two &&
  4332 	      test -s conftest.dir/conftest.one &&
  4333 	      test -s conftest.dir/conftest.two
  4334 	    then
  4335 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  4336 	      break 3
  4337 	    fi
  4338 	  fi
  4339 	fi
  4340       done
  4341     done
  4342     ;;
  4343 esac
  4344 
  4345 done
  4346 IFS=$as_save_IFS
  4347 
  4348 rm -rf conftest.one conftest.two conftest.dir
  4349 
  4350 fi
  4351   if test "${ac_cv_path_install+set}" = set; then
  4352     INSTALL=$ac_cv_path_install
  4353   else
  4354     # As a last resort, use the slow shell script.  Don't cache a
  4355     # value for INSTALL within a source directory, because that will
  4356     # break other packages using the cache if that directory is
  4357     # removed, or if the value is a relative name.
  4358     INSTALL=$ac_install_sh
  4359   fi
  4360 fi
  4361 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  4362 $as_echo "$INSTALL" >&6; }
  4363 
  4364 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  4365 # It thinks the first close brace ends the variable substitution.
  4366 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  4367 
  4368 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  4369 
  4370 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  4371 
  4372 
  4373 
  4374 # Check whether --enable-shared was given.
  4375 if test "${enable_shared+set}" = set; then
  4376   enableval=$enable_shared; p=${PACKAGE-default}
  4377     case $enableval in
  4378     yes) enable_shared=yes ;;
  4379     no) enable_shared=no ;;
  4380     *)
  4381       enable_shared=no
  4382       # Look at the argument we got.  We use all the common list separators.
  4383       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4384       for pkg in $enableval; do
  4385 	IFS="$lt_save_ifs"
  4386 	if test "X$pkg" = "X$p"; then
  4387 	  enable_shared=yes
  4388 	fi
  4389       done
  4390       IFS="$lt_save_ifs"
  4391       ;;
  4392     esac
  4393 else
  4394   enable_shared=yes
  4395 fi
  4396 
  4397 
  4398 # Check whether --enable-static was given.
  4399 if test "${enable_static+set}" = set; then
  4400   enableval=$enable_static; p=${PACKAGE-default}
  4401     case $enableval in
  4402     yes) enable_static=yes ;;
  4403     no) enable_static=no ;;
  4404     *)
  4405      enable_static=no
  4406       # Look at the argument we got.  We use all the common list separators.
  4407       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4408       for pkg in $enableval; do
  4409 	IFS="$lt_save_ifs"
  4410 	if test "X$pkg" = "X$p"; then
  4411 	  enable_static=yes
  4412 	fi
  4413       done
  4414       IFS="$lt_save_ifs"
  4415       ;;
  4416     esac
  4417 else
  4418   enable_static=yes
  4419 fi
  4420 
  4421 
  4422 # Check whether --enable-fast-install was given.
  4423 if test "${enable_fast_install+set}" = set; then
  4424   enableval=$enable_fast_install; p=${PACKAGE-default}
  4425     case $enableval in
  4426     yes) enable_fast_install=yes ;;
  4427     no) enable_fast_install=no ;;
  4428     *)
  4429       enable_fast_install=no
  4430       # Look at the argument we got.  We use all the common list separators.
  4431       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4432       for pkg in $enableval; do
  4433 	IFS="$lt_save_ifs"
  4434 	if test "X$pkg" = "X$p"; then
  4435 	  enable_fast_install=yes
  4436 	fi
  4437       done
  4438       IFS="$lt_save_ifs"
  4439       ;;
  4440     esac
  4441 else
  4442   enable_fast_install=yes
  4443 fi
  4444 
  4445 
  4446 # Make sure we can run config.sub.
  4447 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4448   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4449 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4450    { (exit 1); exit 1; }; }
  4451 
  4452 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  4453 $as_echo_n "checking build system type... " >&6; }
  4454 if test "${ac_cv_build+set}" = set; then
  4455   $as_echo_n "(cached) " >&6
  4456 else
  4457   ac_build_alias=$build_alias
  4458 test "x$ac_build_alias" = x &&
  4459   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4460 test "x$ac_build_alias" = x &&
  4461   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4462 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4463    { (exit 1); exit 1; }; }
  4464 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4465   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4466 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4467    { (exit 1); exit 1; }; }
  4468 
  4469 fi
  4470 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4471 $as_echo "$ac_cv_build" >&6; }
  4472 case $ac_cv_build in
  4473 *-*-*) ;;
  4474 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4475 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  4476    { (exit 1); exit 1; }; };;
  4477 esac
  4478 build=$ac_cv_build
  4479 ac_save_IFS=$IFS; IFS='-'
  4480 set x $ac_cv_build
  4481 shift
  4482 build_cpu=$1
  4483 build_vendor=$2
  4484 shift; shift
  4485 # Remember, the first character of IFS is used to create $*,
  4486 # except with old shells:
  4487 build_os=$*
  4488 IFS=$ac_save_IFS
  4489 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4490 
  4491 
  4492 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  4493 $as_echo_n "checking host system type... " >&6; }
  4494 if test "${ac_cv_host+set}" = set; then
  4495   $as_echo_n "(cached) " >&6
  4496 else
  4497   if test "x$host_alias" = x; then
  4498   ac_cv_host=$ac_cv_build
  4499 else
  4500   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4501     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4502 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4503    { (exit 1); exit 1; }; }
  4504 fi
  4505 
  4506 fi
  4507 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4508 $as_echo "$ac_cv_host" >&6; }
  4509 case $ac_cv_host in
  4510 *-*-*) ;;
  4511 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4512 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  4513    { (exit 1); exit 1; }; };;
  4514 esac
  4515 host=$ac_cv_host
  4516 ac_save_IFS=$IFS; IFS='-'
  4517 set x $ac_cv_host
  4518 shift
  4519 host_cpu=$1
  4520 host_vendor=$2
  4521 shift; shift
  4522 # Remember, the first character of IFS is used to create $*,
  4523 # except with old shells:
  4524 host_os=$*
  4525 IFS=$ac_save_IFS
  4526 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4527 
  4528 
  4529 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  4530 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4531 if test "${lt_cv_path_SED+set}" = set; then
  4532   $as_echo_n "(cached) " >&6
  4533 else
  4534   # Loop through the user's path and test for sed and gsed.
  4535 # Then use that list of sed's as ones to test for truncation.
  4536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4537 for as_dir in $PATH
  4538 do
  4539   IFS=$as_save_IFS
  4540   test -z "$as_dir" && as_dir=.
  4541   for lt_ac_prog in sed gsed; do
  4542     for ac_exec_ext in '' $ac_executable_extensions; do
  4543       if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
  4544         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
  4545       fi
  4546     done
  4547   done
  4548 done
  4549 IFS=$as_save_IFS
  4550 lt_ac_max=0
  4551 lt_ac_count=0
  4552 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
  4553 # along with /bin/sed that truncates output.
  4554 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
  4555   test ! -f $lt_ac_sed && continue
  4556   cat /dev/null > conftest.in
  4557   lt_ac_count=0
  4558   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
  4559   # Check for GNU sed and select it if it is found.
  4560   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
  4561     lt_cv_path_SED=$lt_ac_sed
  4562     break
  4563   fi
  4564   while true; do
  4565     cat conftest.in conftest.in >conftest.tmp
  4566     mv conftest.tmp conftest.in
  4567     cp conftest.in conftest.nl
  4568     echo >>conftest.nl
  4569     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
  4570     cmp -s conftest.out conftest.nl || break
  4571     # 10000 chars as input seems more than enough
  4572     test $lt_ac_count -gt 10 && break
  4573     lt_ac_count=`expr $lt_ac_count + 1`
  4574     if test $lt_ac_count -gt $lt_ac_max; then
  4575       lt_ac_max=$lt_ac_count
  4576       lt_cv_path_SED=$lt_ac_sed
  4577     fi
  4578   done
  4579 done
  4580 
  4581 fi
  4582 
  4583 SED=$lt_cv_path_SED
  4584 
  4585 { $as_echo "$as_me:$LINENO: result: $SED" >&5
  4586 $as_echo "$SED" >&6; }
  4587 
  4588 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4589 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4590 if test "${ac_cv_path_GREP+set}" = set; then
  4591   $as_echo_n "(cached) " >&6
  4592 else
  4593   if test -z "$GREP"; then
  4594   ac_path_GREP_found=false
  4595   # Loop through the user's path and test for each of PROGNAME-LIST
  4596   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4597 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4598 do
  4599   IFS=$as_save_IFS
  4600   test -z "$as_dir" && as_dir=.
  4601   for ac_prog in grep ggrep; do
  4602     for ac_exec_ext in '' $ac_executable_extensions; do
  4603       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4604       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4605 # Check for GNU ac_path_GREP and select it if it is found.
  4606   # Check for GNU $ac_path_GREP
  4607 case `"$ac_path_GREP" --version 2>&1` in
  4608 *GNU*)
  4609   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4610 *)
  4611   ac_count=0
  4612   $as_echo_n 0123456789 >"conftest.in"
  4613   while :
  4614   do
  4615     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4616     mv "conftest.tmp" "conftest.in"
  4617     cp "conftest.in" "conftest.nl"
  4618     $as_echo 'GREP' >> "conftest.nl"
  4619     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4620     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4621     ac_count=`expr $ac_count + 1`
  4622     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4623       # Best one so far, save it but keep looking for a better one
  4624       ac_cv_path_GREP="$ac_path_GREP"
  4625       ac_path_GREP_max=$ac_count
  4626     fi
  4627     # 10*(2^10) chars as input seems more than enough
  4628     test $ac_count -gt 10 && break
  4629   done
  4630   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4631 esac
  4632 
  4633       $ac_path_GREP_found && break 3
  4634     done
  4635   done
  4636 done
  4637 IFS=$as_save_IFS
  4638   if test -z "$ac_cv_path_GREP"; then
  4639     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4640 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4641    { (exit 1); exit 1; }; }
  4642   fi
  4643 else
  4644   ac_cv_path_GREP=$GREP
  4645 fi
  4646 
  4647 fi
  4648 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4649 $as_echo "$ac_cv_path_GREP" >&6; }
  4650  GREP="$ac_cv_path_GREP"
  4651 
  4652 
  4653 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  4654 $as_echo_n "checking for egrep... " >&6; }
  4655 if test "${ac_cv_path_EGREP+set}" = set; then
  4656   $as_echo_n "(cached) " >&6
  4657 else
  4658   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4659    then ac_cv_path_EGREP="$GREP -E"
  4660    else
  4661      if test -z "$EGREP"; then
  4662   ac_path_EGREP_found=false
  4663   # Loop through the user's path and test for each of PROGNAME-LIST
  4664   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4665 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4666 do
  4667   IFS=$as_save_IFS
  4668   test -z "$as_dir" && as_dir=.
  4669   for ac_prog in egrep; do
  4670     for ac_exec_ext in '' $ac_executable_extensions; do
  4671       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4672       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4673 # Check for GNU ac_path_EGREP and select it if it is found.
  4674   # Check for GNU $ac_path_EGREP
  4675 case `"$ac_path_EGREP" --version 2>&1` in
  4676 *GNU*)
  4677   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4678 *)
  4679   ac_count=0
  4680   $as_echo_n 0123456789 >"conftest.in"
  4681   while :
  4682   do
  4683     cat "conftest.in" "conftest.in" >"conftest.tmp"
  4684     mv "conftest.tmp" "conftest.in"
  4685     cp "conftest.in" "conftest.nl"
  4686     $as_echo 'EGREP' >> "conftest.nl"
  4687     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4688     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4689     ac_count=`expr $ac_count + 1`
  4690     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4691       # Best one so far, save it but keep looking for a better one
  4692       ac_cv_path_EGREP="$ac_path_EGREP"
  4693       ac_path_EGREP_max=$ac_count
  4694     fi
  4695     # 10*(2^10) chars as input seems more than enough
  4696     test $ac_count -gt 10 && break
  4697   done
  4698   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4699 esac
  4700 
  4701       $ac_path_EGREP_found && break 3
  4702     done
  4703   done
  4704 done
  4705 IFS=$as_save_IFS
  4706   if test -z "$ac_cv_path_EGREP"; then
  4707     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4708 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4709    { (exit 1); exit 1; }; }
  4710   fi
  4711 else
  4712   ac_cv_path_EGREP=$EGREP
  4713 fi
  4714 
  4715    fi
  4716 fi
  4717 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4718 $as_echo "$ac_cv_path_EGREP" >&6; }
  4719  EGREP="$ac_cv_path_EGREP"
  4720 
  4721 
  4722 
  4723 # Check whether --with-gnu-ld was given.
  4724 if test "${with_gnu_ld+set}" = set; then
  4725   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4726 else
  4727   with_gnu_ld=no
  4728 fi
  4729 
  4730 ac_prog=ld
  4731 if test "$GCC" = yes; then
  4732   # Check if gcc -print-prog-name=ld gives a path.
  4733   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  4734 $as_echo_n "checking for ld used by $CC... " >&6; }
  4735   case $host in
  4736   *-*-mingw*)
  4737     # gcc leaves a trailing carriage return which upsets mingw
  4738     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4739   *)
  4740     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4741   esac
  4742   case $ac_prog in
  4743     # Accept absolute paths.
  4744     [\\/]* | ?:[\\/]*)
  4745       re_direlt='/[^/][^/]*/\.\./'
  4746       # Canonicalize the pathname of ld
  4747       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
  4748       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
  4749 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
  4750       done
  4751       test -z "$LD" && LD="$ac_prog"
  4752       ;;
  4753   "")
  4754     # If it fails, then pretend we aren't using GCC.
  4755     ac_prog=ld
  4756     ;;
  4757   *)
  4758     # If it is relative, then search for the first ld in PATH.
  4759     with_gnu_ld=unknown
  4760     ;;
  4761   esac
  4762 elif test "$with_gnu_ld" = yes; then
  4763   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  4764 $as_echo_n "checking for GNU ld... " >&6; }
  4765 else
  4766   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  4767 $as_echo_n "checking for non-GNU ld... " >&6; }
  4768 fi
  4769 if test "${lt_cv_path_LD+set}" = set; then
  4770   $as_echo_n "(cached) " >&6
  4771 else
  4772   if test -z "$LD"; then
  4773   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4774   for ac_dir in $PATH; do
  4775     IFS="$lt_save_ifs"
  4776     test -z "$ac_dir" && ac_dir=.
  4777     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4778       lt_cv_path_LD="$ac_dir/$ac_prog"
  4779       # Check to see if the program is GNU ld.  I'd rather use --version,
  4780       # but apparently some variants of GNU ld only accept -v.
  4781       # Break only if it was the GNU/non-GNU ld that we prefer.
  4782       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4783       *GNU* | *'with BFD'*)
  4784 	test "$with_gnu_ld" != no && break
  4785 	;;
  4786       *)
  4787 	test "$with_gnu_ld" != yes && break
  4788 	;;
  4789       esac
  4790     fi
  4791   done
  4792   IFS="$lt_save_ifs"
  4793 else
  4794   lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4795 fi
  4796 fi
  4797 
  4798 LD="$lt_cv_path_LD"
  4799 if test -n "$LD"; then
  4800   { $as_echo "$as_me:$LINENO: result: $LD" >&5
  4801 $as_echo "$LD" >&6; }
  4802 else
  4803   { $as_echo "$as_me:$LINENO: result: no" >&5
  4804 $as_echo "no" >&6; }
  4805 fi
  4806 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  4807 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  4808    { (exit 1); exit 1; }; }
  4809 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  4810 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4811 if test "${lt_cv_prog_gnu_ld+set}" = set; then
  4812   $as_echo_n "(cached) " >&6
  4813 else
  4814   # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4815 case `$LD -v 2>&1 </dev/null` in
  4816 *GNU* | *'with BFD'*)
  4817   lt_cv_prog_gnu_ld=yes
  4818   ;;
  4819 *)
  4820   lt_cv_prog_gnu_ld=no
  4821   ;;
  4822 esac
  4823 fi
  4824 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  4825 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4826 with_gnu_ld=$lt_cv_prog_gnu_ld
  4827 
  4828 
  4829 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  4830 $as_echo_n "checking for $LD option to reload object files... " >&6; }
  4831 if test "${lt_cv_ld_reload_flag+set}" = set; then
  4832   $as_echo_n "(cached) " >&6
  4833 else
  4834   lt_cv_ld_reload_flag='-r'
  4835 fi
  4836 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  4837 $as_echo "$lt_cv_ld_reload_flag" >&6; }
  4838 reload_flag=$lt_cv_ld_reload_flag
  4839 case $reload_flag in
  4840 "" | " "*) ;;
  4841 *) reload_flag=" $reload_flag" ;;
  4842 esac
  4843 reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4844 case $host_os in
  4845   darwin*)
  4846     if test "$GCC" = yes; then
  4847       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  4848     else
  4849       reload_cmds='$LD$reload_flag -o $output$reload_objs'
  4850     fi
  4851     ;;
  4852 esac
  4853 
  4854 { $as_echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
  4855 $as_echo_n "checking for BSD-compatible nm... " >&6; }
  4856 if test "${lt_cv_path_NM+set}" = set; then
  4857   $as_echo_n "(cached) " >&6
  4858 else
  4859   if test -n "$NM"; then
  4860   # Let the user override the test.
  4861   lt_cv_path_NM="$NM"
  4862 else
  4863   lt_nm_to_check="${ac_tool_prefix}nm"
  4864   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  4865     lt_nm_to_check="$lt_nm_to_check nm"
  4866   fi
  4867   for lt_tmp_nm in $lt_nm_to_check; do
  4868     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4869     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  4870       IFS="$lt_save_ifs"
  4871       test -z "$ac_dir" && ac_dir=.
  4872       tmp_nm="$ac_dir/$lt_tmp_nm"
  4873       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  4874 	# Check to see if the nm accepts a BSD-compat flag.
  4875 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  4876 	#   nm: unknown option "B" ignored
  4877 	# Tru64's nm complains that /dev/null is an invalid object file
  4878 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  4879 	*/dev/null* | *'Invalid file or object type'*)
  4880 	  lt_cv_path_NM="$tmp_nm -B"
  4881 	  break
  4882 	  ;;
  4883 	*)
  4884 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  4885 	  */dev/null*)
  4886 	    lt_cv_path_NM="$tmp_nm -p"
  4887 	    break
  4888 	    ;;
  4889 	  *)
  4890 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  4891 	    continue # so that we can try to find one that supports BSD flags
  4892 	    ;;
  4893 	  esac
  4894 	  ;;
  4895 	esac
  4896       fi
  4897     done
  4898     IFS="$lt_save_ifs"
  4899   done
  4900   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
  4901 fi
  4902 fi
  4903 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  4904 $as_echo "$lt_cv_path_NM" >&6; }
  4905 NM="$lt_cv_path_NM"
  4906 
  4907 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  4908 $as_echo_n "checking whether ln -s works... " >&6; }
  4909 LN_S=$as_ln_s
  4910 if test "$LN_S" = "ln -s"; then
  4911   { $as_echo "$as_me:$LINENO: result: yes" >&5
  4912 $as_echo "yes" >&6; }
  4913 else
  4914   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  4915 $as_echo "no, using $LN_S" >&6; }
  4916 fi
  4917 
  4918 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  4919 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  4920 if test "${lt_cv_deplibs_check_method+set}" = set; then
  4921   $as_echo_n "(cached) " >&6
  4922 else
  4923   lt_cv_file_magic_cmd='$MAGIC_CMD'
  4924 lt_cv_file_magic_test_file=
  4925 lt_cv_deplibs_check_method='unknown'
  4926 # Need to set the preceding variable on all platforms that support
  4927 # interlibrary dependencies.
  4928 # 'none' -- dependencies not supported.
  4929 # `unknown' -- same as none, but documents that we really don't know.
  4930 # 'pass_all' -- all dependencies passed with no checks.
  4931 # 'test_compile' -- check by making test program.
  4932 # 'file_magic [[regex]]' -- check by looking for files in library path
  4933 # which responds to the $file_magic_cmd with a given extended regex.
  4934 # If you have `file' or equivalent on your system and you're not sure
  4935 # whether `pass_all' will *always* work, you probably want this one.
  4936 
  4937 case $host_os in
  4938 aix[4-9]*)
  4939   lt_cv_deplibs_check_method=pass_all
  4940   ;;
  4941 
  4942 beos*)
  4943   lt_cv_deplibs_check_method=pass_all
  4944   ;;
  4945 
  4946 bsdi[45]*)
  4947   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  4948   lt_cv_file_magic_cmd='/usr/bin/file -L'
  4949   lt_cv_file_magic_test_file=/shlib/libc.so
  4950   ;;
  4951 
  4952 cygwin*)
  4953   # func_win32_libid is a shell function defined in ltmain.sh
  4954   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4955   lt_cv_file_magic_cmd='func_win32_libid'
  4956   ;;
  4957 
  4958 mingw* | pw32*)
  4959   # Base MSYS/MinGW do not provide the 'file' command needed by
  4960   # func_win32_libid shell function, so use a weaker test based on 'objdump',
  4961   # unless we find 'file', for example because we are cross-compiling.
  4962   if ( file / ) >/dev/null 2>&1; then
  4963     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  4964     lt_cv_file_magic_cmd='func_win32_libid'
  4965   else
  4966     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  4967     lt_cv_file_magic_cmd='$OBJDUMP -f'
  4968   fi
  4969   ;;
  4970 
  4971 darwin* | rhapsody*)
  4972   lt_cv_deplibs_check_method=pass_all
  4973   ;;
  4974 
  4975 freebsd* | dragonfly*)
  4976   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  4977     case $host_cpu in
  4978     i*86 )
  4979       # Not sure whether the presence of OpenBSD here was a mistake.
  4980       # Let's accept both of them until this is cleared up.
  4981       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  4982       lt_cv_file_magic_cmd=/usr/bin/file
  4983       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  4984       ;;
  4985     esac
  4986   else
  4987     lt_cv_deplibs_check_method=pass_all
  4988   fi
  4989   ;;
  4990 
  4991 gnu*)
  4992   lt_cv_deplibs_check_method=pass_all
  4993   ;;
  4994 
  4995 hpux10.20* | hpux11*)
  4996   lt_cv_file_magic_cmd=/usr/bin/file
  4997   case $host_cpu in
  4998   ia64*)
  4999     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5000     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5001     ;;
  5002   hppa*64*)
  5003     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]'
  5004     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5005     ;;
  5006   *)
  5007     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  5008     lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5009     ;;
  5010   esac
  5011   ;;
  5012 
  5013 interix[3-9]*)
  5014   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5015   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5016   ;;
  5017 
  5018 irix5* | irix6* | nonstopux*)
  5019   case $LD in
  5020   *-32|*"-32 ") libmagic=32-bit;;
  5021   *-n32|*"-n32 ") libmagic=N32;;
  5022   *-64|*"-64 ") libmagic=64-bit;;
  5023   *) libmagic=never-match;;
  5024   esac
  5025   lt_cv_deplibs_check_method=pass_all
  5026   ;;
  5027 
  5028 # This must be Linux ELF.
  5029 linux* | k*bsd*-gnu)
  5030   lt_cv_deplibs_check_method=pass_all
  5031   ;;
  5032 
  5033 netbsd*)
  5034   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
  5035     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5036   else
  5037     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5038   fi
  5039   ;;
  5040 
  5041 newos6*)
  5042   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5043   lt_cv_file_magic_cmd=/usr/bin/file
  5044   lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5045   ;;
  5046 
  5047 nto-qnx*)
  5048   lt_cv_deplibs_check_method=unknown
  5049   ;;
  5050 
  5051 openbsd*)
  5052   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5053     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5054   else
  5055     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5056   fi
  5057   ;;
  5058 
  5059 osf3* | osf4* | osf5*)
  5060   lt_cv_deplibs_check_method=pass_all
  5061   ;;
  5062 
  5063 rdos*)
  5064   lt_cv_deplibs_check_method=pass_all
  5065   ;;
  5066 
  5067 solaris*)
  5068   lt_cv_deplibs_check_method=pass_all
  5069   ;;
  5070 
  5071 sysv4 | sysv4.3*)
  5072   case $host_vendor in
  5073   motorola)
  5074     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]'
  5075     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5076     ;;
  5077   ncr)
  5078     lt_cv_deplibs_check_method=pass_all
  5079     ;;
  5080   sequent)
  5081     lt_cv_file_magic_cmd='/bin/file'
  5082     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5083     ;;
  5084   sni)
  5085     lt_cv_file_magic_cmd='/bin/file'
  5086     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5087     lt_cv_file_magic_test_file=/lib/libc.so
  5088     ;;
  5089   siemens)
  5090     lt_cv_deplibs_check_method=pass_all
  5091     ;;
  5092   pc)
  5093     lt_cv_deplibs_check_method=pass_all
  5094     ;;
  5095   esac
  5096   ;;
  5097 
  5098 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5099   lt_cv_deplibs_check_method=pass_all
  5100   ;;
  5101 esac
  5102 
  5103 fi
  5104 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  5105 $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5106 file_magic_cmd=$lt_cv_file_magic_cmd
  5107 deplibs_check_method=$lt_cv_deplibs_check_method
  5108 test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5109 
  5110 
  5111 
  5112 
  5113 # If no C compiler was specified, use CC.
  5114 LTCC=${LTCC-"$CC"}
  5115 
  5116 # If no C compiler flags were specified, use CFLAGS.
  5117 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  5118 
  5119 # Allow CC to be a program name with arguments.
  5120 compiler=$CC
  5121 
  5122 
  5123 # Check whether --enable-libtool-lock was given.
  5124 if test "${enable_libtool_lock+set}" = set; then
  5125   enableval=$enable_libtool_lock;
  5126 fi
  5127 
  5128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  5129 
  5130 # Some flags need to be propagated to the compiler or linker for good
  5131 # libtool support.
  5132 case $host in
  5133 ia64-*-hpux*)
  5134   # Find out which ABI we are using.
  5135   echo 'int i;' > conftest.$ac_ext
  5136   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5137   (eval $ac_compile) 2>&5
  5138   ac_status=$?
  5139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5140   (exit $ac_status); }; then
  5141     case `/usr/bin/file conftest.$ac_objext` in
  5142     *ELF-32*)
  5143       HPUX_IA64_MODE="32"
  5144       ;;
  5145     *ELF-64*)
  5146       HPUX_IA64_MODE="64"
  5147       ;;
  5148     esac
  5149   fi
  5150   rm -rf conftest*
  5151   ;;
  5152 *-*-irix6*)
  5153   # Find out which ABI we are using.
  5154   echo '#line 5154 "configure"' > conftest.$ac_ext
  5155   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5156   (eval $ac_compile) 2>&5
  5157   ac_status=$?
  5158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5159   (exit $ac_status); }; then
  5160    if test "$lt_cv_prog_gnu_ld" = yes; then
  5161     case `/usr/bin/file conftest.$ac_objext` in
  5162     *32-bit*)
  5163       LD="${LD-ld} -melf32bsmip"
  5164       ;;
  5165     *N32*)
  5166       LD="${LD-ld} -melf32bmipn32"
  5167       ;;
  5168     *64-bit*)
  5169       LD="${LD-ld} -melf64bmip"
  5170       ;;
  5171     esac
  5172    else
  5173     case `/usr/bin/file conftest.$ac_objext` in
  5174     *32-bit*)
  5175       LD="${LD-ld} -32"
  5176       ;;
  5177     *N32*)
  5178       LD="${LD-ld} -n32"
  5179       ;;
  5180     *64-bit*)
  5181       LD="${LD-ld} -64"
  5182       ;;
  5183     esac
  5184    fi
  5185   fi
  5186   rm -rf conftest*
  5187   ;;
  5188 
  5189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  5190 s390*-*linux*|sparc*-*linux*)
  5191   # Find out which ABI we are using.
  5192   echo 'int i;' > conftest.$ac_ext
  5193   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5194   (eval $ac_compile) 2>&5
  5195   ac_status=$?
  5196   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5197   (exit $ac_status); }; then
  5198     case `/usr/bin/file conftest.o` in
  5199     *32-bit*)
  5200       case $host in
  5201         x86_64-*kfreebsd*-gnu)
  5202           LD="${LD-ld} -m elf_i386_fbsd"
  5203           ;;
  5204         x86_64-*linux*)
  5205           LD="${LD-ld} -m elf_i386"
  5206           ;;
  5207         ppc64-*linux*|powerpc64-*linux*)
  5208           LD="${LD-ld} -m elf32ppclinux"
  5209           ;;
  5210         s390x-*linux*)
  5211           LD="${LD-ld} -m elf_s390"
  5212           ;;
  5213         sparc64-*linux*)
  5214           LD="${LD-ld} -m elf32_sparc"
  5215           ;;
  5216       esac
  5217       ;;
  5218     *64-bit*)
  5219       case $host in
  5220         x86_64-*kfreebsd*-gnu)
  5221           LD="${LD-ld} -m elf_x86_64_fbsd"
  5222           ;;
  5223         x86_64-*linux*)
  5224           LD="${LD-ld} -m elf_x86_64"
  5225           ;;
  5226         ppc*-*linux*|powerpc*-*linux*)
  5227           LD="${LD-ld} -m elf64ppc"
  5228           ;;
  5229         s390*-*linux*)
  5230           LD="${LD-ld} -m elf64_s390"
  5231           ;;
  5232         sparc*-*linux*)
  5233           LD="${LD-ld} -m elf64_sparc"
  5234           ;;
  5235       esac
  5236       ;;
  5237     esac
  5238   fi
  5239   rm -rf conftest*
  5240   ;;
  5241 
  5242 *-*-sco3.2v5*)
  5243   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  5244   SAVE_CFLAGS="$CFLAGS"
  5245   CFLAGS="$CFLAGS -belf"
  5246   { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  5247 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  5248 if test "${lt_cv_cc_needs_belf+set}" = set; then
  5249   $as_echo_n "(cached) " >&6
  5250 else
  5251   ac_ext=c
  5252 ac_cpp='$CPP $CPPFLAGS'
  5253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5256 
  5257      cat >conftest.$ac_ext <<_ACEOF
  5258 /* confdefs.h.  */
  5259 _ACEOF
  5260 cat confdefs.h >>conftest.$ac_ext
  5261 cat >>conftest.$ac_ext <<_ACEOF
  5262 /* end confdefs.h.  */
  5263 
  5264 int
  5265 main ()
  5266 {
  5267 
  5268   ;
  5269   return 0;
  5270 }
  5271 _ACEOF
  5272 rm -f conftest.$ac_objext conftest$ac_exeext
  5273 if { (ac_try="$ac_link"
  5274 case "(($ac_try" in
  5275   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5276   *) ac_try_echo=$ac_try;;
  5277 esac
  5278 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5279 $as_echo "$ac_try_echo") >&5
  5280   (eval "$ac_link") 2>conftest.er1
  5281   ac_status=$?
  5282   grep -v '^ *+' conftest.er1 >conftest.err
  5283   rm -f conftest.er1
  5284   cat conftest.err >&5
  5285   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5286   (exit $ac_status); } && {
  5287 	 test -z "$ac_c_werror_flag" ||
  5288 	 test ! -s conftest.err
  5289        } && test -s conftest$ac_exeext && {
  5290 	 test "$cross_compiling" = yes ||
  5291 	 $as_test_x conftest$ac_exeext
  5292        }; then
  5293   lt_cv_cc_needs_belf=yes
  5294 else
  5295   $as_echo "$as_me: failed program was:" >&5
  5296 sed 's/^/| /' conftest.$ac_ext >&5
  5297 
  5298 	lt_cv_cc_needs_belf=no
  5299 fi
  5300 
  5301 rm -rf conftest.dSYM
  5302 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  5303       conftest$ac_exeext conftest.$ac_ext
  5304      ac_ext=c
  5305 ac_cpp='$CPP $CPPFLAGS'
  5306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5309 
  5310 fi
  5311 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  5312 $as_echo "$lt_cv_cc_needs_belf" >&6; }
  5313   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  5314     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  5315     CFLAGS="$SAVE_CFLAGS"
  5316   fi
  5317   ;;
  5318 sparc*-*solaris*)
  5319   # Find out which ABI we are using.
  5320   echo 'int i;' > conftest.$ac_ext
  5321   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  5322   (eval $ac_compile) 2>&5
  5323   ac_status=$?
  5324   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5325   (exit $ac_status); }; then
  5326     case `/usr/bin/file conftest.o` in
  5327     *64-bit*)
  5328       case $lt_cv_prog_gnu_ld in
  5329       yes*) LD="${LD-ld} -m elf64_sparc" ;;
  5330       *)
  5331         if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  5332 	  LD="${LD-ld} -64"
  5333 	fi
  5334 	;;
  5335       esac
  5336       ;;
  5337     esac
  5338   fi
  5339   rm -rf conftest*
  5340   ;;
  5341 
  5342 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
  5343   if test -n "$ac_tool_prefix"; then
  5344   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  5345 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  5346 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5347 $as_echo_n "checking for $ac_word... " >&6; }
  5348 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
  5349   $as_echo_n "(cached) " >&6
  5350 else
  5351   if test -n "$DLLTOOL"; then
  5352   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  5353 else
  5354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5355 for as_dir in $PATH
  5356 do
  5357   IFS=$as_save_IFS
  5358   test -z "$as_dir" && as_dir=.
  5359   for ac_exec_ext in '' $ac_executable_extensions; do
  5360   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5361     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  5362     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5363     break 2
  5364   fi
  5365 done
  5366 done
  5367 IFS=$as_save_IFS
  5368 
  5369 fi
  5370 fi
  5371 DLLTOOL=$ac_cv_prog_DLLTOOL
  5372 if test -n "$DLLTOOL"; then
  5373   { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
  5374 $as_echo "$DLLTOOL" >&6; }
  5375 else
  5376   { $as_echo "$as_me:$LINENO: result: no" >&5
  5377 $as_echo "no" >&6; }
  5378 fi
  5379 
  5380 
  5381 fi
  5382 if test -z "$ac_cv_prog_DLLTOOL"; then
  5383   ac_ct_DLLTOOL=$DLLTOOL
  5384   # Extract the first word of "dlltool", so it can be a program name with args.
  5385 set dummy dlltool; ac_word=$2
  5386 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5387 $as_echo_n "checking for $ac_word... " >&6; }
  5388 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
  5389   $as_echo_n "(cached) " >&6
  5390 else
  5391   if test -n "$ac_ct_DLLTOOL"; then
  5392   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  5393 else
  5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5395 for as_dir in $PATH
  5396 do
  5397   IFS=$as_save_IFS
  5398   test -z "$as_dir" && as_dir=.
  5399   for ac_exec_ext in '' $ac_executable_extensions; do
  5400   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5401     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  5402     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5403     break 2
  5404   fi
  5405 done
  5406 done
  5407 IFS=$as_save_IFS
  5408 
  5409 fi
  5410 fi
  5411 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  5412 if test -n "$ac_ct_DLLTOOL"; then
  5413   { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
  5414 $as_echo "$ac_ct_DLLTOOL" >&6; }
  5415 else
  5416   { $as_echo "$as_me:$LINENO: result: no" >&5
  5417 $as_echo "no" >&6; }
  5418 fi
  5419 
  5420   if test "x$ac_ct_DLLTOOL" = x; then
  5421     DLLTOOL="false"
  5422   else
  5423     case $cross_compiling:$ac_tool_warned in
  5424 yes:)
  5425 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5427 ac_tool_warned=yes ;;
  5428 esac
  5429     DLLTOOL=$ac_ct_DLLTOOL
  5430   fi
  5431 else
  5432   DLLTOOL="$ac_cv_prog_DLLTOOL"
  5433 fi
  5434 
  5435   if test -n "$ac_tool_prefix"; then
  5436   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  5437 set dummy ${ac_tool_prefix}as; ac_word=$2
  5438 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5439 $as_echo_n "checking for $ac_word... " >&6; }
  5440 if test "${ac_cv_prog_AS+set}" = set; then
  5441   $as_echo_n "(cached) " >&6
  5442 else
  5443   if test -n "$AS"; then
  5444   ac_cv_prog_AS="$AS" # Let the user override the test.
  5445 else
  5446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5447 for as_dir in $PATH
  5448 do
  5449   IFS=$as_save_IFS
  5450   test -z "$as_dir" && as_dir=.
  5451   for ac_exec_ext in '' $ac_executable_extensions; do
  5452   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5453     ac_cv_prog_AS="${ac_tool_prefix}as"
  5454     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5455     break 2
  5456   fi
  5457 done
  5458 done
  5459 IFS=$as_save_IFS
  5460 
  5461 fi
  5462 fi
  5463 AS=$ac_cv_prog_AS
  5464 if test -n "$AS"; then
  5465   { $as_echo "$as_me:$LINENO: result: $AS" >&5
  5466 $as_echo "$AS" >&6; }
  5467 else
  5468   { $as_echo "$as_me:$LINENO: result: no" >&5
  5469 $as_echo "no" >&6; }
  5470 fi
  5471 
  5472 
  5473 fi
  5474 if test -z "$ac_cv_prog_AS"; then
  5475   ac_ct_AS=$AS
  5476   # Extract the first word of "as", so it can be a program name with args.
  5477 set dummy as; ac_word=$2
  5478 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5479 $as_echo_n "checking for $ac_word... " >&6; }
  5480 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
  5481   $as_echo_n "(cached) " >&6
  5482 else
  5483   if test -n "$ac_ct_AS"; then
  5484   ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  5485 else
  5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5487 for as_dir in $PATH
  5488 do
  5489   IFS=$as_save_IFS
  5490   test -z "$as_dir" && as_dir=.
  5491   for ac_exec_ext in '' $ac_executable_extensions; do
  5492   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5493     ac_cv_prog_ac_ct_AS="as"
  5494     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5495     break 2
  5496   fi
  5497 done
  5498 done
  5499 IFS=$as_save_IFS
  5500 
  5501 fi
  5502 fi
  5503 ac_ct_AS=$ac_cv_prog_ac_ct_AS
  5504 if test -n "$ac_ct_AS"; then
  5505   { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
  5506 $as_echo "$ac_ct_AS" >&6; }
  5507 else
  5508   { $as_echo "$as_me:$LINENO: result: no" >&5
  5509 $as_echo "no" >&6; }
  5510 fi
  5511 
  5512   if test "x$ac_ct_AS" = x; then
  5513     AS="false"
  5514   else
  5515     case $cross_compiling:$ac_tool_warned in
  5516 yes:)
  5517 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5518 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5519 ac_tool_warned=yes ;;
  5520 esac
  5521     AS=$ac_ct_AS
  5522   fi
  5523 else
  5524   AS="$ac_cv_prog_AS"
  5525 fi
  5526 
  5527   if test -n "$ac_tool_prefix"; then
  5528   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5529 set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5530 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5531 $as_echo_n "checking for $ac_word... " >&6; }
  5532 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  5533   $as_echo_n "(cached) " >&6
  5534 else
  5535   if test -n "$OBJDUMP"; then
  5536   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5537 else
  5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5539 for as_dir in $PATH
  5540 do
  5541   IFS=$as_save_IFS
  5542   test -z "$as_dir" && as_dir=.
  5543   for ac_exec_ext in '' $ac_executable_extensions; do
  5544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5545     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5546     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5547     break 2
  5548   fi
  5549 done
  5550 done
  5551 IFS=$as_save_IFS
  5552 
  5553 fi
  5554 fi
  5555 OBJDUMP=$ac_cv_prog_OBJDUMP
  5556 if test -n "$OBJDUMP"; then
  5557   { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  5558 $as_echo "$OBJDUMP" >&6; }
  5559 else
  5560   { $as_echo "$as_me:$LINENO: result: no" >&5
  5561 $as_echo "no" >&6; }
  5562 fi
  5563 
  5564 
  5565 fi
  5566 if test -z "$ac_cv_prog_OBJDUMP"; then
  5567   ac_ct_OBJDUMP=$OBJDUMP
  5568   # Extract the first word of "objdump", so it can be a program name with args.
  5569 set dummy objdump; ac_word=$2
  5570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5571 $as_echo_n "checking for $ac_word... " >&6; }
  5572 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  5573   $as_echo_n "(cached) " >&6
  5574 else
  5575   if test -n "$ac_ct_OBJDUMP"; then
  5576   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5577 else
  5578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5579 for as_dir in $PATH
  5580 do
  5581   IFS=$as_save_IFS
  5582   test -z "$as_dir" && as_dir=.
  5583   for ac_exec_ext in '' $ac_executable_extensions; do
  5584   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5585     ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5586     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5587     break 2
  5588   fi
  5589 done
  5590 done
  5591 IFS=$as_save_IFS
  5592 
  5593 fi
  5594 fi
  5595 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5596 if test -n "$ac_ct_OBJDUMP"; then
  5597   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  5598 $as_echo "$ac_ct_OBJDUMP" >&6; }
  5599 else
  5600   { $as_echo "$as_me:$LINENO: result: no" >&5
  5601 $as_echo "no" >&6; }
  5602 fi
  5603 
  5604   if test "x$ac_ct_OBJDUMP" = x; then
  5605     OBJDUMP="false"
  5606   else
  5607     case $cross_compiling:$ac_tool_warned in
  5608 yes:)
  5609 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5611 ac_tool_warned=yes ;;
  5612 esac
  5613     OBJDUMP=$ac_ct_OBJDUMP
  5614   fi
  5615 else
  5616   OBJDUMP="$ac_cv_prog_OBJDUMP"
  5617 fi
  5618 
  5619   ;;
  5620 
  5621 esac
  5622 
  5623 need_locks="$enable_libtool_lock"
  5624 
  5625 
  5626 ac_ext=c
  5627 ac_cpp='$CPP $CPPFLAGS'
  5628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5631 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5632 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5633 # On Suns, sometimes $CPP names a directory.
  5634 if test -n "$CPP" && test -d "$CPP"; then
  5635   CPP=
  5636 fi
  5637 if test -z "$CPP"; then
  5638   if test "${ac_cv_prog_CPP+set}" = set; then
  5639   $as_echo_n "(cached) " >&6
  5640 else
  5641       # Double quotes because CPP needs to be expanded
  5642     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5643     do
  5644       ac_preproc_ok=false
  5645 for ac_c_preproc_warn_flag in '' yes
  5646 do
  5647   # Use a header file that comes with gcc, so configuring glibc
  5648   # with a fresh cross-compiler works.
  5649   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5650   # <limits.h> exists even on freestanding compilers.
  5651   # On the NeXT, cc -E runs the code through the compiler's parser,
  5652   # not just through cpp. "Syntax error" is here to catch this case.
  5653   cat >conftest.$ac_ext <<_ACEOF
  5654 /* confdefs.h.  */
  5655 _ACEOF
  5656 cat confdefs.h >>conftest.$ac_ext
  5657 cat >>conftest.$ac_ext <<_ACEOF
  5658 /* end confdefs.h.  */
  5659 #ifdef __STDC__
  5660 # include <limits.h>
  5661 #else
  5662 # include <assert.h>
  5663 #endif
  5664 		     Syntax error
  5665 _ACEOF
  5666 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5667 case "(($ac_try" in
  5668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5669   *) ac_try_echo=$ac_try;;
  5670 esac
  5671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5672 $as_echo "$ac_try_echo") >&5
  5673   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5674   ac_status=$?
  5675   grep -v '^ *+' conftest.er1 >conftest.err
  5676   rm -f conftest.er1
  5677   cat conftest.err >&5
  5678   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5679   (exit $ac_status); } >/dev/null && {
  5680 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5681 	 test ! -s conftest.err
  5682        }; then
  5683   :
  5684 else
  5685   $as_echo "$as_me: failed program was:" >&5
  5686 sed 's/^/| /' conftest.$ac_ext >&5
  5687 
  5688   # Broken: fails on valid input.
  5689 continue
  5690 fi
  5691 
  5692 rm -f conftest.err conftest.$ac_ext
  5693 
  5694   # OK, works on sane cases.  Now check whether nonexistent headers
  5695   # can be detected and how.
  5696   cat >conftest.$ac_ext <<_ACEOF
  5697 /* confdefs.h.  */
  5698 _ACEOF
  5699 cat confdefs.h >>conftest.$ac_ext
  5700 cat >>conftest.$ac_ext <<_ACEOF
  5701 /* end confdefs.h.  */
  5702 #include <ac_nonexistent.h>
  5703 _ACEOF
  5704 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5705 case "(($ac_try" in
  5706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5707   *) ac_try_echo=$ac_try;;
  5708 esac
  5709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5710 $as_echo "$ac_try_echo") >&5
  5711   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5712   ac_status=$?
  5713   grep -v '^ *+' conftest.er1 >conftest.err
  5714   rm -f conftest.er1
  5715   cat conftest.err >&5
  5716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5717   (exit $ac_status); } >/dev/null && {
  5718 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5719 	 test ! -s conftest.err
  5720        }; then
  5721   # Broken: success on invalid input.
  5722 continue
  5723 else
  5724   $as_echo "$as_me: failed program was:" >&5
  5725 sed 's/^/| /' conftest.$ac_ext >&5
  5726 
  5727   # Passes both tests.
  5728 ac_preproc_ok=:
  5729 break
  5730 fi
  5731 
  5732 rm -f conftest.err conftest.$ac_ext
  5733 
  5734 done
  5735 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5736 rm -f conftest.err conftest.$ac_ext
  5737 if $ac_preproc_ok; then
  5738   break
  5739 fi
  5740 
  5741     done
  5742     ac_cv_prog_CPP=$CPP
  5743 
  5744 fi
  5745   CPP=$ac_cv_prog_CPP
  5746 else
  5747   ac_cv_prog_CPP=$CPP
  5748 fi
  5749 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5750 $as_echo "$CPP" >&6; }
  5751 ac_preproc_ok=false
  5752 for ac_c_preproc_warn_flag in '' yes
  5753 do
  5754   # Use a header file that comes with gcc, so configuring glibc
  5755   # with a fresh cross-compiler works.
  5756   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5757   # <limits.h> exists even on freestanding compilers.
  5758   # On the NeXT, cc -E runs the code through the compiler's parser,
  5759   # not just through cpp. "Syntax error" is here to catch this case.
  5760   cat >conftest.$ac_ext <<_ACEOF
  5761 /* confdefs.h.  */
  5762 _ACEOF
  5763 cat confdefs.h >>conftest.$ac_ext
  5764 cat >>conftest.$ac_ext <<_ACEOF
  5765 /* end confdefs.h.  */
  5766 #ifdef __STDC__
  5767 # include <limits.h>
  5768 #else
  5769 # include <assert.h>
  5770 #endif
  5771 		     Syntax error
  5772 _ACEOF
  5773 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5774 case "(($ac_try" in
  5775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5776   *) ac_try_echo=$ac_try;;
  5777 esac
  5778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5779 $as_echo "$ac_try_echo") >&5
  5780   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5781   ac_status=$?
  5782   grep -v '^ *+' conftest.er1 >conftest.err
  5783   rm -f conftest.er1
  5784   cat conftest.err >&5
  5785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5786   (exit $ac_status); } >/dev/null && {
  5787 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5788 	 test ! -s conftest.err
  5789        }; then
  5790   :
  5791 else
  5792   $as_echo "$as_me: failed program was:" >&5
  5793 sed 's/^/| /' conftest.$ac_ext >&5
  5794 
  5795   # Broken: fails on valid input.
  5796 continue
  5797 fi
  5798 
  5799 rm -f conftest.err conftest.$ac_ext
  5800 
  5801   # OK, works on sane cases.  Now check whether nonexistent headers
  5802   # can be detected and how.
  5803   cat >conftest.$ac_ext <<_ACEOF
  5804 /* confdefs.h.  */
  5805 _ACEOF
  5806 cat confdefs.h >>conftest.$ac_ext
  5807 cat >>conftest.$ac_ext <<_ACEOF
  5808 /* end confdefs.h.  */
  5809 #include <ac_nonexistent.h>
  5810 _ACEOF
  5811 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5812 case "(($ac_try" in
  5813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5814   *) ac_try_echo=$ac_try;;
  5815 esac
  5816 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5817 $as_echo "$ac_try_echo") >&5
  5818   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5819   ac_status=$?
  5820   grep -v '^ *+' conftest.er1 >conftest.err
  5821   rm -f conftest.er1
  5822   cat conftest.err >&5
  5823   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5824   (exit $ac_status); } >/dev/null && {
  5825 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5826 	 test ! -s conftest.err
  5827        }; then
  5828   # Broken: success on invalid input.
  5829 continue
  5830 else
  5831   $as_echo "$as_me: failed program was:" >&5
  5832 sed 's/^/| /' conftest.$ac_ext >&5
  5833 
  5834   # Passes both tests.
  5835 ac_preproc_ok=:
  5836 break
  5837 fi
  5838 
  5839 rm -f conftest.err conftest.$ac_ext
  5840 
  5841 done
  5842 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5843 rm -f conftest.err conftest.$ac_ext
  5844 if $ac_preproc_ok; then
  5845   :
  5846 else
  5847   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  5848 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  5849 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5850 See \`config.log' for more details." >&5
  5851 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5852 See \`config.log' for more details." >&2;}
  5853    { (exit 1); exit 1; }; }; }
  5854 fi
  5855 
  5856 ac_ext=c
  5857 ac_cpp='$CPP $CPPFLAGS'
  5858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5861 
  5862 
  5863 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  5864 $as_echo_n "checking for ANSI C header files... " >&6; }
  5865 if test "${ac_cv_header_stdc+set}" = set; then
  5866   $as_echo_n "(cached) " >&6
  5867 else
  5868   cat >conftest.$ac_ext <<_ACEOF
  5869 /* confdefs.h.  */
  5870 _ACEOF
  5871 cat confdefs.h >>conftest.$ac_ext
  5872 cat >>conftest.$ac_ext <<_ACEOF
  5873 /* end confdefs.h.  */
  5874 #include <stdlib.h>
  5875 #include <stdarg.h>
  5876 #include <string.h>
  5877 #include <float.h>
  5878 
  5879 int
  5880 main ()
  5881 {
  5882 
  5883   ;
  5884   return 0;
  5885 }
  5886 _ACEOF
  5887 rm -f conftest.$ac_objext
  5888 if { (ac_try="$ac_compile"
  5889 case "(($ac_try" in
  5890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5891   *) ac_try_echo=$ac_try;;
  5892 esac
  5893 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5894 $as_echo "$ac_try_echo") >&5
  5895   (eval "$ac_compile") 2>conftest.er1
  5896   ac_status=$?
  5897   grep -v '^ *+' conftest.er1 >conftest.err
  5898   rm -f conftest.er1
  5899   cat conftest.err >&5
  5900   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5901   (exit $ac_status); } && {
  5902 	 test -z "$ac_c_werror_flag" ||
  5903 	 test ! -s conftest.err
  5904        } && test -s conftest.$ac_objext; then
  5905   ac_cv_header_stdc=yes
  5906 else
  5907   $as_echo "$as_me: failed program was:" >&5
  5908 sed 's/^/| /' conftest.$ac_ext >&5
  5909 
  5910 	ac_cv_header_stdc=no
  5911 fi
  5912 
  5913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5914 
  5915 if test $ac_cv_header_stdc = yes; then
  5916   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5917   cat >conftest.$ac_ext <<_ACEOF
  5918 /* confdefs.h.  */
  5919 _ACEOF
  5920 cat confdefs.h >>conftest.$ac_ext
  5921 cat >>conftest.$ac_ext <<_ACEOF
  5922 /* end confdefs.h.  */
  5923 #include <string.h>
  5924 
  5925 _ACEOF
  5926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5927   $EGREP "memchr" >/dev/null 2>&1; then
  5928   :
  5929 else
  5930   ac_cv_header_stdc=no
  5931 fi
  5932 rm -f conftest*
  5933 
  5934 fi
  5935 
  5936 if test $ac_cv_header_stdc = yes; then
  5937   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5938   cat >conftest.$ac_ext <<_ACEOF
  5939 /* confdefs.h.  */
  5940 _ACEOF
  5941 cat confdefs.h >>conftest.$ac_ext
  5942 cat >>conftest.$ac_ext <<_ACEOF
  5943 /* end confdefs.h.  */
  5944 #include <stdlib.h>
  5945 
  5946 _ACEOF
  5947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5948   $EGREP "free" >/dev/null 2>&1; then
  5949   :
  5950 else
  5951   ac_cv_header_stdc=no
  5952 fi
  5953 rm -f conftest*
  5954 
  5955 fi
  5956 
  5957 if test $ac_cv_header_stdc = yes; then
  5958   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5959   if test "$cross_compiling" = yes; then
  5960   :
  5961 else
  5962   cat >conftest.$ac_ext <<_ACEOF
  5963 /* confdefs.h.  */
  5964 _ACEOF
  5965 cat confdefs.h >>conftest.$ac_ext
  5966 cat >>conftest.$ac_ext <<_ACEOF
  5967 /* end confdefs.h.  */
  5968 #include <ctype.h>
  5969 #include <stdlib.h>
  5970 #if ((' ' & 0x0FF) == 0x020)
  5971 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5972 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5973 #else
  5974 # define ISLOWER(c) \
  5975 		   (('a' <= (c) && (c) <= 'i') \
  5976 		     || ('j' <= (c) && (c) <= 'r') \
  5977 		     || ('s' <= (c) && (c) <= 'z'))
  5978 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5979 #endif
  5980 
  5981 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5982 int
  5983 main ()
  5984 {
  5985   int i;
  5986   for (i = 0; i < 256; i++)
  5987     if (XOR (islower (i), ISLOWER (i))
  5988 	|| toupper (i) != TOUPPER (i))
  5989       return 2;
  5990   return 0;
  5991 }
  5992 _ACEOF
  5993 rm -f conftest$ac_exeext
  5994 if { (ac_try="$ac_link"
  5995 case "(($ac_try" in
  5996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5997   *) ac_try_echo=$ac_try;;
  5998 esac
  5999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6000 $as_echo "$ac_try_echo") >&5
  6001   (eval "$ac_link") 2>&5
  6002   ac_status=$?
  6003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6004   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6005   { (case "(($ac_try" in
  6006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6007   *) ac_try_echo=$ac_try;;
  6008 esac
  6009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6010 $as_echo "$ac_try_echo") >&5
  6011   (eval "$ac_try") 2>&5
  6012   ac_status=$?
  6013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6014   (exit $ac_status); }; }; then
  6015   :
  6016 else
  6017   $as_echo "$as_me: program exited with status $ac_status" >&5
  6018 $as_echo "$as_me: failed program was:" >&5
  6019 sed 's/^/| /' conftest.$ac_ext >&5
  6020 
  6021 ( exit $ac_status )
  6022 ac_cv_header_stdc=no
  6023 fi
  6024 rm -rf conftest.dSYM
  6025 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6026 fi
  6027 
  6028 
  6029 fi
  6030 fi
  6031 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6032 $as_echo "$ac_cv_header_stdc" >&6; }
  6033 if test $ac_cv_header_stdc = yes; then
  6034 
  6035 cat >>confdefs.h <<\_ACEOF
  6036 #define STDC_HEADERS 1
  6037 _ACEOF
  6038 
  6039 fi
  6040 
  6041 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6042 
  6043 
  6044 
  6045 
  6046 
  6047 
  6048 
  6049 
  6050 
  6051 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6052 		  inttypes.h stdint.h unistd.h
  6053 do
  6054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6055 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6056 $as_echo_n "checking for $ac_header... " >&6; }
  6057 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6058   $as_echo_n "(cached) " >&6
  6059 else
  6060   cat >conftest.$ac_ext <<_ACEOF
  6061 /* confdefs.h.  */
  6062 _ACEOF
  6063 cat confdefs.h >>conftest.$ac_ext
  6064 cat >>conftest.$ac_ext <<_ACEOF
  6065 /* end confdefs.h.  */
  6066 $ac_includes_default
  6067 
  6068 #include <$ac_header>
  6069 _ACEOF
  6070 rm -f conftest.$ac_objext
  6071 if { (ac_try="$ac_compile"
  6072 case "(($ac_try" in
  6073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6074   *) ac_try_echo=$ac_try;;
  6075 esac
  6076 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6077 $as_echo "$ac_try_echo") >&5
  6078   (eval "$ac_compile") 2>conftest.er1
  6079   ac_status=$?
  6080   grep -v '^ *+' conftest.er1 >conftest.err
  6081   rm -f conftest.er1
  6082   cat conftest.err >&5
  6083   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6084   (exit $ac_status); } && {
  6085 	 test -z "$ac_c_werror_flag" ||
  6086 	 test ! -s conftest.err
  6087        } && test -s conftest.$ac_objext; then
  6088   eval "$as_ac_Header=yes"
  6089 else
  6090   $as_echo "$as_me: failed program was:" >&5
  6091 sed 's/^/| /' conftest.$ac_ext >&5
  6092 
  6093 	eval "$as_ac_Header=no"
  6094 fi
  6095 
  6096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6097 fi
  6098 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6099 		 $as_echo "$as_val"'`
  6100 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6101 $as_echo "$ac_res" >&6; }
  6102 as_val=`eval 'as_val=${'$as_ac_Header'}
  6103 		 $as_echo "$as_val"'`
  6104    if test "x$as_val" = x""yes; then
  6105   cat >>confdefs.h <<_ACEOF
  6106 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6107 _ACEOF
  6108 
  6109 fi
  6110 
  6111 done
  6112 
  6113 
  6114 
  6115 for ac_header in dlfcn.h
  6116 do
  6117 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6119   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6120 $as_echo_n "checking for $ac_header... " >&6; }
  6121 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6122   $as_echo_n "(cached) " >&6
  6123 fi
  6124 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6125 		 $as_echo "$as_val"'`
  6126 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6127 $as_echo "$ac_res" >&6; }
  6128 else
  6129   # Is the header compilable?
  6130 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  6131 $as_echo_n "checking $ac_header usability... " >&6; }
  6132 cat >conftest.$ac_ext <<_ACEOF
  6133 /* confdefs.h.  */
  6134 _ACEOF
  6135 cat confdefs.h >>conftest.$ac_ext
  6136 cat >>conftest.$ac_ext <<_ACEOF
  6137 /* end confdefs.h.  */
  6138 $ac_includes_default
  6139 #include <$ac_header>
  6140 _ACEOF
  6141 rm -f conftest.$ac_objext
  6142 if { (ac_try="$ac_compile"
  6143 case "(($ac_try" in
  6144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6145   *) ac_try_echo=$ac_try;;
  6146 esac
  6147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6148 $as_echo "$ac_try_echo") >&5
  6149   (eval "$ac_compile") 2>conftest.er1
  6150   ac_status=$?
  6151   grep -v '^ *+' conftest.er1 >conftest.err
  6152   rm -f conftest.er1
  6153   cat conftest.err >&5
  6154   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6155   (exit $ac_status); } && {
  6156 	 test -z "$ac_c_werror_flag" ||
  6157 	 test ! -s conftest.err
  6158        } && test -s conftest.$ac_objext; then
  6159   ac_header_compiler=yes
  6160 else
  6161   $as_echo "$as_me: failed program was:" >&5
  6162 sed 's/^/| /' conftest.$ac_ext >&5
  6163 
  6164 	ac_header_compiler=no
  6165 fi
  6166 
  6167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6168 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6169 $as_echo "$ac_header_compiler" >&6; }
  6170 
  6171 # Is the header present?
  6172 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  6173 $as_echo_n "checking $ac_header presence... " >&6; }
  6174 cat >conftest.$ac_ext <<_ACEOF
  6175 /* confdefs.h.  */
  6176 _ACEOF
  6177 cat confdefs.h >>conftest.$ac_ext
  6178 cat >>conftest.$ac_ext <<_ACEOF
  6179 /* end confdefs.h.  */
  6180 #include <$ac_header>
  6181 _ACEOF
  6182 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6183 case "(($ac_try" in
  6184   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6185   *) ac_try_echo=$ac_try;;
  6186 esac
  6187 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6188 $as_echo "$ac_try_echo") >&5
  6189   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6190   ac_status=$?
  6191   grep -v '^ *+' conftest.er1 >conftest.err
  6192   rm -f conftest.er1
  6193   cat conftest.err >&5
  6194   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6195   (exit $ac_status); } >/dev/null && {
  6196 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6197 	 test ! -s conftest.err
  6198        }; then
  6199   ac_header_preproc=yes
  6200 else
  6201   $as_echo "$as_me: failed program was:" >&5
  6202 sed 's/^/| /' conftest.$ac_ext >&5
  6203 
  6204   ac_header_preproc=no
  6205 fi
  6206 
  6207 rm -f conftest.err conftest.$ac_ext
  6208 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6209 $as_echo "$ac_header_preproc" >&6; }
  6210 
  6211 # So?  What about this header?
  6212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6213   yes:no: )
  6214     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  6215 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6216     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  6217 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  6218     ac_header_preproc=yes
  6219     ;;
  6220   no:yes:* )
  6221     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  6222 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  6223     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  6224 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  6225     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  6226 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  6227     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  6228 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  6229     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  6230 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  6231     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  6232 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  6233 
  6234     ;;
  6235 esac
  6236 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6237 $as_echo_n "checking for $ac_header... " >&6; }
  6238 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6239   $as_echo_n "(cached) " >&6
  6240 else
  6241   eval "$as_ac_Header=\$ac_header_preproc"
  6242 fi
  6243 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6244 		 $as_echo "$as_val"'`
  6245 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6246 $as_echo "$ac_res" >&6; }
  6247 
  6248 fi
  6249 as_val=`eval 'as_val=${'$as_ac_Header'}
  6250 		 $as_echo "$as_val"'`
  6251    if test "x$as_val" = x""yes; then
  6252   cat >>confdefs.h <<_ACEOF
  6253 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6254 _ACEOF
  6255 
  6256 fi
  6257 
  6258 done
  6259 
  6260 
  6261 
  6262 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  6263     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  6264     (test "X$CXX" != "Xg++"))) ; then
  6265   ac_ext=cpp
  6266 ac_cpp='$CXXCPP $CPPFLAGS'
  6267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  6270 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  6271 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  6272 if test -z "$CXXCPP"; then
  6273   if test "${ac_cv_prog_CXXCPP+set}" = set; then
  6274   $as_echo_n "(cached) " >&6
  6275 else
  6276       # Double quotes because CXXCPP needs to be expanded
  6277     for CXXCPP in "$CXX -E" "/lib/cpp"
  6278     do
  6279       ac_preproc_ok=false
  6280 for ac_cxx_preproc_warn_flag in '' yes
  6281 do
  6282   # Use a header file that comes with gcc, so configuring glibc
  6283   # with a fresh cross-compiler works.
  6284   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6285   # <limits.h> exists even on freestanding compilers.
  6286   # On the NeXT, cc -E runs the code through the compiler's parser,
  6287   # not just through cpp. "Syntax error" is here to catch this case.
  6288   cat >conftest.$ac_ext <<_ACEOF
  6289 /* confdefs.h.  */
  6290 _ACEOF
  6291 cat confdefs.h >>conftest.$ac_ext
  6292 cat >>conftest.$ac_ext <<_ACEOF
  6293 /* end confdefs.h.  */
  6294 #ifdef __STDC__
  6295 # include <limits.h>
  6296 #else
  6297 # include <assert.h>
  6298 #endif
  6299 		     Syntax error
  6300 _ACEOF
  6301 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6302 case "(($ac_try" in
  6303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6304   *) ac_try_echo=$ac_try;;
  6305 esac
  6306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6307 $as_echo "$ac_try_echo") >&5
  6308   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6309   ac_status=$?
  6310   grep -v '^ *+' conftest.er1 >conftest.err
  6311   rm -f conftest.er1
  6312   cat conftest.err >&5
  6313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6314   (exit $ac_status); } >/dev/null && {
  6315 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  6316 	 test ! -s conftest.err
  6317        }; then
  6318   :
  6319 else
  6320   $as_echo "$as_me: failed program was:" >&5
  6321 sed 's/^/| /' conftest.$ac_ext >&5
  6322 
  6323   # Broken: fails on valid input.
  6324 continue
  6325 fi
  6326 
  6327 rm -f conftest.err conftest.$ac_ext
  6328 
  6329   # OK, works on sane cases.  Now check whether nonexistent headers
  6330   # can be detected and how.
  6331   cat >conftest.$ac_ext <<_ACEOF
  6332 /* confdefs.h.  */
  6333 _ACEOF
  6334 cat confdefs.h >>conftest.$ac_ext
  6335 cat >>conftest.$ac_ext <<_ACEOF
  6336 /* end confdefs.h.  */
  6337 #include <ac_nonexistent.h>
  6338 _ACEOF
  6339 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6340 case "(($ac_try" in
  6341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6342   *) ac_try_echo=$ac_try;;
  6343 esac
  6344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6345 $as_echo "$ac_try_echo") >&5
  6346   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6347   ac_status=$?
  6348   grep -v '^ *+' conftest.er1 >conftest.err
  6349   rm -f conftest.er1
  6350   cat conftest.err >&5
  6351   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6352   (exit $ac_status); } >/dev/null && {
  6353 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  6354 	 test ! -s conftest.err
  6355        }; then
  6356   # Broken: success on invalid input.
  6357 continue
  6358 else
  6359   $as_echo "$as_me: failed program was:" >&5
  6360 sed 's/^/| /' conftest.$ac_ext >&5
  6361 
  6362   # Passes both tests.
  6363 ac_preproc_ok=:
  6364 break
  6365 fi
  6366 
  6367 rm -f conftest.err conftest.$ac_ext
  6368 
  6369 done
  6370 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6371 rm -f conftest.err conftest.$ac_ext
  6372 if $ac_preproc_ok; then
  6373   break
  6374 fi
  6375 
  6376     done
  6377     ac_cv_prog_CXXCPP=$CXXCPP
  6378 
  6379 fi
  6380   CXXCPP=$ac_cv_prog_CXXCPP
  6381 else
  6382   ac_cv_prog_CXXCPP=$CXXCPP
  6383 fi
  6384 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
  6385 $as_echo "$CXXCPP" >&6; }
  6386 ac_preproc_ok=false
  6387 for ac_cxx_preproc_warn_flag in '' yes
  6388 do
  6389   # Use a header file that comes with gcc, so configuring glibc
  6390   # with a fresh cross-compiler works.
  6391   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6392   # <limits.h> exists even on freestanding compilers.
  6393   # On the NeXT, cc -E runs the code through the compiler's parser,
  6394   # not just through cpp. "Syntax error" is here to catch this case.
  6395   cat >conftest.$ac_ext <<_ACEOF
  6396 /* confdefs.h.  */
  6397 _ACEOF
  6398 cat confdefs.h >>conftest.$ac_ext
  6399 cat >>conftest.$ac_ext <<_ACEOF
  6400 /* end confdefs.h.  */
  6401 #ifdef __STDC__
  6402 # include <limits.h>
  6403 #else
  6404 # include <assert.h>
  6405 #endif
  6406 		     Syntax error
  6407 _ACEOF
  6408 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6409 case "(($ac_try" in
  6410   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6411   *) ac_try_echo=$ac_try;;
  6412 esac
  6413 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6414 $as_echo "$ac_try_echo") >&5
  6415   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6416   ac_status=$?
  6417   grep -v '^ *+' conftest.er1 >conftest.err
  6418   rm -f conftest.er1
  6419   cat conftest.err >&5
  6420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6421   (exit $ac_status); } >/dev/null && {
  6422 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  6423 	 test ! -s conftest.err
  6424        }; then
  6425   :
  6426 else
  6427   $as_echo "$as_me: failed program was:" >&5
  6428 sed 's/^/| /' conftest.$ac_ext >&5
  6429 
  6430   # Broken: fails on valid input.
  6431 continue
  6432 fi
  6433 
  6434 rm -f conftest.err conftest.$ac_ext
  6435 
  6436   # OK, works on sane cases.  Now check whether nonexistent headers
  6437   # can be detected and how.
  6438   cat >conftest.$ac_ext <<_ACEOF
  6439 /* confdefs.h.  */
  6440 _ACEOF
  6441 cat confdefs.h >>conftest.$ac_ext
  6442 cat >>conftest.$ac_ext <<_ACEOF
  6443 /* end confdefs.h.  */
  6444 #include <ac_nonexistent.h>
  6445 _ACEOF
  6446 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6447 case "(($ac_try" in
  6448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6449   *) ac_try_echo=$ac_try;;
  6450 esac
  6451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6452 $as_echo "$ac_try_echo") >&5
  6453   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6454   ac_status=$?
  6455   grep -v '^ *+' conftest.er1 >conftest.err
  6456   rm -f conftest.er1
  6457   cat conftest.err >&5
  6458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6459   (exit $ac_status); } >/dev/null && {
  6460 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  6461 	 test ! -s conftest.err
  6462        }; then
  6463   # Broken: success on invalid input.
  6464 continue
  6465 else
  6466   $as_echo "$as_me: failed program was:" >&5
  6467 sed 's/^/| /' conftest.$ac_ext >&5
  6468 
  6469   # Passes both tests.
  6470 ac_preproc_ok=:
  6471 break
  6472 fi
  6473 
  6474 rm -f conftest.err conftest.$ac_ext
  6475 
  6476 done
  6477 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6478 rm -f conftest.err conftest.$ac_ext
  6479 if $ac_preproc_ok; then
  6480   :
  6481 else
  6482   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  6483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6484 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  6485 See \`config.log' for more details." >&5
  6486 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
  6487 See \`config.log' for more details." >&2;}
  6488    { (exit 1); exit 1; }; }; }
  6489 fi
  6490 
  6491 ac_ext=cpp
  6492 ac_cpp='$CXXCPP $CPPFLAGS'
  6493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  6496 
  6497 fi
  6498 
  6499 ac_ext=f
  6500 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
  6501 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6502 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
  6503 if test -n "$ac_tool_prefix"; then
  6504   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
  6505   do
  6506     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6507 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6508 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6509 $as_echo_n "checking for $ac_word... " >&6; }
  6510 if test "${ac_cv_prog_F77+set}" = set; then
  6511   $as_echo_n "(cached) " >&6
  6512 else
  6513   if test -n "$F77"; then
  6514   ac_cv_prog_F77="$F77" # Let the user override the test.
  6515 else
  6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6517 for as_dir in $PATH
  6518 do
  6519   IFS=$as_save_IFS
  6520   test -z "$as_dir" && as_dir=.
  6521   for ac_exec_ext in '' $ac_executable_extensions; do
  6522   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6523     ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
  6524     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6525     break 2
  6526   fi
  6527 done
  6528 done
  6529 IFS=$as_save_IFS
  6530 
  6531 fi
  6532 fi
  6533 F77=$ac_cv_prog_F77
  6534 if test -n "$F77"; then
  6535   { $as_echo "$as_me:$LINENO: result: $F77" >&5
  6536 $as_echo "$F77" >&6; }
  6537 else
  6538   { $as_echo "$as_me:$LINENO: result: no" >&5
  6539 $as_echo "no" >&6; }
  6540 fi
  6541 
  6542 
  6543     test -n "$F77" && break
  6544   done
  6545 fi
  6546 if test -z "$F77"; then
  6547   ac_ct_F77=$F77
  6548   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
  6549 do
  6550   # Extract the first word of "$ac_prog", so it can be a program name with args.
  6551 set dummy $ac_prog; ac_word=$2
  6552 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6553 $as_echo_n "checking for $ac_word... " >&6; }
  6554 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
  6555   $as_echo_n "(cached) " >&6
  6556 else
  6557   if test -n "$ac_ct_F77"; then
  6558   ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
  6559 else
  6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6561 for as_dir in $PATH
  6562 do
  6563   IFS=$as_save_IFS
  6564   test -z "$as_dir" && as_dir=.
  6565   for ac_exec_ext in '' $ac_executable_extensions; do
  6566   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6567     ac_cv_prog_ac_ct_F77="$ac_prog"
  6568     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6569     break 2
  6570   fi
  6571 done
  6572 done
  6573 IFS=$as_save_IFS
  6574 
  6575 fi
  6576 fi
  6577 ac_ct_F77=$ac_cv_prog_ac_ct_F77
  6578 if test -n "$ac_ct_F77"; then
  6579   { $as_echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
  6580 $as_echo "$ac_ct_F77" >&6; }
  6581 else
  6582   { $as_echo "$as_me:$LINENO: result: no" >&5
  6583 $as_echo "no" >&6; }
  6584 fi
  6585 
  6586 
  6587   test -n "$ac_ct_F77" && break
  6588 done
  6589 
  6590   if test "x$ac_ct_F77" = x; then
  6591     F77=""
  6592   else
  6593     case $cross_compiling:$ac_tool_warned in
  6594 yes:)
  6595 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6596 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6597 ac_tool_warned=yes ;;
  6598 esac
  6599     F77=$ac_ct_F77
  6600   fi
  6601 fi
  6602 
  6603 
  6604 # Provide some information about the compiler.
  6605 $as_echo "$as_me:$LINENO: checking for Fortran 77 compiler version" >&5
  6606 set X $ac_compile
  6607 ac_compiler=$2
  6608 { (ac_try="$ac_compiler --version >&5"
  6609 case "(($ac_try" in
  6610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6611   *) ac_try_echo=$ac_try;;
  6612 esac
  6613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6614 $as_echo "$ac_try_echo") >&5
  6615   (eval "$ac_compiler --version >&5") 2>&5
  6616   ac_status=$?
  6617   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6618   (exit $ac_status); }
  6619 { (ac_try="$ac_compiler -v >&5"
  6620 case "(($ac_try" in
  6621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6622   *) ac_try_echo=$ac_try;;
  6623 esac
  6624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6625 $as_echo "$ac_try_echo") >&5
  6626   (eval "$ac_compiler -v >&5") 2>&5
  6627   ac_status=$?
  6628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6629   (exit $ac_status); }
  6630 { (ac_try="$ac_compiler -V >&5"
  6631 case "(($ac_try" in
  6632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6633   *) ac_try_echo=$ac_try;;
  6634 esac
  6635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6636 $as_echo "$ac_try_echo") >&5
  6637   (eval "$ac_compiler -V >&5") 2>&5
  6638   ac_status=$?
  6639   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6640   (exit $ac_status); }
  6641 rm -f a.out
  6642 
  6643 # If we don't use `.F' as extension, the preprocessor is not run on the
  6644 # input file.  (Note that this only needs to work for GNU compilers.)
  6645 ac_save_ext=$ac_ext
  6646 ac_ext=F
  6647 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
  6648 $as_echo_n "checking whether we are using the GNU Fortran 77 compiler... " >&6; }
  6649 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
  6650   $as_echo_n "(cached) " >&6
  6651 else
  6652   cat >conftest.$ac_ext <<_ACEOF
  6653       program main
  6654 #ifndef __GNUC__
  6655        choke me
  6656 #endif
  6657 
  6658       end
  6659 _ACEOF
  6660 rm -f conftest.$ac_objext
  6661 if { (ac_try="$ac_compile"
  6662 case "(($ac_try" in
  6663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6664   *) ac_try_echo=$ac_try;;
  6665 esac
  6666 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6667 $as_echo "$ac_try_echo") >&5
  6668   (eval "$ac_compile") 2>conftest.er1
  6669   ac_status=$?
  6670   grep -v '^ *+' conftest.er1 >conftest.err
  6671   rm -f conftest.er1
  6672   cat conftest.err >&5
  6673   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6674   (exit $ac_status); } && {
  6675 	 test -z "$ac_f77_werror_flag" ||
  6676 	 test ! -s conftest.err
  6677        } && test -s conftest.$ac_objext; then
  6678   ac_compiler_gnu=yes
  6679 else
  6680   $as_echo "$as_me: failed program was:" >&5
  6681 sed 's/^/| /' conftest.$ac_ext >&5
  6682 
  6683 	ac_compiler_gnu=no
  6684 fi
  6685 
  6686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6687 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
  6688 
  6689 fi
  6690 { $as_echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
  6691 $as_echo "$ac_cv_f77_compiler_gnu" >&6; }
  6692 ac_ext=$ac_save_ext
  6693 ac_test_FFLAGS=${FFLAGS+set}
  6694 ac_save_FFLAGS=$FFLAGS
  6695 FFLAGS=
  6696 { $as_echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
  6697 $as_echo_n "checking whether $F77 accepts -g... " >&6; }
  6698 if test "${ac_cv_prog_f77_g+set}" = set; then
  6699   $as_echo_n "(cached) " >&6
  6700 else
  6701   FFLAGS=-g
  6702 cat >conftest.$ac_ext <<_ACEOF
  6703       program main
  6704 
  6705       end
  6706 _ACEOF
  6707 rm -f conftest.$ac_objext
  6708 if { (ac_try="$ac_compile"
  6709 case "(($ac_try" in
  6710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6711   *) ac_try_echo=$ac_try;;
  6712 esac
  6713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6714 $as_echo "$ac_try_echo") >&5
  6715   (eval "$ac_compile") 2>conftest.er1
  6716   ac_status=$?
  6717   grep -v '^ *+' conftest.er1 >conftest.err
  6718   rm -f conftest.er1
  6719   cat conftest.err >&5
  6720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6721   (exit $ac_status); } && {
  6722 	 test -z "$ac_f77_werror_flag" ||
  6723 	 test ! -s conftest.err
  6724        } && test -s conftest.$ac_objext; then
  6725   ac_cv_prog_f77_g=yes
  6726 else
  6727   $as_echo "$as_me: failed program was:" >&5
  6728 sed 's/^/| /' conftest.$ac_ext >&5
  6729 
  6730 	ac_cv_prog_f77_g=no
  6731 fi
  6732 
  6733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6734 
  6735 fi
  6736 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
  6737 $as_echo "$ac_cv_prog_f77_g" >&6; }
  6738 if test "$ac_test_FFLAGS" = set; then
  6739   FFLAGS=$ac_save_FFLAGS
  6740 elif test $ac_cv_prog_f77_g = yes; then
  6741   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  6742     FFLAGS="-g -O2"
  6743   else
  6744     FFLAGS="-g"
  6745   fi
  6746 else
  6747   if test "x$ac_cv_f77_compiler_gnu" = xyes; then
  6748     FFLAGS="-O2"
  6749   else
  6750     FFLAGS=
  6751   fi
  6752 fi
  6753 
  6754 if test $ac_compiler_gnu = yes; then
  6755   G77=yes
  6756 else
  6757   G77=
  6758 fi
  6759 ac_ext=c
  6760 ac_cpp='$CPP $CPPFLAGS'
  6761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6764 
  6765 
  6766 
  6767 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
  6768 # find the maximum length of command line arguments
  6769 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  6770 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  6771 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  6772   $as_echo_n "(cached) " >&6
  6773 else
  6774     i=0
  6775   teststring="ABCD"
  6776 
  6777   case $build_os in
  6778   msdosdjgpp*)
  6779     # On DJGPP, this test can blow up pretty badly due to problems in libc
  6780     # (any single argument exceeding 2000 bytes causes a buffer overrun
  6781     # during glob expansion).  Even if it were fixed, the result of this
  6782     # check would be larger than it should be.
  6783     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  6784     ;;
  6785 
  6786   gnu*)
  6787     # Under GNU Hurd, this test is not required because there is
  6788     # no limit to the length of command line arguments.
  6789     # Libtool will interpret -1 as no limit whatsoever
  6790     lt_cv_sys_max_cmd_len=-1;
  6791     ;;
  6792 
  6793   cygwin* | mingw*)
  6794     # On Win9x/ME, this test blows up -- it succeeds, but takes
  6795     # about 5 minutes as the teststring grows exponentially.
  6796     # Worse, since 9x/ME are not pre-emptively multitasking,
  6797     # you end up with a "frozen" computer, even though with patience
  6798     # the test eventually succeeds (with a max line length of 256k).
  6799     # Instead, let's just punt: use the minimum linelength reported by
  6800     # all of the supported platforms: 8192 (on NT/2K/XP).
  6801     lt_cv_sys_max_cmd_len=8192;
  6802     ;;
  6803 
  6804   amigaos*)
  6805     # On AmigaOS with pdksh, this test takes hours, literally.
  6806     # So we just punt and use a minimum line length of 8192.
  6807     lt_cv_sys_max_cmd_len=8192;
  6808     ;;
  6809 
  6810   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  6811     # This has been around since 386BSD, at least.  Likely further.
  6812     if test -x /sbin/sysctl; then
  6813       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  6814     elif test -x /usr/sbin/sysctl; then
  6815       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  6816     else
  6817       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  6818     fi
  6819     # And add a safety zone
  6820     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6821     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6822     ;;
  6823 
  6824   interix*)
  6825     # We know the value 262144 and hardcode it with a safety zone (like BSD)
  6826     lt_cv_sys_max_cmd_len=196608
  6827     ;;
  6828 
  6829   osf*)
  6830     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  6831     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  6832     # nice to cause kernel panics so lets avoid the loop below.
  6833     # First set a reasonable default.
  6834     lt_cv_sys_max_cmd_len=16384
  6835     #
  6836     if test -x /sbin/sysconfig; then
  6837       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  6838         *1*) lt_cv_sys_max_cmd_len=-1 ;;
  6839       esac
  6840     fi
  6841     ;;
  6842   sco3.2v5*)
  6843     lt_cv_sys_max_cmd_len=102400
  6844     ;;
  6845   sysv5* | sco5v6* | sysv4.2uw2*)
  6846     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  6847     if test -n "$kargmax"; then
  6848       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ 	]//'`
  6849     else
  6850       lt_cv_sys_max_cmd_len=32768
  6851     fi
  6852     ;;
  6853   *)
  6854     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  6855     if test -n "$lt_cv_sys_max_cmd_len"; then
  6856       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  6857       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  6858     else
  6859       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  6860       while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
  6861 	       = "XX$teststring") >/dev/null 2>&1 &&
  6862 	      new_result=`expr "X$teststring" : ".*" 2>&1` &&
  6863 	      lt_cv_sys_max_cmd_len=$new_result &&
  6864 	      test $i != 17 # 1/2 MB should be enough
  6865       do
  6866         i=`expr $i + 1`
  6867         teststring=$teststring$teststring
  6868       done
  6869       teststring=
  6870       # Add a significant safety factor because C++ compilers can tack on massive
  6871       # amounts of additional arguments before passing them to the linker.
  6872       # It appears as though 1/2 is a usable value.
  6873       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  6874     fi
  6875     ;;
  6876   esac
  6877 
  6878 fi
  6879 
  6880 if test -n $lt_cv_sys_max_cmd_len ; then
  6881   { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  6882 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  6883 else
  6884   { $as_echo "$as_me:$LINENO: result: none" >&5
  6885 $as_echo "none" >&6; }
  6886 fi
  6887 
  6888 
  6889 
  6890 
  6891 
  6892 # Check for command to grab the raw symbol name followed by C symbol from nm.
  6893 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  6894 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6895 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  6896   $as_echo_n "(cached) " >&6
  6897 else
  6898 
  6899 # These are sane defaults that work on at least a few old systems.
  6900 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  6901 
  6902 # Character class describing NM global symbol codes.
  6903 symcode='[BCDEGRST]'
  6904 
  6905 # Regexp to match symbols that can be accessed directly from C.
  6906 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6907 
  6908 # Transform an extracted symbol line into a proper C declaration
  6909 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
  6910 
  6911 # Transform an extracted symbol line into symbol name and symbol address
  6912 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'"
  6913 
  6914 # Define system-specific variables.
  6915 case $host_os in
  6916 aix*)
  6917   symcode='[BCDT]'
  6918   ;;
  6919 cygwin* | mingw* | pw32*)
  6920   symcode='[ABCDGISTW]'
  6921   ;;
  6922 hpux*) # Its linker distinguishes data from code symbols
  6923   if test "$host_cpu" = ia64; then
  6924     symcode='[ABCDEGRST]'
  6925   fi
  6926   lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6927   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'"
  6928   ;;
  6929 linux* | k*bsd*-gnu)
  6930   if test "$host_cpu" = ia64; then
  6931     symcode='[ABCDGIRSTW]'
  6932     lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6933     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'"
  6934   fi
  6935   ;;
  6936 irix* | nonstopux*)
  6937   symcode='[BCDEGRST]'
  6938   ;;
  6939 osf*)
  6940   symcode='[BCDEGQRST]'
  6941   ;;
  6942 solaris*)
  6943   symcode='[BDRT]'
  6944   ;;
  6945 sco3.2v5*)
  6946   symcode='[DT]'
  6947   ;;
  6948 sysv4.2uw2*)
  6949   symcode='[DT]'
  6950   ;;
  6951 sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6952   symcode='[ABDT]'
  6953   ;;
  6954 sysv4)
  6955   symcode='[DFNSTU]'
  6956   ;;
  6957 esac
  6958 
  6959 # Handle CRLF in mingw tool chain
  6960 opt_cr=
  6961 case $build_os in
  6962 mingw*)
  6963   opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6964   ;;
  6965 esac
  6966 
  6967 # If we're using GNU nm, then use its standard symbol codes.
  6968 case `$NM -V 2>&1` in
  6969 *GNU* | *'with BFD'*)
  6970   symcode='[ABCDGIRSTW]' ;;
  6971 esac
  6972 
  6973 # Try without a prefix undercore, then with it.
  6974 for ac_symprfx in "" "_"; do
  6975 
  6976   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6977   symxfrm="\\1 $ac_symprfx\\2 \\2"
  6978 
  6979   # Write the raw and C identifiers.
  6980   lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ 	]\($symcode$symcode*\)[ 	][ 	]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6981 
  6982   # Check to see that the pipe works correctly.
  6983   pipe_works=no
  6984 
  6985   rm -f conftest*
  6986   cat > conftest.$ac_ext <<EOF
  6987 #ifdef __cplusplus
  6988 extern "C" {
  6989 #endif
  6990 char nm_test_var;
  6991 void nm_test_func(){}
  6992 #ifdef __cplusplus
  6993 }
  6994 #endif
  6995 int main(){nm_test_var='a';nm_test_func();return(0);}
  6996 EOF
  6997 
  6998   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6999   (eval $ac_compile) 2>&5
  7000   ac_status=$?
  7001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7002   (exit $ac_status); }; then
  7003     # Now try to grab the symbols.
  7004     nlist=conftest.nm
  7005     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  7006   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  7007   ac_status=$?
  7008   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7009   (exit $ac_status); } && test -s "$nlist"; then
  7010       # Try sorting and uniquifying the output.
  7011       if sort "$nlist" | uniq > "$nlist"T; then
  7012 	mv -f "$nlist"T "$nlist"
  7013       else
  7014 	rm -f "$nlist"T
  7015       fi
  7016 
  7017       # Make sure that we snagged all the symbols we need.
  7018       if grep ' nm_test_var$' "$nlist" >/dev/null; then
  7019 	if grep ' nm_test_func$' "$nlist" >/dev/null; then
  7020 	  cat <<EOF > conftest.$ac_ext
  7021 #ifdef __cplusplus
  7022 extern "C" {
  7023 #endif
  7024 
  7025 EOF
  7026 	  # Now generate the symbol file.
  7027 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
  7028 
  7029 	  cat <<EOF >> conftest.$ac_ext
  7030 #if defined (__STDC__) && __STDC__
  7031 # define lt_ptr_t void *
  7032 #else
  7033 # define lt_ptr_t char *
  7034 # define const
  7035 #endif
  7036 
  7037 /* The mapping between symbol names and symbols. */
  7038 const struct {
  7039   const char *name;
  7040   lt_ptr_t address;
  7041 }
  7042 lt_preloaded_symbols[] =
  7043 {
  7044 EOF
  7045 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
  7046 	  cat <<\EOF >> conftest.$ac_ext
  7047   {0, (lt_ptr_t) 0}
  7048 };
  7049 
  7050 #ifdef __cplusplus
  7051 }
  7052 #endif
  7053 EOF
  7054 	  # Now try linking the two files.
  7055 	  mv conftest.$ac_objext conftstm.$ac_objext
  7056 	  lt_save_LIBS="$LIBS"
  7057 	  lt_save_CFLAGS="$CFLAGS"
  7058 	  LIBS="conftstm.$ac_objext"
  7059 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  7060 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  7061   (eval $ac_link) 2>&5
  7062   ac_status=$?
  7063   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7064   (exit $ac_status); } && test -s conftest${ac_exeext}; then
  7065 	    pipe_works=yes
  7066 	  fi
  7067 	  LIBS="$lt_save_LIBS"
  7068 	  CFLAGS="$lt_save_CFLAGS"
  7069 	else
  7070 	  echo "cannot find nm_test_func in $nlist" >&5
  7071 	fi
  7072       else
  7073 	echo "cannot find nm_test_var in $nlist" >&5
  7074       fi
  7075     else
  7076       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  7077     fi
  7078   else
  7079     echo "$progname: failed program was:" >&5
  7080     cat conftest.$ac_ext >&5
  7081   fi
  7082   rm -rf conftest* conftst*
  7083 
  7084   # Do not use the global_symbol_pipe unless it works.
  7085   if test "$pipe_works" = yes; then
  7086     break
  7087   else
  7088     lt_cv_sys_global_symbol_pipe=
  7089   fi
  7090 done
  7091 
  7092 fi
  7093 
  7094 if test -z "$lt_cv_sys_global_symbol_pipe"; then
  7095   lt_cv_sys_global_symbol_to_cdecl=
  7096 fi
  7097 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  7098   { $as_echo "$as_me:$LINENO: result: failed" >&5
  7099 $as_echo "failed" >&6; }
  7100 else
  7101   { $as_echo "$as_me:$LINENO: result: ok" >&5
  7102 $as_echo "ok" >&6; }
  7103 fi
  7104 
  7105 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
  7106 $as_echo_n "checking for objdir... " >&6; }
  7107 if test "${lt_cv_objdir+set}" = set; then
  7108   $as_echo_n "(cached) " >&6
  7109 else
  7110   rm -f .libs 2>/dev/null
  7111 mkdir .libs 2>/dev/null
  7112 if test -d .libs; then
  7113   lt_cv_objdir=.libs
  7114 else
  7115   # MS-DOS does not allow filenames that begin with a dot.
  7116   lt_cv_objdir=_libs
  7117 fi
  7118 rmdir .libs 2>/dev/null
  7119 fi
  7120 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  7121 $as_echo "$lt_cv_objdir" >&6; }
  7122 objdir=$lt_cv_objdir
  7123 
  7124 
  7125 
  7126 
  7127 
  7128 case $host_os in
  7129 aix3*)
  7130   # AIX sometimes has problems with the GCC collect2 program.  For some
  7131   # reason, if we set the COLLECT_NAMES environment variable, the problems
  7132   # vanish in a puff of smoke.
  7133   if test "X${COLLECT_NAMES+set}" != Xset; then
  7134     COLLECT_NAMES=
  7135     export COLLECT_NAMES
  7136   fi
  7137   ;;
  7138 esac
  7139 
  7140 # Sed substitution that helps us do robust quoting.  It backslashifies
  7141 # metacharacters that are still active within double-quoted strings.
  7142 Xsed='sed -e 1s/^X//'
  7143 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
  7144 
  7145 # Same as above, but do not quote variable references.
  7146 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
  7147 
  7148 # Sed substitution to delay expansion of an escaped shell variable in a
  7149 # double_quote_subst'ed string.
  7150 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  7151 
  7152 # Sed substitution to avoid accidental globbing in evaled expressions
  7153 no_glob_subst='s/\*/\\\*/g'
  7154 
  7155 # Constants:
  7156 rm="rm -f"
  7157 
  7158 # Global variables:
  7159 default_ofile=libtool
  7160 can_build_shared=yes
  7161 
  7162 # All known linkers require a `.a' archive for static linking (except MSVC,
  7163 # which needs '.lib').
  7164 libext=a
  7165 ltmain="$ac_aux_dir/ltmain.sh"
  7166 ofile="$default_ofile"
  7167 with_gnu_ld="$lt_cv_prog_gnu_ld"
  7168 
  7169 if test -n "$ac_tool_prefix"; then
  7170   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  7171 set dummy ${ac_tool_prefix}ar; ac_word=$2
  7172 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7173 $as_echo_n "checking for $ac_word... " >&6; }
  7174 if test "${ac_cv_prog_AR+set}" = set; then
  7175   $as_echo_n "(cached) " >&6
  7176 else
  7177   if test -n "$AR"; then
  7178   ac_cv_prog_AR="$AR" # Let the user override the test.
  7179 else
  7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7181 for as_dir in $PATH
  7182 do
  7183   IFS=$as_save_IFS
  7184   test -z "$as_dir" && as_dir=.
  7185   for ac_exec_ext in '' $ac_executable_extensions; do
  7186   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7187     ac_cv_prog_AR="${ac_tool_prefix}ar"
  7188     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7189     break 2
  7190   fi
  7191 done
  7192 done
  7193 IFS=$as_save_IFS
  7194 
  7195 fi
  7196 fi
  7197 AR=$ac_cv_prog_AR
  7198 if test -n "$AR"; then
  7199   { $as_echo "$as_me:$LINENO: result: $AR" >&5
  7200 $as_echo "$AR" >&6; }
  7201 else
  7202   { $as_echo "$as_me:$LINENO: result: no" >&5
  7203 $as_echo "no" >&6; }
  7204 fi
  7205 
  7206 
  7207 fi
  7208 if test -z "$ac_cv_prog_AR"; then
  7209   ac_ct_AR=$AR
  7210   # Extract the first word of "ar", so it can be a program name with args.
  7211 set dummy ar; ac_word=$2
  7212 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7213 $as_echo_n "checking for $ac_word... " >&6; }
  7214 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  7215   $as_echo_n "(cached) " >&6
  7216 else
  7217   if test -n "$ac_ct_AR"; then
  7218   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  7219 else
  7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7221 for as_dir in $PATH
  7222 do
  7223   IFS=$as_save_IFS
  7224   test -z "$as_dir" && as_dir=.
  7225   for ac_exec_ext in '' $ac_executable_extensions; do
  7226   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7227     ac_cv_prog_ac_ct_AR="ar"
  7228     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7229     break 2
  7230   fi
  7231 done
  7232 done
  7233 IFS=$as_save_IFS
  7234 
  7235 fi
  7236 fi
  7237 ac_ct_AR=$ac_cv_prog_ac_ct_AR
  7238 if test -n "$ac_ct_AR"; then
  7239   { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  7240 $as_echo "$ac_ct_AR" >&6; }
  7241 else
  7242   { $as_echo "$as_me:$LINENO: result: no" >&5
  7243 $as_echo "no" >&6; }
  7244 fi
  7245 
  7246   if test "x$ac_ct_AR" = x; then
  7247     AR="false"
  7248   else
  7249     case $cross_compiling:$ac_tool_warned in
  7250 yes:)
  7251 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7253 ac_tool_warned=yes ;;
  7254 esac
  7255     AR=$ac_ct_AR
  7256   fi
  7257 else
  7258   AR="$ac_cv_prog_AR"
  7259 fi
  7260 
  7261 if test -n "$ac_tool_prefix"; then
  7262   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  7263 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  7264 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7265 $as_echo_n "checking for $ac_word... " >&6; }
  7266 if test "${ac_cv_prog_RANLIB+set}" = set; then
  7267   $as_echo_n "(cached) " >&6
  7268 else
  7269   if test -n "$RANLIB"; then
  7270   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  7271 else
  7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7273 for as_dir in $PATH
  7274 do
  7275   IFS=$as_save_IFS
  7276   test -z "$as_dir" && as_dir=.
  7277   for ac_exec_ext in '' $ac_executable_extensions; do
  7278   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7279     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  7280     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7281     break 2
  7282   fi
  7283 done
  7284 done
  7285 IFS=$as_save_IFS
  7286 
  7287 fi
  7288 fi
  7289 RANLIB=$ac_cv_prog_RANLIB
  7290 if test -n "$RANLIB"; then
  7291   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  7292 $as_echo "$RANLIB" >&6; }
  7293 else
  7294   { $as_echo "$as_me:$LINENO: result: no" >&5
  7295 $as_echo "no" >&6; }
  7296 fi
  7297 
  7298 
  7299 fi
  7300 if test -z "$ac_cv_prog_RANLIB"; then
  7301   ac_ct_RANLIB=$RANLIB
  7302   # Extract the first word of "ranlib", so it can be a program name with args.
  7303 set dummy ranlib; ac_word=$2
  7304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7305 $as_echo_n "checking for $ac_word... " >&6; }
  7306 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  7307   $as_echo_n "(cached) " >&6
  7308 else
  7309   if test -n "$ac_ct_RANLIB"; then
  7310   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  7311 else
  7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7313 for as_dir in $PATH
  7314 do
  7315   IFS=$as_save_IFS
  7316   test -z "$as_dir" && as_dir=.
  7317   for ac_exec_ext in '' $ac_executable_extensions; do
  7318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7319     ac_cv_prog_ac_ct_RANLIB="ranlib"
  7320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7321     break 2
  7322   fi
  7323 done
  7324 done
  7325 IFS=$as_save_IFS
  7326 
  7327 fi
  7328 fi
  7329 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  7330 if test -n "$ac_ct_RANLIB"; then
  7331   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  7332 $as_echo "$ac_ct_RANLIB" >&6; }
  7333 else
  7334   { $as_echo "$as_me:$LINENO: result: no" >&5
  7335 $as_echo "no" >&6; }
  7336 fi
  7337 
  7338   if test "x$ac_ct_RANLIB" = x; then
  7339     RANLIB=":"
  7340   else
  7341     case $cross_compiling:$ac_tool_warned in
  7342 yes:)
  7343 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7345 ac_tool_warned=yes ;;
  7346 esac
  7347     RANLIB=$ac_ct_RANLIB
  7348   fi
  7349 else
  7350   RANLIB="$ac_cv_prog_RANLIB"
  7351 fi
  7352 
  7353 if test -n "$ac_tool_prefix"; then
  7354   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  7355 set dummy ${ac_tool_prefix}strip; ac_word=$2
  7356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7357 $as_echo_n "checking for $ac_word... " >&6; }
  7358 if test "${ac_cv_prog_STRIP+set}" = set; then
  7359   $as_echo_n "(cached) " >&6
  7360 else
  7361   if test -n "$STRIP"; then
  7362   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  7363 else
  7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7365 for as_dir in $PATH
  7366 do
  7367   IFS=$as_save_IFS
  7368   test -z "$as_dir" && as_dir=.
  7369   for ac_exec_ext in '' $ac_executable_extensions; do
  7370   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7371     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  7372     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7373     break 2
  7374   fi
  7375 done
  7376 done
  7377 IFS=$as_save_IFS
  7378 
  7379 fi
  7380 fi
  7381 STRIP=$ac_cv_prog_STRIP
  7382 if test -n "$STRIP"; then
  7383   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  7384 $as_echo "$STRIP" >&6; }
  7385 else
  7386   { $as_echo "$as_me:$LINENO: result: no" >&5
  7387 $as_echo "no" >&6; }
  7388 fi
  7389 
  7390 
  7391 fi
  7392 if test -z "$ac_cv_prog_STRIP"; then
  7393   ac_ct_STRIP=$STRIP
  7394   # Extract the first word of "strip", so it can be a program name with args.
  7395 set dummy strip; ac_word=$2
  7396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7397 $as_echo_n "checking for $ac_word... " >&6; }
  7398 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  7399   $as_echo_n "(cached) " >&6
  7400 else
  7401   if test -n "$ac_ct_STRIP"; then
  7402   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  7403 else
  7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7405 for as_dir in $PATH
  7406 do
  7407   IFS=$as_save_IFS
  7408   test -z "$as_dir" && as_dir=.
  7409   for ac_exec_ext in '' $ac_executable_extensions; do
  7410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7411     ac_cv_prog_ac_ct_STRIP="strip"
  7412     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7413     break 2
  7414   fi
  7415 done
  7416 done
  7417 IFS=$as_save_IFS
  7418 
  7419 fi
  7420 fi
  7421 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  7422 if test -n "$ac_ct_STRIP"; then
  7423   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  7424 $as_echo "$ac_ct_STRIP" >&6; }
  7425 else
  7426   { $as_echo "$as_me:$LINENO: result: no" >&5
  7427 $as_echo "no" >&6; }
  7428 fi
  7429 
  7430   if test "x$ac_ct_STRIP" = x; then
  7431     STRIP=":"
  7432   else
  7433     case $cross_compiling:$ac_tool_warned in
  7434 yes:)
  7435 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7437 ac_tool_warned=yes ;;
  7438 esac
  7439     STRIP=$ac_ct_STRIP
  7440   fi
  7441 else
  7442   STRIP="$ac_cv_prog_STRIP"
  7443 fi
  7444 
  7445 
  7446 old_CC="$CC"
  7447 old_CFLAGS="$CFLAGS"
  7448 
  7449 # Set sane defaults for various variables
  7450 test -z "$AR" && AR=ar
  7451 test -z "$AR_FLAGS" && AR_FLAGS=cru
  7452 test -z "$AS" && AS=as
  7453 test -z "$CC" && CC=cc
  7454 test -z "$LTCC" && LTCC=$CC
  7455 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7456 test -z "$DLLTOOL" && DLLTOOL=dlltool
  7457 test -z "$LD" && LD=ld
  7458 test -z "$LN_S" && LN_S="ln -s"
  7459 test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7460 test -z "$NM" && NM=nm
  7461 test -z "$SED" && SED=sed
  7462 test -z "$OBJDUMP" && OBJDUMP=objdump
  7463 test -z "$RANLIB" && RANLIB=:
  7464 test -z "$STRIP" && STRIP=:
  7465 test -z "$ac_objext" && ac_objext=o
  7466 
  7467 # Determine commands to create old-style static archives.
  7468 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  7469 old_postinstall_cmds='chmod 644 $oldlib'
  7470 old_postuninstall_cmds=
  7471 
  7472 if test -n "$RANLIB"; then
  7473   case $host_os in
  7474   openbsd*)
  7475     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  7476     ;;
  7477   *)
  7478     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  7479     ;;
  7480   esac
  7481   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  7482 fi
  7483 
  7484 for cc_temp in $compiler""; do
  7485   case $cc_temp in
  7486     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7487     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7488     \-*) ;;
  7489     *) break;;
  7490   esac
  7491 done
  7492 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  7493 
  7494 
  7495 # Only perform the check for file, if the check method requires it
  7496 case $deplibs_check_method in
  7497 file_magic*)
  7498   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7499     { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  7500 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7501 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  7502   $as_echo_n "(cached) " >&6
  7503 else
  7504   case $MAGIC_CMD in
  7505 [\\/*] |  ?:[\\/]*)
  7506   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7507   ;;
  7508 *)
  7509   lt_save_MAGIC_CMD="$MAGIC_CMD"
  7510   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7511   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7512   for ac_dir in $ac_dummy; do
  7513     IFS="$lt_save_ifs"
  7514     test -z "$ac_dir" && ac_dir=.
  7515     if test -f $ac_dir/${ac_tool_prefix}file; then
  7516       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  7517       if test -n "$file_magic_test_file"; then
  7518 	case $deplibs_check_method in
  7519 	"file_magic "*)
  7520 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7521 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7522 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7523 	    $EGREP "$file_magic_regex" > /dev/null; then
  7524 	    :
  7525 	  else
  7526 	    cat <<EOF 1>&2
  7527 
  7528 *** Warning: the command libtool uses to detect shared libraries,
  7529 *** $file_magic_cmd, produces output that libtool cannot recognize.
  7530 *** The result is that libtool may fail to recognize shared libraries
  7531 *** as such.  This will affect the creation of libtool libraries that
  7532 *** depend on shared libraries, but programs linked with such libtool
  7533 *** libraries will work regardless of this problem.  Nevertheless, you
  7534 *** may want to report the problem to your system manager and/or to
  7535 *** [email protected]
  7536 
  7537 EOF
  7538 	  fi ;;
  7539 	esac
  7540       fi
  7541       break
  7542     fi
  7543   done
  7544   IFS="$lt_save_ifs"
  7545   MAGIC_CMD="$lt_save_MAGIC_CMD"
  7546   ;;
  7547 esac
  7548 fi
  7549 
  7550 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7551 if test -n "$MAGIC_CMD"; then
  7552   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  7553 $as_echo "$MAGIC_CMD" >&6; }
  7554 else
  7555   { $as_echo "$as_me:$LINENO: result: no" >&5
  7556 $as_echo "no" >&6; }
  7557 fi
  7558 
  7559 if test -z "$lt_cv_path_MAGIC_CMD"; then
  7560   if test -n "$ac_tool_prefix"; then
  7561     { $as_echo "$as_me:$LINENO: checking for file" >&5
  7562 $as_echo_n "checking for file... " >&6; }
  7563 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  7564   $as_echo_n "(cached) " >&6
  7565 else
  7566   case $MAGIC_CMD in
  7567 [\\/*] |  ?:[\\/]*)
  7568   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7569   ;;
  7570 *)
  7571   lt_save_MAGIC_CMD="$MAGIC_CMD"
  7572   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7573   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7574   for ac_dir in $ac_dummy; do
  7575     IFS="$lt_save_ifs"
  7576     test -z "$ac_dir" && ac_dir=.
  7577     if test -f $ac_dir/file; then
  7578       lt_cv_path_MAGIC_CMD="$ac_dir/file"
  7579       if test -n "$file_magic_test_file"; then
  7580 	case $deplibs_check_method in
  7581 	"file_magic "*)
  7582 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7583 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7584 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7585 	    $EGREP "$file_magic_regex" > /dev/null; then
  7586 	    :
  7587 	  else
  7588 	    cat <<EOF 1>&2
  7589 
  7590 *** Warning: the command libtool uses to detect shared libraries,
  7591 *** $file_magic_cmd, produces output that libtool cannot recognize.
  7592 *** The result is that libtool may fail to recognize shared libraries
  7593 *** as such.  This will affect the creation of libtool libraries that
  7594 *** depend on shared libraries, but programs linked with such libtool
  7595 *** libraries will work regardless of this problem.  Nevertheless, you
  7596 *** may want to report the problem to your system manager and/or to
  7597 *** [email protected]
  7598 
  7599 EOF
  7600 	  fi ;;
  7601 	esac
  7602       fi
  7603       break
  7604     fi
  7605   done
  7606   IFS="$lt_save_ifs"
  7607   MAGIC_CMD="$lt_save_MAGIC_CMD"
  7608   ;;
  7609 esac
  7610 fi
  7611 
  7612 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7613 if test -n "$MAGIC_CMD"; then
  7614   { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  7615 $as_echo "$MAGIC_CMD" >&6; }
  7616 else
  7617   { $as_echo "$as_me:$LINENO: result: no" >&5
  7618 $as_echo "no" >&6; }
  7619 fi
  7620 
  7621   else
  7622     MAGIC_CMD=:
  7623   fi
  7624 fi
  7625 
  7626   fi
  7627   ;;
  7628 esac
  7629 
  7630 
  7631   case $host_os in
  7632     rhapsody* | darwin*)
  7633     if test -n "$ac_tool_prefix"; then
  7634   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  7635 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  7636 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7637 $as_echo_n "checking for $ac_word... " >&6; }
  7638 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  7639   $as_echo_n "(cached) " >&6
  7640 else
  7641   if test -n "$DSYMUTIL"; then
  7642   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  7643 else
  7644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7645 for as_dir in $PATH
  7646 do
  7647   IFS=$as_save_IFS
  7648   test -z "$as_dir" && as_dir=.
  7649   for ac_exec_ext in '' $ac_executable_extensions; do
  7650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7651     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  7652     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7653     break 2
  7654   fi
  7655 done
  7656 done
  7657 IFS=$as_save_IFS
  7658 
  7659 fi
  7660 fi
  7661 DSYMUTIL=$ac_cv_prog_DSYMUTIL
  7662 if test -n "$DSYMUTIL"; then
  7663   { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  7664 $as_echo "$DSYMUTIL" >&6; }
  7665 else
  7666   { $as_echo "$as_me:$LINENO: result: no" >&5
  7667 $as_echo "no" >&6; }
  7668 fi
  7669 
  7670 
  7671 fi
  7672 if test -z "$ac_cv_prog_DSYMUTIL"; then
  7673   ac_ct_DSYMUTIL=$DSYMUTIL
  7674   # Extract the first word of "dsymutil", so it can be a program name with args.
  7675 set dummy dsymutil; ac_word=$2
  7676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7677 $as_echo_n "checking for $ac_word... " >&6; }
  7678 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  7679   $as_echo_n "(cached) " >&6
  7680 else
  7681   if test -n "$ac_ct_DSYMUTIL"; then
  7682   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  7683 else
  7684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7685 for as_dir in $PATH
  7686 do
  7687   IFS=$as_save_IFS
  7688   test -z "$as_dir" && as_dir=.
  7689   for ac_exec_ext in '' $ac_executable_extensions; do
  7690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7691     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  7692     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7693     break 2
  7694   fi
  7695 done
  7696 done
  7697 IFS=$as_save_IFS
  7698 
  7699 fi
  7700 fi
  7701 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  7702 if test -n "$ac_ct_DSYMUTIL"; then
  7703   { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  7704 $as_echo "$ac_ct_DSYMUTIL" >&6; }
  7705 else
  7706   { $as_echo "$as_me:$LINENO: result: no" >&5
  7707 $as_echo "no" >&6; }
  7708 fi
  7709 
  7710   if test "x$ac_ct_DSYMUTIL" = x; then
  7711     DSYMUTIL=":"
  7712   else
  7713     case $cross_compiling:$ac_tool_warned in
  7714 yes:)
  7715 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7717 ac_tool_warned=yes ;;
  7718 esac
  7719     DSYMUTIL=$ac_ct_DSYMUTIL
  7720   fi
  7721 else
  7722   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  7723 fi
  7724 
  7725     if test -n "$ac_tool_prefix"; then
  7726   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  7727 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  7728 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7729 $as_echo_n "checking for $ac_word... " >&6; }
  7730 if test "${ac_cv_prog_NMEDIT+set}" = set; then
  7731   $as_echo_n "(cached) " >&6
  7732 else
  7733   if test -n "$NMEDIT"; then
  7734   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  7735 else
  7736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7737 for as_dir in $PATH
  7738 do
  7739   IFS=$as_save_IFS
  7740   test -z "$as_dir" && as_dir=.
  7741   for ac_exec_ext in '' $ac_executable_extensions; do
  7742   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7743     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  7744     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7745     break 2
  7746   fi
  7747 done
  7748 done
  7749 IFS=$as_save_IFS
  7750 
  7751 fi
  7752 fi
  7753 NMEDIT=$ac_cv_prog_NMEDIT
  7754 if test -n "$NMEDIT"; then
  7755   { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
  7756 $as_echo "$NMEDIT" >&6; }
  7757 else
  7758   { $as_echo "$as_me:$LINENO: result: no" >&5
  7759 $as_echo "no" >&6; }
  7760 fi
  7761 
  7762 
  7763 fi
  7764 if test -z "$ac_cv_prog_NMEDIT"; then
  7765   ac_ct_NMEDIT=$NMEDIT
  7766   # Extract the first word of "nmedit", so it can be a program name with args.
  7767 set dummy nmedit; ac_word=$2
  7768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7769 $as_echo_n "checking for $ac_word... " >&6; }
  7770 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  7771   $as_echo_n "(cached) " >&6
  7772 else
  7773   if test -n "$ac_ct_NMEDIT"; then
  7774   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  7775 else
  7776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7777 for as_dir in $PATH
  7778 do
  7779   IFS=$as_save_IFS
  7780   test -z "$as_dir" && as_dir=.
  7781   for ac_exec_ext in '' $ac_executable_extensions; do
  7782   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7783     ac_cv_prog_ac_ct_NMEDIT="nmedit"
  7784     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7785     break 2
  7786   fi
  7787 done
  7788 done
  7789 IFS=$as_save_IFS
  7790 
  7791 fi
  7792 fi
  7793 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  7794 if test -n "$ac_ct_NMEDIT"; then
  7795   { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  7796 $as_echo "$ac_ct_NMEDIT" >&6; }
  7797 else
  7798   { $as_echo "$as_me:$LINENO: result: no" >&5
  7799 $as_echo "no" >&6; }
  7800 fi
  7801 
  7802   if test "x$ac_ct_NMEDIT" = x; then
  7803     NMEDIT=":"
  7804   else
  7805     case $cross_compiling:$ac_tool_warned in
  7806 yes:)
  7807 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  7808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7809 ac_tool_warned=yes ;;
  7810 esac
  7811     NMEDIT=$ac_ct_NMEDIT
  7812   fi
  7813 else
  7814   NMEDIT="$ac_cv_prog_NMEDIT"
  7815 fi
  7816 
  7817 
  7818     { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  7819 $as_echo_n "checking for -single_module linker flag... " >&6; }
  7820 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  7821   $as_echo_n "(cached) " >&6
  7822 else
  7823   lt_cv_apple_cc_single_mod=no
  7824       if test -z "${LT_MULTI_MODULE}"; then
  7825    # By default we will add the -single_module flag. You can override
  7826    # by either setting the environment variable LT_MULTI_MODULE
  7827    # non-empty at configure time, or by adding -multi_module to the
  7828    # link flags.
  7829    echo "int foo(void){return 1;}" > conftest.c
  7830    $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7831      -dynamiclib ${wl}-single_module conftest.c
  7832    if test -f libconftest.dylib; then
  7833      lt_cv_apple_cc_single_mod=yes
  7834      rm -rf libconftest.dylib*
  7835    fi
  7836    rm conftest.c
  7837       fi
  7838 fi
  7839 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  7840 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7841     { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  7842 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7843 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  7844   $as_echo_n "(cached) " >&6
  7845 else
  7846   lt_cv_ld_exported_symbols_list=no
  7847       save_LDFLAGS=$LDFLAGS
  7848       echo "_main" > conftest.sym
  7849       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7850       cat >conftest.$ac_ext <<_ACEOF
  7851 /* confdefs.h.  */
  7852 _ACEOF
  7853 cat confdefs.h >>conftest.$ac_ext
  7854 cat >>conftest.$ac_ext <<_ACEOF
  7855 /* end confdefs.h.  */
  7856 
  7857 int
  7858 main ()
  7859 {
  7860 
  7861   ;
  7862   return 0;
  7863 }
  7864 _ACEOF
  7865 rm -f conftest.$ac_objext conftest$ac_exeext
  7866 if { (ac_try="$ac_link"
  7867 case "(($ac_try" in
  7868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7869   *) ac_try_echo=$ac_try;;
  7870 esac
  7871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7872 $as_echo "$ac_try_echo") >&5
  7873   (eval "$ac_link") 2>conftest.er1
  7874   ac_status=$?
  7875   grep -v '^ *+' conftest.er1 >conftest.err
  7876   rm -f conftest.er1
  7877   cat conftest.err >&5
  7878   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7879   (exit $ac_status); } && {
  7880 	 test -z "$ac_c_werror_flag" ||
  7881 	 test ! -s conftest.err
  7882        } && test -s conftest$ac_exeext && {
  7883 	 test "$cross_compiling" = yes ||
  7884 	 $as_test_x conftest$ac_exeext
  7885        }; then
  7886   lt_cv_ld_exported_symbols_list=yes
  7887 else
  7888   $as_echo "$as_me: failed program was:" >&5
  7889 sed 's/^/| /' conftest.$ac_ext >&5
  7890 
  7891 	lt_cv_ld_exported_symbols_list=no
  7892 fi
  7893 
  7894 rm -rf conftest.dSYM
  7895 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7896       conftest$ac_exeext conftest.$ac_ext
  7897    LDFLAGS="$save_LDFLAGS"
  7898 
  7899 fi
  7900 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  7901 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7902     case $host_os in
  7903     rhapsody* | darwin1.[0123])
  7904       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7905     darwin1.*)
  7906      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7907     darwin*)
  7908       # if running on 10.5 or later, the deployment target defaults
  7909       # to the OS version, if on x86, and 10.4, the deployment
  7910       # target defaults to 10.4. Don't you love it?
  7911       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7912    10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7913      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7914    10.[012]*)
  7915      _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7916    10.*)
  7917      _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7918       esac
  7919     ;;
  7920   esac
  7921     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7922       _lt_dar_single_mod='$single_module'
  7923     fi
  7924     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7925       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7926     else
  7927       _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
  7928     fi
  7929     if test "$DSYMUTIL" != ":"; then
  7930       _lt_dsymutil="~$DSYMUTIL \$lib || :"
  7931     else
  7932       _lt_dsymutil=
  7933     fi
  7934     ;;
  7935   esac
  7936 
  7937 
  7938 enable_dlopen=no
  7939 enable_win32_dll=yes
  7940 
  7941 # Check whether --enable-libtool-lock was given.
  7942 if test "${enable_libtool_lock+set}" = set; then
  7943   enableval=$enable_libtool_lock;
  7944 fi
  7945 
  7946 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  7947 
  7948 
  7949 # Check whether --with-pic was given.
  7950 if test "${with_pic+set}" = set; then
  7951   withval=$with_pic; pic_mode="$withval"
  7952 else
  7953   pic_mode=default
  7954 fi
  7955 
  7956 test -z "$pic_mode" && pic_mode=default
  7957 
  7958 # Check if we have a version mismatch between libtool.m4 and ltmain.sh.
  7959 #
  7960 # Note:  This should be in AC_LIBTOOL_SETUP, _after_ $ltmain have been defined.
  7961 #        We also should do it _before_ AC_LIBTOOL_LANG_C_CONFIG that actually
  7962 #        calls AC_LIBTOOL_CONFIG and creates libtool.
  7963 #
  7964 { $as_echo "$as_me:$LINENO: checking for correct ltmain.sh version" >&5
  7965 $as_echo_n "checking for correct ltmain.sh version... " >&6; }
  7966 if test "x$ltmain" = "x" ; then
  7967   { $as_echo "$as_me:$LINENO: result: no" >&5
  7968 $as_echo "no" >&6; }
  7969   { { $as_echo "$as_me:$LINENO: error:
  7970 
  7971 *** [Gentoo] sanity check failed! ***
  7972 *** \$ltmain is not defined, please check the patch for consistency! ***
  7973 " >&5
  7974 $as_echo "$as_me: error:
  7975 
  7976 *** [Gentoo] sanity check failed! ***
  7977 *** \$ltmain is not defined, please check the patch for consistency! ***
  7978 " >&2;}
  7979    { (exit 1); exit 1; }; }
  7980 fi
  7981 gentoo_lt_version="1.5.26"
  7982 gentoo_ltmain_version=`sed -n '/^[ 	]*VERSION=/{s/^[ 	]*VERSION=//;p;q;}' "$ltmain"`
  7983 if test "x$gentoo_lt_version" != "x$gentoo_ltmain_version" ; then
  7984   { $as_echo "$as_me:$LINENO: result: no" >&5
  7985 $as_echo "no" >&6; }
  7986   { { $as_echo "$as_me:$LINENO: error:
  7987 
  7988 *** [Gentoo] sanity check failed! ***
  7989 *** libtool.m4 and ltmain.sh have a version mismatch! ***
  7990 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
  7991 
  7992 Please run:
  7993 
  7994   libtoolize --copy --force
  7995 
  7996 if appropriate, please contact the maintainer of this
  7997 package (or your distribution) for help.
  7998 " >&5
  7999 $as_echo "$as_me: error:
  8000 
  8001 *** [Gentoo] sanity check failed! ***
  8002 *** libtool.m4 and ltmain.sh have a version mismatch! ***
  8003 *** (libtool.m4 = $gentoo_lt_version, ltmain.sh = $gentoo_ltmain_version) ***
  8004 
  8005 Please run:
  8006 
  8007   libtoolize --copy --force
  8008 
  8009 if appropriate, please contact the maintainer of this
  8010 package (or your distribution) for help.
  8011 " >&2;}
  8012    { (exit 1); exit 1; }; }
  8013 else
  8014   { $as_echo "$as_me:$LINENO: result: yes" >&5
  8015 $as_echo "yes" >&6; }
  8016 fi
  8017 
  8018 
  8019 # Use C for the default configuration in the libtool script
  8020 tagname=
  8021 lt_save_CC="$CC"
  8022 ac_ext=c
  8023 ac_cpp='$CPP $CPPFLAGS'
  8024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8027 
  8028 
  8029 # Source file extension for C test sources.
  8030 ac_ext=c
  8031 
  8032 # Object file extension for compiled C test sources.
  8033 objext=o
  8034 objext=$objext
  8035 
  8036 # Code to be used in simple compile tests
  8037 lt_simple_compile_test_code="int some_variable = 0;"
  8038 
  8039 # Code to be used in simple link tests
  8040 lt_simple_link_test_code='int main(){return(0);}'
  8041 
  8042 
  8043 # If no C compiler was specified, use CC.
  8044 LTCC=${LTCC-"$CC"}
  8045 
  8046 # If no C compiler flags were specified, use CFLAGS.
  8047 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8048 
  8049 # Allow CC to be a program name with arguments.
  8050 compiler=$CC
  8051 
  8052 
  8053 # save warnings/boilerplate of simple test code
  8054 ac_outfile=conftest.$ac_objext
  8055 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8056 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8057 _lt_compiler_boilerplate=`cat conftest.err`
  8058 $rm conftest*
  8059 
  8060 ac_outfile=conftest.$ac_objext
  8061 echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8062 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8063 _lt_linker_boilerplate=`cat conftest.err`
  8064 $rm -r conftest*
  8065 
  8066 
  8067 
  8068 lt_prog_compiler_no_builtin_flag=
  8069 
  8070 if test "$GCC" = yes; then
  8071   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  8072 
  8073 
  8074 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8075 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8076 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  8077   $as_echo_n "(cached) " >&6
  8078 else
  8079   lt_cv_prog_compiler_rtti_exceptions=no
  8080   ac_outfile=conftest.$ac_objext
  8081    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8082    lt_compiler_flag="-fno-rtti -fno-exceptions"
  8083    # Insert the option either (1) after the last *FLAGS variable, or
  8084    # (2) before a word containing "conftest.", or (3) at the end.
  8085    # Note that $ac_compile itself does not contain backslashes and begins
  8086    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8087    # The option is referenced via a variable to avoid confusing sed.
  8088    lt_compile=`echo "$ac_compile" | $SED \
  8089    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8090    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8091    -e 's:$: $lt_compiler_flag:'`
  8092    (eval echo "\"\$as_me:8092: $lt_compile\"" >&5)
  8093    (eval "$lt_compile" 2>conftest.err)
  8094    ac_status=$?
  8095    cat conftest.err >&5
  8096    echo "$as_me:8096: \$? = $ac_status" >&5
  8097    if (exit $ac_status) && test -s "$ac_outfile"; then
  8098      # The compiler can only warn and ignore the option if not recognized
  8099      # So say no if there are warnings other than the usual output.
  8100      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  8101      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8102      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8103        lt_cv_prog_compiler_rtti_exceptions=yes
  8104      fi
  8105    fi
  8106    $rm conftest*
  8107 
  8108 fi
  8109 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8110 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8111 
  8112 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8113     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8114 else
  8115     :
  8116 fi
  8117 
  8118 fi
  8119 
  8120 lt_prog_compiler_wl=
  8121 lt_prog_compiler_pic=
  8122 lt_prog_compiler_static=
  8123 
  8124 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  8125 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8126 
  8127   if test "$GCC" = yes; then
  8128     lt_prog_compiler_wl='-Wl,'
  8129     lt_prog_compiler_static='-static'
  8130 
  8131     case $host_os in
  8132       aix*)
  8133       # All AIX code is PIC.
  8134       if test "$host_cpu" = ia64; then
  8135 	# AIX 5 now supports IA64 processor
  8136 	lt_prog_compiler_static='-Bstatic'
  8137       fi
  8138       ;;
  8139 
  8140     amigaos*)
  8141       # FIXME: we need at least 68020 code to build shared libraries, but
  8142       # adding the `-m68020' flag to GCC prevents building anything better,
  8143       # like `-m68040'.
  8144       lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8145       ;;
  8146 
  8147     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8148       # PIC is the default for these OSes.
  8149       ;;
  8150 
  8151     mingw* | cygwin* | pw32* | os2*)
  8152       # This hack is so that the source file can tell whether it is being
  8153       # built for inclusion in a dll (and should export symbols for example).
  8154       # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8155       # (--disable-auto-import) libraries
  8156       lt_prog_compiler_pic='-DDLL_EXPORT'
  8157       ;;
  8158 
  8159     darwin* | rhapsody*)
  8160       # PIC is the default on this platform
  8161       # Common symbols not allowed in MH_DYLIB files
  8162       lt_prog_compiler_pic='-fno-common'
  8163       ;;
  8164 
  8165     interix[3-9]*)
  8166       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8167       # Instead, we relocate shared libraries at runtime.
  8168       ;;
  8169 
  8170     msdosdjgpp*)
  8171       # Just because we use GCC doesn't mean we suddenly get shared libraries
  8172       # on systems that don't support them.
  8173       lt_prog_compiler_can_build_shared=no
  8174       enable_shared=no
  8175       ;;
  8176 
  8177     sysv4*MP*)
  8178       if test -d /usr/nec; then
  8179 	lt_prog_compiler_pic=-Kconform_pic
  8180       fi
  8181       ;;
  8182 
  8183     hpux*)
  8184       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8185       # not for PA HP-UX.
  8186       case $host_cpu in
  8187       hppa*64*|ia64*)
  8188 	# +Z the default
  8189 	;;
  8190       *)
  8191 	lt_prog_compiler_pic='-fPIC'
  8192 	;;
  8193       esac
  8194       ;;
  8195 
  8196     *)
  8197       lt_prog_compiler_pic='-fPIC'
  8198       ;;
  8199     esac
  8200   else
  8201     # PORTME Check for flag to pass linker flags through the system compiler.
  8202     case $host_os in
  8203     aix*)
  8204       lt_prog_compiler_wl='-Wl,'
  8205       if test "$host_cpu" = ia64; then
  8206 	# AIX 5 now supports IA64 processor
  8207 	lt_prog_compiler_static='-Bstatic'
  8208       else
  8209 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8210       fi
  8211       ;;
  8212       darwin*)
  8213         # PIC is the default on this platform
  8214         # Common symbols not allowed in MH_DYLIB files
  8215        case $cc_basename in
  8216          xlc*)
  8217          lt_prog_compiler_pic='-qnocommon'
  8218          lt_prog_compiler_wl='-Wl,'
  8219          ;;
  8220        esac
  8221        ;;
  8222 
  8223     mingw* | cygwin* | pw32* | os2*)
  8224       # This hack is so that the source file can tell whether it is being
  8225       # built for inclusion in a dll (and should export symbols for example).
  8226       lt_prog_compiler_pic='-DDLL_EXPORT'
  8227       ;;
  8228 
  8229     hpux9* | hpux10* | hpux11*)
  8230       lt_prog_compiler_wl='-Wl,'
  8231       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8232       # not for PA HP-UX.
  8233       case $host_cpu in
  8234       hppa*64*|ia64*)
  8235 	# +Z the default
  8236 	;;
  8237       *)
  8238 	lt_prog_compiler_pic='+Z'
  8239 	;;
  8240       esac
  8241       # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8242       lt_prog_compiler_static='${wl}-a ${wl}archive'
  8243       ;;
  8244 
  8245     irix5* | irix6* | nonstopux*)
  8246       lt_prog_compiler_wl='-Wl,'
  8247       # PIC (with -KPIC) is the default.
  8248       lt_prog_compiler_static='-non_shared'
  8249       ;;
  8250 
  8251     newsos6)
  8252       lt_prog_compiler_pic='-KPIC'
  8253       lt_prog_compiler_static='-Bstatic'
  8254       ;;
  8255 
  8256     linux* | k*bsd*-gnu)
  8257       case $cc_basename in
  8258       icc* | ecc*)
  8259 	lt_prog_compiler_wl='-Wl,'
  8260 	lt_prog_compiler_pic='-KPIC'
  8261 	lt_prog_compiler_static='-static'
  8262         ;;
  8263       pgcc* | pgf77* | pgf90* | pgf95*)
  8264         # Portland Group compilers (*not* the Pentium gcc compiler,
  8265 	# which looks to be a dead project)
  8266 	lt_prog_compiler_wl='-Wl,'
  8267 	lt_prog_compiler_pic='-fpic'
  8268 	lt_prog_compiler_static='-Bstatic'
  8269         ;;
  8270       ccc*)
  8271         lt_prog_compiler_wl='-Wl,'
  8272         # All Alpha code is PIC.
  8273         lt_prog_compiler_static='-non_shared'
  8274         ;;
  8275       *)
  8276         case `$CC -V 2>&1 | sed 5q` in
  8277 	*Sun\ C*)
  8278 	  # Sun C 5.9
  8279 	  lt_prog_compiler_pic='-KPIC'
  8280 	  lt_prog_compiler_static='-Bstatic'
  8281 	  lt_prog_compiler_wl='-Wl,'
  8282 	  ;;
  8283 	*Sun\ F*)
  8284 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8285 	  lt_prog_compiler_pic='-KPIC'
  8286 	  lt_prog_compiler_static='-Bstatic'
  8287 	  lt_prog_compiler_wl=''
  8288 	  ;;
  8289 	esac
  8290 	;;
  8291       esac
  8292       ;;
  8293 
  8294     osf3* | osf4* | osf5*)
  8295       lt_prog_compiler_wl='-Wl,'
  8296       # All OSF/1 code is PIC.
  8297       lt_prog_compiler_static='-non_shared'
  8298       ;;
  8299 
  8300     rdos*)
  8301       lt_prog_compiler_static='-non_shared'
  8302       ;;
  8303 
  8304     solaris*)
  8305       lt_prog_compiler_pic='-KPIC'
  8306       lt_prog_compiler_static='-Bstatic'
  8307       case $cc_basename in
  8308       f77* | f90* | f95*)
  8309 	lt_prog_compiler_wl='-Qoption ld ';;
  8310       *)
  8311 	lt_prog_compiler_wl='-Wl,';;
  8312       esac
  8313       ;;
  8314 
  8315     sunos4*)
  8316       lt_prog_compiler_wl='-Qoption ld '
  8317       lt_prog_compiler_pic='-PIC'
  8318       lt_prog_compiler_static='-Bstatic'
  8319       ;;
  8320 
  8321     sysv4 | sysv4.2uw2* | sysv4.3*)
  8322       lt_prog_compiler_wl='-Wl,'
  8323       lt_prog_compiler_pic='-KPIC'
  8324       lt_prog_compiler_static='-Bstatic'
  8325       ;;
  8326 
  8327     sysv4*MP*)
  8328       if test -d /usr/nec ;then
  8329 	lt_prog_compiler_pic='-Kconform_pic'
  8330 	lt_prog_compiler_static='-Bstatic'
  8331       fi
  8332       ;;
  8333 
  8334     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8335       lt_prog_compiler_wl='-Wl,'
  8336       lt_prog_compiler_pic='-KPIC'
  8337       lt_prog_compiler_static='-Bstatic'
  8338       ;;
  8339 
  8340     unicos*)
  8341       lt_prog_compiler_wl='-Wl,'
  8342       lt_prog_compiler_can_build_shared=no
  8343       ;;
  8344 
  8345     uts4*)
  8346       lt_prog_compiler_pic='-pic'
  8347       lt_prog_compiler_static='-Bstatic'
  8348       ;;
  8349 
  8350     *)
  8351       lt_prog_compiler_can_build_shared=no
  8352       ;;
  8353     esac
  8354   fi
  8355 
  8356 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  8357 $as_echo "$lt_prog_compiler_pic" >&6; }
  8358 
  8359 #
  8360 # Check to make sure the PIC flag actually works.
  8361 #
  8362 if test -n "$lt_prog_compiler_pic"; then
  8363 
  8364 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8365 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8366 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  8367   $as_echo_n "(cached) " >&6
  8368 else
  8369   lt_cv_prog_compiler_pic_works=no
  8370   ac_outfile=conftest.$ac_objext
  8371    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8372    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8373    # Insert the option either (1) after the last *FLAGS variable, or
  8374    # (2) before a word containing "conftest.", or (3) at the end.
  8375    # Note that $ac_compile itself does not contain backslashes and begins
  8376    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8377    # The option is referenced via a variable to avoid confusing sed.
  8378    lt_compile=`echo "$ac_compile" | $SED \
  8379    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8380    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8381    -e 's:$: $lt_compiler_flag:'`
  8382    (eval echo "\"\$as_me:8382: $lt_compile\"" >&5)
  8383    (eval "$lt_compile" 2>conftest.err)
  8384    ac_status=$?
  8385    cat conftest.err >&5
  8386    echo "$as_me:8386: \$? = $ac_status" >&5
  8387    if (exit $ac_status) && test -s "$ac_outfile"; then
  8388      # The compiler can only warn and ignore the option if not recognized
  8389      # So say no if there are warnings other than the usual output.
  8390      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  8391      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8392      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8393        lt_cv_prog_compiler_pic_works=yes
  8394      fi
  8395    fi
  8396    $rm conftest*
  8397 
  8398 fi
  8399 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  8400 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8401 
  8402 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8403     case $lt_prog_compiler_pic in
  8404      "" | " "*) ;;
  8405      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8406      esac
  8407 else
  8408     lt_prog_compiler_pic=
  8409      lt_prog_compiler_can_build_shared=no
  8410 fi
  8411 
  8412 fi
  8413 case $host_os in
  8414   # For platforms which do not support PIC, -DPIC is meaningless:
  8415   *djgpp*)
  8416     lt_prog_compiler_pic=
  8417     ;;
  8418   *)
  8419     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8420     ;;
  8421 esac
  8422 
  8423 #
  8424 # Check to make sure the static flag actually works.
  8425 #
  8426 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8427 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8428 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8429 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  8430   $as_echo_n "(cached) " >&6
  8431 else
  8432   lt_cv_prog_compiler_static_works=no
  8433    save_LDFLAGS="$LDFLAGS"
  8434    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8435    echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8436    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8437      # The linker can only warn and ignore the option if not recognized
  8438      # So say no if there are warnings
  8439      if test -s conftest.err; then
  8440        # Append any errors to the config.log.
  8441        cat conftest.err 1>&5
  8442        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  8443        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8444        if diff conftest.exp conftest.er2 >/dev/null; then
  8445          lt_cv_prog_compiler_static_works=yes
  8446        fi
  8447      else
  8448        lt_cv_prog_compiler_static_works=yes
  8449      fi
  8450    fi
  8451    $rm -r conftest*
  8452    LDFLAGS="$save_LDFLAGS"
  8453 
  8454 fi
  8455 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  8456 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8457 
  8458 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8459     :
  8460 else
  8461     lt_prog_compiler_static=
  8462 fi
  8463 
  8464 
  8465 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  8466 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8467 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  8468   $as_echo_n "(cached) " >&6
  8469 else
  8470   lt_cv_prog_compiler_c_o=no
  8471    $rm -r conftest 2>/dev/null
  8472    mkdir conftest
  8473    cd conftest
  8474    mkdir out
  8475    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8476 
  8477    lt_compiler_flag="-o out/conftest2.$ac_objext"
  8478    # Insert the option either (1) after the last *FLAGS variable, or
  8479    # (2) before a word containing "conftest.", or (3) at the end.
  8480    # Note that $ac_compile itself does not contain backslashes and begins
  8481    # with a dollar sign (not a hyphen), so the echo should work correctly.
  8482    lt_compile=`echo "$ac_compile" | $SED \
  8483    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8484    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8485    -e 's:$: $lt_compiler_flag:'`
  8486    (eval echo "\"\$as_me:8486: $lt_compile\"" >&5)
  8487    (eval "$lt_compile" 2>out/conftest.err)
  8488    ac_status=$?
  8489    cat out/conftest.err >&5
  8490    echo "$as_me:8490: \$? = $ac_status" >&5
  8491    if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8492    then
  8493      # The compiler can only warn and ignore the option if not recognized
  8494      # So say no if there are warnings
  8495      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  8496      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8497      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8498        lt_cv_prog_compiler_c_o=yes
  8499      fi
  8500    fi
  8501    chmod u+w . 2>&5
  8502    $rm conftest*
  8503    # SGI C++ compiler will create directory out/ii_files/ for
  8504    # template instantiation
  8505    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
  8506    $rm out/* && rmdir out
  8507    cd ..
  8508    rmdir conftest
  8509    $rm conftest*
  8510 
  8511 fi
  8512 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  8513 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8514 
  8515 
  8516 hard_links="nottested"
  8517 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  8518   # do not overwrite the value of need_locks provided by the user
  8519   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  8520 $as_echo_n "checking if we can lock with hard links... " >&6; }
  8521   hard_links=yes
  8522   $rm conftest*
  8523   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8524   touch conftest.a
  8525   ln conftest.a conftest.b 2>&5 || hard_links=no
  8526   ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8527   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  8528 $as_echo "$hard_links" >&6; }
  8529   if test "$hard_links" = no; then
  8530     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  8531 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  8532     need_locks=warn
  8533   fi
  8534 else
  8535   need_locks=no
  8536 fi
  8537 
  8538 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8539 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8540 
  8541   runpath_var=
  8542   allow_undefined_flag=
  8543   enable_shared_with_static_runtimes=no
  8544   archive_cmds=
  8545   archive_expsym_cmds=
  8546   old_archive_From_new_cmds=
  8547   old_archive_from_expsyms_cmds=
  8548   export_dynamic_flag_spec=
  8549   whole_archive_flag_spec=
  8550   thread_safe_flag_spec=
  8551   hardcode_libdir_flag_spec=
  8552   hardcode_libdir_flag_spec_ld=
  8553   hardcode_libdir_separator=
  8554   hardcode_direct=no
  8555   hardcode_minus_L=no
  8556   hardcode_shlibpath_var=unsupported
  8557   link_all_deplibs=unknown
  8558   hardcode_automatic=no
  8559   module_cmds=
  8560   module_expsym_cmds=
  8561   always_export_symbols=no
  8562   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8563   # include_expsyms should be a list of space-separated symbols to be *always*
  8564   # included in the symbol list
  8565   include_expsyms=
  8566   # exclude_expsyms can be an extended regexp of symbols to exclude
  8567   # it will be wrapped by ` (' and `)$', so one must not match beginning or
  8568   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  8569   # as well as any symbol that contains `d'.
  8570   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  8571   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8572   # platforms (ab)use it in PIC code, but their linkers get confused if
  8573   # the symbol is explicitly referenced.  Since portable code cannot
  8574   # rely on this symbol name, it's probably fine to never include it in
  8575   # preloaded symbol tables.
  8576   # Exclude shared library initialization/finalization symbols.
  8577   extract_expsyms_cmds=
  8578   # Just being paranoid about ensuring that cc_basename is set.
  8579   for cc_temp in $compiler""; do
  8580   case $cc_temp in
  8581     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8582     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8583     \-*) ;;
  8584     *) break;;
  8585   esac
  8586 done
  8587 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  8588 
  8589   case $host_os in
  8590   cygwin* | mingw* | pw32*)
  8591     # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8592     # When not using gcc, we currently assume that we are using
  8593     # Microsoft Visual C++.
  8594     if test "$GCC" != yes; then
  8595       with_gnu_ld=no
  8596     fi
  8597     ;;
  8598   interix*)
  8599     # we just hope/assume this is gcc and not c89 (= MSVC++)
  8600     with_gnu_ld=yes
  8601     ;;
  8602   openbsd*)
  8603     with_gnu_ld=no
  8604     ;;
  8605   esac
  8606 
  8607   ld_shlibs=yes
  8608   if test "$with_gnu_ld" = yes; then
  8609     # If archive_cmds runs LD, not CC, wlarc should be empty
  8610     wlarc='${wl}'
  8611 
  8612     # Set some defaults for GNU ld with shared library support. These
  8613     # are reset later if shared libraries are not supported. Putting them
  8614     # here allows them to be overridden if necessary.
  8615     runpath_var=LD_RUN_PATH
  8616     hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
  8617     export_dynamic_flag_spec='${wl}--export-dynamic'
  8618     # ancient GNU ld didn't support --whole-archive et. al.
  8619     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
  8620 	whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8621       else
  8622   	whole_archive_flag_spec=
  8623     fi
  8624     supports_anon_versioning=no
  8625     case `$LD -v 2>/dev/null` in
  8626       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  8627       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8628       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8629       *\ 2.11.*) ;; # other 2.11 versions
  8630       *) supports_anon_versioning=yes ;;
  8631     esac
  8632 
  8633     # See if GNU ld supports shared libraries.
  8634     case $host_os in
  8635     aix[3-9]*)
  8636       # On AIX/PPC, the GNU linker is very broken
  8637       if test "$host_cpu" != ia64; then
  8638 	ld_shlibs=no
  8639 	cat <<EOF 1>&2
  8640 
  8641 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  8642 *** to be unable to reliably create shared libraries on AIX.
  8643 *** Therefore, libtool is disabling shared libraries support.  If you
  8644 *** really care for shared libraries, you may want to modify your PATH
  8645 *** so that a non-GNU linker is found, and then restart.
  8646 
  8647 EOF
  8648       fi
  8649       ;;
  8650 
  8651     amigaos*)
  8652       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)'
  8653       hardcode_libdir_flag_spec='-L$libdir'
  8654       hardcode_minus_L=yes
  8655 
  8656       # Samuel A. Falvo II <[email protected]> reports
  8657       # that the semantics of dynamic libraries on AmigaOS, at least up
  8658       # to version 4, is to share data among multiple programs linked
  8659       # with the same dynamic library.  Since this doesn't match the
  8660       # behavior of shared libraries on other platforms, we can't use
  8661       # them.
  8662       ld_shlibs=no
  8663       ;;
  8664 
  8665     beos*)
  8666       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  8667 	allow_undefined_flag=unsupported
  8668 	# Joseph Beckenbach <[email protected]> says some releases of gcc
  8669 	# support --undefined.  This deserves some investigation.  FIXME
  8670 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8671       else
  8672 	ld_shlibs=no
  8673       fi
  8674       ;;
  8675 
  8676     cygwin* | mingw* | pw32*)
  8677       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8678       # as there is no search path for DLLs.
  8679       hardcode_libdir_flag_spec='-L$libdir'
  8680       allow_undefined_flag=unsupported
  8681       always_export_symbols=no
  8682       enable_shared_with_static_runtimes=yes
  8683       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8684 
  8685       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
  8686         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8687 	# If the export-symbols file already is a .def file (1st line
  8688 	# is EXPORTS), use it as is; otherwise, prepend...
  8689 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8690 	  cp $export_symbols $output_objdir/$soname.def;
  8691 	else
  8692 	  echo EXPORTS > $output_objdir/$soname.def;
  8693 	  cat $export_symbols >> $output_objdir/$soname.def;
  8694 	fi~
  8695 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8696       else
  8697 	ld_shlibs=no
  8698       fi
  8699       ;;
  8700 
  8701     interix[3-9]*)
  8702       hardcode_direct=no
  8703       hardcode_shlibpath_var=no
  8704       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8705       export_dynamic_flag_spec='${wl}-E'
  8706       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8707       # Instead, shared libraries are loaded at an image base (0x10000000 by
  8708       # default) and relocated if they conflict, which is a slow very memory
  8709       # consuming and fragmenting process.  To avoid this, we pick a random,
  8710       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8711       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  8712       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8713       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'
  8714       ;;
  8715 
  8716     gnu* | linux* | k*bsd*-gnu)
  8717       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  8718 	tmp_addflag=
  8719 	case $cc_basename,$host_cpu in
  8720 	pgcc*)				# Portland Group C compiler
  8721 	  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'
  8722 	  tmp_addflag=' $pic_flag'
  8723 	  ;;
  8724 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  8725 	  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'
  8726 	  tmp_addflag=' $pic_flag -Mnomain' ;;
  8727 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
  8728 	  tmp_addflag=' -i_dynamic' ;;
  8729 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  8730 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  8731 	ifc* | ifort*)			# Intel Fortran compiler
  8732 	  tmp_addflag=' -nofor_main' ;;
  8733 	esac
  8734 	case `$CC -V 2>&1 | sed 5q` in
  8735 	*Sun\ C*)			# Sun C 5.9
  8736 	  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'
  8737 	  tmp_sharedflag='-G' ;;
  8738 	*Sun\ F*)			# Sun Fortran 8.3
  8739 	  tmp_sharedflag='-G' ;;
  8740 	*)
  8741 	  tmp_sharedflag='-shared' ;;
  8742 	esac
  8743 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8744 
  8745 	if test $supports_anon_versioning = yes; then
  8746 	  archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
  8747   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8748   $echo "local: *; };" >> $output_objdir/$libname.ver~
  8749 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8750 	fi
  8751       else
  8752 	ld_shlibs=no
  8753       fi
  8754       ;;
  8755 
  8756     netbsd*)
  8757       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  8758 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8759 	wlarc=
  8760       else
  8761 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8762 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8763       fi
  8764       ;;
  8765 
  8766     solaris*)
  8767       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
  8768 	ld_shlibs=no
  8769 	cat <<EOF 1>&2
  8770 
  8771 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8772 *** create shared libraries on Solaris systems.  Therefore, libtool
  8773 *** is disabling shared libraries support.  We urge you to upgrade GNU
  8774 *** binutils to release 2.9.1 or newer.  Another option is to modify
  8775 *** your PATH or compiler configuration so that the native linker is
  8776 *** used, and then restart.
  8777 
  8778 EOF
  8779       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  8780 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8781 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8782       else
  8783 	ld_shlibs=no
  8784       fi
  8785       ;;
  8786 
  8787     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8788       case `$LD -v 2>&1` in
  8789         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8790 	ld_shlibs=no
  8791 	cat <<_LT_EOF 1>&2
  8792 
  8793 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8794 *** reliably create shared libraries on SCO systems.  Therefore, libtool
  8795 *** is disabling shared libraries support.  We urge you to upgrade GNU
  8796 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  8797 *** your PATH or compiler configuration so that the native linker is
  8798 *** used, and then restart.
  8799 
  8800 _LT_EOF
  8801 	;;
  8802 	*)
  8803 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  8804 	    hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
  8805 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
  8806 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
  8807 	  else
  8808 	    ld_shlibs=no
  8809 	  fi
  8810 	;;
  8811       esac
  8812       ;;
  8813 
  8814     sunos4*)
  8815       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8816       wlarc=
  8817       hardcode_direct=yes
  8818       hardcode_shlibpath_var=no
  8819       ;;
  8820 
  8821     *)
  8822       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
  8823 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8824 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8825       else
  8826 	ld_shlibs=no
  8827       fi
  8828       ;;
  8829     esac
  8830 
  8831     if test "$ld_shlibs" = no; then
  8832       runpath_var=
  8833       hardcode_libdir_flag_spec=
  8834       export_dynamic_flag_spec=
  8835       whole_archive_flag_spec=
  8836     fi
  8837   else
  8838     # PORTME fill in a description of your system's linker (not GNU ld)
  8839     case $host_os in
  8840     aix3*)
  8841       allow_undefined_flag=unsupported
  8842       always_export_symbols=yes
  8843       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'
  8844       # Note: this linker hardcodes the directories in LIBPATH if there
  8845       # are no directories specified by -L.
  8846       hardcode_minus_L=yes
  8847       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  8848 	# Neither direct hardcoding nor static linking is supported with a
  8849 	# broken collect2.
  8850 	hardcode_direct=unsupported
  8851       fi
  8852       ;;
  8853 
  8854     aix[4-9]*)
  8855       if test "$host_cpu" = ia64; then
  8856 	# On IA64, the linker does run time linking by default, so we don't
  8857 	# have to do anything special.
  8858 	aix_use_runtimelinking=no
  8859 	exp_sym_flag='-Bexport'
  8860 	no_entry_flag=""
  8861       else
  8862 	# If we're using GNU nm, then we don't want the "-C" option.
  8863 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  8864 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
  8865 	  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'
  8866 	else
  8867 	  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'
  8868 	fi
  8869 	aix_use_runtimelinking=no
  8870 
  8871 	# Test if we are trying to use run time linking or normal
  8872 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8873 	# need to do runtime linking.
  8874 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8875 	  for ld_flag in $LDFLAGS; do
  8876   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8877   	    aix_use_runtimelinking=yes
  8878   	    break
  8879   	  fi
  8880 	  done
  8881 	  ;;
  8882 	esac
  8883 
  8884 	exp_sym_flag='-bexport'
  8885 	no_entry_flag='-bnoentry'
  8886       fi
  8887 
  8888       # When large executables or shared objects are built, AIX ld can
  8889       # have problems creating the table of contents.  If linking a library
  8890       # or program results in "error TOC overflow" add -mminimal-toc to
  8891       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  8892       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8893 
  8894       archive_cmds=''
  8895       hardcode_direct=yes
  8896       hardcode_libdir_separator=':'
  8897       link_all_deplibs=yes
  8898 
  8899       if test "$GCC" = yes; then
  8900 	case $host_os in aix4.[012]|aix4.[012].*)
  8901 	# We only want to do this on AIX 4.2 and lower, the check
  8902 	# below for broken collect2 doesn't work under 4.3+
  8903 	  collect2name=`${CC} -print-prog-name=collect2`
  8904 	  if test -f "$collect2name" && \
  8905   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
  8906 	  then
  8907   	  # We have reworked collect2
  8908   	  :
  8909 	  else
  8910   	  # We have old collect2
  8911   	  hardcode_direct=unsupported
  8912   	  # It fails to find uninstalled libraries when the uninstalled
  8913   	  # path is not listed in the libpath.  Setting hardcode_minus_L
  8914   	  # to unsupported forces relinking
  8915   	  hardcode_minus_L=yes
  8916   	  hardcode_libdir_flag_spec='-L$libdir'
  8917   	  hardcode_libdir_separator=
  8918 	  fi
  8919 	  ;;
  8920 	esac
  8921 	shared_flag='-shared'
  8922 	if test "$aix_use_runtimelinking" = yes; then
  8923 	  shared_flag="$shared_flag "'${wl}-G'
  8924 	fi
  8925       else
  8926 	# not using gcc
  8927 	if test "$host_cpu" = ia64; then
  8928   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8929   	# chokes on -Wl,-G. The following line is correct:
  8930 	  shared_flag='-G'
  8931 	else
  8932 	  if test "$aix_use_runtimelinking" = yes; then
  8933 	    shared_flag='${wl}-G'
  8934 	  else
  8935 	    shared_flag='${wl}-bM:SRE'
  8936 	  fi
  8937 	fi
  8938       fi
  8939 
  8940       # It seems that -bexpall does not export symbols beginning with
  8941       # underscore (_), so it is better to generate a list of symbols to export.
  8942       always_export_symbols=yes
  8943       if test "$aix_use_runtimelinking" = yes; then
  8944 	# Warning - without using the other runtime loading flags (-brtl),
  8945 	# -berok will link without error, but may produce a broken library.
  8946 	allow_undefined_flag='-berok'
  8947        # Determine the default libpath from the value encoded in an empty executable.
  8948        cat >conftest.$ac_ext <<_ACEOF
  8949 /* confdefs.h.  */
  8950 _ACEOF
  8951 cat confdefs.h >>conftest.$ac_ext
  8952 cat >>conftest.$ac_ext <<_ACEOF
  8953 /* end confdefs.h.  */
  8954 
  8955 int
  8956 main ()
  8957 {
  8958 
  8959   ;
  8960   return 0;
  8961 }
  8962 _ACEOF
  8963 rm -f conftest.$ac_objext conftest$ac_exeext
  8964 if { (ac_try="$ac_link"
  8965 case "(($ac_try" in
  8966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8967   *) ac_try_echo=$ac_try;;
  8968 esac
  8969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8970 $as_echo "$ac_try_echo") >&5
  8971   (eval "$ac_link") 2>conftest.er1
  8972   ac_status=$?
  8973   grep -v '^ *+' conftest.er1 >conftest.err
  8974   rm -f conftest.er1
  8975   cat conftest.err >&5
  8976   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8977   (exit $ac_status); } && {
  8978 	 test -z "$ac_c_werror_flag" ||
  8979 	 test ! -s conftest.err
  8980        } && test -s conftest$ac_exeext && {
  8981 	 test "$cross_compiling" = yes ||
  8982 	 $as_test_x conftest$ac_exeext
  8983        }; then
  8984 
  8985 lt_aix_libpath_sed='
  8986     /Import File Strings/,/^$/ {
  8987 	/^0/ {
  8988 	    s/^0  *\(.*\)$/\1/
  8989 	    p
  8990 	}
  8991     }'
  8992 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8993 # Check for a 64-bit object if we didn't find anything.
  8994 if test -z "$aix_libpath"; then
  8995   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8996 fi
  8997 else
  8998   $as_echo "$as_me: failed program was:" >&5
  8999 sed 's/^/| /' conftest.$ac_ext >&5
  9000 
  9001 
  9002 fi
  9003 
  9004 rm -rf conftest.dSYM
  9005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9006       conftest$ac_exeext conftest.$ac_ext
  9007 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9008 
  9009        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9010 	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"
  9011        else
  9012 	if test "$host_cpu" = ia64; then
  9013 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9014 	  allow_undefined_flag="-z nodefs"
  9015 	  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"
  9016 	else
  9017 	 # Determine the default libpath from the value encoded in an empty executable.
  9018 	 cat >conftest.$ac_ext <<_ACEOF
  9019 /* confdefs.h.  */
  9020 _ACEOF
  9021 cat confdefs.h >>conftest.$ac_ext
  9022 cat >>conftest.$ac_ext <<_ACEOF
  9023 /* end confdefs.h.  */
  9024 
  9025 int
  9026 main ()
  9027 {
  9028 
  9029   ;
  9030   return 0;
  9031 }
  9032 _ACEOF
  9033 rm -f conftest.$ac_objext conftest$ac_exeext
  9034 if { (ac_try="$ac_link"
  9035 case "(($ac_try" in
  9036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9037   *) ac_try_echo=$ac_try;;
  9038 esac
  9039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9040 $as_echo "$ac_try_echo") >&5
  9041   (eval "$ac_link") 2>conftest.er1
  9042   ac_status=$?
  9043   grep -v '^ *+' conftest.er1 >conftest.err
  9044   rm -f conftest.er1
  9045   cat conftest.err >&5
  9046   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9047   (exit $ac_status); } && {
  9048 	 test -z "$ac_c_werror_flag" ||
  9049 	 test ! -s conftest.err
  9050        } && test -s conftest$ac_exeext && {
  9051 	 test "$cross_compiling" = yes ||
  9052 	 $as_test_x conftest$ac_exeext
  9053        }; then
  9054 
  9055 lt_aix_libpath_sed='
  9056     /Import File Strings/,/^$/ {
  9057 	/^0/ {
  9058 	    s/^0  *\(.*\)$/\1/
  9059 	    p
  9060 	}
  9061     }'
  9062 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9063 # Check for a 64-bit object if we didn't find anything.
  9064 if test -z "$aix_libpath"; then
  9065   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9066 fi
  9067 else
  9068   $as_echo "$as_me: failed program was:" >&5
  9069 sed 's/^/| /' conftest.$ac_ext >&5
  9070 
  9071 
  9072 fi
  9073 
  9074 rm -rf conftest.dSYM
  9075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9076       conftest$ac_exeext conftest.$ac_ext
  9077 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9078 
  9079 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9080 	  # Warning - without using the other run time loading flags,
  9081 	  # -berok will link without error, but may produce a broken library.
  9082 	  no_undefined_flag=' ${wl}-bernotok'
  9083 	  allow_undefined_flag=' ${wl}-berok'
  9084 	  # Exported symbols can be pulled into shared objects from archives
  9085 	  whole_archive_flag_spec='$convenience'
  9086 	  archive_cmds_need_lc=yes
  9087 	  # This is similar to how AIX traditionally builds its shared libraries.
  9088 	  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'
  9089 	fi
  9090       fi
  9091       ;;
  9092 
  9093     amigaos*)
  9094       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)'
  9095       hardcode_libdir_flag_spec='-L$libdir'
  9096       hardcode_minus_L=yes
  9097       # see comment about different semantics on the GNU ld section
  9098       ld_shlibs=no
  9099       ;;
  9100 
  9101     bsdi[45]*)
  9102       export_dynamic_flag_spec=-rdynamic
  9103       ;;
  9104 
  9105     cygwin* | mingw* | pw32*)
  9106       # When not using gcc, we currently assume that we are using
  9107       # Microsoft Visual C++.
  9108       # hardcode_libdir_flag_spec is actually meaningless, as there is
  9109       # no search path for DLLs.
  9110       hardcode_libdir_flag_spec=' '
  9111       allow_undefined_flag=unsupported
  9112       # Tell ltmain to make .lib files, not .a files.
  9113       libext=lib
  9114       # Tell ltmain to make .dll files, not .so files.
  9115       shrext_cmds=".dll"
  9116       # FIXME: Setting linknames here is a bad hack.
  9117       archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
  9118       # The linker will automatically build a .lib file if we build a DLL.
  9119       old_archive_From_new_cmds='true'
  9120       # FIXME: Should let the user specify the lib program.
  9121       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9122       fix_srcfile_path='`cygpath -w "$srcfile"`'
  9123       enable_shared_with_static_runtimes=yes
  9124       ;;
  9125 
  9126     darwin* | rhapsody*)
  9127       case $host_os in
  9128         rhapsody* | darwin1.[012])
  9129          allow_undefined_flag='${wl}-undefined ${wl}suppress'
  9130          ;;
  9131        *) # Darwin 1.3 on
  9132          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
  9133            allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  9134          else
  9135            case ${MACOSX_DEPLOYMENT_TARGET} in
  9136              10.[012])
  9137                allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
  9138                ;;
  9139              10.*)
  9140                allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
  9141                ;;
  9142            esac
  9143          fi
  9144          ;;
  9145       esac
  9146       archive_cmds_need_lc=no
  9147       hardcode_direct=no
  9148       hardcode_automatic=yes
  9149       hardcode_shlibpath_var=unsupported
  9150       whole_archive_flag_spec=''
  9151       link_all_deplibs=yes
  9152     if test "$GCC" = yes ; then
  9153     	output_verbose_link_cmd='echo'
  9154         archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9155         module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9156         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}"
  9157         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}"
  9158     else
  9159       case $cc_basename in
  9160         xlc*)
  9161          output_verbose_link_cmd='echo'
  9162          archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
  9163          module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
  9164           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
  9165          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}'
  9166           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}'
  9167           ;;
  9168        *)
  9169          ld_shlibs=no
  9170           ;;
  9171       esac
  9172     fi
  9173       ;;
  9174 
  9175     dgux*)
  9176       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9177       hardcode_libdir_flag_spec='-L$libdir'
  9178       hardcode_shlibpath_var=no
  9179       ;;
  9180 
  9181     freebsd1*)
  9182       ld_shlibs=no
  9183       ;;
  9184 
  9185     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9186     # support.  Future versions do this automatically, but an explicit c++rt0.o
  9187     # does not break anything, and helps significantly (at the cost of a little
  9188     # extra space).
  9189     freebsd2.2*)
  9190       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9191       hardcode_libdir_flag_spec='-R$libdir'
  9192       hardcode_direct=yes
  9193       hardcode_shlibpath_var=no
  9194       ;;
  9195 
  9196     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9197     freebsd2*)
  9198       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9199       hardcode_direct=yes
  9200       hardcode_minus_L=yes
  9201       hardcode_shlibpath_var=no
  9202       ;;
  9203 
  9204     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9205     freebsd* | dragonfly*)
  9206       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9207       hardcode_libdir_flag_spec='-R$libdir'
  9208       hardcode_direct=yes
  9209       hardcode_shlibpath_var=no
  9210       ;;
  9211 
  9212     hpux9*)
  9213       if test "$GCC" = yes; then
  9214 	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'
  9215       else
  9216 	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'
  9217       fi
  9218       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9219       hardcode_libdir_separator=:
  9220       hardcode_direct=yes
  9221 
  9222       # hardcode_minus_L: Not really in the search PATH,
  9223       # but as the default location of the library.
  9224       hardcode_minus_L=yes
  9225       export_dynamic_flag_spec='${wl}-E'
  9226       ;;
  9227 
  9228     hpux10*)
  9229       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9230 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9231       else
  9232 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9233       fi
  9234       if test "$with_gnu_ld" = no; then
  9235 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9236 	hardcode_libdir_separator=:
  9237 
  9238 	hardcode_direct=yes
  9239 	export_dynamic_flag_spec='${wl}-E'
  9240 
  9241 	# hardcode_minus_L: Not really in the search PATH,
  9242 	# but as the default location of the library.
  9243 	hardcode_minus_L=yes
  9244       fi
  9245       ;;
  9246 
  9247     hpux11*)
  9248       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  9249 	case $host_cpu in
  9250 	hppa*64*)
  9251 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9252 	  ;;
  9253 	ia64*)
  9254 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9255 	  ;;
  9256 	*)
  9257 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9258 	  ;;
  9259 	esac
  9260       else
  9261 	case $host_cpu in
  9262 	hppa*64*)
  9263 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9264 	  ;;
  9265 	ia64*)
  9266 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9267 	  ;;
  9268 	*)
  9269 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9270 	  ;;
  9271 	esac
  9272       fi
  9273       if test "$with_gnu_ld" = no; then
  9274 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9275 	hardcode_libdir_separator=:
  9276 
  9277 	case $host_cpu in
  9278 	hppa*64*|ia64*)
  9279 	  hardcode_libdir_flag_spec_ld='+b $libdir'
  9280 	  hardcode_direct=no
  9281 	  hardcode_shlibpath_var=no
  9282 	  ;;
  9283 	*)
  9284 	  hardcode_direct=yes
  9285 	  export_dynamic_flag_spec='${wl}-E'
  9286 
  9287 	  # hardcode_minus_L: Not really in the search PATH,
  9288 	  # but as the default location of the library.
  9289 	  hardcode_minus_L=yes
  9290 	  ;;
  9291 	esac
  9292       fi
  9293       ;;
  9294 
  9295     irix5* | irix6* | nonstopux*)
  9296       if test "$GCC" = yes; then
  9297 	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'
  9298       else
  9299 	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'
  9300 	hardcode_libdir_flag_spec_ld='-rpath $libdir'
  9301       fi
  9302       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9303       hardcode_libdir_separator=:
  9304       link_all_deplibs=yes
  9305       ;;
  9306 
  9307     netbsd*)
  9308       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
  9309 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  9310       else
  9311 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  9312       fi
  9313       hardcode_libdir_flag_spec='-R$libdir'
  9314       hardcode_direct=yes
  9315       hardcode_shlibpath_var=no
  9316       ;;
  9317 
  9318     newsos6)
  9319       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9320       hardcode_direct=yes
  9321       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9322       hardcode_libdir_separator=:
  9323       hardcode_shlibpath_var=no
  9324       ;;
  9325 
  9326     openbsd*)
  9327       if test -f /usr/libexec/ld.so; then
  9328 	hardcode_direct=yes
  9329 	hardcode_shlibpath_var=no
  9330 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9331 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9332 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9333 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9334 	  export_dynamic_flag_spec='${wl}-E'
  9335 	else
  9336 	  case $host_os in
  9337 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9338 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9339 	     hardcode_libdir_flag_spec='-R$libdir'
  9340 	     ;;
  9341 	   *)
  9342 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9343 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9344 	     ;;
  9345 	  esac
  9346         fi
  9347       else
  9348 	ld_shlibs=no
  9349       fi
  9350       ;;
  9351 
  9352     os2*)
  9353       hardcode_libdir_flag_spec='-L$libdir'
  9354       hardcode_minus_L=yes
  9355       allow_undefined_flag=unsupported
  9356       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'
  9357       old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9358       ;;
  9359 
  9360     osf3*)
  9361       if test "$GCC" = yes; then
  9362 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9363 	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'
  9364       else
  9365 	allow_undefined_flag=' -expect_unresolved \*'
  9366 	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'
  9367       fi
  9368       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9369       hardcode_libdir_separator=:
  9370       ;;
  9371 
  9372     osf4* | osf5*)	# as osf3* with the addition of -msym flag
  9373       if test "$GCC" = yes; then
  9374 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9375 	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'
  9376 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9377       else
  9378 	allow_undefined_flag=' -expect_unresolved \*'
  9379 	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'
  9380 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
  9381 	$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'
  9382 
  9383 	# Both c and cxx compiler support -rpath directly
  9384 	hardcode_libdir_flag_spec='-rpath $libdir'
  9385       fi
  9386       hardcode_libdir_separator=:
  9387       ;;
  9388 
  9389     solaris*)
  9390       no_undefined_flag=' -z text'
  9391       if test "$GCC" = yes; then
  9392 	wlarc='${wl}'
  9393 	archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9394 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  9395 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
  9396       else
  9397 	wlarc=''
  9398 	archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9399 	archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
  9400   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
  9401       fi
  9402       hardcode_libdir_flag_spec='-R$libdir'
  9403       hardcode_shlibpath_var=no
  9404       case $host_os in
  9405       solaris2.[0-5] | solaris2.[0-5].*) ;;
  9406       *)
  9407 	# The compiler driver will combine and reorder linker options,
  9408 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
  9409 	# but is careful enough not to reorder.
  9410  	# Supported since Solaris 2.6 (maybe 2.5.1?)
  9411 	if test "$GCC" = yes; then
  9412 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9413 	else
  9414 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9415 	fi
  9416 	;;
  9417       esac
  9418       link_all_deplibs=yes
  9419       ;;
  9420 
  9421     sunos4*)
  9422       if test "x$host_vendor" = xsequent; then
  9423 	# Use $CC to link under sequent, because it throws in some extra .o
  9424 	# files that make .init and .fini sections work.
  9425 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9426       else
  9427 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9428       fi
  9429       hardcode_libdir_flag_spec='-L$libdir'
  9430       hardcode_direct=yes
  9431       hardcode_minus_L=yes
  9432       hardcode_shlibpath_var=no
  9433       ;;
  9434 
  9435     sysv4)
  9436       case $host_vendor in
  9437 	sni)
  9438 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9439 	  hardcode_direct=yes # is this really true???
  9440 	;;
  9441 	siemens)
  9442 	  ## LD is ld it makes a PLAMLIB
  9443 	  ## CC just makes a GrossModule.
  9444 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9445 	  reload_cmds='$CC -r -o $output$reload_objs'
  9446 	  hardcode_direct=no
  9447         ;;
  9448 	motorola)
  9449 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9450 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9451 	;;
  9452       esac
  9453       runpath_var='LD_RUN_PATH'
  9454       hardcode_shlibpath_var=no
  9455       ;;
  9456 
  9457     sysv4.3*)
  9458       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9459       hardcode_shlibpath_var=no
  9460       export_dynamic_flag_spec='-Bexport'
  9461       ;;
  9462 
  9463     sysv4*MP*)
  9464       if test -d /usr/nec; then
  9465 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9466 	hardcode_shlibpath_var=no
  9467 	runpath_var=LD_RUN_PATH
  9468 	hardcode_runpath_var=yes
  9469 	ld_shlibs=yes
  9470       fi
  9471       ;;
  9472 
  9473     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9474       no_undefined_flag='${wl}-z,text'
  9475       archive_cmds_need_lc=no
  9476       hardcode_shlibpath_var=no
  9477       runpath_var='LD_RUN_PATH'
  9478 
  9479       if test "$GCC" = yes; then
  9480 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9481 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9482       else
  9483 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9484 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9485       fi
  9486       ;;
  9487 
  9488     sysv5* | sco3.2v5* | sco5v6*)
  9489       # Note: We can NOT use -z defs as we might desire, because we do not
  9490       # link with -lc, and that would cause any symbols used from libc to
  9491       # always be unresolved, which means just about no library would
  9492       # ever link correctly.  If we're not using GNU ld we use -z text
  9493       # though, which does catch some bad symbols but isn't as heavy-handed
  9494       # as -z defs.
  9495       no_undefined_flag='${wl}-z,text'
  9496       allow_undefined_flag='${wl}-z,nodefs'
  9497       archive_cmds_need_lc=no
  9498       hardcode_shlibpath_var=no
  9499       hardcode_libdir_flag_spec='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
  9500       hardcode_libdir_separator=':'
  9501       link_all_deplibs=yes
  9502       export_dynamic_flag_spec='${wl}-Bexport'
  9503       runpath_var='LD_RUN_PATH'
  9504 
  9505       if test "$GCC" = yes; then
  9506 	archive_cmds='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9507 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9508       else
  9509 	archive_cmds='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9510 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9511       fi
  9512       ;;
  9513 
  9514     uts4*)
  9515       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9516       hardcode_libdir_flag_spec='-L$libdir'
  9517       hardcode_shlibpath_var=no
  9518       ;;
  9519 
  9520     *)
  9521       ld_shlibs=no
  9522       ;;
  9523     esac
  9524   fi
  9525 
  9526 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  9527 $as_echo "$ld_shlibs" >&6; }
  9528 test "$ld_shlibs" = no && can_build_shared=no
  9529 
  9530 #
  9531 # Do we need to explicitly link libc?
  9532 #
  9533 case "x$archive_cmds_need_lc" in
  9534 x|xyes)
  9535   # Assume -lc should be added
  9536   archive_cmds_need_lc=yes
  9537 
  9538   if test "$enable_shared" = yes && test "$GCC" = yes; then
  9539     case $archive_cmds in
  9540     *'~'*)
  9541       # FIXME: we may have to deal with multi-command sequences.
  9542       ;;
  9543     '$CC '*)
  9544       # Test whether the compiler implicitly links with -lc since on some
  9545       # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9546       # to ld, don't add -lc before -lgcc.
  9547       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  9548 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9549       $rm conftest*
  9550       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9551 
  9552       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  9553   (eval $ac_compile) 2>&5
  9554   ac_status=$?
  9555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9556   (exit $ac_status); } 2>conftest.err; then
  9557         soname=conftest
  9558         lib=conftest
  9559         libobjs=conftest.$ac_objext
  9560         deplibs=
  9561         wl=$lt_prog_compiler_wl
  9562 	pic_flag=$lt_prog_compiler_pic
  9563         compiler_flags=-v
  9564         linker_flags=-v
  9565         verstring=
  9566         output_objdir=.
  9567         libname=conftest
  9568         lt_save_allow_undefined_flag=$allow_undefined_flag
  9569         allow_undefined_flag=
  9570         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
  9571   (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9572   ac_status=$?
  9573   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9574   (exit $ac_status); }
  9575         then
  9576 	  archive_cmds_need_lc=no
  9577         else
  9578 	  archive_cmds_need_lc=yes
  9579         fi
  9580         allow_undefined_flag=$lt_save_allow_undefined_flag
  9581       else
  9582         cat conftest.err 1>&5
  9583       fi
  9584       $rm conftest*
  9585       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  9586 $as_echo "$archive_cmds_need_lc" >&6; }
  9587       ;;
  9588     esac
  9589   fi
  9590   ;;
  9591 esac
  9592 
  9593 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  9594 $as_echo_n "checking dynamic linker characteristics... " >&6; }
  9595 library_names_spec=
  9596 libname_spec='lib$name'
  9597 soname_spec=
  9598 shrext_cmds=".so"
  9599 postinstall_cmds=
  9600 postuninstall_cmds=
  9601 finish_cmds=
  9602 finish_eval=
  9603 shlibpath_var=
  9604 shlibpath_overrides_runpath=unknown
  9605 version_type=none
  9606 dynamic_linker="$host_os ld.so"
  9607 sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9608 
  9609 if test "$GCC" = yes; then
  9610   case $host_os in
  9611     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  9612     *) lt_awk_arg="/^libraries:/" ;;
  9613   esac
  9614   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  9615   if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
  9616     # if the path contains ";" then we assume it to be the separator
  9617     # otherwise default to the standard path separator (i.e. ":") - it is
  9618     # assumed that no part of a normal pathname contains ";" but that should
  9619     # okay in the real world where ";" in dirpaths is itself problematic.
  9620     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  9621   else
  9622     lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  9623   fi
  9624   # Ok, now we have the path, separated by spaces, we can step through it
  9625   # and add multilib dir if necessary.
  9626   lt_tmp_lt_search_path_spec=
  9627   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  9628   for lt_sys_path in $lt_search_path_spec; do
  9629     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  9630       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  9631     else
  9632       test -d "$lt_sys_path" && \
  9633 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  9634     fi
  9635   done
  9636   lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
  9637 BEGIN {RS=" "; FS="/|\n";} {
  9638   lt_foo="";
  9639   lt_count=0;
  9640   for (lt_i = NF; lt_i > 0; lt_i--) {
  9641     if ($lt_i != "" && $lt_i != ".") {
  9642       if ($lt_i == "..") {
  9643         lt_count++;
  9644       } else {
  9645         if (lt_count == 0) {
  9646           lt_foo="/" $lt_i lt_foo;
  9647         } else {
  9648           lt_count--;
  9649         }
  9650       }
  9651     }
  9652   }
  9653   if (lt_foo != "") { lt_freq[lt_foo]++; }
  9654   if (lt_freq[lt_foo] == 1) { print lt_foo; }
  9655 }'`
  9656   sys_lib_search_path_spec=`echo $lt_search_path_spec`
  9657 else
  9658   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  9659 fi
  9660 need_lib_prefix=unknown
  9661 hardcode_into_libs=no
  9662 
  9663 # when you set need_version to no, make sure it does not cause -set_version
  9664 # flags to be left without arguments
  9665 need_version=unknown
  9666 
  9667 case $host_os in
  9668 aix3*)
  9669   version_type=linux
  9670   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9671   shlibpath_var=LIBPATH
  9672 
  9673   # AIX 3 has no versioning support, so we append a major version to the name.
  9674   soname_spec='${libname}${release}${shared_ext}$major'
  9675   ;;
  9676 
  9677 aix[4-9]*)
  9678   version_type=linux
  9679   need_lib_prefix=no
  9680   need_version=no
  9681   hardcode_into_libs=yes
  9682   if test "$host_cpu" = ia64; then
  9683     # AIX 5 supports IA64
  9684     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9685     shlibpath_var=LD_LIBRARY_PATH
  9686   else
  9687     # With GCC up to 2.95.x, collect2 would create an import file
  9688     # for dependence libraries.  The import file would start with
  9689     # the line `#! .'.  This would cause the generated library to
  9690     # depend on `.', always an invalid library.  This was fixed in
  9691     # development snapshots of GCC prior to 3.0.
  9692     case $host_os in
  9693       aix4 | aix4.[01] | aix4.[01].*)
  9694       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9695 	   echo ' yes '
  9696 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
  9697 	:
  9698       else
  9699 	can_build_shared=no
  9700       fi
  9701       ;;
  9702     esac
  9703     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9704     # soname into executable. Probably we can add versioning support to
  9705     # collect2, so additional links can be useful in future.
  9706     if test "$aix_use_runtimelinking" = yes; then
  9707       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9708       # instead of lib<name>.a to let people know that these are not
  9709       # typical AIX shared libraries.
  9710       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9711     else
  9712       # We preserve .a as extension for shared libraries through AIX4.2
  9713       # and later when we are not doing run time linking.
  9714       library_names_spec='${libname}${release}.a $libname.a'
  9715       soname_spec='${libname}${release}${shared_ext}$major'
  9716     fi
  9717     shlibpath_var=LIBPATH
  9718   fi
  9719   ;;
  9720 
  9721 amigaos*)
  9722   library_names_spec='$libname.ixlibrary $libname.a'
  9723   # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9724   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'
  9725   ;;
  9726 
  9727 beos*)
  9728   library_names_spec='${libname}${shared_ext}'
  9729   dynamic_linker="$host_os ld.so"
  9730   shlibpath_var=LIBRARY_PATH
  9731   ;;
  9732 
  9733 bsdi[45]*)
  9734   version_type=linux
  9735   need_version=no
  9736   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9737   soname_spec='${libname}${release}${shared_ext}$major'
  9738   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9739   shlibpath_var=LD_LIBRARY_PATH
  9740   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9741   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9742   # the default ld.so.conf also contains /usr/contrib/lib and
  9743   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9744   # libtool to hard-code these into programs
  9745   ;;
  9746 
  9747 cygwin* | mingw* | pw32*)
  9748   version_type=windows
  9749   shrext_cmds=".dll"
  9750   need_version=no
  9751   need_lib_prefix=no
  9752 
  9753   case $GCC,$host_os in
  9754   yes,cygwin* | yes,mingw* | yes,pw32*)
  9755     library_names_spec='$libname.dll.a'
  9756     # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9757     postinstall_cmds='base_file=`basename \${file}`~
  9758       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
  9759       dldir=$destdir/`dirname \$dlpath`~
  9760       test -d \$dldir || mkdir -p \$dldir~
  9761       $install_prog $dir/$dlname \$dldir/$dlname~
  9762       chmod a+x \$dldir/$dlname'
  9763     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9764       dlpath=$dir/\$dldll~
  9765        $rm \$dlpath'
  9766     shlibpath_overrides_runpath=yes
  9767 
  9768     case $host_os in
  9769     cygwin*)
  9770       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9771       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9772       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  9773       ;;
  9774     mingw*)
  9775       # MinGW DLLs use traditional 'lib' prefix
  9776       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9777       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  9778       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
  9779         # It is most probably a Windows format PATH printed by
  9780         # mingw gcc, but we are running on Cygwin. Gcc prints its search
  9781         # path with ; separators, and with drive letters. We can handle the
  9782         # drive letters (cygwin fileutils understands them), so leave them,
  9783         # especially as we might pass files found there to a mingw objdump,
  9784         # which wouldn't understand a cygwinified path. Ahh.
  9785         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9786       else
  9787         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
  9788       fi
  9789       ;;
  9790     pw32*)
  9791       # pw32 DLLs use 'pw' prefix rather than 'lib'
  9792       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9793       ;;
  9794     esac
  9795     ;;
  9796 
  9797   *)
  9798     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9799     ;;
  9800   esac
  9801   dynamic_linker='Win32 ld.exe'
  9802   # FIXME: first we should search . and the directory the executable is in
  9803   shlibpath_var=PATH
  9804   ;;
  9805 
  9806 darwin* | rhapsody*)
  9807   dynamic_linker="$host_os dyld"
  9808   version_type=darwin
  9809   need_lib_prefix=no
  9810   need_version=no
  9811   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9812   soname_spec='${libname}${release}${major}$shared_ext'
  9813   shlibpath_overrides_runpath=yes
  9814   shlibpath_var=DYLD_LIBRARY_PATH
  9815   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9816 
  9817   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9818   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9819   ;;
  9820 
  9821 dgux*)
  9822   version_type=linux
  9823   need_lib_prefix=no
  9824   need_version=no
  9825   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9826   soname_spec='${libname}${release}${shared_ext}$major'
  9827   shlibpath_var=LD_LIBRARY_PATH
  9828   ;;
  9829 
  9830 freebsd1*)
  9831   dynamic_linker=no
  9832   ;;
  9833 
  9834 freebsd* | dragonfly*)
  9835   # DragonFly does not have aout.  When/if they implement a new
  9836   # versioning mechanism, adjust this.
  9837   if test -x /usr/bin/objformat; then
  9838     objformat=`/usr/bin/objformat`
  9839   else
  9840     case $host_os in
  9841     freebsd[123]*) objformat=aout ;;
  9842     *) objformat=elf ;;
  9843     esac
  9844   fi
  9845   # Handle Gentoo/FreeBSD as it was Linux
  9846   case $host_vendor in
  9847     gentoo)
  9848       version_type=linux ;;
  9849     *)
  9850       version_type=freebsd-$objformat ;;
  9851   esac
  9852 
  9853   case $version_type in
  9854     freebsd-elf*)
  9855       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9856       need_version=no
  9857       need_lib_prefix=no
  9858       ;;
  9859     freebsd-*)
  9860       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9861       need_version=yes
  9862       ;;
  9863     linux)
  9864       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9865       soname_spec='${libname}${release}${shared_ext}$major'
  9866       need_lib_prefix=no
  9867       need_version=no
  9868       ;;
  9869   esac
  9870   shlibpath_var=LD_LIBRARY_PATH
  9871   case $host_os in
  9872   freebsd2*)
  9873     shlibpath_overrides_runpath=yes
  9874     ;;
  9875   freebsd3.[01]* | freebsdelf3.[01]*)
  9876     shlibpath_overrides_runpath=yes
  9877     hardcode_into_libs=yes
  9878     ;;
  9879   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9880   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9881     shlibpath_overrides_runpath=no
  9882     hardcode_into_libs=yes
  9883     ;;
  9884   *) # from 4.6 on, and DragonFly
  9885     shlibpath_overrides_runpath=yes
  9886     hardcode_into_libs=yes
  9887     ;;
  9888   esac
  9889   ;;
  9890 
  9891 gnu*)
  9892   version_type=linux
  9893   need_lib_prefix=no
  9894   need_version=no
  9895   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9896   soname_spec='${libname}${release}${shared_ext}$major'
  9897   shlibpath_var=LD_LIBRARY_PATH
  9898   hardcode_into_libs=yes
  9899   ;;
  9900 
  9901 hpux9* | hpux10* | hpux11*)
  9902   # Give a soname corresponding to the major version so that dld.sl refuses to
  9903   # link against other versions.
  9904   version_type=sunos
  9905   need_lib_prefix=no
  9906   need_version=no
  9907   case $host_cpu in
  9908   ia64*)
  9909     shrext_cmds='.so'
  9910     hardcode_into_libs=yes
  9911     dynamic_linker="$host_os dld.so"
  9912     shlibpath_var=LD_LIBRARY_PATH
  9913     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9914     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9915     soname_spec='${libname}${release}${shared_ext}$major'
  9916     if test "X$HPUX_IA64_MODE" = X32; then
  9917       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9918     else
  9919       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9920     fi
  9921     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9922     ;;
  9923    hppa*64*)
  9924      shrext_cmds='.sl'
  9925      hardcode_into_libs=yes
  9926      dynamic_linker="$host_os dld.sl"
  9927      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9928      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9929      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9930      soname_spec='${libname}${release}${shared_ext}$major'
  9931      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9932      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9933      ;;
  9934    *)
  9935     shrext_cmds='.sl'
  9936     dynamic_linker="$host_os dld.sl"
  9937     shlibpath_var=SHLIB_PATH
  9938     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9939     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9940     soname_spec='${libname}${release}${shared_ext}$major'
  9941     ;;
  9942   esac
  9943   # HP-UX runs *really* slowly unless shared libraries are mode 555.
  9944   postinstall_cmds='chmod 555 $lib'
  9945   ;;
  9946 
  9947 interix[3-9]*)
  9948   version_type=linux
  9949   need_lib_prefix=no
  9950   need_version=no
  9951   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9952   soname_spec='${libname}${release}${shared_ext}$major'
  9953   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9954   shlibpath_var=LD_LIBRARY_PATH
  9955   shlibpath_overrides_runpath=no
  9956   hardcode_into_libs=yes
  9957   ;;
  9958 
  9959 irix5* | irix6* | nonstopux*)
  9960   case $host_os in
  9961     nonstopux*) version_type=nonstopux ;;
  9962     *)
  9963 	if test "$lt_cv_prog_gnu_ld" = yes; then
  9964 		version_type=linux
  9965 	else
  9966 		version_type=irix
  9967 	fi ;;
  9968   esac
  9969   need_lib_prefix=no
  9970   need_version=no
  9971   soname_spec='${libname}${release}${shared_ext}$major'
  9972   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9973   case $host_os in
  9974   irix5* | nonstopux*)
  9975     libsuff= shlibsuff=
  9976     ;;
  9977   *)
  9978     case $LD in # libtool.m4 will add one of these switches to LD
  9979     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9980       libsuff= shlibsuff= libmagic=32-bit;;
  9981     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9982       libsuff=32 shlibsuff=N32 libmagic=N32;;
  9983     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9984       libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9985     *) libsuff= shlibsuff= libmagic=never-match;;
  9986     esac
  9987     ;;
  9988   esac
  9989   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9990   shlibpath_overrides_runpath=no
  9991   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9992   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9993   hardcode_into_libs=yes
  9994   ;;
  9995 
  9996 # No shared lib support for Linux oldld, aout, or coff.
  9997 linux*oldld* | linux*aout* | linux*coff*)
  9998   dynamic_linker=no
  9999   ;;
 10000 
 10001 # This must be Linux ELF.
 10002 linux* | k*bsd*-gnu)
 10003   version_type=linux
 10004   need_lib_prefix=no
 10005   need_version=no
 10006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10007   soname_spec='${libname}${release}${shared_ext}$major'
 10008   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 10009   shlibpath_var=LD_LIBRARY_PATH
 10010   shlibpath_overrides_runpath=no
 10011   # This implies no fast_install, which is unacceptable.
 10012   # Some rework will be needed to allow for fast_install
 10013   # before this can be enabled.
 10014   hardcode_into_libs=yes
 10015 
 10016   # Append ld.so.conf contents to the search path
 10017   if test -f /etc/ld.so.conf; then
 10018     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' ' '`
 10019     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 10020   fi
 10021 
 10022   # We used to test for /lib/ld.so.1 and disable shared libraries on
 10023   # powerpc, because MkLinux only supported shared libraries with the
 10024   # GNU dynamic linker.  Since this was broken with cross compilers,
 10025   # most powerpc-linux boxes support dynamic linking these days and
 10026   # people can always --disable-shared, the test was removed, and we
 10027   # assume the GNU/Linux dynamic linker is in use.
 10028   dynamic_linker='GNU/Linux ld.so'
 10029   ;;
 10030 
 10031 netbsd*)
 10032   version_type=sunos
 10033   need_lib_prefix=no
 10034   need_version=no
 10035   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 10036     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10037     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 10038     dynamic_linker='NetBSD (a.out) ld.so'
 10039   else
 10040     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 10041     soname_spec='${libname}${release}${shared_ext}$major'
 10042     dynamic_linker='NetBSD ld.elf_so'
 10043   fi
 10044   shlibpath_var=LD_LIBRARY_PATH
 10045   shlibpath_overrides_runpath=yes
 10046   hardcode_into_libs=yes
 10047   ;;
 10048 
 10049 newsos6)
 10050   version_type=linux
 10051   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10052   shlibpath_var=LD_LIBRARY_PATH
 10053   shlibpath_overrides_runpath=yes
 10054   ;;
 10055 
 10056 nto-qnx*)
 10057   version_type=linux
 10058   need_lib_prefix=no
 10059   need_version=no
 10060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10061   soname_spec='${libname}${release}${shared_ext}$major'
 10062   shlibpath_var=LD_LIBRARY_PATH
 10063   shlibpath_overrides_runpath=yes
 10064   ;;
 10065 
 10066 openbsd*)
 10067   version_type=sunos
 10068   sys_lib_dlsearch_path_spec="/usr/lib"
 10069   need_lib_prefix=no
 10070   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 10071   case $host_os in
 10072     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 10073     *)                         need_version=no  ;;
 10074   esac
 10075   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10076   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 10077   shlibpath_var=LD_LIBRARY_PATH
 10078   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 10079     case $host_os in
 10080       openbsd2.[89] | openbsd2.[89].*)
 10081 	shlibpath_overrides_runpath=no
 10082 	;;
 10083       *)
 10084 	shlibpath_overrides_runpath=yes
 10085 	;;
 10086       esac
 10087   else
 10088     shlibpath_overrides_runpath=yes
 10089   fi
 10090   ;;
 10091 
 10092 os2*)
 10093   libname_spec='$name'
 10094   shrext_cmds=".dll"
 10095   need_lib_prefix=no
 10096   library_names_spec='$libname${shared_ext} $libname.a'
 10097   dynamic_linker='OS/2 ld.exe'
 10098   shlibpath_var=LIBPATH
 10099   ;;
 10100 
 10101 osf3* | osf4* | osf5*)
 10102   version_type=osf
 10103   need_lib_prefix=no
 10104   need_version=no
 10105   soname_spec='${libname}${release}${shared_ext}$major'
 10106   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10107   shlibpath_var=LD_LIBRARY_PATH
 10108   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 10109   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 10110   ;;
 10111 
 10112 rdos*)
 10113   dynamic_linker=no
 10114   ;;
 10115 
 10116 solaris*)
 10117   version_type=linux
 10118   need_lib_prefix=no
 10119   need_version=no
 10120   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10121   soname_spec='${libname}${release}${shared_ext}$major'
 10122   shlibpath_var=LD_LIBRARY_PATH
 10123   shlibpath_overrides_runpath=yes
 10124   hardcode_into_libs=yes
 10125   # ldd complains unless libraries are executable
 10126   postinstall_cmds='chmod +x $lib'
 10127   ;;
 10128 
 10129 sunos4*)
 10130   version_type=sunos
 10131   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10132   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 10133   shlibpath_var=LD_LIBRARY_PATH
 10134   shlibpath_overrides_runpath=yes
 10135   if test "$with_gnu_ld" = yes; then
 10136     need_lib_prefix=no
 10137   fi
 10138   need_version=yes
 10139   ;;
 10140 
 10141 sysv4 | sysv4.3*)
 10142   version_type=linux
 10143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10144   soname_spec='${libname}${release}${shared_ext}$major'
 10145   shlibpath_var=LD_LIBRARY_PATH
 10146   case $host_vendor in
 10147     sni)
 10148       shlibpath_overrides_runpath=no
 10149       need_lib_prefix=no
 10150       export_dynamic_flag_spec='${wl}-Blargedynsym'
 10151       runpath_var=LD_RUN_PATH
 10152       ;;
 10153     siemens)
 10154       need_lib_prefix=no
 10155       ;;
 10156     motorola)
 10157       need_lib_prefix=no
 10158       need_version=no
 10159       shlibpath_overrides_runpath=no
 10160       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 10161       ;;
 10162   esac
 10163   ;;
 10164 
 10165 sysv4*MP*)
 10166   if test -d /usr/nec ;then
 10167     version_type=linux
 10168     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 10169     soname_spec='$libname${shared_ext}.$major'
 10170     shlibpath_var=LD_LIBRARY_PATH
 10171   fi
 10172   ;;
 10173 
 10174 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 10175   version_type=freebsd-elf
 10176   need_lib_prefix=no
 10177   need_version=no
 10178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 10179   soname_spec='${libname}${release}${shared_ext}$major'
 10180   shlibpath_var=LD_LIBRARY_PATH
 10181   hardcode_into_libs=yes
 10182   if test "$with_gnu_ld" = yes; then
 10183     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 10184     shlibpath_overrides_runpath=no
 10185   else
 10186     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 10187     shlibpath_overrides_runpath=yes
 10188     case $host_os in
 10189       sco3.2v5*)
 10190         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 10191 	;;
 10192     esac
 10193   fi
 10194   sys_lib_dlsearch_path_spec='/usr/lib'
 10195   ;;
 10196 
 10197 uts4*)
 10198   version_type=linux
 10199   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10200   soname_spec='${libname}${release}${shared_ext}$major'
 10201   shlibpath_var=LD_LIBRARY_PATH
 10202   ;;
 10203 
 10204 *)
 10205   dynamic_linker=no
 10206   ;;
 10207 esac
 10208 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 10209 $as_echo "$dynamic_linker" >&6; }
 10210 test "$dynamic_linker" = no && can_build_shared=no
 10211 
 10212 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 10213   $as_echo_n "(cached) " >&6
 10214 else
 10215   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 10216 fi
 10217 
 10218 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 10219 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 10220   $as_echo_n "(cached) " >&6
 10221 else
 10222   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 10223 fi
 10224 
 10225 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 10226 
 10227 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 10228 if test "$GCC" = yes; then
 10229   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 10230 fi
 10231 
 10232 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 10233 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 10234 hardcode_action=
 10235 if test -n "$hardcode_libdir_flag_spec" || \
 10236    test -n "$runpath_var" || \
 10237    test "X$hardcode_automatic" = "Xyes" ; then
 10238 
 10239   # We can hardcode non-existant directories.
 10240   if test "$hardcode_direct" != no &&
 10241      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 10242      # have to relink, otherwise we might link with an installed library
 10243      # when we should be linking with a yet-to-be-installed one
 10244      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
 10245      test "$hardcode_minus_L" != no; then
 10246     # Linking always hardcodes the temporary library directory.
 10247     hardcode_action=relink
 10248   else
 10249     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 10250     hardcode_action=immediate
 10251   fi
 10252 else
 10253   # We cannot hardcode anything, or else we can only hardcode existing
 10254   # directories.
 10255   hardcode_action=unsupported
 10256 fi
 10257 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 10258 $as_echo "$hardcode_action" >&6; }
 10259 
 10260 if test "$hardcode_action" = relink; then
 10261   # Fast installation is not supported
 10262   enable_fast_install=no
 10263 elif test "$shlibpath_overrides_runpath" = yes ||
 10264      test "$enable_shared" = no; then
 10265   # Fast installation is not necessary
 10266   enable_fast_install=needless
 10267 fi
 10268 
 10269 striplib=
 10270 old_striplib=
 10271 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 10272 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
 10273 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
 10274   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 10275   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 10276   { $as_echo "$as_me:$LINENO: result: yes" >&5
 10277 $as_echo "yes" >&6; }
 10278 else
 10279 # FIXME - insert some real tests, host_os isn't really good enough
 10280   case $host_os in
 10281    darwin*)
 10282        if test -n "$STRIP" ; then
 10283          striplib="$STRIP -x"
 10284          old_striplib="$STRIP -S"
 10285          { $as_echo "$as_me:$LINENO: result: yes" >&5
 10286 $as_echo "yes" >&6; }
 10287        else
 10288   { $as_echo "$as_me:$LINENO: result: no" >&5
 10289 $as_echo "no" >&6; }
 10290 fi
 10291        ;;
 10292    *)
 10293   { $as_echo "$as_me:$LINENO: result: no" >&5
 10294 $as_echo "no" >&6; }
 10295     ;;
 10296   esac
 10297 fi
 10298 
 10299 if test "x$enable_dlopen" != xyes; then
 10300   enable_dlopen=unknown
 10301   enable_dlopen_self=unknown
 10302   enable_dlopen_self_static=unknown
 10303 else
 10304   lt_cv_dlopen=no
 10305   lt_cv_dlopen_libs=
 10306 
 10307   case $host_os in
 10308   beos*)
 10309     lt_cv_dlopen="load_add_on"
 10310     lt_cv_dlopen_libs=
 10311     lt_cv_dlopen_self=yes
 10312     ;;
 10313 
 10314   mingw* | pw32*)
 10315     lt_cv_dlopen="LoadLibrary"
 10316     lt_cv_dlopen_libs=
 10317    ;;
 10318 
 10319   cygwin*)
 10320     lt_cv_dlopen="dlopen"
 10321     lt_cv_dlopen_libs=
 10322    ;;
 10323 
 10324   darwin*)
 10325   # if libdl is installed we need to link against it
 10326     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 10327 $as_echo_n "checking for dlopen in -ldl... " >&6; }
 10328 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 10329   $as_echo_n "(cached) " >&6
 10330 else
 10331   ac_check_lib_save_LIBS=$LIBS
 10332 LIBS="-ldl  $LIBS"
 10333 cat >conftest.$ac_ext <<_ACEOF
 10334 /* confdefs.h.  */
 10335 _ACEOF
 10336 cat confdefs.h >>conftest.$ac_ext
 10337 cat >>conftest.$ac_ext <<_ACEOF
 10338 /* end confdefs.h.  */
 10339 
 10340 /* Override any GCC internal prototype to avoid an error.
 10341    Use char because int might match the return type of a GCC
 10342    builtin and then its argument prototype would still apply.  */
 10343 #ifdef __cplusplus
 10344 extern "C"
 10345 #endif
 10346 char dlopen ();
 10347 int
 10348 main ()
 10349 {
 10350 return dlopen ();
 10351   ;
 10352   return 0;
 10353 }
 10354 _ACEOF
 10355 rm -f conftest.$ac_objext conftest$ac_exeext
 10356 if { (ac_try="$ac_link"
 10357 case "(($ac_try" in
 10358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10359   *) ac_try_echo=$ac_try;;
 10360 esac
 10361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10362 $as_echo "$ac_try_echo") >&5
 10363   (eval "$ac_link") 2>conftest.er1
 10364   ac_status=$?
 10365   grep -v '^ *+' conftest.er1 >conftest.err
 10366   rm -f conftest.er1
 10367   cat conftest.err >&5
 10368   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10369   (exit $ac_status); } && {
 10370 	 test -z "$ac_c_werror_flag" ||
 10371 	 test ! -s conftest.err
 10372        } && test -s conftest$ac_exeext && {
 10373 	 test "$cross_compiling" = yes ||
 10374 	 $as_test_x conftest$ac_exeext
 10375        }; then
 10376   ac_cv_lib_dl_dlopen=yes
 10377 else
 10378   $as_echo "$as_me: failed program was:" >&5
 10379 sed 's/^/| /' conftest.$ac_ext >&5
 10380 
 10381 	ac_cv_lib_dl_dlopen=no
 10382 fi
 10383 
 10384 rm -rf conftest.dSYM
 10385 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10386       conftest$ac_exeext conftest.$ac_ext
 10387 LIBS=$ac_check_lib_save_LIBS
 10388 fi
 10389 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 10390 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 10391 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 10392   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 10393 else
 10394 
 10395     lt_cv_dlopen="dyld"
 10396     lt_cv_dlopen_libs=
 10397     lt_cv_dlopen_self=yes
 10398 
 10399 fi
 10400 
 10401    ;;
 10402 
 10403   *)
 10404     { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 10405 $as_echo_n "checking for shl_load... " >&6; }
 10406 if test "${ac_cv_func_shl_load+set}" = set; then
 10407   $as_echo_n "(cached) " >&6
 10408 else
 10409   cat >conftest.$ac_ext <<_ACEOF
 10410 /* confdefs.h.  */
 10411 _ACEOF
 10412 cat confdefs.h >>conftest.$ac_ext
 10413 cat >>conftest.$ac_ext <<_ACEOF
 10414 /* end confdefs.h.  */
 10415 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 10416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10417 #define shl_load innocuous_shl_load
 10418 
 10419 /* System header to define __stub macros and hopefully few prototypes,
 10420     which can conflict with char shl_load (); below.
 10421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10422     <limits.h> exists even on freestanding compilers.  */
 10423 
 10424 #ifdef __STDC__
 10425 # include <limits.h>
 10426 #else
 10427 # include <assert.h>
 10428 #endif
 10429 
 10430 #undef shl_load
 10431 
 10432 /* Override any GCC internal prototype to avoid an error.
 10433    Use char because int might match the return type of a GCC
 10434    builtin and then its argument prototype would still apply.  */
 10435 #ifdef __cplusplus
 10436 extern "C"
 10437 #endif
 10438 char shl_load ();
 10439 /* The GNU C library defines this for functions which it implements
 10440     to always fail with ENOSYS.  Some functions are actually named
 10441     something starting with __ and the normal name is an alias.  */
 10442 #if defined __stub_shl_load || defined __stub___shl_load
 10443 choke me
 10444 #endif
 10445 
 10446 int
 10447 main ()
 10448 {
 10449 return shl_load ();
 10450   ;
 10451   return 0;
 10452 }
 10453 _ACEOF
 10454 rm -f conftest.$ac_objext conftest$ac_exeext
 10455 if { (ac_try="$ac_link"
 10456 case "(($ac_try" in
 10457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10458   *) ac_try_echo=$ac_try;;
 10459 esac
 10460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10461 $as_echo "$ac_try_echo") >&5
 10462   (eval "$ac_link") 2>conftest.er1
 10463   ac_status=$?
 10464   grep -v '^ *+' conftest.er1 >conftest.err
 10465   rm -f conftest.er1
 10466   cat conftest.err >&5
 10467   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10468   (exit $ac_status); } && {
 10469 	 test -z "$ac_c_werror_flag" ||
 10470 	 test ! -s conftest.err
 10471        } && test -s conftest$ac_exeext && {
 10472 	 test "$cross_compiling" = yes ||
 10473 	 $as_test_x conftest$ac_exeext
 10474        }; then
 10475   ac_cv_func_shl_load=yes
 10476 else
 10477   $as_echo "$as_me: failed program was:" >&5
 10478 sed 's/^/| /' conftest.$ac_ext >&5
 10479 
 10480 	ac_cv_func_shl_load=no
 10481 fi
 10482 
 10483 rm -rf conftest.dSYM
 10484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10485       conftest$ac_exeext conftest.$ac_ext
 10486 fi
 10487 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 10488 $as_echo "$ac_cv_func_shl_load" >&6; }
 10489 if test "x$ac_cv_func_shl_load" = x""yes; then
 10490   lt_cv_dlopen="shl_load"
 10491 else
 10492   { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 10493 $as_echo_n "checking for shl_load in -ldld... " >&6; }
 10494 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 10495   $as_echo_n "(cached) " >&6
 10496 else
 10497   ac_check_lib_save_LIBS=$LIBS
 10498 LIBS="-ldld  $LIBS"
 10499 cat >conftest.$ac_ext <<_ACEOF
 10500 /* confdefs.h.  */
 10501 _ACEOF
 10502 cat confdefs.h >>conftest.$ac_ext
 10503 cat >>conftest.$ac_ext <<_ACEOF
 10504 /* end confdefs.h.  */
 10505 
 10506 /* Override any GCC internal prototype to avoid an error.
 10507    Use char because int might match the return type of a GCC
 10508    builtin and then its argument prototype would still apply.  */
 10509 #ifdef __cplusplus
 10510 extern "C"
 10511 #endif
 10512 char shl_load ();
 10513 int
 10514 main ()
 10515 {
 10516 return shl_load ();
 10517   ;
 10518   return 0;
 10519 }
 10520 _ACEOF
 10521 rm -f conftest.$ac_objext conftest$ac_exeext
 10522 if { (ac_try="$ac_link"
 10523 case "(($ac_try" in
 10524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10525   *) ac_try_echo=$ac_try;;
 10526 esac
 10527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10528 $as_echo "$ac_try_echo") >&5
 10529   (eval "$ac_link") 2>conftest.er1
 10530   ac_status=$?
 10531   grep -v '^ *+' conftest.er1 >conftest.err
 10532   rm -f conftest.er1
 10533   cat conftest.err >&5
 10534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10535   (exit $ac_status); } && {
 10536 	 test -z "$ac_c_werror_flag" ||
 10537 	 test ! -s conftest.err
 10538        } && test -s conftest$ac_exeext && {
 10539 	 test "$cross_compiling" = yes ||
 10540 	 $as_test_x conftest$ac_exeext
 10541        }; then
 10542   ac_cv_lib_dld_shl_load=yes
 10543 else
 10544   $as_echo "$as_me: failed program was:" >&5
 10545 sed 's/^/| /' conftest.$ac_ext >&5
 10546 
 10547 	ac_cv_lib_dld_shl_load=no
 10548 fi
 10549 
 10550 rm -rf conftest.dSYM
 10551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10552       conftest$ac_exeext conftest.$ac_ext
 10553 LIBS=$ac_check_lib_save_LIBS
 10554 fi
 10555 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 10556 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 10557 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
 10558   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 10559 else
 10560   { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 10561 $as_echo_n "checking for dlopen... " >&6; }
 10562 if test "${ac_cv_func_dlopen+set}" = set; then
 10563   $as_echo_n "(cached) " >&6
 10564 else
 10565   cat >conftest.$ac_ext <<_ACEOF
 10566 /* confdefs.h.  */
 10567 _ACEOF
 10568 cat confdefs.h >>conftest.$ac_ext
 10569 cat >>conftest.$ac_ext <<_ACEOF
 10570 /* end confdefs.h.  */
 10571 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 10572    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10573 #define dlopen innocuous_dlopen
 10574 
 10575 /* System header to define __stub macros and hopefully few prototypes,
 10576     which can conflict with char dlopen (); below.
 10577     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10578     <limits.h> exists even on freestanding compilers.  */
 10579 
 10580 #ifdef __STDC__
 10581 # include <limits.h>
 10582 #else
 10583 # include <assert.h>
 10584 #endif
 10585 
 10586 #undef dlopen
 10587 
 10588 /* Override any GCC internal prototype to avoid an error.
 10589    Use char because int might match the return type of a GCC
 10590    builtin and then its argument prototype would still apply.  */
 10591 #ifdef __cplusplus
 10592 extern "C"
 10593 #endif
 10594 char dlopen ();
 10595 /* The GNU C library defines this for functions which it implements
 10596     to always fail with ENOSYS.  Some functions are actually named
 10597     something starting with __ and the normal name is an alias.  */
 10598 #if defined __stub_dlopen || defined __stub___dlopen
 10599 choke me
 10600 #endif
 10601 
 10602 int
 10603 main ()
 10604 {
 10605 return dlopen ();
 10606   ;
 10607   return 0;
 10608 }
 10609 _ACEOF
 10610 rm -f conftest.$ac_objext conftest$ac_exeext
 10611 if { (ac_try="$ac_link"
 10612 case "(($ac_try" in
 10613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10614   *) ac_try_echo=$ac_try;;
 10615 esac
 10616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10617 $as_echo "$ac_try_echo") >&5
 10618   (eval "$ac_link") 2>conftest.er1
 10619   ac_status=$?
 10620   grep -v '^ *+' conftest.er1 >conftest.err
 10621   rm -f conftest.er1
 10622   cat conftest.err >&5
 10623   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10624   (exit $ac_status); } && {
 10625 	 test -z "$ac_c_werror_flag" ||
 10626 	 test ! -s conftest.err
 10627        } && test -s conftest$ac_exeext && {
 10628 	 test "$cross_compiling" = yes ||
 10629 	 $as_test_x conftest$ac_exeext
 10630        }; then
 10631   ac_cv_func_dlopen=yes
 10632 else
 10633   $as_echo "$as_me: failed program was:" >&5
 10634 sed 's/^/| /' conftest.$ac_ext >&5
 10635 
 10636 	ac_cv_func_dlopen=no
 10637 fi
 10638 
 10639 rm -rf conftest.dSYM
 10640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10641       conftest$ac_exeext conftest.$ac_ext
 10642 fi
 10643 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 10644 $as_echo "$ac_cv_func_dlopen" >&6; }
 10645 if test "x$ac_cv_func_dlopen" = x""yes; then
 10646   lt_cv_dlopen="dlopen"
 10647 else
 10648   { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 10649 $as_echo_n "checking for dlopen in -ldl... " >&6; }
 10650 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 10651   $as_echo_n "(cached) " >&6
 10652 else
 10653   ac_check_lib_save_LIBS=$LIBS
 10654 LIBS="-ldl  $LIBS"
 10655 cat >conftest.$ac_ext <<_ACEOF
 10656 /* confdefs.h.  */
 10657 _ACEOF
 10658 cat confdefs.h >>conftest.$ac_ext
 10659 cat >>conftest.$ac_ext <<_ACEOF
 10660 /* end confdefs.h.  */
 10661 
 10662 /* Override any GCC internal prototype to avoid an error.
 10663    Use char because int might match the return type of a GCC
 10664    builtin and then its argument prototype would still apply.  */
 10665 #ifdef __cplusplus
 10666 extern "C"
 10667 #endif
 10668 char dlopen ();
 10669 int
 10670 main ()
 10671 {
 10672 return dlopen ();
 10673   ;
 10674   return 0;
 10675 }
 10676 _ACEOF
 10677 rm -f conftest.$ac_objext conftest$ac_exeext
 10678 if { (ac_try="$ac_link"
 10679 case "(($ac_try" in
 10680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10681   *) ac_try_echo=$ac_try;;
 10682 esac
 10683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10684 $as_echo "$ac_try_echo") >&5
 10685   (eval "$ac_link") 2>conftest.er1
 10686   ac_status=$?
 10687   grep -v '^ *+' conftest.er1 >conftest.err
 10688   rm -f conftest.er1
 10689   cat conftest.err >&5
 10690   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10691   (exit $ac_status); } && {
 10692 	 test -z "$ac_c_werror_flag" ||
 10693 	 test ! -s conftest.err
 10694        } && test -s conftest$ac_exeext && {
 10695 	 test "$cross_compiling" = yes ||
 10696 	 $as_test_x conftest$ac_exeext
 10697        }; then
 10698   ac_cv_lib_dl_dlopen=yes
 10699 else
 10700   $as_echo "$as_me: failed program was:" >&5
 10701 sed 's/^/| /' conftest.$ac_ext >&5
 10702 
 10703 	ac_cv_lib_dl_dlopen=no
 10704 fi
 10705 
 10706 rm -rf conftest.dSYM
 10707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10708       conftest$ac_exeext conftest.$ac_ext
 10709 LIBS=$ac_check_lib_save_LIBS
 10710 fi
 10711 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 10712 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 10713 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
 10714   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 10715 else
 10716   { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 10717 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
 10718 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 10719   $as_echo_n "(cached) " >&6
 10720 else
 10721   ac_check_lib_save_LIBS=$LIBS
 10722 LIBS="-lsvld  $LIBS"
 10723 cat >conftest.$ac_ext <<_ACEOF
 10724 /* confdefs.h.  */
 10725 _ACEOF
 10726 cat confdefs.h >>conftest.$ac_ext
 10727 cat >>conftest.$ac_ext <<_ACEOF
 10728 /* end confdefs.h.  */
 10729 
 10730 /* Override any GCC internal prototype to avoid an error.
 10731    Use char because int might match the return type of a GCC
 10732    builtin and then its argument prototype would still apply.  */
 10733 #ifdef __cplusplus
 10734 extern "C"
 10735 #endif
 10736 char dlopen ();
 10737 int
 10738 main ()
 10739 {
 10740 return dlopen ();
 10741   ;
 10742   return 0;
 10743 }
 10744 _ACEOF
 10745 rm -f conftest.$ac_objext conftest$ac_exeext
 10746 if { (ac_try="$ac_link"
 10747 case "(($ac_try" in
 10748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10749   *) ac_try_echo=$ac_try;;
 10750 esac
 10751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10752 $as_echo "$ac_try_echo") >&5
 10753   (eval "$ac_link") 2>conftest.er1
 10754   ac_status=$?
 10755   grep -v '^ *+' conftest.er1 >conftest.err
 10756   rm -f conftest.er1
 10757   cat conftest.err >&5
 10758   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10759   (exit $ac_status); } && {
 10760 	 test -z "$ac_c_werror_flag" ||
 10761 	 test ! -s conftest.err
 10762        } && test -s conftest$ac_exeext && {
 10763 	 test "$cross_compiling" = yes ||
 10764 	 $as_test_x conftest$ac_exeext
 10765        }; then
 10766   ac_cv_lib_svld_dlopen=yes
 10767 else
 10768   $as_echo "$as_me: failed program was:" >&5
 10769 sed 's/^/| /' conftest.$ac_ext >&5
 10770 
 10771 	ac_cv_lib_svld_dlopen=no
 10772 fi
 10773 
 10774 rm -rf conftest.dSYM
 10775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10776       conftest$ac_exeext conftest.$ac_ext
 10777 LIBS=$ac_check_lib_save_LIBS
 10778 fi
 10779 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 10780 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 10781 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
 10782   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 10783 else
 10784   { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 10785 $as_echo_n "checking for dld_link in -ldld... " >&6; }
 10786 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 10787   $as_echo_n "(cached) " >&6
 10788 else
 10789   ac_check_lib_save_LIBS=$LIBS
 10790 LIBS="-ldld  $LIBS"
 10791 cat >conftest.$ac_ext <<_ACEOF
 10792 /* confdefs.h.  */
 10793 _ACEOF
 10794 cat confdefs.h >>conftest.$ac_ext
 10795 cat >>conftest.$ac_ext <<_ACEOF
 10796 /* end confdefs.h.  */
 10797 
 10798 /* Override any GCC internal prototype to avoid an error.
 10799    Use char because int might match the return type of a GCC
 10800    builtin and then its argument prototype would still apply.  */
 10801 #ifdef __cplusplus
 10802 extern "C"
 10803 #endif
 10804 char dld_link ();
 10805 int
 10806 main ()
 10807 {
 10808 return dld_link ();
 10809   ;
 10810   return 0;
 10811 }
 10812 _ACEOF
 10813 rm -f conftest.$ac_objext conftest$ac_exeext
 10814 if { (ac_try="$ac_link"
 10815 case "(($ac_try" in
 10816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10817   *) ac_try_echo=$ac_try;;
 10818 esac
 10819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10820 $as_echo "$ac_try_echo") >&5
 10821   (eval "$ac_link") 2>conftest.er1
 10822   ac_status=$?
 10823   grep -v '^ *+' conftest.er1 >conftest.err
 10824   rm -f conftest.er1
 10825   cat conftest.err >&5
 10826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10827   (exit $ac_status); } && {
 10828 	 test -z "$ac_c_werror_flag" ||
 10829 	 test ! -s conftest.err
 10830        } && test -s conftest$ac_exeext && {
 10831 	 test "$cross_compiling" = yes ||
 10832 	 $as_test_x conftest$ac_exeext
 10833        }; then
 10834   ac_cv_lib_dld_dld_link=yes
 10835 else
 10836   $as_echo "$as_me: failed program was:" >&5
 10837 sed 's/^/| /' conftest.$ac_ext >&5
 10838 
 10839 	ac_cv_lib_dld_dld_link=no
 10840 fi
 10841 
 10842 rm -rf conftest.dSYM
 10843 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10844       conftest$ac_exeext conftest.$ac_ext
 10845 LIBS=$ac_check_lib_save_LIBS
 10846 fi
 10847 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 10848 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 10849 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
 10850   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 10851 fi
 10852 
 10853 
 10854 fi
 10855 
 10856 
 10857 fi
 10858 
 10859 
 10860 fi
 10861 
 10862 
 10863 fi
 10864 
 10865 
 10866 fi
 10867 
 10868     ;;
 10869   esac
 10870 
 10871   if test "x$lt_cv_dlopen" != xno; then
 10872     enable_dlopen=yes
 10873   else
 10874     enable_dlopen=no
 10875   fi
 10876 
 10877   case $lt_cv_dlopen in
 10878   dlopen)
 10879     save_CPPFLAGS="$CPPFLAGS"
 10880     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 10881 
 10882     save_LDFLAGS="$LDFLAGS"
 10883     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 10884 
 10885     save_LIBS="$LIBS"
 10886     LIBS="$lt_cv_dlopen_libs $LIBS"
 10887 
 10888     { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 10889 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
 10890 if test "${lt_cv_dlopen_self+set}" = set; then
 10891   $as_echo_n "(cached) " >&6
 10892 else
 10893   	  if test "$cross_compiling" = yes; then :
 10894   lt_cv_dlopen_self=cross
 10895 else
 10896   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 10897   lt_status=$lt_dlunknown
 10898   cat > conftest.$ac_ext <<EOF
 10899 #line 10899 "configure"
 10900 #include "confdefs.h"
 10901 
 10902 #if HAVE_DLFCN_H
 10903 #include <dlfcn.h>
 10904 #endif
 10905 
 10906 #include <stdio.h>
 10907 
 10908 #ifdef RTLD_GLOBAL
 10909 #  define LT_DLGLOBAL		RTLD_GLOBAL
 10910 #else
 10911 #  ifdef DL_GLOBAL
 10912 #    define LT_DLGLOBAL		DL_GLOBAL
 10913 #  else
 10914 #    define LT_DLGLOBAL		0
 10915 #  endif
 10916 #endif
 10917 
 10918 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 10919    find out it does not work in some platform. */
 10920 #ifndef LT_DLLAZY_OR_NOW
 10921 #  ifdef RTLD_LAZY
 10922 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 10923 #  else
 10924 #    ifdef DL_LAZY
 10925 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 10926 #    else
 10927 #      ifdef RTLD_NOW
 10928 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 10929 #      else
 10930 #        ifdef DL_NOW
 10931 #          define LT_DLLAZY_OR_NOW	DL_NOW
 10932 #        else
 10933 #          define LT_DLLAZY_OR_NOW	0
 10934 #        endif
 10935 #      endif
 10936 #    endif
 10937 #  endif
 10938 #endif
 10939 
 10940 #ifdef __cplusplus
 10941 extern "C" void exit (int);
 10942 #endif
 10943 
 10944 void fnord() { int i=42;}
 10945 int main ()
 10946 {
 10947   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 10948   int status = $lt_dlunknown;
 10949 
 10950   if (self)
 10951     {
 10952       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 10953       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 10954       /* dlclose (self); */
 10955     }
 10956   else
 10957     puts (dlerror ());
 10958 
 10959     exit (status);
 10960 }
 10961 EOF
 10962   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 10963   (eval $ac_link) 2>&5
 10964   ac_status=$?
 10965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10966   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 10967     (./conftest; exit; ) >&5 2>/dev/null
 10968     lt_status=$?
 10969     case x$lt_status in
 10970       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 10971       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 10972       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 10973     esac
 10974   else :
 10975     # compilation failed
 10976     lt_cv_dlopen_self=no
 10977   fi
 10978 fi
 10979 rm -fr conftest*
 10980 
 10981 
 10982 fi
 10983 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 10984 $as_echo "$lt_cv_dlopen_self" >&6; }
 10985 
 10986     if test "x$lt_cv_dlopen_self" = xyes; then
 10987       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 10988       { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 10989 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 10990 if test "${lt_cv_dlopen_self_static+set}" = set; then
 10991   $as_echo_n "(cached) " >&6
 10992 else
 10993   	  if test "$cross_compiling" = yes; then :
 10994   lt_cv_dlopen_self_static=cross
 10995 else
 10996   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 10997   lt_status=$lt_dlunknown
 10998   cat > conftest.$ac_ext <<EOF
 10999 #line 10999 "configure"
 11000 #include "confdefs.h"
 11001 
 11002 #if HAVE_DLFCN_H
 11003 #include <dlfcn.h>
 11004 #endif
 11005 
 11006 #include <stdio.h>
 11007 
 11008 #ifdef RTLD_GLOBAL
 11009 #  define LT_DLGLOBAL		RTLD_GLOBAL
 11010 #else
 11011 #  ifdef DL_GLOBAL
 11012 #    define LT_DLGLOBAL		DL_GLOBAL
 11013 #  else
 11014 #    define LT_DLGLOBAL		0
 11015 #  endif
 11016 #endif
 11017 
 11018 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 11019    find out it does not work in some platform. */
 11020 #ifndef LT_DLLAZY_OR_NOW
 11021 #  ifdef RTLD_LAZY
 11022 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 11023 #  else
 11024 #    ifdef DL_LAZY
 11025 #      define LT_DLLAZY_OR_NOW		DL_LAZY
 11026 #    else
 11027 #      ifdef RTLD_NOW
 11028 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 11029 #      else
 11030 #        ifdef DL_NOW
 11031 #          define LT_DLLAZY_OR_NOW	DL_NOW
 11032 #        else
 11033 #          define LT_DLLAZY_OR_NOW	0
 11034 #        endif
 11035 #      endif
 11036 #    endif
 11037 #  endif
 11038 #endif
 11039 
 11040 #ifdef __cplusplus
 11041 extern "C" void exit (int);
 11042 #endif
 11043 
 11044 void fnord() { int i=42;}
 11045 int main ()
 11046 {
 11047   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 11048   int status = $lt_dlunknown;
 11049 
 11050   if (self)
 11051     {
 11052       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 11053       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 11054       /* dlclose (self); */
 11055     }
 11056   else
 11057     puts (dlerror ());
 11058 
 11059     exit (status);
 11060 }
 11061 EOF
 11062   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 11063   (eval $ac_link) 2>&5
 11064   ac_status=$?
 11065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11066   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 11067     (./conftest; exit; ) >&5 2>/dev/null
 11068     lt_status=$?
 11069     case x$lt_status in
 11070       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 11071       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 11072       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 11073     esac
 11074   else :
 11075     # compilation failed
 11076     lt_cv_dlopen_self_static=no
 11077   fi
 11078 fi
 11079 rm -fr conftest*
 11080 
 11081 
 11082 fi
 11083 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 11084 $as_echo "$lt_cv_dlopen_self_static" >&6; }
 11085     fi
 11086 
 11087     CPPFLAGS="$save_CPPFLAGS"
 11088     LDFLAGS="$save_LDFLAGS"
 11089     LIBS="$save_LIBS"
 11090     ;;
 11091   esac
 11092 
 11093   case $lt_cv_dlopen_self in
 11094   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 11095   *) enable_dlopen_self=unknown ;;
 11096   esac
 11097 
 11098   case $lt_cv_dlopen_self_static in
 11099   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 11100   *) enable_dlopen_self_static=unknown ;;
 11101   esac
 11102 fi
 11103 
 11104 
 11105 # Report which library types will actually be built
 11106 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 11107 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
 11108 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 11109 $as_echo "$can_build_shared" >&6; }
 11110 
 11111 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 11112 $as_echo_n "checking whether to build shared libraries... " >&6; }
 11113 test "$can_build_shared" = "no" && enable_shared=no
 11114 
 11115 # On AIX, shared libraries and static libraries use the same namespace, and
 11116 # are all built from PIC.
 11117 case $host_os in
 11118 aix3*)
 11119   test "$enable_shared" = yes && enable_static=no
 11120   if test -n "$RANLIB"; then
 11121     archive_cmds="$archive_cmds~\$RANLIB \$lib"
 11122     postinstall_cmds='$RANLIB $lib'
 11123   fi
 11124   ;;
 11125 
 11126 aix[4-9]*)
 11127   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 11128     test "$enable_shared" = yes && enable_static=no
 11129   fi
 11130     ;;
 11131 esac
 11132 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 11133 $as_echo "$enable_shared" >&6; }
 11134 
 11135 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 11136 $as_echo_n "checking whether to build static libraries... " >&6; }
 11137 # Make sure either enable_shared or enable_static is yes.
 11138 test "$enable_shared" = yes || enable_static=yes
 11139 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 11140 $as_echo "$enable_static" >&6; }
 11141 
 11142 # The else clause should only fire when bootstrapping the
 11143 # libtool distribution, otherwise you forgot to ship ltmain.sh
 11144 # with your package, and you will get complaints that there are
 11145 # no rules to generate ltmain.sh.
 11146 if test -f "$ltmain"; then
 11147   # See if we are running on zsh, and set the options which allow our commands through
 11148   # without removal of \ escapes.
 11149   if test -n "${ZSH_VERSION+set}" ; then
 11150     setopt NO_GLOB_SUBST
 11151   fi
 11152   # Now quote all the things that may contain metacharacters while being
 11153   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 11154   # variables and quote the copies for generation of the libtool script.
 11155   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 11156     SED SHELL STRIP \
 11157     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 11158     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 11159     deplibs_check_method reload_flag reload_cmds need_locks \
 11160     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 11161     lt_cv_sys_global_symbol_to_c_name_address \
 11162     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 11163     old_postinstall_cmds old_postuninstall_cmds \
 11164     compiler \
 11165     CC \
 11166     LD \
 11167     lt_prog_compiler_wl \
 11168     lt_prog_compiler_pic \
 11169     lt_prog_compiler_static \
 11170     lt_prog_compiler_no_builtin_flag \
 11171     export_dynamic_flag_spec \
 11172     thread_safe_flag_spec \
 11173     whole_archive_flag_spec \
 11174     enable_shared_with_static_runtimes \
 11175     old_archive_cmds \
 11176     old_archive_from_new_cmds \
 11177     predep_objects \
 11178     postdep_objects \
 11179     predeps \
 11180     postdeps \
 11181     compiler_lib_search_path \
 11182     compiler_lib_search_dirs \
 11183     archive_cmds \
 11184     archive_expsym_cmds \
 11185     postinstall_cmds \
 11186     postuninstall_cmds \
 11187     old_archive_from_expsyms_cmds \
 11188     allow_undefined_flag \
 11189     no_undefined_flag \
 11190     export_symbols_cmds \
 11191     hardcode_libdir_flag_spec \
 11192     hardcode_libdir_flag_spec_ld \
 11193     hardcode_libdir_separator \
 11194     hardcode_automatic \
 11195     module_cmds \
 11196     module_expsym_cmds \
 11197     lt_cv_prog_compiler_c_o \
 11198     fix_srcfile_path \
 11199     exclude_expsyms \
 11200     include_expsyms; do
 11201 
 11202     case $var in
 11203     old_archive_cmds | \
 11204     old_archive_from_new_cmds | \
 11205     archive_cmds | \
 11206     archive_expsym_cmds | \
 11207     module_cmds | \
 11208     module_expsym_cmds | \
 11209     old_archive_from_expsyms_cmds | \
 11210     export_symbols_cmds | \
 11211     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 11212     postinstall_cmds | postuninstall_cmds | \
 11213     old_postinstall_cmds | old_postuninstall_cmds | \
 11214     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 11215       # Double-quote double-evaled strings.
 11216       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 11217       ;;
 11218     *)
 11219       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 11220       ;;
 11221     esac
 11222   done
 11223 
 11224   case $lt_echo in
 11225   *'\$0 --fallback-echo"')
 11226     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 11227     ;;
 11228   esac
 11229 
 11230 cfgfile="${ofile}T"
 11231   trap "$rm \"$cfgfile\"; exit 1" 1 2 15
 11232   $rm -f "$cfgfile"
 11233   { $as_echo "$as_me:$LINENO: creating $ofile" >&5
 11234 $as_echo "$as_me: creating $ofile" >&6;}
 11235 
 11236   cat <<__EOF__ >> "$cfgfile"
 11237 #! $SHELL
 11238 
 11239 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 11240 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
 11241 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 11242 #
 11243 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
 11244 # Free Software Foundation, Inc.
 11245 #
 11246 # This file is part of GNU Libtool:
 11247 # Originally by Gordon Matzigkeit <[email protected]>, 1996
 11248 #
 11249 # This program is free software; you can redistribute it and/or modify
 11250 # it under the terms of the GNU General Public License as published by
 11251 # the Free Software Foundation; either version 2 of the License, or
 11252 # (at your option) any later version.
 11253 #
 11254 # This program is distributed in the hope that it will be useful, but
 11255 # WITHOUT ANY WARRANTY; without even the implied warranty of
 11256 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 11257 # General Public License for more details.
 11258 #
 11259 # You should have received a copy of the GNU General Public License
 11260 # along with this program; if not, write to the Free Software
 11261 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 11262 #
 11263 # As a special exception to the GNU General Public License, if you
 11264 # distribute this file as part of a program that contains a
 11265 # configuration script generated by Autoconf, you may include it under
 11266 # the same distribution terms that you use for the rest of that program.
 11267 
 11268 # A sed program that does not truncate output.
 11269 SED=$lt_SED
 11270 
 11271 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 11272 Xsed="$SED -e 1s/^X//"
 11273 
 11274 # The HP-UX ksh and POSIX shell print the target directory to stdout
 11275 # if CDPATH is set.
 11276 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 11277 
 11278 # The names of the tagged configurations supported by this script.
 11279 available_tags=
 11280 
 11281 # ### BEGIN LIBTOOL CONFIG
 11282 
 11283 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 11284 
 11285 # Shell to use when invoking shell scripts.
 11286 SHELL=$lt_SHELL
 11287 
 11288 # Whether or not to build shared libraries.
 11289 build_libtool_libs=$enable_shared
 11290 
 11291 # Whether or not to build static libraries.
 11292 build_old_libs=$enable_static
 11293 
 11294 # Whether or not to add -lc for building shared libraries.
 11295 build_libtool_need_lc=$archive_cmds_need_lc
 11296 
 11297 # Whether or not to disallow shared libs when runtime libs are static
 11298 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 11299 
 11300 # Whether or not to optimize for fast installation.
 11301 fast_install=$enable_fast_install
 11302 
 11303 # The host system.
 11304 host_alias=$host_alias
 11305 host=$host
 11306 host_os=$host_os
 11307 
 11308 # The build system.
 11309 build_alias=$build_alias
 11310 build=$build
 11311 build_os=$build_os
 11312 
 11313 # An echo program that does not interpret backslashes.
 11314 echo=$lt_echo
 11315 
 11316 # The archiver.
 11317 AR=$lt_AR
 11318 AR_FLAGS=$lt_AR_FLAGS
 11319 
 11320 # A C compiler.
 11321 LTCC=$lt_LTCC
 11322 
 11323 # LTCC compiler flags.
 11324 LTCFLAGS=$lt_LTCFLAGS
 11325 
 11326 # A language-specific compiler.
 11327 CC=$lt_compiler
 11328 
 11329 # Is the compiler the GNU C compiler?
 11330 with_gcc=$GCC
 11331 
 11332 # An ERE matcher.
 11333 EGREP=$lt_EGREP
 11334 
 11335 # The linker used to build libraries.
 11336 LD=$lt_LD
 11337 
 11338 # Whether we need hard or soft links.
 11339 LN_S=$lt_LN_S
 11340 
 11341 # A BSD-compatible nm program.
 11342 NM=$lt_NM
 11343 
 11344 # A symbol stripping program
 11345 STRIP=$lt_STRIP
 11346 
 11347 # Used to examine libraries when file_magic_cmd begins "file"
 11348 MAGIC_CMD=$MAGIC_CMD
 11349 
 11350 # Used on cygwin: DLL creation program.
 11351 DLLTOOL="$DLLTOOL"
 11352 
 11353 # Used on cygwin: object dumper.
 11354 OBJDUMP="$OBJDUMP"
 11355 
 11356 # Used on cygwin: assembler.
 11357 AS="$AS"
 11358 
 11359 # The name of the directory that contains temporary libtool files.
 11360 objdir=$objdir
 11361 
 11362 # How to create reloadable object files.
 11363 reload_flag=$lt_reload_flag
 11364 reload_cmds=$lt_reload_cmds
 11365 
 11366 # How to pass a linker flag through the compiler.
 11367 wl=$lt_lt_prog_compiler_wl
 11368 
 11369 # Object file suffix (normally "o").
 11370 objext="$ac_objext"
 11371 
 11372 # Old archive suffix (normally "a").
 11373 libext="$libext"
 11374 
 11375 # Shared library suffix (normally ".so").
 11376 shrext_cmds='$shrext_cmds'
 11377 
 11378 # Executable file suffix (normally "").
 11379 exeext="$exeext"
 11380 
 11381 # Additional compiler flags for building library objects.
 11382 pic_flag=$lt_lt_prog_compiler_pic
 11383 pic_mode=$pic_mode
 11384 
 11385 # What is the maximum length of a command?
 11386 max_cmd_len=$lt_cv_sys_max_cmd_len
 11387 
 11388 # Does compiler simultaneously support -c and -o options?
 11389 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 11390 
 11391 # Must we lock files when doing compilation?
 11392 need_locks=$lt_need_locks
 11393 
 11394 # Do we need the lib prefix for modules?
 11395 need_lib_prefix=$need_lib_prefix
 11396 
 11397 # Do we need a version for libraries?
 11398 need_version=$need_version
 11399 
 11400 # Whether dlopen is supported.
 11401 dlopen_support=$enable_dlopen
 11402 
 11403 # Whether dlopen of programs is supported.
 11404 dlopen_self=$enable_dlopen_self
 11405 
 11406 # Whether dlopen of statically linked programs is supported.
 11407 dlopen_self_static=$enable_dlopen_self_static
 11408 
 11409 # Compiler flag to prevent dynamic linking.
 11410 link_static_flag=$lt_lt_prog_compiler_static
 11411 
 11412 # Compiler flag to turn off builtin functions.
 11413 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 11414 
 11415 # Compiler flag to allow reflexive dlopens.
 11416 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 11417 
 11418 # Compiler flag to generate shared objects directly from archives.
 11419 whole_archive_flag_spec=$lt_whole_archive_flag_spec
 11420 
 11421 # Compiler flag to generate thread-safe objects.
 11422 thread_safe_flag_spec=$lt_thread_safe_flag_spec
 11423 
 11424 # Library versioning type.
 11425 version_type=$version_type
 11426 
 11427 # Format of library name prefix.
 11428 libname_spec=$lt_libname_spec
 11429 
 11430 # List of archive names.  First name is the real one, the rest are links.
 11431 # The last name is the one that the linker finds with -lNAME.
 11432 library_names_spec=$lt_library_names_spec
 11433 
 11434 # The coded name of the library, if different from the real name.
 11435 soname_spec=$lt_soname_spec
 11436 
 11437 # Commands used to build and install an old-style archive.
 11438 RANLIB=$lt_RANLIB
 11439 old_archive_cmds=$lt_old_archive_cmds
 11440 old_postinstall_cmds=$lt_old_postinstall_cmds
 11441 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 11442 
 11443 # Create an old-style archive from a shared archive.
 11444 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 11445 
 11446 # Create a temporary old-style archive to link instead of a shared archive.
 11447 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 11448 
 11449 # Commands used to build and install a shared archive.
 11450 archive_cmds=$lt_archive_cmds
 11451 archive_expsym_cmds=$lt_archive_expsym_cmds
 11452 postinstall_cmds=$lt_postinstall_cmds
 11453 postuninstall_cmds=$lt_postuninstall_cmds
 11454 
 11455 # Commands used to build a loadable module (assumed same as above if empty)
 11456 module_cmds=$lt_module_cmds
 11457 module_expsym_cmds=$lt_module_expsym_cmds
 11458 
 11459 # Commands to strip libraries.
 11460 old_striplib=$lt_old_striplib
 11461 striplib=$lt_striplib
 11462 
 11463 # Dependencies to place before the objects being linked to create a
 11464 # shared library.
 11465 predep_objects=$lt_predep_objects
 11466 
 11467 # Dependencies to place after the objects being linked to create a
 11468 # shared library.
 11469 postdep_objects=$lt_postdep_objects
 11470 
 11471 # Dependencies to place before the objects being linked to create a
 11472 # shared library.
 11473 predeps=$lt_predeps
 11474 
 11475 # Dependencies to place after the objects being linked to create a
 11476 # shared library.
 11477 postdeps=$lt_postdeps
 11478 
 11479 # The directories searched by this compiler when creating a shared
 11480 # library
 11481 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 11482 
 11483 # The library search path used internally by the compiler when linking
 11484 # a shared library.
 11485 compiler_lib_search_path=$lt_compiler_lib_search_path
 11486 
 11487 # Method to check whether dependent libraries are shared objects.
 11488 deplibs_check_method=$lt_deplibs_check_method
 11489 
 11490 # Command to use when deplibs_check_method == file_magic.
 11491 file_magic_cmd=$lt_file_magic_cmd
 11492 
 11493 # Flag that allows shared libraries with undefined symbols to be built.
 11494 allow_undefined_flag=$lt_allow_undefined_flag
 11495 
 11496 # Flag that forces no undefined symbols.
 11497 no_undefined_flag=$lt_no_undefined_flag
 11498 
 11499 # Commands used to finish a libtool library installation in a directory.
 11500 finish_cmds=$lt_finish_cmds
 11501 
 11502 # Same as above, but a single script fragment to be evaled but not shown.
 11503 finish_eval=$lt_finish_eval
 11504 
 11505 # Take the output of nm and produce a listing of raw symbols and C names.
 11506 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 11507 
 11508 # Transform the output of nm in a proper C declaration
 11509 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 11510 
 11511 # Transform the output of nm in a C name address pair
 11512 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 11513 
 11514 # This is the shared library runtime path variable.
 11515 runpath_var=$runpath_var
 11516 
 11517 # This is the shared library path variable.
 11518 shlibpath_var=$shlibpath_var
 11519 
 11520 # Is shlibpath searched before the hard-coded library search path?
 11521 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 11522 
 11523 # How to hardcode a shared library path into an executable.
 11524 hardcode_action=$hardcode_action
 11525 
 11526 # Whether we should hardcode library paths into libraries.
 11527 hardcode_into_libs=$hardcode_into_libs
 11528 
 11529 # Flag to hardcode \$libdir into a binary during linking.
 11530 # This must work even if \$libdir does not exist.
 11531 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 11532 
 11533 # If ld is used when linking, flag to hardcode \$libdir into
 11534 # a binary during linking. This must work even if \$libdir does
 11535 # not exist.
 11536 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 11537 
 11538 # Whether we need a single -rpath flag with a separated argument.
 11539 hardcode_libdir_separator=$lt_hardcode_libdir_separator
 11540 
 11541 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 11542 # resulting binary.
 11543 hardcode_direct=$hardcode_direct
 11544 
 11545 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 11546 # resulting binary.
 11547 hardcode_minus_L=$hardcode_minus_L
 11548 
 11549 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 11550 # the resulting binary.
 11551 hardcode_shlibpath_var=$hardcode_shlibpath_var
 11552 
 11553 # Set to yes if building a shared library automatically hardcodes DIR into the library
 11554 # and all subsequent libraries and executables linked against it.
 11555 hardcode_automatic=$hardcode_automatic
 11556 
 11557 # Variables whose values should be saved in libtool wrapper scripts and
 11558 # restored at relink time.
 11559 variables_saved_for_relink="$variables_saved_for_relink"
 11560 
 11561 # Whether libtool must link a program against all its dependency libraries.
 11562 link_all_deplibs=$link_all_deplibs
 11563 
 11564 # Compile-time system search path for libraries
 11565 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 11566 
 11567 # Run-time system search path for libraries
 11568 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 11569 
 11570 # Fix the shell variable \$srcfile for the compiler.
 11571 fix_srcfile_path=$lt_fix_srcfile_path
 11572 
 11573 # Set to yes if exported symbols are required.
 11574 always_export_symbols=$always_export_symbols
 11575 
 11576 # The commands to list exported symbols.
 11577 export_symbols_cmds=$lt_export_symbols_cmds
 11578 
 11579 # The commands to extract the exported symbol list from a shared archive.
 11580 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 11581 
 11582 # Symbols that should not be listed in the preloaded symbols.
 11583 exclude_expsyms=$lt_exclude_expsyms
 11584 
 11585 # Symbols that must always be exported.
 11586 include_expsyms=$lt_include_expsyms
 11587 
 11588 # ### END LIBTOOL CONFIG
 11589 
 11590 __EOF__
 11591 
 11592 
 11593   case $host_os in
 11594   aix3*)
 11595     cat <<\EOF >> "$cfgfile"
 11596 
 11597 # AIX sometimes has problems with the GCC collect2 program.  For some
 11598 # reason, if we set the COLLECT_NAMES environment variable, the problems
 11599 # vanish in a puff of smoke.
 11600 if test "X${COLLECT_NAMES+set}" != Xset; then
 11601   COLLECT_NAMES=
 11602   export COLLECT_NAMES
 11603 fi
 11604 EOF
 11605     ;;
 11606   esac
 11607 
 11608   # We use sed instead of cat because bash on DJGPP gets confused if
 11609   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 11610   # text mode, it properly converts lines to CR/LF.  This bash problem
 11611   # is reportedly fixed, but why not run on old versions too?
 11612   sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
 11613 
 11614   mv -f "$cfgfile" "$ofile" || \
 11615     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 11616   chmod +x "$ofile"
 11617 
 11618 else
 11619   # If there is no Makefile yet, we rely on a make rule to execute
 11620   # `config.status --recheck' to rerun these tests and create the
 11621   # libtool script then.
 11622   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 11623   if test -f "$ltmain_in"; then
 11624     test -f Makefile && make "$ltmain"
 11625   fi
 11626 fi
 11627 
 11628 
 11629 ac_ext=c
 11630 ac_cpp='$CPP $CPPFLAGS'
 11631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11634 
 11635 CC="$lt_save_CC"
 11636 
 11637 
 11638 # Check whether --with-tags was given.
 11639 if test "${with_tags+set}" = set; then
 11640   withval=$with_tags; tagnames="$withval"
 11641 fi
 11642 
 11643 
 11644 if test -f "$ltmain" && test -n "$tagnames"; then
 11645   if test ! -f "${ofile}"; then
 11646     { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
 11647 $as_echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
 11648   fi
 11649 
 11650   if test -z "$LTCC"; then
 11651     eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
 11652     if test -z "$LTCC"; then
 11653       { $as_echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
 11654 $as_echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
 11655     else
 11656       { $as_echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
 11657 $as_echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
 11658     fi
 11659   fi
 11660   if test -z "$LTCFLAGS"; then
 11661     eval "`$SHELL ${ofile} --config | grep '^LTCFLAGS='`"
 11662   fi
 11663 
 11664   # Extract list of available tagged configurations in $ofile.
 11665   # Note that this assumes the entire list is on one line.
 11666   available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
 11667 
 11668   lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 11669   for tagname in $tagnames; do
 11670     IFS="$lt_save_ifs"
 11671     # Check whether tagname contains only valid characters
 11672     case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
 11673     "") ;;
 11674     *)  { { $as_echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
 11675 $as_echo "$as_me: error: invalid tag name: $tagname" >&2;}
 11676    { (exit 1); exit 1; }; }
 11677 	;;
 11678     esac
 11679 
 11680     if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
 11681     then
 11682       { { $as_echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
 11683 $as_echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
 11684    { (exit 1); exit 1; }; }
 11685     fi
 11686 
 11687     # Update the list of available tags.
 11688     if test -n "$tagname"; then
 11689       echo appending configuration tag \"$tagname\" to $ofile
 11690 
 11691       case $tagname in
 11692       CXX)
 11693 	if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 11694 	    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 11695 	    (test "X$CXX" != "Xg++"))) ; then
 11696 	  ac_ext=cpp
 11697 ac_cpp='$CXXCPP $CPPFLAGS'
 11698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 11701 
 11702 
 11703 
 11704 
 11705 archive_cmds_need_lc_CXX=no
 11706 allow_undefined_flag_CXX=
 11707 always_export_symbols_CXX=no
 11708 archive_expsym_cmds_CXX=
 11709 export_dynamic_flag_spec_CXX=
 11710 hardcode_direct_CXX=no
 11711 hardcode_libdir_flag_spec_CXX=
 11712 hardcode_libdir_flag_spec_ld_CXX=
 11713 hardcode_libdir_separator_CXX=
 11714 hardcode_minus_L_CXX=no
 11715 hardcode_shlibpath_var_CXX=unsupported
 11716 hardcode_automatic_CXX=no
 11717 module_cmds_CXX=
 11718 module_expsym_cmds_CXX=
 11719 link_all_deplibs_CXX=unknown
 11720 old_archive_cmds_CXX=$old_archive_cmds
 11721 no_undefined_flag_CXX=
 11722 whole_archive_flag_spec_CXX=
 11723 enable_shared_with_static_runtimes_CXX=no
 11724 
 11725 # Dependencies to place before and after the object being linked:
 11726 predep_objects_CXX=
 11727 postdep_objects_CXX=
 11728 predeps_CXX=
 11729 postdeps_CXX=
 11730 compiler_lib_search_path_CXX=
 11731 compiler_lib_search_dirs_CXX=
 11732 
 11733 # Source file extension for C++ test sources.
 11734 ac_ext=cpp
 11735 
 11736 # Object file extension for compiled C++ test sources.
 11737 objext=o
 11738 objext_CXX=$objext
 11739 
 11740 # Code to be used in simple compile tests
 11741 lt_simple_compile_test_code="int some_variable = 0;"
 11742 
 11743 # Code to be used in simple link tests
 11744 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 11745 
 11746 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 11747 
 11748 # If no C compiler was specified, use CC.
 11749 LTCC=${LTCC-"$CC"}
 11750 
 11751 # If no C compiler flags were specified, use CFLAGS.
 11752 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 11753 
 11754 # Allow CC to be a program name with arguments.
 11755 compiler=$CC
 11756 
 11757 
 11758 # save warnings/boilerplate of simple test code
 11759 ac_outfile=conftest.$ac_objext
 11760 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 11761 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11762 _lt_compiler_boilerplate=`cat conftest.err`
 11763 $rm conftest*
 11764 
 11765 ac_outfile=conftest.$ac_objext
 11766 echo "$lt_simple_link_test_code" >conftest.$ac_ext
 11767 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 11768 _lt_linker_boilerplate=`cat conftest.err`
 11769 $rm -r conftest*
 11770 
 11771 
 11772 # Allow CC to be a program name with arguments.
 11773 lt_save_CC=$CC
 11774 lt_save_LD=$LD
 11775 lt_save_GCC=$GCC
 11776 GCC=$GXX
 11777 lt_save_with_gnu_ld=$with_gnu_ld
 11778 lt_save_path_LD=$lt_cv_path_LD
 11779 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 11780   lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 11781 else
 11782   $as_unset lt_cv_prog_gnu_ld
 11783 fi
 11784 if test -n "${lt_cv_path_LDCXX+set}"; then
 11785   lt_cv_path_LD=$lt_cv_path_LDCXX
 11786 else
 11787   $as_unset lt_cv_path_LD
 11788 fi
 11789 test -z "${LDCXX+set}" || LD=$LDCXX
 11790 CC=${CXX-"c++"}
 11791 compiler=$CC
 11792 compiler_CXX=$CC
 11793 for cc_temp in $compiler""; do
 11794   case $cc_temp in
 11795     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 11796     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 11797     \-*) ;;
 11798     *) break;;
 11799   esac
 11800 done
 11801 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 11802 
 11803 
 11804 # We don't want -fno-exception wen compiling C++ code, so set the
 11805 # no_builtin_flag separately
 11806 if test "$GXX" = yes; then
 11807   lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 11808 else
 11809   lt_prog_compiler_no_builtin_flag_CXX=
 11810 fi
 11811 
 11812 if test "$GXX" = yes; then
 11813   # Set up default GNU C++ configuration
 11814 
 11815 
 11816 # Check whether --with-gnu-ld was given.
 11817 if test "${with_gnu_ld+set}" = set; then
 11818   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 11819 else
 11820   with_gnu_ld=no
 11821 fi
 11822 
 11823 ac_prog=ld
 11824 if test "$GCC" = yes; then
 11825   # Check if gcc -print-prog-name=ld gives a path.
 11826   { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 11827 $as_echo_n "checking for ld used by $CC... " >&6; }
 11828   case $host in
 11829   *-*-mingw*)
 11830     # gcc leaves a trailing carriage return which upsets mingw
 11831     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 11832   *)
 11833     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 11834   esac
 11835   case $ac_prog in
 11836     # Accept absolute paths.
 11837     [\\/]* | ?:[\\/]*)
 11838       re_direlt='/[^/][^/]*/\.\./'
 11839       # Canonicalize the pathname of ld
 11840       ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
 11841       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
 11842 	ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
 11843       done
 11844       test -z "$LD" && LD="$ac_prog"
 11845       ;;
 11846   "")
 11847     # If it fails, then pretend we aren't using GCC.
 11848     ac_prog=ld
 11849     ;;
 11850   *)
 11851     # If it is relative, then search for the first ld in PATH.
 11852     with_gnu_ld=unknown
 11853     ;;
 11854   esac
 11855 elif test "$with_gnu_ld" = yes; then
 11856   { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 11857 $as_echo_n "checking for GNU ld... " >&6; }
 11858 else
 11859   { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 11860 $as_echo_n "checking for non-GNU ld... " >&6; }
 11861 fi
 11862 if test "${lt_cv_path_LD+set}" = set; then
 11863   $as_echo_n "(cached) " >&6
 11864 else
 11865   if test -z "$LD"; then
 11866   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 11867   for ac_dir in $PATH; do
 11868     IFS="$lt_save_ifs"
 11869     test -z "$ac_dir" && ac_dir=.
 11870     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 11871       lt_cv_path_LD="$ac_dir/$ac_prog"
 11872       # Check to see if the program is GNU ld.  I'd rather use --version,
 11873       # but apparently some variants of GNU ld only accept -v.
 11874       # Break only if it was the GNU/non-GNU ld that we prefer.
 11875       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 11876       *GNU* | *'with BFD'*)
 11877 	test "$with_gnu_ld" != no && break
 11878 	;;
 11879       *)
 11880 	test "$with_gnu_ld" != yes && break
 11881 	;;
 11882       esac
 11883     fi
 11884   done
 11885   IFS="$lt_save_ifs"
 11886 else
 11887   lt_cv_path_LD="$LD" # Let the user override the test with a path.
 11888 fi
 11889 fi
 11890 
 11891 LD="$lt_cv_path_LD"
 11892 if test -n "$LD"; then
 11893   { $as_echo "$as_me:$LINENO: result: $LD" >&5
 11894 $as_echo "$LD" >&6; }
 11895 else
 11896   { $as_echo "$as_me:$LINENO: result: no" >&5
 11897 $as_echo "no" >&6; }
 11898 fi
 11899 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 11900 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 11901    { (exit 1); exit 1; }; }
 11902 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 11903 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 11904 if test "${lt_cv_prog_gnu_ld+set}" = set; then
 11905   $as_echo_n "(cached) " >&6
 11906 else
 11907   # I'd rather use --version here, but apparently some GNU lds only accept -v.
 11908 case `$LD -v 2>&1 </dev/null` in
 11909 *GNU* | *'with BFD'*)
 11910   lt_cv_prog_gnu_ld=yes
 11911   ;;
 11912 *)
 11913   lt_cv_prog_gnu_ld=no
 11914   ;;
 11915 esac
 11916 fi
 11917 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 11918 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 11919 with_gnu_ld=$lt_cv_prog_gnu_ld
 11920 
 11921 
 11922 
 11923   # Check if GNU C++ uses GNU ld as the underlying linker, since the
 11924   # archiving commands below assume that GNU ld is being used.
 11925   if test "$with_gnu_ld" = yes; then
 11926     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 11927     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'
 11928 
 11929     hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 11930     export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 11931 
 11932     # If archive_cmds runs LD, not CC, wlarc should be empty
 11933     # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 11934     #     investigate it a little bit more. (MM)
 11935     wlarc='${wl}'
 11936 
 11937     # ancient GNU ld didn't support --whole-archive et. al.
 11938     if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
 11939 	grep 'no-whole-archive' > /dev/null; then
 11940       whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 11941     else
 11942       whole_archive_flag_spec_CXX=
 11943     fi
 11944   else
 11945     with_gnu_ld=no
 11946     wlarc=
 11947 
 11948     # A generic and very simple default shared library creation
 11949     # command for GNU C++ for the case where it uses the native
 11950     # linker, instead of GNU ld.  If possible, this setting should
 11951     # overridden to take advantage of the native linker features on
 11952     # the platform it is being used on.
 11953     archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 11954   fi
 11955 
 11956   # Commands to make compiler produce verbose output that lists
 11957   # what "hidden" libraries, object files and flags are used when
 11958   # linking a shared library.
 11959   output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 11960 
 11961 else
 11962   GXX=no
 11963   with_gnu_ld=no
 11964   wlarc=
 11965 fi
 11966 
 11967 # PORTME: fill in a description of your system's C++ link characteristics
 11968 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 11969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 11970 ld_shlibs_CXX=yes
 11971 case $host_os in
 11972   aix3*)
 11973     # FIXME: insert proper C++ library support
 11974     ld_shlibs_CXX=no
 11975     ;;
 11976   aix[4-9]*)
 11977     if test "$host_cpu" = ia64; then
 11978       # On IA64, the linker does run time linking by default, so we don't
 11979       # have to do anything special.
 11980       aix_use_runtimelinking=no
 11981       exp_sym_flag='-Bexport'
 11982       no_entry_flag=""
 11983     else
 11984       aix_use_runtimelinking=no
 11985 
 11986       # Test if we are trying to use run time linking or normal
 11987       # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 11988       # need to do runtime linking.
 11989       case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 11990 	for ld_flag in $LDFLAGS; do
 11991 	  case $ld_flag in
 11992 	  *-brtl*)
 11993 	    aix_use_runtimelinking=yes
 11994 	    break
 11995 	    ;;
 11996 	  esac
 11997 	done
 11998 	;;
 11999       esac
 12000 
 12001       exp_sym_flag='-bexport'
 12002       no_entry_flag='-bnoentry'
 12003     fi
 12004 
 12005     # When large executables or shared objects are built, AIX ld can
 12006     # have problems creating the table of contents.  If linking a library
 12007     # or program results in "error TOC overflow" add -mminimal-toc to
 12008     # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 12009     # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 12010 
 12011     archive_cmds_CXX=''
 12012     hardcode_direct_CXX=yes
 12013     hardcode_libdir_separator_CXX=':'
 12014     link_all_deplibs_CXX=yes
 12015 
 12016     if test "$GXX" = yes; then
 12017       case $host_os in aix4.[012]|aix4.[012].*)
 12018       # We only want to do this on AIX 4.2 and lower, the check
 12019       # below for broken collect2 doesn't work under 4.3+
 12020 	collect2name=`${CC} -print-prog-name=collect2`
 12021 	if test -f "$collect2name" && \
 12022 	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 12023 	then
 12024 	  # We have reworked collect2
 12025 	  :
 12026 	else
 12027 	  # We have old collect2
 12028 	  hardcode_direct_CXX=unsupported
 12029 	  # It fails to find uninstalled libraries when the uninstalled
 12030 	  # path is not listed in the libpath.  Setting hardcode_minus_L
 12031 	  # to unsupported forces relinking
 12032 	  hardcode_minus_L_CXX=yes
 12033 	  hardcode_libdir_flag_spec_CXX='-L$libdir'
 12034 	  hardcode_libdir_separator_CXX=
 12035 	fi
 12036 	;;
 12037       esac
 12038       shared_flag='-shared'
 12039       if test "$aix_use_runtimelinking" = yes; then
 12040 	shared_flag="$shared_flag "'${wl}-G'
 12041       fi
 12042     else
 12043       # not using gcc
 12044       if test "$host_cpu" = ia64; then
 12045 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 12046 	# chokes on -Wl,-G. The following line is correct:
 12047 	shared_flag='-G'
 12048       else
 12049 	if test "$aix_use_runtimelinking" = yes; then
 12050 	  shared_flag='${wl}-G'
 12051 	else
 12052 	  shared_flag='${wl}-bM:SRE'
 12053 	fi
 12054       fi
 12055     fi
 12056 
 12057     # It seems that -bexpall does not export symbols beginning with
 12058     # underscore (_), so it is better to generate a list of symbols to export.
 12059     always_export_symbols_CXX=yes
 12060     if test "$aix_use_runtimelinking" = yes; then
 12061       # Warning - without using the other runtime loading flags (-brtl),
 12062       # -berok will link without error, but may produce a broken library.
 12063       allow_undefined_flag_CXX='-berok'
 12064       # Determine the default libpath from the value encoded in an empty executable.
 12065       cat >conftest.$ac_ext <<_ACEOF
 12066 /* confdefs.h.  */
 12067 _ACEOF
 12068 cat confdefs.h >>conftest.$ac_ext
 12069 cat >>conftest.$ac_ext <<_ACEOF
 12070 /* end confdefs.h.  */
 12071 
 12072 int
 12073 main ()
 12074 {
 12075 
 12076   ;
 12077   return 0;
 12078 }
 12079 _ACEOF
 12080 rm -f conftest.$ac_objext conftest$ac_exeext
 12081 if { (ac_try="$ac_link"
 12082 case "(($ac_try" in
 12083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12084   *) ac_try_echo=$ac_try;;
 12085 esac
 12086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12087 $as_echo "$ac_try_echo") >&5
 12088   (eval "$ac_link") 2>conftest.er1
 12089   ac_status=$?
 12090   grep -v '^ *+' conftest.er1 >conftest.err
 12091   rm -f conftest.er1
 12092   cat conftest.err >&5
 12093   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12094   (exit $ac_status); } && {
 12095 	 test -z "$ac_cxx_werror_flag" ||
 12096 	 test ! -s conftest.err
 12097        } && test -s conftest$ac_exeext && {
 12098 	 test "$cross_compiling" = yes ||
 12099 	 $as_test_x conftest$ac_exeext
 12100        }; then
 12101 
 12102 lt_aix_libpath_sed='
 12103     /Import File Strings/,/^$/ {
 12104 	/^0/ {
 12105 	    s/^0  *\(.*\)$/\1/
 12106 	    p
 12107 	}
 12108     }'
 12109 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12110 # Check for a 64-bit object if we didn't find anything.
 12111 if test -z "$aix_libpath"; then
 12112   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12113 fi
 12114 else
 12115   $as_echo "$as_me: failed program was:" >&5
 12116 sed 's/^/| /' conftest.$ac_ext >&5
 12117 
 12118 
 12119 fi
 12120 
 12121 rm -rf conftest.dSYM
 12122 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12123       conftest$ac_exeext conftest.$ac_ext
 12124 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 12125 
 12126       hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 12127 
 12128       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"
 12129      else
 12130       if test "$host_cpu" = ia64; then
 12131 	hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 12132 	allow_undefined_flag_CXX="-z nodefs"
 12133 	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"
 12134       else
 12135 	# Determine the default libpath from the value encoded in an empty executable.
 12136 	cat >conftest.$ac_ext <<_ACEOF
 12137 /* confdefs.h.  */
 12138 _ACEOF
 12139 cat confdefs.h >>conftest.$ac_ext
 12140 cat >>conftest.$ac_ext <<_ACEOF
 12141 /* end confdefs.h.  */
 12142 
 12143 int
 12144 main ()
 12145 {
 12146 
 12147   ;
 12148   return 0;
 12149 }
 12150 _ACEOF
 12151 rm -f conftest.$ac_objext conftest$ac_exeext
 12152 if { (ac_try="$ac_link"
 12153 case "(($ac_try" in
 12154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12155   *) ac_try_echo=$ac_try;;
 12156 esac
 12157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12158 $as_echo "$ac_try_echo") >&5
 12159   (eval "$ac_link") 2>conftest.er1
 12160   ac_status=$?
 12161   grep -v '^ *+' conftest.er1 >conftest.err
 12162   rm -f conftest.er1
 12163   cat conftest.err >&5
 12164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12165   (exit $ac_status); } && {
 12166 	 test -z "$ac_cxx_werror_flag" ||
 12167 	 test ! -s conftest.err
 12168        } && test -s conftest$ac_exeext && {
 12169 	 test "$cross_compiling" = yes ||
 12170 	 $as_test_x conftest$ac_exeext
 12171        }; then
 12172 
 12173 lt_aix_libpath_sed='
 12174     /Import File Strings/,/^$/ {
 12175 	/^0/ {
 12176 	    s/^0  *\(.*\)$/\1/
 12177 	    p
 12178 	}
 12179     }'
 12180 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12181 # Check for a 64-bit object if we didn't find anything.
 12182 if test -z "$aix_libpath"; then
 12183   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12184 fi
 12185 else
 12186   $as_echo "$as_me: failed program was:" >&5
 12187 sed 's/^/| /' conftest.$ac_ext >&5
 12188 
 12189 
 12190 fi
 12191 
 12192 rm -rf conftest.dSYM
 12193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12194       conftest$ac_exeext conftest.$ac_ext
 12195 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 12196 
 12197 	hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 12198 	# Warning - without using the other run time loading flags,
 12199 	# -berok will link without error, but may produce a broken library.
 12200 	no_undefined_flag_CXX=' ${wl}-bernotok'
 12201 	allow_undefined_flag_CXX=' ${wl}-berok'
 12202 	# Exported symbols can be pulled into shared objects from archives
 12203 	whole_archive_flag_spec_CXX='$convenience'
 12204 	archive_cmds_need_lc_CXX=yes
 12205 	# This is similar to how AIX traditionally builds its shared libraries.
 12206 	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'
 12207       fi
 12208     fi
 12209     ;;
 12210 
 12211   beos*)
 12212     if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 12213       allow_undefined_flag_CXX=unsupported
 12214       # Joseph Beckenbach <[email protected]> says some releases of gcc
 12215       # support --undefined.  This deserves some investigation.  FIXME
 12216       archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12217     else
 12218       ld_shlibs_CXX=no
 12219     fi
 12220     ;;
 12221 
 12222   chorus*)
 12223     case $cc_basename in
 12224       *)
 12225 	# FIXME: insert proper C++ library support
 12226 	ld_shlibs_CXX=no
 12227 	;;
 12228     esac
 12229     ;;
 12230 
 12231   cygwin* | mingw* | pw32*)
 12232     # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 12233     # as there is no search path for DLLs.
 12234     hardcode_libdir_flag_spec_CXX='-L$libdir'
 12235     allow_undefined_flag_CXX=unsupported
 12236     always_export_symbols_CXX=no
 12237     enable_shared_with_static_runtimes_CXX=yes
 12238 
 12239     if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 12240       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'
 12241       # If the export-symbols file already is a .def file (1st line
 12242       # is EXPORTS), use it as is; otherwise, prepend...
 12243       archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 12244 	cp $export_symbols $output_objdir/$soname.def;
 12245       else
 12246 	echo EXPORTS > $output_objdir/$soname.def;
 12247 	cat $export_symbols >> $output_objdir/$soname.def;
 12248       fi~
 12249       $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'
 12250     else
 12251       ld_shlibs_CXX=no
 12252     fi
 12253   ;;
 12254       darwin* | rhapsody*)
 12255       archive_cmds_need_lc_CXX=no
 12256       hardcode_direct_CXX=no
 12257       hardcode_automatic_CXX=yes
 12258       hardcode_shlibpath_var_CXX=unsupported
 12259       whole_archive_flag_spec_CXX=''
 12260       link_all_deplibs_CXX=yes
 12261       allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 12262       if test "$GXX" = yes ; then
 12263       output_verbose_link_cmd='echo'
 12264       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}"
 12265       module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 12266       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}"
 12267       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}"
 12268       if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 12269         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}"
 12270         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}"
 12271       fi
 12272       else
 12273       case $cc_basename in
 12274         xlc*)
 12275          output_verbose_link_cmd='echo'
 12276           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'
 12277           module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 12278           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 12279           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}'
 12280           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}'
 12281           ;;
 12282        *)
 12283          ld_shlibs_CXX=no
 12284           ;;
 12285       esac
 12286       fi
 12287         ;;
 12288 
 12289   dgux*)
 12290     case $cc_basename in
 12291       ec++*)
 12292 	# FIXME: insert proper C++ library support
 12293 	ld_shlibs_CXX=no
 12294 	;;
 12295       ghcx*)
 12296 	# Green Hills C++ Compiler
 12297 	# FIXME: insert proper C++ library support
 12298 	ld_shlibs_CXX=no
 12299 	;;
 12300       *)
 12301 	# FIXME: insert proper C++ library support
 12302 	ld_shlibs_CXX=no
 12303 	;;
 12304     esac
 12305     ;;
 12306   freebsd[12]*)
 12307     # C++ shared libraries reported to be fairly broken before switch to ELF
 12308     ld_shlibs_CXX=no
 12309     ;;
 12310   freebsd-elf*)
 12311     archive_cmds_need_lc_CXX=no
 12312     ;;
 12313   freebsd* | dragonfly*)
 12314     # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 12315     # conventions
 12316     ld_shlibs_CXX=yes
 12317     ;;
 12318   gnu*)
 12319     ;;
 12320   hpux9*)
 12321     hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 12322     hardcode_libdir_separator_CXX=:
 12323     export_dynamic_flag_spec_CXX='${wl}-E'
 12324     hardcode_direct_CXX=yes
 12325     hardcode_minus_L_CXX=yes # Not in the search PATH,
 12326 				# but as the default
 12327 				# location of the library.
 12328 
 12329     case $cc_basename in
 12330     CC*)
 12331       # FIXME: insert proper C++ library support
 12332       ld_shlibs_CXX=no
 12333       ;;
 12334     aCC*)
 12335       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'
 12336       # Commands to make compiler produce verbose output that lists
 12337       # what "hidden" libraries, object files and flags are used when
 12338       # linking a shared library.
 12339       #
 12340       # There doesn't appear to be a way to prevent this compiler from
 12341       # explicitly linking system object files so we need to strip them
 12342       # from the output so that they don't get included in the library
 12343       # dependencies.
 12344       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'
 12345       ;;
 12346     *)
 12347       if test "$GXX" = yes; then
 12348         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'
 12349       else
 12350         # FIXME: insert proper C++ library support
 12351         ld_shlibs_CXX=no
 12352       fi
 12353       ;;
 12354     esac
 12355     ;;
 12356   hpux10*|hpux11*)
 12357     if test $with_gnu_ld = no; then
 12358       hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 12359       hardcode_libdir_separator_CXX=:
 12360 
 12361       case $host_cpu in
 12362       hppa*64*|ia64*) ;;
 12363       *)
 12364 	export_dynamic_flag_spec_CXX='${wl}-E'
 12365         ;;
 12366       esac
 12367     fi
 12368     case $host_cpu in
 12369     hppa*64*|ia64*)
 12370       hardcode_direct_CXX=no
 12371       hardcode_shlibpath_var_CXX=no
 12372       ;;
 12373     *)
 12374       hardcode_direct_CXX=yes
 12375       hardcode_minus_L_CXX=yes # Not in the search PATH,
 12376 					      # but as the default
 12377 					      # location of the library.
 12378       ;;
 12379     esac
 12380 
 12381     case $cc_basename in
 12382       CC*)
 12383 	# FIXME: insert proper C++ library support
 12384 	ld_shlibs_CXX=no
 12385 	;;
 12386       aCC*)
 12387 	case $host_cpu in
 12388 	hppa*64*)
 12389 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 12390 	  ;;
 12391 	ia64*)
 12392 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 12393 	  ;;
 12394 	*)
 12395 	  archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 12396 	  ;;
 12397 	esac
 12398 	# Commands to make compiler produce verbose output that lists
 12399 	# what "hidden" libraries, object files and flags are used when
 12400 	# linking a shared library.
 12401 	#
 12402 	# There doesn't appear to be a way to prevent this compiler from
 12403 	# explicitly linking system object files so we need to strip them
 12404 	# from the output so that they don't get included in the library
 12405 	# dependencies.
 12406 	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'
 12407 	;;
 12408       *)
 12409 	if test "$GXX" = yes; then
 12410 	  if test $with_gnu_ld = no; then
 12411 	    case $host_cpu in
 12412 	    hppa*64*)
 12413 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 12414 	      ;;
 12415 	    ia64*)
 12416 	      archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 12417 	      ;;
 12418 	    *)
 12419 	      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'
 12420 	      ;;
 12421 	    esac
 12422 	  fi
 12423 	else
 12424 	  # FIXME: insert proper C++ library support
 12425 	  ld_shlibs_CXX=no
 12426 	fi
 12427 	;;
 12428     esac
 12429     ;;
 12430   interix[3-9]*)
 12431     hardcode_direct_CXX=no
 12432     hardcode_shlibpath_var_CXX=no
 12433     hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 12434     export_dynamic_flag_spec_CXX='${wl}-E'
 12435     # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 12436     # Instead, shared libraries are loaded at an image base (0x10000000 by
 12437     # default) and relocated if they conflict, which is a slow very memory
 12438     # consuming and fragmenting process.  To avoid this, we pick a random,
 12439     # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 12440     # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 12441     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'
 12442     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'
 12443     ;;
 12444   irix5* | irix6*)
 12445     case $cc_basename in
 12446       CC*)
 12447 	# SGI C++
 12448 	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'
 12449 
 12450 	# Archives containing C++ object files must be created using
 12451 	# "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 12452 	# necessary to make sure instantiated templates are included
 12453 	# in the archive.
 12454 	old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 12455 	;;
 12456       *)
 12457 	if test "$GXX" = yes; then
 12458 	  if test "$with_gnu_ld" = no; then
 12459 	    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'
 12460 	  else
 12461 	    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'
 12462 	  fi
 12463 	fi
 12464 	link_all_deplibs_CXX=yes
 12465 	;;
 12466     esac
 12467     hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 12468     hardcode_libdir_separator_CXX=:
 12469     ;;
 12470   linux* | k*bsd*-gnu)
 12471     case $cc_basename in
 12472       KCC*)
 12473 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 12474 
 12475 	# KCC will only create a shared library if the output file
 12476 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 12477 	# to its proper name (with version) after linking.
 12478 	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'
 12479 	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'
 12480 	# Commands to make compiler produce verbose output that lists
 12481 	# what "hidden" libraries, object files and flags are used when
 12482 	# linking a shared library.
 12483 	#
 12484 	# There doesn't appear to be a way to prevent this compiler from
 12485 	# explicitly linking system object files so we need to strip them
 12486 	# from the output so that they don't get included in the library
 12487 	# dependencies.
 12488 	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'
 12489 
 12490 	hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
 12491 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 12492 
 12493 	# Archives containing C++ object files must be created using
 12494 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 12495 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 12496 	;;
 12497       icpc*)
 12498 	# Intel C++
 12499 	with_gnu_ld=yes
 12500 	# version 8.0 and above of icpc choke on multiply defined symbols
 12501 	# if we add $predep_objects and $postdep_objects, however 7.1 and
 12502 	# earlier do not add the objects themselves.
 12503 	case `$CC -V 2>&1` in
 12504 	*"Version 7."*)
 12505   	  archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12506   	  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'
 12507 	  ;;
 12508 	*)  # Version 8.0 or newer
 12509 	  tmp_idyn=
 12510 	  case $host_cpu in
 12511 	    ia64*) tmp_idyn=' -i_dynamic';;
 12512 	  esac
 12513   	  archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12514 	  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'
 12515 	  ;;
 12516 	esac
 12517 	archive_cmds_need_lc_CXX=no
 12518 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 12519 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 12520 	whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 12521 	;;
 12522       pgCC* | pgcpp*)
 12523         # Portland Group C++ compiler
 12524 	archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 12525   	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'
 12526 
 12527 	hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 12528 	export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 12529 	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'
 12530         ;;
 12531       cxx*)
 12532 	# Compaq C++
 12533 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12534 	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'
 12535 
 12536 	runpath_var=LD_RUN_PATH
 12537 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 12538 	hardcode_libdir_separator_CXX=:
 12539 
 12540 	# Commands to make compiler produce verbose output that lists
 12541 	# what "hidden" libraries, object files and flags are used when
 12542 	# linking a shared library.
 12543 	#
 12544 	# There doesn't appear to be a way to prevent this compiler from
 12545 	# explicitly linking system object files so we need to strip them
 12546 	# from the output so that they don't get included in the library
 12547 	# dependencies.
 12548 	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'
 12549 	;;
 12550       *)
 12551 	case `$CC -V 2>&1 | sed 5q` in
 12552 	*Sun\ C*)
 12553 	  # Sun C++ 5.9
 12554 	  no_undefined_flag_CXX=' -zdefs'
 12555 	  archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 12556 	  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'
 12557 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
 12558 	  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'
 12559 
 12560 	  # Not sure whether something based on
 12561 	  # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 12562 	  # would be better.
 12563 	  output_verbose_link_cmd='echo'
 12564 
 12565 	  # Archives containing C++ object files must be created using
 12566 	  # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 12567 	  # necessary to make sure instantiated templates are included
 12568 	  # in the archive.
 12569 	  old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 12570 	  ;;
 12571 	esac
 12572 	;;
 12573     esac
 12574     ;;
 12575   lynxos*)
 12576     # FIXME: insert proper C++ library support
 12577     ld_shlibs_CXX=no
 12578     ;;
 12579   m88k*)
 12580     # FIXME: insert proper C++ library support
 12581     ld_shlibs_CXX=no
 12582     ;;
 12583   mvs*)
 12584     case $cc_basename in
 12585       cxx*)
 12586 	# FIXME: insert proper C++ library support
 12587 	ld_shlibs_CXX=no
 12588 	;;
 12589       *)
 12590 	# FIXME: insert proper C++ library support
 12591 	ld_shlibs_CXX=no
 12592 	;;
 12593     esac
 12594     ;;
 12595   netbsd*)
 12596     if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 12597       archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 12598       wlarc=
 12599       hardcode_libdir_flag_spec_CXX='-R$libdir'
 12600       hardcode_direct_CXX=yes
 12601       hardcode_shlibpath_var_CXX=no
 12602     fi
 12603     # Workaround some broken pre-1.5 toolchains
 12604     output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 12605     ;;
 12606   openbsd2*)
 12607     # C++ shared libraries are fairly broken
 12608     ld_shlibs_CXX=no
 12609     ;;
 12610   openbsd*)
 12611     if test -f /usr/libexec/ld.so; then
 12612       hardcode_direct_CXX=yes
 12613       hardcode_shlibpath_var_CXX=no
 12614       archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 12615       hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 12616       if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 12617 	archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 12618 	export_dynamic_flag_spec_CXX='${wl}-E'
 12619 	whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 12620       fi
 12621       output_verbose_link_cmd='echo'
 12622     else
 12623       ld_shlibs_CXX=no
 12624     fi
 12625     ;;
 12626   osf3*)
 12627     case $cc_basename in
 12628       KCC*)
 12629 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 12630 
 12631 	# KCC will only create a shared library if the output file
 12632 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 12633 	# to its proper name (with version) after linking.
 12634 	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'
 12635 
 12636 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 12637 	hardcode_libdir_separator_CXX=:
 12638 
 12639 	# Archives containing C++ object files must be created using
 12640 	# "CC -Bstatic", where "CC" is the KAI C++ compiler.
 12641 	old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 12642 
 12643 	;;
 12644       RCC*)
 12645 	# Rational C++ 2.4.1
 12646 	# FIXME: insert proper C++ library support
 12647 	ld_shlibs_CXX=no
 12648 	;;
 12649       cxx*)
 12650 	allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 12651 	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'
 12652 
 12653 	hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 12654 	hardcode_libdir_separator_CXX=:
 12655 
 12656 	# Commands to make compiler produce verbose output that lists
 12657 	# what "hidden" libraries, object files and flags are used when
 12658 	# linking a shared library.
 12659 	#
 12660 	# There doesn't appear to be a way to prevent this compiler from
 12661 	# explicitly linking system object files so we need to strip them
 12662 	# from the output so that they don't get included in the library
 12663 	# dependencies.
 12664 	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'
 12665 	;;
 12666       *)
 12667 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 12668 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 12669 	  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'
 12670 
 12671 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 12672 	  hardcode_libdir_separator_CXX=:
 12673 
 12674 	  # Commands to make compiler produce verbose output that lists
 12675 	  # what "hidden" libraries, object files and flags are used when
 12676 	  # linking a shared library.
 12677 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 12678 
 12679 	else
 12680 	  # FIXME: insert proper C++ library support
 12681 	  ld_shlibs_CXX=no
 12682 	fi
 12683 	;;
 12684     esac
 12685     ;;
 12686   osf4* | osf5*)
 12687     case $cc_basename in
 12688       KCC*)
 12689 	# Kuck and Associates, Inc. (KAI) C++ Compiler
 12690 
 12691 	# KCC will only create a shared library if the output file
 12692 	# ends with ".so" (or ".sl" for HP-UX), so rename the library
 12693 	# to its proper name (with version) after linking.
 12694 	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'
 12695 
 12696 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 12697 	hardcode_libdir_separator_CXX=:
 12698 
 12699 	# Archives containing C++ object files must be created using
 12700 	# the KAI C++ compiler.
 12701 	old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
 12702 	;;
 12703       RCC*)
 12704 	# Rational C++ 2.4.1
 12705 	# FIXME: insert proper C++ library support
 12706 	ld_shlibs_CXX=no
 12707 	;;
 12708       cxx*)
 12709 	allow_undefined_flag_CXX=' -expect_unresolved \*'
 12710 	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'
 12711 	archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 12712 	  echo "-hidden">> $lib.exp~
 12713 	  $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~
 12714 	  $rm $lib.exp'
 12715 
 12716 	hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 12717 	hardcode_libdir_separator_CXX=:
 12718 
 12719 	# Commands to make compiler produce verbose output that lists
 12720 	# what "hidden" libraries, object files and flags are used when
 12721 	# linking a shared library.
 12722 	#
 12723 	# There doesn't appear to be a way to prevent this compiler from
 12724 	# explicitly linking system object files so we need to strip them
 12725 	# from the output so that they don't get included in the library
 12726 	# dependencies.
 12727 	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'
 12728 	;;
 12729       *)
 12730 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 12731 	  allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 12732 	 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'
 12733 
 12734 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 12735 	  hardcode_libdir_separator_CXX=:
 12736 
 12737 	  # Commands to make compiler produce verbose output that lists
 12738 	  # what "hidden" libraries, object files and flags are used when
 12739 	  # linking a shared library.
 12740 	  output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
 12741 
 12742 	else
 12743 	  # FIXME: insert proper C++ library support
 12744 	  ld_shlibs_CXX=no
 12745 	fi
 12746 	;;
 12747     esac
 12748     ;;
 12749   psos*)
 12750     # FIXME: insert proper C++ library support
 12751     ld_shlibs_CXX=no
 12752     ;;
 12753   sunos4*)
 12754     case $cc_basename in
 12755       CC*)
 12756 	# Sun C++ 4.x
 12757 	# FIXME: insert proper C++ library support
 12758 	ld_shlibs_CXX=no
 12759 	;;
 12760       lcc*)
 12761 	# Lucid
 12762 	# FIXME: insert proper C++ library support
 12763 	ld_shlibs_CXX=no
 12764 	;;
 12765       *)
 12766 	# FIXME: insert proper C++ library support
 12767 	ld_shlibs_CXX=no
 12768 	;;
 12769     esac
 12770     ;;
 12771   solaris*)
 12772     case $cc_basename in
 12773       CC*)
 12774 	# Sun C++ 4.2, 5.x and Centerline C++
 12775         archive_cmds_need_lc_CXX=yes
 12776 	no_undefined_flag_CXX=' -zdefs'
 12777 	archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 12778 	archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 12779 	$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'
 12780 
 12781 	hardcode_libdir_flag_spec_CXX='-R$libdir'
 12782 	hardcode_shlibpath_var_CXX=no
 12783 	case $host_os in
 12784 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
 12785 	  *)
 12786 	    # The compiler driver will combine and reorder linker options,
 12787 	    # but understands `-z linker_flag'.
 12788 	    # Supported since Solaris 2.6 (maybe 2.5.1?)
 12789 	    whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 12790 	    ;;
 12791 	esac
 12792 	link_all_deplibs_CXX=yes
 12793 
 12794 	output_verbose_link_cmd='echo'
 12795 
 12796 	# Archives containing C++ object files must be created using
 12797 	# "CC -xar", where "CC" is the Sun C++ compiler.  This is
 12798 	# necessary to make sure instantiated templates are included
 12799 	# in the archive.
 12800 	old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 12801 	;;
 12802       gcx*)
 12803 	# Green Hills C++ Compiler
 12804 	archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 12805 
 12806 	# The C++ compiler must be used to create the archive.
 12807 	old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 12808 	;;
 12809       *)
 12810 	# GNU C++ compiler with Solaris linker
 12811 	if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 12812 	  no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 12813 	  if $CC --version | grep -v '^2\.7' > /dev/null; then
 12814 	    archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 12815 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 12816 		$CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 12817 
 12818 	    # Commands to make compiler produce verbose output that lists
 12819 	    # what "hidden" libraries, object files and flags are used when
 12820 	    # linking a shared library.
 12821 	    output_verbose_link_cmd="$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 12822 	  else
 12823 	    # g++ 2.7 appears to require `-G' NOT `-shared' on this
 12824 	    # platform.
 12825 	    archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 12826 	    archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 12827 		$CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 12828 
 12829 	    # Commands to make compiler produce verbose output that lists
 12830 	    # what "hidden" libraries, object files and flags are used when
 12831 	    # linking a shared library.
 12832 	    output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
 12833 	  fi
 12834 
 12835 	  hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 12836 	  case $host_os in
 12837 	  solaris2.[0-5] | solaris2.[0-5].*) ;;
 12838 	  *)
 12839 	    whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 12840 	    ;;
 12841 	  esac
 12842 	fi
 12843 	;;
 12844     esac
 12845     ;;
 12846   sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 12847     no_undefined_flag_CXX='${wl}-z,text'
 12848     archive_cmds_need_lc_CXX=no
 12849     hardcode_shlibpath_var_CXX=no
 12850     runpath_var='LD_RUN_PATH'
 12851 
 12852     case $cc_basename in
 12853       CC*)
 12854 	archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12855 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12856 	;;
 12857       *)
 12858 	archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12859 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 12860 	;;
 12861     esac
 12862     ;;
 12863   sysv5* | sco3.2v5* | sco5v6*)
 12864     # Note: We can NOT use -z defs as we might desire, because we do not
 12865     # link with -lc, and that would cause any symbols used from libc to
 12866     # always be unresolved, which means just about no library would
 12867     # ever link correctly.  If we're not using GNU ld we use -z text
 12868     # though, which does catch some bad symbols but isn't as heavy-handed
 12869     # as -z defs.
 12870     # For security reasons, it is highly recommended that you always
 12871     # use absolute paths for naming shared libraries, and exclude the
 12872     # DT_RUNPATH tag from executables and libraries.  But doing so
 12873     # requires that you compile everything twice, which is a pain.
 12874     # So that behaviour is only enabled if SCOABSPATH is set to a
 12875     # non-empty value in the environment.  Most likely only useful for
 12876     # creating official distributions of packages.
 12877     # This is a hack until libtool officially supports absolute path
 12878     # names for shared libraries.
 12879     no_undefined_flag_CXX='${wl}-z,text'
 12880     allow_undefined_flag_CXX='${wl}-z,nodefs'
 12881     archive_cmds_need_lc_CXX=no
 12882     hardcode_shlibpath_var_CXX=no
 12883     hardcode_libdir_flag_spec_CXX='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 12884     hardcode_libdir_separator_CXX=':'
 12885     link_all_deplibs_CXX=yes
 12886     export_dynamic_flag_spec_CXX='${wl}-Bexport'
 12887     runpath_var='LD_RUN_PATH'
 12888 
 12889     case $cc_basename in
 12890       CC*)
 12891 	archive_cmds_CXX='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 12892 	archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 12893 	;;
 12894       *)
 12895 	archive_cmds_CXX='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 12896 	archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 12897 	;;
 12898     esac
 12899     ;;
 12900   tandem*)
 12901     case $cc_basename in
 12902       NCC*)
 12903 	# NonStop-UX NCC 3.20
 12904 	# FIXME: insert proper C++ library support
 12905 	ld_shlibs_CXX=no
 12906 	;;
 12907       *)
 12908 	# FIXME: insert proper C++ library support
 12909 	ld_shlibs_CXX=no
 12910 	;;
 12911     esac
 12912     ;;
 12913   vxworks*)
 12914     # FIXME: insert proper C++ library support
 12915     ld_shlibs_CXX=no
 12916     ;;
 12917   *)
 12918     # FIXME: insert proper C++ library support
 12919     ld_shlibs_CXX=no
 12920     ;;
 12921 esac
 12922 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 12923 $as_echo "$ld_shlibs_CXX" >&6; }
 12924 test "$ld_shlibs_CXX" = no && can_build_shared=no
 12925 
 12926 GCC_CXX="$GXX"
 12927 LD_CXX="$LD"
 12928 
 12929 cat > conftest.$ac_ext <<EOF
 12930 class Foo
 12931 {
 12932 public:
 12933   Foo (void) { a = 0; }
 12934 private:
 12935   int a;
 12936 };
 12937 EOF
 12938 
 12939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 12940   (eval $ac_compile) 2>&5
 12941   ac_status=$?
 12942   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12943   (exit $ac_status); }; then
 12944   # Parse the compiler output and extract the necessary
 12945   # objects, libraries and library flags.
 12946 
 12947   # Sentinel used to keep track of whether or not we are before
 12948   # the conftest object file.
 12949   pre_test_object_deps_done=no
 12950 
 12951   # The `*' in the case matches for architectures that use `case' in
 12952   # $output_verbose_cmd can trigger glob expansion during the loop
 12953   # eval without this substitution.
 12954   output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
 12955 
 12956   for p in `eval $output_verbose_link_cmd`; do
 12957     case $p in
 12958 
 12959     -L* | -R* | -l*)
 12960        # Some compilers place space between "-{L,R}" and the path.
 12961        # Remove the space.
 12962        if test $p = "-L" \
 12963 	  || test $p = "-R"; then
 12964 	 prev=$p
 12965 	 continue
 12966        else
 12967 	 prev=
 12968        fi
 12969 
 12970        if test "$pre_test_object_deps_done" = no; then
 12971 	 case $p in
 12972 	 -L* | -R*)
 12973 	   # Internal compiler library paths should come after those
 12974 	   # provided the user.  The postdeps already come after the
 12975 	   # user supplied libs so there is no need to process them.
 12976 	   if test -z "$compiler_lib_search_path_CXX"; then
 12977 	     compiler_lib_search_path_CXX="${prev}${p}"
 12978 	   else
 12979 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 12980 	   fi
 12981 	   ;;
 12982 	 # The "-l" case would never come before the object being
 12983 	 # linked, so don't bother handling this case.
 12984 	 esac
 12985        else
 12986 	 if test -z "$postdeps_CXX"; then
 12987 	   postdeps_CXX="${prev}${p}"
 12988 	 else
 12989 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 12990 	 fi
 12991        fi
 12992        ;;
 12993 
 12994     *.$objext)
 12995        # This assumes that the test object file only shows up
 12996        # once in the compiler output.
 12997        if test "$p" = "conftest.$objext"; then
 12998 	 pre_test_object_deps_done=yes
 12999 	 continue
 13000        fi
 13001 
 13002        if test "$pre_test_object_deps_done" = no; then
 13003 	 if test -z "$predep_objects_CXX"; then
 13004 	   predep_objects_CXX="$p"
 13005 	 else
 13006 	   predep_objects_CXX="$predep_objects_CXX $p"
 13007 	 fi
 13008        else
 13009 	 if test -z "$postdep_objects_CXX"; then
 13010 	   postdep_objects_CXX="$p"
 13011 	 else
 13012 	   postdep_objects_CXX="$postdep_objects_CXX $p"
 13013 	 fi
 13014        fi
 13015        ;;
 13016 
 13017     *) ;; # Ignore the rest.
 13018 
 13019     esac
 13020   done
 13021 
 13022   # Clean up.
 13023   rm -f a.out a.exe
 13024 else
 13025   echo "libtool.m4: error: problem compiling CXX test program"
 13026 fi
 13027 
 13028 $rm -f confest.$objext
 13029 
 13030 compiler_lib_search_dirs_CXX=
 13031 if test -n "$compiler_lib_search_path_CXX"; then
 13032   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 13033 fi
 13034 
 13035 # PORTME: override above test on systems where it is broken
 13036 case $host_os in
 13037 interix[3-9]*)
 13038   # Interix 3.5 installs completely hosed .la files for C++, so rather than
 13039   # hack all around it, let's just trust "g++" to DTRT.
 13040   predep_objects_CXX=
 13041   postdep_objects_CXX=
 13042   postdeps_CXX=
 13043   ;;
 13044 
 13045 linux*)
 13046   case `$CC -V 2>&1 | sed 5q` in
 13047   *Sun\ C*)
 13048     # Sun C++ 5.9
 13049     #
 13050     # The more standards-conforming stlport4 library is
 13051     # incompatible with the Cstd library. Avoid specifying
 13052     # it if it's in CXXFLAGS. Ignore libCrun as
 13053     # -library=stlport4 depends on it.
 13054     case " $CXX $CXXFLAGS " in
 13055     *" -library=stlport4 "*)
 13056       solaris_use_stlport4=yes
 13057       ;;
 13058     esac
 13059     if test "$solaris_use_stlport4" != yes; then
 13060       postdeps_CXX='-library=Cstd -library=Crun'
 13061     fi
 13062     ;;
 13063   esac
 13064   ;;
 13065 
 13066 solaris*)
 13067   case $cc_basename in
 13068   CC*)
 13069     # The more standards-conforming stlport4 library is
 13070     # incompatible with the Cstd library. Avoid specifying
 13071     # it if it's in CXXFLAGS. Ignore libCrun as
 13072     # -library=stlport4 depends on it.
 13073     case " $CXX $CXXFLAGS " in
 13074     *" -library=stlport4 "*)
 13075       solaris_use_stlport4=yes
 13076       ;;
 13077     esac
 13078 
 13079     # Adding this requires a known-good setup of shared libraries for
 13080     # Sun compiler versions before 5.6, else PIC objects from an old
 13081     # archive will be linked into the output, leading to subtle bugs.
 13082     if test "$solaris_use_stlport4" != yes; then
 13083       postdeps_CXX='-library=Cstd -library=Crun'
 13084     fi
 13085     ;;
 13086   esac
 13087   ;;
 13088 esac
 13089 
 13090 case " $postdeps_CXX " in
 13091 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
 13092 esac
 13093 
 13094 lt_prog_compiler_wl_CXX=
 13095 lt_prog_compiler_pic_CXX=
 13096 lt_prog_compiler_static_CXX=
 13097 
 13098 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 13099 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 13100 
 13101   # C++ specific cases for pic, static, wl, etc.
 13102   if test "$GXX" = yes; then
 13103     lt_prog_compiler_wl_CXX='-Wl,'
 13104     lt_prog_compiler_static_CXX='-static'
 13105 
 13106     case $host_os in
 13107     aix*)
 13108       # All AIX code is PIC.
 13109       if test "$host_cpu" = ia64; then
 13110 	# AIX 5 now supports IA64 processor
 13111 	lt_prog_compiler_static_CXX='-Bstatic'
 13112       fi
 13113       ;;
 13114     amigaos*)
 13115       # FIXME: we need at least 68020 code to build shared libraries, but
 13116       # adding the `-m68020' flag to GCC prevents building anything better,
 13117       # like `-m68040'.
 13118       lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 13119       ;;
 13120     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 13121       # PIC is the default for these OSes.
 13122       ;;
 13123     mingw* | cygwin* | os2* | pw32*)
 13124       # This hack is so that the source file can tell whether it is being
 13125       # built for inclusion in a dll (and should export symbols for example).
 13126       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 13127       # (--disable-auto-import) libraries
 13128       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 13129       ;;
 13130     darwin* | rhapsody*)
 13131       # PIC is the default on this platform
 13132       # Common symbols not allowed in MH_DYLIB files
 13133       lt_prog_compiler_pic_CXX='-fno-common'
 13134       ;;
 13135     *djgpp*)
 13136       # DJGPP does not support shared libraries at all
 13137       lt_prog_compiler_pic_CXX=
 13138       ;;
 13139     interix[3-9]*)
 13140       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 13141       # Instead, we relocate shared libraries at runtime.
 13142       ;;
 13143     sysv4*MP*)
 13144       if test -d /usr/nec; then
 13145 	lt_prog_compiler_pic_CXX=-Kconform_pic
 13146       fi
 13147       ;;
 13148     hpux*)
 13149       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 13150       # not for PA HP-UX.
 13151       case $host_cpu in
 13152       hppa*64*|ia64*)
 13153 	;;
 13154       *)
 13155 	lt_prog_compiler_pic_CXX='-fPIC'
 13156 	;;
 13157       esac
 13158       ;;
 13159     *)
 13160       lt_prog_compiler_pic_CXX='-fPIC'
 13161       ;;
 13162     esac
 13163   else
 13164     case $host_os in
 13165       aix[4-9]*)
 13166 	# All AIX code is PIC.
 13167 	if test "$host_cpu" = ia64; then
 13168 	  # AIX 5 now supports IA64 processor
 13169 	  lt_prog_compiler_static_CXX='-Bstatic'
 13170 	else
 13171 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 13172 	fi
 13173 	;;
 13174       chorus*)
 13175 	case $cc_basename in
 13176 	cxch68*)
 13177 	  # Green Hills C++ Compiler
 13178 	  # _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"
 13179 	  ;;
 13180 	esac
 13181 	;;
 13182        darwin*)
 13183          # PIC is the default on this platform
 13184          # Common symbols not allowed in MH_DYLIB files
 13185          case $cc_basename in
 13186            xlc*)
 13187            lt_prog_compiler_pic_CXX='-qnocommon'
 13188            lt_prog_compiler_wl_CXX='-Wl,'
 13189            ;;
 13190          esac
 13191        ;;
 13192       dgux*)
 13193 	case $cc_basename in
 13194 	  ec++*)
 13195 	    lt_prog_compiler_pic_CXX='-KPIC'
 13196 	    ;;
 13197 	  ghcx*)
 13198 	    # Green Hills C++ Compiler
 13199 	    lt_prog_compiler_pic_CXX='-pic'
 13200 	    ;;
 13201 	  *)
 13202 	    ;;
 13203 	esac
 13204 	;;
 13205       freebsd* | dragonfly*)
 13206 	# FreeBSD uses GNU C++
 13207 	;;
 13208       hpux9* | hpux10* | hpux11*)
 13209 	case $cc_basename in
 13210 	  CC*)
 13211 	    lt_prog_compiler_wl_CXX='-Wl,'
 13212 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 13213 	    if test "$host_cpu" != ia64; then
 13214 	      lt_prog_compiler_pic_CXX='+Z'
 13215 	    fi
 13216 	    ;;
 13217 	  aCC*)
 13218 	    lt_prog_compiler_wl_CXX='-Wl,'
 13219 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 13220 	    case $host_cpu in
 13221 	    hppa*64*|ia64*)
 13222 	      # +Z the default
 13223 	      ;;
 13224 	    *)
 13225 	      lt_prog_compiler_pic_CXX='+Z'
 13226 	      ;;
 13227 	    esac
 13228 	    ;;
 13229 	  *)
 13230 	    ;;
 13231 	esac
 13232 	;;
 13233       interix*)
 13234 	# This is c89, which is MS Visual C++ (no shared libs)
 13235 	# Anyone wants to do a port?
 13236 	;;
 13237       irix5* | irix6* | nonstopux*)
 13238 	case $cc_basename in
 13239 	  CC*)
 13240 	    lt_prog_compiler_wl_CXX='-Wl,'
 13241 	    lt_prog_compiler_static_CXX='-non_shared'
 13242 	    # CC pic flag -KPIC is the default.
 13243 	    ;;
 13244 	  *)
 13245 	    ;;
 13246 	esac
 13247 	;;
 13248       linux* | k*bsd*-gnu)
 13249 	case $cc_basename in
 13250 	  KCC*)
 13251 	    # KAI C++ Compiler
 13252 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 13253 	    lt_prog_compiler_pic_CXX='-fPIC'
 13254 	    ;;
 13255 	  icpc* | ecpc*)
 13256 	    # Intel C++
 13257 	    lt_prog_compiler_wl_CXX='-Wl,'
 13258 	    lt_prog_compiler_pic_CXX='-KPIC'
 13259 	    lt_prog_compiler_static_CXX='-static'
 13260 	    ;;
 13261 	  pgCC* | pgcpp*)
 13262 	    # Portland Group C++ compiler.
 13263 	    lt_prog_compiler_wl_CXX='-Wl,'
 13264 	    lt_prog_compiler_pic_CXX='-fpic'
 13265 	    lt_prog_compiler_static_CXX='-Bstatic'
 13266 	    ;;
 13267 	  cxx*)
 13268 	    # Compaq C++
 13269 	    # Make sure the PIC flag is empty.  It appears that all Alpha
 13270 	    # Linux and Compaq Tru64 Unix objects are PIC.
 13271 	    lt_prog_compiler_pic_CXX=
 13272 	    lt_prog_compiler_static_CXX='-non_shared'
 13273 	    ;;
 13274 	  *)
 13275 	    case `$CC -V 2>&1 | sed 5q` in
 13276 	    *Sun\ C*)
 13277 	      # Sun C++ 5.9
 13278 	      lt_prog_compiler_pic_CXX='-KPIC'
 13279 	      lt_prog_compiler_static_CXX='-Bstatic'
 13280 	      lt_prog_compiler_wl_CXX='-Qoption ld '
 13281 	      ;;
 13282 	    esac
 13283 	    ;;
 13284 	esac
 13285 	;;
 13286       lynxos*)
 13287 	;;
 13288       m88k*)
 13289 	;;
 13290       mvs*)
 13291 	case $cc_basename in
 13292 	  cxx*)
 13293 	    lt_prog_compiler_pic_CXX='-W c,exportall'
 13294 	    ;;
 13295 	  *)
 13296 	    ;;
 13297 	esac
 13298 	;;
 13299       netbsd*)
 13300 	;;
 13301       osf3* | osf4* | osf5*)
 13302 	case $cc_basename in
 13303 	  KCC*)
 13304 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 13305 	    ;;
 13306 	  RCC*)
 13307 	    # Rational C++ 2.4.1
 13308 	    lt_prog_compiler_pic_CXX='-pic'
 13309 	    ;;
 13310 	  cxx*)
 13311 	    # Digital/Compaq C++
 13312 	    lt_prog_compiler_wl_CXX='-Wl,'
 13313 	    # Make sure the PIC flag is empty.  It appears that all Alpha
 13314 	    # Linux and Compaq Tru64 Unix objects are PIC.
 13315 	    lt_prog_compiler_pic_CXX=
 13316 	    lt_prog_compiler_static_CXX='-non_shared'
 13317 	    ;;
 13318 	  *)
 13319 	    ;;
 13320 	esac
 13321 	;;
 13322       psos*)
 13323 	;;
 13324       solaris*)
 13325 	case $cc_basename in
 13326 	  CC*)
 13327 	    # Sun C++ 4.2, 5.x and Centerline C++
 13328 	    lt_prog_compiler_pic_CXX='-KPIC'
 13329 	    lt_prog_compiler_static_CXX='-Bstatic'
 13330 	    lt_prog_compiler_wl_CXX='-Qoption ld '
 13331 	    ;;
 13332 	  gcx*)
 13333 	    # Green Hills C++ Compiler
 13334 	    lt_prog_compiler_pic_CXX='-PIC'
 13335 	    ;;
 13336 	  *)
 13337 	    ;;
 13338 	esac
 13339 	;;
 13340       sunos4*)
 13341 	case $cc_basename in
 13342 	  CC*)
 13343 	    # Sun C++ 4.x
 13344 	    lt_prog_compiler_pic_CXX='-pic'
 13345 	    lt_prog_compiler_static_CXX='-Bstatic'
 13346 	    ;;
 13347 	  lcc*)
 13348 	    # Lucid
 13349 	    lt_prog_compiler_pic_CXX='-pic'
 13350 	    ;;
 13351 	  *)
 13352 	    ;;
 13353 	esac
 13354 	;;
 13355       tandem*)
 13356 	case $cc_basename in
 13357 	  NCC*)
 13358 	    # NonStop-UX NCC 3.20
 13359 	    lt_prog_compiler_pic_CXX='-KPIC'
 13360 	    ;;
 13361 	  *)
 13362 	    ;;
 13363 	esac
 13364 	;;
 13365       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 13366 	case $cc_basename in
 13367 	  CC*)
 13368 	    lt_prog_compiler_wl_CXX='-Wl,'
 13369 	    lt_prog_compiler_pic_CXX='-KPIC'
 13370 	    lt_prog_compiler_static_CXX='-Bstatic'
 13371 	    ;;
 13372 	esac
 13373 	;;
 13374       vxworks*)
 13375 	;;
 13376       *)
 13377 	lt_prog_compiler_can_build_shared_CXX=no
 13378 	;;
 13379     esac
 13380   fi
 13381 
 13382 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 13383 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 13384 
 13385 #
 13386 # Check to make sure the PIC flag actually works.
 13387 #
 13388 if test -n "$lt_prog_compiler_pic_CXX"; then
 13389 
 13390 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 13391 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 13392 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 13393   $as_echo_n "(cached) " >&6
 13394 else
 13395   lt_cv_prog_compiler_pic_works_CXX=no
 13396   ac_outfile=conftest.$ac_objext
 13397    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 13398    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 13399    # Insert the option either (1) after the last *FLAGS variable, or
 13400    # (2) before a word containing "conftest.", or (3) at the end.
 13401    # Note that $ac_compile itself does not contain backslashes and begins
 13402    # with a dollar sign (not a hyphen), so the echo should work correctly.
 13403    # The option is referenced via a variable to avoid confusing sed.
 13404    lt_compile=`echo "$ac_compile" | $SED \
 13405    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13406    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 13407    -e 's:$: $lt_compiler_flag:'`
 13408    (eval echo "\"\$as_me:13408: $lt_compile\"" >&5)
 13409    (eval "$lt_compile" 2>conftest.err)
 13410    ac_status=$?
 13411    cat conftest.err >&5
 13412    echo "$as_me:13412: \$? = $ac_status" >&5
 13413    if (exit $ac_status) && test -s "$ac_outfile"; then
 13414      # The compiler can only warn and ignore the option if not recognized
 13415      # So say no if there are warnings other than the usual output.
 13416      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 13417      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 13418      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 13419        lt_cv_prog_compiler_pic_works_CXX=yes
 13420      fi
 13421    fi
 13422    $rm conftest*
 13423 
 13424 fi
 13425 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 13426 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 13427 
 13428 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 13429     case $lt_prog_compiler_pic_CXX in
 13430      "" | " "*) ;;
 13431      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 13432      esac
 13433 else
 13434     lt_prog_compiler_pic_CXX=
 13435      lt_prog_compiler_can_build_shared_CXX=no
 13436 fi
 13437 
 13438 fi
 13439 case $host_os in
 13440   # For platforms which do not support PIC, -DPIC is meaningless:
 13441   *djgpp*)
 13442     lt_prog_compiler_pic_CXX=
 13443     ;;
 13444   *)
 13445     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 13446     ;;
 13447 esac
 13448 
 13449 #
 13450 # Check to make sure the static flag actually works.
 13451 #
 13452 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 13453 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 13454 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 13455 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 13456   $as_echo_n "(cached) " >&6
 13457 else
 13458   lt_cv_prog_compiler_static_works_CXX=no
 13459    save_LDFLAGS="$LDFLAGS"
 13460    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 13461    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 13462    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 13463      # The linker can only warn and ignore the option if not recognized
 13464      # So say no if there are warnings
 13465      if test -s conftest.err; then
 13466        # Append any errors to the config.log.
 13467        cat conftest.err 1>&5
 13468        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 13469        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 13470        if diff conftest.exp conftest.er2 >/dev/null; then
 13471          lt_cv_prog_compiler_static_works_CXX=yes
 13472        fi
 13473      else
 13474        lt_cv_prog_compiler_static_works_CXX=yes
 13475      fi
 13476    fi
 13477    $rm -r conftest*
 13478    LDFLAGS="$save_LDFLAGS"
 13479 
 13480 fi
 13481 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 13482 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 13483 
 13484 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 13485     :
 13486 else
 13487     lt_prog_compiler_static_CXX=
 13488 fi
 13489 
 13490 
 13491 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 13492 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 13493 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 13494   $as_echo_n "(cached) " >&6
 13495 else
 13496   lt_cv_prog_compiler_c_o_CXX=no
 13497    $rm -r conftest 2>/dev/null
 13498    mkdir conftest
 13499    cd conftest
 13500    mkdir out
 13501    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 13502 
 13503    lt_compiler_flag="-o out/conftest2.$ac_objext"
 13504    # Insert the option either (1) after the last *FLAGS variable, or
 13505    # (2) before a word containing "conftest.", or (3) at the end.
 13506    # Note that $ac_compile itself does not contain backslashes and begins
 13507    # with a dollar sign (not a hyphen), so the echo should work correctly.
 13508    lt_compile=`echo "$ac_compile" | $SED \
 13509    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 13510    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 13511    -e 's:$: $lt_compiler_flag:'`
 13512    (eval echo "\"\$as_me:13512: $lt_compile\"" >&5)
 13513    (eval "$lt_compile" 2>out/conftest.err)
 13514    ac_status=$?
 13515    cat out/conftest.err >&5
 13516    echo "$as_me:13516: \$? = $ac_status" >&5
 13517    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 13518    then
 13519      # The compiler can only warn and ignore the option if not recognized
 13520      # So say no if there are warnings
 13521      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 13522      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 13523      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 13524        lt_cv_prog_compiler_c_o_CXX=yes
 13525      fi
 13526    fi
 13527    chmod u+w . 2>&5
 13528    $rm conftest*
 13529    # SGI C++ compiler will create directory out/ii_files/ for
 13530    # template instantiation
 13531    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 13532    $rm out/* && rmdir out
 13533    cd ..
 13534    rmdir conftest
 13535    $rm conftest*
 13536 
 13537 fi
 13538 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 13539 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 13540 
 13541 
 13542 hard_links="nottested"
 13543 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 13544   # do not overwrite the value of need_locks provided by the user
 13545   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 13546 $as_echo_n "checking if we can lock with hard links... " >&6; }
 13547   hard_links=yes
 13548   $rm conftest*
 13549   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13550   touch conftest.a
 13551   ln conftest.a conftest.b 2>&5 || hard_links=no
 13552   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 13553   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 13554 $as_echo "$hard_links" >&6; }
 13555   if test "$hard_links" = no; then
 13556     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 13557 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 13558     need_locks=warn
 13559   fi
 13560 else
 13561   need_locks=no
 13562 fi
 13563 
 13564 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 13565 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 13566 
 13567   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 13568   case $host_os in
 13569   aix[4-9]*)
 13570     # If we're using GNU nm, then we don't want the "-C" option.
 13571     # -C means demangle to AIX nm, but means don't demangle with GNU nm
 13572     if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 13573       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'
 13574     else
 13575       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'
 13576     fi
 13577     ;;
 13578   pw32*)
 13579     export_symbols_cmds_CXX="$ltdll_cmds"
 13580   ;;
 13581   cygwin* | mingw*)
 13582     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'
 13583   ;;
 13584   *)
 13585     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 13586   ;;
 13587   esac
 13588   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 13589 
 13590 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 13591 $as_echo "$ld_shlibs_CXX" >&6; }
 13592 test "$ld_shlibs_CXX" = no && can_build_shared=no
 13593 
 13594 #
 13595 # Do we need to explicitly link libc?
 13596 #
 13597 case "x$archive_cmds_need_lc_CXX" in
 13598 x|xyes)
 13599   # Assume -lc should be added
 13600   archive_cmds_need_lc_CXX=yes
 13601 
 13602   if test "$enable_shared" = yes && test "$GCC" = yes; then
 13603     case $archive_cmds_CXX in
 13604     *'~'*)
 13605       # FIXME: we may have to deal with multi-command sequences.
 13606       ;;
 13607     '$CC '*)
 13608       # Test whether the compiler implicitly links with -lc since on some
 13609       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 13610       # to ld, don't add -lc before -lgcc.
 13611       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 13612 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 13613       $rm conftest*
 13614       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 13615 
 13616       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 13617   (eval $ac_compile) 2>&5
 13618   ac_status=$?
 13619   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13620   (exit $ac_status); } 2>conftest.err; then
 13621         soname=conftest
 13622         lib=conftest
 13623         libobjs=conftest.$ac_objext
 13624         deplibs=
 13625         wl=$lt_prog_compiler_wl_CXX
 13626 	pic_flag=$lt_prog_compiler_pic_CXX
 13627         compiler_flags=-v
 13628         linker_flags=-v
 13629         verstring=
 13630         output_objdir=.
 13631         libname=conftest
 13632         lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 13633         allow_undefined_flag_CXX=
 13634         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 13635   (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 13636   ac_status=$?
 13637   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13638   (exit $ac_status); }
 13639         then
 13640 	  archive_cmds_need_lc_CXX=no
 13641         else
 13642 	  archive_cmds_need_lc_CXX=yes
 13643         fi
 13644         allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 13645       else
 13646         cat conftest.err 1>&5
 13647       fi
 13648       $rm conftest*
 13649       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 13650 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
 13651       ;;
 13652     esac
 13653   fi
 13654   ;;
 13655 esac
 13656 
 13657 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 13658 $as_echo_n "checking dynamic linker characteristics... " >&6; }
 13659 library_names_spec=
 13660 libname_spec='lib$name'
 13661 soname_spec=
 13662 shrext_cmds=".so"
 13663 postinstall_cmds=
 13664 postuninstall_cmds=
 13665 finish_cmds=
 13666 finish_eval=
 13667 shlibpath_var=
 13668 shlibpath_overrides_runpath=unknown
 13669 version_type=none
 13670 dynamic_linker="$host_os ld.so"
 13671 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 13672 
 13673 need_lib_prefix=unknown
 13674 hardcode_into_libs=no
 13675 
 13676 # when you set need_version to no, make sure it does not cause -set_version
 13677 # flags to be left without arguments
 13678 need_version=unknown
 13679 
 13680 case $host_os in
 13681 aix3*)
 13682   version_type=linux
 13683   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 13684   shlibpath_var=LIBPATH
 13685 
 13686   # AIX 3 has no versioning support, so we append a major version to the name.
 13687   soname_spec='${libname}${release}${shared_ext}$major'
 13688   ;;
 13689 
 13690 aix[4-9]*)
 13691   version_type=linux
 13692   need_lib_prefix=no
 13693   need_version=no
 13694   hardcode_into_libs=yes
 13695   if test "$host_cpu" = ia64; then
 13696     # AIX 5 supports IA64
 13697     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 13698     shlibpath_var=LD_LIBRARY_PATH
 13699   else
 13700     # With GCC up to 2.95.x, collect2 would create an import file
 13701     # for dependence libraries.  The import file would start with
 13702     # the line `#! .'.  This would cause the generated library to
 13703     # depend on `.', always an invalid library.  This was fixed in
 13704     # development snapshots of GCC prior to 3.0.
 13705     case $host_os in
 13706       aix4 | aix4.[01] | aix4.[01].*)
 13707       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 13708 	   echo ' yes '
 13709 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 13710 	:
 13711       else
 13712 	can_build_shared=no
 13713       fi
 13714       ;;
 13715     esac
 13716     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 13717     # soname into executable. Probably we can add versioning support to
 13718     # collect2, so additional links can be useful in future.
 13719     if test "$aix_use_runtimelinking" = yes; then
 13720       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 13721       # instead of lib<name>.a to let people know that these are not
 13722       # typical AIX shared libraries.
 13723       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 13724     else
 13725       # We preserve .a as extension for shared libraries through AIX4.2
 13726       # and later when we are not doing run time linking.
 13727       library_names_spec='${libname}${release}.a $libname.a'
 13728       soname_spec='${libname}${release}${shared_ext}$major'
 13729     fi
 13730     shlibpath_var=LIBPATH
 13731   fi
 13732   ;;
 13733 
 13734 amigaos*)
 13735   library_names_spec='$libname.ixlibrary $libname.a'
 13736   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 13737   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'
 13738   ;;
 13739 
 13740 beos*)
 13741   library_names_spec='${libname}${shared_ext}'
 13742   dynamic_linker="$host_os ld.so"
 13743   shlibpath_var=LIBRARY_PATH
 13744   ;;
 13745 
 13746 bsdi[45]*)
 13747   version_type=linux
 13748   need_version=no
 13749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 13750   soname_spec='${libname}${release}${shared_ext}$major'
 13751   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 13752   shlibpath_var=LD_LIBRARY_PATH
 13753   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 13754   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 13755   # the default ld.so.conf also contains /usr/contrib/lib and
 13756   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 13757   # libtool to hard-code these into programs
 13758   ;;
 13759 
 13760 cygwin* | mingw* | pw32*)
 13761   version_type=windows
 13762   shrext_cmds=".dll"
 13763   need_version=no
 13764   need_lib_prefix=no
 13765 
 13766   case $GCC,$host_os in
 13767   yes,cygwin* | yes,mingw* | yes,pw32*)
 13768     library_names_spec='$libname.dll.a'
 13769     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 13770     postinstall_cmds='base_file=`basename \${file}`~
 13771       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 13772       dldir=$destdir/`dirname \$dlpath`~
 13773       test -d \$dldir || mkdir -p \$dldir~
 13774       $install_prog $dir/$dlname \$dldir/$dlname~
 13775       chmod a+x \$dldir/$dlname'
 13776     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 13777       dlpath=$dir/\$dldll~
 13778        $rm \$dlpath'
 13779     shlibpath_overrides_runpath=yes
 13780 
 13781     case $host_os in
 13782     cygwin*)
 13783       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 13784       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 13785       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 13786       ;;
 13787     mingw*)
 13788       # MinGW DLLs use traditional 'lib' prefix
 13789       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 13790       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 13791       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 13792         # It is most probably a Windows format PATH printed by
 13793         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 13794         # path with ; separators, and with drive letters. We can handle the
 13795         # drive letters (cygwin fileutils understands them), so leave them,
 13796         # especially as we might pass files found there to a mingw objdump,
 13797         # which wouldn't understand a cygwinified path. Ahh.
 13798         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 13799       else
 13800         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 13801       fi
 13802       ;;
 13803     pw32*)
 13804       # pw32 DLLs use 'pw' prefix rather than 'lib'
 13805       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 13806       ;;
 13807     esac
 13808     ;;
 13809 
 13810   *)
 13811     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 13812     ;;
 13813   esac
 13814   dynamic_linker='Win32 ld.exe'
 13815   # FIXME: first we should search . and the directory the executable is in
 13816   shlibpath_var=PATH
 13817   ;;
 13818 
 13819 darwin* | rhapsody*)
 13820   dynamic_linker="$host_os dyld"
 13821   version_type=darwin
 13822   need_lib_prefix=no
 13823   need_version=no
 13824   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 13825   soname_spec='${libname}${release}${major}$shared_ext'
 13826   shlibpath_overrides_runpath=yes
 13827   shlibpath_var=DYLD_LIBRARY_PATH
 13828   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 13829 
 13830   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 13831   ;;
 13832 
 13833 dgux*)
 13834   version_type=linux
 13835   need_lib_prefix=no
 13836   need_version=no
 13837   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 13838   soname_spec='${libname}${release}${shared_ext}$major'
 13839   shlibpath_var=LD_LIBRARY_PATH
 13840   ;;
 13841 
 13842 freebsd1*)
 13843   dynamic_linker=no
 13844   ;;
 13845 
 13846 freebsd* | dragonfly*)
 13847   # DragonFly does not have aout.  When/if they implement a new
 13848   # versioning mechanism, adjust this.
 13849   if test -x /usr/bin/objformat; then
 13850     objformat=`/usr/bin/objformat`
 13851   else
 13852     case $host_os in
 13853     freebsd[123]*) objformat=aout ;;
 13854     *) objformat=elf ;;
 13855     esac
 13856   fi
 13857   # Handle Gentoo/FreeBSD as it was Linux
 13858   case $host_vendor in
 13859     gentoo)
 13860       version_type=linux ;;
 13861     *)
 13862       version_type=freebsd-$objformat ;;
 13863   esac
 13864 
 13865   case $version_type in
 13866     freebsd-elf*)
 13867       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 13868       need_version=no
 13869       need_lib_prefix=no
 13870       ;;
 13871     freebsd-*)
 13872       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 13873       need_version=yes
 13874       ;;
 13875     linux)
 13876       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 13877       soname_spec='${libname}${release}${shared_ext}$major'
 13878       need_lib_prefix=no
 13879       need_version=no
 13880       ;;
 13881   esac
 13882   shlibpath_var=LD_LIBRARY_PATH
 13883   case $host_os in
 13884   freebsd2*)
 13885     shlibpath_overrides_runpath=yes
 13886     ;;
 13887   freebsd3.[01]* | freebsdelf3.[01]*)
 13888     shlibpath_overrides_runpath=yes
 13889     hardcode_into_libs=yes
 13890     ;;
 13891   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 13892   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 13893     shlibpath_overrides_runpath=no
 13894     hardcode_into_libs=yes
 13895     ;;
 13896   *) # from 4.6 on, and DragonFly
 13897     shlibpath_overrides_runpath=yes
 13898     hardcode_into_libs=yes
 13899     ;;
 13900   esac
 13901   ;;
 13902 
 13903 gnu*)
 13904   version_type=linux
 13905   need_lib_prefix=no
 13906   need_version=no
 13907   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 13908   soname_spec='${libname}${release}${shared_ext}$major'
 13909   shlibpath_var=LD_LIBRARY_PATH
 13910   hardcode_into_libs=yes
 13911   ;;
 13912 
 13913 hpux9* | hpux10* | hpux11*)
 13914   # Give a soname corresponding to the major version so that dld.sl refuses to
 13915   # link against other versions.
 13916   version_type=sunos
 13917   need_lib_prefix=no
 13918   need_version=no
 13919   case $host_cpu in
 13920   ia64*)
 13921     shrext_cmds='.so'
 13922     hardcode_into_libs=yes
 13923     dynamic_linker="$host_os dld.so"
 13924     shlibpath_var=LD_LIBRARY_PATH
 13925     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13926     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 13927     soname_spec='${libname}${release}${shared_ext}$major'
 13928     if test "X$HPUX_IA64_MODE" = X32; then
 13929       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 13930     else
 13931       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 13932     fi
 13933     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13934     ;;
 13935    hppa*64*)
 13936      shrext_cmds='.sl'
 13937      hardcode_into_libs=yes
 13938      dynamic_linker="$host_os dld.sl"
 13939      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 13940      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 13941      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 13942      soname_spec='${libname}${release}${shared_ext}$major'
 13943      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 13944      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 13945      ;;
 13946    *)
 13947     shrext_cmds='.sl'
 13948     dynamic_linker="$host_os dld.sl"
 13949     shlibpath_var=SHLIB_PATH
 13950     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 13951     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 13952     soname_spec='${libname}${release}${shared_ext}$major'
 13953     ;;
 13954   esac
 13955   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 13956   postinstall_cmds='chmod 555 $lib'
 13957   ;;
 13958 
 13959 interix[3-9]*)
 13960   version_type=linux
 13961   need_lib_prefix=no
 13962   need_version=no
 13963   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 13964   soname_spec='${libname}${release}${shared_ext}$major'
 13965   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 13966   shlibpath_var=LD_LIBRARY_PATH
 13967   shlibpath_overrides_runpath=no
 13968   hardcode_into_libs=yes
 13969   ;;
 13970 
 13971 irix5* | irix6* | nonstopux*)
 13972   case $host_os in
 13973     nonstopux*) version_type=nonstopux ;;
 13974     *)
 13975 	if test "$lt_cv_prog_gnu_ld" = yes; then
 13976 		version_type=linux
 13977 	else
 13978 		version_type=irix
 13979 	fi ;;
 13980   esac
 13981   need_lib_prefix=no
 13982   need_version=no
 13983   soname_spec='${libname}${release}${shared_ext}$major'
 13984   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 13985   case $host_os in
 13986   irix5* | nonstopux*)
 13987     libsuff= shlibsuff=
 13988     ;;
 13989   *)
 13990     case $LD in # libtool.m4 will add one of these switches to LD
 13991     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 13992       libsuff= shlibsuff= libmagic=32-bit;;
 13993     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 13994       libsuff=32 shlibsuff=N32 libmagic=N32;;
 13995     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 13996       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 13997     *) libsuff= shlibsuff= libmagic=never-match;;
 13998     esac
 13999     ;;
 14000   esac
 14001   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 14002   shlibpath_overrides_runpath=no
 14003   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 14004   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 14005   hardcode_into_libs=yes
 14006   ;;
 14007 
 14008 # No shared lib support for Linux oldld, aout, or coff.
 14009 linux*oldld* | linux*aout* | linux*coff*)
 14010   dynamic_linker=no
 14011   ;;
 14012 
 14013 # This must be Linux ELF.
 14014 linux* | k*bsd*-gnu)
 14015   version_type=linux
 14016   need_lib_prefix=no
 14017   need_version=no
 14018   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14019   soname_spec='${libname}${release}${shared_ext}$major'
 14020   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 14021   shlibpath_var=LD_LIBRARY_PATH
 14022   shlibpath_overrides_runpath=no
 14023   # This implies no fast_install, which is unacceptable.
 14024   # Some rework will be needed to allow for fast_install
 14025   # before this can be enabled.
 14026   hardcode_into_libs=yes
 14027 
 14028   # Append ld.so.conf contents to the search path
 14029   if test -f /etc/ld.so.conf; then
 14030     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' ' '`
 14031     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 14032   fi
 14033 
 14034   # We used to test for /lib/ld.so.1 and disable shared libraries on
 14035   # powerpc, because MkLinux only supported shared libraries with the
 14036   # GNU dynamic linker.  Since this was broken with cross compilers,
 14037   # most powerpc-linux boxes support dynamic linking these days and
 14038   # people can always --disable-shared, the test was removed, and we
 14039   # assume the GNU/Linux dynamic linker is in use.
 14040   dynamic_linker='GNU/Linux ld.so'
 14041   ;;
 14042 
 14043 netbsd*)
 14044   version_type=sunos
 14045   need_lib_prefix=no
 14046   need_version=no
 14047   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 14048     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 14049     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 14050     dynamic_linker='NetBSD (a.out) ld.so'
 14051   else
 14052     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 14053     soname_spec='${libname}${release}${shared_ext}$major'
 14054     dynamic_linker='NetBSD ld.elf_so'
 14055   fi
 14056   shlibpath_var=LD_LIBRARY_PATH
 14057   shlibpath_overrides_runpath=yes
 14058   hardcode_into_libs=yes
 14059   ;;
 14060 
 14061 newsos6)
 14062   version_type=linux
 14063   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14064   shlibpath_var=LD_LIBRARY_PATH
 14065   shlibpath_overrides_runpath=yes
 14066   ;;
 14067 
 14068 nto-qnx*)
 14069   version_type=linux
 14070   need_lib_prefix=no
 14071   need_version=no
 14072   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14073   soname_spec='${libname}${release}${shared_ext}$major'
 14074   shlibpath_var=LD_LIBRARY_PATH
 14075   shlibpath_overrides_runpath=yes
 14076   ;;
 14077 
 14078 openbsd*)
 14079   version_type=sunos
 14080   sys_lib_dlsearch_path_spec="/usr/lib"
 14081   need_lib_prefix=no
 14082   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 14083   case $host_os in
 14084     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 14085     *)                         need_version=no  ;;
 14086   esac
 14087   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 14088   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 14089   shlibpath_var=LD_LIBRARY_PATH
 14090   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 14091     case $host_os in
 14092       openbsd2.[89] | openbsd2.[89].*)
 14093 	shlibpath_overrides_runpath=no
 14094 	;;
 14095       *)
 14096 	shlibpath_overrides_runpath=yes
 14097 	;;
 14098       esac
 14099   else
 14100     shlibpath_overrides_runpath=yes
 14101   fi
 14102   ;;
 14103 
 14104 os2*)
 14105   libname_spec='$name'
 14106   shrext_cmds=".dll"
 14107   need_lib_prefix=no
 14108   library_names_spec='$libname${shared_ext} $libname.a'
 14109   dynamic_linker='OS/2 ld.exe'
 14110   shlibpath_var=LIBPATH
 14111   ;;
 14112 
 14113 osf3* | osf4* | osf5*)
 14114   version_type=osf
 14115   need_lib_prefix=no
 14116   need_version=no
 14117   soname_spec='${libname}${release}${shared_ext}$major'
 14118   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14119   shlibpath_var=LD_LIBRARY_PATH
 14120   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 14121   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 14122   ;;
 14123 
 14124 rdos*)
 14125   dynamic_linker=no
 14126   ;;
 14127 
 14128 solaris*)
 14129   version_type=linux
 14130   need_lib_prefix=no
 14131   need_version=no
 14132   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14133   soname_spec='${libname}${release}${shared_ext}$major'
 14134   shlibpath_var=LD_LIBRARY_PATH
 14135   shlibpath_overrides_runpath=yes
 14136   hardcode_into_libs=yes
 14137   # ldd complains unless libraries are executable
 14138   postinstall_cmds='chmod +x $lib'
 14139   ;;
 14140 
 14141 sunos4*)
 14142   version_type=sunos
 14143   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 14144   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 14145   shlibpath_var=LD_LIBRARY_PATH
 14146   shlibpath_overrides_runpath=yes
 14147   if test "$with_gnu_ld" = yes; then
 14148     need_lib_prefix=no
 14149   fi
 14150   need_version=yes
 14151   ;;
 14152 
 14153 sysv4 | sysv4.3*)
 14154   version_type=linux
 14155   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14156   soname_spec='${libname}${release}${shared_ext}$major'
 14157   shlibpath_var=LD_LIBRARY_PATH
 14158   case $host_vendor in
 14159     sni)
 14160       shlibpath_overrides_runpath=no
 14161       need_lib_prefix=no
 14162       export_dynamic_flag_spec='${wl}-Blargedynsym'
 14163       runpath_var=LD_RUN_PATH
 14164       ;;
 14165     siemens)
 14166       need_lib_prefix=no
 14167       ;;
 14168     motorola)
 14169       need_lib_prefix=no
 14170       need_version=no
 14171       shlibpath_overrides_runpath=no
 14172       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 14173       ;;
 14174   esac
 14175   ;;
 14176 
 14177 sysv4*MP*)
 14178   if test -d /usr/nec ;then
 14179     version_type=linux
 14180     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 14181     soname_spec='$libname${shared_ext}.$major'
 14182     shlibpath_var=LD_LIBRARY_PATH
 14183   fi
 14184   ;;
 14185 
 14186 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 14187   version_type=freebsd-elf
 14188   need_lib_prefix=no
 14189   need_version=no
 14190   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 14191   soname_spec='${libname}${release}${shared_ext}$major'
 14192   shlibpath_var=LD_LIBRARY_PATH
 14193   hardcode_into_libs=yes
 14194   if test "$with_gnu_ld" = yes; then
 14195     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 14196     shlibpath_overrides_runpath=no
 14197   else
 14198     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 14199     shlibpath_overrides_runpath=yes
 14200     case $host_os in
 14201       sco3.2v5*)
 14202         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 14203 	;;
 14204     esac
 14205   fi
 14206   sys_lib_dlsearch_path_spec='/usr/lib'
 14207   ;;
 14208 
 14209 uts4*)
 14210   version_type=linux
 14211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14212   soname_spec='${libname}${release}${shared_ext}$major'
 14213   shlibpath_var=LD_LIBRARY_PATH
 14214   ;;
 14215 
 14216 *)
 14217   dynamic_linker=no
 14218   ;;
 14219 esac
 14220 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 14221 $as_echo "$dynamic_linker" >&6; }
 14222 test "$dynamic_linker" = no && can_build_shared=no
 14223 
 14224 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 14225   $as_echo_n "(cached) " >&6
 14226 else
 14227   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 14228 fi
 14229 
 14230 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 14231 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 14232   $as_echo_n "(cached) " >&6
 14233 else
 14234   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 14235 fi
 14236 
 14237 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 14238 
 14239 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 14240 if test "$GCC" = yes; then
 14241   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 14242 fi
 14243 
 14244 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 14245 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 14246 hardcode_action_CXX=
 14247 if test -n "$hardcode_libdir_flag_spec_CXX" || \
 14248    test -n "$runpath_var_CXX" || \
 14249    test "X$hardcode_automatic_CXX" = "Xyes" ; then
 14250 
 14251   # We can hardcode non-existant directories.
 14252   if test "$hardcode_direct_CXX" != no &&
 14253      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 14254      # have to relink, otherwise we might link with an installed library
 14255      # when we should be linking with a yet-to-be-installed one
 14256      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 14257      test "$hardcode_minus_L_CXX" != no; then
 14258     # Linking always hardcodes the temporary library directory.
 14259     hardcode_action_CXX=relink
 14260   else
 14261     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 14262     hardcode_action_CXX=immediate
 14263   fi
 14264 else
 14265   # We cannot hardcode anything, or else we can only hardcode existing
 14266   # directories.
 14267   hardcode_action_CXX=unsupported
 14268 fi
 14269 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 14270 $as_echo "$hardcode_action_CXX" >&6; }
 14271 
 14272 if test "$hardcode_action_CXX" = relink; then
 14273   # Fast installation is not supported
 14274   enable_fast_install=no
 14275 elif test "$shlibpath_overrides_runpath" = yes ||
 14276      test "$enable_shared" = no; then
 14277   # Fast installation is not necessary
 14278   enable_fast_install=needless
 14279 fi
 14280 
 14281 
 14282 # The else clause should only fire when bootstrapping the
 14283 # libtool distribution, otherwise you forgot to ship ltmain.sh
 14284 # with your package, and you will get complaints that there are
 14285 # no rules to generate ltmain.sh.
 14286 if test -f "$ltmain"; then
 14287   # See if we are running on zsh, and set the options which allow our commands through
 14288   # without removal of \ escapes.
 14289   if test -n "${ZSH_VERSION+set}" ; then
 14290     setopt NO_GLOB_SUBST
 14291   fi
 14292   # Now quote all the things that may contain metacharacters while being
 14293   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 14294   # variables and quote the copies for generation of the libtool script.
 14295   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 14296     SED SHELL STRIP \
 14297     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 14298     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 14299     deplibs_check_method reload_flag reload_cmds need_locks \
 14300     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 14301     lt_cv_sys_global_symbol_to_c_name_address \
 14302     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 14303     old_postinstall_cmds old_postuninstall_cmds \
 14304     compiler_CXX \
 14305     CC_CXX \
 14306     LD_CXX \
 14307     lt_prog_compiler_wl_CXX \
 14308     lt_prog_compiler_pic_CXX \
 14309     lt_prog_compiler_static_CXX \
 14310     lt_prog_compiler_no_builtin_flag_CXX \
 14311     export_dynamic_flag_spec_CXX \
 14312     thread_safe_flag_spec_CXX \
 14313     whole_archive_flag_spec_CXX \
 14314     enable_shared_with_static_runtimes_CXX \
 14315     old_archive_cmds_CXX \
 14316     old_archive_from_new_cmds_CXX \
 14317     predep_objects_CXX \
 14318     postdep_objects_CXX \
 14319     predeps_CXX \
 14320     postdeps_CXX \
 14321     compiler_lib_search_path_CXX \
 14322     compiler_lib_search_dirs_CXX \
 14323     archive_cmds_CXX \
 14324     archive_expsym_cmds_CXX \
 14325     postinstall_cmds_CXX \
 14326     postuninstall_cmds_CXX \
 14327     old_archive_from_expsyms_cmds_CXX \
 14328     allow_undefined_flag_CXX \
 14329     no_undefined_flag_CXX \
 14330     export_symbols_cmds_CXX \
 14331     hardcode_libdir_flag_spec_CXX \
 14332     hardcode_libdir_flag_spec_ld_CXX \
 14333     hardcode_libdir_separator_CXX \
 14334     hardcode_automatic_CXX \
 14335     module_cmds_CXX \
 14336     module_expsym_cmds_CXX \
 14337     lt_cv_prog_compiler_c_o_CXX \
 14338     fix_srcfile_path_CXX \
 14339     exclude_expsyms_CXX \
 14340     include_expsyms_CXX; do
 14341 
 14342     case $var in
 14343     old_archive_cmds_CXX | \
 14344     old_archive_from_new_cmds_CXX | \
 14345     archive_cmds_CXX | \
 14346     archive_expsym_cmds_CXX | \
 14347     module_cmds_CXX | \
 14348     module_expsym_cmds_CXX | \
 14349     old_archive_from_expsyms_cmds_CXX | \
 14350     export_symbols_cmds_CXX | \
 14351     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 14352     postinstall_cmds | postuninstall_cmds | \
 14353     old_postinstall_cmds | old_postuninstall_cmds | \
 14354     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 14355       # Double-quote double-evaled strings.
 14356       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 14357       ;;
 14358     *)
 14359       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 14360       ;;
 14361     esac
 14362   done
 14363 
 14364   case $lt_echo in
 14365   *'\$0 --fallback-echo"')
 14366     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 14367     ;;
 14368   esac
 14369 
 14370 cfgfile="$ofile"
 14371 
 14372   cat <<__EOF__ >> "$cfgfile"
 14373 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 14374 
 14375 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 14376 
 14377 # Shell to use when invoking shell scripts.
 14378 SHELL=$lt_SHELL
 14379 
 14380 # Whether or not to build shared libraries.
 14381 build_libtool_libs=$enable_shared
 14382 
 14383 # Whether or not to build static libraries.
 14384 build_old_libs=$enable_static
 14385 
 14386 # Whether or not to add -lc for building shared libraries.
 14387 build_libtool_need_lc=$archive_cmds_need_lc_CXX
 14388 
 14389 # Whether or not to disallow shared libs when runtime libs are static
 14390 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 14391 
 14392 # Whether or not to optimize for fast installation.
 14393 fast_install=$enable_fast_install
 14394 
 14395 # The host system.
 14396 host_alias=$host_alias
 14397 host=$host
 14398 host_os=$host_os
 14399 
 14400 # The build system.
 14401 build_alias=$build_alias
 14402 build=$build
 14403 build_os=$build_os
 14404 
 14405 # An echo program that does not interpret backslashes.
 14406 echo=$lt_echo
 14407 
 14408 # The archiver.
 14409 AR=$lt_AR
 14410 AR_FLAGS=$lt_AR_FLAGS
 14411 
 14412 # A C compiler.
 14413 LTCC=$lt_LTCC
 14414 
 14415 # LTCC compiler flags.
 14416 LTCFLAGS=$lt_LTCFLAGS
 14417 
 14418 # A language-specific compiler.
 14419 CC=$lt_compiler_CXX
 14420 
 14421 # Is the compiler the GNU C compiler?
 14422 with_gcc=$GCC_CXX
 14423 
 14424 # An ERE matcher.
 14425 EGREP=$lt_EGREP
 14426 
 14427 # The linker used to build libraries.
 14428 LD=$lt_LD_CXX
 14429 
 14430 # Whether we need hard or soft links.
 14431 LN_S=$lt_LN_S
 14432 
 14433 # A BSD-compatible nm program.
 14434 NM=$lt_NM
 14435 
 14436 # A symbol stripping program
 14437 STRIP=$lt_STRIP
 14438 
 14439 # Used to examine libraries when file_magic_cmd begins "file"
 14440 MAGIC_CMD=$MAGIC_CMD
 14441 
 14442 # Used on cygwin: DLL creation program.
 14443 DLLTOOL="$DLLTOOL"
 14444 
 14445 # Used on cygwin: object dumper.
 14446 OBJDUMP="$OBJDUMP"
 14447 
 14448 # Used on cygwin: assembler.
 14449 AS="$AS"
 14450 
 14451 # The name of the directory that contains temporary libtool files.
 14452 objdir=$objdir
 14453 
 14454 # How to create reloadable object files.
 14455 reload_flag=$lt_reload_flag
 14456 reload_cmds=$lt_reload_cmds
 14457 
 14458 # How to pass a linker flag through the compiler.
 14459 wl=$lt_lt_prog_compiler_wl_CXX
 14460 
 14461 # Object file suffix (normally "o").
 14462 objext="$ac_objext"
 14463 
 14464 # Old archive suffix (normally "a").
 14465 libext="$libext"
 14466 
 14467 # Shared library suffix (normally ".so").
 14468 shrext_cmds='$shrext_cmds'
 14469 
 14470 # Executable file suffix (normally "").
 14471 exeext="$exeext"
 14472 
 14473 # Additional compiler flags for building library objects.
 14474 pic_flag=$lt_lt_prog_compiler_pic_CXX
 14475 pic_mode=$pic_mode
 14476 
 14477 # What is the maximum length of a command?
 14478 max_cmd_len=$lt_cv_sys_max_cmd_len
 14479 
 14480 # Does compiler simultaneously support -c and -o options?
 14481 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 14482 
 14483 # Must we lock files when doing compilation?
 14484 need_locks=$lt_need_locks
 14485 
 14486 # Do we need the lib prefix for modules?
 14487 need_lib_prefix=$need_lib_prefix
 14488 
 14489 # Do we need a version for libraries?
 14490 need_version=$need_version
 14491 
 14492 # Whether dlopen is supported.
 14493 dlopen_support=$enable_dlopen
 14494 
 14495 # Whether dlopen of programs is supported.
 14496 dlopen_self=$enable_dlopen_self
 14497 
 14498 # Whether dlopen of statically linked programs is supported.
 14499 dlopen_self_static=$enable_dlopen_self_static
 14500 
 14501 # Compiler flag to prevent dynamic linking.
 14502 link_static_flag=$lt_lt_prog_compiler_static_CXX
 14503 
 14504 # Compiler flag to turn off builtin functions.
 14505 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 14506 
 14507 # Compiler flag to allow reflexive dlopens.
 14508 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 14509 
 14510 # Compiler flag to generate shared objects directly from archives.
 14511 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 14512 
 14513 # Compiler flag to generate thread-safe objects.
 14514 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
 14515 
 14516 # Library versioning type.
 14517 version_type=$version_type
 14518 
 14519 # Format of library name prefix.
 14520 libname_spec=$lt_libname_spec
 14521 
 14522 # List of archive names.  First name is the real one, the rest are links.
 14523 # The last name is the one that the linker finds with -lNAME.
 14524 library_names_spec=$lt_library_names_spec
 14525 
 14526 # The coded name of the library, if different from the real name.
 14527 soname_spec=$lt_soname_spec
 14528 
 14529 # Commands used to build and install an old-style archive.
 14530 RANLIB=$lt_RANLIB
 14531 old_archive_cmds=$lt_old_archive_cmds_CXX
 14532 old_postinstall_cmds=$lt_old_postinstall_cmds
 14533 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 14534 
 14535 # Create an old-style archive from a shared archive.
 14536 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 14537 
 14538 # Create a temporary old-style archive to link instead of a shared archive.
 14539 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 14540 
 14541 # Commands used to build and install a shared archive.
 14542 archive_cmds=$lt_archive_cmds_CXX
 14543 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 14544 postinstall_cmds=$lt_postinstall_cmds
 14545 postuninstall_cmds=$lt_postuninstall_cmds
 14546 
 14547 # Commands used to build a loadable module (assumed same as above if empty)
 14548 module_cmds=$lt_module_cmds_CXX
 14549 module_expsym_cmds=$lt_module_expsym_cmds_CXX
 14550 
 14551 # Commands to strip libraries.
 14552 old_striplib=$lt_old_striplib
 14553 striplib=$lt_striplib
 14554 
 14555 # Dependencies to place before the objects being linked to create a
 14556 # shared library.
 14557 predep_objects=$lt_predep_objects_CXX
 14558 
 14559 # Dependencies to place after the objects being linked to create a
 14560 # shared library.
 14561 postdep_objects=$lt_postdep_objects_CXX
 14562 
 14563 # Dependencies to place before the objects being linked to create a
 14564 # shared library.
 14565 predeps=$lt_predeps_CXX
 14566 
 14567 # Dependencies to place after the objects being linked to create a
 14568 # shared library.
 14569 postdeps=$lt_postdeps_CXX
 14570 
 14571 # The directories searched by this compiler when creating a shared
 14572 # library
 14573 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 14574 
 14575 # The library search path used internally by the compiler when linking
 14576 # a shared library.
 14577 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 14578 
 14579 # Method to check whether dependent libraries are shared objects.
 14580 deplibs_check_method=$lt_deplibs_check_method
 14581 
 14582 # Command to use when deplibs_check_method == file_magic.
 14583 file_magic_cmd=$lt_file_magic_cmd
 14584 
 14585 # Flag that allows shared libraries with undefined symbols to be built.
 14586 allow_undefined_flag=$lt_allow_undefined_flag_CXX
 14587 
 14588 # Flag that forces no undefined symbols.
 14589 no_undefined_flag=$lt_no_undefined_flag_CXX
 14590 
 14591 # Commands used to finish a libtool library installation in a directory.
 14592 finish_cmds=$lt_finish_cmds
 14593 
 14594 # Same as above, but a single script fragment to be evaled but not shown.
 14595 finish_eval=$lt_finish_eval
 14596 
 14597 # Take the output of nm and produce a listing of raw symbols and C names.
 14598 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 14599 
 14600 # Transform the output of nm in a proper C declaration
 14601 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 14602 
 14603 # Transform the output of nm in a C name address pair
 14604 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 14605 
 14606 # This is the shared library runtime path variable.
 14607 runpath_var=$runpath_var
 14608 
 14609 # This is the shared library path variable.
 14610 shlibpath_var=$shlibpath_var
 14611 
 14612 # Is shlibpath searched before the hard-coded library search path?
 14613 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 14614 
 14615 # How to hardcode a shared library path into an executable.
 14616 hardcode_action=$hardcode_action_CXX
 14617 
 14618 # Whether we should hardcode library paths into libraries.
 14619 hardcode_into_libs=$hardcode_into_libs
 14620 
 14621 # Flag to hardcode \$libdir into a binary during linking.
 14622 # This must work even if \$libdir does not exist.
 14623 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 14624 
 14625 # If ld is used when linking, flag to hardcode \$libdir into
 14626 # a binary during linking. This must work even if \$libdir does
 14627 # not exist.
 14628 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 14629 
 14630 # Whether we need a single -rpath flag with a separated argument.
 14631 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 14632 
 14633 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 14634 # resulting binary.
 14635 hardcode_direct=$hardcode_direct_CXX
 14636 
 14637 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 14638 # resulting binary.
 14639 hardcode_minus_L=$hardcode_minus_L_CXX
 14640 
 14641 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 14642 # the resulting binary.
 14643 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 14644 
 14645 # Set to yes if building a shared library automatically hardcodes DIR into the library
 14646 # and all subsequent libraries and executables linked against it.
 14647 hardcode_automatic=$hardcode_automatic_CXX
 14648 
 14649 # Variables whose values should be saved in libtool wrapper scripts and
 14650 # restored at relink time.
 14651 variables_saved_for_relink="$variables_saved_for_relink"
 14652 
 14653 # Whether libtool must link a program against all its dependency libraries.
 14654 link_all_deplibs=$link_all_deplibs_CXX
 14655 
 14656 # Compile-time system search path for libraries
 14657 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 14658 
 14659 # Run-time system search path for libraries
 14660 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 14661 
 14662 # Fix the shell variable \$srcfile for the compiler.
 14663 fix_srcfile_path=$lt_fix_srcfile_path
 14664 
 14665 # Set to yes if exported symbols are required.
 14666 always_export_symbols=$always_export_symbols_CXX
 14667 
 14668 # The commands to list exported symbols.
 14669 export_symbols_cmds=$lt_export_symbols_cmds_CXX
 14670 
 14671 # The commands to extract the exported symbol list from a shared archive.
 14672 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 14673 
 14674 # Symbols that should not be listed in the preloaded symbols.
 14675 exclude_expsyms=$lt_exclude_expsyms_CXX
 14676 
 14677 # Symbols that must always be exported.
 14678 include_expsyms=$lt_include_expsyms_CXX
 14679 
 14680 # ### END LIBTOOL TAG CONFIG: $tagname
 14681 
 14682 __EOF__
 14683 
 14684 
 14685 else
 14686   # If there is no Makefile yet, we rely on a make rule to execute
 14687   # `config.status --recheck' to rerun these tests and create the
 14688   # libtool script then.
 14689   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 14690   if test -f "$ltmain_in"; then
 14691     test -f Makefile && make "$ltmain"
 14692   fi
 14693 fi
 14694 
 14695 
 14696 ac_ext=c
 14697 ac_cpp='$CPP $CPPFLAGS'
 14698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 14699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 14700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 14701 
 14702 CC=$lt_save_CC
 14703 LDCXX=$LD
 14704 LD=$lt_save_LD
 14705 GCC=$lt_save_GCC
 14706 with_gnu_ldcxx=$with_gnu_ld
 14707 with_gnu_ld=$lt_save_with_gnu_ld
 14708 lt_cv_path_LDCXX=$lt_cv_path_LD
 14709 lt_cv_path_LD=$lt_save_path_LD
 14710 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 14711 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 14712 
 14713 	else
 14714 	  tagname=""
 14715 	fi
 14716 	;;
 14717 
 14718       F77)
 14719 	if test -n "$F77" && test "X$F77" != "Xno"; then
 14720 
 14721 ac_ext=f
 14722 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
 14723 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 14724 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
 14725 
 14726 
 14727 archive_cmds_need_lc_F77=no
 14728 allow_undefined_flag_F77=
 14729 always_export_symbols_F77=no
 14730 archive_expsym_cmds_F77=
 14731 export_dynamic_flag_spec_F77=
 14732 hardcode_direct_F77=no
 14733 hardcode_libdir_flag_spec_F77=
 14734 hardcode_libdir_flag_spec_ld_F77=
 14735 hardcode_libdir_separator_F77=
 14736 hardcode_minus_L_F77=no
 14737 hardcode_automatic_F77=no
 14738 module_cmds_F77=
 14739 module_expsym_cmds_F77=
 14740 link_all_deplibs_F77=unknown
 14741 old_archive_cmds_F77=$old_archive_cmds
 14742 no_undefined_flag_F77=
 14743 whole_archive_flag_spec_F77=
 14744 enable_shared_with_static_runtimes_F77=no
 14745 
 14746 # Source file extension for f77 test sources.
 14747 ac_ext=f
 14748 
 14749 # Object file extension for compiled f77 test sources.
 14750 objext=o
 14751 objext_F77=$objext
 14752 
 14753 # Code to be used in simple compile tests
 14754 lt_simple_compile_test_code="\
 14755       subroutine t
 14756       return
 14757       end
 14758 "
 14759 
 14760 # Code to be used in simple link tests
 14761 lt_simple_link_test_code="\
 14762       program t
 14763       end
 14764 "
 14765 
 14766 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 14767 
 14768 # If no C compiler was specified, use CC.
 14769 LTCC=${LTCC-"$CC"}
 14770 
 14771 # If no C compiler flags were specified, use CFLAGS.
 14772 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 14773 
 14774 # Allow CC to be a program name with arguments.
 14775 compiler=$CC
 14776 
 14777 
 14778 # save warnings/boilerplate of simple test code
 14779 ac_outfile=conftest.$ac_objext
 14780 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 14781 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 14782 _lt_compiler_boilerplate=`cat conftest.err`
 14783 $rm conftest*
 14784 
 14785 ac_outfile=conftest.$ac_objext
 14786 echo "$lt_simple_link_test_code" >conftest.$ac_ext
 14787 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 14788 _lt_linker_boilerplate=`cat conftest.err`
 14789 $rm -r conftest*
 14790 
 14791 
 14792 # Allow CC to be a program name with arguments.
 14793 lt_save_CC="$CC"
 14794 CC=${F77-"f77"}
 14795 compiler=$CC
 14796 compiler_F77=$CC
 14797 for cc_temp in $compiler""; do
 14798   case $cc_temp in
 14799     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 14800     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 14801     \-*) ;;
 14802     *) break;;
 14803   esac
 14804 done
 14805 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 14806 
 14807 
 14808 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 14809 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
 14810 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 14811 $as_echo "$can_build_shared" >&6; }
 14812 
 14813 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 14814 $as_echo_n "checking whether to build shared libraries... " >&6; }
 14815 test "$can_build_shared" = "no" && enable_shared=no
 14816 
 14817 # On AIX, shared libraries and static libraries use the same namespace, and
 14818 # are all built from PIC.
 14819 case $host_os in
 14820 aix3*)
 14821   test "$enable_shared" = yes && enable_static=no
 14822   if test -n "$RANLIB"; then
 14823     archive_cmds="$archive_cmds~\$RANLIB \$lib"
 14824     postinstall_cmds='$RANLIB $lib'
 14825   fi
 14826   ;;
 14827 aix[4-9]*)
 14828   if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 14829     test "$enable_shared" = yes && enable_static=no
 14830   fi
 14831   ;;
 14832 esac
 14833 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 14834 $as_echo "$enable_shared" >&6; }
 14835 
 14836 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 14837 $as_echo_n "checking whether to build static libraries... " >&6; }
 14838 # Make sure either enable_shared or enable_static is yes.
 14839 test "$enable_shared" = yes || enable_static=yes
 14840 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 14841 $as_echo "$enable_static" >&6; }
 14842 
 14843 GCC_F77="$G77"
 14844 LD_F77="$LD"
 14845 
 14846 lt_prog_compiler_wl_F77=
 14847 lt_prog_compiler_pic_F77=
 14848 lt_prog_compiler_static_F77=
 14849 
 14850 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 14851 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 14852 
 14853   if test "$GCC" = yes; then
 14854     lt_prog_compiler_wl_F77='-Wl,'
 14855     lt_prog_compiler_static_F77='-static'
 14856 
 14857     case $host_os in
 14858       aix*)
 14859       # All AIX code is PIC.
 14860       if test "$host_cpu" = ia64; then
 14861 	# AIX 5 now supports IA64 processor
 14862 	lt_prog_compiler_static_F77='-Bstatic'
 14863       fi
 14864       ;;
 14865 
 14866     amigaos*)
 14867       # FIXME: we need at least 68020 code to build shared libraries, but
 14868       # adding the `-m68020' flag to GCC prevents building anything better,
 14869       # like `-m68040'.
 14870       lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
 14871       ;;
 14872 
 14873     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 14874       # PIC is the default for these OSes.
 14875       ;;
 14876 
 14877     mingw* | cygwin* | pw32* | os2*)
 14878       # This hack is so that the source file can tell whether it is being
 14879       # built for inclusion in a dll (and should export symbols for example).
 14880       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 14881       # (--disable-auto-import) libraries
 14882       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 14883       ;;
 14884 
 14885     darwin* | rhapsody*)
 14886       # PIC is the default on this platform
 14887       # Common symbols not allowed in MH_DYLIB files
 14888       lt_prog_compiler_pic_F77='-fno-common'
 14889       ;;
 14890 
 14891     interix[3-9]*)
 14892       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 14893       # Instead, we relocate shared libraries at runtime.
 14894       ;;
 14895 
 14896     msdosdjgpp*)
 14897       # Just because we use GCC doesn't mean we suddenly get shared libraries
 14898       # on systems that don't support them.
 14899       lt_prog_compiler_can_build_shared_F77=no
 14900       enable_shared=no
 14901       ;;
 14902 
 14903     sysv4*MP*)
 14904       if test -d /usr/nec; then
 14905 	lt_prog_compiler_pic_F77=-Kconform_pic
 14906       fi
 14907       ;;
 14908 
 14909     hpux*)
 14910       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 14911       # not for PA HP-UX.
 14912       case $host_cpu in
 14913       hppa*64*|ia64*)
 14914 	# +Z the default
 14915 	;;
 14916       *)
 14917 	lt_prog_compiler_pic_F77='-fPIC'
 14918 	;;
 14919       esac
 14920       ;;
 14921 
 14922     *)
 14923       lt_prog_compiler_pic_F77='-fPIC'
 14924       ;;
 14925     esac
 14926   else
 14927     # PORTME Check for flag to pass linker flags through the system compiler.
 14928     case $host_os in
 14929     aix*)
 14930       lt_prog_compiler_wl_F77='-Wl,'
 14931       if test "$host_cpu" = ia64; then
 14932 	# AIX 5 now supports IA64 processor
 14933 	lt_prog_compiler_static_F77='-Bstatic'
 14934       else
 14935 	lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
 14936       fi
 14937       ;;
 14938       darwin*)
 14939         # PIC is the default on this platform
 14940         # Common symbols not allowed in MH_DYLIB files
 14941        case $cc_basename in
 14942          xlc*)
 14943          lt_prog_compiler_pic_F77='-qnocommon'
 14944          lt_prog_compiler_wl_F77='-Wl,'
 14945          ;;
 14946        esac
 14947        ;;
 14948 
 14949     mingw* | cygwin* | pw32* | os2*)
 14950       # This hack is so that the source file can tell whether it is being
 14951       # built for inclusion in a dll (and should export symbols for example).
 14952       lt_prog_compiler_pic_F77='-DDLL_EXPORT'
 14953       ;;
 14954 
 14955     hpux9* | hpux10* | hpux11*)
 14956       lt_prog_compiler_wl_F77='-Wl,'
 14957       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 14958       # not for PA HP-UX.
 14959       case $host_cpu in
 14960       hppa*64*|ia64*)
 14961 	# +Z the default
 14962 	;;
 14963       *)
 14964 	lt_prog_compiler_pic_F77='+Z'
 14965 	;;
 14966       esac
 14967       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 14968       lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
 14969       ;;
 14970 
 14971     irix5* | irix6* | nonstopux*)
 14972       lt_prog_compiler_wl_F77='-Wl,'
 14973       # PIC (with -KPIC) is the default.
 14974       lt_prog_compiler_static_F77='-non_shared'
 14975       ;;
 14976 
 14977     newsos6)
 14978       lt_prog_compiler_pic_F77='-KPIC'
 14979       lt_prog_compiler_static_F77='-Bstatic'
 14980       ;;
 14981 
 14982     linux* | k*bsd*-gnu)
 14983       case $cc_basename in
 14984       icc* | ecc*)
 14985 	lt_prog_compiler_wl_F77='-Wl,'
 14986 	lt_prog_compiler_pic_F77='-KPIC'
 14987 	lt_prog_compiler_static_F77='-static'
 14988         ;;
 14989       pgcc* | pgf77* | pgf90* | pgf95*)
 14990         # Portland Group compilers (*not* the Pentium gcc compiler,
 14991 	# which looks to be a dead project)
 14992 	lt_prog_compiler_wl_F77='-Wl,'
 14993 	lt_prog_compiler_pic_F77='-fpic'
 14994 	lt_prog_compiler_static_F77='-Bstatic'
 14995         ;;
 14996       ccc*)
 14997         lt_prog_compiler_wl_F77='-Wl,'
 14998         # All Alpha code is PIC.
 14999         lt_prog_compiler_static_F77='-non_shared'
 15000         ;;
 15001       *)
 15002         case `$CC -V 2>&1 | sed 5q` in
 15003 	*Sun\ C*)
 15004 	  # Sun C 5.9
 15005 	  lt_prog_compiler_pic_F77='-KPIC'
 15006 	  lt_prog_compiler_static_F77='-Bstatic'
 15007 	  lt_prog_compiler_wl_F77='-Wl,'
 15008 	  ;;
 15009 	*Sun\ F*)
 15010 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 15011 	  lt_prog_compiler_pic_F77='-KPIC'
 15012 	  lt_prog_compiler_static_F77='-Bstatic'
 15013 	  lt_prog_compiler_wl_F77=''
 15014 	  ;;
 15015 	esac
 15016 	;;
 15017       esac
 15018       ;;
 15019 
 15020     osf3* | osf4* | osf5*)
 15021       lt_prog_compiler_wl_F77='-Wl,'
 15022       # All OSF/1 code is PIC.
 15023       lt_prog_compiler_static_F77='-non_shared'
 15024       ;;
 15025 
 15026     rdos*)
 15027       lt_prog_compiler_static_F77='-non_shared'
 15028       ;;
 15029 
 15030     solaris*)
 15031       lt_prog_compiler_pic_F77='-KPIC'
 15032       lt_prog_compiler_static_F77='-Bstatic'
 15033       case $cc_basename in
 15034       f77* | f90* | f95*)
 15035 	lt_prog_compiler_wl_F77='-Qoption ld ';;
 15036       *)
 15037 	lt_prog_compiler_wl_F77='-Wl,';;
 15038       esac
 15039       ;;
 15040 
 15041     sunos4*)
 15042       lt_prog_compiler_wl_F77='-Qoption ld '
 15043       lt_prog_compiler_pic_F77='-PIC'
 15044       lt_prog_compiler_static_F77='-Bstatic'
 15045       ;;
 15046 
 15047     sysv4 | sysv4.2uw2* | sysv4.3*)
 15048       lt_prog_compiler_wl_F77='-Wl,'
 15049       lt_prog_compiler_pic_F77='-KPIC'
 15050       lt_prog_compiler_static_F77='-Bstatic'
 15051       ;;
 15052 
 15053     sysv4*MP*)
 15054       if test -d /usr/nec ;then
 15055 	lt_prog_compiler_pic_F77='-Kconform_pic'
 15056 	lt_prog_compiler_static_F77='-Bstatic'
 15057       fi
 15058       ;;
 15059 
 15060     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 15061       lt_prog_compiler_wl_F77='-Wl,'
 15062       lt_prog_compiler_pic_F77='-KPIC'
 15063       lt_prog_compiler_static_F77='-Bstatic'
 15064       ;;
 15065 
 15066     unicos*)
 15067       lt_prog_compiler_wl_F77='-Wl,'
 15068       lt_prog_compiler_can_build_shared_F77=no
 15069       ;;
 15070 
 15071     uts4*)
 15072       lt_prog_compiler_pic_F77='-pic'
 15073       lt_prog_compiler_static_F77='-Bstatic'
 15074       ;;
 15075 
 15076     *)
 15077       lt_prog_compiler_can_build_shared_F77=no
 15078       ;;
 15079     esac
 15080   fi
 15081 
 15082 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
 15083 $as_echo "$lt_prog_compiler_pic_F77" >&6; }
 15084 
 15085 #
 15086 # Check to make sure the PIC flag actually works.
 15087 #
 15088 if test -n "$lt_prog_compiler_pic_F77"; then
 15089 
 15090 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
 15091 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... " >&6; }
 15092 if test "${lt_cv_prog_compiler_pic_works_F77+set}" = set; then
 15093   $as_echo_n "(cached) " >&6
 15094 else
 15095   lt_cv_prog_compiler_pic_works_F77=no
 15096   ac_outfile=conftest.$ac_objext
 15097    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 15098    lt_compiler_flag="$lt_prog_compiler_pic_F77"
 15099    # Insert the option either (1) after the last *FLAGS variable, or
 15100    # (2) before a word containing "conftest.", or (3) at the end.
 15101    # Note that $ac_compile itself does not contain backslashes and begins
 15102    # with a dollar sign (not a hyphen), so the echo should work correctly.
 15103    # The option is referenced via a variable to avoid confusing sed.
 15104    lt_compile=`echo "$ac_compile" | $SED \
 15105    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 15106    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 15107    -e 's:$: $lt_compiler_flag:'`
 15108    (eval echo "\"\$as_me:15108: $lt_compile\"" >&5)
 15109    (eval "$lt_compile" 2>conftest.err)
 15110    ac_status=$?
 15111    cat conftest.err >&5
 15112    echo "$as_me:15112: \$? = $ac_status" >&5
 15113    if (exit $ac_status) && test -s "$ac_outfile"; then
 15114      # The compiler can only warn and ignore the option if not recognized
 15115      # So say no if there are warnings other than the usual output.
 15116      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 15117      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 15118      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 15119        lt_cv_prog_compiler_pic_works_F77=yes
 15120      fi
 15121    fi
 15122    $rm conftest*
 15123 
 15124 fi
 15125 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_F77" >&5
 15126 $as_echo "$lt_cv_prog_compiler_pic_works_F77" >&6; }
 15127 
 15128 if test x"$lt_cv_prog_compiler_pic_works_F77" = xyes; then
 15129     case $lt_prog_compiler_pic_F77 in
 15130      "" | " "*) ;;
 15131      *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
 15132      esac
 15133 else
 15134     lt_prog_compiler_pic_F77=
 15135      lt_prog_compiler_can_build_shared_F77=no
 15136 fi
 15137 
 15138 fi
 15139 case $host_os in
 15140   # For platforms which do not support PIC, -DPIC is meaningless:
 15141   *djgpp*)
 15142     lt_prog_compiler_pic_F77=
 15143     ;;
 15144   *)
 15145     lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
 15146     ;;
 15147 esac
 15148 
 15149 #
 15150 # Check to make sure the static flag actually works.
 15151 #
 15152 wl=$lt_prog_compiler_wl_F77 eval lt_tmp_static_flag=\"$lt_prog_compiler_static_F77\"
 15153 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 15154 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 15155 if test "${lt_cv_prog_compiler_static_works_F77+set}" = set; then
 15156   $as_echo_n "(cached) " >&6
 15157 else
 15158   lt_cv_prog_compiler_static_works_F77=no
 15159    save_LDFLAGS="$LDFLAGS"
 15160    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 15161    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 15162    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 15163      # The linker can only warn and ignore the option if not recognized
 15164      # So say no if there are warnings
 15165      if test -s conftest.err; then
 15166        # Append any errors to the config.log.
 15167        cat conftest.err 1>&5
 15168        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 15169        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 15170        if diff conftest.exp conftest.er2 >/dev/null; then
 15171          lt_cv_prog_compiler_static_works_F77=yes
 15172        fi
 15173      else
 15174        lt_cv_prog_compiler_static_works_F77=yes
 15175      fi
 15176    fi
 15177    $rm -r conftest*
 15178    LDFLAGS="$save_LDFLAGS"
 15179 
 15180 fi
 15181 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_F77" >&5
 15182 $as_echo "$lt_cv_prog_compiler_static_works_F77" >&6; }
 15183 
 15184 if test x"$lt_cv_prog_compiler_static_works_F77" = xyes; then
 15185     :
 15186 else
 15187     lt_prog_compiler_static_F77=
 15188 fi
 15189 
 15190 
 15191 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 15192 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 15193 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
 15194   $as_echo_n "(cached) " >&6
 15195 else
 15196   lt_cv_prog_compiler_c_o_F77=no
 15197    $rm -r conftest 2>/dev/null
 15198    mkdir conftest
 15199    cd conftest
 15200    mkdir out
 15201    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 15202 
 15203    lt_compiler_flag="-o out/conftest2.$ac_objext"
 15204    # Insert the option either (1) after the last *FLAGS variable, or
 15205    # (2) before a word containing "conftest.", or (3) at the end.
 15206    # Note that $ac_compile itself does not contain backslashes and begins
 15207    # with a dollar sign (not a hyphen), so the echo should work correctly.
 15208    lt_compile=`echo "$ac_compile" | $SED \
 15209    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 15210    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 15211    -e 's:$: $lt_compiler_flag:'`
 15212    (eval echo "\"\$as_me:15212: $lt_compile\"" >&5)
 15213    (eval "$lt_compile" 2>out/conftest.err)
 15214    ac_status=$?
 15215    cat out/conftest.err >&5
 15216    echo "$as_me:15216: \$? = $ac_status" >&5
 15217    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 15218    then
 15219      # The compiler can only warn and ignore the option if not recognized
 15220      # So say no if there are warnings
 15221      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 15222      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 15223      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 15224        lt_cv_prog_compiler_c_o_F77=yes
 15225      fi
 15226    fi
 15227    chmod u+w . 2>&5
 15228    $rm conftest*
 15229    # SGI C++ compiler will create directory out/ii_files/ for
 15230    # template instantiation
 15231    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 15232    $rm out/* && rmdir out
 15233    cd ..
 15234    rmdir conftest
 15235    $rm conftest*
 15236 
 15237 fi
 15238 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
 15239 $as_echo "$lt_cv_prog_compiler_c_o_F77" >&6; }
 15240 
 15241 
 15242 hard_links="nottested"
 15243 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
 15244   # do not overwrite the value of need_locks provided by the user
 15245   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 15246 $as_echo_n "checking if we can lock with hard links... " >&6; }
 15247   hard_links=yes
 15248   $rm conftest*
 15249   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 15250   touch conftest.a
 15251   ln conftest.a conftest.b 2>&5 || hard_links=no
 15252   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 15253   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 15254 $as_echo "$hard_links" >&6; }
 15255   if test "$hard_links" = no; then
 15256     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 15257 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 15258     need_locks=warn
 15259   fi
 15260 else
 15261   need_locks=no
 15262 fi
 15263 
 15264 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 15265 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 15266 
 15267   runpath_var=
 15268   allow_undefined_flag_F77=
 15269   enable_shared_with_static_runtimes_F77=no
 15270   archive_cmds_F77=
 15271   archive_expsym_cmds_F77=
 15272   old_archive_From_new_cmds_F77=
 15273   old_archive_from_expsyms_cmds_F77=
 15274   export_dynamic_flag_spec_F77=
 15275   whole_archive_flag_spec_F77=
 15276   thread_safe_flag_spec_F77=
 15277   hardcode_libdir_flag_spec_F77=
 15278   hardcode_libdir_flag_spec_ld_F77=
 15279   hardcode_libdir_separator_F77=
 15280   hardcode_direct_F77=no
 15281   hardcode_minus_L_F77=no
 15282   hardcode_shlibpath_var_F77=unsupported
 15283   link_all_deplibs_F77=unknown
 15284   hardcode_automatic_F77=no
 15285   module_cmds_F77=
 15286   module_expsym_cmds_F77=
 15287   always_export_symbols_F77=no
 15288   export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 15289   # include_expsyms should be a list of space-separated symbols to be *always*
 15290   # included in the symbol list
 15291   include_expsyms_F77=
 15292   # exclude_expsyms can be an extended regexp of symbols to exclude
 15293   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 15294   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 15295   # as well as any symbol that contains `d'.
 15296   exclude_expsyms_F77='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 15297   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 15298   # platforms (ab)use it in PIC code, but their linkers get confused if
 15299   # the symbol is explicitly referenced.  Since portable code cannot
 15300   # rely on this symbol name, it's probably fine to never include it in
 15301   # preloaded symbol tables.
 15302   # Exclude shared library initialization/finalization symbols.
 15303   extract_expsyms_cmds=
 15304   # Just being paranoid about ensuring that cc_basename is set.
 15305   for cc_temp in $compiler""; do
 15306   case $cc_temp in
 15307     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 15308     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 15309     \-*) ;;
 15310     *) break;;
 15311   esac
 15312 done
 15313 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 15314 
 15315   case $host_os in
 15316   cygwin* | mingw* | pw32*)
 15317     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 15318     # When not using gcc, we currently assume that we are using
 15319     # Microsoft Visual C++.
 15320     if test "$GCC" != yes; then
 15321       with_gnu_ld=no
 15322     fi
 15323     ;;
 15324   interix*)
 15325     # we just hope/assume this is gcc and not c89 (= MSVC++)
 15326     with_gnu_ld=yes
 15327     ;;
 15328   openbsd*)
 15329     with_gnu_ld=no
 15330     ;;
 15331   esac
 15332 
 15333   ld_shlibs_F77=yes
 15334   if test "$with_gnu_ld" = yes; then
 15335     # If archive_cmds runs LD, not CC, wlarc should be empty
 15336     wlarc='${wl}'
 15337 
 15338     # Set some defaults for GNU ld with shared library support. These
 15339     # are reset later if shared libraries are not supported. Putting them
 15340     # here allows them to be overridden if necessary.
 15341     runpath_var=LD_RUN_PATH
 15342     hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 15343     export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 15344     # ancient GNU ld didn't support --whole-archive et. al.
 15345     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 15346 	whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 15347       else
 15348   	whole_archive_flag_spec_F77=
 15349     fi
 15350     supports_anon_versioning=no
 15351     case `$LD -v 2>/dev/null` in
 15352       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 15353       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 15354       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 15355       *\ 2.11.*) ;; # other 2.11 versions
 15356       *) supports_anon_versioning=yes ;;
 15357     esac
 15358 
 15359     # See if GNU ld supports shared libraries.
 15360     case $host_os in
 15361     aix[3-9]*)
 15362       # On AIX/PPC, the GNU linker is very broken
 15363       if test "$host_cpu" != ia64; then
 15364 	ld_shlibs_F77=no
 15365 	cat <<EOF 1>&2
 15366 
 15367 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 15368 *** to be unable to reliably create shared libraries on AIX.
 15369 *** Therefore, libtool is disabling shared libraries support.  If you
 15370 *** really care for shared libraries, you may want to modify your PATH
 15371 *** so that a non-GNU linker is found, and then restart.
 15372 
 15373 EOF
 15374       fi
 15375       ;;
 15376 
 15377     amigaos*)
 15378       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)'
 15379       hardcode_libdir_flag_spec_F77='-L$libdir'
 15380       hardcode_minus_L_F77=yes
 15381 
 15382       # Samuel A. Falvo II <[email protected]> reports
 15383       # that the semantics of dynamic libraries on AmigaOS, at least up
 15384       # to version 4, is to share data among multiple programs linked
 15385       # with the same dynamic library.  Since this doesn't match the
 15386       # behavior of shared libraries on other platforms, we can't use
 15387       # them.
 15388       ld_shlibs_F77=no
 15389       ;;
 15390 
 15391     beos*)
 15392       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 15393 	allow_undefined_flag_F77=unsupported
 15394 	# Joseph Beckenbach <[email protected]> says some releases of gcc
 15395 	# support --undefined.  This deserves some investigation.  FIXME
 15396 	archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 15397       else
 15398 	ld_shlibs_F77=no
 15399       fi
 15400       ;;
 15401 
 15402     cygwin* | mingw* | pw32*)
 15403       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
 15404       # as there is no search path for DLLs.
 15405       hardcode_libdir_flag_spec_F77='-L$libdir'
 15406       allow_undefined_flag_F77=unsupported
 15407       always_export_symbols_F77=no
 15408       enable_shared_with_static_runtimes_F77=yes
 15409       export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 15410 
 15411       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 15412         archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 15413 	# If the export-symbols file already is a .def file (1st line
 15414 	# is EXPORTS), use it as is; otherwise, prepend...
 15415 	archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 15416 	  cp $export_symbols $output_objdir/$soname.def;
 15417 	else
 15418 	  echo EXPORTS > $output_objdir/$soname.def;
 15419 	  cat $export_symbols >> $output_objdir/$soname.def;
 15420 	fi~
 15421 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 15422       else
 15423 	ld_shlibs_F77=no
 15424       fi
 15425       ;;
 15426 
 15427     interix[3-9]*)
 15428       hardcode_direct_F77=no
 15429       hardcode_shlibpath_var_F77=no
 15430       hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 15431       export_dynamic_flag_spec_F77='${wl}-E'
 15432       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 15433       # Instead, shared libraries are loaded at an image base (0x10000000 by
 15434       # default) and relocated if they conflict, which is a slow very memory
 15435       # consuming and fragmenting process.  To avoid this, we pick a random,
 15436       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 15437       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 15438       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'
 15439       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'
 15440       ;;
 15441 
 15442     gnu* | linux* | k*bsd*-gnu)
 15443       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 15444 	tmp_addflag=
 15445 	case $cc_basename,$host_cpu in
 15446 	pgcc*)				# Portland Group C compiler
 15447 	  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'
 15448 	  tmp_addflag=' $pic_flag'
 15449 	  ;;
 15450 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 15451 	  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'
 15452 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 15453 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 15454 	  tmp_addflag=' -i_dynamic' ;;
 15455 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 15456 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 15457 	ifc* | ifort*)			# Intel Fortran compiler
 15458 	  tmp_addflag=' -nofor_main' ;;
 15459 	esac
 15460 	case `$CC -V 2>&1 | sed 5q` in
 15461 	*Sun\ C*)			# Sun C 5.9
 15462 	  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'
 15463 	  tmp_sharedflag='-G' ;;
 15464 	*Sun\ F*)			# Sun Fortran 8.3
 15465 	  tmp_sharedflag='-G' ;;
 15466 	*)
 15467 	  tmp_sharedflag='-shared' ;;
 15468 	esac
 15469 	archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 15470 
 15471 	if test $supports_anon_versioning = yes; then
 15472 	  archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 15473   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 15474   $echo "local: *; };" >> $output_objdir/$libname.ver~
 15475 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 15476 	fi
 15477       else
 15478 	ld_shlibs_F77=no
 15479       fi
 15480       ;;
 15481 
 15482     netbsd*)
 15483       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 15484 	archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 15485 	wlarc=
 15486       else
 15487 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 15488 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 15489       fi
 15490       ;;
 15491 
 15492     solaris*)
 15493       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 15494 	ld_shlibs_F77=no
 15495 	cat <<EOF 1>&2
 15496 
 15497 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 15498 *** create shared libraries on Solaris systems.  Therefore, libtool
 15499 *** is disabling shared libraries support.  We urge you to upgrade GNU
 15500 *** binutils to release 2.9.1 or newer.  Another option is to modify
 15501 *** your PATH or compiler configuration so that the native linker is
 15502 *** used, and then restart.
 15503 
 15504 EOF
 15505       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 15506 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 15507 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 15508       else
 15509 	ld_shlibs_F77=no
 15510       fi
 15511       ;;
 15512 
 15513     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 15514       case `$LD -v 2>&1` in
 15515         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 15516 	ld_shlibs_F77=no
 15517 	cat <<_LT_EOF 1>&2
 15518 
 15519 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 15520 *** reliably create shared libraries on SCO systems.  Therefore, libtool
 15521 *** is disabling shared libraries support.  We urge you to upgrade GNU
 15522 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 15523 *** your PATH or compiler configuration so that the native linker is
 15524 *** used, and then restart.
 15525 
 15526 _LT_EOF
 15527 	;;
 15528 	*)
 15529 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 15530 	    hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 15531 	    archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 15532 	    archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 15533 	  else
 15534 	    ld_shlibs_F77=no
 15535 	  fi
 15536 	;;
 15537       esac
 15538       ;;
 15539 
 15540     sunos4*)
 15541       archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 15542       wlarc=
 15543       hardcode_direct_F77=yes
 15544       hardcode_shlibpath_var_F77=no
 15545       ;;
 15546 
 15547     *)
 15548       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 15549 	archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 15550 	archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 15551       else
 15552 	ld_shlibs_F77=no
 15553       fi
 15554       ;;
 15555     esac
 15556 
 15557     if test "$ld_shlibs_F77" = no; then
 15558       runpath_var=
 15559       hardcode_libdir_flag_spec_F77=
 15560       export_dynamic_flag_spec_F77=
 15561       whole_archive_flag_spec_F77=
 15562     fi
 15563   else
 15564     # PORTME fill in a description of your system's linker (not GNU ld)
 15565     case $host_os in
 15566     aix3*)
 15567       allow_undefined_flag_F77=unsupported
 15568       always_export_symbols_F77=yes
 15569       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'
 15570       # Note: this linker hardcodes the directories in LIBPATH if there
 15571       # are no directories specified by -L.
 15572       hardcode_minus_L_F77=yes
 15573       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 15574 	# Neither direct hardcoding nor static linking is supported with a
 15575 	# broken collect2.
 15576 	hardcode_direct_F77=unsupported
 15577       fi
 15578       ;;
 15579 
 15580     aix[4-9]*)
 15581       if test "$host_cpu" = ia64; then
 15582 	# On IA64, the linker does run time linking by default, so we don't
 15583 	# have to do anything special.
 15584 	aix_use_runtimelinking=no
 15585 	exp_sym_flag='-Bexport'
 15586 	no_entry_flag=""
 15587       else
 15588 	# If we're using GNU nm, then we don't want the "-C" option.
 15589 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 15590 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 15591 	  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'
 15592 	else
 15593 	  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'
 15594 	fi
 15595 	aix_use_runtimelinking=no
 15596 
 15597 	# Test if we are trying to use run time linking or normal
 15598 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 15599 	# need to do runtime linking.
 15600 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 15601 	  for ld_flag in $LDFLAGS; do
 15602   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 15603   	    aix_use_runtimelinking=yes
 15604   	    break
 15605   	  fi
 15606 	  done
 15607 	  ;;
 15608 	esac
 15609 
 15610 	exp_sym_flag='-bexport'
 15611 	no_entry_flag='-bnoentry'
 15612       fi
 15613 
 15614       # When large executables or shared objects are built, AIX ld can
 15615       # have problems creating the table of contents.  If linking a library
 15616       # or program results in "error TOC overflow" add -mminimal-toc to
 15617       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 15618       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 15619 
 15620       archive_cmds_F77=''
 15621       hardcode_direct_F77=yes
 15622       hardcode_libdir_separator_F77=':'
 15623       link_all_deplibs_F77=yes
 15624 
 15625       if test "$GCC" = yes; then
 15626 	case $host_os in aix4.[012]|aix4.[012].*)
 15627 	# We only want to do this on AIX 4.2 and lower, the check
 15628 	# below for broken collect2 doesn't work under 4.3+
 15629 	  collect2name=`${CC} -print-prog-name=collect2`
 15630 	  if test -f "$collect2name" && \
 15631   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 15632 	  then
 15633   	  # We have reworked collect2
 15634   	  :
 15635 	  else
 15636   	  # We have old collect2
 15637   	  hardcode_direct_F77=unsupported
 15638   	  # It fails to find uninstalled libraries when the uninstalled
 15639   	  # path is not listed in the libpath.  Setting hardcode_minus_L
 15640   	  # to unsupported forces relinking
 15641   	  hardcode_minus_L_F77=yes
 15642   	  hardcode_libdir_flag_spec_F77='-L$libdir'
 15643   	  hardcode_libdir_separator_F77=
 15644 	  fi
 15645 	  ;;
 15646 	esac
 15647 	shared_flag='-shared'
 15648 	if test "$aix_use_runtimelinking" = yes; then
 15649 	  shared_flag="$shared_flag "'${wl}-G'
 15650 	fi
 15651       else
 15652 	# not using gcc
 15653 	if test "$host_cpu" = ia64; then
 15654   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 15655   	# chokes on -Wl,-G. The following line is correct:
 15656 	  shared_flag='-G'
 15657 	else
 15658 	  if test "$aix_use_runtimelinking" = yes; then
 15659 	    shared_flag='${wl}-G'
 15660 	  else
 15661 	    shared_flag='${wl}-bM:SRE'
 15662 	  fi
 15663 	fi
 15664       fi
 15665 
 15666       # It seems that -bexpall does not export symbols beginning with
 15667       # underscore (_), so it is better to generate a list of symbols to export.
 15668       always_export_symbols_F77=yes
 15669       if test "$aix_use_runtimelinking" = yes; then
 15670 	# Warning - without using the other runtime loading flags (-brtl),
 15671 	# -berok will link without error, but may produce a broken library.
 15672 	allow_undefined_flag_F77='-berok'
 15673        # Determine the default libpath from the value encoded in an empty executable.
 15674        cat >conftest.$ac_ext <<_ACEOF
 15675       program main
 15676 
 15677       end
 15678 _ACEOF
 15679 rm -f conftest.$ac_objext conftest$ac_exeext
 15680 if { (ac_try="$ac_link"
 15681 case "(($ac_try" in
 15682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15683   *) ac_try_echo=$ac_try;;
 15684 esac
 15685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15686 $as_echo "$ac_try_echo") >&5
 15687   (eval "$ac_link") 2>conftest.er1
 15688   ac_status=$?
 15689   grep -v '^ *+' conftest.er1 >conftest.err
 15690   rm -f conftest.er1
 15691   cat conftest.err >&5
 15692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15693   (exit $ac_status); } && {
 15694 	 test -z "$ac_f77_werror_flag" ||
 15695 	 test ! -s conftest.err
 15696        } && test -s conftest$ac_exeext && {
 15697 	 test "$cross_compiling" = yes ||
 15698 	 $as_test_x conftest$ac_exeext
 15699        }; then
 15700 
 15701 lt_aix_libpath_sed='
 15702     /Import File Strings/,/^$/ {
 15703 	/^0/ {
 15704 	    s/^0  *\(.*\)$/\1/
 15705 	    p
 15706 	}
 15707     }'
 15708 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 15709 # Check for a 64-bit object if we didn't find anything.
 15710 if test -z "$aix_libpath"; then
 15711   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 15712 fi
 15713 else
 15714   $as_echo "$as_me: failed program was:" >&5
 15715 sed 's/^/| /' conftest.$ac_ext >&5
 15716 
 15717 
 15718 fi
 15719 
 15720 rm -rf conftest.dSYM
 15721 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15722       conftest$ac_exeext conftest.$ac_ext
 15723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 15724 
 15725        hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 15726 	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"
 15727        else
 15728 	if test "$host_cpu" = ia64; then
 15729 	  hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
 15730 	  allow_undefined_flag_F77="-z nodefs"
 15731 	  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"
 15732 	else
 15733 	 # Determine the default libpath from the value encoded in an empty executable.
 15734 	 cat >conftest.$ac_ext <<_ACEOF
 15735       program main
 15736 
 15737       end
 15738 _ACEOF
 15739 rm -f conftest.$ac_objext conftest$ac_exeext
 15740 if { (ac_try="$ac_link"
 15741 case "(($ac_try" in
 15742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15743   *) ac_try_echo=$ac_try;;
 15744 esac
 15745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15746 $as_echo "$ac_try_echo") >&5
 15747   (eval "$ac_link") 2>conftest.er1
 15748   ac_status=$?
 15749   grep -v '^ *+' conftest.er1 >conftest.err
 15750   rm -f conftest.er1
 15751   cat conftest.err >&5
 15752   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15753   (exit $ac_status); } && {
 15754 	 test -z "$ac_f77_werror_flag" ||
 15755 	 test ! -s conftest.err
 15756        } && test -s conftest$ac_exeext && {
 15757 	 test "$cross_compiling" = yes ||
 15758 	 $as_test_x conftest$ac_exeext
 15759        }; then
 15760 
 15761 lt_aix_libpath_sed='
 15762     /Import File Strings/,/^$/ {
 15763 	/^0/ {
 15764 	    s/^0  *\(.*\)$/\1/
 15765 	    p
 15766 	}
 15767     }'
 15768 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 15769 # Check for a 64-bit object if we didn't find anything.
 15770 if test -z "$aix_libpath"; then
 15771   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 15772 fi
 15773 else
 15774   $as_echo "$as_me: failed program was:" >&5
 15775 sed 's/^/| /' conftest.$ac_ext >&5
 15776 
 15777 
 15778 fi
 15779 
 15780 rm -rf conftest.dSYM
 15781 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15782       conftest$ac_exeext conftest.$ac_ext
 15783 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 15784 
 15785 	 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
 15786 	  # Warning - without using the other run time loading flags,
 15787 	  # -berok will link without error, but may produce a broken library.
 15788 	  no_undefined_flag_F77=' ${wl}-bernotok'
 15789 	  allow_undefined_flag_F77=' ${wl}-berok'
 15790 	  # Exported symbols can be pulled into shared objects from archives
 15791 	  whole_archive_flag_spec_F77='$convenience'
 15792 	  archive_cmds_need_lc_F77=yes
 15793 	  # This is similar to how AIX traditionally builds its shared libraries.
 15794 	  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'
 15795 	fi
 15796       fi
 15797       ;;
 15798 
 15799     amigaos*)
 15800       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)'
 15801       hardcode_libdir_flag_spec_F77='-L$libdir'
 15802       hardcode_minus_L_F77=yes
 15803       # see comment about different semantics on the GNU ld section
 15804       ld_shlibs_F77=no
 15805       ;;
 15806 
 15807     bsdi[45]*)
 15808       export_dynamic_flag_spec_F77=-rdynamic
 15809       ;;
 15810 
 15811     cygwin* | mingw* | pw32*)
 15812       # When not using gcc, we currently assume that we are using
 15813       # Microsoft Visual C++.
 15814       # hardcode_libdir_flag_spec is actually meaningless, as there is
 15815       # no search path for DLLs.
 15816       hardcode_libdir_flag_spec_F77=' '
 15817       allow_undefined_flag_F77=unsupported
 15818       # Tell ltmain to make .lib files, not .a files.
 15819       libext=lib
 15820       # Tell ltmain to make .dll files, not .so files.
 15821       shrext_cmds=".dll"
 15822       # FIXME: Setting linknames here is a bad hack.
 15823       archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 15824       # The linker will automatically build a .lib file if we build a DLL.
 15825       old_archive_From_new_cmds_F77='true'
 15826       # FIXME: Should let the user specify the lib program.
 15827       old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
 15828       fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
 15829       enable_shared_with_static_runtimes_F77=yes
 15830       ;;
 15831 
 15832     darwin* | rhapsody*)
 15833       case $host_os in
 15834         rhapsody* | darwin1.[012])
 15835          allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 15836          ;;
 15837        *) # Darwin 1.3 on
 15838          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 15839            allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 15840          else
 15841            case ${MACOSX_DEPLOYMENT_TARGET} in
 15842              10.[012])
 15843                allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 15844                ;;
 15845              10.*)
 15846                allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 15847                ;;
 15848            esac
 15849          fi
 15850          ;;
 15851       esac
 15852       archive_cmds_need_lc_F77=no
 15853       hardcode_direct_F77=no
 15854       hardcode_automatic_F77=yes
 15855       hardcode_shlibpath_var_F77=unsupported
 15856       whole_archive_flag_spec_F77=''
 15857       link_all_deplibs_F77=yes
 15858     if test "$GCC" = yes ; then
 15859     	output_verbose_link_cmd='echo'
 15860         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}"
 15861         module_cmds_F77="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 15862         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}"
 15863         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}"
 15864     else
 15865       case $cc_basename in
 15866         xlc*)
 15867          output_verbose_link_cmd='echo'
 15868          archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 15869          module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 15870           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 15871          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}'
 15872           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}'
 15873           ;;
 15874        *)
 15875          ld_shlibs_F77=no
 15876           ;;
 15877       esac
 15878     fi
 15879       ;;
 15880 
 15881     dgux*)
 15882       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 15883       hardcode_libdir_flag_spec_F77='-L$libdir'
 15884       hardcode_shlibpath_var_F77=no
 15885       ;;
 15886 
 15887     freebsd1*)
 15888       ld_shlibs_F77=no
 15889       ;;
 15890 
 15891     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 15892     # support.  Future versions do this automatically, but an explicit c++rt0.o
 15893     # does not break anything, and helps significantly (at the cost of a little
 15894     # extra space).
 15895     freebsd2.2*)
 15896       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 15897       hardcode_libdir_flag_spec_F77='-R$libdir'
 15898       hardcode_direct_F77=yes
 15899       hardcode_shlibpath_var_F77=no
 15900       ;;
 15901 
 15902     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 15903     freebsd2*)
 15904       archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 15905       hardcode_direct_F77=yes
 15906       hardcode_minus_L_F77=yes
 15907       hardcode_shlibpath_var_F77=no
 15908       ;;
 15909 
 15910     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 15911     freebsd* | dragonfly*)
 15912       archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 15913       hardcode_libdir_flag_spec_F77='-R$libdir'
 15914       hardcode_direct_F77=yes
 15915       hardcode_shlibpath_var_F77=no
 15916       ;;
 15917 
 15918     hpux9*)
 15919       if test "$GCC" = yes; then
 15920 	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'
 15921       else
 15922 	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'
 15923       fi
 15924       hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 15925       hardcode_libdir_separator_F77=:
 15926       hardcode_direct_F77=yes
 15927 
 15928       # hardcode_minus_L: Not really in the search PATH,
 15929       # but as the default location of the library.
 15930       hardcode_minus_L_F77=yes
 15931       export_dynamic_flag_spec_F77='${wl}-E'
 15932       ;;
 15933 
 15934     hpux10*)
 15935       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 15936 	archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 15937       else
 15938 	archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 15939       fi
 15940       if test "$with_gnu_ld" = no; then
 15941 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 15942 	hardcode_libdir_separator_F77=:
 15943 
 15944 	hardcode_direct_F77=yes
 15945 	export_dynamic_flag_spec_F77='${wl}-E'
 15946 
 15947 	# hardcode_minus_L: Not really in the search PATH,
 15948 	# but as the default location of the library.
 15949 	hardcode_minus_L_F77=yes
 15950       fi
 15951       ;;
 15952 
 15953     hpux11*)
 15954       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 15955 	case $host_cpu in
 15956 	hppa*64*)
 15957 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 15958 	  ;;
 15959 	ia64*)
 15960 	  archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 15961 	  ;;
 15962 	*)
 15963 	  archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 15964 	  ;;
 15965 	esac
 15966       else
 15967 	case $host_cpu in
 15968 	hppa*64*)
 15969 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 15970 	  ;;
 15971 	ia64*)
 15972 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 15973 	  ;;
 15974 	*)
 15975 	  archive_cmds_F77='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 15976 	  ;;
 15977 	esac
 15978       fi
 15979       if test "$with_gnu_ld" = no; then
 15980 	hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
 15981 	hardcode_libdir_separator_F77=:
 15982 
 15983 	case $host_cpu in
 15984 	hppa*64*|ia64*)
 15985 	  hardcode_libdir_flag_spec_ld_F77='+b $libdir'
 15986 	  hardcode_direct_F77=no
 15987 	  hardcode_shlibpath_var_F77=no
 15988 	  ;;
 15989 	*)
 15990 	  hardcode_direct_F77=yes
 15991 	  export_dynamic_flag_spec_F77='${wl}-E'
 15992 
 15993 	  # hardcode_minus_L: Not really in the search PATH,
 15994 	  # but as the default location of the library.
 15995 	  hardcode_minus_L_F77=yes
 15996 	  ;;
 15997 	esac
 15998       fi
 15999       ;;
 16000 
 16001     irix5* | irix6* | nonstopux*)
 16002       if test "$GCC" = yes; then
 16003 	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'
 16004       else
 16005 	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'
 16006 	hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
 16007       fi
 16008       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 16009       hardcode_libdir_separator_F77=:
 16010       link_all_deplibs_F77=yes
 16011       ;;
 16012 
 16013     netbsd*)
 16014       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 16015 	archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 16016       else
 16017 	archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 16018       fi
 16019       hardcode_libdir_flag_spec_F77='-R$libdir'
 16020       hardcode_direct_F77=yes
 16021       hardcode_shlibpath_var_F77=no
 16022       ;;
 16023 
 16024     newsos6)
 16025       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16026       hardcode_direct_F77=yes
 16027       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 16028       hardcode_libdir_separator_F77=:
 16029       hardcode_shlibpath_var_F77=no
 16030       ;;
 16031 
 16032     openbsd*)
 16033       if test -f /usr/libexec/ld.so; then
 16034 	hardcode_direct_F77=yes
 16035 	hardcode_shlibpath_var_F77=no
 16036 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 16037 	  archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 16038 	  archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 16039 	  hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 16040 	  export_dynamic_flag_spec_F77='${wl}-E'
 16041 	else
 16042 	  case $host_os in
 16043 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 16044 	     archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 16045 	     hardcode_libdir_flag_spec_F77='-R$libdir'
 16046 	     ;;
 16047 	   *)
 16048 	     archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 16049 	     hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 16050 	     ;;
 16051 	  esac
 16052         fi
 16053       else
 16054 	ld_shlibs_F77=no
 16055       fi
 16056       ;;
 16057 
 16058     os2*)
 16059       hardcode_libdir_flag_spec_F77='-L$libdir'
 16060       hardcode_minus_L_F77=yes
 16061       allow_undefined_flag_F77=unsupported
 16062       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'
 16063       old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 16064       ;;
 16065 
 16066     osf3*)
 16067       if test "$GCC" = yes; then
 16068 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 16069 	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'
 16070       else
 16071 	allow_undefined_flag_F77=' -expect_unresolved \*'
 16072 	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'
 16073       fi
 16074       hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 16075       hardcode_libdir_separator_F77=:
 16076       ;;
 16077 
 16078     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 16079       if test "$GCC" = yes; then
 16080 	allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
 16081 	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'
 16082 	hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
 16083       else
 16084 	allow_undefined_flag_F77=' -expect_unresolved \*'
 16085 	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'
 16086 	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~
 16087 	$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'
 16088 
 16089 	# Both c and cxx compiler support -rpath directly
 16090 	hardcode_libdir_flag_spec_F77='-rpath $libdir'
 16091       fi
 16092       hardcode_libdir_separator_F77=:
 16093       ;;
 16094 
 16095     solaris*)
 16096       no_undefined_flag_F77=' -z text'
 16097       if test "$GCC" = yes; then
 16098 	wlarc='${wl}'
 16099 	archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 16100 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 16101 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 16102       else
 16103 	wlarc=''
 16104 	archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16105 	archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 16106   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 16107       fi
 16108       hardcode_libdir_flag_spec_F77='-R$libdir'
 16109       hardcode_shlibpath_var_F77=no
 16110       case $host_os in
 16111       solaris2.[0-5] | solaris2.[0-5].*) ;;
 16112       *)
 16113 	# The compiler driver will combine and reorder linker options,
 16114 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 16115 	# but is careful enough not to reorder.
 16116  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 16117 	if test "$GCC" = yes; then
 16118 	  whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 16119 	else
 16120 	  whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 16121 	fi
 16122 	;;
 16123       esac
 16124       link_all_deplibs_F77=yes
 16125       ;;
 16126 
 16127     sunos4*)
 16128       if test "x$host_vendor" = xsequent; then
 16129 	# Use $CC to link under sequent, because it throws in some extra .o
 16130 	# files that make .init and .fini sections work.
 16131 	archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 16132       else
 16133 	archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 16134       fi
 16135       hardcode_libdir_flag_spec_F77='-L$libdir'
 16136       hardcode_direct_F77=yes
 16137       hardcode_minus_L_F77=yes
 16138       hardcode_shlibpath_var_F77=no
 16139       ;;
 16140 
 16141     sysv4)
 16142       case $host_vendor in
 16143 	sni)
 16144 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16145 	  hardcode_direct_F77=yes # is this really true???
 16146 	;;
 16147 	siemens)
 16148 	  ## LD is ld it makes a PLAMLIB
 16149 	  ## CC just makes a GrossModule.
 16150 	  archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 16151 	  reload_cmds_F77='$CC -r -o $output$reload_objs'
 16152 	  hardcode_direct_F77=no
 16153         ;;
 16154 	motorola)
 16155 	  archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16156 	  hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
 16157 	;;
 16158       esac
 16159       runpath_var='LD_RUN_PATH'
 16160       hardcode_shlibpath_var_F77=no
 16161       ;;
 16162 
 16163     sysv4.3*)
 16164       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16165       hardcode_shlibpath_var_F77=no
 16166       export_dynamic_flag_spec_F77='-Bexport'
 16167       ;;
 16168 
 16169     sysv4*MP*)
 16170       if test -d /usr/nec; then
 16171 	archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16172 	hardcode_shlibpath_var_F77=no
 16173 	runpath_var=LD_RUN_PATH
 16174 	hardcode_runpath_var=yes
 16175 	ld_shlibs_F77=yes
 16176       fi
 16177       ;;
 16178 
 16179     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 16180       no_undefined_flag_F77='${wl}-z,text'
 16181       archive_cmds_need_lc_F77=no
 16182       hardcode_shlibpath_var_F77=no
 16183       runpath_var='LD_RUN_PATH'
 16184 
 16185       if test "$GCC" = yes; then
 16186 	archive_cmds_F77='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 16187 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 16188       else
 16189 	archive_cmds_F77='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 16190 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 16191       fi
 16192       ;;
 16193 
 16194     sysv5* | sco3.2v5* | sco5v6*)
 16195       # Note: We can NOT use -z defs as we might desire, because we do not
 16196       # link with -lc, and that would cause any symbols used from libc to
 16197       # always be unresolved, which means just about no library would
 16198       # ever link correctly.  If we're not using GNU ld we use -z text
 16199       # though, which does catch some bad symbols but isn't as heavy-handed
 16200       # as -z defs.
 16201       no_undefined_flag_F77='${wl}-z,text'
 16202       allow_undefined_flag_F77='${wl}-z,nodefs'
 16203       archive_cmds_need_lc_F77=no
 16204       hardcode_shlibpath_var_F77=no
 16205       hardcode_libdir_flag_spec_F77='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 16206       hardcode_libdir_separator_F77=':'
 16207       link_all_deplibs_F77=yes
 16208       export_dynamic_flag_spec_F77='${wl}-Bexport'
 16209       runpath_var='LD_RUN_PATH'
 16210 
 16211       if test "$GCC" = yes; then
 16212 	archive_cmds_F77='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 16213 	archive_expsym_cmds_F77='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 16214       else
 16215 	archive_cmds_F77='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 16216 	archive_expsym_cmds_F77='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 16217       fi
 16218       ;;
 16219 
 16220     uts4*)
 16221       archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 16222       hardcode_libdir_flag_spec_F77='-L$libdir'
 16223       hardcode_shlibpath_var_F77=no
 16224       ;;
 16225 
 16226     *)
 16227       ld_shlibs_F77=no
 16228       ;;
 16229     esac
 16230   fi
 16231 
 16232 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
 16233 $as_echo "$ld_shlibs_F77" >&6; }
 16234 test "$ld_shlibs_F77" = no && can_build_shared=no
 16235 
 16236 #
 16237 # Do we need to explicitly link libc?
 16238 #
 16239 case "x$archive_cmds_need_lc_F77" in
 16240 x|xyes)
 16241   # Assume -lc should be added
 16242   archive_cmds_need_lc_F77=yes
 16243 
 16244   if test "$enable_shared" = yes && test "$GCC" = yes; then
 16245     case $archive_cmds_F77 in
 16246     *'~'*)
 16247       # FIXME: we may have to deal with multi-command sequences.
 16248       ;;
 16249     '$CC '*)
 16250       # Test whether the compiler implicitly links with -lc since on some
 16251       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 16252       # to ld, don't add -lc before -lgcc.
 16253       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 16254 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 16255       $rm conftest*
 16256       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 16257 
 16258       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 16259   (eval $ac_compile) 2>&5
 16260   ac_status=$?
 16261   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16262   (exit $ac_status); } 2>conftest.err; then
 16263         soname=conftest
 16264         lib=conftest
 16265         libobjs=conftest.$ac_objext
 16266         deplibs=
 16267         wl=$lt_prog_compiler_wl_F77
 16268 	pic_flag=$lt_prog_compiler_pic_F77
 16269         compiler_flags=-v
 16270         linker_flags=-v
 16271         verstring=
 16272         output_objdir=.
 16273         libname=conftest
 16274         lt_save_allow_undefined_flag=$allow_undefined_flag_F77
 16275         allow_undefined_flag_F77=
 16276         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 16277   (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 16278   ac_status=$?
 16279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16280   (exit $ac_status); }
 16281         then
 16282 	  archive_cmds_need_lc_F77=no
 16283         else
 16284 	  archive_cmds_need_lc_F77=yes
 16285         fi
 16286         allow_undefined_flag_F77=$lt_save_allow_undefined_flag
 16287       else
 16288         cat conftest.err 1>&5
 16289       fi
 16290       $rm conftest*
 16291       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
 16292 $as_echo "$archive_cmds_need_lc_F77" >&6; }
 16293       ;;
 16294     esac
 16295   fi
 16296   ;;
 16297 esac
 16298 
 16299 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 16300 $as_echo_n "checking dynamic linker characteristics... " >&6; }
 16301 library_names_spec=
 16302 libname_spec='lib$name'
 16303 soname_spec=
 16304 shrext_cmds=".so"
 16305 postinstall_cmds=
 16306 postuninstall_cmds=
 16307 finish_cmds=
 16308 finish_eval=
 16309 shlibpath_var=
 16310 shlibpath_overrides_runpath=unknown
 16311 version_type=none
 16312 dynamic_linker="$host_os ld.so"
 16313 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 16314 
 16315 need_lib_prefix=unknown
 16316 hardcode_into_libs=no
 16317 
 16318 # when you set need_version to no, make sure it does not cause -set_version
 16319 # flags to be left without arguments
 16320 need_version=unknown
 16321 
 16322 case $host_os in
 16323 aix3*)
 16324   version_type=linux
 16325   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 16326   shlibpath_var=LIBPATH
 16327 
 16328   # AIX 3 has no versioning support, so we append a major version to the name.
 16329   soname_spec='${libname}${release}${shared_ext}$major'
 16330   ;;
 16331 
 16332 aix[4-9]*)
 16333   version_type=linux
 16334   need_lib_prefix=no
 16335   need_version=no
 16336   hardcode_into_libs=yes
 16337   if test "$host_cpu" = ia64; then
 16338     # AIX 5 supports IA64
 16339     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 16340     shlibpath_var=LD_LIBRARY_PATH
 16341   else
 16342     # With GCC up to 2.95.x, collect2 would create an import file
 16343     # for dependence libraries.  The import file would start with
 16344     # the line `#! .'.  This would cause the generated library to
 16345     # depend on `.', always an invalid library.  This was fixed in
 16346     # development snapshots of GCC prior to 3.0.
 16347     case $host_os in
 16348       aix4 | aix4.[01] | aix4.[01].*)
 16349       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 16350 	   echo ' yes '
 16351 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 16352 	:
 16353       else
 16354 	can_build_shared=no
 16355       fi
 16356       ;;
 16357     esac
 16358     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 16359     # soname into executable. Probably we can add versioning support to
 16360     # collect2, so additional links can be useful in future.
 16361     if test "$aix_use_runtimelinking" = yes; then
 16362       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 16363       # instead of lib<name>.a to let people know that these are not
 16364       # typical AIX shared libraries.
 16365       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16366     else
 16367       # We preserve .a as extension for shared libraries through AIX4.2
 16368       # and later when we are not doing run time linking.
 16369       library_names_spec='${libname}${release}.a $libname.a'
 16370       soname_spec='${libname}${release}${shared_ext}$major'
 16371     fi
 16372     shlibpath_var=LIBPATH
 16373   fi
 16374   ;;
 16375 
 16376 amigaos*)
 16377   library_names_spec='$libname.ixlibrary $libname.a'
 16378   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 16379   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'
 16380   ;;
 16381 
 16382 beos*)
 16383   library_names_spec='${libname}${shared_ext}'
 16384   dynamic_linker="$host_os ld.so"
 16385   shlibpath_var=LIBRARY_PATH
 16386   ;;
 16387 
 16388 bsdi[45]*)
 16389   version_type=linux
 16390   need_version=no
 16391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16392   soname_spec='${libname}${release}${shared_ext}$major'
 16393   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 16394   shlibpath_var=LD_LIBRARY_PATH
 16395   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 16396   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 16397   # the default ld.so.conf also contains /usr/contrib/lib and
 16398   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 16399   # libtool to hard-code these into programs
 16400   ;;
 16401 
 16402 cygwin* | mingw* | pw32*)
 16403   version_type=windows
 16404   shrext_cmds=".dll"
 16405   need_version=no
 16406   need_lib_prefix=no
 16407 
 16408   case $GCC,$host_os in
 16409   yes,cygwin* | yes,mingw* | yes,pw32*)
 16410     library_names_spec='$libname.dll.a'
 16411     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 16412     postinstall_cmds='base_file=`basename \${file}`~
 16413       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 16414       dldir=$destdir/`dirname \$dlpath`~
 16415       test -d \$dldir || mkdir -p \$dldir~
 16416       $install_prog $dir/$dlname \$dldir/$dlname~
 16417       chmod a+x \$dldir/$dlname'
 16418     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 16419       dlpath=$dir/\$dldll~
 16420        $rm \$dlpath'
 16421     shlibpath_overrides_runpath=yes
 16422 
 16423     case $host_os in
 16424     cygwin*)
 16425       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 16426       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 16427       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 16428       ;;
 16429     mingw*)
 16430       # MinGW DLLs use traditional 'lib' prefix
 16431       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 16432       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 16433       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 16434         # It is most probably a Windows format PATH printed by
 16435         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 16436         # path with ; separators, and with drive letters. We can handle the
 16437         # drive letters (cygwin fileutils understands them), so leave them,
 16438         # especially as we might pass files found there to a mingw objdump,
 16439         # which wouldn't understand a cygwinified path. Ahh.
 16440         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 16441       else
 16442         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 16443       fi
 16444       ;;
 16445     pw32*)
 16446       # pw32 DLLs use 'pw' prefix rather than 'lib'
 16447       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 16448       ;;
 16449     esac
 16450     ;;
 16451 
 16452   *)
 16453     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 16454     ;;
 16455   esac
 16456   dynamic_linker='Win32 ld.exe'
 16457   # FIXME: first we should search . and the directory the executable is in
 16458   shlibpath_var=PATH
 16459   ;;
 16460 
 16461 darwin* | rhapsody*)
 16462   dynamic_linker="$host_os dyld"
 16463   version_type=darwin
 16464   need_lib_prefix=no
 16465   need_version=no
 16466   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 16467   soname_spec='${libname}${release}${major}$shared_ext'
 16468   shlibpath_overrides_runpath=yes
 16469   shlibpath_var=DYLD_LIBRARY_PATH
 16470   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 16471 
 16472   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 16473   ;;
 16474 
 16475 dgux*)
 16476   version_type=linux
 16477   need_lib_prefix=no
 16478   need_version=no
 16479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 16480   soname_spec='${libname}${release}${shared_ext}$major'
 16481   shlibpath_var=LD_LIBRARY_PATH
 16482   ;;
 16483 
 16484 freebsd1*)
 16485   dynamic_linker=no
 16486   ;;
 16487 
 16488 freebsd* | dragonfly*)
 16489   # DragonFly does not have aout.  When/if they implement a new
 16490   # versioning mechanism, adjust this.
 16491   if test -x /usr/bin/objformat; then
 16492     objformat=`/usr/bin/objformat`
 16493   else
 16494     case $host_os in
 16495     freebsd[123]*) objformat=aout ;;
 16496     *) objformat=elf ;;
 16497     esac
 16498   fi
 16499   # Handle Gentoo/FreeBSD as it was Linux
 16500   case $host_vendor in
 16501     gentoo)
 16502       version_type=linux ;;
 16503     *)
 16504       version_type=freebsd-$objformat ;;
 16505   esac
 16506 
 16507   case $version_type in
 16508     freebsd-elf*)
 16509       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 16510       need_version=no
 16511       need_lib_prefix=no
 16512       ;;
 16513     freebsd-*)
 16514       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 16515       need_version=yes
 16516       ;;
 16517     linux)
 16518       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 16519       soname_spec='${libname}${release}${shared_ext}$major'
 16520       need_lib_prefix=no
 16521       need_version=no
 16522       ;;
 16523   esac
 16524   shlibpath_var=LD_LIBRARY_PATH
 16525   case $host_os in
 16526   freebsd2*)
 16527     shlibpath_overrides_runpath=yes
 16528     ;;
 16529   freebsd3.[01]* | freebsdelf3.[01]*)
 16530     shlibpath_overrides_runpath=yes
 16531     hardcode_into_libs=yes
 16532     ;;
 16533   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 16534   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 16535     shlibpath_overrides_runpath=no
 16536     hardcode_into_libs=yes
 16537     ;;
 16538   *) # from 4.6 on, and DragonFly
 16539     shlibpath_overrides_runpath=yes
 16540     hardcode_into_libs=yes
 16541     ;;
 16542   esac
 16543   ;;
 16544 
 16545 gnu*)
 16546   version_type=linux
 16547   need_lib_prefix=no
 16548   need_version=no
 16549   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 16550   soname_spec='${libname}${release}${shared_ext}$major'
 16551   shlibpath_var=LD_LIBRARY_PATH
 16552   hardcode_into_libs=yes
 16553   ;;
 16554 
 16555 hpux9* | hpux10* | hpux11*)
 16556   # Give a soname corresponding to the major version so that dld.sl refuses to
 16557   # link against other versions.
 16558   version_type=sunos
 16559   need_lib_prefix=no
 16560   need_version=no
 16561   case $host_cpu in
 16562   ia64*)
 16563     shrext_cmds='.so'
 16564     hardcode_into_libs=yes
 16565     dynamic_linker="$host_os dld.so"
 16566     shlibpath_var=LD_LIBRARY_PATH
 16567     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 16568     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16569     soname_spec='${libname}${release}${shared_ext}$major'
 16570     if test "X$HPUX_IA64_MODE" = X32; then
 16571       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 16572     else
 16573       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 16574     fi
 16575     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 16576     ;;
 16577    hppa*64*)
 16578      shrext_cmds='.sl'
 16579      hardcode_into_libs=yes
 16580      dynamic_linker="$host_os dld.sl"
 16581      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 16582      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 16583      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16584      soname_spec='${libname}${release}${shared_ext}$major'
 16585      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 16586      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 16587      ;;
 16588    *)
 16589     shrext_cmds='.sl'
 16590     dynamic_linker="$host_os dld.sl"
 16591     shlibpath_var=SHLIB_PATH
 16592     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 16593     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16594     soname_spec='${libname}${release}${shared_ext}$major'
 16595     ;;
 16596   esac
 16597   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 16598   postinstall_cmds='chmod 555 $lib'
 16599   ;;
 16600 
 16601 interix[3-9]*)
 16602   version_type=linux
 16603   need_lib_prefix=no
 16604   need_version=no
 16605   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 16606   soname_spec='${libname}${release}${shared_ext}$major'
 16607   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 16608   shlibpath_var=LD_LIBRARY_PATH
 16609   shlibpath_overrides_runpath=no
 16610   hardcode_into_libs=yes
 16611   ;;
 16612 
 16613 irix5* | irix6* | nonstopux*)
 16614   case $host_os in
 16615     nonstopux*) version_type=nonstopux ;;
 16616     *)
 16617 	if test "$lt_cv_prog_gnu_ld" = yes; then
 16618 		version_type=linux
 16619 	else
 16620 		version_type=irix
 16621 	fi ;;
 16622   esac
 16623   need_lib_prefix=no
 16624   need_version=no
 16625   soname_spec='${libname}${release}${shared_ext}$major'
 16626   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 16627   case $host_os in
 16628   irix5* | nonstopux*)
 16629     libsuff= shlibsuff=
 16630     ;;
 16631   *)
 16632     case $LD in # libtool.m4 will add one of these switches to LD
 16633     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 16634       libsuff= shlibsuff= libmagic=32-bit;;
 16635     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 16636       libsuff=32 shlibsuff=N32 libmagic=N32;;
 16637     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 16638       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 16639     *) libsuff= shlibsuff= libmagic=never-match;;
 16640     esac
 16641     ;;
 16642   esac
 16643   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 16644   shlibpath_overrides_runpath=no
 16645   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 16646   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 16647   hardcode_into_libs=yes
 16648   ;;
 16649 
 16650 # No shared lib support for Linux oldld, aout, or coff.
 16651 linux*oldld* | linux*aout* | linux*coff*)
 16652   dynamic_linker=no
 16653   ;;
 16654 
 16655 # This must be Linux ELF.
 16656 linux* | k*bsd*-gnu)
 16657   version_type=linux
 16658   need_lib_prefix=no
 16659   need_version=no
 16660   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16661   soname_spec='${libname}${release}${shared_ext}$major'
 16662   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 16663   shlibpath_var=LD_LIBRARY_PATH
 16664   shlibpath_overrides_runpath=no
 16665   # This implies no fast_install, which is unacceptable.
 16666   # Some rework will be needed to allow for fast_install
 16667   # before this can be enabled.
 16668   hardcode_into_libs=yes
 16669 
 16670   # Append ld.so.conf contents to the search path
 16671   if test -f /etc/ld.so.conf; then
 16672     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' ' '`
 16673     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 16674   fi
 16675 
 16676   # We used to test for /lib/ld.so.1 and disable shared libraries on
 16677   # powerpc, because MkLinux only supported shared libraries with the
 16678   # GNU dynamic linker.  Since this was broken with cross compilers,
 16679   # most powerpc-linux boxes support dynamic linking these days and
 16680   # people can always --disable-shared, the test was removed, and we
 16681   # assume the GNU/Linux dynamic linker is in use.
 16682   dynamic_linker='GNU/Linux ld.so'
 16683   ;;
 16684 
 16685 netbsd*)
 16686   version_type=sunos
 16687   need_lib_prefix=no
 16688   need_version=no
 16689   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 16690     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 16691     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 16692     dynamic_linker='NetBSD (a.out) ld.so'
 16693   else
 16694     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 16695     soname_spec='${libname}${release}${shared_ext}$major'
 16696     dynamic_linker='NetBSD ld.elf_so'
 16697   fi
 16698   shlibpath_var=LD_LIBRARY_PATH
 16699   shlibpath_overrides_runpath=yes
 16700   hardcode_into_libs=yes
 16701   ;;
 16702 
 16703 newsos6)
 16704   version_type=linux
 16705   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16706   shlibpath_var=LD_LIBRARY_PATH
 16707   shlibpath_overrides_runpath=yes
 16708   ;;
 16709 
 16710 nto-qnx*)
 16711   version_type=linux
 16712   need_lib_prefix=no
 16713   need_version=no
 16714   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16715   soname_spec='${libname}${release}${shared_ext}$major'
 16716   shlibpath_var=LD_LIBRARY_PATH
 16717   shlibpath_overrides_runpath=yes
 16718   ;;
 16719 
 16720 openbsd*)
 16721   version_type=sunos
 16722   sys_lib_dlsearch_path_spec="/usr/lib"
 16723   need_lib_prefix=no
 16724   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 16725   case $host_os in
 16726     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 16727     *)                         need_version=no  ;;
 16728   esac
 16729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 16730   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 16731   shlibpath_var=LD_LIBRARY_PATH
 16732   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 16733     case $host_os in
 16734       openbsd2.[89] | openbsd2.[89].*)
 16735 	shlibpath_overrides_runpath=no
 16736 	;;
 16737       *)
 16738 	shlibpath_overrides_runpath=yes
 16739 	;;
 16740       esac
 16741   else
 16742     shlibpath_overrides_runpath=yes
 16743   fi
 16744   ;;
 16745 
 16746 os2*)
 16747   libname_spec='$name'
 16748   shrext_cmds=".dll"
 16749   need_lib_prefix=no
 16750   library_names_spec='$libname${shared_ext} $libname.a'
 16751   dynamic_linker='OS/2 ld.exe'
 16752   shlibpath_var=LIBPATH
 16753   ;;
 16754 
 16755 osf3* | osf4* | osf5*)
 16756   version_type=osf
 16757   need_lib_prefix=no
 16758   need_version=no
 16759   soname_spec='${libname}${release}${shared_ext}$major'
 16760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16761   shlibpath_var=LD_LIBRARY_PATH
 16762   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 16763   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 16764   ;;
 16765 
 16766 rdos*)
 16767   dynamic_linker=no
 16768   ;;
 16769 
 16770 solaris*)
 16771   version_type=linux
 16772   need_lib_prefix=no
 16773   need_version=no
 16774   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16775   soname_spec='${libname}${release}${shared_ext}$major'
 16776   shlibpath_var=LD_LIBRARY_PATH
 16777   shlibpath_overrides_runpath=yes
 16778   hardcode_into_libs=yes
 16779   # ldd complains unless libraries are executable
 16780   postinstall_cmds='chmod +x $lib'
 16781   ;;
 16782 
 16783 sunos4*)
 16784   version_type=sunos
 16785   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 16786   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 16787   shlibpath_var=LD_LIBRARY_PATH
 16788   shlibpath_overrides_runpath=yes
 16789   if test "$with_gnu_ld" = yes; then
 16790     need_lib_prefix=no
 16791   fi
 16792   need_version=yes
 16793   ;;
 16794 
 16795 sysv4 | sysv4.3*)
 16796   version_type=linux
 16797   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16798   soname_spec='${libname}${release}${shared_ext}$major'
 16799   shlibpath_var=LD_LIBRARY_PATH
 16800   case $host_vendor in
 16801     sni)
 16802       shlibpath_overrides_runpath=no
 16803       need_lib_prefix=no
 16804       export_dynamic_flag_spec='${wl}-Blargedynsym'
 16805       runpath_var=LD_RUN_PATH
 16806       ;;
 16807     siemens)
 16808       need_lib_prefix=no
 16809       ;;
 16810     motorola)
 16811       need_lib_prefix=no
 16812       need_version=no
 16813       shlibpath_overrides_runpath=no
 16814       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 16815       ;;
 16816   esac
 16817   ;;
 16818 
 16819 sysv4*MP*)
 16820   if test -d /usr/nec ;then
 16821     version_type=linux
 16822     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 16823     soname_spec='$libname${shared_ext}.$major'
 16824     shlibpath_var=LD_LIBRARY_PATH
 16825   fi
 16826   ;;
 16827 
 16828 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 16829   version_type=freebsd-elf
 16830   need_lib_prefix=no
 16831   need_version=no
 16832   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 16833   soname_spec='${libname}${release}${shared_ext}$major'
 16834   shlibpath_var=LD_LIBRARY_PATH
 16835   hardcode_into_libs=yes
 16836   if test "$with_gnu_ld" = yes; then
 16837     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 16838     shlibpath_overrides_runpath=no
 16839   else
 16840     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 16841     shlibpath_overrides_runpath=yes
 16842     case $host_os in
 16843       sco3.2v5*)
 16844         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 16845 	;;
 16846     esac
 16847   fi
 16848   sys_lib_dlsearch_path_spec='/usr/lib'
 16849   ;;
 16850 
 16851 uts4*)
 16852   version_type=linux
 16853   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 16854   soname_spec='${libname}${release}${shared_ext}$major'
 16855   shlibpath_var=LD_LIBRARY_PATH
 16856   ;;
 16857 
 16858 *)
 16859   dynamic_linker=no
 16860   ;;
 16861 esac
 16862 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 16863 $as_echo "$dynamic_linker" >&6; }
 16864 test "$dynamic_linker" = no && can_build_shared=no
 16865 
 16866 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 16867   $as_echo_n "(cached) " >&6
 16868 else
 16869   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 16870 fi
 16871 
 16872 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 16873 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 16874   $as_echo_n "(cached) " >&6
 16875 else
 16876   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 16877 fi
 16878 
 16879 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 16880 
 16881 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 16882 if test "$GCC" = yes; then
 16883   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 16884 fi
 16885 
 16886 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 16887 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 16888 hardcode_action_F77=
 16889 if test -n "$hardcode_libdir_flag_spec_F77" || \
 16890    test -n "$runpath_var_F77" || \
 16891    test "X$hardcode_automatic_F77" = "Xyes" ; then
 16892 
 16893   # We can hardcode non-existant directories.
 16894   if test "$hardcode_direct_F77" != no &&
 16895      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 16896      # have to relink, otherwise we might link with an installed library
 16897      # when we should be linking with a yet-to-be-installed one
 16898      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
 16899      test "$hardcode_minus_L_F77" != no; then
 16900     # Linking always hardcodes the temporary library directory.
 16901     hardcode_action_F77=relink
 16902   else
 16903     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 16904     hardcode_action_F77=immediate
 16905   fi
 16906 else
 16907   # We cannot hardcode anything, or else we can only hardcode existing
 16908   # directories.
 16909   hardcode_action_F77=unsupported
 16910 fi
 16911 { $as_echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
 16912 $as_echo "$hardcode_action_F77" >&6; }
 16913 
 16914 if test "$hardcode_action_F77" = relink; then
 16915   # Fast installation is not supported
 16916   enable_fast_install=no
 16917 elif test "$shlibpath_overrides_runpath" = yes ||
 16918      test "$enable_shared" = no; then
 16919   # Fast installation is not necessary
 16920   enable_fast_install=needless
 16921 fi
 16922 
 16923 
 16924 # The else clause should only fire when bootstrapping the
 16925 # libtool distribution, otherwise you forgot to ship ltmain.sh
 16926 # with your package, and you will get complaints that there are
 16927 # no rules to generate ltmain.sh.
 16928 if test -f "$ltmain"; then
 16929   # See if we are running on zsh, and set the options which allow our commands through
 16930   # without removal of \ escapes.
 16931   if test -n "${ZSH_VERSION+set}" ; then
 16932     setopt NO_GLOB_SUBST
 16933   fi
 16934   # Now quote all the things that may contain metacharacters while being
 16935   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 16936   # variables and quote the copies for generation of the libtool script.
 16937   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 16938     SED SHELL STRIP \
 16939     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 16940     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 16941     deplibs_check_method reload_flag reload_cmds need_locks \
 16942     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 16943     lt_cv_sys_global_symbol_to_c_name_address \
 16944     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 16945     old_postinstall_cmds old_postuninstall_cmds \
 16946     compiler_F77 \
 16947     CC_F77 \
 16948     LD_F77 \
 16949     lt_prog_compiler_wl_F77 \
 16950     lt_prog_compiler_pic_F77 \
 16951     lt_prog_compiler_static_F77 \
 16952     lt_prog_compiler_no_builtin_flag_F77 \
 16953     export_dynamic_flag_spec_F77 \
 16954     thread_safe_flag_spec_F77 \
 16955     whole_archive_flag_spec_F77 \
 16956     enable_shared_with_static_runtimes_F77 \
 16957     old_archive_cmds_F77 \
 16958     old_archive_from_new_cmds_F77 \
 16959     predep_objects_F77 \
 16960     postdep_objects_F77 \
 16961     predeps_F77 \
 16962     postdeps_F77 \
 16963     compiler_lib_search_path_F77 \
 16964     compiler_lib_search_dirs_F77 \
 16965     archive_cmds_F77 \
 16966     archive_expsym_cmds_F77 \
 16967     postinstall_cmds_F77 \
 16968     postuninstall_cmds_F77 \
 16969     old_archive_from_expsyms_cmds_F77 \
 16970     allow_undefined_flag_F77 \
 16971     no_undefined_flag_F77 \
 16972     export_symbols_cmds_F77 \
 16973     hardcode_libdir_flag_spec_F77 \
 16974     hardcode_libdir_flag_spec_ld_F77 \
 16975     hardcode_libdir_separator_F77 \
 16976     hardcode_automatic_F77 \
 16977     module_cmds_F77 \
 16978     module_expsym_cmds_F77 \
 16979     lt_cv_prog_compiler_c_o_F77 \
 16980     fix_srcfile_path_F77 \
 16981     exclude_expsyms_F77 \
 16982     include_expsyms_F77; do
 16983 
 16984     case $var in
 16985     old_archive_cmds_F77 | \
 16986     old_archive_from_new_cmds_F77 | \
 16987     archive_cmds_F77 | \
 16988     archive_expsym_cmds_F77 | \
 16989     module_cmds_F77 | \
 16990     module_expsym_cmds_F77 | \
 16991     old_archive_from_expsyms_cmds_F77 | \
 16992     export_symbols_cmds_F77 | \
 16993     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 16994     postinstall_cmds | postuninstall_cmds | \
 16995     old_postinstall_cmds | old_postuninstall_cmds | \
 16996     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 16997       # Double-quote double-evaled strings.
 16998       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 16999       ;;
 17000     *)
 17001       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 17002       ;;
 17003     esac
 17004   done
 17005 
 17006   case $lt_echo in
 17007   *'\$0 --fallback-echo"')
 17008     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 17009     ;;
 17010   esac
 17011 
 17012 cfgfile="$ofile"
 17013 
 17014   cat <<__EOF__ >> "$cfgfile"
 17015 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 17016 
 17017 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 17018 
 17019 # Shell to use when invoking shell scripts.
 17020 SHELL=$lt_SHELL
 17021 
 17022 # Whether or not to build shared libraries.
 17023 build_libtool_libs=$enable_shared
 17024 
 17025 # Whether or not to build static libraries.
 17026 build_old_libs=$enable_static
 17027 
 17028 # Whether or not to add -lc for building shared libraries.
 17029 build_libtool_need_lc=$archive_cmds_need_lc_F77
 17030 
 17031 # Whether or not to disallow shared libs when runtime libs are static
 17032 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
 17033 
 17034 # Whether or not to optimize for fast installation.
 17035 fast_install=$enable_fast_install
 17036 
 17037 # The host system.
 17038 host_alias=$host_alias
 17039 host=$host
 17040 host_os=$host_os
 17041 
 17042 # The build system.
 17043 build_alias=$build_alias
 17044 build=$build
 17045 build_os=$build_os
 17046 
 17047 # An echo program that does not interpret backslashes.
 17048 echo=$lt_echo
 17049 
 17050 # The archiver.
 17051 AR=$lt_AR
 17052 AR_FLAGS=$lt_AR_FLAGS
 17053 
 17054 # A C compiler.
 17055 LTCC=$lt_LTCC
 17056 
 17057 # LTCC compiler flags.
 17058 LTCFLAGS=$lt_LTCFLAGS
 17059 
 17060 # A language-specific compiler.
 17061 CC=$lt_compiler_F77
 17062 
 17063 # Is the compiler the GNU C compiler?
 17064 with_gcc=$GCC_F77
 17065 
 17066 # An ERE matcher.
 17067 EGREP=$lt_EGREP
 17068 
 17069 # The linker used to build libraries.
 17070 LD=$lt_LD_F77
 17071 
 17072 # Whether we need hard or soft links.
 17073 LN_S=$lt_LN_S
 17074 
 17075 # A BSD-compatible nm program.
 17076 NM=$lt_NM
 17077 
 17078 # A symbol stripping program
 17079 STRIP=$lt_STRIP
 17080 
 17081 # Used to examine libraries when file_magic_cmd begins "file"
 17082 MAGIC_CMD=$MAGIC_CMD
 17083 
 17084 # Used on cygwin: DLL creation program.
 17085 DLLTOOL="$DLLTOOL"
 17086 
 17087 # Used on cygwin: object dumper.
 17088 OBJDUMP="$OBJDUMP"
 17089 
 17090 # Used on cygwin: assembler.
 17091 AS="$AS"
 17092 
 17093 # The name of the directory that contains temporary libtool files.
 17094 objdir=$objdir
 17095 
 17096 # How to create reloadable object files.
 17097 reload_flag=$lt_reload_flag
 17098 reload_cmds=$lt_reload_cmds
 17099 
 17100 # How to pass a linker flag through the compiler.
 17101 wl=$lt_lt_prog_compiler_wl_F77
 17102 
 17103 # Object file suffix (normally "o").
 17104 objext="$ac_objext"
 17105 
 17106 # Old archive suffix (normally "a").
 17107 libext="$libext"
 17108 
 17109 # Shared library suffix (normally ".so").
 17110 shrext_cmds='$shrext_cmds'
 17111 
 17112 # Executable file suffix (normally "").
 17113 exeext="$exeext"
 17114 
 17115 # Additional compiler flags for building library objects.
 17116 pic_flag=$lt_lt_prog_compiler_pic_F77
 17117 pic_mode=$pic_mode
 17118 
 17119 # What is the maximum length of a command?
 17120 max_cmd_len=$lt_cv_sys_max_cmd_len
 17121 
 17122 # Does compiler simultaneously support -c and -o options?
 17123 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
 17124 
 17125 # Must we lock files when doing compilation?
 17126 need_locks=$lt_need_locks
 17127 
 17128 # Do we need the lib prefix for modules?
 17129 need_lib_prefix=$need_lib_prefix
 17130 
 17131 # Do we need a version for libraries?
 17132 need_version=$need_version
 17133 
 17134 # Whether dlopen is supported.
 17135 dlopen_support=$enable_dlopen
 17136 
 17137 # Whether dlopen of programs is supported.
 17138 dlopen_self=$enable_dlopen_self
 17139 
 17140 # Whether dlopen of statically linked programs is supported.
 17141 dlopen_self_static=$enable_dlopen_self_static
 17142 
 17143 # Compiler flag to prevent dynamic linking.
 17144 link_static_flag=$lt_lt_prog_compiler_static_F77
 17145 
 17146 # Compiler flag to turn off builtin functions.
 17147 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
 17148 
 17149 # Compiler flag to allow reflexive dlopens.
 17150 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
 17151 
 17152 # Compiler flag to generate shared objects directly from archives.
 17153 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
 17154 
 17155 # Compiler flag to generate thread-safe objects.
 17156 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
 17157 
 17158 # Library versioning type.
 17159 version_type=$version_type
 17160 
 17161 # Format of library name prefix.
 17162 libname_spec=$lt_libname_spec
 17163 
 17164 # List of archive names.  First name is the real one, the rest are links.
 17165 # The last name is the one that the linker finds with -lNAME.
 17166 library_names_spec=$lt_library_names_spec
 17167 
 17168 # The coded name of the library, if different from the real name.
 17169 soname_spec=$lt_soname_spec
 17170 
 17171 # Commands used to build and install an old-style archive.
 17172 RANLIB=$lt_RANLIB
 17173 old_archive_cmds=$lt_old_archive_cmds_F77
 17174 old_postinstall_cmds=$lt_old_postinstall_cmds
 17175 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 17176 
 17177 # Create an old-style archive from a shared archive.
 17178 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
 17179 
 17180 # Create a temporary old-style archive to link instead of a shared archive.
 17181 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
 17182 
 17183 # Commands used to build and install a shared archive.
 17184 archive_cmds=$lt_archive_cmds_F77
 17185 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
 17186 postinstall_cmds=$lt_postinstall_cmds
 17187 postuninstall_cmds=$lt_postuninstall_cmds
 17188 
 17189 # Commands used to build a loadable module (assumed same as above if empty)
 17190 module_cmds=$lt_module_cmds_F77
 17191 module_expsym_cmds=$lt_module_expsym_cmds_F77
 17192 
 17193 # Commands to strip libraries.
 17194 old_striplib=$lt_old_striplib
 17195 striplib=$lt_striplib
 17196 
 17197 # Dependencies to place before the objects being linked to create a
 17198 # shared library.
 17199 predep_objects=$lt_predep_objects_F77
 17200 
 17201 # Dependencies to place after the objects being linked to create a
 17202 # shared library.
 17203 postdep_objects=$lt_postdep_objects_F77
 17204 
 17205 # Dependencies to place before the objects being linked to create a
 17206 # shared library.
 17207 predeps=$lt_predeps_F77
 17208 
 17209 # Dependencies to place after the objects being linked to create a
 17210 # shared library.
 17211 postdeps=$lt_postdeps_F77
 17212 
 17213 # The directories searched by this compiler when creating a shared
 17214 # library
 17215 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_F77
 17216 
 17217 # The library search path used internally by the compiler when linking
 17218 # a shared library.
 17219 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
 17220 
 17221 # Method to check whether dependent libraries are shared objects.
 17222 deplibs_check_method=$lt_deplibs_check_method
 17223 
 17224 # Command to use when deplibs_check_method == file_magic.
 17225 file_magic_cmd=$lt_file_magic_cmd
 17226 
 17227 # Flag that allows shared libraries with undefined symbols to be built.
 17228 allow_undefined_flag=$lt_allow_undefined_flag_F77
 17229 
 17230 # Flag that forces no undefined symbols.
 17231 no_undefined_flag=$lt_no_undefined_flag_F77
 17232 
 17233 # Commands used to finish a libtool library installation in a directory.
 17234 finish_cmds=$lt_finish_cmds
 17235 
 17236 # Same as above, but a single script fragment to be evaled but not shown.
 17237 finish_eval=$lt_finish_eval
 17238 
 17239 # Take the output of nm and produce a listing of raw symbols and C names.
 17240 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 17241 
 17242 # Transform the output of nm in a proper C declaration
 17243 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 17244 
 17245 # Transform the output of nm in a C name address pair
 17246 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 17247 
 17248 # This is the shared library runtime path variable.
 17249 runpath_var=$runpath_var
 17250 
 17251 # This is the shared library path variable.
 17252 shlibpath_var=$shlibpath_var
 17253 
 17254 # Is shlibpath searched before the hard-coded library search path?
 17255 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 17256 
 17257 # How to hardcode a shared library path into an executable.
 17258 hardcode_action=$hardcode_action_F77
 17259 
 17260 # Whether we should hardcode library paths into libraries.
 17261 hardcode_into_libs=$hardcode_into_libs
 17262 
 17263 # Flag to hardcode \$libdir into a binary during linking.
 17264 # This must work even if \$libdir does not exist.
 17265 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
 17266 
 17267 # If ld is used when linking, flag to hardcode \$libdir into
 17268 # a binary during linking. This must work even if \$libdir does
 17269 # not exist.
 17270 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
 17271 
 17272 # Whether we need a single -rpath flag with a separated argument.
 17273 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
 17274 
 17275 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 17276 # resulting binary.
 17277 hardcode_direct=$hardcode_direct_F77
 17278 
 17279 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 17280 # resulting binary.
 17281 hardcode_minus_L=$hardcode_minus_L_F77
 17282 
 17283 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 17284 # the resulting binary.
 17285 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
 17286 
 17287 # Set to yes if building a shared library automatically hardcodes DIR into the library
 17288 # and all subsequent libraries and executables linked against it.
 17289 hardcode_automatic=$hardcode_automatic_F77
 17290 
 17291 # Variables whose values should be saved in libtool wrapper scripts and
 17292 # restored at relink time.
 17293 variables_saved_for_relink="$variables_saved_for_relink"
 17294 
 17295 # Whether libtool must link a program against all its dependency libraries.
 17296 link_all_deplibs=$link_all_deplibs_F77
 17297 
 17298 # Compile-time system search path for libraries
 17299 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 17300 
 17301 # Run-time system search path for libraries
 17302 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 17303 
 17304 # Fix the shell variable \$srcfile for the compiler.
 17305 fix_srcfile_path=$lt_fix_srcfile_path
 17306 
 17307 # Set to yes if exported symbols are required.
 17308 always_export_symbols=$always_export_symbols_F77
 17309 
 17310 # The commands to list exported symbols.
 17311 export_symbols_cmds=$lt_export_symbols_cmds_F77
 17312 
 17313 # The commands to extract the exported symbol list from a shared archive.
 17314 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 17315 
 17316 # Symbols that should not be listed in the preloaded symbols.
 17317 exclude_expsyms=$lt_exclude_expsyms_F77
 17318 
 17319 # Symbols that must always be exported.
 17320 include_expsyms=$lt_include_expsyms_F77
 17321 
 17322 # ### END LIBTOOL TAG CONFIG: $tagname
 17323 
 17324 __EOF__
 17325 
 17326 
 17327 else
 17328   # If there is no Makefile yet, we rely on a make rule to execute
 17329   # `config.status --recheck' to rerun these tests and create the
 17330   # libtool script then.
 17331   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 17332   if test -f "$ltmain_in"; then
 17333     test -f Makefile && make "$ltmain"
 17334   fi
 17335 fi
 17336 
 17337 
 17338 ac_ext=c
 17339 ac_cpp='$CPP $CPPFLAGS'
 17340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 17341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 17342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 17343 
 17344 CC="$lt_save_CC"
 17345 
 17346 	else
 17347 	  tagname=""
 17348 	fi
 17349 	;;
 17350 
 17351       GCJ)
 17352 	if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
 17353 
 17354 
 17355 # Source file extension for Java test sources.
 17356 ac_ext=java
 17357 
 17358 # Object file extension for compiled Java test sources.
 17359 objext=o
 17360 objext_GCJ=$objext
 17361 
 17362 # Code to be used in simple compile tests
 17363 lt_simple_compile_test_code="class foo {}"
 17364 
 17365 # Code to be used in simple link tests
 17366 lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
 17367 
 17368 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 17369 
 17370 # If no C compiler was specified, use CC.
 17371 LTCC=${LTCC-"$CC"}
 17372 
 17373 # If no C compiler flags were specified, use CFLAGS.
 17374 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 17375 
 17376 # Allow CC to be a program name with arguments.
 17377 compiler=$CC
 17378 
 17379 
 17380 # save warnings/boilerplate of simple test code
 17381 ac_outfile=conftest.$ac_objext
 17382 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 17383 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 17384 _lt_compiler_boilerplate=`cat conftest.err`
 17385 $rm conftest*
 17386 
 17387 ac_outfile=conftest.$ac_objext
 17388 echo "$lt_simple_link_test_code" >conftest.$ac_ext
 17389 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 17390 _lt_linker_boilerplate=`cat conftest.err`
 17391 $rm -r conftest*
 17392 
 17393 
 17394 # Allow CC to be a program name with arguments.
 17395 lt_save_CC="$CC"
 17396 CC=${GCJ-"gcj"}
 17397 compiler=$CC
 17398 compiler_GCJ=$CC
 17399 for cc_temp in $compiler""; do
 17400   case $cc_temp in
 17401     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 17402     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 17403     \-*) ;;
 17404     *) break;;
 17405   esac
 17406 done
 17407 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 17408 
 17409 
 17410 # GCJ did not exist at the time GCC didn't implicitly link libc in.
 17411 archive_cmds_need_lc_GCJ=no
 17412 
 17413 old_archive_cmds_GCJ=$old_archive_cmds
 17414 
 17415 
 17416 lt_prog_compiler_no_builtin_flag_GCJ=
 17417 
 17418 if test "$GCC" = yes; then
 17419   lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
 17420 
 17421 
 17422 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
 17423 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
 17424 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
 17425   $as_echo_n "(cached) " >&6
 17426 else
 17427   lt_cv_prog_compiler_rtti_exceptions=no
 17428   ac_outfile=conftest.$ac_objext
 17429    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 17430    lt_compiler_flag="-fno-rtti -fno-exceptions"
 17431    # Insert the option either (1) after the last *FLAGS variable, or
 17432    # (2) before a word containing "conftest.", or (3) at the end.
 17433    # Note that $ac_compile itself does not contain backslashes and begins
 17434    # with a dollar sign (not a hyphen), so the echo should work correctly.
 17435    # The option is referenced via a variable to avoid confusing sed.
 17436    lt_compile=`echo "$ac_compile" | $SED \
 17437    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 17438    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 17439    -e 's:$: $lt_compiler_flag:'`
 17440    (eval echo "\"\$as_me:17440: $lt_compile\"" >&5)
 17441    (eval "$lt_compile" 2>conftest.err)
 17442    ac_status=$?
 17443    cat conftest.err >&5
 17444    echo "$as_me:17444: \$? = $ac_status" >&5
 17445    if (exit $ac_status) && test -s "$ac_outfile"; then
 17446      # The compiler can only warn and ignore the option if not recognized
 17447      # So say no if there are warnings other than the usual output.
 17448      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 17449      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 17450      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 17451        lt_cv_prog_compiler_rtti_exceptions=yes
 17452      fi
 17453    fi
 17454    $rm conftest*
 17455 
 17456 fi
 17457 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
 17458 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
 17459 
 17460 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
 17461     lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
 17462 else
 17463     :
 17464 fi
 17465 
 17466 fi
 17467 
 17468 lt_prog_compiler_wl_GCJ=
 17469 lt_prog_compiler_pic_GCJ=
 17470 lt_prog_compiler_static_GCJ=
 17471 
 17472 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 17473 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 17474 
 17475   if test "$GCC" = yes; then
 17476     lt_prog_compiler_wl_GCJ='-Wl,'
 17477     lt_prog_compiler_static_GCJ='-static'
 17478 
 17479     case $host_os in
 17480       aix*)
 17481       # All AIX code is PIC.
 17482       if test "$host_cpu" = ia64; then
 17483 	# AIX 5 now supports IA64 processor
 17484 	lt_prog_compiler_static_GCJ='-Bstatic'
 17485       fi
 17486       ;;
 17487 
 17488     amigaos*)
 17489       # FIXME: we need at least 68020 code to build shared libraries, but
 17490       # adding the `-m68020' flag to GCC prevents building anything better,
 17491       # like `-m68040'.
 17492       lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
 17493       ;;
 17494 
 17495     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 17496       # PIC is the default for these OSes.
 17497       ;;
 17498 
 17499     mingw* | cygwin* | pw32* | os2*)
 17500       # This hack is so that the source file can tell whether it is being
 17501       # built for inclusion in a dll (and should export symbols for example).
 17502       # Although the cygwin gcc ignores -fPIC, still need this for old-style
 17503       # (--disable-auto-import) libraries
 17504 
 17505       ;;
 17506 
 17507     darwin* | rhapsody*)
 17508       # PIC is the default on this platform
 17509       # Common symbols not allowed in MH_DYLIB files
 17510       lt_prog_compiler_pic_GCJ='-fno-common'
 17511       ;;
 17512 
 17513     interix[3-9]*)
 17514       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 17515       # Instead, we relocate shared libraries at runtime.
 17516       ;;
 17517 
 17518     msdosdjgpp*)
 17519       # Just because we use GCC doesn't mean we suddenly get shared libraries
 17520       # on systems that don't support them.
 17521       lt_prog_compiler_can_build_shared_GCJ=no
 17522       enable_shared=no
 17523       ;;
 17524 
 17525     sysv4*MP*)
 17526       if test -d /usr/nec; then
 17527 	lt_prog_compiler_pic_GCJ=-Kconform_pic
 17528       fi
 17529       ;;
 17530 
 17531     hpux*)
 17532       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 17533       # not for PA HP-UX.
 17534       case $host_cpu in
 17535       hppa*64*|ia64*)
 17536 	# +Z the default
 17537 	;;
 17538       *)
 17539 	lt_prog_compiler_pic_GCJ='-fPIC'
 17540 	;;
 17541       esac
 17542       ;;
 17543 
 17544     *)
 17545       lt_prog_compiler_pic_GCJ='-fPIC'
 17546       ;;
 17547     esac
 17548   else
 17549     # PORTME Check for flag to pass linker flags through the system compiler.
 17550     case $host_os in
 17551     aix*)
 17552       lt_prog_compiler_wl_GCJ='-Wl,'
 17553       if test "$host_cpu" = ia64; then
 17554 	# AIX 5 now supports IA64 processor
 17555 	lt_prog_compiler_static_GCJ='-Bstatic'
 17556       else
 17557 	lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
 17558       fi
 17559       ;;
 17560       darwin*)
 17561         # PIC is the default on this platform
 17562         # Common symbols not allowed in MH_DYLIB files
 17563        case $cc_basename in
 17564          xlc*)
 17565          lt_prog_compiler_pic_GCJ='-qnocommon'
 17566          lt_prog_compiler_wl_GCJ='-Wl,'
 17567          ;;
 17568        esac
 17569        ;;
 17570 
 17571     mingw* | cygwin* | pw32* | os2*)
 17572       # This hack is so that the source file can tell whether it is being
 17573       # built for inclusion in a dll (and should export symbols for example).
 17574 
 17575       ;;
 17576 
 17577     hpux9* | hpux10* | hpux11*)
 17578       lt_prog_compiler_wl_GCJ='-Wl,'
 17579       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
 17580       # not for PA HP-UX.
 17581       case $host_cpu in
 17582       hppa*64*|ia64*)
 17583 	# +Z the default
 17584 	;;
 17585       *)
 17586 	lt_prog_compiler_pic_GCJ='+Z'
 17587 	;;
 17588       esac
 17589       # Is there a better lt_prog_compiler_static that works with the bundled CC?
 17590       lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
 17591       ;;
 17592 
 17593     irix5* | irix6* | nonstopux*)
 17594       lt_prog_compiler_wl_GCJ='-Wl,'
 17595       # PIC (with -KPIC) is the default.
 17596       lt_prog_compiler_static_GCJ='-non_shared'
 17597       ;;
 17598 
 17599     newsos6)
 17600       lt_prog_compiler_pic_GCJ='-KPIC'
 17601       lt_prog_compiler_static_GCJ='-Bstatic'
 17602       ;;
 17603 
 17604     linux* | k*bsd*-gnu)
 17605       case $cc_basename in
 17606       icc* | ecc*)
 17607 	lt_prog_compiler_wl_GCJ='-Wl,'
 17608 	lt_prog_compiler_pic_GCJ='-KPIC'
 17609 	lt_prog_compiler_static_GCJ='-static'
 17610         ;;
 17611       pgcc* | pgf77* | pgf90* | pgf95*)
 17612         # Portland Group compilers (*not* the Pentium gcc compiler,
 17613 	# which looks to be a dead project)
 17614 	lt_prog_compiler_wl_GCJ='-Wl,'
 17615 	lt_prog_compiler_pic_GCJ='-fpic'
 17616 	lt_prog_compiler_static_GCJ='-Bstatic'
 17617         ;;
 17618       ccc*)
 17619         lt_prog_compiler_wl_GCJ='-Wl,'
 17620         # All Alpha code is PIC.
 17621         lt_prog_compiler_static_GCJ='-non_shared'
 17622         ;;
 17623       *)
 17624         case `$CC -V 2>&1 | sed 5q` in
 17625 	*Sun\ C*)
 17626 	  # Sun C 5.9
 17627 	  lt_prog_compiler_pic_GCJ='-KPIC'
 17628 	  lt_prog_compiler_static_GCJ='-Bstatic'
 17629 	  lt_prog_compiler_wl_GCJ='-Wl,'
 17630 	  ;;
 17631 	*Sun\ F*)
 17632 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
 17633 	  lt_prog_compiler_pic_GCJ='-KPIC'
 17634 	  lt_prog_compiler_static_GCJ='-Bstatic'
 17635 	  lt_prog_compiler_wl_GCJ=''
 17636 	  ;;
 17637 	esac
 17638 	;;
 17639       esac
 17640       ;;
 17641 
 17642     osf3* | osf4* | osf5*)
 17643       lt_prog_compiler_wl_GCJ='-Wl,'
 17644       # All OSF/1 code is PIC.
 17645       lt_prog_compiler_static_GCJ='-non_shared'
 17646       ;;
 17647 
 17648     rdos*)
 17649       lt_prog_compiler_static_GCJ='-non_shared'
 17650       ;;
 17651 
 17652     solaris*)
 17653       lt_prog_compiler_pic_GCJ='-KPIC'
 17654       lt_prog_compiler_static_GCJ='-Bstatic'
 17655       case $cc_basename in
 17656       f77* | f90* | f95*)
 17657 	lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 17658       *)
 17659 	lt_prog_compiler_wl_GCJ='-Wl,';;
 17660       esac
 17661       ;;
 17662 
 17663     sunos4*)
 17664       lt_prog_compiler_wl_GCJ='-Qoption ld '
 17665       lt_prog_compiler_pic_GCJ='-PIC'
 17666       lt_prog_compiler_static_GCJ='-Bstatic'
 17667       ;;
 17668 
 17669     sysv4 | sysv4.2uw2* | sysv4.3*)
 17670       lt_prog_compiler_wl_GCJ='-Wl,'
 17671       lt_prog_compiler_pic_GCJ='-KPIC'
 17672       lt_prog_compiler_static_GCJ='-Bstatic'
 17673       ;;
 17674 
 17675     sysv4*MP*)
 17676       if test -d /usr/nec ;then
 17677 	lt_prog_compiler_pic_GCJ='-Kconform_pic'
 17678 	lt_prog_compiler_static_GCJ='-Bstatic'
 17679       fi
 17680       ;;
 17681 
 17682     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 17683       lt_prog_compiler_wl_GCJ='-Wl,'
 17684       lt_prog_compiler_pic_GCJ='-KPIC'
 17685       lt_prog_compiler_static_GCJ='-Bstatic'
 17686       ;;
 17687 
 17688     unicos*)
 17689       lt_prog_compiler_wl_GCJ='-Wl,'
 17690       lt_prog_compiler_can_build_shared_GCJ=no
 17691       ;;
 17692 
 17693     uts4*)
 17694       lt_prog_compiler_pic_GCJ='-pic'
 17695       lt_prog_compiler_static_GCJ='-Bstatic'
 17696       ;;
 17697 
 17698     *)
 17699       lt_prog_compiler_can_build_shared_GCJ=no
 17700       ;;
 17701     esac
 17702   fi
 17703 
 17704 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
 17705 $as_echo "$lt_prog_compiler_pic_GCJ" >&6; }
 17706 
 17707 #
 17708 # Check to make sure the PIC flag actually works.
 17709 #
 17710 if test -n "$lt_prog_compiler_pic_GCJ"; then
 17711 
 17712 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
 17713 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... " >&6; }
 17714 if test "${lt_cv_prog_compiler_pic_works_GCJ+set}" = set; then
 17715   $as_echo_n "(cached) " >&6
 17716 else
 17717   lt_cv_prog_compiler_pic_works_GCJ=no
 17718   ac_outfile=conftest.$ac_objext
 17719    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 17720    lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
 17721    # Insert the option either (1) after the last *FLAGS variable, or
 17722    # (2) before a word containing "conftest.", or (3) at the end.
 17723    # Note that $ac_compile itself does not contain backslashes and begins
 17724    # with a dollar sign (not a hyphen), so the echo should work correctly.
 17725    # The option is referenced via a variable to avoid confusing sed.
 17726    lt_compile=`echo "$ac_compile" | $SED \
 17727    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 17728    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 17729    -e 's:$: $lt_compiler_flag:'`
 17730    (eval echo "\"\$as_me:17730: $lt_compile\"" >&5)
 17731    (eval "$lt_compile" 2>conftest.err)
 17732    ac_status=$?
 17733    cat conftest.err >&5
 17734    echo "$as_me:17734: \$? = $ac_status" >&5
 17735    if (exit $ac_status) && test -s "$ac_outfile"; then
 17736      # The compiler can only warn and ignore the option if not recognized
 17737      # So say no if there are warnings other than the usual output.
 17738      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 17739      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 17740      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 17741        lt_cv_prog_compiler_pic_works_GCJ=yes
 17742      fi
 17743    fi
 17744    $rm conftest*
 17745 
 17746 fi
 17747 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_GCJ" >&5
 17748 $as_echo "$lt_cv_prog_compiler_pic_works_GCJ" >&6; }
 17749 
 17750 if test x"$lt_cv_prog_compiler_pic_works_GCJ" = xyes; then
 17751     case $lt_prog_compiler_pic_GCJ in
 17752      "" | " "*) ;;
 17753      *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
 17754      esac
 17755 else
 17756     lt_prog_compiler_pic_GCJ=
 17757      lt_prog_compiler_can_build_shared_GCJ=no
 17758 fi
 17759 
 17760 fi
 17761 case $host_os in
 17762   # For platforms which do not support PIC, -DPIC is meaningless:
 17763   *djgpp*)
 17764     lt_prog_compiler_pic_GCJ=
 17765     ;;
 17766   *)
 17767     lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
 17768     ;;
 17769 esac
 17770 
 17771 #
 17772 # Check to make sure the static flag actually works.
 17773 #
 17774 wl=$lt_prog_compiler_wl_GCJ eval lt_tmp_static_flag=\"$lt_prog_compiler_static_GCJ\"
 17775 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 17776 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 17777 if test "${lt_cv_prog_compiler_static_works_GCJ+set}" = set; then
 17778   $as_echo_n "(cached) " >&6
 17779 else
 17780   lt_cv_prog_compiler_static_works_GCJ=no
 17781    save_LDFLAGS="$LDFLAGS"
 17782    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 17783    echo "$lt_simple_link_test_code" > conftest.$ac_ext
 17784    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 17785      # The linker can only warn and ignore the option if not recognized
 17786      # So say no if there are warnings
 17787      if test -s conftest.err; then
 17788        # Append any errors to the config.log.
 17789        cat conftest.err 1>&5
 17790        $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 17791        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 17792        if diff conftest.exp conftest.er2 >/dev/null; then
 17793          lt_cv_prog_compiler_static_works_GCJ=yes
 17794        fi
 17795      else
 17796        lt_cv_prog_compiler_static_works_GCJ=yes
 17797      fi
 17798    fi
 17799    $rm -r conftest*
 17800    LDFLAGS="$save_LDFLAGS"
 17801 
 17802 fi
 17803 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_GCJ" >&5
 17804 $as_echo "$lt_cv_prog_compiler_static_works_GCJ" >&6; }
 17805 
 17806 if test x"$lt_cv_prog_compiler_static_works_GCJ" = xyes; then
 17807     :
 17808 else
 17809     lt_prog_compiler_static_GCJ=
 17810 fi
 17811 
 17812 
 17813 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 17814 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 17815 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
 17816   $as_echo_n "(cached) " >&6
 17817 else
 17818   lt_cv_prog_compiler_c_o_GCJ=no
 17819    $rm -r conftest 2>/dev/null
 17820    mkdir conftest
 17821    cd conftest
 17822    mkdir out
 17823    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 17824 
 17825    lt_compiler_flag="-o out/conftest2.$ac_objext"
 17826    # Insert the option either (1) after the last *FLAGS variable, or
 17827    # (2) before a word containing "conftest.", or (3) at the end.
 17828    # Note that $ac_compile itself does not contain backslashes and begins
 17829    # with a dollar sign (not a hyphen), so the echo should work correctly.
 17830    lt_compile=`echo "$ac_compile" | $SED \
 17831    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 17832    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 17833    -e 's:$: $lt_compiler_flag:'`
 17834    (eval echo "\"\$as_me:17834: $lt_compile\"" >&5)
 17835    (eval "$lt_compile" 2>out/conftest.err)
 17836    ac_status=$?
 17837    cat out/conftest.err >&5
 17838    echo "$as_me:17838: \$? = $ac_status" >&5
 17839    if (exit $ac_status) && test -s out/conftest2.$ac_objext
 17840    then
 17841      # The compiler can only warn and ignore the option if not recognized
 17842      # So say no if there are warnings
 17843      $echo "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 17844      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 17845      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 17846        lt_cv_prog_compiler_c_o_GCJ=yes
 17847      fi
 17848    fi
 17849    chmod u+w . 2>&5
 17850    $rm conftest*
 17851    # SGI C++ compiler will create directory out/ii_files/ for
 17852    # template instantiation
 17853    test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files
 17854    $rm out/* && rmdir out
 17855    cd ..
 17856    rmdir conftest
 17857    $rm conftest*
 17858 
 17859 fi
 17860 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
 17861 $as_echo "$lt_cv_prog_compiler_c_o_GCJ" >&6; }
 17862 
 17863 
 17864 hard_links="nottested"
 17865 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
 17866   # do not overwrite the value of need_locks provided by the user
 17867   { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 17868 $as_echo_n "checking if we can lock with hard links... " >&6; }
 17869   hard_links=yes
 17870   $rm conftest*
 17871   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 17872   touch conftest.a
 17873   ln conftest.a conftest.b 2>&5 || hard_links=no
 17874   ln conftest.a conftest.b 2>/dev/null && hard_links=no
 17875   { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 17876 $as_echo "$hard_links" >&6; }
 17877   if test "$hard_links" = no; then
 17878     { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 17879 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 17880     need_locks=warn
 17881   fi
 17882 else
 17883   need_locks=no
 17884 fi
 17885 
 17886 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 17887 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 17888 
 17889   runpath_var=
 17890   allow_undefined_flag_GCJ=
 17891   enable_shared_with_static_runtimes_GCJ=no
 17892   archive_cmds_GCJ=
 17893   archive_expsym_cmds_GCJ=
 17894   old_archive_From_new_cmds_GCJ=
 17895   old_archive_from_expsyms_cmds_GCJ=
 17896   export_dynamic_flag_spec_GCJ=
 17897   whole_archive_flag_spec_GCJ=
 17898   thread_safe_flag_spec_GCJ=
 17899   hardcode_libdir_flag_spec_GCJ=
 17900   hardcode_libdir_flag_spec_ld_GCJ=
 17901   hardcode_libdir_separator_GCJ=
 17902   hardcode_direct_GCJ=no
 17903   hardcode_minus_L_GCJ=no
 17904   hardcode_shlibpath_var_GCJ=unsupported
 17905   link_all_deplibs_GCJ=unknown
 17906   hardcode_automatic_GCJ=no
 17907   module_cmds_GCJ=
 17908   module_expsym_cmds_GCJ=
 17909   always_export_symbols_GCJ=no
 17910   export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 17911   # include_expsyms should be a list of space-separated symbols to be *always*
 17912   # included in the symbol list
 17913   include_expsyms_GCJ=
 17914   # exclude_expsyms can be an extended regexp of symbols to exclude
 17915   # it will be wrapped by ` (' and `)$', so one must not match beginning or
 17916   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
 17917   # as well as any symbol that contains `d'.
 17918   exclude_expsyms_GCJ='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 17919   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
 17920   # platforms (ab)use it in PIC code, but their linkers get confused if
 17921   # the symbol is explicitly referenced.  Since portable code cannot
 17922   # rely on this symbol name, it's probably fine to never include it in
 17923   # preloaded symbol tables.
 17924   # Exclude shared library initialization/finalization symbols.
 17925   extract_expsyms_cmds=
 17926   # Just being paranoid about ensuring that cc_basename is set.
 17927   for cc_temp in $compiler""; do
 17928   case $cc_temp in
 17929     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 17930     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 17931     \-*) ;;
 17932     *) break;;
 17933   esac
 17934 done
 17935 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 17936 
 17937   case $host_os in
 17938   cygwin* | mingw* | pw32*)
 17939     # FIXME: the MSVC++ port hasn't been tested in a loooong time
 17940     # When not using gcc, we currently assume that we are using
 17941     # Microsoft Visual C++.
 17942     if test "$GCC" != yes; then
 17943       with_gnu_ld=no
 17944     fi
 17945     ;;
 17946   interix*)
 17947     # we just hope/assume this is gcc and not c89 (= MSVC++)
 17948     with_gnu_ld=yes
 17949     ;;
 17950   openbsd*)
 17951     with_gnu_ld=no
 17952     ;;
 17953   esac
 17954 
 17955   ld_shlibs_GCJ=yes
 17956   if test "$with_gnu_ld" = yes; then
 17957     # If archive_cmds runs LD, not CC, wlarc should be empty
 17958     wlarc='${wl}'
 17959 
 17960     # Set some defaults for GNU ld with shared library support. These
 17961     # are reset later if shared libraries are not supported. Putting them
 17962     # here allows them to be overridden if necessary.
 17963     runpath_var=LD_RUN_PATH
 17964     hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 17965     export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 17966     # ancient GNU ld didn't support --whole-archive et. al.
 17967     if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 17968 	whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 17969       else
 17970   	whole_archive_flag_spec_GCJ=
 17971     fi
 17972     supports_anon_versioning=no
 17973     case `$LD -v 2>/dev/null` in
 17974       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 17975       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 17976       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 17977       *\ 2.11.*) ;; # other 2.11 versions
 17978       *) supports_anon_versioning=yes ;;
 17979     esac
 17980 
 17981     # See if GNU ld supports shared libraries.
 17982     case $host_os in
 17983     aix[3-9]*)
 17984       # On AIX/PPC, the GNU linker is very broken
 17985       if test "$host_cpu" != ia64; then
 17986 	ld_shlibs_GCJ=no
 17987 	cat <<EOF 1>&2
 17988 
 17989 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
 17990 *** to be unable to reliably create shared libraries on AIX.
 17991 *** Therefore, libtool is disabling shared libraries support.  If you
 17992 *** really care for shared libraries, you may want to modify your PATH
 17993 *** so that a non-GNU linker is found, and then restart.
 17994 
 17995 EOF
 17996       fi
 17997       ;;
 17998 
 17999     amigaos*)
 18000       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)'
 18001       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18002       hardcode_minus_L_GCJ=yes
 18003 
 18004       # Samuel A. Falvo II <[email protected]> reports
 18005       # that the semantics of dynamic libraries on AmigaOS, at least up
 18006       # to version 4, is to share data among multiple programs linked
 18007       # with the same dynamic library.  Since this doesn't match the
 18008       # behavior of shared libraries on other platforms, we can't use
 18009       # them.
 18010       ld_shlibs_GCJ=no
 18011       ;;
 18012 
 18013     beos*)
 18014       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 18015 	allow_undefined_flag_GCJ=unsupported
 18016 	# Joseph Beckenbach <[email protected]> says some releases of gcc
 18017 	# support --undefined.  This deserves some investigation.  FIXME
 18018 	archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 18019       else
 18020 	ld_shlibs_GCJ=no
 18021       fi
 18022       ;;
 18023 
 18024     cygwin* | mingw* | pw32*)
 18025       # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
 18026       # as there is no search path for DLLs.
 18027       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18028       allow_undefined_flag_GCJ=unsupported
 18029       always_export_symbols_GCJ=no
 18030       enable_shared_with_static_runtimes_GCJ=yes
 18031       export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 18032 
 18033       if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
 18034         archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 18035 	# If the export-symbols file already is a .def file (1st line
 18036 	# is EXPORTS), use it as is; otherwise, prepend...
 18037 	archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 18038 	  cp $export_symbols $output_objdir/$soname.def;
 18039 	else
 18040 	  echo EXPORTS > $output_objdir/$soname.def;
 18041 	  cat $export_symbols >> $output_objdir/$soname.def;
 18042 	fi~
 18043 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 18044       else
 18045 	ld_shlibs_GCJ=no
 18046       fi
 18047       ;;
 18048 
 18049     interix[3-9]*)
 18050       hardcode_direct_GCJ=no
 18051       hardcode_shlibpath_var_GCJ=no
 18052       hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 18053       export_dynamic_flag_spec_GCJ='${wl}-E'
 18054       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 18055       # Instead, shared libraries are loaded at an image base (0x10000000 by
 18056       # default) and relocated if they conflict, which is a slow very memory
 18057       # consuming and fragmenting process.  To avoid this, we pick a random,
 18058       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 18059       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 18060       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'
 18061       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'
 18062       ;;
 18063 
 18064     gnu* | linux* | k*bsd*-gnu)
 18065       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 18066 	tmp_addflag=
 18067 	case $cc_basename,$host_cpu in
 18068 	pgcc*)				# Portland Group C compiler
 18069 	  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'
 18070 	  tmp_addflag=' $pic_flag'
 18071 	  ;;
 18072 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
 18073 	  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'
 18074 	  tmp_addflag=' $pic_flag -Mnomain' ;;
 18075 	ecc*,ia64* | icc*,ia64*)		# Intel C compiler on ia64
 18076 	  tmp_addflag=' -i_dynamic' ;;
 18077 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
 18078 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
 18079 	ifc* | ifort*)			# Intel Fortran compiler
 18080 	  tmp_addflag=' -nofor_main' ;;
 18081 	esac
 18082 	case `$CC -V 2>&1 | sed 5q` in
 18083 	*Sun\ C*)			# Sun C 5.9
 18084 	  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'
 18085 	  tmp_sharedflag='-G' ;;
 18086 	*Sun\ F*)			# Sun Fortran 8.3
 18087 	  tmp_sharedflag='-G' ;;
 18088 	*)
 18089 	  tmp_sharedflag='-shared' ;;
 18090 	esac
 18091 	archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 18092 
 18093 	if test $supports_anon_versioning = yes; then
 18094 	  archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 18095   cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 18096   $echo "local: *; };" >> $output_objdir/$libname.ver~
 18097 	  $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 18098 	fi
 18099       else
 18100 	ld_shlibs_GCJ=no
 18101       fi
 18102       ;;
 18103 
 18104     netbsd*)
 18105       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 18106 	archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
 18107 	wlarc=
 18108       else
 18109 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 18110 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 18111       fi
 18112       ;;
 18113 
 18114     solaris*)
 18115       if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
 18116 	ld_shlibs_GCJ=no
 18117 	cat <<EOF 1>&2
 18118 
 18119 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
 18120 *** create shared libraries on Solaris systems.  Therefore, libtool
 18121 *** is disabling shared libraries support.  We urge you to upgrade GNU
 18122 *** binutils to release 2.9.1 or newer.  Another option is to modify
 18123 *** your PATH or compiler configuration so that the native linker is
 18124 *** used, and then restart.
 18125 
 18126 EOF
 18127       elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 18128 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 18129 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 18130       else
 18131 	ld_shlibs_GCJ=no
 18132       fi
 18133       ;;
 18134 
 18135     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
 18136       case `$LD -v 2>&1` in
 18137         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
 18138 	ld_shlibs_GCJ=no
 18139 	cat <<_LT_EOF 1>&2
 18140 
 18141 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
 18142 *** reliably create shared libraries on SCO systems.  Therefore, libtool
 18143 *** is disabling shared libraries support.  We urge you to upgrade GNU
 18144 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
 18145 *** your PATH or compiler configuration so that the native linker is
 18146 *** used, and then restart.
 18147 
 18148 _LT_EOF
 18149 	;;
 18150 	*)
 18151 	  if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 18152 	    hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-rpath,$libdir`'
 18153 	    archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib'
 18154 	    archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname,\${SCOABSPATH:+${install_libdir}/}$soname,-retain-symbols-file,$export_symbols -o $lib'
 18155 	  else
 18156 	    ld_shlibs_GCJ=no
 18157 	  fi
 18158 	;;
 18159       esac
 18160       ;;
 18161 
 18162     sunos4*)
 18163       archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 18164       wlarc=
 18165       hardcode_direct_GCJ=yes
 18166       hardcode_shlibpath_var_GCJ=no
 18167       ;;
 18168 
 18169     *)
 18170       if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 18171 	archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 18172 	archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 18173       else
 18174 	ld_shlibs_GCJ=no
 18175       fi
 18176       ;;
 18177     esac
 18178 
 18179     if test "$ld_shlibs_GCJ" = no; then
 18180       runpath_var=
 18181       hardcode_libdir_flag_spec_GCJ=
 18182       export_dynamic_flag_spec_GCJ=
 18183       whole_archive_flag_spec_GCJ=
 18184     fi
 18185   else
 18186     # PORTME fill in a description of your system's linker (not GNU ld)
 18187     case $host_os in
 18188     aix3*)
 18189       allow_undefined_flag_GCJ=unsupported
 18190       always_export_symbols_GCJ=yes
 18191       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'
 18192       # Note: this linker hardcodes the directories in LIBPATH if there
 18193       # are no directories specified by -L.
 18194       hardcode_minus_L_GCJ=yes
 18195       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
 18196 	# Neither direct hardcoding nor static linking is supported with a
 18197 	# broken collect2.
 18198 	hardcode_direct_GCJ=unsupported
 18199       fi
 18200       ;;
 18201 
 18202     aix[4-9]*)
 18203       if test "$host_cpu" = ia64; then
 18204 	# On IA64, the linker does run time linking by default, so we don't
 18205 	# have to do anything special.
 18206 	aix_use_runtimelinking=no
 18207 	exp_sym_flag='-Bexport'
 18208 	no_entry_flag=""
 18209       else
 18210 	# If we're using GNU nm, then we don't want the "-C" option.
 18211 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
 18212 	if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
 18213 	  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'
 18214 	else
 18215 	  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'
 18216 	fi
 18217 	aix_use_runtimelinking=no
 18218 
 18219 	# Test if we are trying to use run time linking or normal
 18220 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
 18221 	# need to do runtime linking.
 18222 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 18223 	  for ld_flag in $LDFLAGS; do
 18224   	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
 18225   	    aix_use_runtimelinking=yes
 18226   	    break
 18227   	  fi
 18228 	  done
 18229 	  ;;
 18230 	esac
 18231 
 18232 	exp_sym_flag='-bexport'
 18233 	no_entry_flag='-bnoentry'
 18234       fi
 18235 
 18236       # When large executables or shared objects are built, AIX ld can
 18237       # have problems creating the table of contents.  If linking a library
 18238       # or program results in "error TOC overflow" add -mminimal-toc to
 18239       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 18240       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 18241 
 18242       archive_cmds_GCJ=''
 18243       hardcode_direct_GCJ=yes
 18244       hardcode_libdir_separator_GCJ=':'
 18245       link_all_deplibs_GCJ=yes
 18246 
 18247       if test "$GCC" = yes; then
 18248 	case $host_os in aix4.[012]|aix4.[012].*)
 18249 	# We only want to do this on AIX 4.2 and lower, the check
 18250 	# below for broken collect2 doesn't work under 4.3+
 18251 	  collect2name=`${CC} -print-prog-name=collect2`
 18252 	  if test -f "$collect2name" && \
 18253   	   strings "$collect2name" | grep resolve_lib_name >/dev/null
 18254 	  then
 18255   	  # We have reworked collect2
 18256   	  :
 18257 	  else
 18258   	  # We have old collect2
 18259   	  hardcode_direct_GCJ=unsupported
 18260   	  # It fails to find uninstalled libraries when the uninstalled
 18261   	  # path is not listed in the libpath.  Setting hardcode_minus_L
 18262   	  # to unsupported forces relinking
 18263   	  hardcode_minus_L_GCJ=yes
 18264   	  hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18265   	  hardcode_libdir_separator_GCJ=
 18266 	  fi
 18267 	  ;;
 18268 	esac
 18269 	shared_flag='-shared'
 18270 	if test "$aix_use_runtimelinking" = yes; then
 18271 	  shared_flag="$shared_flag "'${wl}-G'
 18272 	fi
 18273       else
 18274 	# not using gcc
 18275 	if test "$host_cpu" = ia64; then
 18276   	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 18277   	# chokes on -Wl,-G. The following line is correct:
 18278 	  shared_flag='-G'
 18279 	else
 18280 	  if test "$aix_use_runtimelinking" = yes; then
 18281 	    shared_flag='${wl}-G'
 18282 	  else
 18283 	    shared_flag='${wl}-bM:SRE'
 18284 	  fi
 18285 	fi
 18286       fi
 18287 
 18288       # It seems that -bexpall does not export symbols beginning with
 18289       # underscore (_), so it is better to generate a list of symbols to export.
 18290       always_export_symbols_GCJ=yes
 18291       if test "$aix_use_runtimelinking" = yes; then
 18292 	# Warning - without using the other runtime loading flags (-brtl),
 18293 	# -berok will link without error, but may produce a broken library.
 18294 	allow_undefined_flag_GCJ='-berok'
 18295        # Determine the default libpath from the value encoded in an empty executable.
 18296        cat >conftest.$ac_ext <<_ACEOF
 18297 /* confdefs.h.  */
 18298 _ACEOF
 18299 cat confdefs.h >>conftest.$ac_ext
 18300 cat >>conftest.$ac_ext <<_ACEOF
 18301 /* end confdefs.h.  */
 18302 
 18303 int
 18304 main ()
 18305 {
 18306 
 18307   ;
 18308   return 0;
 18309 }
 18310 _ACEOF
 18311 rm -f conftest.$ac_objext conftest$ac_exeext
 18312 if { (ac_try="$ac_link"
 18313 case "(($ac_try" in
 18314   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 18315   *) ac_try_echo=$ac_try;;
 18316 esac
 18317 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 18318 $as_echo "$ac_try_echo") >&5
 18319   (eval "$ac_link") 2>conftest.er1
 18320   ac_status=$?
 18321   grep -v '^ *+' conftest.er1 >conftest.err
 18322   rm -f conftest.er1
 18323   cat conftest.err >&5
 18324   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18325   (exit $ac_status); } && {
 18326 	 test -z "$ac_c_werror_flag" ||
 18327 	 test ! -s conftest.err
 18328        } && test -s conftest$ac_exeext && {
 18329 	 test "$cross_compiling" = yes ||
 18330 	 $as_test_x conftest$ac_exeext
 18331        }; then
 18332 
 18333 lt_aix_libpath_sed='
 18334     /Import File Strings/,/^$/ {
 18335 	/^0/ {
 18336 	    s/^0  *\(.*\)$/\1/
 18337 	    p
 18338 	}
 18339     }'
 18340 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 18341 # Check for a 64-bit object if we didn't find anything.
 18342 if test -z "$aix_libpath"; then
 18343   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 18344 fi
 18345 else
 18346   $as_echo "$as_me: failed program was:" >&5
 18347 sed 's/^/| /' conftest.$ac_ext >&5
 18348 
 18349 
 18350 fi
 18351 
 18352 rm -rf conftest.dSYM
 18353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 18354       conftest$ac_exeext conftest.$ac_ext
 18355 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 18356 
 18357        hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 18358 	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"
 18359        else
 18360 	if test "$host_cpu" = ia64; then
 18361 	  hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
 18362 	  allow_undefined_flag_GCJ="-z nodefs"
 18363 	  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"
 18364 	else
 18365 	 # Determine the default libpath from the value encoded in an empty executable.
 18366 	 cat >conftest.$ac_ext <<_ACEOF
 18367 /* confdefs.h.  */
 18368 _ACEOF
 18369 cat confdefs.h >>conftest.$ac_ext
 18370 cat >>conftest.$ac_ext <<_ACEOF
 18371 /* end confdefs.h.  */
 18372 
 18373 int
 18374 main ()
 18375 {
 18376 
 18377   ;
 18378   return 0;
 18379 }
 18380 _ACEOF
 18381 rm -f conftest.$ac_objext conftest$ac_exeext
 18382 if { (ac_try="$ac_link"
 18383 case "(($ac_try" in
 18384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 18385   *) ac_try_echo=$ac_try;;
 18386 esac
 18387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 18388 $as_echo "$ac_try_echo") >&5
 18389   (eval "$ac_link") 2>conftest.er1
 18390   ac_status=$?
 18391   grep -v '^ *+' conftest.er1 >conftest.err
 18392   rm -f conftest.er1
 18393   cat conftest.err >&5
 18394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18395   (exit $ac_status); } && {
 18396 	 test -z "$ac_c_werror_flag" ||
 18397 	 test ! -s conftest.err
 18398        } && test -s conftest$ac_exeext && {
 18399 	 test "$cross_compiling" = yes ||
 18400 	 $as_test_x conftest$ac_exeext
 18401        }; then
 18402 
 18403 lt_aix_libpath_sed='
 18404     /Import File Strings/,/^$/ {
 18405 	/^0/ {
 18406 	    s/^0  *\(.*\)$/\1/
 18407 	    p
 18408 	}
 18409     }'
 18410 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 18411 # Check for a 64-bit object if we didn't find anything.
 18412 if test -z "$aix_libpath"; then
 18413   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 18414 fi
 18415 else
 18416   $as_echo "$as_me: failed program was:" >&5
 18417 sed 's/^/| /' conftest.$ac_ext >&5
 18418 
 18419 
 18420 fi
 18421 
 18422 rm -rf conftest.dSYM
 18423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 18424       conftest$ac_exeext conftest.$ac_ext
 18425 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 18426 
 18427 	 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
 18428 	  # Warning - without using the other run time loading flags,
 18429 	  # -berok will link without error, but may produce a broken library.
 18430 	  no_undefined_flag_GCJ=' ${wl}-bernotok'
 18431 	  allow_undefined_flag_GCJ=' ${wl}-berok'
 18432 	  # Exported symbols can be pulled into shared objects from archives
 18433 	  whole_archive_flag_spec_GCJ='$convenience'
 18434 	  archive_cmds_need_lc_GCJ=yes
 18435 	  # This is similar to how AIX traditionally builds its shared libraries.
 18436 	  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'
 18437 	fi
 18438       fi
 18439       ;;
 18440 
 18441     amigaos*)
 18442       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)'
 18443       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18444       hardcode_minus_L_GCJ=yes
 18445       # see comment about different semantics on the GNU ld section
 18446       ld_shlibs_GCJ=no
 18447       ;;
 18448 
 18449     bsdi[45]*)
 18450       export_dynamic_flag_spec_GCJ=-rdynamic
 18451       ;;
 18452 
 18453     cygwin* | mingw* | pw32*)
 18454       # When not using gcc, we currently assume that we are using
 18455       # Microsoft Visual C++.
 18456       # hardcode_libdir_flag_spec is actually meaningless, as there is
 18457       # no search path for DLLs.
 18458       hardcode_libdir_flag_spec_GCJ=' '
 18459       allow_undefined_flag_GCJ=unsupported
 18460       # Tell ltmain to make .lib files, not .a files.
 18461       libext=lib
 18462       # Tell ltmain to make .dll files, not .so files.
 18463       shrext_cmds=".dll"
 18464       # FIXME: Setting linknames here is a bad hack.
 18465       archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
 18466       # The linker will automatically build a .lib file if we build a DLL.
 18467       old_archive_From_new_cmds_GCJ='true'
 18468       # FIXME: Should let the user specify the lib program.
 18469       old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
 18470       fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
 18471       enable_shared_with_static_runtimes_GCJ=yes
 18472       ;;
 18473 
 18474     darwin* | rhapsody*)
 18475       case $host_os in
 18476         rhapsody* | darwin1.[012])
 18477          allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 18478          ;;
 18479        *) # Darwin 1.3 on
 18480          if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 18481            allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 18482          else
 18483            case ${MACOSX_DEPLOYMENT_TARGET} in
 18484              10.[012])
 18485                allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 18486                ;;
 18487              10.*)
 18488                allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 18489                ;;
 18490            esac
 18491          fi
 18492          ;;
 18493       esac
 18494       archive_cmds_need_lc_GCJ=no
 18495       hardcode_direct_GCJ=no
 18496       hardcode_automatic_GCJ=yes
 18497       hardcode_shlibpath_var_GCJ=unsupported
 18498       whole_archive_flag_spec_GCJ=''
 18499       link_all_deplibs_GCJ=yes
 18500     if test "$GCC" = yes ; then
 18501     	output_verbose_link_cmd='echo'
 18502         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}"
 18503         module_cmds_GCJ="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 18504         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}"
 18505         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}"
 18506     else
 18507       case $cc_basename in
 18508         xlc*)
 18509          output_verbose_link_cmd='echo'
 18510          archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
 18511          module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 18512           # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 18513          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}'
 18514           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}'
 18515           ;;
 18516        *)
 18517          ld_shlibs_GCJ=no
 18518           ;;
 18519       esac
 18520     fi
 18521       ;;
 18522 
 18523     dgux*)
 18524       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18525       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18526       hardcode_shlibpath_var_GCJ=no
 18527       ;;
 18528 
 18529     freebsd1*)
 18530       ld_shlibs_GCJ=no
 18531       ;;
 18532 
 18533     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 18534     # support.  Future versions do this automatically, but an explicit c++rt0.o
 18535     # does not break anything, and helps significantly (at the cost of a little
 18536     # extra space).
 18537     freebsd2.2*)
 18538       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 18539       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 18540       hardcode_direct_GCJ=yes
 18541       hardcode_shlibpath_var_GCJ=no
 18542       ;;
 18543 
 18544     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 18545     freebsd2*)
 18546       archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 18547       hardcode_direct_GCJ=yes
 18548       hardcode_minus_L_GCJ=yes
 18549       hardcode_shlibpath_var_GCJ=no
 18550       ;;
 18551 
 18552     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 18553     freebsd* | dragonfly*)
 18554       archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 18555       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 18556       hardcode_direct_GCJ=yes
 18557       hardcode_shlibpath_var_GCJ=no
 18558       ;;
 18559 
 18560     hpux9*)
 18561       if test "$GCC" = yes; then
 18562 	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'
 18563       else
 18564 	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'
 18565       fi
 18566       hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 18567       hardcode_libdir_separator_GCJ=:
 18568       hardcode_direct_GCJ=yes
 18569 
 18570       # hardcode_minus_L: Not really in the search PATH,
 18571       # but as the default location of the library.
 18572       hardcode_minus_L_GCJ=yes
 18573       export_dynamic_flag_spec_GCJ='${wl}-E'
 18574       ;;
 18575 
 18576     hpux10*)
 18577       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 18578 	archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 18579       else
 18580 	archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 18581       fi
 18582       if test "$with_gnu_ld" = no; then
 18583 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 18584 	hardcode_libdir_separator_GCJ=:
 18585 
 18586 	hardcode_direct_GCJ=yes
 18587 	export_dynamic_flag_spec_GCJ='${wl}-E'
 18588 
 18589 	# hardcode_minus_L: Not really in the search PATH,
 18590 	# but as the default location of the library.
 18591 	hardcode_minus_L_GCJ=yes
 18592       fi
 18593       ;;
 18594 
 18595     hpux11*)
 18596       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 18597 	case $host_cpu in
 18598 	hppa*64*)
 18599 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 18600 	  ;;
 18601 	ia64*)
 18602 	  archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 18603 	  ;;
 18604 	*)
 18605 	  archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 18606 	  ;;
 18607 	esac
 18608       else
 18609 	case $host_cpu in
 18610 	hppa*64*)
 18611 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 18612 	  ;;
 18613 	ia64*)
 18614 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 18615 	  ;;
 18616 	*)
 18617 	  archive_cmds_GCJ='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 18618 	  ;;
 18619 	esac
 18620       fi
 18621       if test "$with_gnu_ld" = no; then
 18622 	hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
 18623 	hardcode_libdir_separator_GCJ=:
 18624 
 18625 	case $host_cpu in
 18626 	hppa*64*|ia64*)
 18627 	  hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
 18628 	  hardcode_direct_GCJ=no
 18629 	  hardcode_shlibpath_var_GCJ=no
 18630 	  ;;
 18631 	*)
 18632 	  hardcode_direct_GCJ=yes
 18633 	  export_dynamic_flag_spec_GCJ='${wl}-E'
 18634 
 18635 	  # hardcode_minus_L: Not really in the search PATH,
 18636 	  # but as the default location of the library.
 18637 	  hardcode_minus_L_GCJ=yes
 18638 	  ;;
 18639 	esac
 18640       fi
 18641       ;;
 18642 
 18643     irix5* | irix6* | nonstopux*)
 18644       if test "$GCC" = yes; then
 18645 	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'
 18646       else
 18647 	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'
 18648 	hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
 18649       fi
 18650       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 18651       hardcode_libdir_separator_GCJ=:
 18652       link_all_deplibs_GCJ=yes
 18653       ;;
 18654 
 18655     netbsd*)
 18656       if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 18657 	archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 18658       else
 18659 	archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 18660       fi
 18661       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 18662       hardcode_direct_GCJ=yes
 18663       hardcode_shlibpath_var_GCJ=no
 18664       ;;
 18665 
 18666     newsos6)
 18667       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18668       hardcode_direct_GCJ=yes
 18669       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 18670       hardcode_libdir_separator_GCJ=:
 18671       hardcode_shlibpath_var_GCJ=no
 18672       ;;
 18673 
 18674     openbsd*)
 18675       if test -f /usr/libexec/ld.so; then
 18676 	hardcode_direct_GCJ=yes
 18677 	hardcode_shlibpath_var_GCJ=no
 18678 	if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 18679 	  archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 18680 	  archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 18681 	  hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 18682 	  export_dynamic_flag_spec_GCJ='${wl}-E'
 18683 	else
 18684 	  case $host_os in
 18685 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 18686 	     archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 18687 	     hardcode_libdir_flag_spec_GCJ='-R$libdir'
 18688 	     ;;
 18689 	   *)
 18690 	     archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 18691 	     hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 18692 	     ;;
 18693 	  esac
 18694         fi
 18695       else
 18696 	ld_shlibs_GCJ=no
 18697       fi
 18698       ;;
 18699 
 18700     os2*)
 18701       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18702       hardcode_minus_L_GCJ=yes
 18703       allow_undefined_flag_GCJ=unsupported
 18704       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'
 18705       old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 18706       ;;
 18707 
 18708     osf3*)
 18709       if test "$GCC" = yes; then
 18710 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 18711 	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'
 18712       else
 18713 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 18714 	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'
 18715       fi
 18716       hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 18717       hardcode_libdir_separator_GCJ=:
 18718       ;;
 18719 
 18720     osf4* | osf5*)	# as osf3* with the addition of -msym flag
 18721       if test "$GCC" = yes; then
 18722 	allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
 18723 	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'
 18724 	hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
 18725       else
 18726 	allow_undefined_flag_GCJ=' -expect_unresolved \*'
 18727 	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'
 18728 	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~
 18729 	$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'
 18730 
 18731 	# Both c and cxx compiler support -rpath directly
 18732 	hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
 18733       fi
 18734       hardcode_libdir_separator_GCJ=:
 18735       ;;
 18736 
 18737     solaris*)
 18738       no_undefined_flag_GCJ=' -z text'
 18739       if test "$GCC" = yes; then
 18740 	wlarc='${wl}'
 18741 	archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 18742 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 18743 	  $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
 18744       else
 18745 	wlarc=''
 18746 	archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18747 	archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
 18748   	$LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
 18749       fi
 18750       hardcode_libdir_flag_spec_GCJ='-R$libdir'
 18751       hardcode_shlibpath_var_GCJ=no
 18752       case $host_os in
 18753       solaris2.[0-5] | solaris2.[0-5].*) ;;
 18754       *)
 18755 	# The compiler driver will combine and reorder linker options,
 18756 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 18757 	# but is careful enough not to reorder.
 18758  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 18759 	if test "$GCC" = yes; then
 18760 	  whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 18761 	else
 18762 	  whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 18763 	fi
 18764 	;;
 18765       esac
 18766       link_all_deplibs_GCJ=yes
 18767       ;;
 18768 
 18769     sunos4*)
 18770       if test "x$host_vendor" = xsequent; then
 18771 	# Use $CC to link under sequent, because it throws in some extra .o
 18772 	# files that make .init and .fini sections work.
 18773 	archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 18774       else
 18775 	archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 18776       fi
 18777       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18778       hardcode_direct_GCJ=yes
 18779       hardcode_minus_L_GCJ=yes
 18780       hardcode_shlibpath_var_GCJ=no
 18781       ;;
 18782 
 18783     sysv4)
 18784       case $host_vendor in
 18785 	sni)
 18786 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18787 	  hardcode_direct_GCJ=yes # is this really true???
 18788 	;;
 18789 	siemens)
 18790 	  ## LD is ld it makes a PLAMLIB
 18791 	  ## CC just makes a GrossModule.
 18792 	  archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 18793 	  reload_cmds_GCJ='$CC -r -o $output$reload_objs'
 18794 	  hardcode_direct_GCJ=no
 18795         ;;
 18796 	motorola)
 18797 	  archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18798 	  hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
 18799 	;;
 18800       esac
 18801       runpath_var='LD_RUN_PATH'
 18802       hardcode_shlibpath_var_GCJ=no
 18803       ;;
 18804 
 18805     sysv4.3*)
 18806       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18807       hardcode_shlibpath_var_GCJ=no
 18808       export_dynamic_flag_spec_GCJ='-Bexport'
 18809       ;;
 18810 
 18811     sysv4*MP*)
 18812       if test -d /usr/nec; then
 18813 	archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18814 	hardcode_shlibpath_var_GCJ=no
 18815 	runpath_var=LD_RUN_PATH
 18816 	hardcode_runpath_var=yes
 18817 	ld_shlibs_GCJ=yes
 18818       fi
 18819       ;;
 18820 
 18821     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 18822       no_undefined_flag_GCJ='${wl}-z,text'
 18823       archive_cmds_need_lc_GCJ=no
 18824       hardcode_shlibpath_var_GCJ=no
 18825       runpath_var='LD_RUN_PATH'
 18826 
 18827       if test "$GCC" = yes; then
 18828 	archive_cmds_GCJ='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 18829 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 18830       else
 18831 	archive_cmds_GCJ='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 18832 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 18833       fi
 18834       ;;
 18835 
 18836     sysv5* | sco3.2v5* | sco5v6*)
 18837       # Note: We can NOT use -z defs as we might desire, because we do not
 18838       # link with -lc, and that would cause any symbols used from libc to
 18839       # always be unresolved, which means just about no library would
 18840       # ever link correctly.  If we're not using GNU ld we use -z text
 18841       # though, which does catch some bad symbols but isn't as heavy-handed
 18842       # as -z defs.
 18843       no_undefined_flag_GCJ='${wl}-z,text'
 18844       allow_undefined_flag_GCJ='${wl}-z,nodefs'
 18845       archive_cmds_need_lc_GCJ=no
 18846       hardcode_shlibpath_var_GCJ=no
 18847       hardcode_libdir_flag_spec_GCJ='`test -z "$SCOABSPATH" && echo ${wl}-R,$libdir`'
 18848       hardcode_libdir_separator_GCJ=':'
 18849       link_all_deplibs_GCJ=yes
 18850       export_dynamic_flag_spec_GCJ='${wl}-Bexport'
 18851       runpath_var='LD_RUN_PATH'
 18852 
 18853       if test "$GCC" = yes; then
 18854 	archive_cmds_GCJ='$CC -shared ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 18855 	archive_expsym_cmds_GCJ='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 18856       else
 18857 	archive_cmds_GCJ='$CC -G ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 18858 	archive_expsym_cmds_GCJ='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,\${SCOABSPATH:+${install_libdir}/}$soname -o $lib $libobjs $deplibs $compiler_flags'
 18859       fi
 18860       ;;
 18861 
 18862     uts4*)
 18863       archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 18864       hardcode_libdir_flag_spec_GCJ='-L$libdir'
 18865       hardcode_shlibpath_var_GCJ=no
 18866       ;;
 18867 
 18868     *)
 18869       ld_shlibs_GCJ=no
 18870       ;;
 18871     esac
 18872   fi
 18873 
 18874 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
 18875 $as_echo "$ld_shlibs_GCJ" >&6; }
 18876 test "$ld_shlibs_GCJ" = no && can_build_shared=no
 18877 
 18878 #
 18879 # Do we need to explicitly link libc?
 18880 #
 18881 case "x$archive_cmds_need_lc_GCJ" in
 18882 x|xyes)
 18883   # Assume -lc should be added
 18884   archive_cmds_need_lc_GCJ=yes
 18885 
 18886   if test "$enable_shared" = yes && test "$GCC" = yes; then
 18887     case $archive_cmds_GCJ in
 18888     *'~'*)
 18889       # FIXME: we may have to deal with multi-command sequences.
 18890       ;;
 18891     '$CC '*)
 18892       # Test whether the compiler implicitly links with -lc since on some
 18893       # systems, -lgcc has to come before -lc. If gcc already passes -lc
 18894       # to ld, don't add -lc before -lgcc.
 18895       { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 18896 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 18897       $rm conftest*
 18898       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 18899 
 18900       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 18901   (eval $ac_compile) 2>&5
 18902   ac_status=$?
 18903   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18904   (exit $ac_status); } 2>conftest.err; then
 18905         soname=conftest
 18906         lib=conftest
 18907         libobjs=conftest.$ac_objext
 18908         deplibs=
 18909         wl=$lt_prog_compiler_wl_GCJ
 18910 	pic_flag=$lt_prog_compiler_pic_GCJ
 18911         compiler_flags=-v
 18912         linker_flags=-v
 18913         verstring=
 18914         output_objdir=.
 18915         libname=conftest
 18916         lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
 18917         allow_undefined_flag_GCJ=
 18918         if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
 18919   (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
 18920   ac_status=$?
 18921   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 18922   (exit $ac_status); }
 18923         then
 18924 	  archive_cmds_need_lc_GCJ=no
 18925         else
 18926 	  archive_cmds_need_lc_GCJ=yes
 18927         fi
 18928         allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
 18929       else
 18930         cat conftest.err 1>&5
 18931       fi
 18932       $rm conftest*
 18933       { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
 18934 $as_echo "$archive_cmds_need_lc_GCJ" >&6; }
 18935       ;;
 18936     esac
 18937   fi
 18938   ;;
 18939 esac
 18940 
 18941 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 18942 $as_echo_n "checking dynamic linker characteristics... " >&6; }
 18943 library_names_spec=
 18944 libname_spec='lib$name'
 18945 soname_spec=
 18946 shrext_cmds=".so"
 18947 postinstall_cmds=
 18948 postuninstall_cmds=
 18949 finish_cmds=
 18950 finish_eval=
 18951 shlibpath_var=
 18952 shlibpath_overrides_runpath=unknown
 18953 version_type=none
 18954 dynamic_linker="$host_os ld.so"
 18955 sys_lib_dlsearch_path_spec="/lib /usr/lib"
 18956 
 18957 need_lib_prefix=unknown
 18958 hardcode_into_libs=no
 18959 
 18960 # when you set need_version to no, make sure it does not cause -set_version
 18961 # flags to be left without arguments
 18962 need_version=unknown
 18963 
 18964 case $host_os in
 18965 aix3*)
 18966   version_type=linux
 18967   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 18968   shlibpath_var=LIBPATH
 18969 
 18970   # AIX 3 has no versioning support, so we append a major version to the name.
 18971   soname_spec='${libname}${release}${shared_ext}$major'
 18972   ;;
 18973 
 18974 aix[4-9]*)
 18975   version_type=linux
 18976   need_lib_prefix=no
 18977   need_version=no
 18978   hardcode_into_libs=yes
 18979   if test "$host_cpu" = ia64; then
 18980     # AIX 5 supports IA64
 18981     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 18982     shlibpath_var=LD_LIBRARY_PATH
 18983   else
 18984     # With GCC up to 2.95.x, collect2 would create an import file
 18985     # for dependence libraries.  The import file would start with
 18986     # the line `#! .'.  This would cause the generated library to
 18987     # depend on `.', always an invalid library.  This was fixed in
 18988     # development snapshots of GCC prior to 3.0.
 18989     case $host_os in
 18990       aix4 | aix4.[01] | aix4.[01].*)
 18991       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 18992 	   echo ' yes '
 18993 	   echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
 18994 	:
 18995       else
 18996 	can_build_shared=no
 18997       fi
 18998       ;;
 18999     esac
 19000     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 19001     # soname into executable. Probably we can add versioning support to
 19002     # collect2, so additional links can be useful in future.
 19003     if test "$aix_use_runtimelinking" = yes; then
 19004       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 19005       # instead of lib<name>.a to let people know that these are not
 19006       # typical AIX shared libraries.
 19007       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19008     else
 19009       # We preserve .a as extension for shared libraries through AIX4.2
 19010       # and later when we are not doing run time linking.
 19011       library_names_spec='${libname}${release}.a $libname.a'
 19012       soname_spec='${libname}${release}${shared_ext}$major'
 19013     fi
 19014     shlibpath_var=LIBPATH
 19015   fi
 19016   ;;
 19017 
 19018 amigaos*)
 19019   library_names_spec='$libname.ixlibrary $libname.a'
 19020   # Create ${libname}_ixlibrary.a entries in /sys/libs.
 19021   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'
 19022   ;;
 19023 
 19024 beos*)
 19025   library_names_spec='${libname}${shared_ext}'
 19026   dynamic_linker="$host_os ld.so"
 19027   shlibpath_var=LIBRARY_PATH
 19028   ;;
 19029 
 19030 bsdi[45]*)
 19031   version_type=linux
 19032   need_version=no
 19033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19034   soname_spec='${libname}${release}${shared_ext}$major'
 19035   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 19036   shlibpath_var=LD_LIBRARY_PATH
 19037   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 19038   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 19039   # the default ld.so.conf also contains /usr/contrib/lib and
 19040   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 19041   # libtool to hard-code these into programs
 19042   ;;
 19043 
 19044 cygwin* | mingw* | pw32*)
 19045   version_type=windows
 19046   shrext_cmds=".dll"
 19047   need_version=no
 19048   need_lib_prefix=no
 19049 
 19050   case $GCC,$host_os in
 19051   yes,cygwin* | yes,mingw* | yes,pw32*)
 19052     library_names_spec='$libname.dll.a'
 19053     # DLL is installed to $(libdir)/../bin by postinstall_cmds
 19054     postinstall_cmds='base_file=`basename \${file}`~
 19055       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
 19056       dldir=$destdir/`dirname \$dlpath`~
 19057       test -d \$dldir || mkdir -p \$dldir~
 19058       $install_prog $dir/$dlname \$dldir/$dlname~
 19059       chmod a+x \$dldir/$dlname'
 19060     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 19061       dlpath=$dir/\$dldll~
 19062        $rm \$dlpath'
 19063     shlibpath_overrides_runpath=yes
 19064 
 19065     case $host_os in
 19066     cygwin*)
 19067       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 19068       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 19069       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 19070       ;;
 19071     mingw*)
 19072       # MinGW DLLs use traditional 'lib' prefix
 19073       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 19074       sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 19075       if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
 19076         # It is most probably a Windows format PATH printed by
 19077         # mingw gcc, but we are running on Cygwin. Gcc prints its search
 19078         # path with ; separators, and with drive letters. We can handle the
 19079         # drive letters (cygwin fileutils understands them), so leave them,
 19080         # especially as we might pass files found there to a mingw objdump,
 19081         # which wouldn't understand a cygwinified path. Ahh.
 19082         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 19083       else
 19084         sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 19085       fi
 19086       ;;
 19087     pw32*)
 19088       # pw32 DLLs use 'pw' prefix rather than 'lib'
 19089       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 19090       ;;
 19091     esac
 19092     ;;
 19093 
 19094   *)
 19095     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 19096     ;;
 19097   esac
 19098   dynamic_linker='Win32 ld.exe'
 19099   # FIXME: first we should search . and the directory the executable is in
 19100   shlibpath_var=PATH
 19101   ;;
 19102 
 19103 darwin* | rhapsody*)
 19104   dynamic_linker="$host_os dyld"
 19105   version_type=darwin
 19106   need_lib_prefix=no
 19107   need_version=no
 19108   library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 19109   soname_spec='${libname}${release}${major}$shared_ext'
 19110   shlibpath_overrides_runpath=yes
 19111   shlibpath_var=DYLD_LIBRARY_PATH
 19112   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 19113 
 19114   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 19115   ;;
 19116 
 19117 dgux*)
 19118   version_type=linux
 19119   need_lib_prefix=no
 19120   need_version=no
 19121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 19122   soname_spec='${libname}${release}${shared_ext}$major'
 19123   shlibpath_var=LD_LIBRARY_PATH
 19124   ;;
 19125 
 19126 freebsd1*)
 19127   dynamic_linker=no
 19128   ;;
 19129 
 19130 freebsd* | dragonfly*)
 19131   # DragonFly does not have aout.  When/if they implement a new
 19132   # versioning mechanism, adjust this.
 19133   if test -x /usr/bin/objformat; then
 19134     objformat=`/usr/bin/objformat`
 19135   else
 19136     case $host_os in
 19137     freebsd[123]*) objformat=aout ;;
 19138     *) objformat=elf ;;
 19139     esac
 19140   fi
 19141   # Handle Gentoo/FreeBSD as it was Linux
 19142   case $host_vendor in
 19143     gentoo)
 19144       version_type=linux ;;
 19145     *)
 19146       version_type=freebsd-$objformat ;;
 19147   esac
 19148 
 19149   case $version_type in
 19150     freebsd-elf*)
 19151       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 19152       need_version=no
 19153       need_lib_prefix=no
 19154       ;;
 19155     freebsd-*)
 19156       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 19157       need_version=yes
 19158       ;;
 19159     linux)
 19160       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 19161       soname_spec='${libname}${release}${shared_ext}$major'
 19162       need_lib_prefix=no
 19163       need_version=no
 19164       ;;
 19165   esac
 19166   shlibpath_var=LD_LIBRARY_PATH
 19167   case $host_os in
 19168   freebsd2*)
 19169     shlibpath_overrides_runpath=yes
 19170     ;;
 19171   freebsd3.[01]* | freebsdelf3.[01]*)
 19172     shlibpath_overrides_runpath=yes
 19173     hardcode_into_libs=yes
 19174     ;;
 19175   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 19176   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 19177     shlibpath_overrides_runpath=no
 19178     hardcode_into_libs=yes
 19179     ;;
 19180   *) # from 4.6 on, and DragonFly
 19181     shlibpath_overrides_runpath=yes
 19182     hardcode_into_libs=yes
 19183     ;;
 19184   esac
 19185   ;;
 19186 
 19187 gnu*)
 19188   version_type=linux
 19189   need_lib_prefix=no
 19190   need_version=no
 19191   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 19192   soname_spec='${libname}${release}${shared_ext}$major'
 19193   shlibpath_var=LD_LIBRARY_PATH
 19194   hardcode_into_libs=yes
 19195   ;;
 19196 
 19197 hpux9* | hpux10* | hpux11*)
 19198   # Give a soname corresponding to the major version so that dld.sl refuses to
 19199   # link against other versions.
 19200   version_type=sunos
 19201   need_lib_prefix=no
 19202   need_version=no
 19203   case $host_cpu in
 19204   ia64*)
 19205     shrext_cmds='.so'
 19206     hardcode_into_libs=yes
 19207     dynamic_linker="$host_os dld.so"
 19208     shlibpath_var=LD_LIBRARY_PATH
 19209     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 19210     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19211     soname_spec='${libname}${release}${shared_ext}$major'
 19212     if test "X$HPUX_IA64_MODE" = X32; then
 19213       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 19214     else
 19215       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 19216     fi
 19217     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 19218     ;;
 19219    hppa*64*)
 19220      shrext_cmds='.sl'
 19221      hardcode_into_libs=yes
 19222      dynamic_linker="$host_os dld.sl"
 19223      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 19224      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 19225      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19226      soname_spec='${libname}${release}${shared_ext}$major'
 19227      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 19228      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 19229      ;;
 19230    *)
 19231     shrext_cmds='.sl'
 19232     dynamic_linker="$host_os dld.sl"
 19233     shlibpath_var=SHLIB_PATH
 19234     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 19235     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19236     soname_spec='${libname}${release}${shared_ext}$major'
 19237     ;;
 19238   esac
 19239   # HP-UX runs *really* slowly unless shared libraries are mode 555.
 19240   postinstall_cmds='chmod 555 $lib'
 19241   ;;
 19242 
 19243 interix[3-9]*)
 19244   version_type=linux
 19245   need_lib_prefix=no
 19246   need_version=no
 19247   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 19248   soname_spec='${libname}${release}${shared_ext}$major'
 19249   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 19250   shlibpath_var=LD_LIBRARY_PATH
 19251   shlibpath_overrides_runpath=no
 19252   hardcode_into_libs=yes
 19253   ;;
 19254 
 19255 irix5* | irix6* | nonstopux*)
 19256   case $host_os in
 19257     nonstopux*) version_type=nonstopux ;;
 19258     *)
 19259 	if test "$lt_cv_prog_gnu_ld" = yes; then
 19260 		version_type=linux
 19261 	else
 19262 		version_type=irix
 19263 	fi ;;
 19264   esac
 19265   need_lib_prefix=no
 19266   need_version=no
 19267   soname_spec='${libname}${release}${shared_ext}$major'
 19268   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 19269   case $host_os in
 19270   irix5* | nonstopux*)
 19271     libsuff= shlibsuff=
 19272     ;;
 19273   *)
 19274     case $LD in # libtool.m4 will add one of these switches to LD
 19275     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 19276       libsuff= shlibsuff= libmagic=32-bit;;
 19277     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 19278       libsuff=32 shlibsuff=N32 libmagic=N32;;
 19279     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 19280       libsuff=64 shlibsuff=64 libmagic=64-bit;;
 19281     *) libsuff= shlibsuff= libmagic=never-match;;
 19282     esac
 19283     ;;
 19284   esac
 19285   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 19286   shlibpath_overrides_runpath=no
 19287   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 19288   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 19289   hardcode_into_libs=yes
 19290   ;;
 19291 
 19292 # No shared lib support for Linux oldld, aout, or coff.
 19293 linux*oldld* | linux*aout* | linux*coff*)
 19294   dynamic_linker=no
 19295   ;;
 19296 
 19297 # This must be Linux ELF.
 19298 linux* | k*bsd*-gnu)
 19299   version_type=linux
 19300   need_lib_prefix=no
 19301   need_version=no
 19302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19303   soname_spec='${libname}${release}${shared_ext}$major'
 19304   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 19305   shlibpath_var=LD_LIBRARY_PATH
 19306   shlibpath_overrides_runpath=no
 19307   # This implies no fast_install, which is unacceptable.
 19308   # Some rework will be needed to allow for fast_install
 19309   # before this can be enabled.
 19310   hardcode_into_libs=yes
 19311 
 19312   # Append ld.so.conf contents to the search path
 19313   if test -f /etc/ld.so.conf; then
 19314     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' ' '`
 19315     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 19316   fi
 19317 
 19318   # We used to test for /lib/ld.so.1 and disable shared libraries on
 19319   # powerpc, because MkLinux only supported shared libraries with the
 19320   # GNU dynamic linker.  Since this was broken with cross compilers,
 19321   # most powerpc-linux boxes support dynamic linking these days and
 19322   # people can always --disable-shared, the test was removed, and we
 19323   # assume the GNU/Linux dynamic linker is in use.
 19324   dynamic_linker='GNU/Linux ld.so'
 19325   ;;
 19326 
 19327 netbsd*)
 19328   version_type=sunos
 19329   need_lib_prefix=no
 19330   need_version=no
 19331   if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
 19332     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 19333     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 19334     dynamic_linker='NetBSD (a.out) ld.so'
 19335   else
 19336     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 19337     soname_spec='${libname}${release}${shared_ext}$major'
 19338     dynamic_linker='NetBSD ld.elf_so'
 19339   fi
 19340   shlibpath_var=LD_LIBRARY_PATH
 19341   shlibpath_overrides_runpath=yes
 19342   hardcode_into_libs=yes
 19343   ;;
 19344 
 19345 newsos6)
 19346   version_type=linux
 19347   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19348   shlibpath_var=LD_LIBRARY_PATH
 19349   shlibpath_overrides_runpath=yes
 19350   ;;
 19351 
 19352 nto-qnx*)
 19353   version_type=linux
 19354   need_lib_prefix=no
 19355   need_version=no
 19356   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19357   soname_spec='${libname}${release}${shared_ext}$major'
 19358   shlibpath_var=LD_LIBRARY_PATH
 19359   shlibpath_overrides_runpath=yes
 19360   ;;
 19361 
 19362 openbsd*)
 19363   version_type=sunos
 19364   sys_lib_dlsearch_path_spec="/usr/lib"
 19365   need_lib_prefix=no
 19366   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 19367   case $host_os in
 19368     openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 19369     *)                         need_version=no  ;;
 19370   esac
 19371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 19372   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 19373   shlibpath_var=LD_LIBRARY_PATH
 19374   if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 19375     case $host_os in
 19376       openbsd2.[89] | openbsd2.[89].*)
 19377 	shlibpath_overrides_runpath=no
 19378 	;;
 19379       *)
 19380 	shlibpath_overrides_runpath=yes
 19381 	;;
 19382       esac
 19383   else
 19384     shlibpath_overrides_runpath=yes
 19385   fi
 19386   ;;
 19387 
 19388 os2*)
 19389   libname_spec='$name'
 19390   shrext_cmds=".dll"
 19391   need_lib_prefix=no
 19392   library_names_spec='$libname${shared_ext} $libname.a'
 19393   dynamic_linker='OS/2 ld.exe'
 19394   shlibpath_var=LIBPATH
 19395   ;;
 19396 
 19397 osf3* | osf4* | osf5*)
 19398   version_type=osf
 19399   need_lib_prefix=no
 19400   need_version=no
 19401   soname_spec='${libname}${release}${shared_ext}$major'
 19402   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19403   shlibpath_var=LD_LIBRARY_PATH
 19404   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 19405   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 19406   ;;
 19407 
 19408 rdos*)
 19409   dynamic_linker=no
 19410   ;;
 19411 
 19412 solaris*)
 19413   version_type=linux
 19414   need_lib_prefix=no
 19415   need_version=no
 19416   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19417   soname_spec='${libname}${release}${shared_ext}$major'
 19418   shlibpath_var=LD_LIBRARY_PATH
 19419   shlibpath_overrides_runpath=yes
 19420   hardcode_into_libs=yes
 19421   # ldd complains unless libraries are executable
 19422   postinstall_cmds='chmod +x $lib'
 19423   ;;
 19424 
 19425 sunos4*)
 19426   version_type=sunos
 19427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 19428   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 19429   shlibpath_var=LD_LIBRARY_PATH
 19430   shlibpath_overrides_runpath=yes
 19431   if test "$with_gnu_ld" = yes; then
 19432     need_lib_prefix=no
 19433   fi
 19434   need_version=yes
 19435   ;;
 19436 
 19437 sysv4 | sysv4.3*)
 19438   version_type=linux
 19439   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19440   soname_spec='${libname}${release}${shared_ext}$major'
 19441   shlibpath_var=LD_LIBRARY_PATH
 19442   case $host_vendor in
 19443     sni)
 19444       shlibpath_overrides_runpath=no
 19445       need_lib_prefix=no
 19446       export_dynamic_flag_spec='${wl}-Blargedynsym'
 19447       runpath_var=LD_RUN_PATH
 19448       ;;
 19449     siemens)
 19450       need_lib_prefix=no
 19451       ;;
 19452     motorola)
 19453       need_lib_prefix=no
 19454       need_version=no
 19455       shlibpath_overrides_runpath=no
 19456       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 19457       ;;
 19458   esac
 19459   ;;
 19460 
 19461 sysv4*MP*)
 19462   if test -d /usr/nec ;then
 19463     version_type=linux
 19464     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 19465     soname_spec='$libname${shared_ext}.$major'
 19466     shlibpath_var=LD_LIBRARY_PATH
 19467   fi
 19468   ;;
 19469 
 19470 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 19471   version_type=freebsd-elf
 19472   need_lib_prefix=no
 19473   need_version=no
 19474   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 19475   soname_spec='${libname}${release}${shared_ext}$major'
 19476   shlibpath_var=LD_LIBRARY_PATH
 19477   hardcode_into_libs=yes
 19478   if test "$with_gnu_ld" = yes; then
 19479     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 19480     shlibpath_overrides_runpath=no
 19481   else
 19482     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 19483     shlibpath_overrides_runpath=yes
 19484     case $host_os in
 19485       sco3.2v5*)
 19486         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 19487 	;;
 19488     esac
 19489   fi
 19490   sys_lib_dlsearch_path_spec='/usr/lib'
 19491   ;;
 19492 
 19493 uts4*)
 19494   version_type=linux
 19495   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 19496   soname_spec='${libname}${release}${shared_ext}$major'
 19497   shlibpath_var=LD_LIBRARY_PATH
 19498   ;;
 19499 
 19500 *)
 19501   dynamic_linker=no
 19502   ;;
 19503 esac
 19504 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 19505 $as_echo "$dynamic_linker" >&6; }
 19506 test "$dynamic_linker" = no && can_build_shared=no
 19507 
 19508 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 19509   $as_echo_n "(cached) " >&6
 19510 else
 19511   lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"
 19512 fi
 19513 
 19514 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 19515 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 19516   $as_echo_n "(cached) " >&6
 19517 else
 19518   lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"
 19519 fi
 19520 
 19521 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 19522 
 19523 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 19524 if test "$GCC" = yes; then
 19525   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 19526 fi
 19527 
 19528 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 19529 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 19530 hardcode_action_GCJ=
 19531 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
 19532    test -n "$runpath_var_GCJ" || \
 19533    test "X$hardcode_automatic_GCJ" = "Xyes" ; then
 19534 
 19535   # We can hardcode non-existant directories.
 19536   if test "$hardcode_direct_GCJ" != no &&
 19537      # If the only mechanism to avoid hardcoding is shlibpath_var, we
 19538      # have to relink, otherwise we might link with an installed library
 19539      # when we should be linking with a yet-to-be-installed one
 19540      ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
 19541      test "$hardcode_minus_L_GCJ" != no; then
 19542     # Linking always hardcodes the temporary library directory.
 19543     hardcode_action_GCJ=relink
 19544   else
 19545     # We can link without hardcoding, and we can hardcode nonexisting dirs.
 19546     hardcode_action_GCJ=immediate
 19547   fi
 19548 else
 19549   # We cannot hardcode anything, or else we can only hardcode existing
 19550   # directories.
 19551   hardcode_action_GCJ=unsupported
 19552 fi
 19553 { $as_echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
 19554 $as_echo "$hardcode_action_GCJ" >&6; }
 19555 
 19556 if test "$hardcode_action_GCJ" = relink; then
 19557   # Fast installation is not supported
 19558   enable_fast_install=no
 19559 elif test "$shlibpath_overrides_runpath" = yes ||
 19560      test "$enable_shared" = no; then
 19561   # Fast installation is not necessary
 19562   enable_fast_install=needless
 19563 fi
 19564 
 19565 
 19566 # The else clause should only fire when bootstrapping the
 19567 # libtool distribution, otherwise you forgot to ship ltmain.sh
 19568 # with your package, and you will get complaints that there are
 19569 # no rules to generate ltmain.sh.
 19570 if test -f "$ltmain"; then
 19571   # See if we are running on zsh, and set the options which allow our commands through
 19572   # without removal of \ escapes.
 19573   if test -n "${ZSH_VERSION+set}" ; then
 19574     setopt NO_GLOB_SUBST
 19575   fi
 19576   # Now quote all the things that may contain metacharacters while being
 19577   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 19578   # variables and quote the copies for generation of the libtool script.
 19579   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 19580     SED SHELL STRIP \
 19581     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 19582     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 19583     deplibs_check_method reload_flag reload_cmds need_locks \
 19584     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 19585     lt_cv_sys_global_symbol_to_c_name_address \
 19586     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 19587     old_postinstall_cmds old_postuninstall_cmds \
 19588     compiler_GCJ \
 19589     CC_GCJ \
 19590     LD_GCJ \
 19591     lt_prog_compiler_wl_GCJ \
 19592     lt_prog_compiler_pic_GCJ \
 19593     lt_prog_compiler_static_GCJ \
 19594     lt_prog_compiler_no_builtin_flag_GCJ \
 19595     export_dynamic_flag_spec_GCJ \
 19596     thread_safe_flag_spec_GCJ \
 19597     whole_archive_flag_spec_GCJ \
 19598     enable_shared_with_static_runtimes_GCJ \
 19599     old_archive_cmds_GCJ \
 19600     old_archive_from_new_cmds_GCJ \
 19601     predep_objects_GCJ \
 19602     postdep_objects_GCJ \
 19603     predeps_GCJ \
 19604     postdeps_GCJ \
 19605     compiler_lib_search_path_GCJ \
 19606     compiler_lib_search_dirs_GCJ \
 19607     archive_cmds_GCJ \
 19608     archive_expsym_cmds_GCJ \
 19609     postinstall_cmds_GCJ \
 19610     postuninstall_cmds_GCJ \
 19611     old_archive_from_expsyms_cmds_GCJ \
 19612     allow_undefined_flag_GCJ \
 19613     no_undefined_flag_GCJ \
 19614     export_symbols_cmds_GCJ \
 19615     hardcode_libdir_flag_spec_GCJ \
 19616     hardcode_libdir_flag_spec_ld_GCJ \
 19617     hardcode_libdir_separator_GCJ \
 19618     hardcode_automatic_GCJ \
 19619     module_cmds_GCJ \
 19620     module_expsym_cmds_GCJ \
 19621     lt_cv_prog_compiler_c_o_GCJ \
 19622     fix_srcfile_path_GCJ \
 19623     exclude_expsyms_GCJ \
 19624     include_expsyms_GCJ; do
 19625 
 19626     case $var in
 19627     old_archive_cmds_GCJ | \
 19628     old_archive_from_new_cmds_GCJ | \
 19629     archive_cmds_GCJ | \
 19630     archive_expsym_cmds_GCJ | \
 19631     module_cmds_GCJ | \
 19632     module_expsym_cmds_GCJ | \
 19633     old_archive_from_expsyms_cmds_GCJ | \
 19634     export_symbols_cmds_GCJ | \
 19635     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 19636     postinstall_cmds | postuninstall_cmds | \
 19637     old_postinstall_cmds | old_postuninstall_cmds | \
 19638     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 19639       # Double-quote double-evaled strings.
 19640       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 19641       ;;
 19642     *)
 19643       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 19644       ;;
 19645     esac
 19646   done
 19647 
 19648   case $lt_echo in
 19649   *'\$0 --fallback-echo"')
 19650     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 19651     ;;
 19652   esac
 19653 
 19654 cfgfile="$ofile"
 19655 
 19656   cat <<__EOF__ >> "$cfgfile"
 19657 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 19658 
 19659 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 19660 
 19661 # Shell to use when invoking shell scripts.
 19662 SHELL=$lt_SHELL
 19663 
 19664 # Whether or not to build shared libraries.
 19665 build_libtool_libs=$enable_shared
 19666 
 19667 # Whether or not to build static libraries.
 19668 build_old_libs=$enable_static
 19669 
 19670 # Whether or not to add -lc for building shared libraries.
 19671 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
 19672 
 19673 # Whether or not to disallow shared libs when runtime libs are static
 19674 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
 19675 
 19676 # Whether or not to optimize for fast installation.
 19677 fast_install=$enable_fast_install
 19678 
 19679 # The host system.
 19680 host_alias=$host_alias
 19681 host=$host
 19682 host_os=$host_os
 19683 
 19684 # The build system.
 19685 build_alias=$build_alias
 19686 build=$build
 19687 build_os=$build_os
 19688 
 19689 # An echo program that does not interpret backslashes.
 19690 echo=$lt_echo
 19691 
 19692 # The archiver.
 19693 AR=$lt_AR
 19694 AR_FLAGS=$lt_AR_FLAGS
 19695 
 19696 # A C compiler.
 19697 LTCC=$lt_LTCC
 19698 
 19699 # LTCC compiler flags.
 19700 LTCFLAGS=$lt_LTCFLAGS
 19701 
 19702 # A language-specific compiler.
 19703 CC=$lt_compiler_GCJ
 19704 
 19705 # Is the compiler the GNU C compiler?
 19706 with_gcc=$GCC_GCJ
 19707 
 19708 # An ERE matcher.
 19709 EGREP=$lt_EGREP
 19710 
 19711 # The linker used to build libraries.
 19712 LD=$lt_LD_GCJ
 19713 
 19714 # Whether we need hard or soft links.
 19715 LN_S=$lt_LN_S
 19716 
 19717 # A BSD-compatible nm program.
 19718 NM=$lt_NM
 19719 
 19720 # A symbol stripping program
 19721 STRIP=$lt_STRIP
 19722 
 19723 # Used to examine libraries when file_magic_cmd begins "file"
 19724 MAGIC_CMD=$MAGIC_CMD
 19725 
 19726 # Used on cygwin: DLL creation program.
 19727 DLLTOOL="$DLLTOOL"
 19728 
 19729 # Used on cygwin: object dumper.
 19730 OBJDUMP="$OBJDUMP"
 19731 
 19732 # Used on cygwin: assembler.
 19733 AS="$AS"
 19734 
 19735 # The name of the directory that contains temporary libtool files.
 19736 objdir=$objdir
 19737 
 19738 # How to create reloadable object files.
 19739 reload_flag=$lt_reload_flag
 19740 reload_cmds=$lt_reload_cmds
 19741 
 19742 # How to pass a linker flag through the compiler.
 19743 wl=$lt_lt_prog_compiler_wl_GCJ
 19744 
 19745 # Object file suffix (normally "o").
 19746 objext="$ac_objext"
 19747 
 19748 # Old archive suffix (normally "a").
 19749 libext="$libext"
 19750 
 19751 # Shared library suffix (normally ".so").
 19752 shrext_cmds='$shrext_cmds'
 19753 
 19754 # Executable file suffix (normally "").
 19755 exeext="$exeext"
 19756 
 19757 # Additional compiler flags for building library objects.
 19758 pic_flag=$lt_lt_prog_compiler_pic_GCJ
 19759 pic_mode=$pic_mode
 19760 
 19761 # What is the maximum length of a command?
 19762 max_cmd_len=$lt_cv_sys_max_cmd_len
 19763 
 19764 # Does compiler simultaneously support -c and -o options?
 19765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
 19766 
 19767 # Must we lock files when doing compilation?
 19768 need_locks=$lt_need_locks
 19769 
 19770 # Do we need the lib prefix for modules?
 19771 need_lib_prefix=$need_lib_prefix
 19772 
 19773 # Do we need a version for libraries?
 19774 need_version=$need_version
 19775 
 19776 # Whether dlopen is supported.
 19777 dlopen_support=$enable_dlopen
 19778 
 19779 # Whether dlopen of programs is supported.
 19780 dlopen_self=$enable_dlopen_self
 19781 
 19782 # Whether dlopen of statically linked programs is supported.
 19783 dlopen_self_static=$enable_dlopen_self_static
 19784 
 19785 # Compiler flag to prevent dynamic linking.
 19786 link_static_flag=$lt_lt_prog_compiler_static_GCJ
 19787 
 19788 # Compiler flag to turn off builtin functions.
 19789 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
 19790 
 19791 # Compiler flag to allow reflexive dlopens.
 19792 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
 19793 
 19794 # Compiler flag to generate shared objects directly from archives.
 19795 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
 19796 
 19797 # Compiler flag to generate thread-safe objects.
 19798 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
 19799 
 19800 # Library versioning type.
 19801 version_type=$version_type
 19802 
 19803 # Format of library name prefix.
 19804 libname_spec=$lt_libname_spec
 19805 
 19806 # List of archive names.  First name is the real one, the rest are links.
 19807 # The last name is the one that the linker finds with -lNAME.
 19808 library_names_spec=$lt_library_names_spec
 19809 
 19810 # The coded name of the library, if different from the real name.
 19811 soname_spec=$lt_soname_spec
 19812 
 19813 # Commands used to build and install an old-style archive.
 19814 RANLIB=$lt_RANLIB
 19815 old_archive_cmds=$lt_old_archive_cmds_GCJ
 19816 old_postinstall_cmds=$lt_old_postinstall_cmds
 19817 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 19818 
 19819 # Create an old-style archive from a shared archive.
 19820 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
 19821 
 19822 # Create a temporary old-style archive to link instead of a shared archive.
 19823 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
 19824 
 19825 # Commands used to build and install a shared archive.
 19826 archive_cmds=$lt_archive_cmds_GCJ
 19827 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
 19828 postinstall_cmds=$lt_postinstall_cmds
 19829 postuninstall_cmds=$lt_postuninstall_cmds
 19830 
 19831 # Commands used to build a loadable module (assumed same as above if empty)
 19832 module_cmds=$lt_module_cmds_GCJ
 19833 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
 19834 
 19835 # Commands to strip libraries.
 19836 old_striplib=$lt_old_striplib
 19837 striplib=$lt_striplib
 19838 
 19839 # Dependencies to place before the objects being linked to create a
 19840 # shared library.
 19841 predep_objects=$lt_predep_objects_GCJ
 19842 
 19843 # Dependencies to place after the objects being linked to create a
 19844 # shared library.
 19845 postdep_objects=$lt_postdep_objects_GCJ
 19846 
 19847 # Dependencies to place before the objects being linked to create a
 19848 # shared library.
 19849 predeps=$lt_predeps_GCJ
 19850 
 19851 # Dependencies to place after the objects being linked to create a
 19852 # shared library.
 19853 postdeps=$lt_postdeps_GCJ
 19854 
 19855 # The directories searched by this compiler when creating a shared
 19856 # library
 19857 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_GCJ
 19858 
 19859 # The library search path used internally by the compiler when linking
 19860 # a shared library.
 19861 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
 19862 
 19863 # Method to check whether dependent libraries are shared objects.
 19864 deplibs_check_method=$lt_deplibs_check_method
 19865 
 19866 # Command to use when deplibs_check_method == file_magic.
 19867 file_magic_cmd=$lt_file_magic_cmd
 19868 
 19869 # Flag that allows shared libraries with undefined symbols to be built.
 19870 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
 19871 
 19872 # Flag that forces no undefined symbols.
 19873 no_undefined_flag=$lt_no_undefined_flag_GCJ
 19874 
 19875 # Commands used to finish a libtool library installation in a directory.
 19876 finish_cmds=$lt_finish_cmds
 19877 
 19878 # Same as above, but a single script fragment to be evaled but not shown.
 19879 finish_eval=$lt_finish_eval
 19880 
 19881 # Take the output of nm and produce a listing of raw symbols and C names.
 19882 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 19883 
 19884 # Transform the output of nm in a proper C declaration
 19885 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 19886 
 19887 # Transform the output of nm in a C name address pair
 19888 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 19889 
 19890 # This is the shared library runtime path variable.
 19891 runpath_var=$runpath_var
 19892 
 19893 # This is the shared library path variable.
 19894 shlibpath_var=$shlibpath_var
 19895 
 19896 # Is shlibpath searched before the hard-coded library search path?
 19897 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 19898 
 19899 # How to hardcode a shared library path into an executable.
 19900 hardcode_action=$hardcode_action_GCJ
 19901 
 19902 # Whether we should hardcode library paths into libraries.
 19903 hardcode_into_libs=$hardcode_into_libs
 19904 
 19905 # Flag to hardcode \$libdir into a binary during linking.
 19906 # This must work even if \$libdir does not exist.
 19907 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
 19908 
 19909 # If ld is used when linking, flag to hardcode \$libdir into
 19910 # a binary during linking. This must work even if \$libdir does
 19911 # not exist.
 19912 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
 19913 
 19914 # Whether we need a single -rpath flag with a separated argument.
 19915 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
 19916 
 19917 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 19918 # resulting binary.
 19919 hardcode_direct=$hardcode_direct_GCJ
 19920 
 19921 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 19922 # resulting binary.
 19923 hardcode_minus_L=$hardcode_minus_L_GCJ
 19924 
 19925 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 19926 # the resulting binary.
 19927 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
 19928 
 19929 # Set to yes if building a shared library automatically hardcodes DIR into the library
 19930 # and all subsequent libraries and executables linked against it.
 19931 hardcode_automatic=$hardcode_automatic_GCJ
 19932 
 19933 # Variables whose values should be saved in libtool wrapper scripts and
 19934 # restored at relink time.
 19935 variables_saved_for_relink="$variables_saved_for_relink"
 19936 
 19937 # Whether libtool must link a program against all its dependency libraries.
 19938 link_all_deplibs=$link_all_deplibs_GCJ
 19939 
 19940 # Compile-time system search path for libraries
 19941 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 19942 
 19943 # Run-time system search path for libraries
 19944 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 19945 
 19946 # Fix the shell variable \$srcfile for the compiler.
 19947 fix_srcfile_path=$lt_fix_srcfile_path
 19948 
 19949 # Set to yes if exported symbols are required.
 19950 always_export_symbols=$always_export_symbols_GCJ
 19951 
 19952 # The commands to list exported symbols.
 19953 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
 19954 
 19955 # The commands to extract the exported symbol list from a shared archive.
 19956 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 19957 
 19958 # Symbols that should not be listed in the preloaded symbols.
 19959 exclude_expsyms=$lt_exclude_expsyms_GCJ
 19960 
 19961 # Symbols that must always be exported.
 19962 include_expsyms=$lt_include_expsyms_GCJ
 19963 
 19964 # ### END LIBTOOL TAG CONFIG: $tagname
 19965 
 19966 __EOF__
 19967 
 19968 
 19969 else
 19970   # If there is no Makefile yet, we rely on a make rule to execute
 19971   # `config.status --recheck' to rerun these tests and create the
 19972   # libtool script then.
 19973   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 19974   if test -f "$ltmain_in"; then
 19975     test -f Makefile && make "$ltmain"
 19976   fi
 19977 fi
 19978 
 19979 
 19980 ac_ext=c
 19981 ac_cpp='$CPP $CPPFLAGS'
 19982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 19983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 19984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 19985 
 19986 CC="$lt_save_CC"
 19987 
 19988 	else
 19989 	  tagname=""
 19990 	fi
 19991 	;;
 19992 
 19993       RC)
 19994 
 19995 
 19996 # Source file extension for RC test sources.
 19997 ac_ext=rc
 19998 
 19999 # Object file extension for compiled RC test sources.
 20000 objext=o
 20001 objext_RC=$objext
 20002 
 20003 # Code to be used in simple compile tests
 20004 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
 20005 
 20006 # Code to be used in simple link tests
 20007 lt_simple_link_test_code="$lt_simple_compile_test_code"
 20008 
 20009 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 20010 
 20011 # If no C compiler was specified, use CC.
 20012 LTCC=${LTCC-"$CC"}
 20013 
 20014 # If no C compiler flags were specified, use CFLAGS.
 20015 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 20016 
 20017 # Allow CC to be a program name with arguments.
 20018 compiler=$CC
 20019 
 20020 
 20021 # save warnings/boilerplate of simple test code
 20022 ac_outfile=conftest.$ac_objext
 20023 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 20024 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 20025 _lt_compiler_boilerplate=`cat conftest.err`
 20026 $rm conftest*
 20027 
 20028 ac_outfile=conftest.$ac_objext
 20029 echo "$lt_simple_link_test_code" >conftest.$ac_ext
 20030 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 20031 _lt_linker_boilerplate=`cat conftest.err`
 20032 $rm -r conftest*
 20033 
 20034 
 20035 # Allow CC to be a program name with arguments.
 20036 lt_save_CC="$CC"
 20037 CC=${RC-"windres"}
 20038 compiler=$CC
 20039 compiler_RC=$CC
 20040 for cc_temp in $compiler""; do
 20041   case $cc_temp in
 20042     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 20043     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 20044     \-*) ;;
 20045     *) break;;
 20046   esac
 20047 done
 20048 cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 20049 
 20050 lt_cv_prog_compiler_c_o_RC=yes
 20051 
 20052 # The else clause should only fire when bootstrapping the
 20053 # libtool distribution, otherwise you forgot to ship ltmain.sh
 20054 # with your package, and you will get complaints that there are
 20055 # no rules to generate ltmain.sh.
 20056 if test -f "$ltmain"; then
 20057   # See if we are running on zsh, and set the options which allow our commands through
 20058   # without removal of \ escapes.
 20059   if test -n "${ZSH_VERSION+set}" ; then
 20060     setopt NO_GLOB_SUBST
 20061   fi
 20062   # Now quote all the things that may contain metacharacters while being
 20063   # careful not to overquote the AC_SUBSTed values.  We take copies of the
 20064   # variables and quote the copies for generation of the libtool script.
 20065   for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC LTCFLAGS NM \
 20066     SED SHELL STRIP \
 20067     libname_spec library_names_spec soname_spec extract_expsyms_cmds \
 20068     old_striplib striplib file_magic_cmd finish_cmds finish_eval \
 20069     deplibs_check_method reload_flag reload_cmds need_locks \
 20070     lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
 20071     lt_cv_sys_global_symbol_to_c_name_address \
 20072     sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
 20073     old_postinstall_cmds old_postuninstall_cmds \
 20074     compiler_RC \
 20075     CC_RC \
 20076     LD_RC \
 20077     lt_prog_compiler_wl_RC \
 20078     lt_prog_compiler_pic_RC \
 20079     lt_prog_compiler_static_RC \
 20080     lt_prog_compiler_no_builtin_flag_RC \
 20081     export_dynamic_flag_spec_RC \
 20082     thread_safe_flag_spec_RC \
 20083     whole_archive_flag_spec_RC \
 20084     enable_shared_with_static_runtimes_RC \
 20085     old_archive_cmds_RC \
 20086     old_archive_from_new_cmds_RC \
 20087     predep_objects_RC \
 20088     postdep_objects_RC \
 20089     predeps_RC \
 20090     postdeps_RC \
 20091     compiler_lib_search_path_RC \
 20092     compiler_lib_search_dirs_RC \
 20093     archive_cmds_RC \
 20094     archive_expsym_cmds_RC \
 20095     postinstall_cmds_RC \
 20096     postuninstall_cmds_RC \
 20097     old_archive_from_expsyms_cmds_RC \
 20098     allow_undefined_flag_RC \
 20099     no_undefined_flag_RC \
 20100     export_symbols_cmds_RC \
 20101     hardcode_libdir_flag_spec_RC \
 20102     hardcode_libdir_flag_spec_ld_RC \
 20103     hardcode_libdir_separator_RC \
 20104     hardcode_automatic_RC \
 20105     module_cmds_RC \
 20106     module_expsym_cmds_RC \
 20107     lt_cv_prog_compiler_c_o_RC \
 20108     fix_srcfile_path_RC \
 20109     exclude_expsyms_RC \
 20110     include_expsyms_RC; do
 20111 
 20112     case $var in
 20113     old_archive_cmds_RC | \
 20114     old_archive_from_new_cmds_RC | \
 20115     archive_cmds_RC | \
 20116     archive_expsym_cmds_RC | \
 20117     module_cmds_RC | \
 20118     module_expsym_cmds_RC | \
 20119     old_archive_from_expsyms_cmds_RC | \
 20120     export_symbols_cmds_RC | \
 20121     extract_expsyms_cmds | reload_cmds | finish_cmds | \
 20122     postinstall_cmds | postuninstall_cmds | \
 20123     old_postinstall_cmds | old_postuninstall_cmds | \
 20124     sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
 20125       # Double-quote double-evaled strings.
 20126       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
 20127       ;;
 20128     *)
 20129       eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
 20130       ;;
 20131     esac
 20132   done
 20133 
 20134   case $lt_echo in
 20135   *'\$0 --fallback-echo"')
 20136     lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
 20137     ;;
 20138   esac
 20139 
 20140 cfgfile="$ofile"
 20141 
 20142   cat <<__EOF__ >> "$cfgfile"
 20143 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
 20144 
 20145 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 20146 
 20147 # Shell to use when invoking shell scripts.
 20148 SHELL=$lt_SHELL
 20149 
 20150 # Whether or not to build shared libraries.
 20151 build_libtool_libs=$enable_shared
 20152 
 20153 # Whether or not to build static libraries.
 20154 build_old_libs=$enable_static
 20155 
 20156 # Whether or not to add -lc for building shared libraries.
 20157 build_libtool_need_lc=$archive_cmds_need_lc_RC
 20158 
 20159 # Whether or not to disallow shared libs when runtime libs are static
 20160 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
 20161 
 20162 # Whether or not to optimize for fast installation.
 20163 fast_install=$enable_fast_install
 20164 
 20165 # The host system.
 20166 host_alias=$host_alias
 20167 host=$host
 20168 host_os=$host_os
 20169 
 20170 # The build system.
 20171 build_alias=$build_alias
 20172 build=$build
 20173 build_os=$build_os
 20174 
 20175 # An echo program that does not interpret backslashes.
 20176 echo=$lt_echo
 20177 
 20178 # The archiver.
 20179 AR=$lt_AR
 20180 AR_FLAGS=$lt_AR_FLAGS
 20181 
 20182 # A C compiler.
 20183 LTCC=$lt_LTCC
 20184 
 20185 # LTCC compiler flags.
 20186 LTCFLAGS=$lt_LTCFLAGS
 20187 
 20188 # A language-specific compiler.
 20189 CC=$lt_compiler_RC
 20190 
 20191 # Is the compiler the GNU C compiler?
 20192 with_gcc=$GCC_RC
 20193 
 20194 # An ERE matcher.
 20195 EGREP=$lt_EGREP
 20196 
 20197 # The linker used to build libraries.
 20198 LD=$lt_LD_RC
 20199 
 20200 # Whether we need hard or soft links.
 20201 LN_S=$lt_LN_S
 20202 
 20203 # A BSD-compatible nm program.
 20204 NM=$lt_NM
 20205 
 20206 # A symbol stripping program
 20207 STRIP=$lt_STRIP
 20208 
 20209 # Used to examine libraries when file_magic_cmd begins "file"
 20210 MAGIC_CMD=$MAGIC_CMD
 20211 
 20212 # Used on cygwin: DLL creation program.
 20213 DLLTOOL="$DLLTOOL"
 20214 
 20215 # Used on cygwin: object dumper.
 20216 OBJDUMP="$OBJDUMP"
 20217 
 20218 # Used on cygwin: assembler.
 20219 AS="$AS"
 20220 
 20221 # The name of the directory that contains temporary libtool files.
 20222 objdir=$objdir
 20223 
 20224 # How to create reloadable object files.
 20225 reload_flag=$lt_reload_flag
 20226 reload_cmds=$lt_reload_cmds
 20227 
 20228 # How to pass a linker flag through the compiler.
 20229 wl=$lt_lt_prog_compiler_wl_RC
 20230 
 20231 # Object file suffix (normally "o").
 20232 objext="$ac_objext"
 20233 
 20234 # Old archive suffix (normally "a").
 20235 libext="$libext"
 20236 
 20237 # Shared library suffix (normally ".so").
 20238 shrext_cmds='$shrext_cmds'
 20239 
 20240 # Executable file suffix (normally "").
 20241 exeext="$exeext"
 20242 
 20243 # Additional compiler flags for building library objects.
 20244 pic_flag=$lt_lt_prog_compiler_pic_RC
 20245 pic_mode=$pic_mode
 20246 
 20247 # What is the maximum length of a command?
 20248 max_cmd_len=$lt_cv_sys_max_cmd_len
 20249 
 20250 # Does compiler simultaneously support -c and -o options?
 20251 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
 20252 
 20253 # Must we lock files when doing compilation?
 20254 need_locks=$lt_need_locks
 20255 
 20256 # Do we need the lib prefix for modules?
 20257 need_lib_prefix=$need_lib_prefix
 20258 
 20259 # Do we need a version for libraries?
 20260 need_version=$need_version
 20261 
 20262 # Whether dlopen is supported.
 20263 dlopen_support=$enable_dlopen
 20264 
 20265 # Whether dlopen of programs is supported.
 20266 dlopen_self=$enable_dlopen_self
 20267 
 20268 # Whether dlopen of statically linked programs is supported.
 20269 dlopen_self_static=$enable_dlopen_self_static
 20270 
 20271 # Compiler flag to prevent dynamic linking.
 20272 link_static_flag=$lt_lt_prog_compiler_static_RC
 20273 
 20274 # Compiler flag to turn off builtin functions.
 20275 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
 20276 
 20277 # Compiler flag to allow reflexive dlopens.
 20278 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
 20279 
 20280 # Compiler flag to generate shared objects directly from archives.
 20281 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
 20282 
 20283 # Compiler flag to generate thread-safe objects.
 20284 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
 20285 
 20286 # Library versioning type.
 20287 version_type=$version_type
 20288 
 20289 # Format of library name prefix.
 20290 libname_spec=$lt_libname_spec
 20291 
 20292 # List of archive names.  First name is the real one, the rest are links.
 20293 # The last name is the one that the linker finds with -lNAME.
 20294 library_names_spec=$lt_library_names_spec
 20295 
 20296 # The coded name of the library, if different from the real name.
 20297 soname_spec=$lt_soname_spec
 20298 
 20299 # Commands used to build and install an old-style archive.
 20300 RANLIB=$lt_RANLIB
 20301 old_archive_cmds=$lt_old_archive_cmds_RC
 20302 old_postinstall_cmds=$lt_old_postinstall_cmds
 20303 old_postuninstall_cmds=$lt_old_postuninstall_cmds
 20304 
 20305 # Create an old-style archive from a shared archive.
 20306 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
 20307 
 20308 # Create a temporary old-style archive to link instead of a shared archive.
 20309 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
 20310 
 20311 # Commands used to build and install a shared archive.
 20312 archive_cmds=$lt_archive_cmds_RC
 20313 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
 20314 postinstall_cmds=$lt_postinstall_cmds
 20315 postuninstall_cmds=$lt_postuninstall_cmds
 20316 
 20317 # Commands used to build a loadable module (assumed same as above if empty)
 20318 module_cmds=$lt_module_cmds_RC
 20319 module_expsym_cmds=$lt_module_expsym_cmds_RC
 20320 
 20321 # Commands to strip libraries.
 20322 old_striplib=$lt_old_striplib
 20323 striplib=$lt_striplib
 20324 
 20325 # Dependencies to place before the objects being linked to create a
 20326 # shared library.
 20327 predep_objects=$lt_predep_objects_RC
 20328 
 20329 # Dependencies to place after the objects being linked to create a
 20330 # shared library.
 20331 postdep_objects=$lt_postdep_objects_RC
 20332 
 20333 # Dependencies to place before the objects being linked to create a
 20334 # shared library.
 20335 predeps=$lt_predeps_RC
 20336 
 20337 # Dependencies to place after the objects being linked to create a
 20338 # shared library.
 20339 postdeps=$lt_postdeps_RC
 20340 
 20341 # The directories searched by this compiler when creating a shared
 20342 # library
 20343 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_RC
 20344 
 20345 # The library search path used internally by the compiler when linking
 20346 # a shared library.
 20347 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
 20348 
 20349 # Method to check whether dependent libraries are shared objects.
 20350 deplibs_check_method=$lt_deplibs_check_method
 20351 
 20352 # Command to use when deplibs_check_method == file_magic.
 20353 file_magic_cmd=$lt_file_magic_cmd
 20354 
 20355 # Flag that allows shared libraries with undefined symbols to be built.
 20356 allow_undefined_flag=$lt_allow_undefined_flag_RC
 20357 
 20358 # Flag that forces no undefined symbols.
 20359 no_undefined_flag=$lt_no_undefined_flag_RC
 20360 
 20361 # Commands used to finish a libtool library installation in a directory.
 20362 finish_cmds=$lt_finish_cmds
 20363 
 20364 # Same as above, but a single script fragment to be evaled but not shown.
 20365 finish_eval=$lt_finish_eval
 20366 
 20367 # Take the output of nm and produce a listing of raw symbols and C names.
 20368 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 20369 
 20370 # Transform the output of nm in a proper C declaration
 20371 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 20372 
 20373 # Transform the output of nm in a C name address pair
 20374 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 20375 
 20376 # This is the shared library runtime path variable.
 20377 runpath_var=$runpath_var
 20378 
 20379 # This is the shared library path variable.
 20380 shlibpath_var=$shlibpath_var
 20381 
 20382 # Is shlibpath searched before the hard-coded library search path?
 20383 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 20384 
 20385 # How to hardcode a shared library path into an executable.
 20386 hardcode_action=$hardcode_action_RC
 20387 
 20388 # Whether we should hardcode library paths into libraries.
 20389 hardcode_into_libs=$hardcode_into_libs
 20390 
 20391 # Flag to hardcode \$libdir into a binary during linking.
 20392 # This must work even if \$libdir does not exist.
 20393 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
 20394 
 20395 # If ld is used when linking, flag to hardcode \$libdir into
 20396 # a binary during linking. This must work even if \$libdir does
 20397 # not exist.
 20398 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
 20399 
 20400 # Whether we need a single -rpath flag with a separated argument.
 20401 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
 20402 
 20403 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
 20404 # resulting binary.
 20405 hardcode_direct=$hardcode_direct_RC
 20406 
 20407 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
 20408 # resulting binary.
 20409 hardcode_minus_L=$hardcode_minus_L_RC
 20410 
 20411 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
 20412 # the resulting binary.
 20413 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
 20414 
 20415 # Set to yes if building a shared library automatically hardcodes DIR into the library
 20416 # and all subsequent libraries and executables linked against it.
 20417 hardcode_automatic=$hardcode_automatic_RC
 20418 
 20419 # Variables whose values should be saved in libtool wrapper scripts and
 20420 # restored at relink time.
 20421 variables_saved_for_relink="$variables_saved_for_relink"
 20422 
 20423 # Whether libtool must link a program against all its dependency libraries.
 20424 link_all_deplibs=$link_all_deplibs_RC
 20425 
 20426 # Compile-time system search path for libraries
 20427 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 20428 
 20429 # Run-time system search path for libraries
 20430 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 20431 
 20432 # Fix the shell variable \$srcfile for the compiler.
 20433 fix_srcfile_path=$lt_fix_srcfile_path
 20434 
 20435 # Set to yes if exported symbols are required.
 20436 always_export_symbols=$always_export_symbols_RC
 20437 
 20438 # The commands to list exported symbols.
 20439 export_symbols_cmds=$lt_export_symbols_cmds_RC
 20440 
 20441 # The commands to extract the exported symbol list from a shared archive.
 20442 extract_expsyms_cmds=$lt_extract_expsyms_cmds
 20443 
 20444 # Symbols that should not be listed in the preloaded symbols.
 20445 exclude_expsyms=$lt_exclude_expsyms_RC
 20446 
 20447 # Symbols that must always be exported.
 20448 include_expsyms=$lt_include_expsyms_RC
 20449 
 20450 # ### END LIBTOOL TAG CONFIG: $tagname
 20451 
 20452 __EOF__
 20453 
 20454 
 20455 else
 20456   # If there is no Makefile yet, we rely on a make rule to execute
 20457   # `config.status --recheck' to rerun these tests and create the
 20458   # libtool script then.
 20459   ltmain_in=`echo $ltmain | sed -e 's/\.sh$/.in/'`
 20460   if test -f "$ltmain_in"; then
 20461     test -f Makefile && make "$ltmain"
 20462   fi
 20463 fi
 20464 
 20465 
 20466 ac_ext=c
 20467 ac_cpp='$CPP $CPPFLAGS'
 20468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 20469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 20470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 20471 
 20472 CC="$lt_save_CC"
 20473 
 20474 	;;
 20475 
 20476       *)
 20477 	{ { $as_echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
 20478 $as_echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
 20479    { (exit 1); exit 1; }; }
 20480 	;;
 20481       esac
 20482 
 20483       # Append the new tag name to the list of available tags.
 20484       if test -n "$tagname" ; then
 20485       available_tags="$available_tags $tagname"
 20486     fi
 20487     fi
 20488   done
 20489   IFS="$lt_save_ifs"
 20490 
 20491   # Now substitute the updated list of available tags.
 20492   if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
 20493     mv "${ofile}T" "$ofile"
 20494     chmod +x "$ofile"
 20495   else
 20496     rm -f "${ofile}T"
 20497     { { $as_echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
 20498 $as_echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
 20499    { (exit 1); exit 1; }; }
 20500   fi
 20501 fi
 20502 
 20503 
 20504 
 20505 # This can be used to rebuild libtool when needed
 20506 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
 20507 
 20508 # Always use our own libtool.
 20509 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
 20510 
 20511 # Prevent multiple expansion
 20512 
 20513 
 20514 
 20515 
 20516 
 20517 
 20518 
 20519 
 20520 
 20521 
 20522 
 20523 
 20524 
 20525 
 20526 
 20527 
 20528 
 20529 
 20530 
 20531 
 20532 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
 20533 $as_echo_n "checking whether ln -s works... " >&6; }
 20534 LN_S=$as_ln_s
 20535 if test "$LN_S" = "ln -s"; then
 20536   { $as_echo "$as_me:$LINENO: result: yes" >&5
 20537 $as_echo "yes" >&6; }
 20538 else
 20539   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
 20540 $as_echo "no, using $LN_S" >&6; }
 20541 fi
 20542 
 20543 
 20544 PCRE_MAJOR="7"
 20545 PCRE_MINOR="9"
 20546 PCRE_PRERELEASE=""
 20547 PCRE_DATE="2009-04-11"
 20548 
 20549 
 20550 
 20551 
 20552 
 20553 
 20554 # Set a more sensible default value for $(htmldir).
 20555 if test "x$htmldir" = 'x${docdir}'
 20556 then
 20557   htmldir='${docdir}/html'
 20558 fi
 20559 
 20560 # Handle --disable-cpp
 20561 # Check whether --enable-cpp was given.
 20562 if test "${enable_cpp+set}" = set; then
 20563   enableval=$enable_cpp;
 20564 else
 20565   enable_cpp=yes
 20566 fi
 20567 
 20568 
 20569 # Handle --enable-rebuild-chartables
 20570 # Check whether --enable-rebuild-chartables was given.
 20571 if test "${enable_rebuild_chartables+set}" = set; then
 20572   enableval=$enable_rebuild_chartables;
 20573 else
 20574   enable_rebuild_chartables=no
 20575 fi
 20576 
 20577 
 20578 # Handle --enable-utf8 (disabled by default)
 20579 # Check whether --enable-utf8 was given.
 20580 if test "${enable_utf8+set}" = set; then
 20581   enableval=$enable_utf8;
 20582 else
 20583   enable_utf8=unset
 20584 fi
 20585 
 20586 
 20587 # Handle --enable-unicode-properties
 20588 # Check whether --enable-unicode-properties was given.
 20589 if test "${enable_unicode_properties+set}" = set; then
 20590   enableval=$enable_unicode_properties;
 20591 else
 20592   enable_unicode_properties=no
 20593 fi
 20594 
 20595 
 20596 # Handle --enable-newline=NL
 20597 
 20598 # Separate newline options
 20599 ac_pcre_newline=lf
 20600 # Check whether --enable-newline-is-cr was given.
 20601 if test "${enable_newline_is_cr+set}" = set; then
 20602   enableval=$enable_newline_is_cr; ac_pcre_newline=cr
 20603 fi
 20604 
 20605 # Check whether --enable-newline-is-lf was given.
 20606 if test "${enable_newline_is_lf+set}" = set; then
 20607   enableval=$enable_newline_is_lf; ac_pcre_newline=lf
 20608 fi
 20609 
 20610 # Check whether --enable-newline-is-crlf was given.
 20611 if test "${enable_newline_is_crlf+set}" = set; then
 20612   enableval=$enable_newline_is_crlf; ac_pcre_newline=crlf
 20613 fi
 20614 
 20615 # Check whether --enable-newline-is-anycrlf was given.
 20616 if test "${enable_newline_is_anycrlf+set}" = set; then
 20617   enableval=$enable_newline_is_anycrlf; ac_pcre_newline=anycrlf
 20618 fi
 20619 
 20620 # Check whether --enable-newline-is-any was given.
 20621 if test "${enable_newline_is_any+set}" = set; then
 20622   enableval=$enable_newline_is_any; ac_pcre_newline=any
 20623 fi
 20624 
 20625 enable_newline="$ac_pcre_newline"
 20626 
 20627 # Handle --enable-bsr-anycrlf
 20628 # Check whether --enable-bsr-anycrlf was given.
 20629 if test "${enable_bsr_anycrlf+set}" = set; then
 20630   enableval=$enable_bsr_anycrlf;
 20631 else
 20632   enable_bsr_anycrlf=no
 20633 fi
 20634 
 20635 
 20636 # Handle --enable-ebcdic
 20637 # Check whether --enable-ebcdic was given.
 20638 if test "${enable_ebcdic+set}" = set; then
 20639   enableval=$enable_ebcdic;
 20640 else
 20641   enable_ebcdic=no
 20642 fi
 20643 
 20644 
 20645 # Handle --disable-stack-for-recursion
 20646 # Check whether --enable-stack-for-recursion was given.
 20647 if test "${enable_stack_for_recursion+set}" = set; then
 20648   enableval=$enable_stack_for_recursion;
 20649 else
 20650   enable_stack_for_recursion=yes
 20651 fi
 20652 
 20653 
 20654 # Handle --enable-pcregrep-libz
 20655 # Check whether --enable-pcregrep-libz was given.
 20656 if test "${enable_pcregrep_libz+set}" = set; then
 20657   enableval=$enable_pcregrep_libz;
 20658 else
 20659   enable_pcregrep_libz=no
 20660 fi
 20661 
 20662 
 20663 # Handle --enable-pcregrep-libbz2
 20664 # Check whether --enable-pcregrep-libbz2 was given.
 20665 if test "${enable_pcregrep_libbz2+set}" = set; then
 20666   enableval=$enable_pcregrep_libbz2;
 20667 else
 20668   enable_pcregrep_libbz2=no
 20669 fi
 20670 
 20671 
 20672 # Handle --enable-pcretest-libreadline
 20673 # Check whether --enable-pcretest-libreadline was given.
 20674 if test "${enable_pcretest_libreadline+set}" = set; then
 20675   enableval=$enable_pcretest_libreadline;
 20676 else
 20677   enable_pcretest_libreadline=no
 20678 fi
 20679 
 20680 
 20681 # Handle --with-posix-malloc-threshold=NBYTES
 20682 
 20683 # Check whether --with-posix-malloc-threshold was given.
 20684 if test "${with_posix_malloc_threshold+set}" = set; then
 20685   withval=$with_posix_malloc_threshold;
 20686 else
 20687   with_posix_malloc_threshold=10
 20688 fi
 20689 
 20690 
 20691 # Handle --with-link-size=N
 20692 
 20693 # Check whether --with-link-size was given.
 20694 if test "${with_link_size+set}" = set; then
 20695   withval=$with_link_size;
 20696 else
 20697   with_link_size=2
 20698 fi
 20699 
 20700 
 20701 # Handle --with-match-limit=N
 20702 
 20703 # Check whether --with-match-limit was given.
 20704 if test "${with_match_limit+set}" = set; then
 20705   withval=$with_match_limit;
 20706 else
 20707   with_match_limit=10000000
 20708 fi
 20709 
 20710 
 20711 # Handle --with-match-limit_recursion=N
 20712 #
 20713 # Note: In config.h, the default is to define MATCH_LIMIT_RECURSION
 20714 # symbolically as MATCH_LIMIT, which in turn is defined to be some numeric
 20715 # value (e.g. 10000000). MATCH_LIMIT_RECURSION can otherwise be set to some
 20716 # different numeric value (or even the same numeric value as MATCH_LIMIT,
 20717 # though no longer defined in terms of the latter).
 20718 #
 20719 
 20720 # Check whether --with-match-limit-recursion was given.
 20721 if test "${with_match_limit_recursion+set}" = set; then
 20722   withval=$with_match_limit_recursion;
 20723 else
 20724   with_match_limit_recursion=MATCH_LIMIT
 20725 fi
 20726 
 20727 
 20728 # Make sure that if enable_unicode_properties was set, that UTF-8 support
 20729 # is enabled.
 20730 #
 20731 if test "x$enable_unicode_properties" = "xyes"
 20732 then
 20733   if test "x$enable_utf8" = "xno"
 20734   then
 20735     { { $as_echo "$as_me:$LINENO: error: support for Unicode properties requires UTF-8 support" >&5
 20736 $as_echo "$as_me: error: support for Unicode properties requires UTF-8 support" >&2;}
 20737    { (exit 1); exit 1; }; }
 20738   fi
 20739   enable_utf8=yes
 20740 fi
 20741 
 20742 if test "x$enable_utf8" = "xunset"
 20743 then
 20744   enable_utf8=no
 20745 fi
 20746 
 20747 # Make sure that if enable_ebcdic is set, rebuild_chartables is also enabled.
 20748 # Also check that UTF-8 support is not requested, because PCRE cannot handle
 20749 # EBCDIC and UTF-8 in the same build. To do so it would need to use different
 20750 # character constants depending on the mode.
 20751 #
 20752 if test "x$enable_ebcdic" = "xyes"
 20753 then
 20754   enable_rebuild_chartables=yes
 20755   if test "x$enable_utf8" = "xyes"
 20756   then
 20757     { { $as_echo "$as_me:$LINENO: error: support for EBCDIC and UTF-8 cannot be enabled at the same time" >&5
 20758 $as_echo "$as_me: error: support for EBCDIC and UTF-8 cannot be enabled at the same time" >&2;}
 20759    { (exit 1); exit 1; }; }
 20760   fi
 20761 fi
 20762 
 20763 # Convert the newline identifier into the appropriate integer value.
 20764 case "$enable_newline" in
 20765   lf)      ac_pcre_newline_value=10   ;;
 20766   cr)      ac_pcre_newline_value=13   ;;
 20767   crlf)    ac_pcre_newline_value=3338 ;;
 20768   anycrlf) ac_pcre_newline_value=-2   ;;
 20769   any)     ac_pcre_newline_value=-1   ;;
 20770   *)
 20771   { { $as_echo "$as_me:$LINENO: error: invalid argument \"$enable_newline\" to --enable-newline option" >&5
 20772 $as_echo "$as_me: error: invalid argument \"$enable_newline\" to --enable-newline option" >&2;}
 20773    { (exit 1); exit 1; }; }
 20774   ;;
 20775 esac
 20776 
 20777 # Check argument to --with-link-size
 20778 case "$with_link_size" in
 20779   2|3|4) ;;
 20780   *)
 20781   { { $as_echo "$as_me:$LINENO: error: invalid argument \"$with_link_size\" to --with-link-size option" >&5
 20782 $as_echo "$as_me: error: invalid argument \"$with_link_size\" to --with-link-size option" >&2;}
 20783    { (exit 1); exit 1; }; }
 20784   ;;
 20785 esac
 20786 
 20787 
 20788 
 20789 
 20790 # Checks for header files.
 20791 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 20792 $as_echo_n "checking for ANSI C header files... " >&6; }
 20793 if test "${ac_cv_header_stdc+set}" = set; then
 20794   $as_echo_n "(cached) " >&6
 20795 else
 20796   cat >conftest.$ac_ext <<_ACEOF
 20797 /* confdefs.h.  */
 20798 _ACEOF
 20799 cat confdefs.h >>conftest.$ac_ext
 20800 cat >>conftest.$ac_ext <<_ACEOF
 20801 /* end confdefs.h.  */
 20802 #include <stdlib.h>
 20803 #include <stdarg.h>
 20804 #include <string.h>
 20805 #include <float.h>
 20806 
 20807 int
 20808 main ()
 20809 {
 20810 
 20811   ;
 20812   return 0;
 20813 }
 20814 _ACEOF
 20815 rm -f conftest.$ac_objext
 20816 if { (ac_try="$ac_compile"
 20817 case "(($ac_try" in
 20818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 20819   *) ac_try_echo=$ac_try;;
 20820 esac
 20821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 20822 $as_echo "$ac_try_echo") >&5
 20823   (eval "$ac_compile") 2>conftest.er1
 20824   ac_status=$?
 20825   grep -v '^ *+' conftest.er1 >conftest.err
 20826   rm -f conftest.er1
 20827   cat conftest.err >&5
 20828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20829   (exit $ac_status); } && {
 20830 	 test -z "$ac_c_werror_flag" ||
 20831 	 test ! -s conftest.err
 20832        } && test -s conftest.$ac_objext; then
 20833   ac_cv_header_stdc=yes
 20834 else
 20835   $as_echo "$as_me: failed program was:" >&5
 20836 sed 's/^/| /' conftest.$ac_ext >&5
 20837 
 20838 	ac_cv_header_stdc=no
 20839 fi
 20840 
 20841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 20842 
 20843 if test $ac_cv_header_stdc = yes; then
 20844   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 20845   cat >conftest.$ac_ext <<_ACEOF
 20846 /* confdefs.h.  */
 20847 _ACEOF
 20848 cat confdefs.h >>conftest.$ac_ext
 20849 cat >>conftest.$ac_ext <<_ACEOF
 20850 /* end confdefs.h.  */
 20851 #include <string.h>
 20852 
 20853 _ACEOF
 20854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 20855   $EGREP "memchr" >/dev/null 2>&1; then
 20856   :
 20857 else
 20858   ac_cv_header_stdc=no
 20859 fi
 20860 rm -f conftest*
 20861 
 20862 fi
 20863 
 20864 if test $ac_cv_header_stdc = yes; then
 20865   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 20866   cat >conftest.$ac_ext <<_ACEOF
 20867 /* confdefs.h.  */
 20868 _ACEOF
 20869 cat confdefs.h >>conftest.$ac_ext
 20870 cat >>conftest.$ac_ext <<_ACEOF
 20871 /* end confdefs.h.  */
 20872 #include <stdlib.h>
 20873 
 20874 _ACEOF
 20875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 20876   $EGREP "free" >/dev/null 2>&1; then
 20877   :
 20878 else
 20879   ac_cv_header_stdc=no
 20880 fi
 20881 rm -f conftest*
 20882 
 20883 fi
 20884 
 20885 if test $ac_cv_header_stdc = yes; then
 20886   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 20887   if test "$cross_compiling" = yes; then
 20888   :
 20889 else
 20890   cat >conftest.$ac_ext <<_ACEOF
 20891 /* confdefs.h.  */
 20892 _ACEOF
 20893 cat confdefs.h >>conftest.$ac_ext
 20894 cat >>conftest.$ac_ext <<_ACEOF
 20895 /* end confdefs.h.  */
 20896 #include <ctype.h>
 20897 #include <stdlib.h>
 20898 #if ((' ' & 0x0FF) == 0x020)
 20899 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 20900 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 20901 #else
 20902 # define ISLOWER(c) \
 20903 		   (('a' <= (c) && (c) <= 'i') \
 20904 		     || ('j' <= (c) && (c) <= 'r') \
 20905 		     || ('s' <= (c) && (c) <= 'z'))
 20906 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 20907 #endif
 20908 
 20909 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 20910 int
 20911 main ()
 20912 {
 20913   int i;
 20914   for (i = 0; i < 256; i++)
 20915     if (XOR (islower (i), ISLOWER (i))
 20916 	|| toupper (i) != TOUPPER (i))
 20917       return 2;
 20918   return 0;
 20919 }
 20920 _ACEOF
 20921 rm -f conftest$ac_exeext
 20922 if { (ac_try="$ac_link"
 20923 case "(($ac_try" in
 20924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 20925   *) ac_try_echo=$ac_try;;
 20926 esac
 20927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 20928 $as_echo "$ac_try_echo") >&5
 20929   (eval "$ac_link") 2>&5
 20930   ac_status=$?
 20931   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20932   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 20933   { (case "(($ac_try" in
 20934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 20935   *) ac_try_echo=$ac_try;;
 20936 esac
 20937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 20938 $as_echo "$ac_try_echo") >&5
 20939   (eval "$ac_try") 2>&5
 20940   ac_status=$?
 20941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 20942   (exit $ac_status); }; }; then
 20943   :
 20944 else
 20945   $as_echo "$as_me: program exited with status $ac_status" >&5
 20946 $as_echo "$as_me: failed program was:" >&5
 20947 sed 's/^/| /' conftest.$ac_ext >&5
 20948 
 20949 ( exit $ac_status )
 20950 ac_cv_header_stdc=no
 20951 fi
 20952 rm -rf conftest.dSYM
 20953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 20954 fi
 20955 
 20956 
 20957 fi
 20958 fi
 20959 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 20960 $as_echo "$ac_cv_header_stdc" >&6; }
 20961 if test $ac_cv_header_stdc = yes; then
 20962 
 20963 cat >>confdefs.h <<\_ACEOF
 20964 #define STDC_HEADERS 1
 20965 _ACEOF
 20966 
 20967 fi
 20968 
 20969 
 20970 
 20971 
 20972 
 20973 
 20974 for ac_header in limits.h sys/types.h sys/stat.h dirent.h windows.h
 20975 do
 20976 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 20977 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 20978   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 20979 $as_echo_n "checking for $ac_header... " >&6; }
 20980 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 20981   $as_echo_n "(cached) " >&6
 20982 fi
 20983 ac_res=`eval 'as_val=${'$as_ac_Header'}
 20984 		 $as_echo "$as_val"'`
 20985 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 20986 $as_echo "$ac_res" >&6; }
 20987 else
 20988   # Is the header compilable?
 20989 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 20990 $as_echo_n "checking $ac_header usability... " >&6; }
 20991 cat >conftest.$ac_ext <<_ACEOF
 20992 /* confdefs.h.  */
 20993 _ACEOF
 20994 cat confdefs.h >>conftest.$ac_ext
 20995 cat >>conftest.$ac_ext <<_ACEOF
 20996 /* end confdefs.h.  */
 20997 $ac_includes_default
 20998 #include <$ac_header>
 20999 _ACEOF
 21000 rm -f conftest.$ac_objext
 21001 if { (ac_try="$ac_compile"
 21002 case "(($ac_try" in
 21003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21004   *) ac_try_echo=$ac_try;;
 21005 esac
 21006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21007 $as_echo "$ac_try_echo") >&5
 21008   (eval "$ac_compile") 2>conftest.er1
 21009   ac_status=$?
 21010   grep -v '^ *+' conftest.er1 >conftest.err
 21011   rm -f conftest.er1
 21012   cat conftest.err >&5
 21013   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21014   (exit $ac_status); } && {
 21015 	 test -z "$ac_c_werror_flag" ||
 21016 	 test ! -s conftest.err
 21017        } && test -s conftest.$ac_objext; then
 21018   ac_header_compiler=yes
 21019 else
 21020   $as_echo "$as_me: failed program was:" >&5
 21021 sed 's/^/| /' conftest.$ac_ext >&5
 21022 
 21023 	ac_header_compiler=no
 21024 fi
 21025 
 21026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21027 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 21028 $as_echo "$ac_header_compiler" >&6; }
 21029 
 21030 # Is the header present?
 21031 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 21032 $as_echo_n "checking $ac_header presence... " >&6; }
 21033 cat >conftest.$ac_ext <<_ACEOF
 21034 /* confdefs.h.  */
 21035 _ACEOF
 21036 cat confdefs.h >>conftest.$ac_ext
 21037 cat >>conftest.$ac_ext <<_ACEOF
 21038 /* end confdefs.h.  */
 21039 #include <$ac_header>
 21040 _ACEOF
 21041 if { (ac_try="$ac_cpp conftest.$ac_ext"
 21042 case "(($ac_try" in
 21043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21044   *) ac_try_echo=$ac_try;;
 21045 esac
 21046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21047 $as_echo "$ac_try_echo") >&5
 21048   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 21049   ac_status=$?
 21050   grep -v '^ *+' conftest.er1 >conftest.err
 21051   rm -f conftest.er1
 21052   cat conftest.err >&5
 21053   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21054   (exit $ac_status); } >/dev/null && {
 21055 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 21056 	 test ! -s conftest.err
 21057        }; then
 21058   ac_header_preproc=yes
 21059 else
 21060   $as_echo "$as_me: failed program was:" >&5
 21061 sed 's/^/| /' conftest.$ac_ext >&5
 21062 
 21063   ac_header_preproc=no
 21064 fi
 21065 
 21066 rm -f conftest.err conftest.$ac_ext
 21067 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 21068 $as_echo "$ac_header_preproc" >&6; }
 21069 
 21070 # So?  What about this header?
 21071 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 21072   yes:no: )
 21073     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 21074 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 21075     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 21076 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 21077     ac_header_preproc=yes
 21078     ;;
 21079   no:yes:* )
 21080     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 21081 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 21082     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 21083 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 21084     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 21085 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 21086     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 21087 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 21088     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 21089 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 21090     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 21091 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 21092 
 21093     ;;
 21094 esac
 21095 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 21096 $as_echo_n "checking for $ac_header... " >&6; }
 21097 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21098   $as_echo_n "(cached) " >&6
 21099 else
 21100   eval "$as_ac_Header=\$ac_header_preproc"
 21101 fi
 21102 ac_res=`eval 'as_val=${'$as_ac_Header'}
 21103 		 $as_echo "$as_val"'`
 21104 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21105 $as_echo "$ac_res" >&6; }
 21106 
 21107 fi
 21108 as_val=`eval 'as_val=${'$as_ac_Header'}
 21109 		 $as_echo "$as_val"'`
 21110    if test "x$as_val" = x""yes; then
 21111   cat >>confdefs.h <<_ACEOF
 21112 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 21113 _ACEOF
 21114 
 21115 fi
 21116 
 21117 done
 21118 
 21119 
 21120 # The files below are C++ header files.
 21121 pcre_have_type_traits="0"
 21122 pcre_have_bits_type_traits="0"
 21123 if test "x$enable_cpp" = "xyes" -a -n "$CXX"
 21124 then
 21125 ac_ext=cpp
 21126 ac_cpp='$CXXCPP $CPPFLAGS'
 21127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 21128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 21129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 21130 
 21131 
 21132 # Older versions of pcre defined pcrecpp::no_arg, but in new versions
 21133 # it's called pcrecpp::RE::no_arg.  For backwards ABI compatibility,
 21134 # we want to make one an alias for the other.  Different systems do
 21135 # this in different ways.  Some systems, for instance, can do it via
 21136 # a linker flag: -alias (for os x 10.5) or -i (for os x <=10.4).
 21137 OLD_LDFLAGS="$LDFLAGS"
 21138 for flag in "-alias,__ZN7pcrecpp2RE6no_argE,__ZN7pcrecpp6no_argE" \
 21139             "-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE"; do
 21140   { $as_echo "$as_me:$LINENO: checking for alias support in the linker" >&5
 21141 $as_echo_n "checking for alias support in the linker... " >&6; }
 21142   LDFLAGS="$OLD_LDFLAGS -Wl,$flag"
 21143   # We try to run the linker with this new ld flag.  If the link fails,
 21144   # we give up and remove the new flag from LDFLAGS.
 21145   cat >conftest.$ac_ext <<_ACEOF
 21146 /* confdefs.h.  */
 21147 _ACEOF
 21148 cat confdefs.h >>conftest.$ac_ext
 21149 cat >>conftest.$ac_ext <<_ACEOF
 21150 /* end confdefs.h.  */
 21151 namespace pcrecpp {
 21152                                     class RE { static int no_arg; };
 21153                                     int RE::no_arg;
 21154                                   }
 21155 int
 21156 main ()
 21157 {
 21158 
 21159   ;
 21160   return 0;
 21161 }
 21162 _ACEOF
 21163 rm -f conftest.$ac_objext conftest$ac_exeext
 21164 if { (ac_try="$ac_link"
 21165 case "(($ac_try" in
 21166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21167   *) ac_try_echo=$ac_try;;
 21168 esac
 21169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21170 $as_echo "$ac_try_echo") >&5
 21171   (eval "$ac_link") 2>conftest.er1
 21172   ac_status=$?
 21173   grep -v '^ *+' conftest.er1 >conftest.err
 21174   rm -f conftest.er1
 21175   cat conftest.err >&5
 21176   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21177   (exit $ac_status); } && {
 21178 	 test -z "$ac_cxx_werror_flag" ||
 21179 	 test ! -s conftest.err
 21180        } && test -s conftest$ac_exeext && {
 21181 	 test "$cross_compiling" = yes ||
 21182 	 $as_test_x conftest$ac_exeext
 21183        }; then
 21184   { $as_echo "$as_me:$LINENO: result: yes" >&5
 21185 $as_echo "yes" >&6; };
 21186                   EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS -Wl,$flag";
 21187                   break;
 21188 else
 21189   $as_echo "$as_me: failed program was:" >&5
 21190 sed 's/^/| /' conftest.$ac_ext >&5
 21191 
 21192 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 21193 $as_echo "no" >&6; }
 21194 fi
 21195 
 21196 rm -rf conftest.dSYM
 21197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 21198       conftest$ac_exeext conftest.$ac_ext
 21199 done
 21200 LDFLAGS="$OLD_LDFLAGS"
 21201 
 21202 # We could be more clever here, given we're doing AC_SUBST with this
 21203 # (eg set a var to be the name of the include file we want). But we're not
 21204 # so it's easy to change back to 'regular' autoconf vars if we needed to.
 21205 
 21206 
 21207 for ac_header in string
 21208 do
 21209 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 21210 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21211   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 21212 $as_echo_n "checking for $ac_header... " >&6; }
 21213 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21214   $as_echo_n "(cached) " >&6
 21215 fi
 21216 ac_res=`eval 'as_val=${'$as_ac_Header'}
 21217 		 $as_echo "$as_val"'`
 21218 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21219 $as_echo "$ac_res" >&6; }
 21220 else
 21221   # Is the header compilable?
 21222 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 21223 $as_echo_n "checking $ac_header usability... " >&6; }
 21224 cat >conftest.$ac_ext <<_ACEOF
 21225 /* confdefs.h.  */
 21226 _ACEOF
 21227 cat confdefs.h >>conftest.$ac_ext
 21228 cat >>conftest.$ac_ext <<_ACEOF
 21229 /* end confdefs.h.  */
 21230 $ac_includes_default
 21231 #include <$ac_header>
 21232 _ACEOF
 21233 rm -f conftest.$ac_objext
 21234 if { (ac_try="$ac_compile"
 21235 case "(($ac_try" in
 21236   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21237   *) ac_try_echo=$ac_try;;
 21238 esac
 21239 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21240 $as_echo "$ac_try_echo") >&5
 21241   (eval "$ac_compile") 2>conftest.er1
 21242   ac_status=$?
 21243   grep -v '^ *+' conftest.er1 >conftest.err
 21244   rm -f conftest.er1
 21245   cat conftest.err >&5
 21246   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21247   (exit $ac_status); } && {
 21248 	 test -z "$ac_cxx_werror_flag" ||
 21249 	 test ! -s conftest.err
 21250        } && test -s conftest.$ac_objext; then
 21251   ac_header_compiler=yes
 21252 else
 21253   $as_echo "$as_me: failed program was:" >&5
 21254 sed 's/^/| /' conftest.$ac_ext >&5
 21255 
 21256 	ac_header_compiler=no
 21257 fi
 21258 
 21259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21260 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 21261 $as_echo "$ac_header_compiler" >&6; }
 21262 
 21263 # Is the header present?
 21264 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 21265 $as_echo_n "checking $ac_header presence... " >&6; }
 21266 cat >conftest.$ac_ext <<_ACEOF
 21267 /* confdefs.h.  */
 21268 _ACEOF
 21269 cat confdefs.h >>conftest.$ac_ext
 21270 cat >>conftest.$ac_ext <<_ACEOF
 21271 /* end confdefs.h.  */
 21272 #include <$ac_header>
 21273 _ACEOF
 21274 if { (ac_try="$ac_cpp conftest.$ac_ext"
 21275 case "(($ac_try" in
 21276   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21277   *) ac_try_echo=$ac_try;;
 21278 esac
 21279 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21280 $as_echo "$ac_try_echo") >&5
 21281   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 21282   ac_status=$?
 21283   grep -v '^ *+' conftest.er1 >conftest.err
 21284   rm -f conftest.er1
 21285   cat conftest.err >&5
 21286   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21287   (exit $ac_status); } >/dev/null && {
 21288 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 21289 	 test ! -s conftest.err
 21290        }; then
 21291   ac_header_preproc=yes
 21292 else
 21293   $as_echo "$as_me: failed program was:" >&5
 21294 sed 's/^/| /' conftest.$ac_ext >&5
 21295 
 21296   ac_header_preproc=no
 21297 fi
 21298 
 21299 rm -f conftest.err conftest.$ac_ext
 21300 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 21301 $as_echo "$ac_header_preproc" >&6; }
 21302 
 21303 # So?  What about this header?
 21304 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 21305   yes:no: )
 21306     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 21307 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 21308     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 21309 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 21310     ac_header_preproc=yes
 21311     ;;
 21312   no:yes:* )
 21313     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 21314 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 21315     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 21316 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 21317     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 21318 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 21319     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 21320 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 21321     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 21322 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 21323     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 21324 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 21325 
 21326     ;;
 21327 esac
 21328 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 21329 $as_echo_n "checking for $ac_header... " >&6; }
 21330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21331   $as_echo_n "(cached) " >&6
 21332 else
 21333   eval "$as_ac_Header=\$ac_header_preproc"
 21334 fi
 21335 ac_res=`eval 'as_val=${'$as_ac_Header'}
 21336 		 $as_echo "$as_val"'`
 21337 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21338 $as_echo "$ac_res" >&6; }
 21339 
 21340 fi
 21341 as_val=`eval 'as_val=${'$as_ac_Header'}
 21342 		 $as_echo "$as_val"'`
 21343    if test "x$as_val" = x""yes; then
 21344   cat >>confdefs.h <<_ACEOF
 21345 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 21346 _ACEOF
 21347  pcre_have_cpp_headers="1"
 21348 else
 21349   pcre_have_cpp_headers="0"
 21350 fi
 21351 
 21352 done
 21353 
 21354 
 21355 for ac_header in bits/type_traits.h
 21356 do
 21357 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 21358 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21359   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 21360 $as_echo_n "checking for $ac_header... " >&6; }
 21361 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21362   $as_echo_n "(cached) " >&6
 21363 fi
 21364 ac_res=`eval 'as_val=${'$as_ac_Header'}
 21365 		 $as_echo "$as_val"'`
 21366 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21367 $as_echo "$ac_res" >&6; }
 21368 else
 21369   # Is the header compilable?
 21370 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 21371 $as_echo_n "checking $ac_header usability... " >&6; }
 21372 cat >conftest.$ac_ext <<_ACEOF
 21373 /* confdefs.h.  */
 21374 _ACEOF
 21375 cat confdefs.h >>conftest.$ac_ext
 21376 cat >>conftest.$ac_ext <<_ACEOF
 21377 /* end confdefs.h.  */
 21378 $ac_includes_default
 21379 #include <$ac_header>
 21380 _ACEOF
 21381 rm -f conftest.$ac_objext
 21382 if { (ac_try="$ac_compile"
 21383 case "(($ac_try" in
 21384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21385   *) ac_try_echo=$ac_try;;
 21386 esac
 21387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21388 $as_echo "$ac_try_echo") >&5
 21389   (eval "$ac_compile") 2>conftest.er1
 21390   ac_status=$?
 21391   grep -v '^ *+' conftest.er1 >conftest.err
 21392   rm -f conftest.er1
 21393   cat conftest.err >&5
 21394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21395   (exit $ac_status); } && {
 21396 	 test -z "$ac_cxx_werror_flag" ||
 21397 	 test ! -s conftest.err
 21398        } && test -s conftest.$ac_objext; then
 21399   ac_header_compiler=yes
 21400 else
 21401   $as_echo "$as_me: failed program was:" >&5
 21402 sed 's/^/| /' conftest.$ac_ext >&5
 21403 
 21404 	ac_header_compiler=no
 21405 fi
 21406 
 21407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21408 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 21409 $as_echo "$ac_header_compiler" >&6; }
 21410 
 21411 # Is the header present?
 21412 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 21413 $as_echo_n "checking $ac_header presence... " >&6; }
 21414 cat >conftest.$ac_ext <<_ACEOF
 21415 /* confdefs.h.  */
 21416 _ACEOF
 21417 cat confdefs.h >>conftest.$ac_ext
 21418 cat >>conftest.$ac_ext <<_ACEOF
 21419 /* end confdefs.h.  */
 21420 #include <$ac_header>
 21421 _ACEOF
 21422 if { (ac_try="$ac_cpp conftest.$ac_ext"
 21423 case "(($ac_try" in
 21424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21425   *) ac_try_echo=$ac_try;;
 21426 esac
 21427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21428 $as_echo "$ac_try_echo") >&5
 21429   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 21430   ac_status=$?
 21431   grep -v '^ *+' conftest.er1 >conftest.err
 21432   rm -f conftest.er1
 21433   cat conftest.err >&5
 21434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21435   (exit $ac_status); } >/dev/null && {
 21436 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 21437 	 test ! -s conftest.err
 21438        }; then
 21439   ac_header_preproc=yes
 21440 else
 21441   $as_echo "$as_me: failed program was:" >&5
 21442 sed 's/^/| /' conftest.$ac_ext >&5
 21443 
 21444   ac_header_preproc=no
 21445 fi
 21446 
 21447 rm -f conftest.err conftest.$ac_ext
 21448 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 21449 $as_echo "$ac_header_preproc" >&6; }
 21450 
 21451 # So?  What about this header?
 21452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 21453   yes:no: )
 21454     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 21455 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 21456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 21457 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 21458     ac_header_preproc=yes
 21459     ;;
 21460   no:yes:* )
 21461     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 21462 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 21463     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 21464 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 21465     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 21466 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 21467     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 21468 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 21469     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 21470 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 21471     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 21472 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 21473 
 21474     ;;
 21475 esac
 21476 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 21477 $as_echo_n "checking for $ac_header... " >&6; }
 21478 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21479   $as_echo_n "(cached) " >&6
 21480 else
 21481   eval "$as_ac_Header=\$ac_header_preproc"
 21482 fi
 21483 ac_res=`eval 'as_val=${'$as_ac_Header'}
 21484 		 $as_echo "$as_val"'`
 21485 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21486 $as_echo "$ac_res" >&6; }
 21487 
 21488 fi
 21489 as_val=`eval 'as_val=${'$as_ac_Header'}
 21490 		 $as_echo "$as_val"'`
 21491    if test "x$as_val" = x""yes; then
 21492   cat >>confdefs.h <<_ACEOF
 21493 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 21494 _ACEOF
 21495  pcre_have_bits_type_traits="1"
 21496 else
 21497   pcre_have_bits_type_traits="0"
 21498 fi
 21499 
 21500 done
 21501 
 21502 
 21503 for ac_header in type_traits.h
 21504 do
 21505 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 21506 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21507   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 21508 $as_echo_n "checking for $ac_header... " >&6; }
 21509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21510   $as_echo_n "(cached) " >&6
 21511 fi
 21512 ac_res=`eval 'as_val=${'$as_ac_Header'}
 21513 		 $as_echo "$as_val"'`
 21514 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21515 $as_echo "$ac_res" >&6; }
 21516 else
 21517   # Is the header compilable?
 21518 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 21519 $as_echo_n "checking $ac_header usability... " >&6; }
 21520 cat >conftest.$ac_ext <<_ACEOF
 21521 /* confdefs.h.  */
 21522 _ACEOF
 21523 cat confdefs.h >>conftest.$ac_ext
 21524 cat >>conftest.$ac_ext <<_ACEOF
 21525 /* end confdefs.h.  */
 21526 $ac_includes_default
 21527 #include <$ac_header>
 21528 _ACEOF
 21529 rm -f conftest.$ac_objext
 21530 if { (ac_try="$ac_compile"
 21531 case "(($ac_try" in
 21532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21533   *) ac_try_echo=$ac_try;;
 21534 esac
 21535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21536 $as_echo "$ac_try_echo") >&5
 21537   (eval "$ac_compile") 2>conftest.er1
 21538   ac_status=$?
 21539   grep -v '^ *+' conftest.er1 >conftest.err
 21540   rm -f conftest.er1
 21541   cat conftest.err >&5
 21542   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21543   (exit $ac_status); } && {
 21544 	 test -z "$ac_cxx_werror_flag" ||
 21545 	 test ! -s conftest.err
 21546        } && test -s conftest.$ac_objext; then
 21547   ac_header_compiler=yes
 21548 else
 21549   $as_echo "$as_me: failed program was:" >&5
 21550 sed 's/^/| /' conftest.$ac_ext >&5
 21551 
 21552 	ac_header_compiler=no
 21553 fi
 21554 
 21555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21556 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 21557 $as_echo "$ac_header_compiler" >&6; }
 21558 
 21559 # Is the header present?
 21560 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 21561 $as_echo_n "checking $ac_header presence... " >&6; }
 21562 cat >conftest.$ac_ext <<_ACEOF
 21563 /* confdefs.h.  */
 21564 _ACEOF
 21565 cat confdefs.h >>conftest.$ac_ext
 21566 cat >>conftest.$ac_ext <<_ACEOF
 21567 /* end confdefs.h.  */
 21568 #include <$ac_header>
 21569 _ACEOF
 21570 if { (ac_try="$ac_cpp conftest.$ac_ext"
 21571 case "(($ac_try" in
 21572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21573   *) ac_try_echo=$ac_try;;
 21574 esac
 21575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21576 $as_echo "$ac_try_echo") >&5
 21577   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 21578   ac_status=$?
 21579   grep -v '^ *+' conftest.er1 >conftest.err
 21580   rm -f conftest.er1
 21581   cat conftest.err >&5
 21582   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21583   (exit $ac_status); } >/dev/null && {
 21584 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 21585 	 test ! -s conftest.err
 21586        }; then
 21587   ac_header_preproc=yes
 21588 else
 21589   $as_echo "$as_me: failed program was:" >&5
 21590 sed 's/^/| /' conftest.$ac_ext >&5
 21591 
 21592   ac_header_preproc=no
 21593 fi
 21594 
 21595 rm -f conftest.err conftest.$ac_ext
 21596 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 21597 $as_echo "$ac_header_preproc" >&6; }
 21598 
 21599 # So?  What about this header?
 21600 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
 21601   yes:no: )
 21602     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 21603 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 21604     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 21605 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 21606     ac_header_preproc=yes
 21607     ;;
 21608   no:yes:* )
 21609     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 21610 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 21611     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 21612 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 21613     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 21614 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 21615     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 21616 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 21617     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 21618 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 21619     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 21620 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 21621 
 21622     ;;
 21623 esac
 21624 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 21625 $as_echo_n "checking for $ac_header... " >&6; }
 21626 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 21627   $as_echo_n "(cached) " >&6
 21628 else
 21629   eval "$as_ac_Header=\$ac_header_preproc"
 21630 fi
 21631 ac_res=`eval 'as_val=${'$as_ac_Header'}
 21632 		 $as_echo "$as_val"'`
 21633 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21634 $as_echo "$ac_res" >&6; }
 21635 
 21636 fi
 21637 as_val=`eval 'as_val=${'$as_ac_Header'}
 21638 		 $as_echo "$as_val"'`
 21639    if test "x$as_val" = x""yes; then
 21640   cat >>confdefs.h <<_ACEOF
 21641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 21642 _ACEOF
 21643  pcre_have_type_traits="1"
 21644 else
 21645   pcre_have_type_traits="0"
 21646 fi
 21647 
 21648 done
 21649 
 21650 
 21651 ac_ext=c
 21652 ac_cpp='$CPP $CPPFLAGS'
 21653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 21654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 21655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 21656 
 21657 fi
 21658 # Using AC_SUBST eliminates the need to include config.h in a public .h file
 21659 
 21660 
 21661 
 21662 # Conditional compilation
 21663  if test "x$enable_cpp" = "xyes"; then
 21664   WITH_PCRE_CPP_TRUE=
 21665   WITH_PCRE_CPP_FALSE='#'
 21666 else
 21667   WITH_PCRE_CPP_TRUE='#'
 21668   WITH_PCRE_CPP_FALSE=
 21669 fi
 21670 
 21671  if test "x$enable_rebuild_chartables" = "xyes"; then
 21672   WITH_REBUILD_CHARTABLES_TRUE=
 21673   WITH_REBUILD_CHARTABLES_FALSE='#'
 21674 else
 21675   WITH_REBUILD_CHARTABLES_TRUE='#'
 21676   WITH_REBUILD_CHARTABLES_FALSE=
 21677 fi
 21678 
 21679 
 21680 # Checks for typedefs, structures, and compiler characteristics.
 21681 
 21682 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
 21683 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
 21684 if test "${ac_cv_c_const+set}" = set; then
 21685   $as_echo_n "(cached) " >&6
 21686 else
 21687   cat >conftest.$ac_ext <<_ACEOF
 21688 /* confdefs.h.  */
 21689 _ACEOF
 21690 cat confdefs.h >>conftest.$ac_ext
 21691 cat >>conftest.$ac_ext <<_ACEOF
 21692 /* end confdefs.h.  */
 21693 
 21694 int
 21695 main ()
 21696 {
 21697 /* FIXME: Include the comments suggested by Paul. */
 21698 #ifndef __cplusplus
 21699   /* Ultrix mips cc rejects this.  */
 21700   typedef int charset[2];
 21701   const charset cs;
 21702   /* SunOS 4.1.1 cc rejects this.  */
 21703   char const *const *pcpcc;
 21704   char **ppc;
 21705   /* NEC SVR4.0.2 mips cc rejects this.  */
 21706   struct point {int x, y;};
 21707   static struct point const zero = {0,0};
 21708   /* AIX XL C 1.02.0.0 rejects this.
 21709      It does not let you subtract one const X* pointer from another in
 21710      an arm of an if-expression whose if-part is not a constant
 21711      expression */
 21712   const char *g = "string";
 21713   pcpcc = &g + (g ? g-g : 0);
 21714   /* HPUX 7.0 cc rejects these. */
 21715   ++pcpcc;
 21716   ppc = (char**) pcpcc;
 21717   pcpcc = (char const *const *) ppc;
 21718   { /* SCO 3.2v4 cc rejects this.  */
 21719     char *t;
 21720     char const *s = 0 ? (char *) 0 : (char const *) 0;
 21721 
 21722     *t++ = 0;
 21723     if (s) return 0;
 21724   }
 21725   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
 21726     int x[] = {25, 17};
 21727     const int *foo = &x[0];
 21728     ++foo;
 21729   }
 21730   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
 21731     typedef const int *iptr;
 21732     iptr p = 0;
 21733     ++p;
 21734   }
 21735   { /* AIX XL C 1.02.0.0 rejects this saying
 21736        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
 21737     struct s { int j; const int *ap[3]; };
 21738     struct s *b; b->j = 5;
 21739   }
 21740   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
 21741     const int foo = 10;
 21742     if (!foo) return 0;
 21743   }
 21744   return !cs[0] && !zero.x;
 21745 #endif
 21746 
 21747   ;
 21748   return 0;
 21749 }
 21750 _ACEOF
 21751 rm -f conftest.$ac_objext
 21752 if { (ac_try="$ac_compile"
 21753 case "(($ac_try" in
 21754   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21755   *) ac_try_echo=$ac_try;;
 21756 esac
 21757 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21758 $as_echo "$ac_try_echo") >&5
 21759   (eval "$ac_compile") 2>conftest.er1
 21760   ac_status=$?
 21761   grep -v '^ *+' conftest.er1 >conftest.err
 21762   rm -f conftest.er1
 21763   cat conftest.err >&5
 21764   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21765   (exit $ac_status); } && {
 21766 	 test -z "$ac_c_werror_flag" ||
 21767 	 test ! -s conftest.err
 21768        } && test -s conftest.$ac_objext; then
 21769   ac_cv_c_const=yes
 21770 else
 21771   $as_echo "$as_me: failed program was:" >&5
 21772 sed 's/^/| /' conftest.$ac_ext >&5
 21773 
 21774 	ac_cv_c_const=no
 21775 fi
 21776 
 21777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21778 fi
 21779 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
 21780 $as_echo "$ac_cv_c_const" >&6; }
 21781 if test $ac_cv_c_const = no; then
 21782 
 21783 cat >>confdefs.h <<\_ACEOF
 21784 #define const /**/
 21785 _ACEOF
 21786 
 21787 fi
 21788 
 21789 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
 21790 $as_echo_n "checking for size_t... " >&6; }
 21791 if test "${ac_cv_type_size_t+set}" = set; then
 21792   $as_echo_n "(cached) " >&6
 21793 else
 21794   ac_cv_type_size_t=no
 21795 cat >conftest.$ac_ext <<_ACEOF
 21796 /* confdefs.h.  */
 21797 _ACEOF
 21798 cat confdefs.h >>conftest.$ac_ext
 21799 cat >>conftest.$ac_ext <<_ACEOF
 21800 /* end confdefs.h.  */
 21801 $ac_includes_default
 21802 int
 21803 main ()
 21804 {
 21805 if (sizeof (size_t))
 21806        return 0;
 21807   ;
 21808   return 0;
 21809 }
 21810 _ACEOF
 21811 rm -f conftest.$ac_objext
 21812 if { (ac_try="$ac_compile"
 21813 case "(($ac_try" in
 21814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21815   *) ac_try_echo=$ac_try;;
 21816 esac
 21817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21818 $as_echo "$ac_try_echo") >&5
 21819   (eval "$ac_compile") 2>conftest.er1
 21820   ac_status=$?
 21821   grep -v '^ *+' conftest.er1 >conftest.err
 21822   rm -f conftest.er1
 21823   cat conftest.err >&5
 21824   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21825   (exit $ac_status); } && {
 21826 	 test -z "$ac_c_werror_flag" ||
 21827 	 test ! -s conftest.err
 21828        } && test -s conftest.$ac_objext; then
 21829   cat >conftest.$ac_ext <<_ACEOF
 21830 /* confdefs.h.  */
 21831 _ACEOF
 21832 cat confdefs.h >>conftest.$ac_ext
 21833 cat >>conftest.$ac_ext <<_ACEOF
 21834 /* end confdefs.h.  */
 21835 $ac_includes_default
 21836 int
 21837 main ()
 21838 {
 21839 if (sizeof ((size_t)))
 21840 	  return 0;
 21841   ;
 21842   return 0;
 21843 }
 21844 _ACEOF
 21845 rm -f conftest.$ac_objext
 21846 if { (ac_try="$ac_compile"
 21847 case "(($ac_try" in
 21848   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21849   *) ac_try_echo=$ac_try;;
 21850 esac
 21851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21852 $as_echo "$ac_try_echo") >&5
 21853   (eval "$ac_compile") 2>conftest.er1
 21854   ac_status=$?
 21855   grep -v '^ *+' conftest.er1 >conftest.err
 21856   rm -f conftest.er1
 21857   cat conftest.err >&5
 21858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21859   (exit $ac_status); } && {
 21860 	 test -z "$ac_c_werror_flag" ||
 21861 	 test ! -s conftest.err
 21862        } && test -s conftest.$ac_objext; then
 21863   :
 21864 else
 21865   $as_echo "$as_me: failed program was:" >&5
 21866 sed 's/^/| /' conftest.$ac_ext >&5
 21867 
 21868 	ac_cv_type_size_t=yes
 21869 fi
 21870 
 21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21872 else
 21873   $as_echo "$as_me: failed program was:" >&5
 21874 sed 's/^/| /' conftest.$ac_ext >&5
 21875 
 21876 
 21877 fi
 21878 
 21879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 21880 fi
 21881 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
 21882 $as_echo "$ac_cv_type_size_t" >&6; }
 21883 if test "x$ac_cv_type_size_t" = x""yes; then
 21884   :
 21885 else
 21886 
 21887 cat >>confdefs.h <<_ACEOF
 21888 #define size_t unsigned int
 21889 _ACEOF
 21890 
 21891 fi
 21892 
 21893 
 21894 pcre_have_strotolonglong=0
 21895 
 21896 
 21897 
 21898 for ac_func in strtoq strtoll _strtoi64
 21899 do
 21900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 21901 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 21902 $as_echo_n "checking for $ac_func... " >&6; }
 21903 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 21904   $as_echo_n "(cached) " >&6
 21905 else
 21906   cat >conftest.$ac_ext <<_ACEOF
 21907 /* confdefs.h.  */
 21908 _ACEOF
 21909 cat confdefs.h >>conftest.$ac_ext
 21910 cat >>conftest.$ac_ext <<_ACEOF
 21911 /* end confdefs.h.  */
 21912 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 21913    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 21914 #define $ac_func innocuous_$ac_func
 21915 
 21916 /* System header to define __stub macros and hopefully few prototypes,
 21917     which can conflict with char $ac_func (); below.
 21918     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 21919     <limits.h> exists even on freestanding compilers.  */
 21920 
 21921 #ifdef __STDC__
 21922 # include <limits.h>
 21923 #else
 21924 # include <assert.h>
 21925 #endif
 21926 
 21927 #undef $ac_func
 21928 
 21929 /* Override any GCC internal prototype to avoid an error.
 21930    Use char because int might match the return type of a GCC
 21931    builtin and then its argument prototype would still apply.  */
 21932 #ifdef __cplusplus
 21933 extern "C"
 21934 #endif
 21935 char $ac_func ();
 21936 /* The GNU C library defines this for functions which it implements
 21937     to always fail with ENOSYS.  Some functions are actually named
 21938     something starting with __ and the normal name is an alias.  */
 21939 #if defined __stub_$ac_func || defined __stub___$ac_func
 21940 choke me
 21941 #endif
 21942 
 21943 int
 21944 main ()
 21945 {
 21946 return $ac_func ();
 21947   ;
 21948   return 0;
 21949 }
 21950 _ACEOF
 21951 rm -f conftest.$ac_objext conftest$ac_exeext
 21952 if { (ac_try="$ac_link"
 21953 case "(($ac_try" in
 21954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 21955   *) ac_try_echo=$ac_try;;
 21956 esac
 21957 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 21958 $as_echo "$ac_try_echo") >&5
 21959   (eval "$ac_link") 2>conftest.er1
 21960   ac_status=$?
 21961   grep -v '^ *+' conftest.er1 >conftest.err
 21962   rm -f conftest.er1
 21963   cat conftest.err >&5
 21964   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 21965   (exit $ac_status); } && {
 21966 	 test -z "$ac_c_werror_flag" ||
 21967 	 test ! -s conftest.err
 21968        } && test -s conftest$ac_exeext && {
 21969 	 test "$cross_compiling" = yes ||
 21970 	 $as_test_x conftest$ac_exeext
 21971        }; then
 21972   eval "$as_ac_var=yes"
 21973 else
 21974   $as_echo "$as_me: failed program was:" >&5
 21975 sed 's/^/| /' conftest.$ac_ext >&5
 21976 
 21977 	eval "$as_ac_var=no"
 21978 fi
 21979 
 21980 rm -rf conftest.dSYM
 21981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 21982       conftest$ac_exeext conftest.$ac_ext
 21983 fi
 21984 ac_res=`eval 'as_val=${'$as_ac_var'}
 21985 		 $as_echo "$as_val"'`
 21986 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 21987 $as_echo "$ac_res" >&6; }
 21988 as_val=`eval 'as_val=${'$as_ac_var'}
 21989 		 $as_echo "$as_val"'`
 21990    if test "x$as_val" = x""yes; then
 21991   cat >>confdefs.h <<_ACEOF
 21992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 21993 _ACEOF
 21994  pcre_have_strotolonglong="1"; break
 21995 fi
 21996 done
 21997 
 21998 # If we can't convert a string to a long long, pretend we don't even
 21999 # have a long long.
 22000 if test $pcre_have_strotolonglong = "0"; then
 22001    pcre_have_long_long="0"
 22002    pcre_have_ulong_long="0"
 22003 else
 22004   { $as_echo "$as_me:$LINENO: checking for long long" >&5
 22005 $as_echo_n "checking for long long... " >&6; }
 22006 if test "${ac_cv_type_long_long+set}" = set; then
 22007   $as_echo_n "(cached) " >&6
 22008 else
 22009   ac_cv_type_long_long=no
 22010 cat >conftest.$ac_ext <<_ACEOF
 22011 /* confdefs.h.  */
 22012 _ACEOF
 22013 cat confdefs.h >>conftest.$ac_ext
 22014 cat >>conftest.$ac_ext <<_ACEOF
 22015 /* end confdefs.h.  */
 22016 $ac_includes_default
 22017 int
 22018 main ()
 22019 {
 22020 if (sizeof (long long))
 22021        return 0;
 22022   ;
 22023   return 0;
 22024 }
 22025 _ACEOF
 22026 rm -f conftest.$ac_objext
 22027 if { (ac_try="$ac_compile"
 22028 case "(($ac_try" in
 22029   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22030   *) ac_try_echo=$ac_try;;
 22031 esac
 22032 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22033 $as_echo "$ac_try_echo") >&5
 22034   (eval "$ac_compile") 2>conftest.er1
 22035   ac_status=$?
 22036   grep -v '^ *+' conftest.er1 >conftest.err
 22037   rm -f conftest.er1
 22038   cat conftest.err >&5
 22039   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22040   (exit $ac_status); } && {
 22041 	 test -z "$ac_c_werror_flag" ||
 22042 	 test ! -s conftest.err
 22043        } && test -s conftest.$ac_objext; then
 22044   cat >conftest.$ac_ext <<_ACEOF
 22045 /* confdefs.h.  */
 22046 _ACEOF
 22047 cat confdefs.h >>conftest.$ac_ext
 22048 cat >>conftest.$ac_ext <<_ACEOF
 22049 /* end confdefs.h.  */
 22050 $ac_includes_default
 22051 int
 22052 main ()
 22053 {
 22054 if (sizeof ((long long)))
 22055 	  return 0;
 22056   ;
 22057   return 0;
 22058 }
 22059 _ACEOF
 22060 rm -f conftest.$ac_objext
 22061 if { (ac_try="$ac_compile"
 22062 case "(($ac_try" in
 22063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22064   *) ac_try_echo=$ac_try;;
 22065 esac
 22066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22067 $as_echo "$ac_try_echo") >&5
 22068   (eval "$ac_compile") 2>conftest.er1
 22069   ac_status=$?
 22070   grep -v '^ *+' conftest.er1 >conftest.err
 22071   rm -f conftest.er1
 22072   cat conftest.err >&5
 22073   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22074   (exit $ac_status); } && {
 22075 	 test -z "$ac_c_werror_flag" ||
 22076 	 test ! -s conftest.err
 22077        } && test -s conftest.$ac_objext; then
 22078   :
 22079 else
 22080   $as_echo "$as_me: failed program was:" >&5
 22081 sed 's/^/| /' conftest.$ac_ext >&5
 22082 
 22083 	ac_cv_type_long_long=yes
 22084 fi
 22085 
 22086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22087 else
 22088   $as_echo "$as_me: failed program was:" >&5
 22089 sed 's/^/| /' conftest.$ac_ext >&5
 22090 
 22091 
 22092 fi
 22093 
 22094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22095 fi
 22096 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
 22097 $as_echo "$ac_cv_type_long_long" >&6; }
 22098 if test "x$ac_cv_type_long_long" = x""yes; then
 22099 
 22100 cat >>confdefs.h <<_ACEOF
 22101 #define HAVE_LONG_LONG 1
 22102 _ACEOF
 22103 
 22104 pcre_have_long_long="1"
 22105 else
 22106   pcre_have_long_long="0"
 22107 fi
 22108 
 22109   { $as_echo "$as_me:$LINENO: checking for unsigned long long" >&5
 22110 $as_echo_n "checking for unsigned long long... " >&6; }
 22111 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
 22112   $as_echo_n "(cached) " >&6
 22113 else
 22114   ac_cv_type_unsigned_long_long=no
 22115 cat >conftest.$ac_ext <<_ACEOF
 22116 /* confdefs.h.  */
 22117 _ACEOF
 22118 cat confdefs.h >>conftest.$ac_ext
 22119 cat >>conftest.$ac_ext <<_ACEOF
 22120 /* end confdefs.h.  */
 22121 $ac_includes_default
 22122 int
 22123 main ()
 22124 {
 22125 if (sizeof (unsigned long long))
 22126        return 0;
 22127   ;
 22128   return 0;
 22129 }
 22130 _ACEOF
 22131 rm -f conftest.$ac_objext
 22132 if { (ac_try="$ac_compile"
 22133 case "(($ac_try" in
 22134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22135   *) ac_try_echo=$ac_try;;
 22136 esac
 22137 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22138 $as_echo "$ac_try_echo") >&5
 22139   (eval "$ac_compile") 2>conftest.er1
 22140   ac_status=$?
 22141   grep -v '^ *+' conftest.er1 >conftest.err
 22142   rm -f conftest.er1
 22143   cat conftest.err >&5
 22144   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22145   (exit $ac_status); } && {
 22146 	 test -z "$ac_c_werror_flag" ||
 22147 	 test ! -s conftest.err
 22148        } && test -s conftest.$ac_objext; then
 22149   cat >conftest.$ac_ext <<_ACEOF
 22150 /* confdefs.h.  */
 22151 _ACEOF
 22152 cat confdefs.h >>conftest.$ac_ext
 22153 cat >>conftest.$ac_ext <<_ACEOF
 22154 /* end confdefs.h.  */
 22155 $ac_includes_default
 22156 int
 22157 main ()
 22158 {
 22159 if (sizeof ((unsigned long long)))
 22160 	  return 0;
 22161   ;
 22162   return 0;
 22163 }
 22164 _ACEOF
 22165 rm -f conftest.$ac_objext
 22166 if { (ac_try="$ac_compile"
 22167 case "(($ac_try" in
 22168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22169   *) ac_try_echo=$ac_try;;
 22170 esac
 22171 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22172 $as_echo "$ac_try_echo") >&5
 22173   (eval "$ac_compile") 2>conftest.er1
 22174   ac_status=$?
 22175   grep -v '^ *+' conftest.er1 >conftest.err
 22176   rm -f conftest.er1
 22177   cat conftest.err >&5
 22178   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22179   (exit $ac_status); } && {
 22180 	 test -z "$ac_c_werror_flag" ||
 22181 	 test ! -s conftest.err
 22182        } && test -s conftest.$ac_objext; then
 22183   :
 22184 else
 22185   $as_echo "$as_me: failed program was:" >&5
 22186 sed 's/^/| /' conftest.$ac_ext >&5
 22187 
 22188 	ac_cv_type_unsigned_long_long=yes
 22189 fi
 22190 
 22191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22192 else
 22193   $as_echo "$as_me: failed program was:" >&5
 22194 sed 's/^/| /' conftest.$ac_ext >&5
 22195 
 22196 
 22197 fi
 22198 
 22199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22200 fi
 22201 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
 22202 $as_echo "$ac_cv_type_unsigned_long_long" >&6; }
 22203 if test "x$ac_cv_type_unsigned_long_long" = x""yes; then
 22204 
 22205 cat >>confdefs.h <<_ACEOF
 22206 #define HAVE_UNSIGNED_LONG_LONG 1
 22207 _ACEOF
 22208 
 22209 pcre_have_ulong_long="1"
 22210 else
 22211   pcre_have_ulong_long="0"
 22212 fi
 22213 
 22214 fi
 22215 
 22216 
 22217 
 22218 # Checks for library functions.
 22219 
 22220 
 22221 
 22222 
 22223 for ac_func in bcopy memmove strerror
 22224 do
 22225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 22226 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 22227 $as_echo_n "checking for $ac_func... " >&6; }
 22228 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 22229   $as_echo_n "(cached) " >&6
 22230 else
 22231   cat >conftest.$ac_ext <<_ACEOF
 22232 /* confdefs.h.  */
 22233 _ACEOF
 22234 cat confdefs.h >>conftest.$ac_ext
 22235 cat >>conftest.$ac_ext <<_ACEOF
 22236 /* end confdefs.h.  */
 22237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 22238    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 22239 #define $ac_func innocuous_$ac_func
 22240 
 22241 /* System header to define __stub macros and hopefully few prototypes,
 22242     which can conflict with char $ac_func (); below.
 22243     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 22244     <limits.h> exists even on freestanding compilers.  */
 22245 
 22246 #ifdef __STDC__
 22247 # include <limits.h>
 22248 #else
 22249 # include <assert.h>
 22250 #endif
 22251 
 22252 #undef $ac_func
 22253 
 22254 /* Override any GCC internal prototype to avoid an error.
 22255    Use char because int might match the return type of a GCC
 22256    builtin and then its argument prototype would still apply.  */
 22257 #ifdef __cplusplus
 22258 extern "C"
 22259 #endif
 22260 char $ac_func ();
 22261 /* The GNU C library defines this for functions which it implements
 22262     to always fail with ENOSYS.  Some functions are actually named
 22263     something starting with __ and the normal name is an alias.  */
 22264 #if defined __stub_$ac_func || defined __stub___$ac_func
 22265 choke me
 22266 #endif
 22267 
 22268 int
 22269 main ()
 22270 {
 22271 return $ac_func ();
 22272   ;
 22273   return 0;
 22274 }
 22275 _ACEOF
 22276 rm -f conftest.$ac_objext conftest$ac_exeext
 22277 if { (ac_try="$ac_link"
 22278 case "(($ac_try" in
 22279   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22280   *) ac_try_echo=$ac_try;;
 22281 esac
 22282 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22283 $as_echo "$ac_try_echo") >&5
 22284   (eval "$ac_link") 2>conftest.er1
 22285   ac_status=$?
 22286   grep -v '^ *+' conftest.er1 >conftest.err
 22287   rm -f conftest.er1
 22288   cat conftest.err >&5
 22289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22290   (exit $ac_status); } && {
 22291 	 test -z "$ac_c_werror_flag" ||
 22292 	 test ! -s conftest.err
 22293        } && test -s conftest$ac_exeext && {
 22294 	 test "$cross_compiling" = yes ||
 22295 	 $as_test_x conftest$ac_exeext
 22296        }; then
 22297   eval "$as_ac_var=yes"
 22298 else
 22299   $as_echo "$as_me: failed program was:" >&5
 22300 sed 's/^/| /' conftest.$ac_ext >&5
 22301 
 22302 	eval "$as_ac_var=no"
 22303 fi
 22304 
 22305 rm -rf conftest.dSYM
 22306 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 22307       conftest$ac_exeext conftest.$ac_ext
 22308 fi
 22309 ac_res=`eval 'as_val=${'$as_ac_var'}
 22310 		 $as_echo "$as_val"'`
 22311 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22312 $as_echo "$ac_res" >&6; }
 22313 as_val=`eval 'as_val=${'$as_ac_var'}
 22314 		 $as_echo "$as_val"'`
 22315    if test "x$as_val" = x""yes; then
 22316   cat >>confdefs.h <<_ACEOF
 22317 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 22318 _ACEOF
 22319 
 22320 fi
 22321 done
 22322 
 22323 
 22324 # Check for the availability of libz (aka zlib)
 22325 
 22326 
 22327 for ac_header in zlib.h
 22328 do
 22329 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 22330 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22331   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 22332 $as_echo_n "checking for $ac_header... " >&6; }
 22333 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22334   $as_echo_n "(cached) " >&6
 22335 fi
 22336 ac_res=`eval 'as_val=${'$as_ac_Header'}
 22337 		 $as_echo "$as_val"'`
 22338 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22339 $as_echo "$ac_res" >&6; }
 22340 else
 22341   # Is the header compilable?
 22342 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 22343 $as_echo_n "checking $ac_header usability... " >&6; }
 22344 cat >conftest.$ac_ext <<_ACEOF
 22345 /* confdefs.h.  */
 22346 _ACEOF
 22347 cat confdefs.h >>conftest.$ac_ext
 22348 cat >>conftest.$ac_ext <<_ACEOF
 22349 /* end confdefs.h.  */
 22350 $ac_includes_default
 22351 #include <$ac_header>
 22352 _ACEOF
 22353 rm -f conftest.$ac_objext
 22354 if { (ac_try="$ac_compile"
 22355 case "(($ac_try" in
 22356   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22357   *) ac_try_echo=$ac_try;;
 22358 esac
 22359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22360 $as_echo "$ac_try_echo") >&5
 22361   (eval "$ac_compile") 2>conftest.er1
 22362   ac_status=$?
 22363   grep -v '^ *+' conftest.er1 >conftest.err
 22364   rm -f conftest.er1
 22365   cat conftest.err >&5
 22366   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22367   (exit $ac_status); } && {
 22368 	 test -z "$ac_c_werror_flag" ||
 22369 	 test ! -s conftest.err
 22370        } && test -s conftest.$ac_objext; then
 22371   ac_header_compiler=yes
 22372 else
 22373   $as_echo "$as_me: failed program was:" >&5
 22374 sed 's/^/| /' conftest.$ac_ext >&5
 22375 
 22376 	ac_header_compiler=no
 22377 fi
 22378 
 22379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22380 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 22381 $as_echo "$ac_header_compiler" >&6; }
 22382 
 22383 # Is the header present?
 22384 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 22385 $as_echo_n "checking $ac_header presence... " >&6; }
 22386 cat >conftest.$ac_ext <<_ACEOF
 22387 /* confdefs.h.  */
 22388 _ACEOF
 22389 cat confdefs.h >>conftest.$ac_ext
 22390 cat >>conftest.$ac_ext <<_ACEOF
 22391 /* end confdefs.h.  */
 22392 #include <$ac_header>
 22393 _ACEOF
 22394 if { (ac_try="$ac_cpp conftest.$ac_ext"
 22395 case "(($ac_try" in
 22396   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22397   *) ac_try_echo=$ac_try;;
 22398 esac
 22399 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22400 $as_echo "$ac_try_echo") >&5
 22401   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 22402   ac_status=$?
 22403   grep -v '^ *+' conftest.er1 >conftest.err
 22404   rm -f conftest.er1
 22405   cat conftest.err >&5
 22406   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22407   (exit $ac_status); } >/dev/null && {
 22408 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 22409 	 test ! -s conftest.err
 22410        }; then
 22411   ac_header_preproc=yes
 22412 else
 22413   $as_echo "$as_me: failed program was:" >&5
 22414 sed 's/^/| /' conftest.$ac_ext >&5
 22415 
 22416   ac_header_preproc=no
 22417 fi
 22418 
 22419 rm -f conftest.err conftest.$ac_ext
 22420 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 22421 $as_echo "$ac_header_preproc" >&6; }
 22422 
 22423 # So?  What about this header?
 22424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 22425   yes:no: )
 22426     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 22427 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 22428     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 22429 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 22430     ac_header_preproc=yes
 22431     ;;
 22432   no:yes:* )
 22433     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 22434 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 22435     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 22436 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 22437     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 22438 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 22439     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 22440 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 22441     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 22442 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 22443     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 22444 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 22445 
 22446     ;;
 22447 esac
 22448 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 22449 $as_echo_n "checking for $ac_header... " >&6; }
 22450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22451   $as_echo_n "(cached) " >&6
 22452 else
 22453   eval "$as_ac_Header=\$ac_header_preproc"
 22454 fi
 22455 ac_res=`eval 'as_val=${'$as_ac_Header'}
 22456 		 $as_echo "$as_val"'`
 22457 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22458 $as_echo "$ac_res" >&6; }
 22459 
 22460 fi
 22461 as_val=`eval 'as_val=${'$as_ac_Header'}
 22462 		 $as_echo "$as_val"'`
 22463    if test "x$as_val" = x""yes; then
 22464   cat >>confdefs.h <<_ACEOF
 22465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 22466 _ACEOF
 22467  HAVE_ZLIB_H=1
 22468 fi
 22469 
 22470 done
 22471 
 22472 { $as_echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
 22473 $as_echo_n "checking for gzopen in -lz... " >&6; }
 22474 if test "${ac_cv_lib_z_gzopen+set}" = set; then
 22475   $as_echo_n "(cached) " >&6
 22476 else
 22477   ac_check_lib_save_LIBS=$LIBS
 22478 LIBS="-lz  $LIBS"
 22479 cat >conftest.$ac_ext <<_ACEOF
 22480 /* confdefs.h.  */
 22481 _ACEOF
 22482 cat confdefs.h >>conftest.$ac_ext
 22483 cat >>conftest.$ac_ext <<_ACEOF
 22484 /* end confdefs.h.  */
 22485 
 22486 /* Override any GCC internal prototype to avoid an error.
 22487    Use char because int might match the return type of a GCC
 22488    builtin and then its argument prototype would still apply.  */
 22489 #ifdef __cplusplus
 22490 extern "C"
 22491 #endif
 22492 char gzopen ();
 22493 int
 22494 main ()
 22495 {
 22496 return gzopen ();
 22497   ;
 22498   return 0;
 22499 }
 22500 _ACEOF
 22501 rm -f conftest.$ac_objext conftest$ac_exeext
 22502 if { (ac_try="$ac_link"
 22503 case "(($ac_try" in
 22504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22505   *) ac_try_echo=$ac_try;;
 22506 esac
 22507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22508 $as_echo "$ac_try_echo") >&5
 22509   (eval "$ac_link") 2>conftest.er1
 22510   ac_status=$?
 22511   grep -v '^ *+' conftest.er1 >conftest.err
 22512   rm -f conftest.er1
 22513   cat conftest.err >&5
 22514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22515   (exit $ac_status); } && {
 22516 	 test -z "$ac_c_werror_flag" ||
 22517 	 test ! -s conftest.err
 22518        } && test -s conftest$ac_exeext && {
 22519 	 test "$cross_compiling" = yes ||
 22520 	 $as_test_x conftest$ac_exeext
 22521        }; then
 22522   ac_cv_lib_z_gzopen=yes
 22523 else
 22524   $as_echo "$as_me: failed program was:" >&5
 22525 sed 's/^/| /' conftest.$ac_ext >&5
 22526 
 22527 	ac_cv_lib_z_gzopen=no
 22528 fi
 22529 
 22530 rm -rf conftest.dSYM
 22531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 22532       conftest$ac_exeext conftest.$ac_ext
 22533 LIBS=$ac_check_lib_save_LIBS
 22534 fi
 22535 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
 22536 $as_echo "$ac_cv_lib_z_gzopen" >&6; }
 22537 if test "x$ac_cv_lib_z_gzopen" = x""yes; then
 22538   HAVE_LIBZ=1
 22539 fi
 22540 
 22541 
 22542 # Check for the availability of libbz2
 22543 
 22544 
 22545 for ac_header in bzlib.h
 22546 do
 22547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 22548 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22549   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 22550 $as_echo_n "checking for $ac_header... " >&6; }
 22551 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22552   $as_echo_n "(cached) " >&6
 22553 fi
 22554 ac_res=`eval 'as_val=${'$as_ac_Header'}
 22555 		 $as_echo "$as_val"'`
 22556 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22557 $as_echo "$ac_res" >&6; }
 22558 else
 22559   # Is the header compilable?
 22560 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 22561 $as_echo_n "checking $ac_header usability... " >&6; }
 22562 cat >conftest.$ac_ext <<_ACEOF
 22563 /* confdefs.h.  */
 22564 _ACEOF
 22565 cat confdefs.h >>conftest.$ac_ext
 22566 cat >>conftest.$ac_ext <<_ACEOF
 22567 /* end confdefs.h.  */
 22568 $ac_includes_default
 22569 #include <$ac_header>
 22570 _ACEOF
 22571 rm -f conftest.$ac_objext
 22572 if { (ac_try="$ac_compile"
 22573 case "(($ac_try" in
 22574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22575   *) ac_try_echo=$ac_try;;
 22576 esac
 22577 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22578 $as_echo "$ac_try_echo") >&5
 22579   (eval "$ac_compile") 2>conftest.er1
 22580   ac_status=$?
 22581   grep -v '^ *+' conftest.er1 >conftest.err
 22582   rm -f conftest.er1
 22583   cat conftest.err >&5
 22584   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22585   (exit $ac_status); } && {
 22586 	 test -z "$ac_c_werror_flag" ||
 22587 	 test ! -s conftest.err
 22588        } && test -s conftest.$ac_objext; then
 22589   ac_header_compiler=yes
 22590 else
 22591   $as_echo "$as_me: failed program was:" >&5
 22592 sed 's/^/| /' conftest.$ac_ext >&5
 22593 
 22594 	ac_header_compiler=no
 22595 fi
 22596 
 22597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22598 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 22599 $as_echo "$ac_header_compiler" >&6; }
 22600 
 22601 # Is the header present?
 22602 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 22603 $as_echo_n "checking $ac_header presence... " >&6; }
 22604 cat >conftest.$ac_ext <<_ACEOF
 22605 /* confdefs.h.  */
 22606 _ACEOF
 22607 cat confdefs.h >>conftest.$ac_ext
 22608 cat >>conftest.$ac_ext <<_ACEOF
 22609 /* end confdefs.h.  */
 22610 #include <$ac_header>
 22611 _ACEOF
 22612 if { (ac_try="$ac_cpp conftest.$ac_ext"
 22613 case "(($ac_try" in
 22614   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22615   *) ac_try_echo=$ac_try;;
 22616 esac
 22617 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22618 $as_echo "$ac_try_echo") >&5
 22619   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 22620   ac_status=$?
 22621   grep -v '^ *+' conftest.er1 >conftest.err
 22622   rm -f conftest.er1
 22623   cat conftest.err >&5
 22624   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22625   (exit $ac_status); } >/dev/null && {
 22626 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 22627 	 test ! -s conftest.err
 22628        }; then
 22629   ac_header_preproc=yes
 22630 else
 22631   $as_echo "$as_me: failed program was:" >&5
 22632 sed 's/^/| /' conftest.$ac_ext >&5
 22633 
 22634   ac_header_preproc=no
 22635 fi
 22636 
 22637 rm -f conftest.err conftest.$ac_ext
 22638 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 22639 $as_echo "$ac_header_preproc" >&6; }
 22640 
 22641 # So?  What about this header?
 22642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 22643   yes:no: )
 22644     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 22645 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 22646     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 22647 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 22648     ac_header_preproc=yes
 22649     ;;
 22650   no:yes:* )
 22651     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 22652 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 22653     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 22654 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 22655     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 22656 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 22657     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 22658 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 22659     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 22660 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 22661     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 22662 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 22663 
 22664     ;;
 22665 esac
 22666 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 22667 $as_echo_n "checking for $ac_header... " >&6; }
 22668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22669   $as_echo_n "(cached) " >&6
 22670 else
 22671   eval "$as_ac_Header=\$ac_header_preproc"
 22672 fi
 22673 ac_res=`eval 'as_val=${'$as_ac_Header'}
 22674 		 $as_echo "$as_val"'`
 22675 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22676 $as_echo "$ac_res" >&6; }
 22677 
 22678 fi
 22679 as_val=`eval 'as_val=${'$as_ac_Header'}
 22680 		 $as_echo "$as_val"'`
 22681    if test "x$as_val" = x""yes; then
 22682   cat >>confdefs.h <<_ACEOF
 22683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 22684 _ACEOF
 22685  HAVE_BZLIB_H=1
 22686 fi
 22687 
 22688 done
 22689 
 22690 { $as_echo "$as_me:$LINENO: checking for BZ2_bzopen in -lbz2" >&5
 22691 $as_echo_n "checking for BZ2_bzopen in -lbz2... " >&6; }
 22692 if test "${ac_cv_lib_bz2_BZ2_bzopen+set}" = set; then
 22693   $as_echo_n "(cached) " >&6
 22694 else
 22695   ac_check_lib_save_LIBS=$LIBS
 22696 LIBS="-lbz2  $LIBS"
 22697 cat >conftest.$ac_ext <<_ACEOF
 22698 /* confdefs.h.  */
 22699 _ACEOF
 22700 cat confdefs.h >>conftest.$ac_ext
 22701 cat >>conftest.$ac_ext <<_ACEOF
 22702 /* end confdefs.h.  */
 22703 
 22704 /* Override any GCC internal prototype to avoid an error.
 22705    Use char because int might match the return type of a GCC
 22706    builtin and then its argument prototype would still apply.  */
 22707 #ifdef __cplusplus
 22708 extern "C"
 22709 #endif
 22710 char BZ2_bzopen ();
 22711 int
 22712 main ()
 22713 {
 22714 return BZ2_bzopen ();
 22715   ;
 22716   return 0;
 22717 }
 22718 _ACEOF
 22719 rm -f conftest.$ac_objext conftest$ac_exeext
 22720 if { (ac_try="$ac_link"
 22721 case "(($ac_try" in
 22722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22723   *) ac_try_echo=$ac_try;;
 22724 esac
 22725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22726 $as_echo "$ac_try_echo") >&5
 22727   (eval "$ac_link") 2>conftest.er1
 22728   ac_status=$?
 22729   grep -v '^ *+' conftest.er1 >conftest.err
 22730   rm -f conftest.er1
 22731   cat conftest.err >&5
 22732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22733   (exit $ac_status); } && {
 22734 	 test -z "$ac_c_werror_flag" ||
 22735 	 test ! -s conftest.err
 22736        } && test -s conftest$ac_exeext && {
 22737 	 test "$cross_compiling" = yes ||
 22738 	 $as_test_x conftest$ac_exeext
 22739        }; then
 22740   ac_cv_lib_bz2_BZ2_bzopen=yes
 22741 else
 22742   $as_echo "$as_me: failed program was:" >&5
 22743 sed 's/^/| /' conftest.$ac_ext >&5
 22744 
 22745 	ac_cv_lib_bz2_BZ2_bzopen=no
 22746 fi
 22747 
 22748 rm -rf conftest.dSYM
 22749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 22750       conftest$ac_exeext conftest.$ac_ext
 22751 LIBS=$ac_check_lib_save_LIBS
 22752 fi
 22753 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzopen" >&5
 22754 $as_echo "$ac_cv_lib_bz2_BZ2_bzopen" >&6; }
 22755 if test "x$ac_cv_lib_bz2_BZ2_bzopen" = x""yes; then
 22756   HAVE_LIBBZ2=1
 22757 fi
 22758 
 22759 
 22760 # Check for the availabiity of libreadline
 22761 
 22762 
 22763 for ac_header in readline/readline.h
 22764 do
 22765 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 22766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22767   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 22768 $as_echo_n "checking for $ac_header... " >&6; }
 22769 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22770   $as_echo_n "(cached) " >&6
 22771 fi
 22772 ac_res=`eval 'as_val=${'$as_ac_Header'}
 22773 		 $as_echo "$as_val"'`
 22774 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22775 $as_echo "$ac_res" >&6; }
 22776 else
 22777   # Is the header compilable?
 22778 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 22779 $as_echo_n "checking $ac_header usability... " >&6; }
 22780 cat >conftest.$ac_ext <<_ACEOF
 22781 /* confdefs.h.  */
 22782 _ACEOF
 22783 cat confdefs.h >>conftest.$ac_ext
 22784 cat >>conftest.$ac_ext <<_ACEOF
 22785 /* end confdefs.h.  */
 22786 $ac_includes_default
 22787 #include <$ac_header>
 22788 _ACEOF
 22789 rm -f conftest.$ac_objext
 22790 if { (ac_try="$ac_compile"
 22791 case "(($ac_try" in
 22792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22793   *) ac_try_echo=$ac_try;;
 22794 esac
 22795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22796 $as_echo "$ac_try_echo") >&5
 22797   (eval "$ac_compile") 2>conftest.er1
 22798   ac_status=$?
 22799   grep -v '^ *+' conftest.er1 >conftest.err
 22800   rm -f conftest.er1
 22801   cat conftest.err >&5
 22802   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22803   (exit $ac_status); } && {
 22804 	 test -z "$ac_c_werror_flag" ||
 22805 	 test ! -s conftest.err
 22806        } && test -s conftest.$ac_objext; then
 22807   ac_header_compiler=yes
 22808 else
 22809   $as_echo "$as_me: failed program was:" >&5
 22810 sed 's/^/| /' conftest.$ac_ext >&5
 22811 
 22812 	ac_header_compiler=no
 22813 fi
 22814 
 22815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22816 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 22817 $as_echo "$ac_header_compiler" >&6; }
 22818 
 22819 # Is the header present?
 22820 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 22821 $as_echo_n "checking $ac_header presence... " >&6; }
 22822 cat >conftest.$ac_ext <<_ACEOF
 22823 /* confdefs.h.  */
 22824 _ACEOF
 22825 cat confdefs.h >>conftest.$ac_ext
 22826 cat >>conftest.$ac_ext <<_ACEOF
 22827 /* end confdefs.h.  */
 22828 #include <$ac_header>
 22829 _ACEOF
 22830 if { (ac_try="$ac_cpp conftest.$ac_ext"
 22831 case "(($ac_try" in
 22832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22833   *) ac_try_echo=$ac_try;;
 22834 esac
 22835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22836 $as_echo "$ac_try_echo") >&5
 22837   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 22838   ac_status=$?
 22839   grep -v '^ *+' conftest.er1 >conftest.err
 22840   rm -f conftest.er1
 22841   cat conftest.err >&5
 22842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22843   (exit $ac_status); } >/dev/null && {
 22844 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 22845 	 test ! -s conftest.err
 22846        }; then
 22847   ac_header_preproc=yes
 22848 else
 22849   $as_echo "$as_me: failed program was:" >&5
 22850 sed 's/^/| /' conftest.$ac_ext >&5
 22851 
 22852   ac_header_preproc=no
 22853 fi
 22854 
 22855 rm -f conftest.err conftest.$ac_ext
 22856 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 22857 $as_echo "$ac_header_preproc" >&6; }
 22858 
 22859 # So?  What about this header?
 22860 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 22861   yes:no: )
 22862     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 22863 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 22864     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 22865 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 22866     ac_header_preproc=yes
 22867     ;;
 22868   no:yes:* )
 22869     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 22870 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 22871     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 22872 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 22873     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 22874 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 22875     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 22876 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 22877     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 22878 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 22879     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 22880 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 22881 
 22882     ;;
 22883 esac
 22884 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 22885 $as_echo_n "checking for $ac_header... " >&6; }
 22886 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22887   $as_echo_n "(cached) " >&6
 22888 else
 22889   eval "$as_ac_Header=\$ac_header_preproc"
 22890 fi
 22891 ac_res=`eval 'as_val=${'$as_ac_Header'}
 22892 		 $as_echo "$as_val"'`
 22893 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22894 $as_echo "$ac_res" >&6; }
 22895 
 22896 fi
 22897 as_val=`eval 'as_val=${'$as_ac_Header'}
 22898 		 $as_echo "$as_val"'`
 22899    if test "x$as_val" = x""yes; then
 22900   cat >>confdefs.h <<_ACEOF
 22901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 22902 _ACEOF
 22903  HAVE_READLINE_H=1
 22904 fi
 22905 
 22906 done
 22907 
 22908 
 22909 for ac_header in readline/history.h
 22910 do
 22911 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 22912 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22913   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 22914 $as_echo_n "checking for $ac_header... " >&6; }
 22915 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 22916   $as_echo_n "(cached) " >&6
 22917 fi
 22918 ac_res=`eval 'as_val=${'$as_ac_Header'}
 22919 		 $as_echo "$as_val"'`
 22920 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 22921 $as_echo "$ac_res" >&6; }
 22922 else
 22923   # Is the header compilable?
 22924 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 22925 $as_echo_n "checking $ac_header usability... " >&6; }
 22926 cat >conftest.$ac_ext <<_ACEOF
 22927 /* confdefs.h.  */
 22928 _ACEOF
 22929 cat confdefs.h >>conftest.$ac_ext
 22930 cat >>conftest.$ac_ext <<_ACEOF
 22931 /* end confdefs.h.  */
 22932 $ac_includes_default
 22933 #include <$ac_header>
 22934 _ACEOF
 22935 rm -f conftest.$ac_objext
 22936 if { (ac_try="$ac_compile"
 22937 case "(($ac_try" in
 22938   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22939   *) ac_try_echo=$ac_try;;
 22940 esac
 22941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22942 $as_echo "$ac_try_echo") >&5
 22943   (eval "$ac_compile") 2>conftest.er1
 22944   ac_status=$?
 22945   grep -v '^ *+' conftest.er1 >conftest.err
 22946   rm -f conftest.er1
 22947   cat conftest.err >&5
 22948   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22949   (exit $ac_status); } && {
 22950 	 test -z "$ac_c_werror_flag" ||
 22951 	 test ! -s conftest.err
 22952        } && test -s conftest.$ac_objext; then
 22953   ac_header_compiler=yes
 22954 else
 22955   $as_echo "$as_me: failed program was:" >&5
 22956 sed 's/^/| /' conftest.$ac_ext >&5
 22957 
 22958 	ac_header_compiler=no
 22959 fi
 22960 
 22961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 22962 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 22963 $as_echo "$ac_header_compiler" >&6; }
 22964 
 22965 # Is the header present?
 22966 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 22967 $as_echo_n "checking $ac_header presence... " >&6; }
 22968 cat >conftest.$ac_ext <<_ACEOF
 22969 /* confdefs.h.  */
 22970 _ACEOF
 22971 cat confdefs.h >>conftest.$ac_ext
 22972 cat >>conftest.$ac_ext <<_ACEOF
 22973 /* end confdefs.h.  */
 22974 #include <$ac_header>
 22975 _ACEOF
 22976 if { (ac_try="$ac_cpp conftest.$ac_ext"
 22977 case "(($ac_try" in
 22978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 22979   *) ac_try_echo=$ac_try;;
 22980 esac
 22981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 22982 $as_echo "$ac_try_echo") >&5
 22983   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 22984   ac_status=$?
 22985   grep -v '^ *+' conftest.er1 >conftest.err
 22986   rm -f conftest.er1
 22987   cat conftest.err >&5
 22988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 22989   (exit $ac_status); } >/dev/null && {
 22990 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 22991 	 test ! -s conftest.err
 22992        }; then
 22993   ac_header_preproc=yes
 22994 else
 22995   $as_echo "$as_me: failed program was:" >&5
 22996 sed 's/^/| /' conftest.$ac_ext >&5
 22997 
 22998   ac_header_preproc=no
 22999 fi
 23000 
 23001 rm -f conftest.err conftest.$ac_ext
 23002 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 23003 $as_echo "$ac_header_preproc" >&6; }
 23004 
 23005 # So?  What about this header?
 23006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 23007   yes:no: )
 23008     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 23009 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 23010     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 23011 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 23012     ac_header_preproc=yes
 23013     ;;
 23014   no:yes:* )
 23015     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 23016 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 23017     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 23018 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 23019     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 23020 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 23021     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 23022 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 23023     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 23024 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 23025     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 23026 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 23027 
 23028     ;;
 23029 esac
 23030 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 23031 $as_echo_n "checking for $ac_header... " >&6; }
 23032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 23033   $as_echo_n "(cached) " >&6
 23034 else
 23035   eval "$as_ac_Header=\$ac_header_preproc"
 23036 fi
 23037 ac_res=`eval 'as_val=${'$as_ac_Header'}
 23038 		 $as_echo "$as_val"'`
 23039 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 23040 $as_echo "$ac_res" >&6; }
 23041 
 23042 fi
 23043 as_val=`eval 'as_val=${'$as_ac_Header'}
 23044 		 $as_echo "$as_val"'`
 23045    if test "x$as_val" = x""yes; then
 23046   cat >>confdefs.h <<_ACEOF
 23047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 23048 _ACEOF
 23049  HAVE_HISTORY_H=1
 23050 fi
 23051 
 23052 done
 23053 
 23054 { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
 23055 $as_echo_n "checking for readline in -lreadline... " >&6; }
 23056 if test "${ac_cv_lib_readline_readline+set}" = set; then
 23057   $as_echo_n "(cached) " >&6
 23058 else
 23059   ac_check_lib_save_LIBS=$LIBS
 23060 LIBS="-lreadline  $LIBS"
 23061 cat >conftest.$ac_ext <<_ACEOF
 23062 /* confdefs.h.  */
 23063 _ACEOF
 23064 cat confdefs.h >>conftest.$ac_ext
 23065 cat >>conftest.$ac_ext <<_ACEOF
 23066 /* end confdefs.h.  */
 23067 
 23068 /* Override any GCC internal prototype to avoid an error.
 23069    Use char because int might match the return type of a GCC
 23070    builtin and then its argument prototype would still apply.  */
 23071 #ifdef __cplusplus
 23072 extern "C"
 23073 #endif
 23074 char readline ();
 23075 int
 23076 main ()
 23077 {
 23078 return readline ();
 23079   ;
 23080   return 0;
 23081 }
 23082 _ACEOF
 23083 rm -f conftest.$ac_objext conftest$ac_exeext
 23084 if { (ac_try="$ac_link"
 23085 case "(($ac_try" in
 23086   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 23087   *) ac_try_echo=$ac_try;;
 23088 esac
 23089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 23090 $as_echo "$ac_try_echo") >&5
 23091   (eval "$ac_link") 2>conftest.er1
 23092   ac_status=$?
 23093   grep -v '^ *+' conftest.er1 >conftest.err
 23094   rm -f conftest.er1
 23095   cat conftest.err >&5
 23096   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 23097   (exit $ac_status); } && {
 23098 	 test -z "$ac_c_werror_flag" ||
 23099 	 test ! -s conftest.err
 23100        } && test -s conftest$ac_exeext && {
 23101 	 test "$cross_compiling" = yes ||
 23102 	 $as_test_x conftest$ac_exeext
 23103        }; then
 23104   ac_cv_lib_readline_readline=yes
 23105 else
 23106   $as_echo "$as_me: failed program was:" >&5
 23107 sed 's/^/| /' conftest.$ac_ext >&5
 23108 
 23109 	ac_cv_lib_readline_readline=no
 23110 fi
 23111 
 23112 rm -rf conftest.dSYM
 23113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 23114       conftest$ac_exeext conftest.$ac_ext
 23115 LIBS=$ac_check_lib_save_LIBS
 23116 fi
 23117 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
 23118 $as_echo "$ac_cv_lib_readline_readline" >&6; }
 23119 if test "x$ac_cv_lib_readline_readline" = x""yes; then
 23120   HAVE_LIB_READLINE=1
 23121 fi
 23122 
 23123 
 23124 # This facilitates -ansi builds under Linux
 23125 
 23126 if test "x$enable_shared" = "xno" ; then
 23127 
 23128 cat >>confdefs.h <<\_ACEOF
 23129 #define PCRE_STATIC 1
 23130 _ACEOF
 23131 
 23132 fi
 23133 
 23134 # Here is where pcre specific defines are handled
 23135 
 23136 if test "$enable_utf8" = "yes"; then
 23137 
 23138 cat >>confdefs.h <<\_ACEOF
 23139 #define SUPPORT_UTF8 /**/
 23140 _ACEOF
 23141 
 23142 fi
 23143 
 23144 if test "$enable_unicode_properties" = "yes"; then
 23145 
 23146 cat >>confdefs.h <<\_ACEOF
 23147 #define SUPPORT_UCP /**/
 23148 _ACEOF
 23149 
 23150 fi
 23151 
 23152 if test "$enable_stack_for_recursion" = "no"; then
 23153 
 23154 cat >>confdefs.h <<\_ACEOF
 23155 #define NO_RECURSE /**/
 23156 _ACEOF
 23157 
 23158 fi
 23159 
 23160 if test "$enable_pcregrep_libz" = "yes"; then
 23161 
 23162 cat >>confdefs.h <<\_ACEOF
 23163 #define SUPPORT_LIBZ /**/
 23164 _ACEOF
 23165 
 23166 fi
 23167 
 23168 if test "$enable_pcregrep_libbz2" = "yes"; then
 23169 
 23170 cat >>confdefs.h <<\_ACEOF
 23171 #define SUPPORT_LIBBZ2 /**/
 23172 _ACEOF
 23173 
 23174 fi
 23175 
 23176 if test "$enable_pcretest_libreadline" = "yes"; then
 23177 
 23178 cat >>confdefs.h <<\_ACEOF
 23179 #define SUPPORT_LIBREADLINE /**/
 23180 _ACEOF
 23181 
 23182 fi
 23183 
 23184 
 23185 cat >>confdefs.h <<_ACEOF
 23186 #define NEWLINE $ac_pcre_newline_value
 23187 _ACEOF
 23188 
 23189 
 23190 if test "$enable_bsr_anycrlf" = "yes"; then
 23191 
 23192 cat >>confdefs.h <<\_ACEOF
 23193 #define BSR_ANYCRLF /**/
 23194 _ACEOF
 23195 
 23196 fi
 23197 
 23198 
 23199 cat >>confdefs.h <<_ACEOF
 23200 #define LINK_SIZE $with_link_size
 23201 _ACEOF
 23202 
 23203 
 23204 
 23205 cat >>confdefs.h <<_ACEOF
 23206 #define POSIX_MALLOC_THRESHOLD $with_posix_malloc_threshold
 23207 _ACEOF
 23208 
 23209 
 23210 
 23211 cat >>confdefs.h <<_ACEOF
 23212 #define MATCH_LIMIT $with_match_limit
 23213 _ACEOF
 23214 
 23215 
 23216 
 23217 cat >>confdefs.h <<_ACEOF
 23218 #define MATCH_LIMIT_RECURSION $with_match_limit_recursion
 23219 _ACEOF
 23220 
 23221 
 23222 
 23223 cat >>confdefs.h <<\_ACEOF
 23224 #define MAX_NAME_SIZE 32
 23225 _ACEOF
 23226 
 23227 
 23228 
 23229 cat >>confdefs.h <<\_ACEOF
 23230 #define MAX_NAME_COUNT 10000
 23231 _ACEOF
 23232 
 23233 
 23234 
 23235 
 23236 
 23237 if test "$enable_ebcdic" = "yes"; then
 23238 
 23239 cat >>confdefs.h <<_ACEOF
 23240 #define EBCDIC /**/
 23241 _ACEOF
 23242 
 23243 fi
 23244 
 23245 # Platform specific issues
 23246 NO_UNDEFINED=
 23247 EXPORT_ALL_SYMBOLS=
 23248 case $host_os in
 23249   cygwin* | mingw* )
 23250     if test X"$enable_shared" = Xyes; then
 23251       NO_UNDEFINED="-no-undefined"
 23252       EXPORT_ALL_SYMBOLS="-Wl,--export-all-symbols"
 23253     fi
 23254     ;;
 23255 esac
 23256 
 23257 # The extra LDFLAGS for each particular library
 23258 # (Note: The libpcre*_version bits are m4 variables, assigned above)
 23259 
 23260 EXTRA_LIBPCRE_LDFLAGS="$EXTRA_LIBPCRE_LDFLAGS \
 23261                        $NO_UNDEFINED -version-info 0:1:0"
 23262 
 23263 EXTRA_LIBPCREPOSIX_LDFLAGS="$EXTRA_LIBPCREPOSIX_LDFLAGS \
 23264                             $NO_UNDEFINED -version-info 0:0:0"
 23265 
 23266 EXTRA_LIBPCRECPP_LDFLAGS="$EXTRA_LIBPCRECPP_LDFLAGS \
 23267                           $NO_UNDEFINED -version-info 0:0:0 \
 23268                           $EXPORT_ALL_SYMBOLS"
 23269 
 23270 
 23271 
 23272 
 23273 
 23274 # When we run 'make distcheck', use these arguments.
 23275 DISTCHECK_CONFIGURE_FLAGS="--enable-cpp --enable-unicode-properties"
 23276 
 23277 
 23278 # Check that, if --enable-pcregrep-libz or --enable-pcregrep-libbz2 is
 23279 # specified, the relevant library is available.
 23280 
 23281 if test "$enable_pcregrep_libz" = "yes"; then
 23282   if test "$HAVE_ZLIB_H" != "1"; then
 23283     echo "** Cannot --enable-pcregrep-libz because zlib.h was not found"
 23284     exit 1
 23285   fi
 23286   if test "$HAVE_LIBZ" != "1"; then
 23287     echo "** Cannot --enable-pcregrep-libz because libz was not found"
 23288     exit 1
 23289   fi
 23290   LIBZ="-lz"
 23291 fi
 23292 
 23293 
 23294 if test "$enable_pcregrep_libbz2" = "yes"; then
 23295   if test "$HAVE_BZLIB_H" != "1"; then
 23296     echo "** Cannot --enable-pcregrep-libbz2 because bzlib.h was not found"
 23297     exit 1
 23298   fi
 23299   if test "$HAVE_LIBBZ2" != "1"; then
 23300     echo "** Cannot --enable-pcregrep-libbz2 because libbz2 was not found"
 23301     exit 1
 23302   fi
 23303   LIBBZ2="-lbz2"
 23304 fi
 23305 
 23306 
 23307 # Similarly for --enable-pcretest-readline
 23308 
 23309 if test "$enable_pcretest_libreadline" = "yes"; then
 23310   if test "$HAVE_READLINE_H" != "1"; then
 23311     echo "** Cannot --enable-pcretest-readline because readline/readline.h was not found."
 23312     exit 1
 23313   fi
 23314   if test "$HAVE_HISTORY_H" != "1"; then
 23315     echo "** Cannot --enable-pcretest-readline because readline/history.h was not found."
 23316     exit 1
 23317   fi
 23318   LIBREADLINE="-lreadline"
 23319 fi
 23320 
 23321 
 23322 # Produce these files, in addition to config.h.
 23323 ac_config_files="$ac_config_files Makefile libpcre.pc libpcrecpp.pc pcre-config pcre.h pcre_stringpiece.h pcrecpparg.h"
 23324 
 23325 
 23326 # Make the generated script files executable.
 23327 ac_config_commands="$ac_config_commands script-chmod"
 23328 
 23329 
 23330 # Make sure that pcre_chartables.c is removed in case the method for
 23331 # creating it was changed by reconfiguration.
 23332 ac_config_commands="$ac_config_commands delete-old-chartables"
 23333 
 23334 
 23335 cat >confcache <<\_ACEOF
 23336 # This file is a shell script that caches the results of configure
 23337 # tests run on this system so they can be shared between configure
 23338 # scripts and configure runs, see configure's option --config-cache.
 23339 # It is not useful on other systems.  If it contains results you don't
 23340 # want to keep, you may remove or edit it.
 23341 #
 23342 # config.status only pays attention to the cache file if you give it
 23343 # the --recheck option to rerun configure.
 23344 #
 23345 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 23346 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 23347 # following values.
 23348 
 23349 _ACEOF
 23350 
 23351 # The following way of writing the cache mishandles newlines in values,
 23352 # but we know of no workaround that is simple, portable, and efficient.
 23353 # So, we kill variables containing newlines.
 23354 # Ultrix sh set writes to stderr and can't be redirected directly,
 23355 # and sets the high bit in the cache file unless we assign to the vars.
 23356 (
 23357   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 23358     eval ac_val=\$$ac_var
 23359     case $ac_val in #(
 23360     *${as_nl}*)
 23361       case $ac_var in #(
 23362       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
 23363 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 23364       esac
 23365       case $ac_var in #(
 23366       _ | IFS | as_nl) ;; #(
 23367       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 23368       *) $as_unset $ac_var ;;
 23369       esac ;;
 23370     esac
 23371   done
 23372 
 23373   (set) 2>&1 |
 23374     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 23375     *${as_nl}ac_space=\ *)
 23376       # `set' does not quote correctly, so add quotes (double-quote
 23377       # substitution turns \\\\ into \\, and sed turns \\ into \).
 23378       sed -n \
 23379 	"s/'/'\\\\''/g;
 23380 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 23381       ;; #(
 23382     *)
 23383       # `set' quotes correctly as required by POSIX, so do not add quotes.
 23384       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 23385       ;;
 23386     esac |
 23387     sort
 23388 ) |
 23389   sed '
 23390      /^ac_cv_env_/b end
 23391      t clear
 23392      :clear
 23393      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 23394      t end
 23395      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 23396      :end' >>confcache
 23397 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 23398   if test -w "$cache_file"; then
 23399     test "x$cache_file" != "x/dev/null" &&
 23400       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 23401 $as_echo "$as_me: updating cache $cache_file" >&6;}
 23402     cat confcache >$cache_file
 23403   else
 23404     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 23405 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 23406   fi
 23407 fi
 23408 rm -f confcache
 23409 
 23410 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 23411 # Let make expand exec_prefix.
 23412 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 23413 
 23414 DEFS=-DHAVE_CONFIG_H
 23415 
 23416 ac_libobjs=
 23417 ac_ltlibobjs=
 23418 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 23419   # 1. Remove the extension, and $U if already installed.
 23420   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 23421   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 23422   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 23423   #    will be set to the directory where LIBOBJS objects are built.
 23424   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 23425   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 23426 done
 23427 LIBOBJS=$ac_libobjs
 23428 
 23429 LTLIBOBJS=$ac_ltlibobjs
 23430 
 23431 
 23432 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 23433   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 23434 Usually this means the macro was only invoked conditionally." >&5
 23435 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 23436 Usually this means the macro was only invoked conditionally." >&2;}
 23437    { (exit 1); exit 1; }; }
 23438 fi
 23439 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 23440   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 23441 Usually this means the macro was only invoked conditionally." >&5
 23442 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 23443 Usually this means the macro was only invoked conditionally." >&2;}
 23444    { (exit 1); exit 1; }; }
 23445 fi
 23446 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 23447   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 23448 Usually this means the macro was only invoked conditionally." >&5
 23449 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 23450 Usually this means the macro was only invoked conditionally." >&2;}
 23451    { (exit 1); exit 1; }; }
 23452 fi
 23453 if test -z "${WITH_PCRE_CPP_TRUE}" && test -z "${WITH_PCRE_CPP_FALSE}"; then
 23454   { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PCRE_CPP\" was never defined.
 23455 Usually this means the macro was only invoked conditionally." >&5
 23456 $as_echo "$as_me: error: conditional \"WITH_PCRE_CPP\" was never defined.
 23457 Usually this means the macro was only invoked conditionally." >&2;}
 23458    { (exit 1); exit 1; }; }
 23459 fi
 23460 if test -z "${WITH_REBUILD_CHARTABLES_TRUE}" && test -z "${WITH_REBUILD_CHARTABLES_FALSE}"; then
 23461   { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
 23462 Usually this means the macro was only invoked conditionally." >&5
 23463 $as_echo "$as_me: error: conditional \"WITH_REBUILD_CHARTABLES\" was never defined.
 23464 Usually this means the macro was only invoked conditionally." >&2;}
 23465    { (exit 1); exit 1; }; }
 23466 fi
 23467 
 23468 : ${CONFIG_STATUS=./config.status}
 23469 ac_write_fail=0
 23470 ac_clean_files_save=$ac_clean_files
 23471 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 23472 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 23473 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 23474 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 23475 #! $SHELL
 23476 # Generated by $as_me.
 23477 # Run this file to recreate the current configuration.
 23478 # Compiler output produced by configure, useful for debugging
 23479 # configure, is in config.log if it exists.
 23480 
 23481 debug=false
 23482 ac_cs_recheck=false
 23483 ac_cs_silent=false
 23484 SHELL=\${CONFIG_SHELL-$SHELL}
 23485 _ACEOF
 23486 
 23487 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 23488 ## --------------------- ##
 23489 ## M4sh Initialization.  ##
 23490 ## --------------------- ##
 23491 
 23492 # Be more Bourne compatible
 23493 DUALCASE=1; export DUALCASE # for MKS sh
 23494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 23495   emulate sh
 23496   NULLCMD=:
 23497   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 23498   # is contrary to our usage.  Disable this feature.
 23499   alias -g '${1+"$@"}'='"$@"'
 23500   setopt NO_GLOB_SUBST
 23501 else
 23502   case `(set -o) 2>/dev/null` in
 23503   *posix*) set -o posix ;;
 23504 esac
 23505 
 23506 fi
 23507 
 23508 
 23509 
 23510 
 23511 # PATH needs CR
 23512 # Avoid depending upon Character Ranges.
 23513 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 23514 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 23515 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 23516 as_cr_digits='0123456789'
 23517 as_cr_alnum=$as_cr_Letters$as_cr_digits
 23518 
 23519 as_nl='
 23520 '
 23521 export as_nl
 23522 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 23523 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 23524 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 23525 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 23526 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 23527   as_echo='printf %s\n'
 23528   as_echo_n='printf %s'
 23529 else
 23530   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 23531     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 23532     as_echo_n='/usr/ucb/echo -n'
 23533   else
 23534     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 23535     as_echo_n_body='eval
 23536       arg=$1;
 23537       case $arg in
 23538       *"$as_nl"*)
 23539 	expr "X$arg" : "X\\(.*\\)$as_nl";
 23540 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 23541       esac;
 23542       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 23543     '
 23544     export as_echo_n_body
 23545     as_echo_n='sh -c $as_echo_n_body as_echo'
 23546   fi
 23547   export as_echo_body
 23548   as_echo='sh -c $as_echo_body as_echo'
 23549 fi
 23550 
 23551 # The user is always right.
 23552 if test "${PATH_SEPARATOR+set}" != set; then
 23553   PATH_SEPARATOR=:
 23554   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 23555     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 23556       PATH_SEPARATOR=';'
 23557   }
 23558 fi
 23559 
 23560 # Support unset when possible.
 23561 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 23562   as_unset=unset
 23563 else
 23564   as_unset=false
 23565 fi
 23566 
 23567 
 23568 # IFS
 23569 # We need space, tab and new line, in precisely that order.  Quoting is
 23570 # there to prevent editors from complaining about space-tab.
 23571 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 23572 # splitting by setting IFS to empty value.)
 23573 IFS=" ""	$as_nl"
 23574 
 23575 # Find who we are.  Look in the path if we contain no directory separator.
 23576 case $0 in
 23577   *[\\/]* ) as_myself=$0 ;;
 23578   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 23579 for as_dir in $PATH
 23580 do
 23581   IFS=$as_save_IFS
 23582   test -z "$as_dir" && as_dir=.
 23583   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 23584 done
 23585 IFS=$as_save_IFS
 23586 
 23587      ;;
 23588 esac
 23589 # We did not find ourselves, most probably we were run as `sh COMMAND'
 23590 # in which case we are not to be found in the path.
 23591 if test "x$as_myself" = x; then
 23592   as_myself=$0
 23593 fi
 23594 if test ! -f "$as_myself"; then
 23595   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 23596   { (exit 1); exit 1; }
 23597 fi
 23598 
 23599 # Work around bugs in pre-3.0 UWIN ksh.
 23600 for as_var in ENV MAIL MAILPATH
 23601 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 23602 done
 23603 PS1='$ '
 23604 PS2='> '
 23605 PS4='+ '
 23606 
 23607 # NLS nuisances.
 23608 LC_ALL=C
 23609 export LC_ALL
 23610 LANGUAGE=C
 23611 export LANGUAGE
 23612 
 23613 # Required to use basename.
 23614 if expr a : '\(a\)' >/dev/null 2>&1 &&
 23615    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 23616   as_expr=expr
 23617 else
 23618   as_expr=false
 23619 fi
 23620 
 23621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 23622   as_basename=basename
 23623 else
 23624   as_basename=false
 23625 fi
 23626 
 23627 
 23628 # Name of the executable.
 23629 as_me=`$as_basename -- "$0" ||
 23630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 23631 	 X"$0" : 'X\(//\)$' \| \
 23632 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 23633 $as_echo X/"$0" |
 23634     sed '/^.*\/\([^/][^/]*\)\/*$/{
 23635 	    s//\1/
 23636 	    q
 23637 	  }
 23638 	  /^X\/\(\/\/\)$/{
 23639 	    s//\1/
 23640 	    q
 23641 	  }
 23642 	  /^X\/\(\/\).*/{
 23643 	    s//\1/
 23644 	    q
 23645 	  }
 23646 	  s/.*/./; q'`
 23647 
 23648 # CDPATH.
 23649 $as_unset CDPATH
 23650 
 23651 
 23652 
 23653   as_lineno_1=$LINENO
 23654   as_lineno_2=$LINENO
 23655   test "x$as_lineno_1" != "x$as_lineno_2" &&
 23656   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 23657 
 23658   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 23659   # uniformly replaced by the line number.  The first 'sed' inserts a
 23660   # line-number line after each line using $LINENO; the second 'sed'
 23661   # does the real work.  The second script uses 'N' to pair each
 23662   # line-number line with the line containing $LINENO, and appends
 23663   # trailing '-' during substitution so that $LINENO is not a special
 23664   # case at line end.
 23665   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 23666   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 23667   # E. McMahon (1931-1989) for sed's syntax.  :-)
 23668   sed -n '
 23669     p
 23670     /[$]LINENO/=
 23671   ' <$as_myself |
 23672     sed '
 23673       s/[$]LINENO.*/&-/
 23674       t lineno
 23675       b
 23676       :lineno
 23677       N
 23678       :loop
 23679       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 23680       t loop
 23681       s/-\n.*//
 23682     ' >$as_me.lineno &&
 23683   chmod +x "$as_me.lineno" ||
 23684     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 23685    { (exit 1); exit 1; }; }
 23686 
 23687   # Don't try to exec as it changes $[0], causing all sort of problems
 23688   # (the dirname of $[0] is not the place where we might find the
 23689   # original and so on.  Autoconf is especially sensitive to this).
 23690   . "./$as_me.lineno"
 23691   # Exit status is that of the last command.
 23692   exit
 23693 }
 23694 
 23695 
 23696 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 23697   as_dirname=dirname
 23698 else
 23699   as_dirname=false
 23700 fi
 23701 
 23702 ECHO_C= ECHO_N= ECHO_T=
 23703 case `echo -n x` in
 23704 -n*)
 23705   case `echo 'x\c'` in
 23706   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 23707   *)   ECHO_C='\c';;
 23708   esac;;
 23709 *)
 23710   ECHO_N='-n';;
 23711 esac
 23712 if expr a : '\(a\)' >/dev/null 2>&1 &&
 23713    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 23714   as_expr=expr
 23715 else
 23716   as_expr=false
 23717 fi
 23718 
 23719 rm -f conf$$ conf$$.exe conf$$.file
 23720 if test -d conf$$.dir; then
 23721   rm -f conf$$.dir/conf$$.file
 23722 else
 23723   rm -f conf$$.dir
 23724   mkdir conf$$.dir 2>/dev/null
 23725 fi
 23726 if (echo >conf$$.file) 2>/dev/null; then
 23727   if ln -s conf$$.file conf$$ 2>/dev/null; then
 23728     as_ln_s='ln -s'
 23729     # ... but there are two gotchas:
 23730     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 23731     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 23732     # In both cases, we have to default to `cp -p'.
 23733     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 23734       as_ln_s='cp -p'
 23735   elif ln conf$$.file conf$$ 2>/dev/null; then
 23736     as_ln_s=ln
 23737   else
 23738     as_ln_s='cp -p'
 23739   fi
 23740 else
 23741   as_ln_s='cp -p'
 23742 fi
 23743 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 23744 rmdir conf$$.dir 2>/dev/null
 23745 
 23746 if mkdir -p . 2>/dev/null; then
 23747   as_mkdir_p=:
 23748 else
 23749   test -d ./-p && rmdir ./-p
 23750   as_mkdir_p=false
 23751 fi
 23752 
 23753 if test -x / >/dev/null 2>&1; then
 23754   as_test_x='test -x'
 23755 else
 23756   if ls -dL / >/dev/null 2>&1; then
 23757     as_ls_L_option=L
 23758   else
 23759     as_ls_L_option=
 23760   fi
 23761   as_test_x='
 23762     eval sh -c '\''
 23763       if test -d "$1"; then
 23764 	test -d "$1/.";
 23765       else
 23766 	case $1 in
 23767 	-*)set "./$1";;
 23768 	esac;
 23769 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 23770 	???[sx]*):;;*)false;;esac;fi
 23771     '\'' sh
 23772   '
 23773 fi
 23774 as_executable_p=$as_test_x
 23775 
 23776 # Sed expression to map a string onto a valid CPP name.
 23777 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 23778 
 23779 # Sed expression to map a string onto a valid variable name.
 23780 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 23781 
 23782 
 23783 exec 6>&1
 23784 
 23785 # Save the log message, to keep $[0] and so on meaningful, and to
 23786 # report actual input values of CONFIG_FILES etc. instead of their
 23787 # values after options handling.
 23788 ac_log="
 23789 This file was extended by PCRE $as_me 7.9, which was
 23790 generated by GNU Autoconf 2.63.  Invocation command line was
 23791 
 23792   CONFIG_FILES    = $CONFIG_FILES
 23793   CONFIG_HEADERS  = $CONFIG_HEADERS
 23794   CONFIG_LINKS    = $CONFIG_LINKS
 23795   CONFIG_COMMANDS = $CONFIG_COMMANDS
 23796   $ $0 $@
 23797 
 23798 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 23799 "
 23800 
 23801 _ACEOF
 23802 
 23803 case $ac_config_files in *"
 23804 "*) set x $ac_config_files; shift; ac_config_files=$*;;
 23805 esac
 23806 
 23807 case $ac_config_headers in *"
 23808 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 23809 esac
 23810 
 23811 
 23812 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 23813 # Files that config.status was made for.
 23814 config_files="$ac_config_files"
 23815 config_headers="$ac_config_headers"
 23816 config_commands="$ac_config_commands"
 23817 
 23818 _ACEOF
 23819 
 23820 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 23821 ac_cs_usage="\
 23822 \`$as_me' instantiates files from templates according to the
 23823 current configuration.
 23824 
 23825 Usage: $0 [OPTION]... [FILE]...
 23826 
 23827   -h, --help       print this help, then exit
 23828   -V, --version    print version number and configuration settings, then exit
 23829   -q, --quiet, --silent
 23830                    do not print progress messages
 23831   -d, --debug      don't remove temporary files
 23832       --recheck    update $as_me by reconfiguring in the same conditions
 23833       --file=FILE[:TEMPLATE]
 23834                    instantiate the configuration file FILE
 23835       --header=FILE[:TEMPLATE]
 23836                    instantiate the configuration header FILE
 23837 
 23838 Configuration files:
 23839 $config_files
 23840 
 23841 Configuration headers:
 23842 $config_headers
 23843 
 23844 Configuration commands:
 23845 $config_commands
 23846 
 23847 Report bugs to <[email protected]>."
 23848 
 23849 _ACEOF
 23850 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 23851 ac_cs_version="\\
 23852 PCRE config.status 7.9
 23853 configured by $0, generated by GNU Autoconf 2.63,
 23854   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 23855 
 23856 Copyright (C) 2008 Free Software Foundation, Inc.
 23857 This config.status script is free software; the Free Software Foundation
 23858 gives unlimited permission to copy, distribute and modify it."
 23859 
 23860 ac_pwd='$ac_pwd'
 23861 srcdir='$srcdir'
 23862 INSTALL='$INSTALL'
 23863 MKDIR_P='$MKDIR_P'
 23864 AWK='$AWK'
 23865 test -n "\$AWK" || AWK=awk
 23866 _ACEOF
 23867 
 23868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 23869 # The default lists apply if the user does not specify any file.
 23870 ac_need_defaults=:
 23871 while test $# != 0
 23872 do
 23873   case $1 in
 23874   --*=*)
 23875     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 23876     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 23877     ac_shift=:
 23878     ;;
 23879   *)
 23880     ac_option=$1
 23881     ac_optarg=$2
 23882     ac_shift=shift
 23883     ;;
 23884   esac
 23885 
 23886   case $ac_option in
 23887   # Handling of the options.
 23888   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 23889     ac_cs_recheck=: ;;
 23890   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 23891     $as_echo "$ac_cs_version"; exit ;;
 23892   --debug | --debu | --deb | --de | --d | -d )
 23893     debug=: ;;
 23894   --file | --fil | --fi | --f )
 23895     $ac_shift
 23896     case $ac_optarg in
 23897     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 23898     esac
 23899     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 23900     ac_need_defaults=false;;
 23901   --header | --heade | --head | --hea )
 23902     $ac_shift
 23903     case $ac_optarg in
 23904     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 23905     esac
 23906     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 23907     ac_need_defaults=false;;
 23908   --he | --h)
 23909     # Conflict between --help and --header
 23910     { $as_echo "$as_me: error: ambiguous option: $1
 23911 Try \`$0 --help' for more information." >&2
 23912    { (exit 1); exit 1; }; };;
 23913   --help | --hel | -h )
 23914     $as_echo "$ac_cs_usage"; exit ;;
 23915   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 23916   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 23917     ac_cs_silent=: ;;
 23918 
 23919   # This is an error.
 23920   -*) { $as_echo "$as_me: error: unrecognized option: $1
 23921 Try \`$0 --help' for more information." >&2
 23922    { (exit 1); exit 1; }; } ;;
 23923 
 23924   *) ac_config_targets="$ac_config_targets $1"
 23925      ac_need_defaults=false ;;
 23926 
 23927   esac
 23928   shift
 23929 done
 23930 
 23931 ac_configure_extra_args=
 23932 
 23933 if $ac_cs_silent; then
 23934   exec 6>/dev/null
 23935   ac_configure_extra_args="$ac_configure_extra_args --silent"
 23936 fi
 23937 
 23938 _ACEOF
 23939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 23940 if \$ac_cs_recheck; then
 23941   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 23942   shift
 23943   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 23944   CONFIG_SHELL='$SHELL'
 23945   export CONFIG_SHELL
 23946   exec "\$@"
 23947 fi
 23948 
 23949 _ACEOF
 23950 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 23951 exec 5>>config.log
 23952 {
 23953   echo
 23954   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 23955 ## Running $as_me. ##
 23956 _ASBOX
 23957   $as_echo "$ac_log"
 23958 } >&5
 23959 
 23960 _ACEOF
 23961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 23962 #
 23963 # INIT-COMMANDS
 23964 #
 23965 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 23966 
 23967 _ACEOF
 23968 
 23969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 23970 
 23971 # Handling of arguments.
 23972 for ac_config_target in $ac_config_targets
 23973 do
 23974   case $ac_config_target in
 23975     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 23976     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 23977     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 23978     "libpcre.pc") CONFIG_FILES="$CONFIG_FILES libpcre.pc" ;;
 23979     "libpcrecpp.pc") CONFIG_FILES="$CONFIG_FILES libpcrecpp.pc" ;;
 23980     "pcre-config") CONFIG_FILES="$CONFIG_FILES pcre-config" ;;
 23981     "pcre.h") CONFIG_FILES="$CONFIG_FILES pcre.h" ;;
 23982     "pcre_stringpiece.h") CONFIG_FILES="$CONFIG_FILES pcre_stringpiece.h" ;;
 23983     "pcrecpparg.h") CONFIG_FILES="$CONFIG_FILES pcrecpparg.h" ;;
 23984     "script-chmod") CONFIG_COMMANDS="$CONFIG_COMMANDS script-chmod" ;;
 23985     "delete-old-chartables") CONFIG_COMMANDS="$CONFIG_COMMANDS delete-old-chartables" ;;
 23986 
 23987   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 23988 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 23989    { (exit 1); exit 1; }; };;
 23990   esac
 23991 done
 23992 
 23993 
 23994 # If the user did not use the arguments to specify the items to instantiate,
 23995 # then the envvar interface is used.  Set only those that are not.
 23996 # We use the long form for the default assignment because of an extremely
 23997 # bizarre bug on SunOS 4.1.3.
 23998 if $ac_need_defaults; then
 23999   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 24000   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 24001   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 24002 fi
 24003 
 24004 # Have a temporary directory for convenience.  Make it in the build tree
 24005 # simply because there is no reason against having it here, and in addition,
 24006 # creating and moving files from /tmp can sometimes cause problems.
 24007 # Hook for its removal unless debugging.
 24008 # Note that there is a small window in which the directory will not be cleaned:
 24009 # after its creation but before its name has been assigned to `$tmp'.
 24010 $debug ||
 24011 {
 24012   tmp=
 24013   trap 'exit_status=$?
 24014   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 24015 ' 0
 24016   trap '{ (exit 1); exit 1; }' 1 2 13 15
 24017 }
 24018 # Create a (secure) tmp directory for tmp files.
 24019 
 24020 {
 24021   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 24022   test -n "$tmp" && test -d "$tmp"
 24023 }  ||
 24024 {
 24025   tmp=./conf$$-$RANDOM
 24026   (umask 077 && mkdir "$tmp")
 24027 } ||
 24028 {
 24029    $as_echo "$as_me: cannot create a temporary directory in ." >&2
 24030    { (exit 1); exit 1; }
 24031 }
 24032 
 24033 # Set up the scripts for CONFIG_FILES section.
 24034 # No need to generate them if there are no CONFIG_FILES.
 24035 # This happens for instance with `./config.status config.h'.
 24036 if test -n "$CONFIG_FILES"; then
 24037 
 24038 
 24039 ac_cr='
 24040 '
 24041 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 24042 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 24043   ac_cs_awk_cr='\\r'
 24044 else
 24045   ac_cs_awk_cr=$ac_cr
 24046 fi
 24047 
 24048 echo 'BEGIN {' >"$tmp/subs1.awk" &&
 24049 _ACEOF
 24050 
 24051 
 24052 {
 24053   echo "cat >conf$$subs.awk <<_ACEOF" &&
 24054   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 24055   echo "_ACEOF"
 24056 } >conf$$subs.sh ||
 24057   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 24058 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 24059    { (exit 1); exit 1; }; }
 24060 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 24061 ac_delim='%!_!# '
 24062 for ac_last_try in false false false false false :; do
 24063   . ./conf$$subs.sh ||
 24064     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 24065 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 24066    { (exit 1); exit 1; }; }
 24067 
 24068   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 24069   if test $ac_delim_n = $ac_delim_num; then
 24070     break
 24071   elif $ac_last_try; then
 24072     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 24073 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 24074    { (exit 1); exit 1; }; }
 24075   else
 24076     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 24077   fi
 24078 done
 24079 rm -f conf$$subs.sh
 24080 
 24081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 24082 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 24083 _ACEOF
 24084 sed -n '
 24085 h
 24086 s/^/S["/; s/!.*/"]=/
 24087 p
 24088 g
 24089 s/^[^!]*!//
 24090 :repl
 24091 t repl
 24092 s/'"$ac_delim"'$//
 24093 t delim
 24094 :nl
 24095 h
 24096 s/\(.\{148\}\).*/\1/
 24097 t more1
 24098 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 24099 p
 24100 n
 24101 b repl
 24102 :more1
 24103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 24104 p
 24105 g
 24106 s/.\{148\}//
 24107 t nl
 24108 :delim
 24109 h
 24110 s/\(.\{148\}\).*/\1/
 24111 t more2
 24112 s/["\\]/\\&/g; s/^/"/; s/$/"/
 24113 p
 24114 b
 24115 :more2
 24116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 24117 p
 24118 g
 24119 s/.\{148\}//
 24120 t delim
 24121 ' <conf$$subs.awk | sed '
 24122 /^[^""]/{
 24123   N
 24124   s/\n//
 24125 }
 24126 ' >>$CONFIG_STATUS || ac_write_fail=1
 24127 rm -f conf$$subs.awk
 24128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 24129 _ACAWK
 24130 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 24131   for (key in S) S_is_set[key] = 1
 24132   FS = ""
 24133 
 24134 }
 24135 {
 24136   line = $ 0
 24137   nfields = split(line, field, "@")
 24138   substed = 0
 24139   len = length(field[1])
 24140   for (i = 2; i < nfields; i++) {
 24141     key = field[i]
 24142     keylen = length(key)
 24143     if (S_is_set[key]) {
 24144       value = S[key]
 24145       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 24146       len += length(value) + length(field[++i])
 24147       substed = 1
 24148     } else
 24149       len += 1 + keylen
 24150   }
 24151 
 24152   print line
 24153 }
 24154 
 24155 _ACAWK
 24156 _ACEOF
 24157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24158 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 24159   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 24160 else
 24161   cat
 24162 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 24163   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 24164 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 24165    { (exit 1); exit 1; }; }
 24166 _ACEOF
 24167 
 24168 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 24169 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 24170 # trailing colons and then remove the whole line if VPATH becomes empty
 24171 # (actually we leave an empty line to preserve line numbers).
 24172 if test "x$srcdir" = x.; then
 24173   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 24174 s/:*\$(srcdir):*/:/
 24175 s/:*\${srcdir}:*/:/
 24176 s/:*@srcdir@:*/:/
 24177 s/^\([^=]*=[	 ]*\):*/\1/
 24178 s/:*$//
 24179 s/^[^=]*=[	 ]*$//
 24180 }'
 24181 fi
 24182 
 24183 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24184 fi # test -n "$CONFIG_FILES"
 24185 
 24186 # Set up the scripts for CONFIG_HEADERS section.
 24187 # No need to generate them if there are no CONFIG_HEADERS.
 24188 # This happens for instance with `./config.status Makefile'.
 24189 if test -n "$CONFIG_HEADERS"; then
 24190 cat >"$tmp/defines.awk" <<\_ACAWK ||
 24191 BEGIN {
 24192 _ACEOF
 24193 
 24194 # Transform confdefs.h into an awk script `defines.awk', embedded as
 24195 # here-document in config.status, that substitutes the proper values into
 24196 # config.h.in to produce config.h.
 24197 
 24198 # Create a delimiter string that does not exist in confdefs.h, to ease
 24199 # handling of long lines.
 24200 ac_delim='%!_!# '
 24201 for ac_last_try in false false :; do
 24202   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 24203   if test -z "$ac_t"; then
 24204     break
 24205   elif $ac_last_try; then
 24206     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 24207 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 24208    { (exit 1); exit 1; }; }
 24209   else
 24210     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 24211   fi
 24212 done
 24213 
 24214 # For the awk script, D is an array of macro values keyed by name,
 24215 # likewise P contains macro parameters if any.  Preserve backslash
 24216 # newline sequences.
 24217 
 24218 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 24219 sed -n '
 24220 s/.\{148\}/&'"$ac_delim"'/g
 24221 t rset
 24222 :rset
 24223 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 24224 t def
 24225 d
 24226 :def
 24227 s/\\$//
 24228 t bsnl
 24229 s/["\\]/\\&/g
 24230 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 24231 D["\1"]=" \3"/p
 24232 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 24233 d
 24234 :bsnl
 24235 s/["\\]/\\&/g
 24236 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 24237 D["\1"]=" \3\\\\\\n"\\/p
 24238 t cont
 24239 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 24240 t cont
 24241 d
 24242 :cont
 24243 n
 24244 s/.\{148\}/&'"$ac_delim"'/g
 24245 t clear
 24246 :clear
 24247 s/\\$//
 24248 t bsnlc
 24249 s/["\\]/\\&/g; s/^/"/; s/$/"/p
 24250 d
 24251 :bsnlc
 24252 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 24253 b cont
 24254 ' <confdefs.h | sed '
 24255 s/'"$ac_delim"'/"\\\
 24256 "/g' >>$CONFIG_STATUS || ac_write_fail=1
 24257 
 24258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 24259   for (key in D) D_is_set[key] = 1
 24260   FS = ""
 24261 }
 24262 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 24263   line = \$ 0
 24264   split(line, arg, " ")
 24265   if (arg[1] == "#") {
 24266     defundef = arg[2]
 24267     mac1 = arg[3]
 24268   } else {
 24269     defundef = substr(arg[1], 2)
 24270     mac1 = arg[2]
 24271   }
 24272   split(mac1, mac2, "(") #)
 24273   macro = mac2[1]
 24274   prefix = substr(line, 1, index(line, defundef) - 1)
 24275   if (D_is_set[macro]) {
 24276     # Preserve the white space surrounding the "#".
 24277     print prefix "define", macro P[macro] D[macro]
 24278     next
 24279   } else {
 24280     # Replace #undef with comments.  This is necessary, for example,
 24281     # in the case of _POSIX_SOURCE, which is predefined and required
 24282     # on some systems where configure will not decide to define it.
 24283     if (defundef == "undef") {
 24284       print "/*", prefix defundef, macro, "*/"
 24285       next
 24286     }
 24287   }
 24288 }
 24289 { print }
 24290 _ACAWK
 24291 _ACEOF
 24292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24293   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 24294 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 24295    { (exit 1); exit 1; }; }
 24296 fi # test -n "$CONFIG_HEADERS"
 24297 
 24298 
 24299 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 24300 shift
 24301 for ac_tag
 24302 do
 24303   case $ac_tag in
 24304   :[FHLC]) ac_mode=$ac_tag; continue;;
 24305   esac
 24306   case $ac_mode$ac_tag in
 24307   :[FHL]*:*);;
 24308   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
 24309 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
 24310    { (exit 1); exit 1; }; };;
 24311   :[FH]-) ac_tag=-:-;;
 24312   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 24313   esac
 24314   ac_save_IFS=$IFS
 24315   IFS=:
 24316   set x $ac_tag
 24317   IFS=$ac_save_IFS
 24318   shift
 24319   ac_file=$1
 24320   shift
 24321 
 24322   case $ac_mode in
 24323   :L) ac_source=$1;;
 24324   :[FH])
 24325     ac_file_inputs=
 24326     for ac_f
 24327     do
 24328       case $ac_f in
 24329       -) ac_f="$tmp/stdin";;
 24330       *) # Look for the file first in the build tree, then in the source tree
 24331 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 24332 	 # because $ac_f cannot contain `:'.
 24333 	 test -f "$ac_f" ||
 24334 	   case $ac_f in
 24335 	   [\\/$]*) false;;
 24336 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 24337 	   esac ||
 24338 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 24339 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 24340    { (exit 1); exit 1; }; };;
 24341       esac
 24342       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 24343       ac_file_inputs="$ac_file_inputs '$ac_f'"
 24344     done
 24345 
 24346     # Let's still pretend it is `configure' which instantiates (i.e., don't
 24347     # use $as_me), people would be surprised to read:
 24348     #    /* config.h.  Generated by config.status.  */
 24349     configure_input='Generated from '`
 24350 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 24351 	`' by configure.'
 24352     if test x"$ac_file" != x-; then
 24353       configure_input="$ac_file.  $configure_input"
 24354       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 24355 $as_echo "$as_me: creating $ac_file" >&6;}
 24356     fi
 24357     # Neutralize special characters interpreted by sed in replacement strings.
 24358     case $configure_input in #(
 24359     *\&* | *\|* | *\\* )
 24360        ac_sed_conf_input=`$as_echo "$configure_input" |
 24361        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 24362     *) ac_sed_conf_input=$configure_input;;
 24363     esac
 24364 
 24365     case $ac_tag in
 24366     *:-:* | *:-) cat >"$tmp/stdin" \
 24367       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 24368 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 24369    { (exit 1); exit 1; }; } ;;
 24370     esac
 24371     ;;
 24372   esac
 24373 
 24374   ac_dir=`$as_dirname -- "$ac_file" ||
 24375 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24376 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 24377 	 X"$ac_file" : 'X\(//\)$' \| \
 24378 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 24379 $as_echo X"$ac_file" |
 24380     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24381 	    s//\1/
 24382 	    q
 24383 	  }
 24384 	  /^X\(\/\/\)[^/].*/{
 24385 	    s//\1/
 24386 	    q
 24387 	  }
 24388 	  /^X\(\/\/\)$/{
 24389 	    s//\1/
 24390 	    q
 24391 	  }
 24392 	  /^X\(\/\).*/{
 24393 	    s//\1/
 24394 	    q
 24395 	  }
 24396 	  s/.*/./; q'`
 24397   { as_dir="$ac_dir"
 24398   case $as_dir in #(
 24399   -*) as_dir=./$as_dir;;
 24400   esac
 24401   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 24402     as_dirs=
 24403     while :; do
 24404       case $as_dir in #(
 24405       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 24406       *) as_qdir=$as_dir;;
 24407       esac
 24408       as_dirs="'$as_qdir' $as_dirs"
 24409       as_dir=`$as_dirname -- "$as_dir" ||
 24410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24411 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 24412 	 X"$as_dir" : 'X\(//\)$' \| \
 24413 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 24414 $as_echo X"$as_dir" |
 24415     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24416 	    s//\1/
 24417 	    q
 24418 	  }
 24419 	  /^X\(\/\/\)[^/].*/{
 24420 	    s//\1/
 24421 	    q
 24422 	  }
 24423 	  /^X\(\/\/\)$/{
 24424 	    s//\1/
 24425 	    q
 24426 	  }
 24427 	  /^X\(\/\).*/{
 24428 	    s//\1/
 24429 	    q
 24430 	  }
 24431 	  s/.*/./; q'`
 24432       test -d "$as_dir" && break
 24433     done
 24434     test -z "$as_dirs" || eval "mkdir $as_dirs"
 24435   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 24436 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 24437    { (exit 1); exit 1; }; }; }
 24438   ac_builddir=.
 24439 
 24440 case "$ac_dir" in
 24441 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 24442 *)
 24443   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 24444   # A ".." for each directory in $ac_dir_suffix.
 24445   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 24446   case $ac_top_builddir_sub in
 24447   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 24448   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 24449   esac ;;
 24450 esac
 24451 ac_abs_top_builddir=$ac_pwd
 24452 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 24453 # for backward compatibility:
 24454 ac_top_builddir=$ac_top_build_prefix
 24455 
 24456 case $srcdir in
 24457   .)  # We are building in place.
 24458     ac_srcdir=.
 24459     ac_top_srcdir=$ac_top_builddir_sub
 24460     ac_abs_top_srcdir=$ac_pwd ;;
 24461   [\\/]* | ?:[\\/]* )  # Absolute name.
 24462     ac_srcdir=$srcdir$ac_dir_suffix;
 24463     ac_top_srcdir=$srcdir
 24464     ac_abs_top_srcdir=$srcdir ;;
 24465   *) # Relative name.
 24466     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 24467     ac_top_srcdir=$ac_top_build_prefix$srcdir
 24468     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 24469 esac
 24470 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 24471 
 24472 
 24473   case $ac_mode in
 24474   :F)
 24475   #
 24476   # CONFIG_FILE
 24477   #
 24478 
 24479   case $INSTALL in
 24480   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 24481   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 24482   esac
 24483   ac_MKDIR_P=$MKDIR_P
 24484   case $MKDIR_P in
 24485   [\\/$]* | ?:[\\/]* ) ;;
 24486   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 24487   esac
 24488 _ACEOF
 24489 
 24490 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24491 # If the template does not know about datarootdir, expand it.
 24492 # FIXME: This hack should be removed a few years after 2.60.
 24493 ac_datarootdir_hack=; ac_datarootdir_seen=
 24494 
 24495 ac_sed_dataroot='
 24496 /datarootdir/ {
 24497   p
 24498   q
 24499 }
 24500 /@datadir@/p
 24501 /@docdir@/p
 24502 /@infodir@/p
 24503 /@localedir@/p
 24504 /@mandir@/p
 24505 '
 24506 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 24507 *datarootdir*) ac_datarootdir_seen=yes;;
 24508 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 24509   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 24510 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 24511 _ACEOF
 24512 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 24513   ac_datarootdir_hack='
 24514   s&@datadir@&$datadir&g
 24515   s&@docdir@&$docdir&g
 24516   s&@infodir@&$infodir&g
 24517   s&@localedir@&$localedir&g
 24518   s&@mandir@&$mandir&g
 24519     s&\\\${datarootdir}&$datarootdir&g' ;;
 24520 esac
 24521 _ACEOF
 24522 
 24523 # Neutralize VPATH when `$srcdir' = `.'.
 24524 # Shell code in configure.ac might set extrasub.
 24525 # FIXME: do we really want to maintain this feature?
 24526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 24527 ac_sed_extra="$ac_vpsub
 24528 $extrasub
 24529 _ACEOF
 24530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 24531 :t
 24532 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 24533 s|@configure_input@|$ac_sed_conf_input|;t t
 24534 s&@top_builddir@&$ac_top_builddir_sub&;t t
 24535 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 24536 s&@srcdir@&$ac_srcdir&;t t
 24537 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 24538 s&@top_srcdir@&$ac_top_srcdir&;t t
 24539 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 24540 s&@builddir@&$ac_builddir&;t t
 24541 s&@abs_builddir@&$ac_abs_builddir&;t t
 24542 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 24543 s&@INSTALL@&$ac_INSTALL&;t t
 24544 s&@MKDIR_P@&$ac_MKDIR_P&;t t
 24545 $ac_datarootdir_hack
 24546 "
 24547 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 24548   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 24549 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 24550    { (exit 1); exit 1; }; }
 24551 
 24552 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 24553   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 24554   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 24555   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 24556 which seems to be undefined.  Please make sure it is defined." >&5
 24557 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 24558 which seems to be undefined.  Please make sure it is defined." >&2;}
 24559 
 24560   rm -f "$tmp/stdin"
 24561   case $ac_file in
 24562   -) cat "$tmp/out" && rm -f "$tmp/out";;
 24563   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 24564   esac \
 24565   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 24566 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 24567    { (exit 1); exit 1; }; }
 24568  ;;
 24569   :H)
 24570   #
 24571   # CONFIG_HEADER
 24572   #
 24573   if test x"$ac_file" != x-; then
 24574     {
 24575       $as_echo "/* $configure_input  */" \
 24576       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 24577     } >"$tmp/config.h" \
 24578       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 24579 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 24580    { (exit 1); exit 1; }; }
 24581     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 24582       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 24583 $as_echo "$as_me: $ac_file is unchanged" >&6;}
 24584     else
 24585       rm -f "$ac_file"
 24586       mv "$tmp/config.h" "$ac_file" \
 24587 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 24588 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 24589    { (exit 1); exit 1; }; }
 24590     fi
 24591   else
 24592     $as_echo "/* $configure_input  */" \
 24593       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 24594       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 24595 $as_echo "$as_me: error: could not create -" >&2;}
 24596    { (exit 1); exit 1; }; }
 24597   fi
 24598 # Compute "$ac_file"'s index in $config_headers.
 24599 _am_arg="$ac_file"
 24600 _am_stamp_count=1
 24601 for _am_header in $config_headers :; do
 24602   case $_am_header in
 24603     $_am_arg | $_am_arg:* )
 24604       break ;;
 24605     * )
 24606       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 24607   esac
 24608 done
 24609 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 24610 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24611 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
 24612 	 X"$_am_arg" : 'X\(//\)$' \| \
 24613 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 24614 $as_echo X"$_am_arg" |
 24615     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24616 	    s//\1/
 24617 	    q
 24618 	  }
 24619 	  /^X\(\/\/\)[^/].*/{
 24620 	    s//\1/
 24621 	    q
 24622 	  }
 24623 	  /^X\(\/\/\)$/{
 24624 	    s//\1/
 24625 	    q
 24626 	  }
 24627 	  /^X\(\/\).*/{
 24628 	    s//\1/
 24629 	    q
 24630 	  }
 24631 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 24632  ;;
 24633 
 24634   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 24635 $as_echo "$as_me: executing $ac_file commands" >&6;}
 24636  ;;
 24637   esac
 24638 
 24639 
 24640   case $ac_file$ac_mode in
 24641     "depfiles":C) test x"$AMDEP_TRUE" != x"" || # Autoconf 2.62 quotes --file arguments for eval, but not when files
 24642 # are listed without --file.  Let's play safe and only enable the eval
 24643 # if we detect the quoting.
 24644 case $CONFIG_FILES in
 24645 *\'*) eval set x "$CONFIG_FILES" ;;
 24646 *)   set x $CONFIG_FILES ;;
 24647 esac
 24648 shift
 24649 for mf
 24650 do
 24651   # Strip MF so we end up with the name of the file.
 24652   mf=`echo "$mf" | sed -e 's/:.*$//'`
 24653   # Check whether this is an Automake generated Makefile or not.
 24654   # We used to match only the files named `Makefile.in', but
 24655   # some people rename them; so instead we look at the file content.
 24656   # Grep'ing the first line is not enough: some people post-process
 24657   # each Makefile.in and add a new line on top of each file to say so.
 24658   # Grep'ing the whole file is not good either: AIX grep has a line
 24659   # limit of 2048, but all sed's we know have understand at least 4000.
 24660   if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 24661     dirpart=`$as_dirname -- "$mf" ||
 24662 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24663 	 X"$mf" : 'X\(//\)[^/]' \| \
 24664 	 X"$mf" : 'X\(//\)$' \| \
 24665 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 24666 $as_echo X"$mf" |
 24667     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24668 	    s//\1/
 24669 	    q
 24670 	  }
 24671 	  /^X\(\/\/\)[^/].*/{
 24672 	    s//\1/
 24673 	    q
 24674 	  }
 24675 	  /^X\(\/\/\)$/{
 24676 	    s//\1/
 24677 	    q
 24678 	  }
 24679 	  /^X\(\/\).*/{
 24680 	    s//\1/
 24681 	    q
 24682 	  }
 24683 	  s/.*/./; q'`
 24684   else
 24685     continue
 24686   fi
 24687   # Extract the definition of DEPDIR, am__include, and am__quote
 24688   # from the Makefile without running `make'.
 24689   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 24690   test -z "$DEPDIR" && continue
 24691   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 24692   test -z "am__include" && continue
 24693   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 24694   # When using ansi2knr, U may be empty or an underscore; expand it
 24695   U=`sed -n 's/^U = //p' < "$mf"`
 24696   # Find all dependency output files, they are included files with
 24697   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 24698   # simplest approach to changing $(DEPDIR) to its actual value in the
 24699   # expansion.
 24700   for file in `sed -n "
 24701     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 24702        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 24703     # Make sure the directory exists.
 24704     test -f "$dirpart/$file" && continue
 24705     fdir=`$as_dirname -- "$file" ||
 24706 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24707 	 X"$file" : 'X\(//\)[^/]' \| \
 24708 	 X"$file" : 'X\(//\)$' \| \
 24709 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 24710 $as_echo X"$file" |
 24711     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24712 	    s//\1/
 24713 	    q
 24714 	  }
 24715 	  /^X\(\/\/\)[^/].*/{
 24716 	    s//\1/
 24717 	    q
 24718 	  }
 24719 	  /^X\(\/\/\)$/{
 24720 	    s//\1/
 24721 	    q
 24722 	  }
 24723 	  /^X\(\/\).*/{
 24724 	    s//\1/
 24725 	    q
 24726 	  }
 24727 	  s/.*/./; q'`
 24728     { as_dir=$dirpart/$fdir
 24729   case $as_dir in #(
 24730   -*) as_dir=./$as_dir;;
 24731   esac
 24732   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 24733     as_dirs=
 24734     while :; do
 24735       case $as_dir in #(
 24736       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 24737       *) as_qdir=$as_dir;;
 24738       esac
 24739       as_dirs="'$as_qdir' $as_dirs"
 24740       as_dir=`$as_dirname -- "$as_dir" ||
 24741 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 24742 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 24743 	 X"$as_dir" : 'X\(//\)$' \| \
 24744 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 24745 $as_echo X"$as_dir" |
 24746     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 24747 	    s//\1/
 24748 	    q
 24749 	  }
 24750 	  /^X\(\/\/\)[^/].*/{
 24751 	    s//\1/
 24752 	    q
 24753 	  }
 24754 	  /^X\(\/\/\)$/{
 24755 	    s//\1/
 24756 	    q
 24757 	  }
 24758 	  /^X\(\/\).*/{
 24759 	    s//\1/
 24760 	    q
 24761 	  }
 24762 	  s/.*/./; q'`
 24763       test -d "$as_dir" && break
 24764     done
 24765     test -z "$as_dirs" || eval "mkdir $as_dirs"
 24766   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 24767 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 24768    { (exit 1); exit 1; }; }; }
 24769     # echo "creating $dirpart/$file"
 24770     echo '# dummy' > "$dirpart/$file"
 24771   done
 24772 done
 24773  ;;
 24774     "script-chmod":C) chmod a+x pcre-config ;;
 24775     "delete-old-chartables":C) rm -f pcre_chartables.c ;;
 24776 
 24777   esac
 24778 done # for ac_tag
 24779 
 24780 
 24781 { (exit 0); exit 0; }
 24782 _ACEOF
 24783 chmod +x $CONFIG_STATUS
 24784 ac_clean_files=$ac_clean_files_save
 24785 
 24786 test $ac_write_fail = 0 ||
 24787   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 24788 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 24789    { (exit 1); exit 1; }; }
 24790 
 24791 
 24792 # configure is writing to config.log, and then calls config.status.
 24793 # config.status does its own redirection, appending to config.log.
 24794 # Unfortunately, on DOS this fails, as config.log is still kept open
 24795 # by configure, so config.status won't be able to write to it; its
 24796 # output is simply discarded.  So we exec the FD to /dev/null,
 24797 # effectively closing config.log, so it can be properly (re)opened and
 24798 # appended to by config.status.  When coming back to configure, we
 24799 # need to make the FD available again.
 24800 if test "$no_create" != yes; then
 24801   ac_cs_success=:
 24802   ac_config_status_args=
 24803   test "$silent" = yes &&
 24804     ac_config_status_args="$ac_config_status_args --quiet"
 24805   exec 5>/dev/null
 24806   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 24807   exec 5>>config.log
 24808   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 24809   # would make configure fail if this is the last instruction.
 24810   $ac_cs_success || { (exit 1); exit 1; }
 24811 fi
 24812 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 24813   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 24814 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 24815 fi
 24816 
 24817 
 24818 # Print out a nice little message after configure is run displaying your
 24819 # chosen options.
 24820 
 24821 cat <<EOF
 24822 
 24823 $PACKAGE-$VERSION configuration summary:
 24824 
 24825     Install prefix .................. : ${prefix}
 24826     C preprocessor .................. : ${CPP}
 24827     C compiler ...................... : ${CC}
 24828     C++ preprocessor ................ : ${CXXCPP}
 24829     C++ compiler .................... : ${CXX}
 24830     Linker .......................... : ${LD}
 24831     C preprocessor flags ............ : ${CPPFLAGS}
 24832     C compiler flags ................ : ${CFLAGS}
 24833     C++ compiler flags .............. : ${CXXFLAGS}
 24834     Linker flags .................... : ${LDFLAGS}
 24835     Extra libraries ................. : ${LIBS}
 24836 
 24837     Build C++ library ............... : ${enable_cpp}
 24838     Enable UTF-8 support ............ : ${enable_utf8}
 24839     Unicode properties .............. : ${enable_unicode_properties}
 24840     Newline char/sequence ........... : ${enable_newline}
 24841     \R matches only ANYCRLF ......... : ${enable_bsr_anycrlf}
 24842     EBCDIC coding ................... : ${enable_ebcdic}
 24843     Rebuild char tables ............. : ${enable_rebuild_chartables}
 24844     Use stack recursion ............. : ${enable_stack_for_recursion}
 24845     POSIX mem threshold ............. : ${with_posix_malloc_threshold}
 24846     Internal link size .............. : ${with_link_size}
 24847     Match limit ..................... : ${with_match_limit}
 24848     Match limit recursion ........... : ${with_match_limit_recursion}
 24849     Build shared libs ............... : ${enable_shared}
 24850     Build static libs ............... : ${enable_static}
 24851     Link pcregrep with libz ......... : ${enable_pcregrep_libz}
 24852     Link pcregrep with libbz2 ....... : ${enable_pcregrep_libbz2}
 24853     Link pcretest with libreadline .. : ${enable_pcretest_libreadline}
 24854 
 24855 EOF
 24856