github.com/prattmic/llgo-embedded@v0.0.0-20150820070356-41cfecea0e1e/third_party/gofrontend/libgo/configure (about)

     1  #! /bin/sh
     2  # Guess values for system-dependent variables and create Makefiles.
     3  # Generated by GNU Autoconf 2.65 for package-unused version-unused.
     4  #
     5  #
     6  # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     7  # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     8  # Inc.
     9  #
    10  #
    11  # This configure script is free software; the Free Software Foundation
    12  # gives unlimited permission to copy, distribute and modify it.
    13  ## -------------------- ##
    14  ## M4sh Initialization. ##
    15  ## -------------------- ##
    16  
    17  # Be more Bourne compatible
    18  DUALCASE=1; export DUALCASE # for MKS sh
    19  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    20    emulate sh
    21    NULLCMD=:
    22    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    23    # is contrary to our usage.  Disable this feature.
    24    alias -g '${1+"$@"}'='"$@"'
    25    setopt NO_GLOB_SUBST
    26  else
    27    case `(set -o) 2>/dev/null` in #(
    28    *posix*) :
    29      set -o posix ;; #(
    30    *) :
    31       ;;
    32  esac
    33  fi
    34  
    35  
    36  as_nl='
    37  '
    38  export as_nl
    39  # Printing a long string crashes Solaris 7 /usr/bin/printf.
    40  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    41  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    42  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    43  # Prefer a ksh shell builtin over an external printf program on Solaris,
    44  # but without wasting forks for bash or zsh.
    45  if test -z "$BASH_VERSION$ZSH_VERSION" \
    46      && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    47    as_echo='print -r --'
    48    as_echo_n='print -rn --'
    49  elif (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  
    84  # IFS
    85  # We need space, tab and new line, in precisely that order.  Quoting is
    86  # there to prevent editors from complaining about space-tab.
    87  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    88  # splitting by setting IFS to empty value.)
    89  IFS=" ""	$as_nl"
    90  
    91  # Find who we are.  Look in the path if we contain no directory separator.
    92  case $0 in #((
    93    *[\\/]* ) as_myself=$0 ;;
    94    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    95  for as_dir in $PATH
    96  do
    97    IFS=$as_save_IFS
    98    test -z "$as_dir" && as_dir=.
    99      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   100    done
   101  IFS=$as_save_IFS
   102  
   103       ;;
   104  esac
   105  # We did not find ourselves, most probably we were run as `sh COMMAND'
   106  # in which case we are not to be found in the path.
   107  if test "x$as_myself" = x; then
   108    as_myself=$0
   109  fi
   110  if test ! -f "$as_myself"; then
   111    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   112    exit 1
   113  fi
   114  
   115  # Unset variables that we do not need and which cause bugs (e.g. in
   116  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   117  # suppresses any "Segmentation fault" message there.  '((' could
   118  # trigger a bug in pdksh 5.2.14.
   119  for as_var in BASH_ENV ENV MAIL MAILPATH
   120  do eval test x\${$as_var+set} = xset \
   121    && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   122  done
   123  PS1='$ '
   124  PS2='> '
   125  PS4='+ '
   126  
   127  # NLS nuisances.
   128  LC_ALL=C
   129  export LC_ALL
   130  LANGUAGE=C
   131  export LANGUAGE
   132  
   133  # CDPATH.
   134  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   135  
   136  if test "x$CONFIG_SHELL" = x; then
   137    as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
   138    emulate sh
   139    NULLCMD=:
   140    # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
   141    # is contrary to our usage.  Disable this feature.
   142    alias -g '\${1+\"\$@\"}'='\"\$@\"'
   143    setopt NO_GLOB_SUBST
   144  else
   145    case \`(set -o) 2>/dev/null\` in #(
   146    *posix*) :
   147      set -o posix ;; #(
   148    *) :
   149       ;;
   150  esac
   151  fi
   152  "
   153    as_required="as_fn_return () { (exit \$1); }
   154  as_fn_success () { as_fn_return 0; }
   155  as_fn_failure () { as_fn_return 1; }
   156  as_fn_ret_success () { return 0; }
   157  as_fn_ret_failure () { return 1; }
   158  
   159  exitcode=0
   160  as_fn_success || { exitcode=1; echo as_fn_success failed.; }
   161  as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
   162  as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
   163  as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
   164  if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
   165  
   166  else
   167    exitcode=1; echo positional parameters were not saved.
   168  fi
   169  test x\$exitcode = x0 || exit 1"
   170    as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
   171    as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
   172    eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
   173    test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
   174  test \$(( 1 + 1 )) = 2 || exit 1
   175  
   176    test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
   177      ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   178      ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   179      ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
   180      PATH=/empty FPATH=/empty; export PATH FPATH
   181      test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
   182        || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
   183    if (eval "$as_required") 2>/dev/null; then :
   184    as_have_required=yes
   185  else
   186    as_have_required=no
   187  fi
   188    if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
   189  
   190  else
   191    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   192  as_found=false
   193  for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   194  do
   195    IFS=$as_save_IFS
   196    test -z "$as_dir" && as_dir=.
   197    as_found=:
   198    case $as_dir in #(
   199  	 /*)
   200  	   for as_base in sh bash ksh sh5; do
   201  	     # Try only shells that exist, to save several forks.
   202  	     as_shell=$as_dir/$as_base
   203  	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   204  		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
   205    CONFIG_SHELL=$as_shell as_have_required=yes
   206  		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
   207    break 2
   208  fi
   209  fi
   210  	   done;;
   211         esac
   212    as_found=false
   213  done
   214  $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
   215  	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
   216    CONFIG_SHELL=$SHELL as_have_required=yes
   217  fi; }
   218  IFS=$as_save_IFS
   219  
   220  
   221        if test "x$CONFIG_SHELL" != x; then :
   222    # We cannot yet assume a decent shell, so we have to provide a
   223  	# neutralization value for shells without unset; and this also
   224  	# works around shells that cannot unset nonexistent variables.
   225  	BASH_ENV=/dev/null
   226  	ENV=/dev/null
   227  	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
   228  	export CONFIG_SHELL
   229  	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   230  fi
   231  
   232      if test x$as_have_required = xno; then :
   233    $as_echo "$0: This script requires a shell more modern than all"
   234    $as_echo "$0: the shells that I found on your system."
   235    if test x${ZSH_VERSION+set} = xset ; then
   236      $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
   237      $as_echo "$0: be upgraded to zsh 4.3.4 or later."
   238    else
   239      $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
   240  $0: including any error possibly output before this
   241  $0: message. Then install a modern shell, or manually run
   242  $0: the script under such a shell if you do have one."
   243    fi
   244    exit 1
   245  fi
   246  fi
   247  fi
   248  SHELL=${CONFIG_SHELL-/bin/sh}
   249  export SHELL
   250  # Unset more variables known to interfere with behavior of common tools.
   251  CLICOLOR_FORCE= GREP_OPTIONS=
   252  unset CLICOLOR_FORCE GREP_OPTIONS
   253  
   254  ## --------------------- ##
   255  ## M4sh Shell Functions. ##
   256  ## --------------------- ##
   257  # as_fn_unset VAR
   258  # ---------------
   259  # Portably unset VAR.
   260  as_fn_unset ()
   261  {
   262    { eval $1=; unset $1;}
   263  }
   264  as_unset=as_fn_unset
   265  
   266  # as_fn_set_status STATUS
   267  # -----------------------
   268  # Set $? to STATUS, without forking.
   269  as_fn_set_status ()
   270  {
   271    return $1
   272  } # as_fn_set_status
   273  
   274  # as_fn_exit STATUS
   275  # -----------------
   276  # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   277  as_fn_exit ()
   278  {
   279    set +e
   280    as_fn_set_status $1
   281    exit $1
   282  } # as_fn_exit
   283  
   284  # as_fn_mkdir_p
   285  # -------------
   286  # Create "$as_dir" as a directory, including parents if necessary.
   287  as_fn_mkdir_p ()
   288  {
   289  
   290    case $as_dir in #(
   291    -*) as_dir=./$as_dir;;
   292    esac
   293    test -d "$as_dir" || eval $as_mkdir_p || {
   294      as_dirs=
   295      while :; do
   296        case $as_dir in #(
   297        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   298        *) as_qdir=$as_dir;;
   299        esac
   300        as_dirs="'$as_qdir' $as_dirs"
   301        as_dir=`$as_dirname -- "$as_dir" ||
   302  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   303  	 X"$as_dir" : 'X\(//\)[^/]' \| \
   304  	 X"$as_dir" : 'X\(//\)$' \| \
   305  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   306  $as_echo X"$as_dir" |
   307      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   308  	    s//\1/
   309  	    q
   310  	  }
   311  	  /^X\(\/\/\)[^/].*/{
   312  	    s//\1/
   313  	    q
   314  	  }
   315  	  /^X\(\/\/\)$/{
   316  	    s//\1/
   317  	    q
   318  	  }
   319  	  /^X\(\/\).*/{
   320  	    s//\1/
   321  	    q
   322  	  }
   323  	  s/.*/./; q'`
   324        test -d "$as_dir" && break
   325      done
   326      test -z "$as_dirs" || eval "mkdir $as_dirs"
   327    } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
   328  
   329  
   330  } # as_fn_mkdir_p
   331  # as_fn_append VAR VALUE
   332  # ----------------------
   333  # Append the text in VALUE to the end of the definition contained in VAR. Take
   334  # advantage of any shell optimizations that allow amortized linear growth over
   335  # repeated appends, instead of the typical quadratic growth present in naive
   336  # implementations.
   337  if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   338    eval 'as_fn_append ()
   339    {
   340      eval $1+=\$2
   341    }'
   342  else
   343    as_fn_append ()
   344    {
   345      eval $1=\$$1\$2
   346    }
   347  fi # as_fn_append
   348  
   349  # as_fn_arith ARG...
   350  # ------------------
   351  # Perform arithmetic evaluation on the ARGs, and store the result in the
   352  # global $as_val. Take advantage of shells that can avoid forks. The arguments
   353  # must be portable across $(()) and expr.
   354  if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   355    eval 'as_fn_arith ()
   356    {
   357      as_val=$(( $* ))
   358    }'
   359  else
   360    as_fn_arith ()
   361    {
   362      as_val=`expr "$@" || test $? -eq 1`
   363    }
   364  fi # as_fn_arith
   365  
   366  
   367  # as_fn_error ERROR [LINENO LOG_FD]
   368  # ---------------------------------
   369  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   370  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   371  # script with status $?, using 1 if that was 0.
   372  as_fn_error ()
   373  {
   374    as_status=$?; test $as_status -eq 0 && as_status=1
   375    if test "$3"; then
   376      as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   377      $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
   378    fi
   379    $as_echo "$as_me: error: $1" >&2
   380    as_fn_exit $as_status
   381  } # as_fn_error
   382  
   383  if expr a : '\(a\)' >/dev/null 2>&1 &&
   384     test "X`expr 00001 : '.*\(...\)'`" = X001; then
   385    as_expr=expr
   386  else
   387    as_expr=false
   388  fi
   389  
   390  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   391    as_basename=basename
   392  else
   393    as_basename=false
   394  fi
   395  
   396  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   397    as_dirname=dirname
   398  else
   399    as_dirname=false
   400  fi
   401  
   402  as_me=`$as_basename -- "$0" ||
   403  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   404  	 X"$0" : 'X\(//\)$' \| \
   405  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   406  $as_echo X/"$0" |
   407      sed '/^.*\/\([^/][^/]*\)\/*$/{
   408  	    s//\1/
   409  	    q
   410  	  }
   411  	  /^X\/\(\/\/\)$/{
   412  	    s//\1/
   413  	    q
   414  	  }
   415  	  /^X\/\(\/\).*/{
   416  	    s//\1/
   417  	    q
   418  	  }
   419  	  s/.*/./; q'`
   420  
   421  # Avoid depending upon Character Ranges.
   422  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   423  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   424  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   425  as_cr_digits='0123456789'
   426  as_cr_alnum=$as_cr_Letters$as_cr_digits
   427  
   428  
   429    as_lineno_1=$LINENO as_lineno_1a=$LINENO
   430    as_lineno_2=$LINENO as_lineno_2a=$LINENO
   431    eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
   432    test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
   433    # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
   434    sed -n '
   435      p
   436      /[$]LINENO/=
   437    ' <$as_myself |
   438      sed '
   439        s/[$]LINENO.*/&-/
   440        t lineno
   441        b
   442        :lineno
   443        N
   444        :loop
   445        s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   446        t loop
   447        s/-\n.*//
   448      ' >$as_me.lineno &&
   449    chmod +x "$as_me.lineno" ||
   450      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
   451  
   452    # Don't try to exec as it changes $[0], causing all sort of problems
   453    # (the dirname of $[0] is not the place where we might find the
   454    # original and so on.  Autoconf is especially sensitive to this).
   455    . "./$as_me.lineno"
   456    # Exit status is that of the last command.
   457    exit
   458  }
   459  
   460  ECHO_C= ECHO_N= ECHO_T=
   461  case `echo -n x` in #(((((
   462  -n*)
   463    case `echo 'xy\c'` in
   464    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   465    xy)  ECHO_C='\c';;
   466    *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   467         ECHO_T='	';;
   468    esac;;
   469  *)
   470    ECHO_N='-n';;
   471  esac
   472  
   473  rm -f conf$$ conf$$.exe conf$$.file
   474  if test -d conf$$.dir; then
   475    rm -f conf$$.dir/conf$$.file
   476  else
   477    rm -f conf$$.dir
   478    mkdir conf$$.dir 2>/dev/null
   479  fi
   480  if (echo >conf$$.file) 2>/dev/null; then
   481    if ln -s conf$$.file conf$$ 2>/dev/null; then
   482      as_ln_s='ln -s'
   483      # ... but there are two gotchas:
   484      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   485      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   486      # In both cases, we have to default to `cp -p'.
   487      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   488        as_ln_s='cp -p'
   489    elif ln conf$$.file conf$$ 2>/dev/null; then
   490      as_ln_s=ln
   491    else
   492      as_ln_s='cp -p'
   493    fi
   494  else
   495    as_ln_s='cp -p'
   496  fi
   497  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   498  rmdir conf$$.dir 2>/dev/null
   499  
   500  if mkdir -p . 2>/dev/null; then
   501    as_mkdir_p='mkdir -p "$as_dir"'
   502  else
   503    test -d ./-p && rmdir ./-p
   504    as_mkdir_p=false
   505  fi
   506  
   507  if test -x / >/dev/null 2>&1; then
   508    as_test_x='test -x'
   509  else
   510    if ls -dL / >/dev/null 2>&1; then
   511      as_ls_L_option=L
   512    else
   513      as_ls_L_option=
   514    fi
   515    as_test_x='
   516      eval sh -c '\''
   517        if test -d "$1"; then
   518  	test -d "$1/.";
   519        else
   520  	case $1 in #(
   521  	-*)set "./$1";;
   522  	esac;
   523  	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   524  	???[sx]*):;;*)false;;esac;fi
   525      '\'' sh
   526    '
   527  fi
   528  as_executable_p=$as_test_x
   529  
   530  # Sed expression to map a string onto a valid CPP name.
   531  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   532  
   533  # Sed expression to map a string onto a valid variable name.
   534  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   535  
   536  SHELL=${CONFIG_SHELL-/bin/sh}
   537  
   538  
   539  test -n "$DJDIR" || exec 7<&0 </dev/null
   540  exec 6>&1
   541  
   542  # Name of the host.
   543  # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   544  # so uname gets run too.
   545  ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   546  
   547  #
   548  # Initializations.
   549  #
   550  ac_default_prefix=/usr/local
   551  ac_clean_files=
   552  ac_config_libobj_dir=.
   553  LIBOBJS=
   554  cross_compiling=no
   555  subdirs=
   556  MFLAGS=
   557  MAKEFLAGS=
   558  
   559  # Identity of this package.
   560  PACKAGE_NAME='package-unused'
   561  PACKAGE_TARNAME='libgo'
   562  PACKAGE_VERSION='version-unused'
   563  PACKAGE_STRING='package-unused version-unused'
   564  PACKAGE_BUGREPORT=''
   565  PACKAGE_URL=''
   566  
   567  ac_unique_file="Makefile.am"
   568  # Factoring default headers for most tests.
   569  ac_includes_default="\
   570  #include <stdio.h>
   571  #ifdef HAVE_SYS_TYPES_H
   572  # include <sys/types.h>
   573  #endif
   574  #ifdef HAVE_SYS_STAT_H
   575  # include <sys/stat.h>
   576  #endif
   577  #ifdef STDC_HEADERS
   578  # include <stdlib.h>
   579  # include <stddef.h>
   580  #else
   581  # ifdef HAVE_STDLIB_H
   582  #  include <stdlib.h>
   583  # endif
   584  #endif
   585  #ifdef HAVE_STRING_H
   586  # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   587  #  include <memory.h>
   588  # endif
   589  # include <string.h>
   590  #endif
   591  #ifdef HAVE_STRINGS_H
   592  # include <strings.h>
   593  #endif
   594  #ifdef HAVE_INTTYPES_H
   595  # include <inttypes.h>
   596  #endif
   597  #ifdef HAVE_STDINT_H
   598  # include <stdint.h>
   599  #endif
   600  #ifdef HAVE_UNISTD_H
   601  # include <unistd.h>
   602  #endif"
   603  
   604  ac_subst_vars='am__EXEEXT_FALSE
   605  am__EXEEXT_TRUE
   606  LTLIBOBJS
   607  LIBOBJS
   608  STRUCT_EPOLL_EVENT_FD_OFFSET
   609  SIZEOF_STRUCT_EPOLL_EVENT
   610  MATH_FLAG
   611  STRINGOPS_FLAG
   612  HAVE_WAIT4_FALSE
   613  HAVE_WAIT4_TRUE
   614  HAVE_STRERROR_R_FALSE
   615  HAVE_STRERROR_R_TRUE
   616  HAVE_SYS_MMAN_H_FALSE
   617  HAVE_SYS_MMAN_H_TRUE
   618  PTHREAD_LIBS
   619  PTHREAD_CFLAGS
   620  NET_LIBS
   621  MATH_LIBS
   622  GOC_IS_LLGO_FALSE
   623  GOC_IS_LLGO_TRUE
   624  USING_SPLIT_STACK_FALSE
   625  USING_SPLIT_STACK_TRUE
   626  SPLIT_STACK
   627  OSCFLAGS
   628  GO_SYSCALL_OS_ARCH_FILE
   629  GO_SYSCALL_OS_FILE
   630  GO_LIBCALL_OS_ARCH_FILE
   631  GO_LIBCALL_OS_FILE
   632  GOARCH
   633  LIBGO_IS_X86_64_FALSE
   634  LIBGO_IS_X86_64_TRUE
   635  LIBGO_IS_SPARC64_FALSE
   636  LIBGO_IS_SPARC64_TRUE
   637  LIBGO_IS_SPARC_FALSE
   638  LIBGO_IS_SPARC_TRUE
   639  LIBGO_IS_S390X_FALSE
   640  LIBGO_IS_S390X_TRUE
   641  LIBGO_IS_S390_FALSE
   642  LIBGO_IS_S390_TRUE
   643  LIBGO_IS_PPC64LE_FALSE
   644  LIBGO_IS_PPC64LE_TRUE
   645  LIBGO_IS_PPC64_FALSE
   646  LIBGO_IS_PPC64_TRUE
   647  LIBGO_IS_PPC_FALSE
   648  LIBGO_IS_PPC_TRUE
   649  LIBGO_IS_MIPSO64_FALSE
   650  LIBGO_IS_MIPSO64_TRUE
   651  LIBGO_IS_MIPSN64_FALSE
   652  LIBGO_IS_MIPSN64_TRUE
   653  LIBGO_IS_MIPSN32_FALSE
   654  LIBGO_IS_MIPSN32_TRUE
   655  LIBGO_IS_MIPSO32_FALSE
   656  LIBGO_IS_MIPSO32_TRUE
   657  LIBGO_IS_MIPS_FALSE
   658  LIBGO_IS_MIPS_TRUE
   659  LIBGO_IS_M68K_FALSE
   660  LIBGO_IS_M68K_TRUE
   661  LIBGO_IS_ARM64_FALSE
   662  LIBGO_IS_ARM64_TRUE
   663  LIBGO_IS_ARM_FALSE
   664  LIBGO_IS_ARM_TRUE
   665  LIBGO_IS_ALPHA_FALSE
   666  LIBGO_IS_ALPHA_TRUE
   667  LIBGO_IS_386_FALSE
   668  LIBGO_IS_386_TRUE
   669  USE_DEJAGNU
   670  GOOS
   671  LIBGO_IS_SOLARIS_FALSE
   672  LIBGO_IS_SOLARIS_TRUE
   673  LIBGO_IS_RTEMS_FALSE
   674  LIBGO_IS_RTEMS_TRUE
   675  LIBGO_IS_DRAGONFLY_FALSE
   676  LIBGO_IS_DRAGONFLY_TRUE
   677  LIBGO_IS_OPENBSD_FALSE
   678  LIBGO_IS_OPENBSD_TRUE
   679  LIBGO_IS_NETBSD_FALSE
   680  LIBGO_IS_NETBSD_TRUE
   681  LIBGO_IS_LINUX_FALSE
   682  LIBGO_IS_LINUX_TRUE
   683  LIBGO_IS_IRIX_FALSE
   684  LIBGO_IS_IRIX_TRUE
   685  LIBGO_IS_FREEBSD_FALSE
   686  LIBGO_IS_FREEBSD_TRUE
   687  LIBGO_IS_DARWIN_FALSE
   688  LIBGO_IS_DARWIN_TRUE
   689  go_include
   690  LIBATOMIC
   691  LIBFFIINCS
   692  LIBFFI
   693  nover_glibgo_toolexeclibdir
   694  glibgo_toolexeclibdir
   695  glibgo_toolexecdir
   696  WERROR
   697  WARN_FLAGS
   698  CC_FOR_BUILD
   699  enable_static
   700  enable_shared
   701  CPP
   702  OTOOL64
   703  OTOOL
   704  LIPO
   705  NMEDIT
   706  DSYMUTIL
   707  AR
   708  OBJDUMP
   709  LN_S
   710  NM
   711  ac_ct_DUMPBIN
   712  DUMPBIN
   713  LIBTOOL
   714  OBJCOPY
   715  RANLIB
   716  LD
   717  FGREP
   718  EGREP
   719  GREP
   720  SED
   721  MAINT
   722  MAINTAINER_MODE_FALSE
   723  MAINTAINER_MODE_TRUE
   724  GOCFLAGS
   725  GOC
   726  am__fastdepCC_FALSE
   727  am__fastdepCC_TRUE
   728  CCDEPMODE
   729  am__nodep
   730  AMDEPBACKSLASH
   731  AMDEP_FALSE
   732  AMDEP_TRUE
   733  am__quote
   734  am__include
   735  DEPDIR
   736  OBJEXT
   737  EXEEXT
   738  ac_ct_CC
   739  CPPFLAGS
   740  LDFLAGS
   741  CFLAGS
   742  CC
   743  AM_BACKSLASH
   744  AM_DEFAULT_VERBOSITY
   745  AM_DEFAULT_V
   746  AM_V
   747  am__untar
   748  am__tar
   749  AMTAR
   750  am__leading_dot
   751  SET_MAKE
   752  AWK
   753  mkdir_p
   754  MKDIR_P
   755  INSTALL_STRIP_PROGRAM
   756  STRIP
   757  install_sh
   758  MAKEINFO
   759  AUTOHEADER
   760  AUTOMAKE
   761  AUTOCONF
   762  ACLOCAL
   763  VERSION
   764  PACKAGE
   765  CYGPATH_W
   766  am__isrc
   767  INSTALL_DATA
   768  INSTALL_SCRIPT
   769  INSTALL_PROGRAM
   770  target_os
   771  target_vendor
   772  target_cpu
   773  target
   774  host_os
   775  host_vendor
   776  host_cpu
   777  host
   778  build_os
   779  build_vendor
   780  build_cpu
   781  build
   782  libtool_VERSION
   783  target_alias
   784  host_alias
   785  build_alias
   786  LIBS
   787  ECHO_T
   788  ECHO_N
   789  ECHO_C
   790  DEFS
   791  mandir
   792  localedir
   793  libdir
   794  psdir
   795  pdfdir
   796  dvidir
   797  htmldir
   798  infodir
   799  docdir
   800  oldincludedir
   801  includedir
   802  localstatedir
   803  sharedstatedir
   804  sysconfdir
   805  datadir
   806  datarootdir
   807  libexecdir
   808  sbindir
   809  bindir
   810  program_transform_name
   811  prefix
   812  exec_prefix
   813  PACKAGE_URL
   814  PACKAGE_BUGREPORT
   815  PACKAGE_STRING
   816  PACKAGE_VERSION
   817  PACKAGE_TARNAME
   818  PACKAGE_NAME
   819  PATH_SEPARATOR
   820  SHELL'
   821  ac_subst_files=''
   822  ac_user_opts='
   823  enable_option_checking
   824  enable_silent_rules
   825  enable_dependency_tracking
   826  enable_maintainer_mode
   827  with_gnu_ld
   828  enable_shared
   829  enable_static
   830  with_pic
   831  enable_fast_install
   832  enable_libtool_lock
   833  enable_werror
   834  enable_version_specific_runtime_libs
   835  with_libffi
   836  with_libatomic
   837  with_stack_split
   838  enable_sjlj_exceptions
   839  '
   840        ac_precious_vars='build_alias
   841  host_alias
   842  target_alias
   843  CPP
   844  CPPFLAGS'
   845  
   846  
   847  # Initialize some variables set by options.
   848  ac_init_help=
   849  ac_init_version=false
   850  ac_unrecognized_opts=
   851  ac_unrecognized_sep=
   852  # The variables have the same names as the options, with
   853  # dashes changed to underlines.
   854  cache_file=/dev/null
   855  exec_prefix=NONE
   856  no_create=
   857  no_recursion=
   858  prefix=NONE
   859  program_prefix=NONE
   860  program_suffix=NONE
   861  program_transform_name=s,x,x,
   862  silent=
   863  site=
   864  srcdir=
   865  verbose=
   866  x_includes=NONE
   867  x_libraries=NONE
   868  
   869  # Installation directory options.
   870  # These are left unexpanded so users can "make install exec_prefix=/foo"
   871  # and all the variables that are supposed to be based on exec_prefix
   872  # by default will actually change.
   873  # Use braces instead of parens because sh, perl, etc. also accept them.
   874  # (The list follows the same order as the GNU Coding Standards.)
   875  bindir='${exec_prefix}/bin'
   876  sbindir='${exec_prefix}/sbin'
   877  libexecdir='${exec_prefix}/libexec'
   878  datarootdir='${prefix}/share'
   879  datadir='${datarootdir}'
   880  sysconfdir='${prefix}/etc'
   881  sharedstatedir='${prefix}/com'
   882  localstatedir='${prefix}/var'
   883  includedir='${prefix}/include'
   884  oldincludedir='/usr/include'
   885  docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
   886  infodir='${datarootdir}/info'
   887  htmldir='${docdir}'
   888  dvidir='${docdir}'
   889  pdfdir='${docdir}'
   890  psdir='${docdir}'
   891  libdir='${exec_prefix}/lib'
   892  localedir='${datarootdir}/locale'
   893  mandir='${datarootdir}/man'
   894  
   895  ac_prev=
   896  ac_dashdash=
   897  for ac_option
   898  do
   899    # If the previous option needs an argument, assign it.
   900    if test -n "$ac_prev"; then
   901      eval $ac_prev=\$ac_option
   902      ac_prev=
   903      continue
   904    fi
   905  
   906    case $ac_option in
   907    *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   908    *)	ac_optarg=yes ;;
   909    esac
   910  
   911    # Accept the important Cygnus configure options, so we can diagnose typos.
   912  
   913    case $ac_dashdash$ac_option in
   914    --)
   915      ac_dashdash=yes ;;
   916  
   917    -bindir | --bindir | --bindi | --bind | --bin | --bi)
   918      ac_prev=bindir ;;
   919    -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   920      bindir=$ac_optarg ;;
   921  
   922    -build | --build | --buil | --bui | --bu)
   923      ac_prev=build_alias ;;
   924    -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   925      build_alias=$ac_optarg ;;
   926  
   927    -cache-file | --cache-file | --cache-fil | --cache-fi \
   928    | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   929      ac_prev=cache_file ;;
   930    -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   931    | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   932      cache_file=$ac_optarg ;;
   933  
   934    --config-cache | -C)
   935      cache_file=config.cache ;;
   936  
   937    -datadir | --datadir | --datadi | --datad)
   938      ac_prev=datadir ;;
   939    -datadir=* | --datadir=* | --datadi=* | --datad=*)
   940      datadir=$ac_optarg ;;
   941  
   942    -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   943    | --dataroo | --dataro | --datar)
   944      ac_prev=datarootdir ;;
   945    -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   946    | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   947      datarootdir=$ac_optarg ;;
   948  
   949    -disable-* | --disable-*)
   950      ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   951      # Reject names that are not valid shell variable names.
   952      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   953        as_fn_error "invalid feature name: $ac_useropt"
   954      ac_useropt_orig=$ac_useropt
   955      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   956      case $ac_user_opts in
   957        *"
   958  "enable_$ac_useropt"
   959  "*) ;;
   960        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   961  	 ac_unrecognized_sep=', ';;
   962      esac
   963      eval enable_$ac_useropt=no ;;
   964  
   965    -docdir | --docdir | --docdi | --doc | --do)
   966      ac_prev=docdir ;;
   967    -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   968      docdir=$ac_optarg ;;
   969  
   970    -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   971      ac_prev=dvidir ;;
   972    -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   973      dvidir=$ac_optarg ;;
   974  
   975    -enable-* | --enable-*)
   976      ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   977      # Reject names that are not valid shell variable names.
   978      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   979        as_fn_error "invalid feature name: $ac_useropt"
   980      ac_useropt_orig=$ac_useropt
   981      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   982      case $ac_user_opts in
   983        *"
   984  "enable_$ac_useropt"
   985  "*) ;;
   986        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   987  	 ac_unrecognized_sep=', ';;
   988      esac
   989      eval enable_$ac_useropt=\$ac_optarg ;;
   990  
   991    -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   992    | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   993    | --exec | --exe | --ex)
   994      ac_prev=exec_prefix ;;
   995    -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   996    | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   997    | --exec=* | --exe=* | --ex=*)
   998      exec_prefix=$ac_optarg ;;
   999  
  1000    -gas | --gas | --ga | --g)
  1001      # Obsolete; use --with-gas.
  1002      with_gas=yes ;;
  1003  
  1004    -help | --help | --hel | --he | -h)
  1005      ac_init_help=long ;;
  1006    -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1007      ac_init_help=recursive ;;
  1008    -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1009      ac_init_help=short ;;
  1010  
  1011    -host | --host | --hos | --ho)
  1012      ac_prev=host_alias ;;
  1013    -host=* | --host=* | --hos=* | --ho=*)
  1014      host_alias=$ac_optarg ;;
  1015  
  1016    -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1017      ac_prev=htmldir ;;
  1018    -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1019    | --ht=*)
  1020      htmldir=$ac_optarg ;;
  1021  
  1022    -includedir | --includedir | --includedi | --included | --include \
  1023    | --includ | --inclu | --incl | --inc)
  1024      ac_prev=includedir ;;
  1025    -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1026    | --includ=* | --inclu=* | --incl=* | --inc=*)
  1027      includedir=$ac_optarg ;;
  1028  
  1029    -infodir | --infodir | --infodi | --infod | --info | --inf)
  1030      ac_prev=infodir ;;
  1031    -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1032      infodir=$ac_optarg ;;
  1033  
  1034    -libdir | --libdir | --libdi | --libd)
  1035      ac_prev=libdir ;;
  1036    -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1037      libdir=$ac_optarg ;;
  1038  
  1039    -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1040    | --libexe | --libex | --libe)
  1041      ac_prev=libexecdir ;;
  1042    -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1043    | --libexe=* | --libex=* | --libe=*)
  1044      libexecdir=$ac_optarg ;;
  1045  
  1046    -localedir | --localedir | --localedi | --localed | --locale)
  1047      ac_prev=localedir ;;
  1048    -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1049      localedir=$ac_optarg ;;
  1050  
  1051    -localstatedir | --localstatedir | --localstatedi | --localstated \
  1052    | --localstate | --localstat | --localsta | --localst | --locals)
  1053      ac_prev=localstatedir ;;
  1054    -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1055    | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1056      localstatedir=$ac_optarg ;;
  1057  
  1058    -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1059      ac_prev=mandir ;;
  1060    -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1061      mandir=$ac_optarg ;;
  1062  
  1063    -nfp | --nfp | --nf)
  1064      # Obsolete; use --without-fp.
  1065      with_fp=no ;;
  1066  
  1067    -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1068    | --no-cr | --no-c | -n)
  1069      no_create=yes ;;
  1070  
  1071    -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1072    | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1073      no_recursion=yes ;;
  1074  
  1075    -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1076    | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1077    | --oldin | --oldi | --old | --ol | --o)
  1078      ac_prev=oldincludedir ;;
  1079    -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1080    | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1081    | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1082      oldincludedir=$ac_optarg ;;
  1083  
  1084    -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1085      ac_prev=prefix ;;
  1086    -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1087      prefix=$ac_optarg ;;
  1088  
  1089    -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1090    | --program-pre | --program-pr | --program-p)
  1091      ac_prev=program_prefix ;;
  1092    -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1093    | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1094      program_prefix=$ac_optarg ;;
  1095  
  1096    -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1097    | --program-suf | --program-su | --program-s)
  1098      ac_prev=program_suffix ;;
  1099    -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1100    | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1101      program_suffix=$ac_optarg ;;
  1102  
  1103    -program-transform-name | --program-transform-name \
  1104    | --program-transform-nam | --program-transform-na \
  1105    | --program-transform-n | --program-transform- \
  1106    | --program-transform | --program-transfor \
  1107    | --program-transfo | --program-transf \
  1108    | --program-trans | --program-tran \
  1109    | --progr-tra | --program-tr | --program-t)
  1110      ac_prev=program_transform_name ;;
  1111    -program-transform-name=* | --program-transform-name=* \
  1112    | --program-transform-nam=* | --program-transform-na=* \
  1113    | --program-transform-n=* | --program-transform-=* \
  1114    | --program-transform=* | --program-transfor=* \
  1115    | --program-transfo=* | --program-transf=* \
  1116    | --program-trans=* | --program-tran=* \
  1117    | --progr-tra=* | --program-tr=* | --program-t=*)
  1118      program_transform_name=$ac_optarg ;;
  1119  
  1120    -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1121      ac_prev=pdfdir ;;
  1122    -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1123      pdfdir=$ac_optarg ;;
  1124  
  1125    -psdir | --psdir | --psdi | --psd | --ps)
  1126      ac_prev=psdir ;;
  1127    -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1128      psdir=$ac_optarg ;;
  1129  
  1130    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1131    | -silent | --silent | --silen | --sile | --sil)
  1132      silent=yes ;;
  1133  
  1134    -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1135      ac_prev=sbindir ;;
  1136    -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1137    | --sbi=* | --sb=*)
  1138      sbindir=$ac_optarg ;;
  1139  
  1140    -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1141    | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1142    | --sharedst | --shareds | --shared | --share | --shar \
  1143    | --sha | --sh)
  1144      ac_prev=sharedstatedir ;;
  1145    -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1146    | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1147    | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1148    | --sha=* | --sh=*)
  1149      sharedstatedir=$ac_optarg ;;
  1150  
  1151    -site | --site | --sit)
  1152      ac_prev=site ;;
  1153    -site=* | --site=* | --sit=*)
  1154      site=$ac_optarg ;;
  1155  
  1156    -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1157      ac_prev=srcdir ;;
  1158    -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1159      srcdir=$ac_optarg ;;
  1160  
  1161    -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1162    | --syscon | --sysco | --sysc | --sys | --sy)
  1163      ac_prev=sysconfdir ;;
  1164    -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1165    | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1166      sysconfdir=$ac_optarg ;;
  1167  
  1168    -target | --target | --targe | --targ | --tar | --ta | --t)
  1169      ac_prev=target_alias ;;
  1170    -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1171      target_alias=$ac_optarg ;;
  1172  
  1173    -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1174      verbose=yes ;;
  1175  
  1176    -version | --version | --versio | --versi | --vers | -V)
  1177      ac_init_version=: ;;
  1178  
  1179    -with-* | --with-*)
  1180      ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1181      # Reject names that are not valid shell variable names.
  1182      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1183        as_fn_error "invalid package name: $ac_useropt"
  1184      ac_useropt_orig=$ac_useropt
  1185      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1186      case $ac_user_opts in
  1187        *"
  1188  "with_$ac_useropt"
  1189  "*) ;;
  1190        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1191  	 ac_unrecognized_sep=', ';;
  1192      esac
  1193      eval with_$ac_useropt=\$ac_optarg ;;
  1194  
  1195    -without-* | --without-*)
  1196      ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1197      # Reject names that are not valid shell variable names.
  1198      expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1199        as_fn_error "invalid package name: $ac_useropt"
  1200      ac_useropt_orig=$ac_useropt
  1201      ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1202      case $ac_user_opts in
  1203        *"
  1204  "with_$ac_useropt"
  1205  "*) ;;
  1206        *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1207  	 ac_unrecognized_sep=', ';;
  1208      esac
  1209      eval with_$ac_useropt=no ;;
  1210  
  1211    --x)
  1212      # Obsolete; use --with-x.
  1213      with_x=yes ;;
  1214  
  1215    -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1216    | --x-incl | --x-inc | --x-in | --x-i)
  1217      ac_prev=x_includes ;;
  1218    -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1219    | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1220      x_includes=$ac_optarg ;;
  1221  
  1222    -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1223    | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1224      ac_prev=x_libraries ;;
  1225    -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1226    | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1227      x_libraries=$ac_optarg ;;
  1228  
  1229    -*) as_fn_error "unrecognized option: \`$ac_option'
  1230  Try \`$0 --help' for more information."
  1231      ;;
  1232  
  1233    *=*)
  1234      ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1235      # Reject names that are not valid shell variable names.
  1236      case $ac_envvar in #(
  1237        '' | [0-9]* | *[!_$as_cr_alnum]* )
  1238        as_fn_error "invalid variable name: \`$ac_envvar'" ;;
  1239      esac
  1240      eval $ac_envvar=\$ac_optarg
  1241      export $ac_envvar ;;
  1242  
  1243    *)
  1244      # FIXME: should be removed in autoconf 3.0.
  1245      $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1246      expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1247        $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1248      : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1249      ;;
  1250  
  1251    esac
  1252  done
  1253  
  1254  if test -n "$ac_prev"; then
  1255    ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1256    as_fn_error "missing argument to $ac_option"
  1257  fi
  1258  
  1259  if test -n "$ac_unrecognized_opts"; then
  1260    case $enable_option_checking in
  1261      no) ;;
  1262      fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
  1263      *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1264    esac
  1265  fi
  1266  
  1267  # Check all directory arguments for consistency.
  1268  for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1269  		datadir sysconfdir sharedstatedir localstatedir includedir \
  1270  		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1271  		libdir localedir mandir
  1272  do
  1273    eval ac_val=\$$ac_var
  1274    # Remove trailing slashes.
  1275    case $ac_val in
  1276      */ )
  1277        ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1278        eval $ac_var=\$ac_val;;
  1279    esac
  1280    # Be sure to have absolute directory names.
  1281    case $ac_val in
  1282      [\\/$]* | ?:[\\/]* )  continue;;
  1283      NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1284    esac
  1285    as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
  1286  done
  1287  
  1288  # There might be people who depend on the old broken behavior: `$host'
  1289  # used to hold the argument of --host etc.
  1290  # FIXME: To remove some day.
  1291  build=$build_alias
  1292  host=$host_alias
  1293  target=$target_alias
  1294  
  1295  # FIXME: To remove some day.
  1296  if test "x$host_alias" != x; then
  1297    if test "x$build_alias" = x; then
  1298      cross_compiling=maybe
  1299      $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1300      If a cross compiler is detected then cross compile mode will be used." >&2
  1301    elif test "x$build_alias" != "x$host_alias"; then
  1302      cross_compiling=yes
  1303    fi
  1304  fi
  1305  
  1306  ac_tool_prefix=
  1307  test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1308  
  1309  test "$silent" = yes && exec 6>/dev/null
  1310  
  1311  
  1312  ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1313  ac_ls_di=`ls -di .` &&
  1314  ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1315    as_fn_error "working directory cannot be determined"
  1316  test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1317    as_fn_error "pwd does not report name of working directory"
  1318  
  1319  
  1320  # Find the source files, if location was not specified.
  1321  if test -z "$srcdir"; then
  1322    ac_srcdir_defaulted=yes
  1323    # Try the directory containing this script, then the parent directory.
  1324    ac_confdir=`$as_dirname -- "$as_myself" ||
  1325  $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1326  	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1327  	 X"$as_myself" : 'X\(//\)$' \| \
  1328  	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1329  $as_echo X"$as_myself" |
  1330      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1331  	    s//\1/
  1332  	    q
  1333  	  }
  1334  	  /^X\(\/\/\)[^/].*/{
  1335  	    s//\1/
  1336  	    q
  1337  	  }
  1338  	  /^X\(\/\/\)$/{
  1339  	    s//\1/
  1340  	    q
  1341  	  }
  1342  	  /^X\(\/\).*/{
  1343  	    s//\1/
  1344  	    q
  1345  	  }
  1346  	  s/.*/./; q'`
  1347    srcdir=$ac_confdir
  1348    if test ! -r "$srcdir/$ac_unique_file"; then
  1349      srcdir=..
  1350    fi
  1351  else
  1352    ac_srcdir_defaulted=no
  1353  fi
  1354  if test ! -r "$srcdir/$ac_unique_file"; then
  1355    test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1356    as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
  1357  fi
  1358  ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1359  ac_abs_confdir=`(
  1360  	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
  1361  	pwd)`
  1362  # When building in place, set srcdir=.
  1363  if test "$ac_abs_confdir" = "$ac_pwd"; then
  1364    srcdir=.
  1365  fi
  1366  # Remove unnecessary trailing slashes from srcdir.
  1367  # Double slashes in file names in object file debugging info
  1368  # mess up M-x gdb in Emacs.
  1369  case $srcdir in
  1370  */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1371  esac
  1372  for ac_var in $ac_precious_vars; do
  1373    eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1374    eval ac_env_${ac_var}_value=\$${ac_var}
  1375    eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1376    eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1377  done
  1378  
  1379  #
  1380  # Report the --help message.
  1381  #
  1382  if test "$ac_init_help" = "long"; then
  1383    # Omit some internal or obsolete options to make the list less imposing.
  1384    # This message is too long to be a string in the A/UX 3.1 sh.
  1385    cat <<_ACEOF
  1386  \`configure' configures package-unused version-unused to adapt to many kinds of systems.
  1387  
  1388  Usage: $0 [OPTION]... [VAR=VALUE]...
  1389  
  1390  To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1391  VAR=VALUE.  See below for descriptions of some of the useful variables.
  1392  
  1393  Defaults for the options are specified in brackets.
  1394  
  1395  Configuration:
  1396    -h, --help              display this help and exit
  1397        --help=short        display options specific to this package
  1398        --help=recursive    display the short help of all the included packages
  1399    -V, --version           display version information and exit
  1400    -q, --quiet, --silent   do not print \`checking...' messages
  1401        --cache-file=FILE   cache test results in FILE [disabled]
  1402    -C, --config-cache      alias for \`--cache-file=config.cache'
  1403    -n, --no-create         do not create output files
  1404        --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1405  
  1406  Installation directories:
  1407    --prefix=PREFIX         install architecture-independent files in PREFIX
  1408                            [$ac_default_prefix]
  1409    --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1410                            [PREFIX]
  1411  
  1412  By default, \`make install' will install all the files in
  1413  \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1414  an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1415  for instance \`--prefix=\$HOME'.
  1416  
  1417  For better control, use the options below.
  1418  
  1419  Fine tuning of the installation directories:
  1420    --bindir=DIR            user executables [EPREFIX/bin]
  1421    --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1422    --libexecdir=DIR        program executables [EPREFIX/libexec]
  1423    --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1424    --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1425    --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1426    --libdir=DIR            object code libraries [EPREFIX/lib]
  1427    --includedir=DIR        C header files [PREFIX/include]
  1428    --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1429    --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1430    --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1431    --infodir=DIR           info documentation [DATAROOTDIR/info]
  1432    --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1433    --mandir=DIR            man documentation [DATAROOTDIR/man]
  1434    --docdir=DIR            documentation root [DATAROOTDIR/doc/libgo]
  1435    --htmldir=DIR           html documentation [DOCDIR]
  1436    --dvidir=DIR            dvi documentation [DOCDIR]
  1437    --pdfdir=DIR            pdf documentation [DOCDIR]
  1438    --psdir=DIR             ps documentation [DOCDIR]
  1439  _ACEOF
  1440  
  1441    cat <<\_ACEOF
  1442  
  1443  Program names:
  1444    --program-prefix=PREFIX            prepend PREFIX to installed program names
  1445    --program-suffix=SUFFIX            append SUFFIX to installed program names
  1446    --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1447  
  1448  System types:
  1449    --build=BUILD     configure for building on BUILD [guessed]
  1450    --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1451    --target=TARGET   configure for building compilers for TARGET [HOST]
  1452  _ACEOF
  1453  fi
  1454  
  1455  if test -n "$ac_init_help"; then
  1456    case $ac_init_help in
  1457       short | recursive ) echo "Configuration of package-unused version-unused:";;
  1458     esac
  1459    cat <<\_ACEOF
  1460  
  1461  Optional Features:
  1462    --disable-option-checking  ignore unrecognized --enable/--with options
  1463    --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1464    --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1465    --enable-silent-rules   less verbose build output (undo: "make V=1")
  1466    --disable-silent-rules  verbose build output (undo: "make V=0")
  1467    --enable-dependency-tracking
  1468                            do not reject slow dependency extractors
  1469    --disable-dependency-tracking
  1470                            speeds up one-time build
  1471    --enable-maintainer-mode
  1472                            enable make rules and dependencies not useful (and
  1473                            sometimes confusing) to the casual installer
  1474    --enable-shared[=PKGS]  build shared libraries [default=yes]
  1475    --enable-static[=PKGS]  build static libraries [default=yes]
  1476    --enable-fast-install[=PKGS]
  1477                            optimize for fast installation [default=yes]
  1478    --disable-libtool-lock  avoid locking (might break parallel builds)
  1479    --enable-werror         turns on -Werror [default=yes]
  1480    --enable-version-specific-runtime-libs
  1481                            Specify that runtime libraries should be installed
  1482                            in a compiler-specific directory
  1483    --enable-sjlj-exceptions
  1484                            force use of builtin_setjmp for exceptions
  1485  
  1486  Optional Packages:
  1487    --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1488    --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1489    --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
  1490    --with-pic              try to use only PIC/non-PIC objects [default=use
  1491                            both]
  1492    --without-libffi        don't use libffi
  1493    --without-libatomic     don't use libatomic
  1494    --without-stack-split   use stack split, if available
  1495  
  1496  Some influential environment variables:
  1497    CC          C compiler command
  1498    CFLAGS      C compiler flags
  1499    LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1500                nonstandard directory <lib dir>
  1501    LIBS        libraries to pass to the linker, e.g. -l<library>
  1502    CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  1503                you have headers in a nonstandard directory <include dir>
  1504    GOC         Go compiler command
  1505    GOCFLAGS    Go compiler flags
  1506    CPP         C preprocessor
  1507  
  1508  Use these variables to override the choices made by `configure' or to help
  1509  it to find libraries and programs with nonstandard names/locations.
  1510  
  1511  Report bugs to the package provider.
  1512  _ACEOF
  1513  ac_status=$?
  1514  fi
  1515  
  1516  if test "$ac_init_help" = "recursive"; then
  1517    # If there are subdirs, report their specific --help.
  1518    for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1519      test -d "$ac_dir" ||
  1520        { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1521        continue
  1522      ac_builddir=.
  1523  
  1524  case "$ac_dir" in
  1525  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1526  *)
  1527    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1528    # A ".." for each directory in $ac_dir_suffix.
  1529    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1530    case $ac_top_builddir_sub in
  1531    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1532    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1533    esac ;;
  1534  esac
  1535  ac_abs_top_builddir=$ac_pwd
  1536  ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1537  # for backward compatibility:
  1538  ac_top_builddir=$ac_top_build_prefix
  1539  
  1540  case $srcdir in
  1541    .)  # We are building in place.
  1542      ac_srcdir=.
  1543      ac_top_srcdir=$ac_top_builddir_sub
  1544      ac_abs_top_srcdir=$ac_pwd ;;
  1545    [\\/]* | ?:[\\/]* )  # Absolute name.
  1546      ac_srcdir=$srcdir$ac_dir_suffix;
  1547      ac_top_srcdir=$srcdir
  1548      ac_abs_top_srcdir=$srcdir ;;
  1549    *) # Relative name.
  1550      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1551      ac_top_srcdir=$ac_top_build_prefix$srcdir
  1552      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1553  esac
  1554  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1555  
  1556      cd "$ac_dir" || { ac_status=$?; continue; }
  1557      # Check for guested configure.
  1558      if test -f "$ac_srcdir/configure.gnu"; then
  1559        echo &&
  1560        $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1561      elif test -f "$ac_srcdir/configure"; then
  1562        echo &&
  1563        $SHELL "$ac_srcdir/configure" --help=recursive
  1564      else
  1565        $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1566      fi || ac_status=$?
  1567      cd "$ac_pwd" || { ac_status=$?; break; }
  1568    done
  1569  fi
  1570  
  1571  test -n "$ac_init_help" && exit $ac_status
  1572  if $ac_init_version; then
  1573    cat <<\_ACEOF
  1574  package-unused configure version-unused
  1575  generated by GNU Autoconf 2.65
  1576  
  1577  Copyright (C) 2009 Free Software Foundation, Inc.
  1578  This configure script is free software; the Free Software Foundation
  1579  gives unlimited permission to copy, distribute and modify it.
  1580  _ACEOF
  1581    exit
  1582  fi
  1583  
  1584  ## ------------------------ ##
  1585  ## Autoconf initialization. ##
  1586  ## ------------------------ ##
  1587  
  1588  # ac_fn_c_try_compile LINENO
  1589  # --------------------------
  1590  # Try to compile conftest.$ac_ext, and return whether this succeeded.
  1591  ac_fn_c_try_compile ()
  1592  {
  1593    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1594    rm -f conftest.$ac_objext
  1595    if { { ac_try="$ac_compile"
  1596  case "(($ac_try" in
  1597    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1598    *) ac_try_echo=$ac_try;;
  1599  esac
  1600  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1601  $as_echo "$ac_try_echo"; } >&5
  1602    (eval "$ac_compile") 2>conftest.err
  1603    ac_status=$?
  1604    if test -s conftest.err; then
  1605      grep -v '^ *+' conftest.err >conftest.er1
  1606      cat conftest.er1 >&5
  1607      mv -f conftest.er1 conftest.err
  1608    fi
  1609    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1610    test $ac_status = 0; } && {
  1611  	 test -z "$ac_c_werror_flag" ||
  1612  	 test ! -s conftest.err
  1613         } && test -s conftest.$ac_objext; then :
  1614    ac_retval=0
  1615  else
  1616    $as_echo "$as_me: failed program was:" >&5
  1617  sed 's/^/| /' conftest.$ac_ext >&5
  1618  
  1619  	ac_retval=1
  1620  fi
  1621    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1622    as_fn_set_status $ac_retval
  1623  
  1624  } # ac_fn_c_try_compile
  1625  
  1626  # ac_fn_c_try_link LINENO
  1627  # -----------------------
  1628  # Try to link conftest.$ac_ext, and return whether this succeeded.
  1629  ac_fn_c_try_link ()
  1630  {
  1631    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1632    rm -f conftest.$ac_objext conftest$ac_exeext
  1633    if { { ac_try="$ac_link"
  1634  case "(($ac_try" in
  1635    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1636    *) ac_try_echo=$ac_try;;
  1637  esac
  1638  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1639  $as_echo "$ac_try_echo"; } >&5
  1640    (eval "$ac_link") 2>conftest.err
  1641    ac_status=$?
  1642    if test -s conftest.err; then
  1643      grep -v '^ *+' conftest.err >conftest.er1
  1644      cat conftest.er1 >&5
  1645      mv -f conftest.er1 conftest.err
  1646    fi
  1647    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1648    test $ac_status = 0; } && {
  1649  	 test -z "$ac_c_werror_flag" ||
  1650  	 test ! -s conftest.err
  1651         } && test -s conftest$ac_exeext && {
  1652  	 test "$cross_compiling" = yes ||
  1653  	 $as_test_x conftest$ac_exeext
  1654         }; then :
  1655    ac_retval=0
  1656  else
  1657    $as_echo "$as_me: failed program was:" >&5
  1658  sed 's/^/| /' conftest.$ac_ext >&5
  1659  
  1660  	ac_retval=1
  1661  fi
  1662    # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  1663    # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  1664    # interfere with the next link command; also delete a directory that is
  1665    # left behind by Apple's compiler.  We do this before executing the actions.
  1666    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1667    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1668    as_fn_set_status $ac_retval
  1669  
  1670  } # ac_fn_c_try_link
  1671  
  1672  # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  1673  # -------------------------------------------------------
  1674  # Tests whether HEADER exists and can be compiled using the include files in
  1675  # INCLUDES, setting the cache variable VAR accordingly.
  1676  ac_fn_c_check_header_compile ()
  1677  {
  1678    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1679    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1680  $as_echo_n "checking for $2... " >&6; }
  1681  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1682    $as_echo_n "(cached) " >&6
  1683  else
  1684    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1685  /* end confdefs.h.  */
  1686  $4
  1687  #include <$2>
  1688  _ACEOF
  1689  if ac_fn_c_try_compile "$LINENO"; then :
  1690    eval "$3=yes"
  1691  else
  1692    eval "$3=no"
  1693  fi
  1694  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1695  fi
  1696  eval ac_res=\$$3
  1697  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1698  $as_echo "$ac_res" >&6; }
  1699    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1700  
  1701  } # ac_fn_c_check_header_compile
  1702  
  1703  # ac_fn_c_try_cpp LINENO
  1704  # ----------------------
  1705  # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  1706  ac_fn_c_try_cpp ()
  1707  {
  1708    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1709    if { { ac_try="$ac_cpp conftest.$ac_ext"
  1710  case "(($ac_try" in
  1711    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1712    *) ac_try_echo=$ac_try;;
  1713  esac
  1714  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1715  $as_echo "$ac_try_echo"; } >&5
  1716    (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  1717    ac_status=$?
  1718    if test -s conftest.err; then
  1719      grep -v '^ *+' conftest.err >conftest.er1
  1720      cat conftest.er1 >&5
  1721      mv -f conftest.er1 conftest.err
  1722    fi
  1723    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1724    test $ac_status = 0; } >/dev/null && {
  1725  	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  1726  	 test ! -s conftest.err
  1727         }; then :
  1728    ac_retval=0
  1729  else
  1730    $as_echo "$as_me: failed program was:" >&5
  1731  sed 's/^/| /' conftest.$ac_ext >&5
  1732  
  1733      ac_retval=1
  1734  fi
  1735    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1736    as_fn_set_status $ac_retval
  1737  
  1738  } # ac_fn_c_try_cpp
  1739  
  1740  # ac_fn_c_try_run LINENO
  1741  # ----------------------
  1742  # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  1743  # that executables *can* be run.
  1744  ac_fn_c_try_run ()
  1745  {
  1746    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1747    if { { ac_try="$ac_link"
  1748  case "(($ac_try" in
  1749    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1750    *) ac_try_echo=$ac_try;;
  1751  esac
  1752  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1753  $as_echo "$ac_try_echo"; } >&5
  1754    (eval "$ac_link") 2>&5
  1755    ac_status=$?
  1756    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1757    test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  1758    { { case "(($ac_try" in
  1759    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  1760    *) ac_try_echo=$ac_try;;
  1761  esac
  1762  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  1763  $as_echo "$ac_try_echo"; } >&5
  1764    (eval "$ac_try") 2>&5
  1765    ac_status=$?
  1766    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  1767    test $ac_status = 0; }; }; then :
  1768    ac_retval=0
  1769  else
  1770    $as_echo "$as_me: program exited with status $ac_status" >&5
  1771         $as_echo "$as_me: failed program was:" >&5
  1772  sed 's/^/| /' conftest.$ac_ext >&5
  1773  
  1774         ac_retval=$ac_status
  1775  fi
  1776    rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  1777    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1778    as_fn_set_status $ac_retval
  1779  
  1780  } # ac_fn_c_try_run
  1781  
  1782  # ac_fn_c_check_func LINENO FUNC VAR
  1783  # ----------------------------------
  1784  # Tests whether FUNC exists, setting the cache variable VAR accordingly
  1785  ac_fn_c_check_func ()
  1786  {
  1787    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1788    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1789  $as_echo_n "checking for $2... " >&6; }
  1790  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1791    $as_echo_n "(cached) " >&6
  1792  else
  1793    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1794  /* end confdefs.h.  */
  1795  /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  1796     For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  1797  #define $2 innocuous_$2
  1798  
  1799  /* System header to define __stub macros and hopefully few prototypes,
  1800      which can conflict with char $2 (); below.
  1801      Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  1802      <limits.h> exists even on freestanding compilers.  */
  1803  
  1804  #ifdef __STDC__
  1805  # include <limits.h>
  1806  #else
  1807  # include <assert.h>
  1808  #endif
  1809  
  1810  #undef $2
  1811  
  1812  /* Override any GCC internal prototype to avoid an error.
  1813     Use char because int might match the return type of a GCC
  1814     builtin and then its argument prototype would still apply.  */
  1815  #ifdef __cplusplus
  1816  extern "C"
  1817  #endif
  1818  char $2 ();
  1819  /* The GNU C library defines this for functions which it implements
  1820      to always fail with ENOSYS.  Some functions are actually named
  1821      something starting with __ and the normal name is an alias.  */
  1822  #if defined __stub_$2 || defined __stub___$2
  1823  choke me
  1824  #endif
  1825  
  1826  int
  1827  main ()
  1828  {
  1829  return $2 ();
  1830    ;
  1831    return 0;
  1832  }
  1833  _ACEOF
  1834  if ac_fn_c_try_link "$LINENO"; then :
  1835    eval "$3=yes"
  1836  else
  1837    eval "$3=no"
  1838  fi
  1839  rm -f core conftest.err conftest.$ac_objext \
  1840      conftest$ac_exeext conftest.$ac_ext
  1841  fi
  1842  eval ac_res=\$$3
  1843  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1844  $as_echo "$ac_res" >&6; }
  1845    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1846  
  1847  } # ac_fn_c_check_func
  1848  
  1849  # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  1850  # -------------------------------------------------------
  1851  # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  1852  # the include files in INCLUDES and setting the cache variable VAR
  1853  # accordingly.
  1854  ac_fn_c_check_header_mongrel ()
  1855  {
  1856    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1857    if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1858    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1859  $as_echo_n "checking for $2... " >&6; }
  1860  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1861    $as_echo_n "(cached) " >&6
  1862  fi
  1863  eval ac_res=\$$3
  1864  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1865  $as_echo "$ac_res" >&6; }
  1866  else
  1867    # Is the header compilable?
  1868  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  1869  $as_echo_n "checking $2 usability... " >&6; }
  1870  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1871  /* end confdefs.h.  */
  1872  $4
  1873  #include <$2>
  1874  _ACEOF
  1875  if ac_fn_c_try_compile "$LINENO"; then :
  1876    ac_header_compiler=yes
  1877  else
  1878    ac_header_compiler=no
  1879  fi
  1880  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1881  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  1882  $as_echo "$ac_header_compiler" >&6; }
  1883  
  1884  # Is the header present?
  1885  { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  1886  $as_echo_n "checking $2 presence... " >&6; }
  1887  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1888  /* end confdefs.h.  */
  1889  #include <$2>
  1890  _ACEOF
  1891  if ac_fn_c_try_cpp "$LINENO"; then :
  1892    ac_header_preproc=yes
  1893  else
  1894    ac_header_preproc=no
  1895  fi
  1896  rm -f conftest.err conftest.$ac_ext
  1897  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  1898  $as_echo "$ac_header_preproc" >&6; }
  1899  
  1900  # So?  What about this header?
  1901  case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  1902    yes:no: )
  1903      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  1904  $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  1905      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1906  $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1907      ;;
  1908    no:yes:* )
  1909      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  1910  $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  1911      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
  1912  $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
  1913      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  1914  $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  1915      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
  1916  $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
  1917      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  1918  $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  1919      ;;
  1920  esac
  1921    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1922  $as_echo_n "checking for $2... " >&6; }
  1923  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1924    $as_echo_n "(cached) " >&6
  1925  else
  1926    eval "$3=\$ac_header_compiler"
  1927  fi
  1928  eval ac_res=\$$3
  1929  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1930  $as_echo "$ac_res" >&6; }
  1931  fi
  1932    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1933  
  1934  } # ac_fn_c_check_header_mongrel
  1935  
  1936  # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  1937  # -------------------------------------------
  1938  # Tests whether TYPE exists after having included INCLUDES, setting cache
  1939  # variable VAR accordingly.
  1940  ac_fn_c_check_type ()
  1941  {
  1942    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1943    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  1944  $as_echo_n "checking for $2... " >&6; }
  1945  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
  1946    $as_echo_n "(cached) " >&6
  1947  else
  1948    eval "$3=no"
  1949    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1950  /* end confdefs.h.  */
  1951  $4
  1952  int
  1953  main ()
  1954  {
  1955  if (sizeof ($2))
  1956  	 return 0;
  1957    ;
  1958    return 0;
  1959  }
  1960  _ACEOF
  1961  if ac_fn_c_try_compile "$LINENO"; then :
  1962    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  1963  /* end confdefs.h.  */
  1964  $4
  1965  int
  1966  main ()
  1967  {
  1968  if (sizeof (($2)))
  1969  	    return 0;
  1970    ;
  1971    return 0;
  1972  }
  1973  _ACEOF
  1974  if ac_fn_c_try_compile "$LINENO"; then :
  1975  
  1976  else
  1977    eval "$3=yes"
  1978  fi
  1979  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1980  fi
  1981  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  1982  fi
  1983  eval ac_res=\$$3
  1984  	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  1985  $as_echo "$ac_res" >&6; }
  1986    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  1987  
  1988  } # ac_fn_c_check_type
  1989  
  1990  # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  1991  # --------------------------------------------
  1992  # Tries to find the compile-time value of EXPR in a program that includes
  1993  # INCLUDES, setting VAR accordingly. Returns whether the value could be
  1994  # computed
  1995  ac_fn_c_compute_int ()
  1996  {
  1997    as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  1998    if test "$cross_compiling" = yes; then
  1999      # Depending upon the size, compute the lo and hi bounds.
  2000  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2001  /* end confdefs.h.  */
  2002  $4
  2003  int
  2004  main ()
  2005  {
  2006  static int test_array [1 - 2 * !(($2) >= 0)];
  2007  test_array [0] = 0
  2008  
  2009    ;
  2010    return 0;
  2011  }
  2012  _ACEOF
  2013  if ac_fn_c_try_compile "$LINENO"; then :
  2014    ac_lo=0 ac_mid=0
  2015    while :; do
  2016      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2017  /* end confdefs.h.  */
  2018  $4
  2019  int
  2020  main ()
  2021  {
  2022  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2023  test_array [0] = 0
  2024  
  2025    ;
  2026    return 0;
  2027  }
  2028  _ACEOF
  2029  if ac_fn_c_try_compile "$LINENO"; then :
  2030    ac_hi=$ac_mid; break
  2031  else
  2032    as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  2033  			if test $ac_lo -le $ac_mid; then
  2034  			  ac_lo= ac_hi=
  2035  			  break
  2036  			fi
  2037  			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  2038  fi
  2039  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2040    done
  2041  else
  2042    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2043  /* end confdefs.h.  */
  2044  $4
  2045  int
  2046  main ()
  2047  {
  2048  static int test_array [1 - 2 * !(($2) < 0)];
  2049  test_array [0] = 0
  2050  
  2051    ;
  2052    return 0;
  2053  }
  2054  _ACEOF
  2055  if ac_fn_c_try_compile "$LINENO"; then :
  2056    ac_hi=-1 ac_mid=-1
  2057    while :; do
  2058      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2059  /* end confdefs.h.  */
  2060  $4
  2061  int
  2062  main ()
  2063  {
  2064  static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  2065  test_array [0] = 0
  2066  
  2067    ;
  2068    return 0;
  2069  }
  2070  _ACEOF
  2071  if ac_fn_c_try_compile "$LINENO"; then :
  2072    ac_lo=$ac_mid; break
  2073  else
  2074    as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  2075  			if test $ac_mid -le $ac_hi; then
  2076  			  ac_lo= ac_hi=
  2077  			  break
  2078  			fi
  2079  			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  2080  fi
  2081  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2082    done
  2083  else
  2084    ac_lo= ac_hi=
  2085  fi
  2086  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2087  fi
  2088  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2089  # Binary search between lo and hi bounds.
  2090  while test "x$ac_lo" != "x$ac_hi"; do
  2091    as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  2092    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2093  /* end confdefs.h.  */
  2094  $4
  2095  int
  2096  main ()
  2097  {
  2098  static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2099  test_array [0] = 0
  2100  
  2101    ;
  2102    return 0;
  2103  }
  2104  _ACEOF
  2105  if ac_fn_c_try_compile "$LINENO"; then :
  2106    ac_hi=$ac_mid
  2107  else
  2108    as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  2109  fi
  2110  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2111  done
  2112  case $ac_lo in #((
  2113  ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  2114  '') ac_retval=1 ;;
  2115  esac
  2116    else
  2117      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2118  /* end confdefs.h.  */
  2119  $4
  2120  static long int longval () { return $2; }
  2121  static unsigned long int ulongval () { return $2; }
  2122  #include <stdio.h>
  2123  #include <stdlib.h>
  2124  int
  2125  main ()
  2126  {
  2127  
  2128    FILE *f = fopen ("conftest.val", "w");
  2129    if (! f)
  2130      return 1;
  2131    if (($2) < 0)
  2132      {
  2133        long int i = longval ();
  2134        if (i != ($2))
  2135  	return 1;
  2136        fprintf (f, "%ld", i);
  2137      }
  2138    else
  2139      {
  2140        unsigned long int i = ulongval ();
  2141        if (i != ($2))
  2142  	return 1;
  2143        fprintf (f, "%lu", i);
  2144      }
  2145    /* Do not output a trailing newline, as this causes \r\n confusion
  2146       on some platforms.  */
  2147    return ferror (f) || fclose (f) != 0;
  2148  
  2149    ;
  2150    return 0;
  2151  }
  2152  _ACEOF
  2153  if ac_fn_c_try_run "$LINENO"; then :
  2154    echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  2155  else
  2156    ac_retval=1
  2157  fi
  2158  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2159    conftest.$ac_objext conftest.beam conftest.$ac_ext
  2160  rm -f conftest.val
  2161  
  2162    fi
  2163    eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
  2164    as_fn_set_status $ac_retval
  2165  
  2166  } # ac_fn_c_compute_int
  2167  cat >config.log <<_ACEOF
  2168  This file contains any messages produced by compilers while
  2169  running configure, to aid debugging if configure makes a mistake.
  2170  
  2171  It was created by package-unused $as_me version-unused, which was
  2172  generated by GNU Autoconf 2.65.  Invocation command line was
  2173  
  2174    $ $0 $@
  2175  
  2176  _ACEOF
  2177  exec 5>>config.log
  2178  {
  2179  cat <<_ASUNAME
  2180  ## --------- ##
  2181  ## Platform. ##
  2182  ## --------- ##
  2183  
  2184  hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  2185  uname -m = `(uname -m) 2>/dev/null || echo unknown`
  2186  uname -r = `(uname -r) 2>/dev/null || echo unknown`
  2187  uname -s = `(uname -s) 2>/dev/null || echo unknown`
  2188  uname -v = `(uname -v) 2>/dev/null || echo unknown`
  2189  
  2190  /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  2191  /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  2192  
  2193  /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  2194  /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  2195  /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  2196  /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  2197  /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  2198  /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  2199  /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  2200  
  2201  _ASUNAME
  2202  
  2203  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2204  for as_dir in $PATH
  2205  do
  2206    IFS=$as_save_IFS
  2207    test -z "$as_dir" && as_dir=.
  2208      $as_echo "PATH: $as_dir"
  2209    done
  2210  IFS=$as_save_IFS
  2211  
  2212  } >&5
  2213  
  2214  cat >&5 <<_ACEOF
  2215  
  2216  
  2217  ## ----------- ##
  2218  ## Core tests. ##
  2219  ## ----------- ##
  2220  
  2221  _ACEOF
  2222  
  2223  
  2224  # Keep a trace of the command line.
  2225  # Strip out --no-create and --no-recursion so they do not pile up.
  2226  # Strip out --silent because we don't want to record it for future runs.
  2227  # Also quote any args containing shell meta-characters.
  2228  # Make two passes to allow for proper duplicate-argument suppression.
  2229  ac_configure_args=
  2230  ac_configure_args0=
  2231  ac_configure_args1=
  2232  ac_must_keep_next=false
  2233  for ac_pass in 1 2
  2234  do
  2235    for ac_arg
  2236    do
  2237      case $ac_arg in
  2238      -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  2239      -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2240      | -silent | --silent | --silen | --sile | --sil)
  2241        continue ;;
  2242      *\'*)
  2243        ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  2244      esac
  2245      case $ac_pass in
  2246      1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  2247      2)
  2248        as_fn_append ac_configure_args1 " '$ac_arg'"
  2249        if test $ac_must_keep_next = true; then
  2250  	ac_must_keep_next=false # Got value, back to normal.
  2251        else
  2252  	case $ac_arg in
  2253  	  *=* | --config-cache | -C | -disable-* | --disable-* \
  2254  	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  2255  	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  2256  	  | -with-* | --with-* | -without-* | --without-* | --x)
  2257  	    case "$ac_configure_args0 " in
  2258  	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  2259  	    esac
  2260  	    ;;
  2261  	  -* ) ac_must_keep_next=true ;;
  2262  	esac
  2263        fi
  2264        as_fn_append ac_configure_args " '$ac_arg'"
  2265        ;;
  2266      esac
  2267    done
  2268  done
  2269  { ac_configure_args0=; unset ac_configure_args0;}
  2270  { ac_configure_args1=; unset ac_configure_args1;}
  2271  
  2272  # When interrupted or exit'd, cleanup temporary files, and complete
  2273  # config.log.  We remove comments because anyway the quotes in there
  2274  # would cause problems or look ugly.
  2275  # WARNING: Use '\'' to represent an apostrophe within the trap.
  2276  # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  2277  trap 'exit_status=$?
  2278    # Save into config.log some information that might help in debugging.
  2279    {
  2280      echo
  2281  
  2282      cat <<\_ASBOX
  2283  ## ---------------- ##
  2284  ## Cache variables. ##
  2285  ## ---------------- ##
  2286  _ASBOX
  2287      echo
  2288      # The following way of writing the cache mishandles newlines in values,
  2289  (
  2290    for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  2291      eval ac_val=\$$ac_var
  2292      case $ac_val in #(
  2293      *${as_nl}*)
  2294        case $ac_var in #(
  2295        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  2296  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  2297        esac
  2298        case $ac_var in #(
  2299        _ | IFS | as_nl) ;; #(
  2300        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  2301        *) { eval $ac_var=; unset $ac_var;} ;;
  2302        esac ;;
  2303      esac
  2304    done
  2305    (set) 2>&1 |
  2306      case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  2307      *${as_nl}ac_space=\ *)
  2308        sed -n \
  2309  	"s/'\''/'\''\\\\'\'''\''/g;
  2310  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  2311        ;; #(
  2312      *)
  2313        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  2314        ;;
  2315      esac |
  2316      sort
  2317  )
  2318      echo
  2319  
  2320      cat <<\_ASBOX
  2321  ## ----------------- ##
  2322  ## Output variables. ##
  2323  ## ----------------- ##
  2324  _ASBOX
  2325      echo
  2326      for ac_var in $ac_subst_vars
  2327      do
  2328        eval ac_val=\$$ac_var
  2329        case $ac_val in
  2330        *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2331        esac
  2332        $as_echo "$ac_var='\''$ac_val'\''"
  2333      done | sort
  2334      echo
  2335  
  2336      if test -n "$ac_subst_files"; then
  2337        cat <<\_ASBOX
  2338  ## ------------------- ##
  2339  ## File substitutions. ##
  2340  ## ------------------- ##
  2341  _ASBOX
  2342        echo
  2343        for ac_var in $ac_subst_files
  2344        do
  2345  	eval ac_val=\$$ac_var
  2346  	case $ac_val in
  2347  	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  2348  	esac
  2349  	$as_echo "$ac_var='\''$ac_val'\''"
  2350        done | sort
  2351        echo
  2352      fi
  2353  
  2354      if test -s confdefs.h; then
  2355        cat <<\_ASBOX
  2356  ## ----------- ##
  2357  ## confdefs.h. ##
  2358  ## ----------- ##
  2359  _ASBOX
  2360        echo
  2361        cat confdefs.h
  2362        echo
  2363      fi
  2364      test "$ac_signal" != 0 &&
  2365        $as_echo "$as_me: caught signal $ac_signal"
  2366      $as_echo "$as_me: exit $exit_status"
  2367    } >&5
  2368    rm -f core *.core core.conftest.* &&
  2369      rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  2370      exit $exit_status
  2371  ' 0
  2372  for ac_signal in 1 2 13 15; do
  2373    trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  2374  done
  2375  ac_signal=0
  2376  
  2377  # confdefs.h avoids OS command line length limits that DEFS can exceed.
  2378  rm -f -r conftest* confdefs.h
  2379  
  2380  $as_echo "/* confdefs.h */" > confdefs.h
  2381  
  2382  # Predefined preprocessor variables.
  2383  
  2384  cat >>confdefs.h <<_ACEOF
  2385  #define PACKAGE_NAME "$PACKAGE_NAME"
  2386  _ACEOF
  2387  
  2388  cat >>confdefs.h <<_ACEOF
  2389  #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  2390  _ACEOF
  2391  
  2392  cat >>confdefs.h <<_ACEOF
  2393  #define PACKAGE_VERSION "$PACKAGE_VERSION"
  2394  _ACEOF
  2395  
  2396  cat >>confdefs.h <<_ACEOF
  2397  #define PACKAGE_STRING "$PACKAGE_STRING"
  2398  _ACEOF
  2399  
  2400  cat >>confdefs.h <<_ACEOF
  2401  #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  2402  _ACEOF
  2403  
  2404  cat >>confdefs.h <<_ACEOF
  2405  #define PACKAGE_URL "$PACKAGE_URL"
  2406  _ACEOF
  2407  
  2408  
  2409  # Let the site file select an alternate cache file if it wants to.
  2410  # Prefer an explicitly selected file to automatically selected ones.
  2411  ac_site_file1=NONE
  2412  ac_site_file2=NONE
  2413  if test -n "$CONFIG_SITE"; then
  2414    ac_site_file1=$CONFIG_SITE
  2415  elif test "x$prefix" != xNONE; then
  2416    ac_site_file1=$prefix/share/config.site
  2417    ac_site_file2=$prefix/etc/config.site
  2418  else
  2419    ac_site_file1=$ac_default_prefix/share/config.site
  2420    ac_site_file2=$ac_default_prefix/etc/config.site
  2421  fi
  2422  for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  2423  do
  2424    test "x$ac_site_file" = xNONE && continue
  2425    if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  2426      { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  2427  $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  2428      sed 's/^/| /' "$ac_site_file" >&5
  2429      . "$ac_site_file"
  2430    fi
  2431  done
  2432  
  2433  if test -r "$cache_file"; then
  2434    # Some versions of bash will fail to source /dev/null (special files
  2435    # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
  2436    if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  2437      { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  2438  $as_echo "$as_me: loading cache $cache_file" >&6;}
  2439      case $cache_file in
  2440        [\\/]* | ?:[\\/]* ) . "$cache_file";;
  2441        *)                      . "./$cache_file";;
  2442      esac
  2443    fi
  2444  else
  2445    { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  2446  $as_echo "$as_me: creating cache $cache_file" >&6;}
  2447    >$cache_file
  2448  fi
  2449  
  2450  # Check that the precious variables saved in the cache have kept the same
  2451  # value.
  2452  ac_cache_corrupted=false
  2453  for ac_var in $ac_precious_vars; do
  2454    eval ac_old_set=\$ac_cv_env_${ac_var}_set
  2455    eval ac_new_set=\$ac_env_${ac_var}_set
  2456    eval ac_old_val=\$ac_cv_env_${ac_var}_value
  2457    eval ac_new_val=\$ac_env_${ac_var}_value
  2458    case $ac_old_set,$ac_new_set in
  2459      set,)
  2460        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  2461  $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  2462        ac_cache_corrupted=: ;;
  2463      ,set)
  2464        { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  2465  $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  2466        ac_cache_corrupted=: ;;
  2467      ,);;
  2468      *)
  2469        if test "x$ac_old_val" != "x$ac_new_val"; then
  2470  	# differences in whitespace do not lead to failure.
  2471  	ac_old_val_w=`echo x $ac_old_val`
  2472  	ac_new_val_w=`echo x $ac_new_val`
  2473  	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  2474  	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  2475  $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  2476  	  ac_cache_corrupted=:
  2477  	else
  2478  	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  2479  $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  2480  	  eval $ac_var=\$ac_old_val
  2481  	fi
  2482  	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
  2483  $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  2484  	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
  2485  $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  2486        fi;;
  2487    esac
  2488    # Pass precious variables to config.status.
  2489    if test "$ac_new_set" = set; then
  2490      case $ac_new_val in
  2491      *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  2492      *) ac_arg=$ac_var=$ac_new_val ;;
  2493      esac
  2494      case " $ac_configure_args " in
  2495        *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  2496        *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  2497      esac
  2498    fi
  2499  done
  2500  if $ac_cache_corrupted; then
  2501    { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  2502  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2503    { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  2504  $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  2505    as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  2506  fi
  2507  ## -------------------- ##
  2508  ## Main body of script. ##
  2509  ## -------------------- ##
  2510  
  2511  ac_ext=c
  2512  ac_cpp='$CPP $CPPFLAGS'
  2513  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2514  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2515  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2516  
  2517  
  2518  
  2519  ac_config_headers="$ac_config_headers config.h"
  2520  
  2521  
  2522  libtool_VERSION=7:0:0
  2523  
  2524  
  2525  #AM_ENABLE_MULTILIB(, ..)
  2526  
  2527  ac_aux_dir=
  2528  for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  2529    for ac_t in install-sh install.sh shtool; do
  2530      if test -f "$ac_dir/$ac_t"; then
  2531        ac_aux_dir=$ac_dir
  2532        ac_install_sh="$ac_aux_dir/$ac_t -c"
  2533        break 2
  2534      fi
  2535    done
  2536  done
  2537  if test -z "$ac_aux_dir"; then
  2538    as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  2539  fi
  2540  
  2541  # These three variables are undocumented and unsupported,
  2542  # and are intended to be withdrawn in a future Autoconf release.
  2543  # They can cause serious problems if a builder's source tree is in a directory
  2544  # whose full name contains unusual characters.
  2545  ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2546  ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2547  ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2548  
  2549  
  2550  # Make sure we can run config.sub.
  2551  $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2552    as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  2553  
  2554  { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  2555  $as_echo_n "checking build system type... " >&6; }
  2556  if test "${ac_cv_build+set}" = set; then :
  2557    $as_echo_n "(cached) " >&6
  2558  else
  2559    ac_build_alias=$build_alias
  2560  test "x$ac_build_alias" = x &&
  2561    ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2562  test "x$ac_build_alias" = x &&
  2563    as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
  2564  ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2565    as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  2566  
  2567  fi
  2568  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  2569  $as_echo "$ac_cv_build" >&6; }
  2570  case $ac_cv_build in
  2571  *-*-*) ;;
  2572  *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
  2573  esac
  2574  build=$ac_cv_build
  2575  ac_save_IFS=$IFS; IFS='-'
  2576  set x $ac_cv_build
  2577  shift
  2578  build_cpu=$1
  2579  build_vendor=$2
  2580  shift; shift
  2581  # Remember, the first character of IFS is used to create $*,
  2582  # except with old shells:
  2583  build_os=$*
  2584  IFS=$ac_save_IFS
  2585  case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2586  
  2587  
  2588  { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  2589  $as_echo_n "checking host system type... " >&6; }
  2590  if test "${ac_cv_host+set}" = set; then :
  2591    $as_echo_n "(cached) " >&6
  2592  else
  2593    if test "x$host_alias" = x; then
  2594    ac_cv_host=$ac_cv_build
  2595  else
  2596    ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2597      as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  2598  fi
  2599  
  2600  fi
  2601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  2602  $as_echo "$ac_cv_host" >&6; }
  2603  case $ac_cv_host in
  2604  *-*-*) ;;
  2605  *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
  2606  esac
  2607  host=$ac_cv_host
  2608  ac_save_IFS=$IFS; IFS='-'
  2609  set x $ac_cv_host
  2610  shift
  2611  host_cpu=$1
  2612  host_vendor=$2
  2613  shift; shift
  2614  # Remember, the first character of IFS is used to create $*,
  2615  # except with old shells:
  2616  host_os=$*
  2617  IFS=$ac_save_IFS
  2618  case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2619  
  2620  
  2621  { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
  2622  $as_echo_n "checking target system type... " >&6; }
  2623  if test "${ac_cv_target+set}" = set; then :
  2624    $as_echo_n "(cached) " >&6
  2625  else
  2626    if test "x$target_alias" = x; then
  2627    ac_cv_target=$ac_cv_host
  2628  else
  2629    ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
  2630      as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
  2631  fi
  2632  
  2633  fi
  2634  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
  2635  $as_echo "$ac_cv_target" >&6; }
  2636  case $ac_cv_target in
  2637  *-*-*) ;;
  2638  *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
  2639  esac
  2640  target=$ac_cv_target
  2641  ac_save_IFS=$IFS; IFS='-'
  2642  set x $ac_cv_target
  2643  shift
  2644  target_cpu=$1
  2645  target_vendor=$2
  2646  shift; shift
  2647  # Remember, the first character of IFS is used to create $*,
  2648  # except with old shells:
  2649  target_os=$*
  2650  IFS=$ac_save_IFS
  2651  case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
  2652  
  2653  
  2654  # The aliases save the names the user supplied, while $host etc.
  2655  # will get canonicalized.
  2656  test -n "$target_alias" &&
  2657    test "$program_prefix$program_suffix$program_transform_name" = \
  2658      NONENONEs,x,x, &&
  2659    program_prefix=${target_alias}-
  2660  
  2661  target_alias=${target_alias-$host_alias}
  2662  
  2663  am__api_version='1.15'
  2664  
  2665  # Find a good install program.  We prefer a C program (faster),
  2666  # so one script is as good as another.  But avoid the broken or
  2667  # incompatible versions:
  2668  # SysV /etc/install, /usr/sbin/install
  2669  # SunOS /usr/etc/install
  2670  # IRIX /sbin/install
  2671  # AIX /bin/install
  2672  # AmigaOS /C/install, which installs bootblocks on floppy discs
  2673  # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2674  # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2675  # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2676  # OS/2's system install, which has a completely different semantic
  2677  # ./install, which can be erroneously created by make from ./install.sh.
  2678  # Reject install programs that cannot install multiple files.
  2679  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  2680  $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2681  if test -z "$INSTALL"; then
  2682  if test "${ac_cv_path_install+set}" = set; then :
  2683    $as_echo_n "(cached) " >&6
  2684  else
  2685    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2686  for as_dir in $PATH
  2687  do
  2688    IFS=$as_save_IFS
  2689    test -z "$as_dir" && as_dir=.
  2690      # Account for people who put trailing slashes in PATH elements.
  2691  case $as_dir/ in #((
  2692    ./ | .// | /[cC]/* | \
  2693    /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2694    ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  2695    /usr/ucb/* ) ;;
  2696    *)
  2697      # OSF1 and SCO ODT 3.0 have their own names for install.
  2698      # Don't use installbsd from OSF since it installs stuff as root
  2699      # by default.
  2700      for ac_prog in ginstall scoinst install; do
  2701        for ac_exec_ext in '' $ac_executable_extensions; do
  2702  	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2703  	  if test $ac_prog = install &&
  2704  	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2705  	    # AIX install.  It has an incompatible calling convention.
  2706  	    :
  2707  	  elif test $ac_prog = install &&
  2708  	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2709  	    # program-specific install script used by HP pwplus--don't use.
  2710  	    :
  2711  	  else
  2712  	    rm -rf conftest.one conftest.two conftest.dir
  2713  	    echo one > conftest.one
  2714  	    echo two > conftest.two
  2715  	    mkdir conftest.dir
  2716  	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2717  	      test -s conftest.one && test -s conftest.two &&
  2718  	      test -s conftest.dir/conftest.one &&
  2719  	      test -s conftest.dir/conftest.two
  2720  	    then
  2721  	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2722  	      break 3
  2723  	    fi
  2724  	  fi
  2725  	fi
  2726        done
  2727      done
  2728      ;;
  2729  esac
  2730  
  2731    done
  2732  IFS=$as_save_IFS
  2733  
  2734  rm -rf conftest.one conftest.two conftest.dir
  2735  
  2736  fi
  2737    if test "${ac_cv_path_install+set}" = set; then
  2738      INSTALL=$ac_cv_path_install
  2739    else
  2740      # As a last resort, use the slow shell script.  Don't cache a
  2741      # value for INSTALL within a source directory, because that will
  2742      # break other packages using the cache if that directory is
  2743      # removed, or if the value is a relative name.
  2744      INSTALL=$ac_install_sh
  2745    fi
  2746  fi
  2747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  2748  $as_echo "$INSTALL" >&6; }
  2749  
  2750  # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2751  # It thinks the first close brace ends the variable substitution.
  2752  test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2753  
  2754  test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2755  
  2756  test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2757  
  2758  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
  2759  $as_echo_n "checking whether build environment is sane... " >&6; }
  2760  # Reject unsafe characters in $srcdir or the absolute working directory
  2761  # name.  Accept space and tab only in the latter.
  2762  am_lf='
  2763  '
  2764  case `pwd` in
  2765    *[\\\"\#\$\&\'\`$am_lf]*)
  2766      as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
  2767  esac
  2768  case $srcdir in
  2769    *[\\\"\#\$\&\'\`$am_lf\ \	]*)
  2770      as_fn_error "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
  2771  esac
  2772  
  2773  # Do 'set' in a subshell so we don't clobber the current shell's
  2774  # arguments.  Must try -L first in case configure is actually a
  2775  # symlink; some systems play weird games with the mod time of symlinks
  2776  # (eg FreeBSD returns the mod time of the symlink's containing
  2777  # directory).
  2778  if (
  2779     am_has_slept=no
  2780     for am_try in 1 2; do
  2781       echo "timestamp, slept: $am_has_slept" > conftest.file
  2782       set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2783       if test "$*" = "X"; then
  2784  	# -L didn't work.
  2785  	set X `ls -t "$srcdir/configure" conftest.file`
  2786       fi
  2787       if test "$*" != "X $srcdir/configure conftest.file" \
  2788  	&& test "$*" != "X conftest.file $srcdir/configure"; then
  2789  
  2790  	# If neither matched, then we have a broken ls.  This can happen
  2791  	# if, for instance, CONFIG_SHELL is bash and it inherits a
  2792  	# broken ls alias from the environment.  This has actually
  2793  	# happened.  Such a system could not be considered "sane".
  2794  	as_fn_error "ls -t appears to fail.  Make sure there is not a broken
  2795    alias in your environment" "$LINENO" 5
  2796       fi
  2797       if test "$2" = conftest.file || test $am_try -eq 2; then
  2798         break
  2799       fi
  2800       # Just in case.
  2801       sleep 1
  2802       am_has_slept=yes
  2803     done
  2804     test "$2" = conftest.file
  2805     )
  2806  then
  2807     # Ok.
  2808     :
  2809  else
  2810     as_fn_error "newly created file is older than distributed files!
  2811  Check your system clock" "$LINENO" 5
  2812  fi
  2813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  2814  $as_echo "yes" >&6; }
  2815  # If we didn't sleep, we still need to ensure time stamps of config.status and
  2816  # generated files are strictly newer.
  2817  am_sleep_pid=
  2818  if grep 'slept: no' conftest.file >/dev/null 2>&1; then
  2819    ( sleep 1 ) &
  2820    am_sleep_pid=$!
  2821  fi
  2822  
  2823  rm -f conftest.file
  2824  
  2825  test "$program_prefix" != NONE &&
  2826    program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2827  # Use a double $ so make ignores it.
  2828  test "$program_suffix" != NONE &&
  2829    program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2830  # Double any \ or $.
  2831  # By default was `s,x,x', remove it if useless.
  2832  ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2833  program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2834  
  2835  # Expand $ac_aux_dir to an absolute path.
  2836  am_aux_dir=`cd "$ac_aux_dir" && pwd`
  2837  
  2838  if test x"${MISSING+set}" != xset; then
  2839    case $am_aux_dir in
  2840    *\ * | *\	*)
  2841      MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2842    *)
  2843      MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2844    esac
  2845  fi
  2846  # Use eval to expand $SHELL
  2847  if eval "$MISSING --is-lightweight"; then
  2848    am_missing_run="$MISSING "
  2849  else
  2850    am_missing_run=
  2851    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
  2852  $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
  2853  fi
  2854  
  2855  if test x"${install_sh+set}" != xset; then
  2856    case $am_aux_dir in
  2857    *\ * | *\	*)
  2858      install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2859    *)
  2860      install_sh="\${SHELL} $am_aux_dir/install-sh"
  2861    esac
  2862  fi
  2863  
  2864  # Installed binaries are usually stripped using 'strip' when the user
  2865  # run "make install-strip".  However 'strip' might not be the right
  2866  # tool to use in cross-compilation environments, therefore Automake
  2867  # will honor the 'STRIP' environment variable to overrule this program.
  2868  if test "$cross_compiling" != no; then
  2869    if test -n "$ac_tool_prefix"; then
  2870    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2871  set dummy ${ac_tool_prefix}strip; ac_word=$2
  2872  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2873  $as_echo_n "checking for $ac_word... " >&6; }
  2874  if test "${ac_cv_prog_STRIP+set}" = set; then :
  2875    $as_echo_n "(cached) " >&6
  2876  else
  2877    if test -n "$STRIP"; then
  2878    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2879  else
  2880  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2881  for as_dir in $PATH
  2882  do
  2883    IFS=$as_save_IFS
  2884    test -z "$as_dir" && as_dir=.
  2885      for ac_exec_ext in '' $ac_executable_extensions; do
  2886    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2887      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2888      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2889      break 2
  2890    fi
  2891  done
  2892    done
  2893  IFS=$as_save_IFS
  2894  
  2895  fi
  2896  fi
  2897  STRIP=$ac_cv_prog_STRIP
  2898  if test -n "$STRIP"; then
  2899    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  2900  $as_echo "$STRIP" >&6; }
  2901  else
  2902    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2903  $as_echo "no" >&6; }
  2904  fi
  2905  
  2906  
  2907  fi
  2908  if test -z "$ac_cv_prog_STRIP"; then
  2909    ac_ct_STRIP=$STRIP
  2910    # Extract the first word of "strip", so it can be a program name with args.
  2911  set dummy strip; ac_word=$2
  2912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  2913  $as_echo_n "checking for $ac_word... " >&6; }
  2914  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  2915    $as_echo_n "(cached) " >&6
  2916  else
  2917    if test -n "$ac_ct_STRIP"; then
  2918    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2919  else
  2920  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2921  for as_dir in $PATH
  2922  do
  2923    IFS=$as_save_IFS
  2924    test -z "$as_dir" && as_dir=.
  2925      for ac_exec_ext in '' $ac_executable_extensions; do
  2926    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2927      ac_cv_prog_ac_ct_STRIP="strip"
  2928      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  2929      break 2
  2930    fi
  2931  done
  2932    done
  2933  IFS=$as_save_IFS
  2934  
  2935  fi
  2936  fi
  2937  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2938  if test -n "$ac_ct_STRIP"; then
  2939    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  2940  $as_echo "$ac_ct_STRIP" >&6; }
  2941  else
  2942    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  2943  $as_echo "no" >&6; }
  2944  fi
  2945  
  2946    if test "x$ac_ct_STRIP" = x; then
  2947      STRIP=":"
  2948    else
  2949      case $cross_compiling:$ac_tool_warned in
  2950  yes:)
  2951  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  2952  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2953  ac_tool_warned=yes ;;
  2954  esac
  2955      STRIP=$ac_ct_STRIP
  2956    fi
  2957  else
  2958    STRIP="$ac_cv_prog_STRIP"
  2959  fi
  2960  
  2961  fi
  2962  INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2963  
  2964  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
  2965  $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2966  if test -z "$MKDIR_P"; then
  2967    if test "${ac_cv_path_mkdir+set}" = set; then :
  2968    $as_echo_n "(cached) " >&6
  2969  else
  2970    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2971  for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2972  do
  2973    IFS=$as_save_IFS
  2974    test -z "$as_dir" && as_dir=.
  2975      for ac_prog in mkdir gmkdir; do
  2976  	 for ac_exec_ext in '' $ac_executable_extensions; do
  2977  	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2978  	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2979  	     'mkdir (GNU coreutils) '* | \
  2980  	     'mkdir (coreutils) '* | \
  2981  	     'mkdir (fileutils) '4.1*)
  2982  	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2983  	       break 3;;
  2984  	   esac
  2985  	 done
  2986         done
  2987    done
  2988  IFS=$as_save_IFS
  2989  
  2990  fi
  2991  
  2992    test -d ./--version && rmdir ./--version
  2993    if test "${ac_cv_path_mkdir+set}" = set; then
  2994      MKDIR_P="$ac_cv_path_mkdir -p"
  2995    else
  2996      # As a last resort, use the slow shell script.  Don't cache a
  2997      # value for MKDIR_P within a source directory, because that will
  2998      # break other packages using the cache if that directory is
  2999      # removed, or if the value is a relative name.
  3000      MKDIR_P="$ac_install_sh -d"
  3001    fi
  3002  fi
  3003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
  3004  $as_echo "$MKDIR_P" >&6; }
  3005  
  3006  for ac_prog in gawk mawk nawk awk
  3007  do
  3008    # Extract the first word of "$ac_prog", so it can be a program name with args.
  3009  set dummy $ac_prog; ac_word=$2
  3010  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3011  $as_echo_n "checking for $ac_word... " >&6; }
  3012  if test "${ac_cv_prog_AWK+set}" = set; then :
  3013    $as_echo_n "(cached) " >&6
  3014  else
  3015    if test -n "$AWK"; then
  3016    ac_cv_prog_AWK="$AWK" # Let the user override the test.
  3017  else
  3018  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3019  for as_dir in $PATH
  3020  do
  3021    IFS=$as_save_IFS
  3022    test -z "$as_dir" && as_dir=.
  3023      for ac_exec_ext in '' $ac_executable_extensions; do
  3024    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3025      ac_cv_prog_AWK="$ac_prog"
  3026      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3027      break 2
  3028    fi
  3029  done
  3030    done
  3031  IFS=$as_save_IFS
  3032  
  3033  fi
  3034  fi
  3035  AWK=$ac_cv_prog_AWK
  3036  if test -n "$AWK"; then
  3037    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
  3038  $as_echo "$AWK" >&6; }
  3039  else
  3040    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3041  $as_echo "no" >&6; }
  3042  fi
  3043  
  3044  
  3045    test -n "$AWK" && break
  3046  done
  3047  
  3048  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3049  $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3050  set x ${MAKE-make}
  3051  ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3052  if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
  3053    $as_echo_n "(cached) " >&6
  3054  else
  3055    cat >conftest.make <<\_ACEOF
  3056  SHELL = /bin/sh
  3057  all:
  3058  	@echo '@@@%%%=$(MAKE)=@@@%%%'
  3059  _ACEOF
  3060  # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  3061  case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3062    *@@@%%%=?*=@@@%%%*)
  3063      eval ac_cv_prog_make_${ac_make}_set=yes;;
  3064    *)
  3065      eval ac_cv_prog_make_${ac_make}_set=no;;
  3066  esac
  3067  rm -f conftest.make
  3068  fi
  3069  if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  3070    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3071  $as_echo "yes" >&6; }
  3072    SET_MAKE=
  3073  else
  3074    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3075  $as_echo "no" >&6; }
  3076    SET_MAKE="MAKE=${MAKE-make}"
  3077  fi
  3078  
  3079  rm -rf .tst 2>/dev/null
  3080  mkdir .tst 2>/dev/null
  3081  if test -d .tst; then
  3082    am__leading_dot=.
  3083  else
  3084    am__leading_dot=_
  3085  fi
  3086  rmdir .tst 2>/dev/null
  3087  
  3088  # Check whether --enable-silent-rules was given.
  3089  if test "${enable_silent_rules+set}" = set; then :
  3090    enableval=$enable_silent_rules;
  3091  fi
  3092  
  3093  case $enable_silent_rules in # (((
  3094    yes) AM_DEFAULT_VERBOSITY=0;;
  3095     no) AM_DEFAULT_VERBOSITY=1;;
  3096      *) AM_DEFAULT_VERBOSITY=1;;
  3097  esac
  3098  am_make=${MAKE-make}
  3099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
  3100  $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
  3101  if test "${am_cv_make_support_nested_variables+set}" = set; then :
  3102    $as_echo_n "(cached) " >&6
  3103  else
  3104    if $as_echo 'TRUE=$(BAR$(V))
  3105  BAR0=false
  3106  BAR1=true
  3107  V=1
  3108  am__doit:
  3109  	@$(TRUE)
  3110  .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
  3111    am_cv_make_support_nested_variables=yes
  3112  else
  3113    am_cv_make_support_nested_variables=no
  3114  fi
  3115  fi
  3116  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
  3117  $as_echo "$am_cv_make_support_nested_variables" >&6; }
  3118  if test $am_cv_make_support_nested_variables = yes; then
  3119      AM_V='$(V)'
  3120    AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
  3121  else
  3122    AM_V=$AM_DEFAULT_VERBOSITY
  3123    AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
  3124  fi
  3125  AM_BACKSLASH='\'
  3126  
  3127  if test "`cd $srcdir && pwd`" != "`pwd`"; then
  3128    # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  3129    # is not polluted with repeated "-I."
  3130    am__isrc=' -I$(srcdir)'
  3131    # test to see if srcdir already configured
  3132    if test -f $srcdir/config.status; then
  3133      as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
  3134    fi
  3135  fi
  3136  
  3137  # test whether we have cygpath
  3138  if test -z "$CYGPATH_W"; then
  3139    if (cygpath --version) >/dev/null 2>/dev/null; then
  3140      CYGPATH_W='cygpath -w'
  3141    else
  3142      CYGPATH_W=echo
  3143    fi
  3144  fi
  3145  
  3146  
  3147  # Define the identity of the package.
  3148   PACKAGE='libgo'
  3149   VERSION='version-unused'
  3150  
  3151  
  3152  # Some tools Automake needs.
  3153  
  3154  ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  3155  
  3156  
  3157  AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  3158  
  3159  
  3160  AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  3161  
  3162  
  3163  AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  3164  
  3165  
  3166  MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  3167  
  3168  # For better backward compatibility.  To be removed once Automake 1.9.x
  3169  # dies out for good.  For more background, see:
  3170  # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
  3171  # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
  3172  mkdir_p='$(MKDIR_P)'
  3173  
  3174  # We need awk for the "check" target (and possibly the TAP driver).  The
  3175  # system "awk" is bad on some platforms.
  3176  # Always define AMTAR for backward compatibility.  Yes, it's still used
  3177  # in the wild :-(  We should find a proper way to deprecate it ...
  3178  AMTAR='$${TAR-tar}'
  3179  
  3180  
  3181  # We'll loop over all known methods to create a tar archive until one works.
  3182  _am_tools='gnutar  pax cpio none'
  3183  
  3184  am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
  3185  
  3186  
  3187  
  3188  
  3189  
  3190  
  3191  # POSIX will say in a future version that running "rm -f" with no argument
  3192  # is OK; and we want to be able to make that assumption in our Makefile
  3193  # recipes.  So use an aggressive probe to check that the usage we want is
  3194  # actually supported "in the wild" to an acceptable degree.
  3195  # See automake bug#10828.
  3196  # To make any issue more visible, cause the running configure to be aborted
  3197  # by default if the 'rm' program in use doesn't match our expectations; the
  3198  # user can still override this though.
  3199  if rm -f && rm -fr && rm -rf; then : OK; else
  3200    cat >&2 <<'END'
  3201  Oops!
  3202  
  3203  Your 'rm' program seems unable to run without file operands specified
  3204  on the command line, even when the '-f' option is present.  This is contrary
  3205  to the behaviour of most rm programs out there, and not conforming with
  3206  the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
  3207  
  3208  Please tell bug-automake@gnu.org about your system, including the value
  3209  of your $PATH and any error possibly output before this message.  This
  3210  can help us improve future automake versions.
  3211  
  3212  END
  3213    if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
  3214      echo 'Configuration will proceed anyway, since you have set the' >&2
  3215      echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
  3216      echo >&2
  3217    else
  3218      cat >&2 <<'END'
  3219  Aborting the configuration process, to ensure you take notice of the issue.
  3220  
  3221  You can download and install GNU coreutils to get an 'rm' implementation
  3222  that behaves properly: <http://www.gnu.org/software/coreutils/>.
  3223  
  3224  If you want to complete the configuration process using your problematic
  3225  'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
  3226  to "yes", and re-run configure.
  3227  
  3228  END
  3229      as_fn_error "Your 'rm' program is bad, sorry." "$LINENO" 5
  3230    fi
  3231  fi
  3232  
  3233  
  3234  
  3235  
  3236  
  3237  
  3238  ac_ext=c
  3239  ac_cpp='$CPP $CPPFLAGS'
  3240  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3241  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3242  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3243  if test -n "$ac_tool_prefix"; then
  3244    # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3245  set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3246  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3247  $as_echo_n "checking for $ac_word... " >&6; }
  3248  if test "${ac_cv_prog_CC+set}" = set; then :
  3249    $as_echo_n "(cached) " >&6
  3250  else
  3251    if test -n "$CC"; then
  3252    ac_cv_prog_CC="$CC" # Let the user override the test.
  3253  else
  3254  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3255  for as_dir in $PATH
  3256  do
  3257    IFS=$as_save_IFS
  3258    test -z "$as_dir" && as_dir=.
  3259      for ac_exec_ext in '' $ac_executable_extensions; do
  3260    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3261      ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3262      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3263      break 2
  3264    fi
  3265  done
  3266    done
  3267  IFS=$as_save_IFS
  3268  
  3269  fi
  3270  fi
  3271  CC=$ac_cv_prog_CC
  3272  if test -n "$CC"; then
  3273    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3274  $as_echo "$CC" >&6; }
  3275  else
  3276    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3277  $as_echo "no" >&6; }
  3278  fi
  3279  
  3280  
  3281  fi
  3282  if test -z "$ac_cv_prog_CC"; then
  3283    ac_ct_CC=$CC
  3284    # Extract the first word of "gcc", so it can be a program name with args.
  3285  set dummy gcc; ac_word=$2
  3286  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3287  $as_echo_n "checking for $ac_word... " >&6; }
  3288  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  3289    $as_echo_n "(cached) " >&6
  3290  else
  3291    if test -n "$ac_ct_CC"; then
  3292    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3293  else
  3294  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3295  for as_dir in $PATH
  3296  do
  3297    IFS=$as_save_IFS
  3298    test -z "$as_dir" && as_dir=.
  3299      for ac_exec_ext in '' $ac_executable_extensions; do
  3300    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3301      ac_cv_prog_ac_ct_CC="gcc"
  3302      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3303      break 2
  3304    fi
  3305  done
  3306    done
  3307  IFS=$as_save_IFS
  3308  
  3309  fi
  3310  fi
  3311  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3312  if test -n "$ac_ct_CC"; then
  3313    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3314  $as_echo "$ac_ct_CC" >&6; }
  3315  else
  3316    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3317  $as_echo "no" >&6; }
  3318  fi
  3319  
  3320    if test "x$ac_ct_CC" = x; then
  3321      CC=""
  3322    else
  3323      case $cross_compiling:$ac_tool_warned in
  3324  yes:)
  3325  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3326  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3327  ac_tool_warned=yes ;;
  3328  esac
  3329      CC=$ac_ct_CC
  3330    fi
  3331  else
  3332    CC="$ac_cv_prog_CC"
  3333  fi
  3334  
  3335  if test -z "$CC"; then
  3336            if test -n "$ac_tool_prefix"; then
  3337      # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3338  set dummy ${ac_tool_prefix}cc; ac_word=$2
  3339  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3340  $as_echo_n "checking for $ac_word... " >&6; }
  3341  if test "${ac_cv_prog_CC+set}" = set; then :
  3342    $as_echo_n "(cached) " >&6
  3343  else
  3344    if test -n "$CC"; then
  3345    ac_cv_prog_CC="$CC" # Let the user override the test.
  3346  else
  3347  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3348  for as_dir in $PATH
  3349  do
  3350    IFS=$as_save_IFS
  3351    test -z "$as_dir" && as_dir=.
  3352      for ac_exec_ext in '' $ac_executable_extensions; do
  3353    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3354      ac_cv_prog_CC="${ac_tool_prefix}cc"
  3355      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3356      break 2
  3357    fi
  3358  done
  3359    done
  3360  IFS=$as_save_IFS
  3361  
  3362  fi
  3363  fi
  3364  CC=$ac_cv_prog_CC
  3365  if test -n "$CC"; then
  3366    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3367  $as_echo "$CC" >&6; }
  3368  else
  3369    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3370  $as_echo "no" >&6; }
  3371  fi
  3372  
  3373  
  3374    fi
  3375  fi
  3376  if test -z "$CC"; then
  3377    # Extract the first word of "cc", so it can be a program name with args.
  3378  set dummy cc; ac_word=$2
  3379  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3380  $as_echo_n "checking for $ac_word... " >&6; }
  3381  if test "${ac_cv_prog_CC+set}" = set; then :
  3382    $as_echo_n "(cached) " >&6
  3383  else
  3384    if test -n "$CC"; then
  3385    ac_cv_prog_CC="$CC" # Let the user override the test.
  3386  else
  3387    ac_prog_rejected=no
  3388  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3389  for as_dir in $PATH
  3390  do
  3391    IFS=$as_save_IFS
  3392    test -z "$as_dir" && as_dir=.
  3393      for ac_exec_ext in '' $ac_executable_extensions; do
  3394    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3395      if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3396         ac_prog_rejected=yes
  3397         continue
  3398       fi
  3399      ac_cv_prog_CC="cc"
  3400      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3401      break 2
  3402    fi
  3403  done
  3404    done
  3405  IFS=$as_save_IFS
  3406  
  3407  if test $ac_prog_rejected = yes; then
  3408    # We found a bogon in the path, so make sure we never use it.
  3409    set dummy $ac_cv_prog_CC
  3410    shift
  3411    if test $# != 0; then
  3412      # We chose a different compiler from the bogus one.
  3413      # However, it has the same basename, so the bogon will be chosen
  3414      # first if we set CC to just the basename; use the full file name.
  3415      shift
  3416      ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3417    fi
  3418  fi
  3419  fi
  3420  fi
  3421  CC=$ac_cv_prog_CC
  3422  if test -n "$CC"; then
  3423    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3424  $as_echo "$CC" >&6; }
  3425  else
  3426    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3427  $as_echo "no" >&6; }
  3428  fi
  3429  
  3430  
  3431  fi
  3432  if test -z "$CC"; then
  3433    if test -n "$ac_tool_prefix"; then
  3434    for ac_prog in cl.exe
  3435    do
  3436      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3437  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3438  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3439  $as_echo_n "checking for $ac_word... " >&6; }
  3440  if test "${ac_cv_prog_CC+set}" = set; then :
  3441    $as_echo_n "(cached) " >&6
  3442  else
  3443    if test -n "$CC"; then
  3444    ac_cv_prog_CC="$CC" # Let the user override the test.
  3445  else
  3446  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3447  for as_dir in $PATH
  3448  do
  3449    IFS=$as_save_IFS
  3450    test -z "$as_dir" && as_dir=.
  3451      for ac_exec_ext in '' $ac_executable_extensions; do
  3452    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3453      ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3454      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3455      break 2
  3456    fi
  3457  done
  3458    done
  3459  IFS=$as_save_IFS
  3460  
  3461  fi
  3462  fi
  3463  CC=$ac_cv_prog_CC
  3464  if test -n "$CC"; then
  3465    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  3466  $as_echo "$CC" >&6; }
  3467  else
  3468    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3469  $as_echo "no" >&6; }
  3470  fi
  3471  
  3472  
  3473      test -n "$CC" && break
  3474    done
  3475  fi
  3476  if test -z "$CC"; then
  3477    ac_ct_CC=$CC
  3478    for ac_prog in cl.exe
  3479  do
  3480    # Extract the first word of "$ac_prog", so it can be a program name with args.
  3481  set dummy $ac_prog; ac_word=$2
  3482  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  3483  $as_echo_n "checking for $ac_word... " >&6; }
  3484  if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
  3485    $as_echo_n "(cached) " >&6
  3486  else
  3487    if test -n "$ac_ct_CC"; then
  3488    ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3489  else
  3490  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3491  for as_dir in $PATH
  3492  do
  3493    IFS=$as_save_IFS
  3494    test -z "$as_dir" && as_dir=.
  3495      for ac_exec_ext in '' $ac_executable_extensions; do
  3496    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3497      ac_cv_prog_ac_ct_CC="$ac_prog"
  3498      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  3499      break 2
  3500    fi
  3501  done
  3502    done
  3503  IFS=$as_save_IFS
  3504  
  3505  fi
  3506  fi
  3507  ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3508  if test -n "$ac_ct_CC"; then
  3509    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  3510  $as_echo "$ac_ct_CC" >&6; }
  3511  else
  3512    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3513  $as_echo "no" >&6; }
  3514  fi
  3515  
  3516  
  3517    test -n "$ac_ct_CC" && break
  3518  done
  3519  
  3520    if test "x$ac_ct_CC" = x; then
  3521      CC=""
  3522    else
  3523      case $cross_compiling:$ac_tool_warned in
  3524  yes:)
  3525  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  3526  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  3527  ac_tool_warned=yes ;;
  3528  esac
  3529      CC=$ac_ct_CC
  3530    fi
  3531  fi
  3532  
  3533  fi
  3534  
  3535  
  3536  test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3537  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3538  as_fn_error "no acceptable C compiler found in \$PATH
  3539  See \`config.log' for more details." "$LINENO" 5; }
  3540  
  3541  # Provide some information about the compiler.
  3542  $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  3543  set X $ac_compile
  3544  ac_compiler=$2
  3545  for ac_option in --version -v -V -qversion; do
  3546    { { ac_try="$ac_compiler $ac_option >&5"
  3547  case "(($ac_try" in
  3548    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3549    *) ac_try_echo=$ac_try;;
  3550  esac
  3551  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3552  $as_echo "$ac_try_echo"; } >&5
  3553    (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  3554    ac_status=$?
  3555    if test -s conftest.err; then
  3556      sed '10a\
  3557  ... rest of stderr output deleted ...
  3558           10q' conftest.err >conftest.er1
  3559      cat conftest.er1 >&5
  3560    fi
  3561    rm -f conftest.er1 conftest.err
  3562    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3563    test $ac_status = 0; }
  3564  done
  3565  
  3566  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3567  /* end confdefs.h.  */
  3568  
  3569  int
  3570  main ()
  3571  {
  3572  
  3573    ;
  3574    return 0;
  3575  }
  3576  _ACEOF
  3577  ac_clean_files_save=$ac_clean_files
  3578  ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  3579  # Try to create an executable without -o first, disregard a.out.
  3580  # It will help us diagnose broken compilers, and finding out an intuition
  3581  # of exeext.
  3582  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  3583  $as_echo_n "checking whether the C compiler works... " >&6; }
  3584  ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  3585  
  3586  # The possible output files:
  3587  ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  3588  
  3589  ac_rmfiles=
  3590  for ac_file in $ac_files
  3591  do
  3592    case $ac_file in
  3593      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3594      * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  3595    esac
  3596  done
  3597  rm -f $ac_rmfiles
  3598  
  3599  if { { ac_try="$ac_link_default"
  3600  case "(($ac_try" in
  3601    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3602    *) ac_try_echo=$ac_try;;
  3603  esac
  3604  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3605  $as_echo "$ac_try_echo"; } >&5
  3606    (eval "$ac_link_default") 2>&5
  3607    ac_status=$?
  3608    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3609    test $ac_status = 0; }; then :
  3610    # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  3611  # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  3612  # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  3613  # so that the user can short-circuit this test for compilers unknown to
  3614  # Autoconf.
  3615  for ac_file in $ac_files ''
  3616  do
  3617    test -f "$ac_file" || continue
  3618    case $ac_file in
  3619      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  3620  	;;
  3621      [ab].out )
  3622  	# We found the default executable, but exeext='' is most
  3623  	# certainly right.
  3624  	break;;
  3625      *.* )
  3626  	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  3627  	then :; else
  3628  	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3629  	fi
  3630  	# We set ac_cv_exeext here because the later test for it is not
  3631  	# safe: cross compilers may not add the suffix if given an `-o'
  3632  	# argument, so we may need to know it at that point already.
  3633  	# Even if this section looks crufty: it has the advantage of
  3634  	# actually working.
  3635  	break;;
  3636      * )
  3637  	break;;
  3638    esac
  3639  done
  3640  test "$ac_cv_exeext" = no && ac_cv_exeext=
  3641  
  3642  else
  3643    ac_file=''
  3644  fi
  3645  if test -z "$ac_file"; then :
  3646    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  3647  $as_echo "no" >&6; }
  3648  $as_echo "$as_me: failed program was:" >&5
  3649  sed 's/^/| /' conftest.$ac_ext >&5
  3650  
  3651  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3652  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3653  { as_fn_set_status 77
  3654  as_fn_error "C compiler cannot create executables
  3655  See \`config.log' for more details." "$LINENO" 5; }; }
  3656  else
  3657    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  3658  $as_echo "yes" >&6; }
  3659  fi
  3660  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  3661  $as_echo_n "checking for C compiler default output file name... " >&6; }
  3662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  3663  $as_echo "$ac_file" >&6; }
  3664  ac_exeext=$ac_cv_exeext
  3665  
  3666  rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3667  ac_clean_files=$ac_clean_files_save
  3668  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  3669  $as_echo_n "checking for suffix of executables... " >&6; }
  3670  if { { ac_try="$ac_link"
  3671  case "(($ac_try" in
  3672    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3673    *) ac_try_echo=$ac_try;;
  3674  esac
  3675  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3676  $as_echo "$ac_try_echo"; } >&5
  3677    (eval "$ac_link") 2>&5
  3678    ac_status=$?
  3679    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3680    test $ac_status = 0; }; then :
  3681    # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3682  # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3683  # work properly (i.e., refer to `conftest.exe'), while it won't with
  3684  # `rm'.
  3685  for ac_file in conftest.exe conftest conftest.*; do
  3686    test -f "$ac_file" || continue
  3687    case $ac_file in
  3688      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3689      *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3690  	  break;;
  3691      * ) break;;
  3692    esac
  3693  done
  3694  else
  3695    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3696  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3697  as_fn_error "cannot compute suffix of executables: cannot compile and link
  3698  See \`config.log' for more details." "$LINENO" 5; }
  3699  fi
  3700  rm -f conftest conftest$ac_cv_exeext
  3701  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  3702  $as_echo "$ac_cv_exeext" >&6; }
  3703  
  3704  rm -f conftest.$ac_ext
  3705  EXEEXT=$ac_cv_exeext
  3706  ac_exeext=$EXEEXT
  3707  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3708  /* end confdefs.h.  */
  3709  #include <stdio.h>
  3710  int
  3711  main ()
  3712  {
  3713  FILE *f = fopen ("conftest.out", "w");
  3714   return ferror (f) || fclose (f) != 0;
  3715  
  3716    ;
  3717    return 0;
  3718  }
  3719  _ACEOF
  3720  ac_clean_files="$ac_clean_files conftest.out"
  3721  # Check that the compiler produces executables we can run.  If not, either
  3722  # the compiler is broken, or we cross compile.
  3723  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  3724  $as_echo_n "checking whether we are cross compiling... " >&6; }
  3725  if test "$cross_compiling" != yes; then
  3726    { { ac_try="$ac_link"
  3727  case "(($ac_try" in
  3728    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3729    *) ac_try_echo=$ac_try;;
  3730  esac
  3731  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3732  $as_echo "$ac_try_echo"; } >&5
  3733    (eval "$ac_link") 2>&5
  3734    ac_status=$?
  3735    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3736    test $ac_status = 0; }
  3737    if { ac_try='./conftest$ac_cv_exeext'
  3738    { { case "(($ac_try" in
  3739    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3740    *) ac_try_echo=$ac_try;;
  3741  esac
  3742  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3743  $as_echo "$ac_try_echo"; } >&5
  3744    (eval "$ac_try") 2>&5
  3745    ac_status=$?
  3746    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3747    test $ac_status = 0; }; }; then
  3748      cross_compiling=no
  3749    else
  3750      if test "$cross_compiling" = maybe; then
  3751  	cross_compiling=yes
  3752      else
  3753  	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3754  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3755  as_fn_error "cannot run C compiled programs.
  3756  If you meant to cross compile, use \`--host'.
  3757  See \`config.log' for more details." "$LINENO" 5; }
  3758      fi
  3759    fi
  3760  fi
  3761  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  3762  $as_echo "$cross_compiling" >&6; }
  3763  
  3764  rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  3765  ac_clean_files=$ac_clean_files_save
  3766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  3767  $as_echo_n "checking for suffix of object files... " >&6; }
  3768  if test "${ac_cv_objext+set}" = set; then :
  3769    $as_echo_n "(cached) " >&6
  3770  else
  3771    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3772  /* end confdefs.h.  */
  3773  
  3774  int
  3775  main ()
  3776  {
  3777  
  3778    ;
  3779    return 0;
  3780  }
  3781  _ACEOF
  3782  rm -f conftest.o conftest.obj
  3783  if { { ac_try="$ac_compile"
  3784  case "(($ac_try" in
  3785    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3786    *) ac_try_echo=$ac_try;;
  3787  esac
  3788  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3789  $as_echo "$ac_try_echo"; } >&5
  3790    (eval "$ac_compile") 2>&5
  3791    ac_status=$?
  3792    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3793    test $ac_status = 0; }; then :
  3794    for ac_file in conftest.o conftest.obj conftest.*; do
  3795    test -f "$ac_file" || continue;
  3796    case $ac_file in
  3797      *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3798      *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3799         break;;
  3800    esac
  3801  done
  3802  else
  3803    $as_echo "$as_me: failed program was:" >&5
  3804  sed 's/^/| /' conftest.$ac_ext >&5
  3805  
  3806  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3807  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3808  as_fn_error "cannot compute suffix of object files: cannot compile
  3809  See \`config.log' for more details." "$LINENO" 5; }
  3810  fi
  3811  rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3812  fi
  3813  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  3814  $as_echo "$ac_cv_objext" >&6; }
  3815  OBJEXT=$ac_cv_objext
  3816  ac_objext=$OBJEXT
  3817  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  3818  $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3819  if test "${ac_cv_c_compiler_gnu+set}" = set; then :
  3820    $as_echo_n "(cached) " >&6
  3821  else
  3822    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3823  /* end confdefs.h.  */
  3824  
  3825  int
  3826  main ()
  3827  {
  3828  #ifndef __GNUC__
  3829         choke me
  3830  #endif
  3831  
  3832    ;
  3833    return 0;
  3834  }
  3835  _ACEOF
  3836  if ac_fn_c_try_compile "$LINENO"; then :
  3837    ac_compiler_gnu=yes
  3838  else
  3839    ac_compiler_gnu=no
  3840  fi
  3841  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3842  ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3843  
  3844  fi
  3845  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  3846  $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3847  if test $ac_compiler_gnu = yes; then
  3848    GCC=yes
  3849  else
  3850    GCC=
  3851  fi
  3852  ac_test_CFLAGS=${CFLAGS+set}
  3853  ac_save_CFLAGS=$CFLAGS
  3854  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  3855  $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3856  if test "${ac_cv_prog_cc_g+set}" = set; then :
  3857    $as_echo_n "(cached) " >&6
  3858  else
  3859    ac_save_c_werror_flag=$ac_c_werror_flag
  3860     ac_c_werror_flag=yes
  3861     ac_cv_prog_cc_g=no
  3862     CFLAGS="-g"
  3863     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3864  /* end confdefs.h.  */
  3865  
  3866  int
  3867  main ()
  3868  {
  3869  
  3870    ;
  3871    return 0;
  3872  }
  3873  _ACEOF
  3874  if ac_fn_c_try_compile "$LINENO"; then :
  3875    ac_cv_prog_cc_g=yes
  3876  else
  3877    CFLAGS=""
  3878        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3879  /* end confdefs.h.  */
  3880  
  3881  int
  3882  main ()
  3883  {
  3884  
  3885    ;
  3886    return 0;
  3887  }
  3888  _ACEOF
  3889  if ac_fn_c_try_compile "$LINENO"; then :
  3890  
  3891  else
  3892    ac_c_werror_flag=$ac_save_c_werror_flag
  3893  	 CFLAGS="-g"
  3894  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3895  /* end confdefs.h.  */
  3896  
  3897  int
  3898  main ()
  3899  {
  3900  
  3901    ;
  3902    return 0;
  3903  }
  3904  _ACEOF
  3905  if ac_fn_c_try_compile "$LINENO"; then :
  3906    ac_cv_prog_cc_g=yes
  3907  fi
  3908  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3909  fi
  3910  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3911  fi
  3912  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3913     ac_c_werror_flag=$ac_save_c_werror_flag
  3914  fi
  3915  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  3916  $as_echo "$ac_cv_prog_cc_g" >&6; }
  3917  if test "$ac_test_CFLAGS" = set; then
  3918    CFLAGS=$ac_save_CFLAGS
  3919  elif test $ac_cv_prog_cc_g = yes; then
  3920    if test "$GCC" = yes; then
  3921      CFLAGS="-g -O2"
  3922    else
  3923      CFLAGS="-g"
  3924    fi
  3925  else
  3926    if test "$GCC" = yes; then
  3927      CFLAGS="-O2"
  3928    else
  3929      CFLAGS=
  3930    fi
  3931  fi
  3932  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  3933  $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3934  if test "${ac_cv_prog_cc_c89+set}" = set; then :
  3935    $as_echo_n "(cached) " >&6
  3936  else
  3937    ac_cv_prog_cc_c89=no
  3938  ac_save_CC=$CC
  3939  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3940  /* end confdefs.h.  */
  3941  #include <stdarg.h>
  3942  #include <stdio.h>
  3943  #include <sys/types.h>
  3944  #include <sys/stat.h>
  3945  /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3946  struct buf { int x; };
  3947  FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3948  static char *e (p, i)
  3949       char **p;
  3950       int i;
  3951  {
  3952    return p[i];
  3953  }
  3954  static char *f (char * (*g) (char **, int), char **p, ...)
  3955  {
  3956    char *s;
  3957    va_list v;
  3958    va_start (v,p);
  3959    s = g (p, va_arg (v,int));
  3960    va_end (v);
  3961    return s;
  3962  }
  3963  
  3964  /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3965     function prototypes and stuff, but not '\xHH' hex character constants.
  3966     These don't provoke an error unfortunately, instead are silently treated
  3967     as 'x'.  The following induces an error, until -std is added to get
  3968     proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3969     array size at least.  It's necessary to write '\x00'==0 to get something
  3970     that's true only with -std.  */
  3971  int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3972  
  3973  /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3974     inside strings and character constants.  */
  3975  #define FOO(x) 'x'
  3976  int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3977  
  3978  int test (int i, double x);
  3979  struct s1 {int (*f) (int a);};
  3980  struct s2 {int (*f) (double a);};
  3981  int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3982  int argc;
  3983  char **argv;
  3984  int
  3985  main ()
  3986  {
  3987  return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3988    ;
  3989    return 0;
  3990  }
  3991  _ACEOF
  3992  for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3993  	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3994  do
  3995    CC="$ac_save_CC $ac_arg"
  3996    if ac_fn_c_try_compile "$LINENO"; then :
  3997    ac_cv_prog_cc_c89=$ac_arg
  3998  fi
  3999  rm -f core conftest.err conftest.$ac_objext
  4000    test "x$ac_cv_prog_cc_c89" != "xno" && break
  4001  done
  4002  rm -f conftest.$ac_ext
  4003  CC=$ac_save_CC
  4004  
  4005  fi
  4006  # AC_CACHE_VAL
  4007  case "x$ac_cv_prog_cc_c89" in
  4008    x)
  4009      { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4010  $as_echo "none needed" >&6; } ;;
  4011    xno)
  4012      { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4013  $as_echo "unsupported" >&6; } ;;
  4014    *)
  4015      CC="$CC $ac_cv_prog_cc_c89"
  4016      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4017  $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4018  esac
  4019  if test "x$ac_cv_prog_cc_c89" != xno; then :
  4020  
  4021  fi
  4022  
  4023  ac_ext=c
  4024  ac_cpp='$CPP $CPPFLAGS'
  4025  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4026  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4027  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4028  
  4029  ac_ext=c
  4030  ac_cpp='$CPP $CPPFLAGS'
  4031  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4032  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4033  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4034  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
  4035  $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
  4036  if test "${am_cv_prog_cc_c_o+set}" = set; then :
  4037    $as_echo_n "(cached) " >&6
  4038  else
  4039    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4040  /* end confdefs.h.  */
  4041  
  4042  int
  4043  main ()
  4044  {
  4045  
  4046    ;
  4047    return 0;
  4048  }
  4049  _ACEOF
  4050    # Make sure it works both with $CC and with simple cc.
  4051    # Following AC_PROG_CC_C_O, we do the test twice because some
  4052    # compilers refuse to overwrite an existing .o file with -o,
  4053    # though they will create one.
  4054    am_cv_prog_cc_c_o=yes
  4055    for am_i in 1 2; do
  4056      if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
  4057     ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
  4058     ac_status=$?
  4059     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4060     (exit $ac_status); } \
  4061           && test -f conftest2.$ac_objext; then
  4062        : OK
  4063      else
  4064        am_cv_prog_cc_c_o=no
  4065        break
  4066      fi
  4067    done
  4068    rm -f core conftest*
  4069    unset am_i
  4070  fi
  4071  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
  4072  $as_echo "$am_cv_prog_cc_c_o" >&6; }
  4073  if test "$am_cv_prog_cc_c_o" != yes; then
  4074     # Losing compiler, so override with the script.
  4075     # FIXME: It is wrong to rewrite CC.
  4076     # But if we don't then we get into trouble of one sort or another.
  4077     # A longer-term fix would be to have automake use am__CC in this case,
  4078     # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
  4079     CC="$am_aux_dir/compile $CC"
  4080  fi
  4081  ac_ext=c
  4082  ac_cpp='$CPP $CPPFLAGS'
  4083  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4084  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4085  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4086  
  4087  DEPDIR="${am__leading_dot}deps"
  4088  
  4089  ac_config_commands="$ac_config_commands depfiles"
  4090  
  4091  
  4092  am_make=${MAKE-make}
  4093  cat > confinc << 'END'
  4094  am__doit:
  4095  	@echo this is the am__doit target
  4096  .PHONY: am__doit
  4097  END
  4098  # If we don't find an include directive, just comment out the code.
  4099  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
  4100  $as_echo_n "checking for style of include used by $am_make... " >&6; }
  4101  am__include="#"
  4102  am__quote=
  4103  _am_result=none
  4104  # First try GNU make style include.
  4105  echo "include confinc" > confmf
  4106  # Ignore all kinds of additional output from 'make'.
  4107  case `$am_make -s -f confmf 2> /dev/null` in #(
  4108  *the\ am__doit\ target*)
  4109    am__include=include
  4110    am__quote=
  4111    _am_result=GNU
  4112    ;;
  4113  esac
  4114  # Now try BSD make style include.
  4115  if test "$am__include" = "#"; then
  4116     echo '.include "confinc"' > confmf
  4117     case `$am_make -s -f confmf 2> /dev/null` in #(
  4118     *the\ am__doit\ target*)
  4119       am__include=.include
  4120       am__quote="\""
  4121       _am_result=BSD
  4122       ;;
  4123     esac
  4124  fi
  4125  
  4126  
  4127  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
  4128  $as_echo "$_am_result" >&6; }
  4129  rm -f confinc confmf
  4130  
  4131  # Check whether --enable-dependency-tracking was given.
  4132  if test "${enable_dependency_tracking+set}" = set; then :
  4133    enableval=$enable_dependency_tracking;
  4134  fi
  4135  
  4136  if test "x$enable_dependency_tracking" != xno; then
  4137    am_depcomp="$ac_aux_dir/depcomp"
  4138    AMDEPBACKSLASH='\'
  4139    am__nodep='_no'
  4140  fi
  4141   if test "x$enable_dependency_tracking" != xno; then
  4142    AMDEP_TRUE=
  4143    AMDEP_FALSE='#'
  4144  else
  4145    AMDEP_TRUE='#'
  4146    AMDEP_FALSE=
  4147  fi
  4148  
  4149  
  4150  
  4151  depcc="$CC"   am_compiler_list=
  4152  
  4153  { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
  4154  $as_echo_n "checking dependency style of $depcc... " >&6; }
  4155  if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
  4156    $as_echo_n "(cached) " >&6
  4157  else
  4158    if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4159    # We make a subdir and do the tests there.  Otherwise we can end up
  4160    # making bogus files that we don't know about and never remove.  For
  4161    # instance it was reported that on HP-UX the gcc test will end up
  4162    # making a dummy file named 'D' -- because '-MD' means "put the output
  4163    # in D".
  4164    rm -rf conftest.dir
  4165    mkdir conftest.dir
  4166    # Copy depcomp to subdir because otherwise we won't find it if we're
  4167    # using a relative directory.
  4168    cp "$am_depcomp" conftest.dir
  4169    cd conftest.dir
  4170    # We will build objects and dependencies in a subdirectory because
  4171    # it helps to detect inapplicable dependency modes.  For instance
  4172    # both Tru64's cc and ICC support -MD to output dependencies as a
  4173    # side effect of compilation, but ICC will put the dependencies in
  4174    # the current directory while Tru64 will put them in the object
  4175    # directory.
  4176    mkdir sub
  4177  
  4178    am_cv_CC_dependencies_compiler_type=none
  4179    if test "$am_compiler_list" = ""; then
  4180       am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4181    fi
  4182    am__universal=false
  4183    case " $depcc " in #(
  4184       *\ -arch\ *\ -arch\ *) am__universal=true ;;
  4185       esac
  4186  
  4187    for depmode in $am_compiler_list; do
  4188      # Setup a source with many dependencies, because some compilers
  4189      # like to wrap large dependency lists on column 80 (with \), and
  4190      # we should not choose a depcomp mode which is confused by this.
  4191      #
  4192      # We need to recreate these files for each test, as the compiler may
  4193      # overwrite some of them when testing with obscure command lines.
  4194      # This happens at least with the AIX C compiler.
  4195      : > sub/conftest.c
  4196      for i in 1 2 3 4 5 6; do
  4197        echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4198        # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
  4199        # Solaris 10 /bin/sh.
  4200        echo '/* dummy */' > sub/conftst$i.h
  4201      done
  4202      echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4203  
  4204      # We check with '-c' and '-o' for the sake of the "dashmstdout"
  4205      # mode.  It turns out that the SunPro C++ compiler does not properly
  4206      # handle '-M -o', and we need to detect this.  Also, some Intel
  4207      # versions had trouble with output in subdirs.
  4208      am__obj=sub/conftest.${OBJEXT-o}
  4209      am__minus_obj="-o $am__obj"
  4210      case $depmode in
  4211      gcc)
  4212        # This depmode causes a compiler race in universal mode.
  4213        test "$am__universal" = false || continue
  4214        ;;
  4215      nosideeffect)
  4216        # After this tag, mechanisms are not by side-effect, so they'll
  4217        # only be used when explicitly requested.
  4218        if test "x$enable_dependency_tracking" = xyes; then
  4219  	continue
  4220        else
  4221  	break
  4222        fi
  4223        ;;
  4224      msvc7 | msvc7msys | msvisualcpp | msvcmsys)
  4225        # This compiler won't grok '-c -o', but also, the minuso test has
  4226        # not run yet.  These depmodes are late enough in the game, and
  4227        # so weak that their functioning should not be impacted.
  4228        am__obj=conftest.${OBJEXT-o}
  4229        am__minus_obj=
  4230        ;;
  4231      none) break ;;
  4232      esac
  4233      if depmode=$depmode \
  4234         source=sub/conftest.c object=$am__obj \
  4235         depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4236         $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  4237           >/dev/null 2>conftest.err &&
  4238         grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  4239         grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4240         grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  4241         ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4242        # icc doesn't choke on unknown options, it will just issue warnings
  4243        # or remarks (even with -Werror).  So we grep stderr for any message
  4244        # that says an option was ignored or not supported.
  4245        # When given -MP, icc 7.0 and 7.1 complain thusly:
  4246        #   icc: Command line warning: ignoring option '-M'; no argument required
  4247        # The diagnosis changed in icc 8.0:
  4248        #   icc: Command line remark: option '-MP' not supported
  4249        if (grep 'ignoring option' conftest.err ||
  4250            grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4251          am_cv_CC_dependencies_compiler_type=$depmode
  4252          break
  4253        fi
  4254      fi
  4255    done
  4256  
  4257    cd ..
  4258    rm -rf conftest.dir
  4259  else
  4260    am_cv_CC_dependencies_compiler_type=none
  4261  fi
  4262  
  4263  fi
  4264  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
  4265  $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4266  CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4267  
  4268   if
  4269    test "x$enable_dependency_tracking" != xno \
  4270    && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4271    am__fastdepCC_TRUE=
  4272    am__fastdepCC_FALSE='#'
  4273  else
  4274    am__fastdepCC_TRUE='#'
  4275    am__fastdepCC_FALSE=
  4276  fi
  4277  
  4278  
  4279  if test -n "$ac_tool_prefix"; then
  4280    # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
  4281  set dummy ${ac_tool_prefix}gccgo; ac_word=$2
  4282  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4283  $as_echo_n "checking for $ac_word... " >&6; }
  4284  if test "${ac_cv_prog_GOC+set}" = set; then :
  4285    $as_echo_n "(cached) " >&6
  4286  else
  4287    if test -n "$GOC"; then
  4288    ac_cv_prog_GOC="$GOC" # Let the user override the test.
  4289  else
  4290  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4291  for as_dir in $PATH
  4292  do
  4293    IFS=$as_save_IFS
  4294    test -z "$as_dir" && as_dir=.
  4295      for ac_exec_ext in '' $ac_executable_extensions; do
  4296    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4297      ac_cv_prog_GOC="${ac_tool_prefix}gccgo"
  4298      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4299      break 2
  4300    fi
  4301  done
  4302    done
  4303  IFS=$as_save_IFS
  4304  
  4305  fi
  4306  fi
  4307  GOC=$ac_cv_prog_GOC
  4308  if test -n "$GOC"; then
  4309    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  4310  $as_echo "$GOC" >&6; }
  4311  else
  4312    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4313  $as_echo "no" >&6; }
  4314  fi
  4315  
  4316  
  4317  fi
  4318  if test -z "$ac_cv_prog_GOC"; then
  4319    ac_ct_GOC=$GOC
  4320    # Extract the first word of "gccgo", so it can be a program name with args.
  4321  set dummy gccgo; ac_word=$2
  4322  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4323  $as_echo_n "checking for $ac_word... " >&6; }
  4324  if test "${ac_cv_prog_ac_ct_GOC+set}" = set; then :
  4325    $as_echo_n "(cached) " >&6
  4326  else
  4327    if test -n "$ac_ct_GOC"; then
  4328    ac_cv_prog_ac_ct_GOC="$ac_ct_GOC" # Let the user override the test.
  4329  else
  4330  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4331  for as_dir in $PATH
  4332  do
  4333    IFS=$as_save_IFS
  4334    test -z "$as_dir" && as_dir=.
  4335      for ac_exec_ext in '' $ac_executable_extensions; do
  4336    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4337      ac_cv_prog_ac_ct_GOC="gccgo"
  4338      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4339      break 2
  4340    fi
  4341  done
  4342    done
  4343  IFS=$as_save_IFS
  4344  
  4345  fi
  4346  fi
  4347  ac_ct_GOC=$ac_cv_prog_ac_ct_GOC
  4348  if test -n "$ac_ct_GOC"; then
  4349    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_GOC" >&5
  4350  $as_echo "$ac_ct_GOC" >&6; }
  4351  else
  4352    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4353  $as_echo "no" >&6; }
  4354  fi
  4355  
  4356    if test "x$ac_ct_GOC" = x; then
  4357      GOC=""
  4358    else
  4359      case $cross_compiling:$ac_tool_warned in
  4360  yes:)
  4361  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4362  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4363  ac_tool_warned=yes ;;
  4364  esac
  4365      GOC=$ac_ct_GOC
  4366    fi
  4367  else
  4368    GOC="$ac_cv_prog_GOC"
  4369  fi
  4370  
  4371  if test -z "$GOC"; then
  4372    if test -n "$ac_tool_prefix"; then
  4373      # Extract the first word of "${ac_tool_prefix}gccgo", so it can be a program name with args.
  4374  set dummy ${ac_tool_prefix}gccgo; ac_word=$2
  4375  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4376  $as_echo_n "checking for $ac_word... " >&6; }
  4377  if test "${ac_cv_prog_GOC+set}" = set; then :
  4378    $as_echo_n "(cached) " >&6
  4379  else
  4380    if test -n "$GOC"; then
  4381    ac_cv_prog_GOC="$GOC" # Let the user override the test.
  4382  else
  4383  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4384  for as_dir in $PATH
  4385  do
  4386    IFS=$as_save_IFS
  4387    test -z "$as_dir" && as_dir=.
  4388      for ac_exec_ext in '' $ac_executable_extensions; do
  4389    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4390      ac_cv_prog_GOC="$ac_tool_prefix}gccgo"
  4391      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4392      break 2
  4393    fi
  4394  done
  4395    done
  4396  IFS=$as_save_IFS
  4397  
  4398  fi
  4399  fi
  4400  GOC=$ac_cv_prog_GOC
  4401  if test -n "$GOC"; then
  4402    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  4403  $as_echo "$GOC" >&6; }
  4404  else
  4405    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4406  $as_echo "no" >&6; }
  4407  fi
  4408  
  4409  
  4410    fi
  4411  fi
  4412  if test -z "$GOC"; then
  4413    # Extract the first word of "gccgo", so it can be a program name with args.
  4414  set dummy gccgo; ac_word=$2
  4415  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4416  $as_echo_n "checking for $ac_word... " >&6; }
  4417  if test "${ac_cv_prog_GOC+set}" = set; then :
  4418    $as_echo_n "(cached) " >&6
  4419  else
  4420    if test -n "$GOC"; then
  4421    ac_cv_prog_GOC="$GOC" # Let the user override the test.
  4422  else
  4423    ac_prog_rejected=no
  4424  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4425  for as_dir in $PATH
  4426  do
  4427    IFS=$as_save_IFS
  4428    test -z "$as_dir" && as_dir=.
  4429      for ac_exec_ext in '' $ac_executable_extensions; do
  4430    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4431      if test "$as_dir/$ac_word$ac_exec_ext" = "gccgo"; then
  4432         ac_prog_rejected=yes
  4433         continue
  4434       fi
  4435      ac_cv_prog_GOC="gccgo"
  4436      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4437      break 2
  4438    fi
  4439  done
  4440    done
  4441  IFS=$as_save_IFS
  4442  
  4443  if test $ac_prog_rejected = yes; then
  4444    # We found a bogon in the path, so make sure we never use it.
  4445    set dummy $ac_cv_prog_GOC
  4446    shift
  4447    if test $# != 0; then
  4448      # We chose a different compiler from the bogus one.
  4449      # However, it has the same basename, so the bogon will be chosen
  4450      # first if we set GOC to just the basename; use the full file name.
  4451      shift
  4452      ac_cv_prog_GOC="$as_dir/$ac_word${1+' '}$@"
  4453    fi
  4454  fi
  4455  fi
  4456  fi
  4457  GOC=$ac_cv_prog_GOC
  4458  if test -n "$GOC"; then
  4459    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GOC" >&5
  4460  $as_echo "$GOC" >&6; }
  4461  else
  4462    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4463  $as_echo "no" >&6; }
  4464  fi
  4465  
  4466  
  4467  fi
  4468  
  4469  
  4470  # Provide some information about the compiler.
  4471  $as_echo "$as_me:${as_lineno-$LINENO}: checking for Go compiler version" >&5
  4472  set X $ac_compile
  4473  ac_compiler=$2
  4474  { { ac_try="$ac_compiler --version >&5"
  4475  case "(($ac_try" in
  4476    *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4477    *) ac_try_echo=$ac_try;;
  4478  esac
  4479  eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4480  $as_echo "$ac_try_echo"; } >&5
  4481    (eval "$ac_compiler --version >&5") 2>conftest.err
  4482    ac_status=$?
  4483    if test -s conftest.err; then
  4484      sed '10a\
  4485  ... rest of stderr output deleted ...
  4486           10q' conftest.err >conftest.er1
  4487      cat conftest.er1 >&5
  4488    fi
  4489    rm -f conftest.er1 conftest.err
  4490    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4491    test $ac_status = 0; }
  4492  GOCFLAGS="-g -O2"
  4493  ac_ext=c
  4494  ac_cpp='$CPP $CPPFLAGS'
  4495  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4496  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4497  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4498  
  4499  
  4500  
  4501  
  4502  
  4503  
  4504  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
  4505  $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  4506      # Check whether --enable-maintainer-mode was given.
  4507  if test "${enable_maintainer_mode+set}" = set; then :
  4508    enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  4509  else
  4510    USE_MAINTAINER_MODE=no
  4511  fi
  4512  
  4513    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
  4514  $as_echo "$USE_MAINTAINER_MODE" >&6; }
  4515     if test $USE_MAINTAINER_MODE = yes; then
  4516    MAINTAINER_MODE_TRUE=
  4517    MAINTAINER_MODE_FALSE='#'
  4518  else
  4519    MAINTAINER_MODE_TRUE='#'
  4520    MAINTAINER_MODE_FALSE=
  4521  fi
  4522  
  4523    MAINT=$MAINTAINER_MODE_TRUE
  4524  
  4525  
  4526  
  4527  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
  4528  $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4529  if test "${ac_cv_path_SED+set}" = set; then :
  4530    $as_echo_n "(cached) " >&6
  4531  else
  4532              ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4533       for ac_i in 1 2 3 4 5 6 7; do
  4534         ac_script="$ac_script$as_nl$ac_script"
  4535       done
  4536       echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4537       { ac_script=; unset ac_script;}
  4538       if test -z "$SED"; then
  4539    ac_path_SED_found=false
  4540    # Loop through the user's path and test for each of PROGNAME-LIST
  4541    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4542  for as_dir in $PATH
  4543  do
  4544    IFS=$as_save_IFS
  4545    test -z "$as_dir" && as_dir=.
  4546      for ac_prog in sed gsed; do
  4547      for ac_exec_ext in '' $ac_executable_extensions; do
  4548        ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4549        { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  4550  # Check for GNU ac_path_SED and select it if it is found.
  4551    # Check for GNU $ac_path_SED
  4552  case `"$ac_path_SED" --version 2>&1` in
  4553  *GNU*)
  4554    ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4555  *)
  4556    ac_count=0
  4557    $as_echo_n 0123456789 >"conftest.in"
  4558    while :
  4559    do
  4560      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4561      mv "conftest.tmp" "conftest.in"
  4562      cp "conftest.in" "conftest.nl"
  4563      $as_echo '' >> "conftest.nl"
  4564      "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4565      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4566      as_fn_arith $ac_count + 1 && ac_count=$as_val
  4567      if test $ac_count -gt ${ac_path_SED_max-0}; then
  4568        # Best one so far, save it but keep looking for a better one
  4569        ac_cv_path_SED="$ac_path_SED"
  4570        ac_path_SED_max=$ac_count
  4571      fi
  4572      # 10*(2^10) chars as input seems more than enough
  4573      test $ac_count -gt 10 && break
  4574    done
  4575    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4576  esac
  4577  
  4578        $ac_path_SED_found && break 3
  4579      done
  4580    done
  4581    done
  4582  IFS=$as_save_IFS
  4583    if test -z "$ac_cv_path_SED"; then
  4584      as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
  4585    fi
  4586  else
  4587    ac_cv_path_SED=$SED
  4588  fi
  4589  
  4590  fi
  4591  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
  4592  $as_echo "$ac_cv_path_SED" >&6; }
  4593   SED="$ac_cv_path_SED"
  4594    rm -f conftest.sed
  4595  
  4596  test -z "$SED" && SED=sed
  4597  Xsed="$SED -e 1s/^X//"
  4598  
  4599  
  4600  
  4601  
  4602  
  4603  
  4604  
  4605  
  4606  
  4607  
  4608  
  4609  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  4610  $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4611  if test "${ac_cv_path_GREP+set}" = set; then :
  4612    $as_echo_n "(cached) " >&6
  4613  else
  4614    if test -z "$GREP"; then
  4615    ac_path_GREP_found=false
  4616    # Loop through the user's path and test for each of PROGNAME-LIST
  4617    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4618  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4619  do
  4620    IFS=$as_save_IFS
  4621    test -z "$as_dir" && as_dir=.
  4622      for ac_prog in grep ggrep; do
  4623      for ac_exec_ext in '' $ac_executable_extensions; do
  4624        ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4625        { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4626  # Check for GNU ac_path_GREP and select it if it is found.
  4627    # Check for GNU $ac_path_GREP
  4628  case `"$ac_path_GREP" --version 2>&1` in
  4629  *GNU*)
  4630    ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4631  *)
  4632    ac_count=0
  4633    $as_echo_n 0123456789 >"conftest.in"
  4634    while :
  4635    do
  4636      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4637      mv "conftest.tmp" "conftest.in"
  4638      cp "conftest.in" "conftest.nl"
  4639      $as_echo 'GREP' >> "conftest.nl"
  4640      "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4641      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4642      as_fn_arith $ac_count + 1 && ac_count=$as_val
  4643      if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4644        # Best one so far, save it but keep looking for a better one
  4645        ac_cv_path_GREP="$ac_path_GREP"
  4646        ac_path_GREP_max=$ac_count
  4647      fi
  4648      # 10*(2^10) chars as input seems more than enough
  4649      test $ac_count -gt 10 && break
  4650    done
  4651    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4652  esac
  4653  
  4654        $ac_path_GREP_found && break 3
  4655      done
  4656    done
  4657    done
  4658  IFS=$as_save_IFS
  4659    if test -z "$ac_cv_path_GREP"; then
  4660      as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4661    fi
  4662  else
  4663    ac_cv_path_GREP=$GREP
  4664  fi
  4665  
  4666  fi
  4667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  4668  $as_echo "$ac_cv_path_GREP" >&6; }
  4669   GREP="$ac_cv_path_GREP"
  4670  
  4671  
  4672  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  4673  $as_echo_n "checking for egrep... " >&6; }
  4674  if test "${ac_cv_path_EGREP+set}" = set; then :
  4675    $as_echo_n "(cached) " >&6
  4676  else
  4677    if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4678     then ac_cv_path_EGREP="$GREP -E"
  4679     else
  4680       if test -z "$EGREP"; then
  4681    ac_path_EGREP_found=false
  4682    # Loop through the user's path and test for each of PROGNAME-LIST
  4683    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4684  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4685  do
  4686    IFS=$as_save_IFS
  4687    test -z "$as_dir" && as_dir=.
  4688      for ac_prog in egrep; do
  4689      for ac_exec_ext in '' $ac_executable_extensions; do
  4690        ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4691        { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4692  # Check for GNU ac_path_EGREP and select it if it is found.
  4693    # Check for GNU $ac_path_EGREP
  4694  case `"$ac_path_EGREP" --version 2>&1` in
  4695  *GNU*)
  4696    ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4697  *)
  4698    ac_count=0
  4699    $as_echo_n 0123456789 >"conftest.in"
  4700    while :
  4701    do
  4702      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4703      mv "conftest.tmp" "conftest.in"
  4704      cp "conftest.in" "conftest.nl"
  4705      $as_echo 'EGREP' >> "conftest.nl"
  4706      "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4707      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4708      as_fn_arith $ac_count + 1 && ac_count=$as_val
  4709      if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4710        # Best one so far, save it but keep looking for a better one
  4711        ac_cv_path_EGREP="$ac_path_EGREP"
  4712        ac_path_EGREP_max=$ac_count
  4713      fi
  4714      # 10*(2^10) chars as input seems more than enough
  4715      test $ac_count -gt 10 && break
  4716    done
  4717    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4718  esac
  4719  
  4720        $ac_path_EGREP_found && break 3
  4721      done
  4722    done
  4723    done
  4724  IFS=$as_save_IFS
  4725    if test -z "$ac_cv_path_EGREP"; then
  4726      as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4727    fi
  4728  else
  4729    ac_cv_path_EGREP=$EGREP
  4730  fi
  4731  
  4732     fi
  4733  fi
  4734  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  4735  $as_echo "$ac_cv_path_EGREP" >&6; }
  4736   EGREP="$ac_cv_path_EGREP"
  4737  
  4738  
  4739  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
  4740  $as_echo_n "checking for fgrep... " >&6; }
  4741  if test "${ac_cv_path_FGREP+set}" = set; then :
  4742    $as_echo_n "(cached) " >&6
  4743  else
  4744    if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4745     then ac_cv_path_FGREP="$GREP -F"
  4746     else
  4747       if test -z "$FGREP"; then
  4748    ac_path_FGREP_found=false
  4749    # Loop through the user's path and test for each of PROGNAME-LIST
  4750    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4751  for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4752  do
  4753    IFS=$as_save_IFS
  4754    test -z "$as_dir" && as_dir=.
  4755      for ac_prog in fgrep; do
  4756      for ac_exec_ext in '' $ac_executable_extensions; do
  4757        ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  4758        { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  4759  # Check for GNU ac_path_FGREP and select it if it is found.
  4760    # Check for GNU $ac_path_FGREP
  4761  case `"$ac_path_FGREP" --version 2>&1` in
  4762  *GNU*)
  4763    ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  4764  *)
  4765    ac_count=0
  4766    $as_echo_n 0123456789 >"conftest.in"
  4767    while :
  4768    do
  4769      cat "conftest.in" "conftest.in" >"conftest.tmp"
  4770      mv "conftest.tmp" "conftest.in"
  4771      cp "conftest.in" "conftest.nl"
  4772      $as_echo 'FGREP' >> "conftest.nl"
  4773      "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4774      diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4775      as_fn_arith $ac_count + 1 && ac_count=$as_val
  4776      if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  4777        # Best one so far, save it but keep looking for a better one
  4778        ac_cv_path_FGREP="$ac_path_FGREP"
  4779        ac_path_FGREP_max=$ac_count
  4780      fi
  4781      # 10*(2^10) chars as input seems more than enough
  4782      test $ac_count -gt 10 && break
  4783    done
  4784    rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4785  esac
  4786  
  4787        $ac_path_FGREP_found && break 3
  4788      done
  4789    done
  4790    done
  4791  IFS=$as_save_IFS
  4792    if test -z "$ac_cv_path_FGREP"; then
  4793      as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  4794    fi
  4795  else
  4796    ac_cv_path_FGREP=$FGREP
  4797  fi
  4798  
  4799     fi
  4800  fi
  4801  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
  4802  $as_echo "$ac_cv_path_FGREP" >&6; }
  4803   FGREP="$ac_cv_path_FGREP"
  4804  
  4805  
  4806  test -z "$GREP" && GREP=grep
  4807  
  4808  
  4809  
  4810  
  4811  
  4812  
  4813  
  4814  
  4815  
  4816  
  4817  
  4818  
  4819  
  4820  
  4821  
  4822  
  4823  
  4824  ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  4825  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
  4826  ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
  4827  
  4828  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
  4829  $as_echo_n "checking how to print strings... " >&6; }
  4830  # Test print first, because it will be a builtin if present.
  4831  if test "X`print -r -- -n 2>/dev/null`" = X-n && \
  4832     test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
  4833    ECHO='print -r --'
  4834  elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
  4835    ECHO='printf %s\n'
  4836  else
  4837    # Use this function as a fallback that always works.
  4838    func_fallback_echo ()
  4839    {
  4840      eval 'cat <<_LTECHO_EOF
  4841  $1
  4842  _LTECHO_EOF'
  4843    }
  4844    ECHO='func_fallback_echo'
  4845  fi
  4846  
  4847  # func_echo_all arg...
  4848  # Invoke $ECHO with all args, space-separated.
  4849  func_echo_all ()
  4850  {
  4851      $ECHO ""
  4852  }
  4853  
  4854  case "$ECHO" in
  4855    printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
  4856  $as_echo "printf" >&6; } ;;
  4857    print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
  4858  $as_echo "print -r" >&6; } ;;
  4859    *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
  4860  $as_echo "cat" >&6; } ;;
  4861  esac
  4862  
  4863  
  4864  
  4865  
  4866  
  4867  
  4868  
  4869  
  4870  
  4871  
  4872  
  4873  
  4874  
  4875  
  4876  
  4877  
  4878  # Check whether --with-gnu-ld was given.
  4879  if test "${with_gnu_ld+set}" = set; then :
  4880    withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  4881  else
  4882    with_gnu_ld=no
  4883  fi
  4884  
  4885  ac_prog=ld
  4886  if test "$GCC" = yes; then
  4887    # Check if gcc -print-prog-name=ld gives a path.
  4888    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
  4889  $as_echo_n "checking for ld used by $CC... " >&6; }
  4890    case $host in
  4891    *-*-mingw*)
  4892      # gcc leaves a trailing carriage return which upsets mingw
  4893      ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  4894    *)
  4895      ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  4896    esac
  4897    case $ac_prog in
  4898      # Accept absolute paths.
  4899      [\\/]* | ?:[\\/]*)
  4900        re_direlt='/[^/][^/]*/\.\./'
  4901        # Canonicalize the pathname of ld
  4902        ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  4903        while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  4904  	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  4905        done
  4906        test -z "$LD" && LD="$ac_prog"
  4907        ;;
  4908    "")
  4909      # If it fails, then pretend we aren't using GCC.
  4910      ac_prog=ld
  4911      ;;
  4912    *)
  4913      # If it is relative, then search for the first ld in PATH.
  4914      with_gnu_ld=unknown
  4915      ;;
  4916    esac
  4917  elif test "$with_gnu_ld" = yes; then
  4918    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
  4919  $as_echo_n "checking for GNU ld... " >&6; }
  4920  else
  4921    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
  4922  $as_echo_n "checking for non-GNU ld... " >&6; }
  4923  fi
  4924  if test "${lt_cv_path_LD+set}" = set; then :
  4925    $as_echo_n "(cached) " >&6
  4926  else
  4927    if test -z "$LD"; then
  4928    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  4929    for ac_dir in $PATH; do
  4930      IFS="$lt_save_ifs"
  4931      test -z "$ac_dir" && ac_dir=.
  4932      if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  4933        lt_cv_path_LD="$ac_dir/$ac_prog"
  4934        # Check to see if the program is GNU ld.  I'd rather use --version,
  4935        # but apparently some variants of GNU ld only accept -v.
  4936        # Break only if it was the GNU/non-GNU ld that we prefer.
  4937        case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  4938        *GNU* | *'with BFD'*)
  4939  	test "$with_gnu_ld" != no && break
  4940  	;;
  4941        *)
  4942  	test "$with_gnu_ld" != yes && break
  4943  	;;
  4944        esac
  4945      fi
  4946    done
  4947    IFS="$lt_save_ifs"
  4948  else
  4949    lt_cv_path_LD="$LD" # Let the user override the test with a path.
  4950  fi
  4951  fi
  4952  
  4953  LD="$lt_cv_path_LD"
  4954  if test -n "$LD"; then
  4955    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  4956  $as_echo "$LD" >&6; }
  4957  else
  4958    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4959  $as_echo "no" >&6; }
  4960  fi
  4961  test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
  4962  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
  4963  $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  4964  if test "${lt_cv_prog_gnu_ld+set}" = set; then :
  4965    $as_echo_n "(cached) " >&6
  4966  else
  4967    # I'd rather use --version here, but apparently some GNU lds only accept -v.
  4968  case `$LD -v 2>&1 </dev/null` in
  4969  *GNU* | *'with BFD'*)
  4970    lt_cv_prog_gnu_ld=yes
  4971    ;;
  4972  *)
  4973    lt_cv_prog_gnu_ld=no
  4974    ;;
  4975  esac
  4976  fi
  4977  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
  4978  $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  4979  with_gnu_ld=$lt_cv_prog_gnu_ld
  4980  
  4981  
  4982  
  4983  
  4984  
  4985  
  4986  
  4987  
  4988  
  4989  if test -n "$ac_tool_prefix"; then
  4990    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  4991  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  4992  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4993  $as_echo_n "checking for $ac_word... " >&6; }
  4994  if test "${ac_cv_prog_RANLIB+set}" = set; then :
  4995    $as_echo_n "(cached) " >&6
  4996  else
  4997    if test -n "$RANLIB"; then
  4998    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  4999  else
  5000  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5001  for as_dir in $PATH
  5002  do
  5003    IFS=$as_save_IFS
  5004    test -z "$as_dir" && as_dir=.
  5005      for ac_exec_ext in '' $ac_executable_extensions; do
  5006    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5007      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5008      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5009      break 2
  5010    fi
  5011  done
  5012    done
  5013  IFS=$as_save_IFS
  5014  
  5015  fi
  5016  fi
  5017  RANLIB=$ac_cv_prog_RANLIB
  5018  if test -n "$RANLIB"; then
  5019    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5020  $as_echo "$RANLIB" >&6; }
  5021  else
  5022    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5023  $as_echo "no" >&6; }
  5024  fi
  5025  
  5026  
  5027  fi
  5028  if test -z "$ac_cv_prog_RANLIB"; then
  5029    ac_ct_RANLIB=$RANLIB
  5030    # Extract the first word of "ranlib", so it can be a program name with args.
  5031  set dummy ranlib; ac_word=$2
  5032  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5033  $as_echo_n "checking for $ac_word... " >&6; }
  5034  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  5035    $as_echo_n "(cached) " >&6
  5036  else
  5037    if test -n "$ac_ct_RANLIB"; then
  5038    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5039  else
  5040  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5041  for as_dir in $PATH
  5042  do
  5043    IFS=$as_save_IFS
  5044    test -z "$as_dir" && as_dir=.
  5045      for ac_exec_ext in '' $ac_executable_extensions; do
  5046    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5047      ac_cv_prog_ac_ct_RANLIB="ranlib"
  5048      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5049      break 2
  5050    fi
  5051  done
  5052    done
  5053  IFS=$as_save_IFS
  5054  
  5055  fi
  5056  fi
  5057  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5058  if test -n "$ac_ct_RANLIB"; then
  5059    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5060  $as_echo "$ac_ct_RANLIB" >&6; }
  5061  else
  5062    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5063  $as_echo "no" >&6; }
  5064  fi
  5065  
  5066    if test "x$ac_ct_RANLIB" = x; then
  5067      RANLIB=":"
  5068    else
  5069      case $cross_compiling:$ac_tool_warned in
  5070  yes:)
  5071  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5072  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5073  ac_tool_warned=yes ;;
  5074  esac
  5075      RANLIB=$ac_ct_RANLIB
  5076    fi
  5077  else
  5078    RANLIB="$ac_cv_prog_RANLIB"
  5079  fi
  5080  
  5081  if test -n "$ac_tool_prefix"; then
  5082    # Extract the first word of "${ac_tool_prefix}objcopy", so it can be a program name with args.
  5083  set dummy ${ac_tool_prefix}objcopy; ac_word=$2
  5084  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5085  $as_echo_n "checking for $ac_word... " >&6; }
  5086  if test "${ac_cv_prog_OBJCOPY+set}" = set; then :
  5087    $as_echo_n "(cached) " >&6
  5088  else
  5089    if test -n "$OBJCOPY"; then
  5090    ac_cv_prog_OBJCOPY="$OBJCOPY" # Let the user override the test.
  5091  else
  5092  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5093  for as_dir in $PATH
  5094  do
  5095    IFS=$as_save_IFS
  5096    test -z "$as_dir" && as_dir=.
  5097      for ac_exec_ext in '' $ac_executable_extensions; do
  5098    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5099      ac_cv_prog_OBJCOPY="${ac_tool_prefix}objcopy"
  5100      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5101      break 2
  5102    fi
  5103  done
  5104    done
  5105  IFS=$as_save_IFS
  5106  
  5107  fi
  5108  fi
  5109  OBJCOPY=$ac_cv_prog_OBJCOPY
  5110  if test -n "$OBJCOPY"; then
  5111    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCOPY" >&5
  5112  $as_echo "$OBJCOPY" >&6; }
  5113  else
  5114    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5115  $as_echo "no" >&6; }
  5116  fi
  5117  
  5118  
  5119  fi
  5120  if test -z "$ac_cv_prog_OBJCOPY"; then
  5121    ac_ct_OBJCOPY=$OBJCOPY
  5122    # Extract the first word of "objcopy", so it can be a program name with args.
  5123  set dummy objcopy; ac_word=$2
  5124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5125  $as_echo_n "checking for $ac_word... " >&6; }
  5126  if test "${ac_cv_prog_ac_ct_OBJCOPY+set}" = set; then :
  5127    $as_echo_n "(cached) " >&6
  5128  else
  5129    if test -n "$ac_ct_OBJCOPY"; then
  5130    ac_cv_prog_ac_ct_OBJCOPY="$ac_ct_OBJCOPY" # Let the user override the test.
  5131  else
  5132  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5133  for as_dir in $PATH
  5134  do
  5135    IFS=$as_save_IFS
  5136    test -z "$as_dir" && as_dir=.
  5137      for ac_exec_ext in '' $ac_executable_extensions; do
  5138    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5139      ac_cv_prog_ac_ct_OBJCOPY="objcopy"
  5140      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5141      break 2
  5142    fi
  5143  done
  5144    done
  5145  IFS=$as_save_IFS
  5146  
  5147  fi
  5148  fi
  5149  ac_ct_OBJCOPY=$ac_cv_prog_ac_ct_OBJCOPY
  5150  if test -n "$ac_ct_OBJCOPY"; then
  5151    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJCOPY" >&5
  5152  $as_echo "$ac_ct_OBJCOPY" >&6; }
  5153  else
  5154    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5155  $as_echo "no" >&6; }
  5156  fi
  5157  
  5158    if test "x$ac_ct_OBJCOPY" = x; then
  5159      OBJCOPY="missing-objcopy"
  5160    else
  5161      case $cross_compiling:$ac_tool_warned in
  5162  yes:)
  5163  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5164  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5165  ac_tool_warned=yes ;;
  5166  esac
  5167      OBJCOPY=$ac_ct_OBJCOPY
  5168    fi
  5169  else
  5170    OBJCOPY="$ac_cv_prog_OBJCOPY"
  5171  fi
  5172  
  5173  
  5174  enable_dlopen=yes
  5175  
  5176  
  5177  
  5178  case `pwd` in
  5179    *\ * | *\	*)
  5180      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  5181  $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  5182  esac
  5183  
  5184  
  5185  
  5186  macro_version='2.2.8'
  5187  macro_revision='1.3169'
  5188  
  5189  
  5190  
  5191  
  5192  
  5193  
  5194  
  5195  
  5196  
  5197  
  5198  
  5199  
  5200  
  5201  ltmain="$ac_aux_dir/ltmain.sh"
  5202  
  5203  # Backslashify metacharacters that are still active within
  5204  # double-quoted strings.
  5205  sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  5206  
  5207  # Same as above, but do not quote variable references.
  5208  double_quote_subst='s/\(["`\\]\)/\\\1/g'
  5209  
  5210  # Sed substitution to delay expansion of an escaped shell variable in a
  5211  # double_quote_subst'ed string.
  5212  delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  5213  
  5214  # Sed substitution to delay expansion of an escaped single quote.
  5215  delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  5216  
  5217  # Sed substitution to avoid accidental globbing in evaled expressions
  5218  no_glob_subst='s/\*/\\\*/g'
  5219  
  5220  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
  5221  $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5222  if test "${lt_cv_path_NM+set}" = set; then :
  5223    $as_echo_n "(cached) " >&6
  5224  else
  5225    if test -n "$NM"; then
  5226    # Let the user override the test.
  5227    lt_cv_path_NM="$NM"
  5228  else
  5229    lt_nm_to_check="${ac_tool_prefix}nm"
  5230    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5231      lt_nm_to_check="$lt_nm_to_check nm"
  5232    fi
  5233    for lt_tmp_nm in $lt_nm_to_check; do
  5234      lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5235      for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5236        IFS="$lt_save_ifs"
  5237        test -z "$ac_dir" && ac_dir=.
  5238        tmp_nm="$ac_dir/$lt_tmp_nm"
  5239        if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5240  	# Check to see if the nm accepts a BSD-compat flag.
  5241  	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5242  	#   nm: unknown option "B" ignored
  5243  	# Tru64's nm complains that /dev/null is an invalid object file
  5244  	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5245  	*/dev/null* | *'Invalid file or object type'*)
  5246  	  lt_cv_path_NM="$tmp_nm -B"
  5247  	  break
  5248  	  ;;
  5249  	*)
  5250  	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5251  	  */dev/null*)
  5252  	    lt_cv_path_NM="$tmp_nm -p"
  5253  	    break
  5254  	    ;;
  5255  	  *)
  5256  	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5257  	    continue # so that we can try to find one that supports BSD flags
  5258  	    ;;
  5259  	  esac
  5260  	  ;;
  5261  	esac
  5262        fi
  5263      done
  5264      IFS="$lt_save_ifs"
  5265    done
  5266    : ${lt_cv_path_NM=no}
  5267  fi
  5268  fi
  5269  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
  5270  $as_echo "$lt_cv_path_NM" >&6; }
  5271  if test "$lt_cv_path_NM" != "no"; then
  5272    NM="$lt_cv_path_NM"
  5273  else
  5274    # Didn't find any BSD compatible name lister, look for dumpbin.
  5275    if test -n "$DUMPBIN"; then :
  5276      # Let the user override the test.
  5277    else
  5278      if test -n "$ac_tool_prefix"; then
  5279    for ac_prog in dumpbin "link -dump"
  5280    do
  5281      # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5282  set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5283  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5284  $as_echo_n "checking for $ac_word... " >&6; }
  5285  if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
  5286    $as_echo_n "(cached) " >&6
  5287  else
  5288    if test -n "$DUMPBIN"; then
  5289    ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5290  else
  5291  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5292  for as_dir in $PATH
  5293  do
  5294    IFS=$as_save_IFS
  5295    test -z "$as_dir" && as_dir=.
  5296      for ac_exec_ext in '' $ac_executable_extensions; do
  5297    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5298      ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5299      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5300      break 2
  5301    fi
  5302  done
  5303    done
  5304  IFS=$as_save_IFS
  5305  
  5306  fi
  5307  fi
  5308  DUMPBIN=$ac_cv_prog_DUMPBIN
  5309  if test -n "$DUMPBIN"; then
  5310    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
  5311  $as_echo "$DUMPBIN" >&6; }
  5312  else
  5313    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5314  $as_echo "no" >&6; }
  5315  fi
  5316  
  5317  
  5318      test -n "$DUMPBIN" && break
  5319    done
  5320  fi
  5321  if test -z "$DUMPBIN"; then
  5322    ac_ct_DUMPBIN=$DUMPBIN
  5323    for ac_prog in dumpbin "link -dump"
  5324  do
  5325    # Extract the first word of "$ac_prog", so it can be a program name with args.
  5326  set dummy $ac_prog; ac_word=$2
  5327  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5328  $as_echo_n "checking for $ac_word... " >&6; }
  5329  if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
  5330    $as_echo_n "(cached) " >&6
  5331  else
  5332    if test -n "$ac_ct_DUMPBIN"; then
  5333    ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5334  else
  5335  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5336  for as_dir in $PATH
  5337  do
  5338    IFS=$as_save_IFS
  5339    test -z "$as_dir" && as_dir=.
  5340      for ac_exec_ext in '' $ac_executable_extensions; do
  5341    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5342      ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5343      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5344      break 2
  5345    fi
  5346  done
  5347    done
  5348  IFS=$as_save_IFS
  5349  
  5350  fi
  5351  fi
  5352  ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5353  if test -n "$ac_ct_DUMPBIN"; then
  5354    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
  5355  $as_echo "$ac_ct_DUMPBIN" >&6; }
  5356  else
  5357    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5358  $as_echo "no" >&6; }
  5359  fi
  5360  
  5361  
  5362    test -n "$ac_ct_DUMPBIN" && break
  5363  done
  5364  
  5365    if test "x$ac_ct_DUMPBIN" = x; then
  5366      DUMPBIN=":"
  5367    else
  5368      case $cross_compiling:$ac_tool_warned in
  5369  yes:)
  5370  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5371  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5372  ac_tool_warned=yes ;;
  5373  esac
  5374      DUMPBIN=$ac_ct_DUMPBIN
  5375    fi
  5376  fi
  5377  
  5378      case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
  5379      *COFF*)
  5380        DUMPBIN="$DUMPBIN -symbols"
  5381        ;;
  5382      *)
  5383        DUMPBIN=:
  5384        ;;
  5385      esac
  5386    fi
  5387  
  5388    if test "$DUMPBIN" != ":"; then
  5389      NM="$DUMPBIN"
  5390    fi
  5391  fi
  5392  test -z "$NM" && NM=nm
  5393  
  5394  
  5395  
  5396  
  5397  
  5398  
  5399  { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
  5400  $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5401  if test "${lt_cv_nm_interface+set}" = set; then :
  5402    $as_echo_n "(cached) " >&6
  5403  else
  5404    lt_cv_nm_interface="BSD nm"
  5405    echo "int some_variable = 0;" > conftest.$ac_ext
  5406    (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
  5407    (eval "$ac_compile" 2>conftest.err)
  5408    cat conftest.err >&5
  5409    (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5410    (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5411    cat conftest.err >&5
  5412    (eval echo "\"\$as_me:$LINENO: output\"" >&5)
  5413    cat conftest.out >&5
  5414    if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5415      lt_cv_nm_interface="MS dumpbin"
  5416    fi
  5417    rm -f conftest*
  5418  fi
  5419  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
  5420  $as_echo "$lt_cv_nm_interface" >&6; }
  5421  
  5422  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5423  $as_echo_n "checking whether ln -s works... " >&6; }
  5424  LN_S=$as_ln_s
  5425  if test "$LN_S" = "ln -s"; then
  5426    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5427  $as_echo "yes" >&6; }
  5428  else
  5429    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5430  $as_echo "no, using $LN_S" >&6; }
  5431  fi
  5432  
  5433  # find the maximum length of command line arguments
  5434  { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
  5435  $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5436  if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
  5437    $as_echo_n "(cached) " >&6
  5438  else
  5439      i=0
  5440    teststring="ABCD"
  5441  
  5442    case $build_os in
  5443    msdosdjgpp*)
  5444      # On DJGPP, this test can blow up pretty badly due to problems in libc
  5445      # (any single argument exceeding 2000 bytes causes a buffer overrun
  5446      # during glob expansion).  Even if it were fixed, the result of this
  5447      # check would be larger than it should be.
  5448      lt_cv_sys_max_cmd_len=12288;    # 12K is about right
  5449      ;;
  5450  
  5451    gnu*)
  5452      # Under GNU Hurd, this test is not required because there is
  5453      # no limit to the length of command line arguments.
  5454      # Libtool will interpret -1 as no limit whatsoever
  5455      lt_cv_sys_max_cmd_len=-1;
  5456      ;;
  5457  
  5458    cygwin* | mingw* | cegcc*)
  5459      # On Win9x/ME, this test blows up -- it succeeds, but takes
  5460      # about 5 minutes as the teststring grows exponentially.
  5461      # Worse, since 9x/ME are not pre-emptively multitasking,
  5462      # you end up with a "frozen" computer, even though with patience
  5463      # the test eventually succeeds (with a max line length of 256k).
  5464      # Instead, let's just punt: use the minimum linelength reported by
  5465      # all of the supported platforms: 8192 (on NT/2K/XP).
  5466      lt_cv_sys_max_cmd_len=8192;
  5467      ;;
  5468  
  5469    mint*)
  5470      # On MiNT this can take a long time and run out of memory.
  5471      lt_cv_sys_max_cmd_len=8192;
  5472      ;;
  5473  
  5474    amigaos*)
  5475      # On AmigaOS with pdksh, this test takes hours, literally.
  5476      # So we just punt and use a minimum line length of 8192.
  5477      lt_cv_sys_max_cmd_len=8192;
  5478      ;;
  5479  
  5480    netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5481      # This has been around since 386BSD, at least.  Likely further.
  5482      if test -x /sbin/sysctl; then
  5483        lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5484      elif test -x /usr/sbin/sysctl; then
  5485        lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5486      else
  5487        lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
  5488      fi
  5489      # And add a safety zone
  5490      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5491      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5492      ;;
  5493  
  5494    interix*)
  5495      # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5496      lt_cv_sys_max_cmd_len=196608
  5497      ;;
  5498  
  5499    osf*)
  5500      # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5501      # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5502      # nice to cause kernel panics so lets avoid the loop below.
  5503      # First set a reasonable default.
  5504      lt_cv_sys_max_cmd_len=16384
  5505      #
  5506      if test -x /sbin/sysconfig; then
  5507        case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5508          *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5509        esac
  5510      fi
  5511      ;;
  5512    sco3.2v5*)
  5513      lt_cv_sys_max_cmd_len=102400
  5514      ;;
  5515    sysv5* | sco5v6* | sysv4.2uw2*)
  5516      kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5517      if test -n "$kargmax"; then
  5518        lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
  5519      else
  5520        lt_cv_sys_max_cmd_len=32768
  5521      fi
  5522      ;;
  5523    *)
  5524      lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5525      if test -n "$lt_cv_sys_max_cmd_len"; then
  5526        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5527        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5528      else
  5529        # Make teststring a little bigger before we do anything with it.
  5530        # a 1K string should be a reasonable start.
  5531        for i in 1 2 3 4 5 6 7 8 ; do
  5532          teststring=$teststring$teststring
  5533        done
  5534        SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5535        # If test is not a shell built-in, we'll probably end up computing a
  5536        # maximum length that is only half of the actual maximum length, but
  5537        # we can't tell.
  5538        while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
  5539  	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
  5540  	      test $i != 17 # 1/2 MB should be enough
  5541        do
  5542          i=`expr $i + 1`
  5543          teststring=$teststring$teststring
  5544        done
  5545        # Only check the string length outside the loop.
  5546        lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5547        teststring=
  5548        # Add a significant safety factor because C++ compilers can tack on
  5549        # massive amounts of additional arguments before passing them to the
  5550        # linker.  It appears as though 1/2 is a usable value.
  5551        lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5552      fi
  5553      ;;
  5554    esac
  5555  
  5556  fi
  5557  
  5558  if test -n $lt_cv_sys_max_cmd_len ; then
  5559    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
  5560  $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5561  else
  5562    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  5563  $as_echo "none" >&6; }
  5564  fi
  5565  max_cmd_len=$lt_cv_sys_max_cmd_len
  5566  
  5567  
  5568  
  5569  
  5570  
  5571  
  5572  : ${CP="cp -f"}
  5573  : ${MV="mv -f"}
  5574  : ${RM="rm -f"}
  5575  
  5576  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
  5577  $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5578  # Try some XSI features
  5579  xsi_shell=no
  5580  ( _lt_dummy="a/b/c"
  5581    test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  5582        = c,a/b,, \
  5583      && eval 'test $(( 1 + 1 )) -eq 2 \
  5584      && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5585    && xsi_shell=yes
  5586  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
  5587  $as_echo "$xsi_shell" >&6; }
  5588  
  5589  
  5590  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
  5591  $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5592  lt_shell_append=no
  5593  ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5594      >/dev/null 2>&1 \
  5595    && lt_shell_append=yes
  5596  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
  5597  $as_echo "$lt_shell_append" >&6; }
  5598  
  5599  
  5600  if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5601    lt_unset=unset
  5602  else
  5603    lt_unset=false
  5604  fi
  5605  
  5606  
  5607  
  5608  
  5609  
  5610  # test EBCDIC or ASCII
  5611  case `echo X|tr X '\101'` in
  5612   A) # ASCII based system
  5613      # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5614    lt_SP2NL='tr \040 \012'
  5615    lt_NL2SP='tr \015\012 \040\040'
  5616    ;;
  5617   *) # EBCDIC based system
  5618    lt_SP2NL='tr \100 \n'
  5619    lt_NL2SP='tr \r\n \100\100'
  5620    ;;
  5621  esac
  5622  
  5623  
  5624  
  5625  
  5626  
  5627  
  5628  
  5629  
  5630  
  5631  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
  5632  $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5633  if test "${lt_cv_ld_reload_flag+set}" = set; then :
  5634    $as_echo_n "(cached) " >&6
  5635  else
  5636    lt_cv_ld_reload_flag='-r'
  5637  fi
  5638  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
  5639  $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5640  reload_flag=$lt_cv_ld_reload_flag
  5641  case $reload_flag in
  5642  "" | " "*) ;;
  5643  *) reload_flag=" $reload_flag" ;;
  5644  esac
  5645  reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5646  case $host_os in
  5647    darwin*)
  5648      if test "$GCC" = yes; then
  5649        reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5650      else
  5651        reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5652      fi
  5653      ;;
  5654  esac
  5655  
  5656  
  5657  
  5658  
  5659  
  5660  
  5661  
  5662  
  5663  
  5664  if test -n "$ac_tool_prefix"; then
  5665    # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5666  set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5667  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5668  $as_echo_n "checking for $ac_word... " >&6; }
  5669  if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
  5670    $as_echo_n "(cached) " >&6
  5671  else
  5672    if test -n "$OBJDUMP"; then
  5673    ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5674  else
  5675  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5676  for as_dir in $PATH
  5677  do
  5678    IFS=$as_save_IFS
  5679    test -z "$as_dir" && as_dir=.
  5680      for ac_exec_ext in '' $ac_executable_extensions; do
  5681    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5682      ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5683      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5684      break 2
  5685    fi
  5686  done
  5687    done
  5688  IFS=$as_save_IFS
  5689  
  5690  fi
  5691  fi
  5692  OBJDUMP=$ac_cv_prog_OBJDUMP
  5693  if test -n "$OBJDUMP"; then
  5694    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
  5695  $as_echo "$OBJDUMP" >&6; }
  5696  else
  5697    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5698  $as_echo "no" >&6; }
  5699  fi
  5700  
  5701  
  5702  fi
  5703  if test -z "$ac_cv_prog_OBJDUMP"; then
  5704    ac_ct_OBJDUMP=$OBJDUMP
  5705    # Extract the first word of "objdump", so it can be a program name with args.
  5706  set dummy objdump; ac_word=$2
  5707  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5708  $as_echo_n "checking for $ac_word... " >&6; }
  5709  if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
  5710    $as_echo_n "(cached) " >&6
  5711  else
  5712    if test -n "$ac_ct_OBJDUMP"; then
  5713    ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5714  else
  5715  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5716  for as_dir in $PATH
  5717  do
  5718    IFS=$as_save_IFS
  5719    test -z "$as_dir" && as_dir=.
  5720      for ac_exec_ext in '' $ac_executable_extensions; do
  5721    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5722      ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5723      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5724      break 2
  5725    fi
  5726  done
  5727    done
  5728  IFS=$as_save_IFS
  5729  
  5730  fi
  5731  fi
  5732  ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5733  if test -n "$ac_ct_OBJDUMP"; then
  5734    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
  5735  $as_echo "$ac_ct_OBJDUMP" >&6; }
  5736  else
  5737    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5738  $as_echo "no" >&6; }
  5739  fi
  5740  
  5741    if test "x$ac_ct_OBJDUMP" = x; then
  5742      OBJDUMP="false"
  5743    else
  5744      case $cross_compiling:$ac_tool_warned in
  5745  yes:)
  5746  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5747  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5748  ac_tool_warned=yes ;;
  5749  esac
  5750      OBJDUMP=$ac_ct_OBJDUMP
  5751    fi
  5752  else
  5753    OBJDUMP="$ac_cv_prog_OBJDUMP"
  5754  fi
  5755  
  5756  test -z "$OBJDUMP" && OBJDUMP=objdump
  5757  
  5758  
  5759  
  5760  
  5761  
  5762  
  5763  
  5764  
  5765  
  5766  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
  5767  $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5768  if test "${lt_cv_deplibs_check_method+set}" = set; then :
  5769    $as_echo_n "(cached) " >&6
  5770  else
  5771    lt_cv_file_magic_cmd='$MAGIC_CMD'
  5772  lt_cv_file_magic_test_file=
  5773  lt_cv_deplibs_check_method='unknown'
  5774  # Need to set the preceding variable on all platforms that support
  5775  # interlibrary dependencies.
  5776  # 'none' -- dependencies not supported.
  5777  # `unknown' -- same as none, but documents that we really don't know.
  5778  # 'pass_all' -- all dependencies passed with no checks.
  5779  # 'test_compile' -- check by making test program.
  5780  # 'file_magic [[regex]]' -- check by looking for files in library path
  5781  # which responds to the $file_magic_cmd with a given extended regex.
  5782  # If you have `file' or equivalent on your system and you're not sure
  5783  # whether `pass_all' will *always* work, you probably want this one.
  5784  
  5785  case $host_os in
  5786  aix[4-9]*)
  5787    lt_cv_deplibs_check_method=pass_all
  5788    ;;
  5789  
  5790  beos*)
  5791    lt_cv_deplibs_check_method=pass_all
  5792    ;;
  5793  
  5794  bsdi[45]*)
  5795    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5796    lt_cv_file_magic_cmd='/usr/bin/file -L'
  5797    lt_cv_file_magic_test_file=/shlib/libc.so
  5798    ;;
  5799  
  5800  cygwin*)
  5801    # func_win32_libid is a shell function defined in ltmain.sh
  5802    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5803    lt_cv_file_magic_cmd='func_win32_libid'
  5804    ;;
  5805  
  5806  mingw* | pw32*)
  5807    # Base MSYS/MinGW do not provide the 'file' command needed by
  5808    # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5809    # unless we find 'file', for example because we are cross-compiling.
  5810    # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
  5811    if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
  5812      lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5813      lt_cv_file_magic_cmd='func_win32_libid'
  5814    else
  5815      # Keep this pattern in sync with the one in func_win32_libid.
  5816      lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
  5817      lt_cv_file_magic_cmd='$OBJDUMP -f'
  5818    fi
  5819    ;;
  5820  
  5821  cegcc*)
  5822    # use the weaker test based on 'objdump'. See mingw*.
  5823    lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5824    lt_cv_file_magic_cmd='$OBJDUMP -f'
  5825    ;;
  5826  
  5827  darwin* | rhapsody*)
  5828    lt_cv_deplibs_check_method=pass_all
  5829    ;;
  5830  
  5831  freebsd* | dragonfly*)
  5832    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5833      case $host_cpu in
  5834      i*86 )
  5835        # Not sure whether the presence of OpenBSD here was a mistake.
  5836        # Let's accept both of them until this is cleared up.
  5837        lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5838        lt_cv_file_magic_cmd=/usr/bin/file
  5839        lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5840        ;;
  5841      esac
  5842    else
  5843      lt_cv_deplibs_check_method=pass_all
  5844    fi
  5845    ;;
  5846  
  5847  gnu*)
  5848    lt_cv_deplibs_check_method=pass_all
  5849    ;;
  5850  
  5851  haiku*)
  5852    lt_cv_deplibs_check_method=pass_all
  5853    ;;
  5854  
  5855  hpux10.20* | hpux11*)
  5856    lt_cv_file_magic_cmd=/usr/bin/file
  5857    case $host_cpu in
  5858    ia64*)
  5859      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5860      lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5861      ;;
  5862    hppa*64*)
  5863      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
  5864      lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5865      ;;
  5866    *)
  5867      lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
  5868      lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5869      ;;
  5870    esac
  5871    ;;
  5872  
  5873  interix[3-9]*)
  5874    # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5875    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5876    ;;
  5877  
  5878  irix5* | irix6* | nonstopux*)
  5879    case $LD in
  5880    *-32|*"-32 ") libmagic=32-bit;;
  5881    *-n32|*"-n32 ") libmagic=N32;;
  5882    *-64|*"-64 ") libmagic=64-bit;;
  5883    *) libmagic=never-match;;
  5884    esac
  5885    lt_cv_deplibs_check_method=pass_all
  5886    ;;
  5887  
  5888  # This must be Linux ELF.
  5889  linux* | k*bsd*-gnu | kopensolaris*-gnu)
  5890    lt_cv_deplibs_check_method=pass_all
  5891    ;;
  5892  
  5893  netbsd*)
  5894    if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5895      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5896    else
  5897      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5898    fi
  5899    ;;
  5900  
  5901  newos6*)
  5902    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5903    lt_cv_file_magic_cmd=/usr/bin/file
  5904    lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5905    ;;
  5906  
  5907  *nto* | *qnx*)
  5908    lt_cv_deplibs_check_method=pass_all
  5909    ;;
  5910  
  5911  openbsd*)
  5912    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5913      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5914    else
  5915      lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5916    fi
  5917    ;;
  5918  
  5919  osf3* | osf4* | osf5*)
  5920    lt_cv_deplibs_check_method=pass_all
  5921    ;;
  5922  
  5923  rdos*)
  5924    lt_cv_deplibs_check_method=pass_all
  5925    ;;
  5926  
  5927  solaris*)
  5928    lt_cv_deplibs_check_method=pass_all
  5929    ;;
  5930  
  5931  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5932    lt_cv_deplibs_check_method=pass_all
  5933    ;;
  5934  
  5935  sysv4 | sysv4.3*)
  5936    case $host_vendor in
  5937    motorola)
  5938      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]'
  5939      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5940      ;;
  5941    ncr)
  5942      lt_cv_deplibs_check_method=pass_all
  5943      ;;
  5944    sequent)
  5945      lt_cv_file_magic_cmd='/bin/file'
  5946      lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5947      ;;
  5948    sni)
  5949      lt_cv_file_magic_cmd='/bin/file'
  5950      lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5951      lt_cv_file_magic_test_file=/lib/libc.so
  5952      ;;
  5953    siemens)
  5954      lt_cv_deplibs_check_method=pass_all
  5955      ;;
  5956    pc)
  5957      lt_cv_deplibs_check_method=pass_all
  5958      ;;
  5959    esac
  5960    ;;
  5961  
  5962  tpf*)
  5963    lt_cv_deplibs_check_method=pass_all
  5964    ;;
  5965  esac
  5966  
  5967  fi
  5968  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
  5969  $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5970  file_magic_cmd=$lt_cv_file_magic_cmd
  5971  deplibs_check_method=$lt_cv_deplibs_check_method
  5972  test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5973  
  5974  
  5975  
  5976  
  5977  
  5978  
  5979  
  5980  
  5981  
  5982  
  5983  
  5984  
  5985  if test -n "$ac_tool_prefix"; then
  5986    # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5987  set dummy ${ac_tool_prefix}ar; ac_word=$2
  5988  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5989  $as_echo_n "checking for $ac_word... " >&6; }
  5990  if test "${ac_cv_prog_AR+set}" = set; then :
  5991    $as_echo_n "(cached) " >&6
  5992  else
  5993    if test -n "$AR"; then
  5994    ac_cv_prog_AR="$AR" # Let the user override the test.
  5995  else
  5996  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5997  for as_dir in $PATH
  5998  do
  5999    IFS=$as_save_IFS
  6000    test -z "$as_dir" && as_dir=.
  6001      for ac_exec_ext in '' $ac_executable_extensions; do
  6002    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6003      ac_cv_prog_AR="${ac_tool_prefix}ar"
  6004      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6005      break 2
  6006    fi
  6007  done
  6008    done
  6009  IFS=$as_save_IFS
  6010  
  6011  fi
  6012  fi
  6013  AR=$ac_cv_prog_AR
  6014  if test -n "$AR"; then
  6015    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  6016  $as_echo "$AR" >&6; }
  6017  else
  6018    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6019  $as_echo "no" >&6; }
  6020  fi
  6021  
  6022  
  6023  fi
  6024  if test -z "$ac_cv_prog_AR"; then
  6025    ac_ct_AR=$AR
  6026    # Extract the first word of "ar", so it can be a program name with args.
  6027  set dummy ar; ac_word=$2
  6028  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6029  $as_echo_n "checking for $ac_word... " >&6; }
  6030  if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
  6031    $as_echo_n "(cached) " >&6
  6032  else
  6033    if test -n "$ac_ct_AR"; then
  6034    ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  6035  else
  6036  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6037  for as_dir in $PATH
  6038  do
  6039    IFS=$as_save_IFS
  6040    test -z "$as_dir" && as_dir=.
  6041      for ac_exec_ext in '' $ac_executable_extensions; do
  6042    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6043      ac_cv_prog_ac_ct_AR="ar"
  6044      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6045      break 2
  6046    fi
  6047  done
  6048    done
  6049  IFS=$as_save_IFS
  6050  
  6051  fi
  6052  fi
  6053  ac_ct_AR=$ac_cv_prog_ac_ct_AR
  6054  if test -n "$ac_ct_AR"; then
  6055    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  6056  $as_echo "$ac_ct_AR" >&6; }
  6057  else
  6058    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6059  $as_echo "no" >&6; }
  6060  fi
  6061  
  6062    if test "x$ac_ct_AR" = x; then
  6063      AR="false"
  6064    else
  6065      case $cross_compiling:$ac_tool_warned in
  6066  yes:)
  6067  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6068  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6069  ac_tool_warned=yes ;;
  6070  esac
  6071      AR=$ac_ct_AR
  6072    fi
  6073  else
  6074    AR="$ac_cv_prog_AR"
  6075  fi
  6076  
  6077  test -z "$AR" && AR=ar
  6078  test -z "$AR_FLAGS" && AR_FLAGS=cru
  6079  
  6080  
  6081  
  6082  
  6083  
  6084  
  6085  
  6086  
  6087  
  6088  
  6089  
  6090  if test -n "$ac_tool_prefix"; then
  6091    # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  6092  set dummy ${ac_tool_prefix}strip; ac_word=$2
  6093  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6094  $as_echo_n "checking for $ac_word... " >&6; }
  6095  if test "${ac_cv_prog_STRIP+set}" = set; then :
  6096    $as_echo_n "(cached) " >&6
  6097  else
  6098    if test -n "$STRIP"; then
  6099    ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  6100  else
  6101  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6102  for as_dir in $PATH
  6103  do
  6104    IFS=$as_save_IFS
  6105    test -z "$as_dir" && as_dir=.
  6106      for ac_exec_ext in '' $ac_executable_extensions; do
  6107    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6108      ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  6109      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6110      break 2
  6111    fi
  6112  done
  6113    done
  6114  IFS=$as_save_IFS
  6115  
  6116  fi
  6117  fi
  6118  STRIP=$ac_cv_prog_STRIP
  6119  if test -n "$STRIP"; then
  6120    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  6121  $as_echo "$STRIP" >&6; }
  6122  else
  6123    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6124  $as_echo "no" >&6; }
  6125  fi
  6126  
  6127  
  6128  fi
  6129  if test -z "$ac_cv_prog_STRIP"; then
  6130    ac_ct_STRIP=$STRIP
  6131    # Extract the first word of "strip", so it can be a program name with args.
  6132  set dummy strip; ac_word=$2
  6133  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6134  $as_echo_n "checking for $ac_word... " >&6; }
  6135  if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
  6136    $as_echo_n "(cached) " >&6
  6137  else
  6138    if test -n "$ac_ct_STRIP"; then
  6139    ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  6140  else
  6141  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6142  for as_dir in $PATH
  6143  do
  6144    IFS=$as_save_IFS
  6145    test -z "$as_dir" && as_dir=.
  6146      for ac_exec_ext in '' $ac_executable_extensions; do
  6147    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6148      ac_cv_prog_ac_ct_STRIP="strip"
  6149      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6150      break 2
  6151    fi
  6152  done
  6153    done
  6154  IFS=$as_save_IFS
  6155  
  6156  fi
  6157  fi
  6158  ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  6159  if test -n "$ac_ct_STRIP"; then
  6160    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  6161  $as_echo "$ac_ct_STRIP" >&6; }
  6162  else
  6163    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6164  $as_echo "no" >&6; }
  6165  fi
  6166  
  6167    if test "x$ac_ct_STRIP" = x; then
  6168      STRIP=":"
  6169    else
  6170      case $cross_compiling:$ac_tool_warned in
  6171  yes:)
  6172  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6173  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6174  ac_tool_warned=yes ;;
  6175  esac
  6176      STRIP=$ac_ct_STRIP
  6177    fi
  6178  else
  6179    STRIP="$ac_cv_prog_STRIP"
  6180  fi
  6181  
  6182  test -z "$STRIP" && STRIP=:
  6183  
  6184  
  6185  
  6186  
  6187  
  6188  
  6189  if test -n "$ac_tool_prefix"; then
  6190    # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  6191  set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  6192  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6193  $as_echo_n "checking for $ac_word... " >&6; }
  6194  if test "${ac_cv_prog_RANLIB+set}" = set; then :
  6195    $as_echo_n "(cached) " >&6
  6196  else
  6197    if test -n "$RANLIB"; then
  6198    ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  6199  else
  6200  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6201  for as_dir in $PATH
  6202  do
  6203    IFS=$as_save_IFS
  6204    test -z "$as_dir" && as_dir=.
  6205      for ac_exec_ext in '' $ac_executable_extensions; do
  6206    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6207      ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  6208      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6209      break 2
  6210    fi
  6211  done
  6212    done
  6213  IFS=$as_save_IFS
  6214  
  6215  fi
  6216  fi
  6217  RANLIB=$ac_cv_prog_RANLIB
  6218  if test -n "$RANLIB"; then
  6219    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  6220  $as_echo "$RANLIB" >&6; }
  6221  else
  6222    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6223  $as_echo "no" >&6; }
  6224  fi
  6225  
  6226  
  6227  fi
  6228  if test -z "$ac_cv_prog_RANLIB"; then
  6229    ac_ct_RANLIB=$RANLIB
  6230    # Extract the first word of "ranlib", so it can be a program name with args.
  6231  set dummy ranlib; ac_word=$2
  6232  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6233  $as_echo_n "checking for $ac_word... " >&6; }
  6234  if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
  6235    $as_echo_n "(cached) " >&6
  6236  else
  6237    if test -n "$ac_ct_RANLIB"; then
  6238    ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6239  else
  6240  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6241  for as_dir in $PATH
  6242  do
  6243    IFS=$as_save_IFS
  6244    test -z "$as_dir" && as_dir=.
  6245      for ac_exec_ext in '' $ac_executable_extensions; do
  6246    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6247      ac_cv_prog_ac_ct_RANLIB="ranlib"
  6248      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6249      break 2
  6250    fi
  6251  done
  6252    done
  6253  IFS=$as_save_IFS
  6254  
  6255  fi
  6256  fi
  6257  ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6258  if test -n "$ac_ct_RANLIB"; then
  6259    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  6260  $as_echo "$ac_ct_RANLIB" >&6; }
  6261  else
  6262    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6263  $as_echo "no" >&6; }
  6264  fi
  6265  
  6266    if test "x$ac_ct_RANLIB" = x; then
  6267      RANLIB=":"
  6268    else
  6269      case $cross_compiling:$ac_tool_warned in
  6270  yes:)
  6271  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6272  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6273  ac_tool_warned=yes ;;
  6274  esac
  6275      RANLIB=$ac_ct_RANLIB
  6276    fi
  6277  else
  6278    RANLIB="$ac_cv_prog_RANLIB"
  6279  fi
  6280  
  6281  test -z "$RANLIB" && RANLIB=:
  6282  
  6283  
  6284  
  6285  
  6286  
  6287  
  6288  # Determine commands to create old-style static archives.
  6289  old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6290  old_postinstall_cmds='chmod 644 $oldlib'
  6291  old_postuninstall_cmds=
  6292  
  6293  if test -n "$RANLIB"; then
  6294    case $host_os in
  6295    openbsd*)
  6296      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  6297      ;;
  6298    *)
  6299      old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  6300      ;;
  6301    esac
  6302    old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6303  fi
  6304  
  6305  case $host_os in
  6306    darwin*)
  6307      lock_old_archive_extraction=yes ;;
  6308    *)
  6309      lock_old_archive_extraction=no ;;
  6310  esac
  6311  
  6312  
  6313  
  6314  
  6315  
  6316  
  6317  
  6318  
  6319  
  6320  
  6321  
  6322  
  6323  
  6324  
  6325  
  6326  
  6327  
  6328  
  6329  
  6330  
  6331  
  6332  
  6333  
  6334  
  6335  
  6336  
  6337  
  6338  
  6339  
  6340  
  6341  
  6342  
  6343  
  6344  
  6345  
  6346  
  6347  
  6348  
  6349  
  6350  # If no C compiler was specified, use CC.
  6351  LTCC=${LTCC-"$CC"}
  6352  
  6353  # If no C compiler flags were specified, use CFLAGS.
  6354  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6355  
  6356  # Allow CC to be a program name with arguments.
  6357  compiler=$CC
  6358  
  6359  
  6360  # Check for command to grab the raw symbol name followed by C symbol from nm.
  6361  { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
  6362  $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6363  if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
  6364    $as_echo_n "(cached) " >&6
  6365  else
  6366  
  6367  # These are sane defaults that work on at least a few old systems.
  6368  # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
  6369  
  6370  # Character class describing NM global symbol codes.
  6371  symcode='[BCDEGRST]'
  6372  
  6373  # Regexp to match symbols that can be accessed directly from C.
  6374  sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6375  
  6376  # Define system-specific variables.
  6377  case $host_os in
  6378  aix*)
  6379    symcode='[BCDT]'
  6380    ;;
  6381  cygwin* | mingw* | pw32* | cegcc*)
  6382    symcode='[ABCDGISTW]'
  6383    ;;
  6384  hpux*)
  6385    if test "$host_cpu" = ia64; then
  6386      symcode='[ABCDEGRST]'
  6387    fi
  6388    ;;
  6389  irix* | nonstopux*)
  6390    symcode='[BCDEGRST]'
  6391    ;;
  6392  osf*)
  6393    symcode='[BCDEGQRST]'
  6394    ;;
  6395  solaris*)
  6396    symcode='[BDRT]'
  6397    ;;
  6398  sco3.2v5*)
  6399    symcode='[DT]'
  6400    ;;
  6401  sysv4.2uw2*)
  6402    symcode='[DT]'
  6403    ;;
  6404  sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6405    symcode='[ABDT]'
  6406    ;;
  6407  sysv4)
  6408    symcode='[DFNSTU]'
  6409    ;;
  6410  esac
  6411  
  6412  # If we're using GNU nm, then use its standard symbol codes.
  6413  case `$NM -V 2>&1` in
  6414  *GNU* | *'with BFD'*)
  6415    symcode='[ABCDGIRSTW]' ;;
  6416  esac
  6417  
  6418  # Transform an extracted symbol line into a proper C declaration.
  6419  # Some systems (esp. on ia64) link data and code symbols differently,
  6420  # so use this general approach.
  6421  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6422  
  6423  # Transform an extracted symbol line into symbol name and symbol address
  6424  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
  6425  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'"
  6426  
  6427  # Handle CRLF in mingw tool chain
  6428  opt_cr=
  6429  case $build_os in
  6430  mingw*)
  6431    opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6432    ;;
  6433  esac
  6434  
  6435  # Try without a prefix underscore, then with it.
  6436  for ac_symprfx in "" "_"; do
  6437  
  6438    # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6439    symxfrm="\\1 $ac_symprfx\\2 \\2"
  6440  
  6441    # Write the raw and C identifiers.
  6442    if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6443      # Fake it for dumpbin and say T for any non-static function
  6444      # and D for any global variable.
  6445      # Also find C++ and __fastcall symbols from MSVC++,
  6446      # which start with @ or ?.
  6447      lt_cv_sys_global_symbol_pipe="$AWK '"\
  6448  "     {last_section=section; section=\$ 3};"\
  6449  "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6450  "     \$ 0!~/External *\|/{next};"\
  6451  "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6452  "     {if(hide[section]) next};"\
  6453  "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6454  "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  6455  "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
  6456  "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  6457  "     ' prfx=^$ac_symprfx"
  6458    else
  6459      lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6460    fi
  6461  
  6462    # Check to see that the pipe works correctly.
  6463    pipe_works=no
  6464  
  6465    rm -f conftest*
  6466    cat > conftest.$ac_ext <<_LT_EOF
  6467  #ifdef __cplusplus
  6468  extern "C" {
  6469  #endif
  6470  char nm_test_var;
  6471  void nm_test_func(void);
  6472  void nm_test_func(void){}
  6473  #ifdef __cplusplus
  6474  }
  6475  #endif
  6476  int main(){nm_test_var='a';nm_test_func();return(0);}
  6477  _LT_EOF
  6478  
  6479    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6480    (eval $ac_compile) 2>&5
  6481    ac_status=$?
  6482    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6483    test $ac_status = 0; }; then
  6484      # Now try to grab the symbols.
  6485      nlist=conftest.nm
  6486      if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
  6487    (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
  6488    ac_status=$?
  6489    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6490    test $ac_status = 0; } && test -s "$nlist"; then
  6491        # Try sorting and uniquifying the output.
  6492        if sort "$nlist" | uniq > "$nlist"T; then
  6493  	mv -f "$nlist"T "$nlist"
  6494        else
  6495  	rm -f "$nlist"T
  6496        fi
  6497  
  6498        # Make sure that we snagged all the symbols we need.
  6499        if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6500  	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6501  	  cat <<_LT_EOF > conftest.$ac_ext
  6502  #ifdef __cplusplus
  6503  extern "C" {
  6504  #endif
  6505  
  6506  _LT_EOF
  6507  	  # Now generate the symbol file.
  6508  	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6509  
  6510  	  cat <<_LT_EOF >> conftest.$ac_ext
  6511  
  6512  /* The mapping between symbol names and symbols.  */
  6513  const struct {
  6514    const char *name;
  6515    void       *address;
  6516  }
  6517  lt__PROGRAM__LTX_preloaded_symbols[] =
  6518  {
  6519    { "@PROGRAM@", (void *) 0 },
  6520  _LT_EOF
  6521  	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6522  	  cat <<\_LT_EOF >> conftest.$ac_ext
  6523    {0, (void *) 0}
  6524  };
  6525  
  6526  /* This works around a problem in FreeBSD linker */
  6527  #ifdef FREEBSD_WORKAROUND
  6528  static const void *lt_preloaded_setup() {
  6529    return lt__PROGRAM__LTX_preloaded_symbols;
  6530  }
  6531  #endif
  6532  
  6533  #ifdef __cplusplus
  6534  }
  6535  #endif
  6536  _LT_EOF
  6537  	  # Now try linking the two files.
  6538  	  mv conftest.$ac_objext conftstm.$ac_objext
  6539  	  lt_save_LIBS="$LIBS"
  6540  	  lt_save_CFLAGS="$CFLAGS"
  6541  	  LIBS="conftstm.$ac_objext"
  6542  	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6543  	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
  6544    (eval $ac_link) 2>&5
  6545    ac_status=$?
  6546    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6547    test $ac_status = 0; } && test -s conftest${ac_exeext}; then
  6548  	    pipe_works=yes
  6549  	  fi
  6550  	  LIBS="$lt_save_LIBS"
  6551  	  CFLAGS="$lt_save_CFLAGS"
  6552  	else
  6553  	  echo "cannot find nm_test_func in $nlist" >&5
  6554  	fi
  6555        else
  6556  	echo "cannot find nm_test_var in $nlist" >&5
  6557        fi
  6558      else
  6559        echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6560      fi
  6561    else
  6562      echo "$progname: failed program was:" >&5
  6563      cat conftest.$ac_ext >&5
  6564    fi
  6565    rm -rf conftest* conftst*
  6566  
  6567    # Do not use the global_symbol_pipe unless it works.
  6568    if test "$pipe_works" = yes; then
  6569      break
  6570    else
  6571      lt_cv_sys_global_symbol_pipe=
  6572    fi
  6573  done
  6574  
  6575  fi
  6576  
  6577  if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6578    lt_cv_sys_global_symbol_to_cdecl=
  6579  fi
  6580  if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6581    { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
  6582  $as_echo "failed" >&6; }
  6583  else
  6584    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
  6585  $as_echo "ok" >&6; }
  6586  fi
  6587  
  6588  
  6589  
  6590  
  6591  
  6592  
  6593  
  6594  
  6595  
  6596  
  6597  
  6598  
  6599  
  6600  
  6601  
  6602  
  6603  
  6604  
  6605  
  6606  
  6607  
  6608  
  6609  
  6610  # Check whether --enable-libtool-lock was given.
  6611  if test "${enable_libtool_lock+set}" = set; then :
  6612    enableval=$enable_libtool_lock;
  6613  fi
  6614  
  6615  test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6616  
  6617  # Some flags need to be propagated to the compiler or linker for good
  6618  # libtool support.
  6619  case $host in
  6620  ia64-*-hpux*)
  6621    # Find out which ABI we are using.
  6622    echo 'int i;' > conftest.$ac_ext
  6623    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6624    (eval $ac_compile) 2>&5
  6625    ac_status=$?
  6626    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6627    test $ac_status = 0; }; then
  6628      case `/usr/bin/file conftest.$ac_objext` in
  6629        *ELF-32*)
  6630  	HPUX_IA64_MODE="32"
  6631  	;;
  6632        *ELF-64*)
  6633  	HPUX_IA64_MODE="64"
  6634  	;;
  6635      esac
  6636    fi
  6637    rm -rf conftest*
  6638    ;;
  6639  *-*-irix6*)
  6640    # Find out which ABI we are using.
  6641    echo '#line '$LINENO' "configure"' > conftest.$ac_ext
  6642    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6643    (eval $ac_compile) 2>&5
  6644    ac_status=$?
  6645    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6646    test $ac_status = 0; }; then
  6647      if test "$lt_cv_prog_gnu_ld" = yes; then
  6648        case `/usr/bin/file conftest.$ac_objext` in
  6649  	*32-bit*)
  6650  	  LD="${LD-ld} -melf32bsmip"
  6651  	  ;;
  6652  	*N32*)
  6653  	  LD="${LD-ld} -melf32bmipn32"
  6654  	  ;;
  6655  	*64-bit*)
  6656  	  LD="${LD-ld} -melf64bmip"
  6657  	;;
  6658        esac
  6659      else
  6660        case `/usr/bin/file conftest.$ac_objext` in
  6661  	*32-bit*)
  6662  	  LD="${LD-ld} -32"
  6663  	  ;;
  6664  	*N32*)
  6665  	  LD="${LD-ld} -n32"
  6666  	  ;;
  6667  	*64-bit*)
  6668  	  LD="${LD-ld} -64"
  6669  	  ;;
  6670        esac
  6671      fi
  6672    fi
  6673    rm -rf conftest*
  6674    ;;
  6675  
  6676  x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  6677  s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6678    # Find out which ABI we are using.
  6679    echo 'int i;' > conftest.$ac_ext
  6680    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6681    (eval $ac_compile) 2>&5
  6682    ac_status=$?
  6683    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6684    test $ac_status = 0; }; then
  6685      case `/usr/bin/file conftest.o` in
  6686        *32-bit*)
  6687  	case $host in
  6688  	  x86_64-*kfreebsd*-gnu)
  6689  	    LD="${LD-ld} -m elf_i386_fbsd"
  6690  	    ;;
  6691  	  x86_64-*linux*)
  6692  	    LD="${LD-ld} -m elf_i386"
  6693  	    ;;
  6694  	  ppc64-*linux*|powerpc64-*linux*)
  6695  	    LD="${LD-ld} -m elf32ppclinux"
  6696  	    ;;
  6697  	  s390x-*linux*)
  6698  	    LD="${LD-ld} -m elf_s390"
  6699  	    ;;
  6700  	  sparc64-*linux*)
  6701  	    LD="${LD-ld} -m elf32_sparc"
  6702  	    ;;
  6703  	esac
  6704  	;;
  6705        *64-bit*)
  6706  	case $host in
  6707  	  x86_64-*kfreebsd*-gnu)
  6708  	    LD="${LD-ld} -m elf_x86_64_fbsd"
  6709  	    ;;
  6710  	  x86_64-*linux*)
  6711  	    LD="${LD-ld} -m elf_x86_64"
  6712  	    ;;
  6713  	  ppc*-*linux*|powerpc*-*linux*)
  6714  	    LD="${LD-ld} -m elf64ppc"
  6715  	    ;;
  6716  	  s390*-*linux*|s390*-*tpf*)
  6717  	    LD="${LD-ld} -m elf64_s390"
  6718  	    ;;
  6719  	  sparc*-*linux*)
  6720  	    LD="${LD-ld} -m elf64_sparc"
  6721  	    ;;
  6722  	esac
  6723  	;;
  6724      esac
  6725    fi
  6726    rm -rf conftest*
  6727    ;;
  6728  
  6729  *-*-sco3.2v5*)
  6730    # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6731    SAVE_CFLAGS="$CFLAGS"
  6732    CFLAGS="$CFLAGS -belf"
  6733    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
  6734  $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6735  if test "${lt_cv_cc_needs_belf+set}" = set; then :
  6736    $as_echo_n "(cached) " >&6
  6737  else
  6738    ac_ext=c
  6739  ac_cpp='$CPP $CPPFLAGS'
  6740  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6741  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6742  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6743  
  6744       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6745  /* end confdefs.h.  */
  6746  
  6747  int
  6748  main ()
  6749  {
  6750  
  6751    ;
  6752    return 0;
  6753  }
  6754  _ACEOF
  6755  if ac_fn_c_try_link "$LINENO"; then :
  6756    lt_cv_cc_needs_belf=yes
  6757  else
  6758    lt_cv_cc_needs_belf=no
  6759  fi
  6760  rm -f core conftest.err conftest.$ac_objext \
  6761      conftest$ac_exeext conftest.$ac_ext
  6762       ac_ext=c
  6763  ac_cpp='$CPP $CPPFLAGS'
  6764  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6765  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6766  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6767  
  6768  fi
  6769  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
  6770  $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6771    if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6772      # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6773      CFLAGS="$SAVE_CFLAGS"
  6774    fi
  6775    ;;
  6776  sparc*-*solaris*)
  6777    # Find out which ABI we are using.
  6778    echo 'int i;' > conftest.$ac_ext
  6779    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  6780    (eval $ac_compile) 2>&5
  6781    ac_status=$?
  6782    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  6783    test $ac_status = 0; }; then
  6784      case `/usr/bin/file conftest.o` in
  6785      *64-bit*)
  6786        case $lt_cv_prog_gnu_ld in
  6787        yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6788        *)
  6789  	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6790  	  LD="${LD-ld} -64"
  6791  	fi
  6792  	;;
  6793        esac
  6794        ;;
  6795      esac
  6796    fi
  6797    rm -rf conftest*
  6798    ;;
  6799  esac
  6800  
  6801  need_locks="$enable_libtool_lock"
  6802  
  6803  
  6804    case $host_os in
  6805      rhapsody* | darwin*)
  6806      if test -n "$ac_tool_prefix"; then
  6807    # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6808  set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6809  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6810  $as_echo_n "checking for $ac_word... " >&6; }
  6811  if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
  6812    $as_echo_n "(cached) " >&6
  6813  else
  6814    if test -n "$DSYMUTIL"; then
  6815    ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6816  else
  6817  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6818  for as_dir in $PATH
  6819  do
  6820    IFS=$as_save_IFS
  6821    test -z "$as_dir" && as_dir=.
  6822      for ac_exec_ext in '' $ac_executable_extensions; do
  6823    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6824      ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6825      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6826      break 2
  6827    fi
  6828  done
  6829    done
  6830  IFS=$as_save_IFS
  6831  
  6832  fi
  6833  fi
  6834  DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6835  if test -n "$DSYMUTIL"; then
  6836    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
  6837  $as_echo "$DSYMUTIL" >&6; }
  6838  else
  6839    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6840  $as_echo "no" >&6; }
  6841  fi
  6842  
  6843  
  6844  fi
  6845  if test -z "$ac_cv_prog_DSYMUTIL"; then
  6846    ac_ct_DSYMUTIL=$DSYMUTIL
  6847    # Extract the first word of "dsymutil", so it can be a program name with args.
  6848  set dummy dsymutil; ac_word=$2
  6849  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6850  $as_echo_n "checking for $ac_word... " >&6; }
  6851  if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
  6852    $as_echo_n "(cached) " >&6
  6853  else
  6854    if test -n "$ac_ct_DSYMUTIL"; then
  6855    ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6856  else
  6857  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6858  for as_dir in $PATH
  6859  do
  6860    IFS=$as_save_IFS
  6861    test -z "$as_dir" && as_dir=.
  6862      for ac_exec_ext in '' $ac_executable_extensions; do
  6863    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6864      ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6865      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6866      break 2
  6867    fi
  6868  done
  6869    done
  6870  IFS=$as_save_IFS
  6871  
  6872  fi
  6873  fi
  6874  ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6875  if test -n "$ac_ct_DSYMUTIL"; then
  6876    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
  6877  $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6878  else
  6879    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6880  $as_echo "no" >&6; }
  6881  fi
  6882  
  6883    if test "x$ac_ct_DSYMUTIL" = x; then
  6884      DSYMUTIL=":"
  6885    else
  6886      case $cross_compiling:$ac_tool_warned in
  6887  yes:)
  6888  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6889  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6890  ac_tool_warned=yes ;;
  6891  esac
  6892      DSYMUTIL=$ac_ct_DSYMUTIL
  6893    fi
  6894  else
  6895    DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6896  fi
  6897  
  6898      if test -n "$ac_tool_prefix"; then
  6899    # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6900  set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6901  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6902  $as_echo_n "checking for $ac_word... " >&6; }
  6903  if test "${ac_cv_prog_NMEDIT+set}" = set; then :
  6904    $as_echo_n "(cached) " >&6
  6905  else
  6906    if test -n "$NMEDIT"; then
  6907    ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6908  else
  6909  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6910  for as_dir in $PATH
  6911  do
  6912    IFS=$as_save_IFS
  6913    test -z "$as_dir" && as_dir=.
  6914      for ac_exec_ext in '' $ac_executable_extensions; do
  6915    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6916      ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6917      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6918      break 2
  6919    fi
  6920  done
  6921    done
  6922  IFS=$as_save_IFS
  6923  
  6924  fi
  6925  fi
  6926  NMEDIT=$ac_cv_prog_NMEDIT
  6927  if test -n "$NMEDIT"; then
  6928    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
  6929  $as_echo "$NMEDIT" >&6; }
  6930  else
  6931    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6932  $as_echo "no" >&6; }
  6933  fi
  6934  
  6935  
  6936  fi
  6937  if test -z "$ac_cv_prog_NMEDIT"; then
  6938    ac_ct_NMEDIT=$NMEDIT
  6939    # Extract the first word of "nmedit", so it can be a program name with args.
  6940  set dummy nmedit; ac_word=$2
  6941  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6942  $as_echo_n "checking for $ac_word... " >&6; }
  6943  if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
  6944    $as_echo_n "(cached) " >&6
  6945  else
  6946    if test -n "$ac_ct_NMEDIT"; then
  6947    ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6948  else
  6949  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6950  for as_dir in $PATH
  6951  do
  6952    IFS=$as_save_IFS
  6953    test -z "$as_dir" && as_dir=.
  6954      for ac_exec_ext in '' $ac_executable_extensions; do
  6955    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6956      ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6957      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6958      break 2
  6959    fi
  6960  done
  6961    done
  6962  IFS=$as_save_IFS
  6963  
  6964  fi
  6965  fi
  6966  ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6967  if test -n "$ac_ct_NMEDIT"; then
  6968    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
  6969  $as_echo "$ac_ct_NMEDIT" >&6; }
  6970  else
  6971    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6972  $as_echo "no" >&6; }
  6973  fi
  6974  
  6975    if test "x$ac_ct_NMEDIT" = x; then
  6976      NMEDIT=":"
  6977    else
  6978      case $cross_compiling:$ac_tool_warned in
  6979  yes:)
  6980  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  6981  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6982  ac_tool_warned=yes ;;
  6983  esac
  6984      NMEDIT=$ac_ct_NMEDIT
  6985    fi
  6986  else
  6987    NMEDIT="$ac_cv_prog_NMEDIT"
  6988  fi
  6989  
  6990      if test -n "$ac_tool_prefix"; then
  6991    # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6992  set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6993  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6994  $as_echo_n "checking for $ac_word... " >&6; }
  6995  if test "${ac_cv_prog_LIPO+set}" = set; then :
  6996    $as_echo_n "(cached) " >&6
  6997  else
  6998    if test -n "$LIPO"; then
  6999    ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  7000  else
  7001  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7002  for as_dir in $PATH
  7003  do
  7004    IFS=$as_save_IFS
  7005    test -z "$as_dir" && as_dir=.
  7006      for ac_exec_ext in '' $ac_executable_extensions; do
  7007    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7008      ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  7009      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7010      break 2
  7011    fi
  7012  done
  7013    done
  7014  IFS=$as_save_IFS
  7015  
  7016  fi
  7017  fi
  7018  LIPO=$ac_cv_prog_LIPO
  7019  if test -n "$LIPO"; then
  7020    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
  7021  $as_echo "$LIPO" >&6; }
  7022  else
  7023    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7024  $as_echo "no" >&6; }
  7025  fi
  7026  
  7027  
  7028  fi
  7029  if test -z "$ac_cv_prog_LIPO"; then
  7030    ac_ct_LIPO=$LIPO
  7031    # Extract the first word of "lipo", so it can be a program name with args.
  7032  set dummy lipo; ac_word=$2
  7033  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7034  $as_echo_n "checking for $ac_word... " >&6; }
  7035  if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
  7036    $as_echo_n "(cached) " >&6
  7037  else
  7038    if test -n "$ac_ct_LIPO"; then
  7039    ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  7040  else
  7041  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7042  for as_dir in $PATH
  7043  do
  7044    IFS=$as_save_IFS
  7045    test -z "$as_dir" && as_dir=.
  7046      for ac_exec_ext in '' $ac_executable_extensions; do
  7047    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7048      ac_cv_prog_ac_ct_LIPO="lipo"
  7049      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7050      break 2
  7051    fi
  7052  done
  7053    done
  7054  IFS=$as_save_IFS
  7055  
  7056  fi
  7057  fi
  7058  ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  7059  if test -n "$ac_ct_LIPO"; then
  7060    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
  7061  $as_echo "$ac_ct_LIPO" >&6; }
  7062  else
  7063    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7064  $as_echo "no" >&6; }
  7065  fi
  7066  
  7067    if test "x$ac_ct_LIPO" = x; then
  7068      LIPO=":"
  7069    else
  7070      case $cross_compiling:$ac_tool_warned in
  7071  yes:)
  7072  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7073  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7074  ac_tool_warned=yes ;;
  7075  esac
  7076      LIPO=$ac_ct_LIPO
  7077    fi
  7078  else
  7079    LIPO="$ac_cv_prog_LIPO"
  7080  fi
  7081  
  7082      if test -n "$ac_tool_prefix"; then
  7083    # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7084  set dummy ${ac_tool_prefix}otool; ac_word=$2
  7085  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7086  $as_echo_n "checking for $ac_word... " >&6; }
  7087  if test "${ac_cv_prog_OTOOL+set}" = set; then :
  7088    $as_echo_n "(cached) " >&6
  7089  else
  7090    if test -n "$OTOOL"; then
  7091    ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7092  else
  7093  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7094  for as_dir in $PATH
  7095  do
  7096    IFS=$as_save_IFS
  7097    test -z "$as_dir" && as_dir=.
  7098      for ac_exec_ext in '' $ac_executable_extensions; do
  7099    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7100      ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7101      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7102      break 2
  7103    fi
  7104  done
  7105    done
  7106  IFS=$as_save_IFS
  7107  
  7108  fi
  7109  fi
  7110  OTOOL=$ac_cv_prog_OTOOL
  7111  if test -n "$OTOOL"; then
  7112    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7113  $as_echo "$OTOOL" >&6; }
  7114  else
  7115    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7116  $as_echo "no" >&6; }
  7117  fi
  7118  
  7119  
  7120  fi
  7121  if test -z "$ac_cv_prog_OTOOL"; then
  7122    ac_ct_OTOOL=$OTOOL
  7123    # Extract the first word of "otool", so it can be a program name with args.
  7124  set dummy otool; ac_word=$2
  7125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7126  $as_echo_n "checking for $ac_word... " >&6; }
  7127  if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
  7128    $as_echo_n "(cached) " >&6
  7129  else
  7130    if test -n "$ac_ct_OTOOL"; then
  7131    ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7132  else
  7133  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7134  for as_dir in $PATH
  7135  do
  7136    IFS=$as_save_IFS
  7137    test -z "$as_dir" && as_dir=.
  7138      for ac_exec_ext in '' $ac_executable_extensions; do
  7139    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7140      ac_cv_prog_ac_ct_OTOOL="otool"
  7141      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7142      break 2
  7143    fi
  7144  done
  7145    done
  7146  IFS=$as_save_IFS
  7147  
  7148  fi
  7149  fi
  7150  ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7151  if test -n "$ac_ct_OTOOL"; then
  7152    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7153  $as_echo "$ac_ct_OTOOL" >&6; }
  7154  else
  7155    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7156  $as_echo "no" >&6; }
  7157  fi
  7158  
  7159    if test "x$ac_ct_OTOOL" = x; then
  7160      OTOOL=":"
  7161    else
  7162      case $cross_compiling:$ac_tool_warned in
  7163  yes:)
  7164  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7165  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7166  ac_tool_warned=yes ;;
  7167  esac
  7168      OTOOL=$ac_ct_OTOOL
  7169    fi
  7170  else
  7171    OTOOL="$ac_cv_prog_OTOOL"
  7172  fi
  7173  
  7174      if test -n "$ac_tool_prefix"; then
  7175    # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  7176  set dummy ${ac_tool_prefix}otool64; ac_word=$2
  7177  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7178  $as_echo_n "checking for $ac_word... " >&6; }
  7179  if test "${ac_cv_prog_OTOOL64+set}" = set; then :
  7180    $as_echo_n "(cached) " >&6
  7181  else
  7182    if test -n "$OTOOL64"; then
  7183    ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  7184  else
  7185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7186  for as_dir in $PATH
  7187  do
  7188    IFS=$as_save_IFS
  7189    test -z "$as_dir" && as_dir=.
  7190      for ac_exec_ext in '' $ac_executable_extensions; do
  7191    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7192      ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  7193      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7194      break 2
  7195    fi
  7196  done
  7197    done
  7198  IFS=$as_save_IFS
  7199  
  7200  fi
  7201  fi
  7202  OTOOL64=$ac_cv_prog_OTOOL64
  7203  if test -n "$OTOOL64"; then
  7204    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
  7205  $as_echo "$OTOOL64" >&6; }
  7206  else
  7207    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7208  $as_echo "no" >&6; }
  7209  fi
  7210  
  7211  
  7212  fi
  7213  if test -z "$ac_cv_prog_OTOOL64"; then
  7214    ac_ct_OTOOL64=$OTOOL64
  7215    # Extract the first word of "otool64", so it can be a program name with args.
  7216  set dummy otool64; ac_word=$2
  7217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7218  $as_echo_n "checking for $ac_word... " >&6; }
  7219  if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
  7220    $as_echo_n "(cached) " >&6
  7221  else
  7222    if test -n "$ac_ct_OTOOL64"; then
  7223    ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  7224  else
  7225  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7226  for as_dir in $PATH
  7227  do
  7228    IFS=$as_save_IFS
  7229    test -z "$as_dir" && as_dir=.
  7230      for ac_exec_ext in '' $ac_executable_extensions; do
  7231    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7232      ac_cv_prog_ac_ct_OTOOL64="otool64"
  7233      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7234      break 2
  7235    fi
  7236  done
  7237    done
  7238  IFS=$as_save_IFS
  7239  
  7240  fi
  7241  fi
  7242  ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  7243  if test -n "$ac_ct_OTOOL64"; then
  7244    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
  7245  $as_echo "$ac_ct_OTOOL64" >&6; }
  7246  else
  7247    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7248  $as_echo "no" >&6; }
  7249  fi
  7250  
  7251    if test "x$ac_ct_OTOOL64" = x; then
  7252      OTOOL64=":"
  7253    else
  7254      case $cross_compiling:$ac_tool_warned in
  7255  yes:)
  7256  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7257  $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7258  ac_tool_warned=yes ;;
  7259  esac
  7260      OTOOL64=$ac_ct_OTOOL64
  7261    fi
  7262  else
  7263    OTOOL64="$ac_cv_prog_OTOOL64"
  7264  fi
  7265  
  7266  
  7267  
  7268  
  7269  
  7270  
  7271  
  7272  
  7273  
  7274  
  7275  
  7276  
  7277  
  7278  
  7279  
  7280  
  7281  
  7282  
  7283  
  7284  
  7285  
  7286  
  7287  
  7288  
  7289  
  7290  
  7291  
  7292      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
  7293  $as_echo_n "checking for -single_module linker flag... " >&6; }
  7294  if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
  7295    $as_echo_n "(cached) " >&6
  7296  else
  7297    lt_cv_apple_cc_single_mod=no
  7298        if test -z "${LT_MULTI_MODULE}"; then
  7299  	# By default we will add the -single_module flag. You can override
  7300  	# by either setting the environment variable LT_MULTI_MODULE
  7301  	# non-empty at configure time, or by adding -multi_module to the
  7302  	# link flags.
  7303  	rm -rf libconftest.dylib*
  7304  	echo "int foo(void){return 1;}" > conftest.c
  7305  	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7306  -dynamiclib -Wl,-single_module conftest.c" >&5
  7307  	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  7308  	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  7309          _lt_result=$?
  7310  	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  7311  	  lt_cv_apple_cc_single_mod=yes
  7312  	else
  7313  	  cat conftest.err >&5
  7314  	fi
  7315  	rm -rf libconftest.dylib*
  7316  	rm -f conftest.*
  7317        fi
  7318  fi
  7319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
  7320  $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  7321      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
  7322  $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  7323  if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
  7324    $as_echo_n "(cached) " >&6
  7325  else
  7326    lt_cv_ld_exported_symbols_list=no
  7327        save_LDFLAGS=$LDFLAGS
  7328        echo "_main" > conftest.sym
  7329        LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  7330        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7331  /* end confdefs.h.  */
  7332  
  7333  int
  7334  main ()
  7335  {
  7336  
  7337    ;
  7338    return 0;
  7339  }
  7340  _ACEOF
  7341  if ac_fn_c_try_link "$LINENO"; then :
  7342    lt_cv_ld_exported_symbols_list=yes
  7343  else
  7344    lt_cv_ld_exported_symbols_list=no
  7345  fi
  7346  rm -f core conftest.err conftest.$ac_objext \
  7347      conftest$ac_exeext conftest.$ac_ext
  7348  	LDFLAGS="$save_LDFLAGS"
  7349  
  7350  fi
  7351  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
  7352  $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  7353      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
  7354  $as_echo_n "checking for -force_load linker flag... " >&6; }
  7355  if test "${lt_cv_ld_force_load+set}" = set; then :
  7356    $as_echo_n "(cached) " >&6
  7357  else
  7358    lt_cv_ld_force_load=no
  7359        cat > conftest.c << _LT_EOF
  7360  int forced_loaded() { return 2;}
  7361  _LT_EOF
  7362        echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
  7363        $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
  7364        echo "$AR cru libconftest.a conftest.o" >&5
  7365        $AR cru libconftest.a conftest.o 2>&5
  7366        echo "$RANLIB libconftest.a" >&5
  7367        $RANLIB libconftest.a 2>&5
  7368        cat > conftest.c << _LT_EOF
  7369  int main() { return 0;}
  7370  _LT_EOF
  7371        echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
  7372        $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
  7373        _lt_result=$?
  7374        if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
  7375  	lt_cv_ld_force_load=yes
  7376        else
  7377  	cat conftest.err >&5
  7378        fi
  7379          rm -f conftest.err libconftest.a conftest conftest.c
  7380          rm -rf conftest.dSYM
  7381  
  7382  fi
  7383  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
  7384  $as_echo "$lt_cv_ld_force_load" >&6; }
  7385      case $host_os in
  7386      rhapsody* | darwin1.[012])
  7387        _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  7388      darwin1.*)
  7389        _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7390      darwin*) # darwin 5.x on
  7391        # if running on 10.5 or later, the deployment target defaults
  7392        # to the OS version, if on x86, and 10.4, the deployment
  7393        # target defaults to 10.4. Don't you love it?
  7394        case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7395  	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7396  	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7397  	10.[012]*)
  7398  	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7399  	10.*)
  7400  	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7401        esac
  7402      ;;
  7403    esac
  7404      if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7405        _lt_dar_single_mod='$single_module'
  7406      fi
  7407      if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7408        _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7409      else
  7410        _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7411      fi
  7412      if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
  7413        _lt_dsymutil='~$DSYMUTIL $lib || :'
  7414      else
  7415        _lt_dsymutil=
  7416      fi
  7417      ;;
  7418    esac
  7419  
  7420  ac_ext=c
  7421  ac_cpp='$CPP $CPPFLAGS'
  7422  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7423  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7424  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7425  { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  7426  $as_echo_n "checking how to run the C preprocessor... " >&6; }
  7427  # On Suns, sometimes $CPP names a directory.
  7428  if test -n "$CPP" && test -d "$CPP"; then
  7429    CPP=
  7430  fi
  7431  if test -z "$CPP"; then
  7432    if test "${ac_cv_prog_CPP+set}" = set; then :
  7433    $as_echo_n "(cached) " >&6
  7434  else
  7435        # Double quotes because CPP needs to be expanded
  7436      for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  7437      do
  7438        ac_preproc_ok=false
  7439  for ac_c_preproc_warn_flag in '' yes
  7440  do
  7441    # Use a header file that comes with gcc, so configuring glibc
  7442    # with a fresh cross-compiler works.
  7443    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7444    # <limits.h> exists even on freestanding compilers.
  7445    # On the NeXT, cc -E runs the code through the compiler's parser,
  7446    # not just through cpp. "Syntax error" is here to catch this case.
  7447    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7448  /* end confdefs.h.  */
  7449  #ifdef __STDC__
  7450  # include <limits.h>
  7451  #else
  7452  # include <assert.h>
  7453  #endif
  7454  		     Syntax error
  7455  _ACEOF
  7456  if ac_fn_c_try_cpp "$LINENO"; then :
  7457  
  7458  else
  7459    # Broken: fails on valid input.
  7460  continue
  7461  fi
  7462  rm -f conftest.err conftest.$ac_ext
  7463  
  7464    # OK, works on sane cases.  Now check whether nonexistent headers
  7465    # can be detected and how.
  7466    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7467  /* end confdefs.h.  */
  7468  #include <ac_nonexistent.h>
  7469  _ACEOF
  7470  if ac_fn_c_try_cpp "$LINENO"; then :
  7471    # Broken: success on invalid input.
  7472  continue
  7473  else
  7474    # Passes both tests.
  7475  ac_preproc_ok=:
  7476  break
  7477  fi
  7478  rm -f conftest.err conftest.$ac_ext
  7479  
  7480  done
  7481  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7482  rm -f conftest.err conftest.$ac_ext
  7483  if $ac_preproc_ok; then :
  7484    break
  7485  fi
  7486  
  7487      done
  7488      ac_cv_prog_CPP=$CPP
  7489  
  7490  fi
  7491    CPP=$ac_cv_prog_CPP
  7492  else
  7493    ac_cv_prog_CPP=$CPP
  7494  fi
  7495  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  7496  $as_echo "$CPP" >&6; }
  7497  ac_preproc_ok=false
  7498  for ac_c_preproc_warn_flag in '' yes
  7499  do
  7500    # Use a header file that comes with gcc, so configuring glibc
  7501    # with a fresh cross-compiler works.
  7502    # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7503    # <limits.h> exists even on freestanding compilers.
  7504    # On the NeXT, cc -E runs the code through the compiler's parser,
  7505    # not just through cpp. "Syntax error" is here to catch this case.
  7506    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7507  /* end confdefs.h.  */
  7508  #ifdef __STDC__
  7509  # include <limits.h>
  7510  #else
  7511  # include <assert.h>
  7512  #endif
  7513  		     Syntax error
  7514  _ACEOF
  7515  if ac_fn_c_try_cpp "$LINENO"; then :
  7516  
  7517  else
  7518    # Broken: fails on valid input.
  7519  continue
  7520  fi
  7521  rm -f conftest.err conftest.$ac_ext
  7522  
  7523    # OK, works on sane cases.  Now check whether nonexistent headers
  7524    # can be detected and how.
  7525    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7526  /* end confdefs.h.  */
  7527  #include <ac_nonexistent.h>
  7528  _ACEOF
  7529  if ac_fn_c_try_cpp "$LINENO"; then :
  7530    # Broken: success on invalid input.
  7531  continue
  7532  else
  7533    # Passes both tests.
  7534  ac_preproc_ok=:
  7535  break
  7536  fi
  7537  rm -f conftest.err conftest.$ac_ext
  7538  
  7539  done
  7540  # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7541  rm -f conftest.err conftest.$ac_ext
  7542  if $ac_preproc_ok; then :
  7543  
  7544  else
  7545    { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7546  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7547  as_fn_error "C preprocessor \"$CPP\" fails sanity check
  7548  See \`config.log' for more details." "$LINENO" 5; }
  7549  fi
  7550  
  7551  ac_ext=c
  7552  ac_cpp='$CPP $CPPFLAGS'
  7553  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7554  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7555  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7556  
  7557  
  7558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  7559  $as_echo_n "checking for ANSI C header files... " >&6; }
  7560  if test "${ac_cv_header_stdc+set}" = set; then :
  7561    $as_echo_n "(cached) " >&6
  7562  else
  7563    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7564  /* end confdefs.h.  */
  7565  #include <stdlib.h>
  7566  #include <stdarg.h>
  7567  #include <string.h>
  7568  #include <float.h>
  7569  
  7570  int
  7571  main ()
  7572  {
  7573  
  7574    ;
  7575    return 0;
  7576  }
  7577  _ACEOF
  7578  if ac_fn_c_try_compile "$LINENO"; then :
  7579    ac_cv_header_stdc=yes
  7580  else
  7581    ac_cv_header_stdc=no
  7582  fi
  7583  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7584  
  7585  if test $ac_cv_header_stdc = yes; then
  7586    # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7587    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7588  /* end confdefs.h.  */
  7589  #include <string.h>
  7590  
  7591  _ACEOF
  7592  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7593    $EGREP "memchr" >/dev/null 2>&1; then :
  7594  
  7595  else
  7596    ac_cv_header_stdc=no
  7597  fi
  7598  rm -f conftest*
  7599  
  7600  fi
  7601  
  7602  if test $ac_cv_header_stdc = yes; then
  7603    # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7604    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7605  /* end confdefs.h.  */
  7606  #include <stdlib.h>
  7607  
  7608  _ACEOF
  7609  if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7610    $EGREP "free" >/dev/null 2>&1; then :
  7611  
  7612  else
  7613    ac_cv_header_stdc=no
  7614  fi
  7615  rm -f conftest*
  7616  
  7617  fi
  7618  
  7619  if test $ac_cv_header_stdc = yes; then
  7620    # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7621    if test "$cross_compiling" = yes; then :
  7622    :
  7623  else
  7624    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7625  /* end confdefs.h.  */
  7626  #include <ctype.h>
  7627  #include <stdlib.h>
  7628  #if ((' ' & 0x0FF) == 0x020)
  7629  # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7630  # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7631  #else
  7632  # define ISLOWER(c) \
  7633  		   (('a' <= (c) && (c) <= 'i') \
  7634  		     || ('j' <= (c) && (c) <= 'r') \
  7635  		     || ('s' <= (c) && (c) <= 'z'))
  7636  # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7637  #endif
  7638  
  7639  #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7640  int
  7641  main ()
  7642  {
  7643    int i;
  7644    for (i = 0; i < 256; i++)
  7645      if (XOR (islower (i), ISLOWER (i))
  7646  	|| toupper (i) != TOUPPER (i))
  7647        return 2;
  7648    return 0;
  7649  }
  7650  _ACEOF
  7651  if ac_fn_c_try_run "$LINENO"; then :
  7652  
  7653  else
  7654    ac_cv_header_stdc=no
  7655  fi
  7656  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  7657    conftest.$ac_objext conftest.beam conftest.$ac_ext
  7658  fi
  7659  
  7660  fi
  7661  fi
  7662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  7663  $as_echo "$ac_cv_header_stdc" >&6; }
  7664  if test $ac_cv_header_stdc = yes; then
  7665  
  7666  $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  7667  
  7668  fi
  7669  
  7670  # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7671  for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7672  		  inttypes.h stdint.h unistd.h
  7673  do :
  7674    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7675  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  7676  "
  7677  eval as_val=\$$as_ac_Header
  7678     if test "x$as_val" = x""yes; then :
  7679    cat >>confdefs.h <<_ACEOF
  7680  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7681  _ACEOF
  7682  
  7683  fi
  7684  
  7685  done
  7686  
  7687  
  7688  for ac_header in dlfcn.h
  7689  do :
  7690    ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
  7691  "
  7692  if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
  7693    cat >>confdefs.h <<_ACEOF
  7694  #define HAVE_DLFCN_H 1
  7695  _ACEOF
  7696  
  7697  fi
  7698  
  7699  done
  7700  
  7701  
  7702  
  7703  
  7704  
  7705  # Set options
  7706  
  7707  
  7708  
  7709  
  7710    enable_win32_dll=no
  7711  
  7712  
  7713              # Check whether --enable-shared was given.
  7714  if test "${enable_shared+set}" = set; then :
  7715    enableval=$enable_shared; p=${PACKAGE-default}
  7716      case $enableval in
  7717      yes) enable_shared=yes ;;
  7718      no) enable_shared=no ;;
  7719      *)
  7720        enable_shared=no
  7721        # Look at the argument we got.  We use all the common list separators.
  7722        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7723        for pkg in $enableval; do
  7724  	IFS="$lt_save_ifs"
  7725  	if test "X$pkg" = "X$p"; then
  7726  	  enable_shared=yes
  7727  	fi
  7728        done
  7729        IFS="$lt_save_ifs"
  7730        ;;
  7731      esac
  7732  else
  7733    enable_shared=yes
  7734  fi
  7735  
  7736  
  7737  
  7738  
  7739  
  7740  
  7741  
  7742  
  7743  
  7744    # Check whether --enable-static was given.
  7745  if test "${enable_static+set}" = set; then :
  7746    enableval=$enable_static; p=${PACKAGE-default}
  7747      case $enableval in
  7748      yes) enable_static=yes ;;
  7749      no) enable_static=no ;;
  7750      *)
  7751       enable_static=no
  7752        # Look at the argument we got.  We use all the common list separators.
  7753        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7754        for pkg in $enableval; do
  7755  	IFS="$lt_save_ifs"
  7756  	if test "X$pkg" = "X$p"; then
  7757  	  enable_static=yes
  7758  	fi
  7759        done
  7760        IFS="$lt_save_ifs"
  7761        ;;
  7762      esac
  7763  else
  7764    enable_static=yes
  7765  fi
  7766  
  7767  
  7768  
  7769  
  7770  
  7771  
  7772  
  7773  
  7774  
  7775  
  7776  # Check whether --with-pic was given.
  7777  if test "${with_pic+set}" = set; then :
  7778    withval=$with_pic; pic_mode="$withval"
  7779  else
  7780    pic_mode=default
  7781  fi
  7782  
  7783  
  7784  test -z "$pic_mode" && pic_mode=default
  7785  
  7786  
  7787  
  7788  
  7789  
  7790  
  7791  
  7792    # Check whether --enable-fast-install was given.
  7793  if test "${enable_fast_install+set}" = set; then :
  7794    enableval=$enable_fast_install; p=${PACKAGE-default}
  7795      case $enableval in
  7796      yes) enable_fast_install=yes ;;
  7797      no) enable_fast_install=no ;;
  7798      *)
  7799        enable_fast_install=no
  7800        # Look at the argument we got.  We use all the common list separators.
  7801        lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7802        for pkg in $enableval; do
  7803  	IFS="$lt_save_ifs"
  7804  	if test "X$pkg" = "X$p"; then
  7805  	  enable_fast_install=yes
  7806  	fi
  7807        done
  7808        IFS="$lt_save_ifs"
  7809        ;;
  7810      esac
  7811  else
  7812    enable_fast_install=yes
  7813  fi
  7814  
  7815  
  7816  
  7817  
  7818  
  7819  
  7820  
  7821  
  7822  
  7823  
  7824  
  7825  # This can be used to rebuild libtool when needed
  7826  LIBTOOL_DEPS="$ltmain"
  7827  
  7828  # Always use our own libtool.
  7829  LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7830  
  7831  
  7832  
  7833  
  7834  
  7835  
  7836  
  7837  
  7838  
  7839  
  7840  
  7841  
  7842  
  7843  
  7844  
  7845  
  7846  
  7847  
  7848  
  7849  
  7850  
  7851  
  7852  
  7853  
  7854  
  7855  
  7856  test -z "$LN_S" && LN_S="ln -s"
  7857  
  7858  
  7859  
  7860  
  7861  
  7862  
  7863  
  7864  
  7865  
  7866  
  7867  
  7868  
  7869  
  7870  
  7871  if test -n "${ZSH_VERSION+set}" ; then
  7872     setopt NO_GLOB_SUBST
  7873  fi
  7874  
  7875  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
  7876  $as_echo_n "checking for objdir... " >&6; }
  7877  if test "${lt_cv_objdir+set}" = set; then :
  7878    $as_echo_n "(cached) " >&6
  7879  else
  7880    rm -f .libs 2>/dev/null
  7881  mkdir .libs 2>/dev/null
  7882  if test -d .libs; then
  7883    lt_cv_objdir=.libs
  7884  else
  7885    # MS-DOS does not allow filenames that begin with a dot.
  7886    lt_cv_objdir=_libs
  7887  fi
  7888  rmdir .libs 2>/dev/null
  7889  fi
  7890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
  7891  $as_echo "$lt_cv_objdir" >&6; }
  7892  objdir=$lt_cv_objdir
  7893  
  7894  
  7895  
  7896  
  7897  
  7898  cat >>confdefs.h <<_ACEOF
  7899  #define LT_OBJDIR "$lt_cv_objdir/"
  7900  _ACEOF
  7901  
  7902  
  7903  
  7904  
  7905  case $host_os in
  7906  aix3*)
  7907    # AIX sometimes has problems with the GCC collect2 program.  For some
  7908    # reason, if we set the COLLECT_NAMES environment variable, the problems
  7909    # vanish in a puff of smoke.
  7910    if test "X${COLLECT_NAMES+set}" != Xset; then
  7911      COLLECT_NAMES=
  7912      export COLLECT_NAMES
  7913    fi
  7914    ;;
  7915  esac
  7916  
  7917  # Global variables:
  7918  ofile=libtool
  7919  can_build_shared=yes
  7920  
  7921  # All known linkers require a `.a' archive for static linking (except MSVC,
  7922  # which needs '.lib').
  7923  libext=a
  7924  
  7925  with_gnu_ld="$lt_cv_prog_gnu_ld"
  7926  
  7927  old_CC="$CC"
  7928  old_CFLAGS="$CFLAGS"
  7929  
  7930  # Set sane defaults for various variables
  7931  test -z "$CC" && CC=cc
  7932  test -z "$LTCC" && LTCC=$CC
  7933  test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7934  test -z "$LD" && LD=ld
  7935  test -z "$ac_objext" && ac_objext=o
  7936  
  7937  for cc_temp in $compiler""; do
  7938    case $cc_temp in
  7939      compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7940      distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7941      \-*) ;;
  7942      *) break;;
  7943    esac
  7944  done
  7945  cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
  7946  
  7947  
  7948  # Only perform the check for file, if the check method requires it
  7949  test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7950  case $deplibs_check_method in
  7951  file_magic*)
  7952    if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7953      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
  7954  $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7955  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  7956    $as_echo_n "(cached) " >&6
  7957  else
  7958    case $MAGIC_CMD in
  7959  [\\/*] |  ?:[\\/]*)
  7960    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7961    ;;
  7962  *)
  7963    lt_save_MAGIC_CMD="$MAGIC_CMD"
  7964    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7965    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7966    for ac_dir in $ac_dummy; do
  7967      IFS="$lt_save_ifs"
  7968      test -z "$ac_dir" && ac_dir=.
  7969      if test -f $ac_dir/${ac_tool_prefix}file; then
  7970        lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  7971        if test -n "$file_magic_test_file"; then
  7972  	case $deplibs_check_method in
  7973  	"file_magic "*)
  7974  	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7975  	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7976  	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7977  	    $EGREP "$file_magic_regex" > /dev/null; then
  7978  	    :
  7979  	  else
  7980  	    cat <<_LT_EOF 1>&2
  7981  
  7982  *** Warning: the command libtool uses to detect shared libraries,
  7983  *** $file_magic_cmd, produces output that libtool cannot recognize.
  7984  *** The result is that libtool may fail to recognize shared libraries
  7985  *** as such.  This will affect the creation of libtool libraries that
  7986  *** depend on shared libraries, but programs linked with such libtool
  7987  *** libraries will work regardless of this problem.  Nevertheless, you
  7988  *** may want to report the problem to your system manager and/or to
  7989  *** bug-libtool@gnu.org
  7990  
  7991  _LT_EOF
  7992  	  fi ;;
  7993  	esac
  7994        fi
  7995        break
  7996      fi
  7997    done
  7998    IFS="$lt_save_ifs"
  7999    MAGIC_CMD="$lt_save_MAGIC_CMD"
  8000    ;;
  8001  esac
  8002  fi
  8003  
  8004  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8005  if test -n "$MAGIC_CMD"; then
  8006    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8007  $as_echo "$MAGIC_CMD" >&6; }
  8008  else
  8009    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8010  $as_echo "no" >&6; }
  8011  fi
  8012  
  8013  
  8014  
  8015  
  8016  
  8017  if test -z "$lt_cv_path_MAGIC_CMD"; then
  8018    if test -n "$ac_tool_prefix"; then
  8019      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
  8020  $as_echo_n "checking for file... " >&6; }
  8021  if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
  8022    $as_echo_n "(cached) " >&6
  8023  else
  8024    case $MAGIC_CMD in
  8025  [\\/*] |  ?:[\\/]*)
  8026    lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  8027    ;;
  8028  *)
  8029    lt_save_MAGIC_CMD="$MAGIC_CMD"
  8030    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  8031    ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  8032    for ac_dir in $ac_dummy; do
  8033      IFS="$lt_save_ifs"
  8034      test -z "$ac_dir" && ac_dir=.
  8035      if test -f $ac_dir/file; then
  8036        lt_cv_path_MAGIC_CMD="$ac_dir/file"
  8037        if test -n "$file_magic_test_file"; then
  8038  	case $deplibs_check_method in
  8039  	"file_magic "*)
  8040  	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  8041  	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8042  	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  8043  	    $EGREP "$file_magic_regex" > /dev/null; then
  8044  	    :
  8045  	  else
  8046  	    cat <<_LT_EOF 1>&2
  8047  
  8048  *** Warning: the command libtool uses to detect shared libraries,
  8049  *** $file_magic_cmd, produces output that libtool cannot recognize.
  8050  *** The result is that libtool may fail to recognize shared libraries
  8051  *** as such.  This will affect the creation of libtool libraries that
  8052  *** depend on shared libraries, but programs linked with such libtool
  8053  *** libraries will work regardless of this problem.  Nevertheless, you
  8054  *** may want to report the problem to your system manager and/or to
  8055  *** bug-libtool@gnu.org
  8056  
  8057  _LT_EOF
  8058  	  fi ;;
  8059  	esac
  8060        fi
  8061        break
  8062      fi
  8063    done
  8064    IFS="$lt_save_ifs"
  8065    MAGIC_CMD="$lt_save_MAGIC_CMD"
  8066    ;;
  8067  esac
  8068  fi
  8069  
  8070  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  8071  if test -n "$MAGIC_CMD"; then
  8072    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
  8073  $as_echo "$MAGIC_CMD" >&6; }
  8074  else
  8075    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8076  $as_echo "no" >&6; }
  8077  fi
  8078  
  8079  
  8080    else
  8081      MAGIC_CMD=:
  8082    fi
  8083  fi
  8084  
  8085    fi
  8086    ;;
  8087  esac
  8088  
  8089  # Use C for the default configuration in the libtool script
  8090  
  8091  lt_save_CC="$CC"
  8092  ac_ext=c
  8093  ac_cpp='$CPP $CPPFLAGS'
  8094  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8095  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8096  ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8097  
  8098  
  8099  # Source file extension for C test sources.
  8100  ac_ext=c
  8101  
  8102  # Object file extension for compiled C test sources.
  8103  objext=o
  8104  objext=$objext
  8105  
  8106  # Code to be used in simple compile tests
  8107  lt_simple_compile_test_code="int some_variable = 0;"
  8108  
  8109  # Code to be used in simple link tests
  8110  lt_simple_link_test_code='int main(){return(0);}'
  8111  
  8112  
  8113  
  8114  
  8115  
  8116  
  8117  
  8118  # If no C compiler was specified, use CC.
  8119  LTCC=${LTCC-"$CC"}
  8120  
  8121  # If no C compiler flags were specified, use CFLAGS.
  8122  LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  8123  
  8124  # Allow CC to be a program name with arguments.
  8125  compiler=$CC
  8126  
  8127  # Save the default compiler, since it gets overwritten when the other
  8128  # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  8129  compiler_DEFAULT=$CC
  8130  
  8131  # save warnings/boilerplate of simple test code
  8132  ac_outfile=conftest.$ac_objext
  8133  echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  8134  eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8135  _lt_compiler_boilerplate=`cat conftest.err`
  8136  $RM conftest*
  8137  
  8138  ac_outfile=conftest.$ac_objext
  8139  echo "$lt_simple_link_test_code" >conftest.$ac_ext
  8140  eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  8141  _lt_linker_boilerplate=`cat conftest.err`
  8142  $RM -r conftest*
  8143  
  8144  
  8145  ## CAVEAT EMPTOR:
  8146  ## There is no encapsulation within the following macros, do not change
  8147  ## the running order or otherwise move them around unless you know exactly
  8148  ## what you are doing...
  8149  if test -n "$compiler"; then
  8150  
  8151  lt_prog_compiler_no_builtin_flag=
  8152  
  8153  if test "$GCC" = yes; then
  8154    case $cc_basename in
  8155    nvcc*)
  8156      lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
  8157    *)
  8158      lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
  8159    esac
  8160  
  8161    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  8162  $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  8163  if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
  8164    $as_echo_n "(cached) " >&6
  8165  else
  8166    lt_cv_prog_compiler_rtti_exceptions=no
  8167     ac_outfile=conftest.$ac_objext
  8168     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8169     lt_compiler_flag="-fno-rtti -fno-exceptions"
  8170     # Insert the option either (1) after the last *FLAGS variable, or
  8171     # (2) before a word containing "conftest.", or (3) at the end.
  8172     # Note that $ac_compile itself does not contain backslashes and begins
  8173     # with a dollar sign (not a hyphen), so the echo should work correctly.
  8174     # The option is referenced via a variable to avoid confusing sed.
  8175     lt_compile=`echo "$ac_compile" | $SED \
  8176     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8177     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8178     -e 's:$: $lt_compiler_flag:'`
  8179     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8180     (eval "$lt_compile" 2>conftest.err)
  8181     ac_status=$?
  8182     cat conftest.err >&5
  8183     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8184     if (exit $ac_status) && test -s "$ac_outfile"; then
  8185       # The compiler can only warn and ignore the option if not recognized
  8186       # So say no if there are warnings other than the usual output.
  8187       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8188       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8189       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8190         lt_cv_prog_compiler_rtti_exceptions=yes
  8191       fi
  8192     fi
  8193     $RM conftest*
  8194  
  8195  fi
  8196  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  8197  $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  8198  
  8199  if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  8200      lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  8201  else
  8202      :
  8203  fi
  8204  
  8205  fi
  8206  
  8207  
  8208  
  8209  
  8210  
  8211  
  8212    lt_prog_compiler_wl=
  8213  lt_prog_compiler_pic=
  8214  lt_prog_compiler_static=
  8215  
  8216  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
  8217  $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  8218  
  8219    if test "$GCC" = yes; then
  8220      lt_prog_compiler_wl='-Wl,'
  8221      lt_prog_compiler_static='-static'
  8222  
  8223      case $host_os in
  8224        aix*)
  8225        # All AIX code is PIC.
  8226        if test "$host_cpu" = ia64; then
  8227  	# AIX 5 now supports IA64 processor
  8228  	lt_prog_compiler_static='-Bstatic'
  8229        fi
  8230        ;;
  8231  
  8232      amigaos*)
  8233        case $host_cpu in
  8234        powerpc)
  8235              # see comment about AmigaOS4 .so support
  8236              lt_prog_compiler_pic='-fPIC'
  8237          ;;
  8238        m68k)
  8239              # FIXME: we need at least 68020 code to build shared libraries, but
  8240              # adding the `-m68020' flag to GCC prevents building anything better,
  8241              # like `-m68040'.
  8242              lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  8243          ;;
  8244        esac
  8245        ;;
  8246  
  8247      beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  8248        # PIC is the default for these OSes.
  8249        ;;
  8250  
  8251      mingw* | cygwin* | pw32* | os2* | cegcc*)
  8252        # This hack is so that the source file can tell whether it is being
  8253        # built for inclusion in a dll (and should export symbols for example).
  8254        # Although the cygwin gcc ignores -fPIC, still need this for old-style
  8255        # (--disable-auto-import) libraries
  8256        lt_prog_compiler_pic='-DDLL_EXPORT'
  8257        ;;
  8258  
  8259      darwin* | rhapsody*)
  8260        # PIC is the default on this platform
  8261        # Common symbols not allowed in MH_DYLIB files
  8262        lt_prog_compiler_pic='-fno-common'
  8263        ;;
  8264  
  8265      haiku*)
  8266        # PIC is the default for Haiku.
  8267        # The "-static" flag exists, but is broken.
  8268        lt_prog_compiler_static=
  8269        ;;
  8270  
  8271      hpux*)
  8272        # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  8273        # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
  8274        # sets the default TLS model and affects inlining.
  8275        case $host_cpu in
  8276        hppa*64*)
  8277  	# +Z the default
  8278  	;;
  8279        *)
  8280  	lt_prog_compiler_pic='-fPIC'
  8281  	;;
  8282        esac
  8283        ;;
  8284  
  8285      interix[3-9]*)
  8286        # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  8287        # Instead, we relocate shared libraries at runtime.
  8288        ;;
  8289  
  8290      msdosdjgpp*)
  8291        # Just because we use GCC doesn't mean we suddenly get shared libraries
  8292        # on systems that don't support them.
  8293        lt_prog_compiler_can_build_shared=no
  8294        enable_shared=no
  8295        ;;
  8296  
  8297      *nto* | *qnx*)
  8298        # QNX uses GNU C++, but need to define -shared option too, otherwise
  8299        # it will coredump.
  8300        lt_prog_compiler_pic='-fPIC -shared'
  8301        ;;
  8302  
  8303      sysv4*MP*)
  8304        if test -d /usr/nec; then
  8305  	lt_prog_compiler_pic=-Kconform_pic
  8306        fi
  8307        ;;
  8308  
  8309      *)
  8310        lt_prog_compiler_pic='-fPIC'
  8311        ;;
  8312      esac
  8313  
  8314      case $cc_basename in
  8315      nvcc*) # Cuda Compiler Driver 2.2
  8316        lt_prog_compiler_wl='-Xlinker '
  8317        lt_prog_compiler_pic='-Xcompiler -fPIC'
  8318        ;;
  8319      esac
  8320    else
  8321      # PORTME Check for flag to pass linker flags through the system compiler.
  8322      case $host_os in
  8323      aix*)
  8324        lt_prog_compiler_wl='-Wl,'
  8325        if test "$host_cpu" = ia64; then
  8326  	# AIX 5 now supports IA64 processor
  8327  	lt_prog_compiler_static='-Bstatic'
  8328        else
  8329  	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  8330        fi
  8331        ;;
  8332  
  8333      mingw* | cygwin* | pw32* | os2* | cegcc*)
  8334        # This hack is so that the source file can tell whether it is being
  8335        # built for inclusion in a dll (and should export symbols for example).
  8336        lt_prog_compiler_pic='-DDLL_EXPORT'
  8337        ;;
  8338  
  8339      hpux9* | hpux10* | hpux11*)
  8340        lt_prog_compiler_wl='-Wl,'
  8341        # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  8342        # not for PA HP-UX.
  8343        case $host_cpu in
  8344        hppa*64*|ia64*)
  8345  	# +Z the default
  8346  	;;
  8347        *)
  8348  	lt_prog_compiler_pic='+Z'
  8349  	;;
  8350        esac
  8351        # Is there a better lt_prog_compiler_static that works with the bundled CC?
  8352        lt_prog_compiler_static='${wl}-a ${wl}archive'
  8353        ;;
  8354  
  8355      irix5* | irix6* | nonstopux*)
  8356        lt_prog_compiler_wl='-Wl,'
  8357        # PIC (with -KPIC) is the default.
  8358        lt_prog_compiler_static='-non_shared'
  8359        ;;
  8360  
  8361      linux* | k*bsd*-gnu | kopensolaris*-gnu)
  8362        case $cc_basename in
  8363        # old Intel for x86_64 which still supported -KPIC.
  8364        ecc*)
  8365  	lt_prog_compiler_wl='-Wl,'
  8366  	lt_prog_compiler_pic='-KPIC'
  8367  	lt_prog_compiler_static='-static'
  8368          ;;
  8369        # icc used to be incompatible with GCC.
  8370        # ICC 10 doesn't accept -KPIC any more.
  8371        icc* | ifort*)
  8372  	lt_prog_compiler_wl='-Wl,'
  8373  	lt_prog_compiler_pic='-fPIC'
  8374  	lt_prog_compiler_static='-static'
  8375          ;;
  8376        # Lahey Fortran 8.1.
  8377        lf95*)
  8378  	lt_prog_compiler_wl='-Wl,'
  8379  	lt_prog_compiler_pic='--shared'
  8380  	lt_prog_compiler_static='--static'
  8381  	;;
  8382        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
  8383          # Portland Group compilers (*not* the Pentium gcc compiler,
  8384  	# which looks to be a dead project)
  8385  	lt_prog_compiler_wl='-Wl,'
  8386  	lt_prog_compiler_pic='-fpic'
  8387  	lt_prog_compiler_static='-Bstatic'
  8388          ;;
  8389        ccc*)
  8390          lt_prog_compiler_wl='-Wl,'
  8391          # All Alpha code is PIC.
  8392          lt_prog_compiler_static='-non_shared'
  8393          ;;
  8394        xl* | bgxl* | bgf* | mpixl*)
  8395  	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
  8396  	lt_prog_compiler_wl='-Wl,'
  8397  	lt_prog_compiler_pic='-qpic'
  8398  	lt_prog_compiler_static='-qstaticlink'
  8399  	;;
  8400        *)
  8401  	case `$CC -V 2>&1 | sed 5q` in
  8402  	*Sun\ F* | *Sun*Fortran*)
  8403  	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
  8404  	  lt_prog_compiler_pic='-KPIC'
  8405  	  lt_prog_compiler_static='-Bstatic'
  8406  	  lt_prog_compiler_wl=''
  8407  	  ;;
  8408  	*Sun\ C*)
  8409  	  # Sun C 5.9
  8410  	  lt_prog_compiler_pic='-KPIC'
  8411  	  lt_prog_compiler_static='-Bstatic'
  8412  	  lt_prog_compiler_wl='-Wl,'
  8413  	  ;;
  8414  	esac
  8415  	;;
  8416        esac
  8417        ;;
  8418  
  8419      newsos6)
  8420        lt_prog_compiler_pic='-KPIC'
  8421        lt_prog_compiler_static='-Bstatic'
  8422        ;;
  8423  
  8424      *nto* | *qnx*)
  8425        # QNX uses GNU C++, but need to define -shared option too, otherwise
  8426        # it will coredump.
  8427        lt_prog_compiler_pic='-fPIC -shared'
  8428        ;;
  8429  
  8430      osf3* | osf4* | osf5*)
  8431        lt_prog_compiler_wl='-Wl,'
  8432        # All OSF/1 code is PIC.
  8433        lt_prog_compiler_static='-non_shared'
  8434        ;;
  8435  
  8436      rdos*)
  8437        lt_prog_compiler_static='-non_shared'
  8438        ;;
  8439  
  8440      solaris*)
  8441        lt_prog_compiler_pic='-KPIC'
  8442        lt_prog_compiler_static='-Bstatic'
  8443        case $cc_basename in
  8444        f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
  8445  	lt_prog_compiler_wl='-Qoption ld ';;
  8446        *)
  8447  	lt_prog_compiler_wl='-Wl,';;
  8448        esac
  8449        ;;
  8450  
  8451      sunos4*)
  8452        lt_prog_compiler_wl='-Qoption ld '
  8453        lt_prog_compiler_pic='-PIC'
  8454        lt_prog_compiler_static='-Bstatic'
  8455        ;;
  8456  
  8457      sysv4 | sysv4.2uw2* | sysv4.3*)
  8458        lt_prog_compiler_wl='-Wl,'
  8459        lt_prog_compiler_pic='-KPIC'
  8460        lt_prog_compiler_static='-Bstatic'
  8461        ;;
  8462  
  8463      sysv4*MP*)
  8464        if test -d /usr/nec ;then
  8465  	lt_prog_compiler_pic='-Kconform_pic'
  8466  	lt_prog_compiler_static='-Bstatic'
  8467        fi
  8468        ;;
  8469  
  8470      sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  8471        lt_prog_compiler_wl='-Wl,'
  8472        lt_prog_compiler_pic='-KPIC'
  8473        lt_prog_compiler_static='-Bstatic'
  8474        ;;
  8475  
  8476      unicos*)
  8477        lt_prog_compiler_wl='-Wl,'
  8478        lt_prog_compiler_can_build_shared=no
  8479        ;;
  8480  
  8481      uts4*)
  8482        lt_prog_compiler_pic='-pic'
  8483        lt_prog_compiler_static='-Bstatic'
  8484        ;;
  8485  
  8486      *)
  8487        lt_prog_compiler_can_build_shared=no
  8488        ;;
  8489      esac
  8490    fi
  8491  
  8492  case $host_os in
  8493    # For platforms which do not support PIC, -DPIC is meaningless:
  8494    *djgpp*)
  8495      lt_prog_compiler_pic=
  8496      ;;
  8497    *)
  8498      lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  8499      ;;
  8500  esac
  8501  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
  8502  $as_echo "$lt_prog_compiler_pic" >&6; }
  8503  
  8504  
  8505  
  8506  
  8507  
  8508  
  8509  #
  8510  # Check to make sure the PIC flag actually works.
  8511  #
  8512  if test -n "$lt_prog_compiler_pic"; then
  8513    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  8514  $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  8515  if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
  8516    $as_echo_n "(cached) " >&6
  8517  else
  8518    lt_cv_prog_compiler_pic_works=no
  8519     ac_outfile=conftest.$ac_objext
  8520     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8521     lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  8522     # Insert the option either (1) after the last *FLAGS variable, or
  8523     # (2) before a word containing "conftest.", or (3) at the end.
  8524     # Note that $ac_compile itself does not contain backslashes and begins
  8525     # with a dollar sign (not a hyphen), so the echo should work correctly.
  8526     # The option is referenced via a variable to avoid confusing sed.
  8527     lt_compile=`echo "$ac_compile" | $SED \
  8528     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8529     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8530     -e 's:$: $lt_compiler_flag:'`
  8531     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8532     (eval "$lt_compile" 2>conftest.err)
  8533     ac_status=$?
  8534     cat conftest.err >&5
  8535     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8536     if (exit $ac_status) && test -s "$ac_outfile"; then
  8537       # The compiler can only warn and ignore the option if not recognized
  8538       # So say no if there are warnings other than the usual output.
  8539       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
  8540       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8541       if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  8542         lt_cv_prog_compiler_pic_works=yes
  8543       fi
  8544     fi
  8545     $RM conftest*
  8546  
  8547  fi
  8548  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
  8549  $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  8550  
  8551  if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  8552      case $lt_prog_compiler_pic in
  8553       "" | " "*) ;;
  8554       *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  8555       esac
  8556  else
  8557      lt_prog_compiler_pic=
  8558       lt_prog_compiler_can_build_shared=no
  8559  fi
  8560  
  8561  fi
  8562  
  8563  
  8564  
  8565  
  8566  
  8567  
  8568  #
  8569  # Check to make sure the static flag actually works.
  8570  #
  8571  wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  8572  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  8573  $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  8574  if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
  8575    $as_echo_n "(cached) " >&6
  8576  else
  8577    lt_cv_prog_compiler_static_works=no
  8578     save_LDFLAGS="$LDFLAGS"
  8579     LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  8580     echo "$lt_simple_link_test_code" > conftest.$ac_ext
  8581     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  8582       # The linker can only warn and ignore the option if not recognized
  8583       # So say no if there are warnings
  8584       if test -s conftest.err; then
  8585         # Append any errors to the config.log.
  8586         cat conftest.err 1>&5
  8587         $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  8588         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  8589         if diff conftest.exp conftest.er2 >/dev/null; then
  8590           lt_cv_prog_compiler_static_works=yes
  8591         fi
  8592       else
  8593         lt_cv_prog_compiler_static_works=yes
  8594       fi
  8595     fi
  8596     $RM -r conftest*
  8597     LDFLAGS="$save_LDFLAGS"
  8598  
  8599  fi
  8600  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
  8601  $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  8602  
  8603  if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  8604      :
  8605  else
  8606      lt_prog_compiler_static=
  8607  fi
  8608  
  8609  
  8610  
  8611  
  8612  
  8613  
  8614  
  8615    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8616  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8617  if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  8618    $as_echo_n "(cached) " >&6
  8619  else
  8620    lt_cv_prog_compiler_c_o=no
  8621     $RM -r conftest 2>/dev/null
  8622     mkdir conftest
  8623     cd conftest
  8624     mkdir out
  8625     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8626  
  8627     lt_compiler_flag="-o out/conftest2.$ac_objext"
  8628     # Insert the option either (1) after the last *FLAGS variable, or
  8629     # (2) before a word containing "conftest.", or (3) at the end.
  8630     # Note that $ac_compile itself does not contain backslashes and begins
  8631     # with a dollar sign (not a hyphen), so the echo should work correctly.
  8632     lt_compile=`echo "$ac_compile" | $SED \
  8633     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8634     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8635     -e 's:$: $lt_compiler_flag:'`
  8636     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8637     (eval "$lt_compile" 2>out/conftest.err)
  8638     ac_status=$?
  8639     cat out/conftest.err >&5
  8640     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8641     if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8642     then
  8643       # The compiler can only warn and ignore the option if not recognized
  8644       # So say no if there are warnings
  8645       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8646       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8647       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8648         lt_cv_prog_compiler_c_o=yes
  8649       fi
  8650     fi
  8651     chmod u+w . 2>&5
  8652     $RM conftest*
  8653     # SGI C++ compiler will create directory out/ii_files/ for
  8654     # template instantiation
  8655     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8656     $RM out/* && rmdir out
  8657     cd ..
  8658     $RM -r conftest
  8659     $RM conftest*
  8660  
  8661  fi
  8662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8663  $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8664  
  8665  
  8666  
  8667  
  8668  
  8669  
  8670    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
  8671  $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  8672  if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
  8673    $as_echo_n "(cached) " >&6
  8674  else
  8675    lt_cv_prog_compiler_c_o=no
  8676     $RM -r conftest 2>/dev/null
  8677     mkdir conftest
  8678     cd conftest
  8679     mkdir out
  8680     echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8681  
  8682     lt_compiler_flag="-o out/conftest2.$ac_objext"
  8683     # Insert the option either (1) after the last *FLAGS variable, or
  8684     # (2) before a word containing "conftest.", or (3) at the end.
  8685     # Note that $ac_compile itself does not contain backslashes and begins
  8686     # with a dollar sign (not a hyphen), so the echo should work correctly.
  8687     lt_compile=`echo "$ac_compile" | $SED \
  8688     -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  8689     -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  8690     -e 's:$: $lt_compiler_flag:'`
  8691     (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
  8692     (eval "$lt_compile" 2>out/conftest.err)
  8693     ac_status=$?
  8694     cat out/conftest.err >&5
  8695     echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8696     if (exit $ac_status) && test -s out/conftest2.$ac_objext
  8697     then
  8698       # The compiler can only warn and ignore the option if not recognized
  8699       # So say no if there are warnings
  8700       $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
  8701       $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  8702       if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  8703         lt_cv_prog_compiler_c_o=yes
  8704       fi
  8705     fi
  8706     chmod u+w . 2>&5
  8707     $RM conftest*
  8708     # SGI C++ compiler will create directory out/ii_files/ for
  8709     # template instantiation
  8710     test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  8711     $RM out/* && rmdir out
  8712     cd ..
  8713     $RM -r conftest
  8714     $RM conftest*
  8715  
  8716  fi
  8717  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
  8718  $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  8719  
  8720  
  8721  
  8722  
  8723  hard_links="nottested"
  8724  if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  8725    # do not overwrite the value of need_locks provided by the user
  8726    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
  8727  $as_echo_n "checking if we can lock with hard links... " >&6; }
  8728    hard_links=yes
  8729    $RM conftest*
  8730    ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8731    touch conftest.a
  8732    ln conftest.a conftest.b 2>&5 || hard_links=no
  8733    ln conftest.a conftest.b 2>/dev/null && hard_links=no
  8734    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
  8735  $as_echo "$hard_links" >&6; }
  8736    if test "$hard_links" = no; then
  8737      { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  8738  $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  8739      need_locks=warn
  8740    fi
  8741  else
  8742    need_locks=no
  8743  fi
  8744  
  8745  
  8746  
  8747  
  8748  
  8749  
  8750    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  8751  $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  8752  
  8753    runpath_var=
  8754    allow_undefined_flag=
  8755    always_export_symbols=no
  8756    archive_cmds=
  8757    archive_expsym_cmds=
  8758    compiler_needs_object=no
  8759    enable_shared_with_static_runtimes=no
  8760    export_dynamic_flag_spec=
  8761    export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  8762    hardcode_automatic=no
  8763    hardcode_direct=no
  8764    hardcode_direct_absolute=no
  8765    hardcode_libdir_flag_spec=
  8766    hardcode_libdir_flag_spec_ld=
  8767    hardcode_libdir_separator=
  8768    hardcode_minus_L=no
  8769    hardcode_shlibpath_var=unsupported
  8770    inherit_rpath=no
  8771    link_all_deplibs=unknown
  8772    module_cmds=
  8773    module_expsym_cmds=
  8774    old_archive_from_new_cmds=
  8775    old_archive_from_expsyms_cmds=
  8776    thread_safe_flag_spec=
  8777    whole_archive_flag_spec=
  8778    # include_expsyms should be a list of space-separated symbols to be *always*
  8779    # included in the symbol list
  8780    include_expsyms=
  8781    # exclude_expsyms can be an extended regexp of symbols to exclude
  8782    # it will be wrapped by ` (' and `)$', so one must not match beginning or
  8783    # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  8784    # as well as any symbol that contains `d'.
  8785    exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  8786    # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  8787    # platforms (ab)use it in PIC code, but their linkers get confused if
  8788    # the symbol is explicitly referenced.  Since portable code cannot
  8789    # rely on this symbol name, it's probably fine to never include it in
  8790    # preloaded symbol tables.
  8791    # Exclude shared library initialization/finalization symbols.
  8792    extract_expsyms_cmds=
  8793  
  8794    case $host_os in
  8795    cygwin* | mingw* | pw32* | cegcc*)
  8796      # FIXME: the MSVC++ port hasn't been tested in a loooong time
  8797      # When not using gcc, we currently assume that we are using
  8798      # Microsoft Visual C++.
  8799      if test "$GCC" != yes; then
  8800        with_gnu_ld=no
  8801      fi
  8802      ;;
  8803    interix*)
  8804      # we just hope/assume this is gcc and not c89 (= MSVC++)
  8805      with_gnu_ld=yes
  8806      ;;
  8807    openbsd*)
  8808      with_gnu_ld=no
  8809      ;;
  8810    esac
  8811  
  8812    ld_shlibs=yes
  8813  
  8814    # On some targets, GNU ld is compatible enough with the native linker
  8815    # that we're better off using the native interface for both.
  8816    lt_use_gnu_ld_interface=no
  8817    if test "$with_gnu_ld" = yes; then
  8818      case $host_os in
  8819        aix*)
  8820  	# The AIX port of GNU ld has always aspired to compatibility
  8821  	# with the native linker.  However, as the warning in the GNU ld
  8822  	# block says, versions before 2.19.5* couldn't really create working
  8823  	# shared libraries, regardless of the interface used.
  8824  	case `$LD -v 2>&1` in
  8825  	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
  8826  	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
  8827  	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
  8828  	  *)
  8829  	    lt_use_gnu_ld_interface=yes
  8830  	    ;;
  8831  	esac
  8832  	;;
  8833        *)
  8834  	lt_use_gnu_ld_interface=yes
  8835  	;;
  8836      esac
  8837    fi
  8838  
  8839    if test "$lt_use_gnu_ld_interface" = yes; then
  8840      # If archive_cmds runs LD, not CC, wlarc should be empty
  8841      wlarc='${wl}'
  8842  
  8843      # Set some defaults for GNU ld with shared library support. These
  8844      # are reset later if shared libraries are not supported. Putting them
  8845      # here allows them to be overridden if necessary.
  8846      runpath_var=LD_RUN_PATH
  8847      hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8848      export_dynamic_flag_spec='${wl}--export-dynamic'
  8849      # ancient GNU ld didn't support --whole-archive et. al.
  8850      if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  8851        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  8852      else
  8853        whole_archive_flag_spec=
  8854      fi
  8855      supports_anon_versioning=no
  8856      case `$LD -v 2>&1` in
  8857        *GNU\ gold*) supports_anon_versioning=yes ;;
  8858        *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  8859        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  8860        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  8861        *\ 2.11.*) ;; # other 2.11 versions
  8862        *) supports_anon_versioning=yes ;;
  8863      esac
  8864  
  8865      # See if GNU ld supports shared libraries.
  8866      case $host_os in
  8867      aix[3-9]*)
  8868        # On AIX/PPC, the GNU linker is very broken
  8869        if test "$host_cpu" != ia64; then
  8870  	ld_shlibs=no
  8871  	cat <<_LT_EOF 1>&2
  8872  
  8873  *** Warning: the GNU linker, at least up to release 2.19, is reported
  8874  *** to be unable to reliably create shared libraries on AIX.
  8875  *** Therefore, libtool is disabling shared libraries support.  If you
  8876  *** really care for shared libraries, you may want to install binutils
  8877  *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
  8878  *** You will then need to restart the configuration process.
  8879  
  8880  _LT_EOF
  8881        fi
  8882        ;;
  8883  
  8884      amigaos*)
  8885        case $host_cpu in
  8886        powerpc)
  8887              # see comment about AmigaOS4 .so support
  8888              archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8889              archive_expsym_cmds=''
  8890          ;;
  8891        m68k)
  8892              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)'
  8893              hardcode_libdir_flag_spec='-L$libdir'
  8894              hardcode_minus_L=yes
  8895          ;;
  8896        esac
  8897        ;;
  8898  
  8899      beos*)
  8900        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8901  	allow_undefined_flag=unsupported
  8902  	# Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8903  	# support --undefined.  This deserves some investigation.  FIXME
  8904  	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8905        else
  8906  	ld_shlibs=no
  8907        fi
  8908        ;;
  8909  
  8910      cygwin* | mingw* | pw32* | cegcc*)
  8911        # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8912        # as there is no search path for DLLs.
  8913        hardcode_libdir_flag_spec='-L$libdir'
  8914        export_dynamic_flag_spec='${wl}--export-all-symbols'
  8915        allow_undefined_flag=unsupported
  8916        always_export_symbols=no
  8917        enable_shared_with_static_runtimes=yes
  8918        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8919  
  8920        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8921          archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8922  	# If the export-symbols file already is a .def file (1st line
  8923  	# is EXPORTS), use it as is; otherwise, prepend...
  8924  	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8925  	  cp $export_symbols $output_objdir/$soname.def;
  8926  	else
  8927  	  echo EXPORTS > $output_objdir/$soname.def;
  8928  	  cat $export_symbols >> $output_objdir/$soname.def;
  8929  	fi~
  8930  	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8931        else
  8932  	ld_shlibs=no
  8933        fi
  8934        ;;
  8935  
  8936      haiku*)
  8937        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8938        link_all_deplibs=yes
  8939        ;;
  8940  
  8941      interix[3-9]*)
  8942        hardcode_direct=no
  8943        hardcode_shlibpath_var=no
  8944        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8945        export_dynamic_flag_spec='${wl}-E'
  8946        # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8947        # Instead, shared libraries are loaded at an image base (0x10000000 by
  8948        # default) and relocated if they conflict, which is a slow very memory
  8949        # consuming and fragmenting process.  To avoid this, we pick a random,
  8950        # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8951        # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
  8952        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8953        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'
  8954        ;;
  8955  
  8956      gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
  8957        tmp_diet=no
  8958        if test "$host_os" = linux-dietlibc; then
  8959  	case $cc_basename in
  8960  	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
  8961  	esac
  8962        fi
  8963        if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8964  	 && test "$tmp_diet" = no
  8965        then
  8966  	tmp_addflag=
  8967  	tmp_sharedflag='-shared'
  8968  	case $cc_basename,$host_cpu in
  8969          pgcc*)				# Portland Group C compiler
  8970  	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8971  	  tmp_addflag=' $pic_flag'
  8972  	  ;;
  8973  	pgf77* | pgf90* | pgf95* | pgfortran*)
  8974  					# Portland Group f77 and f90 compilers
  8975  	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8976  	  tmp_addflag=' $pic_flag -Mnomain' ;;
  8977  	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
  8978  	  tmp_addflag=' -i_dynamic' ;;
  8979  	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
  8980  	  tmp_addflag=' -i_dynamic -nofor_main' ;;
  8981  	ifc* | ifort*)			# Intel Fortran compiler
  8982  	  tmp_addflag=' -nofor_main' ;;
  8983  	lf95*)				# Lahey Fortran 8.1
  8984  	  whole_archive_flag_spec=
  8985  	  tmp_sharedflag='--shared' ;;
  8986  	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8987  	  tmp_sharedflag='-qmkshrobj'
  8988  	  tmp_addflag= ;;
  8989  	nvcc*)	# Cuda Compiler Driver 2.2
  8990  	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8991  	  compiler_needs_object=yes
  8992  	  ;;
  8993  	esac
  8994  	case `$CC -V 2>&1 | sed 5q` in
  8995  	*Sun\ C*)			# Sun C 5.9
  8996  	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
  8997  	  compiler_needs_object=yes
  8998  	  tmp_sharedflag='-G' ;;
  8999  	*Sun\ F*)			# Sun Fortran 8.3
  9000  	  tmp_sharedflag='-G' ;;
  9001  	esac
  9002  	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9003  
  9004          if test "x$supports_anon_versioning" = xyes; then
  9005            archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9006  	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9007  	    echo "local: *; };" >> $output_objdir/$libname.ver~
  9008  	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  9009          fi
  9010  
  9011  	case $cc_basename in
  9012  	xlf* | bgf* | bgxlf* | mpixlf*)
  9013  	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  9014  	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  9015  	  hardcode_libdir_flag_spec=
  9016  	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
  9017  	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
  9018  	  if test "x$supports_anon_versioning" = xyes; then
  9019  	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  9020  	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  9021  	      echo "local: *; };" >> $output_objdir/$libname.ver~
  9022  	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  9023  	  fi
  9024  	  ;;
  9025  	esac
  9026        else
  9027          ld_shlibs=no
  9028        fi
  9029        ;;
  9030  
  9031      netbsd*)
  9032        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9033  	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  9034  	wlarc=
  9035        else
  9036  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9037  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9038        fi
  9039        ;;
  9040  
  9041      solaris*)
  9042        if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  9043  	ld_shlibs=no
  9044  	cat <<_LT_EOF 1>&2
  9045  
  9046  *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  9047  *** create shared libraries on Solaris systems.  Therefore, libtool
  9048  *** is disabling shared libraries support.  We urge you to upgrade GNU
  9049  *** binutils to release 2.9.1 or newer.  Another option is to modify
  9050  *** your PATH or compiler configuration so that the native linker is
  9051  *** used, and then restart.
  9052  
  9053  _LT_EOF
  9054        elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9055  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9056  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9057        else
  9058  	ld_shlibs=no
  9059        fi
  9060        ;;
  9061  
  9062      sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  9063        case `$LD -v 2>&1` in
  9064          *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  9065  	ld_shlibs=no
  9066  	cat <<_LT_EOF 1>&2
  9067  
  9068  *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  9069  *** reliably create shared libraries on SCO systems.  Therefore, libtool
  9070  *** is disabling shared libraries support.  We urge you to upgrade GNU
  9071  *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
  9072  *** your PATH or compiler configuration so that the native linker is
  9073  *** used, and then restart.
  9074  
  9075  _LT_EOF
  9076  	;;
  9077  	*)
  9078  	  # For security reasons, it is highly recommended that you always
  9079  	  # use absolute paths for naming shared libraries, and exclude the
  9080  	  # DT_RUNPATH tag from executables and libraries.  But doing so
  9081  	  # requires that you compile everything twice, which is a pain.
  9082  	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9083  	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9084  	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9085  	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9086  	  else
  9087  	    ld_shlibs=no
  9088  	  fi
  9089  	;;
  9090        esac
  9091        ;;
  9092  
  9093      sunos4*)
  9094        archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9095        wlarc=
  9096        hardcode_direct=yes
  9097        hardcode_shlibpath_var=no
  9098        ;;
  9099  
  9100      *)
  9101        if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  9102  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9103  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  9104        else
  9105  	ld_shlibs=no
  9106        fi
  9107        ;;
  9108      esac
  9109  
  9110      if test "$ld_shlibs" = no; then
  9111        runpath_var=
  9112        hardcode_libdir_flag_spec=
  9113        export_dynamic_flag_spec=
  9114        whole_archive_flag_spec=
  9115      fi
  9116    else
  9117      # PORTME fill in a description of your system's linker (not GNU ld)
  9118      case $host_os in
  9119      aix3*)
  9120        allow_undefined_flag=unsupported
  9121        always_export_symbols=yes
  9122        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'
  9123        # Note: this linker hardcodes the directories in LIBPATH if there
  9124        # are no directories specified by -L.
  9125        hardcode_minus_L=yes
  9126        if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  9127  	# Neither direct hardcoding nor static linking is supported with a
  9128  	# broken collect2.
  9129  	hardcode_direct=unsupported
  9130        fi
  9131        ;;
  9132  
  9133      aix[4-9]*)
  9134        if test "$host_cpu" = ia64; then
  9135  	# On IA64, the linker does run time linking by default, so we don't
  9136  	# have to do anything special.
  9137  	aix_use_runtimelinking=no
  9138  	exp_sym_flag='-Bexport'
  9139  	no_entry_flag=""
  9140        else
  9141  	# If we're using GNU nm, then we don't want the "-C" option.
  9142  	# -C means demangle to AIX nm, but means don't demangle with GNU nm
  9143  	# Also, AIX nm treats weak defined symbols like other global
  9144  	# defined symbols, whereas GNU nm marks them as "W".
  9145  	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  9146  	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  9147  	else
  9148  	  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'
  9149  	fi
  9150  	aix_use_runtimelinking=no
  9151  
  9152  	# Test if we are trying to use run time linking or normal
  9153  	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
  9154  	# need to do runtime linking.
  9155  	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  9156  	  for ld_flag in $LDFLAGS; do
  9157  	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  9158  	    aix_use_runtimelinking=yes
  9159  	    break
  9160  	  fi
  9161  	  done
  9162  	  ;;
  9163  	esac
  9164  
  9165  	exp_sym_flag='-bexport'
  9166  	no_entry_flag='-bnoentry'
  9167        fi
  9168  
  9169        # When large executables or shared objects are built, AIX ld can
  9170        # have problems creating the table of contents.  If linking a library
  9171        # or program results in "error TOC overflow" add -mminimal-toc to
  9172        # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
  9173        # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  9174  
  9175        archive_cmds=''
  9176        hardcode_direct=yes
  9177        hardcode_direct_absolute=yes
  9178        hardcode_libdir_separator=':'
  9179        link_all_deplibs=yes
  9180        file_list_spec='${wl}-f,'
  9181  
  9182        if test "$GCC" = yes; then
  9183  	case $host_os in aix4.[012]|aix4.[012].*)
  9184  	# We only want to do this on AIX 4.2 and lower, the check
  9185  	# below for broken collect2 doesn't work under 4.3+
  9186  	  collect2name=`${CC} -print-prog-name=collect2`
  9187  	  if test -f "$collect2name" &&
  9188  	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  9189  	  then
  9190  	  # We have reworked collect2
  9191  	  :
  9192  	  else
  9193  	  # We have old collect2
  9194  	  hardcode_direct=unsupported
  9195  	  # It fails to find uninstalled libraries when the uninstalled
  9196  	  # path is not listed in the libpath.  Setting hardcode_minus_L
  9197  	  # to unsupported forces relinking
  9198  	  hardcode_minus_L=yes
  9199  	  hardcode_libdir_flag_spec='-L$libdir'
  9200  	  hardcode_libdir_separator=
  9201  	  fi
  9202  	  ;;
  9203  	esac
  9204  	shared_flag='-shared'
  9205  	if test "$aix_use_runtimelinking" = yes; then
  9206  	  shared_flag="$shared_flag "'${wl}-G'
  9207  	fi
  9208        else
  9209  	# not using gcc
  9210  	if test "$host_cpu" = ia64; then
  9211  	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  9212  	# chokes on -Wl,-G. The following line is correct:
  9213  	  shared_flag='-G'
  9214  	else
  9215  	  if test "$aix_use_runtimelinking" = yes; then
  9216  	    shared_flag='${wl}-G'
  9217  	  else
  9218  	    shared_flag='${wl}-bM:SRE'
  9219  	  fi
  9220  	fi
  9221        fi
  9222  
  9223        export_dynamic_flag_spec='${wl}-bexpall'
  9224        # It seems that -bexpall does not export symbols beginning with
  9225        # underscore (_), so it is better to generate a list of symbols to export.
  9226        always_export_symbols=yes
  9227        if test "$aix_use_runtimelinking" = yes; then
  9228  	# Warning - without using the other runtime loading flags (-brtl),
  9229  	# -berok will link without error, but may produce a broken library.
  9230  	allow_undefined_flag='-berok'
  9231          # Determine the default libpath from the value encoded in an
  9232          # empty executable.
  9233          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9234  /* end confdefs.h.  */
  9235  
  9236  int
  9237  main ()
  9238  {
  9239  
  9240    ;
  9241    return 0;
  9242  }
  9243  _ACEOF
  9244  if ac_fn_c_try_link "$LINENO"; then :
  9245  
  9246  lt_aix_libpath_sed='
  9247      /Import File Strings/,/^$/ {
  9248  	/^0/ {
  9249  	    s/^0  *\(.*\)$/\1/
  9250  	    p
  9251  	}
  9252      }'
  9253  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9254  # Check for a 64-bit object if we didn't find anything.
  9255  if test -z "$aix_libpath"; then
  9256    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9257  fi
  9258  fi
  9259  rm -f core conftest.err conftest.$ac_objext \
  9260      conftest$ac_exeext conftest.$ac_ext
  9261  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9262  
  9263          hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9264          archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  9265        else
  9266  	if test "$host_cpu" = ia64; then
  9267  	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  9268  	  allow_undefined_flag="-z nodefs"
  9269  	  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"
  9270  	else
  9271  	 # Determine the default libpath from the value encoded in an
  9272  	 # empty executable.
  9273  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9274  /* end confdefs.h.  */
  9275  
  9276  int
  9277  main ()
  9278  {
  9279  
  9280    ;
  9281    return 0;
  9282  }
  9283  _ACEOF
  9284  if ac_fn_c_try_link "$LINENO"; then :
  9285  
  9286  lt_aix_libpath_sed='
  9287      /Import File Strings/,/^$/ {
  9288  	/^0/ {
  9289  	    s/^0  *\(.*\)$/\1/
  9290  	    p
  9291  	}
  9292      }'
  9293  aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9294  # Check for a 64-bit object if we didn't find anything.
  9295  if test -z "$aix_libpath"; then
  9296    aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  9297  fi
  9298  fi
  9299  rm -f core conftest.err conftest.$ac_objext \
  9300      conftest$ac_exeext conftest.$ac_ext
  9301  if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  9302  
  9303  	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  9304  	  # Warning - without using the other run time loading flags,
  9305  	  # -berok will link without error, but may produce a broken library.
  9306  	  no_undefined_flag=' ${wl}-bernotok'
  9307  	  allow_undefined_flag=' ${wl}-berok'
  9308  	  if test "$with_gnu_ld" = yes; then
  9309  	    # We only use this code for GNU lds that support --whole-archive.
  9310  	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
  9311  	  else
  9312  	    # Exported symbols can be pulled into shared objects from archives
  9313  	    whole_archive_flag_spec='$convenience'
  9314  	  fi
  9315  	  archive_cmds_need_lc=yes
  9316  	  # This is similar to how AIX traditionally builds its shared libraries.
  9317  	  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'
  9318  	fi
  9319        fi
  9320        ;;
  9321  
  9322      amigaos*)
  9323        case $host_cpu in
  9324        powerpc)
  9325              # see comment about AmigaOS4 .so support
  9326              archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  9327              archive_expsym_cmds=''
  9328          ;;
  9329        m68k)
  9330              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)'
  9331              hardcode_libdir_flag_spec='-L$libdir'
  9332              hardcode_minus_L=yes
  9333          ;;
  9334        esac
  9335        ;;
  9336  
  9337      bsdi[45]*)
  9338        export_dynamic_flag_spec=-rdynamic
  9339        ;;
  9340  
  9341      cygwin* | mingw* | pw32* | cegcc*)
  9342        # When not using gcc, we currently assume that we are using
  9343        # Microsoft Visual C++.
  9344        # hardcode_libdir_flag_spec is actually meaningless, as there is
  9345        # no search path for DLLs.
  9346        hardcode_libdir_flag_spec=' '
  9347        allow_undefined_flag=unsupported
  9348        # Tell ltmain to make .lib files, not .a files.
  9349        libext=lib
  9350        # Tell ltmain to make .dll files, not .so files.
  9351        shrext_cmds=".dll"
  9352        # FIXME: Setting linknames here is a bad hack.
  9353        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
  9354        # The linker will automatically build a .lib file if we build a DLL.
  9355        old_archive_from_new_cmds='true'
  9356        # FIXME: Should let the user specify the lib program.
  9357        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  9358        fix_srcfile_path='`cygpath -w "$srcfile"`'
  9359        enable_shared_with_static_runtimes=yes
  9360        ;;
  9361  
  9362      darwin* | rhapsody*)
  9363  
  9364  
  9365    archive_cmds_need_lc=no
  9366    hardcode_direct=no
  9367    hardcode_automatic=yes
  9368    hardcode_shlibpath_var=unsupported
  9369    if test "$lt_cv_ld_force_load" = "yes"; then
  9370      whole_archive_flag_spec='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
  9371    else
  9372      whole_archive_flag_spec=''
  9373    fi
  9374    link_all_deplibs=yes
  9375    allow_undefined_flag="$_lt_dar_allow_undefined"
  9376    case $cc_basename in
  9377       ifort*) _lt_dar_can_shared=yes ;;
  9378       *) _lt_dar_can_shared=$GCC ;;
  9379    esac
  9380    if test "$_lt_dar_can_shared" = "yes"; then
  9381      output_verbose_link_cmd=func_echo_all
  9382      archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  9383      module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  9384      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}"
  9385      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}"
  9386  
  9387    else
  9388    ld_shlibs=no
  9389    fi
  9390  
  9391        ;;
  9392  
  9393      dgux*)
  9394        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9395        hardcode_libdir_flag_spec='-L$libdir'
  9396        hardcode_shlibpath_var=no
  9397        ;;
  9398  
  9399      freebsd1*)
  9400        ld_shlibs=no
  9401        ;;
  9402  
  9403      # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  9404      # support.  Future versions do this automatically, but an explicit c++rt0.o
  9405      # does not break anything, and helps significantly (at the cost of a little
  9406      # extra space).
  9407      freebsd2.2*)
  9408        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  9409        hardcode_libdir_flag_spec='-R$libdir'
  9410        hardcode_direct=yes
  9411        hardcode_shlibpath_var=no
  9412        ;;
  9413  
  9414      # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  9415      freebsd2*)
  9416        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9417        hardcode_direct=yes
  9418        hardcode_minus_L=yes
  9419        hardcode_shlibpath_var=no
  9420        ;;
  9421  
  9422      # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  9423      freebsd* | dragonfly*)
  9424        archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  9425        hardcode_libdir_flag_spec='-R$libdir'
  9426        hardcode_direct=yes
  9427        hardcode_shlibpath_var=no
  9428        ;;
  9429  
  9430      hpux9*)
  9431        if test "$GCC" = yes; then
  9432  	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'
  9433        else
  9434  	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'
  9435        fi
  9436        hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9437        hardcode_libdir_separator=:
  9438        hardcode_direct=yes
  9439  
  9440        # hardcode_minus_L: Not really in the search PATH,
  9441        # but as the default location of the library.
  9442        hardcode_minus_L=yes
  9443        export_dynamic_flag_spec='${wl}-E'
  9444        ;;
  9445  
  9446      hpux10*)
  9447        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9448  	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9449        else
  9450  	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9451        fi
  9452        if test "$with_gnu_ld" = no; then
  9453  	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9454  	hardcode_libdir_flag_spec_ld='+b $libdir'
  9455  	hardcode_libdir_separator=:
  9456  	hardcode_direct=yes
  9457  	hardcode_direct_absolute=yes
  9458  	export_dynamic_flag_spec='${wl}-E'
  9459  	# hardcode_minus_L: Not really in the search PATH,
  9460  	# but as the default location of the library.
  9461  	hardcode_minus_L=yes
  9462        fi
  9463        ;;
  9464  
  9465      hpux11*)
  9466        if test "$GCC" = yes && test "$with_gnu_ld" = no; then
  9467  	case $host_cpu in
  9468  	hppa*64*)
  9469  	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9470  	  ;;
  9471  	ia64*)
  9472  	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9473  	  ;;
  9474  	*)
  9475  	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9476  	  ;;
  9477  	esac
  9478        else
  9479  	case $host_cpu in
  9480  	hppa*64*)
  9481  	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9482  	  ;;
  9483  	ia64*)
  9484  	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  9485  	  ;;
  9486  	*)
  9487  
  9488  	  # Older versions of the 11.00 compiler do not understand -b yet
  9489  	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
  9490  	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
  9491  $as_echo_n "checking if $CC understands -b... " >&6; }
  9492  if test "${lt_cv_prog_compiler__b+set}" = set; then :
  9493    $as_echo_n "(cached) " >&6
  9494  else
  9495    lt_cv_prog_compiler__b=no
  9496     save_LDFLAGS="$LDFLAGS"
  9497     LDFLAGS="$LDFLAGS -b"
  9498     echo "$lt_simple_link_test_code" > conftest.$ac_ext
  9499     if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  9500       # The linker can only warn and ignore the option if not recognized
  9501       # So say no if there are warnings
  9502       if test -s conftest.err; then
  9503         # Append any errors to the config.log.
  9504         cat conftest.err 1>&5
  9505         $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
  9506         $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  9507         if diff conftest.exp conftest.er2 >/dev/null; then
  9508           lt_cv_prog_compiler__b=yes
  9509         fi
  9510       else
  9511         lt_cv_prog_compiler__b=yes
  9512       fi
  9513     fi
  9514     $RM -r conftest*
  9515     LDFLAGS="$save_LDFLAGS"
  9516  
  9517  fi
  9518  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
  9519  $as_echo "$lt_cv_prog_compiler__b" >&6; }
  9520  
  9521  if test x"$lt_cv_prog_compiler__b" = xyes; then
  9522      archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  9523  else
  9524      archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  9525  fi
  9526  
  9527  	  ;;
  9528  	esac
  9529        fi
  9530        if test "$with_gnu_ld" = no; then
  9531  	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  9532  	hardcode_libdir_separator=:
  9533  
  9534  	case $host_cpu in
  9535  	hppa*64*|ia64*)
  9536  	  hardcode_direct=no
  9537  	  hardcode_shlibpath_var=no
  9538  	  ;;
  9539  	*)
  9540  	  hardcode_direct=yes
  9541  	  hardcode_direct_absolute=yes
  9542  	  export_dynamic_flag_spec='${wl}-E'
  9543  
  9544  	  # hardcode_minus_L: Not really in the search PATH,
  9545  	  # but as the default location of the library.
  9546  	  hardcode_minus_L=yes
  9547  	  ;;
  9548  	esac
  9549        fi
  9550        ;;
  9551  
  9552      irix5* | irix6* | nonstopux*)
  9553        if test "$GCC" = yes; then
  9554  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9555  	# Try to use the -exported_symbol ld option, if it does not
  9556  	# work, assume that -exports_file does not work either and
  9557  	# implicitly export all symbols.
  9558          save_LDFLAGS="$LDFLAGS"
  9559          LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  9560          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9561  /* end confdefs.h.  */
  9562  int foo(void) {}
  9563  _ACEOF
  9564  if ac_fn_c_try_link "$LINENO"; then :
  9565    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  9566  
  9567  fi
  9568  rm -f core conftest.err conftest.$ac_objext \
  9569      conftest$ac_exeext conftest.$ac_ext
  9570          LDFLAGS="$save_LDFLAGS"
  9571        else
  9572  	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9573  	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  9574        fi
  9575        archive_cmds_need_lc='no'
  9576        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9577        hardcode_libdir_separator=:
  9578        inherit_rpath=yes
  9579        link_all_deplibs=yes
  9580        ;;
  9581  
  9582      netbsd*)
  9583        if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9584  	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
  9585        else
  9586  	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
  9587        fi
  9588        hardcode_libdir_flag_spec='-R$libdir'
  9589        hardcode_direct=yes
  9590        hardcode_shlibpath_var=no
  9591        ;;
  9592  
  9593      newsos6)
  9594        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9595        hardcode_direct=yes
  9596        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9597        hardcode_libdir_separator=:
  9598        hardcode_shlibpath_var=no
  9599        ;;
  9600  
  9601      *nto* | *qnx*)
  9602        ;;
  9603  
  9604      openbsd*)
  9605        if test -f /usr/libexec/ld.so; then
  9606  	hardcode_direct=yes
  9607  	hardcode_shlibpath_var=no
  9608  	hardcode_direct_absolute=yes
  9609  	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9610  	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9611  	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  9612  	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9613  	  export_dynamic_flag_spec='${wl}-E'
  9614  	else
  9615  	  case $host_os in
  9616  	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  9617  	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  9618  	     hardcode_libdir_flag_spec='-R$libdir'
  9619  	     ;;
  9620  	   *)
  9621  	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  9622  	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  9623  	     ;;
  9624  	  esac
  9625  	fi
  9626        else
  9627  	ld_shlibs=no
  9628        fi
  9629        ;;
  9630  
  9631      os2*)
  9632        hardcode_libdir_flag_spec='-L$libdir'
  9633        hardcode_minus_L=yes
  9634        allow_undefined_flag=unsupported
  9635        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'
  9636        old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  9637        ;;
  9638  
  9639      osf3*)
  9640        if test "$GCC" = yes; then
  9641  	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9642  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9643        else
  9644  	allow_undefined_flag=' -expect_unresolved \*'
  9645  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9646        fi
  9647        archive_cmds_need_lc='no'
  9648        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9649        hardcode_libdir_separator=:
  9650        ;;
  9651  
  9652      osf4* | osf5*)	# as osf3* with the addition of -msym flag
  9653        if test "$GCC" = yes; then
  9654  	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  9655  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  9656  	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  9657        else
  9658  	allow_undefined_flag=' -expect_unresolved \*'
  9659  	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
  9660  	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~
  9661  	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  9662  
  9663  	# Both c and cxx compiler support -rpath directly
  9664  	hardcode_libdir_flag_spec='-rpath $libdir'
  9665        fi
  9666        archive_cmds_need_lc='no'
  9667        hardcode_libdir_separator=:
  9668        ;;
  9669  
  9670      solaris*)
  9671        no_undefined_flag=' -z defs'
  9672        if test "$GCC" = yes; then
  9673  	wlarc='${wl}'
  9674  	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  9675  	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9676  	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9677        else
  9678  	case `$CC -V 2>&1` in
  9679  	*"Compilers 5.0"*)
  9680  	  wlarc=''
  9681  	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9682  	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9683  	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  9684  	  ;;
  9685  	*)
  9686  	  wlarc='${wl}'
  9687  	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9688  	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  9689  	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  9690  	  ;;
  9691  	esac
  9692        fi
  9693        hardcode_libdir_flag_spec='-R$libdir'
  9694        hardcode_shlibpath_var=no
  9695        case $host_os in
  9696        solaris2.[0-5] | solaris2.[0-5].*) ;;
  9697        *)
  9698  	# The compiler driver will combine and reorder linker options,
  9699  	# but understands `-z linker_flag'.  GCC discards it without `$wl',
  9700  	# but is careful enough not to reorder.
  9701  	# Supported since Solaris 2.6 (maybe 2.5.1?)
  9702  	if test "$GCC" = yes; then
  9703  	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  9704  	else
  9705  	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  9706  	fi
  9707  	;;
  9708        esac
  9709        link_all_deplibs=yes
  9710        ;;
  9711  
  9712      sunos4*)
  9713        if test "x$host_vendor" = xsequent; then
  9714  	# Use $CC to link under sequent, because it throws in some extra .o
  9715  	# files that make .init and .fini sections work.
  9716  	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  9717        else
  9718  	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  9719        fi
  9720        hardcode_libdir_flag_spec='-L$libdir'
  9721        hardcode_direct=yes
  9722        hardcode_minus_L=yes
  9723        hardcode_shlibpath_var=no
  9724        ;;
  9725  
  9726      sysv4)
  9727        case $host_vendor in
  9728  	sni)
  9729  	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9730  	  hardcode_direct=yes # is this really true???
  9731  	;;
  9732  	siemens)
  9733  	  ## LD is ld it makes a PLAMLIB
  9734  	  ## CC just makes a GrossModule.
  9735  	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  9736  	  reload_cmds='$CC -r -o $output$reload_objs'
  9737  	  hardcode_direct=no
  9738          ;;
  9739  	motorola)
  9740  	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9741  	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  9742  	;;
  9743        esac
  9744        runpath_var='LD_RUN_PATH'
  9745        hardcode_shlibpath_var=no
  9746        ;;
  9747  
  9748      sysv4.3*)
  9749        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9750        hardcode_shlibpath_var=no
  9751        export_dynamic_flag_spec='-Bexport'
  9752        ;;
  9753  
  9754      sysv4*MP*)
  9755        if test -d /usr/nec; then
  9756  	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9757  	hardcode_shlibpath_var=no
  9758  	runpath_var=LD_RUN_PATH
  9759  	hardcode_runpath_var=yes
  9760  	ld_shlibs=yes
  9761        fi
  9762        ;;
  9763  
  9764      sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  9765        no_undefined_flag='${wl}-z,text'
  9766        archive_cmds_need_lc=no
  9767        hardcode_shlibpath_var=no
  9768        runpath_var='LD_RUN_PATH'
  9769  
  9770        if test "$GCC" = yes; then
  9771  	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9772  	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9773        else
  9774  	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9775  	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9776        fi
  9777        ;;
  9778  
  9779      sysv5* | sco3.2v5* | sco5v6*)
  9780        # Note: We can NOT use -z defs as we might desire, because we do not
  9781        # link with -lc, and that would cause any symbols used from libc to
  9782        # always be unresolved, which means just about no library would
  9783        # ever link correctly.  If we're not using GNU ld we use -z text
  9784        # though, which does catch some bad symbols but isn't as heavy-handed
  9785        # as -z defs.
  9786        no_undefined_flag='${wl}-z,text'
  9787        allow_undefined_flag='${wl}-z,nodefs'
  9788        archive_cmds_need_lc=no
  9789        hardcode_shlibpath_var=no
  9790        hardcode_libdir_flag_spec='${wl}-R,$libdir'
  9791        hardcode_libdir_separator=':'
  9792        link_all_deplibs=yes
  9793        export_dynamic_flag_spec='${wl}-Bexport'
  9794        runpath_var='LD_RUN_PATH'
  9795  
  9796        if test "$GCC" = yes; then
  9797  	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9798  	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9799        else
  9800  	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9801  	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  9802        fi
  9803        ;;
  9804  
  9805      uts4*)
  9806        archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  9807        hardcode_libdir_flag_spec='-L$libdir'
  9808        hardcode_shlibpath_var=no
  9809        ;;
  9810  
  9811      *)
  9812        ld_shlibs=no
  9813        ;;
  9814      esac
  9815  
  9816      if test x$host_vendor = xsni; then
  9817        case $host in
  9818        sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  9819  	export_dynamic_flag_spec='${wl}-Blargedynsym'
  9820  	;;
  9821        esac
  9822      fi
  9823    fi
  9824  
  9825  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
  9826  $as_echo "$ld_shlibs" >&6; }
  9827  test "$ld_shlibs" = no && can_build_shared=no
  9828  
  9829  with_gnu_ld=$with_gnu_ld
  9830  
  9831  
  9832  
  9833  
  9834  
  9835  
  9836  
  9837  
  9838  
  9839  
  9840  
  9841  
  9842  
  9843  
  9844  
  9845  #
  9846  # Do we need to explicitly link libc?
  9847  #
  9848  case "x$archive_cmds_need_lc" in
  9849  x|xyes)
  9850    # Assume -lc should be added
  9851    archive_cmds_need_lc=yes
  9852  
  9853    if test "$enable_shared" = yes && test "$GCC" = yes; then
  9854      case $archive_cmds in
  9855      *'~'*)
  9856        # FIXME: we may have to deal with multi-command sequences.
  9857        ;;
  9858      '$CC '*)
  9859        # Test whether the compiler implicitly links with -lc since on some
  9860        # systems, -lgcc has to come before -lc. If gcc already passes -lc
  9861        # to ld, don't add -lc before -lgcc.
  9862        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
  9863  $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  9864  if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
  9865    $as_echo_n "(cached) " >&6
  9866  else
  9867    $RM conftest*
  9868  	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  9869  
  9870  	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  9871    (eval $ac_compile) 2>&5
  9872    ac_status=$?
  9873    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9874    test $ac_status = 0; } 2>conftest.err; then
  9875  	  soname=conftest
  9876  	  lib=conftest
  9877  	  libobjs=conftest.$ac_objext
  9878  	  deplibs=
  9879  	  wl=$lt_prog_compiler_wl
  9880  	  pic_flag=$lt_prog_compiler_pic
  9881  	  compiler_flags=-v
  9882  	  linker_flags=-v
  9883  	  verstring=
  9884  	  output_objdir=.
  9885  	  libname=conftest
  9886  	  lt_save_allow_undefined_flag=$allow_undefined_flag
  9887  	  allow_undefined_flag=
  9888  	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
  9889    (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  9890    ac_status=$?
  9891    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  9892    test $ac_status = 0; }
  9893  	  then
  9894  	    lt_cv_archive_cmds_need_lc=no
  9895  	  else
  9896  	    lt_cv_archive_cmds_need_lc=yes
  9897  	  fi
  9898  	  allow_undefined_flag=$lt_save_allow_undefined_flag
  9899  	else
  9900  	  cat conftest.err 1>&5
  9901  	fi
  9902  	$RM conftest*
  9903  
  9904  fi
  9905  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
  9906  $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
  9907        archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
  9908        ;;
  9909      esac
  9910    fi
  9911    ;;
  9912  esac
  9913  
  9914  
  9915  
  9916  
  9917  
  9918  
  9919  
  9920  
  9921  
  9922  
  9923  
  9924  
  9925  
  9926  
  9927  
  9928  
  9929  
  9930  
  9931  
  9932  
  9933  
  9934  
  9935  
  9936  
  9937  
  9938  
  9939  
  9940  
  9941  
  9942  
  9943  
  9944  
  9945  
  9946  
  9947  
  9948  
  9949  
  9950  
  9951  
  9952  
  9953  
  9954  
  9955  
  9956  
  9957  
  9958  
  9959  
  9960  
  9961  
  9962  
  9963  
  9964  
  9965  
  9966  
  9967  
  9968  
  9969  
  9970  
  9971  
  9972  
  9973  
  9974  
  9975  
  9976  
  9977  
  9978  
  9979  
  9980  
  9981  
  9982  
  9983  
  9984  
  9985  
  9986  
  9987  
  9988  
  9989  
  9990  
  9991  
  9992  
  9993  
  9994  
  9995  
  9996  
  9997  
  9998  
  9999  
 10000  
 10001  
 10002  
 10003  
 10004  
 10005  
 10006  
 10007  
 10008  
 10009  
 10010  
 10011  
 10012  
 10013  
 10014  
 10015  
 10016  
 10017  
 10018  
 10019  
 10020  
 10021  
 10022  
 10023  
 10024  
 10025  
 10026  
 10027  
 10028  
 10029  
 10030  
 10031  
 10032  
 10033  
 10034  
 10035  
 10036  
 10037  
 10038  
 10039  
 10040  
 10041  
 10042  
 10043  
 10044  
 10045  
 10046  
 10047  
 10048  
 10049  
 10050  
 10051  
 10052  
 10053  
 10054  
 10055  
 10056  
 10057  
 10058  
 10059  
 10060  
 10061  
 10062  
 10063  
 10064  
 10065  
 10066  
 10067  
 10068  
 10069  
 10070    { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
 10071  $as_echo_n "checking dynamic linker characteristics... " >&6; }
 10072  
 10073  if test "$GCC" = yes; then
 10074    case $host_os in
 10075      darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 10076      *) lt_awk_arg="/^libraries:/" ;;
 10077    esac
 10078    case $host_os in
 10079      mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
 10080      *) lt_sed_strip_eq="s,=/,/,g" ;;
 10081    esac
 10082    lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 10083    case $lt_search_path_spec in
 10084    *\;*)
 10085      # if the path contains ";" then we assume it to be the separator
 10086      # otherwise default to the standard path separator (i.e. ":") - it is
 10087      # assumed that no part of a normal pathname contains ";" but that should
 10088      # okay in the real world where ";" in dirpaths is itself problematic.
 10089      lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 10090      ;;
 10091    *)
 10092      lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 10093      ;;
 10094    esac
 10095    # Ok, now we have the path, separated by spaces, we can step through it
 10096    # and add multilib dir if necessary.
 10097    lt_tmp_lt_search_path_spec=
 10098    lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 10099    for lt_sys_path in $lt_search_path_spec; do
 10100      if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 10101        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 10102      else
 10103        test -d "$lt_sys_path" && \
 10104  	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 10105      fi
 10106    done
 10107    lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
 10108  BEGIN {RS=" "; FS="/|\n";} {
 10109    lt_foo="";
 10110    lt_count=0;
 10111    for (lt_i = NF; lt_i > 0; lt_i--) {
 10112      if ($lt_i != "" && $lt_i != ".") {
 10113        if ($lt_i == "..") {
 10114          lt_count++;
 10115        } else {
 10116          if (lt_count == 0) {
 10117            lt_foo="/" $lt_i lt_foo;
 10118          } else {
 10119            lt_count--;
 10120          }
 10121        }
 10122      }
 10123    }
 10124    if (lt_foo != "") { lt_freq[lt_foo]++; }
 10125    if (lt_freq[lt_foo] == 1) { print lt_foo; }
 10126  }'`
 10127    # AWK program above erroneously prepends '/' to C:/dos/paths
 10128    # for these hosts.
 10129    case $host_os in
 10130      mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 10131        $SED 's,/\([A-Za-z]:\),\1,g'` ;;
 10132    esac
 10133    sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
 10134  else
 10135    sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
 10136  fi
 10137  library_names_spec=
 10138  libname_spec='lib$name'
 10139  soname_spec=
 10140  shrext_cmds=".so"
 10141  postinstall_cmds=
 10142  postuninstall_cmds=
 10143  finish_cmds=
 10144  finish_eval=
 10145  shlibpath_var=
 10146  shlibpath_overrides_runpath=unknown
 10147  version_type=none
 10148  dynamic_linker="$host_os ld.so"
 10149  sys_lib_dlsearch_path_spec="/lib /usr/lib"
 10150  need_lib_prefix=unknown
 10151  hardcode_into_libs=no
 10152  
 10153  # when you set need_version to no, make sure it does not cause -set_version
 10154  # flags to be left without arguments
 10155  need_version=unknown
 10156  
 10157  case $host_os in
 10158  aix3*)
 10159    version_type=linux
 10160    library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
 10161    shlibpath_var=LIBPATH
 10162  
 10163    # AIX 3 has no versioning support, so we append a major version to the name.
 10164    soname_spec='${libname}${release}${shared_ext}$major'
 10165    ;;
 10166  
 10167  aix[4-9]*)
 10168    version_type=linux
 10169    need_lib_prefix=no
 10170    need_version=no
 10171    hardcode_into_libs=yes
 10172    if test "$host_cpu" = ia64; then
 10173      # AIX 5 supports IA64
 10174      library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
 10175      shlibpath_var=LD_LIBRARY_PATH
 10176    else
 10177      # With GCC up to 2.95.x, collect2 would create an import file
 10178      # for dependence libraries.  The import file would start with
 10179      # the line `#! .'.  This would cause the generated library to
 10180      # depend on `.', always an invalid library.  This was fixed in
 10181      # development snapshots of GCC prior to 3.0.
 10182      case $host_os in
 10183        aix4 | aix4.[01] | aix4.[01].*)
 10184        if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
 10185  	   echo ' yes '
 10186  	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
 10187  	:
 10188        else
 10189  	can_build_shared=no
 10190        fi
 10191        ;;
 10192      esac
 10193      # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
 10194      # soname into executable. Probably we can add versioning support to
 10195      # collect2, so additional links can be useful in future.
 10196      if test "$aix_use_runtimelinking" = yes; then
 10197        # If using run time linking (on AIX 4.2 or later) use lib<name>.so
 10198        # instead of lib<name>.a to let people know that these are not
 10199        # typical AIX shared libraries.
 10200        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10201      else
 10202        # We preserve .a as extension for shared libraries through AIX4.2
 10203        # and later when we are not doing run time linking.
 10204        library_names_spec='${libname}${release}.a $libname.a'
 10205        soname_spec='${libname}${release}${shared_ext}$major'
 10206      fi
 10207      shlibpath_var=LIBPATH
 10208    fi
 10209    ;;
 10210  
 10211  amigaos*)
 10212    case $host_cpu in
 10213    powerpc)
 10214      # Since July 2007 AmigaOS4 officially supports .so libraries.
 10215      # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
 10216      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10217      ;;
 10218    m68k)
 10219      library_names_spec='$libname.ixlibrary $libname.a'
 10220      # Create ${libname}_ixlibrary.a entries in /sys/libs.
 10221      finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''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'
 10222      ;;
 10223    esac
 10224    ;;
 10225  
 10226  beos*)
 10227    library_names_spec='${libname}${shared_ext}'
 10228    dynamic_linker="$host_os ld.so"
 10229    shlibpath_var=LIBRARY_PATH
 10230    ;;
 10231  
 10232  bsdi[45]*)
 10233    version_type=linux
 10234    need_version=no
 10235    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10236    soname_spec='${libname}${release}${shared_ext}$major'
 10237    finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
 10238    shlibpath_var=LD_LIBRARY_PATH
 10239    sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
 10240    sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
 10241    # the default ld.so.conf also contains /usr/contrib/lib and
 10242    # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
 10243    # libtool to hard-code these into programs
 10244    ;;
 10245  
 10246  cygwin* | mingw* | pw32* | cegcc*)
 10247    version_type=windows
 10248    shrext_cmds=".dll"
 10249    need_version=no
 10250    need_lib_prefix=no
 10251  
 10252    case $GCC,$host_os in
 10253    yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 10254      library_names_spec='$libname.dll.a'
 10255      # DLL is installed to $(libdir)/../bin by postinstall_cmds
 10256      postinstall_cmds='base_file=`basename \${file}`~
 10257        dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 10258        dldir=$destdir/`dirname \$dlpath`~
 10259        test -d \$dldir || mkdir -p \$dldir~
 10260        $install_prog $dir/$dlname \$dldir/$dlname~
 10261        chmod a+x \$dldir/$dlname~
 10262        if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
 10263          eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
 10264        fi'
 10265      postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 10266        dlpath=$dir/\$dldll~
 10267         $RM \$dlpath'
 10268      shlibpath_overrides_runpath=yes
 10269  
 10270      case $host_os in
 10271      cygwin*)
 10272        # Cygwin DLLs use 'cyg' prefix rather than 'lib'
 10273        soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10274  
 10275        sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
 10276        ;;
 10277      mingw* | cegcc*)
 10278        # MinGW DLLs use traditional 'lib' prefix
 10279        soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10280        ;;
 10281      pw32*)
 10282        # pw32 DLLs use 'pw' prefix rather than 'lib'
 10283        library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 10284        ;;
 10285      esac
 10286      ;;
 10287  
 10288    *)
 10289      library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 10290      ;;
 10291    esac
 10292    dynamic_linker='Win32 ld.exe'
 10293    # FIXME: first we should search . and the directory the executable is in
 10294    shlibpath_var=PATH
 10295    ;;
 10296  
 10297  darwin* | rhapsody*)
 10298    dynamic_linker="$host_os dyld"
 10299    version_type=darwin
 10300    need_lib_prefix=no
 10301    need_version=no
 10302    library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
 10303    soname_spec='${libname}${release}${major}$shared_ext'
 10304    shlibpath_overrides_runpath=yes
 10305    shlibpath_var=DYLD_LIBRARY_PATH
 10306    shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
 10307  
 10308    sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
 10309    sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
 10310    ;;
 10311  
 10312  dgux*)
 10313    version_type=linux
 10314    need_lib_prefix=no
 10315    need_version=no
 10316    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
 10317    soname_spec='${libname}${release}${shared_ext}$major'
 10318    shlibpath_var=LD_LIBRARY_PATH
 10319    ;;
 10320  
 10321  freebsd1*)
 10322    dynamic_linker=no
 10323    ;;
 10324  
 10325  freebsd* | dragonfly*)
 10326    # DragonFly does not have aout.  When/if they implement a new
 10327    # versioning mechanism, adjust this.
 10328    if test -x /usr/bin/objformat; then
 10329      objformat=`/usr/bin/objformat`
 10330    else
 10331      case $host_os in
 10332      freebsd[123]*) objformat=aout ;;
 10333      *) objformat=elf ;;
 10334      esac
 10335    fi
 10336    version_type=freebsd-$objformat
 10337    case $version_type in
 10338      freebsd-elf*)
 10339        library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 10340        need_version=no
 10341        need_lib_prefix=no
 10342        ;;
 10343      freebsd-*)
 10344        library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
 10345        need_version=yes
 10346        ;;
 10347    esac
 10348    shlibpath_var=LD_LIBRARY_PATH
 10349    case $host_os in
 10350    freebsd2*)
 10351      shlibpath_overrides_runpath=yes
 10352      ;;
 10353    freebsd3.[01]* | freebsdelf3.[01]*)
 10354      shlibpath_overrides_runpath=yes
 10355      hardcode_into_libs=yes
 10356      ;;
 10357    freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
 10358    freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
 10359      shlibpath_overrides_runpath=no
 10360      hardcode_into_libs=yes
 10361      ;;
 10362    *) # from 4.6 on, and DragonFly
 10363      shlibpath_overrides_runpath=yes
 10364      hardcode_into_libs=yes
 10365      ;;
 10366    esac
 10367    ;;
 10368  
 10369  gnu*)
 10370    version_type=linux
 10371    need_lib_prefix=no
 10372    need_version=no
 10373    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 10374    soname_spec='${libname}${release}${shared_ext}$major'
 10375    shlibpath_var=LD_LIBRARY_PATH
 10376    hardcode_into_libs=yes
 10377    ;;
 10378  
 10379  haiku*)
 10380    version_type=linux
 10381    need_lib_prefix=no
 10382    need_version=no
 10383    dynamic_linker="$host_os runtime_loader"
 10384    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 10385    soname_spec='${libname}${release}${shared_ext}$major'
 10386    shlibpath_var=LIBRARY_PATH
 10387    shlibpath_overrides_runpath=yes
 10388    sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 10389    hardcode_into_libs=yes
 10390    ;;
 10391  
 10392  hpux9* | hpux10* | hpux11*)
 10393    # Give a soname corresponding to the major version so that dld.sl refuses to
 10394    # link against other versions.
 10395    version_type=sunos
 10396    need_lib_prefix=no
 10397    need_version=no
 10398    case $host_cpu in
 10399    ia64*)
 10400      shrext_cmds='.so'
 10401      hardcode_into_libs=yes
 10402      dynamic_linker="$host_os dld.so"
 10403      shlibpath_var=LD_LIBRARY_PATH
 10404      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 10405      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10406      soname_spec='${libname}${release}${shared_ext}$major'
 10407      if test "X$HPUX_IA64_MODE" = X32; then
 10408        sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
 10409      else
 10410        sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
 10411      fi
 10412      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 10413      ;;
 10414    hppa*64*)
 10415      shrext_cmds='.sl'
 10416      hardcode_into_libs=yes
 10417      dynamic_linker="$host_os dld.sl"
 10418      shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
 10419      shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
 10420      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10421      soname_spec='${libname}${release}${shared_ext}$major'
 10422      sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
 10423      sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
 10424      ;;
 10425    *)
 10426      shrext_cmds='.sl'
 10427      dynamic_linker="$host_os dld.sl"
 10428      shlibpath_var=SHLIB_PATH
 10429      shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
 10430      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10431      soname_spec='${libname}${release}${shared_ext}$major'
 10432      ;;
 10433    esac
 10434    # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
 10435    postinstall_cmds='chmod 555 $lib'
 10436    # or fails outright, so override atomically:
 10437    install_override_mode=555
 10438    ;;
 10439  
 10440  interix[3-9]*)
 10441    version_type=linux
 10442    need_lib_prefix=no
 10443    need_version=no
 10444    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 10445    soname_spec='${libname}${release}${shared_ext}$major'
 10446    dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
 10447    shlibpath_var=LD_LIBRARY_PATH
 10448    shlibpath_overrides_runpath=no
 10449    hardcode_into_libs=yes
 10450    ;;
 10451  
 10452  irix5* | irix6* | nonstopux*)
 10453    case $host_os in
 10454      nonstopux*) version_type=nonstopux ;;
 10455      *)
 10456  	if test "$lt_cv_prog_gnu_ld" = yes; then
 10457  		version_type=linux
 10458  	else
 10459  		version_type=irix
 10460  	fi ;;
 10461    esac
 10462    need_lib_prefix=no
 10463    need_version=no
 10464    soname_spec='${libname}${release}${shared_ext}$major'
 10465    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
 10466    case $host_os in
 10467    irix5* | nonstopux*)
 10468      libsuff= shlibsuff=
 10469      ;;
 10470    *)
 10471      case $LD in # libtool.m4 will add one of these switches to LD
 10472      *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
 10473        libsuff= shlibsuff= libmagic=32-bit;;
 10474      *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
 10475        libsuff=32 shlibsuff=N32 libmagic=N32;;
 10476      *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
 10477        libsuff=64 shlibsuff=64 libmagic=64-bit;;
 10478      *) libsuff= shlibsuff= libmagic=never-match;;
 10479      esac
 10480      ;;
 10481    esac
 10482    shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
 10483    shlibpath_overrides_runpath=no
 10484    sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
 10485    sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
 10486    hardcode_into_libs=yes
 10487    ;;
 10488  
 10489  # No shared lib support for Linux oldld, aout, or coff.
 10490  linux*oldld* | linux*aout* | linux*coff*)
 10491    dynamic_linker=no
 10492    ;;
 10493  
 10494  # This must be Linux ELF.
 10495  linux* | k*bsd*-gnu | kopensolaris*-gnu)
 10496    version_type=linux
 10497    need_lib_prefix=no
 10498    need_version=no
 10499    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10500    soname_spec='${libname}${release}${shared_ext}$major'
 10501    finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
 10502    shlibpath_var=LD_LIBRARY_PATH
 10503    shlibpath_overrides_runpath=no
 10504  
 10505    # Some binutils ld are patched to set DT_RUNPATH
 10506    if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 10507    $as_echo_n "(cached) " >&6
 10508  else
 10509    lt_cv_shlibpath_overrides_runpath=no
 10510      save_LDFLAGS=$LDFLAGS
 10511      save_libdir=$libdir
 10512      eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
 10513  	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
 10514      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 10515  /* end confdefs.h.  */
 10516  
 10517  int
 10518  main ()
 10519  {
 10520  
 10521    ;
 10522    return 0;
 10523  }
 10524  _ACEOF
 10525  if ac_fn_c_try_link "$LINENO"; then :
 10526    if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
 10527    lt_cv_shlibpath_overrides_runpath=yes
 10528  fi
 10529  fi
 10530  rm -f core conftest.err conftest.$ac_objext \
 10531      conftest$ac_exeext conftest.$ac_ext
 10532      LDFLAGS=$save_LDFLAGS
 10533      libdir=$save_libdir
 10534  
 10535  fi
 10536  
 10537    shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
 10538  
 10539    # This implies no fast_install, which is unacceptable.
 10540    # Some rework will be needed to allow for fast_install
 10541    # before this can be enabled.
 10542    hardcode_into_libs=yes
 10543  
 10544    # Append ld.so.conf contents to the search path
 10545    if test -f /etc/ld.so.conf; then
 10546      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;s/"//g;/^$/d' | tr '\n' ' '`
 10547      sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 10548    fi
 10549  
 10550    # We used to test for /lib/ld.so.1 and disable shared libraries on
 10551    # powerpc, because MkLinux only supported shared libraries with the
 10552    # GNU dynamic linker.  Since this was broken with cross compilers,
 10553    # most powerpc-linux boxes support dynamic linking these days and
 10554    # people can always --disable-shared, the test was removed, and we
 10555    # assume the GNU/Linux dynamic linker is in use.
 10556    dynamic_linker='GNU/Linux ld.so'
 10557    ;;
 10558  
 10559  netbsd*)
 10560    version_type=sunos
 10561    need_lib_prefix=no
 10562    need_version=no
 10563    if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
 10564      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10565      finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 10566      dynamic_linker='NetBSD (a.out) ld.so'
 10567    else
 10568      library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 10569      soname_spec='${libname}${release}${shared_ext}$major'
 10570      dynamic_linker='NetBSD ld.elf_so'
 10571    fi
 10572    shlibpath_var=LD_LIBRARY_PATH
 10573    shlibpath_overrides_runpath=yes
 10574    hardcode_into_libs=yes
 10575    ;;
 10576  
 10577  newsos6)
 10578    version_type=linux
 10579    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10580    shlibpath_var=LD_LIBRARY_PATH
 10581    shlibpath_overrides_runpath=yes
 10582    ;;
 10583  
 10584  *nto* | *qnx*)
 10585    version_type=qnx
 10586    need_lib_prefix=no
 10587    need_version=no
 10588    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10589    soname_spec='${libname}${release}${shared_ext}$major'
 10590    shlibpath_var=LD_LIBRARY_PATH
 10591    shlibpath_overrides_runpath=no
 10592    hardcode_into_libs=yes
 10593    dynamic_linker='ldqnx.so'
 10594    ;;
 10595  
 10596  openbsd*)
 10597    version_type=sunos
 10598    sys_lib_dlsearch_path_spec="/usr/lib"
 10599    need_lib_prefix=no
 10600    # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 10601    case $host_os in
 10602      openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
 10603      *)				need_version=no  ;;
 10604    esac
 10605    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10606    finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
 10607    shlibpath_var=LD_LIBRARY_PATH
 10608    if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 10609      case $host_os in
 10610        openbsd2.[89] | openbsd2.[89].*)
 10611  	shlibpath_overrides_runpath=no
 10612  	;;
 10613        *)
 10614  	shlibpath_overrides_runpath=yes
 10615  	;;
 10616        esac
 10617    else
 10618      shlibpath_overrides_runpath=yes
 10619    fi
 10620    ;;
 10621  
 10622  os2*)
 10623    libname_spec='$name'
 10624    shrext_cmds=".dll"
 10625    need_lib_prefix=no
 10626    library_names_spec='$libname${shared_ext} $libname.a'
 10627    dynamic_linker='OS/2 ld.exe'
 10628    shlibpath_var=LIBPATH
 10629    ;;
 10630  
 10631  osf3* | osf4* | osf5*)
 10632    version_type=osf
 10633    need_lib_prefix=no
 10634    need_version=no
 10635    soname_spec='${libname}${release}${shared_ext}$major'
 10636    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10637    shlibpath_var=LD_LIBRARY_PATH
 10638    sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
 10639    sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
 10640    ;;
 10641  
 10642  rdos*)
 10643    dynamic_linker=no
 10644    ;;
 10645  
 10646  solaris*)
 10647    version_type=linux
 10648    need_lib_prefix=no
 10649    need_version=no
 10650    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10651    soname_spec='${libname}${release}${shared_ext}$major'
 10652    shlibpath_var=LD_LIBRARY_PATH
 10653    shlibpath_overrides_runpath=yes
 10654    hardcode_into_libs=yes
 10655    # ldd complains unless libraries are executable
 10656    postinstall_cmds='chmod +x $lib'
 10657    ;;
 10658  
 10659  sunos4*)
 10660    version_type=sunos
 10661    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
 10662    finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
 10663    shlibpath_var=LD_LIBRARY_PATH
 10664    shlibpath_overrides_runpath=yes
 10665    if test "$with_gnu_ld" = yes; then
 10666      need_lib_prefix=no
 10667    fi
 10668    need_version=yes
 10669    ;;
 10670  
 10671  sysv4 | sysv4.3*)
 10672    version_type=linux
 10673    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10674    soname_spec='${libname}${release}${shared_ext}$major'
 10675    shlibpath_var=LD_LIBRARY_PATH
 10676    case $host_vendor in
 10677      sni)
 10678        shlibpath_overrides_runpath=no
 10679        need_lib_prefix=no
 10680        runpath_var=LD_RUN_PATH
 10681        ;;
 10682      siemens)
 10683        need_lib_prefix=no
 10684        ;;
 10685      motorola)
 10686        need_lib_prefix=no
 10687        need_version=no
 10688        shlibpath_overrides_runpath=no
 10689        sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
 10690        ;;
 10691    esac
 10692    ;;
 10693  
 10694  sysv4*MP*)
 10695    if test -d /usr/nec ;then
 10696      version_type=linux
 10697      library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
 10698      soname_spec='$libname${shared_ext}.$major'
 10699      shlibpath_var=LD_LIBRARY_PATH
 10700    fi
 10701    ;;
 10702  
 10703  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
 10704    version_type=freebsd-elf
 10705    need_lib_prefix=no
 10706    need_version=no
 10707    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
 10708    soname_spec='${libname}${release}${shared_ext}$major'
 10709    shlibpath_var=LD_LIBRARY_PATH
 10710    shlibpath_overrides_runpath=yes
 10711    hardcode_into_libs=yes
 10712    if test "$with_gnu_ld" = yes; then
 10713      sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
 10714    else
 10715      sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
 10716      case $host_os in
 10717        sco3.2v5*)
 10718          sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
 10719  	;;
 10720      esac
 10721    fi
 10722    sys_lib_dlsearch_path_spec='/usr/lib'
 10723    ;;
 10724  
 10725  tpf*)
 10726    # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
 10727    version_type=linux
 10728    need_lib_prefix=no
 10729    need_version=no
 10730    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10731    shlibpath_var=LD_LIBRARY_PATH
 10732    shlibpath_overrides_runpath=no
 10733    hardcode_into_libs=yes
 10734    ;;
 10735  
 10736  uts4*)
 10737    version_type=linux
 10738    library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
 10739    soname_spec='${libname}${release}${shared_ext}$major'
 10740    shlibpath_var=LD_LIBRARY_PATH
 10741    ;;
 10742  
 10743  *)
 10744    dynamic_linker=no
 10745    ;;
 10746  esac
 10747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
 10748  $as_echo "$dynamic_linker" >&6; }
 10749  test "$dynamic_linker" = no && can_build_shared=no
 10750  
 10751  variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
 10752  if test "$GCC" = yes; then
 10753    variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
 10754  fi
 10755  
 10756  if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
 10757    sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
 10758  fi
 10759  if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
 10760    sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
 10761  fi
 10762  
 10763  
 10764  
 10765  
 10766  
 10767  
 10768  
 10769  
 10770  
 10771  
 10772  
 10773  
 10774  
 10775  
 10776  
 10777  
 10778  
 10779  
 10780  
 10781  
 10782  
 10783  
 10784  
 10785  
 10786  
 10787  
 10788  
 10789  
 10790  
 10791  
 10792  
 10793  
 10794  
 10795  
 10796  
 10797  
 10798  
 10799  
 10800  
 10801  
 10802  
 10803  
 10804  
 10805  
 10806  
 10807  
 10808  
 10809  
 10810  
 10811  
 10812  
 10813  
 10814  
 10815  
 10816  
 10817  
 10818  
 10819  
 10820  
 10821  
 10822  
 10823  
 10824  
 10825  
 10826  
 10827  
 10828  
 10829  
 10830  
 10831  
 10832  
 10833  
 10834  
 10835  
 10836  
 10837  
 10838  
 10839  
 10840  
 10841  
 10842  
 10843  
 10844  
 10845  
 10846  
 10847  
 10848  
 10849  
 10850  
 10851  
 10852  
 10853  
 10854    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
 10855  $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
 10856  hardcode_action=
 10857  if test -n "$hardcode_libdir_flag_spec" ||
 10858     test -n "$runpath_var" ||
 10859     test "X$hardcode_automatic" = "Xyes" ; then
 10860  
 10861    # We can hardcode non-existent directories.
 10862    if test "$hardcode_direct" != no &&
 10863       # If the only mechanism to avoid hardcoding is shlibpath_var, we
 10864       # have to relink, otherwise we might link with an installed library
 10865       # when we should be linking with a yet-to-be-installed one
 10866       ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
 10867       test "$hardcode_minus_L" != no; then
 10868      # Linking always hardcodes the temporary library directory.
 10869      hardcode_action=relink
 10870    else
 10871      # We can link without hardcoding, and we can hardcode nonexisting dirs.
 10872      hardcode_action=immediate
 10873    fi
 10874  else
 10875    # We cannot hardcode anything, or else we can only hardcode existing
 10876    # directories.
 10877    hardcode_action=unsupported
 10878  fi
 10879  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
 10880  $as_echo "$hardcode_action" >&6; }
 10881  
 10882  if test "$hardcode_action" = relink ||
 10883     test "$inherit_rpath" = yes; then
 10884    # Fast installation is not supported
 10885    enable_fast_install=no
 10886  elif test "$shlibpath_overrides_runpath" = yes ||
 10887       test "$enable_shared" = no; then
 10888    # Fast installation is not necessary
 10889    enable_fast_install=needless
 10890  fi
 10891  
 10892  
 10893  
 10894  
 10895  
 10896  
 10897    if test "x$enable_dlopen" != xyes; then
 10898    enable_dlopen=unknown
 10899    enable_dlopen_self=unknown
 10900    enable_dlopen_self_static=unknown
 10901  else
 10902    lt_cv_dlopen=no
 10903    lt_cv_dlopen_libs=
 10904  
 10905    case $host_os in
 10906    beos*)
 10907      lt_cv_dlopen="load_add_on"
 10908      lt_cv_dlopen_libs=
 10909      lt_cv_dlopen_self=yes
 10910      ;;
 10911  
 10912    mingw* | pw32* | cegcc*)
 10913      lt_cv_dlopen="LoadLibrary"
 10914      lt_cv_dlopen_libs=
 10915      ;;
 10916  
 10917    cygwin*)
 10918      lt_cv_dlopen="dlopen"
 10919      lt_cv_dlopen_libs=
 10920      ;;
 10921  
 10922    darwin*)
 10923    # if libdl is installed we need to link against it
 10924      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 10925  $as_echo_n "checking for dlopen in -ldl... " >&6; }
 10926  if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 10927    $as_echo_n "(cached) " >&6
 10928  else
 10929    ac_check_lib_save_LIBS=$LIBS
 10930  LIBS="-ldl  $LIBS"
 10931  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 10932  /* end confdefs.h.  */
 10933  
 10934  /* Override any GCC internal prototype to avoid an error.
 10935     Use char because int might match the return type of a GCC
 10936     builtin and then its argument prototype would still apply.  */
 10937  #ifdef __cplusplus
 10938  extern "C"
 10939  #endif
 10940  char dlopen ();
 10941  int
 10942  main ()
 10943  {
 10944  return dlopen ();
 10945    ;
 10946    return 0;
 10947  }
 10948  _ACEOF
 10949  if ac_fn_c_try_link "$LINENO"; then :
 10950    ac_cv_lib_dl_dlopen=yes
 10951  else
 10952    ac_cv_lib_dl_dlopen=no
 10953  fi
 10954  rm -f core conftest.err conftest.$ac_objext \
 10955      conftest$ac_exeext conftest.$ac_ext
 10956  LIBS=$ac_check_lib_save_LIBS
 10957  fi
 10958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 10959  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 10960  if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 10961    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 10962  else
 10963  
 10964      lt_cv_dlopen="dyld"
 10965      lt_cv_dlopen_libs=
 10966      lt_cv_dlopen_self=yes
 10967  
 10968  fi
 10969  
 10970      ;;
 10971  
 10972    *)
 10973      ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
 10974  if test "x$ac_cv_func_shl_load" = x""yes; then :
 10975    lt_cv_dlopen="shl_load"
 10976  else
 10977    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
 10978  $as_echo_n "checking for shl_load in -ldld... " >&6; }
 10979  if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 10980    $as_echo_n "(cached) " >&6
 10981  else
 10982    ac_check_lib_save_LIBS=$LIBS
 10983  LIBS="-ldld  $LIBS"
 10984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 10985  /* end confdefs.h.  */
 10986  
 10987  /* Override any GCC internal prototype to avoid an error.
 10988     Use char because int might match the return type of a GCC
 10989     builtin and then its argument prototype would still apply.  */
 10990  #ifdef __cplusplus
 10991  extern "C"
 10992  #endif
 10993  char shl_load ();
 10994  int
 10995  main ()
 10996  {
 10997  return shl_load ();
 10998    ;
 10999    return 0;
 11000  }
 11001  _ACEOF
 11002  if ac_fn_c_try_link "$LINENO"; then :
 11003    ac_cv_lib_dld_shl_load=yes
 11004  else
 11005    ac_cv_lib_dld_shl_load=no
 11006  fi
 11007  rm -f core conftest.err conftest.$ac_objext \
 11008      conftest$ac_exeext conftest.$ac_ext
 11009  LIBS=$ac_check_lib_save_LIBS
 11010  fi
 11011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
 11012  $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
 11013  if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 11014    lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
 11015  else
 11016    ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
 11017  if test "x$ac_cv_func_dlopen" = x""yes; then :
 11018    lt_cv_dlopen="dlopen"
 11019  else
 11020    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
 11021  $as_echo_n "checking for dlopen in -ldl... " >&6; }
 11022  if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 11023    $as_echo_n "(cached) " >&6
 11024  else
 11025    ac_check_lib_save_LIBS=$LIBS
 11026  LIBS="-ldl  $LIBS"
 11027  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11028  /* end confdefs.h.  */
 11029  
 11030  /* Override any GCC internal prototype to avoid an error.
 11031     Use char because int might match the return type of a GCC
 11032     builtin and then its argument prototype would still apply.  */
 11033  #ifdef __cplusplus
 11034  extern "C"
 11035  #endif
 11036  char dlopen ();
 11037  int
 11038  main ()
 11039  {
 11040  return dlopen ();
 11041    ;
 11042    return 0;
 11043  }
 11044  _ACEOF
 11045  if ac_fn_c_try_link "$LINENO"; then :
 11046    ac_cv_lib_dl_dlopen=yes
 11047  else
 11048    ac_cv_lib_dl_dlopen=no
 11049  fi
 11050  rm -f core conftest.err conftest.$ac_objext \
 11051      conftest$ac_exeext conftest.$ac_ext
 11052  LIBS=$ac_check_lib_save_LIBS
 11053  fi
 11054  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
 11055  $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
 11056  if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 11057    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
 11058  else
 11059    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
 11060  $as_echo_n "checking for dlopen in -lsvld... " >&6; }
 11061  if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 11062    $as_echo_n "(cached) " >&6
 11063  else
 11064    ac_check_lib_save_LIBS=$LIBS
 11065  LIBS="-lsvld  $LIBS"
 11066  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11067  /* end confdefs.h.  */
 11068  
 11069  /* Override any GCC internal prototype to avoid an error.
 11070     Use char because int might match the return type of a GCC
 11071     builtin and then its argument prototype would still apply.  */
 11072  #ifdef __cplusplus
 11073  extern "C"
 11074  #endif
 11075  char dlopen ();
 11076  int
 11077  main ()
 11078  {
 11079  return dlopen ();
 11080    ;
 11081    return 0;
 11082  }
 11083  _ACEOF
 11084  if ac_fn_c_try_link "$LINENO"; then :
 11085    ac_cv_lib_svld_dlopen=yes
 11086  else
 11087    ac_cv_lib_svld_dlopen=no
 11088  fi
 11089  rm -f core conftest.err conftest.$ac_objext \
 11090      conftest$ac_exeext conftest.$ac_ext
 11091  LIBS=$ac_check_lib_save_LIBS
 11092  fi
 11093  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
 11094  $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
 11095  if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 11096    lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
 11097  else
 11098    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
 11099  $as_echo_n "checking for dld_link in -ldld... " >&6; }
 11100  if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 11101    $as_echo_n "(cached) " >&6
 11102  else
 11103    ac_check_lib_save_LIBS=$LIBS
 11104  LIBS="-ldld  $LIBS"
 11105  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11106  /* end confdefs.h.  */
 11107  
 11108  /* Override any GCC internal prototype to avoid an error.
 11109     Use char because int might match the return type of a GCC
 11110     builtin and then its argument prototype would still apply.  */
 11111  #ifdef __cplusplus
 11112  extern "C"
 11113  #endif
 11114  char dld_link ();
 11115  int
 11116  main ()
 11117  {
 11118  return dld_link ();
 11119    ;
 11120    return 0;
 11121  }
 11122  _ACEOF
 11123  if ac_fn_c_try_link "$LINENO"; then :
 11124    ac_cv_lib_dld_dld_link=yes
 11125  else
 11126    ac_cv_lib_dld_dld_link=no
 11127  fi
 11128  rm -f core conftest.err conftest.$ac_objext \
 11129      conftest$ac_exeext conftest.$ac_ext
 11130  LIBS=$ac_check_lib_save_LIBS
 11131  fi
 11132  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
 11133  $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
 11134  if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 11135    lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
 11136  fi
 11137  
 11138  
 11139  fi
 11140  
 11141  
 11142  fi
 11143  
 11144  
 11145  fi
 11146  
 11147  
 11148  fi
 11149  
 11150  
 11151  fi
 11152  
 11153      ;;
 11154    esac
 11155  
 11156    if test "x$lt_cv_dlopen" != xno; then
 11157      enable_dlopen=yes
 11158    else
 11159      enable_dlopen=no
 11160    fi
 11161  
 11162    case $lt_cv_dlopen in
 11163    dlopen)
 11164      save_CPPFLAGS="$CPPFLAGS"
 11165      test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
 11166  
 11167      save_LDFLAGS="$LDFLAGS"
 11168      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
 11169  
 11170      save_LIBS="$LIBS"
 11171      LIBS="$lt_cv_dlopen_libs $LIBS"
 11172  
 11173      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
 11174  $as_echo_n "checking whether a program can dlopen itself... " >&6; }
 11175  if test "${lt_cv_dlopen_self+set}" = set; then :
 11176    $as_echo_n "(cached) " >&6
 11177  else
 11178    	  if test "$cross_compiling" = yes; then :
 11179    lt_cv_dlopen_self=cross
 11180  else
 11181    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 11182    lt_status=$lt_dlunknown
 11183    cat > conftest.$ac_ext <<_LT_EOF
 11184  #line $LINENO "configure"
 11185  #include "confdefs.h"
 11186  
 11187  #if HAVE_DLFCN_H
 11188  #include <dlfcn.h>
 11189  #endif
 11190  
 11191  #include <stdio.h>
 11192  
 11193  #ifdef RTLD_GLOBAL
 11194  #  define LT_DLGLOBAL		RTLD_GLOBAL
 11195  #else
 11196  #  ifdef DL_GLOBAL
 11197  #    define LT_DLGLOBAL		DL_GLOBAL
 11198  #  else
 11199  #    define LT_DLGLOBAL		0
 11200  #  endif
 11201  #endif
 11202  
 11203  /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 11204     find out it does not work in some platform. */
 11205  #ifndef LT_DLLAZY_OR_NOW
 11206  #  ifdef RTLD_LAZY
 11207  #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 11208  #  else
 11209  #    ifdef DL_LAZY
 11210  #      define LT_DLLAZY_OR_NOW		DL_LAZY
 11211  #    else
 11212  #      ifdef RTLD_NOW
 11213  #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 11214  #      else
 11215  #        ifdef DL_NOW
 11216  #          define LT_DLLAZY_OR_NOW	DL_NOW
 11217  #        else
 11218  #          define LT_DLLAZY_OR_NOW	0
 11219  #        endif
 11220  #      endif
 11221  #    endif
 11222  #  endif
 11223  #endif
 11224  
 11225  /* When -fvisbility=hidden is used, assume the code has been annotated
 11226     correspondingly for the symbols needed.  */
 11227  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 11228  void fnord () __attribute__((visibility("default")));
 11229  #endif
 11230  
 11231  void fnord () { int i=42; }
 11232  int main ()
 11233  {
 11234    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 11235    int status = $lt_dlunknown;
 11236  
 11237    if (self)
 11238      {
 11239        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 11240        else
 11241          {
 11242  	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 11243            else puts (dlerror ());
 11244  	}
 11245        /* dlclose (self); */
 11246      }
 11247    else
 11248      puts (dlerror ());
 11249  
 11250    return status;
 11251  }
 11252  _LT_EOF
 11253    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 11254    (eval $ac_link) 2>&5
 11255    ac_status=$?
 11256    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 11257    test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 11258      (./conftest; exit; ) >&5 2>/dev/null
 11259      lt_status=$?
 11260      case x$lt_status in
 11261        x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
 11262        x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
 11263        x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
 11264      esac
 11265    else :
 11266      # compilation failed
 11267      lt_cv_dlopen_self=no
 11268    fi
 11269  fi
 11270  rm -fr conftest*
 11271  
 11272  
 11273  fi
 11274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
 11275  $as_echo "$lt_cv_dlopen_self" >&6; }
 11276  
 11277      if test "x$lt_cv_dlopen_self" = xyes; then
 11278        wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
 11279        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
 11280  $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
 11281  if test "${lt_cv_dlopen_self_static+set}" = set; then :
 11282    $as_echo_n "(cached) " >&6
 11283  else
 11284    	  if test "$cross_compiling" = yes; then :
 11285    lt_cv_dlopen_self_static=cross
 11286  else
 11287    lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
 11288    lt_status=$lt_dlunknown
 11289    cat > conftest.$ac_ext <<_LT_EOF
 11290  #line $LINENO "configure"
 11291  #include "confdefs.h"
 11292  
 11293  #if HAVE_DLFCN_H
 11294  #include <dlfcn.h>
 11295  #endif
 11296  
 11297  #include <stdio.h>
 11298  
 11299  #ifdef RTLD_GLOBAL
 11300  #  define LT_DLGLOBAL		RTLD_GLOBAL
 11301  #else
 11302  #  ifdef DL_GLOBAL
 11303  #    define LT_DLGLOBAL		DL_GLOBAL
 11304  #  else
 11305  #    define LT_DLGLOBAL		0
 11306  #  endif
 11307  #endif
 11308  
 11309  /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
 11310     find out it does not work in some platform. */
 11311  #ifndef LT_DLLAZY_OR_NOW
 11312  #  ifdef RTLD_LAZY
 11313  #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
 11314  #  else
 11315  #    ifdef DL_LAZY
 11316  #      define LT_DLLAZY_OR_NOW		DL_LAZY
 11317  #    else
 11318  #      ifdef RTLD_NOW
 11319  #        define LT_DLLAZY_OR_NOW	RTLD_NOW
 11320  #      else
 11321  #        ifdef DL_NOW
 11322  #          define LT_DLLAZY_OR_NOW	DL_NOW
 11323  #        else
 11324  #          define LT_DLLAZY_OR_NOW	0
 11325  #        endif
 11326  #      endif
 11327  #    endif
 11328  #  endif
 11329  #endif
 11330  
 11331  /* When -fvisbility=hidden is used, assume the code has been annotated
 11332     correspondingly for the symbols needed.  */
 11333  #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 11334  void fnord () __attribute__((visibility("default")));
 11335  #endif
 11336  
 11337  void fnord () { int i=42; }
 11338  int main ()
 11339  {
 11340    void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
 11341    int status = $lt_dlunknown;
 11342  
 11343    if (self)
 11344      {
 11345        if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
 11346        else
 11347          {
 11348  	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 11349            else puts (dlerror ());
 11350  	}
 11351        /* dlclose (self); */
 11352      }
 11353    else
 11354      puts (dlerror ());
 11355  
 11356    return status;
 11357  }
 11358  _LT_EOF
 11359    if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
 11360    (eval $ac_link) 2>&5
 11361    ac_status=$?
 11362    $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 11363    test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
 11364      (./conftest; exit; ) >&5 2>/dev/null
 11365      lt_status=$?
 11366      case x$lt_status in
 11367        x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
 11368        x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
 11369        x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
 11370      esac
 11371    else :
 11372      # compilation failed
 11373      lt_cv_dlopen_self_static=no
 11374    fi
 11375  fi
 11376  rm -fr conftest*
 11377  
 11378  
 11379  fi
 11380  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
 11381  $as_echo "$lt_cv_dlopen_self_static" >&6; }
 11382      fi
 11383  
 11384      CPPFLAGS="$save_CPPFLAGS"
 11385      LDFLAGS="$save_LDFLAGS"
 11386      LIBS="$save_LIBS"
 11387      ;;
 11388    esac
 11389  
 11390    case $lt_cv_dlopen_self in
 11391    yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
 11392    *) enable_dlopen_self=unknown ;;
 11393    esac
 11394  
 11395    case $lt_cv_dlopen_self_static in
 11396    yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
 11397    *) enable_dlopen_self_static=unknown ;;
 11398    esac
 11399  fi
 11400  
 11401  
 11402  
 11403  
 11404  
 11405  
 11406  
 11407  
 11408  
 11409  
 11410  
 11411  
 11412  
 11413  
 11414  
 11415  
 11416  
 11417  striplib=
 11418  old_striplib=
 11419  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
 11420  $as_echo_n "checking whether stripping libraries is possible... " >&6; }
 11421  if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
 11422    test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
 11423    test -z "$striplib" && striplib="$STRIP --strip-unneeded"
 11424    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 11425  $as_echo "yes" >&6; }
 11426  else
 11427  # FIXME - insert some real tests, host_os isn't really good enough
 11428    case $host_os in
 11429    darwin*)
 11430      if test -n "$STRIP" ; then
 11431        striplib="$STRIP -x"
 11432        old_striplib="$STRIP -S"
 11433        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 11434  $as_echo "yes" >&6; }
 11435      else
 11436        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 11437  $as_echo "no" >&6; }
 11438      fi
 11439      ;;
 11440    *)
 11441      { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 11442  $as_echo "no" >&6; }
 11443      ;;
 11444    esac
 11445  fi
 11446  
 11447  
 11448  
 11449  
 11450  
 11451  
 11452  
 11453  
 11454  
 11455  
 11456  
 11457  
 11458    # Report which library types will actually be built
 11459    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
 11460  $as_echo_n "checking if libtool supports shared libraries... " >&6; }
 11461    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
 11462  $as_echo "$can_build_shared" >&6; }
 11463  
 11464    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
 11465  $as_echo_n "checking whether to build shared libraries... " >&6; }
 11466    test "$can_build_shared" = "no" && enable_shared=no
 11467  
 11468    # On AIX, shared libraries and static libraries use the same namespace, and
 11469    # are all built from PIC.
 11470    case $host_os in
 11471    aix3*)
 11472      test "$enable_shared" = yes && enable_static=no
 11473      if test -n "$RANLIB"; then
 11474        archive_cmds="$archive_cmds~\$RANLIB \$lib"
 11475        postinstall_cmds='$RANLIB $lib'
 11476      fi
 11477      ;;
 11478  
 11479    aix[4-9]*)
 11480      if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 11481        test "$enable_shared" = yes && enable_static=no
 11482      fi
 11483      ;;
 11484    esac
 11485    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
 11486  $as_echo "$enable_shared" >&6; }
 11487  
 11488    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
 11489  $as_echo_n "checking whether to build static libraries... " >&6; }
 11490    # Make sure either enable_shared or enable_static is yes.
 11491    test "$enable_shared" = yes || enable_static=yes
 11492    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
 11493  $as_echo "$enable_static" >&6; }
 11494  
 11495  
 11496  
 11497  
 11498  fi
 11499  ac_ext=c
 11500  ac_cpp='$CPP $CPPFLAGS'
 11501  ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
 11502  ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
 11503  ac_compiler_gnu=$ac_cv_c_compiler_gnu
 11504  
 11505  CC="$lt_save_CC"
 11506  
 11507  
 11508  
 11509  
 11510  
 11511  
 11512  
 11513  
 11514  
 11515  
 11516  
 11517  
 11518  
 11519          ac_config_commands="$ac_config_commands libtool"
 11520  
 11521  
 11522  
 11523  
 11524  # Only expand once:
 11525  
 11526  
 11527  
 11528  
 11529  
 11530  CC_FOR_BUILD=${CC_FOR_BUILD:-gcc}
 11531  
 11532  
 11533  for ac_prog in gawk mawk nawk awk
 11534  do
 11535    # Extract the first word of "$ac_prog", so it can be a program name with args.
 11536  set dummy $ac_prog; ac_word=$2
 11537  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 11538  $as_echo_n "checking for $ac_word... " >&6; }
 11539  if test "${ac_cv_prog_AWK+set}" = set; then :
 11540    $as_echo_n "(cached) " >&6
 11541  else
 11542    if test -n "$AWK"; then
 11543    ac_cv_prog_AWK="$AWK" # Let the user override the test.
 11544  else
 11545  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11546  for as_dir in $PATH
 11547  do
 11548    IFS=$as_save_IFS
 11549    test -z "$as_dir" && as_dir=.
 11550      for ac_exec_ext in '' $ac_executable_extensions; do
 11551    if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 11552      ac_cv_prog_AWK="$ac_prog"
 11553      $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 11554      break 2
 11555    fi
 11556  done
 11557    done
 11558  IFS=$as_save_IFS
 11559  
 11560  fi
 11561  fi
 11562  AWK=$ac_cv_prog_AWK
 11563  if test -n "$AWK"; then
 11564    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
 11565  $as_echo "$AWK" >&6; }
 11566  else
 11567    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 11568  $as_echo "no" >&6; }
 11569  fi
 11570  
 11571  
 11572    test -n "$AWK" && break
 11573  done
 11574  
 11575  
 11576  WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
 11577  
 11578  
 11579  # Check whether --enable-werror was given.
 11580  if test "${enable_werror+set}" = set; then :
 11581    enableval=$enable_werror;
 11582  fi
 11583  
 11584  if test "x$enable_werror" != "xno"; then
 11585    WERROR="-Werror"
 11586  fi
 11587  
 11588  
 11589  glibgo_toolexecdir=no
 11590  glibgo_toolexeclibdir=no
 11591  
 11592  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
 11593  $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
 11594  # Check whether --enable-version-specific-runtime-libs was given.
 11595  if test "${enable_version_specific_runtime_libs+set}" = set; then :
 11596    enableval=$enable_version_specific_runtime_libs; case "$enableval" in
 11597      yes) version_specific_libs=yes ;;
 11598      no)  version_specific_libs=no ;;
 11599      *)   as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
 11600     esac
 11601  else
 11602    version_specific_libs=no
 11603  fi
 11604  
 11605  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
 11606  $as_echo "$version_specific_libs" >&6; }
 11607  
 11608  # Version-specific runtime libs processing.
 11609  if test $version_specific_libs = yes; then
 11610    glibgo_toolexecdir='${libdir}/gcc/${host_alias}'
 11611    glibgo_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
 11612  fi
 11613  
 11614  # Calculate glibgo_toolexecdir, glibgo_toolexeclibdir
 11615  # Install a library built with a cross compiler in tooldir, not libdir.
 11616  if test -n "$with_cross_host" &&
 11617     test x"$with_cross_host" != x"no"; then
 11618    nover_glibgo_toolexecdir='${exec_prefix}/${host_alias}'
 11619    nover_glibgo_toolexeclibdir='${toolexecdir}/lib'
 11620  else
 11621    nover_glibgo_toolexecdir='${libdir}/gcc/${host_alias}'
 11622    nover_glibgo_toolexeclibdir='${libdir}'
 11623  fi
 11624  multi_os_directory=`$GOC -print-multi-os-directory`
 11625  case $multi_os_directory in
 11626    .) ;; # Avoid trailing /.
 11627    *) nover_glibgo_toolexeclibdir=${nover_glibgo_toolexeclibdir}/${multi_os_directory} ;;
 11628  esac
 11629  
 11630  if test x"$glibgo_toolexecdir" = x"no"; then
 11631    glibgo_toolexecdir="${nover_glibgo_toolexecdir}"
 11632    glibgo_toolexeclibdir="${nover_glibgo_toolexeclibdir}"
 11633  fi
 11634  
 11635  
 11636  
 11637  
 11638  
 11639  # See if the user wants to configure without libffi.  Some
 11640  # architectures don't support it.  FIXME: We should set a default
 11641  # based on the host.
 11642  
 11643  # Check whether --with-libffi was given.
 11644  if test "${with_libffi+set}" = set; then :
 11645    withval=$with_libffi; :
 11646  else
 11647    with_libffi=${with_libffi_default-yes}
 11648  fi
 11649  
 11650  
 11651  LIBFFI=
 11652  LIBFFIINCS=
 11653  if test "$with_libffi" != no; then
 11654  
 11655  $as_echo "#define USE_LIBFFI 1" >>confdefs.h
 11656  
 11657     LIBFFI=../libffi/libffi_convenience.la
 11658     LIBFFIINCS='-I$(top_srcdir)/../libffi/include -I../libffi/include'
 11659  fi
 11660  
 11661  
 11662  
 11663  # See if the user wants to configure without libatomic. This is useful if we are
 11664  # on an architecture for which libgo does not need an atomic support library and
 11665  # libatomic does not support our C compiler.
 11666  
 11667  # Check whether --with-libatomic was given.
 11668  if test "${with_libatomic+set}" = set; then :
 11669    withval=$with_libatomic; :
 11670  else
 11671    with_libatomic=${with_libatomic_default-yes}
 11672  fi
 11673  
 11674  
 11675  LIBATOMIC=
 11676  if test "$with_libatomic" != no; then
 11677     LIBATOMIC=../libatomic/libatomic_convenience.la
 11678  fi
 11679  
 11680  
 11681  # Used to tell GNU make to include a file without telling automake to
 11682  # include it.
 11683  go_include="-include"
 11684  
 11685  
 11686  is_darwin=no
 11687  is_freebsd=no
 11688  is_irix=no
 11689  is_linux=no
 11690  is_netbsd=no
 11691  is_openbsd=no
 11692  is_dragonfly=no
 11693  is_rtems=no
 11694  is_solaris=no
 11695  GOOS=unknown
 11696  case ${host} in
 11697    *-*-darwin*)   is_darwin=yes;  GOOS=darwin ;;
 11698    *-*-freebsd*)  is_freebsd=yes; GOOS=freebsd ;;
 11699    *-*-irix6*)    is_irix=yes;    GOOS=irix ;;
 11700    *-*-linux*)    is_linux=yes;   GOOS=linux ;;
 11701    *-*-netbsd*)	 is_netbsd=yes;  GOOS=netbsd ;;
 11702    *-*-openbsd*)  is_openbsd=yes; GOOS=openbsd ;;
 11703    *-*-dragonfly*) is_dragonfly=yes; GOOS=dragonfly ;;
 11704    *-*-rtems*)    is_rtems=yes;   GOOS=rtems ;;
 11705    *-*-solaris2*) is_solaris=yes; GOOS=solaris ;;
 11706  esac
 11707   if test $is_darwin = yes; then
 11708    LIBGO_IS_DARWIN_TRUE=
 11709    LIBGO_IS_DARWIN_FALSE='#'
 11710  else
 11711    LIBGO_IS_DARWIN_TRUE='#'
 11712    LIBGO_IS_DARWIN_FALSE=
 11713  fi
 11714  
 11715   if test $is_freebsd = yes; then
 11716    LIBGO_IS_FREEBSD_TRUE=
 11717    LIBGO_IS_FREEBSD_FALSE='#'
 11718  else
 11719    LIBGO_IS_FREEBSD_TRUE='#'
 11720    LIBGO_IS_FREEBSD_FALSE=
 11721  fi
 11722  
 11723   if test $is_irix = yes; then
 11724    LIBGO_IS_IRIX_TRUE=
 11725    LIBGO_IS_IRIX_FALSE='#'
 11726  else
 11727    LIBGO_IS_IRIX_TRUE='#'
 11728    LIBGO_IS_IRIX_FALSE=
 11729  fi
 11730  
 11731   if test $is_linux = yes; then
 11732    LIBGO_IS_LINUX_TRUE=
 11733    LIBGO_IS_LINUX_FALSE='#'
 11734  else
 11735    LIBGO_IS_LINUX_TRUE='#'
 11736    LIBGO_IS_LINUX_FALSE=
 11737  fi
 11738  
 11739   if test $is_netbsd = yes; then
 11740    LIBGO_IS_NETBSD_TRUE=
 11741    LIBGO_IS_NETBSD_FALSE='#'
 11742  else
 11743    LIBGO_IS_NETBSD_TRUE='#'
 11744    LIBGO_IS_NETBSD_FALSE=
 11745  fi
 11746  
 11747   if test $is_openbsd = yes; then
 11748    LIBGO_IS_OPENBSD_TRUE=
 11749    LIBGO_IS_OPENBSD_FALSE='#'
 11750  else
 11751    LIBGO_IS_OPENBSD_TRUE='#'
 11752    LIBGO_IS_OPENBSD_FALSE=
 11753  fi
 11754  
 11755   if test $is_dragonfly = yes; then
 11756    LIBGO_IS_DRAGONFLY_TRUE=
 11757    LIBGO_IS_DRAGONFLY_FALSE='#'
 11758  else
 11759    LIBGO_IS_DRAGONFLY_TRUE='#'
 11760    LIBGO_IS_DRAGONFLY_FALSE=
 11761  fi
 11762  
 11763   if test $is_rtems = yes; then
 11764    LIBGO_IS_RTEMS_TRUE=
 11765    LIBGO_IS_RTEMS_FALSE='#'
 11766  else
 11767    LIBGO_IS_RTEMS_TRUE='#'
 11768    LIBGO_IS_RTEMS_FALSE=
 11769  fi
 11770  
 11771   if test $is_solaris = yes; then
 11772    LIBGO_IS_SOLARIS_TRUE=
 11773    LIBGO_IS_SOLARIS_FALSE='#'
 11774  else
 11775    LIBGO_IS_SOLARIS_TRUE='#'
 11776    LIBGO_IS_SOLARIS_FALSE=
 11777  fi
 11778  
 11779  
 11780  
 11781  USE_DEJAGNU=no
 11782  case ${host} in
 11783    *-*-rtems*) USE_DEJAGNU=yes ;;
 11784    ${build}) ;;
 11785    *) USE_DEJAGNU=yes ;;
 11786  esac
 11787  
 11788  
 11789  is_386=no
 11790  is_alpha=no
 11791  is_arm=no
 11792  is_arm64=no
 11793  is_m68k=no
 11794  mips_abi=unknown
 11795  is_ppc=no
 11796  is_ppc64=no
 11797  is_ppc64le=no
 11798  is_s390=no
 11799  is_s390x=no
 11800  is_sparc=no
 11801  is_sparc64=no
 11802  is_x86_64=no
 11803  GOARCH=unknown
 11804  case ${host} in
 11805    alpha*-*-*)
 11806      is_alpha=yes
 11807      GOARCH=alpha
 11808      ;;
 11809    aarch64-*-*)
 11810      is_arm64=yes
 11811      GOARCH=arm64
 11812      ;;
 11813    arm*-*-* | strongarm*-*-* | ep9312*-*-* | xscale-*-*)
 11814      is_arm=yes
 11815      GOARCH=arm
 11816      ;;
 11817    i[34567]86-*-* | x86_64-*-*)
 11818      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11819  /* end confdefs.h.  */
 11820  
 11821  #ifdef __x86_64__
 11822  #error 64-bit
 11823  #endif
 11824  _ACEOF
 11825  if ac_fn_c_try_compile "$LINENO"; then :
 11826    is_386=yes
 11827  else
 11828    is_x86_64=yes
 11829  fi
 11830  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11831      if test "$is_386" = "yes"; then
 11832        GOARCH=386
 11833      else
 11834        GOARCH=amd64
 11835      fi
 11836      ;;
 11837    m68k*-*-*)
 11838      is_m68k=yes
 11839      GOARCH=m68k
 11840      ;;
 11841    mips*-*-*)
 11842      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11843  /* end confdefs.h.  */
 11844  
 11845  #if _MIPS_SIM != _ABIO32
 11846  #error not o32
 11847  #endif
 11848  _ACEOF
 11849  if ac_fn_c_try_compile "$LINENO"; then :
 11850    mips_abi="o32"
 11851  else
 11852    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11853  /* end confdefs.h.  */
 11854  
 11855  #if _MIPS_SIM != _ABIN32
 11856  #error not n32
 11857  #endif
 11858  _ACEOF
 11859  if ac_fn_c_try_compile "$LINENO"; then :
 11860    mips_abi="n32"
 11861  else
 11862    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11863  /* end confdefs.h.  */
 11864  
 11865  #if _MIPS_SIM != _ABI64
 11866  #error not n64
 11867  #endif
 11868  _ACEOF
 11869  if ac_fn_c_try_compile "$LINENO"; then :
 11870    mips_abi="n64"
 11871  else
 11872    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11873  /* end confdefs.h.  */
 11874  
 11875  #if _MIPS_SIM != _ABIO64
 11876  #error not o64
 11877  #endif
 11878  _ACEOF
 11879  if ac_fn_c_try_compile "$LINENO"; then :
 11880    mips_abi="o64"
 11881  else
 11882    as_fn_error "unknown MIPS ABI" "$LINENO" 5
 11883  mips_abi="n32"
 11884  fi
 11885  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11886  fi
 11887  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11888  fi
 11889  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11890  fi
 11891  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11892      case "$mips_abi" in
 11893      "o32") GOARCH=mipso32 ;;
 11894      "n32") GOARCH=mipsn32 ;;
 11895      "n64") GOARCH=mipsn64 ;;
 11896      "o64") GOARCH=mipso64 ;;
 11897      esac
 11898      ;;
 11899    rs6000*-*-* | powerpc*-*-*)
 11900      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11901  /* end confdefs.h.  */
 11902  
 11903  #ifdef _ARCH_PPC64
 11904  #error 64-bit
 11905  #endif
 11906  _ACEOF
 11907  if ac_fn_c_try_compile "$LINENO"; then :
 11908    is_ppc=yes
 11909  else
 11910    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11911  /* end confdefs.h.  */
 11912  
 11913  #if defined(_BIG_ENDIAN) || defined(__BIG_ENDIAN__)
 11914  #error 64be
 11915  #endif
 11916  _ACEOF
 11917  if ac_fn_c_try_compile "$LINENO"; then :
 11918    is_ppc64le=yes
 11919  else
 11920    is_ppc64=yes
 11921  fi
 11922  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11923  fi
 11924  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11925      if test "$is_ppc" = "yes"; then
 11926        GOARCH=ppc
 11927      elif test "$is_ppc64" = "yes"; then
 11928        GOARCH=ppc64
 11929      else
 11930        GOARCH=ppc64le
 11931      fi
 11932      ;;
 11933    s390*-*-*)
 11934      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11935  /* end confdefs.h.  */
 11936  
 11937  #if defined(__s390x__)
 11938  #error 64-bit
 11939  #endif
 11940  _ACEOF
 11941  if ac_fn_c_try_compile "$LINENO"; then :
 11942    is_s390=yes
 11943  else
 11944    is_s390x=yes
 11945  fi
 11946  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11947      if test "$is_s390" = "yes"; then
 11948        GOARCH=s390
 11949      else
 11950        GOARCH=s390x
 11951      fi
 11952      ;;
 11953    sparc*-*-*)
 11954      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 11955  /* end confdefs.h.  */
 11956  
 11957  #if defined(__sparcv9) || defined(__arch64__)
 11958  #error 64-bit
 11959  #endif
 11960  _ACEOF
 11961  if ac_fn_c_try_compile "$LINENO"; then :
 11962    is_sparc=yes
 11963  else
 11964    is_sparc64=yes
 11965  fi
 11966  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11967      if test "$is_sparc" = "yes"; then
 11968        GOARCH=sparc
 11969      else
 11970        GOARCH=sparc64
 11971      fi
 11972      ;;
 11973  esac
 11974   if test $is_386 = yes; then
 11975    LIBGO_IS_386_TRUE=
 11976    LIBGO_IS_386_FALSE='#'
 11977  else
 11978    LIBGO_IS_386_TRUE='#'
 11979    LIBGO_IS_386_FALSE=
 11980  fi
 11981  
 11982   if test $is_alpha = yes; then
 11983    LIBGO_IS_ALPHA_TRUE=
 11984    LIBGO_IS_ALPHA_FALSE='#'
 11985  else
 11986    LIBGO_IS_ALPHA_TRUE='#'
 11987    LIBGO_IS_ALPHA_FALSE=
 11988  fi
 11989  
 11990   if test $is_arm = yes; then
 11991    LIBGO_IS_ARM_TRUE=
 11992    LIBGO_IS_ARM_FALSE='#'
 11993  else
 11994    LIBGO_IS_ARM_TRUE='#'
 11995    LIBGO_IS_ARM_FALSE=
 11996  fi
 11997  
 11998   if test $is_arm64 = yes; then
 11999    LIBGO_IS_ARM64_TRUE=
 12000    LIBGO_IS_ARM64_FALSE='#'
 12001  else
 12002    LIBGO_IS_ARM64_TRUE='#'
 12003    LIBGO_IS_ARM64_FALSE=
 12004  fi
 12005  
 12006   if test $is_m68k = yes; then
 12007    LIBGO_IS_M68K_TRUE=
 12008    LIBGO_IS_M68K_FALSE='#'
 12009  else
 12010    LIBGO_IS_M68K_TRUE='#'
 12011    LIBGO_IS_M68K_FALSE=
 12012  fi
 12013  
 12014   if test $mips_abi != unknown; then
 12015    LIBGO_IS_MIPS_TRUE=
 12016    LIBGO_IS_MIPS_FALSE='#'
 12017  else
 12018    LIBGO_IS_MIPS_TRUE='#'
 12019    LIBGO_IS_MIPS_FALSE=
 12020  fi
 12021  
 12022   if test $mips_abi = o32; then
 12023    LIBGO_IS_MIPSO32_TRUE=
 12024    LIBGO_IS_MIPSO32_FALSE='#'
 12025  else
 12026    LIBGO_IS_MIPSO32_TRUE='#'
 12027    LIBGO_IS_MIPSO32_FALSE=
 12028  fi
 12029  
 12030   if test $mips_abi = n32; then
 12031    LIBGO_IS_MIPSN32_TRUE=
 12032    LIBGO_IS_MIPSN32_FALSE='#'
 12033  else
 12034    LIBGO_IS_MIPSN32_TRUE='#'
 12035    LIBGO_IS_MIPSN32_FALSE=
 12036  fi
 12037  
 12038   if test $mips_abi = n64; then
 12039    LIBGO_IS_MIPSN64_TRUE=
 12040    LIBGO_IS_MIPSN64_FALSE='#'
 12041  else
 12042    LIBGO_IS_MIPSN64_TRUE='#'
 12043    LIBGO_IS_MIPSN64_FALSE=
 12044  fi
 12045  
 12046   if test $mips_abi = o64; then
 12047    LIBGO_IS_MIPSO64_TRUE=
 12048    LIBGO_IS_MIPSO64_FALSE='#'
 12049  else
 12050    LIBGO_IS_MIPSO64_TRUE='#'
 12051    LIBGO_IS_MIPSO64_FALSE=
 12052  fi
 12053  
 12054   if test $is_ppc = yes; then
 12055    LIBGO_IS_PPC_TRUE=
 12056    LIBGO_IS_PPC_FALSE='#'
 12057  else
 12058    LIBGO_IS_PPC_TRUE='#'
 12059    LIBGO_IS_PPC_FALSE=
 12060  fi
 12061  
 12062   if test $is_ppc64 = yes; then
 12063    LIBGO_IS_PPC64_TRUE=
 12064    LIBGO_IS_PPC64_FALSE='#'
 12065  else
 12066    LIBGO_IS_PPC64_TRUE='#'
 12067    LIBGO_IS_PPC64_FALSE=
 12068  fi
 12069  
 12070   if test $is_ppc64le = yes; then
 12071    LIBGO_IS_PPC64LE_TRUE=
 12072    LIBGO_IS_PPC64LE_FALSE='#'
 12073  else
 12074    LIBGO_IS_PPC64LE_TRUE='#'
 12075    LIBGO_IS_PPC64LE_FALSE=
 12076  fi
 12077  
 12078   if test $is_s390 = yes; then
 12079    LIBGO_IS_S390_TRUE=
 12080    LIBGO_IS_S390_FALSE='#'
 12081  else
 12082    LIBGO_IS_S390_TRUE='#'
 12083    LIBGO_IS_S390_FALSE=
 12084  fi
 12085  
 12086   if test $is_s390x = yes; then
 12087    LIBGO_IS_S390X_TRUE=
 12088    LIBGO_IS_S390X_FALSE='#'
 12089  else
 12090    LIBGO_IS_S390X_TRUE='#'
 12091    LIBGO_IS_S390X_FALSE=
 12092  fi
 12093  
 12094   if test $is_sparc = yes; then
 12095    LIBGO_IS_SPARC_TRUE=
 12096    LIBGO_IS_SPARC_FALSE='#'
 12097  else
 12098    LIBGO_IS_SPARC_TRUE='#'
 12099    LIBGO_IS_SPARC_FALSE=
 12100  fi
 12101  
 12102   if test $is_sparc64 = yes; then
 12103    LIBGO_IS_SPARC64_TRUE=
 12104    LIBGO_IS_SPARC64_FALSE='#'
 12105  else
 12106    LIBGO_IS_SPARC64_TRUE='#'
 12107    LIBGO_IS_SPARC64_FALSE=
 12108  fi
 12109  
 12110   if test $is_x86_64 = yes; then
 12111    LIBGO_IS_X86_64_TRUE=
 12112    LIBGO_IS_X86_64_FALSE='#'
 12113  else
 12114    LIBGO_IS_X86_64_TRUE='#'
 12115    LIBGO_IS_X86_64_FALSE=
 12116  fi
 12117  
 12118  
 12119  
 12120  GO_LIBCALL_OS_FILE=
 12121  GO_LIBCALL_OS_ARCH_FILE=
 12122  GO_SYSCALL_OS_FILE=
 12123  GO_SYSCALL_OS_ARCH_FILE=
 12124  if test -f "${srcdir}/go/syscall/libcall_${GOOS}.go"; then
 12125    GO_LIBCALL_OS_FILE="go/syscall/libcall_${GOOS}.go"
 12126  fi
 12127  if test -f "${srcdir}/go/syscall/libcall_${GOOS}_${GOARCH}.go"; then
 12128    GO_LIBCALL_OS_ARCH_FILE="go/syscall/libcall_${GOOS}_${GOARCH}.go"
 12129  fi
 12130  if test -f "${srcdir}/go/syscall/syscall_${GOOS}.go"; then
 12131    GO_SYSCALL_OS_FILE="go/syscall/syscall_${GOOS}.go"
 12132  fi
 12133  if test -f "${srcdir}/go/syscall/syscall_${GOOS}_${GOARCH}.go"; then
 12134    GO_SYSCALL_OS_ARCH_FILE="go/syscall/syscall_${GOOS}_${GOARCH}.go"
 12135  fi
 12136  
 12137  
 12138  
 12139  
 12140  
 12141  OSCFLAGS="-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
 12142  case "$target" in
 12143      mips-sgi-irix6.5*)
 12144  	# IRIX 6 needs _XOPEN_SOURCE=500 for the XPG5 version of struct
 12145  	# msghdr in <sys/socket.h>.
 12146  	OSCFLAGS="$OSCFLAGS -D_XOPEN_SOURCE=500"
 12147  	;;
 12148      *-*-solaris2.1[01])
 12149  	# Solaris 10+ needs this so struct msghdr gets the msg_control
 12150  	# etc. fields in <sys/socket.h> (_XPG4_2).  _XOPEN_SOURCE=600 as
 12151  	# above doesn't work with C99.
 12152  	OSCFLAGS="$OSCFLAGS -std=gnu99 -D_XOPEN_SOURCE=600 -D__EXTENSIONS__"
 12153  	;;
 12154  esac
 12155  
 12156  
 12157  
 12158  # Check whether --with-stack-split was given.
 12159  if test "${with_stack_split+set}" = set; then :
 12160    withval=$with_stack_split; :
 12161  else
 12162    with_stack_split=${with_stack_split_default-yes}
 12163  fi
 12164  
 12165  
 12166  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -fsplit-stack is supported" >&5
 12167  $as_echo_n "checking whether -fsplit-stack is supported... " >&6; }
 12168  if test "${libgo_cv_c_split_stack_supported+set}" = set; then :
 12169    $as_echo_n "(cached) " >&6
 12170  else
 12171    CFLAGS_hold=$CFLAGS
 12172  CFLAGS="$CFLAGS -fsplit-stack"
 12173  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12174  /* end confdefs.h.  */
 12175  int i;
 12176  _ACEOF
 12177  if ac_fn_c_try_compile "$LINENO"; then :
 12178    libgo_cv_c_split_stack_supported=yes
 12179  else
 12180    libgo_cv_c_split_stack_supported=no
 12181  fi
 12182  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12183  CFLAGS=$CFLAGS_hold
 12184  fi
 12185  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_split_stack_supported" >&5
 12186  $as_echo "$libgo_cv_c_split_stack_supported" >&6; }
 12187  if test "$libgo_cv_c_split_stack_supported" = yes -a "$with_stack_split" = yes; then
 12188    SPLIT_STACK=-fsplit-stack
 12189  
 12190  $as_echo "#define USING_SPLIT_STACK 1" >>confdefs.h
 12191  
 12192  else
 12193    SPLIT_STACK=
 12194  fi
 12195  
 12196   if test "$libgo_cv_c_split_stack_supported" = yes -a "$with_stack_split" = yes; then
 12197    USING_SPLIT_STACK_TRUE=
 12198    USING_SPLIT_STACK_FALSE='#'
 12199  else
 12200    USING_SPLIT_STACK_TRUE='#'
 12201    USING_SPLIT_STACK_FALSE=
 12202  fi
 12203  
 12204  
 12205  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linker supports split stack" >&5
 12206  $as_echo_n "checking whether linker supports split stack... " >&6; }
 12207  if test "${libgo_cv_c_linker_supports_split_stack+set}" = set; then :
 12208    $as_echo_n "(cached) " >&6
 12209  else
 12210    libgo_cv_c_linker_supports_split_stack=no
 12211  if $GOC -Wl,--help 2>/dev/null | grep split-stack-adjust-size >/dev/null 2>&1; then
 12212    libgo_cv_c_linker_supports_split_stack=yes
 12213  fi
 12214  fi
 12215  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_linker_supports_split_stack" >&5
 12216  $as_echo "$libgo_cv_c_linker_supports_split_stack" >&6; }
 12217  if test "$libgo_cv_c_linker_supports_split_stack" = yes -a "$with_stack_split" = yes; then
 12218  
 12219  $as_echo "#define LINKER_SUPPORTS_SPLIT_STACK 1" >>confdefs.h
 12220  
 12221  fi
 12222  
 12223  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler is llgo" >&5
 12224  $as_echo_n "checking whether compiler is llgo... " >&6; }
 12225  if test "${libgo_cv_c_goc_is_llgo+set}" = set; then :
 12226    $as_echo_n "(cached) " >&6
 12227  else
 12228    libgo_cv_c_goc_is_llgo=no
 12229  if $GOC -dumpversion 2>/dev/null | grep llgo >/dev/null 2>&1; then
 12230    libgo_cv_c_goc_is_llgo=yes
 12231  fi
 12232  fi
 12233  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_goc_is_llgo" >&5
 12234  $as_echo "$libgo_cv_c_goc_is_llgo" >&6; }
 12235   if test "$libgo_cv_c_goc_is_llgo" = yes; then
 12236    GOC_IS_LLGO_TRUE=
 12237    GOC_IS_LLGO_FALSE='#'
 12238  else
 12239    GOC_IS_LLGO_TRUE='#'
 12240    GOC_IS_LLGO_FALSE=
 12241  fi
 12242  
 12243  
 12244  MATH_LIBS=
 12245  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrt in -lm" >&5
 12246  $as_echo_n "checking for sqrt in -lm... " >&6; }
 12247  if test "${ac_cv_lib_m_sqrt+set}" = set; then :
 12248    $as_echo_n "(cached) " >&6
 12249  else
 12250    ac_check_lib_save_LIBS=$LIBS
 12251  LIBS="-lm  $LIBS"
 12252  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12253  /* end confdefs.h.  */
 12254  
 12255  /* Override any GCC internal prototype to avoid an error.
 12256     Use char because int might match the return type of a GCC
 12257     builtin and then its argument prototype would still apply.  */
 12258  #ifdef __cplusplus
 12259  extern "C"
 12260  #endif
 12261  char sqrt ();
 12262  int
 12263  main ()
 12264  {
 12265  return sqrt ();
 12266    ;
 12267    return 0;
 12268  }
 12269  _ACEOF
 12270  if ac_fn_c_try_link "$LINENO"; then :
 12271    ac_cv_lib_m_sqrt=yes
 12272  else
 12273    ac_cv_lib_m_sqrt=no
 12274  fi
 12275  rm -f core conftest.err conftest.$ac_objext \
 12276      conftest$ac_exeext conftest.$ac_ext
 12277  LIBS=$ac_check_lib_save_LIBS
 12278  fi
 12279  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sqrt" >&5
 12280  $as_echo "$ac_cv_lib_m_sqrt" >&6; }
 12281  if test "x$ac_cv_lib_m_sqrt" = x""yes; then :
 12282    MATH_LIBS=-lm
 12283  fi
 12284  
 12285  
 12286  
 12287  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket libraries" >&5
 12288  $as_echo_n "checking for socket libraries... " >&6; }
 12289  if test "${libgo_cv_lib_sockets+set}" = set; then :
 12290    $as_echo_n "(cached) " >&6
 12291  else
 12292    libgo_cv_lib_sockets=
 12293     libgo_check_both=no
 12294     ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
 12295  if test "x$ac_cv_func_connect" = x""yes; then :
 12296    libgo_check_socket=no
 12297  else
 12298    libgo_check_socket=yes
 12299  fi
 12300  
 12301     if test "$libgo_check_socket" = "yes"; then
 12302       unset ac_cv_func_connect
 12303       { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lsocket" >&5
 12304  $as_echo_n "checking for main in -lsocket... " >&6; }
 12305  if test "${ac_cv_lib_socket_main+set}" = set; then :
 12306    $as_echo_n "(cached) " >&6
 12307  else
 12308    ac_check_lib_save_LIBS=$LIBS
 12309  LIBS="-lsocket  $LIBS"
 12310  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12311  /* end confdefs.h.  */
 12312  
 12313  
 12314  int
 12315  main ()
 12316  {
 12317  return main ();
 12318    ;
 12319    return 0;
 12320  }
 12321  _ACEOF
 12322  if ac_fn_c_try_link "$LINENO"; then :
 12323    ac_cv_lib_socket_main=yes
 12324  else
 12325    ac_cv_lib_socket_main=no
 12326  fi
 12327  rm -f core conftest.err conftest.$ac_objext \
 12328      conftest$ac_exeext conftest.$ac_ext
 12329  LIBS=$ac_check_lib_save_LIBS
 12330  fi
 12331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_main" >&5
 12332  $as_echo "$ac_cv_lib_socket_main" >&6; }
 12333  if test "x$ac_cv_lib_socket_main" = x""yes; then :
 12334    libgo_cv_lib_sockets="-lsocket"
 12335  else
 12336    libgo_check_both=yes
 12337  fi
 12338  
 12339     fi
 12340     if test "$libgo_check_both" = "yes"; then
 12341       libgo_old_libs=$LIBS
 12342       LIBS="$LIBS -lsocket -lnsl"
 12343       unset ac_cv_func_accept
 12344       ac_fn_c_check_func "$LINENO" "accept" "ac_cv_func_accept"
 12345  if test "x$ac_cv_func_accept" = x""yes; then :
 12346    libgo_check_nsl=no
 12347  		    libgo_cv_lib_sockets="-lsocket -lnsl"
 12348  fi
 12349  
 12350       unset ac_cv_func_accept
 12351       LIBS=$libgo_old_libs
 12352     fi
 12353     unset ac_cv_func_gethostbyname
 12354     libgo_old_libs="$LIBS"
 12355     ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
 12356  if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 12357  
 12358  else
 12359    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lnsl" >&5
 12360  $as_echo_n "checking for main in -lnsl... " >&6; }
 12361  if test "${ac_cv_lib_nsl_main+set}" = set; then :
 12362    $as_echo_n "(cached) " >&6
 12363  else
 12364    ac_check_lib_save_LIBS=$LIBS
 12365  LIBS="-lnsl  $LIBS"
 12366  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12367  /* end confdefs.h.  */
 12368  
 12369  
 12370  int
 12371  main ()
 12372  {
 12373  return main ();
 12374    ;
 12375    return 0;
 12376  }
 12377  _ACEOF
 12378  if ac_fn_c_try_link "$LINENO"; then :
 12379    ac_cv_lib_nsl_main=yes
 12380  else
 12381    ac_cv_lib_nsl_main=no
 12382  fi
 12383  rm -f core conftest.err conftest.$ac_objext \
 12384      conftest$ac_exeext conftest.$ac_ext
 12385  LIBS=$ac_check_lib_save_LIBS
 12386  fi
 12387  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_main" >&5
 12388  $as_echo "$ac_cv_lib_nsl_main" >&6; }
 12389  if test "x$ac_cv_lib_nsl_main" = x""yes; then :
 12390    libgo_cv_lib_sockets="$libgo_cv_lib_sockets -lnsl"
 12391  fi
 12392  
 12393  fi
 12394  
 12395     unset ac_cv_func_gethostbyname
 12396     LIBS=$libgo_old_libs
 12397  
 12398  fi
 12399  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sockets" >&5
 12400  $as_echo "$libgo_cv_lib_sockets" >&6; }
 12401  NET_LIBS="$libgo_cv_lib_sockets"
 12402  
 12403  
 12404  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -pthread is supported" >&5
 12405  $as_echo_n "checking whether -pthread is supported... " >&6; }
 12406  if test "${libgo_cv_lib_pthread+set}" = set; then :
 12407    $as_echo_n "(cached) " >&6
 12408  else
 12409    CFLAGS_hold=$CFLAGS
 12410  CFLAGS="$CFLAGS -pthread"
 12411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12412  /* end confdefs.h.  */
 12413  int i;
 12414  _ACEOF
 12415  if ac_fn_c_try_compile "$LINENO"; then :
 12416    libgo_cv_lib_pthread=yes
 12417  else
 12418    libgo_cv_lib_pthread=no
 12419  fi
 12420  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12421  CFLAGS=$CFLAGS_hold
 12422  fi
 12423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_pthread" >&5
 12424  $as_echo "$libgo_cv_lib_pthread" >&6; }
 12425  PTHREAD_CFLAGS=
 12426  if test "$libgo_cv_lib_pthread" = yes; then
 12427    PTHREAD_CFLAGS=-pthread
 12428  fi
 12429  
 12430  
 12431  PTHREAD_LIBS=
 12432  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
 12433  $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
 12434  if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
 12435    $as_echo_n "(cached) " >&6
 12436  else
 12437    ac_check_lib_save_LIBS=$LIBS
 12438  LIBS="-lpthread  $LIBS"
 12439  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12440  /* end confdefs.h.  */
 12441  
 12442  /* Override any GCC internal prototype to avoid an error.
 12443     Use char because int might match the return type of a GCC
 12444     builtin and then its argument prototype would still apply.  */
 12445  #ifdef __cplusplus
 12446  extern "C"
 12447  #endif
 12448  char pthread_create ();
 12449  int
 12450  main ()
 12451  {
 12452  return pthread_create ();
 12453    ;
 12454    return 0;
 12455  }
 12456  _ACEOF
 12457  if ac_fn_c_try_link "$LINENO"; then :
 12458    ac_cv_lib_pthread_pthread_create=yes
 12459  else
 12460    ac_cv_lib_pthread_pthread_create=no
 12461  fi
 12462  rm -f core conftest.err conftest.$ac_objext \
 12463      conftest$ac_exeext conftest.$ac_ext
 12464  LIBS=$ac_check_lib_save_LIBS
 12465  fi
 12466  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
 12467  $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
 12468  if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
 12469    PTHREAD_LIBS=-lpthread
 12470  fi
 12471  
 12472  
 12473  
 12474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
 12475  $as_echo_n "checking for library containing sched_yield... " >&6; }
 12476  if test "${ac_cv_search_sched_yield+set}" = set; then :
 12477    $as_echo_n "(cached) " >&6
 12478  else
 12479    ac_func_search_save_LIBS=$LIBS
 12480  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12481  /* end confdefs.h.  */
 12482  
 12483  /* Override any GCC internal prototype to avoid an error.
 12484     Use char because int might match the return type of a GCC
 12485     builtin and then its argument prototype would still apply.  */
 12486  #ifdef __cplusplus
 12487  extern "C"
 12488  #endif
 12489  char sched_yield ();
 12490  int
 12491  main ()
 12492  {
 12493  return sched_yield ();
 12494    ;
 12495    return 0;
 12496  }
 12497  _ACEOF
 12498  for ac_lib in '' rt; do
 12499    if test -z "$ac_lib"; then
 12500      ac_res="none required"
 12501    else
 12502      ac_res=-l$ac_lib
 12503      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 12504    fi
 12505    if ac_fn_c_try_link "$LINENO"; then :
 12506    ac_cv_search_sched_yield=$ac_res
 12507  fi
 12508  rm -f core conftest.err conftest.$ac_objext \
 12509      conftest$ac_exeext
 12510    if test "${ac_cv_search_sched_yield+set}" = set; then :
 12511    break
 12512  fi
 12513  done
 12514  if test "${ac_cv_search_sched_yield+set}" = set; then :
 12515  
 12516  else
 12517    ac_cv_search_sched_yield=no
 12518  fi
 12519  rm conftest.$ac_ext
 12520  LIBS=$ac_func_search_save_LIBS
 12521  fi
 12522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
 12523  $as_echo "$ac_cv_search_sched_yield" >&6; }
 12524  ac_res=$ac_cv_search_sched_yield
 12525  if test "$ac_res" != no; then :
 12526    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 12527  
 12528  fi
 12529  
 12530  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
 12531  $as_echo_n "checking for library containing nanosleep... " >&6; }
 12532  if test "${ac_cv_search_nanosleep+set}" = set; then :
 12533    $as_echo_n "(cached) " >&6
 12534  else
 12535    ac_func_search_save_LIBS=$LIBS
 12536  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12537  /* end confdefs.h.  */
 12538  
 12539  /* Override any GCC internal prototype to avoid an error.
 12540     Use char because int might match the return type of a GCC
 12541     builtin and then its argument prototype would still apply.  */
 12542  #ifdef __cplusplus
 12543  extern "C"
 12544  #endif
 12545  char nanosleep ();
 12546  int
 12547  main ()
 12548  {
 12549  return nanosleep ();
 12550    ;
 12551    return 0;
 12552  }
 12553  _ACEOF
 12554  for ac_lib in '' rt; do
 12555    if test -z "$ac_lib"; then
 12556      ac_res="none required"
 12557    else
 12558      ac_res=-l$ac_lib
 12559      LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 12560    fi
 12561    if ac_fn_c_try_link "$LINENO"; then :
 12562    ac_cv_search_nanosleep=$ac_res
 12563  fi
 12564  rm -f core conftest.err conftest.$ac_objext \
 12565      conftest$ac_exeext
 12566    if test "${ac_cv_search_nanosleep+set}" = set; then :
 12567    break
 12568  fi
 12569  done
 12570  if test "${ac_cv_search_nanosleep+set}" = set; then :
 12571  
 12572  else
 12573    ac_cv_search_nanosleep=no
 12574  fi
 12575  rm conftest.$ac_ext
 12576  LIBS=$ac_func_search_save_LIBS
 12577  fi
 12578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
 12579  $as_echo "$ac_cv_search_nanosleep" >&6; }
 12580  ac_res=$ac_cv_search_nanosleep
 12581  if test "$ac_res" != no; then :
 12582    test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 12583  
 12584  fi
 12585  
 12586  
 12587   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
 12588  $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
 12589  if test "${ac_cv_c_bigendian+set}" = set; then :
 12590    $as_echo_n "(cached) " >&6
 12591  else
 12592    ac_cv_c_bigendian=unknown
 12593      # See if we're dealing with a universal compiler.
 12594      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12595  /* end confdefs.h.  */
 12596  #ifndef __APPLE_CC__
 12597  	       not a universal capable compiler
 12598  	     #endif
 12599  	     typedef int dummy;
 12600  
 12601  _ACEOF
 12602  if ac_fn_c_try_compile "$LINENO"; then :
 12603  
 12604  	# Check for potential -arch flags.  It is not universal unless
 12605  	# there are at least two -arch flags with different values.
 12606  	ac_arch=
 12607  	ac_prev=
 12608  	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
 12609  	 if test -n "$ac_prev"; then
 12610  	   case $ac_word in
 12611  	     i?86 | x86_64 | ppc | ppc64)
 12612  	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
 12613  		 ac_arch=$ac_word
 12614  	       else
 12615  		 ac_cv_c_bigendian=universal
 12616  		 break
 12617  	       fi
 12618  	       ;;
 12619  	   esac
 12620  	   ac_prev=
 12621  	 elif test "x$ac_word" = "x-arch"; then
 12622  	   ac_prev=arch
 12623  	 fi
 12624         done
 12625  fi
 12626  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12627      if test $ac_cv_c_bigendian = unknown; then
 12628        # See if sys/param.h defines the BYTE_ORDER macro.
 12629        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12630  /* end confdefs.h.  */
 12631  #include <sys/types.h>
 12632  	     #include <sys/param.h>
 12633  
 12634  int
 12635  main ()
 12636  {
 12637  #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
 12638  		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
 12639  		     && LITTLE_ENDIAN)
 12640  	      bogus endian macros
 12641  	     #endif
 12642  
 12643    ;
 12644    return 0;
 12645  }
 12646  _ACEOF
 12647  if ac_fn_c_try_compile "$LINENO"; then :
 12648    # It does; now see whether it defined to BIG_ENDIAN or not.
 12649  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12650  /* end confdefs.h.  */
 12651  #include <sys/types.h>
 12652  		#include <sys/param.h>
 12653  
 12654  int
 12655  main ()
 12656  {
 12657  #if BYTE_ORDER != BIG_ENDIAN
 12658  		 not big endian
 12659  		#endif
 12660  
 12661    ;
 12662    return 0;
 12663  }
 12664  _ACEOF
 12665  if ac_fn_c_try_compile "$LINENO"; then :
 12666    ac_cv_c_bigendian=yes
 12667  else
 12668    ac_cv_c_bigendian=no
 12669  fi
 12670  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12671  fi
 12672  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12673      fi
 12674      if test $ac_cv_c_bigendian = unknown; then
 12675        # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
 12676        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12677  /* end confdefs.h.  */
 12678  #include <limits.h>
 12679  
 12680  int
 12681  main ()
 12682  {
 12683  #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
 12684  	      bogus endian macros
 12685  	     #endif
 12686  
 12687    ;
 12688    return 0;
 12689  }
 12690  _ACEOF
 12691  if ac_fn_c_try_compile "$LINENO"; then :
 12692    # It does; now see whether it defined to _BIG_ENDIAN or not.
 12693  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12694  /* end confdefs.h.  */
 12695  #include <limits.h>
 12696  
 12697  int
 12698  main ()
 12699  {
 12700  #ifndef _BIG_ENDIAN
 12701  		 not big endian
 12702  		#endif
 12703  
 12704    ;
 12705    return 0;
 12706  }
 12707  _ACEOF
 12708  if ac_fn_c_try_compile "$LINENO"; then :
 12709    ac_cv_c_bigendian=yes
 12710  else
 12711    ac_cv_c_bigendian=no
 12712  fi
 12713  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12714  fi
 12715  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12716      fi
 12717      if test $ac_cv_c_bigendian = unknown; then
 12718        # Compile a test program.
 12719        if test "$cross_compiling" = yes; then :
 12720    # Try to guess by grepping values from an object file.
 12721  	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12722  /* end confdefs.h.  */
 12723  short int ascii_mm[] =
 12724  		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
 12725  		short int ascii_ii[] =
 12726  		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
 12727  		int use_ascii (int i) {
 12728  		  return ascii_mm[i] + ascii_ii[i];
 12729  		}
 12730  		short int ebcdic_ii[] =
 12731  		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
 12732  		short int ebcdic_mm[] =
 12733  		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
 12734  		int use_ebcdic (int i) {
 12735  		  return ebcdic_mm[i] + ebcdic_ii[i];
 12736  		}
 12737  		extern int foo;
 12738  
 12739  int
 12740  main ()
 12741  {
 12742  return use_ascii (foo) == use_ebcdic (foo);
 12743    ;
 12744    return 0;
 12745  }
 12746  _ACEOF
 12747  if ac_fn_c_try_compile "$LINENO"; then :
 12748    if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
 12749  	      ac_cv_c_bigendian=yes
 12750  	    fi
 12751  	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
 12752  	      if test "$ac_cv_c_bigendian" = unknown; then
 12753  		ac_cv_c_bigendian=no
 12754  	      else
 12755  		# finding both strings is unlikely to happen, but who knows?
 12756  		ac_cv_c_bigendian=unknown
 12757  	      fi
 12758  	    fi
 12759  fi
 12760  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12761  else
 12762    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12763  /* end confdefs.h.  */
 12764  $ac_includes_default
 12765  int
 12766  main ()
 12767  {
 12768  
 12769  	     /* Are we little or big endian?  From Harbison&Steele.  */
 12770  	     union
 12771  	     {
 12772  	       long int l;
 12773  	       char c[sizeof (long int)];
 12774  	     } u;
 12775  	     u.l = 1;
 12776  	     return u.c[sizeof (long int) - 1] == 1;
 12777  
 12778    ;
 12779    return 0;
 12780  }
 12781  _ACEOF
 12782  if ac_fn_c_try_run "$LINENO"; then :
 12783    ac_cv_c_bigendian=no
 12784  else
 12785    ac_cv_c_bigendian=yes
 12786  fi
 12787  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 12788    conftest.$ac_objext conftest.beam conftest.$ac_ext
 12789  fi
 12790  
 12791      fi
 12792  fi
 12793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
 12794  $as_echo "$ac_cv_c_bigendian" >&6; }
 12795   case $ac_cv_c_bigendian in #(
 12796     yes)
 12797       $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
 12798  ;; #(
 12799     no)
 12800        ;; #(
 12801     universal)
 12802  
 12803  $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 12804  
 12805       ;; #(
 12806     *)
 12807       as_fn_error "unknown endianness
 12808   presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
 12809   esac
 12810  
 12811  
 12812  GCC_CHECK_UNWIND_GETIPINFO
 12813  
 12814  # Check whether --enable-sjlj-exceptions was given.
 12815  if test "${enable_sjlj_exceptions+set}" = set; then :
 12816    enableval=$enable_sjlj_exceptions; case "$enableval" in
 12817     yes|no|auto) ;;
 12818     *) as_fn_error "unknown argument to --enable-sjlj-exceptions" "$LINENO" 5 ;;
 12819     esac
 12820  else
 12821    enable_sjlj_exceptions=auto
 12822  fi
 12823  
 12824  
 12825  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use setjmp/longjmp exceptions" >&5
 12826  $as_echo_n "checking whether to use setjmp/longjmp exceptions... " >&6; }
 12827  if test "${libgo_cv_lib_sjlj_exceptions+set}" = set; then :
 12828    $as_echo_n "(cached) " >&6
 12829  else
 12830    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12831  /* end confdefs.h.  */
 12832  
 12833  void bar ();
 12834  void clean (int *);
 12835  void foo ()
 12836  {
 12837    int i __attribute__ ((cleanup (clean)));
 12838    bar();
 12839  }
 12840  
 12841  _ACEOF
 12842  CFLAGS_hold=$CFLAGS
 12843  CFLAGS="--save-temps -fexceptions"
 12844  libgo_cv_lib_sjlj_exceptions=unknown
 12845  if ac_fn_c_try_compile; then :
 12846    if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1; then
 12847      libgo_cv_lib_sjlj_exceptions=yes
 12848    elif grep _Unwind_Resume conftest.s >/dev/null 2>&1; then
 12849      libgo_cv_lib_sjlj_exceptions=no
 12850    fi
 12851  fi
 12852  CFLAGS=$CFLAGS_hold
 12853  rm -f conftest*
 12854  
 12855  fi
 12856  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_sjlj_exceptions" >&5
 12857  $as_echo "$libgo_cv_lib_sjlj_exceptions" >&6; }
 12858  
 12859  if test "$enable_sjlj_exceptions" = "auto"; then
 12860    enable_sjlj_exceptions=$libgo_cv_lib_sjlj_exceptions
 12861  fi
 12862  
 12863  case $enable_sjlj_exceptions in
 12864  yes)
 12865  
 12866  $as_echo "#define LIBGO_SJLJ_EXCEPTIONS 1" >>confdefs.h
 12867  
 12868    ;;
 12869  no)
 12870    ;;
 12871  *)
 12872    as_fn_error "unable to detect exception model" "$LINENO" 5
 12873    ;;
 12874  esac
 12875  
 12876  for ac_header in sched.h sys/file.h sys/mman.h syscall.h sys/epoll.h sys/inotify.h sys/ptrace.h sys/syscall.h sys/user.h sys/utsname.h sys/select.h sys/socket.h net/if.h net/if_arp.h net/route.h netpacket/packet.h sys/prctl.h sys/mount.h sys/vfs.h sys/statfs.h sys/timex.h sys/sysinfo.h utime.h linux/ether.h linux/fs.h linux/reboot.h netinet/icmp6.h netinet/in_syst.h netinet/ip.h netinet/ip_mroute.h netinet/if_ether.h
 12877  do :
 12878    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 12879  ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
 12880  eval as_val=\$$as_ac_Header
 12881     if test "x$as_val" = x""yes; then :
 12882    cat >>confdefs.h <<_ACEOF
 12883  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 12884  _ACEOF
 12885  
 12886  fi
 12887  
 12888  done
 12889  
 12890  
 12891  for ac_header in linux/filter.h linux/if_addr.h linux/if_ether.h linux/if_tun.h linux/netlink.h linux/rtnetlink.h
 12892  do :
 12893    as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 12894  ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_SOCKET_H
 12895  #include <sys/socket.h>
 12896  #endif
 12897  
 12898  "
 12899  eval as_val=\$$as_ac_Header
 12900     if test "x$as_val" = x""yes; then :
 12901    cat >>confdefs.h <<_ACEOF
 12902  #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 12903  _ACEOF
 12904  
 12905  fi
 12906  
 12907  done
 12908  
 12909  
 12910  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <ustat.h> can be used" >&5
 12911  $as_echo_n "checking whether <ustat.h> can be used... " >&6; }
 12912  if test "${libgo_cv_c_ustat_h+set}" = set; then :
 12913    $as_echo_n "(cached) " >&6
 12914  else
 12915    CFLAGS_hold=$CFLAGS
 12916  CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $OSCFLAGS"
 12917  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 12918  /* end confdefs.h.  */
 12919  
 12920  #include <sys/types.h>
 12921  #ifdef HAVE_LINUX_FILTER_H
 12922  #include <linux/filter.h>
 12923  #endif
 12924  #include <ustat.h>
 12925  
 12926  _ACEOF
 12927  if ac_fn_c_try_compile "$LINENO"; then :
 12928    libgo_cv_c_ustat_h=yes
 12929  else
 12930    libgo_cv_c_ustat_h=no
 12931  fi
 12932  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12933  CFLAGS=$CFLAGS_hold
 12934  fi
 12935  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_ustat_h" >&5
 12936  $as_echo "$libgo_cv_c_ustat_h" >&6; }
 12937  if test $libgo_cv_c_ustat_h = yes; then
 12938  
 12939  $as_echo "#define HAVE_USTAT_H 1" >>confdefs.h
 12940  
 12941  fi
 12942  
 12943   if test "$ac_cv_header_sys_mman_h" = yes; then
 12944    HAVE_SYS_MMAN_H_TRUE=
 12945    HAVE_SYS_MMAN_H_FALSE='#'
 12946  else
 12947    HAVE_SYS_MMAN_H_TRUE='#'
 12948    HAVE_SYS_MMAN_H_FALSE=
 12949  fi
 12950  
 12951  
 12952  for ac_func in strerror_r strsignal wait4 mincore setenv unsetenv dl_iterate_phdr
 12953  do :
 12954    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 12955  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 12956  eval as_val=\$$as_ac_var
 12957     if test "x$as_val" = x""yes; then :
 12958    cat >>confdefs.h <<_ACEOF
 12959  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 12960  _ACEOF
 12961  
 12962  fi
 12963  done
 12964  
 12965   if test "$ac_cv_func_strerror_r" = yes; then
 12966    HAVE_STRERROR_R_TRUE=
 12967    HAVE_STRERROR_R_FALSE='#'
 12968  else
 12969    HAVE_STRERROR_R_TRUE='#'
 12970    HAVE_STRERROR_R_FALSE=
 12971  fi
 12972  
 12973   if test "$ac_cv_func_wait4" = yes; then
 12974    HAVE_WAIT4_TRUE=
 12975    HAVE_WAIT4_FALSE='#'
 12976  else
 12977    HAVE_WAIT4_TRUE='#'
 12978    HAVE_WAIT4_FALSE=
 12979  fi
 12980  
 12981  
 12982  for ac_func in accept4 dup3 epoll_create1 faccessat fallocate fchmodat fchownat futimesat getxattr inotify_add_watch inotify_init inotify_init1 inotify_rm_watch listxattr mkdirat mknodat open64 openat pipe2 removexattr renameat setxattr sync_file_range splice tee unlinkat unshare utimensat
 12983  do :
 12984    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 12985  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 12986  eval as_val=\$$as_ac_var
 12987     if test "x$as_val" = x""yes; then :
 12988    cat >>confdefs.h <<_ACEOF
 12989  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 12990  _ACEOF
 12991  
 12992  fi
 12993  done
 12994  
 12995  ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
 12996  if test "x$ac_cv_type_off_t" = x""yes; then :
 12997  
 12998  else
 12999  
 13000  cat >>confdefs.h <<_ACEOF
 13001  #define off_t long int
 13002  _ACEOF
 13003  
 13004  fi
 13005  
 13006  ac_fn_c_check_type "$LINENO" "loff_t" "ac_cv_type_loff_t" "$ac_includes_default"
 13007  if test "x$ac_cv_type_loff_t" = x""yes; then :
 13008  
 13009  cat >>confdefs.h <<_ACEOF
 13010  #define HAVE_LOFF_T 1
 13011  _ACEOF
 13012  
 13013  
 13014  fi
 13015  
 13016  
 13017  LIBS_hold="$LIBS"
 13018  LIBS="$LIBS -lm"
 13019  for ac_func in cosl expl logl sinl tanl acosl asinl atanl atan2l expm1l ldexpl log10l log1pl
 13020  do :
 13021    as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 13022  ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
 13023  eval as_val=\$$as_ac_var
 13024     if test "x$as_val" = x""yes; then :
 13025    cat >>confdefs.h <<_ACEOF
 13026  #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 13027  _ACEOF
 13028  
 13029  fi
 13030  done
 13031  
 13032  LIBS="$LIBS_hold"
 13033  
 13034  CFLAGS_hold="$CFLAGS"
 13035  CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
 13036  LIBS_hold="$LIBS"
 13037  LIBS="$LIBS $PTHREAD_LIBS"
 13038  for ac_func in sem_timedwait
 13039  do :
 13040    ac_fn_c_check_func "$LINENO" "sem_timedwait" "ac_cv_func_sem_timedwait"
 13041  if test "x$ac_cv_func_sem_timedwait" = x""yes; then :
 13042    cat >>confdefs.h <<_ACEOF
 13043  #define HAVE_SEM_TIMEDWAIT 1
 13044  _ACEOF
 13045  
 13046  fi
 13047  done
 13048  
 13049  CFLAGS="$CFLAGS_hold"
 13050  LIBS="$LIBS_hold"
 13051  
 13052  LIBS_hold="$LIBS"
 13053  LIBS="$LIBS $MATH_LIBS"
 13054  for ac_func in matherr
 13055  do :
 13056    ac_fn_c_check_func "$LINENO" "matherr" "ac_cv_func_matherr"
 13057  if test "x$ac_cv_func_matherr" = x""yes; then :
 13058    cat >>confdefs.h <<_ACEOF
 13059  #define HAVE_MATHERR 1
 13060  _ACEOF
 13061  
 13062  fi
 13063  done
 13064  
 13065  LIBS="$LIBS_hold"
 13066  
 13067  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_4" >&5
 13068  $as_echo_n "checking for __sync_bool_compare_and_swap_4... " >&6; }
 13069  if test "${libgo_cv_func___sync_bool_compare_and_swap_4+set}" = set; then :
 13070    $as_echo_n "(cached) " >&6
 13071  else
 13072    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13073  /* end confdefs.h.  */
 13074  
 13075  typedef unsigned int uint32  __attribute__ ((mode (SI)));
 13076  uint32 i;
 13077  int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
 13078  
 13079  _ACEOF
 13080  if ac_fn_c_try_link "$LINENO"; then :
 13081    libgo_cv_func___sync_bool_compare_and_swap_4=yes
 13082  else
 13083    libgo_cv_func___sync_bool_compare_and_swap_4=no
 13084  fi
 13085  rm -f core conftest.err conftest.$ac_objext \
 13086      conftest$ac_exeext conftest.$ac_ext
 13087  fi
 13088  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_4" >&5
 13089  $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_4" >&6; }
 13090  if test "$libgo_cv_func___sync_bool_compare_and_swap_4" = "yes"; then
 13091  
 13092  $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 1" >>confdefs.h
 13093  
 13094  fi
 13095  
 13096  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_bool_compare_and_swap_8" >&5
 13097  $as_echo_n "checking for __sync_bool_compare_and_swap_8... " >&6; }
 13098  if test "${libgo_cv_func___sync_bool_compare_and_swap_8+set}" = set; then :
 13099    $as_echo_n "(cached) " >&6
 13100  else
 13101    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13102  /* end confdefs.h.  */
 13103  
 13104  typedef unsigned int uint64  __attribute__ ((mode (DI)));
 13105  uint64 i;
 13106  int main() { return __sync_bool_compare_and_swap (&i, 0, 1); }
 13107  
 13108  _ACEOF
 13109  if ac_fn_c_try_link "$LINENO"; then :
 13110    libgo_cv_func___sync_bool_compare_and_swap_8=yes
 13111  else
 13112    libgo_cv_func___sync_bool_compare_and_swap_8=no
 13113  fi
 13114  rm -f core conftest.err conftest.$ac_objext \
 13115      conftest$ac_exeext conftest.$ac_ext
 13116  fi
 13117  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_bool_compare_and_swap_8" >&5
 13118  $as_echo "$libgo_cv_func___sync_bool_compare_and_swap_8" >&6; }
 13119  if test "$libgo_cv_func___sync_bool_compare_and_swap_8" = "yes"; then
 13120  
 13121  $as_echo "#define HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 1" >>confdefs.h
 13122  
 13123  fi
 13124  
 13125  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add_4" >&5
 13126  $as_echo_n "checking for __sync_fetch_and_add_4... " >&6; }
 13127  if test "${libgo_cv_func___sync_fetch_and_add_4+set}" = set; then :
 13128    $as_echo_n "(cached) " >&6
 13129  else
 13130    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13131  /* end confdefs.h.  */
 13132  
 13133  typedef unsigned int uint32  __attribute__ ((mode (SI)));
 13134  uint32 i;
 13135  int main() { return __sync_fetch_and_add (&i, 1); }
 13136  
 13137  _ACEOF
 13138  if ac_fn_c_try_link "$LINENO"; then :
 13139    libgo_cv_func___sync_fetch_and_add_4=yes
 13140  else
 13141    libgo_cv_func___sync_fetch_and_add_4=no
 13142  fi
 13143  rm -f core conftest.err conftest.$ac_objext \
 13144      conftest$ac_exeext conftest.$ac_ext
 13145  fi
 13146  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_fetch_and_add_4" >&5
 13147  $as_echo "$libgo_cv_func___sync_fetch_and_add_4" >&6; }
 13148  if test "$libgo_cv_func___sync_fetch_and_add_4" = "yes"; then
 13149  
 13150  $as_echo "#define HAVE_SYNC_FETCH_AND_ADD_4 1" >>confdefs.h
 13151  
 13152  fi
 13153  
 13154  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_add_and_fetch_8" >&5
 13155  $as_echo_n "checking for __sync_add_and_fetch_8... " >&6; }
 13156  if test "${libgo_cv_func___sync_add_and_fetch_8+set}" = set; then :
 13157    $as_echo_n "(cached) " >&6
 13158  else
 13159    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13160  /* end confdefs.h.  */
 13161  
 13162  typedef unsigned int uint64  __attribute__ ((mode (DI)));
 13163  uint64 i;
 13164  int main() { return __sync_add_and_fetch (&i, 1); }
 13165  
 13166  _ACEOF
 13167  if ac_fn_c_try_link "$LINENO"; then :
 13168    libgo_cv_func___sync_add_and_fetch_8=yes
 13169  else
 13170    libgo_cv_func___sync_add_and_fetch_8=no
 13171  fi
 13172  rm -f core conftest.err conftest.$ac_objext \
 13173      conftest$ac_exeext conftest.$ac_ext
 13174  fi
 13175  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_func___sync_add_and_fetch_8" >&5
 13176  $as_echo "$libgo_cv_func___sync_add_and_fetch_8" >&6; }
 13177  if test "$libgo_cv_func___sync_add_and_fetch_8" = "yes"; then
 13178  
 13179  $as_echo "#define HAVE_SYNC_ADD_AND_FETCH_8 1" >>confdefs.h
 13180  
 13181  fi
 13182  
 13183  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -minline-all-stringops" >&5
 13184  $as_echo_n "checking whether compiler supports -minline-all-stringops... " >&6; }
 13185  if test "${libgo_cv_c_stringops+set}" = set; then :
 13186    $as_echo_n "(cached) " >&6
 13187  else
 13188    CFLAGS_hold=$CFLAGS
 13189  CFLAGS="$CFLAGS -minline-all-stringops"
 13190  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13191  /* end confdefs.h.  */
 13192  int i;
 13193  _ACEOF
 13194  if ac_fn_c_try_compile "$LINENO"; then :
 13195    libgo_cv_c_stringops=yes
 13196  else
 13197    libgo_cv_c_stringops=no
 13198  fi
 13199  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13200  CFLAGS=$CFLAGS_hold
 13201  fi
 13202  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_stringops" >&5
 13203  $as_echo "$libgo_cv_c_stringops" >&6; }
 13204  STRINGOPS_FLAG=
 13205  if test "$libgo_cv_c_stringops" = yes; then
 13206    STRINGOPS_FLAG=-minline-all-stringops
 13207  fi
 13208  
 13209  
 13210  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler supports -mfancy-math-387" >&5
 13211  $as_echo_n "checking whether compiler supports -mfancy-math-387... " >&6; }
 13212  if test "${libgo_cv_c_fancymath+set}" = set; then :
 13213    $as_echo_n "(cached) " >&6
 13214  else
 13215    CFLAGS_hold=$CFLAGS
 13216  CFLAGS="$CFLAGS -mfancy-math-387"
 13217  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13218  /* end confdefs.h.  */
 13219  int i;
 13220  _ACEOF
 13221  if ac_fn_c_try_compile "$LINENO"; then :
 13222    libgo_cv_c_fancymath=yes
 13223  else
 13224    libgo_cv_c_fancymath=no
 13225  fi
 13226  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13227  CFLAGS=$CFLAGS_hold
 13228  fi
 13229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_fancymath" >&5
 13230  $as_echo "$libgo_cv_c_fancymath" >&6; }
 13231  MATH_FLAG=
 13232  if test "$libgo_cv_c_fancymath" = yes; then
 13233    MATH_FLAG="-mfancy-math-387 -funsafe-math-optimizations"
 13234  else
 13235    MATH_FLAG="-ffp-contract=off"
 13236  fi
 13237  
 13238  
 13239  CFLAGS_hold=$CFLAGS
 13240  CFLAGS="$CFLAGS -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE"
 13241  ac_fn_c_check_type "$LINENO" "off64_t" "ac_cv_type_off64_t" "$ac_includes_default"
 13242  if test "x$ac_cv_type_off64_t" = x""yes; then :
 13243  
 13244  cat >>confdefs.h <<_ACEOF
 13245  #define HAVE_OFF64_T 1
 13246  _ACEOF
 13247  
 13248  
 13249  fi
 13250  
 13251  CFLAGS=$CFLAGS_hold
 13252  
 13253  { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event size" >&5
 13254  $as_echo_n "checking epoll_event size... " >&6; }
 13255  if test "${libgo_cv_c_epoll_event_size+set}" = set; then :
 13256    $as_echo_n "(cached) " >&6
 13257  else
 13258    if ac_fn_c_compute_int "$LINENO" "sizeof (struct epoll_event)" "libgo_cv_c_epoll_event_size"        "#include <sys/epoll.h>"; then :
 13259  
 13260  else
 13261    libgo_cv_c_epoll_event_size=0
 13262  fi
 13263  
 13264  fi
 13265  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_size" >&5
 13266  $as_echo "$libgo_cv_c_epoll_event_size" >&6; }
 13267  SIZEOF_STRUCT_EPOLL_EVENT=${libgo_cv_c_epoll_event_size}
 13268  
 13269  
 13270  { $as_echo "$as_me:${as_lineno-$LINENO}: checking epoll_event data.fd offset" >&5
 13271  $as_echo_n "checking epoll_event data.fd offset... " >&6; }
 13272  if test "${libgo_cv_c_epoll_event_fd_offset+set}" = set; then :
 13273    $as_echo_n "(cached) " >&6
 13274  else
 13275    if ac_fn_c_compute_int "$LINENO" "offsetof (struct epoll_event, data.fd)" "libgo_cv_c_epoll_event_fd_offset"        "#include <stddef.h>
 13276  #include <sys/epoll.h>"; then :
 13277  
 13278  else
 13279    libgo_cv_c_epoll_event_fd_offset=0
 13280  fi
 13281  
 13282  fi
 13283  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_epoll_event_fd_offset" >&5
 13284  $as_echo "$libgo_cv_c_epoll_event_fd_offset" >&6; }
 13285  STRUCT_EPOLL_EVENT_FD_OFFSET=${libgo_cv_c_epoll_event_fd_offset}
 13286  
 13287  
 13288  ac_fn_c_check_type "$LINENO" "struct exception" "ac_cv_type_struct_exception" "#include <math.h>
 13289  "
 13290  if test "x$ac_cv_type_struct_exception" = x""yes; then :
 13291    libgo_has_struct_exception=yes
 13292  else
 13293    libgo_has_struct_exception=no
 13294  fi
 13295  
 13296  if test "$libgo_has_struct_exception" = "yes"; then
 13297  
 13298  $as_echo "#define HAVE_STRUCT_EXCEPTION 1" >>confdefs.h
 13299  
 13300  fi
 13301  
 13302  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether setcontext clobbers TLS variables" >&5
 13303  $as_echo_n "checking whether setcontext clobbers TLS variables... " >&6; }
 13304  if test "${libgo_cv_lib_setcontext_clobbers_tls+set}" = set; then :
 13305    $as_echo_n "(cached) " >&6
 13306  else
 13307    CFLAGS_hold="$CFLAGS"
 13308  CFLAGS="$PTHREAD_CFLAGS"
 13309  LIBS_hold="$LIBS"
 13310  LIBS="$LIBS $PTHREAD_LIBS"
 13311  # The cast to long int works around a bug in the HP C Compiler
 13312  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
 13313  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
 13314  # This bug is HP SR number 8606223364.
 13315  { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
 13316  $as_echo_n "checking size of void *... " >&6; }
 13317  if test "${ac_cv_sizeof_void_p+set}" = set; then :
 13318    $as_echo_n "(cached) " >&6
 13319  else
 13320    if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
 13321  
 13322  else
 13323    if test "$ac_cv_type_void_p" = yes; then
 13324       { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 13325  $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 13326  { as_fn_set_status 77
 13327  as_fn_error "cannot compute sizeof (void *)
 13328  See \`config.log' for more details." "$LINENO" 5; }; }
 13329     else
 13330       ac_cv_sizeof_void_p=0
 13331     fi
 13332  fi
 13333  
 13334  fi
 13335  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
 13336  $as_echo "$ac_cv_sizeof_void_p" >&6; }
 13337  
 13338  
 13339  
 13340  cat >>confdefs.h <<_ACEOF
 13341  #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
 13342  _ACEOF
 13343  
 13344  
 13345  as_fn_arith $ac_cv_sizeof_void_p \* 8 && ptr_type_size=$as_val
 13346  if test "$cross_compiling" = yes; then :
 13347    case "$target:$ptr_type_size" in
 13348    i?86-*-solaris2.1[01]:64 | x86_64*-*-solaris2.1[01]:64)
 13349      libgo_cv_lib_setcontext_clobbers_tls=yes ;;
 13350    *)
 13351      libgo_cv_lib_setcontext_clobbers_tls=no ;;
 13352   esac
 13353  
 13354  else
 13355    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13356  /* end confdefs.h.  */
 13357  
 13358  #include <pthread.h>
 13359  #include <stdlib.h>
 13360  #include <ucontext.h>
 13361  #include <unistd.h>
 13362  
 13363  __thread int tls;
 13364  
 13365  static char stack[10 * 1024 * 1024];
 13366  static ucontext_t c;
 13367  
 13368  /* Called via makecontext/setcontext.  */
 13369  
 13370  static void
 13371  cfn (void)
 13372  {
 13373    exit (tls);
 13374  }
 13375  
 13376  /* Called via pthread_create.  */
 13377  
 13378  static void *
 13379  tfn (void *dummy)
 13380  {
 13381    /* The thread should still see this value after calling
 13382       setcontext.  */
 13383    tls = 0;
 13384  
 13385    setcontext (&c);
 13386  
 13387    /* The call to setcontext should not return.  */
 13388    abort ();
 13389  }
 13390  
 13391  int
 13392  main ()
 13393  {
 13394    pthread_t tid;
 13395  
 13396    /* The thread should not see this value.  */
 13397    tls = 1;
 13398  
 13399    if (getcontext (&c) < 0)
 13400      abort ();
 13401  
 13402    c.uc_stack.ss_sp = stack;
 13403  #ifdef MAKECONTEXT_STACK_TOP
 13404    c.uc_stack.ss_sp += sizeof stack;
 13405  #endif
 13406    c.uc_stack.ss_flags = 0;
 13407    c.uc_stack.ss_size = sizeof stack;
 13408    c.uc_link = NULL;
 13409    makecontext (&c, cfn, 0);
 13410  
 13411    if (pthread_create (&tid, NULL, tfn, NULL) != 0)
 13412      abort ();
 13413  
 13414    if (pthread_join (tid, NULL) != 0)
 13415      abort ();
 13416  
 13417    /* The thread should have called exit.  */
 13418    abort ();
 13419  }
 13420  
 13421  _ACEOF
 13422  if ac_fn_c_try_run "$LINENO"; then :
 13423    libgo_cv_lib_setcontext_clobbers_tls=no
 13424  else
 13425    libgo_cv_lib_setcontext_clobbers_tls=yes
 13426  fi
 13427  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 13428    conftest.$ac_objext conftest.beam conftest.$ac_ext
 13429  fi
 13430  
 13431  CFLAGS="$CFLAGS_hold"
 13432  LIBS="$LIBS_hold"
 13433  
 13434  fi
 13435  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_lib_setcontext_clobbers_tls" >&5
 13436  $as_echo "$libgo_cv_lib_setcontext_clobbers_tls" >&6; }
 13437  if test "$libgo_cv_lib_setcontext_clobbers_tls" = "yes"; then
 13438  
 13439  $as_echo "#define SETCONTEXT_CLOBBERS_TLS 1" >>confdefs.h
 13440  
 13441  fi
 13442  
 13443  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5
 13444  $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; }
 13445  if test "${libgo_cv_ro_eh_frame+set}" = set; then :
 13446    $as_echo_n "(cached) " >&6
 13447  else
 13448  
 13449  libgo_cv_ro_eh_frame=no
 13450  echo 'extern void foo (void); void bar (void) { foo (); foo (); }' > conftest.c
 13451  if $CC $CFLAGS -S -fpic -fexceptions -o conftest.s conftest.c > /dev/null 2>&1; then
 13452    if grep '.section.*eh_frame.*"a"' conftest.s > /dev/null; then
 13453      libgo_cv_ro_eh_frame=yes
 13454    elif grep '.section.*eh_frame.*#alloc' conftest.c \
 13455         | grep -v '#write' > /dev/null; then
 13456      libgo_cv_ro_eh_frame=yes
 13457    fi
 13458  fi
 13459  rm -f conftest.*
 13460  
 13461  fi
 13462  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_ro_eh_frame" >&5
 13463  $as_echo "$libgo_cv_ro_eh_frame" >&6; }
 13464  if test "x$libgo_cv_ro_eh_frame" = xyes; then
 13465  
 13466  $as_echo "#define EH_FRAME_FLAGS \"a\"" >>confdefs.h
 13467  
 13468  else
 13469  
 13470  $as_echo "#define EH_FRAME_FLAGS \"aw\"" >>confdefs.h
 13471  
 13472  fi
 13473  
 13474  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Qunused-arguments" >&5
 13475  $as_echo_n "checking if compiler supports -Qunused-arguments... " >&6; }
 13476  if test "${libgo_cv_c_unused_arguments+set}" = set; then :
 13477    $as_echo_n "(cached) " >&6
 13478  else
 13479    CFLAGS_hold=$CFLAGS
 13480  CFLAGS="$CFLAGS -Qunused-arguments"
 13481  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 13482  /* end confdefs.h.  */
 13483  int i;
 13484  _ACEOF
 13485  if ac_fn_c_try_compile "$LINENO"; then :
 13486    libgo_cv_c_unused_arguments=yes
 13487  else
 13488    libgo_cv_c_unused_arguments=no
 13489  fi
 13490  rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13491  CFLAGS=$CFLAGS_hold
 13492  fi
 13493  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_c_unused_arguments" >&5
 13494  $as_echo "$libgo_cv_c_unused_arguments" >&6; }
 13495  
 13496  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if assembler supports GNU comdat group syntax" >&5
 13497  $as_echo_n "checking if assembler supports GNU comdat group syntax... " >&6; }
 13498  if test "${libgo_cv_as_comdat_gnu+set}" = set; then :
 13499    $as_echo_n "(cached) " >&6
 13500  else
 13501  
 13502  echo '.section .text,"axG",@progbits,.foo,comdat' > conftest.s
 13503  CFLAGS_hold=$CFLAGS
 13504  if test "$libgo_cv_c_unused_arguments" = yes; then
 13505    CFLAGS="$CFLAGS -Qunused-arguments"
 13506  fi
 13507  if $CC $CFLAGS -c conftest.s > /dev/null 2>&1; then
 13508    libgo_cv_as_comdat_gnu=yes
 13509  else
 13510    libgo_cv_as_comdat_gnu=no
 13511  fi
 13512  CFLAGS=$CFLAGS_hold
 13513  
 13514  fi
 13515  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_comdat_gnu" >&5
 13516  $as_echo "$libgo_cv_as_comdat_gnu" >&6; }
 13517  if test "x$libgo_cv_as_comdat_gnu" = xyes; then
 13518  
 13519  $as_echo "#define HAVE_AS_COMDAT_GAS 1" >>confdefs.h
 13520  
 13521  fi
 13522  
 13523  { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5
 13524  $as_echo_n "checking assembler supports pc related relocs... " >&6; }
 13525  if test "${libgo_cv_as_x86_pcrel+set}" = set; then :
 13526    $as_echo_n "(cached) " >&6
 13527  else
 13528  
 13529  libgo_cv_as_x86_pcrel=yes
 13530  echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s
 13531  CFLAGS_hold=$CFLAGS
 13532  if test "$libgo_cv_c_unused_arguments" = yes; then
 13533    CFLAGS="$CFLAGS -Qunused-arguments"
 13534  fi
 13535  if $CC $CFLAGS -c conftest.s 2>&1 | $EGREP -i 'illegal|warning' > /dev/null; then
 13536      libgo_cv_as_x86_pcrel=no
 13537  fi
 13538  CFLAGS=$CFLAGS_hold
 13539  
 13540  fi
 13541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_pcrel" >&5
 13542  $as_echo "$libgo_cv_as_x86_pcrel" >&6; }
 13543  if test "x$libgo_cv_as_x86_pcrel" = xyes; then
 13544  
 13545  $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h
 13546  
 13547  fi
 13548  
 13549  { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5
 13550  $as_echo_n "checking assembler supports unwind section type... " >&6; }
 13551  if test "${libgo_cv_as_x86_64_unwind_section_type+set}" = set; then :
 13552    $as_echo_n "(cached) " >&6
 13553  else
 13554  
 13555  libgo_cv_as_x86_64_unwind_section_type=yes
 13556  echo '.section .eh_frame,"a",@unwind' > conftest.s
 13557  CFLAGS_hold=$CFLAGS
 13558  if test "$libgo_cv_c_unused_arguments" = yes; then
 13559    CFLAGS="$CFLAGS -Qunused-arguments"
 13560  fi
 13561  if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then
 13562      libgo_cv_as_x86_64_unwind_section_type=no
 13563  fi
 13564  CFLAGS=$CFLAGS_hold
 13565  
 13566  fi
 13567  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $libgo_cv_as_x86_64_unwind_section_type" >&5
 13568  $as_echo "$libgo_cv_as_x86_64_unwind_section_type" >&6; }
 13569  if test "x$libgo_cv_as_x86_64_unwind_section_type" = xyes; then
 13570  
 13571  $as_echo "#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1" >>confdefs.h
 13572  
 13573  fi
 13574  
 13575  cat >confcache <<\_ACEOF
 13576  # This file is a shell script that caches the results of configure
 13577  # tests run on this system so they can be shared between configure
 13578  # scripts and configure runs, see configure's option --config-cache.
 13579  # It is not useful on other systems.  If it contains results you don't
 13580  # want to keep, you may remove or edit it.
 13581  #
 13582  # config.status only pays attention to the cache file if you give it
 13583  # the --recheck option to rerun configure.
 13584  #
 13585  # `ac_cv_env_foo' variables (set or unset) will be overridden when
 13586  # loading this file, other *unset* `ac_cv_foo' will be assigned the
 13587  # following values.
 13588  
 13589  _ACEOF
 13590  
 13591  # The following way of writing the cache mishandles newlines in values,
 13592  # but we know of no workaround that is simple, portable, and efficient.
 13593  # So, we kill variables containing newlines.
 13594  # Ultrix sh set writes to stderr and can't be redirected directly,
 13595  # and sets the high bit in the cache file unless we assign to the vars.
 13596  (
 13597    for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 13598      eval ac_val=\$$ac_var
 13599      case $ac_val in #(
 13600      *${as_nl}*)
 13601        case $ac_var in #(
 13602        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 13603  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 13604        esac
 13605        case $ac_var in #(
 13606        _ | IFS | as_nl) ;; #(
 13607        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 13608        *) { eval $ac_var=; unset $ac_var;} ;;
 13609        esac ;;
 13610      esac
 13611    done
 13612  
 13613    (set) 2>&1 |
 13614      case $as_nl`(ac_space=' '; set) 2>&1` in #(
 13615      *${as_nl}ac_space=\ *)
 13616        # `set' does not quote correctly, so add quotes: double-quote
 13617        # substitution turns \\\\ into \\, and sed turns \\ into \.
 13618        sed -n \
 13619  	"s/'/'\\\\''/g;
 13620  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 13621        ;; #(
 13622      *)
 13623        # `set' quotes correctly as required by POSIX, so do not add quotes.
 13624        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 13625        ;;
 13626      esac |
 13627      sort
 13628  ) |
 13629    sed '
 13630       /^ac_cv_env_/b end
 13631       t clear
 13632       :clear
 13633       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 13634       t end
 13635       s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 13636       :end' >>confcache
 13637  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 13638    if test -w "$cache_file"; then
 13639      test "x$cache_file" != "x/dev/null" &&
 13640        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 13641  $as_echo "$as_me: updating cache $cache_file" >&6;}
 13642      cat confcache >$cache_file
 13643    else
 13644      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 13645  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 13646    fi
 13647  fi
 13648  rm -f confcache
 13649  
 13650  if test ${multilib} = yes; then
 13651    multilib_arg="--enable-multilib"
 13652  else
 13653    multilib_arg=
 13654  fi
 13655  
 13656  ac_config_files="$ac_config_files Makefile testsuite/Makefile"
 13657  
 13658  
 13659  ac_config_commands="$ac_config_commands default"
 13660  
 13661  
 13662  cat >confcache <<\_ACEOF
 13663  # This file is a shell script that caches the results of configure
 13664  # tests run on this system so they can be shared between configure
 13665  # scripts and configure runs, see configure's option --config-cache.
 13666  # It is not useful on other systems.  If it contains results you don't
 13667  # want to keep, you may remove or edit it.
 13668  #
 13669  # config.status only pays attention to the cache file if you give it
 13670  # the --recheck option to rerun configure.
 13671  #
 13672  # `ac_cv_env_foo' variables (set or unset) will be overridden when
 13673  # loading this file, other *unset* `ac_cv_foo' will be assigned the
 13674  # following values.
 13675  
 13676  _ACEOF
 13677  
 13678  # The following way of writing the cache mishandles newlines in values,
 13679  # but we know of no workaround that is simple, portable, and efficient.
 13680  # So, we kill variables containing newlines.
 13681  # Ultrix sh set writes to stderr and can't be redirected directly,
 13682  # and sets the high bit in the cache file unless we assign to the vars.
 13683  (
 13684    for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 13685      eval ac_val=\$$ac_var
 13686      case $ac_val in #(
 13687      *${as_nl}*)
 13688        case $ac_var in #(
 13689        *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
 13690  $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
 13691        esac
 13692        case $ac_var in #(
 13693        _ | IFS | as_nl) ;; #(
 13694        BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 13695        *) { eval $ac_var=; unset $ac_var;} ;;
 13696        esac ;;
 13697      esac
 13698    done
 13699  
 13700    (set) 2>&1 |
 13701      case $as_nl`(ac_space=' '; set) 2>&1` in #(
 13702      *${as_nl}ac_space=\ *)
 13703        # `set' does not quote correctly, so add quotes: double-quote
 13704        # substitution turns \\\\ into \\, and sed turns \\ into \.
 13705        sed -n \
 13706  	"s/'/'\\\\''/g;
 13707  	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 13708        ;; #(
 13709      *)
 13710        # `set' quotes correctly as required by POSIX, so do not add quotes.
 13711        sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 13712        ;;
 13713      esac |
 13714      sort
 13715  ) |
 13716    sed '
 13717       /^ac_cv_env_/b end
 13718       t clear
 13719       :clear
 13720       s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 13721       t end
 13722       s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 13723       :end' >>confcache
 13724  if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 13725    if test -w "$cache_file"; then
 13726      test "x$cache_file" != "x/dev/null" &&
 13727        { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
 13728  $as_echo "$as_me: updating cache $cache_file" >&6;}
 13729      cat confcache >$cache_file
 13730    else
 13731      { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
 13732  $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 13733    fi
 13734  fi
 13735  rm -f confcache
 13736  
 13737  test "x$prefix" = xNONE && prefix=$ac_default_prefix
 13738  # Let make expand exec_prefix.
 13739  test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 13740  
 13741  DEFS=-DHAVE_CONFIG_H
 13742  
 13743  ac_libobjs=
 13744  ac_ltlibobjs=
 13745  for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 13746    # 1. Remove the extension, and $U if already installed.
 13747    ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 13748    ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 13749    # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 13750    #    will be set to the directory where LIBOBJS objects are built.
 13751    as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 13752    as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
 13753  done
 13754  LIBOBJS=$ac_libobjs
 13755  
 13756  LTLIBOBJS=$ac_ltlibobjs
 13757  
 13758  
 13759  { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
 13760  $as_echo_n "checking that generated files are newer than configure... " >&6; }
 13761     if test -n "$am_sleep_pid"; then
 13762       # Hide warnings about reused PIDs.
 13763       wait $am_sleep_pid 2>/dev/null
 13764     fi
 13765     { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
 13766  $as_echo "done" >&6; }
 13767   if test -n "$EXEEXT"; then
 13768    am__EXEEXT_TRUE=
 13769    am__EXEEXT_FALSE='#'
 13770  else
 13771    am__EXEEXT_TRUE='#'
 13772    am__EXEEXT_FALSE=
 13773  fi
 13774  
 13775  if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 13776    as_fn_error "conditional \"AMDEP\" was never defined.
 13777  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13778  fi
 13779  if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 13780    as_fn_error "conditional \"am__fastdepCC\" was never defined.
 13781  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13782  fi
 13783  if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 13784    as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
 13785  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13786  fi
 13787  if test -z "${LIBGO_IS_DARWIN_TRUE}" && test -z "${LIBGO_IS_DARWIN_FALSE}"; then
 13788    as_fn_error "conditional \"LIBGO_IS_DARWIN\" was never defined.
 13789  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13790  fi
 13791  if test -z "${LIBGO_IS_FREEBSD_TRUE}" && test -z "${LIBGO_IS_FREEBSD_FALSE}"; then
 13792    as_fn_error "conditional \"LIBGO_IS_FREEBSD\" was never defined.
 13793  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13794  fi
 13795  if test -z "${LIBGO_IS_IRIX_TRUE}" && test -z "${LIBGO_IS_IRIX_FALSE}"; then
 13796    as_fn_error "conditional \"LIBGO_IS_IRIX\" was never defined.
 13797  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13798  fi
 13799  if test -z "${LIBGO_IS_LINUX_TRUE}" && test -z "${LIBGO_IS_LINUX_FALSE}"; then
 13800    as_fn_error "conditional \"LIBGO_IS_LINUX\" was never defined.
 13801  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13802  fi
 13803  if test -z "${LIBGO_IS_NETBSD_TRUE}" && test -z "${LIBGO_IS_NETBSD_FALSE}"; then
 13804    as_fn_error "conditional \"LIBGO_IS_NETBSD\" was never defined.
 13805  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13806  fi
 13807  if test -z "${LIBGO_IS_OPENBSD_TRUE}" && test -z "${LIBGO_IS_OPENBSD_FALSE}"; then
 13808    as_fn_error "conditional \"LIBGO_IS_OPENBSD\" was never defined.
 13809  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13810  fi
 13811  if test -z "${LIBGO_IS_DRAGONFLY_TRUE}" && test -z "${LIBGO_IS_DRAGONFLY_FALSE}"; then
 13812    as_fn_error "conditional \"LIBGO_IS_DRAGONFLY\" was never defined.
 13813  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13814  fi
 13815  if test -z "${LIBGO_IS_RTEMS_TRUE}" && test -z "${LIBGO_IS_RTEMS_FALSE}"; then
 13816    as_fn_error "conditional \"LIBGO_IS_RTEMS\" was never defined.
 13817  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13818  fi
 13819  if test -z "${LIBGO_IS_SOLARIS_TRUE}" && test -z "${LIBGO_IS_SOLARIS_FALSE}"; then
 13820    as_fn_error "conditional \"LIBGO_IS_SOLARIS\" was never defined.
 13821  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13822  fi
 13823  if test -z "${LIBGO_IS_386_TRUE}" && test -z "${LIBGO_IS_386_FALSE}"; then
 13824    as_fn_error "conditional \"LIBGO_IS_386\" was never defined.
 13825  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13826  fi
 13827  if test -z "${LIBGO_IS_ALPHA_TRUE}" && test -z "${LIBGO_IS_ALPHA_FALSE}"; then
 13828    as_fn_error "conditional \"LIBGO_IS_ALPHA\" was never defined.
 13829  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13830  fi
 13831  if test -z "${LIBGO_IS_ARM_TRUE}" && test -z "${LIBGO_IS_ARM_FALSE}"; then
 13832    as_fn_error "conditional \"LIBGO_IS_ARM\" was never defined.
 13833  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13834  fi
 13835  if test -z "${LIBGO_IS_ARM64_TRUE}" && test -z "${LIBGO_IS_ARM64_FALSE}"; then
 13836    as_fn_error "conditional \"LIBGO_IS_ARM64\" was never defined.
 13837  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13838  fi
 13839  if test -z "${LIBGO_IS_M68K_TRUE}" && test -z "${LIBGO_IS_M68K_FALSE}"; then
 13840    as_fn_error "conditional \"LIBGO_IS_M68K\" was never defined.
 13841  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13842  fi
 13843  if test -z "${LIBGO_IS_MIPS_TRUE}" && test -z "${LIBGO_IS_MIPS_FALSE}"; then
 13844    as_fn_error "conditional \"LIBGO_IS_MIPS\" was never defined.
 13845  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13846  fi
 13847  if test -z "${LIBGO_IS_MIPSO32_TRUE}" && test -z "${LIBGO_IS_MIPSO32_FALSE}"; then
 13848    as_fn_error "conditional \"LIBGO_IS_MIPSO32\" was never defined.
 13849  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13850  fi
 13851  if test -z "${LIBGO_IS_MIPSN32_TRUE}" && test -z "${LIBGO_IS_MIPSN32_FALSE}"; then
 13852    as_fn_error "conditional \"LIBGO_IS_MIPSN32\" was never defined.
 13853  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13854  fi
 13855  if test -z "${LIBGO_IS_MIPSN64_TRUE}" && test -z "${LIBGO_IS_MIPSN64_FALSE}"; then
 13856    as_fn_error "conditional \"LIBGO_IS_MIPSN64\" was never defined.
 13857  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13858  fi
 13859  if test -z "${LIBGO_IS_MIPSO64_TRUE}" && test -z "${LIBGO_IS_MIPSO64_FALSE}"; then
 13860    as_fn_error "conditional \"LIBGO_IS_MIPSO64\" was never defined.
 13861  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13862  fi
 13863  if test -z "${LIBGO_IS_PPC_TRUE}" && test -z "${LIBGO_IS_PPC_FALSE}"; then
 13864    as_fn_error "conditional \"LIBGO_IS_PPC\" was never defined.
 13865  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13866  fi
 13867  if test -z "${LIBGO_IS_PPC64_TRUE}" && test -z "${LIBGO_IS_PPC64_FALSE}"; then
 13868    as_fn_error "conditional \"LIBGO_IS_PPC64\" was never defined.
 13869  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13870  fi
 13871  if test -z "${LIBGO_IS_PPC64LE_TRUE}" && test -z "${LIBGO_IS_PPC64LE_FALSE}"; then
 13872    as_fn_error "conditional \"LIBGO_IS_PPC64LE\" was never defined.
 13873  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13874  fi
 13875  if test -z "${LIBGO_IS_S390_TRUE}" && test -z "${LIBGO_IS_S390_FALSE}"; then
 13876    as_fn_error "conditional \"LIBGO_IS_S390\" was never defined.
 13877  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13878  fi
 13879  if test -z "${LIBGO_IS_S390X_TRUE}" && test -z "${LIBGO_IS_S390X_FALSE}"; then
 13880    as_fn_error "conditional \"LIBGO_IS_S390X\" was never defined.
 13881  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13882  fi
 13883  if test -z "${LIBGO_IS_SPARC_TRUE}" && test -z "${LIBGO_IS_SPARC_FALSE}"; then
 13884    as_fn_error "conditional \"LIBGO_IS_SPARC\" was never defined.
 13885  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13886  fi
 13887  if test -z "${LIBGO_IS_SPARC64_TRUE}" && test -z "${LIBGO_IS_SPARC64_FALSE}"; then
 13888    as_fn_error "conditional \"LIBGO_IS_SPARC64\" was never defined.
 13889  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13890  fi
 13891  if test -z "${LIBGO_IS_X86_64_TRUE}" && test -z "${LIBGO_IS_X86_64_FALSE}"; then
 13892    as_fn_error "conditional \"LIBGO_IS_X86_64\" was never defined.
 13893  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13894  fi
 13895  if test -z "${USING_SPLIT_STACK_TRUE}" && test -z "${USING_SPLIT_STACK_FALSE}"; then
 13896    as_fn_error "conditional \"USING_SPLIT_STACK\" was never defined.
 13897  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13898  fi
 13899  if test -z "${GOC_IS_LLGO_TRUE}" && test -z "${GOC_IS_LLGO_FALSE}"; then
 13900    as_fn_error "conditional \"GOC_IS_LLGO\" was never defined.
 13901  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13902  fi
 13903  
 13904  if test -z "${HAVE_SYS_MMAN_H_TRUE}" && test -z "${HAVE_SYS_MMAN_H_FALSE}"; then
 13905    as_fn_error "conditional \"HAVE_SYS_MMAN_H\" was never defined.
 13906  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13907  fi
 13908  if test -z "${HAVE_STRERROR_R_TRUE}" && test -z "${HAVE_STRERROR_R_FALSE}"; then
 13909    as_fn_error "conditional \"HAVE_STRERROR_R\" was never defined.
 13910  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13911  fi
 13912  if test -z "${HAVE_WAIT4_TRUE}" && test -z "${HAVE_WAIT4_FALSE}"; then
 13913    as_fn_error "conditional \"HAVE_WAIT4\" was never defined.
 13914  Usually this means the macro was only invoked conditionally." "$LINENO" 5
 13915  fi
 13916  
 13917  : ${CONFIG_STATUS=./config.status}
 13918  ac_write_fail=0
 13919  ac_clean_files_save=$ac_clean_files
 13920  ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 13921  { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
 13922  $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 13923  as_write_fail=0
 13924  cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
 13925  #! $SHELL
 13926  # Generated by $as_me.
 13927  # Run this file to recreate the current configuration.
 13928  # Compiler output produced by configure, useful for debugging
 13929  # configure, is in config.log if it exists.
 13930  
 13931  debug=false
 13932  ac_cs_recheck=false
 13933  ac_cs_silent=false
 13934  
 13935  SHELL=\${CONFIG_SHELL-$SHELL}
 13936  export SHELL
 13937  _ASEOF
 13938  cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
 13939  ## -------------------- ##
 13940  ## M4sh Initialization. ##
 13941  ## -------------------- ##
 13942  
 13943  # Be more Bourne compatible
 13944  DUALCASE=1; export DUALCASE # for MKS sh
 13945  if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
 13946    emulate sh
 13947    NULLCMD=:
 13948    # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 13949    # is contrary to our usage.  Disable this feature.
 13950    alias -g '${1+"$@"}'='"$@"'
 13951    setopt NO_GLOB_SUBST
 13952  else
 13953    case `(set -o) 2>/dev/null` in #(
 13954    *posix*) :
 13955      set -o posix ;; #(
 13956    *) :
 13957       ;;
 13958  esac
 13959  fi
 13960  
 13961  
 13962  as_nl='
 13963  '
 13964  export as_nl
 13965  # Printing a long string crashes Solaris 7 /usr/bin/printf.
 13966  as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 13967  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 13968  as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 13969  # Prefer a ksh shell builtin over an external printf program on Solaris,
 13970  # but without wasting forks for bash or zsh.
 13971  if test -z "$BASH_VERSION$ZSH_VERSION" \
 13972      && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
 13973    as_echo='print -r --'
 13974    as_echo_n='print -rn --'
 13975  elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 13976    as_echo='printf %s\n'
 13977    as_echo_n='printf %s'
 13978  else
 13979    if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 13980      as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 13981      as_echo_n='/usr/ucb/echo -n'
 13982    else
 13983      as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 13984      as_echo_n_body='eval
 13985        arg=$1;
 13986        case $arg in #(
 13987        *"$as_nl"*)
 13988  	expr "X$arg" : "X\\(.*\\)$as_nl";
 13989  	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 13990        esac;
 13991        expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 13992      '
 13993      export as_echo_n_body
 13994      as_echo_n='sh -c $as_echo_n_body as_echo'
 13995    fi
 13996    export as_echo_body
 13997    as_echo='sh -c $as_echo_body as_echo'
 13998  fi
 13999  
 14000  # The user is always right.
 14001  if test "${PATH_SEPARATOR+set}" != set; then
 14002    PATH_SEPARATOR=:
 14003    (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 14004      (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 14005        PATH_SEPARATOR=';'
 14006    }
 14007  fi
 14008  
 14009  
 14010  # IFS
 14011  # We need space, tab and new line, in precisely that order.  Quoting is
 14012  # there to prevent editors from complaining about space-tab.
 14013  # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 14014  # splitting by setting IFS to empty value.)
 14015  IFS=" ""	$as_nl"
 14016  
 14017  # Find who we are.  Look in the path if we contain no directory separator.
 14018  case $0 in #((
 14019    *[\\/]* ) as_myself=$0 ;;
 14020    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 14021  for as_dir in $PATH
 14022  do
 14023    IFS=$as_save_IFS
 14024    test -z "$as_dir" && as_dir=.
 14025      test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 14026    done
 14027  IFS=$as_save_IFS
 14028  
 14029       ;;
 14030  esac
 14031  # We did not find ourselves, most probably we were run as `sh COMMAND'
 14032  # in which case we are not to be found in the path.
 14033  if test "x$as_myself" = x; then
 14034    as_myself=$0
 14035  fi
 14036  if test ! -f "$as_myself"; then
 14037    $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 14038    exit 1
 14039  fi
 14040  
 14041  # Unset variables that we do not need and which cause bugs (e.g. in
 14042  # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
 14043  # suppresses any "Segmentation fault" message there.  '((' could
 14044  # trigger a bug in pdksh 5.2.14.
 14045  for as_var in BASH_ENV ENV MAIL MAILPATH
 14046  do eval test x\${$as_var+set} = xset \
 14047    && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
 14048  done
 14049  PS1='$ '
 14050  PS2='> '
 14051  PS4='+ '
 14052  
 14053  # NLS nuisances.
 14054  LC_ALL=C
 14055  export LC_ALL
 14056  LANGUAGE=C
 14057  export LANGUAGE
 14058  
 14059  # CDPATH.
 14060  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 14061  
 14062  
 14063  # as_fn_error ERROR [LINENO LOG_FD]
 14064  # ---------------------------------
 14065  # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
 14066  # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
 14067  # script with status $?, using 1 if that was 0.
 14068  as_fn_error ()
 14069  {
 14070    as_status=$?; test $as_status -eq 0 && as_status=1
 14071    if test "$3"; then
 14072      as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 14073      $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
 14074    fi
 14075    $as_echo "$as_me: error: $1" >&2
 14076    as_fn_exit $as_status
 14077  } # as_fn_error
 14078  
 14079  
 14080  # as_fn_set_status STATUS
 14081  # -----------------------
 14082  # Set $? to STATUS, without forking.
 14083  as_fn_set_status ()
 14084  {
 14085    return $1
 14086  } # as_fn_set_status
 14087  
 14088  # as_fn_exit STATUS
 14089  # -----------------
 14090  # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
 14091  as_fn_exit ()
 14092  {
 14093    set +e
 14094    as_fn_set_status $1
 14095    exit $1
 14096  } # as_fn_exit
 14097  
 14098  # as_fn_unset VAR
 14099  # ---------------
 14100  # Portably unset VAR.
 14101  as_fn_unset ()
 14102  {
 14103    { eval $1=; unset $1;}
 14104  }
 14105  as_unset=as_fn_unset
 14106  # as_fn_append VAR VALUE
 14107  # ----------------------
 14108  # Append the text in VALUE to the end of the definition contained in VAR. Take
 14109  # advantage of any shell optimizations that allow amortized linear growth over
 14110  # repeated appends, instead of the typical quadratic growth present in naive
 14111  # implementations.
 14112  if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
 14113    eval 'as_fn_append ()
 14114    {
 14115      eval $1+=\$2
 14116    }'
 14117  else
 14118    as_fn_append ()
 14119    {
 14120      eval $1=\$$1\$2
 14121    }
 14122  fi # as_fn_append
 14123  
 14124  # as_fn_arith ARG...
 14125  # ------------------
 14126  # Perform arithmetic evaluation on the ARGs, and store the result in the
 14127  # global $as_val. Take advantage of shells that can avoid forks. The arguments
 14128  # must be portable across $(()) and expr.
 14129  if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
 14130    eval 'as_fn_arith ()
 14131    {
 14132      as_val=$(( $* ))
 14133    }'
 14134  else
 14135    as_fn_arith ()
 14136    {
 14137      as_val=`expr "$@" || test $? -eq 1`
 14138    }
 14139  fi # as_fn_arith
 14140  
 14141  
 14142  if expr a : '\(a\)' >/dev/null 2>&1 &&
 14143     test "X`expr 00001 : '.*\(...\)'`" = X001; then
 14144    as_expr=expr
 14145  else
 14146    as_expr=false
 14147  fi
 14148  
 14149  if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 14150    as_basename=basename
 14151  else
 14152    as_basename=false
 14153  fi
 14154  
 14155  if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 14156    as_dirname=dirname
 14157  else
 14158    as_dirname=false
 14159  fi
 14160  
 14161  as_me=`$as_basename -- "$0" ||
 14162  $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 14163  	 X"$0" : 'X\(//\)$' \| \
 14164  	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 14165  $as_echo X/"$0" |
 14166      sed '/^.*\/\([^/][^/]*\)\/*$/{
 14167  	    s//\1/
 14168  	    q
 14169  	  }
 14170  	  /^X\/\(\/\/\)$/{
 14171  	    s//\1/
 14172  	    q
 14173  	  }
 14174  	  /^X\/\(\/\).*/{
 14175  	    s//\1/
 14176  	    q
 14177  	  }
 14178  	  s/.*/./; q'`
 14179  
 14180  # Avoid depending upon Character Ranges.
 14181  as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 14182  as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 14183  as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 14184  as_cr_digits='0123456789'
 14185  as_cr_alnum=$as_cr_Letters$as_cr_digits
 14186  
 14187  ECHO_C= ECHO_N= ECHO_T=
 14188  case `echo -n x` in #(((((
 14189  -n*)
 14190    case `echo 'xy\c'` in
 14191    *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 14192    xy)  ECHO_C='\c';;
 14193    *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
 14194         ECHO_T='	';;
 14195    esac;;
 14196  *)
 14197    ECHO_N='-n';;
 14198  esac
 14199  
 14200  rm -f conf$$ conf$$.exe conf$$.file
 14201  if test -d conf$$.dir; then
 14202    rm -f conf$$.dir/conf$$.file
 14203  else
 14204    rm -f conf$$.dir
 14205    mkdir conf$$.dir 2>/dev/null
 14206  fi
 14207  if (echo >conf$$.file) 2>/dev/null; then
 14208    if ln -s conf$$.file conf$$ 2>/dev/null; then
 14209      as_ln_s='ln -s'
 14210      # ... but there are two gotchas:
 14211      # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 14212      # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 14213      # In both cases, we have to default to `cp -p'.
 14214      ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 14215        as_ln_s='cp -p'
 14216    elif ln conf$$.file conf$$ 2>/dev/null; then
 14217      as_ln_s=ln
 14218    else
 14219      as_ln_s='cp -p'
 14220    fi
 14221  else
 14222    as_ln_s='cp -p'
 14223  fi
 14224  rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 14225  rmdir conf$$.dir 2>/dev/null
 14226  
 14227  
 14228  # as_fn_mkdir_p
 14229  # -------------
 14230  # Create "$as_dir" as a directory, including parents if necessary.
 14231  as_fn_mkdir_p ()
 14232  {
 14233  
 14234    case $as_dir in #(
 14235    -*) as_dir=./$as_dir;;
 14236    esac
 14237    test -d "$as_dir" || eval $as_mkdir_p || {
 14238      as_dirs=
 14239      while :; do
 14240        case $as_dir in #(
 14241        *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 14242        *) as_qdir=$as_dir;;
 14243        esac
 14244        as_dirs="'$as_qdir' $as_dirs"
 14245        as_dir=`$as_dirname -- "$as_dir" ||
 14246  $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14247  	 X"$as_dir" : 'X\(//\)[^/]' \| \
 14248  	 X"$as_dir" : 'X\(//\)$' \| \
 14249  	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 14250  $as_echo X"$as_dir" |
 14251      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14252  	    s//\1/
 14253  	    q
 14254  	  }
 14255  	  /^X\(\/\/\)[^/].*/{
 14256  	    s//\1/
 14257  	    q
 14258  	  }
 14259  	  /^X\(\/\/\)$/{
 14260  	    s//\1/
 14261  	    q
 14262  	  }
 14263  	  /^X\(\/\).*/{
 14264  	    s//\1/
 14265  	    q
 14266  	  }
 14267  	  s/.*/./; q'`
 14268        test -d "$as_dir" && break
 14269      done
 14270      test -z "$as_dirs" || eval "mkdir $as_dirs"
 14271    } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
 14272  
 14273  
 14274  } # as_fn_mkdir_p
 14275  if mkdir -p . 2>/dev/null; then
 14276    as_mkdir_p='mkdir -p "$as_dir"'
 14277  else
 14278    test -d ./-p && rmdir ./-p
 14279    as_mkdir_p=false
 14280  fi
 14281  
 14282  if test -x / >/dev/null 2>&1; then
 14283    as_test_x='test -x'
 14284  else
 14285    if ls -dL / >/dev/null 2>&1; then
 14286      as_ls_L_option=L
 14287    else
 14288      as_ls_L_option=
 14289    fi
 14290    as_test_x='
 14291      eval sh -c '\''
 14292        if test -d "$1"; then
 14293  	test -d "$1/.";
 14294        else
 14295  	case $1 in #(
 14296  	-*)set "./$1";;
 14297  	esac;
 14298  	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
 14299  	???[sx]*):;;*)false;;esac;fi
 14300      '\'' sh
 14301    '
 14302  fi
 14303  as_executable_p=$as_test_x
 14304  
 14305  # Sed expression to map a string onto a valid CPP name.
 14306  as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 14307  
 14308  # Sed expression to map a string onto a valid variable name.
 14309  as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 14310  
 14311  
 14312  exec 6>&1
 14313  ## ----------------------------------- ##
 14314  ## Main body of $CONFIG_STATUS script. ##
 14315  ## ----------------------------------- ##
 14316  _ASEOF
 14317  test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
 14318  
 14319  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14320  # Save the log message, to keep $0 and so on meaningful, and to
 14321  # report actual input values of CONFIG_FILES etc. instead of their
 14322  # values after options handling.
 14323  ac_log="
 14324  This file was extended by package-unused $as_me version-unused, which was
 14325  generated by GNU Autoconf 2.65.  Invocation command line was
 14326  
 14327    CONFIG_FILES    = $CONFIG_FILES
 14328    CONFIG_HEADERS  = $CONFIG_HEADERS
 14329    CONFIG_LINKS    = $CONFIG_LINKS
 14330    CONFIG_COMMANDS = $CONFIG_COMMANDS
 14331    $ $0 $@
 14332  
 14333  on `(hostname || uname -n) 2>/dev/null | sed 1q`
 14334  "
 14335  
 14336  _ACEOF
 14337  
 14338  case $ac_config_files in *"
 14339  "*) set x $ac_config_files; shift; ac_config_files=$*;;
 14340  esac
 14341  
 14342  case $ac_config_headers in *"
 14343  "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
 14344  esac
 14345  
 14346  
 14347  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14348  # Files that config.status was made for.
 14349  config_files="$ac_config_files"
 14350  config_headers="$ac_config_headers"
 14351  config_commands="$ac_config_commands"
 14352  
 14353  _ACEOF
 14354  
 14355  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14356  ac_cs_usage="\
 14357  \`$as_me' instantiates files and other configuration actions
 14358  from templates according to the current configuration.  Unless the files
 14359  and actions are specified as TAGs, all are instantiated by default.
 14360  
 14361  Usage: $0 [OPTION]... [TAG]...
 14362  
 14363    -h, --help       print this help, then exit
 14364    -V, --version    print version number and configuration settings, then exit
 14365        --config     print configuration, then exit
 14366    -q, --quiet, --silent
 14367                     do not print progress messages
 14368    -d, --debug      don't remove temporary files
 14369        --recheck    update $as_me by reconfiguring in the same conditions
 14370        --file=FILE[:TEMPLATE]
 14371                     instantiate the configuration file FILE
 14372        --header=FILE[:TEMPLATE]
 14373                     instantiate the configuration header FILE
 14374  
 14375  Configuration files:
 14376  $config_files
 14377  
 14378  Configuration headers:
 14379  $config_headers
 14380  
 14381  Configuration commands:
 14382  $config_commands
 14383  
 14384  Report bugs to the package provider."
 14385  
 14386  _ACEOF
 14387  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14388  ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 14389  ac_cs_version="\\
 14390  package-unused config.status version-unused
 14391  configured by $0, generated by GNU Autoconf 2.65,
 14392    with options \\"\$ac_cs_config\\"
 14393  
 14394  Copyright (C) 2009 Free Software Foundation, Inc.
 14395  This config.status script is free software; the Free Software Foundation
 14396  gives unlimited permission to copy, distribute and modify it."
 14397  
 14398  ac_pwd='$ac_pwd'
 14399  srcdir='$srcdir'
 14400  INSTALL='$INSTALL'
 14401  MKDIR_P='$MKDIR_P'
 14402  AWK='$AWK'
 14403  test -n "\$AWK" || AWK=awk
 14404  _ACEOF
 14405  
 14406  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14407  # The default lists apply if the user does not specify any file.
 14408  ac_need_defaults=:
 14409  while test $# != 0
 14410  do
 14411    case $1 in
 14412    --*=*)
 14413      ac_option=`expr "X$1" : 'X\([^=]*\)='`
 14414      ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 14415      ac_shift=:
 14416      ;;
 14417    *)
 14418      ac_option=$1
 14419      ac_optarg=$2
 14420      ac_shift=shift
 14421      ;;
 14422    esac
 14423  
 14424    case $ac_option in
 14425    # Handling of the options.
 14426    -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 14427      ac_cs_recheck=: ;;
 14428    --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 14429      $as_echo "$ac_cs_version"; exit ;;
 14430    --config | --confi | --conf | --con | --co | --c )
 14431      $as_echo "$ac_cs_config"; exit ;;
 14432    --debug | --debu | --deb | --de | --d | -d )
 14433      debug=: ;;
 14434    --file | --fil | --fi | --f )
 14435      $ac_shift
 14436      case $ac_optarg in
 14437      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 14438      esac
 14439      as_fn_append CONFIG_FILES " '$ac_optarg'"
 14440      ac_need_defaults=false;;
 14441    --header | --heade | --head | --hea )
 14442      $ac_shift
 14443      case $ac_optarg in
 14444      *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 14445      esac
 14446      as_fn_append CONFIG_HEADERS " '$ac_optarg'"
 14447      ac_need_defaults=false;;
 14448    --he | --h)
 14449      # Conflict between --help and --header
 14450      as_fn_error "ambiguous option: \`$1'
 14451  Try \`$0 --help' for more information.";;
 14452    --help | --hel | -h )
 14453      $as_echo "$ac_cs_usage"; exit ;;
 14454    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 14455    | -silent | --silent | --silen | --sile | --sil | --si | --s)
 14456      ac_cs_silent=: ;;
 14457  
 14458    # This is an error.
 14459    -*) as_fn_error "unrecognized option: \`$1'
 14460  Try \`$0 --help' for more information." ;;
 14461  
 14462    *) as_fn_append ac_config_targets " $1"
 14463       ac_need_defaults=false ;;
 14464  
 14465    esac
 14466    shift
 14467  done
 14468  
 14469  ac_configure_extra_args=
 14470  
 14471  if $ac_cs_silent; then
 14472    exec 6>/dev/null
 14473    ac_configure_extra_args="$ac_configure_extra_args --silent"
 14474  fi
 14475  
 14476  _ACEOF
 14477  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14478  if \$ac_cs_recheck; then
 14479    set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 14480    shift
 14481    \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 14482    CONFIG_SHELL='$SHELL'
 14483    export CONFIG_SHELL
 14484    exec "\$@"
 14485  fi
 14486  
 14487  _ACEOF
 14488  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14489  exec 5>>config.log
 14490  {
 14491    echo
 14492    sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 14493  ## Running $as_me. ##
 14494  _ASBOX
 14495    $as_echo "$ac_log"
 14496  } >&5
 14497  
 14498  _ACEOF
 14499  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14500  #
 14501  # INIT-COMMANDS
 14502  #
 14503  AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 14504  
 14505  
 14506  # The HP-UX ksh and POSIX shell print the target directory to stdout
 14507  # if CDPATH is set.
 14508  (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
 14509  
 14510  sed_quote_subst='$sed_quote_subst'
 14511  double_quote_subst='$double_quote_subst'
 14512  delay_variable_subst='$delay_variable_subst'
 14513  SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
 14514  Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
 14515  GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
 14516  EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
 14517  FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
 14518  SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
 14519  ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
 14520  LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
 14521  macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
 14522  macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
 14523  enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
 14524  enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
 14525  pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
 14526  enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
 14527  host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
 14528  host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
 14529  host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
 14530  build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
 14531  build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
 14532  build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
 14533  NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
 14534  LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
 14535  max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
 14536  ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
 14537  exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
 14538  lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
 14539  lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
 14540  lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 14541  reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
 14542  reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
 14543  OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
 14544  deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
 14545  file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 14546  AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
 14547  AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 14548  STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
 14549  RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
 14550  old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 14551  old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 14552  old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
 14553  lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
 14554  CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
 14555  CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
 14556  compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 14557  GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 14558  lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
 14559  lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
 14560  lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 14561  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 14562  objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
 14563  MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
 14564  lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 14565  lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
 14566  lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
 14567  lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
 14568  lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
 14569  need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 14570  DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
 14571  NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
 14572  LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
 14573  OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
 14574  OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
 14575  libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
 14576  shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
 14577  extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 14578  archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
 14579  enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
 14580  export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
 14581  whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
 14582  compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
 14583  old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
 14584  old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
 14585  archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
 14586  archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 14587  module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
 14588  module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
 14589  with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
 14590  allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
 14591  no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
 14592  hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
 14593  hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
 14594  hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
 14595  hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
 14596  hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
 14597  hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
 14598  hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
 14599  hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
 14600  inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
 14601  link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
 14602  fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
 14603  always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
 14604  export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
 14605  exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
 14606  include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
 14607  prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 14608  file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
 14609  variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
 14610  need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
 14611  need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
 14612  version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
 14613  runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
 14614  shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
 14615  shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
 14616  libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
 14617  library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
 14618  soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
 14619  install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
 14620  postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
 14621  postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
 14622  finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
 14623  finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
 14624  hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
 14625  sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
 14626  sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
 14627  hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
 14628  enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
 14629  enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
 14630  enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
 14631  old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
 14632  striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
 14633  
 14634  LTCC='$LTCC'
 14635  LTCFLAGS='$LTCFLAGS'
 14636  compiler='$compiler_DEFAULT'
 14637  
 14638  # A function that is used when there is no print builtin or printf.
 14639  func_fallback_echo ()
 14640  {
 14641    eval 'cat <<_LTECHO_EOF
 14642  \$1
 14643  _LTECHO_EOF'
 14644  }
 14645  
 14646  # Quote evaled strings.
 14647  for var in SED \
 14648  GREP \
 14649  EGREP \
 14650  FGREP \
 14651  SHELL \
 14652  ECHO \
 14653  LD \
 14654  NM \
 14655  LN_S \
 14656  lt_SP2NL \
 14657  lt_NL2SP \
 14658  reload_flag \
 14659  OBJDUMP \
 14660  deplibs_check_method \
 14661  file_magic_cmd \
 14662  AR \
 14663  AR_FLAGS \
 14664  STRIP \
 14665  RANLIB \
 14666  CC \
 14667  CFLAGS \
 14668  compiler \
 14669  lt_cv_sys_global_symbol_pipe \
 14670  lt_cv_sys_global_symbol_to_cdecl \
 14671  lt_cv_sys_global_symbol_to_c_name_address \
 14672  lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 14673  lt_prog_compiler_no_builtin_flag \
 14674  lt_prog_compiler_wl \
 14675  lt_prog_compiler_pic \
 14676  lt_prog_compiler_static \
 14677  lt_cv_prog_compiler_c_o \
 14678  need_locks \
 14679  DSYMUTIL \
 14680  NMEDIT \
 14681  LIPO \
 14682  OTOOL \
 14683  OTOOL64 \
 14684  shrext_cmds \
 14685  export_dynamic_flag_spec \
 14686  whole_archive_flag_spec \
 14687  compiler_needs_object \
 14688  with_gnu_ld \
 14689  allow_undefined_flag \
 14690  no_undefined_flag \
 14691  hardcode_libdir_flag_spec \
 14692  hardcode_libdir_flag_spec_ld \
 14693  hardcode_libdir_separator \
 14694  fix_srcfile_path \
 14695  exclude_expsyms \
 14696  include_expsyms \
 14697  file_list_spec \
 14698  variables_saved_for_relink \
 14699  libname_spec \
 14700  library_names_spec \
 14701  soname_spec \
 14702  install_override_mode \
 14703  finish_eval \
 14704  old_striplib \
 14705  striplib; do
 14706      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 14707      *[\\\\\\\`\\"\\\$]*)
 14708        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 14709        ;;
 14710      *)
 14711        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 14712        ;;
 14713      esac
 14714  done
 14715  
 14716  # Double-quote double-evaled strings.
 14717  for var in reload_cmds \
 14718  old_postinstall_cmds \
 14719  old_postuninstall_cmds \
 14720  old_archive_cmds \
 14721  extract_expsyms_cmds \
 14722  old_archive_from_new_cmds \
 14723  old_archive_from_expsyms_cmds \
 14724  archive_cmds \
 14725  archive_expsym_cmds \
 14726  module_cmds \
 14727  module_expsym_cmds \
 14728  export_symbols_cmds \
 14729  prelink_cmds \
 14730  postinstall_cmds \
 14731  postuninstall_cmds \
 14732  finish_cmds \
 14733  sys_lib_search_path_spec \
 14734  sys_lib_dlsearch_path_spec; do
 14735      case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
 14736      *[\\\\\\\`\\"\\\$]*)
 14737        eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 14738        ;;
 14739      *)
 14740        eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
 14741        ;;
 14742      esac
 14743  done
 14744  
 14745  ac_aux_dir='$ac_aux_dir'
 14746  xsi_shell='$xsi_shell'
 14747  lt_shell_append='$lt_shell_append'
 14748  
 14749  # See if we are running on zsh, and set the options which allow our
 14750  # commands through without removal of \ escapes INIT.
 14751  if test -n "\${ZSH_VERSION+set}" ; then
 14752     setopt NO_GLOB_SUBST
 14753  fi
 14754  
 14755  
 14756      PACKAGE='$PACKAGE'
 14757      VERSION='$VERSION'
 14758      TIMESTAMP='$TIMESTAMP'
 14759      RM='$RM'
 14760      ofile='$ofile'
 14761  
 14762  
 14763  
 14764  
 14765  # Variables needed in config.status (file generation) which aren't already
 14766  # passed by autoconf.
 14767  SUBDIRS="$SUBDIRS"
 14768  
 14769  
 14770  _ACEOF
 14771  
 14772  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14773  
 14774  # Handling of arguments.
 14775  for ac_config_target in $ac_config_targets
 14776  do
 14777    case $ac_config_target in
 14778      "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 14779      "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 14780      "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
 14781      "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 14782      "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
 14783      "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
 14784  
 14785    *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
 14786    esac
 14787  done
 14788  
 14789  
 14790  # If the user did not use the arguments to specify the items to instantiate,
 14791  # then the envvar interface is used.  Set only those that are not.
 14792  # We use the long form for the default assignment because of an extremely
 14793  # bizarre bug on SunOS 4.1.3.
 14794  if $ac_need_defaults; then
 14795    test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 14796    test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 14797    test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 14798  fi
 14799  
 14800  # Have a temporary directory for convenience.  Make it in the build tree
 14801  # simply because there is no reason against having it here, and in addition,
 14802  # creating and moving files from /tmp can sometimes cause problems.
 14803  # Hook for its removal unless debugging.
 14804  # Note that there is a small window in which the directory will not be cleaned:
 14805  # after its creation but before its name has been assigned to `$tmp'.
 14806  $debug ||
 14807  {
 14808    tmp=
 14809    trap 'exit_status=$?
 14810    { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 14811  ' 0
 14812    trap 'as_fn_exit 1' 1 2 13 15
 14813  }
 14814  # Create a (secure) tmp directory for tmp files.
 14815  
 14816  {
 14817    tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 14818    test -n "$tmp" && test -d "$tmp"
 14819  }  ||
 14820  {
 14821    tmp=./conf$$-$RANDOM
 14822    (umask 077 && mkdir "$tmp")
 14823  } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
 14824  
 14825  # Set up the scripts for CONFIG_FILES section.
 14826  # No need to generate them if there are no CONFIG_FILES.
 14827  # This happens for instance with `./config.status config.h'.
 14828  if test -n "$CONFIG_FILES"; then
 14829  
 14830  
 14831  ac_cr=`echo X | tr X '\015'`
 14832  # On cygwin, bash can eat \r inside `` if the user requested igncr.
 14833  # But we know of no other shell where ac_cr would be empty at this
 14834  # point, so we can use a bashism as a fallback.
 14835  if test "x$ac_cr" = x; then
 14836    eval ac_cr=\$\'\\r\'
 14837  fi
 14838  ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 14839  if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 14840    ac_cs_awk_cr='\r'
 14841  else
 14842    ac_cs_awk_cr=$ac_cr
 14843  fi
 14844  
 14845  echo 'BEGIN {' >"$tmp/subs1.awk" &&
 14846  _ACEOF
 14847  
 14848  
 14849  {
 14850    echo "cat >conf$$subs.awk <<_ACEOF" &&
 14851    echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 14852    echo "_ACEOF"
 14853  } >conf$$subs.sh ||
 14854    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 14855  ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 14856  ac_delim='%!_!# '
 14857  for ac_last_try in false false false false false :; do
 14858    . ./conf$$subs.sh ||
 14859      as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 14860  
 14861    ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
 14862    if test $ac_delim_n = $ac_delim_num; then
 14863      break
 14864    elif $ac_last_try; then
 14865      as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
 14866    else
 14867      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 14868    fi
 14869  done
 14870  rm -f conf$$subs.sh
 14871  
 14872  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14873  cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 14874  _ACEOF
 14875  sed -n '
 14876  h
 14877  s/^/S["/; s/!.*/"]=/
 14878  p
 14879  g
 14880  s/^[^!]*!//
 14881  :repl
 14882  t repl
 14883  s/'"$ac_delim"'$//
 14884  t delim
 14885  :nl
 14886  h
 14887  s/\(.\{148\}\)..*/\1/
 14888  t more1
 14889  s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 14890  p
 14891  n
 14892  b repl
 14893  :more1
 14894  s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 14895  p
 14896  g
 14897  s/.\{148\}//
 14898  t nl
 14899  :delim
 14900  h
 14901  s/\(.\{148\}\)..*/\1/
 14902  t more2
 14903  s/["\\]/\\&/g; s/^/"/; s/$/"/
 14904  p
 14905  b
 14906  :more2
 14907  s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 14908  p
 14909  g
 14910  s/.\{148\}//
 14911  t delim
 14912  ' <conf$$subs.awk | sed '
 14913  /^[^""]/{
 14914    N
 14915    s/\n//
 14916  }
 14917  ' >>$CONFIG_STATUS || ac_write_fail=1
 14918  rm -f conf$$subs.awk
 14919  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14920  _ACAWK
 14921  cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 14922    for (key in S) S_is_set[key] = 1
 14923    FS = ""
 14924  
 14925  }
 14926  {
 14927    line = $ 0
 14928    nfields = split(line, field, "@")
 14929    substed = 0
 14930    len = length(field[1])
 14931    for (i = 2; i < nfields; i++) {
 14932      key = field[i]
 14933      keylen = length(key)
 14934      if (S_is_set[key]) {
 14935        value = S[key]
 14936        line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 14937        len += length(value) + length(field[++i])
 14938        substed = 1
 14939      } else
 14940        len += 1 + keylen
 14941    }
 14942  
 14943    print line
 14944  }
 14945  
 14946  _ACAWK
 14947  _ACEOF
 14948  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14949  if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 14950    sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 14951  else
 14952    cat
 14953  fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 14954    || as_fn_error "could not setup config files machinery" "$LINENO" 5
 14955  _ACEOF
 14956  
 14957  # VPATH may cause trouble with some makes, so we remove $(srcdir),
 14958  # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 14959  # trailing colons and then remove the whole line if VPATH becomes empty
 14960  # (actually we leave an empty line to preserve line numbers).
 14961  if test "x$srcdir" = x.; then
 14962    ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 14963  s/:*\$(srcdir):*/:/
 14964  s/:*\${srcdir}:*/:/
 14965  s/:*@srcdir@:*/:/
 14966  s/^\([^=]*=[	 ]*\):*/\1/
 14967  s/:*$//
 14968  s/^[^=]*=[	 ]*$//
 14969  }'
 14970  fi
 14971  
 14972  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14973  fi # test -n "$CONFIG_FILES"
 14974  
 14975  # Set up the scripts for CONFIG_HEADERS section.
 14976  # No need to generate them if there are no CONFIG_HEADERS.
 14977  # This happens for instance with `./config.status Makefile'.
 14978  if test -n "$CONFIG_HEADERS"; then
 14979  cat >"$tmp/defines.awk" <<\_ACAWK ||
 14980  BEGIN {
 14981  _ACEOF
 14982  
 14983  # Transform confdefs.h into an awk script `defines.awk', embedded as
 14984  # here-document in config.status, that substitutes the proper values into
 14985  # config.h.in to produce config.h.
 14986  
 14987  # Create a delimiter string that does not exist in confdefs.h, to ease
 14988  # handling of long lines.
 14989  ac_delim='%!_!# '
 14990  for ac_last_try in false false :; do
 14991    ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 14992    if test -z "$ac_t"; then
 14993      break
 14994    elif $ac_last_try; then
 14995      as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
 14996    else
 14997      ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 14998    fi
 14999  done
 15000  
 15001  # For the awk script, D is an array of macro values keyed by name,
 15002  # likewise P contains macro parameters if any.  Preserve backslash
 15003  # newline sequences.
 15004  
 15005  ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 15006  sed -n '
 15007  s/.\{148\}/&'"$ac_delim"'/g
 15008  t rset
 15009  :rset
 15010  s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 15011  t def
 15012  d
 15013  :def
 15014  s/\\$//
 15015  t bsnl
 15016  s/["\\]/\\&/g
 15017  s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 15018  D["\1"]=" \3"/p
 15019  s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 15020  d
 15021  :bsnl
 15022  s/["\\]/\\&/g
 15023  s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 15024  D["\1"]=" \3\\\\\\n"\\/p
 15025  t cont
 15026  s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 15027  t cont
 15028  d
 15029  :cont
 15030  n
 15031  s/.\{148\}/&'"$ac_delim"'/g
 15032  t clear
 15033  :clear
 15034  s/\\$//
 15035  t bsnlc
 15036  s/["\\]/\\&/g; s/^/"/; s/$/"/p
 15037  d
 15038  :bsnlc
 15039  s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 15040  b cont
 15041  ' <confdefs.h | sed '
 15042  s/'"$ac_delim"'/"\\\
 15043  "/g' >>$CONFIG_STATUS || ac_write_fail=1
 15044  
 15045  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15046    for (key in D) D_is_set[key] = 1
 15047    FS = ""
 15048  }
 15049  /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 15050    line = \$ 0
 15051    split(line, arg, " ")
 15052    if (arg[1] == "#") {
 15053      defundef = arg[2]
 15054      mac1 = arg[3]
 15055    } else {
 15056      defundef = substr(arg[1], 2)
 15057      mac1 = arg[2]
 15058    }
 15059    split(mac1, mac2, "(") #)
 15060    macro = mac2[1]
 15061    prefix = substr(line, 1, index(line, defundef) - 1)
 15062    if (D_is_set[macro]) {
 15063      # Preserve the white space surrounding the "#".
 15064      print prefix "define", macro P[macro] D[macro]
 15065      next
 15066    } else {
 15067      # Replace #undef with comments.  This is necessary, for example,
 15068      # in the case of _POSIX_SOURCE, which is predefined and required
 15069      # on some systems where configure will not decide to define it.
 15070      if (defundef == "undef") {
 15071        print "/*", prefix defundef, macro, "*/"
 15072        next
 15073      }
 15074    }
 15075  }
 15076  { print }
 15077  _ACAWK
 15078  _ACEOF
 15079  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15080    as_fn_error "could not setup config headers machinery" "$LINENO" 5
 15081  fi # test -n "$CONFIG_HEADERS"
 15082  
 15083  
 15084  eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 15085  shift
 15086  for ac_tag
 15087  do
 15088    case $ac_tag in
 15089    :[FHLC]) ac_mode=$ac_tag; continue;;
 15090    esac
 15091    case $ac_mode$ac_tag in
 15092    :[FHL]*:*);;
 15093    :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
 15094    :[FH]-) ac_tag=-:-;;
 15095    :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 15096    esac
 15097    ac_save_IFS=$IFS
 15098    IFS=:
 15099    set x $ac_tag
 15100    IFS=$ac_save_IFS
 15101    shift
 15102    ac_file=$1
 15103    shift
 15104  
 15105    case $ac_mode in
 15106    :L) ac_source=$1;;
 15107    :[FH])
 15108      ac_file_inputs=
 15109      for ac_f
 15110      do
 15111        case $ac_f in
 15112        -) ac_f="$tmp/stdin";;
 15113        *) # Look for the file first in the build tree, then in the source tree
 15114  	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 15115  	 # because $ac_f cannot contain `:'.
 15116  	 test -f "$ac_f" ||
 15117  	   case $ac_f in
 15118  	   [\\/$]*) false;;
 15119  	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 15120  	   esac ||
 15121  	   as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
 15122        esac
 15123        case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 15124        as_fn_append ac_file_inputs " '$ac_f'"
 15125      done
 15126  
 15127      # Let's still pretend it is `configure' which instantiates (i.e., don't
 15128      # use $as_me), people would be surprised to read:
 15129      #    /* config.h.  Generated by config.status.  */
 15130      configure_input='Generated from '`
 15131  	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 15132  	`' by configure.'
 15133      if test x"$ac_file" != x-; then
 15134        configure_input="$ac_file.  $configure_input"
 15135        { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
 15136  $as_echo "$as_me: creating $ac_file" >&6;}
 15137      fi
 15138      # Neutralize special characters interpreted by sed in replacement strings.
 15139      case $configure_input in #(
 15140      *\&* | *\|* | *\\* )
 15141         ac_sed_conf_input=`$as_echo "$configure_input" |
 15142         sed 's/[\\\\&|]/\\\\&/g'`;; #(
 15143      *) ac_sed_conf_input=$configure_input;;
 15144      esac
 15145  
 15146      case $ac_tag in
 15147      *:-:* | *:-) cat >"$tmp/stdin" \
 15148        || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
 15149      esac
 15150      ;;
 15151    esac
 15152  
 15153    ac_dir=`$as_dirname -- "$ac_file" ||
 15154  $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15155  	 X"$ac_file" : 'X\(//\)[^/]' \| \
 15156  	 X"$ac_file" : 'X\(//\)$' \| \
 15157  	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 15158  $as_echo X"$ac_file" |
 15159      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 15160  	    s//\1/
 15161  	    q
 15162  	  }
 15163  	  /^X\(\/\/\)[^/].*/{
 15164  	    s//\1/
 15165  	    q
 15166  	  }
 15167  	  /^X\(\/\/\)$/{
 15168  	    s//\1/
 15169  	    q
 15170  	  }
 15171  	  /^X\(\/\).*/{
 15172  	    s//\1/
 15173  	    q
 15174  	  }
 15175  	  s/.*/./; q'`
 15176    as_dir="$ac_dir"; as_fn_mkdir_p
 15177    ac_builddir=.
 15178  
 15179  case "$ac_dir" in
 15180  .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 15181  *)
 15182    ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 15183    # A ".." for each directory in $ac_dir_suffix.
 15184    ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 15185    case $ac_top_builddir_sub in
 15186    "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 15187    *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 15188    esac ;;
 15189  esac
 15190  ac_abs_top_builddir=$ac_pwd
 15191  ac_abs_builddir=$ac_pwd$ac_dir_suffix
 15192  # for backward compatibility:
 15193  ac_top_builddir=$ac_top_build_prefix
 15194  
 15195  case $srcdir in
 15196    .)  # We are building in place.
 15197      ac_srcdir=.
 15198      ac_top_srcdir=$ac_top_builddir_sub
 15199      ac_abs_top_srcdir=$ac_pwd ;;
 15200    [\\/]* | ?:[\\/]* )  # Absolute name.
 15201      ac_srcdir=$srcdir$ac_dir_suffix;
 15202      ac_top_srcdir=$srcdir
 15203      ac_abs_top_srcdir=$srcdir ;;
 15204    *) # Relative name.
 15205      ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 15206      ac_top_srcdir=$ac_top_build_prefix$srcdir
 15207      ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 15208  esac
 15209  ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 15210  
 15211  
 15212    case $ac_mode in
 15213    :F)
 15214    #
 15215    # CONFIG_FILE
 15216    #
 15217  
 15218    case $INSTALL in
 15219    [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 15220    *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 15221    esac
 15222    ac_MKDIR_P=$MKDIR_P
 15223    case $MKDIR_P in
 15224    [\\/$]* | ?:[\\/]* ) ;;
 15225    */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 15226    esac
 15227  _ACEOF
 15228  
 15229  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15230  # If the template does not know about datarootdir, expand it.
 15231  # FIXME: This hack should be removed a few years after 2.60.
 15232  ac_datarootdir_hack=; ac_datarootdir_seen=
 15233  ac_sed_dataroot='
 15234  /datarootdir/ {
 15235    p
 15236    q
 15237  }
 15238  /@datadir@/p
 15239  /@docdir@/p
 15240  /@infodir@/p
 15241  /@localedir@/p
 15242  /@mandir@/p'
 15243  case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 15244  *datarootdir*) ac_datarootdir_seen=yes;;
 15245  *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 15246    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 15247  $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 15248  _ACEOF
 15249  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15250    ac_datarootdir_hack='
 15251    s&@datadir@&$datadir&g
 15252    s&@docdir@&$docdir&g
 15253    s&@infodir@&$infodir&g
 15254    s&@localedir@&$localedir&g
 15255    s&@mandir@&$mandir&g
 15256    s&\\\${datarootdir}&$datarootdir&g' ;;
 15257  esac
 15258  _ACEOF
 15259  
 15260  # Neutralize VPATH when `$srcdir' = `.'.
 15261  # Shell code in configure.ac might set extrasub.
 15262  # FIXME: do we really want to maintain this feature?
 15263  cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 15264  ac_sed_extra="$ac_vpsub
 15265  $extrasub
 15266  _ACEOF
 15267  cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 15268  :t
 15269  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 15270  s|@configure_input@|$ac_sed_conf_input|;t t
 15271  s&@top_builddir@&$ac_top_builddir_sub&;t t
 15272  s&@top_build_prefix@&$ac_top_build_prefix&;t t
 15273  s&@srcdir@&$ac_srcdir&;t t
 15274  s&@abs_srcdir@&$ac_abs_srcdir&;t t
 15275  s&@top_srcdir@&$ac_top_srcdir&;t t
 15276  s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 15277  s&@builddir@&$ac_builddir&;t t
 15278  s&@abs_builddir@&$ac_abs_builddir&;t t
 15279  s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 15280  s&@INSTALL@&$ac_INSTALL&;t t
 15281  s&@MKDIR_P@&$ac_MKDIR_P&;t t
 15282  $ac_datarootdir_hack
 15283  "
 15284  eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 15285    || as_fn_error "could not create $ac_file" "$LINENO" 5
 15286  
 15287  test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 15288    { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 15289    { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 15290    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 15291  which seems to be undefined.  Please make sure it is defined." >&5
 15292  $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 15293  which seems to be undefined.  Please make sure it is defined." >&2;}
 15294  
 15295    rm -f "$tmp/stdin"
 15296    case $ac_file in
 15297    -) cat "$tmp/out" && rm -f "$tmp/out";;
 15298    *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 15299    esac \
 15300    || as_fn_error "could not create $ac_file" "$LINENO" 5
 15301   ;;
 15302    :H)
 15303    #
 15304    # CONFIG_HEADER
 15305    #
 15306    if test x"$ac_file" != x-; then
 15307      {
 15308        $as_echo "/* $configure_input  */" \
 15309        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 15310      } >"$tmp/config.h" \
 15311        || as_fn_error "could not create $ac_file" "$LINENO" 5
 15312      if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 15313        { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
 15314  $as_echo "$as_me: $ac_file is unchanged" >&6;}
 15315      else
 15316        rm -f "$ac_file"
 15317        mv "$tmp/config.h" "$ac_file" \
 15318  	|| as_fn_error "could not create $ac_file" "$LINENO" 5
 15319      fi
 15320    else
 15321      $as_echo "/* $configure_input  */" \
 15322        && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 15323        || as_fn_error "could not create -" "$LINENO" 5
 15324    fi
 15325  # Compute "$ac_file"'s index in $config_headers.
 15326  _am_arg="$ac_file"
 15327  _am_stamp_count=1
 15328  for _am_header in $config_headers :; do
 15329    case $_am_header in
 15330      $_am_arg | $_am_arg:* )
 15331        break ;;
 15332      * )
 15333        _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 15334    esac
 15335  done
 15336  echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
 15337  $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15338  	 X"$_am_arg" : 'X\(//\)[^/]' \| \
 15339  	 X"$_am_arg" : 'X\(//\)$' \| \
 15340  	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
 15341  $as_echo X"$_am_arg" |
 15342      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 15343  	    s//\1/
 15344  	    q
 15345  	  }
 15346  	  /^X\(\/\/\)[^/].*/{
 15347  	    s//\1/
 15348  	    q
 15349  	  }
 15350  	  /^X\(\/\/\)$/{
 15351  	    s//\1/
 15352  	    q
 15353  	  }
 15354  	  /^X\(\/\).*/{
 15355  	    s//\1/
 15356  	    q
 15357  	  }
 15358  	  s/.*/./; q'`/stamp-h$_am_stamp_count
 15359   ;;
 15360  
 15361    :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
 15362  $as_echo "$as_me: executing $ac_file commands" >&6;}
 15363   ;;
 15364    esac
 15365  
 15366  
 15367    case $ac_file$ac_mode in
 15368      "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
 15369    # Older Autoconf quotes --file arguments for eval, but not when files
 15370    # are listed without --file.  Let's play safe and only enable the eval
 15371    # if we detect the quoting.
 15372    case $CONFIG_FILES in
 15373    *\'*) eval set x "$CONFIG_FILES" ;;
 15374    *)   set x $CONFIG_FILES ;;
 15375    esac
 15376    shift
 15377    for mf
 15378    do
 15379      # Strip MF so we end up with the name of the file.
 15380      mf=`echo "$mf" | sed -e 's/:.*$//'`
 15381      # Check whether this is an Automake generated Makefile or not.
 15382      # We used to match only the files named 'Makefile.in', but
 15383      # some people rename them; so instead we look at the file content.
 15384      # Grep'ing the first line is not enough: some people post-process
 15385      # each Makefile.in and add a new line on top of each file to say so.
 15386      # Grep'ing the whole file is not good either: AIX grep has a line
 15387      # limit of 2048, but all sed's we know have understand at least 4000.
 15388      if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
 15389        dirpart=`$as_dirname -- "$mf" ||
 15390  $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15391  	 X"$mf" : 'X\(//\)[^/]' \| \
 15392  	 X"$mf" : 'X\(//\)$' \| \
 15393  	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 15394  $as_echo X"$mf" |
 15395      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 15396  	    s//\1/
 15397  	    q
 15398  	  }
 15399  	  /^X\(\/\/\)[^/].*/{
 15400  	    s//\1/
 15401  	    q
 15402  	  }
 15403  	  /^X\(\/\/\)$/{
 15404  	    s//\1/
 15405  	    q
 15406  	  }
 15407  	  /^X\(\/\).*/{
 15408  	    s//\1/
 15409  	    q
 15410  	  }
 15411  	  s/.*/./; q'`
 15412      else
 15413        continue
 15414      fi
 15415      # Extract the definition of DEPDIR, am__include, and am__quote
 15416      # from the Makefile without running 'make'.
 15417      DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 15418      test -z "$DEPDIR" && continue
 15419      am__include=`sed -n 's/^am__include = //p' < "$mf"`
 15420      test -z "$am__include" && continue
 15421      am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 15422      # Find all dependency output files, they are included files with
 15423      # $(DEPDIR) in their names.  We invoke sed twice because it is the
 15424      # simplest approach to changing $(DEPDIR) to its actual value in the
 15425      # expansion.
 15426      for file in `sed -n "
 15427        s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 15428  	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
 15429        # Make sure the directory exists.
 15430        test -f "$dirpart/$file" && continue
 15431        fdir=`$as_dirname -- "$file" ||
 15432  $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 15433  	 X"$file" : 'X\(//\)[^/]' \| \
 15434  	 X"$file" : 'X\(//\)$' \| \
 15435  	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 15436  $as_echo X"$file" |
 15437      sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 15438  	    s//\1/
 15439  	    q
 15440  	  }
 15441  	  /^X\(\/\/\)[^/].*/{
 15442  	    s//\1/
 15443  	    q
 15444  	  }
 15445  	  /^X\(\/\/\)$/{
 15446  	    s//\1/
 15447  	    q
 15448  	  }
 15449  	  /^X\(\/\).*/{
 15450  	    s//\1/
 15451  	    q
 15452  	  }
 15453  	  s/.*/./; q'`
 15454        as_dir=$dirpart/$fdir; as_fn_mkdir_p
 15455        # echo "creating $dirpart/$file"
 15456        echo '# dummy' > "$dirpart/$file"
 15457      done
 15458    done
 15459  }
 15460   ;;
 15461      "libtool":C)
 15462  
 15463      # See if we are running on zsh, and set the options which allow our
 15464      # commands through without removal of \ escapes.
 15465      if test -n "${ZSH_VERSION+set}" ; then
 15466        setopt NO_GLOB_SUBST
 15467      fi
 15468  
 15469      cfgfile="${ofile}T"
 15470      trap "$RM \"$cfgfile\"; exit 1" 1 2 15
 15471      $RM "$cfgfile"
 15472  
 15473      cat <<_LT_EOF >> "$cfgfile"
 15474  #! $SHELL
 15475  
 15476  # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
 15477  # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
 15478  # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
 15479  # NOTE: Changes made to this file will be lost: look at ltmain.sh.
 15480  #
 15481  #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
 15482  #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 15483  #                 Inc.
 15484  #   Written by Gordon Matzigkeit, 1996
 15485  #
 15486  #   This file is part of GNU Libtool.
 15487  #
 15488  # GNU Libtool is free software; you can redistribute it and/or
 15489  # modify it under the terms of the GNU General Public License as
 15490  # published by the Free Software Foundation; either version 2 of
 15491  # the License, or (at your option) any later version.
 15492  #
 15493  # As a special exception to the GNU General Public License,
 15494  # if you distribute this file as part of a program or library that
 15495  # is built using GNU Libtool, you may include this file under the
 15496  # same distribution terms that you use for the rest of that program.
 15497  #
 15498  # GNU Libtool is distributed in the hope that it will be useful,
 15499  # but WITHOUT ANY WARRANTY; without even the implied warranty of
 15500  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 15501  # GNU General Public License for more details.
 15502  #
 15503  # You should have received a copy of the GNU General Public License
 15504  # along with GNU Libtool; see the file COPYING.  If not, a copy
 15505  # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
 15506  # obtained by writing to the Free Software Foundation, Inc.,
 15507  # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 15508  
 15509  
 15510  # The names of the tagged configurations supported by this script.
 15511  available_tags=""
 15512  
 15513  # ### BEGIN LIBTOOL CONFIG
 15514  
 15515  # A sed program that does not truncate output.
 15516  SED=$lt_SED
 15517  
 15518  # Sed that helps us avoid accidentally triggering echo(1) options like -n.
 15519  Xsed="\$SED -e 1s/^X//"
 15520  
 15521  # A grep program that handles long lines.
 15522  GREP=$lt_GREP
 15523  
 15524  # An ERE matcher.
 15525  EGREP=$lt_EGREP
 15526  
 15527  # A literal string matcher.
 15528  FGREP=$lt_FGREP
 15529  
 15530  # Shell to use when invoking shell scripts.
 15531  SHELL=$lt_SHELL
 15532  
 15533  # An echo program that protects backslashes.
 15534  ECHO=$lt_ECHO
 15535  
 15536  # Which release of libtool.m4 was used?
 15537  macro_version=$macro_version
 15538  macro_revision=$macro_revision
 15539  
 15540  # Whether or not to build shared libraries.
 15541  build_libtool_libs=$enable_shared
 15542  
 15543  # Whether or not to build static libraries.
 15544  build_old_libs=$enable_static
 15545  
 15546  # What type of objects to build.
 15547  pic_mode=$pic_mode
 15548  
 15549  # Whether or not to optimize for fast installation.
 15550  fast_install=$enable_fast_install
 15551  
 15552  # The host system.
 15553  host_alias=$host_alias
 15554  host=$host
 15555  host_os=$host_os
 15556  
 15557  # The build system.
 15558  build_alias=$build_alias
 15559  build=$build
 15560  build_os=$build_os
 15561  
 15562  # A BSD- or MS-compatible name lister.
 15563  NM=$lt_NM
 15564  
 15565  # Whether we need soft or hard links.
 15566  LN_S=$lt_LN_S
 15567  
 15568  # What is the maximum length of a command?
 15569  max_cmd_len=$max_cmd_len
 15570  
 15571  # Object file suffix (normally "o").
 15572  objext=$ac_objext
 15573  
 15574  # Executable file suffix (normally "").
 15575  exeext=$exeext
 15576  
 15577  # whether the shell understands "unset".
 15578  lt_unset=$lt_unset
 15579  
 15580  # turn spaces into newlines.
 15581  SP2NL=$lt_lt_SP2NL
 15582  
 15583  # turn newlines into spaces.
 15584  NL2SP=$lt_lt_NL2SP
 15585  
 15586  # An object symbol dumper.
 15587  OBJDUMP=$lt_OBJDUMP
 15588  
 15589  # Method to check whether dependent libraries are shared objects.
 15590  deplibs_check_method=$lt_deplibs_check_method
 15591  
 15592  # Command to use when deplibs_check_method == "file_magic".
 15593  file_magic_cmd=$lt_file_magic_cmd
 15594  
 15595  # The archiver.
 15596  AR=$lt_AR
 15597  AR_FLAGS=$lt_AR_FLAGS
 15598  
 15599  # A symbol stripping program.
 15600  STRIP=$lt_STRIP
 15601  
 15602  # Commands used to install an old-style archive.
 15603  RANLIB=$lt_RANLIB
 15604  old_postinstall_cmds=$lt_old_postinstall_cmds
 15605  old_postuninstall_cmds=$lt_old_postuninstall_cmds
 15606  
 15607  # Whether to use a lock for old archive extraction.
 15608  lock_old_archive_extraction=$lock_old_archive_extraction
 15609  
 15610  # A C compiler.
 15611  LTCC=$lt_CC
 15612  
 15613  # LTCC compiler flags.
 15614  LTCFLAGS=$lt_CFLAGS
 15615  
 15616  # Take the output of nm and produce a listing of raw symbols and C names.
 15617  global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
 15618  
 15619  # Transform the output of nm in a proper C declaration.
 15620  global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
 15621  
 15622  # Transform the output of nm in a C name address pair.
 15623  global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
 15624  
 15625  # Transform the output of nm in a C name address pair when lib prefix is needed.
 15626  global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
 15627  
 15628  # The name of the directory that contains temporary libtool files.
 15629  objdir=$objdir
 15630  
 15631  # Used to examine libraries when file_magic_cmd begins with "file".
 15632  MAGIC_CMD=$MAGIC_CMD
 15633  
 15634  # Must we lock files when doing compilation?
 15635  need_locks=$lt_need_locks
 15636  
 15637  # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
 15638  DSYMUTIL=$lt_DSYMUTIL
 15639  
 15640  # Tool to change global to local symbols on Mac OS X.
 15641  NMEDIT=$lt_NMEDIT
 15642  
 15643  # Tool to manipulate fat objects and archives on Mac OS X.
 15644  LIPO=$lt_LIPO
 15645  
 15646  # ldd/readelf like tool for Mach-O binaries on Mac OS X.
 15647  OTOOL=$lt_OTOOL
 15648  
 15649  # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
 15650  OTOOL64=$lt_OTOOL64
 15651  
 15652  # Old archive suffix (normally "a").
 15653  libext=$libext
 15654  
 15655  # Shared library suffix (normally ".so").
 15656  shrext_cmds=$lt_shrext_cmds
 15657  
 15658  # The commands to extract the exported symbol list from a shared archive.
 15659  extract_expsyms_cmds=$lt_extract_expsyms_cmds
 15660  
 15661  # Variables whose values should be saved in libtool wrapper scripts and
 15662  # restored at link time.
 15663  variables_saved_for_relink=$lt_variables_saved_for_relink
 15664  
 15665  # Do we need the "lib" prefix for modules?
 15666  need_lib_prefix=$need_lib_prefix
 15667  
 15668  # Do we need a version for libraries?
 15669  need_version=$need_version
 15670  
 15671  # Library versioning type.
 15672  version_type=$version_type
 15673  
 15674  # Shared library runtime path variable.
 15675  runpath_var=$runpath_var
 15676  
 15677  # Shared library path variable.
 15678  shlibpath_var=$shlibpath_var
 15679  
 15680  # Is shlibpath searched before the hard-coded library search path?
 15681  shlibpath_overrides_runpath=$shlibpath_overrides_runpath
 15682  
 15683  # Format of library name prefix.
 15684  libname_spec=$lt_libname_spec
 15685  
 15686  # List of archive names.  First name is the real one, the rest are links.
 15687  # The last name is the one that the linker finds with -lNAME
 15688  library_names_spec=$lt_library_names_spec
 15689  
 15690  # The coded name of the library, if different from the real name.
 15691  soname_spec=$lt_soname_spec
 15692  
 15693  # Permission mode override for installation of shared libraries.
 15694  install_override_mode=$lt_install_override_mode
 15695  
 15696  # Command to use after installation of a shared archive.
 15697  postinstall_cmds=$lt_postinstall_cmds
 15698  
 15699  # Command to use after uninstallation of a shared archive.
 15700  postuninstall_cmds=$lt_postuninstall_cmds
 15701  
 15702  # Commands used to finish a libtool library installation in a directory.
 15703  finish_cmds=$lt_finish_cmds
 15704  
 15705  # As "finish_cmds", except a single script fragment to be evaled but
 15706  # not shown.
 15707  finish_eval=$lt_finish_eval
 15708  
 15709  # Whether we should hardcode library paths into libraries.
 15710  hardcode_into_libs=$hardcode_into_libs
 15711  
 15712  # Compile-time system search path for libraries.
 15713  sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
 15714  
 15715  # Run-time system search path for libraries.
 15716  sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
 15717  
 15718  # Whether dlopen is supported.
 15719  dlopen_support=$enable_dlopen
 15720  
 15721  # Whether dlopen of programs is supported.
 15722  dlopen_self=$enable_dlopen_self
 15723  
 15724  # Whether dlopen of statically linked programs is supported.
 15725  dlopen_self_static=$enable_dlopen_self_static
 15726  
 15727  # Commands to strip libraries.
 15728  old_striplib=$lt_old_striplib
 15729  striplib=$lt_striplib
 15730  
 15731  
 15732  # The linker used to build libraries.
 15733  LD=$lt_LD
 15734  
 15735  # How to create reloadable object files.
 15736  reload_flag=$lt_reload_flag
 15737  reload_cmds=$lt_reload_cmds
 15738  
 15739  # Commands used to build an old-style archive.
 15740  old_archive_cmds=$lt_old_archive_cmds
 15741  
 15742  # A language specific compiler.
 15743  CC=$lt_compiler
 15744  
 15745  # Is the compiler the GNU compiler?
 15746  with_gcc=$GCC
 15747  
 15748  # Compiler flag to turn off builtin functions.
 15749  no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
 15750  
 15751  # How to pass a linker flag through the compiler.
 15752  wl=$lt_lt_prog_compiler_wl
 15753  
 15754  # Additional compiler flags for building library objects.
 15755  pic_flag=$lt_lt_prog_compiler_pic
 15756  
 15757  # Compiler flag to prevent dynamic linking.
 15758  link_static_flag=$lt_lt_prog_compiler_static
 15759  
 15760  # Does compiler simultaneously support -c and -o options?
 15761  compiler_c_o=$lt_lt_cv_prog_compiler_c_o
 15762  
 15763  # Whether or not to add -lc for building shared libraries.
 15764  build_libtool_need_lc=$archive_cmds_need_lc
 15765  
 15766  # Whether or not to disallow shared libs when runtime libs are static.
 15767  allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
 15768  
 15769  # Compiler flag to allow reflexive dlopens.
 15770  export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
 15771  
 15772  # Compiler flag to generate shared objects directly from archives.
 15773  whole_archive_flag_spec=$lt_whole_archive_flag_spec
 15774  
 15775  # Whether the compiler copes with passing no objects directly.
 15776  compiler_needs_object=$lt_compiler_needs_object
 15777  
 15778  # Create an old-style archive from a shared archive.
 15779  old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
 15780  
 15781  # Create a temporary old-style archive to link instead of a shared archive.
 15782  old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
 15783  
 15784  # Commands used to build a shared archive.
 15785  archive_cmds=$lt_archive_cmds
 15786  archive_expsym_cmds=$lt_archive_expsym_cmds
 15787  
 15788  # Commands used to build a loadable module if different from building
 15789  # a shared archive.
 15790  module_cmds=$lt_module_cmds
 15791  module_expsym_cmds=$lt_module_expsym_cmds
 15792  
 15793  # Whether we are building with GNU ld or not.
 15794  with_gnu_ld=$lt_with_gnu_ld
 15795  
 15796  # Flag that allows shared libraries with undefined symbols to be built.
 15797  allow_undefined_flag=$lt_allow_undefined_flag
 15798  
 15799  # Flag that enforces no undefined symbols.
 15800  no_undefined_flag=$lt_no_undefined_flag
 15801  
 15802  # Flag to hardcode \$libdir into a binary during linking.
 15803  # This must work even if \$libdir does not exist
 15804  hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
 15805  
 15806  # If ld is used when linking, flag to hardcode \$libdir into a binary
 15807  # during linking.  This must work even if \$libdir does not exist.
 15808  hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
 15809  
 15810  # Whether we need a single "-rpath" flag with a separated argument.
 15811  hardcode_libdir_separator=$lt_hardcode_libdir_separator
 15812  
 15813  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 15814  # DIR into the resulting binary.
 15815  hardcode_direct=$hardcode_direct
 15816  
 15817  # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
 15818  # DIR into the resulting binary and the resulting library dependency is
 15819  # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
 15820  # library is relocated.
 15821  hardcode_direct_absolute=$hardcode_direct_absolute
 15822  
 15823  # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
 15824  # into the resulting binary.
 15825  hardcode_minus_L=$hardcode_minus_L
 15826  
 15827  # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
 15828  # into the resulting binary.
 15829  hardcode_shlibpath_var=$hardcode_shlibpath_var
 15830  
 15831  # Set to "yes" if building a shared library automatically hardcodes DIR
 15832  # into the library and all subsequent libraries and executables linked
 15833  # against it.
 15834  hardcode_automatic=$hardcode_automatic
 15835  
 15836  # Set to yes if linker adds runtime paths of dependent libraries
 15837  # to runtime path list.
 15838  inherit_rpath=$inherit_rpath
 15839  
 15840  # Whether libtool must link a program against all its dependency libraries.
 15841  link_all_deplibs=$link_all_deplibs
 15842  
 15843  # Fix the shell variable \$srcfile for the compiler.
 15844  fix_srcfile_path=$lt_fix_srcfile_path
 15845  
 15846  # Set to "yes" if exported symbols are required.
 15847  always_export_symbols=$always_export_symbols
 15848  
 15849  # The commands to list exported symbols.
 15850  export_symbols_cmds=$lt_export_symbols_cmds
 15851  
 15852  # Symbols that should not be listed in the preloaded symbols.
 15853  exclude_expsyms=$lt_exclude_expsyms
 15854  
 15855  # Symbols that must always be exported.
 15856  include_expsyms=$lt_include_expsyms
 15857  
 15858  # Commands necessary for linking programs (against libraries) with templates.
 15859  prelink_cmds=$lt_prelink_cmds
 15860  
 15861  # Specify filename containing input files.
 15862  file_list_spec=$lt_file_list_spec
 15863  
 15864  # How to hardcode a shared library path into an executable.
 15865  hardcode_action=$hardcode_action
 15866  
 15867  # ### END LIBTOOL CONFIG
 15868  
 15869  _LT_EOF
 15870  
 15871    case $host_os in
 15872    aix3*)
 15873      cat <<\_LT_EOF >> "$cfgfile"
 15874  # AIX sometimes has problems with the GCC collect2 program.  For some
 15875  # reason, if we set the COLLECT_NAMES environment variable, the problems
 15876  # vanish in a puff of smoke.
 15877  if test "X${COLLECT_NAMES+set}" != Xset; then
 15878    COLLECT_NAMES=
 15879    export COLLECT_NAMES
 15880  fi
 15881  _LT_EOF
 15882      ;;
 15883    esac
 15884  
 15885  
 15886  ltmain="$ac_aux_dir/ltmain.sh"
 15887  
 15888  
 15889    # We use sed instead of cat because bash on DJGPP gets confused if
 15890    # if finds mixed CR/LF and LF-only lines.  Since sed operates in
 15891    # text mode, it properly converts lines to CR/LF.  This bash problem
 15892    # is reportedly fixed, but why not run on old versions too?
 15893    sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
 15894      || (rm -f "$cfgfile"; exit 1)
 15895  
 15896    case $xsi_shell in
 15897    yes)
 15898      cat << \_LT_EOF >> "$cfgfile"
 15899  
 15900  # func_dirname file append nondir_replacement
 15901  # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 15902  # otherwise set result to NONDIR_REPLACEMENT.
 15903  func_dirname ()
 15904  {
 15905    case ${1} in
 15906      */*) func_dirname_result="${1%/*}${2}" ;;
 15907      *  ) func_dirname_result="${3}" ;;
 15908    esac
 15909  }
 15910  
 15911  # func_basename file
 15912  func_basename ()
 15913  {
 15914    func_basename_result="${1##*/}"
 15915  }
 15916  
 15917  # func_dirname_and_basename file append nondir_replacement
 15918  # perform func_basename and func_dirname in a single function
 15919  # call:
 15920  #   dirname:  Compute the dirname of FILE.  If nonempty,
 15921  #             add APPEND to the result, otherwise set result
 15922  #             to NONDIR_REPLACEMENT.
 15923  #             value returned in "$func_dirname_result"
 15924  #   basename: Compute filename of FILE.
 15925  #             value retuned in "$func_basename_result"
 15926  # Implementation must be kept synchronized with func_dirname
 15927  # and func_basename. For efficiency, we do not delegate to
 15928  # those functions but instead duplicate the functionality here.
 15929  func_dirname_and_basename ()
 15930  {
 15931    case ${1} in
 15932      */*) func_dirname_result="${1%/*}${2}" ;;
 15933      *  ) func_dirname_result="${3}" ;;
 15934    esac
 15935    func_basename_result="${1##*/}"
 15936  }
 15937  
 15938  # func_stripname prefix suffix name
 15939  # strip PREFIX and SUFFIX off of NAME.
 15940  # PREFIX and SUFFIX must not contain globbing or regex special
 15941  # characters, hashes, percent signs, but SUFFIX may contain a leading
 15942  # dot (in which case that matches only a dot).
 15943  func_stripname ()
 15944  {
 15945    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
 15946    # positional parameters, so assign one to ordinary parameter first.
 15947    func_stripname_result=${3}
 15948    func_stripname_result=${func_stripname_result#"${1}"}
 15949    func_stripname_result=${func_stripname_result%"${2}"}
 15950  }
 15951  
 15952  # func_opt_split
 15953  func_opt_split ()
 15954  {
 15955    func_opt_split_opt=${1%%=*}
 15956    func_opt_split_arg=${1#*=}
 15957  }
 15958  
 15959  # func_lo2o object
 15960  func_lo2o ()
 15961  {
 15962    case ${1} in
 15963      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
 15964      *)    func_lo2o_result=${1} ;;
 15965    esac
 15966  }
 15967  
 15968  # func_xform libobj-or-source
 15969  func_xform ()
 15970  {
 15971    func_xform_result=${1%.*}.lo
 15972  }
 15973  
 15974  # func_arith arithmetic-term...
 15975  func_arith ()
 15976  {
 15977    func_arith_result=$(( $* ))
 15978  }
 15979  
 15980  # func_len string
 15981  # STRING may not start with a hyphen.
 15982  func_len ()
 15983  {
 15984    func_len_result=${#1}
 15985  }
 15986  
 15987  _LT_EOF
 15988      ;;
 15989    *) # Bourne compatible functions.
 15990      cat << \_LT_EOF >> "$cfgfile"
 15991  
 15992  # func_dirname file append nondir_replacement
 15993  # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
 15994  # otherwise set result to NONDIR_REPLACEMENT.
 15995  func_dirname ()
 15996  {
 15997    # Extract subdirectory from the argument.
 15998    func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
 15999    if test "X$func_dirname_result" = "X${1}"; then
 16000      func_dirname_result="${3}"
 16001    else
 16002      func_dirname_result="$func_dirname_result${2}"
 16003    fi
 16004  }
 16005  
 16006  # func_basename file
 16007  func_basename ()
 16008  {
 16009    func_basename_result=`$ECHO "${1}" | $SED "$basename"`
 16010  }
 16011  
 16012  
 16013  # func_stripname prefix suffix name
 16014  # strip PREFIX and SUFFIX off of NAME.
 16015  # PREFIX and SUFFIX must not contain globbing or regex special
 16016  # characters, hashes, percent signs, but SUFFIX may contain a leading
 16017  # dot (in which case that matches only a dot).
 16018  # func_strip_suffix prefix name
 16019  func_stripname ()
 16020  {
 16021    case ${2} in
 16022      .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 16023      *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 16024    esac
 16025  }
 16026  
 16027  # sed scripts:
 16028  my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
 16029  my_sed_long_arg='1s/^-[^=]*=//'
 16030  
 16031  # func_opt_split
 16032  func_opt_split ()
 16033  {
 16034    func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 16035    func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
 16036  }
 16037  
 16038  # func_lo2o object
 16039  func_lo2o ()
 16040  {
 16041    func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
 16042  }
 16043  
 16044  # func_xform libobj-or-source
 16045  func_xform ()
 16046  {
 16047    func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
 16048  }
 16049  
 16050  # func_arith arithmetic-term...
 16051  func_arith ()
 16052  {
 16053    func_arith_result=`expr "$@"`
 16054  }
 16055  
 16056  # func_len string
 16057  # STRING may not start with a hyphen.
 16058  func_len ()
 16059  {
 16060    func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
 16061  }
 16062  
 16063  _LT_EOF
 16064  esac
 16065  
 16066  case $lt_shell_append in
 16067    yes)
 16068      cat << \_LT_EOF >> "$cfgfile"
 16069  
 16070  # func_append var value
 16071  # Append VALUE to the end of shell variable VAR.
 16072  func_append ()
 16073  {
 16074    eval "$1+=\$2"
 16075  }
 16076  _LT_EOF
 16077      ;;
 16078    *)
 16079      cat << \_LT_EOF >> "$cfgfile"
 16080  
 16081  # func_append var value
 16082  # Append VALUE to the end of shell variable VAR.
 16083  func_append ()
 16084  {
 16085    eval "$1=\$$1\$2"
 16086  }
 16087  
 16088  _LT_EOF
 16089      ;;
 16090    esac
 16091  
 16092  
 16093    sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
 16094      || (rm -f "$cfgfile"; exit 1)
 16095  
 16096    mv -f "$cfgfile" "$ofile" ||
 16097      (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
 16098    chmod +x "$ofile"
 16099  
 16100   ;;
 16101      "default":C) if test -n "$CONFIG_FILES"; then
 16102     # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
 16103     # that multilib installs will end up installed in the correct place.
 16104     # The testsuite needs it for multilib-aware ABI baseline files.
 16105     # To work around this not being passed down from config-ml.in ->
 16106     # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
 16107     # append it here.  Only modify Makefiles that have just been created.
 16108     #
 16109     # Also, get rid of this simulated-VPATH thing that automake does.
 16110     cat > vpsed << \_EOF
 16111  s!`test -f '$<' || echo '$(srcdir)/'`!!
 16112  _EOF
 16113     for i in $SUBDIRS; do
 16114      case $CONFIG_FILES in
 16115       *${i}/Makefile*)
 16116         #echo "Adding MULTISUBDIR to $i/Makefile"
 16117         sed -f vpsed $i/Makefile > tmp
 16118         grep '^MULTISUBDIR =' Makefile >> tmp
 16119         mv tmp $i/Makefile
 16120         ;;
 16121      esac
 16122     done
 16123     rm vpsed
 16124   fi
 16125   ;;
 16126  
 16127    esac
 16128  done # for ac_tag
 16129  
 16130  
 16131  as_fn_exit 0
 16132  _ACEOF
 16133  ac_clean_files=$ac_clean_files_save
 16134  
 16135  test $ac_write_fail = 0 ||
 16136    as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
 16137  
 16138  
 16139  # configure is writing to config.log, and then calls config.status.
 16140  # config.status does its own redirection, appending to config.log.
 16141  # Unfortunately, on DOS this fails, as config.log is still kept open
 16142  # by configure, so config.status won't be able to write to it; its
 16143  # output is simply discarded.  So we exec the FD to /dev/null,
 16144  # effectively closing config.log, so it can be properly (re)opened and
 16145  # appended to by config.status.  When coming back to configure, we
 16146  # need to make the FD available again.
 16147  if test "$no_create" != yes; then
 16148    ac_cs_success=:
 16149    ac_config_status_args=
 16150    test "$silent" = yes &&
 16151      ac_config_status_args="$ac_config_status_args --quiet"
 16152    exec 5>/dev/null
 16153    $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 16154    exec 5>>config.log
 16155    # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 16156    # would make configure fail if this is the last instruction.
 16157    $ac_cs_success || as_fn_exit $?
 16158  fi
 16159  if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 16160    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
 16161  $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
 16162  fi
 16163