github.com/jlmucb/cloudproxy@v0.0.0-20170830161738-b5aa0b619bc4/src/third_party/gflags/configure (about)

     1  #! /bin/sh
     2  # Guess values for system-dependent variables and create Makefiles.
     3  # Generated by GNU Autoconf 2.62 for gflags 2.0.
     4  #
     5  # Report bugs to <google-gflags@googlegroups.com>.
     6  #
     7  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     8  # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     9  # This configure script is free software; the Free Software Foundation
    10  # gives unlimited permission to copy, distribute and modify it.
    11  ## --------------------- ##
    12  ## M4sh Initialization.  ##
    13  ## --------------------- ##
    14  
    15  # Be more Bourne compatible
    16  DUALCASE=1; export DUALCASE # for MKS sh
    17  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    18    emulate sh
    19    NULLCMD=:
    20    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    21    # is contrary to our usage.  Disable this feature.
    22    alias -g '${1+"$@"}'='"$@"'
    23    setopt NO_GLOB_SUBST
    24  else
    25    case `(set -o) 2>/dev/null` in
    26    *posix*) set -o posix ;;
    27  esac
    28  
    29  fi
    30  
    31  
    32  
    33  
    34  # PATH needs CR
    35  # Avoid depending upon Character Ranges.
    36  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39  as_cr_digits='0123456789'
    40  as_cr_alnum=$as_cr_Letters$as_cr_digits
    41  
    42  as_nl='
    43  '
    44  export as_nl
    45  # Printing a long string crashes Solaris 7 /usr/bin/printf.
    46  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    47  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    48  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49  if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    50    as_echo='printf %s\n'
    51    as_echo_n='printf %s'
    52  else
    53    if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    54      as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    55      as_echo_n='/usr/ucb/echo -n'
    56    else
    57      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    58      as_echo_n_body='eval
    59        arg=$1;
    60        case $arg in
    61        *"$as_nl"*)
    62  	expr "X$arg" : "X\\(.*\\)$as_nl";
    63  	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    64        esac;
    65        expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    66      '
    67      export as_echo_n_body
    68      as_echo_n='sh -c $as_echo_n_body as_echo'
    69    fi
    70    export as_echo_body
    71    as_echo='sh -c $as_echo_body as_echo'
    72  fi
    73  
    74  # The user is always right.
    75  if test "${PATH_SEPARATOR+set}" != set; then
    76    PATH_SEPARATOR=:
    77    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    78      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    79        PATH_SEPARATOR=';'
    80    }
    81  fi
    82  
    83  # Support unset when possible.
    84  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85    as_unset=unset
    86  else
    87    as_unset=false
    88  fi
    89  
    90  
    91  # IFS
    92  # We need space, tab and new line, in precisely that order.  Quoting is
    93  # there to prevent editors from complaining about space-tab.
    94  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    95  # splitting by setting IFS to empty value.)
    96  IFS=" ""	$as_nl"
    97  
    98  # Find who we are.  Look in the path if we contain no directory separator.
    99  case $0 in
   100    *[\\/]* ) as_myself=$0 ;;
   101    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   102  for as_dir in $PATH
   103  do
   104    IFS=$as_save_IFS
   105    test -z "$as_dir" && as_dir=.
   106    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   107  done
   108  IFS=$as_save_IFS
   109  
   110       ;;
   111  esac
   112  # We did not find ourselves, most probably we were run as `sh COMMAND'
   113  # in which case we are not to be found in the path.
   114  if test "x$as_myself" = x; then
   115    as_myself=$0
   116  fi
   117  if test ! -f "$as_myself"; then
   118    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   119    { (exit 1); exit 1; }
   120  fi
   121  
   122  # Work around bugs in pre-3.0 UWIN ksh.
   123  for as_var in ENV MAIL MAILPATH
   124  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   125  done
   126  PS1='$ '
   127  PS2='> '
   128  PS4='+ '
   129  
   130  # NLS nuisances.
   131  LC_ALL=C
   132  export LC_ALL
   133  LANGUAGE=C
   134  export LANGUAGE
   135  
   136  # Required to use basename.
   137  if expr a : '\(a\)' >/dev/null 2>&1 &&
   138     test "X`expr 00001 : '.*\(...\)'`" = X001; then
   139    as_expr=expr
   140  else
   141    as_expr=false
   142  fi
   143  
   144  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   145    as_basename=basename
   146  else
   147    as_basename=false
   148  fi
   149  
   150  
   151  # Name of the executable.
   152  as_me=`$as_basename -- "$0" ||
   153  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   154  	 X"$0" : 'X\(//\)$' \| \
   155  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   156  $as_echo X/"$0" |
   157      sed '/^.*\/\([^/][^/]*\)\/*$/{
   158  	    s//\1/
   159  	    q
   160  	  }
   161  	  /^X\/\(\/\/\)$/{
   162  	    s//\1/
   163  	    q
   164  	  }
   165  	  /^X\/\(\/\).*/{
   166  	    s//\1/
   167  	    q
   168  	  }
   169  	  s/.*/./; q'`
   170  
   171  # CDPATH.
   172  $as_unset CDPATH
   173  
   174  
   175  if test "x$CONFIG_SHELL" = x; then
   176    if (eval ":") 2>/dev/null; then
   177    as_have_required=yes
   178  else
   179    as_have_required=no
   180  fi
   181  
   182    if test $as_have_required = yes &&	 (eval ":
   183  (as_func_return () {
   184    (exit \$1)
   185  }
   186  as_func_success () {
   187    as_func_return 0
   188  }
   189  as_func_failure () {
   190    as_func_return 1
   191  }
   192  as_func_ret_success () {
   193    return 0
   194  }
   195  as_func_ret_failure () {
   196    return 1
   197  }
   198  
   199  exitcode=0
   200  if as_func_success; then
   201    :
   202  else
   203    exitcode=1
   204    echo as_func_success failed.
   205  fi
   206  
   207  if as_func_failure; then
   208    exitcode=1
   209    echo as_func_failure succeeded.
   210  fi
   211  
   212  if as_func_ret_success; then
   213    :
   214  else
   215    exitcode=1
   216    echo as_func_ret_success failed.
   217  fi
   218  
   219  if as_func_ret_failure; then
   220    exitcode=1
   221    echo as_func_ret_failure succeeded.
   222  fi
   223  
   224  if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   225    :
   226  else
   227    exitcode=1
   228    echo positional parameters were not saved.
   229  fi
   230  
   231  test \$exitcode = 0) || { (exit 1); exit 1; }
   232  
   233  (
   234    as_lineno_1=\$LINENO
   235    as_lineno_2=\$LINENO
   236    test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   237    test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   238  ") 2> /dev/null; then
   239    :
   240  else
   241    as_candidate_shells=
   242      as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   243  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   244  do
   245    IFS=$as_save_IFS
   246    test -z "$as_dir" && as_dir=.
   247    case $as_dir in
   248  	 /*)
   249  	   for as_base in sh bash ksh sh5; do
   250  	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   251  	   done;;
   252         esac
   253  done
   254  IFS=$as_save_IFS
   255  
   256  
   257        for as_shell in $as_candidate_shells $SHELL; do
   258  	 # Try only shells that exist, to save several forks.
   259  	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   260  		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   261  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   262    emulate sh
   263    NULLCMD=:
   264    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   265    # is contrary to our usage.  Disable this feature.
   266    alias -g '${1+"$@"}'='"$@"'
   267    setopt NO_GLOB_SUBST
   268  else
   269    case `(set -o) 2>/dev/null` in
   270    *posix*) set -o posix ;;
   271  esac
   272  
   273  fi
   274  
   275  
   276  :
   277  _ASEOF
   278  }; then
   279    CONFIG_SHELL=$as_shell
   280  	       as_have_required=yes
   281  	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   282  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   283    emulate sh
   284    NULLCMD=:
   285    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   286    # is contrary to our usage.  Disable this feature.
   287    alias -g '${1+"$@"}'='"$@"'
   288    setopt NO_GLOB_SUBST
   289  else
   290    case `(set -o) 2>/dev/null` in
   291    *posix*) set -o posix ;;
   292  esac
   293  
   294  fi
   295  
   296  
   297  :
   298  (as_func_return () {
   299    (exit $1)
   300  }
   301  as_func_success () {
   302    as_func_return 0
   303  }
   304  as_func_failure () {
   305    as_func_return 1
   306  }
   307  as_func_ret_success () {
   308    return 0
   309  }
   310  as_func_ret_failure () {
   311    return 1
   312  }
   313  
   314  exitcode=0
   315  if as_func_success; then
   316    :
   317  else
   318    exitcode=1
   319    echo as_func_success failed.
   320  fi
   321  
   322  if as_func_failure; then
   323    exitcode=1
   324    echo as_func_failure succeeded.
   325  fi
   326  
   327  if as_func_ret_success; then
   328    :
   329  else
   330    exitcode=1
   331    echo as_func_ret_success failed.
   332  fi
   333  
   334  if as_func_ret_failure; then
   335    exitcode=1
   336    echo as_func_ret_failure succeeded.
   337  fi
   338  
   339  if ( set x; as_func_ret_success y && test x = "$1" ); then
   340    :
   341  else
   342    exitcode=1
   343    echo positional parameters were not saved.
   344  fi
   345  
   346  test $exitcode = 0) || { (exit 1); exit 1; }
   347  
   348  (
   349    as_lineno_1=$LINENO
   350    as_lineno_2=$LINENO
   351    test "x$as_lineno_1" != "x$as_lineno_2" &&
   352    test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   353  
   354  _ASEOF
   355  }; then
   356    break
   357  fi
   358  
   359  fi
   360  
   361        done
   362  
   363        if test "x$CONFIG_SHELL" != x; then
   364    for as_var in BASH_ENV ENV
   365  	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   366  	done
   367  	export CONFIG_SHELL
   368  	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   369  fi
   370  
   371  
   372      if test $as_have_required = no; then
   373    echo This script requires a shell more modern than all the
   374        echo shells that I found on your system.  Please install a
   375        echo modern shell, or manually run the script under such a
   376        echo shell if you do have one.
   377        { (exit 1); exit 1; }
   378  fi
   379  
   380  
   381  fi
   382  
   383  fi
   384  
   385  
   386  
   387  (eval "as_func_return () {
   388    (exit \$1)
   389  }
   390  as_func_success () {
   391    as_func_return 0
   392  }
   393  as_func_failure () {
   394    as_func_return 1
   395  }
   396  as_func_ret_success () {
   397    return 0
   398  }
   399  as_func_ret_failure () {
   400    return 1
   401  }
   402  
   403  exitcode=0
   404  if as_func_success; then
   405    :
   406  else
   407    exitcode=1
   408    echo as_func_success failed.
   409  fi
   410  
   411  if as_func_failure; then
   412    exitcode=1
   413    echo as_func_failure succeeded.
   414  fi
   415  
   416  if as_func_ret_success; then
   417    :
   418  else
   419    exitcode=1
   420    echo as_func_ret_success failed.
   421  fi
   422  
   423  if as_func_ret_failure; then
   424    exitcode=1
   425    echo as_func_ret_failure succeeded.
   426  fi
   427  
   428  if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   429    :
   430  else
   431    exitcode=1
   432    echo positional parameters were not saved.
   433  fi
   434  
   435  test \$exitcode = 0") || {
   436    echo No shell found that supports shell functions.
   437    echo Please tell bug-autoconf@gnu.org about your system,
   438    echo including any error possibly output before this message.
   439    echo This can help us improve future autoconf versions.
   440    echo Configuration will now proceed without shell functions.
   441  }
   442  
   443  
   444  
   445    as_lineno_1=$LINENO
   446    as_lineno_2=$LINENO
   447    test "x$as_lineno_1" != "x$as_lineno_2" &&
   448    test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   449  
   450    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   451    # uniformly replaced by the line number.  The first 'sed' inserts a
   452    # line-number line after each line using $LINENO; the second 'sed'
   453    # does the real work.  The second script uses 'N' to pair each
   454    # line-number line with the line containing $LINENO, and appends
   455    # trailing '-' during substitution so that $LINENO is not a special
   456    # case at line end.
   457    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   458    # scripts with optimization help from Paolo Bonzini.  Blame Lee
   459    # E. McMahon (1931-1989) for sed's syntax.  :-)
   460    sed -n '
   461      p
   462      /[$]LINENO/=
   463    ' <$as_myself |
   464      sed '
   465        s/[$]LINENO.*/&-/
   466        t lineno
   467        b
   468        :lineno
   469        N
   470        :loop
   471        s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   472        t loop
   473        s/-\n.*//
   474      ' >$as_me.lineno &&
   475    chmod +x "$as_me.lineno" ||
   476      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   477     { (exit 1); exit 1; }; }
   478  
   479    # Don't try to exec as it changes $[0], causing all sort of problems
   480    # (the dirname of $[0] is not the place where we might find the
   481    # original and so on.  Autoconf is especially sensitive to this).
   482    . "./$as_me.lineno"
   483    # Exit status is that of the last command.
   484    exit
   485  }
   486  
   487  
   488  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   489    as_dirname=dirname
   490  else
   491    as_dirname=false
   492  fi
   493  
   494  ECHO_C= ECHO_N= ECHO_T=
   495  case `echo -n x` in
   496  -n*)
   497    case `echo 'x\c'` in
   498    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   499    *)   ECHO_C='\c';;
   500    esac;;
   501  *)
   502    ECHO_N='-n';;
   503  esac
   504  if expr a : '\(a\)' >/dev/null 2>&1 &&
   505     test "X`expr 00001 : '.*\(...\)'`" = X001; then
   506    as_expr=expr
   507  else
   508    as_expr=false
   509  fi
   510  
   511  rm -f conf$$ conf$$.exe conf$$.file
   512  if test -d conf$$.dir; then
   513    rm -f conf$$.dir/conf$$.file
   514  else
   515    rm -f conf$$.dir
   516    mkdir conf$$.dir 2>/dev/null
   517  fi
   518  if (echo >conf$$.file) 2>/dev/null; then
   519    if ln -s conf$$.file conf$$ 2>/dev/null; then
   520      as_ln_s='ln -s'
   521      # ... but there are two gotchas:
   522      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   523      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   524      # In both cases, we have to default to `cp -p'.
   525      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   526        as_ln_s='cp -p'
   527    elif ln conf$$.file conf$$ 2>/dev/null; then
   528      as_ln_s=ln
   529    else
   530      as_ln_s='cp -p'
   531    fi
   532  else
   533    as_ln_s='cp -p'
   534  fi
   535  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   536  rmdir conf$$.dir 2>/dev/null
   537  
   538  if mkdir -p . 2>/dev/null; then
   539    as_mkdir_p=:
   540  else
   541    test -d ./-p && rmdir ./-p
   542    as_mkdir_p=false
   543  fi
   544  
   545  if test -x / >/dev/null 2>&1; then
   546    as_test_x='test -x'
   547  else
   548    if ls -dL / >/dev/null 2>&1; then
   549      as_ls_L_option=L
   550    else
   551      as_ls_L_option=
   552    fi
   553    as_test_x='
   554      eval sh -c '\''
   555        if test -d "$1"; then
   556  	test -d "$1/.";
   557        else
   558  	case $1 in
   559  	-*)set "./$1";;
   560  	esac;
   561  	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   562  	???[sx]*):;;*)false;;esac;fi
   563      '\'' sh
   564    '
   565  fi
   566  as_executable_p=$as_test_x
   567  
   568  # Sed expression to map a string onto a valid CPP name.
   569  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   570  
   571  # Sed expression to map a string onto a valid variable name.
   572  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   573  
   574  
   575  
   576  
   577  # Check that we are running under the correct shell.
   578  SHELL=${CONFIG_SHELL-/bin/sh}
   579  
   580  case X$lt_ECHO in
   581  X*--fallback-echo)
   582    # Remove one level of quotation (which was required for Make).
   583    ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
   584    ;;
   585  esac
   586  
   587  ECHO=${lt_ECHO-echo}
   588  if test "X$1" = X--no-reexec; then
   589    # Discard the --no-reexec flag, and continue.
   590    shift
   591  elif test "X$1" = X--fallback-echo; then
   592    # Avoid inline document here, it may be left over
   593    :
   594  elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
   595    # Yippee, $ECHO works!
   596    :
   597  else
   598    # Restart under the correct shell.
   599    exec $SHELL "$0" --no-reexec ${1+"$@"}
   600  fi
   601  
   602  if test "X$1" = X--fallback-echo; then
   603    # used as fallback echo
   604    shift
   605    cat <<_LT_EOF
   606  $*
   607  _LT_EOF
   608    exit 0
   609  fi
   610  
   611  # The HP-UX ksh and POSIX shell print the target directory to stdout
   612  # if CDPATH is set.
   613  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   614  
   615  if test -z "$lt_ECHO"; then
   616    if test "X${echo_test_string+set}" != Xset; then
   617      # find a string as large as possible, as long as the shell can cope with it
   618      for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
   619        # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
   620        if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
   621  	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
   622        then
   623          break
   624        fi
   625      done
   626    fi
   627  
   628    if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   629       echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   630       test "X$echo_testing_string" = "X$echo_test_string"; then
   631      :
   632    else
   633      # The Solaris, AIX, and Digital Unix default echo programs unquote
   634      # backslashes.  This makes it impossible to quote backslashes using
   635      #   echo "$something" | sed 's/\\/\\\\/g'
   636      #
   637      # So, first we look for a working echo in the user's PATH.
   638  
   639      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   640      for dir in $PATH /usr/ucb; do
   641        IFS="$lt_save_ifs"
   642        if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
   643           test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
   644           echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
   645           test "X$echo_testing_string" = "X$echo_test_string"; then
   646          ECHO="$dir/echo"
   647          break
   648        fi
   649      done
   650      IFS="$lt_save_ifs"
   651  
   652      if test "X$ECHO" = Xecho; then
   653        # We didn't find a better echo, so look for alternatives.
   654        if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
   655           echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
   656           test "X$echo_testing_string" = "X$echo_test_string"; then
   657          # This shell has a builtin print -r that does the trick.
   658          ECHO='print -r'
   659        elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
   660  	   test "X$CONFIG_SHELL" != X/bin/ksh; then
   661          # If we have ksh, try running configure again with it.
   662          ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
   663          export ORIGINAL_CONFIG_SHELL
   664          CONFIG_SHELL=/bin/ksh
   665          export CONFIG_SHELL
   666          exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
   667        else
   668          # Try using printf.
   669          ECHO='printf %s\n'
   670          if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
   671  	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
   672  	   test "X$echo_testing_string" = "X$echo_test_string"; then
   673  	  # Cool, printf works
   674  	  :
   675          elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   676  	     test "X$echo_testing_string" = 'X\t' &&
   677  	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   678  	     test "X$echo_testing_string" = "X$echo_test_string"; then
   679  	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
   680  	  export CONFIG_SHELL
   681  	  SHELL="$CONFIG_SHELL"
   682  	  export SHELL
   683  	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   684          elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
   685  	     test "X$echo_testing_string" = 'X\t' &&
   686  	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
   687  	     test "X$echo_testing_string" = "X$echo_test_string"; then
   688  	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
   689          else
   690  	  # maybe with a smaller string...
   691  	  prev=:
   692  
   693  	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
   694  	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
   695  	    then
   696  	      break
   697  	    fi
   698  	    prev="$cmd"
   699  	  done
   700  
   701  	  if test "$prev" != 'sed 50q "$0"'; then
   702  	    echo_test_string=`eval $prev`
   703  	    export echo_test_string
   704  	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
   705  	  else
   706  	    # Oops.  We lost completely, so just stick with echo.
   707  	    ECHO=echo
   708  	  fi
   709          fi
   710        fi
   711      fi
   712    fi
   713  fi
   714  
   715  # Copy echo and quote the copy suitably for passing to libtool from
   716  # the Makefile, instead of quoting the original, which is used later.
   717  lt_ECHO=$ECHO
   718  if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
   719     lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
   720  fi
   721  
   722  
   723  
   724  
   725  exec 7<&0 </dev/null 6>&1
   726  
   727  # Name of the host.
   728  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   729  # so uname gets run too.
   730  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   731  
   732  #
   733  # Initializations.
   734  #
   735  ac_default_prefix=/usr/local
   736  ac_clean_files=
   737  ac_config_libobj_dir=.
   738  LIBOBJS=
   739  cross_compiling=no
   740  subdirs=
   741  MFLAGS=
   742  MAKEFLAGS=
   743  SHELL=${CONFIG_SHELL-/bin/sh}
   744  
   745  # Identity of this package.
   746  PACKAGE_NAME='gflags'
   747  PACKAGE_TARNAME='gflags'
   748  PACKAGE_VERSION='2.0'
   749  PACKAGE_STRING='gflags 2.0'
   750  PACKAGE_BUGREPORT='google-gflags@googlegroups.com'
   751  
   752  ac_unique_file="README"
   753  # Factoring default headers for most tests.
   754  ac_includes_default="\
   755  #include <stdio.h>
   756  #ifdef HAVE_SYS_TYPES_H
   757  # include <sys/types.h>
   758  #endif
   759  #ifdef HAVE_SYS_STAT_H
   760  # include <sys/stat.h>
   761  #endif
   762  #ifdef STDC_HEADERS
   763  # include <stdlib.h>
   764  # include <stddef.h>
   765  #else
   766  # ifdef HAVE_STDLIB_H
   767  #  include <stdlib.h>
   768  # endif
   769  #endif
   770  #ifdef HAVE_STRING_H
   771  # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   772  #  include <memory.h>
   773  # endif
   774  # include <string.h>
   775  #endif
   776  #ifdef HAVE_STRINGS_H
   777  # include <strings.h>
   778  #endif
   779  #ifdef HAVE_INTTYPES_H
   780  # include <inttypes.h>
   781  #endif
   782  #ifdef HAVE_STDINT_H
   783  # include <stdint.h>
   784  #endif
   785  #ifdef HAVE_UNISTD_H
   786  # include <unistd.h>
   787  #endif"
   788  
   789  ac_subst_vars='SHELL
   790  PATH_SEPARATOR
   791  PACKAGE_NAME
   792  PACKAGE_TARNAME
   793  PACKAGE_VERSION
   794  PACKAGE_STRING
   795  PACKAGE_BUGREPORT
   796  exec_prefix
   797  prefix
   798  program_transform_name
   799  bindir
   800  sbindir
   801  libexecdir
   802  datarootdir
   803  datadir
   804  sysconfdir
   805  sharedstatedir
   806  localstatedir
   807  includedir
   808  oldincludedir
   809  docdir
   810  infodir
   811  htmldir
   812  dvidir
   813  pdfdir
   814  psdir
   815  libdir
   816  localedir
   817  mandir
   818  DEFS
   819  ECHO_C
   820  ECHO_N
   821  ECHO_T
   822  LIBS
   823  build_alias
   824  host_alias
   825  target_alias
   826  INSTALL_PROGRAM
   827  INSTALL_SCRIPT
   828  INSTALL_DATA
   829  am__isrc
   830  CYGPATH_W
   831  PACKAGE
   832  VERSION
   833  ACLOCAL
   834  AUTOCONF
   835  AUTOMAKE
   836  AUTOHEADER
   837  MAKEINFO
   838  install_sh
   839  STRIP
   840  INSTALL_STRIP_PROGRAM
   841  MKDIR_P
   842  mkdir_p
   843  AWK
   844  SET_MAKE
   845  am__leading_dot
   846  AMTAR
   847  am__tar
   848  am__untar
   849  CXX
   850  CXXFLAGS
   851  LDFLAGS
   852  CPPFLAGS
   853  ac_ct_CXX
   854  EXEEXT
   855  OBJEXT
   856  DEPDIR
   857  am__include
   858  am__quote
   859  AMDEP_TRUE
   860  AMDEP_FALSE
   861  AMDEPBACKSLASH
   862  CXXDEPMODE
   863  am__fastdepCXX_TRUE
   864  am__fastdepCXX_FALSE
   865  CC
   866  CFLAGS
   867  ac_ct_CC
   868  CCDEPMODE
   869  am__fastdepCC_TRUE
   870  am__fastdepCC_FALSE
   871  CPP
   872  GCC_TRUE
   873  GCC_FALSE
   874  build
   875  build_cpu
   876  build_vendor
   877  build_os
   878  host
   879  host_cpu
   880  host_vendor
   881  host_os
   882  TEST_TMPDIR
   883  LIBTOOL
   884  SED
   885  GREP
   886  EGREP
   887  FGREP
   888  LD
   889  DUMPBIN
   890  ac_ct_DUMPBIN
   891  NM
   892  LN_S
   893  OBJDUMP
   894  AR
   895  RANLIB
   896  lt_ECHO
   897  DSYMUTIL
   898  NMEDIT
   899  LIPO
   900  OTOOL
   901  OTOOL64
   902  CXXCPP
   903  LIBTOOL_DEPS
   904  SO_VERSION
   905  acx_pthread_config
   906  PTHREAD_CC
   907  PTHREAD_LIBS
   908  PTHREAD_CFLAGS
   909  LIBSTDCXX_LA_LINKER_FLAG
   910  ac_google_start_namespace
   911  ac_google_end_namespace
   912  ac_google_namespace
   913  ac_cv___attribute__unused
   914  ac_cv_have_stdint_h
   915  ac_cv_have_systypes_h
   916  ac_cv_have_inttypes_h
   917  ac_cv_have_uint16_t
   918  ac_cv_have_u_int16_t
   919  ac_cv_have___int16
   920  LIBOBJS
   921  LTLIBOBJS'
   922  ac_subst_files=''
   923  ac_user_opts='
   924  enable_option_checking
   925  enable_dependency_tracking
   926  enable_fast_install
   927  enable_shared
   928  enable_static
   929  with_pic
   930  with_gnu_ld
   931  enable_libtool_lock
   932  enable_namespace
   933  '
   934        ac_precious_vars='build_alias
   935  host_alias
   936  target_alias
   937  CXX
   938  CXXFLAGS
   939  LDFLAGS
   940  LIBS
   941  CPPFLAGS
   942  CCC
   943  CC
   944  CFLAGS
   945  CPP
   946  CXXCPP'
   947  
   948  
   949  # Initialize some variables set by options.
   950  ac_init_help=
   951  ac_init_version=false
   952  ac_unrecognized_opts=
   953  ac_unrecognized_sep=
   954  # The variables have the same names as the options, with
   955  # dashes changed to underlines.
   956  cache_file=/dev/null
   957  exec_prefix=NONE
   958  no_create=
   959  no_recursion=
   960  prefix=NONE
   961  program_prefix=NONE
   962  program_suffix=NONE
   963  program_transform_name=s,x,x,
   964  silent=
   965  site=
   966  srcdir=
   967  verbose=
   968  x_includes=NONE
   969  x_libraries=NONE
   970  
   971  # Installation directory options.
   972  # These are left unexpanded so users can "make install exec_prefix=/foo"
   973  # and all the variables that are supposed to be based on exec_prefix
   974  # by default will actually change.
   975  # Use braces instead of parens because sh, perl, etc. also accept them.
   976  # (The list follows the same order as the GNU Coding Standards.)
   977  bindir='${exec_prefix}/bin'
   978  sbindir='${exec_prefix}/sbin'
   979  libexecdir='${exec_prefix}/libexec'
   980  datarootdir='${prefix}/share'
   981  datadir='${datarootdir}'
   982  sysconfdir='${prefix}/etc'
   983  sharedstatedir='${prefix}/com'
   984  localstatedir='${prefix}/var'
   985  includedir='${prefix}/include'
   986  oldincludedir='/usr/include'
   987  docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   988  infodir='${datarootdir}/info'
   989  htmldir='${docdir}'
   990  dvidir='${docdir}'
   991  pdfdir='${docdir}'
   992  psdir='${docdir}'
   993  libdir='${exec_prefix}/lib'
   994  localedir='${datarootdir}/locale'
   995  mandir='${datarootdir}/man'
   996  
   997  ac_prev=
   998  ac_dashdash=
   999  for ac_option
  1000  do
  1001    # If the previous option needs an argument, assign it.
  1002    if test -n "$ac_prev"; then
  1003      eval $ac_prev=\$ac_option
  1004      ac_prev=
  1005      continue
  1006    fi
  1007  
  1008    case $ac_option in
  1009    *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1010    *)	ac_optarg=yes ;;
  1011    esac
  1012  
  1013    # Accept the important Cygnus configure options, so we can diagnose typos.
  1014  
  1015    case $ac_dashdash$ac_option in
  1016    --)
  1017      ac_dashdash=yes ;;
  1018  
  1019    -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1020      ac_prev=bindir ;;
  1021    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1022      bindir=$ac_optarg ;;
  1023  
  1024    -build | --build | --buil | --bui | --bu)
  1025      ac_prev=build_alias ;;
  1026    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1027      build_alias=$ac_optarg ;;
  1028  
  1029    -cache-file | --cache-file | --cache-fil | --cache-fi \
  1030    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1031      ac_prev=cache_file ;;
  1032    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1033    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1034      cache_file=$ac_optarg ;;
  1035  
  1036    --config-cache | -C)
  1037      cache_file=config.cache ;;
  1038  
  1039    -datadir | --datadir | --datadi | --datad)
  1040      ac_prev=datadir ;;
  1041    -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1042      datadir=$ac_optarg ;;
  1043  
  1044    -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1045    | --dataroo | --dataro | --datar)
  1046      ac_prev=datarootdir ;;
  1047    -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1048    | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1049      datarootdir=$ac_optarg ;;
  1050  
  1051    -disable-* | --disable-*)
  1052      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1053      # Reject names that are not valid shell variable names.
  1054      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1055        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1056     { (exit 1); exit 1; }; }
  1057      ac_useropt_orig=$ac_useropt
  1058      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1059      case $ac_user_opts in
  1060        *"
  1061  "enable_$ac_useropt"
  1062  "*) ;;
  1063        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1064  	 ac_unrecognized_sep=', ';;
  1065      esac
  1066      eval enable_$ac_useropt=no ;;
  1067  
  1068    -docdir | --docdir | --docdi | --doc | --do)
  1069      ac_prev=docdir ;;
  1070    -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1071      docdir=$ac_optarg ;;
  1072  
  1073    -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1074      ac_prev=dvidir ;;
  1075    -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1076      dvidir=$ac_optarg ;;
  1077  
  1078    -enable-* | --enable-*)
  1079      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1080      # Reject names that are not valid shell variable names.
  1081      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1082        { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1083     { (exit 1); exit 1; }; }
  1084      ac_useropt_orig=$ac_useropt
  1085      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1086      case $ac_user_opts in
  1087        *"
  1088  "enable_$ac_useropt"
  1089  "*) ;;
  1090        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1091  	 ac_unrecognized_sep=', ';;
  1092      esac
  1093      eval enable_$ac_useropt=\$ac_optarg ;;
  1094  
  1095    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1096    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1097    | --exec | --exe | --ex)
  1098      ac_prev=exec_prefix ;;
  1099    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1100    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1101    | --exec=* | --exe=* | --ex=*)
  1102      exec_prefix=$ac_optarg ;;
  1103  
  1104    -gas | --gas | --ga | --g)
  1105      # Obsolete; use --with-gas.
  1106      with_gas=yes ;;
  1107  
  1108    -help | --help | --hel | --he | -h)
  1109      ac_init_help=long ;;
  1110    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1111      ac_init_help=recursive ;;
  1112    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1113      ac_init_help=short ;;
  1114  
  1115    -host | --host | --hos | --ho)
  1116      ac_prev=host_alias ;;
  1117    -host=* | --host=* | --hos=* | --ho=*)
  1118      host_alias=$ac_optarg ;;
  1119  
  1120    -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1121      ac_prev=htmldir ;;
  1122    -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1123    | --ht=*)
  1124      htmldir=$ac_optarg ;;
  1125  
  1126    -includedir | --includedir | --includedi | --included | --include \
  1127    | --includ | --inclu | --incl | --inc)
  1128      ac_prev=includedir ;;
  1129    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1130    | --includ=* | --inclu=* | --incl=* | --inc=*)
  1131      includedir=$ac_optarg ;;
  1132  
  1133    -infodir | --infodir | --infodi | --infod | --info | --inf)
  1134      ac_prev=infodir ;;
  1135    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1136      infodir=$ac_optarg ;;
  1137  
  1138    -libdir | --libdir | --libdi | --libd)
  1139      ac_prev=libdir ;;
  1140    -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1141      libdir=$ac_optarg ;;
  1142  
  1143    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1144    | --libexe | --libex | --libe)
  1145      ac_prev=libexecdir ;;
  1146    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1147    | --libexe=* | --libex=* | --libe=*)
  1148      libexecdir=$ac_optarg ;;
  1149  
  1150    -localedir | --localedir | --localedi | --localed | --locale)
  1151      ac_prev=localedir ;;
  1152    -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1153      localedir=$ac_optarg ;;
  1154  
  1155    -localstatedir | --localstatedir | --localstatedi | --localstated \
  1156    | --localstate | --localstat | --localsta | --localst | --locals)
  1157      ac_prev=localstatedir ;;
  1158    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1159    | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1160      localstatedir=$ac_optarg ;;
  1161  
  1162    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1163      ac_prev=mandir ;;
  1164    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1165      mandir=$ac_optarg ;;
  1166  
  1167    -nfp | --nfp | --nf)
  1168      # Obsolete; use --without-fp.
  1169      with_fp=no ;;
  1170  
  1171    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1172    | --no-cr | --no-c | -n)
  1173      no_create=yes ;;
  1174  
  1175    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1176    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1177      no_recursion=yes ;;
  1178  
  1179    -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1180    | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1181    | --oldin | --oldi | --old | --ol | --o)
  1182      ac_prev=oldincludedir ;;
  1183    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1184    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1185    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1186      oldincludedir=$ac_optarg ;;
  1187  
  1188    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1189      ac_prev=prefix ;;
  1190    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1191      prefix=$ac_optarg ;;
  1192  
  1193    -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1194    | --program-pre | --program-pr | --program-p)
  1195      ac_prev=program_prefix ;;
  1196    -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1197    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1198      program_prefix=$ac_optarg ;;
  1199  
  1200    -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1201    | --program-suf | --program-su | --program-s)
  1202      ac_prev=program_suffix ;;
  1203    -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1204    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1205      program_suffix=$ac_optarg ;;
  1206  
  1207    -program-transform-name | --program-transform-name \
  1208    | --program-transform-nam | --program-transform-na \
  1209    | --program-transform-n | --program-transform- \
  1210    | --program-transform | --program-transfor \
  1211    | --program-transfo | --program-transf \
  1212    | --program-trans | --program-tran \
  1213    | --progr-tra | --program-tr | --program-t)
  1214      ac_prev=program_transform_name ;;
  1215    -program-transform-name=* | --program-transform-name=* \
  1216    | --program-transform-nam=* | --program-transform-na=* \
  1217    | --program-transform-n=* | --program-transform-=* \
  1218    | --program-transform=* | --program-transfor=* \
  1219    | --program-transfo=* | --program-transf=* \
  1220    | --program-trans=* | --program-tran=* \
  1221    | --progr-tra=* | --program-tr=* | --program-t=*)
  1222      program_transform_name=$ac_optarg ;;
  1223  
  1224    -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1225      ac_prev=pdfdir ;;
  1226    -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1227      pdfdir=$ac_optarg ;;
  1228  
  1229    -psdir | --psdir | --psdi | --psd | --ps)
  1230      ac_prev=psdir ;;
  1231    -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1232      psdir=$ac_optarg ;;
  1233  
  1234    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1235    | -silent | --silent | --silen | --sile | --sil)
  1236      silent=yes ;;
  1237  
  1238    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1239      ac_prev=sbindir ;;
  1240    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1241    | --sbi=* | --sb=*)
  1242      sbindir=$ac_optarg ;;
  1243  
  1244    -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1245    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1246    | --sharedst | --shareds | --shared | --share | --shar \
  1247    | --sha | --sh)
  1248      ac_prev=sharedstatedir ;;
  1249    -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1250    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1251    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1252    | --sha=* | --sh=*)
  1253      sharedstatedir=$ac_optarg ;;
  1254  
  1255    -site | --site | --sit)
  1256      ac_prev=site ;;
  1257    -site=* | --site=* | --sit=*)
  1258      site=$ac_optarg ;;
  1259  
  1260    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1261      ac_prev=srcdir ;;
  1262    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1263      srcdir=$ac_optarg ;;
  1264  
  1265    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1266    | --syscon | --sysco | --sysc | --sys | --sy)
  1267      ac_prev=sysconfdir ;;
  1268    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1269    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1270      sysconfdir=$ac_optarg ;;
  1271  
  1272    -target | --target | --targe | --targ | --tar | --ta | --t)
  1273      ac_prev=target_alias ;;
  1274    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1275      target_alias=$ac_optarg ;;
  1276  
  1277    -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1278      verbose=yes ;;
  1279  
  1280    -version | --version | --versio | --versi | --vers | -V)
  1281      ac_init_version=: ;;
  1282  
  1283    -with-* | --with-*)
  1284      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1285      # Reject names that are not valid shell variable names.
  1286      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1287        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1288     { (exit 1); exit 1; }; }
  1289      ac_useropt_orig=$ac_useropt
  1290      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1291      case $ac_user_opts in
  1292        *"
  1293  "with_$ac_useropt"
  1294  "*) ;;
  1295        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1296  	 ac_unrecognized_sep=', ';;
  1297      esac
  1298      eval with_$ac_useropt=\$ac_optarg ;;
  1299  
  1300    -without-* | --without-*)
  1301      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1302      # Reject names that are not valid shell variable names.
  1303      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1304        { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1305     { (exit 1); exit 1; }; }
  1306      ac_useropt_orig=$ac_useropt
  1307      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1308      case $ac_user_opts in
  1309        *"
  1310  "with_$ac_useropt"
  1311  "*) ;;
  1312        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1313  	 ac_unrecognized_sep=', ';;
  1314      esac
  1315      eval with_$ac_useropt=no ;;
  1316  
  1317    --x)
  1318      # Obsolete; use --with-x.
  1319      with_x=yes ;;
  1320  
  1321    -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1322    | --x-incl | --x-inc | --x-in | --x-i)
  1323      ac_prev=x_includes ;;
  1324    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1325    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1326      x_includes=$ac_optarg ;;
  1327  
  1328    -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1329    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1330      ac_prev=x_libraries ;;
  1331    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1332    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1333      x_libraries=$ac_optarg ;;
  1334  
  1335    -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1336  Try \`$0 --help' for more information." >&2
  1337     { (exit 1); exit 1; }; }
  1338      ;;
  1339  
  1340    *=*)
  1341      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1342      # Reject names that are not valid shell variable names.
  1343      expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1344        { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1345     { (exit 1); exit 1; }; }
  1346      eval $ac_envvar=\$ac_optarg
  1347      export $ac_envvar ;;
  1348  
  1349    *)
  1350      # FIXME: should be removed in autoconf 3.0.
  1351      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1352      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1353        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1354      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1355      ;;
  1356  
  1357    esac
  1358  done
  1359  
  1360  if test -n "$ac_prev"; then
  1361    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1362    { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1363     { (exit 1); exit 1; }; }
  1364  fi
  1365  
  1366  if test -n "$ac_unrecognized_opts"; then
  1367    case $enable_option_checking in
  1368      no) ;;
  1369      fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1370     { (exit 1); exit 1; }; } ;;
  1371      *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1372    esac
  1373  fi
  1374  
  1375  # Check all directory arguments for consistency.
  1376  for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1377  		datadir sysconfdir sharedstatedir localstatedir includedir \
  1378  		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1379  		libdir localedir mandir
  1380  do
  1381    eval ac_val=\$$ac_var
  1382    # Remove trailing slashes.
  1383    case $ac_val in
  1384      */ )
  1385        ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1386        eval $ac_var=\$ac_val;;
  1387    esac
  1388    # Be sure to have absolute directory names.
  1389    case $ac_val in
  1390      [\\/$]* | ?:[\\/]* )  continue;;
  1391      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1392    esac
  1393    { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1394     { (exit 1); exit 1; }; }
  1395  done
  1396  
  1397  # There might be people who depend on the old broken behavior: `$host'
  1398  # used to hold the argument of --host etc.
  1399  # FIXME: To remove some day.
  1400  build=$build_alias
  1401  host=$host_alias
  1402  target=$target_alias
  1403  
  1404  # FIXME: To remove some day.
  1405  if test "x$host_alias" != x; then
  1406    if test "x$build_alias" = x; then
  1407      cross_compiling=maybe
  1408      $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1409      If a cross compiler is detected then cross compile mode will be used." >&2
  1410    elif test "x$build_alias" != "x$host_alias"; then
  1411      cross_compiling=yes
  1412    fi
  1413  fi
  1414  
  1415  ac_tool_prefix=
  1416  test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1417  
  1418  test "$silent" = yes && exec 6>/dev/null
  1419  
  1420  
  1421  ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1422  ac_ls_di=`ls -di .` &&
  1423  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1424    { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1425     { (exit 1); exit 1; }; }
  1426  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1427    { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1428     { (exit 1); exit 1; }; }
  1429  
  1430  
  1431  # Find the source files, if location was not specified.
  1432  if test -z "$srcdir"; then
  1433    ac_srcdir_defaulted=yes
  1434    # Try the directory containing this script, then the parent directory.
  1435    ac_confdir=`$as_dirname -- "$as_myself" ||
  1436  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1437  	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1438  	 X"$as_myself" : 'X\(//\)$' \| \
  1439  	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1440  $as_echo X"$as_myself" |
  1441      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1442  	    s//\1/
  1443  	    q
  1444  	  }
  1445  	  /^X\(\/\/\)[^/].*/{
  1446  	    s//\1/
  1447  	    q
  1448  	  }
  1449  	  /^X\(\/\/\)$/{
  1450  	    s//\1/
  1451  	    q
  1452  	  }
  1453  	  /^X\(\/\).*/{
  1454  	    s//\1/
  1455  	    q
  1456  	  }
  1457  	  s/.*/./; q'`
  1458    srcdir=$ac_confdir
  1459    if test ! -r "$srcdir/$ac_unique_file"; then
  1460      srcdir=..
  1461    fi
  1462  else
  1463    ac_srcdir_defaulted=no
  1464  fi
  1465  if test ! -r "$srcdir/$ac_unique_file"; then
  1466    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1467    { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1468     { (exit 1); exit 1; }; }
  1469  fi
  1470  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1471  ac_abs_confdir=`(
  1472  	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1473     { (exit 1); exit 1; }; }
  1474  	pwd)`
  1475  # When building in place, set srcdir=.
  1476  if test "$ac_abs_confdir" = "$ac_pwd"; then
  1477    srcdir=.
  1478  fi
  1479  # Remove unnecessary trailing slashes from srcdir.
  1480  # Double slashes in file names in object file debugging info
  1481  # mess up M-x gdb in Emacs.
  1482  case $srcdir in
  1483  */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1484  esac
  1485  for ac_var in $ac_precious_vars; do
  1486    eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1487    eval ac_env_${ac_var}_value=\$${ac_var}
  1488    eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1489    eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1490  done
  1491  
  1492  #
  1493  # Report the --help message.
  1494  #
  1495  if test "$ac_init_help" = "long"; then
  1496    # Omit some internal or obsolete options to make the list less imposing.
  1497    # This message is too long to be a string in the A/UX 3.1 sh.
  1498    cat <<_ACEOF
  1499  \`configure' configures gflags 2.0 to adapt to many kinds of systems.
  1500  
  1501  Usage: $0 [OPTION]... [VAR=VALUE]...
  1502  
  1503  To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1504  VAR=VALUE.  See below for descriptions of some of the useful variables.
  1505  
  1506  Defaults for the options are specified in brackets.
  1507  
  1508  Configuration:
  1509    -h, --help              display this help and exit
  1510        --help=short        display options specific to this package
  1511        --help=recursive    display the short help of all the included packages
  1512    -V, --version           display version information and exit
  1513    -q, --quiet, --silent   do not print \`checking...' messages
  1514        --cache-file=FILE   cache test results in FILE [disabled]
  1515    -C, --config-cache      alias for \`--cache-file=config.cache'
  1516    -n, --no-create         do not create output files
  1517        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1518  
  1519  Installation directories:
  1520    --prefix=PREFIX         install architecture-independent files in PREFIX
  1521                            [$ac_default_prefix]
  1522    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1523                            [PREFIX]
  1524  
  1525  By default, \`make install' will install all the files in
  1526  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1527  an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1528  for instance \`--prefix=\$HOME'.
  1529  
  1530  For better control, use the options below.
  1531  
  1532  Fine tuning of the installation directories:
  1533    --bindir=DIR            user executables [EPREFIX/bin]
  1534    --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1535    --libexecdir=DIR        program executables [EPREFIX/libexec]
  1536    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1537    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1538    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1539    --libdir=DIR            object code libraries [EPREFIX/lib]
  1540    --includedir=DIR        C header files [PREFIX/include]
  1541    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1542    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1543    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1544    --infodir=DIR           info documentation [DATAROOTDIR/info]
  1545    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1546    --mandir=DIR            man documentation [DATAROOTDIR/man]
  1547    --docdir=DIR            documentation root [DATAROOTDIR/doc/gflags]
  1548    --htmldir=DIR           html documentation [DOCDIR]
  1549    --dvidir=DIR            dvi documentation [DOCDIR]
  1550    --pdfdir=DIR            pdf documentation [DOCDIR]
  1551    --psdir=DIR             ps documentation [DOCDIR]
  1552  _ACEOF
  1553  
  1554    cat <<\_ACEOF
  1555  
  1556  Program names:
  1557    --program-prefix=PREFIX            prepend PREFIX to installed program names
  1558    --program-suffix=SUFFIX            append SUFFIX to installed program names
  1559    --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1560  
  1561  System types:
  1562    --build=BUILD     configure for building on BUILD [guessed]
  1563    --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1564  _ACEOF
  1565  fi
  1566  
  1567  if test -n "$ac_init_help"; then
  1568    case $ac_init_help in
  1569       short | recursive ) echo "Configuration of gflags 2.0:";;
  1570     esac
  1571    cat <<\_ACEOF
  1572  
  1573  Optional Features:
  1574    --disable-option-checking  ignore unrecognized --enable/--with options
  1575    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1576    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1577    --disable-dependency-tracking  speeds up one-time build
  1578    --enable-dependency-tracking   do not reject slow dependency extractors
  1579    --enable-fast-install[=PKGS]
  1580                            optimize for fast installation [default=no]
  1581    --enable-shared[=PKGS]  build shared libraries [default=yes]
  1582    --enable-static[=PKGS]  build static libraries [default=yes]
  1583    --disable-libtool-lock  avoid locking (might break parallel builds)
  1584    --enable-namespace=FOO to define these Google
  1585                               classes in the FOO namespace. --disable-namespace
  1586                               to define them in the global namespace. Default
  1587                               is to define them in namespace google.
  1588  
  1589  Optional Packages:
  1590    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1591    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1592    --with-pic              try to use only PIC/non-PIC objects [default=use
  1593                            both]
  1594    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1595  
  1596  Some influential environment variables:
  1597    CXX         C++ compiler command
  1598    CXXFLAGS    C++ compiler flags
  1599    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1600                nonstandard directory <lib dir>
  1601    LIBS        libraries to pass to the linker, e.g. -l<library>
  1602    CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1603                you have headers in a nonstandard directory <include dir>
  1604    CC          C compiler command
  1605    CFLAGS      C compiler flags
  1606    CPP         C preprocessor
  1607    CXXCPP      C++ preprocessor
  1608  
  1609  Use these variables to override the choices made by `configure' or to help
  1610  it to find libraries and programs with nonstandard names/locations.
  1611  
  1612  Report bugs to <google-gflags@googlegroups.com>.
  1613  _ACEOF
  1614  ac_status=$?
  1615  fi
  1616  
  1617  if test "$ac_init_help" = "recursive"; then
  1618    # If there are subdirs, report their specific --help.
  1619    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1620      test -d "$ac_dir" ||
  1621        { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1622        continue
  1623      ac_builddir=.
  1624  
  1625  case "$ac_dir" in
  1626  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1627  *)
  1628    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1629    # A ".." for each directory in $ac_dir_suffix.
  1630    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1631    case $ac_top_builddir_sub in
  1632    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1633    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1634    esac ;;
  1635  esac
  1636  ac_abs_top_builddir=$ac_pwd
  1637  ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1638  # for backward compatibility:
  1639  ac_top_builddir=$ac_top_build_prefix
  1640  
  1641  case $srcdir in
  1642    .)  # We are building in place.
  1643      ac_srcdir=.
  1644      ac_top_srcdir=$ac_top_builddir_sub
  1645      ac_abs_top_srcdir=$ac_pwd ;;
  1646    [\\/]* | ?:[\\/]* )  # Absolute name.
  1647      ac_srcdir=$srcdir$ac_dir_suffix;
  1648      ac_top_srcdir=$srcdir
  1649      ac_abs_top_srcdir=$srcdir ;;
  1650    *) # Relative name.
  1651      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1652      ac_top_srcdir=$ac_top_build_prefix$srcdir
  1653      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1654  esac
  1655  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1656  
  1657      cd "$ac_dir" || { ac_status=$?; continue; }
  1658      # Check for guested configure.
  1659      if test -f "$ac_srcdir/configure.gnu"; then
  1660        echo &&
  1661        $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1662      elif test -f "$ac_srcdir/configure"; then
  1663        echo &&
  1664        $SHELL "$ac_srcdir/configure" --help=recursive
  1665      else
  1666        $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1667      fi || ac_status=$?
  1668      cd "$ac_pwd" || { ac_status=$?; break; }
  1669    done
  1670  fi
  1671  
  1672  test -n "$ac_init_help" && exit $ac_status
  1673  if $ac_init_version; then
  1674    cat <<\_ACEOF
  1675  gflags configure 2.0
  1676  generated by GNU Autoconf 2.62
  1677  
  1678  Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1679  2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1680  This configure script is free software; the Free Software Foundation
  1681  gives unlimited permission to copy, distribute and modify it.
  1682  _ACEOF
  1683    exit
  1684  fi
  1685  cat >config.log <<_ACEOF
  1686  This file contains any messages produced by compilers while
  1687  running configure, to aid debugging if configure makes a mistake.
  1688  
  1689  It was created by gflags $as_me 2.0, which was
  1690  generated by GNU Autoconf 2.62.  Invocation command line was
  1691  
  1692    $ $0 $@
  1693  
  1694  _ACEOF
  1695  exec 5>>config.log
  1696  {
  1697  cat <<_ASUNAME
  1698  ## --------- ##
  1699  ## Platform. ##
  1700  ## --------- ##
  1701  
  1702  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1703  uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1704  uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1705  uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1706  uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1707  
  1708  /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1709  /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1710  
  1711  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1712  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1713  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1714  /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1715  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1716  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1717  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1718  
  1719  _ASUNAME
  1720  
  1721  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1722  for as_dir in $PATH
  1723  do
  1724    IFS=$as_save_IFS
  1725    test -z "$as_dir" && as_dir=.
  1726    $as_echo "PATH: $as_dir"
  1727  done
  1728  IFS=$as_save_IFS
  1729  
  1730  } >&5
  1731  
  1732  cat >&5 <<_ACEOF
  1733  
  1734  
  1735  ## ----------- ##
  1736  ## Core tests. ##
  1737  ## ----------- ##
  1738  
  1739  _ACEOF
  1740  
  1741  
  1742  # Keep a trace of the command line.
  1743  # Strip out --no-create and --no-recursion so they do not pile up.
  1744  # Strip out --silent because we don't want to record it for future runs.
  1745  # Also quote any args containing shell meta-characters.
  1746  # Make two passes to allow for proper duplicate-argument suppression.
  1747  ac_configure_args=
  1748  ac_configure_args0=
  1749  ac_configure_args1=
  1750  ac_must_keep_next=false
  1751  for ac_pass in 1 2
  1752  do
  1753    for ac_arg
  1754    do
  1755      case $ac_arg in
  1756      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1757      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1758      | -silent | --silent | --silen | --sile | --sil)
  1759        continue ;;
  1760      *\'*)
  1761        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1762      esac
  1763      case $ac_pass in
  1764      1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1765      2)
  1766        ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1767        if test $ac_must_keep_next = true; then
  1768  	ac_must_keep_next=false # Got value, back to normal.
  1769        else
  1770  	case $ac_arg in
  1771  	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1772  	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1773  	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1774  	  | -with-* | --with-* | -without-* | --without-* | --x)
  1775  	    case "$ac_configure_args0 " in
  1776  	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1777  	    esac
  1778  	    ;;
  1779  	  -* ) ac_must_keep_next=true ;;
  1780  	esac
  1781        fi
  1782        ac_configure_args="$ac_configure_args '$ac_arg'"
  1783        ;;
  1784      esac
  1785    done
  1786  done
  1787  $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1788  $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1789  
  1790  # When interrupted or exit'd, cleanup temporary files, and complete
  1791  # config.log.  We remove comments because anyway the quotes in there
  1792  # would cause problems or look ugly.
  1793  # WARNING: Use '\'' to represent an apostrophe within the trap.
  1794  # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1795  trap 'exit_status=$?
  1796    # Save into config.log some information that might help in debugging.
  1797    {
  1798      echo
  1799  
  1800      cat <<\_ASBOX
  1801  ## ---------------- ##
  1802  ## Cache variables. ##
  1803  ## ---------------- ##
  1804  _ASBOX
  1805      echo
  1806      # The following way of writing the cache mishandles newlines in values,
  1807  (
  1808    for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1809      eval ac_val=\$$ac_var
  1810      case $ac_val in #(
  1811      *${as_nl}*)
  1812        case $ac_var in #(
  1813        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1814  $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1815        esac
  1816        case $ac_var in #(
  1817        _ | IFS | as_nl) ;; #(
  1818        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1819        *) $as_unset $ac_var ;;
  1820        esac ;;
  1821      esac
  1822    done
  1823    (set) 2>&1 |
  1824      case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1825      *${as_nl}ac_space=\ *)
  1826        sed -n \
  1827  	"s/'\''/'\''\\\\'\'''\''/g;
  1828  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1829        ;; #(
  1830      *)
  1831        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1832        ;;
  1833      esac |
  1834      sort
  1835  )
  1836      echo
  1837  
  1838      cat <<\_ASBOX
  1839  ## ----------------- ##
  1840  ## Output variables. ##
  1841  ## ----------------- ##
  1842  _ASBOX
  1843      echo
  1844      for ac_var in $ac_subst_vars
  1845      do
  1846        eval ac_val=\$$ac_var
  1847        case $ac_val in
  1848        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1849        esac
  1850        $as_echo "$ac_var='\''$ac_val'\''"
  1851      done | sort
  1852      echo
  1853  
  1854      if test -n "$ac_subst_files"; then
  1855        cat <<\_ASBOX
  1856  ## ------------------- ##
  1857  ## File substitutions. ##
  1858  ## ------------------- ##
  1859  _ASBOX
  1860        echo
  1861        for ac_var in $ac_subst_files
  1862        do
  1863  	eval ac_val=\$$ac_var
  1864  	case $ac_val in
  1865  	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1866  	esac
  1867  	$as_echo "$ac_var='\''$ac_val'\''"
  1868        done | sort
  1869        echo
  1870      fi
  1871  
  1872      if test -s confdefs.h; then
  1873        cat <<\_ASBOX
  1874  ## ----------- ##
  1875  ## confdefs.h. ##
  1876  ## ----------- ##
  1877  _ASBOX
  1878        echo
  1879        cat confdefs.h
  1880        echo
  1881      fi
  1882      test "$ac_signal" != 0 &&
  1883        $as_echo "$as_me: caught signal $ac_signal"
  1884      $as_echo "$as_me: exit $exit_status"
  1885    } >&5
  1886    rm -f core *.core core.conftest.* &&
  1887      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1888      exit $exit_status
  1889  ' 0
  1890  for ac_signal in 1 2 13 15; do
  1891    trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1892  done
  1893  ac_signal=0
  1894  
  1895  # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1896  rm -f -r conftest* confdefs.h
  1897  
  1898  # Predefined preprocessor variables.
  1899  
  1900  cat >>confdefs.h <<_ACEOF
  1901  #define PACKAGE_NAME "$PACKAGE_NAME"
  1902  _ACEOF
  1903  
  1904  
  1905  cat >>confdefs.h <<_ACEOF
  1906  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1907  _ACEOF
  1908  
  1909  
  1910  cat >>confdefs.h <<_ACEOF
  1911  #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1912  _ACEOF
  1913  
  1914  
  1915  cat >>confdefs.h <<_ACEOF
  1916  #define PACKAGE_STRING "$PACKAGE_STRING"
  1917  _ACEOF
  1918  
  1919  
  1920  cat >>confdefs.h <<_ACEOF
  1921  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1922  _ACEOF
  1923  
  1924  
  1925  # Let the site file select an alternate cache file if it wants to.
  1926  # Prefer an explicitly selected file to automatically selected ones.
  1927  ac_site_file1=NONE
  1928  ac_site_file2=NONE
  1929  if test -n "$CONFIG_SITE"; then
  1930    ac_site_file1=$CONFIG_SITE
  1931  elif test "x$prefix" != xNONE; then
  1932    ac_site_file1=$prefix/share/config.site
  1933    ac_site_file2=$prefix/etc/config.site
  1934  else
  1935    ac_site_file1=$ac_default_prefix/share/config.site
  1936    ac_site_file2=$ac_default_prefix/etc/config.site
  1937  fi
  1938  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1939  do
  1940    test "x$ac_site_file" = xNONE && continue
  1941    if test -r "$ac_site_file"; then
  1942      { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1943  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1944      sed 's/^/| /' "$ac_site_file" >&5
  1945      . "$ac_site_file"
  1946    fi
  1947  done
  1948  
  1949  if test -r "$cache_file"; then
  1950    # Some versions of bash will fail to source /dev/null (special
  1951    # files actually), so we avoid doing that.
  1952    if test -f "$cache_file"; then
  1953      { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1954  $as_echo "$as_me: loading cache $cache_file" >&6;}
  1955      case $cache_file in
  1956        [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1957        *)                      . "./$cache_file";;
  1958      esac
  1959    fi
  1960  else
  1961    { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1962  $as_echo "$as_me: creating cache $cache_file" >&6;}
  1963    >$cache_file
  1964  fi
  1965  
  1966  # Check that the precious variables saved in the cache have kept the same
  1967  # value.
  1968  ac_cache_corrupted=false
  1969  for ac_var in $ac_precious_vars; do
  1970    eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1971    eval ac_new_set=\$ac_env_${ac_var}_set
  1972    eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1973    eval ac_new_val=\$ac_env_${ac_var}_value
  1974    case $ac_old_set,$ac_new_set in
  1975      set,)
  1976        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1977  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1978        ac_cache_corrupted=: ;;
  1979      ,set)
  1980        { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1981  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1982        ac_cache_corrupted=: ;;
  1983      ,);;
  1984      *)
  1985        if test "x$ac_old_val" != "x$ac_new_val"; then
  1986  	# differences in whitespace do not lead to failure.
  1987  	ac_old_val_w=`echo x $ac_old_val`
  1988  	ac_new_val_w=`echo x $ac_new_val`
  1989  	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1990  	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1991  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1992  	  ac_cache_corrupted=:
  1993  	else
  1994  	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1995  $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1996  	  eval $ac_var=\$ac_old_val
  1997  	fi
  1998  	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1999  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2000  	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  2001  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2002        fi;;
  2003    esac
  2004    # Pass precious variables to config.status.
  2005    if test "$ac_new_set" = set; then
  2006      case $ac_new_val in
  2007      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2008      *) ac_arg=$ac_var=$ac_new_val ;;
  2009      esac
  2010      case " $ac_configure_args " in
  2011        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2012        *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  2013      esac
  2014    fi
  2015  done
  2016  if $ac_cache_corrupted; then
  2017    { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  2018  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2019    { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  2020  $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  2021     { (exit 1); exit 1; }; }
  2022  fi
  2023  
  2024  
  2025  
  2026  
  2027  
  2028  
  2029  
  2030  
  2031  
  2032  
  2033  
  2034  
  2035  
  2036  
  2037  
  2038  
  2039  
  2040  
  2041  
  2042  
  2043  
  2044  
  2045  
  2046  
  2047  
  2048  ac_ext=c
  2049  ac_cpp='$CPP $CPPFLAGS'
  2050  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2051  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2052  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2053  
  2054  
  2055  # Update this value for every release!  (A:B:C will map to foo.so.(A-C).C.B)
  2056  # http://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
  2057  SO_VERSION=3:0:1
  2058  
  2059  # The argument here is just something that should be in the current directory
  2060  # (for sanity checking)
  2061  
  2062  
  2063  am__api_version='1.10'
  2064  
  2065  ac_aux_dir=
  2066  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2067    if test -f "$ac_dir/install-sh"; then
  2068      ac_aux_dir=$ac_dir
  2069      ac_install_sh="$ac_aux_dir/install-sh -c"
  2070      break
  2071    elif test -f "$ac_dir/install.sh"; then
  2072      ac_aux_dir=$ac_dir
  2073      ac_install_sh="$ac_aux_dir/install.sh -c"
  2074      break
  2075    elif test -f "$ac_dir/shtool"; then
  2076      ac_aux_dir=$ac_dir
  2077      ac_install_sh="$ac_aux_dir/shtool install -c"
  2078      break
  2079    fi
  2080  done
  2081  if test -z "$ac_aux_dir"; then
  2082    { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  2083  $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  2084     { (exit 1); exit 1; }; }
  2085  fi
  2086  
  2087  # These three variables are undocumented and unsupported,
  2088  # and are intended to be withdrawn in a future Autoconf release.
  2089  # They can cause serious problems if a builder's source tree is in a directory
  2090  # whose full name contains unusual characters.
  2091  ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2092  ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2093  ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2094  
  2095  
  2096  # Find a good install program.  We prefer a C program (faster),
  2097  # so one script is as good as another.  But avoid the broken or
  2098  # incompatible versions:
  2099  # SysV /etc/install, /usr/sbin/install
  2100  # SunOS /usr/etc/install
  2101  # IRIX /sbin/install
  2102  # AIX /bin/install
  2103  # AmigaOS /C/install, which installs bootblocks on floppy discs
  2104  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2105  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2106  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2107  # OS/2's system install, which has a completely different semantic
  2108  # ./install, which can be erroneously created by make from ./install.sh.
  2109  # Reject install programs that cannot install multiple files.
  2110  { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2111  $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2112  if test -z "$INSTALL"; then
  2113  if test "${ac_cv_path_install+set}" = set; then
  2114    $as_echo_n "(cached) " >&6
  2115  else
  2116    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2117  for as_dir in $PATH
  2118  do
  2119    IFS=$as_save_IFS
  2120    test -z "$as_dir" && as_dir=.
  2121    # Account for people who put trailing slashes in PATH elements.
  2122  case $as_dir/ in
  2123    ./ | .// | /cC/* | \
  2124    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2125    ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2126    /usr/ucb/* ) ;;
  2127    *)
  2128      # OSF1 and SCO ODT 3.0 have their own names for install.
  2129      # Don't use installbsd from OSF since it installs stuff as root
  2130      # by default.
  2131      for ac_prog in ginstall scoinst install; do
  2132        for ac_exec_ext in '' $ac_executable_extensions; do
  2133  	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2134  	  if test $ac_prog = install &&
  2135  	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2136  	    # AIX install.  It has an incompatible calling convention.
  2137  	    :
  2138  	  elif test $ac_prog = install &&
  2139  	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2140  	    # program-specific install script used by HP pwplus--don't use.
  2141  	    :
  2142  	  else
  2143  	    rm -rf conftest.one conftest.two conftest.dir
  2144  	    echo one > conftest.one
  2145  	    echo two > conftest.two
  2146  	    mkdir conftest.dir
  2147  	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2148  	      test -s conftest.one && test -s conftest.two &&
  2149  	      test -s conftest.dir/conftest.one &&
  2150  	      test -s conftest.dir/conftest.two
  2151  	    then
  2152  	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2153  	      break 3
  2154  	    fi
  2155  	  fi
  2156  	fi
  2157        done
  2158      done
  2159      ;;
  2160  esac
  2161  
  2162  done
  2163  IFS=$as_save_IFS
  2164  
  2165  rm -rf conftest.one conftest.two conftest.dir
  2166  
  2167  fi
  2168    if test "${ac_cv_path_install+set}" = set; then
  2169      INSTALL=$ac_cv_path_install
  2170    else
  2171      # As a last resort, use the slow shell script.  Don't cache a
  2172      # value for INSTALL within a source directory, because that will
  2173      # break other packages using the cache if that directory is
  2174      # removed, or if the value is a relative name.
  2175      INSTALL=$ac_install_sh
  2176    fi
  2177  fi
  2178  { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2179  $as_echo "$INSTALL" >&6; }
  2180  
  2181  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2182  # It thinks the first close brace ends the variable substitution.
  2183  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2184  
  2185  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2186  
  2187  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2188  
  2189  { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2190  $as_echo_n "checking whether build environment is sane... " >&6; }
  2191  # Just in case
  2192  sleep 1
  2193  echo timestamp > conftest.file
  2194  # Do `set' in a subshell so we don't clobber the current shell's
  2195  # arguments.  Must try -L first in case configure is actually a
  2196  # symlink; some systems play weird games with the mod time of symlinks
  2197  # (eg FreeBSD returns the mod time of the symlink's containing
  2198  # directory).
  2199  if (
  2200     set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2201     if test "$*" = "X"; then
  2202        # -L didn't work.
  2203        set X `ls -t $srcdir/configure conftest.file`
  2204     fi
  2205     rm -f conftest.file
  2206     if test "$*" != "X $srcdir/configure conftest.file" \
  2207        && test "$*" != "X conftest.file $srcdir/configure"; then
  2208  
  2209        # If neither matched, then we have a broken ls.  This can happen
  2210        # if, for instance, CONFIG_SHELL is bash and it inherits a
  2211        # broken ls alias from the environment.  This has actually
  2212        # happened.  Such a system could not be considered "sane".
  2213        { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2214  alias in your environment" >&5
  2215  $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2216  alias in your environment" >&2;}
  2217     { (exit 1); exit 1; }; }
  2218     fi
  2219  
  2220     test "$2" = conftest.file
  2221     )
  2222  then
  2223     # Ok.
  2224     :
  2225  else
  2226     { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2227  Check your system clock" >&5
  2228  $as_echo "$as_me: error: newly created file is older than distributed files!
  2229  Check your system clock" >&2;}
  2230     { (exit 1); exit 1; }; }
  2231  fi
  2232  { $as_echo "$as_me:$LINENO: result: yes" >&5
  2233  $as_echo "yes" >&6; }
  2234  test "$program_prefix" != NONE &&
  2235    program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2236  # Use a double $ so make ignores it.
  2237  test "$program_suffix" != NONE &&
  2238    program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2239  # Double any \ or $.
  2240  # By default was `s,x,x', remove it if useless.
  2241  ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2242  program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2243  
  2244  # expand $ac_aux_dir to an absolute path
  2245  am_aux_dir=`cd $ac_aux_dir && pwd`
  2246  
  2247  test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2248  # Use eval to expand $SHELL
  2249  if eval "$MISSING --run true"; then
  2250    am_missing_run="$MISSING --run "
  2251  else
  2252    am_missing_run=
  2253    { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2254  $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2255  fi
  2256  
  2257  { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  2258  $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2259  if test -z "$MKDIR_P"; then
  2260    if test "${ac_cv_path_mkdir+set}" = set; then
  2261    $as_echo_n "(cached) " >&6
  2262  else
  2263    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2264  for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2265  do
  2266    IFS=$as_save_IFS
  2267    test -z "$as_dir" && as_dir=.
  2268    for ac_prog in mkdir gmkdir; do
  2269  	 for ac_exec_ext in '' $ac_executable_extensions; do
  2270  	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2271  	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2272  	     'mkdir (GNU coreutils) '* | \
  2273  	     'mkdir (coreutils) '* | \
  2274  	     'mkdir (fileutils) '4.1*)
  2275  	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2276  	       break 3;;
  2277  	   esac
  2278  	 done
  2279         done
  2280  done
  2281  IFS=$as_save_IFS
  2282  
  2283  fi
  2284  
  2285    if test "${ac_cv_path_mkdir+set}" = set; then
  2286      MKDIR_P="$ac_cv_path_mkdir -p"
  2287    else
  2288      # As a last resort, use the slow shell script.  Don't cache a
  2289      # value for MKDIR_P within a source directory, because that will
  2290      # break other packages using the cache if that directory is
  2291      # removed, or if the value is a relative name.
  2292      test -d ./--version && rmdir ./--version
  2293      MKDIR_P="$ac_install_sh -d"
  2294    fi
  2295  fi
  2296  { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  2297  $as_echo "$MKDIR_P" >&6; }
  2298  
  2299  mkdir_p="$MKDIR_P"
  2300  case $mkdir_p in
  2301    [\\/$]* | ?:[\\/]*) ;;
  2302    */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2303  esac
  2304  
  2305  for ac_prog in gawk mawk nawk awk
  2306  do
  2307    # Extract the first word of "$ac_prog", so it can be a program name with args.
  2308  set dummy $ac_prog; ac_word=$2
  2309  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2310  $as_echo_n "checking for $ac_word... " >&6; }
  2311  if test "${ac_cv_prog_AWK+set}" = set; then
  2312    $as_echo_n "(cached) " >&6
  2313  else
  2314    if test -n "$AWK"; then
  2315    ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2316  else
  2317  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2318  for as_dir in $PATH
  2319  do
  2320    IFS=$as_save_IFS
  2321    test -z "$as_dir" && as_dir=.
  2322    for ac_exec_ext in '' $ac_executable_extensions; do
  2323    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2324      ac_cv_prog_AWK="$ac_prog"
  2325      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2326      break 2
  2327    fi
  2328  done
  2329  done
  2330  IFS=$as_save_IFS
  2331  
  2332  fi
  2333  fi
  2334  AWK=$ac_cv_prog_AWK
  2335  if test -n "$AWK"; then
  2336    { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2337  $as_echo "$AWK" >&6; }
  2338  else
  2339    { $as_echo "$as_me:$LINENO: result: no" >&5
  2340  $as_echo "no" >&6; }
  2341  fi
  2342  
  2343  
  2344    test -n "$AWK" && break
  2345  done
  2346  
  2347  { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2348  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2349  set x ${MAKE-make}
  2350  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2351  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2352    $as_echo_n "(cached) " >&6
  2353  else
  2354    cat >conftest.make <<\_ACEOF
  2355  SHELL = /bin/sh
  2356  all:
  2357  	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2358  _ACEOF
  2359  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2360  case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2361    *@@@%%%=?*=@@@%%%*)
  2362      eval ac_cv_prog_make_${ac_make}_set=yes;;
  2363    *)
  2364      eval ac_cv_prog_make_${ac_make}_set=no;;
  2365  esac
  2366  rm -f conftest.make
  2367  fi
  2368  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2369    { $as_echo "$as_me:$LINENO: result: yes" >&5
  2370  $as_echo "yes" >&6; }
  2371    SET_MAKE=
  2372  else
  2373    { $as_echo "$as_me:$LINENO: result: no" >&5
  2374  $as_echo "no" >&6; }
  2375    SET_MAKE="MAKE=${MAKE-make}"
  2376  fi
  2377  
  2378  rm -rf .tst 2>/dev/null
  2379  mkdir .tst 2>/dev/null
  2380  if test -d .tst; then
  2381    am__leading_dot=.
  2382  else
  2383    am__leading_dot=_
  2384  fi
  2385  rmdir .tst 2>/dev/null
  2386  
  2387  if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2388    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2389    # is not polluted with repeated "-I."
  2390    am__isrc=' -I$(srcdir)'
  2391    # test to see if srcdir already configured
  2392    if test -f $srcdir/config.status; then
  2393      { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2394  $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2395     { (exit 1); exit 1; }; }
  2396    fi
  2397  fi
  2398  
  2399  # test whether we have cygpath
  2400  if test -z "$CYGPATH_W"; then
  2401    if (cygpath --version) >/dev/null 2>/dev/null; then
  2402      CYGPATH_W='cygpath -w'
  2403    else
  2404      CYGPATH_W=echo
  2405    fi
  2406  fi
  2407  
  2408  
  2409  # Define the identity of the package.
  2410   PACKAGE='gflags'
  2411   VERSION='2.0'
  2412  
  2413  
  2414  cat >>confdefs.h <<_ACEOF
  2415  #define PACKAGE "$PACKAGE"
  2416  _ACEOF
  2417  
  2418  
  2419  cat >>confdefs.h <<_ACEOF
  2420  #define VERSION "$VERSION"
  2421  _ACEOF
  2422  
  2423  # Some tools Automake needs.
  2424  
  2425  ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2426  
  2427  
  2428  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2429  
  2430  
  2431  AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2432  
  2433  
  2434  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2435  
  2436  
  2437  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2438  
  2439  install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
  2440  
  2441  # Installed binaries are usually stripped using `strip' when the user
  2442  # run `make install-strip'.  However `strip' might not be the right
  2443  # tool to use in cross-compilation environments, therefore Automake
  2444  # will honor the `STRIP' environment variable to overrule this program.
  2445  if test "$cross_compiling" != no; then
  2446    if test -n "$ac_tool_prefix"; then
  2447    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2448  set dummy ${ac_tool_prefix}strip; ac_word=$2
  2449  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2450  $as_echo_n "checking for $ac_word... " >&6; }
  2451  if test "${ac_cv_prog_STRIP+set}" = set; then
  2452    $as_echo_n "(cached) " >&6
  2453  else
  2454    if test -n "$STRIP"; then
  2455    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2456  else
  2457  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2458  for as_dir in $PATH
  2459  do
  2460    IFS=$as_save_IFS
  2461    test -z "$as_dir" && as_dir=.
  2462    for ac_exec_ext in '' $ac_executable_extensions; do
  2463    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2464      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2465      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2466      break 2
  2467    fi
  2468  done
  2469  done
  2470  IFS=$as_save_IFS
  2471  
  2472  fi
  2473  fi
  2474  STRIP=$ac_cv_prog_STRIP
  2475  if test -n "$STRIP"; then
  2476    { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2477  $as_echo "$STRIP" >&6; }
  2478  else
  2479    { $as_echo "$as_me:$LINENO: result: no" >&5
  2480  $as_echo "no" >&6; }
  2481  fi
  2482  
  2483  
  2484  fi
  2485  if test -z "$ac_cv_prog_STRIP"; then
  2486    ac_ct_STRIP=$STRIP
  2487    # Extract the first word of "strip", so it can be a program name with args.
  2488  set dummy strip; ac_word=$2
  2489  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2490  $as_echo_n "checking for $ac_word... " >&6; }
  2491  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2492    $as_echo_n "(cached) " >&6
  2493  else
  2494    if test -n "$ac_ct_STRIP"; then
  2495    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2496  else
  2497  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2498  for as_dir in $PATH
  2499  do
  2500    IFS=$as_save_IFS
  2501    test -z "$as_dir" && as_dir=.
  2502    for ac_exec_ext in '' $ac_executable_extensions; do
  2503    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2504      ac_cv_prog_ac_ct_STRIP="strip"
  2505      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2506      break 2
  2507    fi
  2508  done
  2509  done
  2510  IFS=$as_save_IFS
  2511  
  2512  fi
  2513  fi
  2514  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2515  if test -n "$ac_ct_STRIP"; then
  2516    { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2517  $as_echo "$ac_ct_STRIP" >&6; }
  2518  else
  2519    { $as_echo "$as_me:$LINENO: result: no" >&5
  2520  $as_echo "no" >&6; }
  2521  fi
  2522  
  2523    if test "x$ac_ct_STRIP" = x; then
  2524      STRIP=":"
  2525    else
  2526      case $cross_compiling:$ac_tool_warned in
  2527  yes:)
  2528  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2529  whose name does not start with the host triplet.  If you think this
  2530  configuration is useful to you, please write to autoconf@gnu.org." >&5
  2531  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2532  whose name does not start with the host triplet.  If you think this
  2533  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2534  ac_tool_warned=yes ;;
  2535  esac
  2536      STRIP=$ac_ct_STRIP
  2537    fi
  2538  else
  2539    STRIP="$ac_cv_prog_STRIP"
  2540  fi
  2541  
  2542  fi
  2543  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2544  
  2545  # We need awk for the "check" target.  The system "awk" is bad on
  2546  # some platforms.
  2547  # Always define AMTAR for backward compatibility.
  2548  
  2549  AMTAR=${AMTAR-"${am_missing_run}tar"}
  2550  
  2551  am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2552  
  2553  
  2554  
  2555  
  2556  
  2557  ac_config_headers="$ac_config_headers src/config.h"
  2558  
  2559  
  2560  # Checks for programs.
  2561  ac_ext=cpp
  2562  ac_cpp='$CXXCPP $CPPFLAGS'
  2563  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2564  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2565  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  2566  if test -z "$CXX"; then
  2567    if test -n "$CCC"; then
  2568      CXX=$CCC
  2569    else
  2570      if test -n "$ac_tool_prefix"; then
  2571    for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2572    do
  2573      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2574  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2575  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2576  $as_echo_n "checking for $ac_word... " >&6; }
  2577  if test "${ac_cv_prog_CXX+set}" = set; then
  2578    $as_echo_n "(cached) " >&6
  2579  else
  2580    if test -n "$CXX"; then
  2581    ac_cv_prog_CXX="$CXX" # Let the user override the test.
  2582  else
  2583  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2584  for as_dir in $PATH
  2585  do
  2586    IFS=$as_save_IFS
  2587    test -z "$as_dir" && as_dir=.
  2588    for ac_exec_ext in '' $ac_executable_extensions; do
  2589    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2590      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  2591      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2592      break 2
  2593    fi
  2594  done
  2595  done
  2596  IFS=$as_save_IFS
  2597  
  2598  fi
  2599  fi
  2600  CXX=$ac_cv_prog_CXX
  2601  if test -n "$CXX"; then
  2602    { $as_echo "$as_me:$LINENO: result: $CXX" >&5
  2603  $as_echo "$CXX" >&6; }
  2604  else
  2605    { $as_echo "$as_me:$LINENO: result: no" >&5
  2606  $as_echo "no" >&6; }
  2607  fi
  2608  
  2609  
  2610      test -n "$CXX" && break
  2611    done
  2612  fi
  2613  if test -z "$CXX"; then
  2614    ac_ct_CXX=$CXX
  2615    for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  2616  do
  2617    # Extract the first word of "$ac_prog", so it can be a program name with args.
  2618  set dummy $ac_prog; ac_word=$2
  2619  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2620  $as_echo_n "checking for $ac_word... " >&6; }
  2621  if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  2622    $as_echo_n "(cached) " >&6
  2623  else
  2624    if test -n "$ac_ct_CXX"; then
  2625    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  2626  else
  2627  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2628  for as_dir in $PATH
  2629  do
  2630    IFS=$as_save_IFS
  2631    test -z "$as_dir" && as_dir=.
  2632    for ac_exec_ext in '' $ac_executable_extensions; do
  2633    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2634      ac_cv_prog_ac_ct_CXX="$ac_prog"
  2635      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2636      break 2
  2637    fi
  2638  done
  2639  done
  2640  IFS=$as_save_IFS
  2641  
  2642  fi
  2643  fi
  2644  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  2645  if test -n "$ac_ct_CXX"; then
  2646    { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  2647  $as_echo "$ac_ct_CXX" >&6; }
  2648  else
  2649    { $as_echo "$as_me:$LINENO: result: no" >&5
  2650  $as_echo "no" >&6; }
  2651  fi
  2652  
  2653  
  2654    test -n "$ac_ct_CXX" && break
  2655  done
  2656  
  2657    if test "x$ac_ct_CXX" = x; then
  2658      CXX="g++"
  2659    else
  2660      case $cross_compiling:$ac_tool_warned in
  2661  yes:)
  2662  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2663  whose name does not start with the host triplet.  If you think this
  2664  configuration is useful to you, please write to autoconf@gnu.org." >&5
  2665  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2666  whose name does not start with the host triplet.  If you think this
  2667  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2668  ac_tool_warned=yes ;;
  2669  esac
  2670      CXX=$ac_ct_CXX
  2671    fi
  2672  fi
  2673  
  2674    fi
  2675  fi
  2676  # Provide some information about the compiler.
  2677  $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  2678  set X $ac_compile
  2679  ac_compiler=$2
  2680  { (ac_try="$ac_compiler --version >&5"
  2681  case "(($ac_try" in
  2682    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2683    *) ac_try_echo=$ac_try;;
  2684  esac
  2685  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2686  $as_echo "$ac_try_echo") >&5
  2687    (eval "$ac_compiler --version >&5") 2>&5
  2688    ac_status=$?
  2689    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2690    (exit $ac_status); }
  2691  { (ac_try="$ac_compiler -v >&5"
  2692  case "(($ac_try" in
  2693    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2694    *) ac_try_echo=$ac_try;;
  2695  esac
  2696  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2697  $as_echo "$ac_try_echo") >&5
  2698    (eval "$ac_compiler -v >&5") 2>&5
  2699    ac_status=$?
  2700    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2701    (exit $ac_status); }
  2702  { (ac_try="$ac_compiler -V >&5"
  2703  case "(($ac_try" in
  2704    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2705    *) ac_try_echo=$ac_try;;
  2706  esac
  2707  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2708  $as_echo "$ac_try_echo") >&5
  2709    (eval "$ac_compiler -V >&5") 2>&5
  2710    ac_status=$?
  2711    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2712    (exit $ac_status); }
  2713  
  2714  cat >conftest.$ac_ext <<_ACEOF
  2715  /* confdefs.h.  */
  2716  _ACEOF
  2717  cat confdefs.h >>conftest.$ac_ext
  2718  cat >>conftest.$ac_ext <<_ACEOF
  2719  /* end confdefs.h.  */
  2720  
  2721  int
  2722  main ()
  2723  {
  2724  
  2725    ;
  2726    return 0;
  2727  }
  2728  _ACEOF
  2729  ac_clean_files_save=$ac_clean_files
  2730  ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2731  # Try to create an executable without -o first, disregard a.out.
  2732  # It will help us diagnose broken compilers, and finding out an intuition
  2733  # of exeext.
  2734  { $as_echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
  2735  $as_echo_n "checking for C++ compiler default output file name... " >&6; }
  2736  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2737  
  2738  # The possible output files:
  2739  ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2740  
  2741  ac_rmfiles=
  2742  for ac_file in $ac_files
  2743  do
  2744    case $ac_file in
  2745      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2746      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2747    esac
  2748  done
  2749  rm -f $ac_rmfiles
  2750  
  2751  if { (ac_try="$ac_link_default"
  2752  case "(($ac_try" in
  2753    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2754    *) ac_try_echo=$ac_try;;
  2755  esac
  2756  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2757  $as_echo "$ac_try_echo") >&5
  2758    (eval "$ac_link_default") 2>&5
  2759    ac_status=$?
  2760    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2761    (exit $ac_status); }; then
  2762    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2763  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2764  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2765  # so that the user can short-circuit this test for compilers unknown to
  2766  # Autoconf.
  2767  for ac_file in $ac_files ''
  2768  do
  2769    test -f "$ac_file" || continue
  2770    case $ac_file in
  2771      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2772  	;;
  2773      [ab].out )
  2774  	# We found the default executable, but exeext='' is most
  2775  	# certainly right.
  2776  	break;;
  2777      *.* )
  2778          if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2779  	then :; else
  2780  	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2781  	fi
  2782  	# We set ac_cv_exeext here because the later test for it is not
  2783  	# safe: cross compilers may not add the suffix if given an `-o'
  2784  	# argument, so we may need to know it at that point already.
  2785  	# Even if this section looks crufty: it has the advantage of
  2786  	# actually working.
  2787  	break;;
  2788      * )
  2789  	break;;
  2790    esac
  2791  done
  2792  test "$ac_cv_exeext" = no && ac_cv_exeext=
  2793  
  2794  else
  2795    ac_file=''
  2796  fi
  2797  
  2798  { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2799  $as_echo "$ac_file" >&6; }
  2800  if test -z "$ac_file"; then
  2801    $as_echo "$as_me: failed program was:" >&5
  2802  sed 's/^/| /' conftest.$ac_ext >&5
  2803  
  2804  { { $as_echo "$as_me:$LINENO: error: C++ compiler cannot create executables
  2805  See \`config.log' for more details." >&5
  2806  $as_echo "$as_me: error: C++ compiler cannot create executables
  2807  See \`config.log' for more details." >&2;}
  2808     { (exit 77); exit 77; }; }
  2809  fi
  2810  
  2811  ac_exeext=$ac_cv_exeext
  2812  
  2813  # Check that the compiler produces executables we can run.  If not, either
  2814  # the compiler is broken, or we cross compile.
  2815  { $as_echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
  2816  $as_echo_n "checking whether the C++ compiler works... " >&6; }
  2817  # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2818  # If not cross compiling, check that we can run a simple program.
  2819  if test "$cross_compiling" != yes; then
  2820    if { ac_try='./$ac_file'
  2821    { (case "(($ac_try" in
  2822    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2823    *) ac_try_echo=$ac_try;;
  2824  esac
  2825  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2826  $as_echo "$ac_try_echo") >&5
  2827    (eval "$ac_try") 2>&5
  2828    ac_status=$?
  2829    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2830    (exit $ac_status); }; }; then
  2831      cross_compiling=no
  2832    else
  2833      if test "$cross_compiling" = maybe; then
  2834  	cross_compiling=yes
  2835      else
  2836  	{ { $as_echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
  2837  If you meant to cross compile, use \`--host'.
  2838  See \`config.log' for more details." >&5
  2839  $as_echo "$as_me: error: cannot run C++ compiled programs.
  2840  If you meant to cross compile, use \`--host'.
  2841  See \`config.log' for more details." >&2;}
  2842     { (exit 1); exit 1; }; }
  2843      fi
  2844    fi
  2845  fi
  2846  { $as_echo "$as_me:$LINENO: result: yes" >&5
  2847  $as_echo "yes" >&6; }
  2848  
  2849  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2850  ac_clean_files=$ac_clean_files_save
  2851  # Check that the compiler produces executables we can run.  If not, either
  2852  # the compiler is broken, or we cross compile.
  2853  { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2854  $as_echo_n "checking whether we are cross compiling... " >&6; }
  2855  { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2856  $as_echo "$cross_compiling" >&6; }
  2857  
  2858  { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2859  $as_echo_n "checking for suffix of executables... " >&6; }
  2860  if { (ac_try="$ac_link"
  2861  case "(($ac_try" in
  2862    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2863    *) ac_try_echo=$ac_try;;
  2864  esac
  2865  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2866  $as_echo "$ac_try_echo") >&5
  2867    (eval "$ac_link") 2>&5
  2868    ac_status=$?
  2869    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2870    (exit $ac_status); }; then
  2871    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2872  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2873  # work properly (i.e., refer to `conftest.exe'), while it won't with
  2874  # `rm'.
  2875  for ac_file in conftest.exe conftest conftest.*; do
  2876    test -f "$ac_file" || continue
  2877    case $ac_file in
  2878      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2879      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2880  	  break;;
  2881      * ) break;;
  2882    esac
  2883  done
  2884  else
  2885    { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2886  See \`config.log' for more details." >&5
  2887  $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2888  See \`config.log' for more details." >&2;}
  2889     { (exit 1); exit 1; }; }
  2890  fi
  2891  
  2892  rm -f conftest$ac_cv_exeext
  2893  { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2894  $as_echo "$ac_cv_exeext" >&6; }
  2895  
  2896  rm -f conftest.$ac_ext
  2897  EXEEXT=$ac_cv_exeext
  2898  ac_exeext=$EXEEXT
  2899  { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2900  $as_echo_n "checking for suffix of object files... " >&6; }
  2901  if test "${ac_cv_objext+set}" = set; then
  2902    $as_echo_n "(cached) " >&6
  2903  else
  2904    cat >conftest.$ac_ext <<_ACEOF
  2905  /* confdefs.h.  */
  2906  _ACEOF
  2907  cat confdefs.h >>conftest.$ac_ext
  2908  cat >>conftest.$ac_ext <<_ACEOF
  2909  /* end confdefs.h.  */
  2910  
  2911  int
  2912  main ()
  2913  {
  2914  
  2915    ;
  2916    return 0;
  2917  }
  2918  _ACEOF
  2919  rm -f conftest.o conftest.obj
  2920  if { (ac_try="$ac_compile"
  2921  case "(($ac_try" in
  2922    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2923    *) ac_try_echo=$ac_try;;
  2924  esac
  2925  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2926  $as_echo "$ac_try_echo") >&5
  2927    (eval "$ac_compile") 2>&5
  2928    ac_status=$?
  2929    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2930    (exit $ac_status); }; then
  2931    for ac_file in conftest.o conftest.obj conftest.*; do
  2932    test -f "$ac_file" || continue;
  2933    case $ac_file in
  2934      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  2935      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2936         break;;
  2937    esac
  2938  done
  2939  else
  2940    $as_echo "$as_me: failed program was:" >&5
  2941  sed 's/^/| /' conftest.$ac_ext >&5
  2942  
  2943  { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2944  See \`config.log' for more details." >&5
  2945  $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2946  See \`config.log' for more details." >&2;}
  2947     { (exit 1); exit 1; }; }
  2948  fi
  2949  
  2950  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2951  fi
  2952  { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2953  $as_echo "$ac_cv_objext" >&6; }
  2954  OBJEXT=$ac_cv_objext
  2955  ac_objext=$OBJEXT
  2956  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  2957  $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  2958  if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  2959    $as_echo_n "(cached) " >&6
  2960  else
  2961    cat >conftest.$ac_ext <<_ACEOF
  2962  /* confdefs.h.  */
  2963  _ACEOF
  2964  cat confdefs.h >>conftest.$ac_ext
  2965  cat >>conftest.$ac_ext <<_ACEOF
  2966  /* end confdefs.h.  */
  2967  
  2968  int
  2969  main ()
  2970  {
  2971  #ifndef __GNUC__
  2972         choke me
  2973  #endif
  2974  
  2975    ;
  2976    return 0;
  2977  }
  2978  _ACEOF
  2979  rm -f conftest.$ac_objext
  2980  if { (ac_try="$ac_compile"
  2981  case "(($ac_try" in
  2982    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2983    *) ac_try_echo=$ac_try;;
  2984  esac
  2985  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2986  $as_echo "$ac_try_echo") >&5
  2987    (eval "$ac_compile") 2>conftest.er1
  2988    ac_status=$?
  2989    grep -v '^ *+' conftest.er1 >conftest.err
  2990    rm -f conftest.er1
  2991    cat conftest.err >&5
  2992    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2993    (exit $ac_status); } && {
  2994  	 test -z "$ac_cxx_werror_flag" ||
  2995  	 test ! -s conftest.err
  2996         } && test -s conftest.$ac_objext; then
  2997    ac_compiler_gnu=yes
  2998  else
  2999    $as_echo "$as_me: failed program was:" >&5
  3000  sed 's/^/| /' conftest.$ac_ext >&5
  3001  
  3002  	ac_compiler_gnu=no
  3003  fi
  3004  
  3005  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3006  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  3007  
  3008  fi
  3009  { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  3010  $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  3011  if test $ac_compiler_gnu = yes; then
  3012    GXX=yes
  3013  else
  3014    GXX=
  3015  fi
  3016  ac_test_CXXFLAGS=${CXXFLAGS+set}
  3017  ac_save_CXXFLAGS=$CXXFLAGS
  3018  { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  3019  $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  3020  if test "${ac_cv_prog_cxx_g+set}" = set; then
  3021    $as_echo_n "(cached) " >&6
  3022  else
  3023    ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  3024     ac_cxx_werror_flag=yes
  3025     ac_cv_prog_cxx_g=no
  3026     CXXFLAGS="-g"
  3027     cat >conftest.$ac_ext <<_ACEOF
  3028  /* confdefs.h.  */
  3029  _ACEOF
  3030  cat confdefs.h >>conftest.$ac_ext
  3031  cat >>conftest.$ac_ext <<_ACEOF
  3032  /* end confdefs.h.  */
  3033  
  3034  int
  3035  main ()
  3036  {
  3037  
  3038    ;
  3039    return 0;
  3040  }
  3041  _ACEOF
  3042  rm -f conftest.$ac_objext
  3043  if { (ac_try="$ac_compile"
  3044  case "(($ac_try" in
  3045    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3046    *) ac_try_echo=$ac_try;;
  3047  esac
  3048  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3049  $as_echo "$ac_try_echo") >&5
  3050    (eval "$ac_compile") 2>conftest.er1
  3051    ac_status=$?
  3052    grep -v '^ *+' conftest.er1 >conftest.err
  3053    rm -f conftest.er1
  3054    cat conftest.err >&5
  3055    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3056    (exit $ac_status); } && {
  3057  	 test -z "$ac_cxx_werror_flag" ||
  3058  	 test ! -s conftest.err
  3059         } && test -s conftest.$ac_objext; then
  3060    ac_cv_prog_cxx_g=yes
  3061  else
  3062    $as_echo "$as_me: failed program was:" >&5
  3063  sed 's/^/| /' conftest.$ac_ext >&5
  3064  
  3065  	CXXFLAGS=""
  3066        cat >conftest.$ac_ext <<_ACEOF
  3067  /* confdefs.h.  */
  3068  _ACEOF
  3069  cat confdefs.h >>conftest.$ac_ext
  3070  cat >>conftest.$ac_ext <<_ACEOF
  3071  /* end confdefs.h.  */
  3072  
  3073  int
  3074  main ()
  3075  {
  3076  
  3077    ;
  3078    return 0;
  3079  }
  3080  _ACEOF
  3081  rm -f conftest.$ac_objext
  3082  if { (ac_try="$ac_compile"
  3083  case "(($ac_try" in
  3084    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3085    *) ac_try_echo=$ac_try;;
  3086  esac
  3087  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3088  $as_echo "$ac_try_echo") >&5
  3089    (eval "$ac_compile") 2>conftest.er1
  3090    ac_status=$?
  3091    grep -v '^ *+' conftest.er1 >conftest.err
  3092    rm -f conftest.er1
  3093    cat conftest.err >&5
  3094    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3095    (exit $ac_status); } && {
  3096  	 test -z "$ac_cxx_werror_flag" ||
  3097  	 test ! -s conftest.err
  3098         } && test -s conftest.$ac_objext; then
  3099    :
  3100  else
  3101    $as_echo "$as_me: failed program was:" >&5
  3102  sed 's/^/| /' conftest.$ac_ext >&5
  3103  
  3104  	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3105  	 CXXFLAGS="-g"
  3106  	 cat >conftest.$ac_ext <<_ACEOF
  3107  /* confdefs.h.  */
  3108  _ACEOF
  3109  cat confdefs.h >>conftest.$ac_ext
  3110  cat >>conftest.$ac_ext <<_ACEOF
  3111  /* end confdefs.h.  */
  3112  
  3113  int
  3114  main ()
  3115  {
  3116  
  3117    ;
  3118    return 0;
  3119  }
  3120  _ACEOF
  3121  rm -f conftest.$ac_objext
  3122  if { (ac_try="$ac_compile"
  3123  case "(($ac_try" in
  3124    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3125    *) ac_try_echo=$ac_try;;
  3126  esac
  3127  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3128  $as_echo "$ac_try_echo") >&5
  3129    (eval "$ac_compile") 2>conftest.er1
  3130    ac_status=$?
  3131    grep -v '^ *+' conftest.er1 >conftest.err
  3132    rm -f conftest.er1
  3133    cat conftest.err >&5
  3134    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3135    (exit $ac_status); } && {
  3136  	 test -z "$ac_cxx_werror_flag" ||
  3137  	 test ! -s conftest.err
  3138         } && test -s conftest.$ac_objext; then
  3139    ac_cv_prog_cxx_g=yes
  3140  else
  3141    $as_echo "$as_me: failed program was:" >&5
  3142  sed 's/^/| /' conftest.$ac_ext >&5
  3143  
  3144  
  3145  fi
  3146  
  3147  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3148  fi
  3149  
  3150  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3151  fi
  3152  
  3153  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3154     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  3155  fi
  3156  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  3157  $as_echo "$ac_cv_prog_cxx_g" >&6; }
  3158  if test "$ac_test_CXXFLAGS" = set; then
  3159    CXXFLAGS=$ac_save_CXXFLAGS
  3160  elif test $ac_cv_prog_cxx_g = yes; then
  3161    if test "$GXX" = yes; then
  3162      CXXFLAGS="-g -O2"
  3163    else
  3164      CXXFLAGS="-g"
  3165    fi
  3166  else
  3167    if test "$GXX" = yes; then
  3168      CXXFLAGS="-O2"
  3169    else
  3170      CXXFLAGS=
  3171    fi
  3172  fi
  3173  ac_ext=c
  3174  ac_cpp='$CPP $CPPFLAGS'
  3175  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3176  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3177  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3178  DEPDIR="${am__leading_dot}deps"
  3179  
  3180  ac_config_commands="$ac_config_commands depfiles"
  3181  
  3182  
  3183  am_make=${MAKE-make}
  3184  cat > confinc << 'END'
  3185  am__doit:
  3186  	@echo done
  3187  .PHONY: am__doit
  3188  END
  3189  # If we don't find an include directive, just comment out the code.
  3190  { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3191  $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3192  am__include="#"
  3193  am__quote=
  3194  _am_result=none
  3195  # First try GNU make style include.
  3196  echo "include confinc" > confmf
  3197  # We grep out `Entering directory' and `Leaving directory'
  3198  # messages which can occur if `w' ends up in MAKEFLAGS.
  3199  # In particular we don't look at `^make:' because GNU make might
  3200  # be invoked under some other name (usually "gmake"), in which
  3201  # case it prints its new name instead of `make'.
  3202  if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  3203     am__include=include
  3204     am__quote=
  3205     _am_result=GNU
  3206  fi
  3207  # Now try BSD make style include.
  3208  if test "$am__include" = "#"; then
  3209     echo '.include "confinc"' > confmf
  3210     if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  3211        am__include=.include
  3212        am__quote="\""
  3213        _am_result=BSD
  3214     fi
  3215  fi
  3216  
  3217  
  3218  { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  3219  $as_echo "$_am_result" >&6; }
  3220  rm -f confinc confmf
  3221  
  3222  # Check whether --enable-dependency-tracking was given.
  3223  if test "${enable_dependency_tracking+set}" = set; then
  3224    enableval=$enable_dependency_tracking;
  3225  fi
  3226  
  3227  if test "x$enable_dependency_tracking" != xno; then
  3228    am_depcomp="$ac_aux_dir/depcomp"
  3229    AMDEPBACKSLASH='\'
  3230  fi
  3231   if test "x$enable_dependency_tracking" != xno; then
  3232    AMDEP_TRUE=
  3233    AMDEP_FALSE='#'
  3234  else
  3235    AMDEP_TRUE='#'
  3236    AMDEP_FALSE=
  3237  fi
  3238  
  3239  
  3240  
  3241  depcc="$CXX"  am_compiler_list=
  3242  
  3243  { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3244  $as_echo_n "checking dependency style of $depcc... " >&6; }
  3245  if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  3246    $as_echo_n "(cached) " >&6
  3247  else
  3248    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3249    # We make a subdir and do the tests there.  Otherwise we can end up
  3250    # making bogus files that we don't know about and never remove.  For
  3251    # instance it was reported that on HP-UX the gcc test will end up
  3252    # making a dummy file named `D' -- because `-MD' means `put the output
  3253    # in D'.
  3254    mkdir conftest.dir
  3255    # Copy depcomp to subdir because otherwise we won't find it if we're
  3256    # using a relative directory.
  3257    cp "$am_depcomp" conftest.dir
  3258    cd conftest.dir
  3259    # We will build objects and dependencies in a subdirectory because
  3260    # it helps to detect inapplicable dependency modes.  For instance
  3261    # both Tru64's cc and ICC support -MD to output dependencies as a
  3262    # side effect of compilation, but ICC will put the dependencies in
  3263    # the current directory while Tru64 will put them in the object
  3264    # directory.
  3265    mkdir sub
  3266  
  3267    am_cv_CXX_dependencies_compiler_type=none
  3268    if test "$am_compiler_list" = ""; then
  3269       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3270    fi
  3271    for depmode in $am_compiler_list; do
  3272      # Setup a source with many dependencies, because some compilers
  3273      # like to wrap large dependency lists on column 80 (with \), and
  3274      # we should not choose a depcomp mode which is confused by this.
  3275      #
  3276      # We need to recreate these files for each test, as the compiler may
  3277      # overwrite some of them when testing with obscure command lines.
  3278      # This happens at least with the AIX C compiler.
  3279      : > sub/conftest.c
  3280      for i in 1 2 3 4 5 6; do
  3281        echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3282        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3283        # Solaris 8's {/usr,}/bin/sh.
  3284        touch sub/conftst$i.h
  3285      done
  3286      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3287  
  3288      case $depmode in
  3289      nosideeffect)
  3290        # after this tag, mechanisms are not by side-effect, so they'll
  3291        # only be used when explicitly requested
  3292        if test "x$enable_dependency_tracking" = xyes; then
  3293  	continue
  3294        else
  3295  	break
  3296        fi
  3297        ;;
  3298      none) break ;;
  3299      esac
  3300      # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3301      # mode.  It turns out that the SunPro C++ compiler does not properly
  3302      # handle `-M -o', and we need to detect this.
  3303      if depmode=$depmode \
  3304         source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3305         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3306         $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3307           >/dev/null 2>conftest.err &&
  3308         grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3309         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3310         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3311         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3312        # icc doesn't choke on unknown options, it will just issue warnings
  3313        # or remarks (even with -Werror).  So we grep stderr for any message
  3314        # that says an option was ignored or not supported.
  3315        # When given -MP, icc 7.0 and 7.1 complain thusly:
  3316        #   icc: Command line warning: ignoring option '-M'; no argument required
  3317        # The diagnosis changed in icc 8.0:
  3318        #   icc: Command line remark: option '-MP' not supported
  3319        if (grep 'ignoring option' conftest.err ||
  3320            grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3321          am_cv_CXX_dependencies_compiler_type=$depmode
  3322          break
  3323        fi
  3324      fi
  3325    done
  3326  
  3327    cd ..
  3328    rm -rf conftest.dir
  3329  else
  3330    am_cv_CXX_dependencies_compiler_type=none
  3331  fi
  3332  
  3333  fi
  3334  { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  3335  $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  3336  CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  3337  
  3338   if
  3339    test "x$enable_dependency_tracking" != xno \
  3340    && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  3341    am__fastdepCXX_TRUE=
  3342    am__fastdepCXX_FALSE='#'
  3343  else
  3344    am__fastdepCXX_TRUE='#'
  3345    am__fastdepCXX_FALSE=
  3346  fi
  3347  
  3348  
  3349  ac_ext=c
  3350  ac_cpp='$CPP $CPPFLAGS'
  3351  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3352  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3353  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3354  if test -n "$ac_tool_prefix"; then
  3355    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3356  set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3357  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3358  $as_echo_n "checking for $ac_word... " >&6; }
  3359  if test "${ac_cv_prog_CC+set}" = set; then
  3360    $as_echo_n "(cached) " >&6
  3361  else
  3362    if test -n "$CC"; then
  3363    ac_cv_prog_CC="$CC" # Let the user override the test.
  3364  else
  3365  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3366  for as_dir in $PATH
  3367  do
  3368    IFS=$as_save_IFS
  3369    test -z "$as_dir" && as_dir=.
  3370    for ac_exec_ext in '' $ac_executable_extensions; do
  3371    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3372      ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3373      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3374      break 2
  3375    fi
  3376  done
  3377  done
  3378  IFS=$as_save_IFS
  3379  
  3380  fi
  3381  fi
  3382  CC=$ac_cv_prog_CC
  3383  if test -n "$CC"; then
  3384    { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3385  $as_echo "$CC" >&6; }
  3386  else
  3387    { $as_echo "$as_me:$LINENO: result: no" >&5
  3388  $as_echo "no" >&6; }
  3389  fi
  3390  
  3391  
  3392  fi
  3393  if test -z "$ac_cv_prog_CC"; then
  3394    ac_ct_CC=$CC
  3395    # Extract the first word of "gcc", so it can be a program name with args.
  3396  set dummy gcc; ac_word=$2
  3397  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3398  $as_echo_n "checking for $ac_word... " >&6; }
  3399  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3400    $as_echo_n "(cached) " >&6
  3401  else
  3402    if test -n "$ac_ct_CC"; then
  3403    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3404  else
  3405  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3406  for as_dir in $PATH
  3407  do
  3408    IFS=$as_save_IFS
  3409    test -z "$as_dir" && as_dir=.
  3410    for ac_exec_ext in '' $ac_executable_extensions; do
  3411    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3412      ac_cv_prog_ac_ct_CC="gcc"
  3413      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3414      break 2
  3415    fi
  3416  done
  3417  done
  3418  IFS=$as_save_IFS
  3419  
  3420  fi
  3421  fi
  3422  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3423  if test -n "$ac_ct_CC"; then
  3424    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3425  $as_echo "$ac_ct_CC" >&6; }
  3426  else
  3427    { $as_echo "$as_me:$LINENO: result: no" >&5
  3428  $as_echo "no" >&6; }
  3429  fi
  3430  
  3431    if test "x$ac_ct_CC" = x; then
  3432      CC=""
  3433    else
  3434      case $cross_compiling:$ac_tool_warned in
  3435  yes:)
  3436  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3437  whose name does not start with the host triplet.  If you think this
  3438  configuration is useful to you, please write to autoconf@gnu.org." >&5
  3439  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3440  whose name does not start with the host triplet.  If you think this
  3441  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3442  ac_tool_warned=yes ;;
  3443  esac
  3444      CC=$ac_ct_CC
  3445    fi
  3446  else
  3447    CC="$ac_cv_prog_CC"
  3448  fi
  3449  
  3450  if test -z "$CC"; then
  3451            if test -n "$ac_tool_prefix"; then
  3452      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3453  set dummy ${ac_tool_prefix}cc; ac_word=$2
  3454  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3455  $as_echo_n "checking for $ac_word... " >&6; }
  3456  if test "${ac_cv_prog_CC+set}" = set; then
  3457    $as_echo_n "(cached) " >&6
  3458  else
  3459    if test -n "$CC"; then
  3460    ac_cv_prog_CC="$CC" # Let the user override the test.
  3461  else
  3462  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3463  for as_dir in $PATH
  3464  do
  3465    IFS=$as_save_IFS
  3466    test -z "$as_dir" && as_dir=.
  3467    for ac_exec_ext in '' $ac_executable_extensions; do
  3468    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3469      ac_cv_prog_CC="${ac_tool_prefix}cc"
  3470      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3471      break 2
  3472    fi
  3473  done
  3474  done
  3475  IFS=$as_save_IFS
  3476  
  3477  fi
  3478  fi
  3479  CC=$ac_cv_prog_CC
  3480  if test -n "$CC"; then
  3481    { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3482  $as_echo "$CC" >&6; }
  3483  else
  3484    { $as_echo "$as_me:$LINENO: result: no" >&5
  3485  $as_echo "no" >&6; }
  3486  fi
  3487  
  3488  
  3489    fi
  3490  fi
  3491  if test -z "$CC"; then
  3492    # Extract the first word of "cc", so it can be a program name with args.
  3493  set dummy cc; ac_word=$2
  3494  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3495  $as_echo_n "checking for $ac_word... " >&6; }
  3496  if test "${ac_cv_prog_CC+set}" = set; then
  3497    $as_echo_n "(cached) " >&6
  3498  else
  3499    if test -n "$CC"; then
  3500    ac_cv_prog_CC="$CC" # Let the user override the test.
  3501  else
  3502    ac_prog_rejected=no
  3503  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3504  for as_dir in $PATH
  3505  do
  3506    IFS=$as_save_IFS
  3507    test -z "$as_dir" && as_dir=.
  3508    for ac_exec_ext in '' $ac_executable_extensions; do
  3509    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3510      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3511         ac_prog_rejected=yes
  3512         continue
  3513       fi
  3514      ac_cv_prog_CC="cc"
  3515      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3516      break 2
  3517    fi
  3518  done
  3519  done
  3520  IFS=$as_save_IFS
  3521  
  3522  if test $ac_prog_rejected = yes; then
  3523    # We found a bogon in the path, so make sure we never use it.
  3524    set dummy $ac_cv_prog_CC
  3525    shift
  3526    if test $# != 0; then
  3527      # We chose a different compiler from the bogus one.
  3528      # However, it has the same basename, so the bogon will be chosen
  3529      # first if we set CC to just the basename; use the full file name.
  3530      shift
  3531      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3532    fi
  3533  fi
  3534  fi
  3535  fi
  3536  CC=$ac_cv_prog_CC
  3537  if test -n "$CC"; then
  3538    { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3539  $as_echo "$CC" >&6; }
  3540  else
  3541    { $as_echo "$as_me:$LINENO: result: no" >&5
  3542  $as_echo "no" >&6; }
  3543  fi
  3544  
  3545  
  3546  fi
  3547  if test -z "$CC"; then
  3548    if test -n "$ac_tool_prefix"; then
  3549    for ac_prog in cl.exe
  3550    do
  3551      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3552  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3553  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3554  $as_echo_n "checking for $ac_word... " >&6; }
  3555  if test "${ac_cv_prog_CC+set}" = set; then
  3556    $as_echo_n "(cached) " >&6
  3557  else
  3558    if test -n "$CC"; then
  3559    ac_cv_prog_CC="$CC" # Let the user override the test.
  3560  else
  3561  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3562  for as_dir in $PATH
  3563  do
  3564    IFS=$as_save_IFS
  3565    test -z "$as_dir" && as_dir=.
  3566    for ac_exec_ext in '' $ac_executable_extensions; do
  3567    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3568      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3569      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3570      break 2
  3571    fi
  3572  done
  3573  done
  3574  IFS=$as_save_IFS
  3575  
  3576  fi
  3577  fi
  3578  CC=$ac_cv_prog_CC
  3579  if test -n "$CC"; then
  3580    { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3581  $as_echo "$CC" >&6; }
  3582  else
  3583    { $as_echo "$as_me:$LINENO: result: no" >&5
  3584  $as_echo "no" >&6; }
  3585  fi
  3586  
  3587  
  3588      test -n "$CC" && break
  3589    done
  3590  fi
  3591  if test -z "$CC"; then
  3592    ac_ct_CC=$CC
  3593    for ac_prog in cl.exe
  3594  do
  3595    # Extract the first word of "$ac_prog", so it can be a program name with args.
  3596  set dummy $ac_prog; ac_word=$2
  3597  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3598  $as_echo_n "checking for $ac_word... " >&6; }
  3599  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3600    $as_echo_n "(cached) " >&6
  3601  else
  3602    if test -n "$ac_ct_CC"; then
  3603    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3604  else
  3605  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3606  for as_dir in $PATH
  3607  do
  3608    IFS=$as_save_IFS
  3609    test -z "$as_dir" && as_dir=.
  3610    for ac_exec_ext in '' $ac_executable_extensions; do
  3611    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3612      ac_cv_prog_ac_ct_CC="$ac_prog"
  3613      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3614      break 2
  3615    fi
  3616  done
  3617  done
  3618  IFS=$as_save_IFS
  3619  
  3620  fi
  3621  fi
  3622  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3623  if test -n "$ac_ct_CC"; then
  3624    { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3625  $as_echo "$ac_ct_CC" >&6; }
  3626  else
  3627    { $as_echo "$as_me:$LINENO: result: no" >&5
  3628  $as_echo "no" >&6; }
  3629  fi
  3630  
  3631  
  3632    test -n "$ac_ct_CC" && break
  3633  done
  3634  
  3635    if test "x$ac_ct_CC" = x; then
  3636      CC=""
  3637    else
  3638      case $cross_compiling:$ac_tool_warned in
  3639  yes:)
  3640  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3641  whose name does not start with the host triplet.  If you think this
  3642  configuration is useful to you, please write to autoconf@gnu.org." >&5
  3643  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3644  whose name does not start with the host triplet.  If you think this
  3645  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3646  ac_tool_warned=yes ;;
  3647  esac
  3648      CC=$ac_ct_CC
  3649    fi
  3650  fi
  3651  
  3652  fi
  3653  
  3654  
  3655  test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3656  See \`config.log' for more details." >&5
  3657  $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3658  See \`config.log' for more details." >&2;}
  3659     { (exit 1); exit 1; }; }
  3660  
  3661  # Provide some information about the compiler.
  3662  $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3663  set X $ac_compile
  3664  ac_compiler=$2
  3665  { (ac_try="$ac_compiler --version >&5"
  3666  case "(($ac_try" in
  3667    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3668    *) ac_try_echo=$ac_try;;
  3669  esac
  3670  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3671  $as_echo "$ac_try_echo") >&5
  3672    (eval "$ac_compiler --version >&5") 2>&5
  3673    ac_status=$?
  3674    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3675    (exit $ac_status); }
  3676  { (ac_try="$ac_compiler -v >&5"
  3677  case "(($ac_try" in
  3678    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3679    *) ac_try_echo=$ac_try;;
  3680  esac
  3681  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3682  $as_echo "$ac_try_echo") >&5
  3683    (eval "$ac_compiler -v >&5") 2>&5
  3684    ac_status=$?
  3685    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3686    (exit $ac_status); }
  3687  { (ac_try="$ac_compiler -V >&5"
  3688  case "(($ac_try" in
  3689    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3690    *) ac_try_echo=$ac_try;;
  3691  esac
  3692  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3693  $as_echo "$ac_try_echo") >&5
  3694    (eval "$ac_compiler -V >&5") 2>&5
  3695    ac_status=$?
  3696    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3697    (exit $ac_status); }
  3698  
  3699  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3700  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3701  if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3702    $as_echo_n "(cached) " >&6
  3703  else
  3704    cat >conftest.$ac_ext <<_ACEOF
  3705  /* confdefs.h.  */
  3706  _ACEOF
  3707  cat confdefs.h >>conftest.$ac_ext
  3708  cat >>conftest.$ac_ext <<_ACEOF
  3709  /* end confdefs.h.  */
  3710  
  3711  int
  3712  main ()
  3713  {
  3714  #ifndef __GNUC__
  3715         choke me
  3716  #endif
  3717  
  3718    ;
  3719    return 0;
  3720  }
  3721  _ACEOF
  3722  rm -f conftest.$ac_objext
  3723  if { (ac_try="$ac_compile"
  3724  case "(($ac_try" in
  3725    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3726    *) ac_try_echo=$ac_try;;
  3727  esac
  3728  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3729  $as_echo "$ac_try_echo") >&5
  3730    (eval "$ac_compile") 2>conftest.er1
  3731    ac_status=$?
  3732    grep -v '^ *+' conftest.er1 >conftest.err
  3733    rm -f conftest.er1
  3734    cat conftest.err >&5
  3735    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3736    (exit $ac_status); } && {
  3737  	 test -z "$ac_c_werror_flag" ||
  3738  	 test ! -s conftest.err
  3739         } && test -s conftest.$ac_objext; then
  3740    ac_compiler_gnu=yes
  3741  else
  3742    $as_echo "$as_me: failed program was:" >&5
  3743  sed 's/^/| /' conftest.$ac_ext >&5
  3744  
  3745  	ac_compiler_gnu=no
  3746  fi
  3747  
  3748  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3749  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3750  
  3751  fi
  3752  { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3753  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3754  if test $ac_compiler_gnu = yes; then
  3755    GCC=yes
  3756  else
  3757    GCC=
  3758  fi
  3759  ac_test_CFLAGS=${CFLAGS+set}
  3760  ac_save_CFLAGS=$CFLAGS
  3761  { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3762  $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3763  if test "${ac_cv_prog_cc_g+set}" = set; then
  3764    $as_echo_n "(cached) " >&6
  3765  else
  3766    ac_save_c_werror_flag=$ac_c_werror_flag
  3767     ac_c_werror_flag=yes
  3768     ac_cv_prog_cc_g=no
  3769     CFLAGS="-g"
  3770     cat >conftest.$ac_ext <<_ACEOF
  3771  /* confdefs.h.  */
  3772  _ACEOF
  3773  cat confdefs.h >>conftest.$ac_ext
  3774  cat >>conftest.$ac_ext <<_ACEOF
  3775  /* end confdefs.h.  */
  3776  
  3777  int
  3778  main ()
  3779  {
  3780  
  3781    ;
  3782    return 0;
  3783  }
  3784  _ACEOF
  3785  rm -f conftest.$ac_objext
  3786  if { (ac_try="$ac_compile"
  3787  case "(($ac_try" in
  3788    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3789    *) ac_try_echo=$ac_try;;
  3790  esac
  3791  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3792  $as_echo "$ac_try_echo") >&5
  3793    (eval "$ac_compile") 2>conftest.er1
  3794    ac_status=$?
  3795    grep -v '^ *+' conftest.er1 >conftest.err
  3796    rm -f conftest.er1
  3797    cat conftest.err >&5
  3798    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3799    (exit $ac_status); } && {
  3800  	 test -z "$ac_c_werror_flag" ||
  3801  	 test ! -s conftest.err
  3802         } && test -s conftest.$ac_objext; then
  3803    ac_cv_prog_cc_g=yes
  3804  else
  3805    $as_echo "$as_me: failed program was:" >&5
  3806  sed 's/^/| /' conftest.$ac_ext >&5
  3807  
  3808  	CFLAGS=""
  3809        cat >conftest.$ac_ext <<_ACEOF
  3810  /* confdefs.h.  */
  3811  _ACEOF
  3812  cat confdefs.h >>conftest.$ac_ext
  3813  cat >>conftest.$ac_ext <<_ACEOF
  3814  /* end confdefs.h.  */
  3815  
  3816  int
  3817  main ()
  3818  {
  3819  
  3820    ;
  3821    return 0;
  3822  }
  3823  _ACEOF
  3824  rm -f conftest.$ac_objext
  3825  if { (ac_try="$ac_compile"
  3826  case "(($ac_try" in
  3827    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3828    *) ac_try_echo=$ac_try;;
  3829  esac
  3830  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3831  $as_echo "$ac_try_echo") >&5
  3832    (eval "$ac_compile") 2>conftest.er1
  3833    ac_status=$?
  3834    grep -v '^ *+' conftest.er1 >conftest.err
  3835    rm -f conftest.er1
  3836    cat conftest.err >&5
  3837    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3838    (exit $ac_status); } && {
  3839  	 test -z "$ac_c_werror_flag" ||
  3840  	 test ! -s conftest.err
  3841         } && test -s conftest.$ac_objext; then
  3842    :
  3843  else
  3844    $as_echo "$as_me: failed program was:" >&5
  3845  sed 's/^/| /' conftest.$ac_ext >&5
  3846  
  3847  	ac_c_werror_flag=$ac_save_c_werror_flag
  3848  	 CFLAGS="-g"
  3849  	 cat >conftest.$ac_ext <<_ACEOF
  3850  /* confdefs.h.  */
  3851  _ACEOF
  3852  cat confdefs.h >>conftest.$ac_ext
  3853  cat >>conftest.$ac_ext <<_ACEOF
  3854  /* end confdefs.h.  */
  3855  
  3856  int
  3857  main ()
  3858  {
  3859  
  3860    ;
  3861    return 0;
  3862  }
  3863  _ACEOF
  3864  rm -f conftest.$ac_objext
  3865  if { (ac_try="$ac_compile"
  3866  case "(($ac_try" in
  3867    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3868    *) ac_try_echo=$ac_try;;
  3869  esac
  3870  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3871  $as_echo "$ac_try_echo") >&5
  3872    (eval "$ac_compile") 2>conftest.er1
  3873    ac_status=$?
  3874    grep -v '^ *+' conftest.er1 >conftest.err
  3875    rm -f conftest.er1
  3876    cat conftest.err >&5
  3877    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3878    (exit $ac_status); } && {
  3879  	 test -z "$ac_c_werror_flag" ||
  3880  	 test ! -s conftest.err
  3881         } && test -s conftest.$ac_objext; then
  3882    ac_cv_prog_cc_g=yes
  3883  else
  3884    $as_echo "$as_me: failed program was:" >&5
  3885  sed 's/^/| /' conftest.$ac_ext >&5
  3886  
  3887  
  3888  fi
  3889  
  3890  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3891  fi
  3892  
  3893  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3894  fi
  3895  
  3896  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3897     ac_c_werror_flag=$ac_save_c_werror_flag
  3898  fi
  3899  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3900  $as_echo "$ac_cv_prog_cc_g" >&6; }
  3901  if test "$ac_test_CFLAGS" = set; then
  3902    CFLAGS=$ac_save_CFLAGS
  3903  elif test $ac_cv_prog_cc_g = yes; then
  3904    if test "$GCC" = yes; then
  3905      CFLAGS="-g -O2"
  3906    else
  3907      CFLAGS="-g"
  3908    fi
  3909  else
  3910    if test "$GCC" = yes; then
  3911      CFLAGS="-O2"
  3912    else
  3913      CFLAGS=
  3914    fi
  3915  fi
  3916  { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3917  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3918  if test "${ac_cv_prog_cc_c89+set}" = set; then
  3919    $as_echo_n "(cached) " >&6
  3920  else
  3921    ac_cv_prog_cc_c89=no
  3922  ac_save_CC=$CC
  3923  cat >conftest.$ac_ext <<_ACEOF
  3924  /* confdefs.h.  */
  3925  _ACEOF
  3926  cat confdefs.h >>conftest.$ac_ext
  3927  cat >>conftest.$ac_ext <<_ACEOF
  3928  /* end confdefs.h.  */
  3929  #include <stdarg.h>
  3930  #include <stdio.h>
  3931  #include <sys/types.h>
  3932  #include <sys/stat.h>
  3933  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3934  struct buf { int x; };
  3935  FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3936  static char *e (p, i)
  3937       char **p;
  3938       int i;
  3939  {
  3940    return p[i];
  3941  }
  3942  static char *f (char * (*g) (char **, int), char **p, ...)
  3943  {
  3944    char *s;
  3945    va_list v;
  3946    va_start (v,p);
  3947    s = g (p, va_arg (v,int));
  3948    va_end (v);
  3949    return s;
  3950  }
  3951  
  3952  /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3953     function prototypes and stuff, but not '\xHH' hex character constants.
  3954     These don't provoke an error unfortunately, instead are silently treated
  3955     as 'x'.  The following induces an error, until -std is added to get
  3956     proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3957     array size at least.  It's necessary to write '\x00'==0 to get something
  3958     that's true only with -std.  */
  3959  int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3960  
  3961  /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3962     inside strings and character constants.  */
  3963  #define FOO(x) 'x'
  3964  int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3965  
  3966  int test (int i, double x);
  3967  struct s1 {int (*f) (int a);};
  3968  struct s2 {int (*f) (double a);};
  3969  int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3970  int argc;
  3971  char **argv;
  3972  int
  3973  main ()
  3974  {
  3975  return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3976    ;
  3977    return 0;
  3978  }
  3979  _ACEOF
  3980  for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3981  	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3982  do
  3983    CC="$ac_save_CC $ac_arg"
  3984    rm -f conftest.$ac_objext
  3985  if { (ac_try="$ac_compile"
  3986  case "(($ac_try" in
  3987    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3988    *) ac_try_echo=$ac_try;;
  3989  esac
  3990  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3991  $as_echo "$ac_try_echo") >&5
  3992    (eval "$ac_compile") 2>conftest.er1
  3993    ac_status=$?
  3994    grep -v '^ *+' conftest.er1 >conftest.err
  3995    rm -f conftest.er1
  3996    cat conftest.err >&5
  3997    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3998    (exit $ac_status); } && {
  3999  	 test -z "$ac_c_werror_flag" ||
  4000  	 test ! -s conftest.err
  4001         } && test -s conftest.$ac_objext; then
  4002    ac_cv_prog_cc_c89=$ac_arg
  4003  else
  4004    $as_echo "$as_me: failed program was:" >&5
  4005  sed 's/^/| /' conftest.$ac_ext >&5
  4006  
  4007  
  4008  fi
  4009  
  4010  rm -f core conftest.err conftest.$ac_objext
  4011    test "x$ac_cv_prog_cc_c89" != "xno" && break
  4012  done
  4013  rm -f conftest.$ac_ext
  4014  CC=$ac_save_CC
  4015  
  4016  fi
  4017  # AC_CACHE_VAL
  4018  case "x$ac_cv_prog_cc_c89" in
  4019    x)
  4020      { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4021  $as_echo "none needed" >&6; } ;;
  4022    xno)
  4023      { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4024  $as_echo "unsupported" >&6; } ;;
  4025    *)
  4026      CC="$CC $ac_cv_prog_cc_c89"
  4027      { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4028  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4029  esac
  4030  
  4031  
  4032  ac_ext=c
  4033  ac_cpp='$CPP $CPPFLAGS'
  4034  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4035  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4036  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4037  
  4038  depcc="$CC"   am_compiler_list=
  4039  
  4040  { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4041  $as_echo_n "checking dependency style of $depcc... " >&6; }
  4042  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4043    $as_echo_n "(cached) " >&6
  4044  else
  4045    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4046    # We make a subdir and do the tests there.  Otherwise we can end up
  4047    # making bogus files that we don't know about and never remove.  For
  4048    # instance it was reported that on HP-UX the gcc test will end up
  4049    # making a dummy file named `D' -- because `-MD' means `put the output
  4050    # in D'.
  4051    mkdir conftest.dir
  4052    # Copy depcomp to subdir because otherwise we won't find it if we're
  4053    # using a relative directory.
  4054    cp "$am_depcomp" conftest.dir
  4055    cd conftest.dir
  4056    # We will build objects and dependencies in a subdirectory because
  4057    # it helps to detect inapplicable dependency modes.  For instance
  4058    # both Tru64's cc and ICC support -MD to output dependencies as a
  4059    # side effect of compilation, but ICC will put the dependencies in
  4060    # the current directory while Tru64 will put them in the object
  4061    # directory.
  4062    mkdir sub
  4063  
  4064    am_cv_CC_dependencies_compiler_type=none
  4065    if test "$am_compiler_list" = ""; then
  4066       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4067    fi
  4068    for depmode in $am_compiler_list; do
  4069      # Setup a source with many dependencies, because some compilers
  4070      # like to wrap large dependency lists on column 80 (with \), and
  4071      # we should not choose a depcomp mode which is confused by this.
  4072      #
  4073      # We need to recreate these files for each test, as the compiler may
  4074      # overwrite some of them when testing with obscure command lines.
  4075      # This happens at least with the AIX C compiler.
  4076      : > sub/conftest.c
  4077      for i in 1 2 3 4 5 6; do
  4078        echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4079        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4080        # Solaris 8's {/usr,}/bin/sh.
  4081        touch sub/conftst$i.h
  4082      done
  4083      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4084  
  4085      case $depmode in
  4086      nosideeffect)
  4087        # after this tag, mechanisms are not by side-effect, so they'll
  4088        # only be used when explicitly requested
  4089        if test "x$enable_dependency_tracking" = xyes; then
  4090  	continue
  4091        else
  4092  	break
  4093        fi
  4094        ;;
  4095      none) break ;;
  4096      esac
  4097      # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4098      # mode.  It turns out that the SunPro C++ compiler does not properly
  4099      # handle `-M -o', and we need to detect this.
  4100      if depmode=$depmode \
  4101         source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4102         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4103         $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4104           >/dev/null 2>conftest.err &&
  4105         grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4106         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4107         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4108         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4109        # icc doesn't choke on unknown options, it will just issue warnings
  4110        # or remarks (even with -Werror).  So we grep stderr for any message
  4111        # that says an option was ignored or not supported.
  4112        # When given -MP, icc 7.0 and 7.1 complain thusly:
  4113        #   icc: Command line warning: ignoring option '-M'; no argument required
  4114        # The diagnosis changed in icc 8.0:
  4115        #   icc: Command line remark: option '-MP' not supported
  4116        if (grep 'ignoring option' conftest.err ||
  4117            grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4118          am_cv_CC_dependencies_compiler_type=$depmode
  4119          break
  4120        fi
  4121      fi
  4122    done
  4123  
  4124    cd ..
  4125    rm -rf conftest.dir
  4126  else
  4127    am_cv_CC_dependencies_compiler_type=none
  4128  fi
  4129  
  4130  fi
  4131  { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4132  $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4133  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4134  
  4135   if
  4136    test "x$enable_dependency_tracking" != xno \
  4137    && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4138    am__fastdepCC_TRUE=
  4139    am__fastdepCC_FALSE='#'
  4140  else
  4141    am__fastdepCC_TRUE='#'
  4142    am__fastdepCC_FALSE=
  4143  fi
  4144  
  4145  
  4146  ac_ext=c
  4147  ac_cpp='$CPP $CPPFLAGS'
  4148  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4149  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4150  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4151  { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  4152  $as_echo_n "checking how to run the C preprocessor... " >&6; }
  4153  # On Suns, sometimes $CPP names a directory.
  4154  if test -n "$CPP" && test -d "$CPP"; then
  4155    CPP=
  4156  fi
  4157  if test -z "$CPP"; then
  4158    if test "${ac_cv_prog_CPP+set}" = set; then
  4159    $as_echo_n "(cached) " >&6
  4160  else
  4161        # Double quotes because CPP needs to be expanded
  4162      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  4163      do
  4164        ac_preproc_ok=false
  4165  for ac_c_preproc_warn_flag in '' yes
  4166  do
  4167    # Use a header file that comes with gcc, so configuring glibc
  4168    # with a fresh cross-compiler works.
  4169    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4170    # <limits.h> exists even on freestanding compilers.
  4171    # On the NeXT, cc -E runs the code through the compiler's parser,
  4172    # not just through cpp. "Syntax error" is here to catch this case.
  4173    cat >conftest.$ac_ext <<_ACEOF
  4174  /* confdefs.h.  */
  4175  _ACEOF
  4176  cat confdefs.h >>conftest.$ac_ext
  4177  cat >>conftest.$ac_ext <<_ACEOF
  4178  /* end confdefs.h.  */
  4179  #ifdef __STDC__
  4180  # include <limits.h>
  4181  #else
  4182  # include <assert.h>
  4183  #endif
  4184  		     Syntax error
  4185  _ACEOF
  4186  if { (ac_try="$ac_cpp conftest.$ac_ext"
  4187  case "(($ac_try" in
  4188    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4189    *) ac_try_echo=$ac_try;;
  4190  esac
  4191  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4192  $as_echo "$ac_try_echo") >&5
  4193    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4194    ac_status=$?
  4195    grep -v '^ *+' conftest.er1 >conftest.err
  4196    rm -f conftest.er1
  4197    cat conftest.err >&5
  4198    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4199    (exit $ac_status); } >/dev/null && {
  4200  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4201  	 test ! -s conftest.err
  4202         }; then
  4203    :
  4204  else
  4205    $as_echo "$as_me: failed program was:" >&5
  4206  sed 's/^/| /' conftest.$ac_ext >&5
  4207  
  4208    # Broken: fails on valid input.
  4209  continue
  4210  fi
  4211  
  4212  rm -f conftest.err conftest.$ac_ext
  4213  
  4214    # OK, works on sane cases.  Now check whether nonexistent headers
  4215    # can be detected and how.
  4216    cat >conftest.$ac_ext <<_ACEOF
  4217  /* confdefs.h.  */
  4218  _ACEOF
  4219  cat confdefs.h >>conftest.$ac_ext
  4220  cat >>conftest.$ac_ext <<_ACEOF
  4221  /* end confdefs.h.  */
  4222  #include <ac_nonexistent.h>
  4223  _ACEOF
  4224  if { (ac_try="$ac_cpp conftest.$ac_ext"
  4225  case "(($ac_try" in
  4226    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4227    *) ac_try_echo=$ac_try;;
  4228  esac
  4229  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4230  $as_echo "$ac_try_echo") >&5
  4231    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4232    ac_status=$?
  4233    grep -v '^ *+' conftest.er1 >conftest.err
  4234    rm -f conftest.er1
  4235    cat conftest.err >&5
  4236    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4237    (exit $ac_status); } >/dev/null && {
  4238  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4239  	 test ! -s conftest.err
  4240         }; then
  4241    # Broken: success on invalid input.
  4242  continue
  4243  else
  4244    $as_echo "$as_me: failed program was:" >&5
  4245  sed 's/^/| /' conftest.$ac_ext >&5
  4246  
  4247    # Passes both tests.
  4248  ac_preproc_ok=:
  4249  break
  4250  fi
  4251  
  4252  rm -f conftest.err conftest.$ac_ext
  4253  
  4254  done
  4255  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4256  rm -f conftest.err conftest.$ac_ext
  4257  if $ac_preproc_ok; then
  4258    break
  4259  fi
  4260  
  4261      done
  4262      ac_cv_prog_CPP=$CPP
  4263  
  4264  fi
  4265    CPP=$ac_cv_prog_CPP
  4266  else
  4267    ac_cv_prog_CPP=$CPP
  4268  fi
  4269  { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  4270  $as_echo "$CPP" >&6; }
  4271  ac_preproc_ok=false
  4272  for ac_c_preproc_warn_flag in '' yes
  4273  do
  4274    # Use a header file that comes with gcc, so configuring glibc
  4275    # with a fresh cross-compiler works.
  4276    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  4277    # <limits.h> exists even on freestanding compilers.
  4278    # On the NeXT, cc -E runs the code through the compiler's parser,
  4279    # not just through cpp. "Syntax error" is here to catch this case.
  4280    cat >conftest.$ac_ext <<_ACEOF
  4281  /* confdefs.h.  */
  4282  _ACEOF
  4283  cat confdefs.h >>conftest.$ac_ext
  4284  cat >>conftest.$ac_ext <<_ACEOF
  4285  /* end confdefs.h.  */
  4286  #ifdef __STDC__
  4287  # include <limits.h>
  4288  #else
  4289  # include <assert.h>
  4290  #endif
  4291  		     Syntax error
  4292  _ACEOF
  4293  if { (ac_try="$ac_cpp conftest.$ac_ext"
  4294  case "(($ac_try" in
  4295    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4296    *) ac_try_echo=$ac_try;;
  4297  esac
  4298  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4299  $as_echo "$ac_try_echo") >&5
  4300    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4301    ac_status=$?
  4302    grep -v '^ *+' conftest.er1 >conftest.err
  4303    rm -f conftest.er1
  4304    cat conftest.err >&5
  4305    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4306    (exit $ac_status); } >/dev/null && {
  4307  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4308  	 test ! -s conftest.err
  4309         }; then
  4310    :
  4311  else
  4312    $as_echo "$as_me: failed program was:" >&5
  4313  sed 's/^/| /' conftest.$ac_ext >&5
  4314  
  4315    # Broken: fails on valid input.
  4316  continue
  4317  fi
  4318  
  4319  rm -f conftest.err conftest.$ac_ext
  4320  
  4321    # OK, works on sane cases.  Now check whether nonexistent headers
  4322    # can be detected and how.
  4323    cat >conftest.$ac_ext <<_ACEOF
  4324  /* confdefs.h.  */
  4325  _ACEOF
  4326  cat confdefs.h >>conftest.$ac_ext
  4327  cat >>conftest.$ac_ext <<_ACEOF
  4328  /* end confdefs.h.  */
  4329  #include <ac_nonexistent.h>
  4330  _ACEOF
  4331  if { (ac_try="$ac_cpp conftest.$ac_ext"
  4332  case "(($ac_try" in
  4333    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4334    *) ac_try_echo=$ac_try;;
  4335  esac
  4336  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4337  $as_echo "$ac_try_echo") >&5
  4338    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4339    ac_status=$?
  4340    grep -v '^ *+' conftest.er1 >conftest.err
  4341    rm -f conftest.er1
  4342    cat conftest.err >&5
  4343    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4344    (exit $ac_status); } >/dev/null && {
  4345  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4346  	 test ! -s conftest.err
  4347         }; then
  4348    # Broken: success on invalid input.
  4349  continue
  4350  else
  4351    $as_echo "$as_me: failed program was:" >&5
  4352  sed 's/^/| /' conftest.$ac_ext >&5
  4353  
  4354    # Passes both tests.
  4355  ac_preproc_ok=:
  4356  break
  4357  fi
  4358  
  4359  rm -f conftest.err conftest.$ac_ext
  4360  
  4361  done
  4362  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  4363  rm -f conftest.err conftest.$ac_ext
  4364  if $ac_preproc_ok; then
  4365    :
  4366  else
  4367    { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  4368  See \`config.log' for more details." >&5
  4369  $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  4370  See \`config.log' for more details." >&2;}
  4371     { (exit 1); exit 1; }; }
  4372  fi
  4373  
  4374  ac_ext=c
  4375  ac_cpp='$CPP $CPPFLAGS'
  4376  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4377  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4378  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4379  
  4380   if test "$GCC" = yes; then
  4381    GCC_TRUE=
  4382    GCC_FALSE='#'
  4383  else
  4384    GCC_TRUE='#'
  4385    GCC_FALSE=
  4386  fi
  4387     # let the Makefile know if we're gcc
  4388  # Make sure we can run config.sub.
  4389  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  4390    { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  4391  $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  4392     { (exit 1); exit 1; }; }
  4393  
  4394  { $as_echo "$as_me:$LINENO: checking build system type" >&5
  4395  $as_echo_n "checking build system type... " >&6; }
  4396  if test "${ac_cv_build+set}" = set; then
  4397    $as_echo_n "(cached) " >&6
  4398  else
  4399    ac_build_alias=$build_alias
  4400  test "x$ac_build_alias" = x &&
  4401    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  4402  test "x$ac_build_alias" = x &&
  4403    { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  4404  $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  4405     { (exit 1); exit 1; }; }
  4406  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  4407    { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  4408  $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  4409     { (exit 1); exit 1; }; }
  4410  
  4411  fi
  4412  { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  4413  $as_echo "$ac_cv_build" >&6; }
  4414  case $ac_cv_build in
  4415  *-*-*) ;;
  4416  *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  4417  $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  4418     { (exit 1); exit 1; }; };;
  4419  esac
  4420  build=$ac_cv_build
  4421  ac_save_IFS=$IFS; IFS='-'
  4422  set x $ac_cv_build
  4423  shift
  4424  build_cpu=$1
  4425  build_vendor=$2
  4426  shift; shift
  4427  # Remember, the first character of IFS is used to create $*,
  4428  # except with old shells:
  4429  build_os=$*
  4430  IFS=$ac_save_IFS
  4431  case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  4432  
  4433  
  4434  { $as_echo "$as_me:$LINENO: checking host system type" >&5
  4435  $as_echo_n "checking host system type... " >&6; }
  4436  if test "${ac_cv_host+set}" = set; then
  4437    $as_echo_n "(cached) " >&6
  4438  else
  4439    if test "x$host_alias" = x; then
  4440    ac_cv_host=$ac_cv_build
  4441  else
  4442    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4443      { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4444  $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4445     { (exit 1); exit 1; }; }
  4446  fi
  4447  
  4448  fi
  4449  { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4450  $as_echo "$ac_cv_host" >&6; }
  4451  case $ac_cv_host in
  4452  *-*-*) ;;
  4453  *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4454  $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  4455     { (exit 1); exit 1; }; };;
  4456  esac
  4457  host=$ac_cv_host
  4458  ac_save_IFS=$IFS; IFS='-'
  4459  set x $ac_cv_host
  4460  shift
  4461  host_cpu=$1
  4462  host_vendor=$2
  4463  shift; shift
  4464  # Remember, the first character of IFS is used to create $*,
  4465  # except with old shells:
  4466  host_os=$*
  4467  IFS=$ac_save_IFS
  4468  case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4469  
  4470  
  4471  
  4472  # MinGW uses autoconf, but also needs the windows shim routines
  4473  # (since it doesn't have its own support for, say, pthreads).
  4474  # This requires us to #include a special header file, and also to
  4475  # link in some windows versions of .o's instead of the unix versions.
  4476  
  4477  
  4478  # Populate $host_cpu, $host_os, etc.
  4479  { $as_echo "$as_me:$LINENO: checking host system type" >&5
  4480  $as_echo_n "checking host system type... " >&6; }
  4481  if test "${ac_cv_host+set}" = set; then
  4482    $as_echo_n "(cached) " >&6
  4483  else
  4484    if test "x$host_alias" = x; then
  4485    ac_cv_host=$ac_cv_build
  4486  else
  4487    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  4488      { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  4489  $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  4490     { (exit 1); exit 1; }; }
  4491  fi
  4492  
  4493  fi
  4494  { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  4495  $as_echo "$ac_cv_host" >&6; }
  4496  case $ac_cv_host in
  4497  *-*-*) ;;
  4498  *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  4499  $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  4500     { (exit 1); exit 1; }; };;
  4501  esac
  4502  host=$ac_cv_host
  4503  ac_save_IFS=$IFS; IFS='-'
  4504  set x $ac_cv_host
  4505  shift
  4506  host_cpu=$1
  4507  host_vendor=$2
  4508  shift; shift
  4509  # Remember, the first character of IFS is used to create $*,
  4510  # except with old shells:
  4511  host_os=$*
  4512  IFS=$ac_save_IFS
  4513  case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4514  
  4515  
  4516  case $host_os in
  4517    *mingw*)
  4518      # Disabling fast install keeps libtool from creating wrapper scripts
  4519      # around the executables it builds.  Such scripts have caused failures on
  4520      # MinGW.  Using this option means an extra link step is executed during
  4521      # "make install".
  4522      # Check whether --enable-fast-install was given.
  4523  if test "${enable_fast_install+set}" = set; then
  4524    enableval=$enable_fast_install; p=${PACKAGE-default}
  4525      case $enableval in
  4526      yes) enable_fast_install=yes ;;
  4527      no) enable_fast_install=no ;;
  4528      *)
  4529        enable_fast_install=no
  4530        # Look at the argument we got.  We use all the common list separators.
  4531        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4532        for pkg in $enableval; do
  4533  	IFS="$lt_save_ifs"
  4534  	if test "X$pkg" = "X$p"; then
  4535  	  enable_fast_install=yes
  4536  	fi
  4537        done
  4538        IFS="$lt_save_ifs"
  4539        ;;
  4540      esac
  4541  else
  4542    enable_fast_install=no
  4543  fi
  4544  
  4545  
  4546  
  4547  
  4548  
  4549  
  4550  
  4551  
  4552  
  4553      # /tmp is a mount-point in mingw, and hard to use.  use cwd instead
  4554      TEST_TMPDIR=gflags_testdir
  4555      ;;
  4556      *)
  4557      # Check whether --enable-fast-install was given.
  4558  if test "${enable_fast_install+set}" = set; then
  4559    enableval=$enable_fast_install; p=${PACKAGE-default}
  4560      case $enableval in
  4561      yes) enable_fast_install=yes ;;
  4562      no) enable_fast_install=no ;;
  4563      *)
  4564        enable_fast_install=no
  4565        # Look at the argument we got.  We use all the common list separators.
  4566        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  4567        for pkg in $enableval; do
  4568  	IFS="$lt_save_ifs"
  4569  	if test "X$pkg" = "X$p"; then
  4570  	  enable_fast_install=yes
  4571  	fi
  4572        done
  4573        IFS="$lt_save_ifs"
  4574        ;;
  4575      esac
  4576  else
  4577    enable_fast_install=yes
  4578  fi
  4579  
  4580  
  4581  
  4582  
  4583  
  4584  
  4585      TEST_TMPDIR=/tmp/gflags
  4586      ;;
  4587  esac
  4588  
  4589  
  4590  # Uncomment this if you'll be exporting libraries (.so's)
  4591  case `pwd` in
  4592    *\ * | *\	*)
  4593      { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4594  $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4595  esac
  4596  
  4597  
  4598  
  4599  macro_version='2.2.6b'
  4600  macro_revision='1.3017'
  4601  
  4602  
  4603  
  4604  
  4605  
  4606  
  4607  
  4608  
  4609  
  4610  
  4611  
  4612  
  4613  
  4614  ltmain="$ac_aux_dir/ltmain.sh"
  4615  
  4616  { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  4617  $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4618  if test "${ac_cv_path_SED+set}" = set; then
  4619    $as_echo_n "(cached) " >&6
  4620  else
  4621              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4622       for ac_i in 1 2 3 4 5 6 7; do
  4623         ac_script="$ac_script$as_nl$ac_script"
  4624       done
  4625       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4626       $as_unset ac_script || ac_script=
  4627       if test -z "$SED"; then
  4628    ac_path_SED_found=false
  4629    # Loop through the user's path and test for each of PROGNAME-LIST
  4630    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4631  for as_dir in $PATH
  4632  do
  4633    IFS=$as_save_IFS
  4634    test -z "$as_dir" && as_dir=.
  4635    for ac_prog in sed gsed; do
  4636      for ac_exec_ext in '' $ac_executable_extensions; do
  4637        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4638        { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  4639  # Check for GNU ac_path_SED and select it if it is found.
  4640    # Check for GNU $ac_path_SED
  4641  case `"$ac_path_SED" --version 2>&1` in
  4642  *GNU*)
  4643    ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4644  *)
  4645    ac_count=0
  4646    $as_echo_n 0123456789 >"conftest.in"
  4647    while :
  4648    do
  4649      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4650      mv "conftest.tmp" "conftest.in"
  4651      cp "conftest.in" "conftest.nl"
  4652      $as_echo '' >> "conftest.nl"
  4653      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4654      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4655      ac_count=`expr $ac_count + 1`
  4656      if test $ac_count -gt ${ac_path_SED_max-0}; then
  4657        # Best one so far, save it but keep looking for a better one
  4658        ac_cv_path_SED="$ac_path_SED"
  4659        ac_path_SED_max=$ac_count
  4660      fi
  4661      # 10*(2^10) chars as input seems more than enough
  4662      test $ac_count -gt 10 && break
  4663    done
  4664    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4665  esac
  4666  
  4667        $ac_path_SED_found && break 3
  4668      done
  4669    done
  4670  done
  4671  IFS=$as_save_IFS
  4672    if test -z "$ac_cv_path_SED"; then
  4673      { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  4674  $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  4675     { (exit 1); exit 1; }; }
  4676    fi
  4677  else
  4678    ac_cv_path_SED=$SED
  4679  fi
  4680  
  4681  fi
  4682  { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  4683  $as_echo "$ac_cv_path_SED" >&6; }
  4684   SED="$ac_cv_path_SED"
  4685    rm -f conftest.sed
  4686  
  4687  test -z "$SED" && SED=sed
  4688  Xsed="$SED -e 1s/^X//"
  4689  
  4690  
  4691  
  4692  
  4693  
  4694  
  4695  
  4696  
  4697  
  4698  
  4699  
  4700  { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4701  $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4702  if test "${ac_cv_path_GREP+set}" = set; then
  4703    $as_echo_n "(cached) " >&6
  4704  else
  4705    if test -z "$GREP"; then
  4706    ac_path_GREP_found=false
  4707    # Loop through the user's path and test for each of PROGNAME-LIST
  4708    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4709  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4710  do
  4711    IFS=$as_save_IFS
  4712    test -z "$as_dir" && as_dir=.
  4713    for ac_prog in grep ggrep; do
  4714      for ac_exec_ext in '' $ac_executable_extensions; do
  4715        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4716        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4717  # Check for GNU ac_path_GREP and select it if it is found.
  4718    # Check for GNU $ac_path_GREP
  4719  case `"$ac_path_GREP" --version 2>&1` in
  4720  *GNU*)
  4721    ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4722  *)
  4723    ac_count=0
  4724    $as_echo_n 0123456789 >"conftest.in"
  4725    while :
  4726    do
  4727      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4728      mv "conftest.tmp" "conftest.in"
  4729      cp "conftest.in" "conftest.nl"
  4730      $as_echo 'GREP' >> "conftest.nl"
  4731      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4732      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4733      ac_count=`expr $ac_count + 1`
  4734      if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4735        # Best one so far, save it but keep looking for a better one
  4736        ac_cv_path_GREP="$ac_path_GREP"
  4737        ac_path_GREP_max=$ac_count
  4738      fi
  4739      # 10*(2^10) chars as input seems more than enough
  4740      test $ac_count -gt 10 && break
  4741    done
  4742    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4743  esac
  4744  
  4745        $ac_path_GREP_found && break 3
  4746      done
  4747    done
  4748  done
  4749  IFS=$as_save_IFS
  4750    if test -z "$ac_cv_path_GREP"; then
  4751      { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4752  $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4753     { (exit 1); exit 1; }; }
  4754    fi
  4755  else
  4756    ac_cv_path_GREP=$GREP
  4757  fi
  4758  
  4759  fi
  4760  { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4761  $as_echo "$ac_cv_path_GREP" >&6; }
  4762   GREP="$ac_cv_path_GREP"
  4763  
  4764  
  4765  { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  4766  $as_echo_n "checking for egrep... " >&6; }
  4767  if test "${ac_cv_path_EGREP+set}" = set; then
  4768    $as_echo_n "(cached) " >&6
  4769  else
  4770    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4771     then ac_cv_path_EGREP="$GREP -E"
  4772     else
  4773       if test -z "$EGREP"; then
  4774    ac_path_EGREP_found=false
  4775    # Loop through the user's path and test for each of PROGNAME-LIST
  4776    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4777  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4778  do
  4779    IFS=$as_save_IFS
  4780    test -z "$as_dir" && as_dir=.
  4781    for ac_prog in egrep; do
  4782      for ac_exec_ext in '' $ac_executable_extensions; do
  4783        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4784        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4785  # Check for GNU ac_path_EGREP and select it if it is found.
  4786    # Check for GNU $ac_path_EGREP
  4787  case `"$ac_path_EGREP" --version 2>&1` in
  4788  *GNU*)
  4789    ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4790  *)
  4791    ac_count=0
  4792    $as_echo_n 0123456789 >"conftest.in"
  4793    while :
  4794    do
  4795      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4796      mv "conftest.tmp" "conftest.in"
  4797      cp "conftest.in" "conftest.nl"
  4798      $as_echo 'EGREP' >> "conftest.nl"
  4799      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4800      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4801      ac_count=`expr $ac_count + 1`
  4802      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4803        # Best one so far, save it but keep looking for a better one
  4804        ac_cv_path_EGREP="$ac_path_EGREP"
  4805        ac_path_EGREP_max=$ac_count
  4806      fi
  4807      # 10*(2^10) chars as input seems more than enough
  4808      test $ac_count -gt 10 && break
  4809    done
  4810    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4811  esac
  4812  
  4813        $ac_path_EGREP_found && break 3
  4814      done
  4815    done
  4816  done
  4817  IFS=$as_save_IFS
  4818    if test -z "$ac_cv_path_EGREP"; then
  4819      { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4820  $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4821     { (exit 1); exit 1; }; }
  4822    fi
  4823  else
  4824    ac_cv_path_EGREP=$EGREP
  4825  fi
  4826  
  4827     fi
  4828  fi
  4829  { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4830  $as_echo "$ac_cv_path_EGREP" >&6; }
  4831   EGREP="$ac_cv_path_EGREP"
  4832  
  4833  
  4834  { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
  4835  $as_echo_n "checking for fgrep... " >&6; }
  4836  if test "${ac_cv_path_FGREP+set}" = set; then
  4837    $as_echo_n "(cached) " >&6
  4838  else
  4839    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4840     then ac_cv_path_FGREP="$GREP -F"
  4841     else
  4842       if test -z "$FGREP"; then
  4843    ac_path_FGREP_found=false
  4844    # Loop through the user's path and test for each of PROGNAME-LIST
  4845    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4846  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4847  do
  4848    IFS=$as_save_IFS
  4849    test -z "$as_dir" && as_dir=.
  4850    for ac_prog in fgrep; do
  4851      for ac_exec_ext in '' $ac_executable_extensions; do
  4852        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4853        { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  4854  # Check for GNU ac_path_FGREP and select it if it is found.
  4855    # Check for GNU $ac_path_FGREP
  4856  case `"$ac_path_FGREP" --version 2>&1` in
  4857  *GNU*)
  4858    ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4859  *)
  4860    ac_count=0
  4861    $as_echo_n 0123456789 >"conftest.in"
  4862    while :
  4863    do
  4864      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4865      mv "conftest.tmp" "conftest.in"
  4866      cp "conftest.in" "conftest.nl"
  4867      $as_echo 'FGREP' >> "conftest.nl"
  4868      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4869      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4870      ac_count=`expr $ac_count + 1`
  4871      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4872        # Best one so far, save it but keep looking for a better one
  4873        ac_cv_path_FGREP="$ac_path_FGREP"
  4874        ac_path_FGREP_max=$ac_count
  4875      fi
  4876      # 10*(2^10) chars as input seems more than enough
  4877      test $ac_count -gt 10 && break
  4878    done
  4879    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4880  esac
  4881  
  4882        $ac_path_FGREP_found && break 3
  4883      done
  4884    done
  4885  done
  4886  IFS=$as_save_IFS
  4887    if test -z "$ac_cv_path_FGREP"; then
  4888      { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4889  $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4890     { (exit 1); exit 1; }; }
  4891    fi
  4892  else
  4893    ac_cv_path_FGREP=$FGREP
  4894  fi
  4895  
  4896     fi
  4897  fi
  4898  { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  4899  $as_echo "$ac_cv_path_FGREP" >&6; }
  4900   FGREP="$ac_cv_path_FGREP"
  4901  
  4902  
  4903  test -z "$GREP" && GREP=grep
  4904  
  4905  
  4906  
  4907  
  4908  
  4909  
  4910  
  4911  
  4912  
  4913  
  4914  
  4915  
  4916  
  4917  
  4918  
  4919  
  4920  
  4921  
  4922  
  4923  # Check whether --with-gnu-ld was given.
  4924  if test "${with_gnu_ld+set}" = set; then
  4925    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4926  else
  4927    with_gnu_ld=no
  4928  fi
  4929  
  4930  ac_prog=ld
  4931  if test "$GCC" = yes; then
  4932    # Check if gcc -print-prog-name=ld gives a path.
  4933    { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  4934  $as_echo_n "checking for ld used by $CC... " >&6; }
  4935    case $host in
  4936    *-*-mingw*)
  4937      # gcc leaves a trailing carriage return which upsets mingw
  4938      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4939    *)
  4940      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4941    esac
  4942    case $ac_prog in
  4943      # Accept absolute paths.
  4944      [\\/]* | ?:[\\/]*)
  4945        re_direlt='/[^/][^/]*/\.\./'
  4946        # Canonicalize the pathname of ld
  4947        ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4948        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4949  	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4950        done
  4951        test -z "$LD" && LD="$ac_prog"
  4952        ;;
  4953    "")
  4954      # If it fails, then pretend we aren't using GCC.
  4955      ac_prog=ld
  4956      ;;
  4957    *)
  4958      # If it is relative, then search for the first ld in PATH.
  4959      with_gnu_ld=unknown
  4960      ;;
  4961    esac
  4962  elif test "$with_gnu_ld" = yes; then
  4963    { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  4964  $as_echo_n "checking for GNU ld... " >&6; }
  4965  else
  4966    { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  4967  $as_echo_n "checking for non-GNU ld... " >&6; }
  4968  fi
  4969  if test "${lt_cv_path_LD+set}" = set; then
  4970    $as_echo_n "(cached) " >&6
  4971  else
  4972    if test -z "$LD"; then
  4973    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4974    for ac_dir in $PATH; do
  4975      IFS="$lt_save_ifs"
  4976      test -z "$ac_dir" && ac_dir=.
  4977      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4978        lt_cv_path_LD="$ac_dir/$ac_prog"
  4979        # Check to see if the program is GNU ld.  I'd rather use --version,
  4980        # but apparently some variants of GNU ld only accept -v.
  4981        # Break only if it was the GNU/non-GNU ld that we prefer.
  4982        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4983        *GNU* | *'with BFD'*)
  4984  	test "$with_gnu_ld" != no && break
  4985  	;;
  4986        *)
  4987  	test "$with_gnu_ld" != yes && break
  4988  	;;
  4989        esac
  4990      fi
  4991    done
  4992    IFS="$lt_save_ifs"
  4993  else
  4994    lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4995  fi
  4996  fi
  4997  
  4998  LD="$lt_cv_path_LD"
  4999  if test -n "$LD"; then
  5000    { $as_echo "$as_me:$LINENO: result: $LD" >&5
  5001  $as_echo "$LD" >&6; }
  5002  else
  5003    { $as_echo "$as_me:$LINENO: result: no" >&5
  5004  $as_echo "no" >&6; }
  5005  fi
  5006  test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  5007  $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  5008     { (exit 1); exit 1; }; }
  5009  { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  5010  $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5011  if test "${lt_cv_prog_gnu_ld+set}" = set; then
  5012    $as_echo_n "(cached) " >&6
  5013  else
  5014    # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5015  case `$LD -v 2>&1 </dev/null` in
  5016  *GNU* | *'with BFD'*)
  5017    lt_cv_prog_gnu_ld=yes
  5018    ;;
  5019  *)
  5020    lt_cv_prog_gnu_ld=no
  5021    ;;
  5022  esac
  5023  fi
  5024  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  5025  $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5026  with_gnu_ld=$lt_cv_prog_gnu_ld
  5027  
  5028  
  5029  
  5030  
  5031  
  5032  
  5033  
  5034  
  5035  
  5036  { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  5037  $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5038  if test "${lt_cv_path_NM+set}" = set; then
  5039    $as_echo_n "(cached) " >&6
  5040  else
  5041    if test -n "$NM"; then
  5042    # Let the user override the test.
  5043    lt_cv_path_NM="$NM"
  5044  else
  5045    lt_nm_to_check="${ac_tool_prefix}nm"
  5046    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5047      lt_nm_to_check="$lt_nm_to_check nm"
  5048    fi
  5049    for lt_tmp_nm in $lt_nm_to_check; do
  5050      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5051      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5052        IFS="$lt_save_ifs"
  5053        test -z "$ac_dir" && ac_dir=.
  5054        tmp_nm="$ac_dir/$lt_tmp_nm"
  5055        if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5056  	# Check to see if the nm accepts a BSD-compat flag.
  5057  	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5058  	#   nm: unknown option "B" ignored
  5059  	# Tru64's nm complains that /dev/null is an invalid object file
  5060  	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5061  	*/dev/null* | *'Invalid file or object type'*)
  5062  	  lt_cv_path_NM="$tmp_nm -B"
  5063  	  break
  5064  	  ;;
  5065  	*)
  5066  	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5067  	  */dev/null*)
  5068  	    lt_cv_path_NM="$tmp_nm -p"
  5069  	    break
  5070  	    ;;
  5071  	  *)
  5072  	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5073  	    continue # so that we can try to find one that supports BSD flags
  5074  	    ;;
  5075  	  esac
  5076  	  ;;
  5077  	esac
  5078        fi
  5079      done
  5080      IFS="$lt_save_ifs"
  5081    done
  5082    : ${lt_cv_path_NM=no}
  5083  fi
  5084  fi
  5085  { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  5086  $as_echo "$lt_cv_path_NM" >&6; }
  5087  if test "$lt_cv_path_NM" != "no"; then
  5088    NM="$lt_cv_path_NM"
  5089  else
  5090    # Didn't find any BSD compatible name lister, look for dumpbin.
  5091    if test -n "$ac_tool_prefix"; then
  5092    for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  5093    do
  5094      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5095  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5096  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5097  $as_echo_n "checking for $ac_word... " >&6; }
  5098  if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  5099    $as_echo_n "(cached) " >&6
  5100  else
  5101    if test -n "$DUMPBIN"; then
  5102    ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5103  else
  5104  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5105  for as_dir in $PATH
  5106  do
  5107    IFS=$as_save_IFS
  5108    test -z "$as_dir" && as_dir=.
  5109    for ac_exec_ext in '' $ac_executable_extensions; do
  5110    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5111      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5112      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5113      break 2
  5114    fi
  5115  done
  5116  done
  5117  IFS=$as_save_IFS
  5118  
  5119  fi
  5120  fi
  5121  DUMPBIN=$ac_cv_prog_DUMPBIN
  5122  if test -n "$DUMPBIN"; then
  5123    { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  5124  $as_echo "$DUMPBIN" >&6; }
  5125  else
  5126    { $as_echo "$as_me:$LINENO: result: no" >&5
  5127  $as_echo "no" >&6; }
  5128  fi
  5129  
  5130  
  5131      test -n "$DUMPBIN" && break
  5132    done
  5133  fi
  5134  if test -z "$DUMPBIN"; then
  5135    ac_ct_DUMPBIN=$DUMPBIN
  5136    for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  5137  do
  5138    # Extract the first word of "$ac_prog", so it can be a program name with args.
  5139  set dummy $ac_prog; ac_word=$2
  5140  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5141  $as_echo_n "checking for $ac_word... " >&6; }
  5142  if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  5143    $as_echo_n "(cached) " >&6
  5144  else
  5145    if test -n "$ac_ct_DUMPBIN"; then
  5146    ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5147  else
  5148  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5149  for as_dir in $PATH
  5150  do
  5151    IFS=$as_save_IFS
  5152    test -z "$as_dir" && as_dir=.
  5153    for ac_exec_ext in '' $ac_executable_extensions; do
  5154    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5155      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5156      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5157      break 2
  5158    fi
  5159  done
  5160  done
  5161  IFS=$as_save_IFS
  5162  
  5163  fi
  5164  fi
  5165  ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5166  if test -n "$ac_ct_DUMPBIN"; then
  5167    { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  5168  $as_echo "$ac_ct_DUMPBIN" >&6; }
  5169  else
  5170    { $as_echo "$as_me:$LINENO: result: no" >&5
  5171  $as_echo "no" >&6; }
  5172  fi
  5173  
  5174  
  5175    test -n "$ac_ct_DUMPBIN" && break
  5176  done
  5177  
  5178    if test "x$ac_ct_DUMPBIN" = x; then
  5179      DUMPBIN=":"
  5180    else
  5181      case $cross_compiling:$ac_tool_warned in
  5182  yes:)
  5183  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5184  whose name does not start with the host triplet.  If you think this
  5185  configuration is useful to you, please write to autoconf@gnu.org." >&5
  5186  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5187  whose name does not start with the host triplet.  If you think this
  5188  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5189  ac_tool_warned=yes ;;
  5190  esac
  5191      DUMPBIN=$ac_ct_DUMPBIN
  5192    fi
  5193  fi
  5194  
  5195  
  5196    if test "$DUMPBIN" != ":"; then
  5197      NM="$DUMPBIN"
  5198    fi
  5199  fi
  5200  test -z "$NM" && NM=nm
  5201  
  5202  
  5203  
  5204  
  5205  
  5206  
  5207  { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  5208  $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5209  if test "${lt_cv_nm_interface+set}" = set; then
  5210    $as_echo_n "(cached) " >&6
  5211  else
  5212    lt_cv_nm_interface="BSD nm"
  5213    echo "int some_variable = 0;" > conftest.$ac_ext
  5214    (eval echo "\"\$as_me:5214: $ac_compile\"" >&5)
  5215    (eval "$ac_compile" 2>conftest.err)
  5216    cat conftest.err >&5
  5217    (eval echo "\"\$as_me:5217: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5218    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5219    cat conftest.err >&5
  5220    (eval echo "\"\$as_me:5220: output\"" >&5)
  5221    cat conftest.out >&5
  5222    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5223      lt_cv_nm_interface="MS dumpbin"
  5224    fi
  5225    rm -f conftest*
  5226  fi
  5227  { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  5228  $as_echo "$lt_cv_nm_interface" >&6; }
  5229  
  5230  { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  5231  $as_echo_n "checking whether ln -s works... " >&6; }
  5232  LN_S=$as_ln_s
  5233  if test "$LN_S" = "ln -s"; then
  5234    { $as_echo "$as_me:$LINENO: result: yes" >&5
  5235  $as_echo "yes" >&6; }
  5236  else
  5237    { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  5238  $as_echo "no, using $LN_S" >&6; }
  5239  fi
  5240  
  5241  # find the maximum length of command line arguments
  5242  { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  5243  $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5244  if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  5245    $as_echo_n "(cached) " >&6
  5246  else
  5247      i=0
  5248    teststring="ABCD"
  5249  
  5250    case $build_os in
  5251    msdosdjgpp*)
  5252      # On DJGPP, this test can blow up pretty badly due to problems in libc
  5253      # (any single argument exceeding 2000 bytes causes a buffer overrun
  5254      # during glob expansion).  Even if it were fixed, the result of this
  5255      # check would be larger than it should be.
  5256      lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  5257      ;;
  5258  
  5259    gnu*)
  5260      # Under GNU Hurd, this test is not required because there is
  5261      # no limit to the length of command line arguments.
  5262      # Libtool will interpret -1 as no limit whatsoever
  5263      lt_cv_sys_max_cmd_len=-1;
  5264      ;;
  5265  
  5266    cygwin* | mingw* | cegcc*)
  5267      # On Win9x/ME, this test blows up -- it succeeds, but takes
  5268      # about 5 minutes as the teststring grows exponentially.
  5269      # Worse, since 9x/ME are not pre-emptively multitasking,
  5270      # you end up with a "frozen" computer, even though with patience
  5271      # the test eventually succeeds (with a max line length of 256k).
  5272      # Instead, let's just punt: use the minimum linelength reported by
  5273      # all of the supported platforms: 8192 (on NT/2K/XP).
  5274      lt_cv_sys_max_cmd_len=8192;
  5275      ;;
  5276  
  5277    amigaos*)
  5278      # On AmigaOS with pdksh, this test takes hours, literally.
  5279      # So we just punt and use a minimum line length of 8192.
  5280      lt_cv_sys_max_cmd_len=8192;
  5281      ;;
  5282  
  5283    netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5284      # This has been around since 386BSD, at least.  Likely further.
  5285      if test -x /sbin/sysctl; then
  5286        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5287      elif test -x /usr/sbin/sysctl; then
  5288        lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5289      else
  5290        lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  5291      fi
  5292      # And add a safety zone
  5293      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5294      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5295      ;;
  5296  
  5297    interix*)
  5298      # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5299      lt_cv_sys_max_cmd_len=196608
  5300      ;;
  5301  
  5302    osf*)
  5303      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5304      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5305      # nice to cause kernel panics so lets avoid the loop below.
  5306      # First set a reasonable default.
  5307      lt_cv_sys_max_cmd_len=16384
  5308      #
  5309      if test -x /sbin/sysconfig; then
  5310        case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5311          *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5312        esac
  5313      fi
  5314      ;;
  5315    sco3.2v5*)
  5316      lt_cv_sys_max_cmd_len=102400
  5317      ;;
  5318    sysv5* | sco5v6* | sysv4.2uw2*)
  5319      kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5320      if test -n "$kargmax"; then
  5321        lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  5322      else
  5323        lt_cv_sys_max_cmd_len=32768
  5324      fi
  5325      ;;
  5326    *)
  5327      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5328      if test -n "$lt_cv_sys_max_cmd_len"; then
  5329        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5330        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5331      else
  5332        # Make teststring a little bigger before we do anything with it.
  5333        # a 1K string should be a reasonable start.
  5334        for i in 1 2 3 4 5 6 7 8 ; do
  5335          teststring=$teststring$teststring
  5336        done
  5337        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5338        # If test is not a shell built-in, we'll probably end up computing a
  5339        # maximum length that is only half of the actual maximum length, but
  5340        # we can't tell.
  5341        while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  5342  	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  5343  	      test $i != 17 # 1/2 MB should be enough
  5344        do
  5345          i=`expr $i + 1`
  5346          teststring=$teststring$teststring
  5347        done
  5348        # Only check the string length outside the loop.
  5349        lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5350        teststring=
  5351        # Add a significant safety factor because C++ compilers can tack on
  5352        # massive amounts of additional arguments before passing them to the
  5353        # linker.  It appears as though 1/2 is a usable value.
  5354        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5355      fi
  5356      ;;
  5357    esac
  5358  
  5359  fi
  5360  
  5361  if test -n $lt_cv_sys_max_cmd_len ; then
  5362    { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  5363  $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5364  else
  5365    { $as_echo "$as_me:$LINENO: result: none" >&5
  5366  $as_echo "none" >&6; }
  5367  fi
  5368  max_cmd_len=$lt_cv_sys_max_cmd_len
  5369  
  5370  
  5371  
  5372  
  5373  
  5374  
  5375  : ${CP="cp -f"}
  5376  : ${MV="mv -f"}
  5377  : ${RM="rm -f"}
  5378  
  5379  { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  5380  $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5381  # Try some XSI features
  5382  xsi_shell=no
  5383  ( _lt_dummy="a/b/c"
  5384    test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  5385        = c,a/b,, \
  5386      && eval 'test $(( 1 + 1 )) -eq 2 \
  5387      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5388    && xsi_shell=yes
  5389  { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
  5390  $as_echo "$xsi_shell" >&6; }
  5391  
  5392  
  5393  { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  5394  $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5395  lt_shell_append=no
  5396  ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5397      >/dev/null 2>&1 \
  5398    && lt_shell_append=yes
  5399  { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  5400  $as_echo "$lt_shell_append" >&6; }
  5401  
  5402  
  5403  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5404    lt_unset=unset
  5405  else
  5406    lt_unset=false
  5407  fi
  5408  
  5409  
  5410  
  5411  
  5412  
  5413  # test EBCDIC or ASCII
  5414  case `echo X|tr X '\101'` in
  5415   A) # ASCII based system
  5416      # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5417    lt_SP2NL='tr \040 \012'
  5418    lt_NL2SP='tr \015\012 \040\040'
  5419    ;;
  5420   *) # EBCDIC based system
  5421    lt_SP2NL='tr \100 \n'
  5422    lt_NL2SP='tr \r\n \100\100'
  5423    ;;
  5424  esac
  5425  
  5426  
  5427  
  5428  
  5429  
  5430  
  5431  
  5432  
  5433  
  5434  { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  5435  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5436  if test "${lt_cv_ld_reload_flag+set}" = set; then
  5437    $as_echo_n "(cached) " >&6
  5438  else
  5439    lt_cv_ld_reload_flag='-r'
  5440  fi
  5441  { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  5442  $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5443  reload_flag=$lt_cv_ld_reload_flag
  5444  case $reload_flag in
  5445  "" | " "*) ;;
  5446  *) reload_flag=" $reload_flag" ;;
  5447  esac
  5448  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5449  case $host_os in
  5450    darwin*)
  5451      if test "$GCC" = yes; then
  5452        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5453      else
  5454        reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5455      fi
  5456      ;;
  5457  esac
  5458  
  5459  
  5460  
  5461  
  5462  
  5463  
  5464  
  5465  
  5466  
  5467  if test -n "$ac_tool_prefix"; then
  5468    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5469  set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5470  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5471  $as_echo_n "checking for $ac_word... " >&6; }
  5472  if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  5473    $as_echo_n "(cached) " >&6
  5474  else
  5475    if test -n "$OBJDUMP"; then
  5476    ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5477  else
  5478  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5479  for as_dir in $PATH
  5480  do
  5481    IFS=$as_save_IFS
  5482    test -z "$as_dir" && as_dir=.
  5483    for ac_exec_ext in '' $ac_executable_extensions; do
  5484    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5485      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5486      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5487      break 2
  5488    fi
  5489  done
  5490  done
  5491  IFS=$as_save_IFS
  5492  
  5493  fi
  5494  fi
  5495  OBJDUMP=$ac_cv_prog_OBJDUMP
  5496  if test -n "$OBJDUMP"; then
  5497    { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  5498  $as_echo "$OBJDUMP" >&6; }
  5499  else
  5500    { $as_echo "$as_me:$LINENO: result: no" >&5
  5501  $as_echo "no" >&6; }
  5502  fi
  5503  
  5504  
  5505  fi
  5506  if test -z "$ac_cv_prog_OBJDUMP"; then
  5507    ac_ct_OBJDUMP=$OBJDUMP
  5508    # Extract the first word of "objdump", so it can be a program name with args.
  5509  set dummy objdump; ac_word=$2
  5510  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5511  $as_echo_n "checking for $ac_word... " >&6; }
  5512  if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  5513    $as_echo_n "(cached) " >&6
  5514  else
  5515    if test -n "$ac_ct_OBJDUMP"; then
  5516    ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5517  else
  5518  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5519  for as_dir in $PATH
  5520  do
  5521    IFS=$as_save_IFS
  5522    test -z "$as_dir" && as_dir=.
  5523    for ac_exec_ext in '' $ac_executable_extensions; do
  5524    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5525      ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5526      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5527      break 2
  5528    fi
  5529  done
  5530  done
  5531  IFS=$as_save_IFS
  5532  
  5533  fi
  5534  fi
  5535  ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5536  if test -n "$ac_ct_OBJDUMP"; then
  5537    { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  5538  $as_echo "$ac_ct_OBJDUMP" >&6; }
  5539  else
  5540    { $as_echo "$as_me:$LINENO: result: no" >&5
  5541  $as_echo "no" >&6; }
  5542  fi
  5543  
  5544    if test "x$ac_ct_OBJDUMP" = x; then
  5545      OBJDUMP="false"
  5546    else
  5547      case $cross_compiling:$ac_tool_warned in
  5548  yes:)
  5549  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5550  whose name does not start with the host triplet.  If you think this
  5551  configuration is useful to you, please write to autoconf@gnu.org." >&5
  5552  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5553  whose name does not start with the host triplet.  If you think this
  5554  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5555  ac_tool_warned=yes ;;
  5556  esac
  5557      OBJDUMP=$ac_ct_OBJDUMP
  5558    fi
  5559  else
  5560    OBJDUMP="$ac_cv_prog_OBJDUMP"
  5561  fi
  5562  
  5563  test -z "$OBJDUMP" && OBJDUMP=objdump
  5564  
  5565  
  5566  
  5567  
  5568  
  5569  
  5570  
  5571  
  5572  
  5573  { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  5574  $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5575  if test "${lt_cv_deplibs_check_method+set}" = set; then
  5576    $as_echo_n "(cached) " >&6
  5577  else
  5578    lt_cv_file_magic_cmd='$MAGIC_CMD'
  5579  lt_cv_file_magic_test_file=
  5580  lt_cv_deplibs_check_method='unknown'
  5581  # Need to set the preceding variable on all platforms that support
  5582  # interlibrary dependencies.
  5583  # 'none' -- dependencies not supported.
  5584  # `unknown' -- same as none, but documents that we really don't know.
  5585  # 'pass_all' -- all dependencies passed with no checks.
  5586  # 'test_compile' -- check by making test program.
  5587  # 'file_magic [[regex]]' -- check by looking for files in library path
  5588  # which responds to the $file_magic_cmd with a given extended regex.
  5589  # If you have `file' or equivalent on your system and you're not sure
  5590  # whether `pass_all' will *always* work, you probably want this one.
  5591  
  5592  case $host_os in
  5593  aix[4-9]*)
  5594    lt_cv_deplibs_check_method=pass_all
  5595    ;;
  5596  
  5597  beos*)
  5598    lt_cv_deplibs_check_method=pass_all
  5599    ;;
  5600  
  5601  bsdi[45]*)
  5602    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5603    lt_cv_file_magic_cmd='/usr/bin/file -L'
  5604    lt_cv_file_magic_test_file=/shlib/libc.so
  5605    ;;
  5606  
  5607  cygwin*)
  5608    # func_win32_libid is a shell function defined in ltmain.sh
  5609    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5610    lt_cv_file_magic_cmd='func_win32_libid'
  5611    ;;
  5612  
  5613  mingw* | pw32*)
  5614    # Base MSYS/MinGW do not provide the 'file' command needed by
  5615    # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5616    # unless we find 'file', for example because we are cross-compiling.
  5617    if ( file / ) >/dev/null 2>&1; then
  5618      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5619      lt_cv_file_magic_cmd='func_win32_libid'
  5620    else
  5621      lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  5622      lt_cv_file_magic_cmd='$OBJDUMP -f'
  5623    fi
  5624    ;;
  5625  
  5626  cegcc)
  5627    # use the weaker test based on 'objdump'. See mingw*.
  5628    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5629    lt_cv_file_magic_cmd='$OBJDUMP -f'
  5630    ;;
  5631  
  5632  darwin* | rhapsody*)
  5633    lt_cv_deplibs_check_method=pass_all
  5634    ;;
  5635  
  5636  freebsd* | dragonfly*)
  5637    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5638      case $host_cpu in
  5639      i*86 )
  5640        # Not sure whether the presence of OpenBSD here was a mistake.
  5641        # Let's accept both of them until this is cleared up.
  5642        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5643        lt_cv_file_magic_cmd=/usr/bin/file
  5644        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5645        ;;
  5646      esac
  5647    else
  5648      lt_cv_deplibs_check_method=pass_all
  5649    fi
  5650    ;;
  5651  
  5652  gnu*)
  5653    lt_cv_deplibs_check_method=pass_all
  5654    ;;
  5655  
  5656  hpux10.20* | hpux11*)
  5657    lt_cv_file_magic_cmd=/usr/bin/file
  5658    case $host_cpu in
  5659    ia64*)
  5660      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5661      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5662      ;;
  5663    hppa*64*)
  5664      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]'
  5665      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5666      ;;
  5667    *)
  5668      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  5669      lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5670      ;;
  5671    esac
  5672    ;;
  5673  
  5674  interix[3-9]*)
  5675    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5676    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5677    ;;
  5678  
  5679  irix5* | irix6* | nonstopux*)
  5680    case $LD in
  5681    *-32|*"-32 ") libmagic=32-bit;;
  5682    *-n32|*"-n32 ") libmagic=N32;;
  5683    *-64|*"-64 ") libmagic=64-bit;;
  5684    *) libmagic=never-match;;
  5685    esac
  5686    lt_cv_deplibs_check_method=pass_all
  5687    ;;
  5688  
  5689  # This must be Linux ELF.
  5690  linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5691    lt_cv_deplibs_check_method=pass_all
  5692    ;;
  5693  
  5694  netbsd* | netbsdelf*-gnu)
  5695    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5696      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5697    else
  5698      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5699    fi
  5700    ;;
  5701  
  5702  newos6*)
  5703    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5704    lt_cv_file_magic_cmd=/usr/bin/file
  5705    lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5706    ;;
  5707  
  5708  *nto* | *qnx*)
  5709    lt_cv_deplibs_check_method=pass_all
  5710    ;;
  5711  
  5712  openbsd*)
  5713    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5714      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5715    else
  5716      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5717    fi
  5718    ;;
  5719  
  5720  osf3* | osf4* | osf5*)
  5721    lt_cv_deplibs_check_method=pass_all
  5722    ;;
  5723  
  5724  rdos*)
  5725    lt_cv_deplibs_check_method=pass_all
  5726    ;;
  5727  
  5728  solaris*)
  5729    lt_cv_deplibs_check_method=pass_all
  5730    ;;
  5731  
  5732  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5733    lt_cv_deplibs_check_method=pass_all
  5734    ;;
  5735  
  5736  sysv4 | sysv4.3*)
  5737    case $host_vendor in
  5738    motorola)
  5739      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]'
  5740      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5741      ;;
  5742    ncr)
  5743      lt_cv_deplibs_check_method=pass_all
  5744      ;;
  5745    sequent)
  5746      lt_cv_file_magic_cmd='/bin/file'
  5747      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5748      ;;
  5749    sni)
  5750      lt_cv_file_magic_cmd='/bin/file'
  5751      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5752      lt_cv_file_magic_test_file=/lib/libc.so
  5753      ;;
  5754    siemens)
  5755      lt_cv_deplibs_check_method=pass_all
  5756      ;;
  5757    pc)
  5758      lt_cv_deplibs_check_method=pass_all
  5759      ;;
  5760    esac
  5761    ;;
  5762  
  5763  tpf*)
  5764    lt_cv_deplibs_check_method=pass_all
  5765    ;;
  5766  esac
  5767  
  5768  fi
  5769  { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  5770  $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5771  file_magic_cmd=$lt_cv_file_magic_cmd
  5772  deplibs_check_method=$lt_cv_deplibs_check_method
  5773  test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5774  
  5775  
  5776  
  5777  
  5778  
  5779  
  5780  
  5781  
  5782  
  5783  
  5784  
  5785  
  5786  if test -n "$ac_tool_prefix"; then
  5787    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5788  set dummy ${ac_tool_prefix}ar; ac_word=$2
  5789  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5790  $as_echo_n "checking for $ac_word... " >&6; }
  5791  if test "${ac_cv_prog_AR+set}" = set; then
  5792    $as_echo_n "(cached) " >&6
  5793  else
  5794    if test -n "$AR"; then
  5795    ac_cv_prog_AR="$AR" # Let the user override the test.
  5796  else
  5797  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5798  for as_dir in $PATH
  5799  do
  5800    IFS=$as_save_IFS
  5801    test -z "$as_dir" && as_dir=.
  5802    for ac_exec_ext in '' $ac_executable_extensions; do
  5803    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5804      ac_cv_prog_AR="${ac_tool_prefix}ar"
  5805      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5806      break 2
  5807    fi
  5808  done
  5809  done
  5810  IFS=$as_save_IFS
  5811  
  5812  fi
  5813  fi
  5814  AR=$ac_cv_prog_AR
  5815  if test -n "$AR"; then
  5816    { $as_echo "$as_me:$LINENO: result: $AR" >&5
  5817  $as_echo "$AR" >&6; }
  5818  else
  5819    { $as_echo "$as_me:$LINENO: result: no" >&5
  5820  $as_echo "no" >&6; }
  5821  fi
  5822  
  5823  
  5824  fi
  5825  if test -z "$ac_cv_prog_AR"; then
  5826    ac_ct_AR=$AR
  5827    # Extract the first word of "ar", so it can be a program name with args.
  5828  set dummy ar; ac_word=$2
  5829  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5830  $as_echo_n "checking for $ac_word... " >&6; }
  5831  if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  5832    $as_echo_n "(cached) " >&6
  5833  else
  5834    if test -n "$ac_ct_AR"; then
  5835    ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5836  else
  5837  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5838  for as_dir in $PATH
  5839  do
  5840    IFS=$as_save_IFS
  5841    test -z "$as_dir" && as_dir=.
  5842    for ac_exec_ext in '' $ac_executable_extensions; do
  5843    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5844      ac_cv_prog_ac_ct_AR="ar"
  5845      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5846      break 2
  5847    fi
  5848  done
  5849  done
  5850  IFS=$as_save_IFS
  5851  
  5852  fi
  5853  fi
  5854  ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5855  if test -n "$ac_ct_AR"; then
  5856    { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  5857  $as_echo "$ac_ct_AR" >&6; }
  5858  else
  5859    { $as_echo "$as_me:$LINENO: result: no" >&5
  5860  $as_echo "no" >&6; }
  5861  fi
  5862  
  5863    if test "x$ac_ct_AR" = x; then
  5864      AR="false"
  5865    else
  5866      case $cross_compiling:$ac_tool_warned in
  5867  yes:)
  5868  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5869  whose name does not start with the host triplet.  If you think this
  5870  configuration is useful to you, please write to autoconf@gnu.org." >&5
  5871  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5872  whose name does not start with the host triplet.  If you think this
  5873  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5874  ac_tool_warned=yes ;;
  5875  esac
  5876      AR=$ac_ct_AR
  5877    fi
  5878  else
  5879    AR="$ac_cv_prog_AR"
  5880  fi
  5881  
  5882  test -z "$AR" && AR=ar
  5883  test -z "$AR_FLAGS" && AR_FLAGS=cru
  5884  
  5885  
  5886  
  5887  
  5888  
  5889  
  5890  
  5891  
  5892  
  5893  
  5894  
  5895  if test -n "$ac_tool_prefix"; then
  5896    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5897  set dummy ${ac_tool_prefix}strip; ac_word=$2
  5898  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5899  $as_echo_n "checking for $ac_word... " >&6; }
  5900  if test "${ac_cv_prog_STRIP+set}" = set; then
  5901    $as_echo_n "(cached) " >&6
  5902  else
  5903    if test -n "$STRIP"; then
  5904    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5905  else
  5906  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5907  for as_dir in $PATH
  5908  do
  5909    IFS=$as_save_IFS
  5910    test -z "$as_dir" && as_dir=.
  5911    for ac_exec_ext in '' $ac_executable_extensions; do
  5912    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5913      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5914      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5915      break 2
  5916    fi
  5917  done
  5918  done
  5919  IFS=$as_save_IFS
  5920  
  5921  fi
  5922  fi
  5923  STRIP=$ac_cv_prog_STRIP
  5924  if test -n "$STRIP"; then
  5925    { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  5926  $as_echo "$STRIP" >&6; }
  5927  else
  5928    { $as_echo "$as_me:$LINENO: result: no" >&5
  5929  $as_echo "no" >&6; }
  5930  fi
  5931  
  5932  
  5933  fi
  5934  if test -z "$ac_cv_prog_STRIP"; then
  5935    ac_ct_STRIP=$STRIP
  5936    # Extract the first word of "strip", so it can be a program name with args.
  5937  set dummy strip; ac_word=$2
  5938  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5939  $as_echo_n "checking for $ac_word... " >&6; }
  5940  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  5941    $as_echo_n "(cached) " >&6
  5942  else
  5943    if test -n "$ac_ct_STRIP"; then
  5944    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5945  else
  5946  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5947  for as_dir in $PATH
  5948  do
  5949    IFS=$as_save_IFS
  5950    test -z "$as_dir" && as_dir=.
  5951    for ac_exec_ext in '' $ac_executable_extensions; do
  5952    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5953      ac_cv_prog_ac_ct_STRIP="strip"
  5954      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5955      break 2
  5956    fi
  5957  done
  5958  done
  5959  IFS=$as_save_IFS
  5960  
  5961  fi
  5962  fi
  5963  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5964  if test -n "$ac_ct_STRIP"; then
  5965    { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  5966  $as_echo "$ac_ct_STRIP" >&6; }
  5967  else
  5968    { $as_echo "$as_me:$LINENO: result: no" >&5
  5969  $as_echo "no" >&6; }
  5970  fi
  5971  
  5972    if test "x$ac_ct_STRIP" = x; then
  5973      STRIP=":"
  5974    else
  5975      case $cross_compiling:$ac_tool_warned in
  5976  yes:)
  5977  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5978  whose name does not start with the host triplet.  If you think this
  5979  configuration is useful to you, please write to autoconf@gnu.org." >&5
  5980  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5981  whose name does not start with the host triplet.  If you think this
  5982  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5983  ac_tool_warned=yes ;;
  5984  esac
  5985      STRIP=$ac_ct_STRIP
  5986    fi
  5987  else
  5988    STRIP="$ac_cv_prog_STRIP"
  5989  fi
  5990  
  5991  test -z "$STRIP" && STRIP=:
  5992  
  5993  
  5994  
  5995  
  5996  
  5997  
  5998  if test -n "$ac_tool_prefix"; then
  5999    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6000  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6001  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6002  $as_echo_n "checking for $ac_word... " >&6; }
  6003  if test "${ac_cv_prog_RANLIB+set}" = set; then
  6004    $as_echo_n "(cached) " >&6
  6005  else
  6006    if test -n "$RANLIB"; then
  6007    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6008  else
  6009  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6010  for as_dir in $PATH
  6011  do
  6012    IFS=$as_save_IFS
  6013    test -z "$as_dir" && as_dir=.
  6014    for ac_exec_ext in '' $ac_executable_extensions; do
  6015    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6016      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6017      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6018      break 2
  6019    fi
  6020  done
  6021  done
  6022  IFS=$as_save_IFS
  6023  
  6024  fi
  6025  fi
  6026  RANLIB=$ac_cv_prog_RANLIB
  6027  if test -n "$RANLIB"; then
  6028    { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  6029  $as_echo "$RANLIB" >&6; }
  6030  else
  6031    { $as_echo "$as_me:$LINENO: result: no" >&5
  6032  $as_echo "no" >&6; }
  6033  fi
  6034  
  6035  
  6036  fi
  6037  if test -z "$ac_cv_prog_RANLIB"; then
  6038    ac_ct_RANLIB=$RANLIB
  6039    # Extract the first word of "ranlib", so it can be a program name with args.
  6040  set dummy ranlib; ac_word=$2
  6041  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6042  $as_echo_n "checking for $ac_word... " >&6; }
  6043  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  6044    $as_echo_n "(cached) " >&6
  6045  else
  6046    if test -n "$ac_ct_RANLIB"; then
  6047    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6048  else
  6049  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6050  for as_dir in $PATH
  6051  do
  6052    IFS=$as_save_IFS
  6053    test -z "$as_dir" && as_dir=.
  6054    for ac_exec_ext in '' $ac_executable_extensions; do
  6055    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6056      ac_cv_prog_ac_ct_RANLIB="ranlib"
  6057      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6058      break 2
  6059    fi
  6060  done
  6061  done
  6062  IFS=$as_save_IFS
  6063  
  6064  fi
  6065  fi
  6066  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6067  if test -n "$ac_ct_RANLIB"; then
  6068    { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  6069  $as_echo "$ac_ct_RANLIB" >&6; }
  6070  else
  6071    { $as_echo "$as_me:$LINENO: result: no" >&5
  6072  $as_echo "no" >&6; }
  6073  fi
  6074  
  6075    if test "x$ac_ct_RANLIB" = x; then
  6076      RANLIB=":"
  6077    else
  6078      case $cross_compiling:$ac_tool_warned in
  6079  yes:)
  6080  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6081  whose name does not start with the host triplet.  If you think this
  6082  configuration is useful to you, please write to autoconf@gnu.org." >&5
  6083  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6084  whose name does not start with the host triplet.  If you think this
  6085  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6086  ac_tool_warned=yes ;;
  6087  esac
  6088      RANLIB=$ac_ct_RANLIB
  6089    fi
  6090  else
  6091    RANLIB="$ac_cv_prog_RANLIB"
  6092  fi
  6093  
  6094  test -z "$RANLIB" && RANLIB=:
  6095  
  6096  
  6097  
  6098  
  6099  
  6100  
  6101  # Determine commands to create old-style static archives.
  6102  old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6103  old_postinstall_cmds='chmod 644 $oldlib'
  6104  old_postuninstall_cmds=
  6105  
  6106  if test -n "$RANLIB"; then
  6107    case $host_os in
  6108    openbsd*)
  6109      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  6110      ;;
  6111    *)
  6112      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  6113      ;;
  6114    esac
  6115    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6116  fi
  6117  
  6118  
  6119  
  6120  
  6121  
  6122  
  6123  
  6124  
  6125  
  6126  
  6127  
  6128  
  6129  
  6130  
  6131  
  6132  
  6133  
  6134  
  6135  
  6136  
  6137  
  6138  
  6139  
  6140  
  6141  
  6142  
  6143  
  6144  
  6145  
  6146  
  6147  
  6148  
  6149  
  6150  
  6151  # If no C compiler was specified, use CC.
  6152  LTCC=${LTCC-"$CC"}
  6153  
  6154  # If no C compiler flags were specified, use CFLAGS.
  6155  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6156  
  6157  # Allow CC to be a program name with arguments.
  6158  compiler=$CC
  6159  
  6160  
  6161  # Check for command to grab the raw symbol name followed by C symbol from nm.
  6162  { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  6163  $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6164  if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  6165    $as_echo_n "(cached) " >&6
  6166  else
  6167  
  6168  # These are sane defaults that work on at least a few old systems.
  6169  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  6170  
  6171  # Character class describing NM global symbol codes.
  6172  symcode='[BCDEGRST]'
  6173  
  6174  # Regexp to match symbols that can be accessed directly from C.
  6175  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6176  
  6177  # Define system-specific variables.
  6178  case $host_os in
  6179  aix*)
  6180    symcode='[BCDT]'
  6181    ;;
  6182  cygwin* | mingw* | pw32* | cegcc*)
  6183    symcode='[ABCDGISTW]'
  6184    ;;
  6185  hpux*)
  6186    if test "$host_cpu" = ia64; then
  6187      symcode='[ABCDEGRST]'
  6188    fi
  6189    ;;
  6190  irix* | nonstopux*)
  6191    symcode='[BCDEGRST]'
  6192    ;;
  6193  osf*)
  6194    symcode='[BCDEGQRST]'
  6195    ;;
  6196  solaris*)
  6197    symcode='[BDRT]'
  6198    ;;
  6199  sco3.2v5*)
  6200    symcode='[DT]'
  6201    ;;
  6202  sysv4.2uw2*)
  6203    symcode='[DT]'
  6204    ;;
  6205  sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6206    symcode='[ABDT]'
  6207    ;;
  6208  sysv4)
  6209    symcode='[DFNSTU]'
  6210    ;;
  6211  esac
  6212  
  6213  # If we're using GNU nm, then use its standard symbol codes.
  6214  case `$NM -V 2>&1` in
  6215  *GNU* | *'with BFD'*)
  6216    symcode='[ABCDGIRSTW]' ;;
  6217  esac
  6218  
  6219  # Transform an extracted symbol line into a proper C declaration.
  6220  # Some systems (esp. on ia64) link data and code symbols differently,
  6221  # so use this general approach.
  6222  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6223  
  6224  # Transform an extracted symbol line into symbol name and symbol address
  6225  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  6226  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
  6227  
  6228  # Handle CRLF in mingw tool chain
  6229  opt_cr=
  6230  case $build_os in
  6231  mingw*)
  6232    opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6233    ;;
  6234  esac
  6235  
  6236  # Try without a prefix underscore, then with it.
  6237  for ac_symprfx in "" "_"; do
  6238  
  6239    # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6240    symxfrm="\\1 $ac_symprfx\\2 \\2"
  6241  
  6242    # Write the raw and C identifiers.
  6243    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6244      # Fake it for dumpbin and say T for any non-static function
  6245      # and D for any global variable.
  6246      # Also find C++ and __fastcall symbols from MSVC++,
  6247      # which start with @ or ?.
  6248      lt_cv_sys_global_symbol_pipe="$AWK '"\
  6249  "     {last_section=section; section=\$ 3};"\
  6250  "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6251  "     \$ 0!~/External *\|/{next};"\
  6252  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6253  "     {if(hide[section]) next};"\
  6254  "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6255  "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  6256  "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  6257  "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  6258  "     ' prfx=^$ac_symprfx"
  6259    else
  6260      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6261    fi
  6262  
  6263    # Check to see that the pipe works correctly.
  6264    pipe_works=no
  6265  
  6266    rm -f conftest*
  6267    cat > conftest.$ac_ext <<_LT_EOF
  6268  #ifdef __cplusplus
  6269  extern "C" {
  6270  #endif
  6271  char nm_test_var;
  6272  void nm_test_func(void);
  6273  void nm_test_func(void){}
  6274  #ifdef __cplusplus
  6275  }
  6276  #endif
  6277  int main(){nm_test_var='a';nm_test_func();return(0);}
  6278  _LT_EOF
  6279  
  6280    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6281    (eval $ac_compile) 2>&5
  6282    ac_status=$?
  6283    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6284    (exit $ac_status); }; then
  6285      # Now try to grab the symbols.
  6286      nlist=conftest.nm
  6287      if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  6288    (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  6289    ac_status=$?
  6290    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6291    (exit $ac_status); } && test -s "$nlist"; then
  6292        # Try sorting and uniquifying the output.
  6293        if sort "$nlist" | uniq > "$nlist"T; then
  6294  	mv -f "$nlist"T "$nlist"
  6295        else
  6296  	rm -f "$nlist"T
  6297        fi
  6298  
  6299        # Make sure that we snagged all the symbols we need.
  6300        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6301  	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6302  	  cat <<_LT_EOF > conftest.$ac_ext
  6303  #ifdef __cplusplus
  6304  extern "C" {
  6305  #endif
  6306  
  6307  _LT_EOF
  6308  	  # Now generate the symbol file.
  6309  	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6310  
  6311  	  cat <<_LT_EOF >> conftest.$ac_ext
  6312  
  6313  /* The mapping between symbol names and symbols.  */
  6314  const struct {
  6315    const char *name;
  6316    void       *address;
  6317  }
  6318  lt__PROGRAM__LTX_preloaded_symbols[] =
  6319  {
  6320    { "@PROGRAM@", (void *) 0 },
  6321  _LT_EOF
  6322  	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6323  	  cat <<\_LT_EOF >> conftest.$ac_ext
  6324    {0, (void *) 0}
  6325  };
  6326  
  6327  /* This works around a problem in FreeBSD linker */
  6328  #ifdef FREEBSD_WORKAROUND
  6329  static const void *lt_preloaded_setup() {
  6330    return lt__PROGRAM__LTX_preloaded_symbols;
  6331  }
  6332  #endif
  6333  
  6334  #ifdef __cplusplus
  6335  }
  6336  #endif
  6337  _LT_EOF
  6338  	  # Now try linking the two files.
  6339  	  mv conftest.$ac_objext conftstm.$ac_objext
  6340  	  lt_save_LIBS="$LIBS"
  6341  	  lt_save_CFLAGS="$CFLAGS"
  6342  	  LIBS="conftstm.$ac_objext"
  6343  	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6344  	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6345    (eval $ac_link) 2>&5
  6346    ac_status=$?
  6347    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6348    (exit $ac_status); } && test -s conftest${ac_exeext}; then
  6349  	    pipe_works=yes
  6350  	  fi
  6351  	  LIBS="$lt_save_LIBS"
  6352  	  CFLAGS="$lt_save_CFLAGS"
  6353  	else
  6354  	  echo "cannot find nm_test_func in $nlist" >&5
  6355  	fi
  6356        else
  6357  	echo "cannot find nm_test_var in $nlist" >&5
  6358        fi
  6359      else
  6360        echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6361      fi
  6362    else
  6363      echo "$progname: failed program was:" >&5
  6364      cat conftest.$ac_ext >&5
  6365    fi
  6366    rm -rf conftest* conftst*
  6367  
  6368    # Do not use the global_symbol_pipe unless it works.
  6369    if test "$pipe_works" = yes; then
  6370      break
  6371    else
  6372      lt_cv_sys_global_symbol_pipe=
  6373    fi
  6374  done
  6375  
  6376  fi
  6377  
  6378  if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6379    lt_cv_sys_global_symbol_to_cdecl=
  6380  fi
  6381  if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6382    { $as_echo "$as_me:$LINENO: result: failed" >&5
  6383  $as_echo "failed" >&6; }
  6384  else
  6385    { $as_echo "$as_me:$LINENO: result: ok" >&5
  6386  $as_echo "ok" >&6; }
  6387  fi
  6388  
  6389  
  6390  
  6391  
  6392  
  6393  
  6394  
  6395  
  6396  
  6397  
  6398  
  6399  
  6400  
  6401  
  6402  
  6403  
  6404  
  6405  
  6406  
  6407  
  6408  
  6409  
  6410  
  6411  # Check whether --enable-libtool-lock was given.
  6412  if test "${enable_libtool_lock+set}" = set; then
  6413    enableval=$enable_libtool_lock;
  6414  fi
  6415  
  6416  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6417  
  6418  # Some flags need to be propagated to the compiler or linker for good
  6419  # libtool support.
  6420  case $host in
  6421  ia64-*-hpux*)
  6422    # Find out which ABI we are using.
  6423    echo 'int i;' > conftest.$ac_ext
  6424    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6425    (eval $ac_compile) 2>&5
  6426    ac_status=$?
  6427    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6428    (exit $ac_status); }; then
  6429      case `/usr/bin/file conftest.$ac_objext` in
  6430        *ELF-32*)
  6431  	HPUX_IA64_MODE="32"
  6432  	;;
  6433        *ELF-64*)
  6434  	HPUX_IA64_MODE="64"
  6435  	;;
  6436      esac
  6437    fi
  6438    rm -rf conftest*
  6439    ;;
  6440  *-*-irix6*)
  6441    # Find out which ABI we are using.
  6442    echo '#line 6442 "configure"' > conftest.$ac_ext
  6443    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6444    (eval $ac_compile) 2>&5
  6445    ac_status=$?
  6446    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6447    (exit $ac_status); }; then
  6448      if test "$lt_cv_prog_gnu_ld" = yes; then
  6449        case `/usr/bin/file conftest.$ac_objext` in
  6450  	*32-bit*)
  6451  	  LD="${LD-ld} -melf32bsmip"
  6452  	  ;;
  6453  	*N32*)
  6454  	  LD="${LD-ld} -melf32bmipn32"
  6455  	  ;;
  6456  	*64-bit*)
  6457  	  LD="${LD-ld} -melf64bmip"
  6458  	;;
  6459        esac
  6460      else
  6461        case `/usr/bin/file conftest.$ac_objext` in
  6462  	*32-bit*)
  6463  	  LD="${LD-ld} -32"
  6464  	  ;;
  6465  	*N32*)
  6466  	  LD="${LD-ld} -n32"
  6467  	  ;;
  6468  	*64-bit*)
  6469  	  LD="${LD-ld} -64"
  6470  	  ;;
  6471        esac
  6472      fi
  6473    fi
  6474    rm -rf conftest*
  6475    ;;
  6476  
  6477  x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  6478  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6479    # Find out which ABI we are using.
  6480    echo 'int i;' > conftest.$ac_ext
  6481    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6482    (eval $ac_compile) 2>&5
  6483    ac_status=$?
  6484    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6485    (exit $ac_status); }; then
  6486      case `/usr/bin/file conftest.o` in
  6487        *32-bit*)
  6488  	case $host in
  6489  	  x86_64-*kfreebsd*-gnu)
  6490  	    LD="${LD-ld} -m elf_i386_fbsd"
  6491  	    ;;
  6492  	  x86_64-*linux*)
  6493  	    LD="${LD-ld} -m elf_i386"
  6494  	    ;;
  6495  	  ppc64-*linux*|powerpc64-*linux*)
  6496  	    LD="${LD-ld} -m elf32ppclinux"
  6497  	    ;;
  6498  	  s390x-*linux*)
  6499  	    LD="${LD-ld} -m elf_s390"
  6500  	    ;;
  6501  	  sparc64-*linux*)
  6502  	    LD="${LD-ld} -m elf32_sparc"
  6503  	    ;;
  6504  	esac
  6505  	;;
  6506        *64-bit*)
  6507  	case $host in
  6508  	  x86_64-*kfreebsd*-gnu)
  6509  	    LD="${LD-ld} -m elf_x86_64_fbsd"
  6510  	    ;;
  6511  	  x86_64-*linux*)
  6512  	    LD="${LD-ld} -m elf_x86_64"
  6513  	    ;;
  6514  	  ppc*-*linux*|powerpc*-*linux*)
  6515  	    LD="${LD-ld} -m elf64ppc"
  6516  	    ;;
  6517  	  s390*-*linux*|s390*-*tpf*)
  6518  	    LD="${LD-ld} -m elf64_s390"
  6519  	    ;;
  6520  	  sparc*-*linux*)
  6521  	    LD="${LD-ld} -m elf64_sparc"
  6522  	    ;;
  6523  	esac
  6524  	;;
  6525      esac
  6526    fi
  6527    rm -rf conftest*
  6528    ;;
  6529  
  6530  *-*-sco3.2v5*)
  6531    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6532    SAVE_CFLAGS="$CFLAGS"
  6533    CFLAGS="$CFLAGS -belf"
  6534    { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  6535  $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6536  if test "${lt_cv_cc_needs_belf+set}" = set; then
  6537    $as_echo_n "(cached) " >&6
  6538  else
  6539    ac_ext=c
  6540  ac_cpp='$CPP $CPPFLAGS'
  6541  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6542  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6543  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6544  
  6545       cat >conftest.$ac_ext <<_ACEOF
  6546  /* confdefs.h.  */
  6547  _ACEOF
  6548  cat confdefs.h >>conftest.$ac_ext
  6549  cat >>conftest.$ac_ext <<_ACEOF
  6550  /* end confdefs.h.  */
  6551  
  6552  int
  6553  main ()
  6554  {
  6555  
  6556    ;
  6557    return 0;
  6558  }
  6559  _ACEOF
  6560  rm -f conftest.$ac_objext conftest$ac_exeext
  6561  if { (ac_try="$ac_link"
  6562  case "(($ac_try" in
  6563    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6564    *) ac_try_echo=$ac_try;;
  6565  esac
  6566  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6567  $as_echo "$ac_try_echo") >&5
  6568    (eval "$ac_link") 2>conftest.er1
  6569    ac_status=$?
  6570    grep -v '^ *+' conftest.er1 >conftest.err
  6571    rm -f conftest.er1
  6572    cat conftest.err >&5
  6573    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6574    (exit $ac_status); } && {
  6575  	 test -z "$ac_c_werror_flag" ||
  6576  	 test ! -s conftest.err
  6577         } && test -s conftest$ac_exeext && {
  6578  	 test "$cross_compiling" = yes ||
  6579  	 $as_test_x conftest$ac_exeext
  6580         }; then
  6581    lt_cv_cc_needs_belf=yes
  6582  else
  6583    $as_echo "$as_me: failed program was:" >&5
  6584  sed 's/^/| /' conftest.$ac_ext >&5
  6585  
  6586  	lt_cv_cc_needs_belf=no
  6587  fi
  6588  
  6589  rm -rf conftest.dSYM
  6590  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6591        conftest$ac_exeext conftest.$ac_ext
  6592       ac_ext=c
  6593  ac_cpp='$CPP $CPPFLAGS'
  6594  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6595  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6596  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6597  
  6598  fi
  6599  { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  6600  $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6601    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6602      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6603      CFLAGS="$SAVE_CFLAGS"
  6604    fi
  6605    ;;
  6606  sparc*-*solaris*)
  6607    # Find out which ABI we are using.
  6608    echo 'int i;' > conftest.$ac_ext
  6609    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6610    (eval $ac_compile) 2>&5
  6611    ac_status=$?
  6612    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6613    (exit $ac_status); }; then
  6614      case `/usr/bin/file conftest.o` in
  6615      *64-bit*)
  6616        case $lt_cv_prog_gnu_ld in
  6617        yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6618        *)
  6619  	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6620  	  LD="${LD-ld} -64"
  6621  	fi
  6622  	;;
  6623        esac
  6624        ;;
  6625      esac
  6626    fi
  6627    rm -rf conftest*
  6628    ;;
  6629  esac
  6630  
  6631  need_locks="$enable_libtool_lock"
  6632  
  6633  
  6634    case $host_os in
  6635      rhapsody* | darwin*)
  6636      if test -n "$ac_tool_prefix"; then
  6637    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6638  set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6639  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6640  $as_echo_n "checking for $ac_word... " >&6; }
  6641  if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  6642    $as_echo_n "(cached) " >&6
  6643  else
  6644    if test -n "$DSYMUTIL"; then
  6645    ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6646  else
  6647  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6648  for as_dir in $PATH
  6649  do
  6650    IFS=$as_save_IFS
  6651    test -z "$as_dir" && as_dir=.
  6652    for ac_exec_ext in '' $ac_executable_extensions; do
  6653    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6654      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6655      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6656      break 2
  6657    fi
  6658  done
  6659  done
  6660  IFS=$as_save_IFS
  6661  
  6662  fi
  6663  fi
  6664  DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6665  if test -n "$DSYMUTIL"; then
  6666    { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  6667  $as_echo "$DSYMUTIL" >&6; }
  6668  else
  6669    { $as_echo "$as_me:$LINENO: result: no" >&5
  6670  $as_echo "no" >&6; }
  6671  fi
  6672  
  6673  
  6674  fi
  6675  if test -z "$ac_cv_prog_DSYMUTIL"; then
  6676    ac_ct_DSYMUTIL=$DSYMUTIL
  6677    # Extract the first word of "dsymutil", so it can be a program name with args.
  6678  set dummy dsymutil; ac_word=$2
  6679  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6680  $as_echo_n "checking for $ac_word... " >&6; }
  6681  if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  6682    $as_echo_n "(cached) " >&6
  6683  else
  6684    if test -n "$ac_ct_DSYMUTIL"; then
  6685    ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6686  else
  6687  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6688  for as_dir in $PATH
  6689  do
  6690    IFS=$as_save_IFS
  6691    test -z "$as_dir" && as_dir=.
  6692    for ac_exec_ext in '' $ac_executable_extensions; do
  6693    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6694      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6695      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6696      break 2
  6697    fi
  6698  done
  6699  done
  6700  IFS=$as_save_IFS
  6701  
  6702  fi
  6703  fi
  6704  ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6705  if test -n "$ac_ct_DSYMUTIL"; then
  6706    { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  6707  $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6708  else
  6709    { $as_echo "$as_me:$LINENO: result: no" >&5
  6710  $as_echo "no" >&6; }
  6711  fi
  6712  
  6713    if test "x$ac_ct_DSYMUTIL" = x; then
  6714      DSYMUTIL=":"
  6715    else
  6716      case $cross_compiling:$ac_tool_warned in
  6717  yes:)
  6718  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6719  whose name does not start with the host triplet.  If you think this
  6720  configuration is useful to you, please write to autoconf@gnu.org." >&5
  6721  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6722  whose name does not start with the host triplet.  If you think this
  6723  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6724  ac_tool_warned=yes ;;
  6725  esac
  6726      DSYMUTIL=$ac_ct_DSYMUTIL
  6727    fi
  6728  else
  6729    DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6730  fi
  6731  
  6732      if test -n "$ac_tool_prefix"; then
  6733    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6734  set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6735  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6736  $as_echo_n "checking for $ac_word... " >&6; }
  6737  if test "${ac_cv_prog_NMEDIT+set}" = set; then
  6738    $as_echo_n "(cached) " >&6
  6739  else
  6740    if test -n "$NMEDIT"; then
  6741    ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6742  else
  6743  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6744  for as_dir in $PATH
  6745  do
  6746    IFS=$as_save_IFS
  6747    test -z "$as_dir" && as_dir=.
  6748    for ac_exec_ext in '' $ac_executable_extensions; do
  6749    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6750      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6751      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6752      break 2
  6753    fi
  6754  done
  6755  done
  6756  IFS=$as_save_IFS
  6757  
  6758  fi
  6759  fi
  6760  NMEDIT=$ac_cv_prog_NMEDIT
  6761  if test -n "$NMEDIT"; then
  6762    { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
  6763  $as_echo "$NMEDIT" >&6; }
  6764  else
  6765    { $as_echo "$as_me:$LINENO: result: no" >&5
  6766  $as_echo "no" >&6; }
  6767  fi
  6768  
  6769  
  6770  fi
  6771  if test -z "$ac_cv_prog_NMEDIT"; then
  6772    ac_ct_NMEDIT=$NMEDIT
  6773    # Extract the first word of "nmedit", so it can be a program name with args.
  6774  set dummy nmedit; ac_word=$2
  6775  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6776  $as_echo_n "checking for $ac_word... " >&6; }
  6777  if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  6778    $as_echo_n "(cached) " >&6
  6779  else
  6780    if test -n "$ac_ct_NMEDIT"; then
  6781    ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6782  else
  6783  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6784  for as_dir in $PATH
  6785  do
  6786    IFS=$as_save_IFS
  6787    test -z "$as_dir" && as_dir=.
  6788    for ac_exec_ext in '' $ac_executable_extensions; do
  6789    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6790      ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6791      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6792      break 2
  6793    fi
  6794  done
  6795  done
  6796  IFS=$as_save_IFS
  6797  
  6798  fi
  6799  fi
  6800  ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6801  if test -n "$ac_ct_NMEDIT"; then
  6802    { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  6803  $as_echo "$ac_ct_NMEDIT" >&6; }
  6804  else
  6805    { $as_echo "$as_me:$LINENO: result: no" >&5
  6806  $as_echo "no" >&6; }
  6807  fi
  6808  
  6809    if test "x$ac_ct_NMEDIT" = x; then
  6810      NMEDIT=":"
  6811    else
  6812      case $cross_compiling:$ac_tool_warned in
  6813  yes:)
  6814  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6815  whose name does not start with the host triplet.  If you think this
  6816  configuration is useful to you, please write to autoconf@gnu.org." >&5
  6817  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6818  whose name does not start with the host triplet.  If you think this
  6819  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6820  ac_tool_warned=yes ;;
  6821  esac
  6822      NMEDIT=$ac_ct_NMEDIT
  6823    fi
  6824  else
  6825    NMEDIT="$ac_cv_prog_NMEDIT"
  6826  fi
  6827  
  6828      if test -n "$ac_tool_prefix"; then
  6829    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6830  set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6831  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6832  $as_echo_n "checking for $ac_word... " >&6; }
  6833  if test "${ac_cv_prog_LIPO+set}" = set; then
  6834    $as_echo_n "(cached) " >&6
  6835  else
  6836    if test -n "$LIPO"; then
  6837    ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6838  else
  6839  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6840  for as_dir in $PATH
  6841  do
  6842    IFS=$as_save_IFS
  6843    test -z "$as_dir" && as_dir=.
  6844    for ac_exec_ext in '' $ac_executable_extensions; do
  6845    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6846      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6847      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6848      break 2
  6849    fi
  6850  done
  6851  done
  6852  IFS=$as_save_IFS
  6853  
  6854  fi
  6855  fi
  6856  LIPO=$ac_cv_prog_LIPO
  6857  if test -n "$LIPO"; then
  6858    { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
  6859  $as_echo "$LIPO" >&6; }
  6860  else
  6861    { $as_echo "$as_me:$LINENO: result: no" >&5
  6862  $as_echo "no" >&6; }
  6863  fi
  6864  
  6865  
  6866  fi
  6867  if test -z "$ac_cv_prog_LIPO"; then
  6868    ac_ct_LIPO=$LIPO
  6869    # Extract the first word of "lipo", so it can be a program name with args.
  6870  set dummy lipo; ac_word=$2
  6871  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6872  $as_echo_n "checking for $ac_word... " >&6; }
  6873  if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  6874    $as_echo_n "(cached) " >&6
  6875  else
  6876    if test -n "$ac_ct_LIPO"; then
  6877    ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6878  else
  6879  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6880  for as_dir in $PATH
  6881  do
  6882    IFS=$as_save_IFS
  6883    test -z "$as_dir" && as_dir=.
  6884    for ac_exec_ext in '' $ac_executable_extensions; do
  6885    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6886      ac_cv_prog_ac_ct_LIPO="lipo"
  6887      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6888      break 2
  6889    fi
  6890  done
  6891  done
  6892  IFS=$as_save_IFS
  6893  
  6894  fi
  6895  fi
  6896  ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6897  if test -n "$ac_ct_LIPO"; then
  6898    { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  6899  $as_echo "$ac_ct_LIPO" >&6; }
  6900  else
  6901    { $as_echo "$as_me:$LINENO: result: no" >&5
  6902  $as_echo "no" >&6; }
  6903  fi
  6904  
  6905    if test "x$ac_ct_LIPO" = x; then
  6906      LIPO=":"
  6907    else
  6908      case $cross_compiling:$ac_tool_warned in
  6909  yes:)
  6910  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6911  whose name does not start with the host triplet.  If you think this
  6912  configuration is useful to you, please write to autoconf@gnu.org." >&5
  6913  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6914  whose name does not start with the host triplet.  If you think this
  6915  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6916  ac_tool_warned=yes ;;
  6917  esac
  6918      LIPO=$ac_ct_LIPO
  6919    fi
  6920  else
  6921    LIPO="$ac_cv_prog_LIPO"
  6922  fi
  6923  
  6924      if test -n "$ac_tool_prefix"; then
  6925    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6926  set dummy ${ac_tool_prefix}otool; ac_word=$2
  6927  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6928  $as_echo_n "checking for $ac_word... " >&6; }
  6929  if test "${ac_cv_prog_OTOOL+set}" = set; then
  6930    $as_echo_n "(cached) " >&6
  6931  else
  6932    if test -n "$OTOOL"; then
  6933    ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6934  else
  6935  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6936  for as_dir in $PATH
  6937  do
  6938    IFS=$as_save_IFS
  6939    test -z "$as_dir" && as_dir=.
  6940    for ac_exec_ext in '' $ac_executable_extensions; do
  6941    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6942      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6943      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6944      break 2
  6945    fi
  6946  done
  6947  done
  6948  IFS=$as_save_IFS
  6949  
  6950  fi
  6951  fi
  6952  OTOOL=$ac_cv_prog_OTOOL
  6953  if test -n "$OTOOL"; then
  6954    { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
  6955  $as_echo "$OTOOL" >&6; }
  6956  else
  6957    { $as_echo "$as_me:$LINENO: result: no" >&5
  6958  $as_echo "no" >&6; }
  6959  fi
  6960  
  6961  
  6962  fi
  6963  if test -z "$ac_cv_prog_OTOOL"; then
  6964    ac_ct_OTOOL=$OTOOL
  6965    # Extract the first word of "otool", so it can be a program name with args.
  6966  set dummy otool; ac_word=$2
  6967  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6968  $as_echo_n "checking for $ac_word... " >&6; }
  6969  if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  6970    $as_echo_n "(cached) " >&6
  6971  else
  6972    if test -n "$ac_ct_OTOOL"; then
  6973    ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6974  else
  6975  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6976  for as_dir in $PATH
  6977  do
  6978    IFS=$as_save_IFS
  6979    test -z "$as_dir" && as_dir=.
  6980    for ac_exec_ext in '' $ac_executable_extensions; do
  6981    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6982      ac_cv_prog_ac_ct_OTOOL="otool"
  6983      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6984      break 2
  6985    fi
  6986  done
  6987  done
  6988  IFS=$as_save_IFS
  6989  
  6990  fi
  6991  fi
  6992  ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6993  if test -n "$ac_ct_OTOOL"; then
  6994    { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  6995  $as_echo "$ac_ct_OTOOL" >&6; }
  6996  else
  6997    { $as_echo "$as_me:$LINENO: result: no" >&5
  6998  $as_echo "no" >&6; }
  6999  fi
  7000  
  7001    if test "x$ac_ct_OTOOL" = x; then
  7002      OTOOL=":"
  7003    else
  7004      case $cross_compiling:$ac_tool_warned in
  7005  yes:)
  7006  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  7007  whose name does not start with the host triplet.  If you think this
  7008  configuration is useful to you, please write to autoconf@gnu.org." >&5
  7009  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  7010  whose name does not start with the host triplet.  If you think this
  7011  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  7012  ac_tool_warned=yes ;;
  7013  esac
  7014      OTOOL=$ac_ct_OTOOL
  7015    fi
  7016  else
  7017    OTOOL="$ac_cv_prog_OTOOL"
  7018  fi
  7019  
  7020      if test -n "$ac_tool_prefix"; then
  7021    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7022  set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7023  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7024  $as_echo_n "checking for $ac_word... " >&6; }
  7025  if test "${ac_cv_prog_OTOOL64+set}" = set; then
  7026    $as_echo_n "(cached) " >&6
  7027  else
  7028    if test -n "$OTOOL64"; then
  7029    ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7030  else
  7031  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7032  for as_dir in $PATH
  7033  do
  7034    IFS=$as_save_IFS
  7035    test -z "$as_dir" && as_dir=.
  7036    for ac_exec_ext in '' $ac_executable_extensions; do
  7037    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7038      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7039      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7040      break 2
  7041    fi
  7042  done
  7043  done
  7044  IFS=$as_save_IFS
  7045  
  7046  fi
  7047  fi
  7048  OTOOL64=$ac_cv_prog_OTOOL64
  7049  if test -n "$OTOOL64"; then
  7050    { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
  7051  $as_echo "$OTOOL64" >&6; }
  7052  else
  7053    { $as_echo "$as_me:$LINENO: result: no" >&5
  7054  $as_echo "no" >&6; }
  7055  fi
  7056  
  7057  
  7058  fi
  7059  if test -z "$ac_cv_prog_OTOOL64"; then
  7060    ac_ct_OTOOL64=$OTOOL64
  7061    # Extract the first word of "otool64", so it can be a program name with args.
  7062  set dummy otool64; ac_word=$2
  7063  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7064  $as_echo_n "checking for $ac_word... " >&6; }
  7065  if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  7066    $as_echo_n "(cached) " >&6
  7067  else
  7068    if test -n "$ac_ct_OTOOL64"; then
  7069    ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7070  else
  7071  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7072  for as_dir in $PATH
  7073  do
  7074    IFS=$as_save_IFS
  7075    test -z "$as_dir" && as_dir=.
  7076    for ac_exec_ext in '' $ac_executable_extensions; do
  7077    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7078      ac_cv_prog_ac_ct_OTOOL64="otool64"
  7079      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7080      break 2
  7081    fi
  7082  done
  7083  done
  7084  IFS=$as_save_IFS
  7085  
  7086  fi
  7087  fi
  7088  ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7089  if test -n "$ac_ct_OTOOL64"; then
  7090    { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  7091  $as_echo "$ac_ct_OTOOL64" >&6; }
  7092  else
  7093    { $as_echo "$as_me:$LINENO: result: no" >&5
  7094  $as_echo "no" >&6; }
  7095  fi
  7096  
  7097    if test "x$ac_ct_OTOOL64" = x; then
  7098      OTOOL64=":"
  7099    else
  7100      case $cross_compiling:$ac_tool_warned in
  7101  yes:)
  7102  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  7103  whose name does not start with the host triplet.  If you think this
  7104  configuration is useful to you, please write to autoconf@gnu.org." >&5
  7105  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  7106  whose name does not start with the host triplet.  If you think this
  7107  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  7108  ac_tool_warned=yes ;;
  7109  esac
  7110      OTOOL64=$ac_ct_OTOOL64
  7111    fi
  7112  else
  7113    OTOOL64="$ac_cv_prog_OTOOL64"
  7114  fi
  7115  
  7116  
  7117  
  7118  
  7119  
  7120  
  7121  
  7122  
  7123  
  7124  
  7125  
  7126  
  7127  
  7128  
  7129  
  7130  
  7131  
  7132  
  7133  
  7134  
  7135  
  7136  
  7137  
  7138  
  7139  
  7140  
  7141  
  7142      { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  7143  $as_echo_n "checking for -single_module linker flag... " >&6; }
  7144  if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  7145    $as_echo_n "(cached) " >&6
  7146  else
  7147    lt_cv_apple_cc_single_mod=no
  7148        if test -z "${LT_MULTI_MODULE}"; then
  7149  	# By default we will add the -single_module flag. You can override
  7150  	# by either setting the environment variable LT_MULTI_MODULE
  7151  	# non-empty at configure time, or by adding -multi_module to the
  7152  	# link flags.
  7153  	rm -rf libconftest.dylib*
  7154  	echo "int foo(void){return 1;}" > conftest.c
  7155  	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7156  -dynamiclib -Wl,-single_module conftest.c" >&5
  7157  	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7158  	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7159          _lt_result=$?
  7160  	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  7161  	  lt_cv_apple_cc_single_mod=yes
  7162  	else
  7163  	  cat conftest.err >&5
  7164  	fi
  7165  	rm -rf libconftest.dylib*
  7166  	rm -f conftest.*
  7167        fi
  7168  fi
  7169  { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  7170  $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7171      { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  7172  $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7173  if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  7174    $as_echo_n "(cached) " >&6
  7175  else
  7176    lt_cv_ld_exported_symbols_list=no
  7177        save_LDFLAGS=$LDFLAGS
  7178        echo "_main" > conftest.sym
  7179        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7180        cat >conftest.$ac_ext <<_ACEOF
  7181  /* confdefs.h.  */
  7182  _ACEOF
  7183  cat confdefs.h >>conftest.$ac_ext
  7184  cat >>conftest.$ac_ext <<_ACEOF
  7185  /* end confdefs.h.  */
  7186  
  7187  int
  7188  main ()
  7189  {
  7190  
  7191    ;
  7192    return 0;
  7193  }
  7194  _ACEOF
  7195  rm -f conftest.$ac_objext conftest$ac_exeext
  7196  if { (ac_try="$ac_link"
  7197  case "(($ac_try" in
  7198    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7199    *) ac_try_echo=$ac_try;;
  7200  esac
  7201  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7202  $as_echo "$ac_try_echo") >&5
  7203    (eval "$ac_link") 2>conftest.er1
  7204    ac_status=$?
  7205    grep -v '^ *+' conftest.er1 >conftest.err
  7206    rm -f conftest.er1
  7207    cat conftest.err >&5
  7208    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7209    (exit $ac_status); } && {
  7210  	 test -z "$ac_c_werror_flag" ||
  7211  	 test ! -s conftest.err
  7212         } && test -s conftest$ac_exeext && {
  7213  	 test "$cross_compiling" = yes ||
  7214  	 $as_test_x conftest$ac_exeext
  7215         }; then
  7216    lt_cv_ld_exported_symbols_list=yes
  7217  else
  7218    $as_echo "$as_me: failed program was:" >&5
  7219  sed 's/^/| /' conftest.$ac_ext >&5
  7220  
  7221  	lt_cv_ld_exported_symbols_list=no
  7222  fi
  7223  
  7224  rm -rf conftest.dSYM
  7225  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7226        conftest$ac_exeext conftest.$ac_ext
  7227  	LDFLAGS="$save_LDFLAGS"
  7228  
  7229  fi
  7230  { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  7231  $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7232      case $host_os in
  7233      rhapsody* | darwin1.[012])
  7234        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7235      darwin1.*)
  7236        _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7237      darwin*) # darwin 5.x on
  7238        # if running on 10.5 or later, the deployment target defaults
  7239        # to the OS version, if on x86, and 10.4, the deployment
  7240        # target defaults to 10.4. Don't you love it?
  7241        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7242  	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7243  	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7244  	10.[012]*)
  7245  	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7246  	10.*)
  7247  	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7248        esac
  7249      ;;
  7250    esac
  7251      if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7252        _lt_dar_single_mod='$single_module'
  7253      fi
  7254      if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7255        _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7256      else
  7257        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7258      fi
  7259      if test "$DSYMUTIL" != ":"; then
  7260        _lt_dsymutil='~$DSYMUTIL $lib || :'
  7261      else
  7262        _lt_dsymutil=
  7263      fi
  7264      ;;
  7265    esac
  7266  
  7267  
  7268  { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  7269  $as_echo_n "checking for ANSI C header files... " >&6; }
  7270  if test "${ac_cv_header_stdc+set}" = set; then
  7271    $as_echo_n "(cached) " >&6
  7272  else
  7273    cat >conftest.$ac_ext <<_ACEOF
  7274  /* confdefs.h.  */
  7275  _ACEOF
  7276  cat confdefs.h >>conftest.$ac_ext
  7277  cat >>conftest.$ac_ext <<_ACEOF
  7278  /* end confdefs.h.  */
  7279  #include <stdlib.h>
  7280  #include <stdarg.h>
  7281  #include <string.h>
  7282  #include <float.h>
  7283  
  7284  int
  7285  main ()
  7286  {
  7287  
  7288    ;
  7289    return 0;
  7290  }
  7291  _ACEOF
  7292  rm -f conftest.$ac_objext
  7293  if { (ac_try="$ac_compile"
  7294  case "(($ac_try" in
  7295    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7296    *) ac_try_echo=$ac_try;;
  7297  esac
  7298  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7299  $as_echo "$ac_try_echo") >&5
  7300    (eval "$ac_compile") 2>conftest.er1
  7301    ac_status=$?
  7302    grep -v '^ *+' conftest.er1 >conftest.err
  7303    rm -f conftest.er1
  7304    cat conftest.err >&5
  7305    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7306    (exit $ac_status); } && {
  7307  	 test -z "$ac_c_werror_flag" ||
  7308  	 test ! -s conftest.err
  7309         } && test -s conftest.$ac_objext; then
  7310    ac_cv_header_stdc=yes
  7311  else
  7312    $as_echo "$as_me: failed program was:" >&5
  7313  sed 's/^/| /' conftest.$ac_ext >&5
  7314  
  7315  	ac_cv_header_stdc=no
  7316  fi
  7317  
  7318  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7319  
  7320  if test $ac_cv_header_stdc = yes; then
  7321    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7322    cat >conftest.$ac_ext <<_ACEOF
  7323  /* confdefs.h.  */
  7324  _ACEOF
  7325  cat confdefs.h >>conftest.$ac_ext
  7326  cat >>conftest.$ac_ext <<_ACEOF
  7327  /* end confdefs.h.  */
  7328  #include <string.h>
  7329  
  7330  _ACEOF
  7331  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7332    $EGREP "memchr" >/dev/null 2>&1; then
  7333    :
  7334  else
  7335    ac_cv_header_stdc=no
  7336  fi
  7337  rm -f conftest*
  7338  
  7339  fi
  7340  
  7341  if test $ac_cv_header_stdc = yes; then
  7342    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7343    cat >conftest.$ac_ext <<_ACEOF
  7344  /* confdefs.h.  */
  7345  _ACEOF
  7346  cat confdefs.h >>conftest.$ac_ext
  7347  cat >>conftest.$ac_ext <<_ACEOF
  7348  /* end confdefs.h.  */
  7349  #include <stdlib.h>
  7350  
  7351  _ACEOF
  7352  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7353    $EGREP "free" >/dev/null 2>&1; then
  7354    :
  7355  else
  7356    ac_cv_header_stdc=no
  7357  fi
  7358  rm -f conftest*
  7359  
  7360  fi
  7361  
  7362  if test $ac_cv_header_stdc = yes; then
  7363    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7364    if test "$cross_compiling" = yes; then
  7365    :
  7366  else
  7367    cat >conftest.$ac_ext <<_ACEOF
  7368  /* confdefs.h.  */
  7369  _ACEOF
  7370  cat confdefs.h >>conftest.$ac_ext
  7371  cat >>conftest.$ac_ext <<_ACEOF
  7372  /* end confdefs.h.  */
  7373  #include <ctype.h>
  7374  #include <stdlib.h>
  7375  #if ((' ' & 0x0FF) == 0x020)
  7376  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7377  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7378  #else
  7379  # define ISLOWER(c) \
  7380  		   (('a' <= (c) && (c) <= 'i') \
  7381  		     || ('j' <= (c) && (c) <= 'r') \
  7382  		     || ('s' <= (c) && (c) <= 'z'))
  7383  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7384  #endif
  7385  
  7386  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7387  int
  7388  main ()
  7389  {
  7390    int i;
  7391    for (i = 0; i < 256; i++)
  7392      if (XOR (islower (i), ISLOWER (i))
  7393  	|| toupper (i) != TOUPPER (i))
  7394        return 2;
  7395    return 0;
  7396  }
  7397  _ACEOF
  7398  rm -f conftest$ac_exeext
  7399  if { (ac_try="$ac_link"
  7400  case "(($ac_try" in
  7401    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7402    *) ac_try_echo=$ac_try;;
  7403  esac
  7404  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7405  $as_echo "$ac_try_echo") >&5
  7406    (eval "$ac_link") 2>&5
  7407    ac_status=$?
  7408    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7409    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7410    { (case "(($ac_try" in
  7411    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7412    *) ac_try_echo=$ac_try;;
  7413  esac
  7414  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7415  $as_echo "$ac_try_echo") >&5
  7416    (eval "$ac_try") 2>&5
  7417    ac_status=$?
  7418    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7419    (exit $ac_status); }; }; then
  7420    :
  7421  else
  7422    $as_echo "$as_me: program exited with status $ac_status" >&5
  7423  $as_echo "$as_me: failed program was:" >&5
  7424  sed 's/^/| /' conftest.$ac_ext >&5
  7425  
  7426  ( exit $ac_status )
  7427  ac_cv_header_stdc=no
  7428  fi
  7429  rm -rf conftest.dSYM
  7430  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7431  fi
  7432  
  7433  
  7434  fi
  7435  fi
  7436  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  7437  $as_echo "$ac_cv_header_stdc" >&6; }
  7438  if test $ac_cv_header_stdc = yes; then
  7439  
  7440  cat >>confdefs.h <<\_ACEOF
  7441  #define STDC_HEADERS 1
  7442  _ACEOF
  7443  
  7444  fi
  7445  
  7446  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7447  
  7448  
  7449  
  7450  
  7451  
  7452  
  7453  
  7454  
  7455  
  7456  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7457  		  inttypes.h stdint.h unistd.h
  7458  do
  7459  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7460  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  7461  $as_echo_n "checking for $ac_header... " >&6; }
  7462  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7463    $as_echo_n "(cached) " >&6
  7464  else
  7465    cat >conftest.$ac_ext <<_ACEOF
  7466  /* confdefs.h.  */
  7467  _ACEOF
  7468  cat confdefs.h >>conftest.$ac_ext
  7469  cat >>conftest.$ac_ext <<_ACEOF
  7470  /* end confdefs.h.  */
  7471  $ac_includes_default
  7472  
  7473  #include <$ac_header>
  7474  _ACEOF
  7475  rm -f conftest.$ac_objext
  7476  if { (ac_try="$ac_compile"
  7477  case "(($ac_try" in
  7478    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7479    *) ac_try_echo=$ac_try;;
  7480  esac
  7481  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7482  $as_echo "$ac_try_echo") >&5
  7483    (eval "$ac_compile") 2>conftest.er1
  7484    ac_status=$?
  7485    grep -v '^ *+' conftest.er1 >conftest.err
  7486    rm -f conftest.er1
  7487    cat conftest.err >&5
  7488    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7489    (exit $ac_status); } && {
  7490  	 test -z "$ac_c_werror_flag" ||
  7491  	 test ! -s conftest.err
  7492         } && test -s conftest.$ac_objext; then
  7493    eval "$as_ac_Header=yes"
  7494  else
  7495    $as_echo "$as_me: failed program was:" >&5
  7496  sed 's/^/| /' conftest.$ac_ext >&5
  7497  
  7498  	eval "$as_ac_Header=no"
  7499  fi
  7500  
  7501  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7502  fi
  7503  ac_res=`eval 'as_val=${'$as_ac_Header'}
  7504  		 $as_echo "$as_val"'`
  7505  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  7506  $as_echo "$ac_res" >&6; }
  7507  if test `eval 'as_val=${'$as_ac_Header'}
  7508  		 $as_echo "$as_val"'` = yes; then
  7509    cat >>confdefs.h <<_ACEOF
  7510  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7511  _ACEOF
  7512  
  7513  fi
  7514  
  7515  done
  7516  
  7517  
  7518  
  7519  for ac_header in dlfcn.h
  7520  do
  7521  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7522  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  7523  $as_echo_n "checking for $ac_header... " >&6; }
  7524  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7525    $as_echo_n "(cached) " >&6
  7526  else
  7527    cat >conftest.$ac_ext <<_ACEOF
  7528  /* confdefs.h.  */
  7529  _ACEOF
  7530  cat confdefs.h >>conftest.$ac_ext
  7531  cat >>conftest.$ac_ext <<_ACEOF
  7532  /* end confdefs.h.  */
  7533  $ac_includes_default
  7534  
  7535  #include <$ac_header>
  7536  _ACEOF
  7537  rm -f conftest.$ac_objext
  7538  if { (ac_try="$ac_compile"
  7539  case "(($ac_try" in
  7540    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7541    *) ac_try_echo=$ac_try;;
  7542  esac
  7543  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7544  $as_echo "$ac_try_echo") >&5
  7545    (eval "$ac_compile") 2>conftest.er1
  7546    ac_status=$?
  7547    grep -v '^ *+' conftest.er1 >conftest.err
  7548    rm -f conftest.er1
  7549    cat conftest.err >&5
  7550    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7551    (exit $ac_status); } && {
  7552  	 test -z "$ac_c_werror_flag" ||
  7553  	 test ! -s conftest.err
  7554         } && test -s conftest.$ac_objext; then
  7555    eval "$as_ac_Header=yes"
  7556  else
  7557    $as_echo "$as_me: failed program was:" >&5
  7558  sed 's/^/| /' conftest.$ac_ext >&5
  7559  
  7560  	eval "$as_ac_Header=no"
  7561  fi
  7562  
  7563  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7564  fi
  7565  ac_res=`eval 'as_val=${'$as_ac_Header'}
  7566  		 $as_echo "$as_val"'`
  7567  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  7568  $as_echo "$ac_res" >&6; }
  7569  if test `eval 'as_val=${'$as_ac_Header'}
  7570  		 $as_echo "$as_val"'` = yes; then
  7571    cat >>confdefs.h <<_ACEOF
  7572  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7573  _ACEOF
  7574  
  7575  fi
  7576  
  7577  done
  7578  
  7579  
  7580  
  7581  ac_ext=cpp
  7582  ac_cpp='$CXXCPP $CPPFLAGS'
  7583  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7584  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7585  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  7586  if test -z "$CXX"; then
  7587    if test -n "$CCC"; then
  7588      CXX=$CCC
  7589    else
  7590      if test -n "$ac_tool_prefix"; then
  7591    for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  7592    do
  7593      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7594  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7595  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7596  $as_echo_n "checking for $ac_word... " >&6; }
  7597  if test "${ac_cv_prog_CXX+set}" = set; then
  7598    $as_echo_n "(cached) " >&6
  7599  else
  7600    if test -n "$CXX"; then
  7601    ac_cv_prog_CXX="$CXX" # Let the user override the test.
  7602  else
  7603  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7604  for as_dir in $PATH
  7605  do
  7606    IFS=$as_save_IFS
  7607    test -z "$as_dir" && as_dir=.
  7608    for ac_exec_ext in '' $ac_executable_extensions; do
  7609    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7610      ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  7611      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7612      break 2
  7613    fi
  7614  done
  7615  done
  7616  IFS=$as_save_IFS
  7617  
  7618  fi
  7619  fi
  7620  CXX=$ac_cv_prog_CXX
  7621  if test -n "$CXX"; then
  7622    { $as_echo "$as_me:$LINENO: result: $CXX" >&5
  7623  $as_echo "$CXX" >&6; }
  7624  else
  7625    { $as_echo "$as_me:$LINENO: result: no" >&5
  7626  $as_echo "no" >&6; }
  7627  fi
  7628  
  7629  
  7630      test -n "$CXX" && break
  7631    done
  7632  fi
  7633  if test -z "$CXX"; then
  7634    ac_ct_CXX=$CXX
  7635    for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  7636  do
  7637    # Extract the first word of "$ac_prog", so it can be a program name with args.
  7638  set dummy $ac_prog; ac_word=$2
  7639  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7640  $as_echo_n "checking for $ac_word... " >&6; }
  7641  if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
  7642    $as_echo_n "(cached) " >&6
  7643  else
  7644    if test -n "$ac_ct_CXX"; then
  7645    ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  7646  else
  7647  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7648  for as_dir in $PATH
  7649  do
  7650    IFS=$as_save_IFS
  7651    test -z "$as_dir" && as_dir=.
  7652    for ac_exec_ext in '' $ac_executable_extensions; do
  7653    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7654      ac_cv_prog_ac_ct_CXX="$ac_prog"
  7655      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7656      break 2
  7657    fi
  7658  done
  7659  done
  7660  IFS=$as_save_IFS
  7661  
  7662  fi
  7663  fi
  7664  ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  7665  if test -n "$ac_ct_CXX"; then
  7666    { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
  7667  $as_echo "$ac_ct_CXX" >&6; }
  7668  else
  7669    { $as_echo "$as_me:$LINENO: result: no" >&5
  7670  $as_echo "no" >&6; }
  7671  fi
  7672  
  7673  
  7674    test -n "$ac_ct_CXX" && break
  7675  done
  7676  
  7677    if test "x$ac_ct_CXX" = x; then
  7678      CXX="g++"
  7679    else
  7680      case $cross_compiling:$ac_tool_warned in
  7681  yes:)
  7682  { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  7683  whose name does not start with the host triplet.  If you think this
  7684  configuration is useful to you, please write to autoconf@gnu.org." >&5
  7685  $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  7686  whose name does not start with the host triplet.  If you think this
  7687  configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  7688  ac_tool_warned=yes ;;
  7689  esac
  7690      CXX=$ac_ct_CXX
  7691    fi
  7692  fi
  7693  
  7694    fi
  7695  fi
  7696  # Provide some information about the compiler.
  7697  $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
  7698  set X $ac_compile
  7699  ac_compiler=$2
  7700  { (ac_try="$ac_compiler --version >&5"
  7701  case "(($ac_try" in
  7702    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7703    *) ac_try_echo=$ac_try;;
  7704  esac
  7705  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7706  $as_echo "$ac_try_echo") >&5
  7707    (eval "$ac_compiler --version >&5") 2>&5
  7708    ac_status=$?
  7709    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7710    (exit $ac_status); }
  7711  { (ac_try="$ac_compiler -v >&5"
  7712  case "(($ac_try" in
  7713    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7714    *) ac_try_echo=$ac_try;;
  7715  esac
  7716  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7717  $as_echo "$ac_try_echo") >&5
  7718    (eval "$ac_compiler -v >&5") 2>&5
  7719    ac_status=$?
  7720    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7721    (exit $ac_status); }
  7722  { (ac_try="$ac_compiler -V >&5"
  7723  case "(($ac_try" in
  7724    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7725    *) ac_try_echo=$ac_try;;
  7726  esac
  7727  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7728  $as_echo "$ac_try_echo") >&5
  7729    (eval "$ac_compiler -V >&5") 2>&5
  7730    ac_status=$?
  7731    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7732    (exit $ac_status); }
  7733  
  7734  { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
  7735  $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  7736  if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
  7737    $as_echo_n "(cached) " >&6
  7738  else
  7739    cat >conftest.$ac_ext <<_ACEOF
  7740  /* confdefs.h.  */
  7741  _ACEOF
  7742  cat confdefs.h >>conftest.$ac_ext
  7743  cat >>conftest.$ac_ext <<_ACEOF
  7744  /* end confdefs.h.  */
  7745  
  7746  int
  7747  main ()
  7748  {
  7749  #ifndef __GNUC__
  7750         choke me
  7751  #endif
  7752  
  7753    ;
  7754    return 0;
  7755  }
  7756  _ACEOF
  7757  rm -f conftest.$ac_objext
  7758  if { (ac_try="$ac_compile"
  7759  case "(($ac_try" in
  7760    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7761    *) ac_try_echo=$ac_try;;
  7762  esac
  7763  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7764  $as_echo "$ac_try_echo") >&5
  7765    (eval "$ac_compile") 2>conftest.er1
  7766    ac_status=$?
  7767    grep -v '^ *+' conftest.er1 >conftest.err
  7768    rm -f conftest.er1
  7769    cat conftest.err >&5
  7770    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7771    (exit $ac_status); } && {
  7772  	 test -z "$ac_cxx_werror_flag" ||
  7773  	 test ! -s conftest.err
  7774         } && test -s conftest.$ac_objext; then
  7775    ac_compiler_gnu=yes
  7776  else
  7777    $as_echo "$as_me: failed program was:" >&5
  7778  sed 's/^/| /' conftest.$ac_ext >&5
  7779  
  7780  	ac_compiler_gnu=no
  7781  fi
  7782  
  7783  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7784  ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  7785  
  7786  fi
  7787  { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
  7788  $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  7789  if test $ac_compiler_gnu = yes; then
  7790    GXX=yes
  7791  else
  7792    GXX=
  7793  fi
  7794  ac_test_CXXFLAGS=${CXXFLAGS+set}
  7795  ac_save_CXXFLAGS=$CXXFLAGS
  7796  { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
  7797  $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  7798  if test "${ac_cv_prog_cxx_g+set}" = set; then
  7799    $as_echo_n "(cached) " >&6
  7800  else
  7801    ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  7802     ac_cxx_werror_flag=yes
  7803     ac_cv_prog_cxx_g=no
  7804     CXXFLAGS="-g"
  7805     cat >conftest.$ac_ext <<_ACEOF
  7806  /* confdefs.h.  */
  7807  _ACEOF
  7808  cat confdefs.h >>conftest.$ac_ext
  7809  cat >>conftest.$ac_ext <<_ACEOF
  7810  /* end confdefs.h.  */
  7811  
  7812  int
  7813  main ()
  7814  {
  7815  
  7816    ;
  7817    return 0;
  7818  }
  7819  _ACEOF
  7820  rm -f conftest.$ac_objext
  7821  if { (ac_try="$ac_compile"
  7822  case "(($ac_try" in
  7823    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7824    *) ac_try_echo=$ac_try;;
  7825  esac
  7826  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7827  $as_echo "$ac_try_echo") >&5
  7828    (eval "$ac_compile") 2>conftest.er1
  7829    ac_status=$?
  7830    grep -v '^ *+' conftest.er1 >conftest.err
  7831    rm -f conftest.er1
  7832    cat conftest.err >&5
  7833    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7834    (exit $ac_status); } && {
  7835  	 test -z "$ac_cxx_werror_flag" ||
  7836  	 test ! -s conftest.err
  7837         } && test -s conftest.$ac_objext; then
  7838    ac_cv_prog_cxx_g=yes
  7839  else
  7840    $as_echo "$as_me: failed program was:" >&5
  7841  sed 's/^/| /' conftest.$ac_ext >&5
  7842  
  7843  	CXXFLAGS=""
  7844        cat >conftest.$ac_ext <<_ACEOF
  7845  /* confdefs.h.  */
  7846  _ACEOF
  7847  cat confdefs.h >>conftest.$ac_ext
  7848  cat >>conftest.$ac_ext <<_ACEOF
  7849  /* end confdefs.h.  */
  7850  
  7851  int
  7852  main ()
  7853  {
  7854  
  7855    ;
  7856    return 0;
  7857  }
  7858  _ACEOF
  7859  rm -f conftest.$ac_objext
  7860  if { (ac_try="$ac_compile"
  7861  case "(($ac_try" in
  7862    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7863    *) ac_try_echo=$ac_try;;
  7864  esac
  7865  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7866  $as_echo "$ac_try_echo") >&5
  7867    (eval "$ac_compile") 2>conftest.er1
  7868    ac_status=$?
  7869    grep -v '^ *+' conftest.er1 >conftest.err
  7870    rm -f conftest.er1
  7871    cat conftest.err >&5
  7872    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7873    (exit $ac_status); } && {
  7874  	 test -z "$ac_cxx_werror_flag" ||
  7875  	 test ! -s conftest.err
  7876         } && test -s conftest.$ac_objext; then
  7877    :
  7878  else
  7879    $as_echo "$as_me: failed program was:" >&5
  7880  sed 's/^/| /' conftest.$ac_ext >&5
  7881  
  7882  	ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  7883  	 CXXFLAGS="-g"
  7884  	 cat >conftest.$ac_ext <<_ACEOF
  7885  /* confdefs.h.  */
  7886  _ACEOF
  7887  cat confdefs.h >>conftest.$ac_ext
  7888  cat >>conftest.$ac_ext <<_ACEOF
  7889  /* end confdefs.h.  */
  7890  
  7891  int
  7892  main ()
  7893  {
  7894  
  7895    ;
  7896    return 0;
  7897  }
  7898  _ACEOF
  7899  rm -f conftest.$ac_objext
  7900  if { (ac_try="$ac_compile"
  7901  case "(($ac_try" in
  7902    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7903    *) ac_try_echo=$ac_try;;
  7904  esac
  7905  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7906  $as_echo "$ac_try_echo") >&5
  7907    (eval "$ac_compile") 2>conftest.er1
  7908    ac_status=$?
  7909    grep -v '^ *+' conftest.er1 >conftest.err
  7910    rm -f conftest.er1
  7911    cat conftest.err >&5
  7912    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7913    (exit $ac_status); } && {
  7914  	 test -z "$ac_cxx_werror_flag" ||
  7915  	 test ! -s conftest.err
  7916         } && test -s conftest.$ac_objext; then
  7917    ac_cv_prog_cxx_g=yes
  7918  else
  7919    $as_echo "$as_me: failed program was:" >&5
  7920  sed 's/^/| /' conftest.$ac_ext >&5
  7921  
  7922  
  7923  fi
  7924  
  7925  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7926  fi
  7927  
  7928  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7929  fi
  7930  
  7931  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7932     ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  7933  fi
  7934  { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
  7935  $as_echo "$ac_cv_prog_cxx_g" >&6; }
  7936  if test "$ac_test_CXXFLAGS" = set; then
  7937    CXXFLAGS=$ac_save_CXXFLAGS
  7938  elif test $ac_cv_prog_cxx_g = yes; then
  7939    if test "$GXX" = yes; then
  7940      CXXFLAGS="-g -O2"
  7941    else
  7942      CXXFLAGS="-g"
  7943    fi
  7944  else
  7945    if test "$GXX" = yes; then
  7946      CXXFLAGS="-O2"
  7947    else
  7948      CXXFLAGS=
  7949    fi
  7950  fi
  7951  ac_ext=c
  7952  ac_cpp='$CPP $CPPFLAGS'
  7953  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7954  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7955  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7956  
  7957  depcc="$CXX"  am_compiler_list=
  7958  
  7959  { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  7960  $as_echo_n "checking dependency style of $depcc... " >&6; }
  7961  if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
  7962    $as_echo_n "(cached) " >&6
  7963  else
  7964    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  7965    # We make a subdir and do the tests there.  Otherwise we can end up
  7966    # making bogus files that we don't know about and never remove.  For
  7967    # instance it was reported that on HP-UX the gcc test will end up
  7968    # making a dummy file named `D' -- because `-MD' means `put the output
  7969    # in D'.
  7970    mkdir conftest.dir
  7971    # Copy depcomp to subdir because otherwise we won't find it if we're
  7972    # using a relative directory.
  7973    cp "$am_depcomp" conftest.dir
  7974    cd conftest.dir
  7975    # We will build objects and dependencies in a subdirectory because
  7976    # it helps to detect inapplicable dependency modes.  For instance
  7977    # both Tru64's cc and ICC support -MD to output dependencies as a
  7978    # side effect of compilation, but ICC will put the dependencies in
  7979    # the current directory while Tru64 will put them in the object
  7980    # directory.
  7981    mkdir sub
  7982  
  7983    am_cv_CXX_dependencies_compiler_type=none
  7984    if test "$am_compiler_list" = ""; then
  7985       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  7986    fi
  7987    for depmode in $am_compiler_list; do
  7988      # Setup a source with many dependencies, because some compilers
  7989      # like to wrap large dependency lists on column 80 (with \), and
  7990      # we should not choose a depcomp mode which is confused by this.
  7991      #
  7992      # We need to recreate these files for each test, as the compiler may
  7993      # overwrite some of them when testing with obscure command lines.
  7994      # This happens at least with the AIX C compiler.
  7995      : > sub/conftest.c
  7996      for i in 1 2 3 4 5 6; do
  7997        echo '#include "conftst'$i'.h"' >> sub/conftest.c
  7998        # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  7999        # Solaris 8's {/usr,}/bin/sh.
  8000        touch sub/conftst$i.h
  8001      done
  8002      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8003  
  8004      case $depmode in
  8005      nosideeffect)
  8006        # after this tag, mechanisms are not by side-effect, so they'll
  8007        # only be used when explicitly requested
  8008        if test "x$enable_dependency_tracking" = xyes; then
  8009  	continue
  8010        else
  8011  	break
  8012        fi
  8013        ;;
  8014      none) break ;;
  8015      esac
  8016      # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8017      # mode.  It turns out that the SunPro C++ compiler does not properly
  8018      # handle `-M -o', and we need to detect this.
  8019      if depmode=$depmode \
  8020         source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  8021         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  8022         $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  8023           >/dev/null 2>conftest.err &&
  8024         grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  8025         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  8026         grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  8027         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  8028        # icc doesn't choke on unknown options, it will just issue warnings
  8029        # or remarks (even with -Werror).  So we grep stderr for any message
  8030        # that says an option was ignored or not supported.
  8031        # When given -MP, icc 7.0 and 7.1 complain thusly:
  8032        #   icc: Command line warning: ignoring option '-M'; no argument required
  8033        # The diagnosis changed in icc 8.0:
  8034        #   icc: Command line remark: option '-MP' not supported
  8035        if (grep 'ignoring option' conftest.err ||
  8036            grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  8037          am_cv_CXX_dependencies_compiler_type=$depmode
  8038          break
  8039        fi
  8040      fi
  8041    done
  8042  
  8043    cd ..
  8044    rm -rf conftest.dir
  8045  else
  8046    am_cv_CXX_dependencies_compiler_type=none
  8047  fi
  8048  
  8049  fi
  8050  { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
  8051  $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
  8052  CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
  8053  
  8054   if
  8055    test "x$enable_dependency_tracking" != xno \
  8056    && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
  8057    am__fastdepCXX_TRUE=
  8058    am__fastdepCXX_FALSE='#'
  8059  else
  8060    am__fastdepCXX_TRUE='#'
  8061    am__fastdepCXX_FALSE=
  8062  fi
  8063  
  8064  
  8065  if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
  8066      ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
  8067      (test "X$CXX" != "Xg++"))) ; then
  8068    ac_ext=cpp
  8069  ac_cpp='$CXXCPP $CPPFLAGS'
  8070  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8071  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8072  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  8073  { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
  8074  $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  8075  if test -z "$CXXCPP"; then
  8076    if test "${ac_cv_prog_CXXCPP+set}" = set; then
  8077    $as_echo_n "(cached) " >&6
  8078  else
  8079        # Double quotes because CXXCPP needs to be expanded
  8080      for CXXCPP in "$CXX -E" "/lib/cpp"
  8081      do
  8082        ac_preproc_ok=false
  8083  for ac_cxx_preproc_warn_flag in '' yes
  8084  do
  8085    # Use a header file that comes with gcc, so configuring glibc
  8086    # with a fresh cross-compiler works.
  8087    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8088    # <limits.h> exists even on freestanding compilers.
  8089    # On the NeXT, cc -E runs the code through the compiler's parser,
  8090    # not just through cpp. "Syntax error" is here to catch this case.
  8091    cat >conftest.$ac_ext <<_ACEOF
  8092  /* confdefs.h.  */
  8093  _ACEOF
  8094  cat confdefs.h >>conftest.$ac_ext
  8095  cat >>conftest.$ac_ext <<_ACEOF
  8096  /* end confdefs.h.  */
  8097  #ifdef __STDC__
  8098  # include <limits.h>
  8099  #else
  8100  # include <assert.h>
  8101  #endif
  8102  		     Syntax error
  8103  _ACEOF
  8104  if { (ac_try="$ac_cpp conftest.$ac_ext"
  8105  case "(($ac_try" in
  8106    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8107    *) ac_try_echo=$ac_try;;
  8108  esac
  8109  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8110  $as_echo "$ac_try_echo") >&5
  8111    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8112    ac_status=$?
  8113    grep -v '^ *+' conftest.er1 >conftest.err
  8114    rm -f conftest.er1
  8115    cat conftest.err >&5
  8116    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8117    (exit $ac_status); } >/dev/null && {
  8118  	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  8119  	 test ! -s conftest.err
  8120         }; then
  8121    :
  8122  else
  8123    $as_echo "$as_me: failed program was:" >&5
  8124  sed 's/^/| /' conftest.$ac_ext >&5
  8125  
  8126    # Broken: fails on valid input.
  8127  continue
  8128  fi
  8129  
  8130  rm -f conftest.err conftest.$ac_ext
  8131  
  8132    # OK, works on sane cases.  Now check whether nonexistent headers
  8133    # can be detected and how.
  8134    cat >conftest.$ac_ext <<_ACEOF
  8135  /* confdefs.h.  */
  8136  _ACEOF
  8137  cat confdefs.h >>conftest.$ac_ext
  8138  cat >>conftest.$ac_ext <<_ACEOF
  8139  /* end confdefs.h.  */
  8140  #include <ac_nonexistent.h>
  8141  _ACEOF
  8142  if { (ac_try="$ac_cpp conftest.$ac_ext"
  8143  case "(($ac_try" in
  8144    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8145    *) ac_try_echo=$ac_try;;
  8146  esac
  8147  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8148  $as_echo "$ac_try_echo") >&5
  8149    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8150    ac_status=$?
  8151    grep -v '^ *+' conftest.er1 >conftest.err
  8152    rm -f conftest.er1
  8153    cat conftest.err >&5
  8154    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8155    (exit $ac_status); } >/dev/null && {
  8156  	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  8157  	 test ! -s conftest.err
  8158         }; then
  8159    # Broken: success on invalid input.
  8160  continue
  8161  else
  8162    $as_echo "$as_me: failed program was:" >&5
  8163  sed 's/^/| /' conftest.$ac_ext >&5
  8164  
  8165    # Passes both tests.
  8166  ac_preproc_ok=:
  8167  break
  8168  fi
  8169  
  8170  rm -f conftest.err conftest.$ac_ext
  8171  
  8172  done
  8173  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  8174  rm -f conftest.err conftest.$ac_ext
  8175  if $ac_preproc_ok; then
  8176    break
  8177  fi
  8178  
  8179      done
  8180      ac_cv_prog_CXXCPP=$CXXCPP
  8181  
  8182  fi
  8183    CXXCPP=$ac_cv_prog_CXXCPP
  8184  else
  8185    ac_cv_prog_CXXCPP=$CXXCPP
  8186  fi
  8187  { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
  8188  $as_echo "$CXXCPP" >&6; }
  8189  ac_preproc_ok=false
  8190  for ac_cxx_preproc_warn_flag in '' yes
  8191  do
  8192    # Use a header file that comes with gcc, so configuring glibc
  8193    # with a fresh cross-compiler works.
  8194    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8195    # <limits.h> exists even on freestanding compilers.
  8196    # On the NeXT, cc -E runs the code through the compiler's parser,
  8197    # not just through cpp. "Syntax error" is here to catch this case.
  8198    cat >conftest.$ac_ext <<_ACEOF
  8199  /* confdefs.h.  */
  8200  _ACEOF
  8201  cat confdefs.h >>conftest.$ac_ext
  8202  cat >>conftest.$ac_ext <<_ACEOF
  8203  /* end confdefs.h.  */
  8204  #ifdef __STDC__
  8205  # include <limits.h>
  8206  #else
  8207  # include <assert.h>
  8208  #endif
  8209  		     Syntax error
  8210  _ACEOF
  8211  if { (ac_try="$ac_cpp conftest.$ac_ext"
  8212  case "(($ac_try" in
  8213    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8214    *) ac_try_echo=$ac_try;;
  8215  esac
  8216  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8217  $as_echo "$ac_try_echo") >&5
  8218    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8219    ac_status=$?
  8220    grep -v '^ *+' conftest.er1 >conftest.err
  8221    rm -f conftest.er1
  8222    cat conftest.err >&5
  8223    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8224    (exit $ac_status); } >/dev/null && {
  8225  	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  8226  	 test ! -s conftest.err
  8227         }; then
  8228    :
  8229  else
  8230    $as_echo "$as_me: failed program was:" >&5
  8231  sed 's/^/| /' conftest.$ac_ext >&5
  8232  
  8233    # Broken: fails on valid input.
  8234  continue
  8235  fi
  8236  
  8237  rm -f conftest.err conftest.$ac_ext
  8238  
  8239    # OK, works on sane cases.  Now check whether nonexistent headers
  8240    # can be detected and how.
  8241    cat >conftest.$ac_ext <<_ACEOF
  8242  /* confdefs.h.  */
  8243  _ACEOF
  8244  cat confdefs.h >>conftest.$ac_ext
  8245  cat >>conftest.$ac_ext <<_ACEOF
  8246  /* end confdefs.h.  */
  8247  #include <ac_nonexistent.h>
  8248  _ACEOF
  8249  if { (ac_try="$ac_cpp conftest.$ac_ext"
  8250  case "(($ac_try" in
  8251    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8252    *) ac_try_echo=$ac_try;;
  8253  esac
  8254  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8255  $as_echo "$ac_try_echo") >&5
  8256    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8257    ac_status=$?
  8258    grep -v '^ *+' conftest.er1 >conftest.err
  8259    rm -f conftest.er1
  8260    cat conftest.err >&5
  8261    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8262    (exit $ac_status); } >/dev/null && {
  8263  	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  8264  	 test ! -s conftest.err
  8265         }; then
  8266    # Broken: success on invalid input.
  8267  continue
  8268  else
  8269    $as_echo "$as_me: failed program was:" >&5
  8270  sed 's/^/| /' conftest.$ac_ext >&5
  8271  
  8272    # Passes both tests.
  8273  ac_preproc_ok=:
  8274  break
  8275  fi
  8276  
  8277  rm -f conftest.err conftest.$ac_ext
  8278  
  8279  done
  8280  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  8281  rm -f conftest.err conftest.$ac_ext
  8282  if $ac_preproc_ok; then
  8283    :
  8284  else
  8285    _lt_caught_CXX_error=yes
  8286  fi
  8287  
  8288  ac_ext=c
  8289  ac_cpp='$CPP $CPPFLAGS'
  8290  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8291  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8292  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8293  
  8294  else
  8295    _lt_caught_CXX_error=yes
  8296  fi
  8297  
  8298  
  8299  
  8300  
  8301  
  8302  # Set options
  8303  
  8304  
  8305  
  8306          enable_dlopen=no
  8307  
  8308  
  8309    enable_win32_dll=no
  8310  
  8311  
  8312              # Check whether --enable-shared was given.
  8313  if test "${enable_shared+set}" = set; then
  8314    enableval=$enable_shared; p=${PACKAGE-default}
  8315      case $enableval in
  8316      yes) enable_shared=yes ;;
  8317      no) enable_shared=no ;;
  8318      *)
  8319        enable_shared=no
  8320        # Look at the argument we got.  We use all the common list separators.
  8321        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8322        for pkg in $enableval; do
  8323  	IFS="$lt_save_ifs"
  8324  	if test "X$pkg" = "X$p"; then
  8325  	  enable_shared=yes
  8326  	fi
  8327        done
  8328        IFS="$lt_save_ifs"
  8329        ;;
  8330      esac
  8331  else
  8332    enable_shared=yes
  8333  fi
  8334  
  8335  
  8336  
  8337  
  8338  
  8339  
  8340  
  8341  
  8342  
  8343    # Check whether --enable-static was given.
  8344  if test "${enable_static+set}" = set; then
  8345    enableval=$enable_static; p=${PACKAGE-default}
  8346      case $enableval in
  8347      yes) enable_static=yes ;;
  8348      no) enable_static=no ;;
  8349      *)
  8350       enable_static=no
  8351        # Look at the argument we got.  We use all the common list separators.
  8352        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  8353        for pkg in $enableval; do
  8354  	IFS="$lt_save_ifs"
  8355  	if test "X$pkg" = "X$p"; then
  8356  	  enable_static=yes
  8357  	fi
  8358        done
  8359        IFS="$lt_save_ifs"
  8360        ;;
  8361      esac
  8362  else
  8363    enable_static=yes
  8364  fi
  8365  
  8366  
  8367  
  8368  
  8369  
  8370  
  8371  
  8372  
  8373  
  8374  
  8375  # Check whether --with-pic was given.
  8376  if test "${with_pic+set}" = set; then
  8377    withval=$with_pic; pic_mode="$withval"
  8378  else
  8379    pic_mode=default
  8380  fi
  8381  
  8382  
  8383  test -z "$pic_mode" && pic_mode=default
  8384  
  8385  
  8386  
  8387  
  8388  
  8389  
  8390  
  8391  
  8392  
  8393  
  8394  
  8395  # This can be used to rebuild libtool when needed
  8396  LIBTOOL_DEPS="$ltmain"
  8397  
  8398  # Always use our own libtool.
  8399  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  8400  
  8401  
  8402  
  8403  
  8404  
  8405  
  8406  
  8407  
  8408  
  8409  
  8410  
  8411  
  8412  
  8413  
  8414  
  8415  
  8416  
  8417  
  8418  
  8419  
  8420  
  8421  
  8422  
  8423  
  8424  
  8425  test -z "$LN_S" && LN_S="ln -s"
  8426  
  8427  
  8428  
  8429  
  8430  
  8431  
  8432  
  8433  
  8434  
  8435  
  8436  
  8437  
  8438  
  8439  
  8440  if test -n "${ZSH_VERSION+set}" ; then
  8441     setopt NO_GLOB_SUBST
  8442  fi
  8443  
  8444  { $as_echo "$as_me:$LINENO: checking for objdir" >&5
  8445  $as_echo_n "checking for objdir... " >&6; }
  8446  if test "${lt_cv_objdir+set}" = set; then
  8447    $as_echo_n "(cached) " >&6
  8448  else
  8449    rm -f .libs 2>/dev/null
  8450  mkdir .libs 2>/dev/null
  8451  if test -d .libs; then
  8452    lt_cv_objdir=.libs
  8453  else
  8454    # MS-DOS does not allow filenames that begin with a dot.
  8455    lt_cv_objdir=_libs
  8456  fi
  8457  rmdir .libs 2>/dev/null
  8458  fi
  8459  { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  8460  $as_echo "$lt_cv_objdir" >&6; }
  8461  objdir=$lt_cv_objdir
  8462  
  8463  
  8464  
  8465  
  8466  
  8467  cat >>confdefs.h <<_ACEOF
  8468  #define LT_OBJDIR "$lt_cv_objdir/"
  8469  _ACEOF
  8470  
  8471  
  8472  
  8473  
  8474  
  8475  
  8476  
  8477  
  8478  
  8479  
  8480  
  8481  
  8482  
  8483  
  8484  
  8485  
  8486  
  8487  case $host_os in
  8488  aix3*)
  8489    # AIX sometimes has problems with the GCC collect2 program.  For some
  8490    # reason, if we set the COLLECT_NAMES environment variable, the problems
  8491    # vanish in a puff of smoke.
  8492    if test "X${COLLECT_NAMES+set}" != Xset; then
  8493      COLLECT_NAMES=
  8494      export COLLECT_NAMES
  8495    fi
  8496    ;;
  8497  esac
  8498  
  8499  # Sed substitution that helps us do robust quoting.  It backslashifies
  8500  # metacharacters that are still active within double-quoted strings.
  8501  sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  8502  
  8503  # Same as above, but do not quote variable references.
  8504  double_quote_subst='s/\(["`\\]\)/\\\1/g'
  8505  
  8506  # Sed substitution to delay expansion of an escaped shell variable in a
  8507  # double_quote_subst'ed string.
  8508  delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  8509  
  8510  # Sed substitution to delay expansion of an escaped single quote.
  8511  delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  8512  
  8513  # Sed substitution to avoid accidental globbing in evaled expressions
  8514  no_glob_subst='s/\*/\\\*/g'
  8515  
  8516  # Global variables:
  8517  ofile=libtool
  8518  can_build_shared=yes
  8519  
  8520  # All known linkers require a `.a' archive for static linking (except MSVC,
  8521  # which needs '.lib').
  8522  libext=a
  8523  
  8524  with_gnu_ld="$lt_cv_prog_gnu_ld"
  8525  
  8526  old_CC="$CC"
  8527  old_CFLAGS="$CFLAGS"
  8528  
  8529  # Set sane defaults for various variables
  8530  test -z "$CC" && CC=cc
  8531  test -z "$LTCC" && LTCC=$CC
  8532  test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  8533  test -z "$LD" && LD=ld
  8534  test -z "$ac_objext" && ac_objext=o
  8535  
  8536  for cc_temp in $compiler""; do
  8537    case $cc_temp in
  8538      compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  8539      distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  8540      \-*) ;;
  8541      *) break;;
  8542    esac
  8543  done
  8544  cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  8545  
  8546  
  8547  # Only perform the check for file, if the check method requires it
  8548  test -z "$MAGIC_CMD" && MAGIC_CMD=file
  8549  case $deplibs_check_method in
  8550  file_magic*)
  8551    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  8552      { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  8553  $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  8554  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  8555    $as_echo_n "(cached) " >&6
  8556  else
  8557    case $MAGIC_CMD in
  8558  [\\/*] |  ?:[\\/]*)
  8559    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8560    ;;
  8561  *)
  8562    lt_save_MAGIC_CMD="$MAGIC_CMD"
  8563    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8564    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8565    for ac_dir in $ac_dummy; do
  8566      IFS="$lt_save_ifs"
  8567      test -z "$ac_dir" && ac_dir=.
  8568      if test -f $ac_dir/${ac_tool_prefix}file; then
  8569        lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  8570        if test -n "$file_magic_test_file"; then
  8571  	case $deplibs_check_method in
  8572  	"file_magic "*)
  8573  	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8574  	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8575  	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8576  	    $EGREP "$file_magic_regex" > /dev/null; then
  8577  	    :
  8578  	  else
  8579  	    cat <<_LT_EOF 1>&2
  8580  
  8581  *** Warning: the command libtool uses to detect shared libraries,
  8582  *** $file_magic_cmd, produces output that libtool cannot recognize.
  8583  *** The result is that libtool may fail to recognize shared libraries
  8584  *** as such.  This will affect the creation of libtool libraries that
  8585  *** depend on shared libraries, but programs linked with such libtool
  8586  *** libraries will work regardless of this problem.  Nevertheless, you
  8587  *** may want to report the problem to your system manager and/or to
  8588  *** bug-libtool@gnu.org
  8589  
  8590  _LT_EOF
  8591  	  fi ;;
  8592  	esac
  8593        fi
  8594        break
  8595      fi
  8596    done
  8597    IFS="$lt_save_ifs"
  8598    MAGIC_CMD="$lt_save_MAGIC_CMD"
  8599    ;;
  8600  esac
  8601  fi
  8602  
  8603  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8604  if test -n "$MAGIC_CMD"; then
  8605    { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  8606  $as_echo "$MAGIC_CMD" >&6; }
  8607  else
  8608    { $as_echo "$as_me:$LINENO: result: no" >&5
  8609  $as_echo "no" >&6; }
  8610  fi
  8611  
  8612  
  8613  
  8614  
  8615  
  8616  if test -z "$lt_cv_path_MAGIC_CMD"; then
  8617    if test -n "$ac_tool_prefix"; then
  8618      { $as_echo "$as_me:$LINENO: checking for file" >&5
  8619  $as_echo_n "checking for file... " >&6; }
  8620  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  8621    $as_echo_n "(cached) " >&6
  8622  else
  8623    case $MAGIC_CMD in
  8624  [\\/*] |  ?:[\\/]*)
  8625    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8626    ;;
  8627  *)
  8628    lt_save_MAGIC_CMD="$MAGIC_CMD"
  8629    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8630    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8631    for ac_dir in $ac_dummy; do
  8632      IFS="$lt_save_ifs"
  8633      test -z "$ac_dir" && ac_dir=.
  8634      if test -f $ac_dir/file; then
  8635        lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8636        if test -n "$file_magic_test_file"; then
  8637  	case $deplibs_check_method in
  8638  	"file_magic "*)
  8639  	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8640  	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8641  	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8642  	    $EGREP "$file_magic_regex" > /dev/null; then
  8643  	    :
  8644  	  else
  8645  	    cat <<_LT_EOF 1>&2
  8646  
  8647  *** Warning: the command libtool uses to detect shared libraries,
  8648  *** $file_magic_cmd, produces output that libtool cannot recognize.
  8649  *** The result is that libtool may fail to recognize shared libraries
  8650  *** as such.  This will affect the creation of libtool libraries that
  8651  *** depend on shared libraries, but programs linked with such libtool
  8652  *** libraries will work regardless of this problem.  Nevertheless, you
  8653  *** may want to report the problem to your system manager and/or to
  8654  *** bug-libtool@gnu.org
  8655  
  8656  _LT_EOF
  8657  	  fi ;;
  8658  	esac
  8659        fi
  8660        break
  8661      fi
  8662    done
  8663    IFS="$lt_save_ifs"
  8664    MAGIC_CMD="$lt_save_MAGIC_CMD"
  8665    ;;
  8666  esac
  8667  fi
  8668  
  8669  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8670  if test -n "$MAGIC_CMD"; then
  8671    { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  8672  $as_echo "$MAGIC_CMD" >&6; }
  8673  else
  8674    { $as_echo "$as_me:$LINENO: result: no" >&5
  8675  $as_echo "no" >&6; }
  8676  fi
  8677  
  8678  
  8679    else
  8680      MAGIC_CMD=:
  8681    fi
  8682  fi
  8683  
  8684    fi
  8685    ;;
  8686  esac
  8687  
  8688  # Use C for the default configuration in the libtool script
  8689  
  8690  lt_save_CC="$CC"
  8691  ac_ext=c
  8692  ac_cpp='$CPP $CPPFLAGS'
  8693  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8694  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8695  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8696  
  8697  
  8698  # Source file extension for C test sources.
  8699  ac_ext=c
  8700  
  8701  # Object file extension for compiled C test sources.
  8702  objext=o
  8703  objext=$objext
  8704  
  8705  # Code to be used in simple compile tests
  8706  lt_simple_compile_test_code="int some_variable = 0;"
  8707  
  8708  # Code to be used in simple link tests
  8709  lt_simple_link_test_code='int main(){return(0);}'
  8710  
  8711  
  8712  
  8713  
  8714  
  8715  
  8716  
  8717  # If no C compiler was specified, use CC.
  8718  LTCC=${LTCC-"$CC"}
  8719  
  8720  # If no C compiler flags were specified, use CFLAGS.
  8721  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8722  
  8723  # Allow CC to be a program name with arguments.
  8724  compiler=$CC
  8725  
  8726  # Save the default compiler, since it gets overwritten when the other
  8727  # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8728  compiler_DEFAULT=$CC
  8729  
  8730  # save warnings/boilerplate of simple test code
  8731  ac_outfile=conftest.$ac_objext
  8732  echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8733  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8734  _lt_compiler_boilerplate=`cat conftest.err`
  8735  $RM conftest*
  8736  
  8737  ac_outfile=conftest.$ac_objext
  8738  echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8739  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8740  _lt_linker_boilerplate=`cat conftest.err`
  8741  $RM -r conftest*
  8742  
  8743  
  8744  ## CAVEAT EMPTOR:
  8745  ## There is no encapsulation within the following macros, do not change
  8746  ## the running order or otherwise move them around unless you know exactly
  8747  ## what you are doing...
  8748  if test -n "$compiler"; then
  8749  
  8750  lt_prog_compiler_no_builtin_flag=
  8751  
  8752  if test "$GCC" = yes; then
  8753    lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  8754  
  8755    { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8756  $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8757  if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  8758    $as_echo_n "(cached) " >&6
  8759  else
  8760    lt_cv_prog_compiler_rtti_exceptions=no
  8761     ac_outfile=conftest.$ac_objext
  8762     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8763     lt_compiler_flag="-fno-rtti -fno-exceptions"
  8764     # Insert the option either (1) after the last *FLAGS variable, or
  8765     # (2) before a word containing "conftest.", or (3) at the end.
  8766     # Note that $ac_compile itself does not contain backslashes and begins
  8767     # with a dollar sign (not a hyphen), so the echo should work correctly.
  8768     # The option is referenced via a variable to avoid confusing sed.
  8769     lt_compile=`echo "$ac_compile" | $SED \
  8770     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8771     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8772     -e 's:$: $lt_compiler_flag:'`
  8773     (eval echo "\"\$as_me:8773: $lt_compile\"" >&5)
  8774     (eval "$lt_compile" 2>conftest.err)
  8775     ac_status=$?
  8776     cat conftest.err >&5
  8777     echo "$as_me:8777: \$? = $ac_status" >&5
  8778     if (exit $ac_status) && test -s "$ac_outfile"; then
  8779       # The compiler can only warn and ignore the option if not recognized
  8780       # So say no if there are warnings other than the usual output.
  8781       $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  8782       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8783       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8784         lt_cv_prog_compiler_rtti_exceptions=yes
  8785       fi
  8786     fi
  8787     $RM conftest*
  8788  
  8789  fi
  8790  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8791  $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8792  
  8793  if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8794      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8795  else
  8796      :
  8797  fi
  8798  
  8799  fi
  8800  
  8801  
  8802  
  8803  
  8804  
  8805  
  8806    lt_prog_compiler_wl=
  8807  lt_prog_compiler_pic=
  8808  lt_prog_compiler_static=
  8809  
  8810  { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  8811  $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8812  
  8813    if test "$GCC" = yes; then
  8814      lt_prog_compiler_wl='-Wl,'
  8815      lt_prog_compiler_static='-static'
  8816  
  8817      case $host_os in
  8818        aix*)
  8819        # All AIX code is PIC.
  8820        if test "$host_cpu" = ia64; then
  8821  	# AIX 5 now supports IA64 processor
  8822  	lt_prog_compiler_static='-Bstatic'
  8823        fi
  8824        ;;
  8825  
  8826      amigaos*)
  8827        case $host_cpu in
  8828        powerpc)
  8829              # see comment about AmigaOS4 .so support
  8830              lt_prog_compiler_pic='-fPIC'
  8831          ;;
  8832        m68k)
  8833              # FIXME: we need at least 68020 code to build shared libraries, but
  8834              # adding the `-m68020' flag to GCC prevents building anything better,
  8835              # like `-m68040'.
  8836              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8837          ;;
  8838        esac
  8839        ;;
  8840  
  8841      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8842        # PIC is the default for these OSes.
  8843        ;;
  8844  
  8845      mingw* | cygwin* | pw32* | os2* | cegcc*)
  8846        # This hack is so that the source file can tell whether it is being
  8847        # built for inclusion in a dll (and should export symbols for example).
  8848        # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8849        # (--disable-auto-import) libraries
  8850        lt_prog_compiler_pic='-DDLL_EXPORT'
  8851        ;;
  8852  
  8853      darwin* | rhapsody*)
  8854        # PIC is the default on this platform
  8855        # Common symbols not allowed in MH_DYLIB files
  8856        lt_prog_compiler_pic='-fno-common'
  8857        ;;
  8858  
  8859      hpux*)
  8860        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8861        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  8862        # sets the default TLS model and affects inlining.
  8863        case $host_cpu in
  8864        hppa*64*)
  8865  	# +Z the default
  8866  	;;
  8867        *)
  8868  	lt_prog_compiler_pic='-fPIC'
  8869  	;;
  8870        esac
  8871        ;;
  8872  
  8873      interix[3-9]*)
  8874        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8875        # Instead, we relocate shared libraries at runtime.
  8876        ;;
  8877  
  8878      msdosdjgpp*)
  8879        # Just because we use GCC doesn't mean we suddenly get shared libraries
  8880        # on systems that don't support them.
  8881        lt_prog_compiler_can_build_shared=no
  8882        enable_shared=no
  8883        ;;
  8884  
  8885      *nto* | *qnx*)
  8886        # QNX uses GNU C++, but need to define -shared option too, otherwise
  8887        # it will coredump.
  8888        lt_prog_compiler_pic='-fPIC -shared'
  8889        ;;
  8890  
  8891      sysv4*MP*)
  8892        if test -d /usr/nec; then
  8893  	lt_prog_compiler_pic=-Kconform_pic
  8894        fi
  8895        ;;
  8896  
  8897      *)
  8898        lt_prog_compiler_pic='-fPIC'
  8899        ;;
  8900      esac
  8901    else
  8902      # PORTME Check for flag to pass linker flags through the system compiler.
  8903      case $host_os in
  8904      aix*)
  8905        lt_prog_compiler_wl='-Wl,'
  8906        if test "$host_cpu" = ia64; then
  8907  	# AIX 5 now supports IA64 processor
  8908  	lt_prog_compiler_static='-Bstatic'
  8909        else
  8910  	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8911        fi
  8912        ;;
  8913  
  8914      mingw* | cygwin* | pw32* | os2* | cegcc*)
  8915        # This hack is so that the source file can tell whether it is being
  8916        # built for inclusion in a dll (and should export symbols for example).
  8917        lt_prog_compiler_pic='-DDLL_EXPORT'
  8918        ;;
  8919  
  8920      hpux9* | hpux10* | hpux11*)
  8921        lt_prog_compiler_wl='-Wl,'
  8922        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8923        # not for PA HP-UX.
  8924        case $host_cpu in
  8925        hppa*64*|ia64*)
  8926  	# +Z the default
  8927  	;;
  8928        *)
  8929  	lt_prog_compiler_pic='+Z'
  8930  	;;
  8931        esac
  8932        # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8933        lt_prog_compiler_static='${wl}-a ${wl}archive'
  8934        ;;
  8935  
  8936      irix5* | irix6* | nonstopux*)
  8937        lt_prog_compiler_wl='-Wl,'
  8938        # PIC (with -KPIC) is the default.
  8939        lt_prog_compiler_static='-non_shared'
  8940        ;;
  8941  
  8942      linux* | k*bsd*-gnu | kopensolaris*-gnu)
  8943        case $cc_basename in
  8944        # old Intel for x86_64 which still supported -KPIC.
  8945        ecc*)
  8946  	lt_prog_compiler_wl='-Wl,'
  8947  	lt_prog_compiler_pic='-KPIC'
  8948  	lt_prog_compiler_static='-static'
  8949          ;;
  8950        # icc used to be incompatible with GCC.
  8951        # ICC 10 doesn't accept -KPIC any more.
  8952        icc* | ifort*)
  8953  	lt_prog_compiler_wl='-Wl,'
  8954  	lt_prog_compiler_pic='-fPIC'
  8955  	lt_prog_compiler_static='-static'
  8956          ;;
  8957        # Lahey Fortran 8.1.
  8958        lf95*)
  8959  	lt_prog_compiler_wl='-Wl,'
  8960  	lt_prog_compiler_pic='--shared'
  8961  	lt_prog_compiler_static='--static'
  8962  	;;
  8963        pgcc* | pgf77* | pgf90* | pgf95*)
  8964          # Portland Group compilers (*not* the Pentium gcc compiler,
  8965  	# which looks to be a dead project)
  8966  	lt_prog_compiler_wl='-Wl,'
  8967  	lt_prog_compiler_pic='-fpic'
  8968  	lt_prog_compiler_static='-Bstatic'
  8969          ;;
  8970        ccc*)
  8971          lt_prog_compiler_wl='-Wl,'
  8972          # All Alpha code is PIC.
  8973          lt_prog_compiler_static='-non_shared'
  8974          ;;
  8975        xl*)
  8976  	# IBM XL C 8.0/Fortran 10.1 on PPC
  8977  	lt_prog_compiler_wl='-Wl,'
  8978  	lt_prog_compiler_pic='-qpic'
  8979  	lt_prog_compiler_static='-qstaticlink'
  8980  	;;
  8981        *)
  8982  	case `$CC -V 2>&1 | sed 5q` in
  8983  	*Sun\ C*)
  8984  	  # Sun C 5.9
  8985  	  lt_prog_compiler_pic='-KPIC'
  8986  	  lt_prog_compiler_static='-Bstatic'
  8987  	  lt_prog_compiler_wl='-Wl,'
  8988  	  ;;
  8989  	*Sun\ F*)
  8990  	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8991  	  lt_prog_compiler_pic='-KPIC'
  8992  	  lt_prog_compiler_static='-Bstatic'
  8993  	  lt_prog_compiler_wl=''
  8994  	  ;;
  8995  	esac
  8996  	;;
  8997        esac
  8998        ;;
  8999  
  9000      newsos6)
  9001        lt_prog_compiler_pic='-KPIC'
  9002        lt_prog_compiler_static='-Bstatic'
  9003        ;;
  9004  
  9005      *nto* | *qnx*)
  9006        # QNX uses GNU C++, but need to define -shared option too, otherwise
  9007        # it will coredump.
  9008        lt_prog_compiler_pic='-fPIC -shared'
  9009        ;;
  9010  
  9011      osf3* | osf4* | osf5*)
  9012        lt_prog_compiler_wl='-Wl,'
  9013        # All OSF/1 code is PIC.
  9014        lt_prog_compiler_static='-non_shared'
  9015        ;;
  9016  
  9017      rdos*)
  9018        lt_prog_compiler_static='-non_shared'
  9019        ;;
  9020  
  9021      solaris*)
  9022        lt_prog_compiler_pic='-KPIC'
  9023        lt_prog_compiler_static='-Bstatic'
  9024        case $cc_basename in
  9025        f77* | f90* | f95*)
  9026  	lt_prog_compiler_wl='-Qoption ld ';;
  9027        *)
  9028  	lt_prog_compiler_wl='-Wl,';;
  9029        esac
  9030        ;;
  9031  
  9032      sunos4*)
  9033        lt_prog_compiler_wl='-Qoption ld '
  9034        lt_prog_compiler_pic='-PIC'
  9035        lt_prog_compiler_static='-Bstatic'
  9036        ;;
  9037  
  9038      sysv4 | sysv4.2uw2* | sysv4.3*)
  9039        lt_prog_compiler_wl='-Wl,'
  9040        lt_prog_compiler_pic='-KPIC'
  9041        lt_prog_compiler_static='-Bstatic'
  9042        ;;
  9043  
  9044      sysv4*MP*)
  9045        if test -d /usr/nec ;then
  9046  	lt_prog_compiler_pic='-Kconform_pic'
  9047  	lt_prog_compiler_static='-Bstatic'
  9048        fi
  9049        ;;
  9050  
  9051      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  9052        lt_prog_compiler_wl='-Wl,'
  9053        lt_prog_compiler_pic='-KPIC'
  9054        lt_prog_compiler_static='-Bstatic'
  9055        ;;
  9056  
  9057      unicos*)
  9058        lt_prog_compiler_wl='-Wl,'
  9059        lt_prog_compiler_can_build_shared=no
  9060        ;;
  9061  
  9062      uts4*)
  9063        lt_prog_compiler_pic='-pic'
  9064        lt_prog_compiler_static='-Bstatic'
  9065        ;;
  9066  
  9067      *)
  9068        lt_prog_compiler_can_build_shared=no
  9069        ;;
  9070      esac
  9071    fi
  9072  
  9073  case $host_os in
  9074    # For platforms which do not support PIC, -DPIC is meaningless:
  9075    *djgpp*)
  9076      lt_prog_compiler_pic=
  9077      ;;
  9078    *)
  9079      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  9080      ;;
  9081  esac
  9082  { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  9083  $as_echo "$lt_prog_compiler_pic" >&6; }
  9084  
  9085  
  9086  
  9087  
  9088  
  9089  
  9090  #
  9091  # Check to make sure the PIC flag actually works.
  9092  #
  9093  if test -n "$lt_prog_compiler_pic"; then
  9094    { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  9095  $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  9096  if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  9097    $as_echo_n "(cached) " >&6
  9098  else
  9099    lt_cv_prog_compiler_pic_works=no
  9100     ac_outfile=conftest.$ac_objext
  9101     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9102     lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  9103     # Insert the option either (1) after the last *FLAGS variable, or
  9104     # (2) before a word containing "conftest.", or (3) at the end.
  9105     # Note that $ac_compile itself does not contain backslashes and begins
  9106     # with a dollar sign (not a hyphen), so the echo should work correctly.
  9107     # The option is referenced via a variable to avoid confusing sed.
  9108     lt_compile=`echo "$ac_compile" | $SED \
  9109     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9110     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9111     -e 's:$: $lt_compiler_flag:'`
  9112     (eval echo "\"\$as_me:9112: $lt_compile\"" >&5)
  9113     (eval "$lt_compile" 2>conftest.err)
  9114     ac_status=$?
  9115     cat conftest.err >&5
  9116     echo "$as_me:9116: \$? = $ac_status" >&5
  9117     if (exit $ac_status) && test -s "$ac_outfile"; then
  9118       # The compiler can only warn and ignore the option if not recognized
  9119       # So say no if there are warnings other than the usual output.
  9120       $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  9121       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9122       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  9123         lt_cv_prog_compiler_pic_works=yes
  9124       fi
  9125     fi
  9126     $RM conftest*
  9127  
  9128  fi
  9129  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  9130  $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  9131  
  9132  if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  9133      case $lt_prog_compiler_pic in
  9134       "" | " "*) ;;
  9135       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  9136       esac
  9137  else
  9138      lt_prog_compiler_pic=
  9139       lt_prog_compiler_can_build_shared=no
  9140  fi
  9141  
  9142  fi
  9143  
  9144  
  9145  
  9146  
  9147  
  9148  
  9149  #
  9150  # Check to make sure the static flag actually works.
  9151  #
  9152  wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  9153  { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  9154  $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  9155  if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  9156    $as_echo_n "(cached) " >&6
  9157  else
  9158    lt_cv_prog_compiler_static_works=no
  9159     save_LDFLAGS="$LDFLAGS"
  9160     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  9161     echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9162     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9163       # The linker can only warn and ignore the option if not recognized
  9164       # So say no if there are warnings
  9165       if test -s conftest.err; then
  9166         # Append any errors to the config.log.
  9167         cat conftest.err 1>&5
  9168         $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  9169         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9170         if diff conftest.exp conftest.er2 >/dev/null; then
  9171           lt_cv_prog_compiler_static_works=yes
  9172         fi
  9173       else
  9174         lt_cv_prog_compiler_static_works=yes
  9175       fi
  9176     fi
  9177     $RM -r conftest*
  9178     LDFLAGS="$save_LDFLAGS"
  9179  
  9180  fi
  9181  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  9182  $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  9183  
  9184  if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  9185      :
  9186  else
  9187      lt_prog_compiler_static=
  9188  fi
  9189  
  9190  
  9191  
  9192  
  9193  
  9194  
  9195  
  9196    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  9197  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  9198  if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  9199    $as_echo_n "(cached) " >&6
  9200  else
  9201    lt_cv_prog_compiler_c_o=no
  9202     $RM -r conftest 2>/dev/null
  9203     mkdir conftest
  9204     cd conftest
  9205     mkdir out
  9206     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9207  
  9208     lt_compiler_flag="-o out/conftest2.$ac_objext"
  9209     # Insert the option either (1) after the last *FLAGS variable, or
  9210     # (2) before a word containing "conftest.", or (3) at the end.
  9211     # Note that $ac_compile itself does not contain backslashes and begins
  9212     # with a dollar sign (not a hyphen), so the echo should work correctly.
  9213     lt_compile=`echo "$ac_compile" | $SED \
  9214     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9215     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9216     -e 's:$: $lt_compiler_flag:'`
  9217     (eval echo "\"\$as_me:9217: $lt_compile\"" >&5)
  9218     (eval "$lt_compile" 2>out/conftest.err)
  9219     ac_status=$?
  9220     cat out/conftest.err >&5
  9221     echo "$as_me:9221: \$? = $ac_status" >&5
  9222     if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9223     then
  9224       # The compiler can only warn and ignore the option if not recognized
  9225       # So say no if there are warnings
  9226       $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  9227       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9228       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9229         lt_cv_prog_compiler_c_o=yes
  9230       fi
  9231     fi
  9232     chmod u+w . 2>&5
  9233     $RM conftest*
  9234     # SGI C++ compiler will create directory out/ii_files/ for
  9235     # template instantiation
  9236     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9237     $RM out/* && rmdir out
  9238     cd ..
  9239     $RM -r conftest
  9240     $RM conftest*
  9241  
  9242  fi
  9243  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  9244  $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  9245  
  9246  
  9247  
  9248  
  9249  
  9250  
  9251    { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  9252  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  9253  if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  9254    $as_echo_n "(cached) " >&6
  9255  else
  9256    lt_cv_prog_compiler_c_o=no
  9257     $RM -r conftest 2>/dev/null
  9258     mkdir conftest
  9259     cd conftest
  9260     mkdir out
  9261     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9262  
  9263     lt_compiler_flag="-o out/conftest2.$ac_objext"
  9264     # Insert the option either (1) after the last *FLAGS variable, or
  9265     # (2) before a word containing "conftest.", or (3) at the end.
  9266     # Note that $ac_compile itself does not contain backslashes and begins
  9267     # with a dollar sign (not a hyphen), so the echo should work correctly.
  9268     lt_compile=`echo "$ac_compile" | $SED \
  9269     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  9270     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  9271     -e 's:$: $lt_compiler_flag:'`
  9272     (eval echo "\"\$as_me:9272: $lt_compile\"" >&5)
  9273     (eval "$lt_compile" 2>out/conftest.err)
  9274     ac_status=$?
  9275     cat out/conftest.err >&5
  9276     echo "$as_me:9276: \$? = $ac_status" >&5
  9277     if (exit $ac_status) && test -s out/conftest2.$ac_objext
  9278     then
  9279       # The compiler can only warn and ignore the option if not recognized
  9280       # So say no if there are warnings
  9281       $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  9282       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  9283       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  9284         lt_cv_prog_compiler_c_o=yes
  9285       fi
  9286     fi
  9287     chmod u+w . 2>&5
  9288     $RM conftest*
  9289     # SGI C++ compiler will create directory out/ii_files/ for
  9290     # template instantiation
  9291     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  9292     $RM out/* && rmdir out
  9293     cd ..
  9294     $RM -r conftest
  9295     $RM conftest*
  9296  
  9297  fi
  9298  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  9299  $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  9300  
  9301  
  9302  
  9303  
  9304  hard_links="nottested"
  9305  if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  9306    # do not overwrite the value of need_locks provided by the user
  9307    { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  9308  $as_echo_n "checking if we can lock with hard links... " >&6; }
  9309    hard_links=yes
  9310    $RM conftest*
  9311    ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9312    touch conftest.a
  9313    ln conftest.a conftest.b 2>&5 || hard_links=no
  9314    ln conftest.a conftest.b 2>/dev/null && hard_links=no
  9315    { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  9316  $as_echo "$hard_links" >&6; }
  9317    if test "$hard_links" = no; then
  9318      { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  9319  $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  9320      need_locks=warn
  9321    fi
  9322  else
  9323    need_locks=no
  9324  fi
  9325  
  9326  
  9327  
  9328  
  9329  
  9330  
  9331    { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  9332  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  9333  
  9334    runpath_var=
  9335    allow_undefined_flag=
  9336    always_export_symbols=no
  9337    archive_cmds=
  9338    archive_expsym_cmds=
  9339    compiler_needs_object=no
  9340    enable_shared_with_static_runtimes=no
  9341    export_dynamic_flag_spec=
  9342    export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  9343    hardcode_automatic=no
  9344    hardcode_direct=no
  9345    hardcode_direct_absolute=no
  9346    hardcode_libdir_flag_spec=
  9347    hardcode_libdir_flag_spec_ld=
  9348    hardcode_libdir_separator=
  9349    hardcode_minus_L=no
  9350    hardcode_shlibpath_var=unsupported
  9351    inherit_rpath=no
  9352    link_all_deplibs=unknown
  9353    module_cmds=
  9354    module_expsym_cmds=
  9355    old_archive_from_new_cmds=
  9356    old_archive_from_expsyms_cmds=
  9357    thread_safe_flag_spec=
  9358    whole_archive_flag_spec=
  9359    # include_expsyms should be a list of space-separated symbols to be *always*
  9360    # included in the symbol list
  9361    include_expsyms=
  9362    # exclude_expsyms can be an extended regexp of symbols to exclude
  9363    # it will be wrapped by ` (' and `)$', so one must not match beginning or
  9364    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  9365    # as well as any symbol that contains `d'.
  9366    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  9367    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  9368    # platforms (ab)use it in PIC code, but their linkers get confused if
  9369    # the symbol is explicitly referenced.  Since portable code cannot
  9370    # rely on this symbol name, it's probably fine to never include it in
  9371    # preloaded symbol tables.
  9372    # Exclude shared library initialization/finalization symbols.
  9373    extract_expsyms_cmds=
  9374  
  9375    case $host_os in
  9376    cygwin* | mingw* | pw32* | cegcc*)
  9377      # FIXME: the MSVC++ port hasn't been tested in a loooong time
  9378      # When not using gcc, we currently assume that we are using
  9379      # Microsoft Visual C++.
  9380      if test "$GCC" != yes; then
  9381        with_gnu_ld=no
  9382      fi
  9383      ;;
  9384    interix*)
  9385      # we just hope/assume this is gcc and not c89 (= MSVC++)
  9386      with_gnu_ld=yes
  9387      ;;
  9388    openbsd*)
  9389      with_gnu_ld=no
  9390      ;;
  9391    linux* | k*bsd*-gnu)
  9392      link_all_deplibs=no
  9393      ;;
  9394    esac
  9395  
  9396    ld_shlibs=yes
  9397    if test "$with_gnu_ld" = yes; then
  9398      # If archive_cmds runs LD, not CC, wlarc should be empty
  9399      wlarc='${wl}'
  9400  
  9401      # Set some defaults for GNU ld with shared library support. These
  9402      # are reset later if shared libraries are not supported. Putting them
  9403      # here allows them to be overridden if necessary.
  9404      runpath_var=LD_RUN_PATH
  9405      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9406      export_dynamic_flag_spec='${wl}--export-dynamic'
  9407      # ancient GNU ld didn't support --whole-archive et. al.
  9408      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  9409        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  9410      else
  9411        whole_archive_flag_spec=
  9412      fi
  9413      supports_anon_versioning=no
  9414      case `$LD -v 2>&1` in
  9415        *GNU\ gold*) supports_anon_versioning=yes ;;
  9416        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  9417        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  9418        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  9419        *\ 2.11.*) ;; # other 2.11 versions
  9420        *) supports_anon_versioning=yes ;;
  9421      esac
  9422  
  9423      # See if GNU ld supports shared libraries.
  9424      case $host_os in
  9425      aix[3-9]*)
  9426        # On AIX/PPC, the GNU linker is very broken
  9427        if test "$host_cpu" != ia64; then
  9428  	ld_shlibs=no
  9429  	cat <<_LT_EOF 1>&2
  9430  
  9431  *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  9432  *** to be unable to reliably create shared libraries on AIX.
  9433  *** Therefore, libtool is disabling shared libraries support.  If you
  9434  *** really care for shared libraries, you may want to modify your PATH
  9435  *** so that a non-GNU linker is found, and then restart.
  9436  
  9437  _LT_EOF
  9438        fi
  9439        ;;
  9440  
  9441      amigaos*)
  9442        case $host_cpu in
  9443        powerpc)
  9444              # see comment about AmigaOS4 .so support
  9445              archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9446              archive_expsym_cmds=''
  9447          ;;
  9448        m68k)
  9449              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)'
  9450              hardcode_libdir_flag_spec='-L$libdir'
  9451              hardcode_minus_L=yes
  9452          ;;
  9453        esac
  9454        ;;
  9455  
  9456      beos*)
  9457        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9458  	allow_undefined_flag=unsupported
  9459  	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  9460  	# support --undefined.  This deserves some investigation.  FIXME
  9461  	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9462        else
  9463  	ld_shlibs=no
  9464        fi
  9465        ;;
  9466  
  9467      cygwin* | mingw* | pw32* | cegcc*)
  9468        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  9469        # as there is no search path for DLLs.
  9470        hardcode_libdir_flag_spec='-L$libdir'
  9471        allow_undefined_flag=unsupported
  9472        always_export_symbols=no
  9473        enable_shared_with_static_runtimes=yes
  9474        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  9475  
  9476        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  9477          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9478  	# If the export-symbols file already is a .def file (1st line
  9479  	# is EXPORTS), use it as is; otherwise, prepend...
  9480  	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  9481  	  cp $export_symbols $output_objdir/$soname.def;
  9482  	else
  9483  	  echo EXPORTS > $output_objdir/$soname.def;
  9484  	  cat $export_symbols >> $output_objdir/$soname.def;
  9485  	fi~
  9486  	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  9487        else
  9488  	ld_shlibs=no
  9489        fi
  9490        ;;
  9491  
  9492      interix[3-9]*)
  9493        hardcode_direct=no
  9494        hardcode_shlibpath_var=no
  9495        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9496        export_dynamic_flag_spec='${wl}-E'
  9497        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  9498        # Instead, shared libraries are loaded at an image base (0x10000000 by
  9499        # default) and relocated if they conflict, which is a slow very memory
  9500        # consuming and fragmenting process.  To avoid this, we pick a random,
  9501        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  9502        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  9503        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  9504        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'
  9505        ;;
  9506  
  9507      gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  9508        tmp_diet=no
  9509        if test "$host_os" = linux-dietlibc; then
  9510  	case $cc_basename in
  9511  	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  9512  	esac
  9513        fi
  9514        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  9515  	 && test "$tmp_diet" = no
  9516        then
  9517  	tmp_addflag=
  9518  	tmp_sharedflag='-shared'
  9519  	case $cc_basename,$host_cpu in
  9520          pgcc*)				# Portland Group C compiler
  9521  	  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'
  9522  	  tmp_addflag=' $pic_flag'
  9523  	  ;;
  9524  	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
  9525  	  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'
  9526  	  tmp_addflag=' $pic_flag -Mnomain' ;;
  9527  	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  9528  	  tmp_addflag=' -i_dynamic' ;;
  9529  	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  9530  	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  9531  	ifc* | ifort*)			# Intel Fortran compiler
  9532  	  tmp_addflag=' -nofor_main' ;;
  9533  	lf95*)				# Lahey Fortran 8.1
  9534  	  whole_archive_flag_spec=
  9535  	  tmp_sharedflag='--shared' ;;
  9536  	xl[cC]*)			# IBM XL C 8.0 on PPC (deal with xlf below)
  9537  	  tmp_sharedflag='-qmkshrobj'
  9538  	  tmp_addflag= ;;
  9539  	esac
  9540  	case `$CC -V 2>&1 | sed 5q` in
  9541  	*Sun\ C*)			# Sun C 5.9
  9542  	  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'
  9543  	  compiler_needs_object=yes
  9544  	  tmp_sharedflag='-G' ;;
  9545  	*Sun\ F*)			# Sun Fortran 8.3
  9546  	  tmp_sharedflag='-G' ;;
  9547  	esac
  9548  	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9549  
  9550          if test "x$supports_anon_versioning" = xyes; then
  9551            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9552  	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9553  	    echo "local: *; };" >> $output_objdir/$libname.ver~
  9554  	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9555          fi
  9556  
  9557  	case $cc_basename in
  9558  	xlf*)
  9559  	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9560  	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  9561  	  hardcode_libdir_flag_spec=
  9562  	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
  9563  	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  9564  	  if test "x$supports_anon_versioning" = xyes; then
  9565  	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9566  	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9567  	      echo "local: *; };" >> $output_objdir/$libname.ver~
  9568  	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9569  	  fi
  9570  	  ;;
  9571  	esac
  9572        else
  9573          ld_shlibs=no
  9574        fi
  9575        ;;
  9576  
  9577      netbsd* | netbsdelf*-gnu)
  9578        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9579  	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9580  	wlarc=
  9581        else
  9582  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9583  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9584        fi
  9585        ;;
  9586  
  9587      solaris*)
  9588        if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9589  	ld_shlibs=no
  9590  	cat <<_LT_EOF 1>&2
  9591  
  9592  *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9593  *** create shared libraries on Solaris systems.  Therefore, libtool
  9594  *** is disabling shared libraries support.  We urge you to upgrade GNU
  9595  *** binutils to release 2.9.1 or newer.  Another option is to modify
  9596  *** your PATH or compiler configuration so that the native linker is
  9597  *** used, and then restart.
  9598  
  9599  _LT_EOF
  9600        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9601  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9602  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9603        else
  9604  	ld_shlibs=no
  9605        fi
  9606        ;;
  9607  
  9608      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9609        case `$LD -v 2>&1` in
  9610          *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9611  	ld_shlibs=no
  9612  	cat <<_LT_EOF 1>&2
  9613  
  9614  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9615  *** reliably create shared libraries on SCO systems.  Therefore, libtool
  9616  *** is disabling shared libraries support.  We urge you to upgrade GNU
  9617  *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  9618  *** your PATH or compiler configuration so that the native linker is
  9619  *** used, and then restart.
  9620  
  9621  _LT_EOF
  9622  	;;
  9623  	*)
  9624  	  # For security reasons, it is highly recommended that you always
  9625  	  # use absolute paths for naming shared libraries, and exclude the
  9626  	  # DT_RUNPATH tag from executables and libraries.  But doing so
  9627  	  # requires that you compile everything twice, which is a pain.
  9628  	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9629  	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9630  	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9631  	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9632  	  else
  9633  	    ld_shlibs=no
  9634  	  fi
  9635  	;;
  9636        esac
  9637        ;;
  9638  
  9639      sunos4*)
  9640        archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9641        wlarc=
  9642        hardcode_direct=yes
  9643        hardcode_shlibpath_var=no
  9644        ;;
  9645  
  9646      *)
  9647        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9648  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9649  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9650        else
  9651  	ld_shlibs=no
  9652        fi
  9653        ;;
  9654      esac
  9655  
  9656      if test "$ld_shlibs" = no; then
  9657        runpath_var=
  9658        hardcode_libdir_flag_spec=
  9659        export_dynamic_flag_spec=
  9660        whole_archive_flag_spec=
  9661      fi
  9662    else
  9663      # PORTME fill in a description of your system's linker (not GNU ld)
  9664      case $host_os in
  9665      aix3*)
  9666        allow_undefined_flag=unsupported
  9667        always_export_symbols=yes
  9668        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'
  9669        # Note: this linker hardcodes the directories in LIBPATH if there
  9670        # are no directories specified by -L.
  9671        hardcode_minus_L=yes
  9672        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9673  	# Neither direct hardcoding nor static linking is supported with a
  9674  	# broken collect2.
  9675  	hardcode_direct=unsupported
  9676        fi
  9677        ;;
  9678  
  9679      aix[4-9]*)
  9680        if test "$host_cpu" = ia64; then
  9681  	# On IA64, the linker does run time linking by default, so we don't
  9682  	# have to do anything special.
  9683  	aix_use_runtimelinking=no
  9684  	exp_sym_flag='-Bexport'
  9685  	no_entry_flag=""
  9686        else
  9687  	# If we're using GNU nm, then we don't want the "-C" option.
  9688  	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  9689  	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9690  	  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'
  9691  	else
  9692  	  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'
  9693  	fi
  9694  	aix_use_runtimelinking=no
  9695  
  9696  	# Test if we are trying to use run time linking or normal
  9697  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9698  	# need to do runtime linking.
  9699  	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9700  	  for ld_flag in $LDFLAGS; do
  9701  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9702  	    aix_use_runtimelinking=yes
  9703  	    break
  9704  	  fi
  9705  	  done
  9706  	  ;;
  9707  	esac
  9708  
  9709  	exp_sym_flag='-bexport'
  9710  	no_entry_flag='-bnoentry'
  9711        fi
  9712  
  9713        # When large executables or shared objects are built, AIX ld can
  9714        # have problems creating the table of contents.  If linking a library
  9715        # or program results in "error TOC overflow" add -mminimal-toc to
  9716        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  9717        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9718  
  9719        archive_cmds=''
  9720        hardcode_direct=yes
  9721        hardcode_direct_absolute=yes
  9722        hardcode_libdir_separator=':'
  9723        link_all_deplibs=yes
  9724        file_list_spec='${wl}-f,'
  9725  
  9726        if test "$GCC" = yes; then
  9727  	case $host_os in aix4.[012]|aix4.[012].*)
  9728  	# We only want to do this on AIX 4.2 and lower, the check
  9729  	# below for broken collect2 doesn't work under 4.3+
  9730  	  collect2name=`${CC} -print-prog-name=collect2`
  9731  	  if test -f "$collect2name" &&
  9732  	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9733  	  then
  9734  	  # We have reworked collect2
  9735  	  :
  9736  	  else
  9737  	  # We have old collect2
  9738  	  hardcode_direct=unsupported
  9739  	  # It fails to find uninstalled libraries when the uninstalled
  9740  	  # path is not listed in the libpath.  Setting hardcode_minus_L
  9741  	  # to unsupported forces relinking
  9742  	  hardcode_minus_L=yes
  9743  	  hardcode_libdir_flag_spec='-L$libdir'
  9744  	  hardcode_libdir_separator=
  9745  	  fi
  9746  	  ;;
  9747  	esac
  9748  	shared_flag='-shared'
  9749  	if test "$aix_use_runtimelinking" = yes; then
  9750  	  shared_flag="$shared_flag "'${wl}-G'
  9751  	fi
  9752  	link_all_deplibs=no
  9753        else
  9754  	# not using gcc
  9755  	if test "$host_cpu" = ia64; then
  9756  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9757  	# chokes on -Wl,-G. The following line is correct:
  9758  	  shared_flag='-G'
  9759  	else
  9760  	  if test "$aix_use_runtimelinking" = yes; then
  9761  	    shared_flag='${wl}-G'
  9762  	  else
  9763  	    shared_flag='${wl}-bM:SRE'
  9764  	  fi
  9765  	fi
  9766        fi
  9767  
  9768        export_dynamic_flag_spec='${wl}-bexpall'
  9769        # It seems that -bexpall does not export symbols beginning with
  9770        # underscore (_), so it is better to generate a list of symbols to export.
  9771        always_export_symbols=yes
  9772        if test "$aix_use_runtimelinking" = yes; then
  9773  	# Warning - without using the other runtime loading flags (-brtl),
  9774  	# -berok will link without error, but may produce a broken library.
  9775  	allow_undefined_flag='-berok'
  9776          # Determine the default libpath from the value encoded in an
  9777          # empty executable.
  9778          cat >conftest.$ac_ext <<_ACEOF
  9779  /* confdefs.h.  */
  9780  _ACEOF
  9781  cat confdefs.h >>conftest.$ac_ext
  9782  cat >>conftest.$ac_ext <<_ACEOF
  9783  /* end confdefs.h.  */
  9784  
  9785  int
  9786  main ()
  9787  {
  9788  
  9789    ;
  9790    return 0;
  9791  }
  9792  _ACEOF
  9793  rm -f conftest.$ac_objext conftest$ac_exeext
  9794  if { (ac_try="$ac_link"
  9795  case "(($ac_try" in
  9796    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9797    *) ac_try_echo=$ac_try;;
  9798  esac
  9799  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9800  $as_echo "$ac_try_echo") >&5
  9801    (eval "$ac_link") 2>conftest.er1
  9802    ac_status=$?
  9803    grep -v '^ *+' conftest.er1 >conftest.err
  9804    rm -f conftest.er1
  9805    cat conftest.err >&5
  9806    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9807    (exit $ac_status); } && {
  9808  	 test -z "$ac_c_werror_flag" ||
  9809  	 test ! -s conftest.err
  9810         } && test -s conftest$ac_exeext && {
  9811  	 test "$cross_compiling" = yes ||
  9812  	 $as_test_x conftest$ac_exeext
  9813         }; then
  9814  
  9815  lt_aix_libpath_sed='
  9816      /Import File Strings/,/^$/ {
  9817  	/^0/ {
  9818  	    s/^0  *\(.*\)$/\1/
  9819  	    p
  9820  	}
  9821      }'
  9822  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9823  # Check for a 64-bit object if we didn't find anything.
  9824  if test -z "$aix_libpath"; then
  9825    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9826  fi
  9827  else
  9828    $as_echo "$as_me: failed program was:" >&5
  9829  sed 's/^/| /' conftest.$ac_ext >&5
  9830  
  9831  
  9832  fi
  9833  
  9834  rm -rf conftest.dSYM
  9835  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9836        conftest$ac_exeext conftest.$ac_ext
  9837  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9838  
  9839          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9840          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9841        else
  9842  	if test "$host_cpu" = ia64; then
  9843  	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9844  	  allow_undefined_flag="-z nodefs"
  9845  	  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"
  9846  	else
  9847  	 # Determine the default libpath from the value encoded in an
  9848  	 # empty executable.
  9849  	 cat >conftest.$ac_ext <<_ACEOF
  9850  /* confdefs.h.  */
  9851  _ACEOF
  9852  cat confdefs.h >>conftest.$ac_ext
  9853  cat >>conftest.$ac_ext <<_ACEOF
  9854  /* end confdefs.h.  */
  9855  
  9856  int
  9857  main ()
  9858  {
  9859  
  9860    ;
  9861    return 0;
  9862  }
  9863  _ACEOF
  9864  rm -f conftest.$ac_objext conftest$ac_exeext
  9865  if { (ac_try="$ac_link"
  9866  case "(($ac_try" in
  9867    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9868    *) ac_try_echo=$ac_try;;
  9869  esac
  9870  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9871  $as_echo "$ac_try_echo") >&5
  9872    (eval "$ac_link") 2>conftest.er1
  9873    ac_status=$?
  9874    grep -v '^ *+' conftest.er1 >conftest.err
  9875    rm -f conftest.er1
  9876    cat conftest.err >&5
  9877    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9878    (exit $ac_status); } && {
  9879  	 test -z "$ac_c_werror_flag" ||
  9880  	 test ! -s conftest.err
  9881         } && test -s conftest$ac_exeext && {
  9882  	 test "$cross_compiling" = yes ||
  9883  	 $as_test_x conftest$ac_exeext
  9884         }; then
  9885  
  9886  lt_aix_libpath_sed='
  9887      /Import File Strings/,/^$/ {
  9888  	/^0/ {
  9889  	    s/^0  *\(.*\)$/\1/
  9890  	    p
  9891  	}
  9892      }'
  9893  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9894  # Check for a 64-bit object if we didn't find anything.
  9895  if test -z "$aix_libpath"; then
  9896    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9897  fi
  9898  else
  9899    $as_echo "$as_me: failed program was:" >&5
  9900  sed 's/^/| /' conftest.$ac_ext >&5
  9901  
  9902  
  9903  fi
  9904  
  9905  rm -rf conftest.dSYM
  9906  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9907        conftest$ac_exeext conftest.$ac_ext
  9908  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9909  
  9910  	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9911  	  # Warning - without using the other run time loading flags,
  9912  	  # -berok will link without error, but may produce a broken library.
  9913  	  no_undefined_flag=' ${wl}-bernotok'
  9914  	  allow_undefined_flag=' ${wl}-berok'
  9915  	  # Exported symbols can be pulled into shared objects from archives
  9916  	  whole_archive_flag_spec='$convenience'
  9917  	  archive_cmds_need_lc=yes
  9918  	  # This is similar to how AIX traditionally builds its shared libraries.
  9919  	  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'
  9920  	fi
  9921        fi
  9922        ;;
  9923  
  9924      amigaos*)
  9925        case $host_cpu in
  9926        powerpc)
  9927              # see comment about AmigaOS4 .so support
  9928              archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9929              archive_expsym_cmds=''
  9930          ;;
  9931        m68k)
  9932              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)'
  9933              hardcode_libdir_flag_spec='-L$libdir'
  9934              hardcode_minus_L=yes
  9935          ;;
  9936        esac
  9937        ;;
  9938  
  9939      bsdi[45]*)
  9940        export_dynamic_flag_spec=-rdynamic
  9941        ;;
  9942  
  9943      cygwin* | mingw* | pw32* | cegcc*)
  9944        # When not using gcc, we currently assume that we are using
  9945        # Microsoft Visual C++.
  9946        # hardcode_libdir_flag_spec is actually meaningless, as there is
  9947        # no search path for DLLs.
  9948        hardcode_libdir_flag_spec=' '
  9949        allow_undefined_flag=unsupported
  9950        # Tell ltmain to make .lib files, not .a files.
  9951        libext=lib
  9952        # Tell ltmain to make .dll files, not .so files.
  9953        shrext_cmds=".dll"
  9954        # FIXME: Setting linknames here is a bad hack.
  9955        archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  9956        # The linker will automatically build a .lib file if we build a DLL.
  9957        old_archive_from_new_cmds='true'
  9958        # FIXME: Should let the user specify the lib program.
  9959        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9960        fix_srcfile_path='`cygpath -w "$srcfile"`'
  9961        enable_shared_with_static_runtimes=yes
  9962        ;;
  9963  
  9964      darwin* | rhapsody*)
  9965  
  9966  
  9967    archive_cmds_need_lc=no
  9968    hardcode_direct=no
  9969    hardcode_automatic=yes
  9970    hardcode_shlibpath_var=unsupported
  9971    whole_archive_flag_spec=''
  9972    link_all_deplibs=yes
  9973    allow_undefined_flag="$_lt_dar_allow_undefined"
  9974    case $cc_basename in
  9975       ifort*) _lt_dar_can_shared=yes ;;
  9976       *) _lt_dar_can_shared=$GCC ;;
  9977    esac
  9978    if test "$_lt_dar_can_shared" = "yes"; then
  9979      output_verbose_link_cmd=echo
  9980      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9981      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9982      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}"
  9983      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}"
  9984  
  9985    else
  9986    ld_shlibs=no
  9987    fi
  9988  
  9989        ;;
  9990  
  9991      dgux*)
  9992        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9993        hardcode_libdir_flag_spec='-L$libdir'
  9994        hardcode_shlibpath_var=no
  9995        ;;
  9996  
  9997      freebsd1*)
  9998        ld_shlibs=no
  9999        ;;
 10000  
 10001      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
 10002      # support.  Future versions do this automatically, but an explicit c++rt0.o
 10003      # does not break anything, and helps significantly (at the cost of a little
 10004      # extra space).
 10005      freebsd2.2*)
 10006        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
 10007        hardcode_libdir_flag_spec='-R$libdir'
 10008        hardcode_direct=yes
 10009        hardcode_shlibpath_var=no
 10010        ;;
 10011  
 10012      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
 10013      freebsd2*)
 10014        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 10015        hardcode_direct=yes
 10016        hardcode_minus_L=yes
 10017        hardcode_shlibpath_var=no
 10018        ;;
 10019  
 10020      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
 10021      freebsd* | dragonfly*)
 10022        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 10023        hardcode_libdir_flag_spec='-R$libdir'
 10024        hardcode_direct=yes
 10025        hardcode_shlibpath_var=no
 10026        ;;
 10027  
 10028      hpux9*)
 10029        if test "$GCC" = yes; then
 10030  	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'
 10031        else
 10032  	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'
 10033        fi
 10034        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 10035        hardcode_libdir_separator=:
 10036        hardcode_direct=yes
 10037  
 10038        # hardcode_minus_L: Not really in the search PATH,
 10039        # but as the default location of the library.
 10040        hardcode_minus_L=yes
 10041        export_dynamic_flag_spec='${wl}-E'
 10042        ;;
 10043  
 10044      hpux10*)
 10045        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 10046  	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 10047        else
 10048  	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
 10049        fi
 10050        if test "$with_gnu_ld" = no; then
 10051  	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 10052  	hardcode_libdir_flag_spec_ld='+b $libdir'
 10053  	hardcode_libdir_separator=:
 10054  	hardcode_direct=yes
 10055  	hardcode_direct_absolute=yes
 10056  	export_dynamic_flag_spec='${wl}-E'
 10057  	# hardcode_minus_L: Not really in the search PATH,
 10058  	# but as the default location of the library.
 10059  	hardcode_minus_L=yes
 10060        fi
 10061        ;;
 10062  
 10063      hpux11*)
 10064        if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 10065  	case $host_cpu in
 10066  	hppa*64*)
 10067  	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 10068  	  ;;
 10069  	ia64*)
 10070  	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 10071  	  ;;
 10072  	*)
 10073  	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 10074  	  ;;
 10075  	esac
 10076        else
 10077  	case $host_cpu in
 10078  	hppa*64*)
 10079  	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 10080  	  ;;
 10081  	ia64*)
 10082  	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 10083  	  ;;
 10084  	*)
 10085  	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 10086  	  ;;
 10087  	esac
 10088        fi
 10089        if test "$with_gnu_ld" = no; then
 10090  	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
 10091  	hardcode_libdir_separator=:
 10092  
 10093  	case $host_cpu in
 10094  	hppa*64*|ia64*)
 10095  	  hardcode_direct=no
 10096  	  hardcode_shlibpath_var=no
 10097  	  ;;
 10098  	*)
 10099  	  hardcode_direct=yes
 10100  	  hardcode_direct_absolute=yes
 10101  	  export_dynamic_flag_spec='${wl}-E'
 10102  
 10103  	  # hardcode_minus_L: Not really in the search PATH,
 10104  	  # but as the default location of the library.
 10105  	  hardcode_minus_L=yes
 10106  	  ;;
 10107  	esac
 10108        fi
 10109        ;;
 10110  
 10111      irix5* | irix6* | nonstopux*)
 10112        if test "$GCC" = yes; then
 10113  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 10114  	# Try to use the -exported_symbol ld option, if it does not
 10115  	# work, assume that -exports_file does not work either and
 10116  	# implicitly export all symbols.
 10117          save_LDFLAGS="$LDFLAGS"
 10118          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 10119          cat >conftest.$ac_ext <<_ACEOF
 10120  int foo(void) {}
 10121  _ACEOF
 10122  rm -f conftest.$ac_objext conftest$ac_exeext
 10123  if { (ac_try="$ac_link"
 10124  case "(($ac_try" in
 10125    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10126    *) ac_try_echo=$ac_try;;
 10127  esac
 10128  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10129  $as_echo "$ac_try_echo") >&5
 10130    (eval "$ac_link") 2>conftest.er1
 10131    ac_status=$?
 10132    grep -v '^ *+' conftest.er1 >conftest.err
 10133    rm -f conftest.er1
 10134    cat conftest.err >&5
 10135    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10136    (exit $ac_status); } && {
 10137  	 test -z "$ac_c_werror_flag" ||
 10138  	 test ! -s conftest.err
 10139         } && test -s conftest$ac_exeext && {
 10140  	 test "$cross_compiling" = yes ||
 10141  	 $as_test_x conftest$ac_exeext
 10142         }; then
 10143    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 10144  
 10145  else
 10146    $as_echo "$as_me: failed program was:" >&5
 10147  sed 's/^/| /' conftest.$ac_ext >&5
 10148  
 10149  
 10150  fi
 10151  
 10152  rm -rf conftest.dSYM
 10153  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10154        conftest$ac_exeext conftest.$ac_ext
 10155          LDFLAGS="$save_LDFLAGS"
 10156        else
 10157  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 10158  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
 10159        fi
 10160        archive_cmds_need_lc='no'
 10161        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 10162        hardcode_libdir_separator=:
 10163        inherit_rpath=yes
 10164        link_all_deplibs=yes
 10165        ;;
 10166  
 10167      netbsd* | netbsdelf*-gnu)
 10168        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 10169  	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
 10170        else
 10171  	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
 10172        fi
 10173        hardcode_libdir_flag_spec='-R$libdir'
 10174        hardcode_direct=yes
 10175        hardcode_shlibpath_var=no
 10176        ;;
 10177  
 10178      newsos6)
 10179        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10180        hardcode_direct=yes
 10181        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 10182        hardcode_libdir_separator=:
 10183        hardcode_shlibpath_var=no
 10184        ;;
 10185  
 10186      *nto* | *qnx*)
 10187        ;;
 10188  
 10189      openbsd*)
 10190        if test -f /usr/libexec/ld.so; then
 10191  	hardcode_direct=yes
 10192  	hardcode_shlibpath_var=no
 10193  	hardcode_direct_absolute=yes
 10194  	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 10195  	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 10196  	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 10197  	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 10198  	  export_dynamic_flag_spec='${wl}-E'
 10199  	else
 10200  	  case $host_os in
 10201  	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 10202  	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 10203  	     hardcode_libdir_flag_spec='-R$libdir'
 10204  	     ;;
 10205  	   *)
 10206  	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 10207  	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 10208  	     ;;
 10209  	  esac
 10210  	fi
 10211        else
 10212  	ld_shlibs=no
 10213        fi
 10214        ;;
 10215  
 10216      os2*)
 10217        hardcode_libdir_flag_spec='-L$libdir'
 10218        hardcode_minus_L=yes
 10219        allow_undefined_flag=unsupported
 10220        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'
 10221        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
 10222        ;;
 10223  
 10224      osf3*)
 10225        if test "$GCC" = yes; then
 10226  	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 10227  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 10228        else
 10229  	allow_undefined_flag=' -expect_unresolved \*'
 10230  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 10231        fi
 10232        archive_cmds_need_lc='no'
 10233        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 10234        hardcode_libdir_separator=:
 10235        ;;
 10236  
 10237      osf4* | osf5*)	# as osf3* with the addition of -msym flag
 10238        if test "$GCC" = yes; then
 10239  	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
 10240  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 10241  	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
 10242        else
 10243  	allow_undefined_flag=' -expect_unresolved \*'
 10244  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 10245  	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
 10246  	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
 10247  
 10248  	# Both c and cxx compiler support -rpath directly
 10249  	hardcode_libdir_flag_spec='-rpath $libdir'
 10250        fi
 10251        archive_cmds_need_lc='no'
 10252        hardcode_libdir_separator=:
 10253        ;;
 10254  
 10255      solaris*)
 10256        no_undefined_flag=' -z defs'
 10257        if test "$GCC" = yes; then
 10258  	wlarc='${wl}'
 10259  	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 10260  	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 10261  	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 10262        else
 10263  	case `$CC -V 2>&1` in
 10264  	*"Compilers 5.0"*)
 10265  	  wlarc=''
 10266  	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10267  	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 10268  	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
 10269  	  ;;
 10270  	*)
 10271  	  wlarc='${wl}'
 10272  	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
 10273  	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 10274  	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 10275  	  ;;
 10276  	esac
 10277        fi
 10278        hardcode_libdir_flag_spec='-R$libdir'
 10279        hardcode_shlibpath_var=no
 10280        case $host_os in
 10281        solaris2.[0-5] | solaris2.[0-5].*) ;;
 10282        *)
 10283  	# The compiler driver will combine and reorder linker options,
 10284  	# but understands `-z linker_flag'.  GCC discards it without `$wl',
 10285  	# but is careful enough not to reorder.
 10286  	# Supported since Solaris 2.6 (maybe 2.5.1?)
 10287  	if test "$GCC" = yes; then
 10288  	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 10289  	else
 10290  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 10291  	fi
 10292  	;;
 10293        esac
 10294        link_all_deplibs=yes
 10295        ;;
 10296  
 10297      sunos4*)
 10298        if test "x$host_vendor" = xsequent; then
 10299  	# Use $CC to link under sequent, because it throws in some extra .o
 10300  	# files that make .init and .fini sections work.
 10301  	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
 10302        else
 10303  	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
 10304        fi
 10305        hardcode_libdir_flag_spec='-L$libdir'
 10306        hardcode_direct=yes
 10307        hardcode_minus_L=yes
 10308        hardcode_shlibpath_var=no
 10309        ;;
 10310  
 10311      sysv4)
 10312        case $host_vendor in
 10313  	sni)
 10314  	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10315  	  hardcode_direct=yes # is this really true???
 10316  	;;
 10317  	siemens)
 10318  	  ## LD is ld it makes a PLAMLIB
 10319  	  ## CC just makes a GrossModule.
 10320  	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
 10321  	  reload_cmds='$CC -r -o $output$reload_objs'
 10322  	  hardcode_direct=no
 10323          ;;
 10324  	motorola)
 10325  	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10326  	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
 10327  	;;
 10328        esac
 10329        runpath_var='LD_RUN_PATH'
 10330        hardcode_shlibpath_var=no
 10331        ;;
 10332  
 10333      sysv4.3*)
 10334        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10335        hardcode_shlibpath_var=no
 10336        export_dynamic_flag_spec='-Bexport'
 10337        ;;
 10338  
 10339      sysv4*MP*)
 10340        if test -d /usr/nec; then
 10341  	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10342  	hardcode_shlibpath_var=no
 10343  	runpath_var=LD_RUN_PATH
 10344  	hardcode_runpath_var=yes
 10345  	ld_shlibs=yes
 10346        fi
 10347        ;;
 10348  
 10349      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 10350        no_undefined_flag='${wl}-z,text'
 10351        archive_cmds_need_lc=no
 10352        hardcode_shlibpath_var=no
 10353        runpath_var='LD_RUN_PATH'
 10354  
 10355        if test "$GCC" = yes; then
 10356  	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10357  	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10358        else
 10359  	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10360  	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10361        fi
 10362        ;;
 10363  
 10364      sysv5* | sco3.2v5* | sco5v6*)
 10365        # Note: We can NOT use -z defs as we might desire, because we do not
 10366        # link with -lc, and that would cause any symbols used from libc to
 10367        # always be unresolved, which means just about no library would
 10368        # ever link correctly.  If we're not using GNU ld we use -z text
 10369        # though, which does catch some bad symbols but isn't as heavy-handed
 10370        # as -z defs.
 10371        no_undefined_flag='${wl}-z,text'
 10372        allow_undefined_flag='${wl}-z,nodefs'
 10373        archive_cmds_need_lc=no
 10374        hardcode_shlibpath_var=no
 10375        hardcode_libdir_flag_spec='${wl}-R,$libdir'
 10376        hardcode_libdir_separator=':'
 10377        link_all_deplibs=yes
 10378        export_dynamic_flag_spec='${wl}-Bexport'
 10379        runpath_var='LD_RUN_PATH'
 10380  
 10381        if test "$GCC" = yes; then
 10382  	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10383  	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10384        else
 10385  	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10386  	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 10387        fi
 10388        ;;
 10389  
 10390      uts4*)
 10391        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
 10392        hardcode_libdir_flag_spec='-L$libdir'
 10393        hardcode_shlibpath_var=no
 10394        ;;
 10395  
 10396      *)
 10397        ld_shlibs=no
 10398        ;;
 10399      esac
 10400  
 10401      if test x$host_vendor = xsni; then
 10402        case $host in
 10403        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
 10404  	export_dynamic_flag_spec='${wl}-Blargedynsym'
 10405  	;;
 10406        esac
 10407      fi
 10408    fi
 10409  
 10410  { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
 10411  $as_echo "$ld_shlibs" >&6; }
 10412  test "$ld_shlibs" = no && can_build_shared=no
 10413  
 10414  with_gnu_ld=$with_gnu_ld
 10415  
 10416  
 10417  
 10418  
 10419  
 10420  
 10421  
 10422  
 10423  
 10424  
 10425  
 10426  
 10427  
 10428  
 10429  
 10430  #
 10431  # Do we need to explicitly link libc?
 10432  #
 10433  case "x$archive_cmds_need_lc" in
 10434  x|xyes)
 10435    # Assume -lc should be added
 10436    archive_cmds_need_lc=yes
 10437  
 10438    if test "$enable_shared" = yes && test "$GCC" = yes; then
 10439      case $archive_cmds in
 10440      *'~'*)
 10441        # FIXME: we may have to deal with multi-command sequences.
 10442        ;;
 10443      '$CC '*)
 10444        # Test whether the compiler implicitly links with -lc since on some
 10445        # systems, -lgcc has to come before -lc. If gcc already passes -lc
 10446        # to ld, don't add -lc before -lgcc.
 10447        { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 10448  $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 10449        $RM conftest*
 10450        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 10451  
 10452        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 10453    (eval $ac_compile) 2>&5
 10454    ac_status=$?
 10455    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10456    (exit $ac_status); } 2>conftest.err; then
 10457          soname=conftest
 10458          lib=conftest
 10459          libobjs=conftest.$ac_objext
 10460          deplibs=
 10461          wl=$lt_prog_compiler_wl
 10462  	pic_flag=$lt_prog_compiler_pic
 10463          compiler_flags=-v
 10464          linker_flags=-v
 10465          verstring=
 10466          output_objdir=.
 10467          libname=conftest
 10468          lt_save_allow_undefined_flag=$allow_undefined_flag
 10469          allow_undefined_flag=
 10470          if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 10471    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 10472    ac_status=$?
 10473    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10474    (exit $ac_status); }
 10475          then
 10476  	  archive_cmds_need_lc=no
 10477          else
 10478  	  archive_cmds_need_lc=yes
 10479          fi
 10480          allow_undefined_flag=$lt_save_allow_undefined_flag
 10481        else
 10482          cat conftest.err 1>&5
 10483        fi
 10484        $RM conftest*
 10485        { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
 10486  $as_echo "$archive_cmds_need_lc" >&6; }
 10487        ;;
 10488      esac
 10489    fi
 10490    ;;
 10491  esac
 10492  
 10493  
 10494  
 10495  
 10496  
 10497  
 10498  
 10499  
 10500  
 10501  
 10502  
 10503  
 10504  
 10505  
 10506  
 10507  
 10508  
 10509  
 10510  
 10511  
 10512  
 10513  
 10514  
 10515  
 10516  
 10517  
 10518  
 10519  
 10520  
 10521  
 10522  
 10523  
 10524  
 10525  
 10526  
 10527  
 10528  
 10529  
 10530  
 10531  
 10532  
 10533  
 10534  
 10535  
 10536  
 10537  
 10538  
 10539  
 10540  
 10541  
 10542  
 10543  
 10544  
 10545  
 10546  
 10547  
 10548  
 10549  
 10550  
 10551  
 10552  
 10553  
 10554  
 10555  
 10556  
 10557  
 10558  
 10559  
 10560  
 10561  
 10562  
 10563  
 10564  
 10565  
 10566  
 10567  
 10568  
 10569  
 10570  
 10571  
 10572  
 10573  
 10574  
 10575  
 10576  
 10577  
 10578  
 10579  
 10580  
 10581  
 10582  
 10583  
 10584  
 10585  
 10586  
 10587  
 10588  
 10589  
 10590  
 10591  
 10592  
 10593  
 10594  
 10595  
 10596  
 10597  
 10598  
 10599  
 10600  
 10601  
 10602  
 10603  
 10604  
 10605  
 10606  
 10607  
 10608  
 10609  
 10610  
 10611  
 10612  
 10613  
 10614  
 10615  
 10616  
 10617  
 10618  
 10619  
 10620  
 10621  
 10622  
 10623  
 10624  
 10625  
 10626  
 10627  
 10628  
 10629  
 10630  
 10631  
 10632  
 10633  
 10634  
 10635  
 10636  
 10637  
 10638  
 10639  
 10640  
 10641  
 10642  
 10643  
 10644  
 10645  
 10646  
 10647  
 10648  
 10649    { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 10650  $as_echo_n "checking dynamic linker characteristics... " >&6; }
 10651  
 10652  if test "$GCC" = yes; then
 10653    case $host_os in
 10654      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 10655      *) lt_awk_arg="/^libraries:/" ;;
 10656    esac
 10657    lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 10658    if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 10659      # if the path contains ";" then we assume it to be the separator
 10660      # otherwise default to the standard path separator (i.e. ":") - it is
 10661      # assumed that no part of a normal pathname contains ";" but that should
 10662      # okay in the real world where ";" in dirpaths is itself problematic.
 10663      lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
 10664    else
 10665      lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 10666    fi
 10667    # Ok, now we have the path, separated by spaces, we can step through it
 10668    # and add multilib dir if necessary.
 10669    lt_tmp_lt_search_path_spec=
 10670    lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 10671    for lt_sys_path in $lt_search_path_spec; do
 10672      if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 10673        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 10674      else
 10675        test -d "$lt_sys_path" && \
 10676  	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 10677      fi
 10678    done
 10679    lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 10680  BEGIN {RS=" "; FS="/|\n";} {
 10681    lt_foo="";
 10682    lt_count=0;
 10683    for (lt_i = NF; lt_i > 0; lt_i--) {
 10684      if ($lt_i != "" && $lt_i != ".") {
 10685        if ($lt_i == "..") {
 10686          lt_count++;
 10687        } else {
 10688          if (lt_count == 0) {
 10689            lt_foo="/" $lt_i lt_foo;
 10690          } else {
 10691            lt_count--;
 10692          }
 10693        }
 10694      }
 10695    }
 10696    if (lt_foo != "") { lt_freq[lt_foo]++; }
 10697    if (lt_freq[lt_foo] == 1) { print lt_foo; }
 10698  }'`
 10699    sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 10700  else
 10701    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 10702  fi
 10703  library_names_spec=
 10704  libname_spec='lib$name'
 10705  soname_spec=
 10706  shrext_cmds=".so"
 10707  postinstall_cmds=
 10708  postuninstall_cmds=
 10709  finish_cmds=
 10710  finish_eval=
 10711  shlibpath_var=
 10712  shlibpath_overrides_runpath=unknown
 10713  version_type=none
 10714  dynamic_linker="$host_os ld.so"
 10715  sys_lib_dlsearch_path_spec="/lib /usr/lib"
 10716  need_lib_prefix=unknown
 10717  hardcode_into_libs=no
 10718  
 10719  # when you set need_version to no, make sure it does not cause -set_version
 10720  # flags to be left without arguments
 10721  need_version=unknown
 10722  
 10723  case $host_os in
 10724  aix3*)
 10725    version_type=linux
 10726    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 10727    shlibpath_var=LIBPATH
 10728  
 10729    # AIX 3 has no versioning support, so we append a major version to the name.
 10730    soname_spec='${libname}${release}${shared_ext}$major'
 10731    ;;
 10732  
 10733  aix[4-9]*)
 10734    version_type=linux
 10735    need_lib_prefix=no
 10736    need_version=no
 10737    hardcode_into_libs=yes
 10738    if test "$host_cpu" = ia64; then
 10739      # AIX 5 supports IA64
 10740      library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 10741      shlibpath_var=LD_LIBRARY_PATH
 10742    else
 10743      # With GCC up to 2.95.x, collect2 would create an import file
 10744      # for dependence libraries.  The import file would start with
 10745      # the line `#! .'.  This would cause the generated library to
 10746      # depend on `.', always an invalid library.  This was fixed in
 10747      # development snapshots of GCC prior to 3.0.
 10748      case $host_os in
 10749        aix4 | aix4.[01] | aix4.[01].*)
 10750        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 10751  	   echo ' yes '
 10752  	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 10753  	:
 10754        else
 10755  	can_build_shared=no
 10756        fi
 10757        ;;
 10758      esac
 10759      # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 10760      # soname into executable. Probably we can add versioning support to
 10761      # collect2, so additional links can be useful in future.
 10762      if test "$aix_use_runtimelinking" = yes; then
 10763        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 10764        # instead of lib<name>.a to let people know that these are not
 10765        # typical AIX shared libraries.
 10766        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10767      else
 10768        # We preserve .a as extension for shared libraries through AIX4.2
 10769        # and later when we are not doing run time linking.
 10770        library_names_spec='${libname}${release}.a $libname.a'
 10771        soname_spec='${libname}${release}${shared_ext}$major'
 10772      fi
 10773      shlibpath_var=LIBPATH
 10774    fi
 10775    ;;
 10776  
 10777  amigaos*)
 10778    case $host_cpu in
 10779    powerpc)
 10780      # Since July 2007 AmigaOS4 officially supports .so libraries.
 10781      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 10782      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10783      ;;
 10784    m68k)
 10785      library_names_spec='$libname.ixlibrary $libname.a'
 10786      # Create ${libname}_ixlibrary.a entries in /sys/libs.
 10787      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'
 10788      ;;
 10789    esac
 10790    ;;
 10791  
 10792  beos*)
 10793    library_names_spec='${libname}${shared_ext}'
 10794    dynamic_linker="$host_os ld.so"
 10795    shlibpath_var=LIBRARY_PATH
 10796    ;;
 10797  
 10798  bsdi[45]*)
 10799    version_type=linux
 10800    need_version=no
 10801    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10802    soname_spec='${libname}${release}${shared_ext}$major'
 10803    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 10804    shlibpath_var=LD_LIBRARY_PATH
 10805    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 10806    sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 10807    # the default ld.so.conf also contains /usr/contrib/lib and
 10808    # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 10809    # libtool to hard-code these into programs
 10810    ;;
 10811  
 10812  cygwin* | mingw* | pw32* | cegcc*)
 10813    version_type=windows
 10814    shrext_cmds=".dll"
 10815    need_version=no
 10816    need_lib_prefix=no
 10817  
 10818    case $GCC,$host_os in
 10819    yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 10820      library_names_spec='$libname.dll.a'
 10821      # DLL is installed to $(libdir)/../bin by postinstall_cmds
 10822      postinstall_cmds='base_file=`basename \${file}`~
 10823        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 10824        dldir=$destdir/`dirname \$dlpath`~
 10825        test -d \$dldir || mkdir -p \$dldir~
 10826        $install_prog $dir/$dlname \$dldir/$dlname~
 10827        chmod a+x \$dldir/$dlname~
 10828        if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 10829          eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 10830        fi'
 10831      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 10832        dlpath=$dir/\$dldll~
 10833         $RM \$dlpath'
 10834      shlibpath_overrides_runpath=yes
 10835  
 10836      case $host_os in
 10837      cygwin*)
 10838        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 10839        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10840        sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 10841        ;;
 10842      mingw* | cegcc*)
 10843        # MinGW DLLs use traditional 'lib' prefix
 10844        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10845        sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 10846        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 10847          # It is most probably a Windows format PATH printed by
 10848          # mingw gcc, but we are running on Cygwin. Gcc prints its search
 10849          # path with ; separators, and with drive letters. We can handle the
 10850          # drive letters (cygwin fileutils understands them), so leave them,
 10851          # especially as we might pass files found there to a mingw objdump,
 10852          # which wouldn't understand a cygwinified path. Ahh.
 10853          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 10854        else
 10855          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 10856        fi
 10857        ;;
 10858      pw32*)
 10859        # pw32 DLLs use 'pw' prefix rather than 'lib'
 10860        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10861        ;;
 10862      esac
 10863      ;;
 10864  
 10865    *)
 10866      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 10867      ;;
 10868    esac
 10869    dynamic_linker='Win32 ld.exe'
 10870    # FIXME: first we should search . and the directory the executable is in
 10871    shlibpath_var=PATH
 10872    ;;
 10873  
 10874  darwin* | rhapsody*)
 10875    dynamic_linker="$host_os dyld"
 10876    version_type=darwin
 10877    need_lib_prefix=no
 10878    need_version=no
 10879    library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 10880    soname_spec='${libname}${release}${major}$shared_ext'
 10881    shlibpath_overrides_runpath=yes
 10882    shlibpath_var=DYLD_LIBRARY_PATH
 10883    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 10884  
 10885    sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 10886    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 10887    ;;
 10888  
 10889  dgux*)
 10890    version_type=linux
 10891    need_lib_prefix=no
 10892    need_version=no
 10893    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 10894    soname_spec='${libname}${release}${shared_ext}$major'
 10895    shlibpath_var=LD_LIBRARY_PATH
 10896    ;;
 10897  
 10898  freebsd1*)
 10899    dynamic_linker=no
 10900    ;;
 10901  
 10902  freebsd* | dragonfly*)
 10903    # DragonFly does not have aout.  When/if they implement a new
 10904    # versioning mechanism, adjust this.
 10905    if test -x /usr/bin/objformat; then
 10906      objformat=`/usr/bin/objformat`
 10907    else
 10908      case $host_os in
 10909      freebsd[123]*) objformat=aout ;;
 10910      *) objformat=elf ;;
 10911      esac
 10912    fi
 10913    version_type=freebsd-$objformat
 10914    case $version_type in
 10915      freebsd-elf*)
 10916        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 10917        need_version=no
 10918        need_lib_prefix=no
 10919        ;;
 10920      freebsd-*)
 10921        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 10922        need_version=yes
 10923        ;;
 10924    esac
 10925    shlibpath_var=LD_LIBRARY_PATH
 10926    case $host_os in
 10927    freebsd2*)
 10928      shlibpath_overrides_runpath=yes
 10929      ;;
 10930    freebsd3.[01]* | freebsdelf3.[01]*)
 10931      shlibpath_overrides_runpath=yes
 10932      hardcode_into_libs=yes
 10933      ;;
 10934    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 10935    freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 10936      shlibpath_overrides_runpath=no
 10937      hardcode_into_libs=yes
 10938      ;;
 10939    *) # from 4.6 on, and DragonFly
 10940      shlibpath_overrides_runpath=yes
 10941      hardcode_into_libs=yes
 10942      ;;
 10943    esac
 10944    ;;
 10945  
 10946  gnu*)
 10947    version_type=linux
 10948    need_lib_prefix=no
 10949    need_version=no
 10950    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 10951    soname_spec='${libname}${release}${shared_ext}$major'
 10952    shlibpath_var=LD_LIBRARY_PATH
 10953    hardcode_into_libs=yes
 10954    ;;
 10955  
 10956  hpux9* | hpux10* | hpux11*)
 10957    # Give a soname corresponding to the major version so that dld.sl refuses to
 10958    # link against other versions.
 10959    version_type=sunos
 10960    need_lib_prefix=no
 10961    need_version=no
 10962    case $host_cpu in
 10963    ia64*)
 10964      shrext_cmds='.so'
 10965      hardcode_into_libs=yes
 10966      dynamic_linker="$host_os dld.so"
 10967      shlibpath_var=LD_LIBRARY_PATH
 10968      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 10969      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10970      soname_spec='${libname}${release}${shared_ext}$major'
 10971      if test "X$HPUX_IA64_MODE" = X32; then
 10972        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 10973      else
 10974        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 10975      fi
 10976      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 10977      ;;
 10978    hppa*64*)
 10979      shrext_cmds='.sl'
 10980      hardcode_into_libs=yes
 10981      dynamic_linker="$host_os dld.sl"
 10982      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 10983      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 10984      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10985      soname_spec='${libname}${release}${shared_ext}$major'
 10986      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 10987      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 10988      ;;
 10989    *)
 10990      shrext_cmds='.sl'
 10991      dynamic_linker="$host_os dld.sl"
 10992      shlibpath_var=SHLIB_PATH
 10993      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 10994      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10995      soname_spec='${libname}${release}${shared_ext}$major'
 10996      ;;
 10997    esac
 10998    # HP-UX runs *really* slowly unless shared libraries are mode 555.
 10999    postinstall_cmds='chmod 555 $lib'
 11000    ;;
 11001  
 11002  interix[3-9]*)
 11003    version_type=linux
 11004    need_lib_prefix=no
 11005    need_version=no
 11006    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11007    soname_spec='${libname}${release}${shared_ext}$major'
 11008    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 11009    shlibpath_var=LD_LIBRARY_PATH
 11010    shlibpath_overrides_runpath=no
 11011    hardcode_into_libs=yes
 11012    ;;
 11013  
 11014  irix5* | irix6* | nonstopux*)
 11015    case $host_os in
 11016      nonstopux*) version_type=nonstopux ;;
 11017      *)
 11018  	if test "$lt_cv_prog_gnu_ld" = yes; then
 11019  		version_type=linux
 11020  	else
 11021  		version_type=irix
 11022  	fi ;;
 11023    esac
 11024    need_lib_prefix=no
 11025    need_version=no
 11026    soname_spec='${libname}${release}${shared_ext}$major'
 11027    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 11028    case $host_os in
 11029    irix5* | nonstopux*)
 11030      libsuff= shlibsuff=
 11031      ;;
 11032    *)
 11033      case $LD in # libtool.m4 will add one of these switches to LD
 11034      *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 11035        libsuff= shlibsuff= libmagic=32-bit;;
 11036      *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 11037        libsuff=32 shlibsuff=N32 libmagic=N32;;
 11038      *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 11039        libsuff=64 shlibsuff=64 libmagic=64-bit;;
 11040      *) libsuff= shlibsuff= libmagic=never-match;;
 11041      esac
 11042      ;;
 11043    esac
 11044    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 11045    shlibpath_overrides_runpath=no
 11046    sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 11047    sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 11048    hardcode_into_libs=yes
 11049    ;;
 11050  
 11051  # No shared lib support for Linux oldld, aout, or coff.
 11052  linux*oldld* | linux*aout* | linux*coff*)
 11053    dynamic_linker=no
 11054    ;;
 11055  
 11056  # This must be Linux ELF.
 11057  linux* | k*bsd*-gnu | kopensolaris*-gnu)
 11058    version_type=linux
 11059    need_lib_prefix=no
 11060    need_version=no
 11061    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11062    soname_spec='${libname}${release}${shared_ext}$major'
 11063    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 11064    shlibpath_var=LD_LIBRARY_PATH
 11065    shlibpath_overrides_runpath=no
 11066    # Some binutils ld are patched to set DT_RUNPATH
 11067    save_LDFLAGS=$LDFLAGS
 11068    save_libdir=$libdir
 11069    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 11070         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 11071    cat >conftest.$ac_ext <<_ACEOF
 11072  /* confdefs.h.  */
 11073  _ACEOF
 11074  cat confdefs.h >>conftest.$ac_ext
 11075  cat >>conftest.$ac_ext <<_ACEOF
 11076  /* end confdefs.h.  */
 11077  
 11078  int
 11079  main ()
 11080  {
 11081  
 11082    ;
 11083    return 0;
 11084  }
 11085  _ACEOF
 11086  rm -f conftest.$ac_objext conftest$ac_exeext
 11087  if { (ac_try="$ac_link"
 11088  case "(($ac_try" in
 11089    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11090    *) ac_try_echo=$ac_try;;
 11091  esac
 11092  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11093  $as_echo "$ac_try_echo") >&5
 11094    (eval "$ac_link") 2>conftest.er1
 11095    ac_status=$?
 11096    grep -v '^ *+' conftest.er1 >conftest.err
 11097    rm -f conftest.er1
 11098    cat conftest.err >&5
 11099    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11100    (exit $ac_status); } && {
 11101  	 test -z "$ac_c_werror_flag" ||
 11102  	 test ! -s conftest.err
 11103         } && test -s conftest$ac_exeext && {
 11104  	 test "$cross_compiling" = yes ||
 11105  	 $as_test_x conftest$ac_exeext
 11106         }; then
 11107    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 11108    shlibpath_overrides_runpath=yes
 11109  fi
 11110  
 11111  else
 11112    $as_echo "$as_me: failed program was:" >&5
 11113  sed 's/^/| /' conftest.$ac_ext >&5
 11114  
 11115  
 11116  fi
 11117  
 11118  rm -rf conftest.dSYM
 11119  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11120        conftest$ac_exeext conftest.$ac_ext
 11121    LDFLAGS=$save_LDFLAGS
 11122    libdir=$save_libdir
 11123  
 11124    # This implies no fast_install, which is unacceptable.
 11125    # Some rework will be needed to allow for fast_install
 11126    # before this can be enabled.
 11127    hardcode_into_libs=yes
 11128  
 11129    # Append ld.so.conf contents to the search path
 11130    if test -f /etc/ld.so.conf; then
 11131      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' ' '`
 11132      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 11133    fi
 11134  
 11135    # We used to test for /lib/ld.so.1 and disable shared libraries on
 11136    # powerpc, because MkLinux only supported shared libraries with the
 11137    # GNU dynamic linker.  Since this was broken with cross compilers,
 11138    # most powerpc-linux boxes support dynamic linking these days and
 11139    # people can always --disable-shared, the test was removed, and we
 11140    # assume the GNU/Linux dynamic linker is in use.
 11141    dynamic_linker='GNU/Linux ld.so'
 11142    ;;
 11143  
 11144  netbsdelf*-gnu)
 11145    version_type=linux
 11146    need_lib_prefix=no
 11147    need_version=no
 11148    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11149    soname_spec='${libname}${release}${shared_ext}$major'
 11150    shlibpath_var=LD_LIBRARY_PATH
 11151    shlibpath_overrides_runpath=no
 11152    hardcode_into_libs=yes
 11153    dynamic_linker='NetBSD ld.elf_so'
 11154    ;;
 11155  
 11156  netbsd*)
 11157    version_type=sunos
 11158    need_lib_prefix=no
 11159    need_version=no
 11160    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 11161      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11162      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 11163      dynamic_linker='NetBSD (a.out) ld.so'
 11164    else
 11165      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 11166      soname_spec='${libname}${release}${shared_ext}$major'
 11167      dynamic_linker='NetBSD ld.elf_so'
 11168    fi
 11169    shlibpath_var=LD_LIBRARY_PATH
 11170    shlibpath_overrides_runpath=yes
 11171    hardcode_into_libs=yes
 11172    ;;
 11173  
 11174  newsos6)
 11175    version_type=linux
 11176    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11177    shlibpath_var=LD_LIBRARY_PATH
 11178    shlibpath_overrides_runpath=yes
 11179    ;;
 11180  
 11181  *nto* | *qnx*)
 11182    version_type=qnx
 11183    need_lib_prefix=no
 11184    need_version=no
 11185    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11186    soname_spec='${libname}${release}${shared_ext}$major'
 11187    shlibpath_var=LD_LIBRARY_PATH
 11188    shlibpath_overrides_runpath=no
 11189    hardcode_into_libs=yes
 11190    dynamic_linker='ldqnx.so'
 11191    ;;
 11192  
 11193  openbsd*)
 11194    version_type=sunos
 11195    sys_lib_dlsearch_path_spec="/usr/lib"
 11196    need_lib_prefix=no
 11197    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 11198    case $host_os in
 11199      openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 11200      *)				need_version=no  ;;
 11201    esac
 11202    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11203    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 11204    shlibpath_var=LD_LIBRARY_PATH
 11205    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 11206      case $host_os in
 11207        openbsd2.[89] | openbsd2.[89].*)
 11208  	shlibpath_overrides_runpath=no
 11209  	;;
 11210        *)
 11211  	shlibpath_overrides_runpath=yes
 11212  	;;
 11213        esac
 11214    else
 11215      shlibpath_overrides_runpath=yes
 11216    fi
 11217    ;;
 11218  
 11219  os2*)
 11220    libname_spec='$name'
 11221    shrext_cmds=".dll"
 11222    need_lib_prefix=no
 11223    library_names_spec='$libname${shared_ext} $libname.a'
 11224    dynamic_linker='OS/2 ld.exe'
 11225    shlibpath_var=LIBPATH
 11226    ;;
 11227  
 11228  osf3* | osf4* | osf5*)
 11229    version_type=osf
 11230    need_lib_prefix=no
 11231    need_version=no
 11232    soname_spec='${libname}${release}${shared_ext}$major'
 11233    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11234    shlibpath_var=LD_LIBRARY_PATH
 11235    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 11236    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 11237    ;;
 11238  
 11239  rdos*)
 11240    dynamic_linker=no
 11241    ;;
 11242  
 11243  solaris*)
 11244    version_type=linux
 11245    need_lib_prefix=no
 11246    need_version=no
 11247    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11248    soname_spec='${libname}${release}${shared_ext}$major'
 11249    shlibpath_var=LD_LIBRARY_PATH
 11250    shlibpath_overrides_runpath=yes
 11251    hardcode_into_libs=yes
 11252    # ldd complains unless libraries are executable
 11253    postinstall_cmds='chmod +x $lib'
 11254    ;;
 11255  
 11256  sunos4*)
 11257    version_type=sunos
 11258    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 11259    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 11260    shlibpath_var=LD_LIBRARY_PATH
 11261    shlibpath_overrides_runpath=yes
 11262    if test "$with_gnu_ld" = yes; then
 11263      need_lib_prefix=no
 11264    fi
 11265    need_version=yes
 11266    ;;
 11267  
 11268  sysv4 | sysv4.3*)
 11269    version_type=linux
 11270    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11271    soname_spec='${libname}${release}${shared_ext}$major'
 11272    shlibpath_var=LD_LIBRARY_PATH
 11273    case $host_vendor in
 11274      sni)
 11275        shlibpath_overrides_runpath=no
 11276        need_lib_prefix=no
 11277        runpath_var=LD_RUN_PATH
 11278        ;;
 11279      siemens)
 11280        need_lib_prefix=no
 11281        ;;
 11282      motorola)
 11283        need_lib_prefix=no
 11284        need_version=no
 11285        shlibpath_overrides_runpath=no
 11286        sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 11287        ;;
 11288    esac
 11289    ;;
 11290  
 11291  sysv4*MP*)
 11292    if test -d /usr/nec ;then
 11293      version_type=linux
 11294      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 11295      soname_spec='$libname${shared_ext}.$major'
 11296      shlibpath_var=LD_LIBRARY_PATH
 11297    fi
 11298    ;;
 11299  
 11300  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 11301    version_type=freebsd-elf
 11302    need_lib_prefix=no
 11303    need_version=no
 11304    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 11305    soname_spec='${libname}${release}${shared_ext}$major'
 11306    shlibpath_var=LD_LIBRARY_PATH
 11307    shlibpath_overrides_runpath=yes
 11308    hardcode_into_libs=yes
 11309    if test "$with_gnu_ld" = yes; then
 11310      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 11311    else
 11312      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 11313      case $host_os in
 11314        sco3.2v5*)
 11315          sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 11316  	;;
 11317      esac
 11318    fi
 11319    sys_lib_dlsearch_path_spec='/usr/lib'
 11320    ;;
 11321  
 11322  tpf*)
 11323    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 11324    version_type=linux
 11325    need_lib_prefix=no
 11326    need_version=no
 11327    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11328    shlibpath_var=LD_LIBRARY_PATH
 11329    shlibpath_overrides_runpath=no
 11330    hardcode_into_libs=yes
 11331    ;;
 11332  
 11333  uts4*)
 11334    version_type=linux
 11335    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 11336    soname_spec='${libname}${release}${shared_ext}$major'
 11337    shlibpath_var=LD_LIBRARY_PATH
 11338    ;;
 11339  
 11340  *)
 11341    dynamic_linker=no
 11342    ;;
 11343  esac
 11344  { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 11345  $as_echo "$dynamic_linker" >&6; }
 11346  test "$dynamic_linker" = no && can_build_shared=no
 11347  
 11348  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 11349  if test "$GCC" = yes; then
 11350    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 11351  fi
 11352  
 11353  if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 11354    sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 11355  fi
 11356  if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 11357    sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 11358  fi
 11359  
 11360  
 11361  
 11362  
 11363  
 11364  
 11365  
 11366  
 11367  
 11368  
 11369  
 11370  
 11371  
 11372  
 11373  
 11374  
 11375  
 11376  
 11377  
 11378  
 11379  
 11380  
 11381  
 11382  
 11383  
 11384  
 11385  
 11386  
 11387  
 11388  
 11389  
 11390  
 11391  
 11392  
 11393  
 11394  
 11395  
 11396  
 11397  
 11398  
 11399  
 11400  
 11401  
 11402  
 11403  
 11404  
 11405  
 11406  
 11407  
 11408  
 11409  
 11410  
 11411  
 11412  
 11413  
 11414  
 11415  
 11416  
 11417  
 11418  
 11419  
 11420  
 11421  
 11422  
 11423  
 11424  
 11425  
 11426  
 11427  
 11428  
 11429  
 11430  
 11431  
 11432  
 11433  
 11434  
 11435  
 11436  
 11437  
 11438  
 11439  
 11440  
 11441  
 11442  
 11443  
 11444  
 11445  
 11446    { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 11447  $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 11448  hardcode_action=
 11449  if test -n "$hardcode_libdir_flag_spec" ||
 11450     test -n "$runpath_var" ||
 11451     test "X$hardcode_automatic" = "Xyes" ; then
 11452  
 11453    # We can hardcode non-existent directories.
 11454    if test "$hardcode_direct" != no &&
 11455       # If the only mechanism to avoid hardcoding is shlibpath_var, we
 11456       # have to relink, otherwise we might link with an installed library
 11457       # when we should be linking with a yet-to-be-installed one
 11458       ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 11459       test "$hardcode_minus_L" != no; then
 11460      # Linking always hardcodes the temporary library directory.
 11461      hardcode_action=relink
 11462    else
 11463      # We can link without hardcoding, and we can hardcode nonexisting dirs.
 11464      hardcode_action=immediate
 11465    fi
 11466  else
 11467    # We cannot hardcode anything, or else we can only hardcode existing
 11468    # directories.
 11469    hardcode_action=unsupported
 11470  fi
 11471  { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
 11472  $as_echo "$hardcode_action" >&6; }
 11473  
 11474  if test "$hardcode_action" = relink ||
 11475     test "$inherit_rpath" = yes; then
 11476    # Fast installation is not supported
 11477    enable_fast_install=no
 11478  elif test "$shlibpath_overrides_runpath" = yes ||
 11479       test "$enable_shared" = no; then
 11480    # Fast installation is not necessary
 11481    enable_fast_install=needless
 11482  fi
 11483  
 11484  
 11485  
 11486  
 11487  
 11488  
 11489    if test "x$enable_dlopen" != xyes; then
 11490    enable_dlopen=unknown
 11491    enable_dlopen_self=unknown
 11492    enable_dlopen_self_static=unknown
 11493  else
 11494    lt_cv_dlopen=no
 11495    lt_cv_dlopen_libs=
 11496  
 11497    case $host_os in
 11498    beos*)
 11499      lt_cv_dlopen="load_add_on"
 11500      lt_cv_dlopen_libs=
 11501      lt_cv_dlopen_self=yes
 11502      ;;
 11503  
 11504    mingw* | pw32* | cegcc*)
 11505      lt_cv_dlopen="LoadLibrary"
 11506      lt_cv_dlopen_libs=
 11507      ;;
 11508  
 11509    cygwin*)
 11510      lt_cv_dlopen="dlopen"
 11511      lt_cv_dlopen_libs=
 11512      ;;
 11513  
 11514    darwin*)
 11515    # if libdl is installed we need to link against it
 11516      { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 11517  $as_echo_n "checking for dlopen in -ldl... " >&6; }
 11518  if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 11519    $as_echo_n "(cached) " >&6
 11520  else
 11521    ac_check_lib_save_LIBS=$LIBS
 11522  LIBS="-ldl  $LIBS"
 11523  cat >conftest.$ac_ext <<_ACEOF
 11524  /* confdefs.h.  */
 11525  _ACEOF
 11526  cat confdefs.h >>conftest.$ac_ext
 11527  cat >>conftest.$ac_ext <<_ACEOF
 11528  /* end confdefs.h.  */
 11529  
 11530  /* Override any GCC internal prototype to avoid an error.
 11531     Use char because int might match the return type of a GCC
 11532     builtin and then its argument prototype would still apply.  */
 11533  #ifdef __cplusplus
 11534  extern "C"
 11535  #endif
 11536  char dlopen ();
 11537  int
 11538  main ()
 11539  {
 11540  return dlopen ();
 11541    ;
 11542    return 0;
 11543  }
 11544  _ACEOF
 11545  rm -f conftest.$ac_objext conftest$ac_exeext
 11546  if { (ac_try="$ac_link"
 11547  case "(($ac_try" in
 11548    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11549    *) ac_try_echo=$ac_try;;
 11550  esac
 11551  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11552  $as_echo "$ac_try_echo") >&5
 11553    (eval "$ac_link") 2>conftest.er1
 11554    ac_status=$?
 11555    grep -v '^ *+' conftest.er1 >conftest.err
 11556    rm -f conftest.er1
 11557    cat conftest.err >&5
 11558    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11559    (exit $ac_status); } && {
 11560  	 test -z "$ac_c_werror_flag" ||
 11561  	 test ! -s conftest.err
 11562         } && test -s conftest$ac_exeext && {
 11563  	 test "$cross_compiling" = yes ||
 11564  	 $as_test_x conftest$ac_exeext
 11565         }; then
 11566    ac_cv_lib_dl_dlopen=yes
 11567  else
 11568    $as_echo "$as_me: failed program was:" >&5
 11569  sed 's/^/| /' conftest.$ac_ext >&5
 11570  
 11571  	ac_cv_lib_dl_dlopen=no
 11572  fi
 11573  
 11574  rm -rf conftest.dSYM
 11575  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11576        conftest$ac_exeext conftest.$ac_ext
 11577  LIBS=$ac_check_lib_save_LIBS
 11578  fi
 11579  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 11580  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 11581  if test $ac_cv_lib_dl_dlopen = yes; then
 11582    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 11583  else
 11584  
 11585      lt_cv_dlopen="dyld"
 11586      lt_cv_dlopen_libs=
 11587      lt_cv_dlopen_self=yes
 11588  
 11589  fi
 11590  
 11591      ;;
 11592  
 11593    *)
 11594      { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
 11595  $as_echo_n "checking for shl_load... " >&6; }
 11596  if test "${ac_cv_func_shl_load+set}" = set; then
 11597    $as_echo_n "(cached) " >&6
 11598  else
 11599    cat >conftest.$ac_ext <<_ACEOF
 11600  /* confdefs.h.  */
 11601  _ACEOF
 11602  cat confdefs.h >>conftest.$ac_ext
 11603  cat >>conftest.$ac_ext <<_ACEOF
 11604  /* end confdefs.h.  */
 11605  /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
 11606     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11607  #define shl_load innocuous_shl_load
 11608  
 11609  /* System header to define __stub macros and hopefully few prototypes,
 11610      which can conflict with char shl_load (); below.
 11611      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11612      <limits.h> exists even on freestanding compilers.  */
 11613  
 11614  #ifdef __STDC__
 11615  # include <limits.h>
 11616  #else
 11617  # include <assert.h>
 11618  #endif
 11619  
 11620  #undef shl_load
 11621  
 11622  /* Override any GCC internal prototype to avoid an error.
 11623     Use char because int might match the return type of a GCC
 11624     builtin and then its argument prototype would still apply.  */
 11625  #ifdef __cplusplus
 11626  extern "C"
 11627  #endif
 11628  char shl_load ();
 11629  /* The GNU C library defines this for functions which it implements
 11630      to always fail with ENOSYS.  Some functions are actually named
 11631      something starting with __ and the normal name is an alias.  */
 11632  #if defined __stub_shl_load || defined __stub___shl_load
 11633  choke me
 11634  #endif
 11635  
 11636  int
 11637  main ()
 11638  {
 11639  return shl_load ();
 11640    ;
 11641    return 0;
 11642  }
 11643  _ACEOF
 11644  rm -f conftest.$ac_objext conftest$ac_exeext
 11645  if { (ac_try="$ac_link"
 11646  case "(($ac_try" in
 11647    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11648    *) ac_try_echo=$ac_try;;
 11649  esac
 11650  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11651  $as_echo "$ac_try_echo") >&5
 11652    (eval "$ac_link") 2>conftest.er1
 11653    ac_status=$?
 11654    grep -v '^ *+' conftest.er1 >conftest.err
 11655    rm -f conftest.er1
 11656    cat conftest.err >&5
 11657    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11658    (exit $ac_status); } && {
 11659  	 test -z "$ac_c_werror_flag" ||
 11660  	 test ! -s conftest.err
 11661         } && test -s conftest$ac_exeext && {
 11662  	 test "$cross_compiling" = yes ||
 11663  	 $as_test_x conftest$ac_exeext
 11664         }; then
 11665    ac_cv_func_shl_load=yes
 11666  else
 11667    $as_echo "$as_me: failed program was:" >&5
 11668  sed 's/^/| /' conftest.$ac_ext >&5
 11669  
 11670  	ac_cv_func_shl_load=no
 11671  fi
 11672  
 11673  rm -rf conftest.dSYM
 11674  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11675        conftest$ac_exeext conftest.$ac_ext
 11676  fi
 11677  { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
 11678  $as_echo "$ac_cv_func_shl_load" >&6; }
 11679  if test $ac_cv_func_shl_load = yes; then
 11680    lt_cv_dlopen="shl_load"
 11681  else
 11682    { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
 11683  $as_echo_n "checking for shl_load in -ldld... " >&6; }
 11684  if test "${ac_cv_lib_dld_shl_load+set}" = set; then
 11685    $as_echo_n "(cached) " >&6
 11686  else
 11687    ac_check_lib_save_LIBS=$LIBS
 11688  LIBS="-ldld  $LIBS"
 11689  cat >conftest.$ac_ext <<_ACEOF
 11690  /* confdefs.h.  */
 11691  _ACEOF
 11692  cat confdefs.h >>conftest.$ac_ext
 11693  cat >>conftest.$ac_ext <<_ACEOF
 11694  /* end confdefs.h.  */
 11695  
 11696  /* Override any GCC internal prototype to avoid an error.
 11697     Use char because int might match the return type of a GCC
 11698     builtin and then its argument prototype would still apply.  */
 11699  #ifdef __cplusplus
 11700  extern "C"
 11701  #endif
 11702  char shl_load ();
 11703  int
 11704  main ()
 11705  {
 11706  return shl_load ();
 11707    ;
 11708    return 0;
 11709  }
 11710  _ACEOF
 11711  rm -f conftest.$ac_objext conftest$ac_exeext
 11712  if { (ac_try="$ac_link"
 11713  case "(($ac_try" in
 11714    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11715    *) ac_try_echo=$ac_try;;
 11716  esac
 11717  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11718  $as_echo "$ac_try_echo") >&5
 11719    (eval "$ac_link") 2>conftest.er1
 11720    ac_status=$?
 11721    grep -v '^ *+' conftest.er1 >conftest.err
 11722    rm -f conftest.er1
 11723    cat conftest.err >&5
 11724    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11725    (exit $ac_status); } && {
 11726  	 test -z "$ac_c_werror_flag" ||
 11727  	 test ! -s conftest.err
 11728         } && test -s conftest$ac_exeext && {
 11729  	 test "$cross_compiling" = yes ||
 11730  	 $as_test_x conftest$ac_exeext
 11731         }; then
 11732    ac_cv_lib_dld_shl_load=yes
 11733  else
 11734    $as_echo "$as_me: failed program was:" >&5
 11735  sed 's/^/| /' conftest.$ac_ext >&5
 11736  
 11737  	ac_cv_lib_dld_shl_load=no
 11738  fi
 11739  
 11740  rm -rf conftest.dSYM
 11741  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11742        conftest$ac_exeext conftest.$ac_ext
 11743  LIBS=$ac_check_lib_save_LIBS
 11744  fi
 11745  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
 11746  $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 11747  if test $ac_cv_lib_dld_shl_load = yes; then
 11748    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 11749  else
 11750    { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
 11751  $as_echo_n "checking for dlopen... " >&6; }
 11752  if test "${ac_cv_func_dlopen+set}" = set; then
 11753    $as_echo_n "(cached) " >&6
 11754  else
 11755    cat >conftest.$ac_ext <<_ACEOF
 11756  /* confdefs.h.  */
 11757  _ACEOF
 11758  cat confdefs.h >>conftest.$ac_ext
 11759  cat >>conftest.$ac_ext <<_ACEOF
 11760  /* end confdefs.h.  */
 11761  /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
 11762     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11763  #define dlopen innocuous_dlopen
 11764  
 11765  /* System header to define __stub macros and hopefully few prototypes,
 11766      which can conflict with char dlopen (); below.
 11767      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11768      <limits.h> exists even on freestanding compilers.  */
 11769  
 11770  #ifdef __STDC__
 11771  # include <limits.h>
 11772  #else
 11773  # include <assert.h>
 11774  #endif
 11775  
 11776  #undef dlopen
 11777  
 11778  /* Override any GCC internal prototype to avoid an error.
 11779     Use char because int might match the return type of a GCC
 11780     builtin and then its argument prototype would still apply.  */
 11781  #ifdef __cplusplus
 11782  extern "C"
 11783  #endif
 11784  char dlopen ();
 11785  /* The GNU C library defines this for functions which it implements
 11786      to always fail with ENOSYS.  Some functions are actually named
 11787      something starting with __ and the normal name is an alias.  */
 11788  #if defined __stub_dlopen || defined __stub___dlopen
 11789  choke me
 11790  #endif
 11791  
 11792  int
 11793  main ()
 11794  {
 11795  return dlopen ();
 11796    ;
 11797    return 0;
 11798  }
 11799  _ACEOF
 11800  rm -f conftest.$ac_objext conftest$ac_exeext
 11801  if { (ac_try="$ac_link"
 11802  case "(($ac_try" in
 11803    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11804    *) ac_try_echo=$ac_try;;
 11805  esac
 11806  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11807  $as_echo "$ac_try_echo") >&5
 11808    (eval "$ac_link") 2>conftest.er1
 11809    ac_status=$?
 11810    grep -v '^ *+' conftest.er1 >conftest.err
 11811    rm -f conftest.er1
 11812    cat conftest.err >&5
 11813    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11814    (exit $ac_status); } && {
 11815  	 test -z "$ac_c_werror_flag" ||
 11816  	 test ! -s conftest.err
 11817         } && test -s conftest$ac_exeext && {
 11818  	 test "$cross_compiling" = yes ||
 11819  	 $as_test_x conftest$ac_exeext
 11820         }; then
 11821    ac_cv_func_dlopen=yes
 11822  else
 11823    $as_echo "$as_me: failed program was:" >&5
 11824  sed 's/^/| /' conftest.$ac_ext >&5
 11825  
 11826  	ac_cv_func_dlopen=no
 11827  fi
 11828  
 11829  rm -rf conftest.dSYM
 11830  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11831        conftest$ac_exeext conftest.$ac_ext
 11832  fi
 11833  { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
 11834  $as_echo "$ac_cv_func_dlopen" >&6; }
 11835  if test $ac_cv_func_dlopen = yes; then
 11836    lt_cv_dlopen="dlopen"
 11837  else
 11838    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
 11839  $as_echo_n "checking for dlopen in -ldl... " >&6; }
 11840  if test "${ac_cv_lib_dl_dlopen+set}" = set; then
 11841    $as_echo_n "(cached) " >&6
 11842  else
 11843    ac_check_lib_save_LIBS=$LIBS
 11844  LIBS="-ldl  $LIBS"
 11845  cat >conftest.$ac_ext <<_ACEOF
 11846  /* confdefs.h.  */
 11847  _ACEOF
 11848  cat confdefs.h >>conftest.$ac_ext
 11849  cat >>conftest.$ac_ext <<_ACEOF
 11850  /* end confdefs.h.  */
 11851  
 11852  /* Override any GCC internal prototype to avoid an error.
 11853     Use char because int might match the return type of a GCC
 11854     builtin and then its argument prototype would still apply.  */
 11855  #ifdef __cplusplus
 11856  extern "C"
 11857  #endif
 11858  char dlopen ();
 11859  int
 11860  main ()
 11861  {
 11862  return dlopen ();
 11863    ;
 11864    return 0;
 11865  }
 11866  _ACEOF
 11867  rm -f conftest.$ac_objext conftest$ac_exeext
 11868  if { (ac_try="$ac_link"
 11869  case "(($ac_try" in
 11870    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11871    *) ac_try_echo=$ac_try;;
 11872  esac
 11873  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11874  $as_echo "$ac_try_echo") >&5
 11875    (eval "$ac_link") 2>conftest.er1
 11876    ac_status=$?
 11877    grep -v '^ *+' conftest.er1 >conftest.err
 11878    rm -f conftest.er1
 11879    cat conftest.err >&5
 11880    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11881    (exit $ac_status); } && {
 11882  	 test -z "$ac_c_werror_flag" ||
 11883  	 test ! -s conftest.err
 11884         } && test -s conftest$ac_exeext && {
 11885  	 test "$cross_compiling" = yes ||
 11886  	 $as_test_x conftest$ac_exeext
 11887         }; then
 11888    ac_cv_lib_dl_dlopen=yes
 11889  else
 11890    $as_echo "$as_me: failed program was:" >&5
 11891  sed 's/^/| /' conftest.$ac_ext >&5
 11892  
 11893  	ac_cv_lib_dl_dlopen=no
 11894  fi
 11895  
 11896  rm -rf conftest.dSYM
 11897  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11898        conftest$ac_exeext conftest.$ac_ext
 11899  LIBS=$ac_check_lib_save_LIBS
 11900  fi
 11901  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
 11902  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 11903  if test $ac_cv_lib_dl_dlopen = yes; then
 11904    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 11905  else
 11906    { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
 11907  $as_echo_n "checking for dlopen in -lsvld... " >&6; }
 11908  if test "${ac_cv_lib_svld_dlopen+set}" = set; then
 11909    $as_echo_n "(cached) " >&6
 11910  else
 11911    ac_check_lib_save_LIBS=$LIBS
 11912  LIBS="-lsvld  $LIBS"
 11913  cat >conftest.$ac_ext <<_ACEOF
 11914  /* confdefs.h.  */
 11915  _ACEOF
 11916  cat confdefs.h >>conftest.$ac_ext
 11917  cat >>conftest.$ac_ext <<_ACEOF
 11918  /* end confdefs.h.  */
 11919  
 11920  /* Override any GCC internal prototype to avoid an error.
 11921     Use char because int might match the return type of a GCC
 11922     builtin and then its argument prototype would still apply.  */
 11923  #ifdef __cplusplus
 11924  extern "C"
 11925  #endif
 11926  char dlopen ();
 11927  int
 11928  main ()
 11929  {
 11930  return dlopen ();
 11931    ;
 11932    return 0;
 11933  }
 11934  _ACEOF
 11935  rm -f conftest.$ac_objext conftest$ac_exeext
 11936  if { (ac_try="$ac_link"
 11937  case "(($ac_try" in
 11938    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11939    *) ac_try_echo=$ac_try;;
 11940  esac
 11941  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11942  $as_echo "$ac_try_echo") >&5
 11943    (eval "$ac_link") 2>conftest.er1
 11944    ac_status=$?
 11945    grep -v '^ *+' conftest.er1 >conftest.err
 11946    rm -f conftest.er1
 11947    cat conftest.err >&5
 11948    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11949    (exit $ac_status); } && {
 11950  	 test -z "$ac_c_werror_flag" ||
 11951  	 test ! -s conftest.err
 11952         } && test -s conftest$ac_exeext && {
 11953  	 test "$cross_compiling" = yes ||
 11954  	 $as_test_x conftest$ac_exeext
 11955         }; then
 11956    ac_cv_lib_svld_dlopen=yes
 11957  else
 11958    $as_echo "$as_me: failed program was:" >&5
 11959  sed 's/^/| /' conftest.$ac_ext >&5
 11960  
 11961  	ac_cv_lib_svld_dlopen=no
 11962  fi
 11963  
 11964  rm -rf conftest.dSYM
 11965  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11966        conftest$ac_exeext conftest.$ac_ext
 11967  LIBS=$ac_check_lib_save_LIBS
 11968  fi
 11969  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
 11970  $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 11971  if test $ac_cv_lib_svld_dlopen = yes; then
 11972    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 11973  else
 11974    { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
 11975  $as_echo_n "checking for dld_link in -ldld... " >&6; }
 11976  if test "${ac_cv_lib_dld_dld_link+set}" = set; then
 11977    $as_echo_n "(cached) " >&6
 11978  else
 11979    ac_check_lib_save_LIBS=$LIBS
 11980  LIBS="-ldld  $LIBS"
 11981  cat >conftest.$ac_ext <<_ACEOF
 11982  /* confdefs.h.  */
 11983  _ACEOF
 11984  cat confdefs.h >>conftest.$ac_ext
 11985  cat >>conftest.$ac_ext <<_ACEOF
 11986  /* end confdefs.h.  */
 11987  
 11988  /* Override any GCC internal prototype to avoid an error.
 11989     Use char because int might match the return type of a GCC
 11990     builtin and then its argument prototype would still apply.  */
 11991  #ifdef __cplusplus
 11992  extern "C"
 11993  #endif
 11994  char dld_link ();
 11995  int
 11996  main ()
 11997  {
 11998  return dld_link ();
 11999    ;
 12000    return 0;
 12001  }
 12002  _ACEOF
 12003  rm -f conftest.$ac_objext conftest$ac_exeext
 12004  if { (ac_try="$ac_link"
 12005  case "(($ac_try" in
 12006    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12007    *) ac_try_echo=$ac_try;;
 12008  esac
 12009  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12010  $as_echo "$ac_try_echo") >&5
 12011    (eval "$ac_link") 2>conftest.er1
 12012    ac_status=$?
 12013    grep -v '^ *+' conftest.er1 >conftest.err
 12014    rm -f conftest.er1
 12015    cat conftest.err >&5
 12016    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12017    (exit $ac_status); } && {
 12018  	 test -z "$ac_c_werror_flag" ||
 12019  	 test ! -s conftest.err
 12020         } && test -s conftest$ac_exeext && {
 12021  	 test "$cross_compiling" = yes ||
 12022  	 $as_test_x conftest$ac_exeext
 12023         }; then
 12024    ac_cv_lib_dld_dld_link=yes
 12025  else
 12026    $as_echo "$as_me: failed program was:" >&5
 12027  sed 's/^/| /' conftest.$ac_ext >&5
 12028  
 12029  	ac_cv_lib_dld_dld_link=no
 12030  fi
 12031  
 12032  rm -rf conftest.dSYM
 12033  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12034        conftest$ac_exeext conftest.$ac_ext
 12035  LIBS=$ac_check_lib_save_LIBS
 12036  fi
 12037  { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
 12038  $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 12039  if test $ac_cv_lib_dld_dld_link = yes; then
 12040    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 12041  fi
 12042  
 12043  
 12044  fi
 12045  
 12046  
 12047  fi
 12048  
 12049  
 12050  fi
 12051  
 12052  
 12053  fi
 12054  
 12055  
 12056  fi
 12057  
 12058      ;;
 12059    esac
 12060  
 12061    if test "x$lt_cv_dlopen" != xno; then
 12062      enable_dlopen=yes
 12063    else
 12064      enable_dlopen=no
 12065    fi
 12066  
 12067    case $lt_cv_dlopen in
 12068    dlopen)
 12069      save_CPPFLAGS="$CPPFLAGS"
 12070      test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 12071  
 12072      save_LDFLAGS="$LDFLAGS"
 12073      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 12074  
 12075      save_LIBS="$LIBS"
 12076      LIBS="$lt_cv_dlopen_libs $LIBS"
 12077  
 12078      { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
 12079  $as_echo_n "checking whether a program can dlopen itself... " >&6; }
 12080  if test "${lt_cv_dlopen_self+set}" = set; then
 12081    $as_echo_n "(cached) " >&6
 12082  else
 12083    	  if test "$cross_compiling" = yes; then :
 12084    lt_cv_dlopen_self=cross
 12085  else
 12086    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 12087    lt_status=$lt_dlunknown
 12088    cat > conftest.$ac_ext <<_LT_EOF
 12089  #line 12089 "configure"
 12090  #include "confdefs.h"
 12091  
 12092  #if HAVE_DLFCN_H
 12093  #include <dlfcn.h>
 12094  #endif
 12095  
 12096  #include <stdio.h>
 12097  
 12098  #ifdef RTLD_GLOBAL
 12099  #  define LT_DLGLOBAL		RTLD_GLOBAL
 12100  #else
 12101  #  ifdef DL_GLOBAL
 12102  #    define LT_DLGLOBAL		DL_GLOBAL
 12103  #  else
 12104  #    define LT_DLGLOBAL		0
 12105  #  endif
 12106  #endif
 12107  
 12108  /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 12109     find out it does not work in some platform. */
 12110  #ifndef LT_DLLAZY_OR_NOW
 12111  #  ifdef RTLD_LAZY
 12112  #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 12113  #  else
 12114  #    ifdef DL_LAZY
 12115  #      define LT_DLLAZY_OR_NOW		DL_LAZY
 12116  #    else
 12117  #      ifdef RTLD_NOW
 12118  #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 12119  #      else
 12120  #        ifdef DL_NOW
 12121  #          define LT_DLLAZY_OR_NOW	DL_NOW
 12122  #        else
 12123  #          define LT_DLLAZY_OR_NOW	0
 12124  #        endif
 12125  #      endif
 12126  #    endif
 12127  #  endif
 12128  #endif
 12129  
 12130  void fnord() { int i=42;}
 12131  int main ()
 12132  {
 12133    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 12134    int status = $lt_dlunknown;
 12135  
 12136    if (self)
 12137      {
 12138        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 12139        else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 12140        /* dlclose (self); */
 12141      }
 12142    else
 12143      puts (dlerror ());
 12144  
 12145    return status;
 12146  }
 12147  _LT_EOF
 12148    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12149    (eval $ac_link) 2>&5
 12150    ac_status=$?
 12151    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12152    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 12153      (./conftest; exit; ) >&5 2>/dev/null
 12154      lt_status=$?
 12155      case x$lt_status in
 12156        x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 12157        x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 12158        x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 12159      esac
 12160    else :
 12161      # compilation failed
 12162      lt_cv_dlopen_self=no
 12163    fi
 12164  fi
 12165  rm -fr conftest*
 12166  
 12167  
 12168  fi
 12169  { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
 12170  $as_echo "$lt_cv_dlopen_self" >&6; }
 12171  
 12172      if test "x$lt_cv_dlopen_self" = xyes; then
 12173        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 12174        { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
 12175  $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 12176  if test "${lt_cv_dlopen_self_static+set}" = set; then
 12177    $as_echo_n "(cached) " >&6
 12178  else
 12179    	  if test "$cross_compiling" = yes; then :
 12180    lt_cv_dlopen_self_static=cross
 12181  else
 12182    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 12183    lt_status=$lt_dlunknown
 12184    cat > conftest.$ac_ext <<_LT_EOF
 12185  #line 12185 "configure"
 12186  #include "confdefs.h"
 12187  
 12188  #if HAVE_DLFCN_H
 12189  #include <dlfcn.h>
 12190  #endif
 12191  
 12192  #include <stdio.h>
 12193  
 12194  #ifdef RTLD_GLOBAL
 12195  #  define LT_DLGLOBAL		RTLD_GLOBAL
 12196  #else
 12197  #  ifdef DL_GLOBAL
 12198  #    define LT_DLGLOBAL		DL_GLOBAL
 12199  #  else
 12200  #    define LT_DLGLOBAL		0
 12201  #  endif
 12202  #endif
 12203  
 12204  /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 12205     find out it does not work in some platform. */
 12206  #ifndef LT_DLLAZY_OR_NOW
 12207  #  ifdef RTLD_LAZY
 12208  #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 12209  #  else
 12210  #    ifdef DL_LAZY
 12211  #      define LT_DLLAZY_OR_NOW		DL_LAZY
 12212  #    else
 12213  #      ifdef RTLD_NOW
 12214  #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 12215  #      else
 12216  #        ifdef DL_NOW
 12217  #          define LT_DLLAZY_OR_NOW	DL_NOW
 12218  #        else
 12219  #          define LT_DLLAZY_OR_NOW	0
 12220  #        endif
 12221  #      endif
 12222  #    endif
 12223  #  endif
 12224  #endif
 12225  
 12226  void fnord() { int i=42;}
 12227  int main ()
 12228  {
 12229    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 12230    int status = $lt_dlunknown;
 12231  
 12232    if (self)
 12233      {
 12234        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 12235        else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 12236        /* dlclose (self); */
 12237      }
 12238    else
 12239      puts (dlerror ());
 12240  
 12241    return status;
 12242  }
 12243  _LT_EOF
 12244    if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
 12245    (eval $ac_link) 2>&5
 12246    ac_status=$?
 12247    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12248    (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
 12249      (./conftest; exit; ) >&5 2>/dev/null
 12250      lt_status=$?
 12251      case x$lt_status in
 12252        x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 12253        x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 12254        x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 12255      esac
 12256    else :
 12257      # compilation failed
 12258      lt_cv_dlopen_self_static=no
 12259    fi
 12260  fi
 12261  rm -fr conftest*
 12262  
 12263  
 12264  fi
 12265  { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
 12266  $as_echo "$lt_cv_dlopen_self_static" >&6; }
 12267      fi
 12268  
 12269      CPPFLAGS="$save_CPPFLAGS"
 12270      LDFLAGS="$save_LDFLAGS"
 12271      LIBS="$save_LIBS"
 12272      ;;
 12273    esac
 12274  
 12275    case $lt_cv_dlopen_self in
 12276    yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 12277    *) enable_dlopen_self=unknown ;;
 12278    esac
 12279  
 12280    case $lt_cv_dlopen_self_static in
 12281    yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 12282    *) enable_dlopen_self_static=unknown ;;
 12283    esac
 12284  fi
 12285  
 12286  
 12287  
 12288  
 12289  
 12290  
 12291  
 12292  
 12293  
 12294  
 12295  
 12296  
 12297  
 12298  
 12299  
 12300  
 12301  
 12302  striplib=
 12303  old_striplib=
 12304  { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
 12305  $as_echo_n "checking whether stripping libraries is possible... " >&6; }
 12306  if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 12307    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 12308    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 12309    { $as_echo "$as_me:$LINENO: result: yes" >&5
 12310  $as_echo "yes" >&6; }
 12311  else
 12312  # FIXME - insert some real tests, host_os isn't really good enough
 12313    case $host_os in
 12314    darwin*)
 12315      if test -n "$STRIP" ; then
 12316        striplib="$STRIP -x"
 12317        old_striplib="$STRIP -S"
 12318        { $as_echo "$as_me:$LINENO: result: yes" >&5
 12319  $as_echo "yes" >&6; }
 12320      else
 12321        { $as_echo "$as_me:$LINENO: result: no" >&5
 12322  $as_echo "no" >&6; }
 12323      fi
 12324      ;;
 12325    *)
 12326      { $as_echo "$as_me:$LINENO: result: no" >&5
 12327  $as_echo "no" >&6; }
 12328      ;;
 12329    esac
 12330  fi
 12331  
 12332  
 12333  
 12334  
 12335  
 12336  
 12337  
 12338  
 12339  
 12340  
 12341  
 12342  
 12343    # Report which library types will actually be built
 12344    { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
 12345  $as_echo_n "checking if libtool supports shared libraries... " >&6; }
 12346    { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
 12347  $as_echo "$can_build_shared" >&6; }
 12348  
 12349    { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
 12350  $as_echo_n "checking whether to build shared libraries... " >&6; }
 12351    test "$can_build_shared" = "no" && enable_shared=no
 12352  
 12353    # On AIX, shared libraries and static libraries use the same namespace, and
 12354    # are all built from PIC.
 12355    case $host_os in
 12356    aix3*)
 12357      test "$enable_shared" = yes && enable_static=no
 12358      if test -n "$RANLIB"; then
 12359        archive_cmds="$archive_cmds~\$RANLIB \$lib"
 12360        postinstall_cmds='$RANLIB $lib'
 12361      fi
 12362      ;;
 12363  
 12364    aix[4-9]*)
 12365      if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 12366        test "$enable_shared" = yes && enable_static=no
 12367      fi
 12368      ;;
 12369    esac
 12370    { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
 12371  $as_echo "$enable_shared" >&6; }
 12372  
 12373    { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
 12374  $as_echo_n "checking whether to build static libraries... " >&6; }
 12375    # Make sure either enable_shared or enable_static is yes.
 12376    test "$enable_shared" = yes || enable_static=yes
 12377    { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
 12378  $as_echo "$enable_static" >&6; }
 12379  
 12380  
 12381  
 12382  
 12383  fi
 12384  ac_ext=c
 12385  ac_cpp='$CPP $CPPFLAGS'
 12386  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 12387  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 12388  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 12389  
 12390  CC="$lt_save_CC"
 12391  
 12392  
 12393  ac_ext=cpp
 12394  ac_cpp='$CXXCPP $CPPFLAGS'
 12395  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 12396  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 12397  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 12398  
 12399  archive_cmds_need_lc_CXX=no
 12400  allow_undefined_flag_CXX=
 12401  always_export_symbols_CXX=no
 12402  archive_expsym_cmds_CXX=
 12403  compiler_needs_object_CXX=no
 12404  export_dynamic_flag_spec_CXX=
 12405  hardcode_direct_CXX=no
 12406  hardcode_direct_absolute_CXX=no
 12407  hardcode_libdir_flag_spec_CXX=
 12408  hardcode_libdir_flag_spec_ld_CXX=
 12409  hardcode_libdir_separator_CXX=
 12410  hardcode_minus_L_CXX=no
 12411  hardcode_shlibpath_var_CXX=unsupported
 12412  hardcode_automatic_CXX=no
 12413  inherit_rpath_CXX=no
 12414  module_cmds_CXX=
 12415  module_expsym_cmds_CXX=
 12416  link_all_deplibs_CXX=unknown
 12417  old_archive_cmds_CXX=$old_archive_cmds
 12418  no_undefined_flag_CXX=
 12419  whole_archive_flag_spec_CXX=
 12420  enable_shared_with_static_runtimes_CXX=no
 12421  
 12422  # Source file extension for C++ test sources.
 12423  ac_ext=cpp
 12424  
 12425  # Object file extension for compiled C++ test sources.
 12426  objext=o
 12427  objext_CXX=$objext
 12428  
 12429  # No sense in running all these tests if we already determined that
 12430  # the CXX compiler isn't working.  Some variables (like enable_shared)
 12431  # are currently assumed to apply to all compilers on this platform,
 12432  # and will be corrupted by setting them based on a non-working compiler.
 12433  if test "$_lt_caught_CXX_error" != yes; then
 12434    # Code to be used in simple compile tests
 12435    lt_simple_compile_test_code="int some_variable = 0;"
 12436  
 12437    # Code to be used in simple link tests
 12438    lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
 12439  
 12440    # ltmain only uses $CC for tagged configurations so make sure $CC is set.
 12441  
 12442  
 12443  
 12444  
 12445  
 12446  
 12447  # If no C compiler was specified, use CC.
 12448  LTCC=${LTCC-"$CC"}
 12449  
 12450  # If no C compiler flags were specified, use CFLAGS.
 12451  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
 12452  
 12453  # Allow CC to be a program name with arguments.
 12454  compiler=$CC
 12455  
 12456  
 12457    # save warnings/boilerplate of simple test code
 12458    ac_outfile=conftest.$ac_objext
 12459  echo "$lt_simple_compile_test_code" >conftest.$ac_ext
 12460  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 12461  _lt_compiler_boilerplate=`cat conftest.err`
 12462  $RM conftest*
 12463  
 12464    ac_outfile=conftest.$ac_objext
 12465  echo "$lt_simple_link_test_code" >conftest.$ac_ext
 12466  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
 12467  _lt_linker_boilerplate=`cat conftest.err`
 12468  $RM -r conftest*
 12469  
 12470  
 12471    # Allow CC to be a program name with arguments.
 12472    lt_save_CC=$CC
 12473    lt_save_LD=$LD
 12474    lt_save_GCC=$GCC
 12475    GCC=$GXX
 12476    lt_save_with_gnu_ld=$with_gnu_ld
 12477    lt_save_path_LD=$lt_cv_path_LD
 12478    if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
 12479      lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
 12480    else
 12481      $as_unset lt_cv_prog_gnu_ld
 12482    fi
 12483    if test -n "${lt_cv_path_LDCXX+set}"; then
 12484      lt_cv_path_LD=$lt_cv_path_LDCXX
 12485    else
 12486      $as_unset lt_cv_path_LD
 12487    fi
 12488    test -z "${LDCXX+set}" || LD=$LDCXX
 12489    CC=${CXX-"c++"}
 12490    compiler=$CC
 12491    compiler_CXX=$CC
 12492    for cc_temp in $compiler""; do
 12493    case $cc_temp in
 12494      compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 12495      distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 12496      \-*) ;;
 12497      *) break;;
 12498    esac
 12499  done
 12500  cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 12501  
 12502  
 12503    if test -n "$compiler"; then
 12504      # We don't want -fno-exception when compiling C++ code, so set the
 12505      # no_builtin_flag separately
 12506      if test "$GXX" = yes; then
 12507        lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
 12508      else
 12509        lt_prog_compiler_no_builtin_flag_CXX=
 12510      fi
 12511  
 12512      if test "$GXX" = yes; then
 12513        # Set up default GNU C++ configuration
 12514  
 12515  
 12516  
 12517  # Check whether --with-gnu-ld was given.
 12518  if test "${with_gnu_ld+set}" = set; then
 12519    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
 12520  else
 12521    with_gnu_ld=no
 12522  fi
 12523  
 12524  ac_prog=ld
 12525  if test "$GCC" = yes; then
 12526    # Check if gcc -print-prog-name=ld gives a path.
 12527    { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
 12528  $as_echo_n "checking for ld used by $CC... " >&6; }
 12529    case $host in
 12530    *-*-mingw*)
 12531      # gcc leaves a trailing carriage return which upsets mingw
 12532      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
 12533    *)
 12534      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
 12535    esac
 12536    case $ac_prog in
 12537      # Accept absolute paths.
 12538      [\\/]* | ?:[\\/]*)
 12539        re_direlt='/[^/][^/]*/\.\./'
 12540        # Canonicalize the pathname of ld
 12541        ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
 12542        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
 12543  	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
 12544        done
 12545        test -z "$LD" && LD="$ac_prog"
 12546        ;;
 12547    "")
 12548      # If it fails, then pretend we aren't using GCC.
 12549      ac_prog=ld
 12550      ;;
 12551    *)
 12552      # If it is relative, then search for the first ld in PATH.
 12553      with_gnu_ld=unknown
 12554      ;;
 12555    esac
 12556  elif test "$with_gnu_ld" = yes; then
 12557    { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
 12558  $as_echo_n "checking for GNU ld... " >&6; }
 12559  else
 12560    { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
 12561  $as_echo_n "checking for non-GNU ld... " >&6; }
 12562  fi
 12563  if test "${lt_cv_path_LD+set}" = set; then
 12564    $as_echo_n "(cached) " >&6
 12565  else
 12566    if test -z "$LD"; then
 12567    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
 12568    for ac_dir in $PATH; do
 12569      IFS="$lt_save_ifs"
 12570      test -z "$ac_dir" && ac_dir=.
 12571      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
 12572        lt_cv_path_LD="$ac_dir/$ac_prog"
 12573        # Check to see if the program is GNU ld.  I'd rather use --version,
 12574        # but apparently some variants of GNU ld only accept -v.
 12575        # Break only if it was the GNU/non-GNU ld that we prefer.
 12576        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
 12577        *GNU* | *'with BFD'*)
 12578  	test "$with_gnu_ld" != no && break
 12579  	;;
 12580        *)
 12581  	test "$with_gnu_ld" != yes && break
 12582  	;;
 12583        esac
 12584      fi
 12585    done
 12586    IFS="$lt_save_ifs"
 12587  else
 12588    lt_cv_path_LD="$LD" # Let the user override the test with a path.
 12589  fi
 12590  fi
 12591  
 12592  LD="$lt_cv_path_LD"
 12593  if test -n "$LD"; then
 12594    { $as_echo "$as_me:$LINENO: result: $LD" >&5
 12595  $as_echo "$LD" >&6; }
 12596  else
 12597    { $as_echo "$as_me:$LINENO: result: no" >&5
 12598  $as_echo "no" >&6; }
 12599  fi
 12600  test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
 12601  $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
 12602     { (exit 1); exit 1; }; }
 12603  { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
 12604  $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
 12605  if test "${lt_cv_prog_gnu_ld+set}" = set; then
 12606    $as_echo_n "(cached) " >&6
 12607  else
 12608    # I'd rather use --version here, but apparently some GNU lds only accept -v.
 12609  case `$LD -v 2>&1 </dev/null` in
 12610  *GNU* | *'with BFD'*)
 12611    lt_cv_prog_gnu_ld=yes
 12612    ;;
 12613  *)
 12614    lt_cv_prog_gnu_ld=no
 12615    ;;
 12616  esac
 12617  fi
 12618  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
 12619  $as_echo "$lt_cv_prog_gnu_ld" >&6; }
 12620  with_gnu_ld=$lt_cv_prog_gnu_ld
 12621  
 12622  
 12623  
 12624  
 12625  
 12626  
 12627  
 12628        # Check if GNU C++ uses GNU ld as the underlying linker, since the
 12629        # archiving commands below assume that GNU ld is being used.
 12630        if test "$with_gnu_ld" = yes; then
 12631          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12632          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'
 12633  
 12634          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 12635          export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 12636  
 12637          # If archive_cmds runs LD, not CC, wlarc should be empty
 12638          # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
 12639          #     investigate it a little bit more. (MM)
 12640          wlarc='${wl}'
 12641  
 12642          # ancient GNU ld didn't support --whole-archive et. al.
 12643          if eval "`$CC -print-prog-name=ld` --help 2>&1" |
 12644  	  $GREP 'no-whole-archive' > /dev/null; then
 12645            whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 12646          else
 12647            whole_archive_flag_spec_CXX=
 12648          fi
 12649        else
 12650          with_gnu_ld=no
 12651          wlarc=
 12652  
 12653          # A generic and very simple default shared library creation
 12654          # command for GNU C++ for the case where it uses the native
 12655          # linker, instead of GNU ld.  If possible, this setting should
 12656          # overridden to take advantage of the native linker features on
 12657          # the platform it is being used on.
 12658          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 12659        fi
 12660  
 12661        # Commands to make compiler produce verbose output that lists
 12662        # what "hidden" libraries, object files and flags are used when
 12663        # linking a shared library.
 12664        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 12665  
 12666      else
 12667        GXX=no
 12668        with_gnu_ld=no
 12669        wlarc=
 12670      fi
 12671  
 12672      # PORTME: fill in a description of your system's C++ link characteristics
 12673      { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 12674  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 12675      ld_shlibs_CXX=yes
 12676      case $host_os in
 12677        aix3*)
 12678          # FIXME: insert proper C++ library support
 12679          ld_shlibs_CXX=no
 12680          ;;
 12681        aix[4-9]*)
 12682          if test "$host_cpu" = ia64; then
 12683            # On IA64, the linker does run time linking by default, so we don't
 12684            # have to do anything special.
 12685            aix_use_runtimelinking=no
 12686            exp_sym_flag='-Bexport'
 12687            no_entry_flag=""
 12688          else
 12689            aix_use_runtimelinking=no
 12690  
 12691            # Test if we are trying to use run time linking or normal
 12692            # AIX style linking. If -brtl is somewhere in LDFLAGS, we
 12693            # need to do runtime linking.
 12694            case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
 12695  	    for ld_flag in $LDFLAGS; do
 12696  	      case $ld_flag in
 12697  	      *-brtl*)
 12698  	        aix_use_runtimelinking=yes
 12699  	        break
 12700  	        ;;
 12701  	      esac
 12702  	    done
 12703  	    ;;
 12704            esac
 12705  
 12706            exp_sym_flag='-bexport'
 12707            no_entry_flag='-bnoentry'
 12708          fi
 12709  
 12710          # When large executables or shared objects are built, AIX ld can
 12711          # have problems creating the table of contents.  If linking a library
 12712          # or program results in "error TOC overflow" add -mminimal-toc to
 12713          # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
 12714          # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
 12715  
 12716          archive_cmds_CXX=''
 12717          hardcode_direct_CXX=yes
 12718          hardcode_direct_absolute_CXX=yes
 12719          hardcode_libdir_separator_CXX=':'
 12720          link_all_deplibs_CXX=yes
 12721          file_list_spec_CXX='${wl}-f,'
 12722  
 12723          if test "$GXX" = yes; then
 12724            case $host_os in aix4.[012]|aix4.[012].*)
 12725            # We only want to do this on AIX 4.2 and lower, the check
 12726            # below for broken collect2 doesn't work under 4.3+
 12727  	  collect2name=`${CC} -print-prog-name=collect2`
 12728  	  if test -f "$collect2name" &&
 12729  	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
 12730  	  then
 12731  	    # We have reworked collect2
 12732  	    :
 12733  	  else
 12734  	    # We have old collect2
 12735  	    hardcode_direct_CXX=unsupported
 12736  	    # It fails to find uninstalled libraries when the uninstalled
 12737  	    # path is not listed in the libpath.  Setting hardcode_minus_L
 12738  	    # to unsupported forces relinking
 12739  	    hardcode_minus_L_CXX=yes
 12740  	    hardcode_libdir_flag_spec_CXX='-L$libdir'
 12741  	    hardcode_libdir_separator_CXX=
 12742  	  fi
 12743            esac
 12744            shared_flag='-shared'
 12745  	  if test "$aix_use_runtimelinking" = yes; then
 12746  	    shared_flag="$shared_flag "'${wl}-G'
 12747  	  fi
 12748          else
 12749            # not using gcc
 12750            if test "$host_cpu" = ia64; then
 12751  	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
 12752  	  # chokes on -Wl,-G. The following line is correct:
 12753  	  shared_flag='-G'
 12754            else
 12755  	    if test "$aix_use_runtimelinking" = yes; then
 12756  	      shared_flag='${wl}-G'
 12757  	    else
 12758  	      shared_flag='${wl}-bM:SRE'
 12759  	    fi
 12760            fi
 12761          fi
 12762  
 12763          export_dynamic_flag_spec_CXX='${wl}-bexpall'
 12764          # It seems that -bexpall does not export symbols beginning with
 12765          # underscore (_), so it is better to generate a list of symbols to
 12766  	# export.
 12767          always_export_symbols_CXX=yes
 12768          if test "$aix_use_runtimelinking" = yes; then
 12769            # Warning - without using the other runtime loading flags (-brtl),
 12770            # -berok will link without error, but may produce a broken library.
 12771            allow_undefined_flag_CXX='-berok'
 12772            # Determine the default libpath from the value encoded in an empty
 12773            # executable.
 12774            cat >conftest.$ac_ext <<_ACEOF
 12775  /* confdefs.h.  */
 12776  _ACEOF
 12777  cat confdefs.h >>conftest.$ac_ext
 12778  cat >>conftest.$ac_ext <<_ACEOF
 12779  /* end confdefs.h.  */
 12780  
 12781  int
 12782  main ()
 12783  {
 12784  
 12785    ;
 12786    return 0;
 12787  }
 12788  _ACEOF
 12789  rm -f conftest.$ac_objext conftest$ac_exeext
 12790  if { (ac_try="$ac_link"
 12791  case "(($ac_try" in
 12792    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12793    *) ac_try_echo=$ac_try;;
 12794  esac
 12795  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12796  $as_echo "$ac_try_echo") >&5
 12797    (eval "$ac_link") 2>conftest.er1
 12798    ac_status=$?
 12799    grep -v '^ *+' conftest.er1 >conftest.err
 12800    rm -f conftest.er1
 12801    cat conftest.err >&5
 12802    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12803    (exit $ac_status); } && {
 12804  	 test -z "$ac_cxx_werror_flag" ||
 12805  	 test ! -s conftest.err
 12806         } && test -s conftest$ac_exeext && {
 12807  	 test "$cross_compiling" = yes ||
 12808  	 $as_test_x conftest$ac_exeext
 12809         }; then
 12810  
 12811  lt_aix_libpath_sed='
 12812      /Import File Strings/,/^$/ {
 12813  	/^0/ {
 12814  	    s/^0  *\(.*\)$/\1/
 12815  	    p
 12816  	}
 12817      }'
 12818  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12819  # Check for a 64-bit object if we didn't find anything.
 12820  if test -z "$aix_libpath"; then
 12821    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12822  fi
 12823  else
 12824    $as_echo "$as_me: failed program was:" >&5
 12825  sed 's/^/| /' conftest.$ac_ext >&5
 12826  
 12827  
 12828  fi
 12829  
 12830  rm -rf conftest.dSYM
 12831  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12832        conftest$ac_exeext conftest.$ac_ext
 12833  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 12834  
 12835            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 12836  
 12837            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 "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 12838          else
 12839            if test "$host_cpu" = ia64; then
 12840  	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
 12841  	    allow_undefined_flag_CXX="-z nodefs"
 12842  	    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"
 12843            else
 12844  	    # Determine the default libpath from the value encoded in an
 12845  	    # empty executable.
 12846  	    cat >conftest.$ac_ext <<_ACEOF
 12847  /* confdefs.h.  */
 12848  _ACEOF
 12849  cat confdefs.h >>conftest.$ac_ext
 12850  cat >>conftest.$ac_ext <<_ACEOF
 12851  /* end confdefs.h.  */
 12852  
 12853  int
 12854  main ()
 12855  {
 12856  
 12857    ;
 12858    return 0;
 12859  }
 12860  _ACEOF
 12861  rm -f conftest.$ac_objext conftest$ac_exeext
 12862  if { (ac_try="$ac_link"
 12863  case "(($ac_try" in
 12864    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12865    *) ac_try_echo=$ac_try;;
 12866  esac
 12867  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12868  $as_echo "$ac_try_echo") >&5
 12869    (eval "$ac_link") 2>conftest.er1
 12870    ac_status=$?
 12871    grep -v '^ *+' conftest.er1 >conftest.err
 12872    rm -f conftest.er1
 12873    cat conftest.err >&5
 12874    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12875    (exit $ac_status); } && {
 12876  	 test -z "$ac_cxx_werror_flag" ||
 12877  	 test ! -s conftest.err
 12878         } && test -s conftest$ac_exeext && {
 12879  	 test "$cross_compiling" = yes ||
 12880  	 $as_test_x conftest$ac_exeext
 12881         }; then
 12882  
 12883  lt_aix_libpath_sed='
 12884      /Import File Strings/,/^$/ {
 12885  	/^0/ {
 12886  	    s/^0  *\(.*\)$/\1/
 12887  	    p
 12888  	}
 12889      }'
 12890  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12891  # Check for a 64-bit object if we didn't find anything.
 12892  if test -z "$aix_libpath"; then
 12893    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 12894  fi
 12895  else
 12896    $as_echo "$as_me: failed program was:" >&5
 12897  sed 's/^/| /' conftest.$ac_ext >&5
 12898  
 12899  
 12900  fi
 12901  
 12902  rm -rf conftest.dSYM
 12903  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12904        conftest$ac_exeext conftest.$ac_ext
 12905  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 12906  
 12907  	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
 12908  	    # Warning - without using the other run time loading flags,
 12909  	    # -berok will link without error, but may produce a broken library.
 12910  	    no_undefined_flag_CXX=' ${wl}-bernotok'
 12911  	    allow_undefined_flag_CXX=' ${wl}-berok'
 12912  	    # Exported symbols can be pulled into shared objects from archives
 12913  	    whole_archive_flag_spec_CXX='$convenience'
 12914  	    archive_cmds_need_lc_CXX=yes
 12915  	    # This is similar to how AIX traditionally builds its shared
 12916  	    # libraries.
 12917  	    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'
 12918            fi
 12919          fi
 12920          ;;
 12921  
 12922        beos*)
 12923  	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
 12924  	  allow_undefined_flag_CXX=unsupported
 12925  	  # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
 12926  	  # support --undefined.  This deserves some investigation.  FIXME
 12927  	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 12928  	else
 12929  	  ld_shlibs_CXX=no
 12930  	fi
 12931  	;;
 12932  
 12933        chorus*)
 12934          case $cc_basename in
 12935            *)
 12936  	  # FIXME: insert proper C++ library support
 12937  	  ld_shlibs_CXX=no
 12938  	  ;;
 12939          esac
 12940          ;;
 12941  
 12942        cygwin* | mingw* | pw32* | cegcc*)
 12943          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 12944          # as there is no search path for DLLs.
 12945          hardcode_libdir_flag_spec_CXX='-L$libdir'
 12946          allow_undefined_flag_CXX=unsupported
 12947          always_export_symbols_CXX=no
 12948          enable_shared_with_static_runtimes_CXX=yes
 12949  
 12950          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 12951            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'
 12952            # If the export-symbols file already is a .def file (1st line
 12953            # is EXPORTS), use it as is; otherwise, prepend...
 12954            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 12955  	    cp $export_symbols $output_objdir/$soname.def;
 12956            else
 12957  	    echo EXPORTS > $output_objdir/$soname.def;
 12958  	    cat $export_symbols >> $output_objdir/$soname.def;
 12959            fi~
 12960            $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'
 12961          else
 12962            ld_shlibs_CXX=no
 12963          fi
 12964          ;;
 12965        darwin* | rhapsody*)
 12966  
 12967  
 12968    archive_cmds_need_lc_CXX=no
 12969    hardcode_direct_CXX=no
 12970    hardcode_automatic_CXX=yes
 12971    hardcode_shlibpath_var_CXX=unsupported
 12972    whole_archive_flag_spec_CXX=''
 12973    link_all_deplibs_CXX=yes
 12974    allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
 12975    case $cc_basename in
 12976       ifort*) _lt_dar_can_shared=yes ;;
 12977       *) _lt_dar_can_shared=$GCC ;;
 12978    esac
 12979    if test "$_lt_dar_can_shared" = "yes"; then
 12980      output_verbose_link_cmd=echo
 12981      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}"
 12982      module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
 12983      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}"
 12984      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}"
 12985         if test "$lt_cv_apple_cc_single_mod" != "yes"; then
 12986        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}"
 12987        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}"
 12988      fi
 12989  
 12990    else
 12991    ld_shlibs_CXX=no
 12992    fi
 12993  
 12994  	;;
 12995  
 12996        dgux*)
 12997          case $cc_basename in
 12998            ec++*)
 12999  	    # FIXME: insert proper C++ library support
 13000  	    ld_shlibs_CXX=no
 13001  	    ;;
 13002            ghcx*)
 13003  	    # Green Hills C++ Compiler
 13004  	    # FIXME: insert proper C++ library support
 13005  	    ld_shlibs_CXX=no
 13006  	    ;;
 13007            *)
 13008  	    # FIXME: insert proper C++ library support
 13009  	    ld_shlibs_CXX=no
 13010  	    ;;
 13011          esac
 13012          ;;
 13013  
 13014        freebsd[12]*)
 13015          # C++ shared libraries reported to be fairly broken before
 13016  	# switch to ELF
 13017          ld_shlibs_CXX=no
 13018          ;;
 13019  
 13020        freebsd-elf*)
 13021          archive_cmds_need_lc_CXX=no
 13022          ;;
 13023  
 13024        freebsd* | dragonfly*)
 13025          # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
 13026          # conventions
 13027          ld_shlibs_CXX=yes
 13028          ;;
 13029  
 13030        gnu*)
 13031          ;;
 13032  
 13033        hpux9*)
 13034          hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 13035          hardcode_libdir_separator_CXX=:
 13036          export_dynamic_flag_spec_CXX='${wl}-E'
 13037          hardcode_direct_CXX=yes
 13038          hardcode_minus_L_CXX=yes # Not in the search PATH,
 13039  				             # but as the default
 13040  				             # location of the library.
 13041  
 13042          case $cc_basename in
 13043            CC*)
 13044              # FIXME: insert proper C++ library support
 13045              ld_shlibs_CXX=no
 13046              ;;
 13047            aCC*)
 13048              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'
 13049              # Commands to make compiler produce verbose output that lists
 13050              # what "hidden" libraries, object files and flags are used when
 13051              # linking a shared library.
 13052              #
 13053              # There doesn't appear to be a way to prevent this compiler from
 13054              # explicitly linking system object files so we need to strip them
 13055              # from the output so that they don't get included in the library
 13056              # dependencies.
 13057              output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 13058              ;;
 13059            *)
 13060              if test "$GXX" = yes; then
 13061                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'
 13062              else
 13063                # FIXME: insert proper C++ library support
 13064                ld_shlibs_CXX=no
 13065              fi
 13066              ;;
 13067          esac
 13068          ;;
 13069  
 13070        hpux10*|hpux11*)
 13071          if test $with_gnu_ld = no; then
 13072  	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
 13073  	  hardcode_libdir_separator_CXX=:
 13074  
 13075            case $host_cpu in
 13076              hppa*64*|ia64*)
 13077                ;;
 13078              *)
 13079  	      export_dynamic_flag_spec_CXX='${wl}-E'
 13080                ;;
 13081            esac
 13082          fi
 13083          case $host_cpu in
 13084            hppa*64*|ia64*)
 13085              hardcode_direct_CXX=no
 13086              hardcode_shlibpath_var_CXX=no
 13087              ;;
 13088            *)
 13089              hardcode_direct_CXX=yes
 13090              hardcode_direct_absolute_CXX=yes
 13091              hardcode_minus_L_CXX=yes # Not in the search PATH,
 13092  					         # but as the default
 13093  					         # location of the library.
 13094              ;;
 13095          esac
 13096  
 13097          case $cc_basename in
 13098            CC*)
 13099  	    # FIXME: insert proper C++ library support
 13100  	    ld_shlibs_CXX=no
 13101  	    ;;
 13102            aCC*)
 13103  	    case $host_cpu in
 13104  	      hppa*64*)
 13105  	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 13106  	        ;;
 13107  	      ia64*)
 13108  	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 13109  	        ;;
 13110  	      *)
 13111  	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 13112  	        ;;
 13113  	    esac
 13114  	    # Commands to make compiler produce verbose output that lists
 13115  	    # what "hidden" libraries, object files and flags are used when
 13116  	    # linking a shared library.
 13117  	    #
 13118  	    # There doesn't appear to be a way to prevent this compiler from
 13119  	    # explicitly linking system object files so we need to strip them
 13120  	    # from the output so that they don't get included in the library
 13121  	    # dependencies.
 13122  	    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 "X$list" | $Xsed'
 13123  	    ;;
 13124            *)
 13125  	    if test "$GXX" = yes; then
 13126  	      if test $with_gnu_ld = no; then
 13127  	        case $host_cpu in
 13128  	          hppa*64*)
 13129  	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 13130  	            ;;
 13131  	          ia64*)
 13132  	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 13133  	            ;;
 13134  	          *)
 13135  	            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'
 13136  	            ;;
 13137  	        esac
 13138  	      fi
 13139  	    else
 13140  	      # FIXME: insert proper C++ library support
 13141  	      ld_shlibs_CXX=no
 13142  	    fi
 13143  	    ;;
 13144          esac
 13145          ;;
 13146  
 13147        interix[3-9]*)
 13148  	hardcode_direct_CXX=no
 13149  	hardcode_shlibpath_var_CXX=no
 13150  	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 13151  	export_dynamic_flag_spec_CXX='${wl}-E'
 13152  	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
 13153  	# Instead, shared libraries are loaded at an image base (0x10000000 by
 13154  	# default) and relocated if they conflict, which is a slow very memory
 13155  	# consuming and fragmenting process.  To avoid this, we pick a random,
 13156  	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
 13157  	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
 13158  	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'
 13159  	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'
 13160  	;;
 13161        irix5* | irix6*)
 13162          case $cc_basename in
 13163            CC*)
 13164  	    # SGI C++
 13165  	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 13166  
 13167  	    # Archives containing C++ object files must be created using
 13168  	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
 13169  	    # necessary to make sure instantiated templates are included
 13170  	    # in the archive.
 13171  	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
 13172  	    ;;
 13173            *)
 13174  	    if test "$GXX" = yes; then
 13175  	      if test "$with_gnu_ld" = no; then
 13176  	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 13177  	      else
 13178  	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 13179  	      fi
 13180  	    fi
 13181  	    link_all_deplibs_CXX=yes
 13182  	    ;;
 13183          esac
 13184          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 13185          hardcode_libdir_separator_CXX=:
 13186          inherit_rpath_CXX=yes
 13187          ;;
 13188  
 13189        linux* | k*bsd*-gnu | kopensolaris*-gnu)
 13190          case $cc_basename in
 13191            KCC*)
 13192  	    # Kuck and Associates, Inc. (KAI) C++ Compiler
 13193  
 13194  	    # KCC will only create a shared library if the output file
 13195  	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
 13196  	    # to its proper name (with version) after linking.
 13197  	    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'
 13198  	    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'
 13199  	    # Commands to make compiler produce verbose output that lists
 13200  	    # what "hidden" libraries, object files and flags are used when
 13201  	    # linking a shared library.
 13202  	    #
 13203  	    # There doesn't appear to be a way to prevent this compiler from
 13204  	    # explicitly linking system object files so we need to strip them
 13205  	    # from the output so that they don't get included in the library
 13206  	    # dependencies.
 13207  	    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 "X$list" | $Xsed'
 13208  
 13209  	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 13210  	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 13211  
 13212  	    # Archives containing C++ object files must be created using
 13213  	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
 13214  	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
 13215  	    ;;
 13216  	  icpc* | ecpc* )
 13217  	    # Intel C++
 13218  	    with_gnu_ld=yes
 13219  	    # version 8.0 and above of icpc choke on multiply defined symbols
 13220  	    # if we add $predep_objects and $postdep_objects, however 7.1 and
 13221  	    # earlier do not add the objects themselves.
 13222  	    case `$CC -V 2>&1` in
 13223  	      *"Version 7."*)
 13224  	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 13225  		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'
 13226  		;;
 13227  	      *)  # Version 8.0 or newer
 13228  	        tmp_idyn=
 13229  	        case $host_cpu in
 13230  		  ia64*) tmp_idyn=' -i_dynamic';;
 13231  		esac
 13232  	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 13233  		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'
 13234  		;;
 13235  	    esac
 13236  	    archive_cmds_need_lc_CXX=no
 13237  	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 13238  	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 13239  	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 13240  	    ;;
 13241            pgCC* | pgcpp*)
 13242              # Portland Group C++ compiler
 13243  	    case `$CC -V` in
 13244  	    *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
 13245  	      prelink_cmds_CXX='tpldir=Template.dir~
 13246  		rm -rf $tpldir~
 13247  		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
 13248  		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 13249  	      old_archive_cmds_CXX='tpldir=Template.dir~
 13250  		rm -rf $tpldir~
 13251  		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
 13252  		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 13253  		$RANLIB $oldlib'
 13254  	      archive_cmds_CXX='tpldir=Template.dir~
 13255  		rm -rf $tpldir~
 13256  		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 13257  		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 13258  	      archive_expsym_cmds_CXX='tpldir=Template.dir~
 13259  		rm -rf $tpldir~
 13260  		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
 13261  		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
 13262  	      ;;
 13263  	    *) # Version 6 will use weak symbols
 13264  	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 13265  	      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'
 13266  	      ;;
 13267  	    esac
 13268  
 13269  	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 13270  	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 13271  	    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'
 13272              ;;
 13273  	  cxx*)
 13274  	    # Compaq C++
 13275  	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 13276  	    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'
 13277  
 13278  	    runpath_var=LD_RUN_PATH
 13279  	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 13280  	    hardcode_libdir_separator_CXX=:
 13281  
 13282  	    # Commands to make compiler produce verbose output that lists
 13283  	    # what "hidden" libraries, object files and flags are used when
 13284  	    # linking a shared library.
 13285  	    #
 13286  	    # There doesn't appear to be a way to prevent this compiler from
 13287  	    # explicitly linking system object files so we need to strip them
 13288  	    # from the output so that they don't get included in the library
 13289  	    # dependencies.
 13290  	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 13291  	    ;;
 13292  	  xl*)
 13293  	    # IBM XL 8.0 on PPC, with GNU ld
 13294  	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 13295  	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 13296  	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 13297  	    if test "x$supports_anon_versioning" = xyes; then
 13298  	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
 13299  		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 13300  		echo "local: *; };" >> $output_objdir/$libname.ver~
 13301  		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 13302  	    fi
 13303  	    ;;
 13304  	  *)
 13305  	    case `$CC -V 2>&1 | sed 5q` in
 13306  	    *Sun\ C*)
 13307  	      # Sun C++ 5.9
 13308  	      no_undefined_flag_CXX=' -zdefs'
 13309  	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 13310  	      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'
 13311  	      hardcode_libdir_flag_spec_CXX='-R$libdir'
 13312  	      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'
 13313  	      compiler_needs_object_CXX=yes
 13314  
 13315  	      # Not sure whether something based on
 13316  	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 13317  	      # would be better.
 13318  	      output_verbose_link_cmd='echo'
 13319  
 13320  	      # Archives containing C++ object files must be created using
 13321  	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 13322  	      # necessary to make sure instantiated templates are included
 13323  	      # in the archive.
 13324  	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 13325  	      ;;
 13326  	    esac
 13327  	    ;;
 13328  	esac
 13329  	;;
 13330  
 13331        lynxos*)
 13332          # FIXME: insert proper C++ library support
 13333  	ld_shlibs_CXX=no
 13334  	;;
 13335  
 13336        m88k*)
 13337          # FIXME: insert proper C++ library support
 13338          ld_shlibs_CXX=no
 13339  	;;
 13340  
 13341        mvs*)
 13342          case $cc_basename in
 13343            cxx*)
 13344  	    # FIXME: insert proper C++ library support
 13345  	    ld_shlibs_CXX=no
 13346  	    ;;
 13347  	  *)
 13348  	    # FIXME: insert proper C++ library support
 13349  	    ld_shlibs_CXX=no
 13350  	    ;;
 13351  	esac
 13352  	;;
 13353  
 13354        netbsd*)
 13355          if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 13356  	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
 13357  	  wlarc=
 13358  	  hardcode_libdir_flag_spec_CXX='-R$libdir'
 13359  	  hardcode_direct_CXX=yes
 13360  	  hardcode_shlibpath_var_CXX=no
 13361  	fi
 13362  	# Workaround some broken pre-1.5 toolchains
 13363  	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
 13364  	;;
 13365  
 13366        *nto* | *qnx*)
 13367          ld_shlibs_CXX=yes
 13368  	;;
 13369  
 13370        openbsd2*)
 13371          # C++ shared libraries are fairly broken
 13372  	ld_shlibs_CXX=no
 13373  	;;
 13374  
 13375        openbsd*)
 13376  	if test -f /usr/libexec/ld.so; then
 13377  	  hardcode_direct_CXX=yes
 13378  	  hardcode_shlibpath_var_CXX=no
 13379  	  hardcode_direct_absolute_CXX=yes
 13380  	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 13381  	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 13382  	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 13383  	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 13384  	    export_dynamic_flag_spec_CXX='${wl}-E'
 13385  	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 13386  	  fi
 13387  	  output_verbose_link_cmd=echo
 13388  	else
 13389  	  ld_shlibs_CXX=no
 13390  	fi
 13391  	;;
 13392  
 13393        osf3* | osf4* | osf5*)
 13394          case $cc_basename in
 13395            KCC*)
 13396  	    # Kuck and Associates, Inc. (KAI) C++ Compiler
 13397  
 13398  	    # KCC will only create a shared library if the output file
 13399  	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
 13400  	    # to its proper name (with version) after linking.
 13401  	    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'
 13402  
 13403  	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 13404  	    hardcode_libdir_separator_CXX=:
 13405  
 13406  	    # Archives containing C++ object files must be created using
 13407  	    # the KAI C++ compiler.
 13408  	    case $host in
 13409  	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
 13410  	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
 13411  	    esac
 13412  	    ;;
 13413            RCC*)
 13414  	    # Rational C++ 2.4.1
 13415  	    # FIXME: insert proper C++ library support
 13416  	    ld_shlibs_CXX=no
 13417  	    ;;
 13418            cxx*)
 13419  	    case $host in
 13420  	      osf3*)
 13421  	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 13422  	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 13423  	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 13424  		;;
 13425  	      *)
 13426  	        allow_undefined_flag_CXX=' -expect_unresolved \*'
 13427  	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 13428  	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
 13429  	          echo "-hidden">> $lib.exp~
 13430  	          $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 "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 13431  	          $RM $lib.exp'
 13432  	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
 13433  		;;
 13434  	    esac
 13435  
 13436  	    hardcode_libdir_separator_CXX=:
 13437  
 13438  	    # Commands to make compiler produce verbose output that lists
 13439  	    # what "hidden" libraries, object files and flags are used when
 13440  	    # linking a shared library.
 13441  	    #
 13442  	    # There doesn't appear to be a way to prevent this compiler from
 13443  	    # explicitly linking system object files so we need to strip them
 13444  	    # from the output so that they don't get included in the library
 13445  	    # dependencies.
 13446  	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "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 "X$list" | $Xsed'
 13447  	    ;;
 13448  	  *)
 13449  	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 13450  	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
 13451  	      case $host in
 13452  	        osf3*)
 13453  	          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 "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 13454  		  ;;
 13455  	        *)
 13456  	          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" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 13457  		  ;;
 13458  	      esac
 13459  
 13460  	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
 13461  	      hardcode_libdir_separator_CXX=:
 13462  
 13463  	      # Commands to make compiler produce verbose output that lists
 13464  	      # what "hidden" libraries, object files and flags are used when
 13465  	      # linking a shared library.
 13466  	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 13467  
 13468  	    else
 13469  	      # FIXME: insert proper C++ library support
 13470  	      ld_shlibs_CXX=no
 13471  	    fi
 13472  	    ;;
 13473          esac
 13474          ;;
 13475  
 13476        psos*)
 13477          # FIXME: insert proper C++ library support
 13478          ld_shlibs_CXX=no
 13479          ;;
 13480  
 13481        sunos4*)
 13482          case $cc_basename in
 13483            CC*)
 13484  	    # Sun C++ 4.x
 13485  	    # FIXME: insert proper C++ library support
 13486  	    ld_shlibs_CXX=no
 13487  	    ;;
 13488            lcc*)
 13489  	    # Lucid
 13490  	    # FIXME: insert proper C++ library support
 13491  	    ld_shlibs_CXX=no
 13492  	    ;;
 13493            *)
 13494  	    # FIXME: insert proper C++ library support
 13495  	    ld_shlibs_CXX=no
 13496  	    ;;
 13497          esac
 13498          ;;
 13499  
 13500        solaris*)
 13501          case $cc_basename in
 13502            CC*)
 13503  	    # Sun C++ 4.2, 5.x and Centerline C++
 13504              archive_cmds_need_lc_CXX=yes
 13505  	    no_undefined_flag_CXX=' -zdefs'
 13506  	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 13507  	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 13508  	      $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'
 13509  
 13510  	    hardcode_libdir_flag_spec_CXX='-R$libdir'
 13511  	    hardcode_shlibpath_var_CXX=no
 13512  	    case $host_os in
 13513  	      solaris2.[0-5] | solaris2.[0-5].*) ;;
 13514  	      *)
 13515  		# The compiler driver will combine and reorder linker options,
 13516  		# but understands `-z linker_flag'.
 13517  	        # Supported since Solaris 2.6 (maybe 2.5.1?)
 13518  		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
 13519  	        ;;
 13520  	    esac
 13521  	    link_all_deplibs_CXX=yes
 13522  
 13523  	    output_verbose_link_cmd='echo'
 13524  
 13525  	    # Archives containing C++ object files must be created using
 13526  	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 13527  	    # necessary to make sure instantiated templates are included
 13528  	    # in the archive.
 13529  	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 13530  	    ;;
 13531            gcx*)
 13532  	    # Green Hills C++ Compiler
 13533  	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 13534  
 13535  	    # The C++ compiler must be used to create the archive.
 13536  	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
 13537  	    ;;
 13538            *)
 13539  	    # GNU C++ compiler with Solaris linker
 13540  	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
 13541  	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
 13542  	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
 13543  	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 13544  	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 13545  		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 13546  
 13547  	        # Commands to make compiler produce verbose output that lists
 13548  	        # what "hidden" libraries, object files and flags are used when
 13549  	        # linking a shared library.
 13550  	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 13551  	      else
 13552  	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
 13553  	        # platform.
 13554  	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 13555  	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
 13556  		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 13557  
 13558  	        # Commands to make compiler produce verbose output that lists
 13559  	        # what "hidden" libraries, object files and flags are used when
 13560  	        # linking a shared library.
 13561  	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 13562  	      fi
 13563  
 13564  	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 13565  	      case $host_os in
 13566  		solaris2.[0-5] | solaris2.[0-5].*) ;;
 13567  		*)
 13568  		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 13569  		  ;;
 13570  	      esac
 13571  	    fi
 13572  	    ;;
 13573          esac
 13574          ;;
 13575  
 13576      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
 13577        no_undefined_flag_CXX='${wl}-z,text'
 13578        archive_cmds_need_lc_CXX=no
 13579        hardcode_shlibpath_var_CXX=no
 13580        runpath_var='LD_RUN_PATH'
 13581  
 13582        case $cc_basename in
 13583          CC*)
 13584  	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13585  	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13586  	  ;;
 13587  	*)
 13588  	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13589  	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13590  	  ;;
 13591        esac
 13592        ;;
 13593  
 13594        sysv5* | sco3.2v5* | sco5v6*)
 13595  	# Note: We can NOT use -z defs as we might desire, because we do not
 13596  	# link with -lc, and that would cause any symbols used from libc to
 13597  	# always be unresolved, which means just about no library would
 13598  	# ever link correctly.  If we're not using GNU ld we use -z text
 13599  	# though, which does catch some bad symbols but isn't as heavy-handed
 13600  	# as -z defs.
 13601  	no_undefined_flag_CXX='${wl}-z,text'
 13602  	allow_undefined_flag_CXX='${wl}-z,nodefs'
 13603  	archive_cmds_need_lc_CXX=no
 13604  	hardcode_shlibpath_var_CXX=no
 13605  	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
 13606  	hardcode_libdir_separator_CXX=':'
 13607  	link_all_deplibs_CXX=yes
 13608  	export_dynamic_flag_spec_CXX='${wl}-Bexport'
 13609  	runpath_var='LD_RUN_PATH'
 13610  
 13611  	case $cc_basename in
 13612            CC*)
 13613  	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13614  	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13615  	    ;;
 13616  	  *)
 13617  	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13618  	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 13619  	    ;;
 13620  	esac
 13621        ;;
 13622  
 13623        tandem*)
 13624          case $cc_basename in
 13625            NCC*)
 13626  	    # NonStop-UX NCC 3.20
 13627  	    # FIXME: insert proper C++ library support
 13628  	    ld_shlibs_CXX=no
 13629  	    ;;
 13630            *)
 13631  	    # FIXME: insert proper C++ library support
 13632  	    ld_shlibs_CXX=no
 13633  	    ;;
 13634          esac
 13635          ;;
 13636  
 13637        vxworks*)
 13638          # FIXME: insert proper C++ library support
 13639          ld_shlibs_CXX=no
 13640          ;;
 13641  
 13642        *)
 13643          # FIXME: insert proper C++ library support
 13644          ld_shlibs_CXX=no
 13645          ;;
 13646      esac
 13647  
 13648      { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 13649  $as_echo "$ld_shlibs_CXX" >&6; }
 13650      test "$ld_shlibs_CXX" = no && can_build_shared=no
 13651  
 13652      GCC_CXX="$GXX"
 13653      LD_CXX="$LD"
 13654  
 13655      ## CAVEAT EMPTOR:
 13656      ## There is no encapsulation within the following macros, do not change
 13657      ## the running order or otherwise move them around unless you know exactly
 13658      ## what you are doing...
 13659      # Dependencies to place before and after the object being linked:
 13660  predep_objects_CXX=
 13661  postdep_objects_CXX=
 13662  predeps_CXX=
 13663  postdeps_CXX=
 13664  compiler_lib_search_path_CXX=
 13665  
 13666  cat > conftest.$ac_ext <<_LT_EOF
 13667  class Foo
 13668  {
 13669  public:
 13670    Foo (void) { a = 0; }
 13671  private:
 13672    int a;
 13673  };
 13674  _LT_EOF
 13675  
 13676  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 13677    (eval $ac_compile) 2>&5
 13678    ac_status=$?
 13679    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13680    (exit $ac_status); }; then
 13681    # Parse the compiler output and extract the necessary
 13682    # objects, libraries and library flags.
 13683  
 13684    # Sentinel used to keep track of whether or not we are before
 13685    # the conftest object file.
 13686    pre_test_object_deps_done=no
 13687  
 13688    for p in `eval "$output_verbose_link_cmd"`; do
 13689      case $p in
 13690  
 13691      -L* | -R* | -l*)
 13692         # Some compilers place space between "-{L,R}" and the path.
 13693         # Remove the space.
 13694         if test $p = "-L" ||
 13695            test $p = "-R"; then
 13696  	 prev=$p
 13697  	 continue
 13698         else
 13699  	 prev=
 13700         fi
 13701  
 13702         if test "$pre_test_object_deps_done" = no; then
 13703  	 case $p in
 13704  	 -L* | -R*)
 13705  	   # Internal compiler library paths should come after those
 13706  	   # provided the user.  The postdeps already come after the
 13707  	   # user supplied libs so there is no need to process them.
 13708  	   if test -z "$compiler_lib_search_path_CXX"; then
 13709  	     compiler_lib_search_path_CXX="${prev}${p}"
 13710  	   else
 13711  	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
 13712  	   fi
 13713  	   ;;
 13714  	 # The "-l" case would never come before the object being
 13715  	 # linked, so don't bother handling this case.
 13716  	 esac
 13717         else
 13718  	 if test -z "$postdeps_CXX"; then
 13719  	   postdeps_CXX="${prev}${p}"
 13720  	 else
 13721  	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
 13722  	 fi
 13723         fi
 13724         ;;
 13725  
 13726      *.$objext)
 13727         # This assumes that the test object file only shows up
 13728         # once in the compiler output.
 13729         if test "$p" = "conftest.$objext"; then
 13730  	 pre_test_object_deps_done=yes
 13731  	 continue
 13732         fi
 13733  
 13734         if test "$pre_test_object_deps_done" = no; then
 13735  	 if test -z "$predep_objects_CXX"; then
 13736  	   predep_objects_CXX="$p"
 13737  	 else
 13738  	   predep_objects_CXX="$predep_objects_CXX $p"
 13739  	 fi
 13740         else
 13741  	 if test -z "$postdep_objects_CXX"; then
 13742  	   postdep_objects_CXX="$p"
 13743  	 else
 13744  	   postdep_objects_CXX="$postdep_objects_CXX $p"
 13745  	 fi
 13746         fi
 13747         ;;
 13748  
 13749      *) ;; # Ignore the rest.
 13750  
 13751      esac
 13752    done
 13753  
 13754    # Clean up.
 13755    rm -f a.out a.exe
 13756  else
 13757    echo "libtool.m4: error: problem compiling CXX test program"
 13758  fi
 13759  
 13760  $RM -f confest.$objext
 13761  
 13762  # PORTME: override above test on systems where it is broken
 13763  case $host_os in
 13764  interix[3-9]*)
 13765    # Interix 3.5 installs completely hosed .la files for C++, so rather than
 13766    # hack all around it, let's just trust "g++" to DTRT.
 13767    predep_objects_CXX=
 13768    postdep_objects_CXX=
 13769    postdeps_CXX=
 13770    ;;
 13771  
 13772  linux*)
 13773    case `$CC -V 2>&1 | sed 5q` in
 13774    *Sun\ C*)
 13775      # Sun C++ 5.9
 13776  
 13777      # The more standards-conforming stlport4 library is
 13778      # incompatible with the Cstd library. Avoid specifying
 13779      # it if it's in CXXFLAGS. Ignore libCrun as
 13780      # -library=stlport4 depends on it.
 13781      case " $CXX $CXXFLAGS " in
 13782      *" -library=stlport4 "*)
 13783        solaris_use_stlport4=yes
 13784        ;;
 13785      esac
 13786  
 13787      if test "$solaris_use_stlport4" != yes; then
 13788        postdeps_CXX='-library=Cstd -library=Crun'
 13789      fi
 13790      ;;
 13791    esac
 13792    ;;
 13793  
 13794  solaris*)
 13795    case $cc_basename in
 13796    CC*)
 13797      # The more standards-conforming stlport4 library is
 13798      # incompatible with the Cstd library. Avoid specifying
 13799      # it if it's in CXXFLAGS. Ignore libCrun as
 13800      # -library=stlport4 depends on it.
 13801      case " $CXX $CXXFLAGS " in
 13802      *" -library=stlport4 "*)
 13803        solaris_use_stlport4=yes
 13804        ;;
 13805      esac
 13806  
 13807      # Adding this requires a known-good setup of shared libraries for
 13808      # Sun compiler versions before 5.6, else PIC objects from an old
 13809      # archive will be linked into the output, leading to subtle bugs.
 13810      if test "$solaris_use_stlport4" != yes; then
 13811        postdeps_CXX='-library=Cstd -library=Crun'
 13812      fi
 13813      ;;
 13814    esac
 13815    ;;
 13816  esac
 13817  
 13818  
 13819  case " $postdeps_CXX " in
 13820  *" -lc "*) archive_cmds_need_lc_CXX=no ;;
 13821  esac
 13822   compiler_lib_search_dirs_CXX=
 13823  if test -n "${compiler_lib_search_path_CXX}"; then
 13824   compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
 13825  fi
 13826  
 13827  
 13828  
 13829  
 13830  
 13831  
 13832  
 13833  
 13834  
 13835  
 13836  
 13837  
 13838  
 13839  
 13840  
 13841  
 13842  
 13843  
 13844  
 13845  
 13846  
 13847  
 13848  
 13849  
 13850  
 13851  
 13852  
 13853  
 13854  
 13855  
 13856  
 13857      lt_prog_compiler_wl_CXX=
 13858  lt_prog_compiler_pic_CXX=
 13859  lt_prog_compiler_static_CXX=
 13860  
 13861  { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
 13862  $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 13863  
 13864    # C++ specific cases for pic, static, wl, etc.
 13865    if test "$GXX" = yes; then
 13866      lt_prog_compiler_wl_CXX='-Wl,'
 13867      lt_prog_compiler_static_CXX='-static'
 13868  
 13869      case $host_os in
 13870      aix*)
 13871        # All AIX code is PIC.
 13872        if test "$host_cpu" = ia64; then
 13873  	# AIX 5 now supports IA64 processor
 13874  	lt_prog_compiler_static_CXX='-Bstatic'
 13875        fi
 13876        ;;
 13877  
 13878      amigaos*)
 13879        case $host_cpu in
 13880        powerpc)
 13881              # see comment about AmigaOS4 .so support
 13882              lt_prog_compiler_pic_CXX='-fPIC'
 13883          ;;
 13884        m68k)
 13885              # FIXME: we need at least 68020 code to build shared libraries, but
 13886              # adding the `-m68020' flag to GCC prevents building anything better,
 13887              # like `-m68040'.
 13888              lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
 13889          ;;
 13890        esac
 13891        ;;
 13892  
 13893      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 13894        # PIC is the default for these OSes.
 13895        ;;
 13896      mingw* | cygwin* | os2* | pw32* | cegcc*)
 13897        # This hack is so that the source file can tell whether it is being
 13898        # built for inclusion in a dll (and should export symbols for example).
 13899        # Although the cygwin gcc ignores -fPIC, still need this for old-style
 13900        # (--disable-auto-import) libraries
 13901        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 13902        ;;
 13903      darwin* | rhapsody*)
 13904        # PIC is the default on this platform
 13905        # Common symbols not allowed in MH_DYLIB files
 13906        lt_prog_compiler_pic_CXX='-fno-common'
 13907        ;;
 13908      *djgpp*)
 13909        # DJGPP does not support shared libraries at all
 13910        lt_prog_compiler_pic_CXX=
 13911        ;;
 13912      interix[3-9]*)
 13913        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
 13914        # Instead, we relocate shared libraries at runtime.
 13915        ;;
 13916      sysv4*MP*)
 13917        if test -d /usr/nec; then
 13918  	lt_prog_compiler_pic_CXX=-Kconform_pic
 13919        fi
 13920        ;;
 13921      hpux*)
 13922        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
 13923        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
 13924        # sets the default TLS model and affects inlining.
 13925        case $host_cpu in
 13926        hppa*64*)
 13927  	;;
 13928        *)
 13929  	lt_prog_compiler_pic_CXX='-fPIC'
 13930  	;;
 13931        esac
 13932        ;;
 13933      *qnx* | *nto*)
 13934        # QNX uses GNU C++, but need to define -shared option too, otherwise
 13935        # it will coredump.
 13936        lt_prog_compiler_pic_CXX='-fPIC -shared'
 13937        ;;
 13938      *)
 13939        lt_prog_compiler_pic_CXX='-fPIC'
 13940        ;;
 13941      esac
 13942    else
 13943      case $host_os in
 13944        aix[4-9]*)
 13945  	# All AIX code is PIC.
 13946  	if test "$host_cpu" = ia64; then
 13947  	  # AIX 5 now supports IA64 processor
 13948  	  lt_prog_compiler_static_CXX='-Bstatic'
 13949  	else
 13950  	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
 13951  	fi
 13952  	;;
 13953        chorus*)
 13954  	case $cc_basename in
 13955  	cxch68*)
 13956  	  # Green Hills C++ Compiler
 13957  	  # _LT_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"
 13958  	  ;;
 13959  	esac
 13960  	;;
 13961        dgux*)
 13962  	case $cc_basename in
 13963  	  ec++*)
 13964  	    lt_prog_compiler_pic_CXX='-KPIC'
 13965  	    ;;
 13966  	  ghcx*)
 13967  	    # Green Hills C++ Compiler
 13968  	    lt_prog_compiler_pic_CXX='-pic'
 13969  	    ;;
 13970  	  *)
 13971  	    ;;
 13972  	esac
 13973  	;;
 13974        freebsd* | dragonfly*)
 13975  	# FreeBSD uses GNU C++
 13976  	;;
 13977        hpux9* | hpux10* | hpux11*)
 13978  	case $cc_basename in
 13979  	  CC*)
 13980  	    lt_prog_compiler_wl_CXX='-Wl,'
 13981  	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 13982  	    if test "$host_cpu" != ia64; then
 13983  	      lt_prog_compiler_pic_CXX='+Z'
 13984  	    fi
 13985  	    ;;
 13986  	  aCC*)
 13987  	    lt_prog_compiler_wl_CXX='-Wl,'
 13988  	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
 13989  	    case $host_cpu in
 13990  	    hppa*64*|ia64*)
 13991  	      # +Z the default
 13992  	      ;;
 13993  	    *)
 13994  	      lt_prog_compiler_pic_CXX='+Z'
 13995  	      ;;
 13996  	    esac
 13997  	    ;;
 13998  	  *)
 13999  	    ;;
 14000  	esac
 14001  	;;
 14002        interix*)
 14003  	# This is c89, which is MS Visual C++ (no shared libs)
 14004  	# Anyone wants to do a port?
 14005  	;;
 14006        irix5* | irix6* | nonstopux*)
 14007  	case $cc_basename in
 14008  	  CC*)
 14009  	    lt_prog_compiler_wl_CXX='-Wl,'
 14010  	    lt_prog_compiler_static_CXX='-non_shared'
 14011  	    # CC pic flag -KPIC is the default.
 14012  	    ;;
 14013  	  *)
 14014  	    ;;
 14015  	esac
 14016  	;;
 14017        linux* | k*bsd*-gnu | kopensolaris*-gnu)
 14018  	case $cc_basename in
 14019  	  KCC*)
 14020  	    # KAI C++ Compiler
 14021  	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 14022  	    lt_prog_compiler_pic_CXX='-fPIC'
 14023  	    ;;
 14024  	  ecpc* )
 14025  	    # old Intel C++ for x86_64 which still supported -KPIC.
 14026  	    lt_prog_compiler_wl_CXX='-Wl,'
 14027  	    lt_prog_compiler_pic_CXX='-KPIC'
 14028  	    lt_prog_compiler_static_CXX='-static'
 14029  	    ;;
 14030  	  icpc* )
 14031  	    # Intel C++, used to be incompatible with GCC.
 14032  	    # ICC 10 doesn't accept -KPIC any more.
 14033  	    lt_prog_compiler_wl_CXX='-Wl,'
 14034  	    lt_prog_compiler_pic_CXX='-fPIC'
 14035  	    lt_prog_compiler_static_CXX='-static'
 14036  	    ;;
 14037  	  pgCC* | pgcpp*)
 14038  	    # Portland Group C++ compiler
 14039  	    lt_prog_compiler_wl_CXX='-Wl,'
 14040  	    lt_prog_compiler_pic_CXX='-fpic'
 14041  	    lt_prog_compiler_static_CXX='-Bstatic'
 14042  	    ;;
 14043  	  cxx*)
 14044  	    # Compaq C++
 14045  	    # Make sure the PIC flag is empty.  It appears that all Alpha
 14046  	    # Linux and Compaq Tru64 Unix objects are PIC.
 14047  	    lt_prog_compiler_pic_CXX=
 14048  	    lt_prog_compiler_static_CXX='-non_shared'
 14049  	    ;;
 14050  	  xlc* | xlC*)
 14051  	    # IBM XL 8.0 on PPC
 14052  	    lt_prog_compiler_wl_CXX='-Wl,'
 14053  	    lt_prog_compiler_pic_CXX='-qpic'
 14054  	    lt_prog_compiler_static_CXX='-qstaticlink'
 14055  	    ;;
 14056  	  *)
 14057  	    case `$CC -V 2>&1 | sed 5q` in
 14058  	    *Sun\ C*)
 14059  	      # Sun C++ 5.9
 14060  	      lt_prog_compiler_pic_CXX='-KPIC'
 14061  	      lt_prog_compiler_static_CXX='-Bstatic'
 14062  	      lt_prog_compiler_wl_CXX='-Qoption ld '
 14063  	      ;;
 14064  	    esac
 14065  	    ;;
 14066  	esac
 14067  	;;
 14068        lynxos*)
 14069  	;;
 14070        m88k*)
 14071  	;;
 14072        mvs*)
 14073  	case $cc_basename in
 14074  	  cxx*)
 14075  	    lt_prog_compiler_pic_CXX='-W c,exportall'
 14076  	    ;;
 14077  	  *)
 14078  	    ;;
 14079  	esac
 14080  	;;
 14081        netbsd* | netbsdelf*-gnu)
 14082  	;;
 14083        *qnx* | *nto*)
 14084          # QNX uses GNU C++, but need to define -shared option too, otherwise
 14085          # it will coredump.
 14086          lt_prog_compiler_pic_CXX='-fPIC -shared'
 14087          ;;
 14088        osf3* | osf4* | osf5*)
 14089  	case $cc_basename in
 14090  	  KCC*)
 14091  	    lt_prog_compiler_wl_CXX='--backend -Wl,'
 14092  	    ;;
 14093  	  RCC*)
 14094  	    # Rational C++ 2.4.1
 14095  	    lt_prog_compiler_pic_CXX='-pic'
 14096  	    ;;
 14097  	  cxx*)
 14098  	    # Digital/Compaq C++
 14099  	    lt_prog_compiler_wl_CXX='-Wl,'
 14100  	    # Make sure the PIC flag is empty.  It appears that all Alpha
 14101  	    # Linux and Compaq Tru64 Unix objects are PIC.
 14102  	    lt_prog_compiler_pic_CXX=
 14103  	    lt_prog_compiler_static_CXX='-non_shared'
 14104  	    ;;
 14105  	  *)
 14106  	    ;;
 14107  	esac
 14108  	;;
 14109        psos*)
 14110  	;;
 14111        solaris*)
 14112  	case $cc_basename in
 14113  	  CC*)
 14114  	    # Sun C++ 4.2, 5.x and Centerline C++
 14115  	    lt_prog_compiler_pic_CXX='-KPIC'
 14116  	    lt_prog_compiler_static_CXX='-Bstatic'
 14117  	    lt_prog_compiler_wl_CXX='-Qoption ld '
 14118  	    ;;
 14119  	  gcx*)
 14120  	    # Green Hills C++ Compiler
 14121  	    lt_prog_compiler_pic_CXX='-PIC'
 14122  	    ;;
 14123  	  *)
 14124  	    ;;
 14125  	esac
 14126  	;;
 14127        sunos4*)
 14128  	case $cc_basename in
 14129  	  CC*)
 14130  	    # Sun C++ 4.x
 14131  	    lt_prog_compiler_pic_CXX='-pic'
 14132  	    lt_prog_compiler_static_CXX='-Bstatic'
 14133  	    ;;
 14134  	  lcc*)
 14135  	    # Lucid
 14136  	    lt_prog_compiler_pic_CXX='-pic'
 14137  	    ;;
 14138  	  *)
 14139  	    ;;
 14140  	esac
 14141  	;;
 14142        sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
 14143  	case $cc_basename in
 14144  	  CC*)
 14145  	    lt_prog_compiler_wl_CXX='-Wl,'
 14146  	    lt_prog_compiler_pic_CXX='-KPIC'
 14147  	    lt_prog_compiler_static_CXX='-Bstatic'
 14148  	    ;;
 14149  	esac
 14150  	;;
 14151        tandem*)
 14152  	case $cc_basename in
 14153  	  NCC*)
 14154  	    # NonStop-UX NCC 3.20
 14155  	    lt_prog_compiler_pic_CXX='-KPIC'
 14156  	    ;;
 14157  	  *)
 14158  	    ;;
 14159  	esac
 14160  	;;
 14161        vxworks*)
 14162  	;;
 14163        *)
 14164  	lt_prog_compiler_can_build_shared_CXX=no
 14165  	;;
 14166      esac
 14167    fi
 14168  
 14169  case $host_os in
 14170    # For platforms which do not support PIC, -DPIC is meaningless:
 14171    *djgpp*)
 14172      lt_prog_compiler_pic_CXX=
 14173      ;;
 14174    *)
 14175      lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
 14176      ;;
 14177  esac
 14178  { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
 14179  $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
 14180  
 14181  
 14182  
 14183  #
 14184  # Check to make sure the PIC flag actually works.
 14185  #
 14186  if test -n "$lt_prog_compiler_pic_CXX"; then
 14187    { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
 14188  $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
 14189  if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
 14190    $as_echo_n "(cached) " >&6
 14191  else
 14192    lt_cv_prog_compiler_pic_works_CXX=no
 14193     ac_outfile=conftest.$ac_objext
 14194     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 14195     lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
 14196     # Insert the option either (1) after the last *FLAGS variable, or
 14197     # (2) before a word containing "conftest.", or (3) at the end.
 14198     # Note that $ac_compile itself does not contain backslashes and begins
 14199     # with a dollar sign (not a hyphen), so the echo should work correctly.
 14200     # The option is referenced via a variable to avoid confusing sed.
 14201     lt_compile=`echo "$ac_compile" | $SED \
 14202     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14203     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14204     -e 's:$: $lt_compiler_flag:'`
 14205     (eval echo "\"\$as_me:14205: $lt_compile\"" >&5)
 14206     (eval "$lt_compile" 2>conftest.err)
 14207     ac_status=$?
 14208     cat conftest.err >&5
 14209     echo "$as_me:14209: \$? = $ac_status" >&5
 14210     if (exit $ac_status) && test -s "$ac_outfile"; then
 14211       # The compiler can only warn and ignore the option if not recognized
 14212       # So say no if there are warnings other than the usual output.
 14213       $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 14214       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 14215       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
 14216         lt_cv_prog_compiler_pic_works_CXX=yes
 14217       fi
 14218     fi
 14219     $RM conftest*
 14220  
 14221  fi
 14222  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
 14223  $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
 14224  
 14225  if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
 14226      case $lt_prog_compiler_pic_CXX in
 14227       "" | " "*) ;;
 14228       *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
 14229       esac
 14230  else
 14231      lt_prog_compiler_pic_CXX=
 14232       lt_prog_compiler_can_build_shared_CXX=no
 14233  fi
 14234  
 14235  fi
 14236  
 14237  
 14238  
 14239  #
 14240  # Check to make sure the static flag actually works.
 14241  #
 14242  wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
 14243  { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
 14244  $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
 14245  if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
 14246    $as_echo_n "(cached) " >&6
 14247  else
 14248    lt_cv_prog_compiler_static_works_CXX=no
 14249     save_LDFLAGS="$LDFLAGS"
 14250     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
 14251     echo "$lt_simple_link_test_code" > conftest.$ac_ext
 14252     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
 14253       # The linker can only warn and ignore the option if not recognized
 14254       # So say no if there are warnings
 14255       if test -s conftest.err; then
 14256         # Append any errors to the config.log.
 14257         cat conftest.err 1>&5
 14258         $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 14259         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
 14260         if diff conftest.exp conftest.er2 >/dev/null; then
 14261           lt_cv_prog_compiler_static_works_CXX=yes
 14262         fi
 14263       else
 14264         lt_cv_prog_compiler_static_works_CXX=yes
 14265       fi
 14266     fi
 14267     $RM -r conftest*
 14268     LDFLAGS="$save_LDFLAGS"
 14269  
 14270  fi
 14271  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
 14272  $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
 14273  
 14274  if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
 14275      :
 14276  else
 14277      lt_prog_compiler_static_CXX=
 14278  fi
 14279  
 14280  
 14281  
 14282  
 14283      { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 14284  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 14285  if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 14286    $as_echo_n "(cached) " >&6
 14287  else
 14288    lt_cv_prog_compiler_c_o_CXX=no
 14289     $RM -r conftest 2>/dev/null
 14290     mkdir conftest
 14291     cd conftest
 14292     mkdir out
 14293     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 14294  
 14295     lt_compiler_flag="-o out/conftest2.$ac_objext"
 14296     # Insert the option either (1) after the last *FLAGS variable, or
 14297     # (2) before a word containing "conftest.", or (3) at the end.
 14298     # Note that $ac_compile itself does not contain backslashes and begins
 14299     # with a dollar sign (not a hyphen), so the echo should work correctly.
 14300     lt_compile=`echo "$ac_compile" | $SED \
 14301     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14302     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14303     -e 's:$: $lt_compiler_flag:'`
 14304     (eval echo "\"\$as_me:14304: $lt_compile\"" >&5)
 14305     (eval "$lt_compile" 2>out/conftest.err)
 14306     ac_status=$?
 14307     cat out/conftest.err >&5
 14308     echo "$as_me:14308: \$? = $ac_status" >&5
 14309     if (exit $ac_status) && test -s out/conftest2.$ac_objext
 14310     then
 14311       # The compiler can only warn and ignore the option if not recognized
 14312       # So say no if there are warnings
 14313       $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 14314       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 14315       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 14316         lt_cv_prog_compiler_c_o_CXX=yes
 14317       fi
 14318     fi
 14319     chmod u+w . 2>&5
 14320     $RM conftest*
 14321     # SGI C++ compiler will create directory out/ii_files/ for
 14322     # template instantiation
 14323     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 14324     $RM out/* && rmdir out
 14325     cd ..
 14326     $RM -r conftest
 14327     $RM conftest*
 14328  
 14329  fi
 14330  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 14331  $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 14332  
 14333  
 14334  
 14335      { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
 14336  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
 14337  if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
 14338    $as_echo_n "(cached) " >&6
 14339  else
 14340    lt_cv_prog_compiler_c_o_CXX=no
 14341     $RM -r conftest 2>/dev/null
 14342     mkdir conftest
 14343     cd conftest
 14344     mkdir out
 14345     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 14346  
 14347     lt_compiler_flag="-o out/conftest2.$ac_objext"
 14348     # Insert the option either (1) after the last *FLAGS variable, or
 14349     # (2) before a word containing "conftest.", or (3) at the end.
 14350     # Note that $ac_compile itself does not contain backslashes and begins
 14351     # with a dollar sign (not a hyphen), so the echo should work correctly.
 14352     lt_compile=`echo "$ac_compile" | $SED \
 14353     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
 14354     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
 14355     -e 's:$: $lt_compiler_flag:'`
 14356     (eval echo "\"\$as_me:14356: $lt_compile\"" >&5)
 14357     (eval "$lt_compile" 2>out/conftest.err)
 14358     ac_status=$?
 14359     cat out/conftest.err >&5
 14360     echo "$as_me:14360: \$? = $ac_status" >&5
 14361     if (exit $ac_status) && test -s out/conftest2.$ac_objext
 14362     then
 14363       # The compiler can only warn and ignore the option if not recognized
 14364       # So say no if there are warnings
 14365       $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 14366       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
 14367       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
 14368         lt_cv_prog_compiler_c_o_CXX=yes
 14369       fi
 14370     fi
 14371     chmod u+w . 2>&5
 14372     $RM conftest*
 14373     # SGI C++ compiler will create directory out/ii_files/ for
 14374     # template instantiation
 14375     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
 14376     $RM out/* && rmdir out
 14377     cd ..
 14378     $RM -r conftest
 14379     $RM conftest*
 14380  
 14381  fi
 14382  { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
 14383  $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
 14384  
 14385  
 14386  
 14387  
 14388  hard_links="nottested"
 14389  if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
 14390    # do not overwrite the value of need_locks provided by the user
 14391    { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
 14392  $as_echo_n "checking if we can lock with hard links... " >&6; }
 14393    hard_links=yes
 14394    $RM conftest*
 14395    ln conftest.a conftest.b 2>/dev/null && hard_links=no
 14396    touch conftest.a
 14397    ln conftest.a conftest.b 2>&5 || hard_links=no
 14398    ln conftest.a conftest.b 2>/dev/null && hard_links=no
 14399    { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
 14400  $as_echo "$hard_links" >&6; }
 14401    if test "$hard_links" = no; then
 14402      { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
 14403  $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
 14404      need_locks=warn
 14405    fi
 14406  else
 14407    need_locks=no
 14408  fi
 14409  
 14410  
 14411  
 14412      { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
 14413  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
 14414  
 14415    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 14416    case $host_os in
 14417    aix[4-9]*)
 14418      # If we're using GNU nm, then we don't want the "-C" option.
 14419      # -C means demangle to AIX nm, but means don't demangle with GNU nm
 14420      if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
 14421        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'
 14422      else
 14423        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'
 14424      fi
 14425      ;;
 14426    pw32*)
 14427      export_symbols_cmds_CXX="$ltdll_cmds"
 14428    ;;
 14429    cygwin* | mingw* | cegcc*)
 14430      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'
 14431    ;;
 14432    linux* | k*bsd*-gnu)
 14433      link_all_deplibs_CXX=no
 14434    ;;
 14435    *)
 14436      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 14437    ;;
 14438    esac
 14439    exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
 14440  
 14441  { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
 14442  $as_echo "$ld_shlibs_CXX" >&6; }
 14443  test "$ld_shlibs_CXX" = no && can_build_shared=no
 14444  
 14445  with_gnu_ld_CXX=$with_gnu_ld
 14446  
 14447  
 14448  
 14449  
 14450  
 14451  
 14452  #
 14453  # Do we need to explicitly link libc?
 14454  #
 14455  case "x$archive_cmds_need_lc_CXX" in
 14456  x|xyes)
 14457    # Assume -lc should be added
 14458    archive_cmds_need_lc_CXX=yes
 14459  
 14460    if test "$enable_shared" = yes && test "$GCC" = yes; then
 14461      case $archive_cmds_CXX in
 14462      *'~'*)
 14463        # FIXME: we may have to deal with multi-command sequences.
 14464        ;;
 14465      '$CC '*)
 14466        # Test whether the compiler implicitly links with -lc since on some
 14467        # systems, -lgcc has to come before -lc. If gcc already passes -lc
 14468        # to ld, don't add -lc before -lgcc.
 14469        { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
 14470  $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
 14471        $RM conftest*
 14472        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 14473  
 14474        if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 14475    (eval $ac_compile) 2>&5
 14476    ac_status=$?
 14477    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14478    (exit $ac_status); } 2>conftest.err; then
 14479          soname=conftest
 14480          lib=conftest
 14481          libobjs=conftest.$ac_objext
 14482          deplibs=
 14483          wl=$lt_prog_compiler_wl_CXX
 14484  	pic_flag=$lt_prog_compiler_pic_CXX
 14485          compiler_flags=-v
 14486          linker_flags=-v
 14487          verstring=
 14488          output_objdir=.
 14489          libname=conftest
 14490          lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
 14491          allow_undefined_flag_CXX=
 14492          if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
 14493    (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
 14494    ac_status=$?
 14495    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14496    (exit $ac_status); }
 14497          then
 14498  	  archive_cmds_need_lc_CXX=no
 14499          else
 14500  	  archive_cmds_need_lc_CXX=yes
 14501          fi
 14502          allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
 14503        else
 14504          cat conftest.err 1>&5
 14505        fi
 14506        $RM conftest*
 14507        { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
 14508  $as_echo "$archive_cmds_need_lc_CXX" >&6; }
 14509        ;;
 14510      esac
 14511    fi
 14512    ;;
 14513  esac
 14514  
 14515  
 14516  
 14517  
 14518  
 14519  
 14520  
 14521  
 14522  
 14523  
 14524  
 14525  
 14526  
 14527  
 14528  
 14529  
 14530  
 14531  
 14532  
 14533  
 14534  
 14535  
 14536  
 14537  
 14538  
 14539  
 14540  
 14541  
 14542  
 14543  
 14544  
 14545  
 14546  
 14547  
 14548  
 14549  
 14550  
 14551  
 14552  
 14553  
 14554  
 14555  
 14556  
 14557  
 14558  
 14559  
 14560  
 14561  
 14562  
 14563  
 14564  
 14565  
 14566  
 14567  
 14568  
 14569  
 14570  
 14571  
 14572  
 14573  
 14574  
 14575  
 14576  
 14577  
 14578      { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
 14579  $as_echo_n "checking dynamic linker characteristics... " >&6; }
 14580  
 14581  library_names_spec=
 14582  libname_spec='lib$name'
 14583  soname_spec=
 14584  shrext_cmds=".so"
 14585  postinstall_cmds=
 14586  postuninstall_cmds=
 14587  finish_cmds=
 14588  finish_eval=
 14589  shlibpath_var=
 14590  shlibpath_overrides_runpath=unknown
 14591  version_type=none
 14592  dynamic_linker="$host_os ld.so"
 14593  sys_lib_dlsearch_path_spec="/lib /usr/lib"
 14594  need_lib_prefix=unknown
 14595  hardcode_into_libs=no
 14596  
 14597  # when you set need_version to no, make sure it does not cause -set_version
 14598  # flags to be left without arguments
 14599  need_version=unknown
 14600  
 14601  case $host_os in
 14602  aix3*)
 14603    version_type=linux
 14604    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 14605    shlibpath_var=LIBPATH
 14606  
 14607    # AIX 3 has no versioning support, so we append a major version to the name.
 14608    soname_spec='${libname}${release}${shared_ext}$major'
 14609    ;;
 14610  
 14611  aix[4-9]*)
 14612    version_type=linux
 14613    need_lib_prefix=no
 14614    need_version=no
 14615    hardcode_into_libs=yes
 14616    if test "$host_cpu" = ia64; then
 14617      # AIX 5 supports IA64
 14618      library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 14619      shlibpath_var=LD_LIBRARY_PATH
 14620    else
 14621      # With GCC up to 2.95.x, collect2 would create an import file
 14622      # for dependence libraries.  The import file would start with
 14623      # the line `#! .'.  This would cause the generated library to
 14624      # depend on `.', always an invalid library.  This was fixed in
 14625      # development snapshots of GCC prior to 3.0.
 14626      case $host_os in
 14627        aix4 | aix4.[01] | aix4.[01].*)
 14628        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 14629  	   echo ' yes '
 14630  	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 14631  	:
 14632        else
 14633  	can_build_shared=no
 14634        fi
 14635        ;;
 14636      esac
 14637      # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 14638      # soname into executable. Probably we can add versioning support to
 14639      # collect2, so additional links can be useful in future.
 14640      if test "$aix_use_runtimelinking" = yes; then
 14641        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 14642        # instead of lib<name>.a to let people know that these are not
 14643        # typical AIX shared libraries.
 14644        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14645      else
 14646        # We preserve .a as extension for shared libraries through AIX4.2
 14647        # and later when we are not doing run time linking.
 14648        library_names_spec='${libname}${release}.a $libname.a'
 14649        soname_spec='${libname}${release}${shared_ext}$major'
 14650      fi
 14651      shlibpath_var=LIBPATH
 14652    fi
 14653    ;;
 14654  
 14655  amigaos*)
 14656    case $host_cpu in
 14657    powerpc)
 14658      # Since July 2007 AmigaOS4 officially supports .so libraries.
 14659      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 14660      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14661      ;;
 14662    m68k)
 14663      library_names_spec='$libname.ixlibrary $libname.a'
 14664      # Create ${libname}_ixlibrary.a entries in /sys/libs.
 14665      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'
 14666      ;;
 14667    esac
 14668    ;;
 14669  
 14670  beos*)
 14671    library_names_spec='${libname}${shared_ext}'
 14672    dynamic_linker="$host_os ld.so"
 14673    shlibpath_var=LIBRARY_PATH
 14674    ;;
 14675  
 14676  bsdi[45]*)
 14677    version_type=linux
 14678    need_version=no
 14679    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14680    soname_spec='${libname}${release}${shared_ext}$major'
 14681    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 14682    shlibpath_var=LD_LIBRARY_PATH
 14683    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 14684    sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 14685    # the default ld.so.conf also contains /usr/contrib/lib and
 14686    # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 14687    # libtool to hard-code these into programs
 14688    ;;
 14689  
 14690  cygwin* | mingw* | pw32* | cegcc*)
 14691    version_type=windows
 14692    shrext_cmds=".dll"
 14693    need_version=no
 14694    need_lib_prefix=no
 14695  
 14696    case $GCC,$host_os in
 14697    yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 14698      library_names_spec='$libname.dll.a'
 14699      # DLL is installed to $(libdir)/../bin by postinstall_cmds
 14700      postinstall_cmds='base_file=`basename \${file}`~
 14701        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 14702        dldir=$destdir/`dirname \$dlpath`~
 14703        test -d \$dldir || mkdir -p \$dldir~
 14704        $install_prog $dir/$dlname \$dldir/$dlname~
 14705        chmod a+x \$dldir/$dlname~
 14706        if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 14707          eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 14708        fi'
 14709      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 14710        dlpath=$dir/\$dldll~
 14711         $RM \$dlpath'
 14712      shlibpath_overrides_runpath=yes
 14713  
 14714      case $host_os in
 14715      cygwin*)
 14716        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 14717        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14718        sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 14719        ;;
 14720      mingw* | cegcc*)
 14721        # MinGW DLLs use traditional 'lib' prefix
 14722        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14723        sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 14724        if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 14725          # It is most probably a Windows format PATH printed by
 14726          # mingw gcc, but we are running on Cygwin. Gcc prints its search
 14727          # path with ; separators, and with drive letters. We can handle the
 14728          # drive letters (cygwin fileutils understands them), so leave them,
 14729          # especially as we might pass files found there to a mingw objdump,
 14730          # which wouldn't understand a cygwinified path. Ahh.
 14731          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 14732        else
 14733          sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 14734        fi
 14735        ;;
 14736      pw32*)
 14737        # pw32 DLLs use 'pw' prefix rather than 'lib'
 14738        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 14739        ;;
 14740      esac
 14741      ;;
 14742  
 14743    *)
 14744      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 14745      ;;
 14746    esac
 14747    dynamic_linker='Win32 ld.exe'
 14748    # FIXME: first we should search . and the directory the executable is in
 14749    shlibpath_var=PATH
 14750    ;;
 14751  
 14752  darwin* | rhapsody*)
 14753    dynamic_linker="$host_os dyld"
 14754    version_type=darwin
 14755    need_lib_prefix=no
 14756    need_version=no
 14757    library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 14758    soname_spec='${libname}${release}${major}$shared_ext'
 14759    shlibpath_overrides_runpath=yes
 14760    shlibpath_var=DYLD_LIBRARY_PATH
 14761    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 14762  
 14763    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 14764    ;;
 14765  
 14766  dgux*)
 14767    version_type=linux
 14768    need_lib_prefix=no
 14769    need_version=no
 14770    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 14771    soname_spec='${libname}${release}${shared_ext}$major'
 14772    shlibpath_var=LD_LIBRARY_PATH
 14773    ;;
 14774  
 14775  freebsd1*)
 14776    dynamic_linker=no
 14777    ;;
 14778  
 14779  freebsd* | dragonfly*)
 14780    # DragonFly does not have aout.  When/if they implement a new
 14781    # versioning mechanism, adjust this.
 14782    if test -x /usr/bin/objformat; then
 14783      objformat=`/usr/bin/objformat`
 14784    else
 14785      case $host_os in
 14786      freebsd[123]*) objformat=aout ;;
 14787      *) objformat=elf ;;
 14788      esac
 14789    fi
 14790    version_type=freebsd-$objformat
 14791    case $version_type in
 14792      freebsd-elf*)
 14793        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 14794        need_version=no
 14795        need_lib_prefix=no
 14796        ;;
 14797      freebsd-*)
 14798        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 14799        need_version=yes
 14800        ;;
 14801    esac
 14802    shlibpath_var=LD_LIBRARY_PATH
 14803    case $host_os in
 14804    freebsd2*)
 14805      shlibpath_overrides_runpath=yes
 14806      ;;
 14807    freebsd3.[01]* | freebsdelf3.[01]*)
 14808      shlibpath_overrides_runpath=yes
 14809      hardcode_into_libs=yes
 14810      ;;
 14811    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 14812    freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 14813      shlibpath_overrides_runpath=no
 14814      hardcode_into_libs=yes
 14815      ;;
 14816    *) # from 4.6 on, and DragonFly
 14817      shlibpath_overrides_runpath=yes
 14818      hardcode_into_libs=yes
 14819      ;;
 14820    esac
 14821    ;;
 14822  
 14823  gnu*)
 14824    version_type=linux
 14825    need_lib_prefix=no
 14826    need_version=no
 14827    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 14828    soname_spec='${libname}${release}${shared_ext}$major'
 14829    shlibpath_var=LD_LIBRARY_PATH
 14830    hardcode_into_libs=yes
 14831    ;;
 14832  
 14833  hpux9* | hpux10* | hpux11*)
 14834    # Give a soname corresponding to the major version so that dld.sl refuses to
 14835    # link against other versions.
 14836    version_type=sunos
 14837    need_lib_prefix=no
 14838    need_version=no
 14839    case $host_cpu in
 14840    ia64*)
 14841      shrext_cmds='.so'
 14842      hardcode_into_libs=yes
 14843      dynamic_linker="$host_os dld.so"
 14844      shlibpath_var=LD_LIBRARY_PATH
 14845      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 14846      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14847      soname_spec='${libname}${release}${shared_ext}$major'
 14848      if test "X$HPUX_IA64_MODE" = X32; then
 14849        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 14850      else
 14851        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 14852      fi
 14853      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 14854      ;;
 14855    hppa*64*)
 14856      shrext_cmds='.sl'
 14857      hardcode_into_libs=yes
 14858      dynamic_linker="$host_os dld.sl"
 14859      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 14860      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 14861      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14862      soname_spec='${libname}${release}${shared_ext}$major'
 14863      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 14864      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 14865      ;;
 14866    *)
 14867      shrext_cmds='.sl'
 14868      dynamic_linker="$host_os dld.sl"
 14869      shlibpath_var=SHLIB_PATH
 14870      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 14871      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14872      soname_spec='${libname}${release}${shared_ext}$major'
 14873      ;;
 14874    esac
 14875    # HP-UX runs *really* slowly unless shared libraries are mode 555.
 14876    postinstall_cmds='chmod 555 $lib'
 14877    ;;
 14878  
 14879  interix[3-9]*)
 14880    version_type=linux
 14881    need_lib_prefix=no
 14882    need_version=no
 14883    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 14884    soname_spec='${libname}${release}${shared_ext}$major'
 14885    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 14886    shlibpath_var=LD_LIBRARY_PATH
 14887    shlibpath_overrides_runpath=no
 14888    hardcode_into_libs=yes
 14889    ;;
 14890  
 14891  irix5* | irix6* | nonstopux*)
 14892    case $host_os in
 14893      nonstopux*) version_type=nonstopux ;;
 14894      *)
 14895  	if test "$lt_cv_prog_gnu_ld" = yes; then
 14896  		version_type=linux
 14897  	else
 14898  		version_type=irix
 14899  	fi ;;
 14900    esac
 14901    need_lib_prefix=no
 14902    need_version=no
 14903    soname_spec='${libname}${release}${shared_ext}$major'
 14904    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 14905    case $host_os in
 14906    irix5* | nonstopux*)
 14907      libsuff= shlibsuff=
 14908      ;;
 14909    *)
 14910      case $LD in # libtool.m4 will add one of these switches to LD
 14911      *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 14912        libsuff= shlibsuff= libmagic=32-bit;;
 14913      *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 14914        libsuff=32 shlibsuff=N32 libmagic=N32;;
 14915      *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 14916        libsuff=64 shlibsuff=64 libmagic=64-bit;;
 14917      *) libsuff= shlibsuff= libmagic=never-match;;
 14918      esac
 14919      ;;
 14920    esac
 14921    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 14922    shlibpath_overrides_runpath=no
 14923    sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 14924    sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 14925    hardcode_into_libs=yes
 14926    ;;
 14927  
 14928  # No shared lib support for Linux oldld, aout, or coff.
 14929  linux*oldld* | linux*aout* | linux*coff*)
 14930    dynamic_linker=no
 14931    ;;
 14932  
 14933  # This must be Linux ELF.
 14934  linux* | k*bsd*-gnu | kopensolaris*-gnu)
 14935    version_type=linux
 14936    need_lib_prefix=no
 14937    need_version=no
 14938    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 14939    soname_spec='${libname}${release}${shared_ext}$major'
 14940    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 14941    shlibpath_var=LD_LIBRARY_PATH
 14942    shlibpath_overrides_runpath=no
 14943    # Some binutils ld are patched to set DT_RUNPATH
 14944    save_LDFLAGS=$LDFLAGS
 14945    save_libdir=$libdir
 14946    eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
 14947         LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
 14948    cat >conftest.$ac_ext <<_ACEOF
 14949  /* confdefs.h.  */
 14950  _ACEOF
 14951  cat confdefs.h >>conftest.$ac_ext
 14952  cat >>conftest.$ac_ext <<_ACEOF
 14953  /* end confdefs.h.  */
 14954  
 14955  int
 14956  main ()
 14957  {
 14958  
 14959    ;
 14960    return 0;
 14961  }
 14962  _ACEOF
 14963  rm -f conftest.$ac_objext conftest$ac_exeext
 14964  if { (ac_try="$ac_link"
 14965  case "(($ac_try" in
 14966    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14967    *) ac_try_echo=$ac_try;;
 14968  esac
 14969  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 14970  $as_echo "$ac_try_echo") >&5
 14971    (eval "$ac_link") 2>conftest.er1
 14972    ac_status=$?
 14973    grep -v '^ *+' conftest.er1 >conftest.err
 14974    rm -f conftest.er1
 14975    cat conftest.err >&5
 14976    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14977    (exit $ac_status); } && {
 14978  	 test -z "$ac_cxx_werror_flag" ||
 14979  	 test ! -s conftest.err
 14980         } && test -s conftest$ac_exeext && {
 14981  	 test "$cross_compiling" = yes ||
 14982  	 $as_test_x conftest$ac_exeext
 14983         }; then
 14984    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
 14985    shlibpath_overrides_runpath=yes
 14986  fi
 14987  
 14988  else
 14989    $as_echo "$as_me: failed program was:" >&5
 14990  sed 's/^/| /' conftest.$ac_ext >&5
 14991  
 14992  
 14993  fi
 14994  
 14995  rm -rf conftest.dSYM
 14996  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14997        conftest$ac_exeext conftest.$ac_ext
 14998    LDFLAGS=$save_LDFLAGS
 14999    libdir=$save_libdir
 15000  
 15001    # This implies no fast_install, which is unacceptable.
 15002    # Some rework will be needed to allow for fast_install
 15003    # before this can be enabled.
 15004    hardcode_into_libs=yes
 15005  
 15006    # Append ld.so.conf contents to the search path
 15007    if test -f /etc/ld.so.conf; then
 15008      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' ' '`
 15009      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 15010    fi
 15011  
 15012    # We used to test for /lib/ld.so.1 and disable shared libraries on
 15013    # powerpc, because MkLinux only supported shared libraries with the
 15014    # GNU dynamic linker.  Since this was broken with cross compilers,
 15015    # most powerpc-linux boxes support dynamic linking these days and
 15016    # people can always --disable-shared, the test was removed, and we
 15017    # assume the GNU/Linux dynamic linker is in use.
 15018    dynamic_linker='GNU/Linux ld.so'
 15019    ;;
 15020  
 15021  netbsdelf*-gnu)
 15022    version_type=linux
 15023    need_lib_prefix=no
 15024    need_version=no
 15025    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15026    soname_spec='${libname}${release}${shared_ext}$major'
 15027    shlibpath_var=LD_LIBRARY_PATH
 15028    shlibpath_overrides_runpath=no
 15029    hardcode_into_libs=yes
 15030    dynamic_linker='NetBSD ld.elf_so'
 15031    ;;
 15032  
 15033  netbsd*)
 15034    version_type=sunos
 15035    need_lib_prefix=no
 15036    need_version=no
 15037    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 15038      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15039      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 15040      dynamic_linker='NetBSD (a.out) ld.so'
 15041    else
 15042      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 15043      soname_spec='${libname}${release}${shared_ext}$major'
 15044      dynamic_linker='NetBSD ld.elf_so'
 15045    fi
 15046    shlibpath_var=LD_LIBRARY_PATH
 15047    shlibpath_overrides_runpath=yes
 15048    hardcode_into_libs=yes
 15049    ;;
 15050  
 15051  newsos6)
 15052    version_type=linux
 15053    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15054    shlibpath_var=LD_LIBRARY_PATH
 15055    shlibpath_overrides_runpath=yes
 15056    ;;
 15057  
 15058  *nto* | *qnx*)
 15059    version_type=qnx
 15060    need_lib_prefix=no
 15061    need_version=no
 15062    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15063    soname_spec='${libname}${release}${shared_ext}$major'
 15064    shlibpath_var=LD_LIBRARY_PATH
 15065    shlibpath_overrides_runpath=no
 15066    hardcode_into_libs=yes
 15067    dynamic_linker='ldqnx.so'
 15068    ;;
 15069  
 15070  openbsd*)
 15071    version_type=sunos
 15072    sys_lib_dlsearch_path_spec="/usr/lib"
 15073    need_lib_prefix=no
 15074    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 15075    case $host_os in
 15076      openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 15077      *)				need_version=no  ;;
 15078    esac
 15079    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15080    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 15081    shlibpath_var=LD_LIBRARY_PATH
 15082    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 15083      case $host_os in
 15084        openbsd2.[89] | openbsd2.[89].*)
 15085  	shlibpath_overrides_runpath=no
 15086  	;;
 15087        *)
 15088  	shlibpath_overrides_runpath=yes
 15089  	;;
 15090        esac
 15091    else
 15092      shlibpath_overrides_runpath=yes
 15093    fi
 15094    ;;
 15095  
 15096  os2*)
 15097    libname_spec='$name'
 15098    shrext_cmds=".dll"
 15099    need_lib_prefix=no
 15100    library_names_spec='$libname${shared_ext} $libname.a'
 15101    dynamic_linker='OS/2 ld.exe'
 15102    shlibpath_var=LIBPATH
 15103    ;;
 15104  
 15105  osf3* | osf4* | osf5*)
 15106    version_type=osf
 15107    need_lib_prefix=no
 15108    need_version=no
 15109    soname_spec='${libname}${release}${shared_ext}$major'
 15110    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15111    shlibpath_var=LD_LIBRARY_PATH
 15112    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 15113    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 15114    ;;
 15115  
 15116  rdos*)
 15117    dynamic_linker=no
 15118    ;;
 15119  
 15120  solaris*)
 15121    version_type=linux
 15122    need_lib_prefix=no
 15123    need_version=no
 15124    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15125    soname_spec='${libname}${release}${shared_ext}$major'
 15126    shlibpath_var=LD_LIBRARY_PATH
 15127    shlibpath_overrides_runpath=yes
 15128    hardcode_into_libs=yes
 15129    # ldd complains unless libraries are executable
 15130    postinstall_cmds='chmod +x $lib'
 15131    ;;
 15132  
 15133  sunos4*)
 15134    version_type=sunos
 15135    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 15136    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 15137    shlibpath_var=LD_LIBRARY_PATH
 15138    shlibpath_overrides_runpath=yes
 15139    if test "$with_gnu_ld" = yes; then
 15140      need_lib_prefix=no
 15141    fi
 15142    need_version=yes
 15143    ;;
 15144  
 15145  sysv4 | sysv4.3*)
 15146    version_type=linux
 15147    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15148    soname_spec='${libname}${release}${shared_ext}$major'
 15149    shlibpath_var=LD_LIBRARY_PATH
 15150    case $host_vendor in
 15151      sni)
 15152        shlibpath_overrides_runpath=no
 15153        need_lib_prefix=no
 15154        runpath_var=LD_RUN_PATH
 15155        ;;
 15156      siemens)
 15157        need_lib_prefix=no
 15158        ;;
 15159      motorola)
 15160        need_lib_prefix=no
 15161        need_version=no
 15162        shlibpath_overrides_runpath=no
 15163        sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 15164        ;;
 15165    esac
 15166    ;;
 15167  
 15168  sysv4*MP*)
 15169    if test -d /usr/nec ;then
 15170      version_type=linux
 15171      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 15172      soname_spec='$libname${shared_ext}.$major'
 15173      shlibpath_var=LD_LIBRARY_PATH
 15174    fi
 15175    ;;
 15176  
 15177  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 15178    version_type=freebsd-elf
 15179    need_lib_prefix=no
 15180    need_version=no
 15181    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 15182    soname_spec='${libname}${release}${shared_ext}$major'
 15183    shlibpath_var=LD_LIBRARY_PATH
 15184    shlibpath_overrides_runpath=yes
 15185    hardcode_into_libs=yes
 15186    if test "$with_gnu_ld" = yes; then
 15187      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 15188    else
 15189      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 15190      case $host_os in
 15191        sco3.2v5*)
 15192          sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 15193  	;;
 15194      esac
 15195    fi
 15196    sys_lib_dlsearch_path_spec='/usr/lib'
 15197    ;;
 15198  
 15199  tpf*)
 15200    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 15201    version_type=linux
 15202    need_lib_prefix=no
 15203    need_version=no
 15204    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15205    shlibpath_var=LD_LIBRARY_PATH
 15206    shlibpath_overrides_runpath=no
 15207    hardcode_into_libs=yes
 15208    ;;
 15209  
 15210  uts4*)
 15211    version_type=linux
 15212    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 15213    soname_spec='${libname}${release}${shared_ext}$major'
 15214    shlibpath_var=LD_LIBRARY_PATH
 15215    ;;
 15216  
 15217  *)
 15218    dynamic_linker=no
 15219    ;;
 15220  esac
 15221  { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
 15222  $as_echo "$dynamic_linker" >&6; }
 15223  test "$dynamic_linker" = no && can_build_shared=no
 15224  
 15225  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 15226  if test "$GCC" = yes; then
 15227    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 15228  fi
 15229  
 15230  if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 15231    sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 15232  fi
 15233  if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 15234    sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 15235  fi
 15236  
 15237  
 15238  
 15239  
 15240  
 15241  
 15242  
 15243  
 15244  
 15245  
 15246  
 15247  
 15248  
 15249  
 15250  
 15251  
 15252  
 15253  
 15254  
 15255  
 15256  
 15257  
 15258  
 15259  
 15260  
 15261  
 15262  
 15263  
 15264  
 15265  
 15266  
 15267  
 15268  
 15269  
 15270  
 15271  
 15272      { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
 15273  $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 15274  hardcode_action_CXX=
 15275  if test -n "$hardcode_libdir_flag_spec_CXX" ||
 15276     test -n "$runpath_var_CXX" ||
 15277     test "X$hardcode_automatic_CXX" = "Xyes" ; then
 15278  
 15279    # We can hardcode non-existent directories.
 15280    if test "$hardcode_direct_CXX" != no &&
 15281       # If the only mechanism to avoid hardcoding is shlibpath_var, we
 15282       # have to relink, otherwise we might link with an installed library
 15283       # when we should be linking with a yet-to-be-installed one
 15284       ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
 15285       test "$hardcode_minus_L_CXX" != no; then
 15286      # Linking always hardcodes the temporary library directory.
 15287      hardcode_action_CXX=relink
 15288    else
 15289      # We can link without hardcoding, and we can hardcode nonexisting dirs.
 15290      hardcode_action_CXX=immediate
 15291    fi
 15292  else
 15293    # We cannot hardcode anything, or else we can only hardcode existing
 15294    # directories.
 15295    hardcode_action_CXX=unsupported
 15296  fi
 15297  { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
 15298  $as_echo "$hardcode_action_CXX" >&6; }
 15299  
 15300  if test "$hardcode_action_CXX" = relink ||
 15301     test "$inherit_rpath_CXX" = yes; then
 15302    # Fast installation is not supported
 15303    enable_fast_install=no
 15304  elif test "$shlibpath_overrides_runpath" = yes ||
 15305       test "$enable_shared" = no; then
 15306    # Fast installation is not necessary
 15307    enable_fast_install=needless
 15308  fi
 15309  
 15310  
 15311  
 15312  
 15313  
 15314  
 15315  
 15316    fi # test -n "$compiler"
 15317  
 15318    CC=$lt_save_CC
 15319    LDCXX=$LD
 15320    LD=$lt_save_LD
 15321    GCC=$lt_save_GCC
 15322    with_gnu_ld=$lt_save_with_gnu_ld
 15323    lt_cv_path_LDCXX=$lt_cv_path_LD
 15324    lt_cv_path_LD=$lt_save_path_LD
 15325    lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
 15326    lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
 15327  fi # test "$_lt_caught_CXX_error" != yes
 15328  
 15329  ac_ext=c
 15330  ac_cpp='$CPP $CPPFLAGS'
 15331  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 15332  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 15333  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 15334  
 15335  
 15336  
 15337  
 15338  
 15339  
 15340  
 15341  
 15342  
 15343  
 15344  
 15345  
 15346  
 15347          ac_config_commands="$ac_config_commands libtool"
 15348  
 15349  
 15350  
 15351  
 15352  # Only expand once:
 15353  
 15354  
 15355  
 15356  
 15357  
 15358  # Check whether some low-level functions/files are available
 15359  { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
 15360  $as_echo_n "checking for ANSI C header files... " >&6; }
 15361  if test "${ac_cv_header_stdc+set}" = set; then
 15362    $as_echo_n "(cached) " >&6
 15363  else
 15364    cat >conftest.$ac_ext <<_ACEOF
 15365  /* confdefs.h.  */
 15366  _ACEOF
 15367  cat confdefs.h >>conftest.$ac_ext
 15368  cat >>conftest.$ac_ext <<_ACEOF
 15369  /* end confdefs.h.  */
 15370  #include <stdlib.h>
 15371  #include <stdarg.h>
 15372  #include <string.h>
 15373  #include <float.h>
 15374  
 15375  int
 15376  main ()
 15377  {
 15378  
 15379    ;
 15380    return 0;
 15381  }
 15382  _ACEOF
 15383  rm -f conftest.$ac_objext
 15384  if { (ac_try="$ac_compile"
 15385  case "(($ac_try" in
 15386    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15387    *) ac_try_echo=$ac_try;;
 15388  esac
 15389  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15390  $as_echo "$ac_try_echo") >&5
 15391    (eval "$ac_compile") 2>conftest.er1
 15392    ac_status=$?
 15393    grep -v '^ *+' conftest.er1 >conftest.err
 15394    rm -f conftest.er1
 15395    cat conftest.err >&5
 15396    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15397    (exit $ac_status); } && {
 15398  	 test -z "$ac_c_werror_flag" ||
 15399  	 test ! -s conftest.err
 15400         } && test -s conftest.$ac_objext; then
 15401    ac_cv_header_stdc=yes
 15402  else
 15403    $as_echo "$as_me: failed program was:" >&5
 15404  sed 's/^/| /' conftest.$ac_ext >&5
 15405  
 15406  	ac_cv_header_stdc=no
 15407  fi
 15408  
 15409  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15410  
 15411  if test $ac_cv_header_stdc = yes; then
 15412    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 15413    cat >conftest.$ac_ext <<_ACEOF
 15414  /* confdefs.h.  */
 15415  _ACEOF
 15416  cat confdefs.h >>conftest.$ac_ext
 15417  cat >>conftest.$ac_ext <<_ACEOF
 15418  /* end confdefs.h.  */
 15419  #include <string.h>
 15420  
 15421  _ACEOF
 15422  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 15423    $EGREP "memchr" >/dev/null 2>&1; then
 15424    :
 15425  else
 15426    ac_cv_header_stdc=no
 15427  fi
 15428  rm -f conftest*
 15429  
 15430  fi
 15431  
 15432  if test $ac_cv_header_stdc = yes; then
 15433    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 15434    cat >conftest.$ac_ext <<_ACEOF
 15435  /* confdefs.h.  */
 15436  _ACEOF
 15437  cat confdefs.h >>conftest.$ac_ext
 15438  cat >>conftest.$ac_ext <<_ACEOF
 15439  /* end confdefs.h.  */
 15440  #include <stdlib.h>
 15441  
 15442  _ACEOF
 15443  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 15444    $EGREP "free" >/dev/null 2>&1; then
 15445    :
 15446  else
 15447    ac_cv_header_stdc=no
 15448  fi
 15449  rm -f conftest*
 15450  
 15451  fi
 15452  
 15453  if test $ac_cv_header_stdc = yes; then
 15454    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 15455    if test "$cross_compiling" = yes; then
 15456    :
 15457  else
 15458    cat >conftest.$ac_ext <<_ACEOF
 15459  /* confdefs.h.  */
 15460  _ACEOF
 15461  cat confdefs.h >>conftest.$ac_ext
 15462  cat >>conftest.$ac_ext <<_ACEOF
 15463  /* end confdefs.h.  */
 15464  #include <ctype.h>
 15465  #include <stdlib.h>
 15466  #if ((' ' & 0x0FF) == 0x020)
 15467  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 15468  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 15469  #else
 15470  # define ISLOWER(c) \
 15471  		   (('a' <= (c) && (c) <= 'i') \
 15472  		     || ('j' <= (c) && (c) <= 'r') \
 15473  		     || ('s' <= (c) && (c) <= 'z'))
 15474  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
 15475  #endif
 15476  
 15477  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 15478  int
 15479  main ()
 15480  {
 15481    int i;
 15482    for (i = 0; i < 256; i++)
 15483      if (XOR (islower (i), ISLOWER (i))
 15484  	|| toupper (i) != TOUPPER (i))
 15485        return 2;
 15486    return 0;
 15487  }
 15488  _ACEOF
 15489  rm -f conftest$ac_exeext
 15490  if { (ac_try="$ac_link"
 15491  case "(($ac_try" in
 15492    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15493    *) ac_try_echo=$ac_try;;
 15494  esac
 15495  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15496  $as_echo "$ac_try_echo") >&5
 15497    (eval "$ac_link") 2>&5
 15498    ac_status=$?
 15499    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15500    (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 15501    { (case "(($ac_try" in
 15502    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15503    *) ac_try_echo=$ac_try;;
 15504  esac
 15505  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15506  $as_echo "$ac_try_echo") >&5
 15507    (eval "$ac_try") 2>&5
 15508    ac_status=$?
 15509    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15510    (exit $ac_status); }; }; then
 15511    :
 15512  else
 15513    $as_echo "$as_me: program exited with status $ac_status" >&5
 15514  $as_echo "$as_me: failed program was:" >&5
 15515  sed 's/^/| /' conftest.$ac_ext >&5
 15516  
 15517  ( exit $ac_status )
 15518  ac_cv_header_stdc=no
 15519  fi
 15520  rm -rf conftest.dSYM
 15521  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 15522  fi
 15523  
 15524  
 15525  fi
 15526  fi
 15527  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
 15528  $as_echo "$ac_cv_header_stdc" >&6; }
 15529  if test $ac_cv_header_stdc = yes; then
 15530  
 15531  cat >>confdefs.h <<\_ACEOF
 15532  #define STDC_HEADERS 1
 15533  _ACEOF
 15534  
 15535  fi
 15536  
 15537  
 15538  # These are tested for by AC_HEADER_STDC, but I check again to set the var
 15539  if test "${ac_cv_header_stdint_h+set}" = set; then
 15540    { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5
 15541  $as_echo_n "checking for stdint.h... " >&6; }
 15542  if test "${ac_cv_header_stdint_h+set}" = set; then
 15543    $as_echo_n "(cached) " >&6
 15544  fi
 15545  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
 15546  $as_echo "$ac_cv_header_stdint_h" >&6; }
 15547  else
 15548    # Is the header compilable?
 15549  { $as_echo "$as_me:$LINENO: checking stdint.h usability" >&5
 15550  $as_echo_n "checking stdint.h usability... " >&6; }
 15551  cat >conftest.$ac_ext <<_ACEOF
 15552  /* confdefs.h.  */
 15553  _ACEOF
 15554  cat confdefs.h >>conftest.$ac_ext
 15555  cat >>conftest.$ac_ext <<_ACEOF
 15556  /* end confdefs.h.  */
 15557  $ac_includes_default
 15558  #include <stdint.h>
 15559  _ACEOF
 15560  rm -f conftest.$ac_objext
 15561  if { (ac_try="$ac_compile"
 15562  case "(($ac_try" in
 15563    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15564    *) ac_try_echo=$ac_try;;
 15565  esac
 15566  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15567  $as_echo "$ac_try_echo") >&5
 15568    (eval "$ac_compile") 2>conftest.er1
 15569    ac_status=$?
 15570    grep -v '^ *+' conftest.er1 >conftest.err
 15571    rm -f conftest.er1
 15572    cat conftest.err >&5
 15573    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15574    (exit $ac_status); } && {
 15575  	 test -z "$ac_c_werror_flag" ||
 15576  	 test ! -s conftest.err
 15577         } && test -s conftest.$ac_objext; then
 15578    ac_header_compiler=yes
 15579  else
 15580    $as_echo "$as_me: failed program was:" >&5
 15581  sed 's/^/| /' conftest.$ac_ext >&5
 15582  
 15583  	ac_header_compiler=no
 15584  fi
 15585  
 15586  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15587  { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 15588  $as_echo "$ac_header_compiler" >&6; }
 15589  
 15590  # Is the header present?
 15591  { $as_echo "$as_me:$LINENO: checking stdint.h presence" >&5
 15592  $as_echo_n "checking stdint.h presence... " >&6; }
 15593  cat >conftest.$ac_ext <<_ACEOF
 15594  /* confdefs.h.  */
 15595  _ACEOF
 15596  cat confdefs.h >>conftest.$ac_ext
 15597  cat >>conftest.$ac_ext <<_ACEOF
 15598  /* end confdefs.h.  */
 15599  #include <stdint.h>
 15600  _ACEOF
 15601  if { (ac_try="$ac_cpp conftest.$ac_ext"
 15602  case "(($ac_try" in
 15603    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15604    *) ac_try_echo=$ac_try;;
 15605  esac
 15606  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15607  $as_echo "$ac_try_echo") >&5
 15608    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 15609    ac_status=$?
 15610    grep -v '^ *+' conftest.er1 >conftest.err
 15611    rm -f conftest.er1
 15612    cat conftest.err >&5
 15613    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15614    (exit $ac_status); } >/dev/null && {
 15615  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 15616  	 test ! -s conftest.err
 15617         }; then
 15618    ac_header_preproc=yes
 15619  else
 15620    $as_echo "$as_me: failed program was:" >&5
 15621  sed 's/^/| /' conftest.$ac_ext >&5
 15622  
 15623    ac_header_preproc=no
 15624  fi
 15625  
 15626  rm -f conftest.err conftest.$ac_ext
 15627  { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 15628  $as_echo "$ac_header_preproc" >&6; }
 15629  
 15630  # So?  What about this header?
 15631  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 15632    yes:no: )
 15633      { $as_echo "$as_me:$LINENO: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&5
 15634  $as_echo "$as_me: WARNING: stdint.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 15635      { $as_echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the compiler's result" >&5
 15636  $as_echo "$as_me: WARNING: stdint.h: proceeding with the compiler's result" >&2;}
 15637      ac_header_preproc=yes
 15638      ;;
 15639    no:yes:* )
 15640      { $as_echo "$as_me:$LINENO: WARNING: stdint.h: present but cannot be compiled" >&5
 15641  $as_echo "$as_me: WARNING: stdint.h: present but cannot be compiled" >&2;}
 15642      { $as_echo "$as_me:$LINENO: WARNING: stdint.h:     check for missing prerequisite headers?" >&5
 15643  $as_echo "$as_me: WARNING: stdint.h:     check for missing prerequisite headers?" >&2;}
 15644      { $as_echo "$as_me:$LINENO: WARNING: stdint.h: see the Autoconf documentation" >&5
 15645  $as_echo "$as_me: WARNING: stdint.h: see the Autoconf documentation" >&2;}
 15646      { $as_echo "$as_me:$LINENO: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&5
 15647  $as_echo "$as_me: WARNING: stdint.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 15648      { $as_echo "$as_me:$LINENO: WARNING: stdint.h: proceeding with the preprocessor's result" >&5
 15649  $as_echo "$as_me: WARNING: stdint.h: proceeding with the preprocessor's result" >&2;}
 15650      { $as_echo "$as_me:$LINENO: WARNING: stdint.h: in the future, the compiler will take precedence" >&5
 15651  $as_echo "$as_me: WARNING: stdint.h: in the future, the compiler will take precedence" >&2;}
 15652      ( cat <<\_ASBOX
 15653  ## --------------------------------------------- ##
 15654  ## Report this to google-gflags@googlegroups.com ##
 15655  ## --------------------------------------------- ##
 15656  _ASBOX
 15657       ) | sed "s/^/$as_me: WARNING:     /" >&2
 15658      ;;
 15659  esac
 15660  { $as_echo "$as_me:$LINENO: checking for stdint.h" >&5
 15661  $as_echo_n "checking for stdint.h... " >&6; }
 15662  if test "${ac_cv_header_stdint_h+set}" = set; then
 15663    $as_echo_n "(cached) " >&6
 15664  else
 15665    ac_cv_header_stdint_h=$ac_header_preproc
 15666  fi
 15667  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_h" >&5
 15668  $as_echo "$ac_cv_header_stdint_h" >&6; }
 15669  
 15670  fi
 15671  if test $ac_cv_header_stdint_h = yes; then
 15672    ac_cv_have_stdint_h=1
 15673  else
 15674    ac_cv_have_stdint_h=0
 15675  fi
 15676  
 15677  
 15678  if test "${ac_cv_header_sys_types_h+set}" = set; then
 15679    { $as_echo "$as_me:$LINENO: checking for sys/types.h" >&5
 15680  $as_echo_n "checking for sys/types.h... " >&6; }
 15681  if test "${ac_cv_header_sys_types_h+set}" = set; then
 15682    $as_echo_n "(cached) " >&6
 15683  fi
 15684  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
 15685  $as_echo "$ac_cv_header_sys_types_h" >&6; }
 15686  else
 15687    # Is the header compilable?
 15688  { $as_echo "$as_me:$LINENO: checking sys/types.h usability" >&5
 15689  $as_echo_n "checking sys/types.h usability... " >&6; }
 15690  cat >conftest.$ac_ext <<_ACEOF
 15691  /* confdefs.h.  */
 15692  _ACEOF
 15693  cat confdefs.h >>conftest.$ac_ext
 15694  cat >>conftest.$ac_ext <<_ACEOF
 15695  /* end confdefs.h.  */
 15696  $ac_includes_default
 15697  #include <sys/types.h>
 15698  _ACEOF
 15699  rm -f conftest.$ac_objext
 15700  if { (ac_try="$ac_compile"
 15701  case "(($ac_try" in
 15702    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15703    *) ac_try_echo=$ac_try;;
 15704  esac
 15705  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15706  $as_echo "$ac_try_echo") >&5
 15707    (eval "$ac_compile") 2>conftest.er1
 15708    ac_status=$?
 15709    grep -v '^ *+' conftest.er1 >conftest.err
 15710    rm -f conftest.er1
 15711    cat conftest.err >&5
 15712    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15713    (exit $ac_status); } && {
 15714  	 test -z "$ac_c_werror_flag" ||
 15715  	 test ! -s conftest.err
 15716         } && test -s conftest.$ac_objext; then
 15717    ac_header_compiler=yes
 15718  else
 15719    $as_echo "$as_me: failed program was:" >&5
 15720  sed 's/^/| /' conftest.$ac_ext >&5
 15721  
 15722  	ac_header_compiler=no
 15723  fi
 15724  
 15725  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15726  { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 15727  $as_echo "$ac_header_compiler" >&6; }
 15728  
 15729  # Is the header present?
 15730  { $as_echo "$as_me:$LINENO: checking sys/types.h presence" >&5
 15731  $as_echo_n "checking sys/types.h presence... " >&6; }
 15732  cat >conftest.$ac_ext <<_ACEOF
 15733  /* confdefs.h.  */
 15734  _ACEOF
 15735  cat confdefs.h >>conftest.$ac_ext
 15736  cat >>conftest.$ac_ext <<_ACEOF
 15737  /* end confdefs.h.  */
 15738  #include <sys/types.h>
 15739  _ACEOF
 15740  if { (ac_try="$ac_cpp conftest.$ac_ext"
 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_cpp conftest.$ac_ext") 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); } >/dev/null && {
 15754  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 15755  	 test ! -s conftest.err
 15756         }; then
 15757    ac_header_preproc=yes
 15758  else
 15759    $as_echo "$as_me: failed program was:" >&5
 15760  sed 's/^/| /' conftest.$ac_ext >&5
 15761  
 15762    ac_header_preproc=no
 15763  fi
 15764  
 15765  rm -f conftest.err conftest.$ac_ext
 15766  { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 15767  $as_echo "$ac_header_preproc" >&6; }
 15768  
 15769  # So?  What about this header?
 15770  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 15771    yes:no: )
 15772      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&5
 15773  $as_echo "$as_me: WARNING: sys/types.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 15774      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the compiler's result" >&5
 15775  $as_echo "$as_me: WARNING: sys/types.h: proceeding with the compiler's result" >&2;}
 15776      ac_header_preproc=yes
 15777      ;;
 15778    no:yes:* )
 15779      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: present but cannot be compiled" >&5
 15780  $as_echo "$as_me: WARNING: sys/types.h: present but cannot be compiled" >&2;}
 15781      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h:     check for missing prerequisite headers?" >&5
 15782  $as_echo "$as_me: WARNING: sys/types.h:     check for missing prerequisite headers?" >&2;}
 15783      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: see the Autoconf documentation" >&5
 15784  $as_echo "$as_me: WARNING: sys/types.h: see the Autoconf documentation" >&2;}
 15785      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&5
 15786  $as_echo "$as_me: WARNING: sys/types.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 15787      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: proceeding with the preprocessor's result" >&5
 15788  $as_echo "$as_me: WARNING: sys/types.h: proceeding with the preprocessor's result" >&2;}
 15789      { $as_echo "$as_me:$LINENO: WARNING: sys/types.h: in the future, the compiler will take precedence" >&5
 15790  $as_echo "$as_me: WARNING: sys/types.h: in the future, the compiler will take precedence" >&2;}
 15791      ( cat <<\_ASBOX
 15792  ## --------------------------------------------- ##
 15793  ## Report this to google-gflags@googlegroups.com ##
 15794  ## --------------------------------------------- ##
 15795  _ASBOX
 15796       ) | sed "s/^/$as_me: WARNING:     /" >&2
 15797      ;;
 15798  esac
 15799  { $as_echo "$as_me:$LINENO: checking for sys/types.h" >&5
 15800  $as_echo_n "checking for sys/types.h... " >&6; }
 15801  if test "${ac_cv_header_sys_types_h+set}" = set; then
 15802    $as_echo_n "(cached) " >&6
 15803  else
 15804    ac_cv_header_sys_types_h=$ac_header_preproc
 15805  fi
 15806  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_types_h" >&5
 15807  $as_echo "$ac_cv_header_sys_types_h" >&6; }
 15808  
 15809  fi
 15810  if test $ac_cv_header_sys_types_h = yes; then
 15811    ac_cv_have_systypes_h=1
 15812  else
 15813    ac_cv_have_systypes_h=0
 15814  fi
 15815  
 15816  
 15817  if test "${ac_cv_header_inttypes_h+set}" = set; then
 15818    { $as_echo "$as_me:$LINENO: checking for inttypes.h" >&5
 15819  $as_echo_n "checking for inttypes.h... " >&6; }
 15820  if test "${ac_cv_header_inttypes_h+set}" = set; then
 15821    $as_echo_n "(cached) " >&6
 15822  fi
 15823  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5
 15824  $as_echo "$ac_cv_header_inttypes_h" >&6; }
 15825  else
 15826    # Is the header compilable?
 15827  { $as_echo "$as_me:$LINENO: checking inttypes.h usability" >&5
 15828  $as_echo_n "checking inttypes.h usability... " >&6; }
 15829  cat >conftest.$ac_ext <<_ACEOF
 15830  /* confdefs.h.  */
 15831  _ACEOF
 15832  cat confdefs.h >>conftest.$ac_ext
 15833  cat >>conftest.$ac_ext <<_ACEOF
 15834  /* end confdefs.h.  */
 15835  $ac_includes_default
 15836  #include <inttypes.h>
 15837  _ACEOF
 15838  rm -f conftest.$ac_objext
 15839  if { (ac_try="$ac_compile"
 15840  case "(($ac_try" in
 15841    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15842    *) ac_try_echo=$ac_try;;
 15843  esac
 15844  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15845  $as_echo "$ac_try_echo") >&5
 15846    (eval "$ac_compile") 2>conftest.er1
 15847    ac_status=$?
 15848    grep -v '^ *+' conftest.er1 >conftest.err
 15849    rm -f conftest.er1
 15850    cat conftest.err >&5
 15851    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15852    (exit $ac_status); } && {
 15853  	 test -z "$ac_c_werror_flag" ||
 15854  	 test ! -s conftest.err
 15855         } && test -s conftest.$ac_objext; then
 15856    ac_header_compiler=yes
 15857  else
 15858    $as_echo "$as_me: failed program was:" >&5
 15859  sed 's/^/| /' conftest.$ac_ext >&5
 15860  
 15861  	ac_header_compiler=no
 15862  fi
 15863  
 15864  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 15865  { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 15866  $as_echo "$ac_header_compiler" >&6; }
 15867  
 15868  # Is the header present?
 15869  { $as_echo "$as_me:$LINENO: checking inttypes.h presence" >&5
 15870  $as_echo_n "checking inttypes.h presence... " >&6; }
 15871  cat >conftest.$ac_ext <<_ACEOF
 15872  /* confdefs.h.  */
 15873  _ACEOF
 15874  cat confdefs.h >>conftest.$ac_ext
 15875  cat >>conftest.$ac_ext <<_ACEOF
 15876  /* end confdefs.h.  */
 15877  #include <inttypes.h>
 15878  _ACEOF
 15879  if { (ac_try="$ac_cpp conftest.$ac_ext"
 15880  case "(($ac_try" in
 15881    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15882    *) ac_try_echo=$ac_try;;
 15883  esac
 15884  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15885  $as_echo "$ac_try_echo") >&5
 15886    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 15887    ac_status=$?
 15888    grep -v '^ *+' conftest.er1 >conftest.err
 15889    rm -f conftest.er1
 15890    cat conftest.err >&5
 15891    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15892    (exit $ac_status); } >/dev/null && {
 15893  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 15894  	 test ! -s conftest.err
 15895         }; then
 15896    ac_header_preproc=yes
 15897  else
 15898    $as_echo "$as_me: failed program was:" >&5
 15899  sed 's/^/| /' conftest.$ac_ext >&5
 15900  
 15901    ac_header_preproc=no
 15902  fi
 15903  
 15904  rm -f conftest.err conftest.$ac_ext
 15905  { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 15906  $as_echo "$ac_header_preproc" >&6; }
 15907  
 15908  # So?  What about this header?
 15909  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 15910    yes:no: )
 15911      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&5
 15912  $as_echo "$as_me: WARNING: inttypes.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 15913      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the compiler's result" >&5
 15914  $as_echo "$as_me: WARNING: inttypes.h: proceeding with the compiler's result" >&2;}
 15915      ac_header_preproc=yes
 15916      ;;
 15917    no:yes:* )
 15918      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: present but cannot be compiled" >&5
 15919  $as_echo "$as_me: WARNING: inttypes.h: present but cannot be compiled" >&2;}
 15920      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h:     check for missing prerequisite headers?" >&5
 15921  $as_echo "$as_me: WARNING: inttypes.h:     check for missing prerequisite headers?" >&2;}
 15922      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: see the Autoconf documentation" >&5
 15923  $as_echo "$as_me: WARNING: inttypes.h: see the Autoconf documentation" >&2;}
 15924      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h:     section \"Present But Cannot Be Compiled\"" >&5
 15925  $as_echo "$as_me: WARNING: inttypes.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 15926      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: proceeding with the preprocessor's result" >&5
 15927  $as_echo "$as_me: WARNING: inttypes.h: proceeding with the preprocessor's result" >&2;}
 15928      { $as_echo "$as_me:$LINENO: WARNING: inttypes.h: in the future, the compiler will take precedence" >&5
 15929  $as_echo "$as_me: WARNING: inttypes.h: in the future, the compiler will take precedence" >&2;}
 15930      ( cat <<\_ASBOX
 15931  ## --------------------------------------------- ##
 15932  ## Report this to google-gflags@googlegroups.com ##
 15933  ## --------------------------------------------- ##
 15934  _ASBOX
 15935       ) | sed "s/^/$as_me: WARNING:     /" >&2
 15936      ;;
 15937  esac
 15938  { $as_echo "$as_me:$LINENO: checking for inttypes.h" >&5
 15939  $as_echo_n "checking for inttypes.h... " >&6; }
 15940  if test "${ac_cv_header_inttypes_h+set}" = set; then
 15941    $as_echo_n "(cached) " >&6
 15942  else
 15943    ac_cv_header_inttypes_h=$ac_header_preproc
 15944  fi
 15945  { $as_echo "$as_me:$LINENO: result: $ac_cv_header_inttypes_h" >&5
 15946  $as_echo "$ac_cv_header_inttypes_h" >&6; }
 15947  
 15948  fi
 15949  if test $ac_cv_header_inttypes_h = yes; then
 15950    ac_cv_have_inttypes_h=1
 15951  else
 15952    ac_cv_have_inttypes_h=0
 15953  fi
 15954  
 15955  
 15956  
 15957  for ac_header in fnmatch.h
 15958  do
 15959  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 15960  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 15961    { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 15962  $as_echo_n "checking for $ac_header... " >&6; }
 15963  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 15964    $as_echo_n "(cached) " >&6
 15965  fi
 15966  ac_res=`eval 'as_val=${'$as_ac_Header'}
 15967  		 $as_echo "$as_val"'`
 15968  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 15969  $as_echo "$ac_res" >&6; }
 15970  else
 15971    # Is the header compilable?
 15972  { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 15973  $as_echo_n "checking $ac_header usability... " >&6; }
 15974  cat >conftest.$ac_ext <<_ACEOF
 15975  /* confdefs.h.  */
 15976  _ACEOF
 15977  cat confdefs.h >>conftest.$ac_ext
 15978  cat >>conftest.$ac_ext <<_ACEOF
 15979  /* end confdefs.h.  */
 15980  $ac_includes_default
 15981  #include <$ac_header>
 15982  _ACEOF
 15983  rm -f conftest.$ac_objext
 15984  if { (ac_try="$ac_compile"
 15985  case "(($ac_try" in
 15986    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15987    *) ac_try_echo=$ac_try;;
 15988  esac
 15989  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 15990  $as_echo "$ac_try_echo") >&5
 15991    (eval "$ac_compile") 2>conftest.er1
 15992    ac_status=$?
 15993    grep -v '^ *+' conftest.er1 >conftest.err
 15994    rm -f conftest.er1
 15995    cat conftest.err >&5
 15996    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15997    (exit $ac_status); } && {
 15998  	 test -z "$ac_c_werror_flag" ||
 15999  	 test ! -s conftest.err
 16000         } && test -s conftest.$ac_objext; then
 16001    ac_header_compiler=yes
 16002  else
 16003    $as_echo "$as_me: failed program was:" >&5
 16004  sed 's/^/| /' conftest.$ac_ext >&5
 16005  
 16006  	ac_header_compiler=no
 16007  fi
 16008  
 16009  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16010  { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 16011  $as_echo "$ac_header_compiler" >&6; }
 16012  
 16013  # Is the header present?
 16014  { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 16015  $as_echo_n "checking $ac_header presence... " >&6; }
 16016  cat >conftest.$ac_ext <<_ACEOF
 16017  /* confdefs.h.  */
 16018  _ACEOF
 16019  cat confdefs.h >>conftest.$ac_ext
 16020  cat >>conftest.$ac_ext <<_ACEOF
 16021  /* end confdefs.h.  */
 16022  #include <$ac_header>
 16023  _ACEOF
 16024  if { (ac_try="$ac_cpp conftest.$ac_ext"
 16025  case "(($ac_try" in
 16026    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16027    *) ac_try_echo=$ac_try;;
 16028  esac
 16029  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16030  $as_echo "$ac_try_echo") >&5
 16031    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 16032    ac_status=$?
 16033    grep -v '^ *+' conftest.er1 >conftest.err
 16034    rm -f conftest.er1
 16035    cat conftest.err >&5
 16036    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16037    (exit $ac_status); } >/dev/null && {
 16038  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 16039  	 test ! -s conftest.err
 16040         }; then
 16041    ac_header_preproc=yes
 16042  else
 16043    $as_echo "$as_me: failed program was:" >&5
 16044  sed 's/^/| /' conftest.$ac_ext >&5
 16045  
 16046    ac_header_preproc=no
 16047  fi
 16048  
 16049  rm -f conftest.err conftest.$ac_ext
 16050  { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 16051  $as_echo "$ac_header_preproc" >&6; }
 16052  
 16053  # So?  What about this header?
 16054  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 16055    yes:no: )
 16056      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 16057  $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 16058      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 16059  $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 16060      ac_header_preproc=yes
 16061      ;;
 16062    no:yes:* )
 16063      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 16064  $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 16065      { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 16066  $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 16067      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 16068  $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 16069      { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 16070  $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 16071      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 16072  $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 16073      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 16074  $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 16075      ( cat <<\_ASBOX
 16076  ## --------------------------------------------- ##
 16077  ## Report this to google-gflags@googlegroups.com ##
 16078  ## --------------------------------------------- ##
 16079  _ASBOX
 16080       ) | sed "s/^/$as_me: WARNING:     /" >&2
 16081      ;;
 16082  esac
 16083  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 16084  $as_echo_n "checking for $ac_header... " >&6; }
 16085  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 16086    $as_echo_n "(cached) " >&6
 16087  else
 16088    eval "$as_ac_Header=\$ac_header_preproc"
 16089  fi
 16090  ac_res=`eval 'as_val=${'$as_ac_Header'}
 16091  		 $as_echo "$as_val"'`
 16092  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 16093  $as_echo "$ac_res" >&6; }
 16094  
 16095  fi
 16096  if test `eval 'as_val=${'$as_ac_Header'}
 16097  		 $as_echo "$as_val"'` = yes; then
 16098    cat >>confdefs.h <<_ACEOF
 16099  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 16100  _ACEOF
 16101  
 16102  fi
 16103  
 16104  done
 16105  
 16106  
 16107  for ac_header in sys/stat.h
 16108  do
 16109  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 16110  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 16111    { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 16112  $as_echo_n "checking for $ac_header... " >&6; }
 16113  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 16114    $as_echo_n "(cached) " >&6
 16115  fi
 16116  ac_res=`eval 'as_val=${'$as_ac_Header'}
 16117  		 $as_echo "$as_val"'`
 16118  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 16119  $as_echo "$ac_res" >&6; }
 16120  else
 16121    # Is the header compilable?
 16122  { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 16123  $as_echo_n "checking $ac_header usability... " >&6; }
 16124  cat >conftest.$ac_ext <<_ACEOF
 16125  /* confdefs.h.  */
 16126  _ACEOF
 16127  cat confdefs.h >>conftest.$ac_ext
 16128  cat >>conftest.$ac_ext <<_ACEOF
 16129  /* end confdefs.h.  */
 16130  $ac_includes_default
 16131  #include <$ac_header>
 16132  _ACEOF
 16133  rm -f conftest.$ac_objext
 16134  if { (ac_try="$ac_compile"
 16135  case "(($ac_try" in
 16136    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16137    *) ac_try_echo=$ac_try;;
 16138  esac
 16139  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16140  $as_echo "$ac_try_echo") >&5
 16141    (eval "$ac_compile") 2>conftest.er1
 16142    ac_status=$?
 16143    grep -v '^ *+' conftest.er1 >conftest.err
 16144    rm -f conftest.er1
 16145    cat conftest.err >&5
 16146    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16147    (exit $ac_status); } && {
 16148  	 test -z "$ac_c_werror_flag" ||
 16149  	 test ! -s conftest.err
 16150         } && test -s conftest.$ac_objext; then
 16151    ac_header_compiler=yes
 16152  else
 16153    $as_echo "$as_me: failed program was:" >&5
 16154  sed 's/^/| /' conftest.$ac_ext >&5
 16155  
 16156  	ac_header_compiler=no
 16157  fi
 16158  
 16159  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16160  { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 16161  $as_echo "$ac_header_compiler" >&6; }
 16162  
 16163  # Is the header present?
 16164  { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 16165  $as_echo_n "checking $ac_header presence... " >&6; }
 16166  cat >conftest.$ac_ext <<_ACEOF
 16167  /* confdefs.h.  */
 16168  _ACEOF
 16169  cat confdefs.h >>conftest.$ac_ext
 16170  cat >>conftest.$ac_ext <<_ACEOF
 16171  /* end confdefs.h.  */
 16172  #include <$ac_header>
 16173  _ACEOF
 16174  if { (ac_try="$ac_cpp conftest.$ac_ext"
 16175  case "(($ac_try" in
 16176    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16177    *) ac_try_echo=$ac_try;;
 16178  esac
 16179  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16180  $as_echo "$ac_try_echo") >&5
 16181    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 16182    ac_status=$?
 16183    grep -v '^ *+' conftest.er1 >conftest.err
 16184    rm -f conftest.er1
 16185    cat conftest.err >&5
 16186    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16187    (exit $ac_status); } >/dev/null && {
 16188  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 16189  	 test ! -s conftest.err
 16190         }; then
 16191    ac_header_preproc=yes
 16192  else
 16193    $as_echo "$as_me: failed program was:" >&5
 16194  sed 's/^/| /' conftest.$ac_ext >&5
 16195  
 16196    ac_header_preproc=no
 16197  fi
 16198  
 16199  rm -f conftest.err conftest.$ac_ext
 16200  { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 16201  $as_echo "$ac_header_preproc" >&6; }
 16202  
 16203  # So?  What about this header?
 16204  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 16205    yes:no: )
 16206      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 16207  $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 16208      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 16209  $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 16210      ac_header_preproc=yes
 16211      ;;
 16212    no:yes:* )
 16213      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 16214  $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 16215      { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 16216  $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 16217      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 16218  $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 16219      { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 16220  $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 16221      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 16222  $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 16223      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 16224  $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 16225      ( cat <<\_ASBOX
 16226  ## --------------------------------------------- ##
 16227  ## Report this to google-gflags@googlegroups.com ##
 16228  ## --------------------------------------------- ##
 16229  _ASBOX
 16230       ) | sed "s/^/$as_me: WARNING:     /" >&2
 16231      ;;
 16232  esac
 16233  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 16234  $as_echo_n "checking for $ac_header... " >&6; }
 16235  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 16236    $as_echo_n "(cached) " >&6
 16237  else
 16238    eval "$as_ac_Header=\$ac_header_preproc"
 16239  fi
 16240  ac_res=`eval 'as_val=${'$as_ac_Header'}
 16241  		 $as_echo "$as_val"'`
 16242  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 16243  $as_echo "$ac_res" >&6; }
 16244  
 16245  fi
 16246  if test `eval 'as_val=${'$as_ac_Header'}
 16247  		 $as_echo "$as_val"'` = yes; then
 16248    cat >>confdefs.h <<_ACEOF
 16249  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 16250  _ACEOF
 16251  
 16252  fi
 16253  
 16254  done
 16255  
 16256  
 16257  for ac_header in unistd.h
 16258  do
 16259  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 16260  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 16261    { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 16262  $as_echo_n "checking for $ac_header... " >&6; }
 16263  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 16264    $as_echo_n "(cached) " >&6
 16265  fi
 16266  ac_res=`eval 'as_val=${'$as_ac_Header'}
 16267  		 $as_echo "$as_val"'`
 16268  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 16269  $as_echo "$ac_res" >&6; }
 16270  else
 16271    # Is the header compilable?
 16272  { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 16273  $as_echo_n "checking $ac_header usability... " >&6; }
 16274  cat >conftest.$ac_ext <<_ACEOF
 16275  /* confdefs.h.  */
 16276  _ACEOF
 16277  cat confdefs.h >>conftest.$ac_ext
 16278  cat >>conftest.$ac_ext <<_ACEOF
 16279  /* end confdefs.h.  */
 16280  $ac_includes_default
 16281  #include <$ac_header>
 16282  _ACEOF
 16283  rm -f conftest.$ac_objext
 16284  if { (ac_try="$ac_compile"
 16285  case "(($ac_try" in
 16286    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16287    *) ac_try_echo=$ac_try;;
 16288  esac
 16289  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16290  $as_echo "$ac_try_echo") >&5
 16291    (eval "$ac_compile") 2>conftest.er1
 16292    ac_status=$?
 16293    grep -v '^ *+' conftest.er1 >conftest.err
 16294    rm -f conftest.er1
 16295    cat conftest.err >&5
 16296    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16297    (exit $ac_status); } && {
 16298  	 test -z "$ac_c_werror_flag" ||
 16299  	 test ! -s conftest.err
 16300         } && test -s conftest.$ac_objext; then
 16301    ac_header_compiler=yes
 16302  else
 16303    $as_echo "$as_me: failed program was:" >&5
 16304  sed 's/^/| /' conftest.$ac_ext >&5
 16305  
 16306  	ac_header_compiler=no
 16307  fi
 16308  
 16309  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16310  { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 16311  $as_echo "$ac_header_compiler" >&6; }
 16312  
 16313  # Is the header present?
 16314  { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 16315  $as_echo_n "checking $ac_header presence... " >&6; }
 16316  cat >conftest.$ac_ext <<_ACEOF
 16317  /* confdefs.h.  */
 16318  _ACEOF
 16319  cat confdefs.h >>conftest.$ac_ext
 16320  cat >>conftest.$ac_ext <<_ACEOF
 16321  /* end confdefs.h.  */
 16322  #include <$ac_header>
 16323  _ACEOF
 16324  if { (ac_try="$ac_cpp conftest.$ac_ext"
 16325  case "(($ac_try" in
 16326    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16327    *) ac_try_echo=$ac_try;;
 16328  esac
 16329  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16330  $as_echo "$ac_try_echo") >&5
 16331    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 16332    ac_status=$?
 16333    grep -v '^ *+' conftest.er1 >conftest.err
 16334    rm -f conftest.er1
 16335    cat conftest.err >&5
 16336    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16337    (exit $ac_status); } >/dev/null && {
 16338  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 16339  	 test ! -s conftest.err
 16340         }; then
 16341    ac_header_preproc=yes
 16342  else
 16343    $as_echo "$as_me: failed program was:" >&5
 16344  sed 's/^/| /' conftest.$ac_ext >&5
 16345  
 16346    ac_header_preproc=no
 16347  fi
 16348  
 16349  rm -f conftest.err conftest.$ac_ext
 16350  { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 16351  $as_echo "$ac_header_preproc" >&6; }
 16352  
 16353  # So?  What about this header?
 16354  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 16355    yes:no: )
 16356      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 16357  $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 16358      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 16359  $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 16360      ac_header_preproc=yes
 16361      ;;
 16362    no:yes:* )
 16363      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 16364  $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 16365      { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 16366  $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 16367      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 16368  $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 16369      { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 16370  $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 16371      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 16372  $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 16373      { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 16374  $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 16375      ( cat <<\_ASBOX
 16376  ## --------------------------------------------- ##
 16377  ## Report this to google-gflags@googlegroups.com ##
 16378  ## --------------------------------------------- ##
 16379  _ASBOX
 16380       ) | sed "s/^/$as_me: WARNING:     /" >&2
 16381      ;;
 16382  esac
 16383  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 16384  $as_echo_n "checking for $ac_header... " >&6; }
 16385  if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 16386    $as_echo_n "(cached) " >&6
 16387  else
 16388    eval "$as_ac_Header=\$ac_header_preproc"
 16389  fi
 16390  ac_res=`eval 'as_val=${'$as_ac_Header'}
 16391  		 $as_echo "$as_val"'`
 16392  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 16393  $as_echo "$ac_res" >&6; }
 16394  
 16395  fi
 16396  if test `eval 'as_val=${'$as_ac_Header'}
 16397  		 $as_echo "$as_val"'` = yes; then
 16398    cat >>confdefs.h <<_ACEOF
 16399  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 16400  _ACEOF
 16401  
 16402  fi
 16403  
 16404  done
 16405  
 16406  
 16407  # These are the types I need.  We look for them in either stdint.h,
 16408  # sys/types.h, or inttypes.h, all of which are part of the default-includes.
 16409  { $as_echo "$as_me:$LINENO: checking for uint16_t" >&5
 16410  $as_echo_n "checking for uint16_t... " >&6; }
 16411  if test "${ac_cv_type_uint16_t+set}" = set; then
 16412    $as_echo_n "(cached) " >&6
 16413  else
 16414    ac_cv_type_uint16_t=no
 16415  cat >conftest.$ac_ext <<_ACEOF
 16416  /* confdefs.h.  */
 16417  _ACEOF
 16418  cat confdefs.h >>conftest.$ac_ext
 16419  cat >>conftest.$ac_ext <<_ACEOF
 16420  /* end confdefs.h.  */
 16421  $ac_includes_default
 16422  int
 16423  main ()
 16424  {
 16425  if (sizeof (uint16_t))
 16426         return 0;
 16427    ;
 16428    return 0;
 16429  }
 16430  _ACEOF
 16431  rm -f conftest.$ac_objext
 16432  if { (ac_try="$ac_compile"
 16433  case "(($ac_try" in
 16434    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16435    *) ac_try_echo=$ac_try;;
 16436  esac
 16437  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16438  $as_echo "$ac_try_echo") >&5
 16439    (eval "$ac_compile") 2>conftest.er1
 16440    ac_status=$?
 16441    grep -v '^ *+' conftest.er1 >conftest.err
 16442    rm -f conftest.er1
 16443    cat conftest.err >&5
 16444    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16445    (exit $ac_status); } && {
 16446  	 test -z "$ac_c_werror_flag" ||
 16447  	 test ! -s conftest.err
 16448         } && test -s conftest.$ac_objext; then
 16449    cat >conftest.$ac_ext <<_ACEOF
 16450  /* confdefs.h.  */
 16451  _ACEOF
 16452  cat confdefs.h >>conftest.$ac_ext
 16453  cat >>conftest.$ac_ext <<_ACEOF
 16454  /* end confdefs.h.  */
 16455  $ac_includes_default
 16456  int
 16457  main ()
 16458  {
 16459  if (sizeof ((uint16_t)))
 16460  	  return 0;
 16461    ;
 16462    return 0;
 16463  }
 16464  _ACEOF
 16465  rm -f conftest.$ac_objext
 16466  if { (ac_try="$ac_compile"
 16467  case "(($ac_try" in
 16468    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16469    *) ac_try_echo=$ac_try;;
 16470  esac
 16471  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16472  $as_echo "$ac_try_echo") >&5
 16473    (eval "$ac_compile") 2>conftest.er1
 16474    ac_status=$?
 16475    grep -v '^ *+' conftest.er1 >conftest.err
 16476    rm -f conftest.er1
 16477    cat conftest.err >&5
 16478    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16479    (exit $ac_status); } && {
 16480  	 test -z "$ac_c_werror_flag" ||
 16481  	 test ! -s conftest.err
 16482         } && test -s conftest.$ac_objext; then
 16483    :
 16484  else
 16485    $as_echo "$as_me: failed program was:" >&5
 16486  sed 's/^/| /' conftest.$ac_ext >&5
 16487  
 16488  	ac_cv_type_uint16_t=yes
 16489  fi
 16490  
 16491  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16492  else
 16493    $as_echo "$as_me: failed program was:" >&5
 16494  sed 's/^/| /' conftest.$ac_ext >&5
 16495  
 16496  
 16497  fi
 16498  
 16499  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16500  fi
 16501  { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint16_t" >&5
 16502  $as_echo "$ac_cv_type_uint16_t" >&6; }
 16503  if test $ac_cv_type_uint16_t = yes; then
 16504    ac_cv_have_uint16_t=1
 16505  else
 16506    ac_cv_have_uint16_t=0
 16507  fi
 16508  
 16509  { $as_echo "$as_me:$LINENO: checking for u_int16_t" >&5
 16510  $as_echo_n "checking for u_int16_t... " >&6; }
 16511  if test "${ac_cv_type_u_int16_t+set}" = set; then
 16512    $as_echo_n "(cached) " >&6
 16513  else
 16514    ac_cv_type_u_int16_t=no
 16515  cat >conftest.$ac_ext <<_ACEOF
 16516  /* confdefs.h.  */
 16517  _ACEOF
 16518  cat confdefs.h >>conftest.$ac_ext
 16519  cat >>conftest.$ac_ext <<_ACEOF
 16520  /* end confdefs.h.  */
 16521  $ac_includes_default
 16522  int
 16523  main ()
 16524  {
 16525  if (sizeof (u_int16_t))
 16526         return 0;
 16527    ;
 16528    return 0;
 16529  }
 16530  _ACEOF
 16531  rm -f conftest.$ac_objext
 16532  if { (ac_try="$ac_compile"
 16533  case "(($ac_try" in
 16534    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16535    *) ac_try_echo=$ac_try;;
 16536  esac
 16537  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16538  $as_echo "$ac_try_echo") >&5
 16539    (eval "$ac_compile") 2>conftest.er1
 16540    ac_status=$?
 16541    grep -v '^ *+' conftest.er1 >conftest.err
 16542    rm -f conftest.er1
 16543    cat conftest.err >&5
 16544    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16545    (exit $ac_status); } && {
 16546  	 test -z "$ac_c_werror_flag" ||
 16547  	 test ! -s conftest.err
 16548         } && test -s conftest.$ac_objext; then
 16549    cat >conftest.$ac_ext <<_ACEOF
 16550  /* confdefs.h.  */
 16551  _ACEOF
 16552  cat confdefs.h >>conftest.$ac_ext
 16553  cat >>conftest.$ac_ext <<_ACEOF
 16554  /* end confdefs.h.  */
 16555  $ac_includes_default
 16556  int
 16557  main ()
 16558  {
 16559  if (sizeof ((u_int16_t)))
 16560  	  return 0;
 16561    ;
 16562    return 0;
 16563  }
 16564  _ACEOF
 16565  rm -f conftest.$ac_objext
 16566  if { (ac_try="$ac_compile"
 16567  case "(($ac_try" in
 16568    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16569    *) ac_try_echo=$ac_try;;
 16570  esac
 16571  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16572  $as_echo "$ac_try_echo") >&5
 16573    (eval "$ac_compile") 2>conftest.er1
 16574    ac_status=$?
 16575    grep -v '^ *+' conftest.er1 >conftest.err
 16576    rm -f conftest.er1
 16577    cat conftest.err >&5
 16578    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16579    (exit $ac_status); } && {
 16580  	 test -z "$ac_c_werror_flag" ||
 16581  	 test ! -s conftest.err
 16582         } && test -s conftest.$ac_objext; then
 16583    :
 16584  else
 16585    $as_echo "$as_me: failed program was:" >&5
 16586  sed 's/^/| /' conftest.$ac_ext >&5
 16587  
 16588  	ac_cv_type_u_int16_t=yes
 16589  fi
 16590  
 16591  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16592  else
 16593    $as_echo "$as_me: failed program was:" >&5
 16594  sed 's/^/| /' conftest.$ac_ext >&5
 16595  
 16596  
 16597  fi
 16598  
 16599  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16600  fi
 16601  { $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
 16602  $as_echo "$ac_cv_type_u_int16_t" >&6; }
 16603  if test $ac_cv_type_u_int16_t = yes; then
 16604    ac_cv_have_u_int16_t=1
 16605  else
 16606    ac_cv_have_u_int16_t=0
 16607  fi
 16608  
 16609  { $as_echo "$as_me:$LINENO: checking for __int16" >&5
 16610  $as_echo_n "checking for __int16... " >&6; }
 16611  if test "${ac_cv_type___int16+set}" = set; then
 16612    $as_echo_n "(cached) " >&6
 16613  else
 16614    ac_cv_type___int16=no
 16615  cat >conftest.$ac_ext <<_ACEOF
 16616  /* confdefs.h.  */
 16617  _ACEOF
 16618  cat confdefs.h >>conftest.$ac_ext
 16619  cat >>conftest.$ac_ext <<_ACEOF
 16620  /* end confdefs.h.  */
 16621  $ac_includes_default
 16622  int
 16623  main ()
 16624  {
 16625  if (sizeof (__int16))
 16626         return 0;
 16627    ;
 16628    return 0;
 16629  }
 16630  _ACEOF
 16631  rm -f conftest.$ac_objext
 16632  if { (ac_try="$ac_compile"
 16633  case "(($ac_try" in
 16634    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16635    *) ac_try_echo=$ac_try;;
 16636  esac
 16637  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16638  $as_echo "$ac_try_echo") >&5
 16639    (eval "$ac_compile") 2>conftest.er1
 16640    ac_status=$?
 16641    grep -v '^ *+' conftest.er1 >conftest.err
 16642    rm -f conftest.er1
 16643    cat conftest.err >&5
 16644    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16645    (exit $ac_status); } && {
 16646  	 test -z "$ac_c_werror_flag" ||
 16647  	 test ! -s conftest.err
 16648         } && test -s conftest.$ac_objext; then
 16649    cat >conftest.$ac_ext <<_ACEOF
 16650  /* confdefs.h.  */
 16651  _ACEOF
 16652  cat confdefs.h >>conftest.$ac_ext
 16653  cat >>conftest.$ac_ext <<_ACEOF
 16654  /* end confdefs.h.  */
 16655  $ac_includes_default
 16656  int
 16657  main ()
 16658  {
 16659  if (sizeof ((__int16)))
 16660  	  return 0;
 16661    ;
 16662    return 0;
 16663  }
 16664  _ACEOF
 16665  rm -f conftest.$ac_objext
 16666  if { (ac_try="$ac_compile"
 16667  case "(($ac_try" in
 16668    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16669    *) ac_try_echo=$ac_try;;
 16670  esac
 16671  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16672  $as_echo "$ac_try_echo") >&5
 16673    (eval "$ac_compile") 2>conftest.er1
 16674    ac_status=$?
 16675    grep -v '^ *+' conftest.er1 >conftest.err
 16676    rm -f conftest.er1
 16677    cat conftest.err >&5
 16678    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16679    (exit $ac_status); } && {
 16680  	 test -z "$ac_c_werror_flag" ||
 16681  	 test ! -s conftest.err
 16682         } && test -s conftest.$ac_objext; then
 16683    :
 16684  else
 16685    $as_echo "$as_me: failed program was:" >&5
 16686  sed 's/^/| /' conftest.$ac_ext >&5
 16687  
 16688  	ac_cv_type___int16=yes
 16689  fi
 16690  
 16691  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16692  else
 16693    $as_echo "$as_me: failed program was:" >&5
 16694  sed 's/^/| /' conftest.$ac_ext >&5
 16695  
 16696  
 16697  fi
 16698  
 16699  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16700  fi
 16701  { $as_echo "$as_me:$LINENO: result: $ac_cv_type___int16" >&5
 16702  $as_echo "$ac_cv_type___int16" >&6; }
 16703  if test $ac_cv_type___int16 = yes; then
 16704    ac_cv_have___int16=1
 16705  else
 16706    ac_cv_have___int16=0
 16707  fi
 16708  
 16709  
 16710  
 16711  
 16712  for ac_func in strtoll strtoq
 16713  do
 16714  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 16715  { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 16716  $as_echo_n "checking for $ac_func... " >&6; }
 16717  if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 16718    $as_echo_n "(cached) " >&6
 16719  else
 16720    cat >conftest.$ac_ext <<_ACEOF
 16721  /* confdefs.h.  */
 16722  _ACEOF
 16723  cat confdefs.h >>conftest.$ac_ext
 16724  cat >>conftest.$ac_ext <<_ACEOF
 16725  /* end confdefs.h.  */
 16726  /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 16727     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 16728  #define $ac_func innocuous_$ac_func
 16729  
 16730  /* System header to define __stub macros and hopefully few prototypes,
 16731      which can conflict with char $ac_func (); below.
 16732      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 16733      <limits.h> exists even on freestanding compilers.  */
 16734  
 16735  #ifdef __STDC__
 16736  # include <limits.h>
 16737  #else
 16738  # include <assert.h>
 16739  #endif
 16740  
 16741  #undef $ac_func
 16742  
 16743  /* Override any GCC internal prototype to avoid an error.
 16744     Use char because int might match the return type of a GCC
 16745     builtin and then its argument prototype would still apply.  */
 16746  #ifdef __cplusplus
 16747  extern "C"
 16748  #endif
 16749  char $ac_func ();
 16750  /* The GNU C library defines this for functions which it implements
 16751      to always fail with ENOSYS.  Some functions are actually named
 16752      something starting with __ and the normal name is an alias.  */
 16753  #if defined __stub_$ac_func || defined __stub___$ac_func
 16754  choke me
 16755  #endif
 16756  
 16757  int
 16758  main ()
 16759  {
 16760  return $ac_func ();
 16761    ;
 16762    return 0;
 16763  }
 16764  _ACEOF
 16765  rm -f conftest.$ac_objext conftest$ac_exeext
 16766  if { (ac_try="$ac_link"
 16767  case "(($ac_try" in
 16768    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16769    *) ac_try_echo=$ac_try;;
 16770  esac
 16771  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16772  $as_echo "$ac_try_echo") >&5
 16773    (eval "$ac_link") 2>conftest.er1
 16774    ac_status=$?
 16775    grep -v '^ *+' conftest.er1 >conftest.err
 16776    rm -f conftest.er1
 16777    cat conftest.err >&5
 16778    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16779    (exit $ac_status); } && {
 16780  	 test -z "$ac_c_werror_flag" ||
 16781  	 test ! -s conftest.err
 16782         } && test -s conftest$ac_exeext && {
 16783  	 test "$cross_compiling" = yes ||
 16784  	 $as_test_x conftest$ac_exeext
 16785         }; then
 16786    eval "$as_ac_var=yes"
 16787  else
 16788    $as_echo "$as_me: failed program was:" >&5
 16789  sed 's/^/| /' conftest.$ac_ext >&5
 16790  
 16791  	eval "$as_ac_var=no"
 16792  fi
 16793  
 16794  rm -rf conftest.dSYM
 16795  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 16796        conftest$ac_exeext conftest.$ac_ext
 16797  fi
 16798  ac_res=`eval 'as_val=${'$as_ac_var'}
 16799  		 $as_echo "$as_val"'`
 16800  	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 16801  $as_echo "$ac_res" >&6; }
 16802  if test `eval 'as_val=${'$as_ac_var'}
 16803  		 $as_echo "$as_val"'` = yes; then
 16804    cat >>confdefs.h <<_ACEOF
 16805  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 16806  _ACEOF
 16807  
 16808  fi
 16809  done
 16810  
 16811  
 16812  
 16813    { $as_echo "$as_me:$LINENO: checking for __attribute__" >&5
 16814  $as_echo_n "checking for __attribute__... " >&6; }
 16815    if test "${ac_cv___attribute__+set}" = set; then
 16816    $as_echo_n "(cached) " >&6
 16817  else
 16818  
 16819      cat >conftest.$ac_ext <<_ACEOF
 16820  /* confdefs.h.  */
 16821  _ACEOF
 16822  cat confdefs.h >>conftest.$ac_ext
 16823  cat >>conftest.$ac_ext <<_ACEOF
 16824  /* end confdefs.h.  */
 16825  #include <stdlib.h>
 16826         static void foo(void) __attribute__ ((unused));
 16827         void foo(void) { exit(1); }
 16828  int
 16829  main ()
 16830  {
 16831  
 16832    ;
 16833    return 0;
 16834  }
 16835  _ACEOF
 16836  rm -f conftest.$ac_objext
 16837  if { (ac_try="$ac_compile"
 16838  case "(($ac_try" in
 16839    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16840    *) ac_try_echo=$ac_try;;
 16841  esac
 16842  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16843  $as_echo "$ac_try_echo") >&5
 16844    (eval "$ac_compile") 2>conftest.er1
 16845    ac_status=$?
 16846    grep -v '^ *+' conftest.er1 >conftest.err
 16847    rm -f conftest.er1
 16848    cat conftest.err >&5
 16849    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16850    (exit $ac_status); } && {
 16851  	 test -z "$ac_c_werror_flag" ||
 16852  	 test ! -s conftest.err
 16853         } && test -s conftest.$ac_objext; then
 16854    ac_cv___attribute__=yes
 16855  else
 16856    $as_echo "$as_me: failed program was:" >&5
 16857  sed 's/^/| /' conftest.$ac_ext >&5
 16858  
 16859  	ac_cv___attribute__=no
 16860  
 16861  fi
 16862  
 16863  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 16864  fi
 16865  
 16866    if test "$ac_cv___attribute__" = "yes"; then
 16867  
 16868  cat >>confdefs.h <<\_ACEOF
 16869  #define HAVE___ATTRIBUTE__ 1
 16870  _ACEOF
 16871  
 16872    fi
 16873    { $as_echo "$as_me:$LINENO: result: $ac_cv___attribute__" >&5
 16874  $as_echo "$ac_cv___attribute__" >&6; }
 16875  
 16876  # We only care about __attribute__ ((unused))
 16877  if test x"$ac_cv___attribute__" = x"yes"; then
 16878    ac_cv___attribute__unused="__attribute__ ((unused))"
 16879  else
 16880    ac_cv___attribute__unused=
 16881  fi
 16882  
 16883  
 16884  
 16885  
 16886  ac_ext=c
 16887  ac_cpp='$CPP $CPPFLAGS'
 16888  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 16889  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 16890  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 16891  
 16892  acx_pthread_ok=no
 16893  
 16894  # We used to check for pthread.h first, but this fails if pthread.h
 16895  # requires special compiler flags (e.g. on True64 or Sequent).
 16896  # It gets checked for in the link test anyway.
 16897  
 16898  # First of all, check if the user has set any of the PTHREAD_LIBS,
 16899  # etcetera environment variables, and if threads linking works using
 16900  # them:
 16901  if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
 16902          save_CFLAGS="$CFLAGS"
 16903          CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 16904          save_LIBS="$LIBS"
 16905          LIBS="$PTHREAD_LIBS $LIBS"
 16906          { $as_echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
 16907  $as_echo_n "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... " >&6; }
 16908          cat >conftest.$ac_ext <<_ACEOF
 16909  /* confdefs.h.  */
 16910  _ACEOF
 16911  cat confdefs.h >>conftest.$ac_ext
 16912  cat >>conftest.$ac_ext <<_ACEOF
 16913  /* end confdefs.h.  */
 16914  
 16915  /* Override any GCC internal prototype to avoid an error.
 16916     Use char because int might match the return type of a GCC
 16917     builtin and then its argument prototype would still apply.  */
 16918  #ifdef __cplusplus
 16919  extern "C"
 16920  #endif
 16921  char pthread_join ();
 16922  int
 16923  main ()
 16924  {
 16925  return pthread_join ();
 16926    ;
 16927    return 0;
 16928  }
 16929  _ACEOF
 16930  rm -f conftest.$ac_objext conftest$ac_exeext
 16931  if { (ac_try="$ac_link"
 16932  case "(($ac_try" in
 16933    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 16934    *) ac_try_echo=$ac_try;;
 16935  esac
 16936  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 16937  $as_echo "$ac_try_echo") >&5
 16938    (eval "$ac_link") 2>conftest.er1
 16939    ac_status=$?
 16940    grep -v '^ *+' conftest.er1 >conftest.err
 16941    rm -f conftest.er1
 16942    cat conftest.err >&5
 16943    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 16944    (exit $ac_status); } && {
 16945  	 test -z "$ac_c_werror_flag" ||
 16946  	 test ! -s conftest.err
 16947         } && test -s conftest$ac_exeext && {
 16948  	 test "$cross_compiling" = yes ||
 16949  	 $as_test_x conftest$ac_exeext
 16950         }; then
 16951    acx_pthread_ok=yes
 16952  else
 16953    $as_echo "$as_me: failed program was:" >&5
 16954  sed 's/^/| /' conftest.$ac_ext >&5
 16955  
 16956  
 16957  fi
 16958  
 16959  rm -rf conftest.dSYM
 16960  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 16961        conftest$ac_exeext conftest.$ac_ext
 16962          { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
 16963  $as_echo "$acx_pthread_ok" >&6; }
 16964          if test x"$acx_pthread_ok" = xno; then
 16965                  PTHREAD_LIBS=""
 16966                  PTHREAD_CFLAGS=""
 16967          fi
 16968          LIBS="$save_LIBS"
 16969          CFLAGS="$save_CFLAGS"
 16970  fi
 16971  
 16972  # We must check for the threads library under a number of different
 16973  # names; the ordering is very important because some systems
 16974  # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
 16975  # libraries is broken (non-POSIX).
 16976  
 16977  # Create a list of thread flags to try.  Items starting with a "-" are
 16978  # C compiler flags, and other items are library names, except for "none"
 16979  # which indicates that we try without any flags at all, and "pthread-config"
 16980  # which is a program returning the flags for the Pth emulation library.
 16981  
 16982  acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
 16983  
 16984  # The ordering *is* (sometimes) important.  Some notes on the
 16985  # individual items follow:
 16986  
 16987  # pthreads: AIX (must check this before -lpthread)
 16988  # none: in case threads are in libc; should be tried before -Kthread and
 16989  #       other compiler flags to prevent continual compiler warnings
 16990  # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
 16991  # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
 16992  # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
 16993  # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
 16994  # -pthreads: Solaris/gcc
 16995  # -mthreads: Mingw32/gcc, Lynx/gcc
 16996  # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
 16997  #      doesn't hurt to check since this sometimes defines pthreads too;
 16998  #      also defines -D_REENTRANT)
 16999  #      ... -mt is also the pthreads flag for HP/aCC
 17000  # pthread: Linux, etcetera
 17001  # --thread-safe: KAI C++
 17002  # pthread-config: use pthread-config program (for GNU Pth library)
 17003  
 17004  case "${host_cpu}-${host_os}" in
 17005          *solaris*)
 17006  
 17007          # On Solaris (at least, for some versions), libc contains stubbed
 17008          # (non-functional) versions of the pthreads routines, so link-based
 17009          # tests will erroneously succeed.  (We need to link with -pthreads/-mt/
 17010          # -lpthread.)  (The stubs are missing pthread_cleanup_push, or rather
 17011          # a function called by this macro, so we could check for that, but
 17012          # who knows whether they'll stub that too in a future libc.)  So,
 17013          # we'll just look for -pthreads and -lpthread first:
 17014  
 17015          acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
 17016          ;;
 17017  esac
 17018  
 17019  if test x"$acx_pthread_ok" = xno; then
 17020  for flag in $acx_pthread_flags; do
 17021  
 17022          case $flag in
 17023                  none)
 17024                  { $as_echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
 17025  $as_echo_n "checking whether pthreads work without any flags... " >&6; }
 17026                  ;;
 17027  
 17028                  -*)
 17029                  { $as_echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
 17030  $as_echo_n "checking whether pthreads work with $flag... " >&6; }
 17031                  PTHREAD_CFLAGS="$flag"
 17032                  ;;
 17033  
 17034  		pthread-config)
 17035  		# Extract the first word of "pthread-config", so it can be a program name with args.
 17036  set dummy pthread-config; ac_word=$2
 17037  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 17038  $as_echo_n "checking for $ac_word... " >&6; }
 17039  if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
 17040    $as_echo_n "(cached) " >&6
 17041  else
 17042    if test -n "$acx_pthread_config"; then
 17043    ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
 17044  else
 17045  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 17046  for as_dir in $PATH
 17047  do
 17048    IFS=$as_save_IFS
 17049    test -z "$as_dir" && as_dir=.
 17050    for ac_exec_ext in '' $ac_executable_extensions; do
 17051    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 17052      ac_cv_prog_acx_pthread_config="yes"
 17053      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 17054      break 2
 17055    fi
 17056  done
 17057  done
 17058  IFS=$as_save_IFS
 17059  
 17060    test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
 17061  fi
 17062  fi
 17063  acx_pthread_config=$ac_cv_prog_acx_pthread_config
 17064  if test -n "$acx_pthread_config"; then
 17065    { $as_echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
 17066  $as_echo "$acx_pthread_config" >&6; }
 17067  else
 17068    { $as_echo "$as_me:$LINENO: result: no" >&5
 17069  $as_echo "no" >&6; }
 17070  fi
 17071  
 17072  
 17073  		if test x"$acx_pthread_config" = xno; then continue; fi
 17074  		PTHREAD_CFLAGS="`pthread-config --cflags`"
 17075  		PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
 17076  		;;
 17077  
 17078                  *)
 17079                  { $as_echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
 17080  $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
 17081                  PTHREAD_LIBS="-l$flag"
 17082                  ;;
 17083          esac
 17084  
 17085          save_LIBS="$LIBS"
 17086          save_CFLAGS="$CFLAGS"
 17087          LIBS="$PTHREAD_LIBS $LIBS"
 17088          CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 17089  
 17090          # Check for various functions.  We must include pthread.h,
 17091          # since some functions may be macros.  (On the Sequent, we
 17092          # need a special flag -Kthread to make this header compile.)
 17093          # We check for pthread_join because it is in -lpthread on IRIX
 17094          # while pthread_create is in libc.  We check for pthread_attr_init
 17095          # due to DEC craziness with -lpthreads.  We check for
 17096          # pthread_cleanup_push because it is one of the few pthread
 17097          # functions on Solaris that doesn't have a non-functional libc stub.
 17098          # We try pthread_create on general principles.
 17099          cat >conftest.$ac_ext <<_ACEOF
 17100  /* confdefs.h.  */
 17101  _ACEOF
 17102  cat confdefs.h >>conftest.$ac_ext
 17103  cat >>conftest.$ac_ext <<_ACEOF
 17104  /* end confdefs.h.  */
 17105  #include <pthread.h>
 17106  int
 17107  main ()
 17108  {
 17109  pthread_t th; pthread_join(th, 0);
 17110                       pthread_attr_init(0); pthread_cleanup_push(0, 0);
 17111                       pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 17112    ;
 17113    return 0;
 17114  }
 17115  _ACEOF
 17116  rm -f conftest.$ac_objext conftest$ac_exeext
 17117  if { (ac_try="$ac_link"
 17118  case "(($ac_try" in
 17119    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17120    *) ac_try_echo=$ac_try;;
 17121  esac
 17122  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17123  $as_echo "$ac_try_echo") >&5
 17124    (eval "$ac_link") 2>conftest.er1
 17125    ac_status=$?
 17126    grep -v '^ *+' conftest.er1 >conftest.err
 17127    rm -f conftest.er1
 17128    cat conftest.err >&5
 17129    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17130    (exit $ac_status); } && {
 17131  	 test -z "$ac_c_werror_flag" ||
 17132  	 test ! -s conftest.err
 17133         } && test -s conftest$ac_exeext && {
 17134  	 test "$cross_compiling" = yes ||
 17135  	 $as_test_x conftest$ac_exeext
 17136         }; then
 17137    acx_pthread_ok=yes
 17138  else
 17139    $as_echo "$as_me: failed program was:" >&5
 17140  sed 's/^/| /' conftest.$ac_ext >&5
 17141  
 17142  
 17143  fi
 17144  
 17145  rm -rf conftest.dSYM
 17146  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17147        conftest$ac_exeext conftest.$ac_ext
 17148  
 17149          LIBS="$save_LIBS"
 17150          CFLAGS="$save_CFLAGS"
 17151  
 17152          { $as_echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
 17153  $as_echo "$acx_pthread_ok" >&6; }
 17154          if test "x$acx_pthread_ok" = xyes; then
 17155                  break;
 17156          fi
 17157  
 17158          PTHREAD_LIBS=""
 17159          PTHREAD_CFLAGS=""
 17160  done
 17161  fi
 17162  
 17163  # Various other checks:
 17164  if test "x$acx_pthread_ok" = xyes; then
 17165          save_LIBS="$LIBS"
 17166          LIBS="$PTHREAD_LIBS $LIBS"
 17167          save_CFLAGS="$CFLAGS"
 17168          CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 17169  
 17170          # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
 17171  	{ $as_echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
 17172  $as_echo_n "checking for joinable pthread attribute... " >&6; }
 17173  	attr_name=unknown
 17174  	for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
 17175  	    cat >conftest.$ac_ext <<_ACEOF
 17176  /* confdefs.h.  */
 17177  _ACEOF
 17178  cat confdefs.h >>conftest.$ac_ext
 17179  cat >>conftest.$ac_ext <<_ACEOF
 17180  /* end confdefs.h.  */
 17181  #include <pthread.h>
 17182  int
 17183  main ()
 17184  {
 17185  int attr=$attr; return attr;
 17186    ;
 17187    return 0;
 17188  }
 17189  _ACEOF
 17190  rm -f conftest.$ac_objext conftest$ac_exeext
 17191  if { (ac_try="$ac_link"
 17192  case "(($ac_try" in
 17193    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17194    *) ac_try_echo=$ac_try;;
 17195  esac
 17196  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17197  $as_echo "$ac_try_echo") >&5
 17198    (eval "$ac_link") 2>conftest.er1
 17199    ac_status=$?
 17200    grep -v '^ *+' conftest.er1 >conftest.err
 17201    rm -f conftest.er1
 17202    cat conftest.err >&5
 17203    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17204    (exit $ac_status); } && {
 17205  	 test -z "$ac_c_werror_flag" ||
 17206  	 test ! -s conftest.err
 17207         } && test -s conftest$ac_exeext && {
 17208  	 test "$cross_compiling" = yes ||
 17209  	 $as_test_x conftest$ac_exeext
 17210         }; then
 17211    attr_name=$attr; break
 17212  else
 17213    $as_echo "$as_me: failed program was:" >&5
 17214  sed 's/^/| /' conftest.$ac_ext >&5
 17215  
 17216  
 17217  fi
 17218  
 17219  rm -rf conftest.dSYM
 17220  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17221        conftest$ac_exeext conftest.$ac_ext
 17222  	done
 17223          { $as_echo "$as_me:$LINENO: result: $attr_name" >&5
 17224  $as_echo "$attr_name" >&6; }
 17225          if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
 17226  
 17227  cat >>confdefs.h <<_ACEOF
 17228  #define PTHREAD_CREATE_JOINABLE $attr_name
 17229  _ACEOF
 17230  
 17231          fi
 17232  
 17233          { $as_echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
 17234  $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
 17235          flag=no
 17236          case "${host_cpu}-${host_os}" in
 17237              *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
 17238              *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
 17239          esac
 17240          { $as_echo "$as_me:$LINENO: result: ${flag}" >&5
 17241  $as_echo "${flag}" >&6; }
 17242          if test "x$flag" != xno; then
 17243              PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
 17244          fi
 17245  
 17246          LIBS="$save_LIBS"
 17247          CFLAGS="$save_CFLAGS"
 17248          # More AIX lossage: must compile with xlc_r or cc_r
 17249  	if test x"$GCC" != xyes; then
 17250            for ac_prog in xlc_r cc_r
 17251  do
 17252    # Extract the first word of "$ac_prog", so it can be a program name with args.
 17253  set dummy $ac_prog; ac_word=$2
 17254  { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 17255  $as_echo_n "checking for $ac_word... " >&6; }
 17256  if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
 17257    $as_echo_n "(cached) " >&6
 17258  else
 17259    if test -n "$PTHREAD_CC"; then
 17260    ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
 17261  else
 17262  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 17263  for as_dir in $PATH
 17264  do
 17265    IFS=$as_save_IFS
 17266    test -z "$as_dir" && as_dir=.
 17267    for ac_exec_ext in '' $ac_executable_extensions; do
 17268    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 17269      ac_cv_prog_PTHREAD_CC="$ac_prog"
 17270      $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 17271      break 2
 17272    fi
 17273  done
 17274  done
 17275  IFS=$as_save_IFS
 17276  
 17277  fi
 17278  fi
 17279  PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
 17280  if test -n "$PTHREAD_CC"; then
 17281    { $as_echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
 17282  $as_echo "$PTHREAD_CC" >&6; }
 17283  else
 17284    { $as_echo "$as_me:$LINENO: result: no" >&5
 17285  $as_echo "no" >&6; }
 17286  fi
 17287  
 17288  
 17289    test -n "$PTHREAD_CC" && break
 17290  done
 17291  test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
 17292  
 17293          else
 17294            PTHREAD_CC=$CC
 17295  	fi
 17296  
 17297  	# The next part tries to detect GCC inconsistency with -shared on some
 17298  	# architectures and systems. The problem is that in certain
 17299  	# configurations, when -shared is specified, GCC "forgets" to
 17300  	# internally use various flags which are still necessary.
 17301  
 17302  	#
 17303  	# Prepare the flags
 17304  	#
 17305  	save_CFLAGS="$CFLAGS"
 17306  	save_LIBS="$LIBS"
 17307  	save_CC="$CC"
 17308  
 17309  	# Try with the flags determined by the earlier checks.
 17310  	#
 17311  	# -Wl,-z,defs forces link-time symbol resolution, so that the
 17312  	# linking checks with -shared actually have any value
 17313  	#
 17314  	# FIXME: -fPIC is required for -shared on many architectures,
 17315  	# so we specify it here, but the right way would probably be to
 17316  	# properly detect whether it is actually required.
 17317  	CFLAGS="-shared -fPIC -Wl,-z,defs $CFLAGS $PTHREAD_CFLAGS"
 17318  	LIBS="$PTHREAD_LIBS $LIBS"
 17319  	CC="$PTHREAD_CC"
 17320  
 17321  	# In order not to create several levels of indentation, we test
 17322  	# the value of "$done" until we find the cure or run out of ideas.
 17323  	done="no"
 17324  
 17325  	# First, make sure the CFLAGS we added are actually accepted by our
 17326  	# compiler.  If not (and OS X's ld, for instance, does not accept -z),
 17327  	# then we can't do this test.
 17328  	if test x"$done" = xno; then
 17329  	   { $as_echo "$as_me:$LINENO: checking whether to check for GCC pthread/shared inconsistencies" >&5
 17330  $as_echo_n "checking whether to check for GCC pthread/shared inconsistencies... " >&6; }
 17331  	   cat >conftest.$ac_ext <<_ACEOF
 17332  /* confdefs.h.  */
 17333  _ACEOF
 17334  cat confdefs.h >>conftest.$ac_ext
 17335  cat >>conftest.$ac_ext <<_ACEOF
 17336  /* end confdefs.h.  */
 17337  
 17338  int
 17339  main ()
 17340  {
 17341  
 17342    ;
 17343    return 0;
 17344  }
 17345  _ACEOF
 17346  rm -f conftest.$ac_objext conftest$ac_exeext
 17347  if { (ac_try="$ac_link"
 17348  case "(($ac_try" in
 17349    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17350    *) ac_try_echo=$ac_try;;
 17351  esac
 17352  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17353  $as_echo "$ac_try_echo") >&5
 17354    (eval "$ac_link") 2>conftest.er1
 17355    ac_status=$?
 17356    grep -v '^ *+' conftest.er1 >conftest.err
 17357    rm -f conftest.er1
 17358    cat conftest.err >&5
 17359    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17360    (exit $ac_status); } && {
 17361  	 test -z "$ac_c_werror_flag" ||
 17362  	 test ! -s conftest.err
 17363         } && test -s conftest$ac_exeext && {
 17364  	 test "$cross_compiling" = yes ||
 17365  	 $as_test_x conftest$ac_exeext
 17366         }; then
 17367    :
 17368  else
 17369    $as_echo "$as_me: failed program was:" >&5
 17370  sed 's/^/| /' conftest.$ac_ext >&5
 17371  
 17372  	done=yes
 17373  fi
 17374  
 17375  rm -rf conftest.dSYM
 17376  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17377        conftest$ac_exeext conftest.$ac_ext
 17378  
 17379  	   if test "x$done" = xyes ; then
 17380  	      { $as_echo "$as_me:$LINENO: result: no" >&5
 17381  $as_echo "no" >&6; }
 17382  	   else
 17383  	      { $as_echo "$as_me:$LINENO: result: yes" >&5
 17384  $as_echo "yes" >&6; }
 17385  	   fi
 17386  	fi
 17387  
 17388  	if test x"$done" = xno; then
 17389  	   { $as_echo "$as_me:$LINENO: checking whether -pthread is sufficient with -shared" >&5
 17390  $as_echo_n "checking whether -pthread is sufficient with -shared... " >&6; }
 17391  	   cat >conftest.$ac_ext <<_ACEOF
 17392  /* confdefs.h.  */
 17393  _ACEOF
 17394  cat confdefs.h >>conftest.$ac_ext
 17395  cat >>conftest.$ac_ext <<_ACEOF
 17396  /* end confdefs.h.  */
 17397  #include <pthread.h>
 17398  int
 17399  main ()
 17400  {
 17401  pthread_t th; pthread_join(th, 0);
 17402  	      pthread_attr_init(0); pthread_cleanup_push(0, 0);
 17403  	      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 17404    ;
 17405    return 0;
 17406  }
 17407  _ACEOF
 17408  rm -f conftest.$ac_objext conftest$ac_exeext
 17409  if { (ac_try="$ac_link"
 17410  case "(($ac_try" in
 17411    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17412    *) ac_try_echo=$ac_try;;
 17413  esac
 17414  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17415  $as_echo "$ac_try_echo") >&5
 17416    (eval "$ac_link") 2>conftest.er1
 17417    ac_status=$?
 17418    grep -v '^ *+' conftest.er1 >conftest.err
 17419    rm -f conftest.er1
 17420    cat conftest.err >&5
 17421    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17422    (exit $ac_status); } && {
 17423  	 test -z "$ac_c_werror_flag" ||
 17424  	 test ! -s conftest.err
 17425         } && test -s conftest$ac_exeext && {
 17426  	 test "$cross_compiling" = yes ||
 17427  	 $as_test_x conftest$ac_exeext
 17428         }; then
 17429    done=yes
 17430  else
 17431    $as_echo "$as_me: failed program was:" >&5
 17432  sed 's/^/| /' conftest.$ac_ext >&5
 17433  
 17434  
 17435  fi
 17436  
 17437  rm -rf conftest.dSYM
 17438  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17439        conftest$ac_exeext conftest.$ac_ext
 17440  
 17441  	   if test "x$done" = xyes; then
 17442  	      { $as_echo "$as_me:$LINENO: result: yes" >&5
 17443  $as_echo "yes" >&6; }
 17444  	   else
 17445  	      { $as_echo "$as_me:$LINENO: result: no" >&5
 17446  $as_echo "no" >&6; }
 17447  	   fi
 17448  	fi
 17449  
 17450  	#
 17451  	# Linux gcc on some architectures such as mips/mipsel forgets
 17452  	# about -lpthread
 17453  	#
 17454  	if test x"$done" = xno; then
 17455  	   { $as_echo "$as_me:$LINENO: checking whether -lpthread fixes that" >&5
 17456  $as_echo_n "checking whether -lpthread fixes that... " >&6; }
 17457  	   LIBS="-lpthread $PTHREAD_LIBS $save_LIBS"
 17458  	   cat >conftest.$ac_ext <<_ACEOF
 17459  /* confdefs.h.  */
 17460  _ACEOF
 17461  cat confdefs.h >>conftest.$ac_ext
 17462  cat >>conftest.$ac_ext <<_ACEOF
 17463  /* end confdefs.h.  */
 17464  #include <pthread.h>
 17465  int
 17466  main ()
 17467  {
 17468  pthread_t th; pthread_join(th, 0);
 17469  	      pthread_attr_init(0); pthread_cleanup_push(0, 0);
 17470  	      pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 17471    ;
 17472    return 0;
 17473  }
 17474  _ACEOF
 17475  rm -f conftest.$ac_objext conftest$ac_exeext
 17476  if { (ac_try="$ac_link"
 17477  case "(($ac_try" in
 17478    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17479    *) ac_try_echo=$ac_try;;
 17480  esac
 17481  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17482  $as_echo "$ac_try_echo") >&5
 17483    (eval "$ac_link") 2>conftest.er1
 17484    ac_status=$?
 17485    grep -v '^ *+' conftest.er1 >conftest.err
 17486    rm -f conftest.er1
 17487    cat conftest.err >&5
 17488    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17489    (exit $ac_status); } && {
 17490  	 test -z "$ac_c_werror_flag" ||
 17491  	 test ! -s conftest.err
 17492         } && test -s conftest$ac_exeext && {
 17493  	 test "$cross_compiling" = yes ||
 17494  	 $as_test_x conftest$ac_exeext
 17495         }; then
 17496    done=yes
 17497  else
 17498    $as_echo "$as_me: failed program was:" >&5
 17499  sed 's/^/| /' conftest.$ac_ext >&5
 17500  
 17501  
 17502  fi
 17503  
 17504  rm -rf conftest.dSYM
 17505  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17506        conftest$ac_exeext conftest.$ac_ext
 17507  
 17508  	   if test "x$done" = xyes; then
 17509  	      { $as_echo "$as_me:$LINENO: result: yes" >&5
 17510  $as_echo "yes" >&6; }
 17511  	      PTHREAD_LIBS="-lpthread $PTHREAD_LIBS"
 17512  	   else
 17513  	      { $as_echo "$as_me:$LINENO: result: no" >&5
 17514  $as_echo "no" >&6; }
 17515  	   fi
 17516  	fi
 17517  	#
 17518  	# FreeBSD 4.10 gcc forgets to use -lc_r instead of -lc
 17519  	#
 17520  	if test x"$done" = xno; then
 17521  	   { $as_echo "$as_me:$LINENO: checking whether -lc_r fixes that" >&5
 17522  $as_echo_n "checking whether -lc_r fixes that... " >&6; }
 17523  	   LIBS="-lc_r $PTHREAD_LIBS $save_LIBS"
 17524  	   cat >conftest.$ac_ext <<_ACEOF
 17525  /* confdefs.h.  */
 17526  _ACEOF
 17527  cat confdefs.h >>conftest.$ac_ext
 17528  cat >>conftest.$ac_ext <<_ACEOF
 17529  /* end confdefs.h.  */
 17530  #include <pthread.h>
 17531  int
 17532  main ()
 17533  {
 17534  pthread_t th; pthread_join(th, 0);
 17535  	        pthread_attr_init(0); pthread_cleanup_push(0, 0);
 17536  	        pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 17537    ;
 17538    return 0;
 17539  }
 17540  _ACEOF
 17541  rm -f conftest.$ac_objext conftest$ac_exeext
 17542  if { (ac_try="$ac_link"
 17543  case "(($ac_try" in
 17544    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17545    *) ac_try_echo=$ac_try;;
 17546  esac
 17547  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17548  $as_echo "$ac_try_echo") >&5
 17549    (eval "$ac_link") 2>conftest.er1
 17550    ac_status=$?
 17551    grep -v '^ *+' conftest.er1 >conftest.err
 17552    rm -f conftest.er1
 17553    cat conftest.err >&5
 17554    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17555    (exit $ac_status); } && {
 17556  	 test -z "$ac_c_werror_flag" ||
 17557  	 test ! -s conftest.err
 17558         } && test -s conftest$ac_exeext && {
 17559  	 test "$cross_compiling" = yes ||
 17560  	 $as_test_x conftest$ac_exeext
 17561         }; then
 17562    done=yes
 17563  else
 17564    $as_echo "$as_me: failed program was:" >&5
 17565  sed 's/^/| /' conftest.$ac_ext >&5
 17566  
 17567  
 17568  fi
 17569  
 17570  rm -rf conftest.dSYM
 17571  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17572        conftest$ac_exeext conftest.$ac_ext
 17573  
 17574  	   if test "x$done" = xyes; then
 17575  	      { $as_echo "$as_me:$LINENO: result: yes" >&5
 17576  $as_echo "yes" >&6; }
 17577  	      PTHREAD_LIBS="-lc_r $PTHREAD_LIBS"
 17578  	   else
 17579  	      { $as_echo "$as_me:$LINENO: result: no" >&5
 17580  $as_echo "no" >&6; }
 17581  	   fi
 17582  	fi
 17583  	if test x"$done" = xno; then
 17584  	   # OK, we have run out of ideas
 17585  	   { $as_echo "$as_me:$LINENO: WARNING: Impossible to determine how to use pthreads with shared libraries" >&5
 17586  $as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries" >&2;}
 17587  
 17588  	   # so it's not safe to assume that we may use pthreads
 17589  	   acx_pthread_ok=no
 17590  	fi
 17591  
 17592  	{ $as_echo "$as_me:$LINENO: checking whether what we have so far is sufficient with -nostdlib" >&5
 17593  $as_echo_n "checking whether what we have so far is sufficient with -nostdlib... " >&6; }
 17594  	CFLAGS="-nostdlib $CFLAGS"
 17595  	# we need c with nostdlib
 17596  	LIBS="$LIBS -lc"
 17597  	cat >conftest.$ac_ext <<_ACEOF
 17598  /* confdefs.h.  */
 17599  _ACEOF
 17600  cat confdefs.h >>conftest.$ac_ext
 17601  cat >>conftest.$ac_ext <<_ACEOF
 17602  /* end confdefs.h.  */
 17603  #include <pthread.h>
 17604  int
 17605  main ()
 17606  {
 17607  pthread_t th; pthread_join(th, 0);
 17608  	       pthread_attr_init(0); pthread_cleanup_push(0, 0);
 17609  	       pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 17610    ;
 17611    return 0;
 17612  }
 17613  _ACEOF
 17614  rm -f conftest.$ac_objext conftest$ac_exeext
 17615  if { (ac_try="$ac_link"
 17616  case "(($ac_try" in
 17617    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17618    *) ac_try_echo=$ac_try;;
 17619  esac
 17620  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17621  $as_echo "$ac_try_echo") >&5
 17622    (eval "$ac_link") 2>conftest.er1
 17623    ac_status=$?
 17624    grep -v '^ *+' conftest.er1 >conftest.err
 17625    rm -f conftest.er1
 17626    cat conftest.err >&5
 17627    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17628    (exit $ac_status); } && {
 17629  	 test -z "$ac_c_werror_flag" ||
 17630  	 test ! -s conftest.err
 17631         } && test -s conftest$ac_exeext && {
 17632  	 test "$cross_compiling" = yes ||
 17633  	 $as_test_x conftest$ac_exeext
 17634         }; then
 17635    done=yes
 17636  else
 17637    $as_echo "$as_me: failed program was:" >&5
 17638  sed 's/^/| /' conftest.$ac_ext >&5
 17639  
 17640  	done=no
 17641  fi
 17642  
 17643  rm -rf conftest.dSYM
 17644  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17645        conftest$ac_exeext conftest.$ac_ext
 17646  
 17647  	if test "x$done" = xyes; then
 17648  	   { $as_echo "$as_me:$LINENO: result: yes" >&5
 17649  $as_echo "yes" >&6; }
 17650  	else
 17651  	   { $as_echo "$as_me:$LINENO: result: no" >&5
 17652  $as_echo "no" >&6; }
 17653  	fi
 17654  
 17655  	if test x"$done" = xno; then
 17656  	   { $as_echo "$as_me:$LINENO: checking whether -lpthread saves the day" >&5
 17657  $as_echo_n "checking whether -lpthread saves the day... " >&6; }
 17658  	   LIBS="-lpthread $LIBS"
 17659  	   cat >conftest.$ac_ext <<_ACEOF
 17660  /* confdefs.h.  */
 17661  _ACEOF
 17662  cat confdefs.h >>conftest.$ac_ext
 17663  cat >>conftest.$ac_ext <<_ACEOF
 17664  /* end confdefs.h.  */
 17665  #include <pthread.h>
 17666  int
 17667  main ()
 17668  {
 17669  pthread_t th; pthread_join(th, 0);
 17670  	       pthread_attr_init(0); pthread_cleanup_push(0, 0);
 17671  	       pthread_create(0,0,0,0); pthread_cleanup_pop(0);
 17672    ;
 17673    return 0;
 17674  }
 17675  _ACEOF
 17676  rm -f conftest.$ac_objext conftest$ac_exeext
 17677  if { (ac_try="$ac_link"
 17678  case "(($ac_try" in
 17679    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17680    *) ac_try_echo=$ac_try;;
 17681  esac
 17682  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17683  $as_echo "$ac_try_echo") >&5
 17684    (eval "$ac_link") 2>conftest.er1
 17685    ac_status=$?
 17686    grep -v '^ *+' conftest.er1 >conftest.err
 17687    rm -f conftest.er1
 17688    cat conftest.err >&5
 17689    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17690    (exit $ac_status); } && {
 17691  	 test -z "$ac_c_werror_flag" ||
 17692  	 test ! -s conftest.err
 17693         } && test -s conftest$ac_exeext && {
 17694  	 test "$cross_compiling" = yes ||
 17695  	 $as_test_x conftest$ac_exeext
 17696         }; then
 17697    done=yes
 17698  else
 17699    $as_echo "$as_me: failed program was:" >&5
 17700  sed 's/^/| /' conftest.$ac_ext >&5
 17701  
 17702  	done=no
 17703  fi
 17704  
 17705  rm -rf conftest.dSYM
 17706  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 17707        conftest$ac_exeext conftest.$ac_ext
 17708  
 17709  	   if test "x$done" = xyes; then
 17710  	      { $as_echo "$as_me:$LINENO: result: yes" >&5
 17711  $as_echo "yes" >&6; }
 17712  	      PTHREAD_LIBS="$PTHREAD_LIBS -lpthread"
 17713  	   else
 17714  	      { $as_echo "$as_me:$LINENO: result: no" >&5
 17715  $as_echo "no" >&6; }
 17716  	      { $as_echo "$as_me:$LINENO: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib" >&5
 17717  $as_echo "$as_me: WARNING: Impossible to determine how to use pthreads with shared libraries and -nostdlib" >&2;}
 17718  	   fi
 17719  	fi
 17720  
 17721  	CFLAGS="$save_CFLAGS"
 17722  	LIBS="$save_LIBS"
 17723  	CC="$save_CC"
 17724  else
 17725          PTHREAD_CC="$CC"
 17726  fi
 17727  
 17728  
 17729  
 17730  
 17731  
 17732  # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
 17733  if test x"$acx_pthread_ok" = xyes; then
 17734  
 17735  cat >>confdefs.h <<\_ACEOF
 17736  #define HAVE_PTHREAD 1
 17737  _ACEOF
 17738  
 17739          :
 17740  else
 17741          acx_pthread_ok=no
 17742  
 17743  fi
 17744  ac_ext=c
 17745  ac_cpp='$CPP $CPPFLAGS'
 17746  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 17747  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 17748  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 17749  
 17750  
 17751  
 17752  # Find out what namespace 'normal' STL code lives in, and also what namespace
 17753  # the user wants our classes to be defined in
 17754  { $as_echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
 17755  $as_echo_n "checking whether the compiler implements namespaces... " >&6; }
 17756  if test "${ac_cv_cxx_namespaces+set}" = set; then
 17757    $as_echo_n "(cached) " >&6
 17758  else
 17759  
 17760                    ac_ext=cpp
 17761  ac_cpp='$CXXCPP $CPPFLAGS'
 17762  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 17763  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 17764  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 17765  
 17766                    cat >conftest.$ac_ext <<_ACEOF
 17767  /* confdefs.h.  */
 17768  _ACEOF
 17769  cat confdefs.h >>conftest.$ac_ext
 17770  cat >>conftest.$ac_ext <<_ACEOF
 17771  /* end confdefs.h.  */
 17772  namespace Outer {
 17773                                      namespace Inner { int i = 0; }}
 17774  int
 17775  main ()
 17776  {
 17777  using namespace Outer::Inner; return i;
 17778    ;
 17779    return 0;
 17780  }
 17781  _ACEOF
 17782  rm -f conftest.$ac_objext
 17783  if { (ac_try="$ac_compile"
 17784  case "(($ac_try" in
 17785    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17786    *) ac_try_echo=$ac_try;;
 17787  esac
 17788  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17789  $as_echo "$ac_try_echo") >&5
 17790    (eval "$ac_compile") 2>conftest.er1
 17791    ac_status=$?
 17792    grep -v '^ *+' conftest.er1 >conftest.err
 17793    rm -f conftest.er1
 17794    cat conftest.err >&5
 17795    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17796    (exit $ac_status); } && {
 17797  	 test -z "$ac_cxx_werror_flag" ||
 17798  	 test ! -s conftest.err
 17799         } && test -s conftest.$ac_objext; then
 17800    ac_cv_cxx_namespaces=yes
 17801  else
 17802    $as_echo "$as_me: failed program was:" >&5
 17803  sed 's/^/| /' conftest.$ac_ext >&5
 17804  
 17805  	ac_cv_cxx_namespaces=no
 17806  fi
 17807  
 17808  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 17809                    ac_ext=c
 17810  ac_cpp='$CPP $CPPFLAGS'
 17811  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 17812  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 17813  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 17814  
 17815  fi
 17816  { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
 17817  $as_echo "$ac_cv_cxx_namespaces" >&6; }
 17818    if test "$ac_cv_cxx_namespaces" = yes; then
 17819  
 17820  cat >>confdefs.h <<\_ACEOF
 17821  #define HAVE_NAMESPACES 1
 17822  _ACEOF
 17823  
 17824    fi
 17825  { $as_echo "$as_me:$LINENO: checking what namespace STL code is in" >&5
 17826  $as_echo_n "checking what namespace STL code is in... " >&6; }
 17827  if test "${ac_cv_cxx_stl_namespace+set}" = set; then
 17828    $as_echo_n "(cached) " >&6
 17829  else
 17830  
 17831  
 17832        ac_ext=cpp
 17833  ac_cpp='$CXXCPP $CPPFLAGS'
 17834  ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 17835  ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 17836  ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
 17837  
 17838        cat >conftest.$ac_ext <<_ACEOF
 17839  /* confdefs.h.  */
 17840  _ACEOF
 17841  cat confdefs.h >>conftest.$ac_ext
 17842  cat >>conftest.$ac_ext <<_ACEOF
 17843  /* end confdefs.h.  */
 17844  #include <vector>
 17845  int
 17846  main ()
 17847  {
 17848  vector<int> t; return 0;
 17849    ;
 17850    return 0;
 17851  }
 17852  _ACEOF
 17853  rm -f conftest.$ac_objext
 17854  if { (ac_try="$ac_compile"
 17855  case "(($ac_try" in
 17856    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17857    *) ac_try_echo=$ac_try;;
 17858  esac
 17859  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17860  $as_echo "$ac_try_echo") >&5
 17861    (eval "$ac_compile") 2>conftest.er1
 17862    ac_status=$?
 17863    grep -v '^ *+' conftest.er1 >conftest.err
 17864    rm -f conftest.er1
 17865    cat conftest.err >&5
 17866    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17867    (exit $ac_status); } && {
 17868  	 test -z "$ac_cxx_werror_flag" ||
 17869  	 test ! -s conftest.err
 17870         } && test -s conftest.$ac_objext; then
 17871    ac_cv_cxx_stl_namespace=none
 17872  else
 17873    $as_echo "$as_me: failed program was:" >&5
 17874  sed 's/^/| /' conftest.$ac_ext >&5
 17875  
 17876  
 17877  fi
 17878  
 17879  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 17880        cat >conftest.$ac_ext <<_ACEOF
 17881  /* confdefs.h.  */
 17882  _ACEOF
 17883  cat confdefs.h >>conftest.$ac_ext
 17884  cat >>conftest.$ac_ext <<_ACEOF
 17885  /* end confdefs.h.  */
 17886  #include <vector>
 17887  int
 17888  main ()
 17889  {
 17890  std::vector<int> t; return 0;
 17891    ;
 17892    return 0;
 17893  }
 17894  _ACEOF
 17895  rm -f conftest.$ac_objext
 17896  if { (ac_try="$ac_compile"
 17897  case "(($ac_try" in
 17898    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 17899    *) ac_try_echo=$ac_try;;
 17900  esac
 17901  eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 17902  $as_echo "$ac_try_echo") >&5
 17903    (eval "$ac_compile") 2>conftest.er1
 17904    ac_status=$?
 17905    grep -v '^ *+' conftest.er1 >conftest.err
 17906    rm -f conftest.er1
 17907    cat conftest.err >&5
 17908    $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 17909    (exit $ac_status); } && {
 17910  	 test -z "$ac_cxx_werror_flag" ||
 17911  	 test ! -s conftest.err
 17912         } && test -s conftest.$ac_objext; then
 17913    ac_cv_cxx_stl_namespace=std
 17914  else
 17915    $as_echo "$as_me: failed program was:" >&5
 17916  sed 's/^/| /' conftest.$ac_ext >&5
 17917  
 17918  
 17919  fi
 17920  
 17921  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 17922        ac_ext=c
 17923  ac_cpp='$CPP $CPPFLAGS'
 17924  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 17925  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 17926  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 17927  
 17928  fi
 17929  { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_stl_namespace" >&5
 17930  $as_echo "$ac_cv_cxx_stl_namespace" >&6; }
 17931     if test "$ac_cv_cxx_stl_namespace" = none; then
 17932  
 17933  cat >>confdefs.h <<\_ACEOF
 17934  #define STL_NAMESPACE /**/
 17935  _ACEOF
 17936  
 17937     fi
 17938     if test "$ac_cv_cxx_stl_namespace" = std; then
 17939  
 17940  cat >>confdefs.h <<\_ACEOF
 17941  #define STL_NAMESPACE std
 17942  _ACEOF
 17943  
 17944     fi
 17945  
 17946  # TODO(csilvers): this should be renamed to gflags.
 17947  google_namespace_default=google
 17948     # Check whether --enable-namespace was given.
 17949  if test "${enable_namespace+set}" = set; then
 17950    enableval=$enable_namespace; case "$enableval" in
 17951                      yes) google_namespace="$google_namespace_default" ;;
 17952                       no) google_namespace="" ;;
 17953                        *) google_namespace="$enableval" ;;
 17954                    esac
 17955  else
 17956    google_namespace="$google_namespace_default"
 17957  fi
 17958  
 17959     if test -n "$google_namespace"; then
 17960       ac_google_namespace="::$google_namespace"
 17961       ac_google_start_namespace="namespace $google_namespace {"
 17962       ac_google_end_namespace="}"
 17963     else
 17964       ac_google_namespace=""
 17965       ac_google_start_namespace=""
 17966       ac_google_end_namespace=""
 17967     fi
 17968  
 17969  cat >>confdefs.h <<_ACEOF
 17970  #define GOOGLE_NAMESPACE $ac_google_namespace
 17971  _ACEOF
 17972  
 17973  
 17974  cat >>confdefs.h <<_ACEOF
 17975  #define _START_GOOGLE_NAMESPACE_ $ac_google_start_namespace
 17976  _ACEOF
 17977  
 17978  
 17979  cat >>confdefs.h <<_ACEOF
 17980  #define _END_GOOGLE_NAMESPACE_ $ac_google_end_namespace
 17981  _ACEOF
 17982  
 17983  
 17984  
 17985  # Solaris 10 6/06 has a bug where /usr/sfw/lib/libstdc++.la is empty.
 17986  # If so, we replace it with our own version.
 17987  LIBSTDCXX_LA_LINKER_FLAG=
 17988  if test -f /usr/sfw/lib/libstdc++.la && ! test -s /usr/sfw/lib/libstdc++.la
 17989  then
 17990    LIBSTDCXX_LA_LINKER_FLAG='-L$(top_srcdir)/src/solaris'
 17991  fi
 17992  
 17993  
 17994  # These are what's needed by gflags.h.in
 17995  
 17996  
 17997  
 17998  
 17999  
 18000  
 18001  
 18002  
 18003  
 18004  
 18005  
 18006  ## Check out ../autoconf/ for other macros you can call to do useful stuff
 18007  
 18008  # For windows, this has a non-trivial value (__declspec(export)), but any
 18009  # system that uses configure wants this to be the empty string.
 18010  
 18011  cat >>confdefs.h <<\_ACEOF
 18012  #define GFLAGS_DLL_DECL /**/
 18013  _ACEOF
 18014  
 18015  
 18016  # Write generated configuration file, and also .h files
 18017  ac_config_files="$ac_config_files Makefile src/gflags/gflags.h src/gflags/gflags_declare.h src/gflags/gflags_completions.h"
 18018  
 18019  cat >confcache <<\_ACEOF
 18020  # This file is a shell script that caches the results of configure
 18021  # tests run on this system so they can be shared between configure
 18022  # scripts and configure runs, see configure's option --config-cache.
 18023  # It is not useful on other systems.  If it contains results you don't
 18024  # want to keep, you may remove or edit it.
 18025  #
 18026  # config.status only pays attention to the cache file if you give it
 18027  # the --recheck option to rerun configure.
 18028  #
 18029  # `ac_cv_env_foo' variables (set or unset) will be overridden when
 18030  # loading this file, other *unset* `ac_cv_foo' will be assigned the
 18031  # following values.
 18032  
 18033  _ACEOF
 18034  
 18035  # The following way of writing the cache mishandles newlines in values,
 18036  # but we know of no workaround that is simple, portable, and efficient.
 18037  # So, we kill variables containing newlines.
 18038  # Ultrix sh set writes to stderr and can't be redirected directly,
 18039  # and sets the high bit in the cache file unless we assign to the vars.
 18040  (
 18041    for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 18042      eval ac_val=\$$ac_var
 18043      case $ac_val in #(
 18044      *${as_nl}*)
 18045        case $ac_var in #(
 18046        *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 18047  $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 18048        esac
 18049        case $ac_var in #(
 18050        _ | IFS | as_nl) ;; #(
 18051        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 18052        *) $as_unset $ac_var ;;
 18053        esac ;;
 18054      esac
 18055    done
 18056  
 18057    (set) 2>&1 |
 18058      case $as_nl`(ac_space=' '; set) 2>&1` in #(
 18059      *${as_nl}ac_space=\ *)
 18060        # `set' does not quote correctly, so add quotes (double-quote
 18061        # substitution turns \\\\ into \\, and sed turns \\ into \).
 18062        sed -n \
 18063  	"s/'/'\\\\''/g;
 18064  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 18065        ;; #(
 18066      *)
 18067        # `set' quotes correctly as required by POSIX, so do not add quotes.
 18068        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 18069        ;;
 18070      esac |
 18071      sort
 18072  ) |
 18073    sed '
 18074       /^ac_cv_env_/b end
 18075       t clear
 18076       :clear
 18077       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 18078       t end
 18079       s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 18080       :end' >>confcache
 18081  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 18082    if test -w "$cache_file"; then
 18083      test "x$cache_file" != "x/dev/null" &&
 18084        { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 18085  $as_echo "$as_me: updating cache $cache_file" >&6;}
 18086      cat confcache >$cache_file
 18087    else
 18088      { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 18089  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 18090    fi
 18091  fi
 18092  rm -f confcache
 18093  
 18094  test "x$prefix" = xNONE && prefix=$ac_default_prefix
 18095  # Let make expand exec_prefix.
 18096  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 18097  
 18098  DEFS=-DHAVE_CONFIG_H
 18099  
 18100  ac_libobjs=
 18101  ac_ltlibobjs=
 18102  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 18103    # 1. Remove the extension, and $U if already installed.
 18104    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 18105    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 18106    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 18107    #    will be set to the directory where LIBOBJS objects are built.
 18108    ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 18109    ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 18110  done
 18111  LIBOBJS=$ac_libobjs
 18112  
 18113  LTLIBOBJS=$ac_ltlibobjs
 18114  
 18115  
 18116  if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 18117    { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 18118  Usually this means the macro was only invoked conditionally." >&5
 18119  $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 18120  Usually this means the macro was only invoked conditionally." >&2;}
 18121     { (exit 1); exit 1; }; }
 18122  fi
 18123  if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 18124    { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 18125  Usually this means the macro was only invoked conditionally." >&5
 18126  $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 18127  Usually this means the macro was only invoked conditionally." >&2;}
 18128     { (exit 1); exit 1; }; }
 18129  fi
 18130  if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 18131    { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 18132  Usually this means the macro was only invoked conditionally." >&5
 18133  $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 18134  Usually this means the macro was only invoked conditionally." >&2;}
 18135     { (exit 1); exit 1; }; }
 18136  fi
 18137  if test -z "${GCC_TRUE}" && test -z "${GCC_FALSE}"; then
 18138    { { $as_echo "$as_me:$LINENO: error: conditional \"GCC\" was never defined.
 18139  Usually this means the macro was only invoked conditionally." >&5
 18140  $as_echo "$as_me: error: conditional \"GCC\" was never defined.
 18141  Usually this means the macro was only invoked conditionally." >&2;}
 18142     { (exit 1); exit 1; }; }
 18143  fi
 18144  if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 18145    { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 18146  Usually this means the macro was only invoked conditionally." >&5
 18147  $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 18148  Usually this means the macro was only invoked conditionally." >&2;}
 18149     { (exit 1); exit 1; }; }
 18150  fi
 18151  
 18152  : ${CONFIG_STATUS=./config.status}
 18153  ac_write_fail=0
 18154  ac_clean_files_save=$ac_clean_files
 18155  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 18156  { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 18157  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 18158  cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 18159  #! $SHELL
 18160  # Generated by $as_me.
 18161  # Run this file to recreate the current configuration.
 18162  # Compiler output produced by configure, useful for debugging
 18163  # configure, is in config.log if it exists.
 18164  
 18165  debug=false
 18166  ac_cs_recheck=false
 18167  ac_cs_silent=false
 18168  SHELL=\${CONFIG_SHELL-$SHELL}
 18169  _ACEOF
 18170  
 18171  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 18172  ## --------------------- ##
 18173  ## M4sh Initialization.  ##
 18174  ## --------------------- ##
 18175  
 18176  # Be more Bourne compatible
 18177  DUALCASE=1; export DUALCASE # for MKS sh
 18178  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 18179    emulate sh
 18180    NULLCMD=:
 18181    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 18182    # is contrary to our usage.  Disable this feature.
 18183    alias -g '${1+"$@"}'='"$@"'
 18184    setopt NO_GLOB_SUBST
 18185  else
 18186    case `(set -o) 2>/dev/null` in
 18187    *posix*) set -o posix ;;
 18188  esac
 18189  
 18190  fi
 18191  
 18192  
 18193  
 18194  
 18195  # PATH needs CR
 18196  # Avoid depending upon Character Ranges.
 18197  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 18198  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 18199  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 18200  as_cr_digits='0123456789'
 18201  as_cr_alnum=$as_cr_Letters$as_cr_digits
 18202  
 18203  as_nl='
 18204  '
 18205  export as_nl
 18206  # Printing a long string crashes Solaris 7 /usr/bin/printf.
 18207  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 18208  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 18209  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 18210  if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 18211    as_echo='printf %s\n'
 18212    as_echo_n='printf %s'
 18213  else
 18214    if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 18215      as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 18216      as_echo_n='/usr/ucb/echo -n'
 18217    else
 18218      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 18219      as_echo_n_body='eval
 18220        arg=$1;
 18221        case $arg in
 18222        *"$as_nl"*)
 18223  	expr "X$arg" : "X\\(.*\\)$as_nl";
 18224  	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 18225        esac;
 18226        expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 18227      '
 18228      export as_echo_n_body
 18229      as_echo_n='sh -c $as_echo_n_body as_echo'
 18230    fi
 18231    export as_echo_body
 18232    as_echo='sh -c $as_echo_body as_echo'
 18233  fi
 18234  
 18235  # The user is always right.
 18236  if test "${PATH_SEPARATOR+set}" != set; then
 18237    PATH_SEPARATOR=:
 18238    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 18239      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 18240        PATH_SEPARATOR=';'
 18241    }
 18242  fi
 18243  
 18244  # Support unset when possible.
 18245  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 18246    as_unset=unset
 18247  else
 18248    as_unset=false
 18249  fi
 18250  
 18251  
 18252  # IFS
 18253  # We need space, tab and new line, in precisely that order.  Quoting is
 18254  # there to prevent editors from complaining about space-tab.
 18255  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 18256  # splitting by setting IFS to empty value.)
 18257  IFS=" ""	$as_nl"
 18258  
 18259  # Find who we are.  Look in the path if we contain no directory separator.
 18260  case $0 in
 18261    *[\\/]* ) as_myself=$0 ;;
 18262    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 18263  for as_dir in $PATH
 18264  do
 18265    IFS=$as_save_IFS
 18266    test -z "$as_dir" && as_dir=.
 18267    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 18268  done
 18269  IFS=$as_save_IFS
 18270  
 18271       ;;
 18272  esac
 18273  # We did not find ourselves, most probably we were run as `sh COMMAND'
 18274  # in which case we are not to be found in the path.
 18275  if test "x$as_myself" = x; then
 18276    as_myself=$0
 18277  fi
 18278  if test ! -f "$as_myself"; then
 18279    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 18280    { (exit 1); exit 1; }
 18281  fi
 18282  
 18283  # Work around bugs in pre-3.0 UWIN ksh.
 18284  for as_var in ENV MAIL MAILPATH
 18285  do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 18286  done
 18287  PS1='$ '
 18288  PS2='> '
 18289  PS4='+ '
 18290  
 18291  # NLS nuisances.
 18292  LC_ALL=C
 18293  export LC_ALL
 18294  LANGUAGE=C
 18295  export LANGUAGE
 18296  
 18297  # Required to use basename.
 18298  if expr a : '\(a\)' >/dev/null 2>&1 &&
 18299     test "X`expr 00001 : '.*\(...\)'`" = X001; then
 18300    as_expr=expr
 18301  else
 18302    as_expr=false
 18303  fi
 18304  
 18305  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 18306    as_basename=basename
 18307  else
 18308    as_basename=false
 18309  fi
 18310  
 18311  
 18312  # Name of the executable.
 18313  as_me=`$as_basename -- "$0" ||
 18314  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 18315  	 X"$0" : 'X\(//\)$' \| \
 18316  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 18317  $as_echo X/"$0" |
 18318      sed '/^.*\/\([^/][^/]*\)\/*$/{
 18319  	    s//\1/
 18320  	    q
 18321  	  }
 18322  	  /^X\/\(\/\/\)$/{
 18323  	    s//\1/
 18324  	    q
 18325  	  }
 18326  	  /^X\/\(\/\).*/{
 18327  	    s//\1/
 18328  	    q
 18329  	  }
 18330  	  s/.*/./; q'`
 18331  
 18332  # CDPATH.
 18333  $as_unset CDPATH
 18334  
 18335  
 18336  
 18337    as_lineno_1=$LINENO
 18338    as_lineno_2=$LINENO
 18339    test "x$as_lineno_1" != "x$as_lineno_2" &&
 18340    test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 18341  
 18342    # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 18343    # uniformly replaced by the line number.  The first 'sed' inserts a
 18344    # line-number line after each line using $LINENO; the second 'sed'
 18345    # does the real work.  The second script uses 'N' to pair each
 18346    # line-number line with the line containing $LINENO, and appends
 18347    # trailing '-' during substitution so that $LINENO is not a special
 18348    # case at line end.
 18349    # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 18350    # scripts with optimization help from Paolo Bonzini.  Blame Lee
 18351    # E. McMahon (1931-1989) for sed's syntax.  :-)
 18352    sed -n '
 18353      p
 18354      /[$]LINENO/=
 18355    ' <$as_myself |
 18356      sed '
 18357        s/[$]LINENO.*/&-/
 18358        t lineno
 18359        b
 18360        :lineno
 18361        N
 18362        :loop
 18363        s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 18364        t loop
 18365        s/-\n.*//
 18366      ' >$as_me.lineno &&
 18367    chmod +x "$as_me.lineno" ||
 18368      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 18369     { (exit 1); exit 1; }; }
 18370  
 18371    # Don't try to exec as it changes $[0], causing all sort of problems
 18372    # (the dirname of $[0] is not the place where we might find the
 18373    # original and so on.  Autoconf is especially sensitive to this).
 18374    . "./$as_me.lineno"
 18375    # Exit status is that of the last command.
 18376    exit
 18377  }
 18378  
 18379  
 18380  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 18381    as_dirname=dirname
 18382  else
 18383    as_dirname=false
 18384  fi
 18385  
 18386  ECHO_C= ECHO_N= ECHO_T=
 18387  case `echo -n x` in
 18388  -n*)
 18389    case `echo 'x\c'` in
 18390    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 18391    *)   ECHO_C='\c';;
 18392    esac;;
 18393  *)
 18394    ECHO_N='-n';;
 18395  esac
 18396  if expr a : '\(a\)' >/dev/null 2>&1 &&
 18397     test "X`expr 00001 : '.*\(...\)'`" = X001; then
 18398    as_expr=expr
 18399  else
 18400    as_expr=false
 18401  fi
 18402  
 18403  rm -f conf$$ conf$$.exe conf$$.file
 18404  if test -d conf$$.dir; then
 18405    rm -f conf$$.dir/conf$$.file
 18406  else
 18407    rm -f conf$$.dir
 18408    mkdir conf$$.dir 2>/dev/null
 18409  fi
 18410  if (echo >conf$$.file) 2>/dev/null; then
 18411    if ln -s conf$$.file conf$$ 2>/dev/null; then
 18412      as_ln_s='ln -s'
 18413      # ... but there are two gotchas:
 18414      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 18415      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 18416      # In both cases, we have to default to `cp -p'.
 18417      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 18418        as_ln_s='cp -p'
 18419    elif ln conf$$.file conf$$ 2>/dev/null; then
 18420      as_ln_s=ln
 18421    else
 18422      as_ln_s='cp -p'
 18423    fi
 18424  else
 18425    as_ln_s='cp -p'
 18426  fi
 18427  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 18428  rmdir conf$$.dir 2>/dev/null
 18429  
 18430  if mkdir -p . 2>/dev/null; then
 18431    as_mkdir_p=:
 18432  else
 18433    test -d ./-p && rmdir ./-p
 18434    as_mkdir_p=false
 18435  fi
 18436  
 18437  if test -x / >/dev/null 2>&1; then
 18438    as_test_x='test -x'
 18439  else
 18440    if ls -dL / >/dev/null 2>&1; then
 18441      as_ls_L_option=L
 18442    else
 18443      as_ls_L_option=
 18444    fi
 18445    as_test_x='
 18446      eval sh -c '\''
 18447        if test -d "$1"; then
 18448  	test -d "$1/.";
 18449        else
 18450  	case $1 in
 18451  	-*)set "./$1";;
 18452  	esac;
 18453  	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 18454  	???[sx]*):;;*)false;;esac;fi
 18455      '\'' sh
 18456    '
 18457  fi
 18458  as_executable_p=$as_test_x
 18459  
 18460  # Sed expression to map a string onto a valid CPP name.
 18461  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 18462  
 18463  # Sed expression to map a string onto a valid variable name.
 18464  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 18465  
 18466  
 18467  exec 6>&1
 18468  
 18469  # Save the log message, to keep $[0] and so on meaningful, and to
 18470  # report actual input values of CONFIG_FILES etc. instead of their
 18471  # values after options handling.
 18472  ac_log="
 18473  This file was extended by gflags $as_me 2.0, which was
 18474  generated by GNU Autoconf 2.62.  Invocation command line was
 18475  
 18476    CONFIG_FILES    = $CONFIG_FILES
 18477    CONFIG_HEADERS  = $CONFIG_HEADERS
 18478    CONFIG_LINKS    = $CONFIG_LINKS
 18479    CONFIG_COMMANDS = $CONFIG_COMMANDS
 18480    $ $0 $@
 18481  
 18482  on `(hostname || uname -n) 2>/dev/null | sed 1q`
 18483  "
 18484  
 18485  _ACEOF
 18486  
 18487  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 18488  # Files that config.status was made for.
 18489  config_files="$ac_config_files"
 18490  config_headers="$ac_config_headers"
 18491  config_commands="$ac_config_commands"
 18492  
 18493  _ACEOF
 18494  
 18495  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 18496  ac_cs_usage="\
 18497  \`$as_me' instantiates files from templates according to the
 18498  current configuration.
 18499  
 18500  Usage: $0 [OPTIONS] [FILE]...
 18501  
 18502    -h, --help       print this help, then exit
 18503    -V, --version    print version number and configuration settings, then exit
 18504    -q, --quiet      do not print progress messages
 18505    -d, --debug      don't remove temporary files
 18506        --recheck    update $as_me by reconfiguring in the same conditions
 18507    --file=FILE[:TEMPLATE]
 18508                     instantiate the configuration file FILE
 18509    --header=FILE[:TEMPLATE]
 18510                     instantiate the configuration header FILE
 18511  
 18512  Configuration files:
 18513  $config_files
 18514  
 18515  Configuration headers:
 18516  $config_headers
 18517  
 18518  Configuration commands:
 18519  $config_commands
 18520  
 18521  Report bugs to <bug-autoconf@gnu.org>."
 18522  
 18523  _ACEOF
 18524  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 18525  ac_cs_version="\\
 18526  gflags config.status 2.0
 18527  configured by $0, generated by GNU Autoconf 2.62,
 18528    with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 18529  
 18530  Copyright (C) 2008 Free Software Foundation, Inc.
 18531  This config.status script is free software; the Free Software Foundation
 18532  gives unlimited permission to copy, distribute and modify it."
 18533  
 18534  ac_pwd='$ac_pwd'
 18535  srcdir='$srcdir'
 18536  INSTALL='$INSTALL'
 18537  MKDIR_P='$MKDIR_P'
 18538  AWK='$AWK'
 18539  test -n "\$AWK" || AWK=awk
 18540  _ACEOF
 18541  
 18542  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 18543  # The default lists apply if the user does not specify any file.
 18544  ac_need_defaults=:
 18545  while test $# != 0
 18546  do
 18547    case $1 in
 18548    --*=*)
 18549      ac_option=`expr "X$1" : 'X\([^=]*\)='`
 18550      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 18551      ac_shift=:
 18552      ;;
 18553    *)
 18554      ac_option=$1
 18555      ac_optarg=$2
 18556      ac_shift=shift
 18557      ;;
 18558    esac
 18559  
 18560    case $ac_option in
 18561    # Handling of the options.
 18562    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 18563      ac_cs_recheck=: ;;
 18564    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 18565      $as_echo "$ac_cs_version"; exit ;;
 18566    --debug | --debu | --deb | --de | --d | -d )
 18567      debug=: ;;
 18568    --file | --fil | --fi | --f )
 18569      $ac_shift
 18570      case $ac_optarg in
 18571      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 18572      esac
 18573      CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 18574      ac_need_defaults=false;;
 18575    --header | --heade | --head | --hea )
 18576      $ac_shift
 18577      case $ac_optarg in
 18578      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 18579      esac
 18580      CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 18581      ac_need_defaults=false;;
 18582    --he | --h)
 18583      # Conflict between --help and --header
 18584      { $as_echo "$as_me: error: ambiguous option: $1
 18585  Try \`$0 --help' for more information." >&2
 18586     { (exit 1); exit 1; }; };;
 18587    --help | --hel | -h )
 18588      $as_echo "$ac_cs_usage"; exit ;;
 18589    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 18590    | -silent | --silent | --silen | --sile | --sil | --si | --s)
 18591      ac_cs_silent=: ;;
 18592  
 18593    # This is an error.
 18594    -*) { $as_echo "$as_me: error: unrecognized option: $1
 18595  Try \`$0 --help' for more information." >&2
 18596     { (exit 1); exit 1; }; } ;;
 18597  
 18598    *) ac_config_targets="$ac_config_targets $1"
 18599       ac_need_defaults=false ;;
 18600  
 18601    esac
 18602    shift
 18603  done
 18604  
 18605  ac_configure_extra_args=
 18606  
 18607  if $ac_cs_silent; then
 18608    exec 6>/dev/null
 18609    ac_configure_extra_args="$ac_configure_extra_args --silent"
 18610  fi
 18611  
 18612  _ACEOF
 18613  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 18614  if \$ac_cs_recheck; then
 18615    set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 18616    shift
 18617    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 18618    CONFIG_SHELL='$SHELL'
 18619    export CONFIG_SHELL
 18620    exec "\$@"
 18621  fi
 18622  
 18623  _ACEOF
 18624  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 18625  exec 5>>config.log
 18626  {
 18627    echo
 18628    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 18629  ## Running $as_me. ##
 18630  _ASBOX
 18631    $as_echo "$ac_log"
 18632  } >&5
 18633  
 18634  _ACEOF
 18635  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 18636  #
 18637  # INIT-COMMANDS
 18638  #
 18639  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 18640  
 18641  
 18642  # The HP-UX ksh and POSIX shell print the target directory to stdout
 18643  # if CDPATH is set.
 18644  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 18645  
 18646  sed_quote_subst='$sed_quote_subst'
 18647  double_quote_subst='$double_quote_subst'
 18648  delay_variable_subst='$delay_variable_subst'
 18649  enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
 18650  macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
 18651  macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
 18652  enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
 18653  enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
 18654  pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
 18655  host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
 18656  host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
 18657  host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
 18658  build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
 18659  build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
 18660  build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
 18661  SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
 18662  Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
 18663  GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
 18664  EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
 18665  FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
 18666  LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
 18667  NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
 18668  LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
 18669  max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
 18670  ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
 18671  exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
 18672  lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
 18673  lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
 18674  lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
 18675  reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
 18676  reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18677  OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
 18678  deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
 18679  file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
 18680  AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
 18681  AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 18682  STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
 18683  RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
 18684  old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18685  old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18686  old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18687  CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
 18688  CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
 18689  compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
 18690  GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
 18691  lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
 18692  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
 18693  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
 18694  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 18695  objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
 18696  SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
 18697  ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
 18698  MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
 18699  lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
 18700  lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
 18701  lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
 18702  lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
 18703  lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
 18704  need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
 18705  DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
 18706  NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
 18707  LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
 18708  OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
 18709  OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
 18710  libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
 18711  shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18712  extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18713  archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
 18714  enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
 18715  export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18716  whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18717  compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
 18718  old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18719  old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18720  archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18721  archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18722  module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18723  module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18724  with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
 18725  allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 18726  no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
 18727  hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18728  hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
 18729  hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
 18730  hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
 18731  hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
 18732  hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
 18733  hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 18734  hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
 18735  inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
 18736  link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
 18737  fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
 18738  always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
 18739  export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18740  exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 18741  include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
 18742  prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18743  file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18744  variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
 18745  need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
 18746  need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
 18747  version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
 18748  runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 18749  shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
 18750  shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
 18751  libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18752  library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18753  soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18754  postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18755  postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18756  finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
 18757  finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
 18758  hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
 18759  sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18760  sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
 18761  hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
 18762  enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
 18763  enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
 18764  enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
 18765  old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
 18766  striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
 18767  compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
 18768  predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 18769  postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
 18770  predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
 18771  postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
 18772  compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
 18773  LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18774  old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18775  compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18776  GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18777  lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18778  lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18779  lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18780  lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18781  lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18782  archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18783  enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18784  export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18785  whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18786  compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18787  old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18788  old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18789  archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18790  archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18791  module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18792  module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18793  with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18794  allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18795  no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18796  hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18797  hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18798  hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18799  hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18800  hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18801  hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18802  hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18803  hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18804  inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18805  link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18806  fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18807  always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18808  export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18809  exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18810  include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18811  prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18812  file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18813  hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18814  compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18815  predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18816  postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18817  predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18818  postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18819  compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
 18820  
 18821  LTCC='$LTCC'
 18822  LTCFLAGS='$LTCFLAGS'
 18823  compiler='$compiler_DEFAULT'
 18824  
 18825  # Quote evaled strings.
 18826  for var in SED \
 18827  GREP \
 18828  EGREP \
 18829  FGREP \
 18830  LD \
 18831  NM \
 18832  LN_S \
 18833  lt_SP2NL \
 18834  lt_NL2SP \
 18835  reload_flag \
 18836  OBJDUMP \
 18837  deplibs_check_method \
 18838  file_magic_cmd \
 18839  AR \
 18840  AR_FLAGS \
 18841  STRIP \
 18842  RANLIB \
 18843  CC \
 18844  CFLAGS \
 18845  compiler \
 18846  lt_cv_sys_global_symbol_pipe \
 18847  lt_cv_sys_global_symbol_to_cdecl \
 18848  lt_cv_sys_global_symbol_to_c_name_address \
 18849  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 18850  SHELL \
 18851  ECHO \
 18852  lt_prog_compiler_no_builtin_flag \
 18853  lt_prog_compiler_wl \
 18854  lt_prog_compiler_pic \
 18855  lt_prog_compiler_static \
 18856  lt_cv_prog_compiler_c_o \
 18857  need_locks \
 18858  DSYMUTIL \
 18859  NMEDIT \
 18860  LIPO \
 18861  OTOOL \
 18862  OTOOL64 \
 18863  shrext_cmds \
 18864  export_dynamic_flag_spec \
 18865  whole_archive_flag_spec \
 18866  compiler_needs_object \
 18867  with_gnu_ld \
 18868  allow_undefined_flag \
 18869  no_undefined_flag \
 18870  hardcode_libdir_flag_spec \
 18871  hardcode_libdir_flag_spec_ld \
 18872  hardcode_libdir_separator \
 18873  fix_srcfile_path \
 18874  exclude_expsyms \
 18875  include_expsyms \
 18876  file_list_spec \
 18877  variables_saved_for_relink \
 18878  libname_spec \
 18879  library_names_spec \
 18880  soname_spec \
 18881  finish_eval \
 18882  old_striplib \
 18883  striplib \
 18884  compiler_lib_search_dirs \
 18885  predep_objects \
 18886  postdep_objects \
 18887  predeps \
 18888  postdeps \
 18889  compiler_lib_search_path \
 18890  LD_CXX \
 18891  compiler_CXX \
 18892  lt_prog_compiler_no_builtin_flag_CXX \
 18893  lt_prog_compiler_wl_CXX \
 18894  lt_prog_compiler_pic_CXX \
 18895  lt_prog_compiler_static_CXX \
 18896  lt_cv_prog_compiler_c_o_CXX \
 18897  export_dynamic_flag_spec_CXX \
 18898  whole_archive_flag_spec_CXX \
 18899  compiler_needs_object_CXX \
 18900  with_gnu_ld_CXX \
 18901  allow_undefined_flag_CXX \
 18902  no_undefined_flag_CXX \
 18903  hardcode_libdir_flag_spec_CXX \
 18904  hardcode_libdir_flag_spec_ld_CXX \
 18905  hardcode_libdir_separator_CXX \
 18906  fix_srcfile_path_CXX \
 18907  exclude_expsyms_CXX \
 18908  include_expsyms_CXX \
 18909  file_list_spec_CXX \
 18910  compiler_lib_search_dirs_CXX \
 18911  predep_objects_CXX \
 18912  postdep_objects_CXX \
 18913  predeps_CXX \
 18914  postdeps_CXX \
 18915  compiler_lib_search_path_CXX; do
 18916      case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 18917      *[\\\\\\\`\\"\\\$]*)
 18918        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 18919        ;;
 18920      *)
 18921        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 18922        ;;
 18923      esac
 18924  done
 18925  
 18926  # Double-quote double-evaled strings.
 18927  for var in reload_cmds \
 18928  old_postinstall_cmds \
 18929  old_postuninstall_cmds \
 18930  old_archive_cmds \
 18931  extract_expsyms_cmds \
 18932  old_archive_from_new_cmds \
 18933  old_archive_from_expsyms_cmds \
 18934  archive_cmds \
 18935  archive_expsym_cmds \
 18936  module_cmds \
 18937  module_expsym_cmds \
 18938  export_symbols_cmds \
 18939  prelink_cmds \
 18940  postinstall_cmds \
 18941  postuninstall_cmds \
 18942  finish_cmds \
 18943  sys_lib_search_path_spec \
 18944  sys_lib_dlsearch_path_spec \
 18945  old_archive_cmds_CXX \
 18946  old_archive_from_new_cmds_CXX \
 18947  old_archive_from_expsyms_cmds_CXX \
 18948  archive_cmds_CXX \
 18949  archive_expsym_cmds_CXX \
 18950  module_cmds_CXX \
 18951  module_expsym_cmds_CXX \
 18952  export_symbols_cmds_CXX \
 18953  prelink_cmds_CXX; do
 18954      case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 18955      *[\\\\\\\`\\"\\\$]*)
 18956        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 18957        ;;
 18958      *)
 18959        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 18960        ;;
 18961      esac
 18962  done
 18963  
 18964  # Fix-up fallback echo if it was mangled by the above quoting rules.
 18965  case \$lt_ECHO in
 18966  *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
 18967    ;;
 18968  esac
 18969  
 18970  ac_aux_dir='$ac_aux_dir'
 18971  xsi_shell='$xsi_shell'
 18972  lt_shell_append='$lt_shell_append'
 18973  
 18974  # See if we are running on zsh, and set the options which allow our
 18975  # commands through without removal of \ escapes INIT.
 18976  if test -n "\${ZSH_VERSION+set}" ; then
 18977     setopt NO_GLOB_SUBST
 18978  fi
 18979  
 18980  
 18981      PACKAGE='$PACKAGE'
 18982      VERSION='$VERSION'
 18983      TIMESTAMP='$TIMESTAMP'
 18984      RM='$RM'
 18985      ofile='$ofile'
 18986  
 18987  
 18988  
 18989  
 18990  
 18991  
 18992  _ACEOF
 18993  
 18994  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 18995  
 18996  # Handling of arguments.
 18997  for ac_config_target in $ac_config_targets
 18998  do
 18999    case $ac_config_target in
 19000      "src/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/config.h" ;;
 19001      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 19002      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 19003      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 19004      "src/gflags/gflags.h") CONFIG_FILES="$CONFIG_FILES src/gflags/gflags.h" ;;
 19005      "src/gflags/gflags_declare.h") CONFIG_FILES="$CONFIG_FILES src/gflags/gflags_declare.h" ;;
 19006      "src/gflags/gflags_completions.h") CONFIG_FILES="$CONFIG_FILES src/gflags/gflags_completions.h" ;;
 19007  
 19008    *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 19009  $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 19010     { (exit 1); exit 1; }; };;
 19011    esac
 19012  done
 19013  
 19014  
 19015  # If the user did not use the arguments to specify the items to instantiate,
 19016  # then the envvar interface is used.  Set only those that are not.
 19017  # We use the long form for the default assignment because of an extremely
 19018  # bizarre bug on SunOS 4.1.3.
 19019  if $ac_need_defaults; then
 19020    test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 19021    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 19022    test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 19023  fi
 19024  
 19025  # Have a temporary directory for convenience.  Make it in the build tree
 19026  # simply because there is no reason against having it here, and in addition,
 19027  # creating and moving files from /tmp can sometimes cause problems.
 19028  # Hook for its removal unless debugging.
 19029  # Note that there is a small window in which the directory will not be cleaned:
 19030  # after its creation but before its name has been assigned to `$tmp'.
 19031  $debug ||
 19032  {
 19033    tmp=
 19034    trap 'exit_status=$?
 19035    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 19036  ' 0
 19037    trap '{ (exit 1); exit 1; }' 1 2 13 15
 19038  }
 19039  # Create a (secure) tmp directory for tmp files.
 19040  
 19041  {
 19042    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 19043    test -n "$tmp" && test -d "$tmp"
 19044  }  ||
 19045  {
 19046    tmp=./conf$$-$RANDOM
 19047    (umask 077 && mkdir "$tmp")
 19048  } ||
 19049  {
 19050     $as_echo "$as_me: cannot create a temporary directory in ." >&2
 19051     { (exit 1); exit 1; }
 19052  }
 19053  
 19054  # Set up the scripts for CONFIG_FILES section.
 19055  # No need to generate them if there are no CONFIG_FILES.
 19056  # This happens for instance with `./config.status config.h'.
 19057  if test -n "$CONFIG_FILES"; then
 19058  
 19059  
 19060  ac_cr='
'
 19061  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 19062  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 19063    ac_cs_awk_cr='\\r'
 19064  else
 19065    ac_cs_awk_cr=$ac_cr
 19066  fi
 19067  
 19068  echo 'BEGIN {' >"$tmp/subs1.awk" &&
 19069  _ACEOF
 19070  
 19071  
 19072  {
 19073    echo "cat >conf$$subs.awk <<_ACEOF" &&
 19074    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 19075    echo "_ACEOF"
 19076  } >conf$$subs.sh ||
 19077    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 19078  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 19079     { (exit 1); exit 1; }; }
 19080  ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 19081  ac_delim='%!_!# '
 19082  for ac_last_try in false false false false false :; do
 19083    . ./conf$$subs.sh ||
 19084      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 19085  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 19086     { (exit 1); exit 1; }; }
 19087  
 19088    if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 19089      break
 19090    elif $ac_last_try; then
 19091      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 19092  $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 19093     { (exit 1); exit 1; }; }
 19094    else
 19095      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 19096    fi
 19097  done
 19098  rm -f conf$$subs.sh
 19099  
 19100  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 19101  cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 19102  _ACEOF
 19103  sed -n '
 19104  h
 19105  s/^/S["/; s/!.*/"]=/
 19106  p
 19107  g
 19108  s/^[^!]*!//
 19109  :repl
 19110  t repl
 19111  s/'"$ac_delim"'$//
 19112  t delim
 19113  :nl
 19114  h
 19115  s/\(.\{148\}\).*/\1/
 19116  t more1
 19117  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 19118  p
 19119  n
 19120  b repl
 19121  :more1
 19122  s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 19123  p
 19124  g
 19125  s/.\{148\}//
 19126  t nl
 19127  :delim
 19128  h
 19129  s/\(.\{148\}\).*/\1/
 19130  t more2
 19131  s/["\\]/\\&/g; s/^/"/; s/$/"/
 19132  p
 19133  b
 19134  :more2
 19135  s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 19136  p
 19137  g
 19138  s/.\{148\}//
 19139  t delim
 19140  ' <conf$$subs.awk | sed '
 19141  /^[^""]/{
 19142    N
 19143    s/\n//
 19144  }
 19145  ' >>$CONFIG_STATUS || ac_write_fail=1
 19146  rm -f conf$$subs.awk
 19147  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 19148  _ACAWK
 19149  cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 19150    for (key in S) S_is_set[key] = 1
 19151    FS = ""
 19152  
 19153  }
 19154  {
 19155    line = $ 0
 19156    nfields = split(line, field, "@")
 19157    substed = 0
 19158    len = length(field[1])
 19159    for (i = 2; i < nfields; i++) {
 19160      key = field[i]
 19161      keylen = length(key)
 19162      if (S_is_set[key]) {
 19163        value = S[key]
 19164        line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 19165        len += length(value) + length(field[++i])
 19166        substed = 1
 19167      } else
 19168        len += 1 + keylen
 19169    }
 19170  
 19171    print line
 19172  }
 19173  
 19174  _ACAWK
 19175  _ACEOF
 19176  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 19177  if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 19178    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 19179  else
 19180    cat
 19181  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 19182    || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 19183  $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 19184     { (exit 1); exit 1; }; }
 19185  _ACEOF
 19186  
 19187  # VPATH may cause trouble with some makes, so we remove $(srcdir),
 19188  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 19189  # trailing colons and then remove the whole line if VPATH becomes empty
 19190  # (actually we leave an empty line to preserve line numbers).
 19191  if test "x$srcdir" = x.; then
 19192    ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 19193  s/:*\$(srcdir):*/:/
 19194  s/:*\${srcdir}:*/:/
 19195  s/:*@srcdir@:*/:/
 19196  s/^\([^=]*=[	 ]*\):*/\1/
 19197  s/:*$//
 19198  s/^[^=]*=[	 ]*$//
 19199  }'
 19200  fi
 19201  
 19202  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 19203  fi # test -n "$CONFIG_FILES"
 19204  
 19205  # Set up the scripts for CONFIG_HEADERS section.
 19206  # No need to generate them if there are no CONFIG_HEADERS.
 19207  # This happens for instance with `./config.status Makefile'.
 19208  if test -n "$CONFIG_HEADERS"; then
 19209  cat >"$tmp/defines.awk" <<\_ACAWK ||
 19210  BEGIN {
 19211  _ACEOF
 19212  
 19213  # Transform confdefs.h into an awk script `defines.awk', embedded as
 19214  # here-document in config.status, that substitutes the proper values into
 19215  # config.h.in to produce config.h.
 19216  
 19217  # Create a delimiter string that does not exist in confdefs.h, to ease
 19218  # handling of long lines.
 19219  ac_delim='%!_!# '
 19220  for ac_last_try in false false :; do
 19221    ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 19222    if test -z "$ac_t"; then
 19223      break
 19224    elif $ac_last_try; then
 19225      { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 19226  $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 19227     { (exit 1); exit 1; }; }
 19228    else
 19229      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 19230    fi
 19231  done
 19232  
 19233  # For the awk script, D is an array of macro values keyed by name,
 19234  # likewise P contains macro parameters if any.  Preserve backslash
 19235  # newline sequences.
 19236  
 19237  ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 19238  sed -n '
 19239  s/.\{148\}/&'"$ac_delim"'/g
 19240  t rset
 19241  :rset
 19242  s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 19243  t def
 19244  d
 19245  :def
 19246  s/\\$//
 19247  t bsnl
 19248  s/["\\]/\\&/g
 19249  s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 19250  D["\1"]=" \3"/p
 19251  s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 19252  d
 19253  :bsnl
 19254  s/["\\]/\\&/g
 19255  s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 19256  D["\1"]=" \3\\\\\\n"\\/p
 19257  t cont
 19258  s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 19259  t cont
 19260  d
 19261  :cont
 19262  n
 19263  s/.\{148\}/&'"$ac_delim"'/g
 19264  t clear
 19265  :clear
 19266  s/\\$//
 19267  t bsnlc
 19268  s/["\\]/\\&/g; s/^/"/; s/$/"/p
 19269  d
 19270  :bsnlc
 19271  s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 19272  b cont
 19273  ' <confdefs.h | sed '
 19274  s/'"$ac_delim"'/"\\\
 19275  "/g' >>$CONFIG_STATUS || ac_write_fail=1
 19276  
 19277  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 19278    for (key in D) D_is_set[key] = 1
 19279    FS = ""
 19280  }
 19281  /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 19282    line = \$ 0
 19283    split(line, arg, " ")
 19284    if (arg[1] == "#") {
 19285      defundef = arg[2]
 19286      mac1 = arg[3]
 19287    } else {
 19288      defundef = substr(arg[1], 2)
 19289      mac1 = arg[2]
 19290    }
 19291    split(mac1, mac2, "(") #)
 19292    macro = mac2[1]
 19293    if (D_is_set[macro]) {
 19294      # Preserve the white space surrounding the "#".
 19295      prefix = substr(line, 1, index(line, defundef) - 1)
 19296      print prefix "define", macro P[macro] D[macro]
 19297      next
 19298    } else {
 19299      # Replace #undef with comments.  This is necessary, for example,
 19300      # in the case of _POSIX_SOURCE, which is predefined and required
 19301      # on some systems where configure will not decide to define it.
 19302      if (defundef == "undef") {
 19303        print "/*", line, "*/"
 19304        next
 19305      }
 19306    }
 19307  }
 19308  { print }
 19309  _ACAWK
 19310  _ACEOF
 19311  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 19312    { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 19313  $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 19314     { (exit 1); exit 1; }; }
 19315  fi # test -n "$CONFIG_HEADERS"
 19316  
 19317  
 19318  eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 19319  shift
 19320  for ac_tag
 19321  do
 19322    case $ac_tag in
 19323    :[FHLC]) ac_mode=$ac_tag; continue;;
 19324    esac
 19325    case $ac_mode$ac_tag in
 19326    :[FHL]*:*);;
 19327    :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 19328  $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 19329     { (exit 1); exit 1; }; };;
 19330    :[FH]-) ac_tag=-:-;;
 19331    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 19332    esac
 19333    ac_save_IFS=$IFS
 19334    IFS=:
 19335    set x $ac_tag
 19336    IFS=$ac_save_IFS
 19337    shift
 19338    ac_file=$1
 19339    shift
 19340  
 19341    case $ac_mode in
 19342    :L) ac_source=$1;;
 19343    :[FH])
 19344      ac_file_inputs=
 19345      for ac_f
 19346      do
 19347        case $ac_f in
 19348        -) ac_f="$tmp/stdin";;
 19349        *) # Look for the file first in the build tree, then in the source tree
 19350  	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 19351  	 # because $ac_f cannot contain `:'.
 19352  	 test -f "$ac_f" ||
 19353  	   case $ac_f in
 19354  	   [\\/$]*) false;;
 19355  	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 19356  	   esac ||
 19357  	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 19358  $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 19359     { (exit 1); exit 1; }; };;
 19360        esac
 19361        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 19362        ac_file_inputs="$ac_file_inputs '$ac_f'"
 19363      done
 19364  
 19365      # Let's still pretend it is `configure' which instantiates (i.e., don't
 19366      # use $as_me), people would be surprised to read:
 19367      #    /* config.h.  Generated by config.status.  */
 19368      configure_input='Generated from '`
 19369  	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 19370  	`' by configure.'
 19371      if test x"$ac_file" != x-; then
 19372        configure_input="$ac_file.  $configure_input"
 19373        { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 19374  $as_echo "$as_me: creating $ac_file" >&6;}
 19375      fi
 19376      # Neutralize special characters interpreted by sed in replacement strings.
 19377      case $configure_input in #(
 19378      *\&* | *\|* | *\\* )
 19379         ac_sed_conf_input=`$as_echo "$configure_input" |
 19380         sed 's/[\\\\&|]/\\\\&/g'`;; #(
 19381      *) ac_sed_conf_input=$configure_input;;
 19382      esac
 19383  
 19384      case $ac_tag in
 19385      *:-:* | *:-) cat >"$tmp/stdin" \
 19386        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 19387  $as_echo "$as_me: error: could not create $ac_file" >&2;}
 19388     { (exit 1); exit 1; }; } ;;
 19389      esac
 19390      ;;
 19391    esac
 19392  
 19393    ac_dir=`$as_dirname -- "$ac_file" ||
 19394  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 19395  	 X"$ac_file" : 'X\(//\)[^/]' \| \
 19396  	 X"$ac_file" : 'X\(//\)$' \| \
 19397  	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 19398  $as_echo X"$ac_file" |
 19399      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 19400  	    s//\1/
 19401  	    q
 19402  	  }
 19403  	  /^X\(\/\/\)[^/].*/{
 19404  	    s//\1/
 19405  	    q
 19406  	  }
 19407  	  /^X\(\/\/\)$/{
 19408  	    s//\1/
 19409  	    q
 19410  	  }
 19411  	  /^X\(\/\).*/{
 19412  	    s//\1/
 19413  	    q
 19414  	  }
 19415  	  s/.*/./; q'`
 19416    { as_dir="$ac_dir"
 19417    case $as_dir in #(
 19418    -*) as_dir=./$as_dir;;
 19419    esac
 19420    test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 19421      as_dirs=
 19422      while :; do
 19423        case $as_dir in #(
 19424        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 19425        *) as_qdir=$as_dir;;
 19426        esac
 19427        as_dirs="'$as_qdir' $as_dirs"
 19428        as_dir=`$as_dirname -- "$as_dir" ||
 19429  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 19430  	 X"$as_dir" : 'X\(//\)[^/]' \| \
 19431  	 X"$as_dir" : 'X\(//\)$' \| \
 19432  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 19433  $as_echo X"$as_dir" |
 19434      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 19435  	    s//\1/
 19436  	    q
 19437  	  }
 19438  	  /^X\(\/\/\)[^/].*/{
 19439  	    s//\1/
 19440  	    q
 19441  	  }
 19442  	  /^X\(\/\/\)$/{
 19443  	    s//\1/
 19444  	    q
 19445  	  }
 19446  	  /^X\(\/\).*/{
 19447  	    s//\1/
 19448  	    q
 19449  	  }
 19450  	  s/.*/./; q'`
 19451        test -d "$as_dir" && break
 19452      done
 19453      test -z "$as_dirs" || eval "mkdir $as_dirs"
 19454    } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 19455  $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 19456     { (exit 1); exit 1; }; }; }
 19457    ac_builddir=.
 19458  
 19459  case "$ac_dir" in
 19460  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 19461  *)
 19462    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 19463    # A ".." for each directory in $ac_dir_suffix.
 19464    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 19465    case $ac_top_builddir_sub in
 19466    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 19467    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 19468    esac ;;
 19469  esac
 19470  ac_abs_top_builddir=$ac_pwd
 19471  ac_abs_builddir=$ac_pwd$ac_dir_suffix
 19472  # for backward compatibility:
 19473  ac_top_builddir=$ac_top_build_prefix
 19474  
 19475  case $srcdir in
 19476    .)  # We are building in place.
 19477      ac_srcdir=.
 19478      ac_top_srcdir=$ac_top_builddir_sub
 19479      ac_abs_top_srcdir=$ac_pwd ;;
 19480    [\\/]* | ?:[\\/]* )  # Absolute name.
 19481      ac_srcdir=$srcdir$ac_dir_suffix;
 19482      ac_top_srcdir=$srcdir
 19483      ac_abs_top_srcdir=$srcdir ;;
 19484    *) # Relative name.
 19485      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 19486      ac_top_srcdir=$ac_top_build_prefix$srcdir
 19487      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 19488  esac
 19489  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 19490  
 19491  
 19492    case $ac_mode in
 19493    :F)
 19494    #
 19495    # CONFIG_FILE
 19496    #
 19497  
 19498    case $INSTALL in
 19499    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 19500    *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 19501    esac
 19502    ac_MKDIR_P=$MKDIR_P
 19503    case $MKDIR_P in
 19504    [\\/$]* | ?:[\\/]* ) ;;
 19505    */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 19506    esac
 19507  _ACEOF
 19508  
 19509  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 19510  # If the template does not know about datarootdir, expand it.
 19511  # FIXME: This hack should be removed a few years after 2.60.
 19512  ac_datarootdir_hack=; ac_datarootdir_seen=
 19513  
 19514  ac_sed_dataroot='
 19515  /datarootdir/ {
 19516    p
 19517    q
 19518  }
 19519  /@datadir@/p
 19520  /@docdir@/p
 19521  /@infodir@/p
 19522  /@localedir@/p
 19523  /@mandir@/p
 19524  '
 19525  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 19526  *datarootdir*) ac_datarootdir_seen=yes;;
 19527  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 19528    { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 19529  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 19530  _ACEOF
 19531  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 19532    ac_datarootdir_hack='
 19533    s&@datadir@&$datadir&g
 19534    s&@docdir@&$docdir&g
 19535    s&@infodir@&$infodir&g
 19536    s&@localedir@&$localedir&g
 19537    s&@mandir@&$mandir&g
 19538      s&\\\${datarootdir}&$datarootdir&g' ;;
 19539  esac
 19540  _ACEOF
 19541  
 19542  # Neutralize VPATH when `$srcdir' = `.'.
 19543  # Shell code in configure.ac might set extrasub.
 19544  # FIXME: do we really want to maintain this feature?
 19545  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 19546  ac_sed_extra="$ac_vpsub
 19547  $extrasub
 19548  _ACEOF
 19549  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 19550  :t
 19551  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 19552  s|@configure_input@|$ac_sed_conf_input|;t t
 19553  s&@top_builddir@&$ac_top_builddir_sub&;t t
 19554  s&@top_build_prefix@&$ac_top_build_prefix&;t t
 19555  s&@srcdir@&$ac_srcdir&;t t
 19556  s&@abs_srcdir@&$ac_abs_srcdir&;t t
 19557  s&@top_srcdir@&$ac_top_srcdir&;t t
 19558  s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 19559  s&@builddir@&$ac_builddir&;t t
 19560  s&@abs_builddir@&$ac_abs_builddir&;t t
 19561  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 19562  s&@INSTALL@&$ac_INSTALL&;t t
 19563  s&@MKDIR_P@&$ac_MKDIR_P&;t t
 19564  $ac_datarootdir_hack
 19565  "
 19566  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 19567    || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 19568  $as_echo "$as_me: error: could not create $ac_file" >&2;}
 19569     { (exit 1); exit 1; }; }
 19570  
 19571  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 19572    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 19573    { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 19574    { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 19575  which seems to be undefined.  Please make sure it is defined." >&5
 19576  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 19577  which seems to be undefined.  Please make sure it is defined." >&2;}
 19578  
 19579    rm -f "$tmp/stdin"
 19580    case $ac_file in
 19581    -) cat "$tmp/out" && rm -f "$tmp/out";;
 19582    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 19583    esac \
 19584    || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 19585  $as_echo "$as_me: error: could not create $ac_file" >&2;}
 19586     { (exit 1); exit 1; }; }
 19587   ;;
 19588    :H)
 19589    #
 19590    # CONFIG_HEADER
 19591    #
 19592    if test x"$ac_file" != x-; then
 19593      {
 19594        $as_echo "/* $configure_input  */" \
 19595        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 19596      } >"$tmp/config.h" \
 19597        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 19598  $as_echo "$as_me: error: could not create $ac_file" >&2;}
 19599     { (exit 1); exit 1; }; }
 19600      if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 19601        { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 19602  $as_echo "$as_me: $ac_file is unchanged" >&6;}
 19603      else
 19604        rm -f "$ac_file"
 19605        mv "$tmp/config.h" "$ac_file" \
 19606  	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 19607  $as_echo "$as_me: error: could not create $ac_file" >&2;}
 19608     { (exit 1); exit 1; }; }
 19609      fi
 19610    else
 19611      $as_echo "/* $configure_input  */" \
 19612        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 19613        || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 19614  $as_echo "$as_me: error: could not create -" >&2;}
 19615     { (exit 1); exit 1; }; }
 19616    fi
 19617  # Compute "$ac_file"'s index in $config_headers.
 19618  _am_arg="$ac_file"
 19619  _am_stamp_count=1
 19620  for _am_header in $config_headers :; do
 19621    case $_am_header in
 19622      $_am_arg | $_am_arg:* )
 19623        break ;;
 19624      * )
 19625        _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 19626    esac
 19627  done
 19628  echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 19629  $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 19630  	 X"$_am_arg" : 'X\(//\)[^/]' \| \
 19631  	 X"$_am_arg" : 'X\(//\)$' \| \
 19632  	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 19633  $as_echo X"$_am_arg" |
 19634      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 19635  	    s//\1/
 19636  	    q
 19637  	  }
 19638  	  /^X\(\/\/\)[^/].*/{
 19639  	    s//\1/
 19640  	    q
 19641  	  }
 19642  	  /^X\(\/\/\)$/{
 19643  	    s//\1/
 19644  	    q
 19645  	  }
 19646  	  /^X\(\/\).*/{
 19647  	    s//\1/
 19648  	    q
 19649  	  }
 19650  	  s/.*/./; q'`/stamp-h$_am_stamp_count
 19651   ;;
 19652  
 19653    :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 19654  $as_echo "$as_me: executing $ac_file commands" >&6;}
 19655   ;;
 19656    esac
 19657  
 19658  
 19659    case $ac_file$ac_mode in
 19660      "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 19661    # Strip MF so we end up with the name of the file.
 19662    mf=`echo "$mf" | sed -e 's/:.*$//'`
 19663    # Check whether this is an Automake generated Makefile or not.
 19664    # We used to match only the files named `Makefile.in', but
 19665    # some people rename them; so instead we look at the file content.
 19666    # Grep'ing the first line is not enough: some people post-process
 19667    # each Makefile.in and add a new line on top of each file to say so.
 19668    # Grep'ing the whole file is not good either: AIX grep has a line
 19669    # limit of 2048, but all sed's we know have understand at least 4000.
 19670    if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 19671      dirpart=`$as_dirname -- "$mf" ||
 19672  $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 19673  	 X"$mf" : 'X\(//\)[^/]' \| \
 19674  	 X"$mf" : 'X\(//\)$' \| \
 19675  	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 19676  $as_echo X"$mf" |
 19677      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 19678  	    s//\1/
 19679  	    q
 19680  	  }
 19681  	  /^X\(\/\/\)[^/].*/{
 19682  	    s//\1/
 19683  	    q
 19684  	  }
 19685  	  /^X\(\/\/\)$/{
 19686  	    s//\1/
 19687  	    q
 19688  	  }
 19689  	  /^X\(\/\).*/{
 19690  	    s//\1/
 19691  	    q
 19692  	  }
 19693  	  s/.*/./; q'`
 19694    else
 19695      continue
 19696    fi
 19697    # Extract the definition of DEPDIR, am__include, and am__quote
 19698    # from the Makefile without running `make'.
 19699    DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 19700    test -z "$DEPDIR" && continue
 19701    am__include=`sed -n 's/^am__include = //p' < "$mf"`
 19702    test -z "am__include" && continue
 19703    am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 19704    # When using ansi2knr, U may be empty or an underscore; expand it
 19705    U=`sed -n 's/^U = //p' < "$mf"`
 19706    # Find all dependency output files, they are included files with
 19707    # $(DEPDIR) in their names.  We invoke sed twice because it is the
 19708    # simplest approach to changing $(DEPDIR) to its actual value in the
 19709    # expansion.
 19710    for file in `sed -n "
 19711      s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 19712         sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 19713      # Make sure the directory exists.
 19714      test -f "$dirpart/$file" && continue
 19715      fdir=`$as_dirname -- "$file" ||
 19716  $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 19717  	 X"$file" : 'X\(//\)[^/]' \| \
 19718  	 X"$file" : 'X\(//\)$' \| \
 19719  	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 19720  $as_echo X"$file" |
 19721      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 19722  	    s//\1/
 19723  	    q
 19724  	  }
 19725  	  /^X\(\/\/\)[^/].*/{
 19726  	    s//\1/
 19727  	    q
 19728  	  }
 19729  	  /^X\(\/\/\)$/{
 19730  	    s//\1/
 19731  	    q
 19732  	  }
 19733  	  /^X\(\/\).*/{
 19734  	    s//\1/
 19735  	    q
 19736  	  }
 19737  	  s/.*/./; q'`
 19738      { as_dir=$dirpart/$fdir
 19739    case $as_dir in #(
 19740    -*) as_dir=./$as_dir;;
 19741    esac
 19742    test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 19743      as_dirs=
 19744      while :; do
 19745        case $as_dir in #(
 19746        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 19747        *) as_qdir=$as_dir;;
 19748        esac
 19749        as_dirs="'$as_qdir' $as_dirs"
 19750        as_dir=`$as_dirname -- "$as_dir" ||
 19751  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 19752  	 X"$as_dir" : 'X\(//\)[^/]' \| \
 19753  	 X"$as_dir" : 'X\(//\)$' \| \
 19754  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 19755  $as_echo X"$as_dir" |
 19756      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 19757  	    s//\1/
 19758  	    q
 19759  	  }
 19760  	  /^X\(\/\/\)[^/].*/{
 19761  	    s//\1/
 19762  	    q
 19763  	  }
 19764  	  /^X\(\/\/\)$/{
 19765  	    s//\1/
 19766  	    q
 19767  	  }
 19768  	  /^X\(\/\).*/{
 19769  	    s//\1/
 19770  	    q
 19771  	  }
 19772  	  s/.*/./; q'`
 19773        test -d "$as_dir" && break
 19774      done
 19775      test -z "$as_dirs" || eval "mkdir $as_dirs"
 19776    } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 19777  $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 19778     { (exit 1); exit 1; }; }; }
 19779      # echo "creating $dirpart/$file"
 19780      echo '# dummy' > "$dirpart/$file"
 19781    done
 19782  done
 19783   ;;
 19784      "libtool":C)
 19785  
 19786      # See if we are running on zsh, and set the options which allow our
 19787      # commands through without removal of \ escapes.
 19788      if test -n "${ZSH_VERSION+set}" ; then
 19789        setopt NO_GLOB_SUBST
 19790      fi
 19791  
 19792      cfgfile="${ofile}T"
 19793      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 19794      $RM "$cfgfile"
 19795  
 19796      cat <<_LT_EOF >> "$cfgfile"
 19797  #! $SHELL
 19798  
 19799  # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 19800  # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 19801  # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 19802  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 19803  #
 19804  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 19805  #                 2006, 2007, 2008 Free Software Foundation, Inc.
 19806  #   Written by Gordon Matzigkeit, 1996
 19807  #
 19808  #   This file is part of GNU Libtool.
 19809  #
 19810  # GNU Libtool is free software; you can redistribute it and/or
 19811  # modify it under the terms of the GNU General Public License as
 19812  # published by the Free Software Foundation; either version 2 of
 19813  # the License, or (at your option) any later version.
 19814  #
 19815  # As a special exception to the GNU General Public License,
 19816  # if you distribute this file as part of a program or library that
 19817  # is built using GNU Libtool, you may include this file under the
 19818  # same distribution terms that you use for the rest of that program.
 19819  #
 19820  # GNU Libtool is distributed in the hope that it will be useful,
 19821  # but WITHOUT ANY WARRANTY; without even the implied warranty of
 19822  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 19823  # GNU General Public License for more details.
 19824  #
 19825  # You should have received a copy of the GNU General Public License
 19826  # along with GNU Libtool; see the file COPYING.  If not, a copy
 19827  # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 19828  # obtained by writing to the Free Software Foundation, Inc.,
 19829  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 19830  
 19831  
 19832  # The names of the tagged configurations supported by this script.
 19833  available_tags="CXX "
 19834  
 19835  # ### BEGIN LIBTOOL CONFIG
 19836  
 19837  # Whether or not to optimize for fast installation.
 19838  fast_install=$enable_fast_install
 19839  
 19840  # Which release of libtool.m4 was used?
 19841  macro_version=$macro_version
 19842  macro_revision=$macro_revision
 19843  
 19844  # Whether or not to build shared libraries.
 19845  build_libtool_libs=$enable_shared
 19846  
 19847  # Whether or not to build static libraries.
 19848  build_old_libs=$enable_static
 19849  
 19850  # What type of objects to build.
 19851  pic_mode=$pic_mode
 19852  
 19853  # The host system.
 19854  host_alias=$host_alias
 19855  host=$host
 19856  host_os=$host_os
 19857  
 19858  # The build system.
 19859  build_alias=$build_alias
 19860  build=$build
 19861  build_os=$build_os
 19862  
 19863  # A sed program that does not truncate output.
 19864  SED=$lt_SED
 19865  
 19866  # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 19867  Xsed="\$SED -e 1s/^X//"
 19868  
 19869  # A grep program that handles long lines.
 19870  GREP=$lt_GREP
 19871  
 19872  # An ERE matcher.
 19873  EGREP=$lt_EGREP
 19874  
 19875  # A literal string matcher.
 19876  FGREP=$lt_FGREP
 19877  
 19878  # A BSD- or MS-compatible name lister.
 19879  NM=$lt_NM
 19880  
 19881  # Whether we need soft or hard links.
 19882  LN_S=$lt_LN_S
 19883  
 19884  # What is the maximum length of a command?
 19885  max_cmd_len=$max_cmd_len
 19886  
 19887  # Object file suffix (normally "o").
 19888  objext=$ac_objext
 19889  
 19890  # Executable file suffix (normally "").
 19891  exeext=$exeext
 19892  
 19893  # whether the shell understands "unset".
 19894  lt_unset=$lt_unset
 19895  
 19896  # turn spaces into newlines.
 19897  SP2NL=$lt_lt_SP2NL
 19898  
 19899  # turn newlines into spaces.
 19900  NL2SP=$lt_lt_NL2SP
 19901  
 19902  # How to create reloadable object files.
 19903  reload_flag=$lt_reload_flag
 19904  reload_cmds=$lt_reload_cmds
 19905  
 19906  # An object symbol dumper.
 19907  OBJDUMP=$lt_OBJDUMP
 19908  
 19909  # Method to check whether dependent libraries are shared objects.
 19910  deplibs_check_method=$lt_deplibs_check_method
 19911  
 19912  # Command to use when deplibs_check_method == "file_magic".
 19913  file_magic_cmd=$lt_file_magic_cmd
 19914  
 19915  # The archiver.
 19916  AR=$lt_AR
 19917  AR_FLAGS=$lt_AR_FLAGS
 19918  
 19919  # A symbol stripping program.
 19920  STRIP=$lt_STRIP
 19921  
 19922  # Commands used to install an old-style archive.
 19923  RANLIB=$lt_RANLIB
 19924  old_postinstall_cmds=$lt_old_postinstall_cmds
 19925  old_postuninstall_cmds=$lt_old_postuninstall_cmds
 19926  
 19927  # A C compiler.
 19928  LTCC=$lt_CC
 19929  
 19930  # LTCC compiler flags.
 19931  LTCFLAGS=$lt_CFLAGS
 19932  
 19933  # Take the output of nm and produce a listing of raw symbols and C names.
 19934  global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 19935  
 19936  # Transform the output of nm in a proper C declaration.
 19937  global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 19938  
 19939  # Transform the output of nm in a C name address pair.
 19940  global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 19941  
 19942  # Transform the output of nm in a C name address pair when lib prefix is needed.
 19943  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 19944  
 19945  # The name of the directory that contains temporary libtool files.
 19946  objdir=$objdir
 19947  
 19948  # Shell to use when invoking shell scripts.
 19949  SHELL=$lt_SHELL
 19950  
 19951  # An echo program that does not interpret backslashes.
 19952  ECHO=$lt_ECHO
 19953  
 19954  # Used to examine libraries when file_magic_cmd begins with "file".
 19955  MAGIC_CMD=$MAGIC_CMD
 19956  
 19957  # Must we lock files when doing compilation?
 19958  need_locks=$lt_need_locks
 19959  
 19960  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 19961  DSYMUTIL=$lt_DSYMUTIL
 19962  
 19963  # Tool to change global to local symbols on Mac OS X.
 19964  NMEDIT=$lt_NMEDIT
 19965  
 19966  # Tool to manipulate fat objects and archives on Mac OS X.
 19967  LIPO=$lt_LIPO
 19968  
 19969  # ldd/readelf like tool for Mach-O binaries on Mac OS X.
 19970  OTOOL=$lt_OTOOL
 19971  
 19972  # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 19973  OTOOL64=$lt_OTOOL64
 19974  
 19975  # Old archive suffix (normally "a").
 19976  libext=$libext
 19977  
 19978  # Shared library suffix (normally ".so").
 19979  shrext_cmds=$lt_shrext_cmds
 19980  
 19981  # The commands to extract the exported symbol list from a shared archive.
 19982  extract_expsyms_cmds=$lt_extract_expsyms_cmds
 19983  
 19984  # Variables whose values should be saved in libtool wrapper scripts and
 19985  # restored at link time.
 19986  variables_saved_for_relink=$lt_variables_saved_for_relink
 19987  
 19988  # Do we need the "lib" prefix for modules?
 19989  need_lib_prefix=$need_lib_prefix
 19990  
 19991  # Do we need a version for libraries?
 19992  need_version=$need_version
 19993  
 19994  # Library versioning type.
 19995  version_type=$version_type
 19996  
 19997  # Shared library runtime path variable.
 19998  runpath_var=$runpath_var
 19999  
 20000  # Shared library path variable.
 20001  shlibpath_var=$shlibpath_var
 20002  
 20003  # Is shlibpath searched before the hard-coded library search path?
 20004  shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 20005  
 20006  # Format of library name prefix.
 20007  libname_spec=$lt_libname_spec
 20008  
 20009  # List of archive names.  First name is the real one, the rest are links.
 20010  # The last name is the one that the linker finds with -lNAME
 20011  library_names_spec=$lt_library_names_spec
 20012  
 20013  # The coded name of the library, if different from the real name.
 20014  soname_spec=$lt_soname_spec
 20015  
 20016  # Command to use after installation of a shared archive.
 20017  postinstall_cmds=$lt_postinstall_cmds
 20018  
 20019  # Command to use after uninstallation of a shared archive.
 20020  postuninstall_cmds=$lt_postuninstall_cmds
 20021  
 20022  # Commands used to finish a libtool library installation in a directory.
 20023  finish_cmds=$lt_finish_cmds
 20024  
 20025  # As "finish_cmds", except a single script fragment to be evaled but
 20026  # not shown.
 20027  finish_eval=$lt_finish_eval
 20028  
 20029  # Whether we should hardcode library paths into libraries.
 20030  hardcode_into_libs=$hardcode_into_libs
 20031  
 20032  # Compile-time system search path for libraries.
 20033  sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 20034  
 20035  # Run-time system search path for libraries.
 20036  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 20037  
 20038  # Whether dlopen is supported.
 20039  dlopen_support=$enable_dlopen
 20040  
 20041  # Whether dlopen of programs is supported.
 20042  dlopen_self=$enable_dlopen_self
 20043  
 20044  # Whether dlopen of statically linked programs is supported.
 20045  dlopen_self_static=$enable_dlopen_self_static
 20046  
 20047  # Commands to strip libraries.
 20048  old_striplib=$lt_old_striplib
 20049  striplib=$lt_striplib
 20050  
 20051  
 20052  # The linker used to build libraries.
 20053  LD=$lt_LD
 20054  
 20055  # Commands used to build an old-style archive.
 20056  old_archive_cmds=$lt_old_archive_cmds
 20057  
 20058  # A language specific compiler.
 20059  CC=$lt_compiler
 20060  
 20061  # Is the compiler the GNU compiler?
 20062  with_gcc=$GCC
 20063  
 20064  # Compiler flag to turn off builtin functions.
 20065  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 20066  
 20067  # How to pass a linker flag through the compiler.
 20068  wl=$lt_lt_prog_compiler_wl
 20069  
 20070  # Additional compiler flags for building library objects.
 20071  pic_flag=$lt_lt_prog_compiler_pic
 20072  
 20073  # Compiler flag to prevent dynamic linking.
 20074  link_static_flag=$lt_lt_prog_compiler_static
 20075  
 20076  # Does compiler simultaneously support -c and -o options?
 20077  compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 20078  
 20079  # Whether or not to add -lc for building shared libraries.
 20080  build_libtool_need_lc=$archive_cmds_need_lc
 20081  
 20082  # Whether or not to disallow shared libs when runtime libs are static.
 20083  allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 20084  
 20085  # Compiler flag to allow reflexive dlopens.
 20086  export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 20087  
 20088  # Compiler flag to generate shared objects directly from archives.
 20089  whole_archive_flag_spec=$lt_whole_archive_flag_spec
 20090  
 20091  # Whether the compiler copes with passing no objects directly.
 20092  compiler_needs_object=$lt_compiler_needs_object
 20093  
 20094  # Create an old-style archive from a shared archive.
 20095  old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 20096  
 20097  # Create a temporary old-style archive to link instead of a shared archive.
 20098  old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 20099  
 20100  # Commands used to build a shared archive.
 20101  archive_cmds=$lt_archive_cmds
 20102  archive_expsym_cmds=$lt_archive_expsym_cmds
 20103  
 20104  # Commands used to build a loadable module if different from building
 20105  # a shared archive.
 20106  module_cmds=$lt_module_cmds
 20107  module_expsym_cmds=$lt_module_expsym_cmds
 20108  
 20109  # Whether we are building with GNU ld or not.
 20110  with_gnu_ld=$lt_with_gnu_ld
 20111  
 20112  # Flag that allows shared libraries with undefined symbols to be built.
 20113  allow_undefined_flag=$lt_allow_undefined_flag
 20114  
 20115  # Flag that enforces no undefined symbols.
 20116  no_undefined_flag=$lt_no_undefined_flag
 20117  
 20118  # Flag to hardcode \$libdir into a binary during linking.
 20119  # This must work even if \$libdir does not exist
 20120  hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 20121  
 20122  # If ld is used when linking, flag to hardcode \$libdir into a binary
 20123  # during linking.  This must work even if \$libdir does not exist.
 20124  hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 20125  
 20126  # Whether we need a single "-rpath" flag with a separated argument.
 20127  hardcode_libdir_separator=$lt_hardcode_libdir_separator
 20128  
 20129  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 20130  # DIR into the resulting binary.
 20131  hardcode_direct=$hardcode_direct
 20132  
 20133  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 20134  # DIR into the resulting binary and the resulting library dependency is
 20135  # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 20136  # library is relocated.
 20137  hardcode_direct_absolute=$hardcode_direct_absolute
 20138  
 20139  # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 20140  # into the resulting binary.
 20141  hardcode_minus_L=$hardcode_minus_L
 20142  
 20143  # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 20144  # into the resulting binary.
 20145  hardcode_shlibpath_var=$hardcode_shlibpath_var
 20146  
 20147  # Set to "yes" if building a shared library automatically hardcodes DIR
 20148  # into the library and all subsequent libraries and executables linked
 20149  # against it.
 20150  hardcode_automatic=$hardcode_automatic
 20151  
 20152  # Set to yes if linker adds runtime paths of dependent libraries
 20153  # to runtime path list.
 20154  inherit_rpath=$inherit_rpath
 20155  
 20156  # Whether libtool must link a program against all its dependency libraries.
 20157  link_all_deplibs=$link_all_deplibs
 20158  
 20159  # Fix the shell variable \$srcfile for the compiler.
 20160  fix_srcfile_path=$lt_fix_srcfile_path
 20161  
 20162  # Set to "yes" if exported symbols are required.
 20163  always_export_symbols=$always_export_symbols
 20164  
 20165  # The commands to list exported symbols.
 20166  export_symbols_cmds=$lt_export_symbols_cmds
 20167  
 20168  # Symbols that should not be listed in the preloaded symbols.
 20169  exclude_expsyms=$lt_exclude_expsyms
 20170  
 20171  # Symbols that must always be exported.
 20172  include_expsyms=$lt_include_expsyms
 20173  
 20174  # Commands necessary for linking programs (against libraries) with templates.
 20175  prelink_cmds=$lt_prelink_cmds
 20176  
 20177  # Specify filename containing input files.
 20178  file_list_spec=$lt_file_list_spec
 20179  
 20180  # How to hardcode a shared library path into an executable.
 20181  hardcode_action=$hardcode_action
 20182  
 20183  # The directories searched by this compiler when creating a shared library.
 20184  compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
 20185  
 20186  # Dependencies to place before and after the objects being linked to
 20187  # create a shared library.
 20188  predep_objects=$lt_predep_objects
 20189  postdep_objects=$lt_postdep_objects
 20190  predeps=$lt_predeps
 20191  postdeps=$lt_postdeps
 20192  
 20193  # The library search path used internally by the compiler when linking
 20194  # a shared library.
 20195  compiler_lib_search_path=$lt_compiler_lib_search_path
 20196  
 20197  # ### END LIBTOOL CONFIG
 20198  
 20199  _LT_EOF
 20200  
 20201    case $host_os in
 20202    aix3*)
 20203      cat <<\_LT_EOF >> "$cfgfile"
 20204  # AIX sometimes has problems with the GCC collect2 program.  For some
 20205  # reason, if we set the COLLECT_NAMES environment variable, the problems
 20206  # vanish in a puff of smoke.
 20207  if test "X${COLLECT_NAMES+set}" != Xset; then
 20208    COLLECT_NAMES=
 20209    export COLLECT_NAMES
 20210  fi
 20211  _LT_EOF
 20212      ;;
 20213    esac
 20214  
 20215  
 20216  ltmain="$ac_aux_dir/ltmain.sh"
 20217  
 20218  
 20219    # We use sed instead of cat because bash on DJGPP gets confused if
 20220    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 20221    # text mode, it properly converts lines to CR/LF.  This bash problem
 20222    # is reportedly fixed, but why not run on old versions too?
 20223    sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 20224      || (rm -f "$cfgfile"; exit 1)
 20225  
 20226    case $xsi_shell in
 20227    yes)
 20228      cat << \_LT_EOF >> "$cfgfile"
 20229  
 20230  # func_dirname file append nondir_replacement
 20231  # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 20232  # otherwise set result to NONDIR_REPLACEMENT.
 20233  func_dirname ()
 20234  {
 20235    case ${1} in
 20236      */*) func_dirname_result="${1%/*}${2}" ;;
 20237      *  ) func_dirname_result="${3}" ;;
 20238    esac
 20239  }
 20240  
 20241  # func_basename file
 20242  func_basename ()
 20243  {
 20244    func_basename_result="${1##*/}"
 20245  }
 20246  
 20247  # func_dirname_and_basename file append nondir_replacement
 20248  # perform func_basename and func_dirname in a single function
 20249  # call:
 20250  #   dirname:  Compute the dirname of FILE.  If nonempty,
 20251  #             add APPEND to the result, otherwise set result
 20252  #             to NONDIR_REPLACEMENT.
 20253  #             value returned in "$func_dirname_result"
 20254  #   basename: Compute filename of FILE.
 20255  #             value retuned in "$func_basename_result"
 20256  # Implementation must be kept synchronized with func_dirname
 20257  # and func_basename. For efficiency, we do not delegate to
 20258  # those functions but instead duplicate the functionality here.
 20259  func_dirname_and_basename ()
 20260  {
 20261    case ${1} in
 20262      */*) func_dirname_result="${1%/*}${2}" ;;
 20263      *  ) func_dirname_result="${3}" ;;
 20264    esac
 20265    func_basename_result="${1##*/}"
 20266  }
 20267  
 20268  # func_stripname prefix suffix name
 20269  # strip PREFIX and SUFFIX off of NAME.
 20270  # PREFIX and SUFFIX must not contain globbing or regex special
 20271  # characters, hashes, percent signs, but SUFFIX may contain a leading
 20272  # dot (in which case that matches only a dot).
 20273  func_stripname ()
 20274  {
 20275    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 20276    # positional parameters, so assign one to ordinary parameter first.
 20277    func_stripname_result=${3}
 20278    func_stripname_result=${func_stripname_result#"${1}"}
 20279    func_stripname_result=${func_stripname_result%"${2}"}
 20280  }
 20281  
 20282  # func_opt_split
 20283  func_opt_split ()
 20284  {
 20285    func_opt_split_opt=${1%%=*}
 20286    func_opt_split_arg=${1#*=}
 20287  }
 20288  
 20289  # func_lo2o object
 20290  func_lo2o ()
 20291  {
 20292    case ${1} in
 20293      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 20294      *)    func_lo2o_result=${1} ;;
 20295    esac
 20296  }
 20297  
 20298  # func_xform libobj-or-source
 20299  func_xform ()
 20300  {
 20301    func_xform_result=${1%.*}.lo
 20302  }
 20303  
 20304  # func_arith arithmetic-term...
 20305  func_arith ()
 20306  {
 20307    func_arith_result=$(( $* ))
 20308  }
 20309  
 20310  # func_len string
 20311  # STRING may not start with a hyphen.
 20312  func_len ()
 20313  {
 20314    func_len_result=${#1}
 20315  }
 20316  
 20317  _LT_EOF
 20318      ;;
 20319    *) # Bourne compatible functions.
 20320      cat << \_LT_EOF >> "$cfgfile"
 20321  
 20322  # func_dirname file append nondir_replacement
 20323  # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 20324  # otherwise set result to NONDIR_REPLACEMENT.
 20325  func_dirname ()
 20326  {
 20327    # Extract subdirectory from the argument.
 20328    func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 20329    if test "X$func_dirname_result" = "X${1}"; then
 20330      func_dirname_result="${3}"
 20331    else
 20332      func_dirname_result="$func_dirname_result${2}"
 20333    fi
 20334  }
 20335  
 20336  # func_basename file
 20337  func_basename ()
 20338  {
 20339    func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 20340  }
 20341  
 20342  
 20343  # func_stripname prefix suffix name
 20344  # strip PREFIX and SUFFIX off of NAME.
 20345  # PREFIX and SUFFIX must not contain globbing or regex special
 20346  # characters, hashes, percent signs, but SUFFIX may contain a leading
 20347  # dot (in which case that matches only a dot).
 20348  # func_strip_suffix prefix name
 20349  func_stripname ()
 20350  {
 20351    case ${2} in
 20352      .*) func_stripname_result=`$ECHO "X${3}" \
 20353             | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
 20354      *)  func_stripname_result=`$ECHO "X${3}" \
 20355             | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 20356    esac
 20357  }
 20358  
 20359  # sed scripts:
 20360  my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 20361  my_sed_long_arg='1s/^-[^=]*=//'
 20362  
 20363  # func_opt_split
 20364  func_opt_split ()
 20365  {
 20366    func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
 20367    func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 20368  }
 20369  
 20370  # func_lo2o object
 20371  func_lo2o ()
 20372  {
 20373    func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 20374  }
 20375  
 20376  # func_xform libobj-or-source
 20377  func_xform ()
 20378  {
 20379    func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
 20380  }
 20381  
 20382  # func_arith arithmetic-term...
 20383  func_arith ()
 20384  {
 20385    func_arith_result=`expr "$@"`
 20386  }
 20387  
 20388  # func_len string
 20389  # STRING may not start with a hyphen.
 20390  func_len ()
 20391  {
 20392    func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 20393  }
 20394  
 20395  _LT_EOF
 20396  esac
 20397  
 20398  case $lt_shell_append in
 20399    yes)
 20400      cat << \_LT_EOF >> "$cfgfile"
 20401  
 20402  # func_append var value
 20403  # Append VALUE to the end of shell variable VAR.
 20404  func_append ()
 20405  {
 20406    eval "$1+=\$2"
 20407  }
 20408  _LT_EOF
 20409      ;;
 20410    *)
 20411      cat << \_LT_EOF >> "$cfgfile"
 20412  
 20413  # func_append var value
 20414  # Append VALUE to the end of shell variable VAR.
 20415  func_append ()
 20416  {
 20417    eval "$1=\$$1\$2"
 20418  }
 20419  
 20420  _LT_EOF
 20421      ;;
 20422    esac
 20423  
 20424  
 20425    sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 20426      || (rm -f "$cfgfile"; exit 1)
 20427  
 20428    mv -f "$cfgfile" "$ofile" ||
 20429      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 20430    chmod +x "$ofile"
 20431  
 20432  
 20433      cat <<_LT_EOF >> "$ofile"
 20434  
 20435  # ### BEGIN LIBTOOL TAG CONFIG: CXX
 20436  
 20437  # The linker used to build libraries.
 20438  LD=$lt_LD_CXX
 20439  
 20440  # Commands used to build an old-style archive.
 20441  old_archive_cmds=$lt_old_archive_cmds_CXX
 20442  
 20443  # A language specific compiler.
 20444  CC=$lt_compiler_CXX
 20445  
 20446  # Is the compiler the GNU compiler?
 20447  with_gcc=$GCC_CXX
 20448  
 20449  # Compiler flag to turn off builtin functions.
 20450  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
 20451  
 20452  # How to pass a linker flag through the compiler.
 20453  wl=$lt_lt_prog_compiler_wl_CXX
 20454  
 20455  # Additional compiler flags for building library objects.
 20456  pic_flag=$lt_lt_prog_compiler_pic_CXX
 20457  
 20458  # Compiler flag to prevent dynamic linking.
 20459  link_static_flag=$lt_lt_prog_compiler_static_CXX
 20460  
 20461  # Does compiler simultaneously support -c and -o options?
 20462  compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
 20463  
 20464  # Whether or not to add -lc for building shared libraries.
 20465  build_libtool_need_lc=$archive_cmds_need_lc_CXX
 20466  
 20467  # Whether or not to disallow shared libs when runtime libs are static.
 20468  allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
 20469  
 20470  # Compiler flag to allow reflexive dlopens.
 20471  export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
 20472  
 20473  # Compiler flag to generate shared objects directly from archives.
 20474  whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
 20475  
 20476  # Whether the compiler copes with passing no objects directly.
 20477  compiler_needs_object=$lt_compiler_needs_object_CXX
 20478  
 20479  # Create an old-style archive from a shared archive.
 20480  old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
 20481  
 20482  # Create a temporary old-style archive to link instead of a shared archive.
 20483  old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
 20484  
 20485  # Commands used to build a shared archive.
 20486  archive_cmds=$lt_archive_cmds_CXX
 20487  archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
 20488  
 20489  # Commands used to build a loadable module if different from building
 20490  # a shared archive.
 20491  module_cmds=$lt_module_cmds_CXX
 20492  module_expsym_cmds=$lt_module_expsym_cmds_CXX
 20493  
 20494  # Whether we are building with GNU ld or not.
 20495  with_gnu_ld=$lt_with_gnu_ld_CXX
 20496  
 20497  # Flag that allows shared libraries with undefined symbols to be built.
 20498  allow_undefined_flag=$lt_allow_undefined_flag_CXX
 20499  
 20500  # Flag that enforces no undefined symbols.
 20501  no_undefined_flag=$lt_no_undefined_flag_CXX
 20502  
 20503  # Flag to hardcode \$libdir into a binary during linking.
 20504  # This must work even if \$libdir does not exist
 20505  hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
 20506  
 20507  # If ld is used when linking, flag to hardcode \$libdir into a binary
 20508  # during linking.  This must work even if \$libdir does not exist.
 20509  hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
 20510  
 20511  # Whether we need a single "-rpath" flag with a separated argument.
 20512  hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
 20513  
 20514  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 20515  # DIR into the resulting binary.
 20516  hardcode_direct=$hardcode_direct_CXX
 20517  
 20518  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 20519  # DIR into the resulting binary and the resulting library dependency is
 20520  # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 20521  # library is relocated.
 20522  hardcode_direct_absolute=$hardcode_direct_absolute_CXX
 20523  
 20524  # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 20525  # into the resulting binary.
 20526  hardcode_minus_L=$hardcode_minus_L_CXX
 20527  
 20528  # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 20529  # into the resulting binary.
 20530  hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
 20531  
 20532  # Set to "yes" if building a shared library automatically hardcodes DIR
 20533  # into the library and all subsequent libraries and executables linked
 20534  # against it.
 20535  hardcode_automatic=$hardcode_automatic_CXX
 20536  
 20537  # Set to yes if linker adds runtime paths of dependent libraries
 20538  # to runtime path list.
 20539  inherit_rpath=$inherit_rpath_CXX
 20540  
 20541  # Whether libtool must link a program against all its dependency libraries.
 20542  link_all_deplibs=$link_all_deplibs_CXX
 20543  
 20544  # Fix the shell variable \$srcfile for the compiler.
 20545  fix_srcfile_path=$lt_fix_srcfile_path_CXX
 20546  
 20547  # Set to "yes" if exported symbols are required.
 20548  always_export_symbols=$always_export_symbols_CXX
 20549  
 20550  # The commands to list exported symbols.
 20551  export_symbols_cmds=$lt_export_symbols_cmds_CXX
 20552  
 20553  # Symbols that should not be listed in the preloaded symbols.
 20554  exclude_expsyms=$lt_exclude_expsyms_CXX
 20555  
 20556  # Symbols that must always be exported.
 20557  include_expsyms=$lt_include_expsyms_CXX
 20558  
 20559  # Commands necessary for linking programs (against libraries) with templates.
 20560  prelink_cmds=$lt_prelink_cmds_CXX
 20561  
 20562  # Specify filename containing input files.
 20563  file_list_spec=$lt_file_list_spec_CXX
 20564  
 20565  # How to hardcode a shared library path into an executable.
 20566  hardcode_action=$hardcode_action_CXX
 20567  
 20568  # The directories searched by this compiler when creating a shared library.
 20569  compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
 20570  
 20571  # Dependencies to place before and after the objects being linked to
 20572  # create a shared library.
 20573  predep_objects=$lt_predep_objects_CXX
 20574  postdep_objects=$lt_postdep_objects_CXX
 20575  predeps=$lt_predeps_CXX
 20576  postdeps=$lt_postdeps_CXX
 20577  
 20578  # The library search path used internally by the compiler when linking
 20579  # a shared library.
 20580  compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
 20581  
 20582  # ### END LIBTOOL TAG CONFIG: CXX
 20583  _LT_EOF
 20584  
 20585   ;;
 20586  
 20587    esac
 20588  done # for ac_tag
 20589  
 20590  
 20591  { (exit 0); exit 0; }
 20592  _ACEOF
 20593  chmod +x $CONFIG_STATUS
 20594  ac_clean_files=$ac_clean_files_save
 20595  
 20596  test $ac_write_fail = 0 ||
 20597    { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 20598  $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 20599     { (exit 1); exit 1; }; }
 20600  
 20601  
 20602  # configure is writing to config.log, and then calls config.status.
 20603  # config.status does its own redirection, appending to config.log.
 20604  # Unfortunately, on DOS this fails, as config.log is still kept open
 20605  # by configure, so config.status won't be able to write to it; its
 20606  # output is simply discarded.  So we exec the FD to /dev/null,
 20607  # effectively closing config.log, so it can be properly (re)opened and
 20608  # appended to by config.status.  When coming back to configure, we
 20609  # need to make the FD available again.
 20610  if test "$no_create" != yes; then
 20611    ac_cs_success=:
 20612    ac_config_status_args=
 20613    test "$silent" = yes &&
 20614      ac_config_status_args="$ac_config_status_args --quiet"
 20615    exec 5>/dev/null
 20616    $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 20617    exec 5>>config.log
 20618    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 20619    # would make configure fail if this is the last instruction.
 20620    $ac_cs_success || { (exit 1); exit 1; }
 20621  fi
 20622  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 20623    { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 20624  $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 20625  fi
 20626