Home | History | Annotate | Line # | Download | only in libcollector
configure revision 1.1.1.2
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for gprofng 2.42.
      4 #
      5 #
      6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      7 #
      8 #
      9 # This configure script is free software; the Free Software Foundation
     10 # gives unlimited permission to copy, distribute and modify it.
     11 ## -------------------- ##
     12 ## M4sh Initialization. ##
     13 ## -------------------- ##
     14 
     15 # Be more Bourne compatible
     16 DUALCASE=1; export DUALCASE # for MKS sh
     17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     18   emulate sh
     19   NULLCMD=:
     20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     21   # is contrary to our usage.  Disable this feature.
     22   alias -g '${1+"$@"}'='"$@"'
     23   setopt NO_GLOB_SUBST
     24 else
     25   case `(set -o) 2>/dev/null` in #(
     26   *posix*) :
     27     set -o posix ;; #(
     28   *) :
     29      ;;
     30 esac
     31 fi
     32 
     33 
     34 as_nl='
     35 '
     36 export as_nl
     37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     41 # Prefer a ksh shell builtin over an external printf program on Solaris,
     42 # but without wasting forks for bash or zsh.
     43 if test -z "$BASH_VERSION$ZSH_VERSION" \
     44     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     45   as_echo='print -r --'
     46   as_echo_n='print -rn --'
     47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     48   as_echo='printf %s\n'
     49   as_echo_n='printf %s'
     50 else
     51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     53     as_echo_n='/usr/ucb/echo -n'
     54   else
     55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     56     as_echo_n_body='eval
     57       arg=$1;
     58       case $arg in #(
     59       *"$as_nl"*)
     60 	expr "X$arg" : "X\\(.*\\)$as_nl";
     61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     62       esac;
     63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     64     '
     65     export as_echo_n_body
     66     as_echo_n='sh -c $as_echo_n_body as_echo'
     67   fi
     68   export as_echo_body
     69   as_echo='sh -c $as_echo_body as_echo'
     70 fi
     71 
     72 # The user is always right.
     73 if test "${PATH_SEPARATOR+set}" != set; then
     74   PATH_SEPARATOR=:
     75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     77       PATH_SEPARATOR=';'
     78   }
     79 fi
     80 
     81 
     82 # IFS
     83 # We need space, tab and new line, in precisely that order.  Quoting is
     84 # there to prevent editors from complaining about space-tab.
     85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     86 # splitting by setting IFS to empty value.)
     87 IFS=" ""	$as_nl"
     88 
     89 # Find who we are.  Look in the path if we contain no directory separator.
     90 as_myself=
     91 case $0 in #((
     92   *[\\/]* ) as_myself=$0 ;;
     93   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     94 for as_dir in $PATH
     95 do
     96   IFS=$as_save_IFS
     97   test -z "$as_dir" && as_dir=.
     98     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     99   done
    100 IFS=$as_save_IFS
    101 
    102      ;;
    103 esac
    104 # We did not find ourselves, most probably we were run as `sh COMMAND'
    105 # in which case we are not to be found in the path.
    106 if test "x$as_myself" = x; then
    107   as_myself=$0
    108 fi
    109 if test ! -f "$as_myself"; then
    110   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    111   exit 1
    112 fi
    113 
    114 # Unset variables that we do not need and which cause bugs (e.g. in
    115 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    116 # suppresses any "Segmentation fault" message there.  '((' could
    117 # trigger a bug in pdksh 5.2.14.
    118 for as_var in BASH_ENV ENV MAIL MAILPATH
    119 do eval test x\${$as_var+set} = xset \
    120   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    121 done
    122 PS1='$ '
    123 PS2='> '
    124 PS4='+ '
    125 
    126 # NLS nuisances.
    127 LC_ALL=C
    128 export LC_ALL
    129 LANGUAGE=C
    130 export LANGUAGE
    131 
    132 # CDPATH.
    133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    134 
    135 # Use a proper internal environment variable to ensure we don't fall
    136   # into an infinite loop, continuously re-executing ourselves.
    137   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    138     _as_can_reexec=no; export _as_can_reexec;
    139     # We cannot yet assume a decent shell, so we have to provide a
    140 # neutralization value for shells without unset; and this also
    141 # works around shells that cannot unset nonexistent variables.
    142 # Preserve -v and -x to the replacement shell.
    143 BASH_ENV=/dev/null
    144 ENV=/dev/null
    145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    146 case $- in # ((((
    147   *v*x* | *x*v* ) as_opts=-vx ;;
    148   *v* ) as_opts=-v ;;
    149   *x* ) as_opts=-x ;;
    150   * ) as_opts= ;;
    151 esac
    152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    153 # Admittedly, this is quite paranoid, since all the known shells bail
    154 # out after a failed `exec'.
    155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    156 as_fn_exit 255
    157   fi
    158   # We don't want this to propagate to other subprocesses.
    159           { _as_can_reexec=; unset _as_can_reexec;}
    160 if test "x$CONFIG_SHELL" = x; then
    161   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    162   emulate sh
    163   NULLCMD=:
    164   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    165   # is contrary to our usage.  Disable this feature.
    166   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    167   setopt NO_GLOB_SUBST
    168 else
    169   case \`(set -o) 2>/dev/null\` in #(
    170   *posix*) :
    171     set -o posix ;; #(
    172   *) :
    173      ;;
    174 esac
    175 fi
    176 "
    177   as_required="as_fn_return () { (exit \$1); }
    178 as_fn_success () { as_fn_return 0; }
    179 as_fn_failure () { as_fn_return 1; }
    180 as_fn_ret_success () { return 0; }
    181 as_fn_ret_failure () { return 1; }
    182 
    183 exitcode=0
    184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    189 
    190 else
    191   exitcode=1; echo positional parameters were not saved.
    192 fi
    193 test x\$exitcode = x0 || exit 1
    194 test -x / || exit 1"
    195   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    196   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    197   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    198   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    199 test \$(( 1 + 1 )) = 2 || exit 1
    200 
    201   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    202     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    203     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     PATH=/empty FPATH=/empty; export PATH FPATH
    206     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    207       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    208   if (eval "$as_required") 2>/dev/null; then :
    209   as_have_required=yes
    210 else
    211   as_have_required=no
    212 fi
    213   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    214 
    215 else
    216   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    217 as_found=false
    218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    219 do
    220   IFS=$as_save_IFS
    221   test -z "$as_dir" && as_dir=.
    222   as_found=:
    223   case $as_dir in #(
    224 	 /*)
    225 	   for as_base in sh bash ksh sh5; do
    226 	     # Try only shells that exist, to save several forks.
    227 	     as_shell=$as_dir/$as_base
    228 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    229 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    230   CONFIG_SHELL=$as_shell as_have_required=yes
    231 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   break 2
    233 fi
    234 fi
    235 	   done;;
    236        esac
    237   as_found=false
    238 done
    239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    240 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    241   CONFIG_SHELL=$SHELL as_have_required=yes
    242 fi; }
    243 IFS=$as_save_IFS
    244 
    245 
    246       if test "x$CONFIG_SHELL" != x; then :
    247   export CONFIG_SHELL
    248              # We cannot yet assume a decent shell, so we have to provide a
    249 # neutralization value for shells without unset; and this also
    250 # works around shells that cannot unset nonexistent variables.
    251 # Preserve -v and -x to the replacement shell.
    252 BASH_ENV=/dev/null
    253 ENV=/dev/null
    254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    255 case $- in # ((((
    256   *v*x* | *x*v* ) as_opts=-vx ;;
    257   *v* ) as_opts=-v ;;
    258   *x* ) as_opts=-x ;;
    259   * ) as_opts= ;;
    260 esac
    261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    262 # Admittedly, this is quite paranoid, since all the known shells bail
    263 # out after a failed `exec'.
    264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    265 exit 255
    266 fi
    267 
    268     if test x$as_have_required = xno; then :
    269   $as_echo "$0: This script requires a shell more modern than all"
    270   $as_echo "$0: the shells that I found on your system."
    271   if test x${ZSH_VERSION+set} = xset ; then
    272     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    273     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    274   else
    275     $as_echo "$0: Please tell bug-autoconf (at] gnu.org about your system,
    276 $0: including any error possibly output before this
    277 $0: message. Then install a modern shell, or manually run
    278 $0: the script under such a shell if you do have one."
    279   fi
    280   exit 1
    281 fi
    282 fi
    283 fi
    284 SHELL=${CONFIG_SHELL-/bin/sh}
    285 export SHELL
    286 # Unset more variables known to interfere with behavior of common tools.
    287 CLICOLOR_FORCE= GREP_OPTIONS=
    288 unset CLICOLOR_FORCE GREP_OPTIONS
    289 
    290 ## --------------------- ##
    291 ## M4sh Shell Functions. ##
    292 ## --------------------- ##
    293 # as_fn_unset VAR
    294 # ---------------
    295 # Portably unset VAR.
    296 as_fn_unset ()
    297 {
    298   { eval $1=; unset $1;}
    299 }
    300 as_unset=as_fn_unset
    301 
    302 # as_fn_set_status STATUS
    303 # -----------------------
    304 # Set $? to STATUS, without forking.
    305 as_fn_set_status ()
    306 {
    307   return $1
    308 } # as_fn_set_status
    309 
    310 # as_fn_exit STATUS
    311 # -----------------
    312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    313 as_fn_exit ()
    314 {
    315   set +e
    316   as_fn_set_status $1
    317   exit $1
    318 } # as_fn_exit
    319 
    320 # as_fn_mkdir_p
    321 # -------------
    322 # Create "$as_dir" as a directory, including parents if necessary.
    323 as_fn_mkdir_p ()
    324 {
    325 
    326   case $as_dir in #(
    327   -*) as_dir=./$as_dir;;
    328   esac
    329   test -d "$as_dir" || eval $as_mkdir_p || {
    330     as_dirs=
    331     while :; do
    332       case $as_dir in #(
    333       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    334       *) as_qdir=$as_dir;;
    335       esac
    336       as_dirs="'$as_qdir' $as_dirs"
    337       as_dir=`$as_dirname -- "$as_dir" ||
    338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    339 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    340 	 X"$as_dir" : 'X\(//\)$' \| \
    341 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    342 $as_echo X"$as_dir" |
    343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)[^/].*/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)$/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\).*/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  s/.*/./; q'`
    360       test -d "$as_dir" && break
    361     done
    362     test -z "$as_dirs" || eval "mkdir $as_dirs"
    363   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    364 
    365 
    366 } # as_fn_mkdir_p
    367 
    368 # as_fn_executable_p FILE
    369 # -----------------------
    370 # Test if FILE is an executable regular file.
    371 as_fn_executable_p ()
    372 {
    373   test -f "$1" && test -x "$1"
    374 } # as_fn_executable_p
    375 # as_fn_append VAR VALUE
    376 # ----------------------
    377 # Append the text in VALUE to the end of the definition contained in VAR. Take
    378 # advantage of any shell optimizations that allow amortized linear growth over
    379 # repeated appends, instead of the typical quadratic growth present in naive
    380 # implementations.
    381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    382   eval 'as_fn_append ()
    383   {
    384     eval $1+=\$2
    385   }'
    386 else
    387   as_fn_append ()
    388   {
    389     eval $1=\$$1\$2
    390   }
    391 fi # as_fn_append
    392 
    393 # as_fn_arith ARG...
    394 # ------------------
    395 # Perform arithmetic evaluation on the ARGs, and store the result in the
    396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    397 # must be portable across $(()) and expr.
    398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    399   eval 'as_fn_arith ()
    400   {
    401     as_val=$(( $* ))
    402   }'
    403 else
    404   as_fn_arith ()
    405   {
    406     as_val=`expr "$@" || test $? -eq 1`
    407   }
    408 fi # as_fn_arith
    409 
    410 
    411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    412 # ----------------------------------------
    413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    415 # script with STATUS, using 1 if that was 0.
    416 as_fn_error ()
    417 {
    418   as_status=$1; test $as_status -eq 0 && as_status=1
    419   if test "$4"; then
    420     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    421     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    422   fi
    423   $as_echo "$as_me: error: $2" >&2
    424   as_fn_exit $as_status
    425 } # as_fn_error
    426 
    427 if expr a : '\(a\)' >/dev/null 2>&1 &&
    428    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    429   as_expr=expr
    430 else
    431   as_expr=false
    432 fi
    433 
    434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    435   as_basename=basename
    436 else
    437   as_basename=false
    438 fi
    439 
    440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    441   as_dirname=dirname
    442 else
    443   as_dirname=false
    444 fi
    445 
    446 as_me=`$as_basename -- "$0" ||
    447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    448 	 X"$0" : 'X\(//\)$' \| \
    449 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    450 $as_echo X/"$0" |
    451     sed '/^.*\/\([^/][^/]*\)\/*$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\/\)$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\).*/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  s/.*/./; q'`
    464 
    465 # Avoid depending upon Character Ranges.
    466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    469 as_cr_digits='0123456789'
    470 as_cr_alnum=$as_cr_Letters$as_cr_digits
    471 
    472 
    473   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    474   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    475   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    476   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    477   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    478   sed -n '
    479     p
    480     /[$]LINENO/=
    481   ' <$as_myself |
    482     sed '
    483       s/[$]LINENO.*/&-/
    484       t lineno
    485       b
    486       :lineno
    487       N
    488       :loop
    489       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    490       t loop
    491       s/-\n.*//
    492     ' >$as_me.lineno &&
    493   chmod +x "$as_me.lineno" ||
    494     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    495 
    496   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    497   # already done that, so ensure we don't try to do so again and fall
    498   # in an infinite loop.  This has already happened in practice.
    499   _as_can_reexec=no; export _as_can_reexec
    500   # Don't try to exec as it changes $[0], causing all sort of problems
    501   # (the dirname of $[0] is not the place where we might find the
    502   # original and so on.  Autoconf is especially sensitive to this).
    503   . "./$as_me.lineno"
    504   # Exit status is that of the last command.
    505   exit
    506 }
    507 
    508 ECHO_C= ECHO_N= ECHO_T=
    509 case `echo -n x` in #(((((
    510 -n*)
    511   case `echo 'xy\c'` in
    512   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    513   xy)  ECHO_C='\c';;
    514   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    515        ECHO_T='	';;
    516   esac;;
    517 *)
    518   ECHO_N='-n';;
    519 esac
    520 
    521 rm -f conf$$ conf$$.exe conf$$.file
    522 if test -d conf$$.dir; then
    523   rm -f conf$$.dir/conf$$.file
    524 else
    525   rm -f conf$$.dir
    526   mkdir conf$$.dir 2>/dev/null
    527 fi
    528 if (echo >conf$$.file) 2>/dev/null; then
    529   if ln -s conf$$.file conf$$ 2>/dev/null; then
    530     as_ln_s='ln -s'
    531     # ... but there are two gotchas:
    532     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    533     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    534     # In both cases, we have to default to `cp -pR'.
    535     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    536       as_ln_s='cp -pR'
    537   elif ln conf$$.file conf$$ 2>/dev/null; then
    538     as_ln_s=ln
    539   else
    540     as_ln_s='cp -pR'
    541   fi
    542 else
    543   as_ln_s='cp -pR'
    544 fi
    545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    546 rmdir conf$$.dir 2>/dev/null
    547 
    548 if mkdir -p . 2>/dev/null; then
    549   as_mkdir_p='mkdir -p "$as_dir"'
    550 else
    551   test -d ./-p && rmdir ./-p
    552   as_mkdir_p=false
    553 fi
    554 
    555 as_test_x='test -x'
    556 as_executable_p=as_fn_executable_p
    557 
    558 # Sed expression to map a string onto a valid CPP name.
    559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    560 
    561 # Sed expression to map a string onto a valid variable name.
    562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    563 
    564 SHELL=${CONFIG_SHELL-/bin/sh}
    565 
    566 
    567 test -n "$DJDIR" || exec 7<&0 </dev/null
    568 exec 6>&1
    569 
    570 # Name of the host.
    571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    572 # so uname gets run too.
    573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    574 
    575 #
    576 # Initializations.
    577 #
    578 ac_default_prefix=/usr/local
    579 ac_clean_files=
    580 ac_config_libobj_dir=.
    581 LIBOBJS=
    582 cross_compiling=no
    583 subdirs=
    584 MFLAGS=
    585 MAKEFLAGS=
    586 
    587 # Identity of this package.
    588 PACKAGE_NAME='gprofng'
    589 PACKAGE_TARNAME='gprofng'
    590 PACKAGE_VERSION='2.42'
    591 PACKAGE_STRING='gprofng 2.42'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="libcol_util.c"
    596 # Factoring default headers for most tests.
    597 ac_includes_default="\
    598 #include <stdio.h>
    599 #ifdef HAVE_SYS_TYPES_H
    600 # include <sys/types.h>
    601 #endif
    602 #ifdef HAVE_SYS_STAT_H
    603 # include <sys/stat.h>
    604 #endif
    605 #ifdef STDC_HEADERS
    606 # include <stdlib.h>
    607 # include <stddef.h>
    608 #else
    609 # ifdef HAVE_STDLIB_H
    610 #  include <stdlib.h>
    611 # endif
    612 #endif
    613 #ifdef HAVE_STRING_H
    614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    615 #  include <memory.h>
    616 # endif
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_STRINGS_H
    620 # include <strings.h>
    621 #endif
    622 #ifdef HAVE_INTTYPES_H
    623 # include <inttypes.h>
    624 #endif
    625 #ifdef HAVE_STDINT_H
    626 # include <stdint.h>
    627 #endif
    628 #ifdef HAVE_UNISTD_H
    629 # include <unistd.h>
    630 #endif"
    631 
    632 ac_subst_vars='am__EXEEXT_FALSE
    633 am__EXEEXT_TRUE
    634 LTLIBOBJS
    635 LIBOBJS
    636 GPROFNG_NO_NONNULL_COMPARE_CFLAGS
    637 CXXCPP
    638 OTOOL64
    639 OTOOL
    640 LIPO
    641 NMEDIT
    642 DSYMUTIL
    643 OBJDUMP
    644 LN_S
    645 NM
    646 ac_ct_DUMPBIN
    647 DUMPBIN
    648 LD
    649 FGREP
    650 SED
    651 LIBTOOL
    652 ac_ct_AR
    653 AR
    654 RANLIB
    655 am__fastdepCXX_FALSE
    656 am__fastdepCXX_TRUE
    657 CXXDEPMODE
    658 ac_ct_CXX
    659 CXXFLAGS
    660 CXX
    661 EGREP
    662 GREP
    663 CPP
    664 am__fastdepCC_FALSE
    665 am__fastdepCC_TRUE
    666 CCDEPMODE
    667 am__nodep
    668 AMDEPBACKSLASH
    669 AMDEP_FALSE
    670 AMDEP_TRUE
    671 am__quote
    672 am__include
    673 DEPDIR
    674 OBJEXT
    675 EXEEXT
    676 ac_ct_CC
    677 CPPFLAGS
    678 LDFLAGS
    679 CFLAGS
    680 CC
    681 MAINT
    682 MAINTAINER_MODE_FALSE
    683 MAINTAINER_MODE_TRUE
    684 AM_BACKSLASH
    685 AM_DEFAULT_VERBOSITY
    686 AM_DEFAULT_V
    687 AM_V
    688 am__untar
    689 am__tar
    690 AMTAR
    691 am__leading_dot
    692 SET_MAKE
    693 AWK
    694 mkdir_p
    695 MKDIR_P
    696 INSTALL_STRIP_PROGRAM
    697 STRIP
    698 install_sh
    699 MAKEINFO
    700 AUTOHEADER
    701 AUTOMAKE
    702 AUTOCONF
    703 ACLOCAL
    704 VERSION
    705 PACKAGE
    706 CYGPATH_W
    707 am__isrc
    708 INSTALL_DATA
    709 INSTALL_SCRIPT
    710 INSTALL_PROGRAM
    711 target_os
    712 target_vendor
    713 target_cpu
    714 target
    715 host_os
    716 host_vendor
    717 host_cpu
    718 host
    719 build_os
    720 build_vendor
    721 build_cpu
    722 build
    723 target_alias
    724 host_alias
    725 build_alias
    726 LIBS
    727 ECHO_T
    728 ECHO_N
    729 ECHO_C
    730 DEFS
    731 mandir
    732 localedir
    733 libdir
    734 psdir
    735 pdfdir
    736 dvidir
    737 htmldir
    738 infodir
    739 docdir
    740 oldincludedir
    741 includedir
    742 localstatedir
    743 sharedstatedir
    744 sysconfdir
    745 datadir
    746 datarootdir
    747 libexecdir
    748 sbindir
    749 bindir
    750 program_transform_name
    751 prefix
    752 exec_prefix
    753 PACKAGE_URL
    754 PACKAGE_BUGREPORT
    755 PACKAGE_STRING
    756 PACKAGE_VERSION
    757 PACKAGE_TARNAME
    758 PACKAGE_NAME
    759 PATH_SEPARATOR
    760 SHELL'
    761 ac_subst_files=''
    762 ac_user_opts='
    763 enable_option_checking
    764 enable_silent_rules
    765 enable_maintainer_mode
    766 enable_dependency_tracking
    767 enable_shared
    768 enable_static
    769 with_pic
    770 enable_fast_install
    771 with_gnu_ld
    772 enable_libtool_lock
    773 '
    774       ac_precious_vars='build_alias
    775 host_alias
    776 target_alias
    777 CC
    778 CFLAGS
    779 LDFLAGS
    780 LIBS
    781 CPPFLAGS
    782 CPP
    783 CXX
    784 CXXFLAGS
    785 CCC
    786 CXXCPP'
    787 
    788 
    789 # Initialize some variables set by options.
    790 ac_init_help=
    791 ac_init_version=false
    792 ac_unrecognized_opts=
    793 ac_unrecognized_sep=
    794 # The variables have the same names as the options, with
    795 # dashes changed to underlines.
    796 cache_file=/dev/null
    797 exec_prefix=NONE
    798 no_create=
    799 no_recursion=
    800 prefix=NONE
    801 program_prefix=NONE
    802 program_suffix=NONE
    803 program_transform_name=s,x,x,
    804 silent=
    805 site=
    806 srcdir=
    807 verbose=
    808 x_includes=NONE
    809 x_libraries=NONE
    810 
    811 # Installation directory options.
    812 # These are left unexpanded so users can "make install exec_prefix=/foo"
    813 # and all the variables that are supposed to be based on exec_prefix
    814 # by default will actually change.
    815 # Use braces instead of parens because sh, perl, etc. also accept them.
    816 # (The list follows the same order as the GNU Coding Standards.)
    817 bindir='${exec_prefix}/bin'
    818 sbindir='${exec_prefix}/sbin'
    819 libexecdir='${exec_prefix}/libexec'
    820 datarootdir='${prefix}/share'
    821 datadir='${datarootdir}'
    822 sysconfdir='${prefix}/etc'
    823 sharedstatedir='${prefix}/com'
    824 localstatedir='${prefix}/var'
    825 includedir='${prefix}/include'
    826 oldincludedir='/usr/include'
    827 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    828 infodir='${datarootdir}/info'
    829 htmldir='${docdir}'
    830 dvidir='${docdir}'
    831 pdfdir='${docdir}'
    832 psdir='${docdir}'
    833 libdir='${exec_prefix}/lib'
    834 localedir='${datarootdir}/locale'
    835 mandir='${datarootdir}/man'
    836 
    837 ac_prev=
    838 ac_dashdash=
    839 for ac_option
    840 do
    841   # If the previous option needs an argument, assign it.
    842   if test -n "$ac_prev"; then
    843     eval $ac_prev=\$ac_option
    844     ac_prev=
    845     continue
    846   fi
    847 
    848   case $ac_option in
    849   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    850   *=)   ac_optarg= ;;
    851   *)    ac_optarg=yes ;;
    852   esac
    853 
    854   # Accept the important Cygnus configure options, so we can diagnose typos.
    855 
    856   case $ac_dashdash$ac_option in
    857   --)
    858     ac_dashdash=yes ;;
    859 
    860   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    861     ac_prev=bindir ;;
    862   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    863     bindir=$ac_optarg ;;
    864 
    865   -build | --build | --buil | --bui | --bu)
    866     ac_prev=build_alias ;;
    867   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    868     build_alias=$ac_optarg ;;
    869 
    870   -cache-file | --cache-file | --cache-fil | --cache-fi \
    871   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    872     ac_prev=cache_file ;;
    873   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    874   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    875     cache_file=$ac_optarg ;;
    876 
    877   --config-cache | -C)
    878     cache_file=config.cache ;;
    879 
    880   -datadir | --datadir | --datadi | --datad)
    881     ac_prev=datadir ;;
    882   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    883     datadir=$ac_optarg ;;
    884 
    885   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    886   | --dataroo | --dataro | --datar)
    887     ac_prev=datarootdir ;;
    888   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    889   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    890     datarootdir=$ac_optarg ;;
    891 
    892   -disable-* | --disable-*)
    893     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    894     # Reject names that are not valid shell variable names.
    895     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    896       as_fn_error $? "invalid feature name: $ac_useropt"
    897     ac_useropt_orig=$ac_useropt
    898     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    899     case $ac_user_opts in
    900       *"
    901 "enable_$ac_useropt"
    902 "*) ;;
    903       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    904 	 ac_unrecognized_sep=', ';;
    905     esac
    906     eval enable_$ac_useropt=no ;;
    907 
    908   -docdir | --docdir | --docdi | --doc | --do)
    909     ac_prev=docdir ;;
    910   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    911     docdir=$ac_optarg ;;
    912 
    913   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    914     ac_prev=dvidir ;;
    915   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    916     dvidir=$ac_optarg ;;
    917 
    918   -enable-* | --enable-*)
    919     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    920     # Reject names that are not valid shell variable names.
    921     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    922       as_fn_error $? "invalid feature name: $ac_useropt"
    923     ac_useropt_orig=$ac_useropt
    924     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    925     case $ac_user_opts in
    926       *"
    927 "enable_$ac_useropt"
    928 "*) ;;
    929       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    930 	 ac_unrecognized_sep=', ';;
    931     esac
    932     eval enable_$ac_useropt=\$ac_optarg ;;
    933 
    934   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    935   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    936   | --exec | --exe | --ex)
    937     ac_prev=exec_prefix ;;
    938   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    939   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    940   | --exec=* | --exe=* | --ex=*)
    941     exec_prefix=$ac_optarg ;;
    942 
    943   -gas | --gas | --ga | --g)
    944     # Obsolete; use --with-gas.
    945     with_gas=yes ;;
    946 
    947   -help | --help | --hel | --he | -h)
    948     ac_init_help=long ;;
    949   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    950     ac_init_help=recursive ;;
    951   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    952     ac_init_help=short ;;
    953 
    954   -host | --host | --hos | --ho)
    955     ac_prev=host_alias ;;
    956   -host=* | --host=* | --hos=* | --ho=*)
    957     host_alias=$ac_optarg ;;
    958 
    959   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    960     ac_prev=htmldir ;;
    961   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    962   | --ht=*)
    963     htmldir=$ac_optarg ;;
    964 
    965   -includedir | --includedir | --includedi | --included | --include \
    966   | --includ | --inclu | --incl | --inc)
    967     ac_prev=includedir ;;
    968   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    969   | --includ=* | --inclu=* | --incl=* | --inc=*)
    970     includedir=$ac_optarg ;;
    971 
    972   -infodir | --infodir | --infodi | --infod | --info | --inf)
    973     ac_prev=infodir ;;
    974   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    975     infodir=$ac_optarg ;;
    976 
    977   -libdir | --libdir | --libdi | --libd)
    978     ac_prev=libdir ;;
    979   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    980     libdir=$ac_optarg ;;
    981 
    982   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    983   | --libexe | --libex | --libe)
    984     ac_prev=libexecdir ;;
    985   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    986   | --libexe=* | --libex=* | --libe=*)
    987     libexecdir=$ac_optarg ;;
    988 
    989   -localedir | --localedir | --localedi | --localed | --locale)
    990     ac_prev=localedir ;;
    991   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    992     localedir=$ac_optarg ;;
    993 
    994   -localstatedir | --localstatedir | --localstatedi | --localstated \
    995   | --localstate | --localstat | --localsta | --localst | --locals)
    996     ac_prev=localstatedir ;;
    997   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    998   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    999     localstatedir=$ac_optarg ;;
   1000 
   1001   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1002     ac_prev=mandir ;;
   1003   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1004     mandir=$ac_optarg ;;
   1005 
   1006   -nfp | --nfp | --nf)
   1007     # Obsolete; use --without-fp.
   1008     with_fp=no ;;
   1009 
   1010   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1011   | --no-cr | --no-c | -n)
   1012     no_create=yes ;;
   1013 
   1014   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1015   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1016     no_recursion=yes ;;
   1017 
   1018   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1019   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1020   | --oldin | --oldi | --old | --ol | --o)
   1021     ac_prev=oldincludedir ;;
   1022   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1023   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1024   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1025     oldincludedir=$ac_optarg ;;
   1026 
   1027   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1028     ac_prev=prefix ;;
   1029   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1030     prefix=$ac_optarg ;;
   1031 
   1032   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1033   | --program-pre | --program-pr | --program-p)
   1034     ac_prev=program_prefix ;;
   1035   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1036   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1037     program_prefix=$ac_optarg ;;
   1038 
   1039   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1040   | --program-suf | --program-su | --program-s)
   1041     ac_prev=program_suffix ;;
   1042   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1043   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1044     program_suffix=$ac_optarg ;;
   1045 
   1046   -program-transform-name | --program-transform-name \
   1047   | --program-transform-nam | --program-transform-na \
   1048   | --program-transform-n | --program-transform- \
   1049   | --program-transform | --program-transfor \
   1050   | --program-transfo | --program-transf \
   1051   | --program-trans | --program-tran \
   1052   | --progr-tra | --program-tr | --program-t)
   1053     ac_prev=program_transform_name ;;
   1054   -program-transform-name=* | --program-transform-name=* \
   1055   | --program-transform-nam=* | --program-transform-na=* \
   1056   | --program-transform-n=* | --program-transform-=* \
   1057   | --program-transform=* | --program-transfor=* \
   1058   | --program-transfo=* | --program-transf=* \
   1059   | --program-trans=* | --program-tran=* \
   1060   | --progr-tra=* | --program-tr=* | --program-t=*)
   1061     program_transform_name=$ac_optarg ;;
   1062 
   1063   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1064     ac_prev=pdfdir ;;
   1065   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1066     pdfdir=$ac_optarg ;;
   1067 
   1068   -psdir | --psdir | --psdi | --psd | --ps)
   1069     ac_prev=psdir ;;
   1070   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1071     psdir=$ac_optarg ;;
   1072 
   1073   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1074   | -silent | --silent | --silen | --sile | --sil)
   1075     silent=yes ;;
   1076 
   1077   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1078     ac_prev=sbindir ;;
   1079   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1080   | --sbi=* | --sb=*)
   1081     sbindir=$ac_optarg ;;
   1082 
   1083   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1084   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1085   | --sharedst | --shareds | --shared | --share | --shar \
   1086   | --sha | --sh)
   1087     ac_prev=sharedstatedir ;;
   1088   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1089   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1090   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1091   | --sha=* | --sh=*)
   1092     sharedstatedir=$ac_optarg ;;
   1093 
   1094   -site | --site | --sit)
   1095     ac_prev=site ;;
   1096   -site=* | --site=* | --sit=*)
   1097     site=$ac_optarg ;;
   1098 
   1099   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1100     ac_prev=srcdir ;;
   1101   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1102     srcdir=$ac_optarg ;;
   1103 
   1104   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1105   | --syscon | --sysco | --sysc | --sys | --sy)
   1106     ac_prev=sysconfdir ;;
   1107   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1108   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1109     sysconfdir=$ac_optarg ;;
   1110 
   1111   -target | --target | --targe | --targ | --tar | --ta | --t)
   1112     ac_prev=target_alias ;;
   1113   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1114     target_alias=$ac_optarg ;;
   1115 
   1116   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1117     verbose=yes ;;
   1118 
   1119   -version | --version | --versio | --versi | --vers | -V)
   1120     ac_init_version=: ;;
   1121 
   1122   -with-* | --with-*)
   1123     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1124     # Reject names that are not valid shell variable names.
   1125     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1126       as_fn_error $? "invalid package name: $ac_useropt"
   1127     ac_useropt_orig=$ac_useropt
   1128     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1129     case $ac_user_opts in
   1130       *"
   1131 "with_$ac_useropt"
   1132 "*) ;;
   1133       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1134 	 ac_unrecognized_sep=', ';;
   1135     esac
   1136     eval with_$ac_useropt=\$ac_optarg ;;
   1137 
   1138   -without-* | --without-*)
   1139     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1140     # Reject names that are not valid shell variable names.
   1141     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1142       as_fn_error $? "invalid package name: $ac_useropt"
   1143     ac_useropt_orig=$ac_useropt
   1144     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1145     case $ac_user_opts in
   1146       *"
   1147 "with_$ac_useropt"
   1148 "*) ;;
   1149       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1150 	 ac_unrecognized_sep=', ';;
   1151     esac
   1152     eval with_$ac_useropt=no ;;
   1153 
   1154   --x)
   1155     # Obsolete; use --with-x.
   1156     with_x=yes ;;
   1157 
   1158   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1159   | --x-incl | --x-inc | --x-in | --x-i)
   1160     ac_prev=x_includes ;;
   1161   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1162   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1163     x_includes=$ac_optarg ;;
   1164 
   1165   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1166   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1167     ac_prev=x_libraries ;;
   1168   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1169   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1170     x_libraries=$ac_optarg ;;
   1171 
   1172   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1173 Try \`$0 --help' for more information"
   1174     ;;
   1175 
   1176   *=*)
   1177     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1178     # Reject names that are not valid shell variable names.
   1179     case $ac_envvar in #(
   1180       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1181       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1182     esac
   1183     eval $ac_envvar=\$ac_optarg
   1184     export $ac_envvar ;;
   1185 
   1186   *)
   1187     # FIXME: should be removed in autoconf 3.0.
   1188     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1189     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1190       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1191     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1192     ;;
   1193 
   1194   esac
   1195 done
   1196 
   1197 if test -n "$ac_prev"; then
   1198   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1199   as_fn_error $? "missing argument to $ac_option"
   1200 fi
   1201 
   1202 if test -n "$ac_unrecognized_opts"; then
   1203   case $enable_option_checking in
   1204     no) ;;
   1205     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1206     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1207   esac
   1208 fi
   1209 
   1210 # Check all directory arguments for consistency.
   1211 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1212 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1213 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1214 		libdir localedir mandir
   1215 do
   1216   eval ac_val=\$$ac_var
   1217   # Remove trailing slashes.
   1218   case $ac_val in
   1219     */ )
   1220       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1221       eval $ac_var=\$ac_val;;
   1222   esac
   1223   # Be sure to have absolute directory names.
   1224   case $ac_val in
   1225     [\\/$]* | ?:[\\/]* )  continue;;
   1226     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1227   esac
   1228   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1229 done
   1230 
   1231 # There might be people who depend on the old broken behavior: `$host'
   1232 # used to hold the argument of --host etc.
   1233 # FIXME: To remove some day.
   1234 build=$build_alias
   1235 host=$host_alias
   1236 target=$target_alias
   1237 
   1238 # FIXME: To remove some day.
   1239 if test "x$host_alias" != x; then
   1240   if test "x$build_alias" = x; then
   1241     cross_compiling=maybe
   1242   elif test "x$build_alias" != "x$host_alias"; then
   1243     cross_compiling=yes
   1244   fi
   1245 fi
   1246 
   1247 ac_tool_prefix=
   1248 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1249 
   1250 test "$silent" = yes && exec 6>/dev/null
   1251 
   1252 
   1253 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1254 ac_ls_di=`ls -di .` &&
   1255 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1256   as_fn_error $? "working directory cannot be determined"
   1257 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1258   as_fn_error $? "pwd does not report name of working directory"
   1259 
   1260 
   1261 # Find the source files, if location was not specified.
   1262 if test -z "$srcdir"; then
   1263   ac_srcdir_defaulted=yes
   1264   # Try the directory containing this script, then the parent directory.
   1265   ac_confdir=`$as_dirname -- "$as_myself" ||
   1266 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1267 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1268 	 X"$as_myself" : 'X\(//\)$' \| \
   1269 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1270 $as_echo X"$as_myself" |
   1271     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1272 	    s//\1/
   1273 	    q
   1274 	  }
   1275 	  /^X\(\/\/\)[^/].*/{
   1276 	    s//\1/
   1277 	    q
   1278 	  }
   1279 	  /^X\(\/\/\)$/{
   1280 	    s//\1/
   1281 	    q
   1282 	  }
   1283 	  /^X\(\/\).*/{
   1284 	    s//\1/
   1285 	    q
   1286 	  }
   1287 	  s/.*/./; q'`
   1288   srcdir=$ac_confdir
   1289   if test ! -r "$srcdir/$ac_unique_file"; then
   1290     srcdir=..
   1291   fi
   1292 else
   1293   ac_srcdir_defaulted=no
   1294 fi
   1295 if test ! -r "$srcdir/$ac_unique_file"; then
   1296   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1297   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1298 fi
   1299 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1300 ac_abs_confdir=`(
   1301 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1302 	pwd)`
   1303 # When building in place, set srcdir=.
   1304 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1305   srcdir=.
   1306 fi
   1307 # Remove unnecessary trailing slashes from srcdir.
   1308 # Double slashes in file names in object file debugging info
   1309 # mess up M-x gdb in Emacs.
   1310 case $srcdir in
   1311 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1312 esac
   1313 for ac_var in $ac_precious_vars; do
   1314   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1315   eval ac_env_${ac_var}_value=\$${ac_var}
   1316   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1317   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1318 done
   1319 
   1320 #
   1321 # Report the --help message.
   1322 #
   1323 if test "$ac_init_help" = "long"; then
   1324   # Omit some internal or obsolete options to make the list less imposing.
   1325   # This message is too long to be a string in the A/UX 3.1 sh.
   1326   cat <<_ACEOF
   1327 \`configure' configures gprofng 2.42 to adapt to many kinds of systems.
   1328 
   1329 Usage: $0 [OPTION]... [VAR=VALUE]...
   1330 
   1331 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1332 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1333 
   1334 Defaults for the options are specified in brackets.
   1335 
   1336 Configuration:
   1337   -h, --help              display this help and exit
   1338       --help=short        display options specific to this package
   1339       --help=recursive    display the short help of all the included packages
   1340   -V, --version           display version information and exit
   1341   -q, --quiet, --silent   do not print \`checking ...' messages
   1342       --cache-file=FILE   cache test results in FILE [disabled]
   1343   -C, --config-cache      alias for \`--cache-file=config.cache'
   1344   -n, --no-create         do not create output files
   1345       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1346 
   1347 Installation directories:
   1348   --prefix=PREFIX         install architecture-independent files in PREFIX
   1349                           [$ac_default_prefix]
   1350   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1351                           [PREFIX]
   1352 
   1353 By default, \`make install' will install all the files in
   1354 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1355 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1356 for instance \`--prefix=\$HOME'.
   1357 
   1358 For better control, use the options below.
   1359 
   1360 Fine tuning of the installation directories:
   1361   --bindir=DIR            user executables [EPREFIX/bin]
   1362   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1363   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1364   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1365   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1366   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1367   --libdir=DIR            object code libraries [EPREFIX/lib]
   1368   --includedir=DIR        C header files [PREFIX/include]
   1369   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1370   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1371   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1372   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1373   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1374   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1375   --docdir=DIR            documentation root [DATAROOTDIR/doc/gprofng]
   1376   --htmldir=DIR           html documentation [DOCDIR]
   1377   --dvidir=DIR            dvi documentation [DOCDIR]
   1378   --pdfdir=DIR            pdf documentation [DOCDIR]
   1379   --psdir=DIR             ps documentation [DOCDIR]
   1380 _ACEOF
   1381 
   1382   cat <<\_ACEOF
   1383 
   1384 Program names:
   1385   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1386   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1387   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1388 
   1389 System types:
   1390   --build=BUILD     configure for building on BUILD [guessed]
   1391   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1392   --target=TARGET   configure for building compilers for TARGET [HOST]
   1393 _ACEOF
   1394 fi
   1395 
   1396 if test -n "$ac_init_help"; then
   1397   case $ac_init_help in
   1398      short | recursive ) echo "Configuration of gprofng 2.42:";;
   1399    esac
   1400   cat <<\_ACEOF
   1401 
   1402 Optional Features:
   1403   --disable-option-checking  ignore unrecognized --enable/--with options
   1404   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1405   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1406   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1407   --disable-silent-rules  verbose build output (undo: "make V=0")
   1408   --enable-maintainer-mode
   1409                           enable make rules and dependencies not useful (and
   1410                           sometimes confusing) to the casual installer
   1411   --enable-dependency-tracking
   1412                           do not reject slow dependency extractors
   1413   --disable-dependency-tracking
   1414                           speeds up one-time build
   1415   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1416   --enable-static[=PKGS]  build static libraries [default=yes]
   1417   --enable-fast-install[=PKGS]
   1418                           optimize for fast installation [default=yes]
   1419   --disable-libtool-lock  avoid locking (might break parallel builds)
   1420 
   1421 Optional Packages:
   1422   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1423   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1424   --with-pic              try to use only PIC/non-PIC objects [default=use
   1425                           both]
   1426   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1427 
   1428 Some influential environment variables:
   1429   CC          C compiler command
   1430   CFLAGS      C compiler flags
   1431   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1432               nonstandard directory <lib dir>
   1433   LIBS        libraries to pass to the linker, e.g. -l<library>
   1434   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1435               you have headers in a nonstandard directory <include dir>
   1436   CPP         C preprocessor
   1437   CXX         C++ compiler command
   1438   CXXFLAGS    C++ compiler flags
   1439   CXXCPP      C++ preprocessor
   1440 
   1441 Use these variables to override the choices made by `configure' or to help
   1442 it to find libraries and programs with nonstandard names/locations.
   1443 
   1444 Report bugs to the package provider.
   1445 _ACEOF
   1446 ac_status=$?
   1447 fi
   1448 
   1449 if test "$ac_init_help" = "recursive"; then
   1450   # If there are subdirs, report their specific --help.
   1451   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1452     test -d "$ac_dir" ||
   1453       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1454       continue
   1455     ac_builddir=.
   1456 
   1457 case "$ac_dir" in
   1458 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1459 *)
   1460   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1461   # A ".." for each directory in $ac_dir_suffix.
   1462   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1463   case $ac_top_builddir_sub in
   1464   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1465   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1466   esac ;;
   1467 esac
   1468 ac_abs_top_builddir=$ac_pwd
   1469 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1470 # for backward compatibility:
   1471 ac_top_builddir=$ac_top_build_prefix
   1472 
   1473 case $srcdir in
   1474   .)  # We are building in place.
   1475     ac_srcdir=.
   1476     ac_top_srcdir=$ac_top_builddir_sub
   1477     ac_abs_top_srcdir=$ac_pwd ;;
   1478   [\\/]* | ?:[\\/]* )  # Absolute name.
   1479     ac_srcdir=$srcdir$ac_dir_suffix;
   1480     ac_top_srcdir=$srcdir
   1481     ac_abs_top_srcdir=$srcdir ;;
   1482   *) # Relative name.
   1483     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1484     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1485     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1486 esac
   1487 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1488 
   1489     cd "$ac_dir" || { ac_status=$?; continue; }
   1490     # Check for guested configure.
   1491     if test -f "$ac_srcdir/configure.gnu"; then
   1492       echo &&
   1493       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1494     elif test -f "$ac_srcdir/configure"; then
   1495       echo &&
   1496       $SHELL "$ac_srcdir/configure" --help=recursive
   1497     else
   1498       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1499     fi || ac_status=$?
   1500     cd "$ac_pwd" || { ac_status=$?; break; }
   1501   done
   1502 fi
   1503 
   1504 test -n "$ac_init_help" && exit $ac_status
   1505 if $ac_init_version; then
   1506   cat <<\_ACEOF
   1507 gprofng configure 2.42
   1508 generated by GNU Autoconf 2.69
   1509 
   1510 Copyright (C) 2012 Free Software Foundation, Inc.
   1511 This configure script is free software; the Free Software Foundation
   1512 gives unlimited permission to copy, distribute and modify it.
   1513 _ACEOF
   1514   exit
   1515 fi
   1516 
   1517 ## ------------------------ ##
   1518 ## Autoconf initialization. ##
   1519 ## ------------------------ ##
   1520 
   1521 # ac_fn_c_try_compile LINENO
   1522 # --------------------------
   1523 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1524 ac_fn_c_try_compile ()
   1525 {
   1526   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1527   rm -f conftest.$ac_objext
   1528   if { { ac_try="$ac_compile"
   1529 case "(($ac_try" in
   1530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1531   *) ac_try_echo=$ac_try;;
   1532 esac
   1533 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1534 $as_echo "$ac_try_echo"; } >&5
   1535   (eval "$ac_compile") 2>conftest.err
   1536   ac_status=$?
   1537   if test -s conftest.err; then
   1538     grep -v '^ *+' conftest.err >conftest.er1
   1539     cat conftest.er1 >&5
   1540     mv -f conftest.er1 conftest.err
   1541   fi
   1542   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1543   test $ac_status = 0; } && {
   1544 	 test -z "$ac_c_werror_flag" ||
   1545 	 test ! -s conftest.err
   1546        } && test -s conftest.$ac_objext; then :
   1547   ac_retval=0
   1548 else
   1549   $as_echo "$as_me: failed program was:" >&5
   1550 sed 's/^/| /' conftest.$ac_ext >&5
   1551 
   1552 	ac_retval=1
   1553 fi
   1554   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1555   as_fn_set_status $ac_retval
   1556 
   1557 } # ac_fn_c_try_compile
   1558 
   1559 # ac_fn_c_try_cpp LINENO
   1560 # ----------------------
   1561 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1562 ac_fn_c_try_cpp ()
   1563 {
   1564   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1565   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1566 case "(($ac_try" in
   1567   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1568   *) ac_try_echo=$ac_try;;
   1569 esac
   1570 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1571 $as_echo "$ac_try_echo"; } >&5
   1572   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1573   ac_status=$?
   1574   if test -s conftest.err; then
   1575     grep -v '^ *+' conftest.err >conftest.er1
   1576     cat conftest.er1 >&5
   1577     mv -f conftest.er1 conftest.err
   1578   fi
   1579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1580   test $ac_status = 0; } > conftest.i && {
   1581 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1582 	 test ! -s conftest.err
   1583        }; then :
   1584   ac_retval=0
   1585 else
   1586   $as_echo "$as_me: failed program was:" >&5
   1587 sed 's/^/| /' conftest.$ac_ext >&5
   1588 
   1589     ac_retval=1
   1590 fi
   1591   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1592   as_fn_set_status $ac_retval
   1593 
   1594 } # ac_fn_c_try_cpp
   1595 
   1596 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1597 # -------------------------------------------------------
   1598 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1599 # the include files in INCLUDES and setting the cache variable VAR
   1600 # accordingly.
   1601 ac_fn_c_check_header_mongrel ()
   1602 {
   1603   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1604   if eval \${$3+:} false; then :
   1605   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1606 $as_echo_n "checking for $2... " >&6; }
   1607 if eval \${$3+:} false; then :
   1608   $as_echo_n "(cached) " >&6
   1609 fi
   1610 eval ac_res=\$$3
   1611 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1612 $as_echo "$ac_res" >&6; }
   1613 else
   1614   # Is the header compilable?
   1615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1616 $as_echo_n "checking $2 usability... " >&6; }
   1617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1618 /* end confdefs.h.  */
   1619 $4
   1620 #include <$2>
   1621 _ACEOF
   1622 if ac_fn_c_try_compile "$LINENO"; then :
   1623   ac_header_compiler=yes
   1624 else
   1625   ac_header_compiler=no
   1626 fi
   1627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1629 $as_echo "$ac_header_compiler" >&6; }
   1630 
   1631 # Is the header present?
   1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1633 $as_echo_n "checking $2 presence... " >&6; }
   1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1635 /* end confdefs.h.  */
   1636 #include <$2>
   1637 _ACEOF
   1638 if ac_fn_c_try_cpp "$LINENO"; then :
   1639   ac_header_preproc=yes
   1640 else
   1641   ac_header_preproc=no
   1642 fi
   1643 rm -f conftest.err conftest.i conftest.$ac_ext
   1644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1645 $as_echo "$ac_header_preproc" >&6; }
   1646 
   1647 # So?  What about this header?
   1648 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1649   yes:no: )
   1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1651 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1653 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1654     ;;
   1655   no:yes:* )
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1657 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1659 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1660     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1661 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1662     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1663 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1664     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1665 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1666     ;;
   1667 esac
   1668   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1669 $as_echo_n "checking for $2... " >&6; }
   1670 if eval \${$3+:} false; then :
   1671   $as_echo_n "(cached) " >&6
   1672 else
   1673   eval "$3=\$ac_header_compiler"
   1674 fi
   1675 eval ac_res=\$$3
   1676 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1677 $as_echo "$ac_res" >&6; }
   1678 fi
   1679   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1680 
   1681 } # ac_fn_c_check_header_mongrel
   1682 
   1683 # ac_fn_c_try_run LINENO
   1684 # ----------------------
   1685 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1686 # that executables *can* be run.
   1687 ac_fn_c_try_run ()
   1688 {
   1689   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1690   if { { ac_try="$ac_link"
   1691 case "(($ac_try" in
   1692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1693   *) ac_try_echo=$ac_try;;
   1694 esac
   1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1696 $as_echo "$ac_try_echo"; } >&5
   1697   (eval "$ac_link") 2>&5
   1698   ac_status=$?
   1699   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1701   { { case "(($ac_try" in
   1702   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1703   *) ac_try_echo=$ac_try;;
   1704 esac
   1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1706 $as_echo "$ac_try_echo"; } >&5
   1707   (eval "$ac_try") 2>&5
   1708   ac_status=$?
   1709   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1710   test $ac_status = 0; }; }; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: program exited with status $ac_status" >&5
   1714        $as_echo "$as_me: failed program was:" >&5
   1715 sed 's/^/| /' conftest.$ac_ext >&5
   1716 
   1717        ac_retval=$ac_status
   1718 fi
   1719   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1720   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1721   as_fn_set_status $ac_retval
   1722 
   1723 } # ac_fn_c_try_run
   1724 
   1725 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1726 # -------------------------------------------------------
   1727 # Tests whether HEADER exists and can be compiled using the include files in
   1728 # INCLUDES, setting the cache variable VAR accordingly.
   1729 ac_fn_c_check_header_compile ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1733 $as_echo_n "checking for $2... " >&6; }
   1734 if eval \${$3+:} false; then :
   1735   $as_echo_n "(cached) " >&6
   1736 else
   1737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1738 /* end confdefs.h.  */
   1739 $4
   1740 #include <$2>
   1741 _ACEOF
   1742 if ac_fn_c_try_compile "$LINENO"; then :
   1743   eval "$3=yes"
   1744 else
   1745   eval "$3=no"
   1746 fi
   1747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1748 fi
   1749 eval ac_res=\$$3
   1750 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1751 $as_echo "$ac_res" >&6; }
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753 
   1754 } # ac_fn_c_check_header_compile
   1755 
   1756 # ac_fn_cxx_try_compile LINENO
   1757 # ----------------------------
   1758 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1759 ac_fn_cxx_try_compile ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   rm -f conftest.$ac_objext
   1763   if { { ac_try="$ac_compile"
   1764 case "(($ac_try" in
   1765   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1766   *) ac_try_echo=$ac_try;;
   1767 esac
   1768 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1769 $as_echo "$ac_try_echo"; } >&5
   1770   (eval "$ac_compile") 2>conftest.err
   1771   ac_status=$?
   1772   if test -s conftest.err; then
   1773     grep -v '^ *+' conftest.err >conftest.er1
   1774     cat conftest.er1 >&5
   1775     mv -f conftest.er1 conftest.err
   1776   fi
   1777   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1778   test $ac_status = 0; } && {
   1779 	 test -z "$ac_cxx_werror_flag" ||
   1780 	 test ! -s conftest.err
   1781        } && test -s conftest.$ac_objext; then :
   1782   ac_retval=0
   1783 else
   1784   $as_echo "$as_me: failed program was:" >&5
   1785 sed 's/^/| /' conftest.$ac_ext >&5
   1786 
   1787 	ac_retval=1
   1788 fi
   1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1790   as_fn_set_status $ac_retval
   1791 
   1792 } # ac_fn_cxx_try_compile
   1793 
   1794 # ac_fn_c_try_link LINENO
   1795 # -----------------------
   1796 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1797 ac_fn_c_try_link ()
   1798 {
   1799   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1800   rm -f conftest.$ac_objext conftest$ac_exeext
   1801   if { { ac_try="$ac_link"
   1802 case "(($ac_try" in
   1803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1804   *) ac_try_echo=$ac_try;;
   1805 esac
   1806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1807 $as_echo "$ac_try_echo"; } >&5
   1808   (eval "$ac_link") 2>conftest.err
   1809   ac_status=$?
   1810   if test -s conftest.err; then
   1811     grep -v '^ *+' conftest.err >conftest.er1
   1812     cat conftest.er1 >&5
   1813     mv -f conftest.er1 conftest.err
   1814   fi
   1815   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1816   test $ac_status = 0; } && {
   1817 	 test -z "$ac_c_werror_flag" ||
   1818 	 test ! -s conftest.err
   1819        } && test -s conftest$ac_exeext && {
   1820 	 test "$cross_compiling" = yes ||
   1821 	 test -x conftest$ac_exeext
   1822        }; then :
   1823   ac_retval=0
   1824 else
   1825   $as_echo "$as_me: failed program was:" >&5
   1826 sed 's/^/| /' conftest.$ac_ext >&5
   1827 
   1828 	ac_retval=1
   1829 fi
   1830   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1831   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1832   # interfere with the next link command; also delete a directory that is
   1833   # left behind by Apple's compiler.  We do this before executing the actions.
   1834   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1836   as_fn_set_status $ac_retval
   1837 
   1838 } # ac_fn_c_try_link
   1839 
   1840 # ac_fn_c_check_func LINENO FUNC VAR
   1841 # ----------------------------------
   1842 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1843 ac_fn_c_check_func ()
   1844 {
   1845   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1847 $as_echo_n "checking for $2... " >&6; }
   1848 if eval \${$3+:} false; then :
   1849   $as_echo_n "(cached) " >&6
   1850 else
   1851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1852 /* end confdefs.h.  */
   1853 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1854    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1855 #define $2 innocuous_$2
   1856 
   1857 /* System header to define __stub macros and hopefully few prototypes,
   1858     which can conflict with char $2 (); below.
   1859     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1860     <limits.h> exists even on freestanding compilers.  */
   1861 
   1862 #ifdef __STDC__
   1863 # include <limits.h>
   1864 #else
   1865 # include <assert.h>
   1866 #endif
   1867 
   1868 #undef $2
   1869 
   1870 /* Override any GCC internal prototype to avoid an error.
   1871    Use char because int might match the return type of a GCC
   1872    builtin and then its argument prototype would still apply.  */
   1873 #ifdef __cplusplus
   1874 extern "C"
   1875 #endif
   1876 char $2 ();
   1877 /* The GNU C library defines this for functions which it implements
   1878     to always fail with ENOSYS.  Some functions are actually named
   1879     something starting with __ and the normal name is an alias.  */
   1880 #if defined __stub_$2 || defined __stub___$2
   1881 choke me
   1882 #endif
   1883 
   1884 int
   1885 main ()
   1886 {
   1887 return $2 ();
   1888   ;
   1889   return 0;
   1890 }
   1891 _ACEOF
   1892 if ac_fn_c_try_link "$LINENO"; then :
   1893   eval "$3=yes"
   1894 else
   1895   eval "$3=no"
   1896 fi
   1897 rm -f core conftest.err conftest.$ac_objext \
   1898     conftest$ac_exeext conftest.$ac_ext
   1899 fi
   1900 eval ac_res=\$$3
   1901 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1902 $as_echo "$ac_res" >&6; }
   1903   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1904 
   1905 } # ac_fn_c_check_func
   1906 
   1907 # ac_fn_cxx_try_cpp LINENO
   1908 # ------------------------
   1909 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1910 ac_fn_cxx_try_cpp ()
   1911 {
   1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1913   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1914 case "(($ac_try" in
   1915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1916   *) ac_try_echo=$ac_try;;
   1917 esac
   1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1919 $as_echo "$ac_try_echo"; } >&5
   1920   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1921   ac_status=$?
   1922   if test -s conftest.err; then
   1923     grep -v '^ *+' conftest.err >conftest.er1
   1924     cat conftest.er1 >&5
   1925     mv -f conftest.er1 conftest.err
   1926   fi
   1927   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1928   test $ac_status = 0; } > conftest.i && {
   1929 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1930 	 test ! -s conftest.err
   1931        }; then :
   1932   ac_retval=0
   1933 else
   1934   $as_echo "$as_me: failed program was:" >&5
   1935 sed 's/^/| /' conftest.$ac_ext >&5
   1936 
   1937     ac_retval=1
   1938 fi
   1939   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1940   as_fn_set_status $ac_retval
   1941 
   1942 } # ac_fn_cxx_try_cpp
   1943 
   1944 # ac_fn_cxx_try_link LINENO
   1945 # -------------------------
   1946 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1947 ac_fn_cxx_try_link ()
   1948 {
   1949   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1950   rm -f conftest.$ac_objext conftest$ac_exeext
   1951   if { { ac_try="$ac_link"
   1952 case "(($ac_try" in
   1953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1954   *) ac_try_echo=$ac_try;;
   1955 esac
   1956 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1957 $as_echo "$ac_try_echo"; } >&5
   1958   (eval "$ac_link") 2>conftest.err
   1959   ac_status=$?
   1960   if test -s conftest.err; then
   1961     grep -v '^ *+' conftest.err >conftest.er1
   1962     cat conftest.er1 >&5
   1963     mv -f conftest.er1 conftest.err
   1964   fi
   1965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1966   test $ac_status = 0; } && {
   1967 	 test -z "$ac_cxx_werror_flag" ||
   1968 	 test ! -s conftest.err
   1969        } && test -s conftest$ac_exeext && {
   1970 	 test "$cross_compiling" = yes ||
   1971 	 test -x conftest$ac_exeext
   1972        }; then :
   1973   ac_retval=0
   1974 else
   1975   $as_echo "$as_me: failed program was:" >&5
   1976 sed 's/^/| /' conftest.$ac_ext >&5
   1977 
   1978 	ac_retval=1
   1979 fi
   1980   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1981   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1982   # interfere with the next link command; also delete a directory that is
   1983   # left behind by Apple's compiler.  We do this before executing the actions.
   1984   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1985   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1986   as_fn_set_status $ac_retval
   1987 
   1988 } # ac_fn_cxx_try_link
   1989 cat >config.log <<_ACEOF
   1990 This file contains any messages produced by compilers while
   1991 running configure, to aid debugging if configure makes a mistake.
   1992 
   1993 It was created by gprofng $as_me 2.42, which was
   1994 generated by GNU Autoconf 2.69.  Invocation command line was
   1995 
   1996   $ $0 $@
   1997 
   1998 _ACEOF
   1999 exec 5>>config.log
   2000 {
   2001 cat <<_ASUNAME
   2002 ## --------- ##
   2003 ## Platform. ##
   2004 ## --------- ##
   2005 
   2006 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2007 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2008 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2009 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2010 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2011 
   2012 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2013 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2014 
   2015 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2016 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2017 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2018 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2019 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2020 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2021 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2022 
   2023 _ASUNAME
   2024 
   2025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2026 for as_dir in $PATH
   2027 do
   2028   IFS=$as_save_IFS
   2029   test -z "$as_dir" && as_dir=.
   2030     $as_echo "PATH: $as_dir"
   2031   done
   2032 IFS=$as_save_IFS
   2033 
   2034 } >&5
   2035 
   2036 cat >&5 <<_ACEOF
   2037 
   2038 
   2039 ## ----------- ##
   2040 ## Core tests. ##
   2041 ## ----------- ##
   2042 
   2043 _ACEOF
   2044 
   2045 
   2046 # Keep a trace of the command line.
   2047 # Strip out --no-create and --no-recursion so they do not pile up.
   2048 # Strip out --silent because we don't want to record it for future runs.
   2049 # Also quote any args containing shell meta-characters.
   2050 # Make two passes to allow for proper duplicate-argument suppression.
   2051 ac_configure_args=
   2052 ac_configure_args0=
   2053 ac_configure_args1=
   2054 ac_must_keep_next=false
   2055 for ac_pass in 1 2
   2056 do
   2057   for ac_arg
   2058   do
   2059     case $ac_arg in
   2060     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2061     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2062     | -silent | --silent | --silen | --sile | --sil)
   2063       continue ;;
   2064     *\'*)
   2065       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2066     esac
   2067     case $ac_pass in
   2068     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2069     2)
   2070       as_fn_append ac_configure_args1 " '$ac_arg'"
   2071       if test $ac_must_keep_next = true; then
   2072 	ac_must_keep_next=false # Got value, back to normal.
   2073       else
   2074 	case $ac_arg in
   2075 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2076 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2077 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2078 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2079 	    case "$ac_configure_args0 " in
   2080 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2081 	    esac
   2082 	    ;;
   2083 	  -* ) ac_must_keep_next=true ;;
   2084 	esac
   2085       fi
   2086       as_fn_append ac_configure_args " '$ac_arg'"
   2087       ;;
   2088     esac
   2089   done
   2090 done
   2091 { ac_configure_args0=; unset ac_configure_args0;}
   2092 { ac_configure_args1=; unset ac_configure_args1;}
   2093 
   2094 # When interrupted or exit'd, cleanup temporary files, and complete
   2095 # config.log.  We remove comments because anyway the quotes in there
   2096 # would cause problems or look ugly.
   2097 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2098 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2099 trap 'exit_status=$?
   2100   # Save into config.log some information that might help in debugging.
   2101   {
   2102     echo
   2103 
   2104     $as_echo "## ---------------- ##
   2105 ## Cache variables. ##
   2106 ## ---------------- ##"
   2107     echo
   2108     # The following way of writing the cache mishandles newlines in values,
   2109 (
   2110   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2111     eval ac_val=\$$ac_var
   2112     case $ac_val in #(
   2113     *${as_nl}*)
   2114       case $ac_var in #(
   2115       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2116 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2117       esac
   2118       case $ac_var in #(
   2119       _ | IFS | as_nl) ;; #(
   2120       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2121       *) { eval $ac_var=; unset $ac_var;} ;;
   2122       esac ;;
   2123     esac
   2124   done
   2125   (set) 2>&1 |
   2126     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2127     *${as_nl}ac_space=\ *)
   2128       sed -n \
   2129 	"s/'\''/'\''\\\\'\'''\''/g;
   2130 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2131       ;; #(
   2132     *)
   2133       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2134       ;;
   2135     esac |
   2136     sort
   2137 )
   2138     echo
   2139 
   2140     $as_echo "## ----------------- ##
   2141 ## Output variables. ##
   2142 ## ----------------- ##"
   2143     echo
   2144     for ac_var in $ac_subst_vars
   2145     do
   2146       eval ac_val=\$$ac_var
   2147       case $ac_val in
   2148       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2149       esac
   2150       $as_echo "$ac_var='\''$ac_val'\''"
   2151     done | sort
   2152     echo
   2153 
   2154     if test -n "$ac_subst_files"; then
   2155       $as_echo "## ------------------- ##
   2156 ## File substitutions. ##
   2157 ## ------------------- ##"
   2158       echo
   2159       for ac_var in $ac_subst_files
   2160       do
   2161 	eval ac_val=\$$ac_var
   2162 	case $ac_val in
   2163 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2164 	esac
   2165 	$as_echo "$ac_var='\''$ac_val'\''"
   2166       done | sort
   2167       echo
   2168     fi
   2169 
   2170     if test -s confdefs.h; then
   2171       $as_echo "## ----------- ##
   2172 ## confdefs.h. ##
   2173 ## ----------- ##"
   2174       echo
   2175       cat confdefs.h
   2176       echo
   2177     fi
   2178     test "$ac_signal" != 0 &&
   2179       $as_echo "$as_me: caught signal $ac_signal"
   2180     $as_echo "$as_me: exit $exit_status"
   2181   } >&5
   2182   rm -f core *.core core.conftest.* &&
   2183     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2184     exit $exit_status
   2185 ' 0
   2186 for ac_signal in 1 2 13 15; do
   2187   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2188 done
   2189 ac_signal=0
   2190 
   2191 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2192 rm -f -r conftest* confdefs.h
   2193 
   2194 $as_echo "/* confdefs.h */" > confdefs.h
   2195 
   2196 # Predefined preprocessor variables.
   2197 
   2198 cat >>confdefs.h <<_ACEOF
   2199 #define PACKAGE_NAME "$PACKAGE_NAME"
   2200 _ACEOF
   2201 
   2202 cat >>confdefs.h <<_ACEOF
   2203 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2204 _ACEOF
   2205 
   2206 cat >>confdefs.h <<_ACEOF
   2207 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2208 _ACEOF
   2209 
   2210 cat >>confdefs.h <<_ACEOF
   2211 #define PACKAGE_STRING "$PACKAGE_STRING"
   2212 _ACEOF
   2213 
   2214 cat >>confdefs.h <<_ACEOF
   2215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2216 _ACEOF
   2217 
   2218 cat >>confdefs.h <<_ACEOF
   2219 #define PACKAGE_URL "$PACKAGE_URL"
   2220 _ACEOF
   2221 
   2222 
   2223 # Let the site file select an alternate cache file if it wants to.
   2224 # Prefer an explicitly selected file to automatically selected ones.
   2225 ac_site_file1=NONE
   2226 ac_site_file2=NONE
   2227 if test -n "$CONFIG_SITE"; then
   2228   # We do not want a PATH search for config.site.
   2229   case $CONFIG_SITE in #((
   2230     -*)  ac_site_file1=./$CONFIG_SITE;;
   2231     */*) ac_site_file1=$CONFIG_SITE;;
   2232     *)   ac_site_file1=./$CONFIG_SITE;;
   2233   esac
   2234 elif test "x$prefix" != xNONE; then
   2235   ac_site_file1=$prefix/share/config.site
   2236   ac_site_file2=$prefix/etc/config.site
   2237 else
   2238   ac_site_file1=$ac_default_prefix/share/config.site
   2239   ac_site_file2=$ac_default_prefix/etc/config.site
   2240 fi
   2241 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2242 do
   2243   test "x$ac_site_file" = xNONE && continue
   2244   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2245     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2246 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2247     sed 's/^/| /' "$ac_site_file" >&5
   2248     . "$ac_site_file" \
   2249       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2250 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2251 as_fn_error $? "failed to load site script $ac_site_file
   2252 See \`config.log' for more details" "$LINENO" 5; }
   2253   fi
   2254 done
   2255 
   2256 if test -r "$cache_file"; then
   2257   # Some versions of bash will fail to source /dev/null (special files
   2258   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2259   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2260     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2261 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2262     case $cache_file in
   2263       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2264       *)                      . "./$cache_file";;
   2265     esac
   2266   fi
   2267 else
   2268   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2269 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2270   >$cache_file
   2271 fi
   2272 
   2273 # Check that the precious variables saved in the cache have kept the same
   2274 # value.
   2275 ac_cache_corrupted=false
   2276 for ac_var in $ac_precious_vars; do
   2277   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2278   eval ac_new_set=\$ac_env_${ac_var}_set
   2279   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2280   eval ac_new_val=\$ac_env_${ac_var}_value
   2281   case $ac_old_set,$ac_new_set in
   2282     set,)
   2283       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2284 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2285       ac_cache_corrupted=: ;;
   2286     ,set)
   2287       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2288 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2289       ac_cache_corrupted=: ;;
   2290     ,);;
   2291     *)
   2292       if test "x$ac_old_val" != "x$ac_new_val"; then
   2293 	# differences in whitespace do not lead to failure.
   2294 	ac_old_val_w=`echo x $ac_old_val`
   2295 	ac_new_val_w=`echo x $ac_new_val`
   2296 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2297 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2298 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2299 	  ac_cache_corrupted=:
   2300 	else
   2301 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2302 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2303 	  eval $ac_var=\$ac_old_val
   2304 	fi
   2305 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2306 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2307 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2308 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2309       fi;;
   2310   esac
   2311   # Pass precious variables to config.status.
   2312   if test "$ac_new_set" = set; then
   2313     case $ac_new_val in
   2314     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2315     *) ac_arg=$ac_var=$ac_new_val ;;
   2316     esac
   2317     case " $ac_configure_args " in
   2318       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2319       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2320     esac
   2321   fi
   2322 done
   2323 if $ac_cache_corrupted; then
   2324   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2325 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2326   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2327 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2328   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2329 fi
   2330 ## -------------------- ##
   2331 ## Main body of script. ##
   2332 ## -------------------- ##
   2333 
   2334 ac_ext=c
   2335 ac_cpp='$CPP $CPPFLAGS'
   2336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2339 
   2340 
   2341 
   2342 
   2343 
   2344 
   2345 ac_aux_dir=
   2346 for ac_dir in ../.. "$srcdir"/../..; do
   2347   if test -f "$ac_dir/install-sh"; then
   2348     ac_aux_dir=$ac_dir
   2349     ac_install_sh="$ac_aux_dir/install-sh -c"
   2350     break
   2351   elif test -f "$ac_dir/install.sh"; then
   2352     ac_aux_dir=$ac_dir
   2353     ac_install_sh="$ac_aux_dir/install.sh -c"
   2354     break
   2355   elif test -f "$ac_dir/shtool"; then
   2356     ac_aux_dir=$ac_dir
   2357     ac_install_sh="$ac_aux_dir/shtool install -c"
   2358     break
   2359   fi
   2360 done
   2361 if test -z "$ac_aux_dir"; then
   2362   as_fn_error $? "cannot find install-sh, install.sh, or shtool in ../.. \"$srcdir\"/../.." "$LINENO" 5
   2363 fi
   2364 
   2365 # These three variables are undocumented and unsupported,
   2366 # and are intended to be withdrawn in a future Autoconf release.
   2367 # They can cause serious problems if a builder's source tree is in a directory
   2368 # whose full name contains unusual characters.
   2369 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2370 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2371 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2372 
   2373 
   2374 # Make sure we can run config.sub.
   2375 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2376   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2377 
   2378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2379 $as_echo_n "checking build system type... " >&6; }
   2380 if ${ac_cv_build+:} false; then :
   2381   $as_echo_n "(cached) " >&6
   2382 else
   2383   ac_build_alias=$build_alias
   2384 test "x$ac_build_alias" = x &&
   2385   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2386 test "x$ac_build_alias" = x &&
   2387   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2388 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2389   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2390 
   2391 fi
   2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2393 $as_echo "$ac_cv_build" >&6; }
   2394 case $ac_cv_build in
   2395 *-*-*) ;;
   2396 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2397 esac
   2398 build=$ac_cv_build
   2399 ac_save_IFS=$IFS; IFS='-'
   2400 set x $ac_cv_build
   2401 shift
   2402 build_cpu=$1
   2403 build_vendor=$2
   2404 shift; shift
   2405 # Remember, the first character of IFS is used to create $*,
   2406 # except with old shells:
   2407 build_os=$*
   2408 IFS=$ac_save_IFS
   2409 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2410 
   2411 
   2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2413 $as_echo_n "checking host system type... " >&6; }
   2414 if ${ac_cv_host+:} false; then :
   2415   $as_echo_n "(cached) " >&6
   2416 else
   2417   if test "x$host_alias" = x; then
   2418   ac_cv_host=$ac_cv_build
   2419 else
   2420   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2421     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2422 fi
   2423 
   2424 fi
   2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2426 $as_echo "$ac_cv_host" >&6; }
   2427 case $ac_cv_host in
   2428 *-*-*) ;;
   2429 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2430 esac
   2431 host=$ac_cv_host
   2432 ac_save_IFS=$IFS; IFS='-'
   2433 set x $ac_cv_host
   2434 shift
   2435 host_cpu=$1
   2436 host_vendor=$2
   2437 shift; shift
   2438 # Remember, the first character of IFS is used to create $*,
   2439 # except with old shells:
   2440 host_os=$*
   2441 IFS=$ac_save_IFS
   2442 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2443 
   2444 
   2445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2446 $as_echo_n "checking target system type... " >&6; }
   2447 if ${ac_cv_target+:} false; then :
   2448   $as_echo_n "(cached) " >&6
   2449 else
   2450   if test "x$target_alias" = x; then
   2451   ac_cv_target=$ac_cv_host
   2452 else
   2453   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2454     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2455 fi
   2456 
   2457 fi
   2458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2459 $as_echo "$ac_cv_target" >&6; }
   2460 case $ac_cv_target in
   2461 *-*-*) ;;
   2462 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2463 esac
   2464 target=$ac_cv_target
   2465 ac_save_IFS=$IFS; IFS='-'
   2466 set x $ac_cv_target
   2467 shift
   2468 target_cpu=$1
   2469 target_vendor=$2
   2470 shift; shift
   2471 # Remember, the first character of IFS is used to create $*,
   2472 # except with old shells:
   2473 target_os=$*
   2474 IFS=$ac_save_IFS
   2475 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2476 
   2477 
   2478 # The aliases save the names the user supplied, while $host etc.
   2479 # will get canonicalized.
   2480 test -n "$target_alias" &&
   2481   test "$program_prefix$program_suffix$program_transform_name" = \
   2482     NONENONEs,x,x, &&
   2483   program_prefix=${target_alias}-
   2484 am__api_version='1.15'
   2485 
   2486 # Find a good install program.  We prefer a C program (faster),
   2487 # so one script is as good as another.  But avoid the broken or
   2488 # incompatible versions:
   2489 # SysV /etc/install, /usr/sbin/install
   2490 # SunOS /usr/etc/install
   2491 # IRIX /sbin/install
   2492 # AIX /bin/install
   2493 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2494 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2495 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2496 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2497 # OS/2's system install, which has a completely different semantic
   2498 # ./install, which can be erroneously created by make from ./install.sh.
   2499 # Reject install programs that cannot install multiple files.
   2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2501 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2502 if test -z "$INSTALL"; then
   2503 if ${ac_cv_path_install+:} false; then :
   2504   $as_echo_n "(cached) " >&6
   2505 else
   2506   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2507 for as_dir in $PATH
   2508 do
   2509   IFS=$as_save_IFS
   2510   test -z "$as_dir" && as_dir=.
   2511     # Account for people who put trailing slashes in PATH elements.
   2512 case $as_dir/ in #((
   2513   ./ | .// | /[cC]/* | \
   2514   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2515   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2516   /usr/ucb/* ) ;;
   2517   *)
   2518     # OSF1 and SCO ODT 3.0 have their own names for install.
   2519     # Don't use installbsd from OSF since it installs stuff as root
   2520     # by default.
   2521     for ac_prog in ginstall scoinst install; do
   2522       for ac_exec_ext in '' $ac_executable_extensions; do
   2523 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2524 	  if test $ac_prog = install &&
   2525 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2526 	    # AIX install.  It has an incompatible calling convention.
   2527 	    :
   2528 	  elif test $ac_prog = install &&
   2529 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2530 	    # program-specific install script used by HP pwplus--don't use.
   2531 	    :
   2532 	  else
   2533 	    rm -rf conftest.one conftest.two conftest.dir
   2534 	    echo one > conftest.one
   2535 	    echo two > conftest.two
   2536 	    mkdir conftest.dir
   2537 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2538 	      test -s conftest.one && test -s conftest.two &&
   2539 	      test -s conftest.dir/conftest.one &&
   2540 	      test -s conftest.dir/conftest.two
   2541 	    then
   2542 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2543 	      break 3
   2544 	    fi
   2545 	  fi
   2546 	fi
   2547       done
   2548     done
   2549     ;;
   2550 esac
   2551 
   2552   done
   2553 IFS=$as_save_IFS
   2554 
   2555 rm -rf conftest.one conftest.two conftest.dir
   2556 
   2557 fi
   2558   if test "${ac_cv_path_install+set}" = set; then
   2559     INSTALL=$ac_cv_path_install
   2560   else
   2561     # As a last resort, use the slow shell script.  Don't cache a
   2562     # value for INSTALL within a source directory, because that will
   2563     # break other packages using the cache if that directory is
   2564     # removed, or if the value is a relative name.
   2565     INSTALL=$ac_install_sh
   2566   fi
   2567 fi
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2569 $as_echo "$INSTALL" >&6; }
   2570 
   2571 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2572 # It thinks the first close brace ends the variable substitution.
   2573 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2574 
   2575 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2576 
   2577 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2578 
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2580 $as_echo_n "checking whether build environment is sane... " >&6; }
   2581 # Reject unsafe characters in $srcdir or the absolute working directory
   2582 # name.  Accept space and tab only in the latter.
   2583 am_lf='
   2584 '
   2585 case `pwd` in
   2586   *[\\\"\#\$\&\'\`$am_lf]*)
   2587     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2588 esac
   2589 case $srcdir in
   2590   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2591     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2592 esac
   2593 
   2594 # Do 'set' in a subshell so we don't clobber the current shell's
   2595 # arguments.  Must try -L first in case configure is actually a
   2596 # symlink; some systems play weird games with the mod time of symlinks
   2597 # (eg FreeBSD returns the mod time of the symlink's containing
   2598 # directory).
   2599 if (
   2600    am_has_slept=no
   2601    for am_try in 1 2; do
   2602      echo "timestamp, slept: $am_has_slept" > conftest.file
   2603      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2604      if test "$*" = "X"; then
   2605 	# -L didn't work.
   2606 	set X `ls -t "$srcdir/configure" conftest.file`
   2607      fi
   2608      if test "$*" != "X $srcdir/configure conftest.file" \
   2609 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2610 
   2611 	# If neither matched, then we have a broken ls.  This can happen
   2612 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2613 	# broken ls alias from the environment.  This has actually
   2614 	# happened.  Such a system could not be considered "sane".
   2615 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2616   alias in your environment" "$LINENO" 5
   2617      fi
   2618      if test "$2" = conftest.file || test $am_try -eq 2; then
   2619        break
   2620      fi
   2621      # Just in case.
   2622      sleep 1
   2623      am_has_slept=yes
   2624    done
   2625    test "$2" = conftest.file
   2626    )
   2627 then
   2628    # Ok.
   2629    :
   2630 else
   2631    as_fn_error $? "newly created file is older than distributed files!
   2632 Check your system clock" "$LINENO" 5
   2633 fi
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2635 $as_echo "yes" >&6; }
   2636 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2637 # generated files are strictly newer.
   2638 am_sleep_pid=
   2639 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2640   ( sleep 1 ) &
   2641   am_sleep_pid=$!
   2642 fi
   2643 
   2644 rm -f conftest.file
   2645 
   2646 test "$program_prefix" != NONE &&
   2647   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2648 # Use a double $ so make ignores it.
   2649 test "$program_suffix" != NONE &&
   2650   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2651 # Double any \ or $.
   2652 # By default was `s,x,x', remove it if useless.
   2653 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2654 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2655 
   2656 # Expand $ac_aux_dir to an absolute path.
   2657 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2658 
   2659 if test x"${MISSING+set}" != xset; then
   2660   case $am_aux_dir in
   2661   *\ * | *\	*)
   2662     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2663   *)
   2664     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2665   esac
   2666 fi
   2667 # Use eval to expand $SHELL
   2668 if eval "$MISSING --is-lightweight"; then
   2669   am_missing_run="$MISSING "
   2670 else
   2671   am_missing_run=
   2672   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2673 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2674 fi
   2675 
   2676 if test x"${install_sh+set}" != xset; then
   2677   case $am_aux_dir in
   2678   *\ * | *\	*)
   2679     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2680   *)
   2681     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2682   esac
   2683 fi
   2684 
   2685 # Installed binaries are usually stripped using 'strip' when the user
   2686 # run "make install-strip".  However 'strip' might not be the right
   2687 # tool to use in cross-compilation environments, therefore Automake
   2688 # will honor the 'STRIP' environment variable to overrule this program.
   2689 if test "$cross_compiling" != no; then
   2690   if test -n "$ac_tool_prefix"; then
   2691   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2692 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2694 $as_echo_n "checking for $ac_word... " >&6; }
   2695 if ${ac_cv_prog_STRIP+:} false; then :
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   if test -n "$STRIP"; then
   2699   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2700 else
   2701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2702 for as_dir in $PATH
   2703 do
   2704   IFS=$as_save_IFS
   2705   test -z "$as_dir" && as_dir=.
   2706     for ac_exec_ext in '' $ac_executable_extensions; do
   2707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2708     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2710     break 2
   2711   fi
   2712 done
   2713   done
   2714 IFS=$as_save_IFS
   2715 
   2716 fi
   2717 fi
   2718 STRIP=$ac_cv_prog_STRIP
   2719 if test -n "$STRIP"; then
   2720   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2721 $as_echo "$STRIP" >&6; }
   2722 else
   2723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2724 $as_echo "no" >&6; }
   2725 fi
   2726 
   2727 
   2728 fi
   2729 if test -z "$ac_cv_prog_STRIP"; then
   2730   ac_ct_STRIP=$STRIP
   2731   # Extract the first word of "strip", so it can be a program name with args.
   2732 set dummy strip; ac_word=$2
   2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2734 $as_echo_n "checking for $ac_word... " >&6; }
   2735 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2736   $as_echo_n "(cached) " >&6
   2737 else
   2738   if test -n "$ac_ct_STRIP"; then
   2739   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2740 else
   2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2742 for as_dir in $PATH
   2743 do
   2744   IFS=$as_save_IFS
   2745   test -z "$as_dir" && as_dir=.
   2746     for ac_exec_ext in '' $ac_executable_extensions; do
   2747   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2748     ac_cv_prog_ac_ct_STRIP="strip"
   2749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2750     break 2
   2751   fi
   2752 done
   2753   done
   2754 IFS=$as_save_IFS
   2755 
   2756 fi
   2757 fi
   2758 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2759 if test -n "$ac_ct_STRIP"; then
   2760   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2761 $as_echo "$ac_ct_STRIP" >&6; }
   2762 else
   2763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2764 $as_echo "no" >&6; }
   2765 fi
   2766 
   2767   if test "x$ac_ct_STRIP" = x; then
   2768     STRIP=":"
   2769   else
   2770     case $cross_compiling:$ac_tool_warned in
   2771 yes:)
   2772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2773 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2774 ac_tool_warned=yes ;;
   2775 esac
   2776     STRIP=$ac_ct_STRIP
   2777   fi
   2778 else
   2779   STRIP="$ac_cv_prog_STRIP"
   2780 fi
   2781 
   2782 fi
   2783 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2784 
   2785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2786 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2787 if test -z "$MKDIR_P"; then
   2788   if ${ac_cv_path_mkdir+:} false; then :
   2789   $as_echo_n "(cached) " >&6
   2790 else
   2791   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2792 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2793 do
   2794   IFS=$as_save_IFS
   2795   test -z "$as_dir" && as_dir=.
   2796     for ac_prog in mkdir gmkdir; do
   2797 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2798 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2799 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2800 	     'mkdir (GNU coreutils) '* | \
   2801 	     'mkdir (coreutils) '* | \
   2802 	     'mkdir (fileutils) '4.1*)
   2803 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2804 	       break 3;;
   2805 	   esac
   2806 	 done
   2807        done
   2808   done
   2809 IFS=$as_save_IFS
   2810 
   2811 fi
   2812 
   2813   test -d ./--version && rmdir ./--version
   2814   if test "${ac_cv_path_mkdir+set}" = set; then
   2815     MKDIR_P="$ac_cv_path_mkdir -p"
   2816   else
   2817     # As a last resort, use the slow shell script.  Don't cache a
   2818     # value for MKDIR_P within a source directory, because that will
   2819     # break other packages using the cache if that directory is
   2820     # removed, or if the value is a relative name.
   2821     MKDIR_P="$ac_install_sh -d"
   2822   fi
   2823 fi
   2824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2825 $as_echo "$MKDIR_P" >&6; }
   2826 
   2827 for ac_prog in gawk mawk nawk awk
   2828 do
   2829   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2830 set dummy $ac_prog; ac_word=$2
   2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2832 $as_echo_n "checking for $ac_word... " >&6; }
   2833 if ${ac_cv_prog_AWK+:} false; then :
   2834   $as_echo_n "(cached) " >&6
   2835 else
   2836   if test -n "$AWK"; then
   2837   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2838 else
   2839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2840 for as_dir in $PATH
   2841 do
   2842   IFS=$as_save_IFS
   2843   test -z "$as_dir" && as_dir=.
   2844     for ac_exec_ext in '' $ac_executable_extensions; do
   2845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2846     ac_cv_prog_AWK="$ac_prog"
   2847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2848     break 2
   2849   fi
   2850 done
   2851   done
   2852 IFS=$as_save_IFS
   2853 
   2854 fi
   2855 fi
   2856 AWK=$ac_cv_prog_AWK
   2857 if test -n "$AWK"; then
   2858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2859 $as_echo "$AWK" >&6; }
   2860 else
   2861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2862 $as_echo "no" >&6; }
   2863 fi
   2864 
   2865 
   2866   test -n "$AWK" && break
   2867 done
   2868 
   2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2870 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2871 set x ${MAKE-make}
   2872 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2873 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2874   $as_echo_n "(cached) " >&6
   2875 else
   2876   cat >conftest.make <<\_ACEOF
   2877 SHELL = /bin/sh
   2878 all:
   2879 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2880 _ACEOF
   2881 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2882 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2883   *@@@%%%=?*=@@@%%%*)
   2884     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2885   *)
   2886     eval ac_cv_prog_make_${ac_make}_set=no;;
   2887 esac
   2888 rm -f conftest.make
   2889 fi
   2890 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2892 $as_echo "yes" >&6; }
   2893   SET_MAKE=
   2894 else
   2895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2896 $as_echo "no" >&6; }
   2897   SET_MAKE="MAKE=${MAKE-make}"
   2898 fi
   2899 
   2900 rm -rf .tst 2>/dev/null
   2901 mkdir .tst 2>/dev/null
   2902 if test -d .tst; then
   2903   am__leading_dot=.
   2904 else
   2905   am__leading_dot=_
   2906 fi
   2907 rmdir .tst 2>/dev/null
   2908 
   2909 # Check whether --enable-silent-rules was given.
   2910 if test "${enable_silent_rules+set}" = set; then :
   2911   enableval=$enable_silent_rules;
   2912 fi
   2913 
   2914 case $enable_silent_rules in # (((
   2915   yes) AM_DEFAULT_VERBOSITY=0;;
   2916    no) AM_DEFAULT_VERBOSITY=1;;
   2917     *) AM_DEFAULT_VERBOSITY=1;;
   2918 esac
   2919 am_make=${MAKE-make}
   2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2921 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2922 if ${am_cv_make_support_nested_variables+:} false; then :
   2923   $as_echo_n "(cached) " >&6
   2924 else
   2925   if $as_echo 'TRUE=$(BAR$(V))
   2926 BAR0=false
   2927 BAR1=true
   2928 V=1
   2929 am__doit:
   2930 	@$(TRUE)
   2931 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2932   am_cv_make_support_nested_variables=yes
   2933 else
   2934   am_cv_make_support_nested_variables=no
   2935 fi
   2936 fi
   2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2938 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2939 if test $am_cv_make_support_nested_variables = yes; then
   2940     AM_V='$(V)'
   2941   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2942 else
   2943   AM_V=$AM_DEFAULT_VERBOSITY
   2944   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2945 fi
   2946 AM_BACKSLASH='\'
   2947 
   2948 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2949   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2950   # is not polluted with repeated "-I."
   2951   am__isrc=' -I$(srcdir)'
   2952   # test to see if srcdir already configured
   2953   if test -f $srcdir/config.status; then
   2954     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2955   fi
   2956 fi
   2957 
   2958 # test whether we have cygpath
   2959 if test -z "$CYGPATH_W"; then
   2960   if (cygpath --version) >/dev/null 2>/dev/null; then
   2961     CYGPATH_W='cygpath -w'
   2962   else
   2963     CYGPATH_W=echo
   2964   fi
   2965 fi
   2966 
   2967 
   2968 # Define the identity of the package.
   2969  PACKAGE='gprofng'
   2970  VERSION='2.42'
   2971 
   2972 
   2973 cat >>confdefs.h <<_ACEOF
   2974 #define PACKAGE "$PACKAGE"
   2975 _ACEOF
   2976 
   2977 
   2978 cat >>confdefs.h <<_ACEOF
   2979 #define VERSION "$VERSION"
   2980 _ACEOF
   2981 
   2982 # Some tools Automake needs.
   2983 
   2984 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2985 
   2986 
   2987 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2988 
   2989 
   2990 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2991 
   2992 
   2993 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2994 
   2995 
   2996 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2997 
   2998 # For better backward compatibility.  To be removed once Automake 1.9.x
   2999 # dies out for good.  For more background, see:
   3000 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3001 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3002 mkdir_p='$(MKDIR_P)'
   3003 
   3004 # We need awk for the "check" target (and possibly the TAP driver).  The
   3005 # system "awk" is bad on some platforms.
   3006 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3007 # in the wild :-(  We should find a proper way to deprecate it ...
   3008 AMTAR='$${TAR-tar}'
   3009 
   3010 
   3011 # We'll loop over all known methods to create a tar archive until one works.
   3012 _am_tools='gnutar  pax cpio none'
   3013 
   3014 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3015 
   3016 
   3017 
   3018 
   3019 
   3020 
   3021 # POSIX will say in a future version that running "rm -f" with no argument
   3022 # is OK; and we want to be able to make that assumption in our Makefile
   3023 # recipes.  So use an aggressive probe to check that the usage we want is
   3024 # actually supported "in the wild" to an acceptable degree.
   3025 # See automake bug#10828.
   3026 # To make any issue more visible, cause the running configure to be aborted
   3027 # by default if the 'rm' program in use doesn't match our expectations; the
   3028 # user can still override this though.
   3029 if rm -f && rm -fr && rm -rf; then : OK; else
   3030   cat >&2 <<'END'
   3031 Oops!
   3032 
   3033 Your 'rm' program seems unable to run without file operands specified
   3034 on the command line, even when the '-f' option is present.  This is contrary
   3035 to the behaviour of most rm programs out there, and not conforming with
   3036 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3037 
   3038 Please tell bug-automake@gnu.org about your system, including the value
   3039 of your $PATH and any error possibly output before this message.  This
   3040 can help us improve future automake versions.
   3041 
   3042 END
   3043   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3044     echo 'Configuration will proceed anyway, since you have set the' >&2
   3045     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3046     echo >&2
   3047   else
   3048     cat >&2 <<'END'
   3049 Aborting the configuration process, to ensure you take notice of the issue.
   3050 
   3051 You can download and install GNU coreutils to get an 'rm' implementation
   3052 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3053 
   3054 If you want to complete the configuration process using your problematic
   3055 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3056 to "yes", and re-run configure.
   3057 
   3058 END
   3059     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3060   fi
   3061 fi
   3062 
   3063 
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3065 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3066     # Check whether --enable-maintainer-mode was given.
   3067 if test "${enable_maintainer_mode+set}" = set; then :
   3068   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3069 else
   3070   USE_MAINTAINER_MODE=no
   3071 fi
   3072 
   3073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3074 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3075    if test $USE_MAINTAINER_MODE = yes; then
   3076   MAINTAINER_MODE_TRUE=
   3077   MAINTAINER_MODE_FALSE='#'
   3078 else
   3079   MAINTAINER_MODE_TRUE='#'
   3080   MAINTAINER_MODE_FALSE=
   3081 fi
   3082 
   3083   MAINT=$MAINTAINER_MODE_TRUE
   3084 
   3085 
   3086 
   3087 
   3088 
   3089 DEPDIR="${am__leading_dot}deps"
   3090 
   3091 ac_config_commands="$ac_config_commands depfiles"
   3092 
   3093 
   3094 am_make=${MAKE-make}
   3095 cat > confinc << 'END'
   3096 am__doit:
   3097 	@echo this is the am__doit target
   3098 .PHONY: am__doit
   3099 END
   3100 # If we don't find an include directive, just comment out the code.
   3101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3102 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3103 am__include="#"
   3104 am__quote=
   3105 _am_result=none
   3106 # First try GNU make style include.
   3107 echo "include confinc" > confmf
   3108 # Ignore all kinds of additional output from 'make'.
   3109 case `$am_make -s -f confmf 2> /dev/null` in #(
   3110 *the\ am__doit\ target*)
   3111   am__include=include
   3112   am__quote=
   3113   _am_result=GNU
   3114   ;;
   3115 esac
   3116 # Now try BSD make style include.
   3117 if test "$am__include" = "#"; then
   3118    echo '.include "confinc"' > confmf
   3119    case `$am_make -s -f confmf 2> /dev/null` in #(
   3120    *the\ am__doit\ target*)
   3121      am__include=.include
   3122      am__quote="\""
   3123      _am_result=BSD
   3124      ;;
   3125    esac
   3126 fi
   3127 
   3128 
   3129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3130 $as_echo "$_am_result" >&6; }
   3131 rm -f confinc confmf
   3132 
   3133 # Check whether --enable-dependency-tracking was given.
   3134 if test "${enable_dependency_tracking+set}" = set; then :
   3135   enableval=$enable_dependency_tracking;
   3136 fi
   3137 
   3138 if test "x$enable_dependency_tracking" != xno; then
   3139   am_depcomp="$ac_aux_dir/depcomp"
   3140   AMDEPBACKSLASH='\'
   3141   am__nodep='_no'
   3142 fi
   3143  if test "x$enable_dependency_tracking" != xno; then
   3144   AMDEP_TRUE=
   3145   AMDEP_FALSE='#'
   3146 else
   3147   AMDEP_TRUE='#'
   3148   AMDEP_FALSE=
   3149 fi
   3150 
   3151 
   3152 ac_ext=c
   3153 ac_cpp='$CPP $CPPFLAGS'
   3154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3157 if test -n "$ac_tool_prefix"; then
   3158   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3159 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3161 $as_echo_n "checking for $ac_word... " >&6; }
   3162 if ${ac_cv_prog_CC+:} false; then :
   3163   $as_echo_n "(cached) " >&6
   3164 else
   3165   if test -n "$CC"; then
   3166   ac_cv_prog_CC="$CC" # Let the user override the test.
   3167 else
   3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3169 for as_dir in $PATH
   3170 do
   3171   IFS=$as_save_IFS
   3172   test -z "$as_dir" && as_dir=.
   3173     for ac_exec_ext in '' $ac_executable_extensions; do
   3174   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3175     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3177     break 2
   3178   fi
   3179 done
   3180   done
   3181 IFS=$as_save_IFS
   3182 
   3183 fi
   3184 fi
   3185 CC=$ac_cv_prog_CC
   3186 if test -n "$CC"; then
   3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3188 $as_echo "$CC" >&6; }
   3189 else
   3190   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3191 $as_echo "no" >&6; }
   3192 fi
   3193 
   3194 
   3195 fi
   3196 if test -z "$ac_cv_prog_CC"; then
   3197   ac_ct_CC=$CC
   3198   # Extract the first word of "gcc", so it can be a program name with args.
   3199 set dummy gcc; ac_word=$2
   3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3201 $as_echo_n "checking for $ac_word... " >&6; }
   3202 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3203   $as_echo_n "(cached) " >&6
   3204 else
   3205   if test -n "$ac_ct_CC"; then
   3206   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3207 else
   3208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3209 for as_dir in $PATH
   3210 do
   3211   IFS=$as_save_IFS
   3212   test -z "$as_dir" && as_dir=.
   3213     for ac_exec_ext in '' $ac_executable_extensions; do
   3214   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3215     ac_cv_prog_ac_ct_CC="gcc"
   3216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3217     break 2
   3218   fi
   3219 done
   3220   done
   3221 IFS=$as_save_IFS
   3222 
   3223 fi
   3224 fi
   3225 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3226 if test -n "$ac_ct_CC"; then
   3227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3228 $as_echo "$ac_ct_CC" >&6; }
   3229 else
   3230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3231 $as_echo "no" >&6; }
   3232 fi
   3233 
   3234   if test "x$ac_ct_CC" = x; then
   3235     CC=""
   3236   else
   3237     case $cross_compiling:$ac_tool_warned in
   3238 yes:)
   3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3240 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3241 ac_tool_warned=yes ;;
   3242 esac
   3243     CC=$ac_ct_CC
   3244   fi
   3245 else
   3246   CC="$ac_cv_prog_CC"
   3247 fi
   3248 
   3249 if test -z "$CC"; then
   3250           if test -n "$ac_tool_prefix"; then
   3251     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3252 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3254 $as_echo_n "checking for $ac_word... " >&6; }
   3255 if ${ac_cv_prog_CC+:} false; then :
   3256   $as_echo_n "(cached) " >&6
   3257 else
   3258   if test -n "$CC"; then
   3259   ac_cv_prog_CC="$CC" # Let the user override the test.
   3260 else
   3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3262 for as_dir in $PATH
   3263 do
   3264   IFS=$as_save_IFS
   3265   test -z "$as_dir" && as_dir=.
   3266     for ac_exec_ext in '' $ac_executable_extensions; do
   3267   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3268     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3269     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3270     break 2
   3271   fi
   3272 done
   3273   done
   3274 IFS=$as_save_IFS
   3275 
   3276 fi
   3277 fi
   3278 CC=$ac_cv_prog_CC
   3279 if test -n "$CC"; then
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3281 $as_echo "$CC" >&6; }
   3282 else
   3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3284 $as_echo "no" >&6; }
   3285 fi
   3286 
   3287 
   3288   fi
   3289 fi
   3290 if test -z "$CC"; then
   3291   # Extract the first word of "cc", so it can be a program name with args.
   3292 set dummy cc; ac_word=$2
   3293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3294 $as_echo_n "checking for $ac_word... " >&6; }
   3295 if ${ac_cv_prog_CC+:} false; then :
   3296   $as_echo_n "(cached) " >&6
   3297 else
   3298   if test -n "$CC"; then
   3299   ac_cv_prog_CC="$CC" # Let the user override the test.
   3300 else
   3301   ac_prog_rejected=no
   3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3303 for as_dir in $PATH
   3304 do
   3305   IFS=$as_save_IFS
   3306   test -z "$as_dir" && as_dir=.
   3307     for ac_exec_ext in '' $ac_executable_extensions; do
   3308   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3309     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3310        ac_prog_rejected=yes
   3311        continue
   3312      fi
   3313     ac_cv_prog_CC="cc"
   3314     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3315     break 2
   3316   fi
   3317 done
   3318   done
   3319 IFS=$as_save_IFS
   3320 
   3321 if test $ac_prog_rejected = yes; then
   3322   # We found a bogon in the path, so make sure we never use it.
   3323   set dummy $ac_cv_prog_CC
   3324   shift
   3325   if test $# != 0; then
   3326     # We chose a different compiler from the bogus one.
   3327     # However, it has the same basename, so the bogon will be chosen
   3328     # first if we set CC to just the basename; use the full file name.
   3329     shift
   3330     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3331   fi
   3332 fi
   3333 fi
   3334 fi
   3335 CC=$ac_cv_prog_CC
   3336 if test -n "$CC"; then
   3337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3338 $as_echo "$CC" >&6; }
   3339 else
   3340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3341 $as_echo "no" >&6; }
   3342 fi
   3343 
   3344 
   3345 fi
   3346 if test -z "$CC"; then
   3347   if test -n "$ac_tool_prefix"; then
   3348   for ac_prog in cl.exe
   3349   do
   3350     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3353 $as_echo_n "checking for $ac_word... " >&6; }
   3354 if ${ac_cv_prog_CC+:} false; then :
   3355   $as_echo_n "(cached) " >&6
   3356 else
   3357   if test -n "$CC"; then
   3358   ac_cv_prog_CC="$CC" # Let the user override the test.
   3359 else
   3360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3361 for as_dir in $PATH
   3362 do
   3363   IFS=$as_save_IFS
   3364   test -z "$as_dir" && as_dir=.
   3365     for ac_exec_ext in '' $ac_executable_extensions; do
   3366   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3367     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3368     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3369     break 2
   3370   fi
   3371 done
   3372   done
   3373 IFS=$as_save_IFS
   3374 
   3375 fi
   3376 fi
   3377 CC=$ac_cv_prog_CC
   3378 if test -n "$CC"; then
   3379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3380 $as_echo "$CC" >&6; }
   3381 else
   3382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3383 $as_echo "no" >&6; }
   3384 fi
   3385 
   3386 
   3387     test -n "$CC" && break
   3388   done
   3389 fi
   3390 if test -z "$CC"; then
   3391   ac_ct_CC=$CC
   3392   for ac_prog in cl.exe
   3393 do
   3394   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3395 set dummy $ac_prog; ac_word=$2
   3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3397 $as_echo_n "checking for $ac_word... " >&6; }
   3398 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3399   $as_echo_n "(cached) " >&6
   3400 else
   3401   if test -n "$ac_ct_CC"; then
   3402   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3403 else
   3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3405 for as_dir in $PATH
   3406 do
   3407   IFS=$as_save_IFS
   3408   test -z "$as_dir" && as_dir=.
   3409     for ac_exec_ext in '' $ac_executable_extensions; do
   3410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3411     ac_cv_prog_ac_ct_CC="$ac_prog"
   3412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3413     break 2
   3414   fi
   3415 done
   3416   done
   3417 IFS=$as_save_IFS
   3418 
   3419 fi
   3420 fi
   3421 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3422 if test -n "$ac_ct_CC"; then
   3423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3424 $as_echo "$ac_ct_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   test -n "$ac_ct_CC" && break
   3432 done
   3433 
   3434   if test "x$ac_ct_CC" = x; then
   3435     CC=""
   3436   else
   3437     case $cross_compiling:$ac_tool_warned in
   3438 yes:)
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3441 ac_tool_warned=yes ;;
   3442 esac
   3443     CC=$ac_ct_CC
   3444   fi
   3445 fi
   3446 
   3447 fi
   3448 
   3449 
   3450 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3452 as_fn_error $? "no acceptable C compiler found in \$PATH
   3453 See \`config.log' for more details" "$LINENO" 5; }
   3454 
   3455 # Provide some information about the compiler.
   3456 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3457 set X $ac_compile
   3458 ac_compiler=$2
   3459 for ac_option in --version -v -V -qversion; do
   3460   { { ac_try="$ac_compiler $ac_option >&5"
   3461 case "(($ac_try" in
   3462   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3463   *) ac_try_echo=$ac_try;;
   3464 esac
   3465 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3466 $as_echo "$ac_try_echo"; } >&5
   3467   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3468   ac_status=$?
   3469   if test -s conftest.err; then
   3470     sed '10a\
   3471 ... rest of stderr output deleted ...
   3472          10q' conftest.err >conftest.er1
   3473     cat conftest.er1 >&5
   3474   fi
   3475   rm -f conftest.er1 conftest.err
   3476   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3477   test $ac_status = 0; }
   3478 done
   3479 
   3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3481 /* end confdefs.h.  */
   3482 
   3483 int
   3484 main ()
   3485 {
   3486 
   3487   ;
   3488   return 0;
   3489 }
   3490 _ACEOF
   3491 ac_clean_files_save=$ac_clean_files
   3492 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3493 # Try to create an executable without -o first, disregard a.out.
   3494 # It will help us diagnose broken compilers, and finding out an intuition
   3495 # of exeext.
   3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3497 $as_echo_n "checking whether the C compiler works... " >&6; }
   3498 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3499 
   3500 # The possible output files:
   3501 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3502 
   3503 ac_rmfiles=
   3504 for ac_file in $ac_files
   3505 do
   3506   case $ac_file in
   3507     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3508     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3509   esac
   3510 done
   3511 rm -f $ac_rmfiles
   3512 
   3513 if { { ac_try="$ac_link_default"
   3514 case "(($ac_try" in
   3515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3516   *) ac_try_echo=$ac_try;;
   3517 esac
   3518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3519 $as_echo "$ac_try_echo"; } >&5
   3520   (eval "$ac_link_default") 2>&5
   3521   ac_status=$?
   3522   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3523   test $ac_status = 0; }; then :
   3524   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3525 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3526 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3527 # so that the user can short-circuit this test for compilers unknown to
   3528 # Autoconf.
   3529 for ac_file in $ac_files ''
   3530 do
   3531   test -f "$ac_file" || continue
   3532   case $ac_file in
   3533     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3534 	;;
   3535     [ab].out )
   3536 	# We found the default executable, but exeext='' is most
   3537 	# certainly right.
   3538 	break;;
   3539     *.* )
   3540 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3541 	then :; else
   3542 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3543 	fi
   3544 	# We set ac_cv_exeext here because the later test for it is not
   3545 	# safe: cross compilers may not add the suffix if given an `-o'
   3546 	# argument, so we may need to know it at that point already.
   3547 	# Even if this section looks crufty: it has the advantage of
   3548 	# actually working.
   3549 	break;;
   3550     * )
   3551 	break;;
   3552   esac
   3553 done
   3554 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3555 
   3556 else
   3557   ac_file=''
   3558 fi
   3559 if test -z "$ac_file"; then :
   3560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3561 $as_echo "no" >&6; }
   3562 $as_echo "$as_me: failed program was:" >&5
   3563 sed 's/^/| /' conftest.$ac_ext >&5
   3564 
   3565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3567 as_fn_error 77 "C compiler cannot create executables
   3568 See \`config.log' for more details" "$LINENO" 5; }
   3569 else
   3570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3571 $as_echo "yes" >&6; }
   3572 fi
   3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3574 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3576 $as_echo "$ac_file" >&6; }
   3577 ac_exeext=$ac_cv_exeext
   3578 
   3579 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3580 ac_clean_files=$ac_clean_files_save
   3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3582 $as_echo_n "checking for suffix of executables... " >&6; }
   3583 if { { ac_try="$ac_link"
   3584 case "(($ac_try" in
   3585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3586   *) ac_try_echo=$ac_try;;
   3587 esac
   3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3589 $as_echo "$ac_try_echo"; } >&5
   3590   (eval "$ac_link") 2>&5
   3591   ac_status=$?
   3592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3593   test $ac_status = 0; }; then :
   3594   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3595 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3596 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3597 # `rm'.
   3598 for ac_file in conftest.exe conftest conftest.*; do
   3599   test -f "$ac_file" || continue
   3600   case $ac_file in
   3601     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3602     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3603 	  break;;
   3604     * ) break;;
   3605   esac
   3606 done
   3607 else
   3608   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3610 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3611 See \`config.log' for more details" "$LINENO" 5; }
   3612 fi
   3613 rm -f conftest conftest$ac_cv_exeext
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3615 $as_echo "$ac_cv_exeext" >&6; }
   3616 
   3617 rm -f conftest.$ac_ext
   3618 EXEEXT=$ac_cv_exeext
   3619 ac_exeext=$EXEEXT
   3620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3621 /* end confdefs.h.  */
   3622 #include <stdio.h>
   3623 int
   3624 main ()
   3625 {
   3626 FILE *f = fopen ("conftest.out", "w");
   3627  return ferror (f) || fclose (f) != 0;
   3628 
   3629   ;
   3630   return 0;
   3631 }
   3632 _ACEOF
   3633 ac_clean_files="$ac_clean_files conftest.out"
   3634 # Check that the compiler produces executables we can run.  If not, either
   3635 # the compiler is broken, or we cross compile.
   3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3637 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3638 if test "$cross_compiling" != yes; then
   3639   { { ac_try="$ac_link"
   3640 case "(($ac_try" in
   3641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3642   *) ac_try_echo=$ac_try;;
   3643 esac
   3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3645 $as_echo "$ac_try_echo"; } >&5
   3646   (eval "$ac_link") 2>&5
   3647   ac_status=$?
   3648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3649   test $ac_status = 0; }
   3650   if { ac_try='./conftest$ac_cv_exeext'
   3651   { { case "(($ac_try" in
   3652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3653   *) ac_try_echo=$ac_try;;
   3654 esac
   3655 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3656 $as_echo "$ac_try_echo"; } >&5
   3657   (eval "$ac_try") 2>&5
   3658   ac_status=$?
   3659   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3660   test $ac_status = 0; }; }; then
   3661     cross_compiling=no
   3662   else
   3663     if test "$cross_compiling" = maybe; then
   3664 	cross_compiling=yes
   3665     else
   3666 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3668 as_fn_error $? "cannot run C compiled programs.
   3669 If you meant to cross compile, use \`--host'.
   3670 See \`config.log' for more details" "$LINENO" 5; }
   3671     fi
   3672   fi
   3673 fi
   3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3675 $as_echo "$cross_compiling" >&6; }
   3676 
   3677 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3678 ac_clean_files=$ac_clean_files_save
   3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3680 $as_echo_n "checking for suffix of object files... " >&6; }
   3681 if ${ac_cv_objext+:} false; then :
   3682   $as_echo_n "(cached) " >&6
   3683 else
   3684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3685 /* end confdefs.h.  */
   3686 
   3687 int
   3688 main ()
   3689 {
   3690 
   3691   ;
   3692   return 0;
   3693 }
   3694 _ACEOF
   3695 rm -f conftest.o conftest.obj
   3696 if { { ac_try="$ac_compile"
   3697 case "(($ac_try" in
   3698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3699   *) ac_try_echo=$ac_try;;
   3700 esac
   3701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3702 $as_echo "$ac_try_echo"; } >&5
   3703   (eval "$ac_compile") 2>&5
   3704   ac_status=$?
   3705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3706   test $ac_status = 0; }; then :
   3707   for ac_file in conftest.o conftest.obj conftest.*; do
   3708   test -f "$ac_file" || continue;
   3709   case $ac_file in
   3710     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3711     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3712        break;;
   3713   esac
   3714 done
   3715 else
   3716   $as_echo "$as_me: failed program was:" >&5
   3717 sed 's/^/| /' conftest.$ac_ext >&5
   3718 
   3719 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3720 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3721 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3722 See \`config.log' for more details" "$LINENO" 5; }
   3723 fi
   3724 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3725 fi
   3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3727 $as_echo "$ac_cv_objext" >&6; }
   3728 OBJEXT=$ac_cv_objext
   3729 ac_objext=$OBJEXT
   3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3731 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3732 if ${ac_cv_c_compiler_gnu+:} false; then :
   3733   $as_echo_n "(cached) " >&6
   3734 else
   3735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3736 /* end confdefs.h.  */
   3737 
   3738 int
   3739 main ()
   3740 {
   3741 #ifndef __GNUC__
   3742        choke me
   3743 #endif
   3744 
   3745   ;
   3746   return 0;
   3747 }
   3748 _ACEOF
   3749 if ac_fn_c_try_compile "$LINENO"; then :
   3750   ac_compiler_gnu=yes
   3751 else
   3752   ac_compiler_gnu=no
   3753 fi
   3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3755 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3756 
   3757 fi
   3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3759 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3760 if test $ac_compiler_gnu = yes; then
   3761   GCC=yes
   3762 else
   3763   GCC=
   3764 fi
   3765 ac_test_CFLAGS=${CFLAGS+set}
   3766 ac_save_CFLAGS=$CFLAGS
   3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3768 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3769 if ${ac_cv_prog_cc_g+:} false; then :
   3770   $as_echo_n "(cached) " >&6
   3771 else
   3772   ac_save_c_werror_flag=$ac_c_werror_flag
   3773    ac_c_werror_flag=yes
   3774    ac_cv_prog_cc_g=no
   3775    CFLAGS="-g"
   3776    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3777 /* end confdefs.h.  */
   3778 
   3779 int
   3780 main ()
   3781 {
   3782 
   3783   ;
   3784   return 0;
   3785 }
   3786 _ACEOF
   3787 if ac_fn_c_try_compile "$LINENO"; then :
   3788   ac_cv_prog_cc_g=yes
   3789 else
   3790   CFLAGS=""
   3791       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3792 /* end confdefs.h.  */
   3793 
   3794 int
   3795 main ()
   3796 {
   3797 
   3798   ;
   3799   return 0;
   3800 }
   3801 _ACEOF
   3802 if ac_fn_c_try_compile "$LINENO"; then :
   3803 
   3804 else
   3805   ac_c_werror_flag=$ac_save_c_werror_flag
   3806 	 CFLAGS="-g"
   3807 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3808 /* end confdefs.h.  */
   3809 
   3810 int
   3811 main ()
   3812 {
   3813 
   3814   ;
   3815   return 0;
   3816 }
   3817 _ACEOF
   3818 if ac_fn_c_try_compile "$LINENO"; then :
   3819   ac_cv_prog_cc_g=yes
   3820 fi
   3821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3822 fi
   3823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3824 fi
   3825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3826    ac_c_werror_flag=$ac_save_c_werror_flag
   3827 fi
   3828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3829 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3830 if test "$ac_test_CFLAGS" = set; then
   3831   CFLAGS=$ac_save_CFLAGS
   3832 elif test $ac_cv_prog_cc_g = yes; then
   3833   if test "$GCC" = yes; then
   3834     CFLAGS="-g -O2"
   3835   else
   3836     CFLAGS="-g"
   3837   fi
   3838 else
   3839   if test "$GCC" = yes; then
   3840     CFLAGS="-O2"
   3841   else
   3842     CFLAGS=
   3843   fi
   3844 fi
   3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3846 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3847 if ${ac_cv_prog_cc_c89+:} false; then :
   3848   $as_echo_n "(cached) " >&6
   3849 else
   3850   ac_cv_prog_cc_c89=no
   3851 ac_save_CC=$CC
   3852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3853 /* end confdefs.h.  */
   3854 #include <stdarg.h>
   3855 #include <stdio.h>
   3856 struct stat;
   3857 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3858 struct buf { int x; };
   3859 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3860 static char *e (p, i)
   3861      char **p;
   3862      int i;
   3863 {
   3864   return p[i];
   3865 }
   3866 static char *f (char * (*g) (char **, int), char **p, ...)
   3867 {
   3868   char *s;
   3869   va_list v;
   3870   va_start (v,p);
   3871   s = g (p, va_arg (v,int));
   3872   va_end (v);
   3873   return s;
   3874 }
   3875 
   3876 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3877    function prototypes and stuff, but not '\xHH' hex character constants.
   3878    These don't provoke an error unfortunately, instead are silently treated
   3879    as 'x'.  The following induces an error, until -std is added to get
   3880    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3881    array size at least.  It's necessary to write '\x00'==0 to get something
   3882    that's true only with -std.  */
   3883 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3884 
   3885 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3886    inside strings and character constants.  */
   3887 #define FOO(x) 'x'
   3888 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3889 
   3890 int test (int i, double x);
   3891 struct s1 {int (*f) (int a);};
   3892 struct s2 {int (*f) (double a);};
   3893 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3894 int argc;
   3895 char **argv;
   3896 int
   3897 main ()
   3898 {
   3899 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3900   ;
   3901   return 0;
   3902 }
   3903 _ACEOF
   3904 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3905 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3906 do
   3907   CC="$ac_save_CC $ac_arg"
   3908   if ac_fn_c_try_compile "$LINENO"; then :
   3909   ac_cv_prog_cc_c89=$ac_arg
   3910 fi
   3911 rm -f core conftest.err conftest.$ac_objext
   3912   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3913 done
   3914 rm -f conftest.$ac_ext
   3915 CC=$ac_save_CC
   3916 
   3917 fi
   3918 # AC_CACHE_VAL
   3919 case "x$ac_cv_prog_cc_c89" in
   3920   x)
   3921     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3922 $as_echo "none needed" >&6; } ;;
   3923   xno)
   3924     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3925 $as_echo "unsupported" >&6; } ;;
   3926   *)
   3927     CC="$CC $ac_cv_prog_cc_c89"
   3928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3929 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3930 esac
   3931 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3932 
   3933 fi
   3934 
   3935 ac_ext=c
   3936 ac_cpp='$CPP $CPPFLAGS'
   3937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3940 
   3941 ac_ext=c
   3942 ac_cpp='$CPP $CPPFLAGS'
   3943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3947 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3948 if ${am_cv_prog_cc_c_o+:} false; then :
   3949   $as_echo_n "(cached) " >&6
   3950 else
   3951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3952 /* end confdefs.h.  */
   3953 
   3954 int
   3955 main ()
   3956 {
   3957 
   3958   ;
   3959   return 0;
   3960 }
   3961 _ACEOF
   3962   # Make sure it works both with $CC and with simple cc.
   3963   # Following AC_PROG_CC_C_O, we do the test twice because some
   3964   # compilers refuse to overwrite an existing .o file with -o,
   3965   # though they will create one.
   3966   am_cv_prog_cc_c_o=yes
   3967   for am_i in 1 2; do
   3968     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3969    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3970    ac_status=$?
   3971    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3972    (exit $ac_status); } \
   3973          && test -f conftest2.$ac_objext; then
   3974       : OK
   3975     else
   3976       am_cv_prog_cc_c_o=no
   3977       break
   3978     fi
   3979   done
   3980   rm -f core conftest*
   3981   unset am_i
   3982 fi
   3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3984 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3985 if test "$am_cv_prog_cc_c_o" != yes; then
   3986    # Losing compiler, so override with the script.
   3987    # FIXME: It is wrong to rewrite CC.
   3988    # But if we don't then we get into trouble of one sort or another.
   3989    # A longer-term fix would be to have automake use am__CC in this case,
   3990    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3991    CC="$am_aux_dir/compile $CC"
   3992 fi
   3993 ac_ext=c
   3994 ac_cpp='$CPP $CPPFLAGS'
   3995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3998 
   3999 
   4000 depcc="$CC"   am_compiler_list=
   4001 
   4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4003 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4004 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4005   $as_echo_n "(cached) " >&6
   4006 else
   4007   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4008   # We make a subdir and do the tests there.  Otherwise we can end up
   4009   # making bogus files that we don't know about and never remove.  For
   4010   # instance it was reported that on HP-UX the gcc test will end up
   4011   # making a dummy file named 'D' -- because '-MD' means "put the output
   4012   # in D".
   4013   rm -rf conftest.dir
   4014   mkdir conftest.dir
   4015   # Copy depcomp to subdir because otherwise we won't find it if we're
   4016   # using a relative directory.
   4017   cp "$am_depcomp" conftest.dir
   4018   cd conftest.dir
   4019   # We will build objects and dependencies in a subdirectory because
   4020   # it helps to detect inapplicable dependency modes.  For instance
   4021   # both Tru64's cc and ICC support -MD to output dependencies as a
   4022   # side effect of compilation, but ICC will put the dependencies in
   4023   # the current directory while Tru64 will put them in the object
   4024   # directory.
   4025   mkdir sub
   4026 
   4027   am_cv_CC_dependencies_compiler_type=none
   4028   if test "$am_compiler_list" = ""; then
   4029      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4030   fi
   4031   am__universal=false
   4032   case " $depcc " in #(
   4033      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4034      esac
   4035 
   4036   for depmode in $am_compiler_list; do
   4037     # Setup a source with many dependencies, because some compilers
   4038     # like to wrap large dependency lists on column 80 (with \), and
   4039     # we should not choose a depcomp mode which is confused by this.
   4040     #
   4041     # We need to recreate these files for each test, as the compiler may
   4042     # overwrite some of them when testing with obscure command lines.
   4043     # This happens at least with the AIX C compiler.
   4044     : > sub/conftest.c
   4045     for i in 1 2 3 4 5 6; do
   4046       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4047       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4048       # Solaris 10 /bin/sh.
   4049       echo '/* dummy */' > sub/conftst$i.h
   4050     done
   4051     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4052 
   4053     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4054     # mode.  It turns out that the SunPro C++ compiler does not properly
   4055     # handle '-M -o', and we need to detect this.  Also, some Intel
   4056     # versions had trouble with output in subdirs.
   4057     am__obj=sub/conftest.${OBJEXT-o}
   4058     am__minus_obj="-o $am__obj"
   4059     case $depmode in
   4060     gcc)
   4061       # This depmode causes a compiler race in universal mode.
   4062       test "$am__universal" = false || continue
   4063       ;;
   4064     nosideeffect)
   4065       # After this tag, mechanisms are not by side-effect, so they'll
   4066       # only be used when explicitly requested.
   4067       if test "x$enable_dependency_tracking" = xyes; then
   4068 	continue
   4069       else
   4070 	break
   4071       fi
   4072       ;;
   4073     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4074       # This compiler won't grok '-c -o', but also, the minuso test has
   4075       # not run yet.  These depmodes are late enough in the game, and
   4076       # so weak that their functioning should not be impacted.
   4077       am__obj=conftest.${OBJEXT-o}
   4078       am__minus_obj=
   4079       ;;
   4080     none) break ;;
   4081     esac
   4082     if depmode=$depmode \
   4083        source=sub/conftest.c object=$am__obj \
   4084        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4085        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4086          >/dev/null 2>conftest.err &&
   4087        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4088        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4089        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4090        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4091       # icc doesn't choke on unknown options, it will just issue warnings
   4092       # or remarks (even with -Werror).  So we grep stderr for any message
   4093       # that says an option was ignored or not supported.
   4094       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4095       #   icc: Command line warning: ignoring option '-M'; no argument required
   4096       # The diagnosis changed in icc 8.0:
   4097       #   icc: Command line remark: option '-MP' not supported
   4098       if (grep 'ignoring option' conftest.err ||
   4099           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4100         am_cv_CC_dependencies_compiler_type=$depmode
   4101         break
   4102       fi
   4103     fi
   4104   done
   4105 
   4106   cd ..
   4107   rm -rf conftest.dir
   4108 else
   4109   am_cv_CC_dependencies_compiler_type=none
   4110 fi
   4111 
   4112 fi
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4114 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4115 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4116 
   4117  if
   4118   test "x$enable_dependency_tracking" != xno \
   4119   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4120   am__fastdepCC_TRUE=
   4121   am__fastdepCC_FALSE='#'
   4122 else
   4123   am__fastdepCC_TRUE='#'
   4124   am__fastdepCC_FALSE=
   4125 fi
   4126 
   4127 
   4128 
   4129 ac_ext=c
   4130 ac_cpp='$CPP $CPPFLAGS'
   4131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4135 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4136 # On Suns, sometimes $CPP names a directory.
   4137 if test -n "$CPP" && test -d "$CPP"; then
   4138   CPP=
   4139 fi
   4140 if test -z "$CPP"; then
   4141   if ${ac_cv_prog_CPP+:} false; then :
   4142   $as_echo_n "(cached) " >&6
   4143 else
   4144       # Double quotes because CPP needs to be expanded
   4145     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4146     do
   4147       ac_preproc_ok=false
   4148 for ac_c_preproc_warn_flag in '' yes
   4149 do
   4150   # Use a header file that comes with gcc, so configuring glibc
   4151   # with a fresh cross-compiler works.
   4152   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4153   # <limits.h> exists even on freestanding compilers.
   4154   # On the NeXT, cc -E runs the code through the compiler's parser,
   4155   # not just through cpp. "Syntax error" is here to catch this case.
   4156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4157 /* end confdefs.h.  */
   4158 #ifdef __STDC__
   4159 # include <limits.h>
   4160 #else
   4161 # include <assert.h>
   4162 #endif
   4163 		     Syntax error
   4164 _ACEOF
   4165 if ac_fn_c_try_cpp "$LINENO"; then :
   4166 
   4167 else
   4168   # Broken: fails on valid input.
   4169 continue
   4170 fi
   4171 rm -f conftest.err conftest.i conftest.$ac_ext
   4172 
   4173   # OK, works on sane cases.  Now check whether nonexistent headers
   4174   # can be detected and how.
   4175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4176 /* end confdefs.h.  */
   4177 #include <ac_nonexistent.h>
   4178 _ACEOF
   4179 if ac_fn_c_try_cpp "$LINENO"; then :
   4180   # Broken: success on invalid input.
   4181 continue
   4182 else
   4183   # Passes both tests.
   4184 ac_preproc_ok=:
   4185 break
   4186 fi
   4187 rm -f conftest.err conftest.i conftest.$ac_ext
   4188 
   4189 done
   4190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4191 rm -f conftest.i conftest.err conftest.$ac_ext
   4192 if $ac_preproc_ok; then :
   4193   break
   4194 fi
   4195 
   4196     done
   4197     ac_cv_prog_CPP=$CPP
   4198 
   4199 fi
   4200   CPP=$ac_cv_prog_CPP
   4201 else
   4202   ac_cv_prog_CPP=$CPP
   4203 fi
   4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4205 $as_echo "$CPP" >&6; }
   4206 ac_preproc_ok=false
   4207 for ac_c_preproc_warn_flag in '' yes
   4208 do
   4209   # Use a header file that comes with gcc, so configuring glibc
   4210   # with a fresh cross-compiler works.
   4211   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4212   # <limits.h> exists even on freestanding compilers.
   4213   # On the NeXT, cc -E runs the code through the compiler's parser,
   4214   # not just through cpp. "Syntax error" is here to catch this case.
   4215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4216 /* end confdefs.h.  */
   4217 #ifdef __STDC__
   4218 # include <limits.h>
   4219 #else
   4220 # include <assert.h>
   4221 #endif
   4222 		     Syntax error
   4223 _ACEOF
   4224 if ac_fn_c_try_cpp "$LINENO"; then :
   4225 
   4226 else
   4227   # Broken: fails on valid input.
   4228 continue
   4229 fi
   4230 rm -f conftest.err conftest.i conftest.$ac_ext
   4231 
   4232   # OK, works on sane cases.  Now check whether nonexistent headers
   4233   # can be detected and how.
   4234   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4235 /* end confdefs.h.  */
   4236 #include <ac_nonexistent.h>
   4237 _ACEOF
   4238 if ac_fn_c_try_cpp "$LINENO"; then :
   4239   # Broken: success on invalid input.
   4240 continue
   4241 else
   4242   # Passes both tests.
   4243 ac_preproc_ok=:
   4244 break
   4245 fi
   4246 rm -f conftest.err conftest.i conftest.$ac_ext
   4247 
   4248 done
   4249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4250 rm -f conftest.i conftest.err conftest.$ac_ext
   4251 if $ac_preproc_ok; then :
   4252 
   4253 else
   4254   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4256 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4257 See \`config.log' for more details" "$LINENO" 5; }
   4258 fi
   4259 
   4260 ac_ext=c
   4261 ac_cpp='$CPP $CPPFLAGS'
   4262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4265 
   4266 
   4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4268 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4269 if ${ac_cv_path_GREP+:} false; then :
   4270   $as_echo_n "(cached) " >&6
   4271 else
   4272   if test -z "$GREP"; then
   4273   ac_path_GREP_found=false
   4274   # Loop through the user's path and test for each of PROGNAME-LIST
   4275   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4276 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4277 do
   4278   IFS=$as_save_IFS
   4279   test -z "$as_dir" && as_dir=.
   4280     for ac_prog in grep ggrep; do
   4281     for ac_exec_ext in '' $ac_executable_extensions; do
   4282       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4283       as_fn_executable_p "$ac_path_GREP" || continue
   4284 # Check for GNU ac_path_GREP and select it if it is found.
   4285   # Check for GNU $ac_path_GREP
   4286 case `"$ac_path_GREP" --version 2>&1` in
   4287 *GNU*)
   4288   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4289 *)
   4290   ac_count=0
   4291   $as_echo_n 0123456789 >"conftest.in"
   4292   while :
   4293   do
   4294     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4295     mv "conftest.tmp" "conftest.in"
   4296     cp "conftest.in" "conftest.nl"
   4297     $as_echo 'GREP' >> "conftest.nl"
   4298     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4299     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4300     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4301     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4302       # Best one so far, save it but keep looking for a better one
   4303       ac_cv_path_GREP="$ac_path_GREP"
   4304       ac_path_GREP_max=$ac_count
   4305     fi
   4306     # 10*(2^10) chars as input seems more than enough
   4307     test $ac_count -gt 10 && break
   4308   done
   4309   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4310 esac
   4311 
   4312       $ac_path_GREP_found && break 3
   4313     done
   4314   done
   4315   done
   4316 IFS=$as_save_IFS
   4317   if test -z "$ac_cv_path_GREP"; then
   4318     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4319   fi
   4320 else
   4321   ac_cv_path_GREP=$GREP
   4322 fi
   4323 
   4324 fi
   4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4326 $as_echo "$ac_cv_path_GREP" >&6; }
   4327  GREP="$ac_cv_path_GREP"
   4328 
   4329 
   4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4331 $as_echo_n "checking for egrep... " >&6; }
   4332 if ${ac_cv_path_EGREP+:} false; then :
   4333   $as_echo_n "(cached) " >&6
   4334 else
   4335   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4336    then ac_cv_path_EGREP="$GREP -E"
   4337    else
   4338      if test -z "$EGREP"; then
   4339   ac_path_EGREP_found=false
   4340   # Loop through the user's path and test for each of PROGNAME-LIST
   4341   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4342 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4343 do
   4344   IFS=$as_save_IFS
   4345   test -z "$as_dir" && as_dir=.
   4346     for ac_prog in egrep; do
   4347     for ac_exec_ext in '' $ac_executable_extensions; do
   4348       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4349       as_fn_executable_p "$ac_path_EGREP" || continue
   4350 # Check for GNU ac_path_EGREP and select it if it is found.
   4351   # Check for GNU $ac_path_EGREP
   4352 case `"$ac_path_EGREP" --version 2>&1` in
   4353 *GNU*)
   4354   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4355 *)
   4356   ac_count=0
   4357   $as_echo_n 0123456789 >"conftest.in"
   4358   while :
   4359   do
   4360     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4361     mv "conftest.tmp" "conftest.in"
   4362     cp "conftest.in" "conftest.nl"
   4363     $as_echo 'EGREP' >> "conftest.nl"
   4364     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4365     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4366     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4367     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4368       # Best one so far, save it but keep looking for a better one
   4369       ac_cv_path_EGREP="$ac_path_EGREP"
   4370       ac_path_EGREP_max=$ac_count
   4371     fi
   4372     # 10*(2^10) chars as input seems more than enough
   4373     test $ac_count -gt 10 && break
   4374   done
   4375   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4376 esac
   4377 
   4378       $ac_path_EGREP_found && break 3
   4379     done
   4380   done
   4381   done
   4382 IFS=$as_save_IFS
   4383   if test -z "$ac_cv_path_EGREP"; then
   4384     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4385   fi
   4386 else
   4387   ac_cv_path_EGREP=$EGREP
   4388 fi
   4389 
   4390    fi
   4391 fi
   4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4393 $as_echo "$ac_cv_path_EGREP" >&6; }
   4394  EGREP="$ac_cv_path_EGREP"
   4395 
   4396 
   4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4398 $as_echo_n "checking for ANSI C header files... " >&6; }
   4399 if ${ac_cv_header_stdc+:} false; then :
   4400   $as_echo_n "(cached) " >&6
   4401 else
   4402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4403 /* end confdefs.h.  */
   4404 #include <stdlib.h>
   4405 #include <stdarg.h>
   4406 #include <string.h>
   4407 #include <float.h>
   4408 
   4409 int
   4410 main ()
   4411 {
   4412 
   4413   ;
   4414   return 0;
   4415 }
   4416 _ACEOF
   4417 if ac_fn_c_try_compile "$LINENO"; then :
   4418   ac_cv_header_stdc=yes
   4419 else
   4420   ac_cv_header_stdc=no
   4421 fi
   4422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4423 
   4424 if test $ac_cv_header_stdc = yes; then
   4425   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4426   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4427 /* end confdefs.h.  */
   4428 #include <string.h>
   4429 
   4430 _ACEOF
   4431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4432   $EGREP "memchr" >/dev/null 2>&1; then :
   4433 
   4434 else
   4435   ac_cv_header_stdc=no
   4436 fi
   4437 rm -f conftest*
   4438 
   4439 fi
   4440 
   4441 if test $ac_cv_header_stdc = yes; then
   4442   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4444 /* end confdefs.h.  */
   4445 #include <stdlib.h>
   4446 
   4447 _ACEOF
   4448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4449   $EGREP "free" >/dev/null 2>&1; then :
   4450 
   4451 else
   4452   ac_cv_header_stdc=no
   4453 fi
   4454 rm -f conftest*
   4455 
   4456 fi
   4457 
   4458 if test $ac_cv_header_stdc = yes; then
   4459   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4460   if test "$cross_compiling" = yes; then :
   4461   :
   4462 else
   4463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4464 /* end confdefs.h.  */
   4465 #include <ctype.h>
   4466 #include <stdlib.h>
   4467 #if ((' ' & 0x0FF) == 0x020)
   4468 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4469 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4470 #else
   4471 # define ISLOWER(c) \
   4472 		   (('a' <= (c) && (c) <= 'i') \
   4473 		     || ('j' <= (c) && (c) <= 'r') \
   4474 		     || ('s' <= (c) && (c) <= 'z'))
   4475 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4476 #endif
   4477 
   4478 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4479 int
   4480 main ()
   4481 {
   4482   int i;
   4483   for (i = 0; i < 256; i++)
   4484     if (XOR (islower (i), ISLOWER (i))
   4485 	|| toupper (i) != TOUPPER (i))
   4486       return 2;
   4487   return 0;
   4488 }
   4489 _ACEOF
   4490 if ac_fn_c_try_run "$LINENO"; then :
   4491 
   4492 else
   4493   ac_cv_header_stdc=no
   4494 fi
   4495 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4496   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4497 fi
   4498 
   4499 fi
   4500 fi
   4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4502 $as_echo "$ac_cv_header_stdc" >&6; }
   4503 if test $ac_cv_header_stdc = yes; then
   4504 
   4505 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4506 
   4507 fi
   4508 
   4509 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4510 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4511 		  inttypes.h stdint.h unistd.h
   4512 do :
   4513   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4514 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4515 "
   4516 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4517   cat >>confdefs.h <<_ACEOF
   4518 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4519 _ACEOF
   4520 
   4521 fi
   4522 
   4523 done
   4524 
   4525 
   4526 
   4527   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4528 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4529   MINIX=yes
   4530 else
   4531   MINIX=
   4532 fi
   4533 
   4534 
   4535   if test "$MINIX" = yes; then
   4536 
   4537 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4538 
   4539 
   4540 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4541 
   4542 
   4543 $as_echo "#define _MINIX 1" >>confdefs.h
   4544 
   4545   fi
   4546 
   4547 
   4548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4549 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4550 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4551   $as_echo_n "(cached) " >&6
   4552 else
   4553   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4554 /* end confdefs.h.  */
   4555 
   4556 #         define __EXTENSIONS__ 1
   4557           $ac_includes_default
   4558 int
   4559 main ()
   4560 {
   4561 
   4562   ;
   4563   return 0;
   4564 }
   4565 _ACEOF
   4566 if ac_fn_c_try_compile "$LINENO"; then :
   4567   ac_cv_safe_to_define___extensions__=yes
   4568 else
   4569   ac_cv_safe_to_define___extensions__=no
   4570 fi
   4571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4572 fi
   4573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4574 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4575   test $ac_cv_safe_to_define___extensions__ = yes &&
   4576     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4577 
   4578   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4579 
   4580   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4581 
   4582   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4583 
   4584   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4585 
   4586 
   4587 ac_ext=c
   4588 ac_cpp='$CPP $CPPFLAGS'
   4589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4592 if test -n "$ac_tool_prefix"; then
   4593   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4594 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4596 $as_echo_n "checking for $ac_word... " >&6; }
   4597 if ${ac_cv_prog_CC+:} false; then :
   4598   $as_echo_n "(cached) " >&6
   4599 else
   4600   if test -n "$CC"; then
   4601   ac_cv_prog_CC="$CC" # Let the user override the test.
   4602 else
   4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4604 for as_dir in $PATH
   4605 do
   4606   IFS=$as_save_IFS
   4607   test -z "$as_dir" && as_dir=.
   4608     for ac_exec_ext in '' $ac_executable_extensions; do
   4609   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4610     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4612     break 2
   4613   fi
   4614 done
   4615   done
   4616 IFS=$as_save_IFS
   4617 
   4618 fi
   4619 fi
   4620 CC=$ac_cv_prog_CC
   4621 if test -n "$CC"; then
   4622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4623 $as_echo "$CC" >&6; }
   4624 else
   4625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4626 $as_echo "no" >&6; }
   4627 fi
   4628 
   4629 
   4630 fi
   4631 if test -z "$ac_cv_prog_CC"; then
   4632   ac_ct_CC=$CC
   4633   # Extract the first word of "gcc", so it can be a program name with args.
   4634 set dummy gcc; ac_word=$2
   4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4636 $as_echo_n "checking for $ac_word... " >&6; }
   4637 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4638   $as_echo_n "(cached) " >&6
   4639 else
   4640   if test -n "$ac_ct_CC"; then
   4641   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4642 else
   4643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4644 for as_dir in $PATH
   4645 do
   4646   IFS=$as_save_IFS
   4647   test -z "$as_dir" && as_dir=.
   4648     for ac_exec_ext in '' $ac_executable_extensions; do
   4649   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4650     ac_cv_prog_ac_ct_CC="gcc"
   4651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4652     break 2
   4653   fi
   4654 done
   4655   done
   4656 IFS=$as_save_IFS
   4657 
   4658 fi
   4659 fi
   4660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4661 if test -n "$ac_ct_CC"; then
   4662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4663 $as_echo "$ac_ct_CC" >&6; }
   4664 else
   4665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4666 $as_echo "no" >&6; }
   4667 fi
   4668 
   4669   if test "x$ac_ct_CC" = x; then
   4670     CC=""
   4671   else
   4672     case $cross_compiling:$ac_tool_warned in
   4673 yes:)
   4674 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4675 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4676 ac_tool_warned=yes ;;
   4677 esac
   4678     CC=$ac_ct_CC
   4679   fi
   4680 else
   4681   CC="$ac_cv_prog_CC"
   4682 fi
   4683 
   4684 if test -z "$CC"; then
   4685           if test -n "$ac_tool_prefix"; then
   4686     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4687 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4689 $as_echo_n "checking for $ac_word... " >&6; }
   4690 if ${ac_cv_prog_CC+:} false; then :
   4691   $as_echo_n "(cached) " >&6
   4692 else
   4693   if test -n "$CC"; then
   4694   ac_cv_prog_CC="$CC" # Let the user override the test.
   4695 else
   4696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4697 for as_dir in $PATH
   4698 do
   4699   IFS=$as_save_IFS
   4700   test -z "$as_dir" && as_dir=.
   4701     for ac_exec_ext in '' $ac_executable_extensions; do
   4702   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4703     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4704     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4705     break 2
   4706   fi
   4707 done
   4708   done
   4709 IFS=$as_save_IFS
   4710 
   4711 fi
   4712 fi
   4713 CC=$ac_cv_prog_CC
   4714 if test -n "$CC"; then
   4715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4716 $as_echo "$CC" >&6; }
   4717 else
   4718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4719 $as_echo "no" >&6; }
   4720 fi
   4721 
   4722 
   4723   fi
   4724 fi
   4725 if test -z "$CC"; then
   4726   # Extract the first word of "cc", so it can be a program name with args.
   4727 set dummy cc; ac_word=$2
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4729 $as_echo_n "checking for $ac_word... " >&6; }
   4730 if ${ac_cv_prog_CC+:} false; then :
   4731   $as_echo_n "(cached) " >&6
   4732 else
   4733   if test -n "$CC"; then
   4734   ac_cv_prog_CC="$CC" # Let the user override the test.
   4735 else
   4736   ac_prog_rejected=no
   4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4738 for as_dir in $PATH
   4739 do
   4740   IFS=$as_save_IFS
   4741   test -z "$as_dir" && as_dir=.
   4742     for ac_exec_ext in '' $ac_executable_extensions; do
   4743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4744     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4745        ac_prog_rejected=yes
   4746        continue
   4747      fi
   4748     ac_cv_prog_CC="cc"
   4749     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4750     break 2
   4751   fi
   4752 done
   4753   done
   4754 IFS=$as_save_IFS
   4755 
   4756 if test $ac_prog_rejected = yes; then
   4757   # We found a bogon in the path, so make sure we never use it.
   4758   set dummy $ac_cv_prog_CC
   4759   shift
   4760   if test $# != 0; then
   4761     # We chose a different compiler from the bogus one.
   4762     # However, it has the same basename, so the bogon will be chosen
   4763     # first if we set CC to just the basename; use the full file name.
   4764     shift
   4765     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4766   fi
   4767 fi
   4768 fi
   4769 fi
   4770 CC=$ac_cv_prog_CC
   4771 if test -n "$CC"; then
   4772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4773 $as_echo "$CC" >&6; }
   4774 else
   4775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4776 $as_echo "no" >&6; }
   4777 fi
   4778 
   4779 
   4780 fi
   4781 if test -z "$CC"; then
   4782   if test -n "$ac_tool_prefix"; then
   4783   for ac_prog in cl.exe
   4784   do
   4785     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4786 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4788 $as_echo_n "checking for $ac_word... " >&6; }
   4789 if ${ac_cv_prog_CC+:} false; then :
   4790   $as_echo_n "(cached) " >&6
   4791 else
   4792   if test -n "$CC"; then
   4793   ac_cv_prog_CC="$CC" # Let the user override the test.
   4794 else
   4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4796 for as_dir in $PATH
   4797 do
   4798   IFS=$as_save_IFS
   4799   test -z "$as_dir" && as_dir=.
   4800     for ac_exec_ext in '' $ac_executable_extensions; do
   4801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4802     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4804     break 2
   4805   fi
   4806 done
   4807   done
   4808 IFS=$as_save_IFS
   4809 
   4810 fi
   4811 fi
   4812 CC=$ac_cv_prog_CC
   4813 if test -n "$CC"; then
   4814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4815 $as_echo "$CC" >&6; }
   4816 else
   4817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4818 $as_echo "no" >&6; }
   4819 fi
   4820 
   4821 
   4822     test -n "$CC" && break
   4823   done
   4824 fi
   4825 if test -z "$CC"; then
   4826   ac_ct_CC=$CC
   4827   for ac_prog in cl.exe
   4828 do
   4829   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4830 set dummy $ac_prog; ac_word=$2
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4832 $as_echo_n "checking for $ac_word... " >&6; }
   4833 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836   if test -n "$ac_ct_CC"; then
   4837   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4838 else
   4839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4840 for as_dir in $PATH
   4841 do
   4842   IFS=$as_save_IFS
   4843   test -z "$as_dir" && as_dir=.
   4844     for ac_exec_ext in '' $ac_executable_extensions; do
   4845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4846     ac_cv_prog_ac_ct_CC="$ac_prog"
   4847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4848     break 2
   4849   fi
   4850 done
   4851   done
   4852 IFS=$as_save_IFS
   4853 
   4854 fi
   4855 fi
   4856 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4857 if test -n "$ac_ct_CC"; then
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4859 $as_echo "$ac_ct_CC" >&6; }
   4860 else
   4861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4862 $as_echo "no" >&6; }
   4863 fi
   4864 
   4865 
   4866   test -n "$ac_ct_CC" && break
   4867 done
   4868 
   4869   if test "x$ac_ct_CC" = x; then
   4870     CC=""
   4871   else
   4872     case $cross_compiling:$ac_tool_warned in
   4873 yes:)
   4874 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4875 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4876 ac_tool_warned=yes ;;
   4877 esac
   4878     CC=$ac_ct_CC
   4879   fi
   4880 fi
   4881 
   4882 fi
   4883 
   4884 
   4885 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4886 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4887 as_fn_error $? "no acceptable C compiler found in \$PATH
   4888 See \`config.log' for more details" "$LINENO" 5; }
   4889 
   4890 # Provide some information about the compiler.
   4891 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4892 set X $ac_compile
   4893 ac_compiler=$2
   4894 for ac_option in --version -v -V -qversion; do
   4895   { { ac_try="$ac_compiler $ac_option >&5"
   4896 case "(($ac_try" in
   4897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4898   *) ac_try_echo=$ac_try;;
   4899 esac
   4900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4901 $as_echo "$ac_try_echo"; } >&5
   4902   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4903   ac_status=$?
   4904   if test -s conftest.err; then
   4905     sed '10a\
   4906 ... rest of stderr output deleted ...
   4907          10q' conftest.err >conftest.er1
   4908     cat conftest.er1 >&5
   4909   fi
   4910   rm -f conftest.er1 conftest.err
   4911   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4912   test $ac_status = 0; }
   4913 done
   4914 
   4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4916 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4917 if ${ac_cv_c_compiler_gnu+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4921 /* end confdefs.h.  */
   4922 
   4923 int
   4924 main ()
   4925 {
   4926 #ifndef __GNUC__
   4927        choke me
   4928 #endif
   4929 
   4930   ;
   4931   return 0;
   4932 }
   4933 _ACEOF
   4934 if ac_fn_c_try_compile "$LINENO"; then :
   4935   ac_compiler_gnu=yes
   4936 else
   4937   ac_compiler_gnu=no
   4938 fi
   4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4940 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4941 
   4942 fi
   4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4944 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4945 if test $ac_compiler_gnu = yes; then
   4946   GCC=yes
   4947 else
   4948   GCC=
   4949 fi
   4950 ac_test_CFLAGS=${CFLAGS+set}
   4951 ac_save_CFLAGS=$CFLAGS
   4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4953 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4954 if ${ac_cv_prog_cc_g+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   ac_save_c_werror_flag=$ac_c_werror_flag
   4958    ac_c_werror_flag=yes
   4959    ac_cv_prog_cc_g=no
   4960    CFLAGS="-g"
   4961    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4962 /* end confdefs.h.  */
   4963 
   4964 int
   4965 main ()
   4966 {
   4967 
   4968   ;
   4969   return 0;
   4970 }
   4971 _ACEOF
   4972 if ac_fn_c_try_compile "$LINENO"; then :
   4973   ac_cv_prog_cc_g=yes
   4974 else
   4975   CFLAGS=""
   4976       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4977 /* end confdefs.h.  */
   4978 
   4979 int
   4980 main ()
   4981 {
   4982 
   4983   ;
   4984   return 0;
   4985 }
   4986 _ACEOF
   4987 if ac_fn_c_try_compile "$LINENO"; then :
   4988 
   4989 else
   4990   ac_c_werror_flag=$ac_save_c_werror_flag
   4991 	 CFLAGS="-g"
   4992 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4993 /* end confdefs.h.  */
   4994 
   4995 int
   4996 main ()
   4997 {
   4998 
   4999   ;
   5000   return 0;
   5001 }
   5002 _ACEOF
   5003 if ac_fn_c_try_compile "$LINENO"; then :
   5004   ac_cv_prog_cc_g=yes
   5005 fi
   5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5007 fi
   5008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5009 fi
   5010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5011    ac_c_werror_flag=$ac_save_c_werror_flag
   5012 fi
   5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5014 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5015 if test "$ac_test_CFLAGS" = set; then
   5016   CFLAGS=$ac_save_CFLAGS
   5017 elif test $ac_cv_prog_cc_g = yes; then
   5018   if test "$GCC" = yes; then
   5019     CFLAGS="-g -O2"
   5020   else
   5021     CFLAGS="-g"
   5022   fi
   5023 else
   5024   if test "$GCC" = yes; then
   5025     CFLAGS="-O2"
   5026   else
   5027     CFLAGS=
   5028   fi
   5029 fi
   5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5031 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5032 if ${ac_cv_prog_cc_c89+:} false; then :
   5033   $as_echo_n "(cached) " >&6
   5034 else
   5035   ac_cv_prog_cc_c89=no
   5036 ac_save_CC=$CC
   5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5038 /* end confdefs.h.  */
   5039 #include <stdarg.h>
   5040 #include <stdio.h>
   5041 struct stat;
   5042 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5043 struct buf { int x; };
   5044 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5045 static char *e (p, i)
   5046      char **p;
   5047      int i;
   5048 {
   5049   return p[i];
   5050 }
   5051 static char *f (char * (*g) (char **, int), char **p, ...)
   5052 {
   5053   char *s;
   5054   va_list v;
   5055   va_start (v,p);
   5056   s = g (p, va_arg (v,int));
   5057   va_end (v);
   5058   return s;
   5059 }
   5060 
   5061 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5062    function prototypes and stuff, but not '\xHH' hex character constants.
   5063    These don't provoke an error unfortunately, instead are silently treated
   5064    as 'x'.  The following induces an error, until -std is added to get
   5065    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5066    array size at least.  It's necessary to write '\x00'==0 to get something
   5067    that's true only with -std.  */
   5068 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5069 
   5070 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5071    inside strings and character constants.  */
   5072 #define FOO(x) 'x'
   5073 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5074 
   5075 int test (int i, double x);
   5076 struct s1 {int (*f) (int a);};
   5077 struct s2 {int (*f) (double a);};
   5078 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5079 int argc;
   5080 char **argv;
   5081 int
   5082 main ()
   5083 {
   5084 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5085   ;
   5086   return 0;
   5087 }
   5088 _ACEOF
   5089 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5090 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5091 do
   5092   CC="$ac_save_CC $ac_arg"
   5093   if ac_fn_c_try_compile "$LINENO"; then :
   5094   ac_cv_prog_cc_c89=$ac_arg
   5095 fi
   5096 rm -f core conftest.err conftest.$ac_objext
   5097   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5098 done
   5099 rm -f conftest.$ac_ext
   5100 CC=$ac_save_CC
   5101 
   5102 fi
   5103 # AC_CACHE_VAL
   5104 case "x$ac_cv_prog_cc_c89" in
   5105   x)
   5106     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5107 $as_echo "none needed" >&6; } ;;
   5108   xno)
   5109     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5110 $as_echo "unsupported" >&6; } ;;
   5111   *)
   5112     CC="$CC $ac_cv_prog_cc_c89"
   5113     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5114 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5115 esac
   5116 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5117 
   5118 fi
   5119 
   5120 ac_ext=c
   5121 ac_cpp='$CPP $CPPFLAGS'
   5122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5125 
   5126 ac_ext=c
   5127 ac_cpp='$CPP $CPPFLAGS'
   5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5132 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5133 if ${am_cv_prog_cc_c_o+:} false; then :
   5134   $as_echo_n "(cached) " >&6
   5135 else
   5136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5137 /* end confdefs.h.  */
   5138 
   5139 int
   5140 main ()
   5141 {
   5142 
   5143   ;
   5144   return 0;
   5145 }
   5146 _ACEOF
   5147   # Make sure it works both with $CC and with simple cc.
   5148   # Following AC_PROG_CC_C_O, we do the test twice because some
   5149   # compilers refuse to overwrite an existing .o file with -o,
   5150   # though they will create one.
   5151   am_cv_prog_cc_c_o=yes
   5152   for am_i in 1 2; do
   5153     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5154    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5155    ac_status=$?
   5156    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5157    (exit $ac_status); } \
   5158          && test -f conftest2.$ac_objext; then
   5159       : OK
   5160     else
   5161       am_cv_prog_cc_c_o=no
   5162       break
   5163     fi
   5164   done
   5165   rm -f core conftest*
   5166   unset am_i
   5167 fi
   5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5169 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5170 if test "$am_cv_prog_cc_c_o" != yes; then
   5171    # Losing compiler, so override with the script.
   5172    # FIXME: It is wrong to rewrite CC.
   5173    # But if we don't then we get into trouble of one sort or another.
   5174    # A longer-term fix would be to have automake use am__CC in this case,
   5175    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5176    CC="$am_aux_dir/compile $CC"
   5177 fi
   5178 ac_ext=c
   5179 ac_cpp='$CPP $CPPFLAGS'
   5180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5183 
   5184 
   5185 depcc="$CC"   am_compiler_list=
   5186 
   5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5188 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5189 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5190   $as_echo_n "(cached) " >&6
   5191 else
   5192   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5193   # We make a subdir and do the tests there.  Otherwise we can end up
   5194   # making bogus files that we don't know about and never remove.  For
   5195   # instance it was reported that on HP-UX the gcc test will end up
   5196   # making a dummy file named 'D' -- because '-MD' means "put the output
   5197   # in D".
   5198   rm -rf conftest.dir
   5199   mkdir conftest.dir
   5200   # Copy depcomp to subdir because otherwise we won't find it if we're
   5201   # using a relative directory.
   5202   cp "$am_depcomp" conftest.dir
   5203   cd conftest.dir
   5204   # We will build objects and dependencies in a subdirectory because
   5205   # it helps to detect inapplicable dependency modes.  For instance
   5206   # both Tru64's cc and ICC support -MD to output dependencies as a
   5207   # side effect of compilation, but ICC will put the dependencies in
   5208   # the current directory while Tru64 will put them in the object
   5209   # directory.
   5210   mkdir sub
   5211 
   5212   am_cv_CC_dependencies_compiler_type=none
   5213   if test "$am_compiler_list" = ""; then
   5214      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5215   fi
   5216   am__universal=false
   5217   case " $depcc " in #(
   5218      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5219      esac
   5220 
   5221   for depmode in $am_compiler_list; do
   5222     # Setup a source with many dependencies, because some compilers
   5223     # like to wrap large dependency lists on column 80 (with \), and
   5224     # we should not choose a depcomp mode which is confused by this.
   5225     #
   5226     # We need to recreate these files for each test, as the compiler may
   5227     # overwrite some of them when testing with obscure command lines.
   5228     # This happens at least with the AIX C compiler.
   5229     : > sub/conftest.c
   5230     for i in 1 2 3 4 5 6; do
   5231       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5232       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5233       # Solaris 10 /bin/sh.
   5234       echo '/* dummy */' > sub/conftst$i.h
   5235     done
   5236     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5237 
   5238     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5239     # mode.  It turns out that the SunPro C++ compiler does not properly
   5240     # handle '-M -o', and we need to detect this.  Also, some Intel
   5241     # versions had trouble with output in subdirs.
   5242     am__obj=sub/conftest.${OBJEXT-o}
   5243     am__minus_obj="-o $am__obj"
   5244     case $depmode in
   5245     gcc)
   5246       # This depmode causes a compiler race in universal mode.
   5247       test "$am__universal" = false || continue
   5248       ;;
   5249     nosideeffect)
   5250       # After this tag, mechanisms are not by side-effect, so they'll
   5251       # only be used when explicitly requested.
   5252       if test "x$enable_dependency_tracking" = xyes; then
   5253 	continue
   5254       else
   5255 	break
   5256       fi
   5257       ;;
   5258     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5259       # This compiler won't grok '-c -o', but also, the minuso test has
   5260       # not run yet.  These depmodes are late enough in the game, and
   5261       # so weak that their functioning should not be impacted.
   5262       am__obj=conftest.${OBJEXT-o}
   5263       am__minus_obj=
   5264       ;;
   5265     none) break ;;
   5266     esac
   5267     if depmode=$depmode \
   5268        source=sub/conftest.c object=$am__obj \
   5269        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5270        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5271          >/dev/null 2>conftest.err &&
   5272        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5273        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5274        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5275        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5276       # icc doesn't choke on unknown options, it will just issue warnings
   5277       # or remarks (even with -Werror).  So we grep stderr for any message
   5278       # that says an option was ignored or not supported.
   5279       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5280       #   icc: Command line warning: ignoring option '-M'; no argument required
   5281       # The diagnosis changed in icc 8.0:
   5282       #   icc: Command line remark: option '-MP' not supported
   5283       if (grep 'ignoring option' conftest.err ||
   5284           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5285         am_cv_CC_dependencies_compiler_type=$depmode
   5286         break
   5287       fi
   5288     fi
   5289   done
   5290 
   5291   cd ..
   5292   rm -rf conftest.dir
   5293 else
   5294   am_cv_CC_dependencies_compiler_type=none
   5295 fi
   5296 
   5297 fi
   5298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5299 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5300 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5301 
   5302  if
   5303   test "x$enable_dependency_tracking" != xno \
   5304   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5305   am__fastdepCC_TRUE=
   5306   am__fastdepCC_FALSE='#'
   5307 else
   5308   am__fastdepCC_TRUE='#'
   5309   am__fastdepCC_FALSE=
   5310 fi
   5311 
   5312 
   5313 ac_ext=cpp
   5314 ac_cpp='$CXXCPP $CPPFLAGS'
   5315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5318 if test -z "$CXX"; then
   5319   if test -n "$CCC"; then
   5320     CXX=$CCC
   5321   else
   5322     if test -n "$ac_tool_prefix"; then
   5323   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5324   do
   5325     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5326 set dummy $ac_tool_prefix$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 ${ac_cv_prog_CXX+:} false; then :
   5330   $as_echo_n "(cached) " >&6
   5331 else
   5332   if test -n "$CXX"; then
   5333   ac_cv_prog_CXX="$CXX" # 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 as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5342     ac_cv_prog_CXX="$ac_tool_prefix$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 CXX=$ac_cv_prog_CXX
   5353 if test -n "$CXX"; then
   5354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5355 $as_echo "$CXX" >&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 "$CXX" && break
   5363   done
   5364 fi
   5365 if test -z "$CXX"; then
   5366   ac_ct_CXX=$CXX
   5367   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5368 do
   5369   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5370 set dummy $ac_prog; ac_word=$2
   5371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5372 $as_echo_n "checking for $ac_word... " >&6; }
   5373 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5374   $as_echo_n "(cached) " >&6
   5375 else
   5376   if test -n "$ac_ct_CXX"; then
   5377   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5378 else
   5379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5380 for as_dir in $PATH
   5381 do
   5382   IFS=$as_save_IFS
   5383   test -z "$as_dir" && as_dir=.
   5384     for ac_exec_ext in '' $ac_executable_extensions; do
   5385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5386     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5388     break 2
   5389   fi
   5390 done
   5391   done
   5392 IFS=$as_save_IFS
   5393 
   5394 fi
   5395 fi
   5396 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5397 if test -n "$ac_ct_CXX"; then
   5398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5399 $as_echo "$ac_ct_CXX" >&6; }
   5400 else
   5401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5402 $as_echo "no" >&6; }
   5403 fi
   5404 
   5405 
   5406   test -n "$ac_ct_CXX" && break
   5407 done
   5408 
   5409   if test "x$ac_ct_CXX" = x; then
   5410     CXX="g++"
   5411   else
   5412     case $cross_compiling:$ac_tool_warned in
   5413 yes:)
   5414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5416 ac_tool_warned=yes ;;
   5417 esac
   5418     CXX=$ac_ct_CXX
   5419   fi
   5420 fi
   5421 
   5422   fi
   5423 fi
   5424 # Provide some information about the compiler.
   5425 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5426 set X $ac_compile
   5427 ac_compiler=$2
   5428 for ac_option in --version -v -V -qversion; do
   5429   { { ac_try="$ac_compiler $ac_option >&5"
   5430 case "(($ac_try" in
   5431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5432   *) ac_try_echo=$ac_try;;
   5433 esac
   5434 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5435 $as_echo "$ac_try_echo"; } >&5
   5436   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5437   ac_status=$?
   5438   if test -s conftest.err; then
   5439     sed '10a\
   5440 ... rest of stderr output deleted ...
   5441          10q' conftest.err >conftest.er1
   5442     cat conftest.er1 >&5
   5443   fi
   5444   rm -f conftest.er1 conftest.err
   5445   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5446   test $ac_status = 0; }
   5447 done
   5448 
   5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5450 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5451 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5452   $as_echo_n "(cached) " >&6
   5453 else
   5454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5455 /* end confdefs.h.  */
   5456 
   5457 int
   5458 main ()
   5459 {
   5460 #ifndef __GNUC__
   5461        choke me
   5462 #endif
   5463 
   5464   ;
   5465   return 0;
   5466 }
   5467 _ACEOF
   5468 if ac_fn_cxx_try_compile "$LINENO"; then :
   5469   ac_compiler_gnu=yes
   5470 else
   5471   ac_compiler_gnu=no
   5472 fi
   5473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5474 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5475 
   5476 fi
   5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5478 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5479 if test $ac_compiler_gnu = yes; then
   5480   GXX=yes
   5481 else
   5482   GXX=
   5483 fi
   5484 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5485 ac_save_CXXFLAGS=$CXXFLAGS
   5486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5487 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5488 if ${ac_cv_prog_cxx_g+:} false; then :
   5489   $as_echo_n "(cached) " >&6
   5490 else
   5491   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5492    ac_cxx_werror_flag=yes
   5493    ac_cv_prog_cxx_g=no
   5494    CXXFLAGS="-g"
   5495    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5496 /* end confdefs.h.  */
   5497 
   5498 int
   5499 main ()
   5500 {
   5501 
   5502   ;
   5503   return 0;
   5504 }
   5505 _ACEOF
   5506 if ac_fn_cxx_try_compile "$LINENO"; then :
   5507   ac_cv_prog_cxx_g=yes
   5508 else
   5509   CXXFLAGS=""
   5510       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5511 /* end confdefs.h.  */
   5512 
   5513 int
   5514 main ()
   5515 {
   5516 
   5517   ;
   5518   return 0;
   5519 }
   5520 _ACEOF
   5521 if ac_fn_cxx_try_compile "$LINENO"; then :
   5522 
   5523 else
   5524   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5525 	 CXXFLAGS="-g"
   5526 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5527 /* end confdefs.h.  */
   5528 
   5529 int
   5530 main ()
   5531 {
   5532 
   5533   ;
   5534   return 0;
   5535 }
   5536 _ACEOF
   5537 if ac_fn_cxx_try_compile "$LINENO"; then :
   5538   ac_cv_prog_cxx_g=yes
   5539 fi
   5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5543 fi
   5544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5545    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5546 fi
   5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5548 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5549 if test "$ac_test_CXXFLAGS" = set; then
   5550   CXXFLAGS=$ac_save_CXXFLAGS
   5551 elif test $ac_cv_prog_cxx_g = yes; then
   5552   if test "$GXX" = yes; then
   5553     CXXFLAGS="-g -O2"
   5554   else
   5555     CXXFLAGS="-g"
   5556   fi
   5557 else
   5558   if test "$GXX" = yes; then
   5559     CXXFLAGS="-O2"
   5560   else
   5561     CXXFLAGS=
   5562   fi
   5563 fi
   5564 ac_ext=c
   5565 ac_cpp='$CPP $CPPFLAGS'
   5566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5569 
   5570 depcc="$CXX"  am_compiler_list=
   5571 
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5573 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5574 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5578   # We make a subdir and do the tests there.  Otherwise we can end up
   5579   # making bogus files that we don't know about and never remove.  For
   5580   # instance it was reported that on HP-UX the gcc test will end up
   5581   # making a dummy file named 'D' -- because '-MD' means "put the output
   5582   # in D".
   5583   rm -rf conftest.dir
   5584   mkdir conftest.dir
   5585   # Copy depcomp to subdir because otherwise we won't find it if we're
   5586   # using a relative directory.
   5587   cp "$am_depcomp" conftest.dir
   5588   cd conftest.dir
   5589   # We will build objects and dependencies in a subdirectory because
   5590   # it helps to detect inapplicable dependency modes.  For instance
   5591   # both Tru64's cc and ICC support -MD to output dependencies as a
   5592   # side effect of compilation, but ICC will put the dependencies in
   5593   # the current directory while Tru64 will put them in the object
   5594   # directory.
   5595   mkdir sub
   5596 
   5597   am_cv_CXX_dependencies_compiler_type=none
   5598   if test "$am_compiler_list" = ""; then
   5599      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5600   fi
   5601   am__universal=false
   5602   case " $depcc " in #(
   5603      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5604      esac
   5605 
   5606   for depmode in $am_compiler_list; do
   5607     # Setup a source with many dependencies, because some compilers
   5608     # like to wrap large dependency lists on column 80 (with \), and
   5609     # we should not choose a depcomp mode which is confused by this.
   5610     #
   5611     # We need to recreate these files for each test, as the compiler may
   5612     # overwrite some of them when testing with obscure command lines.
   5613     # This happens at least with the AIX C compiler.
   5614     : > sub/conftest.c
   5615     for i in 1 2 3 4 5 6; do
   5616       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5617       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5618       # Solaris 10 /bin/sh.
   5619       echo '/* dummy */' > sub/conftst$i.h
   5620     done
   5621     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5622 
   5623     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5624     # mode.  It turns out that the SunPro C++ compiler does not properly
   5625     # handle '-M -o', and we need to detect this.  Also, some Intel
   5626     # versions had trouble with output in subdirs.
   5627     am__obj=sub/conftest.${OBJEXT-o}
   5628     am__minus_obj="-o $am__obj"
   5629     case $depmode in
   5630     gcc)
   5631       # This depmode causes a compiler race in universal mode.
   5632       test "$am__universal" = false || continue
   5633       ;;
   5634     nosideeffect)
   5635       # After this tag, mechanisms are not by side-effect, so they'll
   5636       # only be used when explicitly requested.
   5637       if test "x$enable_dependency_tracking" = xyes; then
   5638 	continue
   5639       else
   5640 	break
   5641       fi
   5642       ;;
   5643     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5644       # This compiler won't grok '-c -o', but also, the minuso test has
   5645       # not run yet.  These depmodes are late enough in the game, and
   5646       # so weak that their functioning should not be impacted.
   5647       am__obj=conftest.${OBJEXT-o}
   5648       am__minus_obj=
   5649       ;;
   5650     none) break ;;
   5651     esac
   5652     if depmode=$depmode \
   5653        source=sub/conftest.c object=$am__obj \
   5654        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5655        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5656          >/dev/null 2>conftest.err &&
   5657        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5658        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5659        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5660        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5661       # icc doesn't choke on unknown options, it will just issue warnings
   5662       # or remarks (even with -Werror).  So we grep stderr for any message
   5663       # that says an option was ignored or not supported.
   5664       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5665       #   icc: Command line warning: ignoring option '-M'; no argument required
   5666       # The diagnosis changed in icc 8.0:
   5667       #   icc: Command line remark: option '-MP' not supported
   5668       if (grep 'ignoring option' conftest.err ||
   5669           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5670         am_cv_CXX_dependencies_compiler_type=$depmode
   5671         break
   5672       fi
   5673     fi
   5674   done
   5675 
   5676   cd ..
   5677   rm -rf conftest.dir
   5678 else
   5679   am_cv_CXX_dependencies_compiler_type=none
   5680 fi
   5681 
   5682 fi
   5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5684 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5685 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5686 
   5687  if
   5688   test "x$enable_dependency_tracking" != xno \
   5689   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5690   am__fastdepCXX_TRUE=
   5691   am__fastdepCXX_FALSE='#'
   5692 else
   5693   am__fastdepCXX_TRUE='#'
   5694   am__fastdepCXX_FALSE=
   5695 fi
   5696 
   5697 
   5698 
   5699 if test -n "$ac_tool_prefix"; then
   5700   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5701 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5703 $as_echo_n "checking for $ac_word... " >&6; }
   5704 if ${ac_cv_prog_RANLIB+:} false; then :
   5705   $as_echo_n "(cached) " >&6
   5706 else
   5707   if test -n "$RANLIB"; then
   5708   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5709 else
   5710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5711 for as_dir in $PATH
   5712 do
   5713   IFS=$as_save_IFS
   5714   test -z "$as_dir" && as_dir=.
   5715     for ac_exec_ext in '' $ac_executable_extensions; do
   5716   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5717     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5719     break 2
   5720   fi
   5721 done
   5722   done
   5723 IFS=$as_save_IFS
   5724 
   5725 fi
   5726 fi
   5727 RANLIB=$ac_cv_prog_RANLIB
   5728 if test -n "$RANLIB"; then
   5729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5730 $as_echo "$RANLIB" >&6; }
   5731 else
   5732   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5733 $as_echo "no" >&6; }
   5734 fi
   5735 
   5736 
   5737 fi
   5738 if test -z "$ac_cv_prog_RANLIB"; then
   5739   ac_ct_RANLIB=$RANLIB
   5740   # Extract the first word of "ranlib", so it can be a program name with args.
   5741 set dummy ranlib; ac_word=$2
   5742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5743 $as_echo_n "checking for $ac_word... " >&6; }
   5744 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5745   $as_echo_n "(cached) " >&6
   5746 else
   5747   if test -n "$ac_ct_RANLIB"; then
   5748   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5749 else
   5750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5751 for as_dir in $PATH
   5752 do
   5753   IFS=$as_save_IFS
   5754   test -z "$as_dir" && as_dir=.
   5755     for ac_exec_ext in '' $ac_executable_extensions; do
   5756   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5757     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5758     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5759     break 2
   5760   fi
   5761 done
   5762   done
   5763 IFS=$as_save_IFS
   5764 
   5765 fi
   5766 fi
   5767 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5768 if test -n "$ac_ct_RANLIB"; then
   5769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5770 $as_echo "$ac_ct_RANLIB" >&6; }
   5771 else
   5772   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5773 $as_echo "no" >&6; }
   5774 fi
   5775 
   5776   if test "x$ac_ct_RANLIB" = x; then
   5777     RANLIB=":"
   5778   else
   5779     case $cross_compiling:$ac_tool_warned in
   5780 yes:)
   5781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5783 ac_tool_warned=yes ;;
   5784 esac
   5785     RANLIB=$ac_ct_RANLIB
   5786   fi
   5787 else
   5788   RANLIB="$ac_cv_prog_RANLIB"
   5789 fi
   5790 
   5791 if test -n "$ac_tool_prefix"; then
   5792   for ac_prog in ar lib "link -lib"
   5793   do
   5794     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5795 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5797 $as_echo_n "checking for $ac_word... " >&6; }
   5798 if ${ac_cv_prog_AR+:} false; then :
   5799   $as_echo_n "(cached) " >&6
   5800 else
   5801   if test -n "$AR"; then
   5802   ac_cv_prog_AR="$AR" # Let the user override the test.
   5803 else
   5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5805 for as_dir in $PATH
   5806 do
   5807   IFS=$as_save_IFS
   5808   test -z "$as_dir" && as_dir=.
   5809     for ac_exec_ext in '' $ac_executable_extensions; do
   5810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5811     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5813     break 2
   5814   fi
   5815 done
   5816   done
   5817 IFS=$as_save_IFS
   5818 
   5819 fi
   5820 fi
   5821 AR=$ac_cv_prog_AR
   5822 if test -n "$AR"; then
   5823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5824 $as_echo "$AR" >&6; }
   5825 else
   5826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5827 $as_echo "no" >&6; }
   5828 fi
   5829 
   5830 
   5831     test -n "$AR" && break
   5832   done
   5833 fi
   5834 if test -z "$AR"; then
   5835   ac_ct_AR=$AR
   5836   for ac_prog in ar lib "link -lib"
   5837 do
   5838   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5839 set dummy $ac_prog; ac_word=$2
   5840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5841 $as_echo_n "checking for $ac_word... " >&6; }
   5842 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5843   $as_echo_n "(cached) " >&6
   5844 else
   5845   if test -n "$ac_ct_AR"; then
   5846   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5847 else
   5848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5849 for as_dir in $PATH
   5850 do
   5851   IFS=$as_save_IFS
   5852   test -z "$as_dir" && as_dir=.
   5853     for ac_exec_ext in '' $ac_executable_extensions; do
   5854   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5855     ac_cv_prog_ac_ct_AR="$ac_prog"
   5856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5857     break 2
   5858   fi
   5859 done
   5860   done
   5861 IFS=$as_save_IFS
   5862 
   5863 fi
   5864 fi
   5865 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5866 if test -n "$ac_ct_AR"; then
   5867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5868 $as_echo "$ac_ct_AR" >&6; }
   5869 else
   5870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5871 $as_echo "no" >&6; }
   5872 fi
   5873 
   5874 
   5875   test -n "$ac_ct_AR" && break
   5876 done
   5877 
   5878   if test "x$ac_ct_AR" = x; then
   5879     AR="false"
   5880   else
   5881     case $cross_compiling:$ac_tool_warned in
   5882 yes:)
   5883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5884 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5885 ac_tool_warned=yes ;;
   5886 esac
   5887     AR=$ac_ct_AR
   5888   fi
   5889 fi
   5890 
   5891 : ${AR=ar}
   5892 
   5893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   5894 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   5895 if ${am_cv_ar_interface+:} false; then :
   5896   $as_echo_n "(cached) " >&6
   5897 else
   5898   ac_ext=c
   5899 ac_cpp='$CPP $CPPFLAGS'
   5900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5903 
   5904    am_cv_ar_interface=ar
   5905    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5906 /* end confdefs.h.  */
   5907 int some_variable = 0;
   5908 _ACEOF
   5909 if ac_fn_c_try_compile "$LINENO"; then :
   5910   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   5911       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5912   (eval $am_ar_try) 2>&5
   5913   ac_status=$?
   5914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5915   test $ac_status = 0; }
   5916       if test "$ac_status" -eq 0; then
   5917         am_cv_ar_interface=ar
   5918       else
   5919         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   5920         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5921   (eval $am_ar_try) 2>&5
   5922   ac_status=$?
   5923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5924   test $ac_status = 0; }
   5925         if test "$ac_status" -eq 0; then
   5926           am_cv_ar_interface=lib
   5927         else
   5928           am_cv_ar_interface=unknown
   5929         fi
   5930       fi
   5931       rm -f conftest.lib libconftest.a
   5932 
   5933 fi
   5934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5935    ac_ext=c
   5936 ac_cpp='$CPP $CPPFLAGS'
   5937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5940 
   5941 fi
   5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   5943 $as_echo "$am_cv_ar_interface" >&6; }
   5944 
   5945 case $am_cv_ar_interface in
   5946 ar)
   5947   ;;
   5948 lib)
   5949   # Microsoft lib, so override with the ar-lib wrapper script.
   5950   # FIXME: It is wrong to rewrite AR.
   5951   # But if we don't then we get into trouble of one sort or another.
   5952   # A longer-term fix would be to have automake use am__AR in this case,
   5953   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   5954   # similar.
   5955   AR="$am_aux_dir/ar-lib $AR"
   5956   ;;
   5957 unknown)
   5958   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   5959   ;;
   5960 esac
   5961 
   5962 
   5963 case `pwd` in
   5964   *\ * | *\	*)
   5965     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5966 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5967 esac
   5968 
   5969 
   5970 
   5971 macro_version='2.2.7a'
   5972 macro_revision='1.3134'
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 ltmain="$ac_aux_dir/ltmain.sh"
   5987 
   5988 # Backslashify metacharacters that are still active within
   5989 # double-quoted strings.
   5990 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5991 
   5992 # Same as above, but do not quote variable references.
   5993 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5994 
   5995 # Sed substitution to delay expansion of an escaped shell variable in a
   5996 # double_quote_subst'ed string.
   5997 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5998 
   5999 # Sed substitution to delay expansion of an escaped single quote.
   6000 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6001 
   6002 # Sed substitution to avoid accidental globbing in evaled expressions
   6003 no_glob_subst='s/\*/\\\*/g'
   6004 
   6005 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6006 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6007 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6008 
   6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6010 $as_echo_n "checking how to print strings... " >&6; }
   6011 # Test print first, because it will be a builtin if present.
   6012 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   6013    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6014   ECHO='print -r --'
   6015 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6016   ECHO='printf %s\n'
   6017 else
   6018   # Use this function as a fallback that always works.
   6019   func_fallback_echo ()
   6020   {
   6021     eval 'cat <<_LTECHO_EOF
   6022 $1
   6023 _LTECHO_EOF'
   6024   }
   6025   ECHO='func_fallback_echo'
   6026 fi
   6027 
   6028 # func_echo_all arg...
   6029 # Invoke $ECHO with all args, space-separated.
   6030 func_echo_all ()
   6031 {
   6032     $ECHO ""
   6033 }
   6034 
   6035 case "$ECHO" in
   6036   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6037 $as_echo "printf" >&6; } ;;
   6038   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6039 $as_echo "print -r" >&6; } ;;
   6040   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6041 $as_echo "cat" >&6; } ;;
   6042 esac
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6058 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6059 if ${ac_cv_path_SED+:} false; then :
   6060   $as_echo_n "(cached) " >&6
   6061 else
   6062             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6063      for ac_i in 1 2 3 4 5 6 7; do
   6064        ac_script="$ac_script$as_nl$ac_script"
   6065      done
   6066      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6067      { ac_script=; unset ac_script;}
   6068      if test -z "$SED"; then
   6069   ac_path_SED_found=false
   6070   # Loop through the user's path and test for each of PROGNAME-LIST
   6071   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6072 for as_dir in $PATH
   6073 do
   6074   IFS=$as_save_IFS
   6075   test -z "$as_dir" && as_dir=.
   6076     for ac_prog in sed gsed; do
   6077     for ac_exec_ext in '' $ac_executable_extensions; do
   6078       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6079       as_fn_executable_p "$ac_path_SED" || continue
   6080 # Check for GNU ac_path_SED and select it if it is found.
   6081   # Check for GNU $ac_path_SED
   6082 case `"$ac_path_SED" --version 2>&1` in
   6083 *GNU*)
   6084   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6085 *)
   6086   ac_count=0
   6087   $as_echo_n 0123456789 >"conftest.in"
   6088   while :
   6089   do
   6090     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6091     mv "conftest.tmp" "conftest.in"
   6092     cp "conftest.in" "conftest.nl"
   6093     $as_echo '' >> "conftest.nl"
   6094     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6095     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6096     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6097     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6098       # Best one so far, save it but keep looking for a better one
   6099       ac_cv_path_SED="$ac_path_SED"
   6100       ac_path_SED_max=$ac_count
   6101     fi
   6102     # 10*(2^10) chars as input seems more than enough
   6103     test $ac_count -gt 10 && break
   6104   done
   6105   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6106 esac
   6107 
   6108       $ac_path_SED_found && break 3
   6109     done
   6110   done
   6111   done
   6112 IFS=$as_save_IFS
   6113   if test -z "$ac_cv_path_SED"; then
   6114     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6115   fi
   6116 else
   6117   ac_cv_path_SED=$SED
   6118 fi
   6119 
   6120 fi
   6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6122 $as_echo "$ac_cv_path_SED" >&6; }
   6123  SED="$ac_cv_path_SED"
   6124   rm -f conftest.sed
   6125 
   6126 test -z "$SED" && SED=sed
   6127 Xsed="$SED -e 1s/^X//"
   6128 
   6129 
   6130 
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6140 $as_echo_n "checking for fgrep... " >&6; }
   6141 if ${ac_cv_path_FGREP+:} false; then :
   6142   $as_echo_n "(cached) " >&6
   6143 else
   6144   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6145    then ac_cv_path_FGREP="$GREP -F"
   6146    else
   6147      if test -z "$FGREP"; then
   6148   ac_path_FGREP_found=false
   6149   # Loop through the user's path and test for each of PROGNAME-LIST
   6150   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6151 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6152 do
   6153   IFS=$as_save_IFS
   6154   test -z "$as_dir" && as_dir=.
   6155     for ac_prog in fgrep; do
   6156     for ac_exec_ext in '' $ac_executable_extensions; do
   6157       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6158       as_fn_executable_p "$ac_path_FGREP" || continue
   6159 # Check for GNU ac_path_FGREP and select it if it is found.
   6160   # Check for GNU $ac_path_FGREP
   6161 case `"$ac_path_FGREP" --version 2>&1` in
   6162 *GNU*)
   6163   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6164 *)
   6165   ac_count=0
   6166   $as_echo_n 0123456789 >"conftest.in"
   6167   while :
   6168   do
   6169     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6170     mv "conftest.tmp" "conftest.in"
   6171     cp "conftest.in" "conftest.nl"
   6172     $as_echo 'FGREP' >> "conftest.nl"
   6173     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6174     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6175     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6176     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6177       # Best one so far, save it but keep looking for a better one
   6178       ac_cv_path_FGREP="$ac_path_FGREP"
   6179       ac_path_FGREP_max=$ac_count
   6180     fi
   6181     # 10*(2^10) chars as input seems more than enough
   6182     test $ac_count -gt 10 && break
   6183   done
   6184   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6185 esac
   6186 
   6187       $ac_path_FGREP_found && break 3
   6188     done
   6189   done
   6190   done
   6191 IFS=$as_save_IFS
   6192   if test -z "$ac_cv_path_FGREP"; then
   6193     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6194   fi
   6195 else
   6196   ac_cv_path_FGREP=$FGREP
   6197 fi
   6198 
   6199    fi
   6200 fi
   6201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6202 $as_echo "$ac_cv_path_FGREP" >&6; }
   6203  FGREP="$ac_cv_path_FGREP"
   6204 
   6205 
   6206 test -z "$GREP" && GREP=grep
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 # Check whether --with-gnu-ld was given.
   6227 if test "${with_gnu_ld+set}" = set; then :
   6228   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6229 else
   6230   with_gnu_ld=no
   6231 fi
   6232 
   6233 ac_prog=ld
   6234 if test "$GCC" = yes; then
   6235   # Check if gcc -print-prog-name=ld gives a path.
   6236   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6237 $as_echo_n "checking for ld used by $CC... " >&6; }
   6238   case $host in
   6239   *-*-mingw*)
   6240     # gcc leaves a trailing carriage return which upsets mingw
   6241     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6242   *)
   6243     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6244   esac
   6245   case $ac_prog in
   6246     # Accept absolute paths.
   6247     [\\/]* | ?:[\\/]*)
   6248       re_direlt='/[^/][^/]*/\.\./'
   6249       # Canonicalize the pathname of ld
   6250       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6251       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6252 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6253       done
   6254       test -z "$LD" && LD="$ac_prog"
   6255       ;;
   6256   "")
   6257     # If it fails, then pretend we aren't using GCC.
   6258     ac_prog=ld
   6259     ;;
   6260   *)
   6261     # If it is relative, then search for the first ld in PATH.
   6262     with_gnu_ld=unknown
   6263     ;;
   6264   esac
   6265 elif test "$with_gnu_ld" = yes; then
   6266   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6267 $as_echo_n "checking for GNU ld... " >&6; }
   6268 else
   6269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6270 $as_echo_n "checking for non-GNU ld... " >&6; }
   6271 fi
   6272 if ${lt_cv_path_LD+:} false; then :
   6273   $as_echo_n "(cached) " >&6
   6274 else
   6275   if test -z "$LD"; then
   6276   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6277   for ac_dir in $PATH; do
   6278     IFS="$lt_save_ifs"
   6279     test -z "$ac_dir" && ac_dir=.
   6280     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6281       lt_cv_path_LD="$ac_dir/$ac_prog"
   6282       # Check to see if the program is GNU ld.  I'd rather use --version,
   6283       # but apparently some variants of GNU ld only accept -v.
   6284       # Break only if it was the GNU/non-GNU ld that we prefer.
   6285       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6286       *GNU* | *'with BFD'*)
   6287 	test "$with_gnu_ld" != no && break
   6288 	;;
   6289       *)
   6290 	test "$with_gnu_ld" != yes && break
   6291 	;;
   6292       esac
   6293     fi
   6294   done
   6295   IFS="$lt_save_ifs"
   6296 else
   6297   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6298 fi
   6299 fi
   6300 
   6301 LD="$lt_cv_path_LD"
   6302 if test -n "$LD"; then
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6304 $as_echo "$LD" >&6; }
   6305 else
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6307 $as_echo "no" >&6; }
   6308 fi
   6309 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6311 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6312 if ${lt_cv_prog_gnu_ld+:} false; then :
   6313   $as_echo_n "(cached) " >&6
   6314 else
   6315   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6316 case `$LD -v 2>&1 </dev/null` in
   6317 *GNU* | *'with BFD'*)
   6318   lt_cv_prog_gnu_ld=yes
   6319   ;;
   6320 *)
   6321   lt_cv_prog_gnu_ld=no
   6322   ;;
   6323 esac
   6324 fi
   6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6326 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6327 with_gnu_ld=$lt_cv_prog_gnu_ld
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6338 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6339 if ${lt_cv_path_NM+:} false; then :
   6340   $as_echo_n "(cached) " >&6
   6341 else
   6342   if test -n "$NM"; then
   6343    # Let the user override the nm to test.
   6344    lt_nm_to_check="$NM"
   6345  else
   6346    lt_nm_to_check="${ac_tool_prefix}nm"
   6347    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6348      lt_nm_to_check="$lt_nm_to_check nm"
   6349    fi
   6350  fi
   6351  for lt_tmp_nm in "$lt_nm_to_check"; do
   6352    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6353    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6354      IFS="$lt_save_ifs"
   6355      test -z "$ac_dir" && ac_dir=.
   6356      # Strip out any user-provided options from the nm to test twice,
   6357      # the first time to test to see if nm (rather than its options) has
   6358      # an explicit path, the second time to yield a file which can be
   6359      # nm'ed itself.
   6360      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   6361      case "$tmp_nm_path" in
   6362      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   6363      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   6364      esac
   6365      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   6366      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   6367        # Check to see if the nm accepts a BSD-compat flag.
   6368        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6369        #   nm: unknown option "B" ignored
   6370        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6371        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   6372 	 break
   6373 	 ;;
   6374        *)
   6375 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6376 	 *$tmp_nm*)
   6377 	   lt_cv_path_NM="$tmp_nm -p"
   6378 	   break
   6379 	   ;;
   6380 	 *)
   6381 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6382 	   continue # so that we can try to find one that supports BSD flags
   6383 	   ;;
   6384 	 esac
   6385 	 ;;
   6386        esac
   6387      fi
   6388    done
   6389    IFS="$lt_save_ifs"
   6390  done
   6391  : ${lt_cv_path_NM=no}
   6392 fi
   6393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6394 $as_echo "$lt_cv_path_NM" >&6; }
   6395 if test "$lt_cv_path_NM" != "no"; then
   6396   NM="$lt_cv_path_NM"
   6397 else
   6398   # Didn't find any BSD compatible name lister, look for dumpbin.
   6399   if test -n "$DUMPBIN"; then :
   6400     # Let the user override the test.
   6401   else
   6402     if test -n "$ac_tool_prefix"; then
   6403   for ac_prog in dumpbin "link -dump"
   6404   do
   6405     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6406 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6408 $as_echo_n "checking for $ac_word... " >&6; }
   6409 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6410   $as_echo_n "(cached) " >&6
   6411 else
   6412   if test -n "$DUMPBIN"; then
   6413   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6414 else
   6415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6416 for as_dir in $PATH
   6417 do
   6418   IFS=$as_save_IFS
   6419   test -z "$as_dir" && as_dir=.
   6420     for ac_exec_ext in '' $ac_executable_extensions; do
   6421   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6422     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6423     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6424     break 2
   6425   fi
   6426 done
   6427   done
   6428 IFS=$as_save_IFS
   6429 
   6430 fi
   6431 fi
   6432 DUMPBIN=$ac_cv_prog_DUMPBIN
   6433 if test -n "$DUMPBIN"; then
   6434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6435 $as_echo "$DUMPBIN" >&6; }
   6436 else
   6437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6438 $as_echo "no" >&6; }
   6439 fi
   6440 
   6441 
   6442     test -n "$DUMPBIN" && break
   6443   done
   6444 fi
   6445 if test -z "$DUMPBIN"; then
   6446   ac_ct_DUMPBIN=$DUMPBIN
   6447   for ac_prog in dumpbin "link -dump"
   6448 do
   6449   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6450 set dummy $ac_prog; ac_word=$2
   6451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6452 $as_echo_n "checking for $ac_word... " >&6; }
   6453 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6454   $as_echo_n "(cached) " >&6
   6455 else
   6456   if test -n "$ac_ct_DUMPBIN"; then
   6457   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6458 else
   6459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6460 for as_dir in $PATH
   6461 do
   6462   IFS=$as_save_IFS
   6463   test -z "$as_dir" && as_dir=.
   6464     for ac_exec_ext in '' $ac_executable_extensions; do
   6465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6466     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6468     break 2
   6469   fi
   6470 done
   6471   done
   6472 IFS=$as_save_IFS
   6473 
   6474 fi
   6475 fi
   6476 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6477 if test -n "$ac_ct_DUMPBIN"; then
   6478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6479 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6480 else
   6481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6482 $as_echo "no" >&6; }
   6483 fi
   6484 
   6485 
   6486   test -n "$ac_ct_DUMPBIN" && break
   6487 done
   6488 
   6489   if test "x$ac_ct_DUMPBIN" = x; then
   6490     DUMPBIN=":"
   6491   else
   6492     case $cross_compiling:$ac_tool_warned in
   6493 yes:)
   6494 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6495 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6496 ac_tool_warned=yes ;;
   6497 esac
   6498     DUMPBIN=$ac_ct_DUMPBIN
   6499   fi
   6500 fi
   6501 
   6502     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6503     *COFF*)
   6504       DUMPBIN="$DUMPBIN -symbols"
   6505       ;;
   6506     *)
   6507       DUMPBIN=:
   6508       ;;
   6509     esac
   6510   fi
   6511 
   6512   if test "$DUMPBIN" != ":"; then
   6513     NM="$DUMPBIN"
   6514   fi
   6515 fi
   6516 test -z "$NM" && NM=nm
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6524 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6525 if ${lt_cv_nm_interface+:} false; then :
   6526   $as_echo_n "(cached) " >&6
   6527 else
   6528   lt_cv_nm_interface="BSD nm"
   6529   echo "int some_variable = 0;" > conftest.$ac_ext
   6530   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6531   (eval "$ac_compile" 2>conftest.err)
   6532   cat conftest.err >&5
   6533   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6534   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6535   cat conftest.err >&5
   6536   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6537   cat conftest.out >&5
   6538   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6539     lt_cv_nm_interface="MS dumpbin"
   6540   fi
   6541   rm -f conftest*
   6542 fi
   6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6544 $as_echo "$lt_cv_nm_interface" >&6; }
   6545 
   6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6547 $as_echo_n "checking whether ln -s works... " >&6; }
   6548 LN_S=$as_ln_s
   6549 if test "$LN_S" = "ln -s"; then
   6550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6551 $as_echo "yes" >&6; }
   6552 else
   6553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6554 $as_echo "no, using $LN_S" >&6; }
   6555 fi
   6556 
   6557 # find the maximum length of command line arguments
   6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6559 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6560 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6561   $as_echo_n "(cached) " >&6
   6562 else
   6563     i=0
   6564   teststring="ABCD"
   6565 
   6566   case $build_os in
   6567   msdosdjgpp*)
   6568     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6569     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6570     # during glob expansion).  Even if it were fixed, the result of this
   6571     # check would be larger than it should be.
   6572     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6573     ;;
   6574 
   6575   gnu*)
   6576     # Under GNU Hurd, this test is not required because there is
   6577     # no limit to the length of command line arguments.
   6578     # Libtool will interpret -1 as no limit whatsoever
   6579     lt_cv_sys_max_cmd_len=-1;
   6580     ;;
   6581 
   6582   cygwin* | mingw* | cegcc*)
   6583     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6584     # about 5 minutes as the teststring grows exponentially.
   6585     # Worse, since 9x/ME are not pre-emptively multitasking,
   6586     # you end up with a "frozen" computer, even though with patience
   6587     # the test eventually succeeds (with a max line length of 256k).
   6588     # Instead, let's just punt: use the minimum linelength reported by
   6589     # all of the supported platforms: 8192 (on NT/2K/XP).
   6590     lt_cv_sys_max_cmd_len=8192;
   6591     ;;
   6592 
   6593   mint*)
   6594     # On MiNT this can take a long time and run out of memory.
   6595     lt_cv_sys_max_cmd_len=8192;
   6596     ;;
   6597 
   6598   amigaos*)
   6599     # On AmigaOS with pdksh, this test takes hours, literally.
   6600     # So we just punt and use a minimum line length of 8192.
   6601     lt_cv_sys_max_cmd_len=8192;
   6602     ;;
   6603 
   6604   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6605     # This has been around since 386BSD, at least.  Likely further.
   6606     if test -x /sbin/sysctl; then
   6607       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6608     elif test -x /usr/sbin/sysctl; then
   6609       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6610     else
   6611       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6612     fi
   6613     # And add a safety zone
   6614     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6615     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6616     ;;
   6617 
   6618   interix*)
   6619     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6620     lt_cv_sys_max_cmd_len=196608
   6621     ;;
   6622 
   6623   osf*)
   6624     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6625     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6626     # nice to cause kernel panics so lets avoid the loop below.
   6627     # First set a reasonable default.
   6628     lt_cv_sys_max_cmd_len=16384
   6629     #
   6630     if test -x /sbin/sysconfig; then
   6631       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6632         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6633       esac
   6634     fi
   6635     ;;
   6636   sco3.2v5*)
   6637     lt_cv_sys_max_cmd_len=102400
   6638     ;;
   6639   sysv5* | sco5v6* | sysv4.2uw2*)
   6640     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6641     if test -n "$kargmax"; then
   6642       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6643     else
   6644       lt_cv_sys_max_cmd_len=32768
   6645     fi
   6646     ;;
   6647   *)
   6648     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6649     if test -n "$lt_cv_sys_max_cmd_len"; then
   6650       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6651       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6652     else
   6653       # Make teststring a little bigger before we do anything with it.
   6654       # a 1K string should be a reasonable start.
   6655       for i in 1 2 3 4 5 6 7 8 ; do
   6656         teststring=$teststring$teststring
   6657       done
   6658       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6659       # If test is not a shell built-in, we'll probably end up computing a
   6660       # maximum length that is only half of the actual maximum length, but
   6661       # we can't tell.
   6662       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6663 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6664 	      test $i != 17 # 1/2 MB should be enough
   6665       do
   6666         i=`expr $i + 1`
   6667         teststring=$teststring$teststring
   6668       done
   6669       # Only check the string length outside the loop.
   6670       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6671       teststring=
   6672       # Add a significant safety factor because C++ compilers can tack on
   6673       # massive amounts of additional arguments before passing them to the
   6674       # linker.  It appears as though 1/2 is a usable value.
   6675       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6676     fi
   6677     ;;
   6678   esac
   6679 
   6680 fi
   6681 
   6682 if test -n $lt_cv_sys_max_cmd_len ; then
   6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6684 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6685 else
   6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6687 $as_echo "none" >&6; }
   6688 fi
   6689 max_cmd_len=$lt_cv_sys_max_cmd_len
   6690 
   6691 
   6692 
   6693 
   6694 
   6695 
   6696 : ${CP="cp -f"}
   6697 : ${MV="mv -f"}
   6698 : ${RM="rm -f"}
   6699 
   6700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6701 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6702 # Try some XSI features
   6703 xsi_shell=no
   6704 ( _lt_dummy="a/b/c"
   6705   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6706       = c,a/b,, \
   6707     && eval 'test $(( 1 + 1 )) -eq 2 \
   6708     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6709   && xsi_shell=yes
   6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6711 $as_echo "$xsi_shell" >&6; }
   6712 
   6713 
   6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6715 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6716 lt_shell_append=no
   6717 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6718     >/dev/null 2>&1 \
   6719   && lt_shell_append=yes
   6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6721 $as_echo "$lt_shell_append" >&6; }
   6722 
   6723 
   6724 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6725   lt_unset=unset
   6726 else
   6727   lt_unset=false
   6728 fi
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 # test EBCDIC or ASCII
   6735 case `echo X|tr X '\101'` in
   6736  A) # ASCII based system
   6737     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6738   lt_SP2NL='tr \040 \012'
   6739   lt_NL2SP='tr \015\012 \040\040'
   6740   ;;
   6741  *) # EBCDIC based system
   6742   lt_SP2NL='tr \100 \n'
   6743   lt_NL2SP='tr \r\n \100\100'
   6744   ;;
   6745 esac
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6756 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6757 if ${lt_cv_ld_reload_flag+:} false; then :
   6758   $as_echo_n "(cached) " >&6
   6759 else
   6760   lt_cv_ld_reload_flag='-r'
   6761 fi
   6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6763 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6764 reload_flag=$lt_cv_ld_reload_flag
   6765 case $reload_flag in
   6766 "" | " "*) ;;
   6767 *) reload_flag=" $reload_flag" ;;
   6768 esac
   6769 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6770 case $host_os in
   6771   darwin*)
   6772     if test "$GCC" = yes; then
   6773       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6774     else
   6775       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6776     fi
   6777     ;;
   6778 esac
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 
   6786 
   6787 
   6788 if test -n "$ac_tool_prefix"; then
   6789   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6790 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6792 $as_echo_n "checking for $ac_word... " >&6; }
   6793 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6794   $as_echo_n "(cached) " >&6
   6795 else
   6796   if test -n "$OBJDUMP"; then
   6797   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6798 else
   6799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6800 for as_dir in $PATH
   6801 do
   6802   IFS=$as_save_IFS
   6803   test -z "$as_dir" && as_dir=.
   6804     for ac_exec_ext in '' $ac_executable_extensions; do
   6805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6806     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6808     break 2
   6809   fi
   6810 done
   6811   done
   6812 IFS=$as_save_IFS
   6813 
   6814 fi
   6815 fi
   6816 OBJDUMP=$ac_cv_prog_OBJDUMP
   6817 if test -n "$OBJDUMP"; then
   6818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6819 $as_echo "$OBJDUMP" >&6; }
   6820 else
   6821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6822 $as_echo "no" >&6; }
   6823 fi
   6824 
   6825 
   6826 fi
   6827 if test -z "$ac_cv_prog_OBJDUMP"; then
   6828   ac_ct_OBJDUMP=$OBJDUMP
   6829   # Extract the first word of "objdump", so it can be a program name with args.
   6830 set dummy objdump; ac_word=$2
   6831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6832 $as_echo_n "checking for $ac_word... " >&6; }
   6833 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6834   $as_echo_n "(cached) " >&6
   6835 else
   6836   if test -n "$ac_ct_OBJDUMP"; then
   6837   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6838 else
   6839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6840 for as_dir in $PATH
   6841 do
   6842   IFS=$as_save_IFS
   6843   test -z "$as_dir" && as_dir=.
   6844     for ac_exec_ext in '' $ac_executable_extensions; do
   6845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6846     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6848     break 2
   6849   fi
   6850 done
   6851   done
   6852 IFS=$as_save_IFS
   6853 
   6854 fi
   6855 fi
   6856 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6857 if test -n "$ac_ct_OBJDUMP"; then
   6858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6859 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6860 else
   6861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6862 $as_echo "no" >&6; }
   6863 fi
   6864 
   6865   if test "x$ac_ct_OBJDUMP" = x; then
   6866     OBJDUMP="false"
   6867   else
   6868     case $cross_compiling:$ac_tool_warned in
   6869 yes:)
   6870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6872 ac_tool_warned=yes ;;
   6873 esac
   6874     OBJDUMP=$ac_ct_OBJDUMP
   6875   fi
   6876 else
   6877   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6878 fi
   6879 
   6880 test -z "$OBJDUMP" && OBJDUMP=objdump
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 
   6888 
   6889 
   6890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6891 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6892 if ${lt_cv_deplibs_check_method+:} false; then :
   6893   $as_echo_n "(cached) " >&6
   6894 else
   6895   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6896 lt_cv_file_magic_test_file=
   6897 lt_cv_deplibs_check_method='unknown'
   6898 # Need to set the preceding variable on all platforms that support
   6899 # interlibrary dependencies.
   6900 # 'none' -- dependencies not supported.
   6901 # `unknown' -- same as none, but documents that we really don't know.
   6902 # 'pass_all' -- all dependencies passed with no checks.
   6903 # 'test_compile' -- check by making test program.
   6904 # 'file_magic [[regex]]' -- check by looking for files in library path
   6905 # which responds to the $file_magic_cmd with a given extended regex.
   6906 # If you have `file' or equivalent on your system and you're not sure
   6907 # whether `pass_all' will *always* work, you probably want this one.
   6908 
   6909 case $host_os in
   6910 aix[4-9]*)
   6911   lt_cv_deplibs_check_method=pass_all
   6912   ;;
   6913 
   6914 beos*)
   6915   lt_cv_deplibs_check_method=pass_all
   6916   ;;
   6917 
   6918 bsdi[45]*)
   6919   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6920   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6921   lt_cv_file_magic_test_file=/shlib/libc.so
   6922   ;;
   6923 
   6924 cygwin*)
   6925   # func_win32_libid is a shell function defined in ltmain.sh
   6926   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6927   lt_cv_file_magic_cmd='func_win32_libid'
   6928   ;;
   6929 
   6930 mingw* | pw32*)
   6931   # Base MSYS/MinGW do not provide the 'file' command needed by
   6932   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6933   # unless we find 'file', for example because we are cross-compiling.
   6934   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6935   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6936     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6937     lt_cv_file_magic_cmd='func_win32_libid'
   6938   else
   6939     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6940     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6941   fi
   6942   ;;
   6943 
   6944 cegcc*)
   6945   # use the weaker test based on 'objdump'. See mingw*.
   6946   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6947   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6948   ;;
   6949 
   6950 darwin* | rhapsody*)
   6951   lt_cv_deplibs_check_method=pass_all
   6952   ;;
   6953 
   6954 freebsd* | dragonfly*)
   6955   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6956     case $host_cpu in
   6957     i*86 )
   6958       # Not sure whether the presence of OpenBSD here was a mistake.
   6959       # Let's accept both of them until this is cleared up.
   6960       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6961       lt_cv_file_magic_cmd=/usr/bin/file
   6962       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6963       ;;
   6964     esac
   6965   else
   6966     lt_cv_deplibs_check_method=pass_all
   6967   fi
   6968   ;;
   6969 
   6970 gnu*)
   6971   lt_cv_deplibs_check_method=pass_all
   6972   ;;
   6973 
   6974 haiku*)
   6975   lt_cv_deplibs_check_method=pass_all
   6976   ;;
   6977 
   6978 hpux10.20* | hpux11*)
   6979   lt_cv_file_magic_cmd=/usr/bin/file
   6980   case $host_cpu in
   6981   ia64*)
   6982     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6983     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6984     ;;
   6985   hppa*64*)
   6986     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]'
   6987     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6988     ;;
   6989   *)
   6990     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6991     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6992     ;;
   6993   esac
   6994   ;;
   6995 
   6996 interix[3-9]*)
   6997   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6998   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6999   ;;
   7000 
   7001 irix5* | irix6* | nonstopux*)
   7002   case $LD in
   7003   *-32|*"-32 ") libmagic=32-bit;;
   7004   *-n32|*"-n32 ") libmagic=N32;;
   7005   *-64|*"-64 ") libmagic=64-bit;;
   7006   *) libmagic=never-match;;
   7007   esac
   7008   lt_cv_deplibs_check_method=pass_all
   7009   ;;
   7010 
   7011 # This must be Linux ELF.
   7012 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   7013   lt_cv_deplibs_check_method=pass_all
   7014   ;;
   7015 
   7016 netbsd*)
   7017   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7018     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7019   else
   7020     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7021   fi
   7022   ;;
   7023 
   7024 newos6*)
   7025   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7026   lt_cv_file_magic_cmd=/usr/bin/file
   7027   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7028   ;;
   7029 
   7030 *nto* | *qnx*)
   7031   lt_cv_deplibs_check_method=pass_all
   7032   ;;
   7033 
   7034 openbsd*)
   7035   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7036     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7037   else
   7038     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7039   fi
   7040   ;;
   7041 
   7042 osf3* | osf4* | osf5*)
   7043   lt_cv_deplibs_check_method=pass_all
   7044   ;;
   7045 
   7046 rdos*)
   7047   lt_cv_deplibs_check_method=pass_all
   7048   ;;
   7049 
   7050 solaris*)
   7051   lt_cv_deplibs_check_method=pass_all
   7052   ;;
   7053 
   7054 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7055   lt_cv_deplibs_check_method=pass_all
   7056   ;;
   7057 
   7058 sysv4 | sysv4.3*)
   7059   case $host_vendor in
   7060   motorola)
   7061     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]'
   7062     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7063     ;;
   7064   ncr)
   7065     lt_cv_deplibs_check_method=pass_all
   7066     ;;
   7067   sequent)
   7068     lt_cv_file_magic_cmd='/bin/file'
   7069     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7070     ;;
   7071   sni)
   7072     lt_cv_file_magic_cmd='/bin/file'
   7073     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7074     lt_cv_file_magic_test_file=/lib/libc.so
   7075     ;;
   7076   siemens)
   7077     lt_cv_deplibs_check_method=pass_all
   7078     ;;
   7079   pc)
   7080     lt_cv_deplibs_check_method=pass_all
   7081     ;;
   7082   esac
   7083   ;;
   7084 
   7085 tpf*)
   7086   lt_cv_deplibs_check_method=pass_all
   7087   ;;
   7088 vxworks*)
   7089   # Assume VxWorks cross toolchains are built on Linux, possibly
   7090   # as canadian for Windows hosts.
   7091   lt_cv_deplibs_check_method=pass_all
   7092   ;;
   7093 esac
   7094 
   7095 fi
   7096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7097 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7098 file_magic_cmd=$lt_cv_file_magic_cmd
   7099 deplibs_check_method=$lt_cv_deplibs_check_method
   7100 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 plugin_option=
   7114 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   7115 for plugin in $plugin_names; do
   7116   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   7117   if test x$plugin_so = x$plugin; then
   7118     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   7119   fi
   7120   if test x$plugin_so != x$plugin; then
   7121     plugin_option="--plugin $plugin_so"
   7122     break
   7123   fi
   7124 done
   7125 
   7126 if test -n "$ac_tool_prefix"; then
   7127   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7128 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7130 $as_echo_n "checking for $ac_word... " >&6; }
   7131 if ${ac_cv_prog_AR+:} false; then :
   7132   $as_echo_n "(cached) " >&6
   7133 else
   7134   if test -n "$AR"; then
   7135   ac_cv_prog_AR="$AR" # Let the user override the test.
   7136 else
   7137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7138 for as_dir in $PATH
   7139 do
   7140   IFS=$as_save_IFS
   7141   test -z "$as_dir" && as_dir=.
   7142     for ac_exec_ext in '' $ac_executable_extensions; do
   7143   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7144     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7145     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7146     break 2
   7147   fi
   7148 done
   7149   done
   7150 IFS=$as_save_IFS
   7151 
   7152 fi
   7153 fi
   7154 AR=$ac_cv_prog_AR
   7155 if test -n "$AR"; then
   7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7157 $as_echo "$AR" >&6; }
   7158 else
   7159   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7160 $as_echo "no" >&6; }
   7161 fi
   7162 
   7163 
   7164 fi
   7165 if test -z "$ac_cv_prog_AR"; then
   7166   ac_ct_AR=$AR
   7167   # Extract the first word of "ar", so it can be a program name with args.
   7168 set dummy ar; ac_word=$2
   7169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7170 $as_echo_n "checking for $ac_word... " >&6; }
   7171 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7172   $as_echo_n "(cached) " >&6
   7173 else
   7174   if test -n "$ac_ct_AR"; then
   7175   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7176 else
   7177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7178 for as_dir in $PATH
   7179 do
   7180   IFS=$as_save_IFS
   7181   test -z "$as_dir" && as_dir=.
   7182     for ac_exec_ext in '' $ac_executable_extensions; do
   7183   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7184     ac_cv_prog_ac_ct_AR="ar"
   7185     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7186     break 2
   7187   fi
   7188 done
   7189   done
   7190 IFS=$as_save_IFS
   7191 
   7192 fi
   7193 fi
   7194 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7195 if test -n "$ac_ct_AR"; then
   7196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7197 $as_echo "$ac_ct_AR" >&6; }
   7198 else
   7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7200 $as_echo "no" >&6; }
   7201 fi
   7202 
   7203   if test "x$ac_ct_AR" = x; then
   7204     AR="false"
   7205   else
   7206     case $cross_compiling:$ac_tool_warned in
   7207 yes:)
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7210 ac_tool_warned=yes ;;
   7211 esac
   7212     AR=$ac_ct_AR
   7213   fi
   7214 else
   7215   AR="$ac_cv_prog_AR"
   7216 fi
   7217 
   7218 test -z "$AR" && AR=ar
   7219 if test -n "$plugin_option"; then
   7220   if $AR --help 2>&1 | grep -q "\--plugin"; then
   7221     touch conftest.c
   7222     $AR $plugin_option rc conftest.a conftest.c
   7223     if test "$?" != 0; then
   7224       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   7225 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   7226     else
   7227       AR="$AR $plugin_option"
   7228     fi
   7229     rm -f conftest.*
   7230   fi
   7231 fi
   7232 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 if test -n "$ac_tool_prefix"; then
   7245   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7246 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7248 $as_echo_n "checking for $ac_word... " >&6; }
   7249 if ${ac_cv_prog_STRIP+:} false; then :
   7250   $as_echo_n "(cached) " >&6
   7251 else
   7252   if test -n "$STRIP"; then
   7253   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7254 else
   7255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7256 for as_dir in $PATH
   7257 do
   7258   IFS=$as_save_IFS
   7259   test -z "$as_dir" && as_dir=.
   7260     for ac_exec_ext in '' $ac_executable_extensions; do
   7261   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7262     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7263     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7264     break 2
   7265   fi
   7266 done
   7267   done
   7268 IFS=$as_save_IFS
   7269 
   7270 fi
   7271 fi
   7272 STRIP=$ac_cv_prog_STRIP
   7273 if test -n "$STRIP"; then
   7274   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7275 $as_echo "$STRIP" >&6; }
   7276 else
   7277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7278 $as_echo "no" >&6; }
   7279 fi
   7280 
   7281 
   7282 fi
   7283 if test -z "$ac_cv_prog_STRIP"; then
   7284   ac_ct_STRIP=$STRIP
   7285   # Extract the first word of "strip", so it can be a program name with args.
   7286 set dummy strip; ac_word=$2
   7287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7288 $as_echo_n "checking for $ac_word... " >&6; }
   7289 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7290   $as_echo_n "(cached) " >&6
   7291 else
   7292   if test -n "$ac_ct_STRIP"; then
   7293   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7294 else
   7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7296 for as_dir in $PATH
   7297 do
   7298   IFS=$as_save_IFS
   7299   test -z "$as_dir" && as_dir=.
   7300     for ac_exec_ext in '' $ac_executable_extensions; do
   7301   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7302     ac_cv_prog_ac_ct_STRIP="strip"
   7303     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7304     break 2
   7305   fi
   7306 done
   7307   done
   7308 IFS=$as_save_IFS
   7309 
   7310 fi
   7311 fi
   7312 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7313 if test -n "$ac_ct_STRIP"; then
   7314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7315 $as_echo "$ac_ct_STRIP" >&6; }
   7316 else
   7317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7318 $as_echo "no" >&6; }
   7319 fi
   7320 
   7321   if test "x$ac_ct_STRIP" = x; then
   7322     STRIP=":"
   7323   else
   7324     case $cross_compiling:$ac_tool_warned in
   7325 yes:)
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7328 ac_tool_warned=yes ;;
   7329 esac
   7330     STRIP=$ac_ct_STRIP
   7331   fi
   7332 else
   7333   STRIP="$ac_cv_prog_STRIP"
   7334 fi
   7335 
   7336 test -z "$STRIP" && STRIP=:
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 if test -n "$ac_tool_prefix"; then
   7344   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7345 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7347 $as_echo_n "checking for $ac_word... " >&6; }
   7348 if ${ac_cv_prog_RANLIB+:} false; then :
   7349   $as_echo_n "(cached) " >&6
   7350 else
   7351   if test -n "$RANLIB"; then
   7352   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7353 else
   7354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7355 for as_dir in $PATH
   7356 do
   7357   IFS=$as_save_IFS
   7358   test -z "$as_dir" && as_dir=.
   7359     for ac_exec_ext in '' $ac_executable_extensions; do
   7360   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7361     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7363     break 2
   7364   fi
   7365 done
   7366   done
   7367 IFS=$as_save_IFS
   7368 
   7369 fi
   7370 fi
   7371 RANLIB=$ac_cv_prog_RANLIB
   7372 if test -n "$RANLIB"; then
   7373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7374 $as_echo "$RANLIB" >&6; }
   7375 else
   7376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7377 $as_echo "no" >&6; }
   7378 fi
   7379 
   7380 
   7381 fi
   7382 if test -z "$ac_cv_prog_RANLIB"; then
   7383   ac_ct_RANLIB=$RANLIB
   7384   # Extract the first word of "ranlib", so it can be a program name with args.
   7385 set dummy ranlib; ac_word=$2
   7386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7387 $as_echo_n "checking for $ac_word... " >&6; }
   7388 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7389   $as_echo_n "(cached) " >&6
   7390 else
   7391   if test -n "$ac_ct_RANLIB"; then
   7392   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7393 else
   7394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7395 for as_dir in $PATH
   7396 do
   7397   IFS=$as_save_IFS
   7398   test -z "$as_dir" && as_dir=.
   7399     for ac_exec_ext in '' $ac_executable_extensions; do
   7400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7401     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7403     break 2
   7404   fi
   7405 done
   7406   done
   7407 IFS=$as_save_IFS
   7408 
   7409 fi
   7410 fi
   7411 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7412 if test -n "$ac_ct_RANLIB"; then
   7413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7414 $as_echo "$ac_ct_RANLIB" >&6; }
   7415 else
   7416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7417 $as_echo "no" >&6; }
   7418 fi
   7419 
   7420   if test "x$ac_ct_RANLIB" = x; then
   7421     RANLIB=":"
   7422   else
   7423     case $cross_compiling:$ac_tool_warned in
   7424 yes:)
   7425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7427 ac_tool_warned=yes ;;
   7428 esac
   7429     RANLIB=$ac_ct_RANLIB
   7430   fi
   7431 else
   7432   RANLIB="$ac_cv_prog_RANLIB"
   7433 fi
   7434 
   7435 test -z "$RANLIB" && RANLIB=:
   7436 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   7437   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   7438     RANLIB="$RANLIB $plugin_option"
   7439   fi
   7440 fi
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 # Determine commands to create old-style static archives.
   7448 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7449 old_postinstall_cmds='chmod 644 $oldlib'
   7450 old_postuninstall_cmds=
   7451 
   7452 if test -n "$RANLIB"; then
   7453   case $host_os in
   7454   openbsd*)
   7455     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7456     ;;
   7457   *)
   7458     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7459     ;;
   7460   esac
   7461   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7462 fi
   7463 
   7464 case $host_os in
   7465   darwin*)
   7466     lock_old_archive_extraction=yes ;;
   7467   *)
   7468     lock_old_archive_extraction=no ;;
   7469 esac
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 # If no C compiler was specified, use CC.
   7510 LTCC=${LTCC-"$CC"}
   7511 
   7512 # If no C compiler flags were specified, use CFLAGS.
   7513 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7514 
   7515 # Allow CC to be a program name with arguments.
   7516 compiler=$CC
   7517 
   7518 
   7519 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7521 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7522 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525 
   7526 # These are sane defaults that work on at least a few old systems.
   7527 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7528 
   7529 # Character class describing NM global symbol codes.
   7530 symcode='[BCDEGRST]'
   7531 
   7532 # Regexp to match symbols that can be accessed directly from C.
   7533 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7534 
   7535 # Define system-specific variables.
   7536 case $host_os in
   7537 aix*)
   7538   symcode='[BCDT]'
   7539   ;;
   7540 cygwin* | mingw* | pw32* | cegcc*)
   7541   symcode='[ABCDGISTW]'
   7542   ;;
   7543 hpux*)
   7544   if test "$host_cpu" = ia64; then
   7545     symcode='[ABCDEGRST]'
   7546   fi
   7547   ;;
   7548 irix* | nonstopux*)
   7549   symcode='[BCDEGRST]'
   7550   ;;
   7551 osf*)
   7552   symcode='[BCDEGQRST]'
   7553   ;;
   7554 solaris*)
   7555   symcode='[BCDRT]'
   7556   ;;
   7557 sco3.2v5*)
   7558   symcode='[DT]'
   7559   ;;
   7560 sysv4.2uw2*)
   7561   symcode='[DT]'
   7562   ;;
   7563 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7564   symcode='[ABDT]'
   7565   ;;
   7566 sysv4)
   7567   symcode='[DFNSTU]'
   7568   ;;
   7569 esac
   7570 
   7571 # If we're using GNU nm, then use its standard symbol codes.
   7572 case `$NM -V 2>&1` in
   7573 *GNU* | *'with BFD'*)
   7574   symcode='[ABCDGIRSTW]' ;;
   7575 esac
   7576 
   7577 # Transform an extracted symbol line into a proper C declaration.
   7578 # Some systems (esp. on ia64) link data and code symbols differently,
   7579 # so use this general approach.
   7580 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7581 
   7582 # Transform an extracted symbol line into symbol name and symbol address
   7583 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7584 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'"
   7585 
   7586 # Handle CRLF in mingw tool chain
   7587 opt_cr=
   7588 case $build_os in
   7589 mingw*)
   7590   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7591   ;;
   7592 esac
   7593 
   7594 # Try without a prefix underscore, then with it.
   7595 for ac_symprfx in "" "_"; do
   7596 
   7597   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7598   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7599 
   7600   # Write the raw and C identifiers.
   7601   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7602     # Fake it for dumpbin and say T for any non-static function
   7603     # and D for any global variable.
   7604     # Also find C++ and __fastcall symbols from MSVC++,
   7605     # which start with @ or ?.
   7606     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7607 "     {last_section=section; section=\$ 3};"\
   7608 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7609 "     \$ 0!~/External *\|/{next};"\
   7610 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7611 "     {if(hide[section]) next};"\
   7612 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7613 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7614 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7615 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7616 "     ' prfx=^$ac_symprfx"
   7617   else
   7618     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7619   fi
   7620 
   7621   # Check to see that the pipe works correctly.
   7622   pipe_works=no
   7623 
   7624   rm -f conftest*
   7625   cat > conftest.$ac_ext <<_LT_EOF
   7626 #ifdef __cplusplus
   7627 extern "C" {
   7628 #endif
   7629 char nm_test_var;
   7630 void nm_test_func(void);
   7631 void nm_test_func(void){}
   7632 #ifdef __cplusplus
   7633 }
   7634 #endif
   7635 int main(){nm_test_var='a';nm_test_func();return(0);}
   7636 _LT_EOF
   7637 
   7638   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7639   (eval $ac_compile) 2>&5
   7640   ac_status=$?
   7641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7642   test $ac_status = 0; }; then
   7643     # Now try to grab the symbols.
   7644     nlist=conftest.nm
   7645     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7646   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7647   ac_status=$?
   7648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7649   test $ac_status = 0; } && test -s "$nlist"; then
   7650       # Try sorting and uniquifying the output.
   7651       if sort "$nlist" | uniq > "$nlist"T; then
   7652 	mv -f "$nlist"T "$nlist"
   7653       else
   7654 	rm -f "$nlist"T
   7655       fi
   7656 
   7657       # Make sure that we snagged all the symbols we need.
   7658       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7659 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7660 	  cat <<_LT_EOF > conftest.$ac_ext
   7661 #ifdef __cplusplus
   7662 extern "C" {
   7663 #endif
   7664 
   7665 _LT_EOF
   7666 	  # Now generate the symbol file.
   7667 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7668 
   7669 	  cat <<_LT_EOF >> conftest.$ac_ext
   7670 
   7671 /* The mapping between symbol names and symbols.  */
   7672 const struct {
   7673   const char *name;
   7674   void       *address;
   7675 }
   7676 lt__PROGRAM__LTX_preloaded_symbols[] =
   7677 {
   7678   { "@PROGRAM@", (void *) 0 },
   7679 _LT_EOF
   7680 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7681 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7682   {0, (void *) 0}
   7683 };
   7684 
   7685 /* This works around a problem in FreeBSD linker */
   7686 #ifdef FREEBSD_WORKAROUND
   7687 static const void *lt_preloaded_setup() {
   7688   return lt__PROGRAM__LTX_preloaded_symbols;
   7689 }
   7690 #endif
   7691 
   7692 #ifdef __cplusplus
   7693 }
   7694 #endif
   7695 _LT_EOF
   7696 	  # Now try linking the two files.
   7697 	  mv conftest.$ac_objext conftstm.$ac_objext
   7698 	  lt_save_LIBS="$LIBS"
   7699 	  lt_save_CFLAGS="$CFLAGS"
   7700 	  LIBS="conftstm.$ac_objext"
   7701 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7702 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7703   (eval $ac_link) 2>&5
   7704   ac_status=$?
   7705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7706   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7707 	    pipe_works=yes
   7708 	  fi
   7709 	  LIBS="$lt_save_LIBS"
   7710 	  CFLAGS="$lt_save_CFLAGS"
   7711 	else
   7712 	  echo "cannot find nm_test_func in $nlist" >&5
   7713 	fi
   7714       else
   7715 	echo "cannot find nm_test_var in $nlist" >&5
   7716       fi
   7717     else
   7718       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7719     fi
   7720   else
   7721     echo "$progname: failed program was:" >&5
   7722     cat conftest.$ac_ext >&5
   7723   fi
   7724   rm -rf conftest* conftst*
   7725 
   7726   # Do not use the global_symbol_pipe unless it works.
   7727   if test "$pipe_works" = yes; then
   7728     break
   7729   else
   7730     lt_cv_sys_global_symbol_pipe=
   7731   fi
   7732 done
   7733 
   7734 fi
   7735 
   7736 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7737   lt_cv_sys_global_symbol_to_cdecl=
   7738 fi
   7739 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7741 $as_echo "failed" >&6; }
   7742 else
   7743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7744 $as_echo "ok" >&6; }
   7745 fi
   7746 
   7747 
   7748 
   7749 
   7750 
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 # Check whether --enable-libtool-lock was given.
   7769 if test "${enable_libtool_lock+set}" = set; then :
   7770   enableval=$enable_libtool_lock;
   7771 fi
   7772 
   7773 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7774 
   7775 # Some flags need to be propagated to the compiler or linker for good
   7776 # libtool support.
   7777 case $host in
   7778 ia64-*-hpux*)
   7779   # Find out which ABI we are using.
   7780   echo 'int i;' > conftest.$ac_ext
   7781   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7782   (eval $ac_compile) 2>&5
   7783   ac_status=$?
   7784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7785   test $ac_status = 0; }; then
   7786     case `/usr/bin/file conftest.$ac_objext` in
   7787       *ELF-32*)
   7788 	HPUX_IA64_MODE="32"
   7789 	;;
   7790       *ELF-64*)
   7791 	HPUX_IA64_MODE="64"
   7792 	;;
   7793     esac
   7794   fi
   7795   rm -rf conftest*
   7796   ;;
   7797 *-*-irix6*)
   7798   # Find out which ABI we are using.
   7799   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7800   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7801   (eval $ac_compile) 2>&5
   7802   ac_status=$?
   7803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7804   test $ac_status = 0; }; then
   7805     if test "$lt_cv_prog_gnu_ld" = yes; then
   7806       case `/usr/bin/file conftest.$ac_objext` in
   7807 	*32-bit*)
   7808 	  LD="${LD-ld} -melf32bsmip"
   7809 	  ;;
   7810 	*N32*)
   7811 	  LD="${LD-ld} -melf32bmipn32"
   7812 	  ;;
   7813 	*64-bit*)
   7814 	  LD="${LD-ld} -melf64bmip"
   7815 	;;
   7816       esac
   7817     else
   7818       case `/usr/bin/file conftest.$ac_objext` in
   7819 	*32-bit*)
   7820 	  LD="${LD-ld} -32"
   7821 	  ;;
   7822 	*N32*)
   7823 	  LD="${LD-ld} -n32"
   7824 	  ;;
   7825 	*64-bit*)
   7826 	  LD="${LD-ld} -64"
   7827 	  ;;
   7828       esac
   7829     fi
   7830   fi
   7831   rm -rf conftest*
   7832   ;;
   7833 
   7834 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7835 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7836   # Find out which ABI we are using.
   7837   echo 'int i;' > conftest.$ac_ext
   7838   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7839   (eval $ac_compile) 2>&5
   7840   ac_status=$?
   7841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7842   test $ac_status = 0; }; then
   7843     case `/usr/bin/file conftest.o` in
   7844       *32-bit*)
   7845 	case $host in
   7846 	  x86_64-*kfreebsd*-gnu)
   7847 	    LD="${LD-ld} -m elf_i386_fbsd"
   7848 	    ;;
   7849 	  x86_64-*linux*)
   7850 	    case `/usr/bin/file conftest.o` in
   7851 	      *x86-64*)
   7852 		LD="${LD-ld} -m elf32_x86_64"
   7853 		;;
   7854 	      *)
   7855 		LD="${LD-ld} -m elf_i386"
   7856 		;;
   7857 	    esac
   7858 	    ;;
   7859 	  powerpc64le-*linux*)
   7860 	    LD="${LD-ld} -m elf32lppclinux"
   7861 	    ;;
   7862 	  powerpc64-*linux*)
   7863 	    LD="${LD-ld} -m elf32ppclinux"
   7864 	    ;;
   7865 	  s390x-*linux*)
   7866 	    LD="${LD-ld} -m elf_s390"
   7867 	    ;;
   7868 	  sparc64-*linux*)
   7869 	    LD="${LD-ld} -m elf32_sparc"
   7870 	    ;;
   7871 	esac
   7872 	;;
   7873       *64-bit*)
   7874 	case $host in
   7875 	  x86_64-*kfreebsd*-gnu)
   7876 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7877 	    ;;
   7878 	  x86_64-*linux*)
   7879 	    LD="${LD-ld} -m elf_x86_64"
   7880 	    ;;
   7881 	  powerpcle-*linux*)
   7882 	    LD="${LD-ld} -m elf64lppc"
   7883 	    ;;
   7884 	  powerpc-*linux*)
   7885 	    LD="${LD-ld} -m elf64ppc"
   7886 	    ;;
   7887 	  s390*-*linux*|s390*-*tpf*)
   7888 	    LD="${LD-ld} -m elf64_s390"
   7889 	    ;;
   7890 	  sparc*-*linux*)
   7891 	    LD="${LD-ld} -m elf64_sparc"
   7892 	    ;;
   7893 	esac
   7894 	;;
   7895     esac
   7896   fi
   7897   rm -rf conftest*
   7898   ;;
   7899 
   7900 *-*-sco3.2v5*)
   7901   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7902   SAVE_CFLAGS="$CFLAGS"
   7903   CFLAGS="$CFLAGS -belf"
   7904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7905 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7906 if ${lt_cv_cc_needs_belf+:} false; then :
   7907   $as_echo_n "(cached) " >&6
   7908 else
   7909   ac_ext=c
   7910 ac_cpp='$CPP $CPPFLAGS'
   7911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7914 
   7915      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7916 /* end confdefs.h.  */
   7917 
   7918 int
   7919 main ()
   7920 {
   7921 
   7922   ;
   7923   return 0;
   7924 }
   7925 _ACEOF
   7926 if ac_fn_c_try_link "$LINENO"; then :
   7927   lt_cv_cc_needs_belf=yes
   7928 else
   7929   lt_cv_cc_needs_belf=no
   7930 fi
   7931 rm -f core conftest.err conftest.$ac_objext \
   7932     conftest$ac_exeext conftest.$ac_ext
   7933      ac_ext=c
   7934 ac_cpp='$CPP $CPPFLAGS'
   7935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7938 
   7939 fi
   7940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7941 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7942   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7943     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7944     CFLAGS="$SAVE_CFLAGS"
   7945   fi
   7946   ;;
   7947 sparc*-*solaris*)
   7948   # Find out which ABI we are using.
   7949   echo 'int i;' > conftest.$ac_ext
   7950   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7951   (eval $ac_compile) 2>&5
   7952   ac_status=$?
   7953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7954   test $ac_status = 0; }; then
   7955     case `/usr/bin/file conftest.o` in
   7956     *64-bit*)
   7957       case $lt_cv_prog_gnu_ld in
   7958       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7959       *)
   7960 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7961 	  LD="${LD-ld} -64"
   7962 	fi
   7963 	;;
   7964       esac
   7965       ;;
   7966     esac
   7967   fi
   7968   rm -rf conftest*
   7969   ;;
   7970 esac
   7971 
   7972 need_locks="$enable_libtool_lock"
   7973 
   7974 
   7975   case $host_os in
   7976     rhapsody* | darwin*)
   7977     if test -n "$ac_tool_prefix"; then
   7978   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7979 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7981 $as_echo_n "checking for $ac_word... " >&6; }
   7982 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7983   $as_echo_n "(cached) " >&6
   7984 else
   7985   if test -n "$DSYMUTIL"; then
   7986   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7987 else
   7988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7989 for as_dir in $PATH
   7990 do
   7991   IFS=$as_save_IFS
   7992   test -z "$as_dir" && as_dir=.
   7993     for ac_exec_ext in '' $ac_executable_extensions; do
   7994   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7995     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7996     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7997     break 2
   7998   fi
   7999 done
   8000   done
   8001 IFS=$as_save_IFS
   8002 
   8003 fi
   8004 fi
   8005 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8006 if test -n "$DSYMUTIL"; then
   8007   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8008 $as_echo "$DSYMUTIL" >&6; }
   8009 else
   8010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8011 $as_echo "no" >&6; }
   8012 fi
   8013 
   8014 
   8015 fi
   8016 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8017   ac_ct_DSYMUTIL=$DSYMUTIL
   8018   # Extract the first word of "dsymutil", so it can be a program name with args.
   8019 set dummy dsymutil; ac_word=$2
   8020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8021 $as_echo_n "checking for $ac_word... " >&6; }
   8022 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8023   $as_echo_n "(cached) " >&6
   8024 else
   8025   if test -n "$ac_ct_DSYMUTIL"; then
   8026   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8027 else
   8028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8029 for as_dir in $PATH
   8030 do
   8031   IFS=$as_save_IFS
   8032   test -z "$as_dir" && as_dir=.
   8033     for ac_exec_ext in '' $ac_executable_extensions; do
   8034   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8035     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8036     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8037     break 2
   8038   fi
   8039 done
   8040   done
   8041 IFS=$as_save_IFS
   8042 
   8043 fi
   8044 fi
   8045 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8046 if test -n "$ac_ct_DSYMUTIL"; then
   8047   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8048 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8049 else
   8050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8051 $as_echo "no" >&6; }
   8052 fi
   8053 
   8054   if test "x$ac_ct_DSYMUTIL" = x; then
   8055     DSYMUTIL=":"
   8056   else
   8057     case $cross_compiling:$ac_tool_warned in
   8058 yes:)
   8059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8061 ac_tool_warned=yes ;;
   8062 esac
   8063     DSYMUTIL=$ac_ct_DSYMUTIL
   8064   fi
   8065 else
   8066   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8067 fi
   8068 
   8069     if test -n "$ac_tool_prefix"; then
   8070   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8071 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8073 $as_echo_n "checking for $ac_word... " >&6; }
   8074 if ${ac_cv_prog_NMEDIT+:} false; then :
   8075   $as_echo_n "(cached) " >&6
   8076 else
   8077   if test -n "$NMEDIT"; then
   8078   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8079 else
   8080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8081 for as_dir in $PATH
   8082 do
   8083   IFS=$as_save_IFS
   8084   test -z "$as_dir" && as_dir=.
   8085     for ac_exec_ext in '' $ac_executable_extensions; do
   8086   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8087     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8088     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8089     break 2
   8090   fi
   8091 done
   8092   done
   8093 IFS=$as_save_IFS
   8094 
   8095 fi
   8096 fi
   8097 NMEDIT=$ac_cv_prog_NMEDIT
   8098 if test -n "$NMEDIT"; then
   8099   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8100 $as_echo "$NMEDIT" >&6; }
   8101 else
   8102   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8103 $as_echo "no" >&6; }
   8104 fi
   8105 
   8106 
   8107 fi
   8108 if test -z "$ac_cv_prog_NMEDIT"; then
   8109   ac_ct_NMEDIT=$NMEDIT
   8110   # Extract the first word of "nmedit", so it can be a program name with args.
   8111 set dummy nmedit; ac_word=$2
   8112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8113 $as_echo_n "checking for $ac_word... " >&6; }
   8114 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8115   $as_echo_n "(cached) " >&6
   8116 else
   8117   if test -n "$ac_ct_NMEDIT"; then
   8118   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8119 else
   8120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8121 for as_dir in $PATH
   8122 do
   8123   IFS=$as_save_IFS
   8124   test -z "$as_dir" && as_dir=.
   8125     for ac_exec_ext in '' $ac_executable_extensions; do
   8126   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8127     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8128     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8129     break 2
   8130   fi
   8131 done
   8132   done
   8133 IFS=$as_save_IFS
   8134 
   8135 fi
   8136 fi
   8137 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8138 if test -n "$ac_ct_NMEDIT"; then
   8139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8140 $as_echo "$ac_ct_NMEDIT" >&6; }
   8141 else
   8142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8143 $as_echo "no" >&6; }
   8144 fi
   8145 
   8146   if test "x$ac_ct_NMEDIT" = x; then
   8147     NMEDIT=":"
   8148   else
   8149     case $cross_compiling:$ac_tool_warned in
   8150 yes:)
   8151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8153 ac_tool_warned=yes ;;
   8154 esac
   8155     NMEDIT=$ac_ct_NMEDIT
   8156   fi
   8157 else
   8158   NMEDIT="$ac_cv_prog_NMEDIT"
   8159 fi
   8160 
   8161     if test -n "$ac_tool_prefix"; then
   8162   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8163 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8165 $as_echo_n "checking for $ac_word... " >&6; }
   8166 if ${ac_cv_prog_LIPO+:} false; then :
   8167   $as_echo_n "(cached) " >&6
   8168 else
   8169   if test -n "$LIPO"; then
   8170   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8171 else
   8172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8173 for as_dir in $PATH
   8174 do
   8175   IFS=$as_save_IFS
   8176   test -z "$as_dir" && as_dir=.
   8177     for ac_exec_ext in '' $ac_executable_extensions; do
   8178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8179     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8181     break 2
   8182   fi
   8183 done
   8184   done
   8185 IFS=$as_save_IFS
   8186 
   8187 fi
   8188 fi
   8189 LIPO=$ac_cv_prog_LIPO
   8190 if test -n "$LIPO"; then
   8191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8192 $as_echo "$LIPO" >&6; }
   8193 else
   8194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8195 $as_echo "no" >&6; }
   8196 fi
   8197 
   8198 
   8199 fi
   8200 if test -z "$ac_cv_prog_LIPO"; then
   8201   ac_ct_LIPO=$LIPO
   8202   # Extract the first word of "lipo", so it can be a program name with args.
   8203 set dummy lipo; ac_word=$2
   8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8205 $as_echo_n "checking for $ac_word... " >&6; }
   8206 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8207   $as_echo_n "(cached) " >&6
   8208 else
   8209   if test -n "$ac_ct_LIPO"; then
   8210   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8211 else
   8212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8213 for as_dir in $PATH
   8214 do
   8215   IFS=$as_save_IFS
   8216   test -z "$as_dir" && as_dir=.
   8217     for ac_exec_ext in '' $ac_executable_extensions; do
   8218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8219     ac_cv_prog_ac_ct_LIPO="lipo"
   8220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8221     break 2
   8222   fi
   8223 done
   8224   done
   8225 IFS=$as_save_IFS
   8226 
   8227 fi
   8228 fi
   8229 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8230 if test -n "$ac_ct_LIPO"; then
   8231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8232 $as_echo "$ac_ct_LIPO" >&6; }
   8233 else
   8234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8235 $as_echo "no" >&6; }
   8236 fi
   8237 
   8238   if test "x$ac_ct_LIPO" = x; then
   8239     LIPO=":"
   8240   else
   8241     case $cross_compiling:$ac_tool_warned in
   8242 yes:)
   8243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8244 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8245 ac_tool_warned=yes ;;
   8246 esac
   8247     LIPO=$ac_ct_LIPO
   8248   fi
   8249 else
   8250   LIPO="$ac_cv_prog_LIPO"
   8251 fi
   8252 
   8253     if test -n "$ac_tool_prefix"; then
   8254   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8255 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8257 $as_echo_n "checking for $ac_word... " >&6; }
   8258 if ${ac_cv_prog_OTOOL+:} false; then :
   8259   $as_echo_n "(cached) " >&6
   8260 else
   8261   if test -n "$OTOOL"; then
   8262   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8263 else
   8264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8265 for as_dir in $PATH
   8266 do
   8267   IFS=$as_save_IFS
   8268   test -z "$as_dir" && as_dir=.
   8269     for ac_exec_ext in '' $ac_executable_extensions; do
   8270   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8271     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8273     break 2
   8274   fi
   8275 done
   8276   done
   8277 IFS=$as_save_IFS
   8278 
   8279 fi
   8280 fi
   8281 OTOOL=$ac_cv_prog_OTOOL
   8282 if test -n "$OTOOL"; then
   8283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8284 $as_echo "$OTOOL" >&6; }
   8285 else
   8286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8287 $as_echo "no" >&6; }
   8288 fi
   8289 
   8290 
   8291 fi
   8292 if test -z "$ac_cv_prog_OTOOL"; then
   8293   ac_ct_OTOOL=$OTOOL
   8294   # Extract the first word of "otool", so it can be a program name with args.
   8295 set dummy otool; ac_word=$2
   8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8297 $as_echo_n "checking for $ac_word... " >&6; }
   8298 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8299   $as_echo_n "(cached) " >&6
   8300 else
   8301   if test -n "$ac_ct_OTOOL"; then
   8302   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8303 else
   8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8305 for as_dir in $PATH
   8306 do
   8307   IFS=$as_save_IFS
   8308   test -z "$as_dir" && as_dir=.
   8309     for ac_exec_ext in '' $ac_executable_extensions; do
   8310   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8311     ac_cv_prog_ac_ct_OTOOL="otool"
   8312     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8313     break 2
   8314   fi
   8315 done
   8316   done
   8317 IFS=$as_save_IFS
   8318 
   8319 fi
   8320 fi
   8321 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8322 if test -n "$ac_ct_OTOOL"; then
   8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8324 $as_echo "$ac_ct_OTOOL" >&6; }
   8325 else
   8326   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8327 $as_echo "no" >&6; }
   8328 fi
   8329 
   8330   if test "x$ac_ct_OTOOL" = x; then
   8331     OTOOL=":"
   8332   else
   8333     case $cross_compiling:$ac_tool_warned in
   8334 yes:)
   8335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8336 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8337 ac_tool_warned=yes ;;
   8338 esac
   8339     OTOOL=$ac_ct_OTOOL
   8340   fi
   8341 else
   8342   OTOOL="$ac_cv_prog_OTOOL"
   8343 fi
   8344 
   8345     if test -n "$ac_tool_prefix"; then
   8346   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8347 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8349 $as_echo_n "checking for $ac_word... " >&6; }
   8350 if ${ac_cv_prog_OTOOL64+:} false; then :
   8351   $as_echo_n "(cached) " >&6
   8352 else
   8353   if test -n "$OTOOL64"; then
   8354   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8355 else
   8356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8357 for as_dir in $PATH
   8358 do
   8359   IFS=$as_save_IFS
   8360   test -z "$as_dir" && as_dir=.
   8361     for ac_exec_ext in '' $ac_executable_extensions; do
   8362   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8363     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8365     break 2
   8366   fi
   8367 done
   8368   done
   8369 IFS=$as_save_IFS
   8370 
   8371 fi
   8372 fi
   8373 OTOOL64=$ac_cv_prog_OTOOL64
   8374 if test -n "$OTOOL64"; then
   8375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8376 $as_echo "$OTOOL64" >&6; }
   8377 else
   8378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8379 $as_echo "no" >&6; }
   8380 fi
   8381 
   8382 
   8383 fi
   8384 if test -z "$ac_cv_prog_OTOOL64"; then
   8385   ac_ct_OTOOL64=$OTOOL64
   8386   # Extract the first word of "otool64", so it can be a program name with args.
   8387 set dummy otool64; ac_word=$2
   8388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8389 $as_echo_n "checking for $ac_word... " >&6; }
   8390 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8391   $as_echo_n "(cached) " >&6
   8392 else
   8393   if test -n "$ac_ct_OTOOL64"; then
   8394   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8395 else
   8396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8397 for as_dir in $PATH
   8398 do
   8399   IFS=$as_save_IFS
   8400   test -z "$as_dir" && as_dir=.
   8401     for ac_exec_ext in '' $ac_executable_extensions; do
   8402   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8403     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8404     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8405     break 2
   8406   fi
   8407 done
   8408   done
   8409 IFS=$as_save_IFS
   8410 
   8411 fi
   8412 fi
   8413 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8414 if test -n "$ac_ct_OTOOL64"; then
   8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8416 $as_echo "$ac_ct_OTOOL64" >&6; }
   8417 else
   8418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8419 $as_echo "no" >&6; }
   8420 fi
   8421 
   8422   if test "x$ac_ct_OTOOL64" = x; then
   8423     OTOOL64=":"
   8424   else
   8425     case $cross_compiling:$ac_tool_warned in
   8426 yes:)
   8427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8429 ac_tool_warned=yes ;;
   8430 esac
   8431     OTOOL64=$ac_ct_OTOOL64
   8432   fi
   8433 else
   8434   OTOOL64="$ac_cv_prog_OTOOL64"
   8435 fi
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461 
   8462 
   8463     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8464 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8465 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8466   $as_echo_n "(cached) " >&6
   8467 else
   8468   lt_cv_apple_cc_single_mod=no
   8469       if test -z "${LT_MULTI_MODULE}"; then
   8470 	# By default we will add the -single_module flag. You can override
   8471 	# by either setting the environment variable LT_MULTI_MODULE
   8472 	# non-empty at configure time, or by adding -multi_module to the
   8473 	# link flags.
   8474 	rm -rf libconftest.dylib*
   8475 	echo "int foo(void){return 1;}" > conftest.c
   8476 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8477 -dynamiclib -Wl,-single_module conftest.c" >&5
   8478 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8479 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8480         _lt_result=$?
   8481 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8482 	  lt_cv_apple_cc_single_mod=yes
   8483 	else
   8484 	  cat conftest.err >&5
   8485 	fi
   8486 	rm -rf libconftest.dylib*
   8487 	rm -f conftest.*
   8488       fi
   8489 fi
   8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8491 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8492     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8493 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8494 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8495   $as_echo_n "(cached) " >&6
   8496 else
   8497   lt_cv_ld_exported_symbols_list=no
   8498       save_LDFLAGS=$LDFLAGS
   8499       echo "_main" > conftest.sym
   8500       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8501       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8502 /* end confdefs.h.  */
   8503 
   8504 int
   8505 main ()
   8506 {
   8507 
   8508   ;
   8509   return 0;
   8510 }
   8511 _ACEOF
   8512 if ac_fn_c_try_link "$LINENO"; then :
   8513   lt_cv_ld_exported_symbols_list=yes
   8514 else
   8515   lt_cv_ld_exported_symbols_list=no
   8516 fi
   8517 rm -f core conftest.err conftest.$ac_objext \
   8518     conftest$ac_exeext conftest.$ac_ext
   8519 	LDFLAGS="$save_LDFLAGS"
   8520 
   8521 fi
   8522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8523 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8524     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8525 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8526 if ${lt_cv_ld_force_load+:} false; then :
   8527   $as_echo_n "(cached) " >&6
   8528 else
   8529   lt_cv_ld_force_load=no
   8530       cat > conftest.c << _LT_EOF
   8531 int forced_loaded() { return 2;}
   8532 _LT_EOF
   8533       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8534       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8535       echo "$AR cru libconftest.a conftest.o" >&5
   8536       $AR cru libconftest.a conftest.o 2>&5
   8537       cat > conftest.c << _LT_EOF
   8538 int main() { return 0;}
   8539 _LT_EOF
   8540       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8541       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8542       _lt_result=$?
   8543       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8544 	lt_cv_ld_force_load=yes
   8545       else
   8546 	cat conftest.err >&5
   8547       fi
   8548         rm -f conftest.err libconftest.a conftest conftest.c
   8549         rm -rf conftest.dSYM
   8550 
   8551 fi
   8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8553 $as_echo "$lt_cv_ld_force_load" >&6; }
   8554     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   8555     # build without first building modern cctools / linker.
   8556     case $host_cpu-$host_os in
   8557     *-rhapsody* | *-darwin1.[012])
   8558       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8559     *-darwin1.*)
   8560       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8561     *-darwin*)
   8562       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   8563       # deployment target is forced to an earlier version.
   8564       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   8565 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   8566 	  ;;
   8567 	10.[012][,.]*)
   8568 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8569 	  ;;
   8570 	*)
   8571 	  ;;
   8572      esac
   8573     ;;
   8574   esac
   8575     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8576       _lt_dar_single_mod='$single_module'
   8577     fi
   8578     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8579       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8580     else
   8581       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8582     fi
   8583     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8584       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8585     else
   8586       _lt_dsymutil=
   8587     fi
   8588     ;;
   8589   esac
   8590 
   8591 for ac_header in dlfcn.h
   8592 do :
   8593   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8594 "
   8595 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8596   cat >>confdefs.h <<_ACEOF
   8597 #define HAVE_DLFCN_H 1
   8598 _ACEOF
   8599 
   8600 fi
   8601 
   8602 done
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 # Set options
   8610 
   8611 
   8612 
   8613         enable_dlopen=no
   8614 
   8615 
   8616   enable_win32_dll=no
   8617 
   8618 
   8619             # Check whether --enable-shared was given.
   8620 if test "${enable_shared+set}" = set; then :
   8621   enableval=$enable_shared; p=${PACKAGE-default}
   8622     case $enableval in
   8623     yes) enable_shared=yes ;;
   8624     no) enable_shared=no ;;
   8625     *)
   8626       enable_shared=no
   8627       # Look at the argument we got.  We use all the common list separators.
   8628       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8629       for pkg in $enableval; do
   8630 	IFS="$lt_save_ifs"
   8631 	if test "X$pkg" = "X$p"; then
   8632 	  enable_shared=yes
   8633 	fi
   8634       done
   8635       IFS="$lt_save_ifs"
   8636       ;;
   8637     esac
   8638 else
   8639   enable_shared=yes
   8640 fi
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648 
   8649 
   8650   # Check whether --enable-static was given.
   8651 if test "${enable_static+set}" = set; then :
   8652   enableval=$enable_static; p=${PACKAGE-default}
   8653     case $enableval in
   8654     yes) enable_static=yes ;;
   8655     no) enable_static=no ;;
   8656     *)
   8657      enable_static=no
   8658       # Look at the argument we got.  We use all the common list separators.
   8659       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8660       for pkg in $enableval; do
   8661 	IFS="$lt_save_ifs"
   8662 	if test "X$pkg" = "X$p"; then
   8663 	  enable_static=yes
   8664 	fi
   8665       done
   8666       IFS="$lt_save_ifs"
   8667       ;;
   8668     esac
   8669 else
   8670   enable_static=yes
   8671 fi
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 
   8679 
   8680 
   8681 
   8682 # Check whether --with-pic was given.
   8683 if test "${with_pic+set}" = set; then :
   8684   withval=$with_pic; pic_mode="$withval"
   8685 else
   8686   pic_mode=default
   8687 fi
   8688 
   8689 
   8690 test -z "$pic_mode" && pic_mode=default
   8691 
   8692 
   8693 
   8694 
   8695 
   8696 
   8697 
   8698   # Check whether --enable-fast-install was given.
   8699 if test "${enable_fast_install+set}" = set; then :
   8700   enableval=$enable_fast_install; p=${PACKAGE-default}
   8701     case $enableval in
   8702     yes) enable_fast_install=yes ;;
   8703     no) enable_fast_install=no ;;
   8704     *)
   8705       enable_fast_install=no
   8706       # Look at the argument we got.  We use all the common list separators.
   8707       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8708       for pkg in $enableval; do
   8709 	IFS="$lt_save_ifs"
   8710 	if test "X$pkg" = "X$p"; then
   8711 	  enable_fast_install=yes
   8712 	fi
   8713       done
   8714       IFS="$lt_save_ifs"
   8715       ;;
   8716     esac
   8717 else
   8718   enable_fast_install=yes
   8719 fi
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 # This can be used to rebuild libtool when needed
   8732 LIBTOOL_DEPS="$ltmain"
   8733 
   8734 # Always use our own libtool.
   8735 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 
   8744 
   8745 
   8746 
   8747 
   8748 
   8749 
   8750 
   8751 
   8752 
   8753 
   8754 
   8755 
   8756 
   8757 
   8758 
   8759 
   8760 
   8761 
   8762 test -z "$LN_S" && LN_S="ln -s"
   8763 
   8764 
   8765 
   8766 
   8767 
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 
   8775 
   8776 
   8777 if test -n "${ZSH_VERSION+set}" ; then
   8778    setopt NO_GLOB_SUBST
   8779 fi
   8780 
   8781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8782 $as_echo_n "checking for objdir... " >&6; }
   8783 if ${lt_cv_objdir+:} false; then :
   8784   $as_echo_n "(cached) " >&6
   8785 else
   8786   rm -f .libs 2>/dev/null
   8787 mkdir .libs 2>/dev/null
   8788 if test -d .libs; then
   8789   lt_cv_objdir=.libs
   8790 else
   8791   # MS-DOS does not allow filenames that begin with a dot.
   8792   lt_cv_objdir=_libs
   8793 fi
   8794 rmdir .libs 2>/dev/null
   8795 fi
   8796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8797 $as_echo "$lt_cv_objdir" >&6; }
   8798 objdir=$lt_cv_objdir
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 cat >>confdefs.h <<_ACEOF
   8805 #define LT_OBJDIR "$lt_cv_objdir/"
   8806 _ACEOF
   8807 
   8808 
   8809 
   8810 
   8811 case $host_os in
   8812 aix3*)
   8813   # AIX sometimes has problems with the GCC collect2 program.  For some
   8814   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8815   # vanish in a puff of smoke.
   8816   if test "X${COLLECT_NAMES+set}" != Xset; then
   8817     COLLECT_NAMES=
   8818     export COLLECT_NAMES
   8819   fi
   8820   ;;
   8821 esac
   8822 
   8823 # Global variables:
   8824 ofile=libtool
   8825 can_build_shared=yes
   8826 
   8827 # All known linkers require a `.a' archive for static linking (except MSVC,
   8828 # which needs '.lib').
   8829 libext=a
   8830 
   8831 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8832 
   8833 old_CC="$CC"
   8834 old_CFLAGS="$CFLAGS"
   8835 
   8836 # Set sane defaults for various variables
   8837 test -z "$CC" && CC=cc
   8838 test -z "$LTCC" && LTCC=$CC
   8839 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8840 test -z "$LD" && LD=ld
   8841 test -z "$ac_objext" && ac_objext=o
   8842 
   8843 for cc_temp in $compiler""; do
   8844   case $cc_temp in
   8845     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8846     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8847     \-*) ;;
   8848     *) break;;
   8849   esac
   8850 done
   8851 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8852 
   8853 
   8854 # Only perform the check for file, if the check method requires it
   8855 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8856 case $deplibs_check_method in
   8857 file_magic*)
   8858   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8859     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8860 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8861 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8862   $as_echo_n "(cached) " >&6
   8863 else
   8864   case $MAGIC_CMD in
   8865 [\\/*] |  ?:[\\/]*)
   8866   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8867   ;;
   8868 *)
   8869   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8870   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8871   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8872   for ac_dir in $ac_dummy; do
   8873     IFS="$lt_save_ifs"
   8874     test -z "$ac_dir" && ac_dir=.
   8875     if test -f $ac_dir/${ac_tool_prefix}file; then
   8876       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8877       if test -n "$file_magic_test_file"; then
   8878 	case $deplibs_check_method in
   8879 	"file_magic "*)
   8880 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8881 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8882 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8883 	    $EGREP "$file_magic_regex" > /dev/null; then
   8884 	    :
   8885 	  else
   8886 	    cat <<_LT_EOF 1>&2
   8887 
   8888 *** Warning: the command libtool uses to detect shared libraries,
   8889 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8890 *** The result is that libtool may fail to recognize shared libraries
   8891 *** as such.  This will affect the creation of libtool libraries that
   8892 *** depend on shared libraries, but programs linked with such libtool
   8893 *** libraries will work regardless of this problem.  Nevertheless, you
   8894 *** may want to report the problem to your system manager and/or to
   8895 *** bug-libtool@gnu.org
   8896 
   8897 _LT_EOF
   8898 	  fi ;;
   8899 	esac
   8900       fi
   8901       break
   8902     fi
   8903   done
   8904   IFS="$lt_save_ifs"
   8905   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8906   ;;
   8907 esac
   8908 fi
   8909 
   8910 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8911 if test -n "$MAGIC_CMD"; then
   8912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8913 $as_echo "$MAGIC_CMD" >&6; }
   8914 else
   8915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8916 $as_echo "no" >&6; }
   8917 fi
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8924   if test -n "$ac_tool_prefix"; then
   8925     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8926 $as_echo_n "checking for file... " >&6; }
   8927 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8928   $as_echo_n "(cached) " >&6
   8929 else
   8930   case $MAGIC_CMD in
   8931 [\\/*] |  ?:[\\/]*)
   8932   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8933   ;;
   8934 *)
   8935   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8936   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8937   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8938   for ac_dir in $ac_dummy; do
   8939     IFS="$lt_save_ifs"
   8940     test -z "$ac_dir" && ac_dir=.
   8941     if test -f $ac_dir/file; then
   8942       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8943       if test -n "$file_magic_test_file"; then
   8944 	case $deplibs_check_method in
   8945 	"file_magic "*)
   8946 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8947 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8948 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8949 	    $EGREP "$file_magic_regex" > /dev/null; then
   8950 	    :
   8951 	  else
   8952 	    cat <<_LT_EOF 1>&2
   8953 
   8954 *** Warning: the command libtool uses to detect shared libraries,
   8955 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8956 *** The result is that libtool may fail to recognize shared libraries
   8957 *** as such.  This will affect the creation of libtool libraries that
   8958 *** depend on shared libraries, but programs linked with such libtool
   8959 *** libraries will work regardless of this problem.  Nevertheless, you
   8960 *** may want to report the problem to your system manager and/or to
   8961 *** bug-libtool@gnu.org
   8962 
   8963 _LT_EOF
   8964 	  fi ;;
   8965 	esac
   8966       fi
   8967       break
   8968     fi
   8969   done
   8970   IFS="$lt_save_ifs"
   8971   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8972   ;;
   8973 esac
   8974 fi
   8975 
   8976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8977 if test -n "$MAGIC_CMD"; then
   8978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8979 $as_echo "$MAGIC_CMD" >&6; }
   8980 else
   8981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8982 $as_echo "no" >&6; }
   8983 fi
   8984 
   8985 
   8986   else
   8987     MAGIC_CMD=:
   8988   fi
   8989 fi
   8990 
   8991   fi
   8992   ;;
   8993 esac
   8994 
   8995 # Use C for the default configuration in the libtool script
   8996 
   8997 lt_save_CC="$CC"
   8998 ac_ext=c
   8999 ac_cpp='$CPP $CPPFLAGS'
   9000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9003 
   9004 
   9005 # Source file extension for C test sources.
   9006 ac_ext=c
   9007 
   9008 # Object file extension for compiled C test sources.
   9009 objext=o
   9010 objext=$objext
   9011 
   9012 # Code to be used in simple compile tests
   9013 lt_simple_compile_test_code="int some_variable = 0;"
   9014 
   9015 # Code to be used in simple link tests
   9016 lt_simple_link_test_code='int main(){return(0);}'
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 # If no C compiler was specified, use CC.
   9025 LTCC=${LTCC-"$CC"}
   9026 
   9027 # If no C compiler flags were specified, use CFLAGS.
   9028 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9029 
   9030 # Allow CC to be a program name with arguments.
   9031 compiler=$CC
   9032 
   9033 # Save the default compiler, since it gets overwritten when the other
   9034 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9035 compiler_DEFAULT=$CC
   9036 
   9037 # save warnings/boilerplate of simple test code
   9038 ac_outfile=conftest.$ac_objext
   9039 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9040 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9041 _lt_compiler_boilerplate=`cat conftest.err`
   9042 $RM conftest*
   9043 
   9044 ac_outfile=conftest.$ac_objext
   9045 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9046 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9047 _lt_linker_boilerplate=`cat conftest.err`
   9048 $RM -r conftest*
   9049 
   9050 
   9051 ## CAVEAT EMPTOR:
   9052 ## There is no encapsulation within the following macros, do not change
   9053 ## the running order or otherwise move them around unless you know exactly
   9054 ## what you are doing...
   9055 if test -n "$compiler"; then
   9056 
   9057 lt_prog_compiler_no_builtin_flag=
   9058 
   9059 if test "$GCC" = yes; then
   9060   case $cc_basename in
   9061   nvcc*)
   9062     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9063   *)
   9064     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9065   esac
   9066 
   9067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9068 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9069 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9070   $as_echo_n "(cached) " >&6
   9071 else
   9072   lt_cv_prog_compiler_rtti_exceptions=no
   9073    ac_outfile=conftest.$ac_objext
   9074    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9075    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9076    # Insert the option either (1) after the last *FLAGS variable, or
   9077    # (2) before a word containing "conftest.", or (3) at the end.
   9078    # Note that $ac_compile itself does not contain backslashes and begins
   9079    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9080    # The option is referenced via a variable to avoid confusing sed.
   9081    lt_compile=`echo "$ac_compile" | $SED \
   9082    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9083    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9084    -e 's:$: $lt_compiler_flag:'`
   9085    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9086    (eval "$lt_compile" 2>conftest.err)
   9087    ac_status=$?
   9088    cat conftest.err >&5
   9089    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9090    if (exit $ac_status) && test -s "$ac_outfile"; then
   9091      # The compiler can only warn and ignore the option if not recognized
   9092      # So say no if there are warnings other than the usual output.
   9093      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9094      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9095      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9096        lt_cv_prog_compiler_rtti_exceptions=yes
   9097      fi
   9098    fi
   9099    $RM conftest*
   9100 
   9101 fi
   9102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9103 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9104 
   9105 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9106     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9107 else
   9108     :
   9109 fi
   9110 
   9111 fi
   9112 
   9113 
   9114 
   9115 
   9116 
   9117 
   9118   lt_prog_compiler_wl=
   9119 lt_prog_compiler_pic=
   9120 lt_prog_compiler_static=
   9121 
   9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9123 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9124 
   9125   if test "$GCC" = yes; then
   9126     lt_prog_compiler_wl='-Wl,'
   9127     lt_prog_compiler_static='-static'
   9128 
   9129     case $host_os in
   9130       aix*)
   9131       # All AIX code is PIC.
   9132       if test "$host_cpu" = ia64; then
   9133 	# AIX 5 now supports IA64 processor
   9134 	lt_prog_compiler_static='-Bstatic'
   9135       fi
   9136       lt_prog_compiler_pic='-fPIC'
   9137       ;;
   9138 
   9139     amigaos*)
   9140       case $host_cpu in
   9141       powerpc)
   9142             # see comment about AmigaOS4 .so support
   9143             lt_prog_compiler_pic='-fPIC'
   9144         ;;
   9145       m68k)
   9146             # FIXME: we need at least 68020 code to build shared libraries, but
   9147             # adding the `-m68020' flag to GCC prevents building anything better,
   9148             # like `-m68040'.
   9149             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9150         ;;
   9151       esac
   9152       ;;
   9153 
   9154     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9155       # PIC is the default for these OSes.
   9156       ;;
   9157 
   9158     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9159       # This hack is so that the source file can tell whether it is being
   9160       # built for inclusion in a dll (and should export symbols for example).
   9161       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9162       # (--disable-auto-import) libraries
   9163       lt_prog_compiler_pic='-DDLL_EXPORT'
   9164       ;;
   9165 
   9166     darwin* | rhapsody*)
   9167       # PIC is the default on this platform
   9168       # Common symbols not allowed in MH_DYLIB files
   9169       lt_prog_compiler_pic='-fno-common'
   9170       ;;
   9171 
   9172     haiku*)
   9173       # PIC is the default for Haiku.
   9174       # The "-static" flag exists, but is broken.
   9175       lt_prog_compiler_static=
   9176       ;;
   9177 
   9178     hpux*)
   9179       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9180       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9181       # sets the default TLS model and affects inlining.
   9182       case $host_cpu in
   9183       hppa*64*)
   9184 	# +Z the default
   9185 	;;
   9186       *)
   9187 	lt_prog_compiler_pic='-fPIC'
   9188 	;;
   9189       esac
   9190       ;;
   9191 
   9192     interix[3-9]*)
   9193       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9194       # Instead, we relocate shared libraries at runtime.
   9195       ;;
   9196 
   9197     msdosdjgpp*)
   9198       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9199       # on systems that don't support them.
   9200       lt_prog_compiler_can_build_shared=no
   9201       enable_shared=no
   9202       ;;
   9203 
   9204     *nto* | *qnx*)
   9205       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9206       # it will coredump.
   9207       lt_prog_compiler_pic='-fPIC -shared'
   9208       ;;
   9209 
   9210     sysv4*MP*)
   9211       if test -d /usr/nec; then
   9212 	lt_prog_compiler_pic=-Kconform_pic
   9213       fi
   9214       ;;
   9215 
   9216     *)
   9217       lt_prog_compiler_pic='-fPIC'
   9218       ;;
   9219     esac
   9220 
   9221     case $cc_basename in
   9222     nvcc*) # Cuda Compiler Driver 2.2
   9223       lt_prog_compiler_wl='-Xlinker '
   9224       lt_prog_compiler_pic='-Xcompiler -fPIC'
   9225       ;;
   9226     esac
   9227   else
   9228     # PORTME Check for flag to pass linker flags through the system compiler.
   9229     case $host_os in
   9230     aix*)
   9231       lt_prog_compiler_wl='-Wl,'
   9232       if test "$host_cpu" = ia64; then
   9233 	# AIX 5 now supports IA64 processor
   9234 	lt_prog_compiler_static='-Bstatic'
   9235       else
   9236 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9237       fi
   9238       ;;
   9239 
   9240     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9241       # This hack is so that the source file can tell whether it is being
   9242       # built for inclusion in a dll (and should export symbols for example).
   9243       lt_prog_compiler_pic='-DDLL_EXPORT'
   9244       ;;
   9245 
   9246     hpux9* | hpux10* | hpux11*)
   9247       lt_prog_compiler_wl='-Wl,'
   9248       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9249       # not for PA HP-UX.
   9250       case $host_cpu in
   9251       hppa*64*|ia64*)
   9252 	# +Z the default
   9253 	;;
   9254       *)
   9255 	lt_prog_compiler_pic='+Z'
   9256 	;;
   9257       esac
   9258       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9259       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9260       ;;
   9261 
   9262     irix5* | irix6* | nonstopux*)
   9263       lt_prog_compiler_wl='-Wl,'
   9264       # PIC (with -KPIC) is the default.
   9265       lt_prog_compiler_static='-non_shared'
   9266       ;;
   9267 
   9268     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9269       case $cc_basename in
   9270       # old Intel for x86_64 which still supported -KPIC.
   9271       ecc*)
   9272 	lt_prog_compiler_wl='-Wl,'
   9273 	lt_prog_compiler_pic='-KPIC'
   9274 	lt_prog_compiler_static='-static'
   9275         ;;
   9276       # icc used to be incompatible with GCC.
   9277       # ICC 10 doesn't accept -KPIC any more.
   9278       icc* | ifort*)
   9279 	lt_prog_compiler_wl='-Wl,'
   9280 	lt_prog_compiler_pic='-fPIC'
   9281 	lt_prog_compiler_static='-static'
   9282         ;;
   9283       # Lahey Fortran 8.1.
   9284       lf95*)
   9285 	lt_prog_compiler_wl='-Wl,'
   9286 	lt_prog_compiler_pic='--shared'
   9287 	lt_prog_compiler_static='--static'
   9288 	;;
   9289       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9290         # Portland Group compilers (*not* the Pentium gcc compiler,
   9291 	# which looks to be a dead project)
   9292 	lt_prog_compiler_wl='-Wl,'
   9293 	lt_prog_compiler_pic='-fpic'
   9294 	lt_prog_compiler_static='-Bstatic'
   9295         ;;
   9296       ccc*)
   9297         lt_prog_compiler_wl='-Wl,'
   9298         # All Alpha code is PIC.
   9299         lt_prog_compiler_static='-non_shared'
   9300         ;;
   9301       xl* | bgxl* | bgf* | mpixl*)
   9302 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9303 	lt_prog_compiler_wl='-Wl,'
   9304 	lt_prog_compiler_pic='-qpic'
   9305 	lt_prog_compiler_static='-qstaticlink'
   9306 	;;
   9307       *)
   9308 	case `$CC -V 2>&1 | sed 5q` in
   9309 	*Sun\ F* | *Sun*Fortran*)
   9310 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9311 	  lt_prog_compiler_pic='-KPIC'
   9312 	  lt_prog_compiler_static='-Bstatic'
   9313 	  lt_prog_compiler_wl=''
   9314 	  ;;
   9315 	*Sun\ C*)
   9316 	  # Sun C 5.9
   9317 	  lt_prog_compiler_pic='-KPIC'
   9318 	  lt_prog_compiler_static='-Bstatic'
   9319 	  lt_prog_compiler_wl='-Wl,'
   9320 	  ;;
   9321 	esac
   9322 	;;
   9323       esac
   9324       ;;
   9325 
   9326     newsos6)
   9327       lt_prog_compiler_pic='-KPIC'
   9328       lt_prog_compiler_static='-Bstatic'
   9329       ;;
   9330 
   9331     *nto* | *qnx*)
   9332       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9333       # it will coredump.
   9334       lt_prog_compiler_pic='-fPIC -shared'
   9335       ;;
   9336 
   9337     osf3* | osf4* | osf5*)
   9338       lt_prog_compiler_wl='-Wl,'
   9339       # All OSF/1 code is PIC.
   9340       lt_prog_compiler_static='-non_shared'
   9341       ;;
   9342 
   9343     rdos*)
   9344       lt_prog_compiler_static='-non_shared'
   9345       ;;
   9346 
   9347     solaris*)
   9348       lt_prog_compiler_pic='-KPIC'
   9349       lt_prog_compiler_static='-Bstatic'
   9350       case $cc_basename in
   9351       f77* | f90* | f95*)
   9352 	lt_prog_compiler_wl='-Qoption ld ';;
   9353       *)
   9354 	lt_prog_compiler_wl='-Wl,';;
   9355       esac
   9356       ;;
   9357 
   9358     sunos4*)
   9359       lt_prog_compiler_wl='-Qoption ld '
   9360       lt_prog_compiler_pic='-PIC'
   9361       lt_prog_compiler_static='-Bstatic'
   9362       ;;
   9363 
   9364     sysv4 | sysv4.2uw2* | sysv4.3*)
   9365       lt_prog_compiler_wl='-Wl,'
   9366       lt_prog_compiler_pic='-KPIC'
   9367       lt_prog_compiler_static='-Bstatic'
   9368       ;;
   9369 
   9370     sysv4*MP*)
   9371       if test -d /usr/nec ;then
   9372 	lt_prog_compiler_pic='-Kconform_pic'
   9373 	lt_prog_compiler_static='-Bstatic'
   9374       fi
   9375       ;;
   9376 
   9377     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9378       lt_prog_compiler_wl='-Wl,'
   9379       lt_prog_compiler_pic='-KPIC'
   9380       lt_prog_compiler_static='-Bstatic'
   9381       ;;
   9382 
   9383     unicos*)
   9384       lt_prog_compiler_wl='-Wl,'
   9385       lt_prog_compiler_can_build_shared=no
   9386       ;;
   9387 
   9388     uts4*)
   9389       lt_prog_compiler_pic='-pic'
   9390       lt_prog_compiler_static='-Bstatic'
   9391       ;;
   9392 
   9393     *)
   9394       lt_prog_compiler_can_build_shared=no
   9395       ;;
   9396     esac
   9397   fi
   9398 
   9399 case $host_os in
   9400   # For platforms which do not support PIC, -DPIC is meaningless:
   9401   *djgpp*)
   9402     lt_prog_compiler_pic=
   9403     ;;
   9404   *)
   9405     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9406     ;;
   9407 esac
   9408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9409 $as_echo "$lt_prog_compiler_pic" >&6; }
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 #
   9417 # Check to make sure the PIC flag actually works.
   9418 #
   9419 if test -n "$lt_prog_compiler_pic"; then
   9420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9421 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9422 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9423   $as_echo_n "(cached) " >&6
   9424 else
   9425   lt_cv_prog_compiler_pic_works=no
   9426    ac_outfile=conftest.$ac_objext
   9427    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9428    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9429    # Insert the option either (1) after the last *FLAGS variable, or
   9430    # (2) before a word containing "conftest.", or (3) at the end.
   9431    # Note that $ac_compile itself does not contain backslashes and begins
   9432    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9433    # The option is referenced via a variable to avoid confusing sed.
   9434    lt_compile=`echo "$ac_compile" | $SED \
   9435    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9436    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9437    -e 's:$: $lt_compiler_flag:'`
   9438    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9439    (eval "$lt_compile" 2>conftest.err)
   9440    ac_status=$?
   9441    cat conftest.err >&5
   9442    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9443    if (exit $ac_status) && test -s "$ac_outfile"; then
   9444      # The compiler can only warn and ignore the option if not recognized
   9445      # So say no if there are warnings other than the usual output.
   9446      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9447      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9448      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9449        lt_cv_prog_compiler_pic_works=yes
   9450      fi
   9451    fi
   9452    $RM conftest*
   9453 
   9454 fi
   9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9456 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9457 
   9458 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9459     case $lt_prog_compiler_pic in
   9460      "" | " "*) ;;
   9461      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9462      esac
   9463 else
   9464     lt_prog_compiler_pic=
   9465      lt_prog_compiler_can_build_shared=no
   9466 fi
   9467 
   9468 fi
   9469 
   9470 
   9471 
   9472 
   9473 
   9474 
   9475 #
   9476 # Check to make sure the static flag actually works.
   9477 #
   9478 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9480 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9481 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9482   $as_echo_n "(cached) " >&6
   9483 else
   9484   lt_cv_prog_compiler_static_works=no
   9485    save_LDFLAGS="$LDFLAGS"
   9486    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9487    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9488    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9489      # The linker can only warn and ignore the option if not recognized
   9490      # So say no if there are warnings
   9491      if test -s conftest.err; then
   9492        # Append any errors to the config.log.
   9493        cat conftest.err 1>&5
   9494        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9495        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9496        if diff conftest.exp conftest.er2 >/dev/null; then
   9497          lt_cv_prog_compiler_static_works=yes
   9498        fi
   9499      else
   9500        lt_cv_prog_compiler_static_works=yes
   9501      fi
   9502    fi
   9503    $RM -r conftest*
   9504    LDFLAGS="$save_LDFLAGS"
   9505 
   9506 fi
   9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9508 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9509 
   9510 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9511     :
   9512 else
   9513     lt_prog_compiler_static=
   9514 fi
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 
   9522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9523 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9524 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9525   $as_echo_n "(cached) " >&6
   9526 else
   9527   lt_cv_prog_compiler_c_o=no
   9528    $RM -r conftest 2>/dev/null
   9529    mkdir conftest
   9530    cd conftest
   9531    mkdir out
   9532    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9533 
   9534    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9535    # Insert the option either (1) after the last *FLAGS variable, or
   9536    # (2) before a word containing "conftest.", or (3) at the end.
   9537    # Note that $ac_compile itself does not contain backslashes and begins
   9538    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9539    lt_compile=`echo "$ac_compile" | $SED \
   9540    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9541    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9542    -e 's:$: $lt_compiler_flag:'`
   9543    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9544    (eval "$lt_compile" 2>out/conftest.err)
   9545    ac_status=$?
   9546    cat out/conftest.err >&5
   9547    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9548    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9549    then
   9550      # The compiler can only warn and ignore the option if not recognized
   9551      # So say no if there are warnings
   9552      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9553      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9554      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9555        lt_cv_prog_compiler_c_o=yes
   9556      fi
   9557    fi
   9558    chmod u+w . 2>&5
   9559    $RM conftest*
   9560    # SGI C++ compiler will create directory out/ii_files/ for
   9561    # template instantiation
   9562    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9563    $RM out/* && rmdir out
   9564    cd ..
   9565    $RM -r conftest
   9566    $RM conftest*
   9567 
   9568 fi
   9569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9570 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9571 
   9572 
   9573 
   9574 
   9575 
   9576 
   9577   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9578 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9579 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9580   $as_echo_n "(cached) " >&6
   9581 else
   9582   lt_cv_prog_compiler_c_o=no
   9583    $RM -r conftest 2>/dev/null
   9584    mkdir conftest
   9585    cd conftest
   9586    mkdir out
   9587    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9588 
   9589    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9590    # Insert the option either (1) after the last *FLAGS variable, or
   9591    # (2) before a word containing "conftest.", or (3) at the end.
   9592    # Note that $ac_compile itself does not contain backslashes and begins
   9593    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9594    lt_compile=`echo "$ac_compile" | $SED \
   9595    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9596    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9597    -e 's:$: $lt_compiler_flag:'`
   9598    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9599    (eval "$lt_compile" 2>out/conftest.err)
   9600    ac_status=$?
   9601    cat out/conftest.err >&5
   9602    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9603    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9604    then
   9605      # The compiler can only warn and ignore the option if not recognized
   9606      # So say no if there are warnings
   9607      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9608      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9609      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9610        lt_cv_prog_compiler_c_o=yes
   9611      fi
   9612    fi
   9613    chmod u+w . 2>&5
   9614    $RM conftest*
   9615    # SGI C++ compiler will create directory out/ii_files/ for
   9616    # template instantiation
   9617    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9618    $RM out/* && rmdir out
   9619    cd ..
   9620    $RM -r conftest
   9621    $RM conftest*
   9622 
   9623 fi
   9624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9625 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9626 
   9627 
   9628 
   9629 
   9630 hard_links="nottested"
   9631 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9632   # do not overwrite the value of need_locks provided by the user
   9633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9634 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9635   hard_links=yes
   9636   $RM conftest*
   9637   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9638   touch conftest.a
   9639   ln conftest.a conftest.b 2>&5 || hard_links=no
   9640   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9641   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9642 $as_echo "$hard_links" >&6; }
   9643   if test "$hard_links" = no; then
   9644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9645 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9646     need_locks=warn
   9647   fi
   9648 else
   9649   need_locks=no
   9650 fi
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9658 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9659 
   9660   runpath_var=
   9661   allow_undefined_flag=
   9662   always_export_symbols=no
   9663   archive_cmds=
   9664   archive_expsym_cmds=
   9665   compiler_needs_object=no
   9666   enable_shared_with_static_runtimes=no
   9667   export_dynamic_flag_spec=
   9668   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9669   hardcode_automatic=no
   9670   hardcode_direct=no
   9671   hardcode_direct_absolute=no
   9672   hardcode_libdir_flag_spec=
   9673   hardcode_libdir_flag_spec_ld=
   9674   hardcode_libdir_separator=
   9675   hardcode_minus_L=no
   9676   hardcode_shlibpath_var=unsupported
   9677   inherit_rpath=no
   9678   link_all_deplibs=unknown
   9679   module_cmds=
   9680   module_expsym_cmds=
   9681   old_archive_from_new_cmds=
   9682   old_archive_from_expsyms_cmds=
   9683   thread_safe_flag_spec=
   9684   whole_archive_flag_spec=
   9685   # include_expsyms should be a list of space-separated symbols to be *always*
   9686   # included in the symbol list
   9687   include_expsyms=
   9688   # exclude_expsyms can be an extended regexp of symbols to exclude
   9689   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9690   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9691   # as well as any symbol that contains `d'.
   9692   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9693   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9694   # platforms (ab)use it in PIC code, but their linkers get confused if
   9695   # the symbol is explicitly referenced.  Since portable code cannot
   9696   # rely on this symbol name, it's probably fine to never include it in
   9697   # preloaded symbol tables.
   9698   # Exclude shared library initialization/finalization symbols.
   9699   extract_expsyms_cmds=
   9700 
   9701   case $host_os in
   9702   cygwin* | mingw* | pw32* | cegcc*)
   9703     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9704     # When not using gcc, we currently assume that we are using
   9705     # Microsoft Visual C++.
   9706     if test "$GCC" != yes; then
   9707       with_gnu_ld=no
   9708     fi
   9709     ;;
   9710   interix*)
   9711     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9712     with_gnu_ld=yes
   9713     ;;
   9714   openbsd*)
   9715     with_gnu_ld=no
   9716     ;;
   9717   esac
   9718 
   9719   ld_shlibs=yes
   9720 
   9721   # On some targets, GNU ld is compatible enough with the native linker
   9722   # that we're better off using the native interface for both.
   9723   lt_use_gnu_ld_interface=no
   9724   if test "$with_gnu_ld" = yes; then
   9725     case $host_os in
   9726       aix*)
   9727 	# The AIX port of GNU ld has always aspired to compatibility
   9728 	# with the native linker.  However, as the warning in the GNU ld
   9729 	# block says, versions before 2.19.5* couldn't really create working
   9730 	# shared libraries, regardless of the interface used.
   9731 	case `$LD -v 2>&1` in
   9732 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9733 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9734 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9735 	  *)
   9736 	    lt_use_gnu_ld_interface=yes
   9737 	    ;;
   9738 	esac
   9739 	;;
   9740       *)
   9741 	lt_use_gnu_ld_interface=yes
   9742 	;;
   9743     esac
   9744   fi
   9745 
   9746   if test "$lt_use_gnu_ld_interface" = yes; then
   9747     # If archive_cmds runs LD, not CC, wlarc should be empty
   9748     wlarc='${wl}'
   9749 
   9750     # Set some defaults for GNU ld with shared library support. These
   9751     # are reset later if shared libraries are not supported. Putting them
   9752     # here allows them to be overridden if necessary.
   9753     runpath_var=LD_RUN_PATH
   9754     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9755     export_dynamic_flag_spec='${wl}--export-dynamic'
   9756     # ancient GNU ld didn't support --whole-archive et. al.
   9757     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9758       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9759     else
   9760       whole_archive_flag_spec=
   9761     fi
   9762     supports_anon_versioning=no
   9763     case `$LD -v 2>&1` in
   9764       *GNU\ gold*) supports_anon_versioning=yes ;;
   9765       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9766       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9767       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9768       *\ 2.11.*) ;; # other 2.11 versions
   9769       *) supports_anon_versioning=yes ;;
   9770     esac
   9771 
   9772     # See if GNU ld supports shared libraries.
   9773     case $host_os in
   9774     aix[3-9]*)
   9775       # On AIX/PPC, the GNU linker is very broken
   9776       if test "$host_cpu" != ia64; then
   9777 	ld_shlibs=no
   9778 	cat <<_LT_EOF 1>&2
   9779 
   9780 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9781 *** to be unable to reliably create shared libraries on AIX.
   9782 *** Therefore, libtool is disabling shared libraries support.  If you
   9783 *** really care for shared libraries, you may want to install binutils
   9784 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9785 *** You will then need to restart the configuration process.
   9786 
   9787 _LT_EOF
   9788       fi
   9789       ;;
   9790 
   9791     amigaos*)
   9792       case $host_cpu in
   9793       powerpc)
   9794             # see comment about AmigaOS4 .so support
   9795             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9796             archive_expsym_cmds=''
   9797         ;;
   9798       m68k)
   9799             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)'
   9800             hardcode_libdir_flag_spec='-L$libdir'
   9801             hardcode_minus_L=yes
   9802         ;;
   9803       esac
   9804       ;;
   9805 
   9806     beos*)
   9807       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9808 	allow_undefined_flag=unsupported
   9809 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9810 	# support --undefined.  This deserves some investigation.  FIXME
   9811 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9812       else
   9813 	ld_shlibs=no
   9814       fi
   9815       ;;
   9816 
   9817     cygwin* | mingw* | pw32* | cegcc*)
   9818       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9819       # as there is no search path for DLLs.
   9820       hardcode_libdir_flag_spec='-L$libdir'
   9821       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9822       allow_undefined_flag=unsupported
   9823       always_export_symbols=no
   9824       enable_shared_with_static_runtimes=yes
   9825       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9826 
   9827       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9828         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9829 	# If the export-symbols file already is a .def file (1st line
   9830 	# is EXPORTS), use it as is; otherwise, prepend...
   9831 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9832 	  cp $export_symbols $output_objdir/$soname.def;
   9833 	else
   9834 	  echo EXPORTS > $output_objdir/$soname.def;
   9835 	  cat $export_symbols >> $output_objdir/$soname.def;
   9836 	fi~
   9837 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9838       else
   9839 	ld_shlibs=no
   9840       fi
   9841       ;;
   9842 
   9843     haiku*)
   9844       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9845       link_all_deplibs=yes
   9846       ;;
   9847 
   9848     interix[3-9]*)
   9849       hardcode_direct=no
   9850       hardcode_shlibpath_var=no
   9851       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9852       export_dynamic_flag_spec='${wl}-E'
   9853       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9854       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9855       # default) and relocated if they conflict, which is a slow very memory
   9856       # consuming and fragmenting process.  To avoid this, we pick a random,
   9857       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9858       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9859       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9860       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'
   9861       ;;
   9862 
   9863     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   9864       tmp_diet=no
   9865       if test "$host_os" = linux-dietlibc; then
   9866 	case $cc_basename in
   9867 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9868 	esac
   9869       fi
   9870       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9871 	 && test "$tmp_diet" = no
   9872       then
   9873 	tmp_addflag=' $pic_flag'
   9874 	tmp_sharedflag='-shared'
   9875 	case $cc_basename,$host_cpu in
   9876         pgcc*)				# Portland Group C compiler
   9877 	  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'
   9878 	  tmp_addflag=' $pic_flag'
   9879 	  ;;
   9880 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9881 					# Portland Group f77 and f90 compilers
   9882 	  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'
   9883 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9884 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9885 	  tmp_addflag=' -i_dynamic' ;;
   9886 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9887 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9888 	ifc* | ifort*)			# Intel Fortran compiler
   9889 	  tmp_addflag=' -nofor_main' ;;
   9890 	lf95*)				# Lahey Fortran 8.1
   9891 	  whole_archive_flag_spec=
   9892 	  tmp_sharedflag='--shared' ;;
   9893 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9894 	  tmp_sharedflag='-qmkshrobj'
   9895 	  tmp_addflag= ;;
   9896 	nvcc*)	# Cuda Compiler Driver 2.2
   9897 	  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'
   9898 	  compiler_needs_object=yes
   9899 	  ;;
   9900 	esac
   9901 	case `$CC -V 2>&1 | sed 5q` in
   9902 	*Sun\ C*)			# Sun C 5.9
   9903 	  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'
   9904 	  compiler_needs_object=yes
   9905 	  tmp_sharedflag='-G' ;;
   9906 	*Sun\ F*)			# Sun Fortran 8.3
   9907 	  tmp_sharedflag='-G' ;;
   9908 	esac
   9909 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9910 
   9911         if test "x$supports_anon_versioning" = xyes; then
   9912           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9913 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9914 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9915 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9916         fi
   9917 
   9918 	case $cc_basename in
   9919 	xlf* | bgf* | bgxlf* | mpixlf*)
   9920 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9921 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9922 	  hardcode_libdir_flag_spec=
   9923 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9924 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9925 	  if test "x$supports_anon_versioning" = xyes; then
   9926 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9927 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9928 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9929 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9930 	  fi
   9931 	  ;;
   9932 	esac
   9933       else
   9934         ld_shlibs=no
   9935       fi
   9936       ;;
   9937 
   9938     netbsd*)
   9939       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9940 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9941 	wlarc=
   9942       else
   9943 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9944 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9945       fi
   9946       ;;
   9947 
   9948     solaris*)
   9949       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9950 	ld_shlibs=no
   9951 	cat <<_LT_EOF 1>&2
   9952 
   9953 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9954 *** create shared libraries on Solaris systems.  Therefore, libtool
   9955 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9956 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9957 *** your PATH or compiler configuration so that the native linker is
   9958 *** used, and then restart.
   9959 
   9960 _LT_EOF
   9961       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9962 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9963 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9964       else
   9965 	ld_shlibs=no
   9966       fi
   9967       ;;
   9968 
   9969     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9970       case `$LD -v 2>&1` in
   9971         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9972 	ld_shlibs=no
   9973 	cat <<_LT_EOF 1>&2
   9974 
   9975 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9976 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9977 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9978 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9979 *** your PATH or compiler configuration so that the native linker is
   9980 *** used, and then restart.
   9981 
   9982 _LT_EOF
   9983 	;;
   9984 	*)
   9985 	  # For security reasons, it is highly recommended that you always
   9986 	  # use absolute paths for naming shared libraries, and exclude the
   9987 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9988 	  # requires that you compile everything twice, which is a pain.
   9989 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9990 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9991 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9992 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9993 	  else
   9994 	    ld_shlibs=no
   9995 	  fi
   9996 	;;
   9997       esac
   9998       ;;
   9999 
   10000     sunos4*)
   10001       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10002       wlarc=
   10003       hardcode_direct=yes
   10004       hardcode_shlibpath_var=no
   10005       ;;
   10006 
   10007     *)
   10008       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10009 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10010 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10011       else
   10012 	ld_shlibs=no
   10013       fi
   10014       ;;
   10015     esac
   10016 
   10017     if test "$ld_shlibs" = no; then
   10018       runpath_var=
   10019       hardcode_libdir_flag_spec=
   10020       export_dynamic_flag_spec=
   10021       whole_archive_flag_spec=
   10022     fi
   10023   else
   10024     # PORTME fill in a description of your system's linker (not GNU ld)
   10025     case $host_os in
   10026     aix3*)
   10027       allow_undefined_flag=unsupported
   10028       always_export_symbols=yes
   10029       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'
   10030       # Note: this linker hardcodes the directories in LIBPATH if there
   10031       # are no directories specified by -L.
   10032       hardcode_minus_L=yes
   10033       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10034 	# Neither direct hardcoding nor static linking is supported with a
   10035 	# broken collect2.
   10036 	hardcode_direct=unsupported
   10037       fi
   10038       ;;
   10039 
   10040     aix[4-9]*)
   10041       if test "$host_cpu" = ia64; then
   10042 	# On IA64, the linker does run time linking by default, so we don't
   10043 	# have to do anything special.
   10044 	aix_use_runtimelinking=no
   10045 	exp_sym_flag='-Bexport'
   10046 	no_entry_flag=""
   10047       else
   10048 	# If we're using GNU nm, then we don't want the "-C" option.
   10049 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10050 	# Also, AIX nm treats weak defined symbols like other global
   10051 	# defined symbols, whereas GNU nm marks them as "W".
   10052 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10053 	  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'
   10054 	else
   10055 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   10056 	fi
   10057 	aix_use_runtimelinking=no
   10058 
   10059 	# Test if we are trying to use run time linking or normal
   10060 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10061 	# need to do runtime linking.
   10062 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10063 	  for ld_flag in $LDFLAGS; do
   10064 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10065 	    aix_use_runtimelinking=yes
   10066 	    break
   10067 	  fi
   10068 	  done
   10069 	  ;;
   10070 	esac
   10071 
   10072 	exp_sym_flag='-bexport'
   10073 	no_entry_flag='-bnoentry'
   10074       fi
   10075 
   10076       # When large executables or shared objects are built, AIX ld can
   10077       # have problems creating the table of contents.  If linking a library
   10078       # or program results in "error TOC overflow" add -mminimal-toc to
   10079       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10080       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10081 
   10082       archive_cmds=''
   10083       hardcode_direct=yes
   10084       hardcode_direct_absolute=yes
   10085       hardcode_libdir_separator=':'
   10086       link_all_deplibs=yes
   10087       file_list_spec='${wl}-f,'
   10088 
   10089       if test "$GCC" = yes; then
   10090 	case $host_os in aix4.[012]|aix4.[012].*)
   10091 	# We only want to do this on AIX 4.2 and lower, the check
   10092 	# below for broken collect2 doesn't work under 4.3+
   10093 	  collect2name=`${CC} -print-prog-name=collect2`
   10094 	  if test -f "$collect2name" &&
   10095 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10096 	  then
   10097 	  # We have reworked collect2
   10098 	  :
   10099 	  else
   10100 	  # We have old collect2
   10101 	  hardcode_direct=unsupported
   10102 	  # It fails to find uninstalled libraries when the uninstalled
   10103 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10104 	  # to unsupported forces relinking
   10105 	  hardcode_minus_L=yes
   10106 	  hardcode_libdir_flag_spec='-L$libdir'
   10107 	  hardcode_libdir_separator=
   10108 	  fi
   10109 	  ;;
   10110 	esac
   10111 	shared_flag='-shared'
   10112 	if test "$aix_use_runtimelinking" = yes; then
   10113 	  shared_flag="$shared_flag "'${wl}-G'
   10114 	fi
   10115       else
   10116 	# not using gcc
   10117 	if test "$host_cpu" = ia64; then
   10118 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10119 	# chokes on -Wl,-G. The following line is correct:
   10120 	  shared_flag='-G'
   10121 	else
   10122 	  if test "$aix_use_runtimelinking" = yes; then
   10123 	    shared_flag='${wl}-G'
   10124 	  else
   10125 	    shared_flag='${wl}-bM:SRE'
   10126 	  fi
   10127 	fi
   10128       fi
   10129 
   10130       export_dynamic_flag_spec='${wl}-bexpall'
   10131       # It seems that -bexpall does not export symbols beginning with
   10132       # underscore (_), so it is better to generate a list of symbols to export.
   10133       always_export_symbols=yes
   10134       if test "$aix_use_runtimelinking" = yes; then
   10135 	# Warning - without using the other runtime loading flags (-brtl),
   10136 	# -berok will link without error, but may produce a broken library.
   10137 	allow_undefined_flag='-berok'
   10138         # Determine the default libpath from the value encoded in an
   10139         # empty executable.
   10140         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10141 /* end confdefs.h.  */
   10142 
   10143 int
   10144 main ()
   10145 {
   10146 
   10147   ;
   10148   return 0;
   10149 }
   10150 _ACEOF
   10151 if ac_fn_c_try_link "$LINENO"; then :
   10152 
   10153 lt_aix_libpath_sed='
   10154     /Import File Strings/,/^$/ {
   10155 	/^0/ {
   10156 	    s/^0  *\(.*\)$/\1/
   10157 	    p
   10158 	}
   10159     }'
   10160 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10161 # Check for a 64-bit object if we didn't find anything.
   10162 if test -z "$aix_libpath"; then
   10163   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10164 fi
   10165 fi
   10166 rm -f core conftest.err conftest.$ac_objext \
   10167     conftest$ac_exeext conftest.$ac_ext
   10168 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10169 
   10170         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10171         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"
   10172       else
   10173 	if test "$host_cpu" = ia64; then
   10174 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10175 	  allow_undefined_flag="-z nodefs"
   10176 	  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"
   10177 	else
   10178 	 # Determine the default libpath from the value encoded in an
   10179 	 # empty executable.
   10180 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10181 /* end confdefs.h.  */
   10182 
   10183 int
   10184 main ()
   10185 {
   10186 
   10187   ;
   10188   return 0;
   10189 }
   10190 _ACEOF
   10191 if ac_fn_c_try_link "$LINENO"; then :
   10192 
   10193 lt_aix_libpath_sed='
   10194     /Import File Strings/,/^$/ {
   10195 	/^0/ {
   10196 	    s/^0  *\(.*\)$/\1/
   10197 	    p
   10198 	}
   10199     }'
   10200 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10201 # Check for a 64-bit object if we didn't find anything.
   10202 if test -z "$aix_libpath"; then
   10203   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10204 fi
   10205 fi
   10206 rm -f core conftest.err conftest.$ac_objext \
   10207     conftest$ac_exeext conftest.$ac_ext
   10208 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10209 
   10210 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10211 	  # Warning - without using the other run time loading flags,
   10212 	  # -berok will link without error, but may produce a broken library.
   10213 	  no_undefined_flag=' ${wl}-bernotok'
   10214 	  allow_undefined_flag=' ${wl}-berok'
   10215 	  if test "$with_gnu_ld" = yes; then
   10216 	    # We only use this code for GNU lds that support --whole-archive.
   10217 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10218 	  else
   10219 	    # Exported symbols can be pulled into shared objects from archives
   10220 	    whole_archive_flag_spec='$convenience'
   10221 	  fi
   10222 	  archive_cmds_need_lc=yes
   10223 	  # This is similar to how AIX traditionally builds its shared libraries.
   10224 	  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'
   10225 	fi
   10226       fi
   10227       ;;
   10228 
   10229     amigaos*)
   10230       case $host_cpu in
   10231       powerpc)
   10232             # see comment about AmigaOS4 .so support
   10233             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10234             archive_expsym_cmds=''
   10235         ;;
   10236       m68k)
   10237             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)'
   10238             hardcode_libdir_flag_spec='-L$libdir'
   10239             hardcode_minus_L=yes
   10240         ;;
   10241       esac
   10242       ;;
   10243 
   10244     bsdi[45]*)
   10245       export_dynamic_flag_spec=-rdynamic
   10246       ;;
   10247 
   10248     cygwin* | mingw* | pw32* | cegcc*)
   10249       # When not using gcc, we currently assume that we are using
   10250       # Microsoft Visual C++.
   10251       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10252       # no search path for DLLs.
   10253       hardcode_libdir_flag_spec=' '
   10254       allow_undefined_flag=unsupported
   10255       # Tell ltmain to make .lib files, not .a files.
   10256       libext=lib
   10257       # Tell ltmain to make .dll files, not .so files.
   10258       shrext_cmds=".dll"
   10259       # FIXME: Setting linknames here is a bad hack.
   10260       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10261       # The linker will automatically build a .lib file if we build a DLL.
   10262       old_archive_from_new_cmds='true'
   10263       # FIXME: Should let the user specify the lib program.
   10264       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10265       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10266       enable_shared_with_static_runtimes=yes
   10267       ;;
   10268 
   10269     darwin* | rhapsody*)
   10270 
   10271 
   10272   archive_cmds_need_lc=no
   10273   hardcode_direct=no
   10274   hardcode_automatic=yes
   10275   hardcode_shlibpath_var=unsupported
   10276   if test "$lt_cv_ld_force_load" = "yes"; then
   10277     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\"`'
   10278   else
   10279     whole_archive_flag_spec=''
   10280   fi
   10281   link_all_deplibs=yes
   10282   allow_undefined_flag="$_lt_dar_allow_undefined"
   10283   case $cc_basename in
   10284      ifort*) _lt_dar_can_shared=yes ;;
   10285      *) _lt_dar_can_shared=$GCC ;;
   10286   esac
   10287   if test "$_lt_dar_can_shared" = "yes"; then
   10288     output_verbose_link_cmd=func_echo_all
   10289     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10290     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10291     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}"
   10292     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}"
   10293 
   10294   else
   10295   ld_shlibs=no
   10296   fi
   10297 
   10298       ;;
   10299 
   10300     dgux*)
   10301       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10302       hardcode_libdir_flag_spec='-L$libdir'
   10303       hardcode_shlibpath_var=no
   10304       ;;
   10305 
   10306     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10307     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10308     # does not break anything, and helps significantly (at the cost of a little
   10309     # extra space).
   10310     freebsd2.2*)
   10311       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10312       hardcode_libdir_flag_spec='-R$libdir'
   10313       hardcode_direct=yes
   10314       hardcode_shlibpath_var=no
   10315       ;;
   10316 
   10317     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10318     freebsd2.*)
   10319       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10320       hardcode_direct=yes
   10321       hardcode_minus_L=yes
   10322       hardcode_shlibpath_var=no
   10323       ;;
   10324 
   10325     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10326     freebsd* | dragonfly*)
   10327       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   10328       hardcode_libdir_flag_spec='-R$libdir'
   10329       hardcode_direct=yes
   10330       hardcode_shlibpath_var=no
   10331       ;;
   10332 
   10333     hpux9*)
   10334       if test "$GCC" = yes; then
   10335 	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'
   10336       else
   10337 	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'
   10338       fi
   10339       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10340       hardcode_libdir_separator=:
   10341       hardcode_direct=yes
   10342 
   10343       # hardcode_minus_L: Not really in the search PATH,
   10344       # but as the default location of the library.
   10345       hardcode_minus_L=yes
   10346       export_dynamic_flag_spec='${wl}-E'
   10347       ;;
   10348 
   10349     hpux10*)
   10350       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10351 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10352       else
   10353 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10354       fi
   10355       if test "$with_gnu_ld" = no; then
   10356 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10357 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10358 	hardcode_libdir_separator=:
   10359 	hardcode_direct=yes
   10360 	hardcode_direct_absolute=yes
   10361 	export_dynamic_flag_spec='${wl}-E'
   10362 	# hardcode_minus_L: Not really in the search PATH,
   10363 	# but as the default location of the library.
   10364 	hardcode_minus_L=yes
   10365       fi
   10366       ;;
   10367 
   10368     hpux11*)
   10369       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10370 	case $host_cpu in
   10371 	hppa*64*)
   10372 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10373 	  ;;
   10374 	ia64*)
   10375 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10376 	  ;;
   10377 	*)
   10378 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10379 	  ;;
   10380 	esac
   10381       else
   10382 	case $host_cpu in
   10383 	hppa*64*)
   10384 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10385 	  ;;
   10386 	ia64*)
   10387 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10388 	  ;;
   10389 	*)
   10390 
   10391 	  # Older versions of the 11.00 compiler do not understand -b yet
   10392 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10393 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10394 $as_echo_n "checking if $CC understands -b... " >&6; }
   10395 if ${lt_cv_prog_compiler__b+:} false; then :
   10396   $as_echo_n "(cached) " >&6
   10397 else
   10398   lt_cv_prog_compiler__b=no
   10399    save_LDFLAGS="$LDFLAGS"
   10400    LDFLAGS="$LDFLAGS -b"
   10401    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10402    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10403      # The linker can only warn and ignore the option if not recognized
   10404      # So say no if there are warnings
   10405      if test -s conftest.err; then
   10406        # Append any errors to the config.log.
   10407        cat conftest.err 1>&5
   10408        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10409        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10410        if diff conftest.exp conftest.er2 >/dev/null; then
   10411          lt_cv_prog_compiler__b=yes
   10412        fi
   10413      else
   10414        lt_cv_prog_compiler__b=yes
   10415      fi
   10416    fi
   10417    $RM -r conftest*
   10418    LDFLAGS="$save_LDFLAGS"
   10419 
   10420 fi
   10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10422 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10423 
   10424 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10425     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10426 else
   10427     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10428 fi
   10429 
   10430 	  ;;
   10431 	esac
   10432       fi
   10433       if test "$with_gnu_ld" = no; then
   10434 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10435 	hardcode_libdir_separator=:
   10436 
   10437 	case $host_cpu in
   10438 	hppa*64*|ia64*)
   10439 	  hardcode_direct=no
   10440 	  hardcode_shlibpath_var=no
   10441 	  ;;
   10442 	*)
   10443 	  hardcode_direct=yes
   10444 	  hardcode_direct_absolute=yes
   10445 	  export_dynamic_flag_spec='${wl}-E'
   10446 
   10447 	  # hardcode_minus_L: Not really in the search PATH,
   10448 	  # but as the default location of the library.
   10449 	  hardcode_minus_L=yes
   10450 	  ;;
   10451 	esac
   10452       fi
   10453       ;;
   10454 
   10455     irix5* | irix6* | nonstopux*)
   10456       if test "$GCC" = yes; then
   10457 	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'
   10458 	# Try to use the -exported_symbol ld option, if it does not
   10459 	# work, assume that -exports_file does not work either and
   10460 	# implicitly export all symbols.
   10461         save_LDFLAGS="$LDFLAGS"
   10462         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10463         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10464 /* end confdefs.h.  */
   10465 int foo(void) {}
   10466 _ACEOF
   10467 if ac_fn_c_try_link "$LINENO"; then :
   10468   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'
   10469 
   10470 fi
   10471 rm -f core conftest.err conftest.$ac_objext \
   10472     conftest$ac_exeext conftest.$ac_ext
   10473         LDFLAGS="$save_LDFLAGS"
   10474       else
   10475 	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'
   10476 	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'
   10477       fi
   10478       archive_cmds_need_lc='no'
   10479       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10480       hardcode_libdir_separator=:
   10481       inherit_rpath=yes
   10482       link_all_deplibs=yes
   10483       ;;
   10484 
   10485     netbsd*)
   10486       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10487 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10488       else
   10489 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10490       fi
   10491       hardcode_libdir_flag_spec='-R$libdir'
   10492       hardcode_direct=yes
   10493       hardcode_shlibpath_var=no
   10494       ;;
   10495 
   10496     newsos6)
   10497       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10498       hardcode_direct=yes
   10499       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10500       hardcode_libdir_separator=:
   10501       hardcode_shlibpath_var=no
   10502       ;;
   10503 
   10504     *nto* | *qnx*)
   10505       ;;
   10506 
   10507     openbsd*)
   10508       if test -f /usr/libexec/ld.so; then
   10509 	hardcode_direct=yes
   10510 	hardcode_shlibpath_var=no
   10511 	hardcode_direct_absolute=yes
   10512 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10513 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10514 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10515 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10516 	  export_dynamic_flag_spec='${wl}-E'
   10517 	else
   10518 	  case $host_os in
   10519 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10520 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10521 	     hardcode_libdir_flag_spec='-R$libdir'
   10522 	     ;;
   10523 	   *)
   10524 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10525 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10526 	     ;;
   10527 	  esac
   10528 	fi
   10529       else
   10530 	ld_shlibs=no
   10531       fi
   10532       ;;
   10533 
   10534     os2*)
   10535       hardcode_libdir_flag_spec='-L$libdir'
   10536       hardcode_minus_L=yes
   10537       allow_undefined_flag=unsupported
   10538       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'
   10539       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10540       ;;
   10541 
   10542     osf3*)
   10543       if test "$GCC" = yes; then
   10544 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10545 	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'
   10546       else
   10547 	allow_undefined_flag=' -expect_unresolved \*'
   10548 	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'
   10549       fi
   10550       archive_cmds_need_lc='no'
   10551       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10552       hardcode_libdir_separator=:
   10553       ;;
   10554 
   10555     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10556       if test "$GCC" = yes; then
   10557 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10558 	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'
   10559 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10560       else
   10561 	allow_undefined_flag=' -expect_unresolved \*'
   10562 	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'
   10563 	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~
   10564 	$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'
   10565 
   10566 	# Both c and cxx compiler support -rpath directly
   10567 	hardcode_libdir_flag_spec='-rpath $libdir'
   10568       fi
   10569       archive_cmds_need_lc='no'
   10570       hardcode_libdir_separator=:
   10571       ;;
   10572 
   10573     solaris*)
   10574       no_undefined_flag=' -z defs'
   10575       if test "$GCC" = yes; then
   10576 	wlarc='${wl}'
   10577 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10578 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10579 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10580       else
   10581 	case `$CC -V 2>&1` in
   10582 	*"Compilers 5.0"*)
   10583 	  wlarc=''
   10584 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10585 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10586 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10587 	  ;;
   10588 	*)
   10589 	  wlarc='${wl}'
   10590 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10591 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10592 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10593 	  ;;
   10594 	esac
   10595       fi
   10596       hardcode_libdir_flag_spec='-R$libdir'
   10597       hardcode_shlibpath_var=no
   10598       case $host_os in
   10599       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10600       *)
   10601 	# The compiler driver will combine and reorder linker options,
   10602 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10603 	# but is careful enough not to reorder.
   10604 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10605 	if test "$GCC" = yes; then
   10606 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10607 	else
   10608 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10609 	fi
   10610 	;;
   10611       esac
   10612       link_all_deplibs=yes
   10613       ;;
   10614 
   10615     sunos4*)
   10616       if test "x$host_vendor" = xsequent; then
   10617 	# Use $CC to link under sequent, because it throws in some extra .o
   10618 	# files that make .init and .fini sections work.
   10619 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10620       else
   10621 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10622       fi
   10623       hardcode_libdir_flag_spec='-L$libdir'
   10624       hardcode_direct=yes
   10625       hardcode_minus_L=yes
   10626       hardcode_shlibpath_var=no
   10627       ;;
   10628 
   10629     sysv4)
   10630       case $host_vendor in
   10631 	sni)
   10632 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10633 	  hardcode_direct=yes # is this really true???
   10634 	;;
   10635 	siemens)
   10636 	  ## LD is ld it makes a PLAMLIB
   10637 	  ## CC just makes a GrossModule.
   10638 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10639 	  reload_cmds='$CC -r -o $output$reload_objs'
   10640 	  hardcode_direct=no
   10641         ;;
   10642 	motorola)
   10643 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10644 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10645 	;;
   10646       esac
   10647       runpath_var='LD_RUN_PATH'
   10648       hardcode_shlibpath_var=no
   10649       ;;
   10650 
   10651     sysv4.3*)
   10652       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10653       hardcode_shlibpath_var=no
   10654       export_dynamic_flag_spec='-Bexport'
   10655       ;;
   10656 
   10657     sysv4*MP*)
   10658       if test -d /usr/nec; then
   10659 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10660 	hardcode_shlibpath_var=no
   10661 	runpath_var=LD_RUN_PATH
   10662 	hardcode_runpath_var=yes
   10663 	ld_shlibs=yes
   10664       fi
   10665       ;;
   10666 
   10667     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10668       no_undefined_flag='${wl}-z,text'
   10669       archive_cmds_need_lc=no
   10670       hardcode_shlibpath_var=no
   10671       runpath_var='LD_RUN_PATH'
   10672 
   10673       if test "$GCC" = yes; then
   10674 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10675 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10676       else
   10677 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10678 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10679       fi
   10680       ;;
   10681 
   10682     sysv5* | sco3.2v5* | sco5v6*)
   10683       # Note: We can NOT use -z defs as we might desire, because we do not
   10684       # link with -lc, and that would cause any symbols used from libc to
   10685       # always be unresolved, which means just about no library would
   10686       # ever link correctly.  If we're not using GNU ld we use -z text
   10687       # though, which does catch some bad symbols but isn't as heavy-handed
   10688       # as -z defs.
   10689       no_undefined_flag='${wl}-z,text'
   10690       allow_undefined_flag='${wl}-z,nodefs'
   10691       archive_cmds_need_lc=no
   10692       hardcode_shlibpath_var=no
   10693       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10694       hardcode_libdir_separator=':'
   10695       link_all_deplibs=yes
   10696       export_dynamic_flag_spec='${wl}-Bexport'
   10697       runpath_var='LD_RUN_PATH'
   10698 
   10699       if test "$GCC" = yes; then
   10700 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10701 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10702       else
   10703 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10704 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10705       fi
   10706       ;;
   10707 
   10708     uts4*)
   10709       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10710       hardcode_libdir_flag_spec='-L$libdir'
   10711       hardcode_shlibpath_var=no
   10712       ;;
   10713 
   10714     *)
   10715       ld_shlibs=no
   10716       ;;
   10717     esac
   10718 
   10719     if test x$host_vendor = xsni; then
   10720       case $host in
   10721       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10722 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10723 	;;
   10724       esac
   10725     fi
   10726   fi
   10727 
   10728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10729 $as_echo "$ld_shlibs" >&6; }
   10730 test "$ld_shlibs" = no && can_build_shared=no
   10731 
   10732 with_gnu_ld=$with_gnu_ld
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 #
   10749 # Do we need to explicitly link libc?
   10750 #
   10751 case "x$archive_cmds_need_lc" in
   10752 x|xyes)
   10753   # Assume -lc should be added
   10754   archive_cmds_need_lc=yes
   10755 
   10756   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10757     case $archive_cmds in
   10758     *'~'*)
   10759       # FIXME: we may have to deal with multi-command sequences.
   10760       ;;
   10761     '$CC '*)
   10762       # Test whether the compiler implicitly links with -lc since on some
   10763       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10764       # to ld, don't add -lc before -lgcc.
   10765       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10766 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10767 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10768   $as_echo_n "(cached) " >&6
   10769 else
   10770   $RM conftest*
   10771 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10772 
   10773 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10774   (eval $ac_compile) 2>&5
   10775   ac_status=$?
   10776   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10777   test $ac_status = 0; } 2>conftest.err; then
   10778 	  soname=conftest
   10779 	  lib=conftest
   10780 	  libobjs=conftest.$ac_objext
   10781 	  deplibs=
   10782 	  wl=$lt_prog_compiler_wl
   10783 	  pic_flag=$lt_prog_compiler_pic
   10784 	  compiler_flags=-v
   10785 	  linker_flags=-v
   10786 	  verstring=
   10787 	  output_objdir=.
   10788 	  libname=conftest
   10789 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10790 	  allow_undefined_flag=
   10791 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10792   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10793   ac_status=$?
   10794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10795   test $ac_status = 0; }
   10796 	  then
   10797 	    lt_cv_archive_cmds_need_lc=no
   10798 	  else
   10799 	    lt_cv_archive_cmds_need_lc=yes
   10800 	  fi
   10801 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10802 	else
   10803 	  cat conftest.err 1>&5
   10804 	fi
   10805 	$RM conftest*
   10806 
   10807 fi
   10808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10809 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10810       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10811       ;;
   10812     esac
   10813   fi
   10814   ;;
   10815 esac
   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 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 
   10879 
   10880 
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 
   10925 
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 
   10940 
   10941 
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 
   10965 
   10966 
   10967 
   10968 
   10969 
   10970 
   10971 
   10972 
   10973   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10974 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10975 
   10976 if test "$GCC" = yes; then
   10977   case $host_os in
   10978     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10979     *) lt_awk_arg="/^libraries:/" ;;
   10980   esac
   10981   case $host_os in
   10982     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10983     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10984   esac
   10985   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10986   case $lt_search_path_spec in
   10987   *\;*)
   10988     # if the path contains ";" then we assume it to be the separator
   10989     # otherwise default to the standard path separator (i.e. ":") - it is
   10990     # assumed that no part of a normal pathname contains ";" but that should
   10991     # okay in the real world where ";" in dirpaths is itself problematic.
   10992     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10993     ;;
   10994   *)
   10995     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10996     ;;
   10997   esac
   10998   # Ok, now we have the path, separated by spaces, we can step through it
   10999   # and add multilib dir if necessary.
   11000   lt_tmp_lt_search_path_spec=
   11001   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11002   for lt_sys_path in $lt_search_path_spec; do
   11003     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11004       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11005     else
   11006       test -d "$lt_sys_path" && \
   11007 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11008     fi
   11009   done
   11010   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11011 BEGIN {RS=" "; FS="/|\n";} {
   11012   lt_foo="";
   11013   lt_count=0;
   11014   for (lt_i = NF; lt_i > 0; lt_i--) {
   11015     if ($lt_i != "" && $lt_i != ".") {
   11016       if ($lt_i == "..") {
   11017         lt_count++;
   11018       } else {
   11019         if (lt_count == 0) {
   11020           lt_foo="/" $lt_i lt_foo;
   11021         } else {
   11022           lt_count--;
   11023         }
   11024       }
   11025     }
   11026   }
   11027   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11028   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11029 }'`
   11030   # AWK program above erroneously prepends '/' to C:/dos/paths
   11031   # for these hosts.
   11032   case $host_os in
   11033     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11034       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11035   esac
   11036   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11037 else
   11038   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11039 fi
   11040 library_names_spec=
   11041 libname_spec='lib$name'
   11042 soname_spec=
   11043 shrext_cmds=".so"
   11044 postinstall_cmds=
   11045 postuninstall_cmds=
   11046 finish_cmds=
   11047 finish_eval=
   11048 shlibpath_var=
   11049 shlibpath_overrides_runpath=unknown
   11050 version_type=none
   11051 dynamic_linker="$host_os ld.so"
   11052 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11053 need_lib_prefix=unknown
   11054 hardcode_into_libs=no
   11055 
   11056 # when you set need_version to no, make sure it does not cause -set_version
   11057 # flags to be left without arguments
   11058 need_version=unknown
   11059 
   11060 case $host_os in
   11061 aix3*)
   11062   version_type=linux
   11063   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11064   shlibpath_var=LIBPATH
   11065 
   11066   # AIX 3 has no versioning support, so we append a major version to the name.
   11067   soname_spec='${libname}${release}${shared_ext}$major'
   11068   ;;
   11069 
   11070 aix[4-9]*)
   11071   version_type=linux
   11072   need_lib_prefix=no
   11073   need_version=no
   11074   hardcode_into_libs=yes
   11075   if test "$host_cpu" = ia64; then
   11076     # AIX 5 supports IA64
   11077     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11078     shlibpath_var=LD_LIBRARY_PATH
   11079   else
   11080     # With GCC up to 2.95.x, collect2 would create an import file
   11081     # for dependence libraries.  The import file would start with
   11082     # the line `#! .'.  This would cause the generated library to
   11083     # depend on `.', always an invalid library.  This was fixed in
   11084     # development snapshots of GCC prior to 3.0.
   11085     case $host_os in
   11086       aix4 | aix4.[01] | aix4.[01].*)
   11087       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11088 	   echo ' yes '
   11089 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11090 	:
   11091       else
   11092 	can_build_shared=no
   11093       fi
   11094       ;;
   11095     esac
   11096     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11097     # soname into executable. Probably we can add versioning support to
   11098     # collect2, so additional links can be useful in future.
   11099     if test "$aix_use_runtimelinking" = yes; then
   11100       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11101       # instead of lib<name>.a to let people know that these are not
   11102       # typical AIX shared libraries.
   11103       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11104     else
   11105       # We preserve .a as extension for shared libraries through AIX4.2
   11106       # and later when we are not doing run time linking.
   11107       library_names_spec='${libname}${release}.a $libname.a'
   11108       soname_spec='${libname}${release}${shared_ext}$major'
   11109     fi
   11110     shlibpath_var=LIBPATH
   11111   fi
   11112   ;;
   11113 
   11114 amigaos*)
   11115   case $host_cpu in
   11116   powerpc)
   11117     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11118     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11119     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11120     ;;
   11121   m68k)
   11122     library_names_spec='$libname.ixlibrary $libname.a'
   11123     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11124     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'
   11125     ;;
   11126   esac
   11127   ;;
   11128 
   11129 beos*)
   11130   library_names_spec='${libname}${shared_ext}'
   11131   dynamic_linker="$host_os ld.so"
   11132   shlibpath_var=LIBRARY_PATH
   11133   ;;
   11134 
   11135 bsdi[45]*)
   11136   version_type=linux
   11137   need_version=no
   11138   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11139   soname_spec='${libname}${release}${shared_ext}$major'
   11140   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11141   shlibpath_var=LD_LIBRARY_PATH
   11142   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11143   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11144   # the default ld.so.conf also contains /usr/contrib/lib and
   11145   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11146   # libtool to hard-code these into programs
   11147   ;;
   11148 
   11149 cygwin* | mingw* | pw32* | cegcc*)
   11150   version_type=windows
   11151   shrext_cmds=".dll"
   11152   need_version=no
   11153   need_lib_prefix=no
   11154 
   11155   case $GCC,$host_os in
   11156   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11157     library_names_spec='$libname.dll.a'
   11158     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11159     postinstall_cmds='base_file=`basename \${file}`~
   11160       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11161       dldir=$destdir/`dirname \$dlpath`~
   11162       test -d \$dldir || mkdir -p \$dldir~
   11163       $install_prog $dir/$dlname \$dldir/$dlname~
   11164       chmod a+x \$dldir/$dlname~
   11165       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11166         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11167       fi'
   11168     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11169       dlpath=$dir/\$dldll~
   11170        $RM \$dlpath'
   11171     shlibpath_overrides_runpath=yes
   11172 
   11173     case $host_os in
   11174     cygwin*)
   11175       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11176       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11177 
   11178       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11179       ;;
   11180     mingw* | cegcc*)
   11181       # MinGW DLLs use traditional 'lib' prefix
   11182       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11183       ;;
   11184     pw32*)
   11185       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11186       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11187       ;;
   11188     esac
   11189     ;;
   11190 
   11191   *)
   11192     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11193     ;;
   11194   esac
   11195   dynamic_linker='Win32 ld.exe'
   11196   # FIXME: first we should search . and the directory the executable is in
   11197   shlibpath_var=PATH
   11198   ;;
   11199 
   11200 darwin* | rhapsody*)
   11201   dynamic_linker="$host_os dyld"
   11202   version_type=darwin
   11203   need_lib_prefix=no
   11204   need_version=no
   11205   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11206   soname_spec='${libname}${release}${major}$shared_ext'
   11207   shlibpath_overrides_runpath=yes
   11208   shlibpath_var=DYLD_LIBRARY_PATH
   11209   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11210 
   11211   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11212   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11213   ;;
   11214 
   11215 dgux*)
   11216   version_type=linux
   11217   need_lib_prefix=no
   11218   need_version=no
   11219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11220   soname_spec='${libname}${release}${shared_ext}$major'
   11221   shlibpath_var=LD_LIBRARY_PATH
   11222   ;;
   11223 
   11224 freebsd* | dragonfly*)
   11225   # DragonFly does not have aout.  When/if they implement a new
   11226   # versioning mechanism, adjust this.
   11227   if test -x /usr/bin/objformat; then
   11228     objformat=`/usr/bin/objformat`
   11229   else
   11230     case $host_os in
   11231     freebsd[23].*) objformat=aout ;;
   11232     *) objformat=elf ;;
   11233     esac
   11234   fi
   11235   version_type=freebsd-$objformat
   11236   case $version_type in
   11237     freebsd-elf*)
   11238       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11239       need_version=no
   11240       need_lib_prefix=no
   11241       ;;
   11242     freebsd-*)
   11243       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11244       need_version=yes
   11245       ;;
   11246   esac
   11247   shlibpath_var=LD_LIBRARY_PATH
   11248   case $host_os in
   11249   freebsd2.*)
   11250     shlibpath_overrides_runpath=yes
   11251     ;;
   11252   freebsd3.[01]* | freebsdelf3.[01]*)
   11253     shlibpath_overrides_runpath=yes
   11254     hardcode_into_libs=yes
   11255     ;;
   11256   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11257   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11258     shlibpath_overrides_runpath=no
   11259     hardcode_into_libs=yes
   11260     ;;
   11261   *) # from 4.6 on, and DragonFly
   11262     shlibpath_overrides_runpath=yes
   11263     hardcode_into_libs=yes
   11264     ;;
   11265   esac
   11266   ;;
   11267 
   11268 haiku*)
   11269   version_type=linux
   11270   need_lib_prefix=no
   11271   need_version=no
   11272   dynamic_linker="$host_os runtime_loader"
   11273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11274   soname_spec='${libname}${release}${shared_ext}$major'
   11275   shlibpath_var=LIBRARY_PATH
   11276   shlibpath_overrides_runpath=yes
   11277   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11278   hardcode_into_libs=yes
   11279   ;;
   11280 
   11281 hpux9* | hpux10* | hpux11*)
   11282   # Give a soname corresponding to the major version so that dld.sl refuses to
   11283   # link against other versions.
   11284   version_type=sunos
   11285   need_lib_prefix=no
   11286   need_version=no
   11287   case $host_cpu in
   11288   ia64*)
   11289     shrext_cmds='.so'
   11290     hardcode_into_libs=yes
   11291     dynamic_linker="$host_os dld.so"
   11292     shlibpath_var=LD_LIBRARY_PATH
   11293     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11294     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11295     soname_spec='${libname}${release}${shared_ext}$major'
   11296     if test "X$HPUX_IA64_MODE" = X32; then
   11297       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11298     else
   11299       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11300     fi
   11301     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11302     ;;
   11303   hppa*64*)
   11304     shrext_cmds='.sl'
   11305     hardcode_into_libs=yes
   11306     dynamic_linker="$host_os dld.sl"
   11307     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11308     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11309     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11310     soname_spec='${libname}${release}${shared_ext}$major'
   11311     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11312     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11313     ;;
   11314   *)
   11315     shrext_cmds='.sl'
   11316     dynamic_linker="$host_os dld.sl"
   11317     shlibpath_var=SHLIB_PATH
   11318     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11319     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11320     soname_spec='${libname}${release}${shared_ext}$major'
   11321     ;;
   11322   esac
   11323   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11324   postinstall_cmds='chmod 555 $lib'
   11325   # or fails outright, so override atomically:
   11326   install_override_mode=555
   11327   ;;
   11328 
   11329 interix[3-9]*)
   11330   version_type=linux
   11331   need_lib_prefix=no
   11332   need_version=no
   11333   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11334   soname_spec='${libname}${release}${shared_ext}$major'
   11335   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11336   shlibpath_var=LD_LIBRARY_PATH
   11337   shlibpath_overrides_runpath=no
   11338   hardcode_into_libs=yes
   11339   ;;
   11340 
   11341 irix5* | irix6* | nonstopux*)
   11342   case $host_os in
   11343     nonstopux*) version_type=nonstopux ;;
   11344     *)
   11345 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11346 		version_type=linux
   11347 	else
   11348 		version_type=irix
   11349 	fi ;;
   11350   esac
   11351   need_lib_prefix=no
   11352   need_version=no
   11353   soname_spec='${libname}${release}${shared_ext}$major'
   11354   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11355   case $host_os in
   11356   irix5* | nonstopux*)
   11357     libsuff= shlibsuff=
   11358     ;;
   11359   *)
   11360     case $LD in # libtool.m4 will add one of these switches to LD
   11361     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11362       libsuff= shlibsuff= libmagic=32-bit;;
   11363     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11364       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11365     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11366       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11367     *) libsuff= shlibsuff= libmagic=never-match;;
   11368     esac
   11369     ;;
   11370   esac
   11371   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11372   shlibpath_overrides_runpath=no
   11373   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11374   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11375   hardcode_into_libs=yes
   11376   ;;
   11377 
   11378 # No shared lib support for Linux oldld, aout, or coff.
   11379 linux*oldld* | linux*aout* | linux*coff*)
   11380   dynamic_linker=no
   11381   ;;
   11382 
   11383 # This must be Linux ELF.
   11384 
   11385 # uclinux* changes (here and below) have been submitted to the libtool
   11386 # project, but have not yet been accepted: they are GCC-local changes
   11387 # for the time being.  (See
   11388 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   11389 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   11390   version_type=linux
   11391   need_lib_prefix=no
   11392   need_version=no
   11393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11394   soname_spec='${libname}${release}${shared_ext}$major'
   11395   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11396   shlibpath_var=LD_LIBRARY_PATH
   11397   shlibpath_overrides_runpath=no
   11398 
   11399   # Some binutils ld are patched to set DT_RUNPATH
   11400   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11401   $as_echo_n "(cached) " >&6
   11402 else
   11403   lt_cv_shlibpath_overrides_runpath=no
   11404     save_LDFLAGS=$LDFLAGS
   11405     save_libdir=$libdir
   11406     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11407 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11408     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11409 /* end confdefs.h.  */
   11410 
   11411 int
   11412 main ()
   11413 {
   11414 
   11415   ;
   11416   return 0;
   11417 }
   11418 _ACEOF
   11419 if ac_fn_c_try_link "$LINENO"; then :
   11420   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11421   lt_cv_shlibpath_overrides_runpath=yes
   11422 fi
   11423 fi
   11424 rm -f core conftest.err conftest.$ac_objext \
   11425     conftest$ac_exeext conftest.$ac_ext
   11426     LDFLAGS=$save_LDFLAGS
   11427     libdir=$save_libdir
   11428 
   11429 fi
   11430 
   11431   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11432 
   11433   # This implies no fast_install, which is unacceptable.
   11434   # Some rework will be needed to allow for fast_install
   11435   # before this can be enabled.
   11436   hardcode_into_libs=yes
   11437 
   11438   # Append ld.so.conf contents to the search path
   11439   if test -f /etc/ld.so.conf; then
   11440     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' ' '`
   11441     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11442   fi
   11443 
   11444   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11445   # powerpc, because MkLinux only supported shared libraries with the
   11446   # GNU dynamic linker.  Since this was broken with cross compilers,
   11447   # most powerpc-linux boxes support dynamic linking these days and
   11448   # people can always --disable-shared, the test was removed, and we
   11449   # assume the GNU/Linux dynamic linker is in use.
   11450   dynamic_linker='GNU/Linux ld.so'
   11451   ;;
   11452 
   11453 netbsd*)
   11454   version_type=sunos
   11455   need_lib_prefix=no
   11456   need_version=no
   11457   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11458     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11459     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11460     dynamic_linker='NetBSD (a.out) ld.so'
   11461   else
   11462     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11463     soname_spec='${libname}${release}${shared_ext}$major'
   11464     dynamic_linker='NetBSD ld.elf_so'
   11465   fi
   11466   shlibpath_var=LD_LIBRARY_PATH
   11467   shlibpath_overrides_runpath=yes
   11468   hardcode_into_libs=yes
   11469   ;;
   11470 
   11471 newsos6)
   11472   version_type=linux
   11473   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11474   shlibpath_var=LD_LIBRARY_PATH
   11475   shlibpath_overrides_runpath=yes
   11476   ;;
   11477 
   11478 *nto* | *qnx*)
   11479   version_type=qnx
   11480   need_lib_prefix=no
   11481   need_version=no
   11482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11483   soname_spec='${libname}${release}${shared_ext}$major'
   11484   shlibpath_var=LD_LIBRARY_PATH
   11485   shlibpath_overrides_runpath=no
   11486   hardcode_into_libs=yes
   11487   dynamic_linker='ldqnx.so'
   11488   ;;
   11489 
   11490 openbsd*)
   11491   version_type=sunos
   11492   sys_lib_dlsearch_path_spec="/usr/lib"
   11493   need_lib_prefix=no
   11494   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11495   case $host_os in
   11496     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11497     *)				need_version=no  ;;
   11498   esac
   11499   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11500   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11501   shlibpath_var=LD_LIBRARY_PATH
   11502   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11503     case $host_os in
   11504       openbsd2.[89] | openbsd2.[89].*)
   11505 	shlibpath_overrides_runpath=no
   11506 	;;
   11507       *)
   11508 	shlibpath_overrides_runpath=yes
   11509 	;;
   11510       esac
   11511   else
   11512     shlibpath_overrides_runpath=yes
   11513   fi
   11514   ;;
   11515 
   11516 os2*)
   11517   libname_spec='$name'
   11518   shrext_cmds=".dll"
   11519   need_lib_prefix=no
   11520   library_names_spec='$libname${shared_ext} $libname.a'
   11521   dynamic_linker='OS/2 ld.exe'
   11522   shlibpath_var=LIBPATH
   11523   ;;
   11524 
   11525 osf3* | osf4* | osf5*)
   11526   version_type=osf
   11527   need_lib_prefix=no
   11528   need_version=no
   11529   soname_spec='${libname}${release}${shared_ext}$major'
   11530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11531   shlibpath_var=LD_LIBRARY_PATH
   11532   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11533   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11534   ;;
   11535 
   11536 rdos*)
   11537   dynamic_linker=no
   11538   ;;
   11539 
   11540 solaris*)
   11541   version_type=linux
   11542   need_lib_prefix=no
   11543   need_version=no
   11544   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11545   soname_spec='${libname}${release}${shared_ext}$major'
   11546   shlibpath_var=LD_LIBRARY_PATH
   11547   shlibpath_overrides_runpath=yes
   11548   hardcode_into_libs=yes
   11549   # ldd complains unless libraries are executable
   11550   postinstall_cmds='chmod +x $lib'
   11551   ;;
   11552 
   11553 sunos4*)
   11554   version_type=sunos
   11555   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11556   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11557   shlibpath_var=LD_LIBRARY_PATH
   11558   shlibpath_overrides_runpath=yes
   11559   if test "$with_gnu_ld" = yes; then
   11560     need_lib_prefix=no
   11561   fi
   11562   need_version=yes
   11563   ;;
   11564 
   11565 sysv4 | sysv4.3*)
   11566   version_type=linux
   11567   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11568   soname_spec='${libname}${release}${shared_ext}$major'
   11569   shlibpath_var=LD_LIBRARY_PATH
   11570   case $host_vendor in
   11571     sni)
   11572       shlibpath_overrides_runpath=no
   11573       need_lib_prefix=no
   11574       runpath_var=LD_RUN_PATH
   11575       ;;
   11576     siemens)
   11577       need_lib_prefix=no
   11578       ;;
   11579     motorola)
   11580       need_lib_prefix=no
   11581       need_version=no
   11582       shlibpath_overrides_runpath=no
   11583       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11584       ;;
   11585   esac
   11586   ;;
   11587 
   11588 sysv4*MP*)
   11589   if test -d /usr/nec ;then
   11590     version_type=linux
   11591     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11592     soname_spec='$libname${shared_ext}.$major'
   11593     shlibpath_var=LD_LIBRARY_PATH
   11594   fi
   11595   ;;
   11596 
   11597 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11598   version_type=freebsd-elf
   11599   need_lib_prefix=no
   11600   need_version=no
   11601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11602   soname_spec='${libname}${release}${shared_ext}$major'
   11603   shlibpath_var=LD_LIBRARY_PATH
   11604   shlibpath_overrides_runpath=yes
   11605   hardcode_into_libs=yes
   11606   if test "$with_gnu_ld" = yes; then
   11607     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11608   else
   11609     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11610     case $host_os in
   11611       sco3.2v5*)
   11612         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11613 	;;
   11614     esac
   11615   fi
   11616   sys_lib_dlsearch_path_spec='/usr/lib'
   11617   ;;
   11618 
   11619 tpf*)
   11620   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11621   version_type=linux
   11622   need_lib_prefix=no
   11623   need_version=no
   11624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11625   shlibpath_var=LD_LIBRARY_PATH
   11626   shlibpath_overrides_runpath=no
   11627   hardcode_into_libs=yes
   11628   ;;
   11629 
   11630 uts4*)
   11631   version_type=linux
   11632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11633   soname_spec='${libname}${release}${shared_ext}$major'
   11634   shlibpath_var=LD_LIBRARY_PATH
   11635   ;;
   11636 
   11637 # Shared libraries for VwWorks, >= 7 only at this stage
   11638 # and (fpic) still incompatible with "large" code models
   11639 # in a few configurations. Only for RTP mode in any case,
   11640 # and upon explicit request at configure time.
   11641 vxworks7*)
   11642   dynamic_linker=no
   11643   case ${with_multisubdir}-${enable_shared} in
   11644     *large*)
   11645       ;;
   11646     *mrtp*-yes)
   11647       version_type=linux
   11648       need_lib_prefix=no
   11649       need_version=no
   11650       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11651       soname_spec='${libname}${release}${shared_ext}$major'
   11652       dynamic_linker="$host_os module_loader"
   11653       ;;
   11654   esac
   11655   ;;
   11656 *)
   11657   dynamic_linker=no
   11658   ;;
   11659 esac
   11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11661 $as_echo "$dynamic_linker" >&6; }
   11662 test "$dynamic_linker" = no && can_build_shared=no
   11663 
   11664 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11665 if test "$GCC" = yes; then
   11666   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11667 fi
   11668 
   11669 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11670   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11671 fi
   11672 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11673   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11674 fi
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 
   11700 
   11701 
   11702 
   11703 
   11704 
   11705 
   11706 
   11707 
   11708 
   11709 
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 
   11729 
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11768 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11769 hardcode_action=
   11770 if test -n "$hardcode_libdir_flag_spec" ||
   11771    test -n "$runpath_var" ||
   11772    test "X$hardcode_automatic" = "Xyes" ; then
   11773 
   11774   # We can hardcode non-existent directories.
   11775   if test "$hardcode_direct" != no &&
   11776      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11777      # have to relink, otherwise we might link with an installed library
   11778      # when we should be linking with a yet-to-be-installed one
   11779      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11780      test "$hardcode_minus_L" != no; then
   11781     # Linking always hardcodes the temporary library directory.
   11782     hardcode_action=relink
   11783   else
   11784     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11785     hardcode_action=immediate
   11786   fi
   11787 else
   11788   # We cannot hardcode anything, or else we can only hardcode existing
   11789   # directories.
   11790   hardcode_action=unsupported
   11791 fi
   11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11793 $as_echo "$hardcode_action" >&6; }
   11794 
   11795 if test "$hardcode_action" = relink ||
   11796    test "$inherit_rpath" = yes; then
   11797   # Fast installation is not supported
   11798   enable_fast_install=no
   11799 elif test "$shlibpath_overrides_runpath" = yes ||
   11800      test "$enable_shared" = no; then
   11801   # Fast installation is not necessary
   11802   enable_fast_install=needless
   11803 fi
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810   if test "x$enable_dlopen" != xyes; then
   11811   enable_dlopen=unknown
   11812   enable_dlopen_self=unknown
   11813   enable_dlopen_self_static=unknown
   11814 else
   11815   lt_cv_dlopen=no
   11816   lt_cv_dlopen_libs=
   11817 
   11818   case $host_os in
   11819   beos*)
   11820     lt_cv_dlopen="load_add_on"
   11821     lt_cv_dlopen_libs=
   11822     lt_cv_dlopen_self=yes
   11823     ;;
   11824 
   11825   mingw* | pw32* | cegcc*)
   11826     lt_cv_dlopen="LoadLibrary"
   11827     lt_cv_dlopen_libs=
   11828     ;;
   11829 
   11830   cygwin*)
   11831     lt_cv_dlopen="dlopen"
   11832     lt_cv_dlopen_libs=
   11833     ;;
   11834 
   11835   darwin*)
   11836   # if libdl is installed we need to link against it
   11837     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11838 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11839 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11840   $as_echo_n "(cached) " >&6
   11841 else
   11842   ac_check_lib_save_LIBS=$LIBS
   11843 LIBS="-ldl  $LIBS"
   11844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11845 /* end confdefs.h.  */
   11846 
   11847 /* Override any GCC internal prototype to avoid an error.
   11848    Use char because int might match the return type of a GCC
   11849    builtin and then its argument prototype would still apply.  */
   11850 #ifdef __cplusplus
   11851 extern "C"
   11852 #endif
   11853 char dlopen ();
   11854 int
   11855 main ()
   11856 {
   11857 return dlopen ();
   11858   ;
   11859   return 0;
   11860 }
   11861 _ACEOF
   11862 if ac_fn_c_try_link "$LINENO"; then :
   11863   ac_cv_lib_dl_dlopen=yes
   11864 else
   11865   ac_cv_lib_dl_dlopen=no
   11866 fi
   11867 rm -f core conftest.err conftest.$ac_objext \
   11868     conftest$ac_exeext conftest.$ac_ext
   11869 LIBS=$ac_check_lib_save_LIBS
   11870 fi
   11871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11872 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11873 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11874   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11875 else
   11876 
   11877     lt_cv_dlopen="dyld"
   11878     lt_cv_dlopen_libs=
   11879     lt_cv_dlopen_self=yes
   11880 
   11881 fi
   11882 
   11883     ;;
   11884 
   11885   *)
   11886     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11887 if test "x$ac_cv_func_shl_load" = xyes; then :
   11888   lt_cv_dlopen="shl_load"
   11889 else
   11890   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11891 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11892 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11893   $as_echo_n "(cached) " >&6
   11894 else
   11895   ac_check_lib_save_LIBS=$LIBS
   11896 LIBS="-ldld  $LIBS"
   11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11898 /* end confdefs.h.  */
   11899 
   11900 /* Override any GCC internal prototype to avoid an error.
   11901    Use char because int might match the return type of a GCC
   11902    builtin and then its argument prototype would still apply.  */
   11903 #ifdef __cplusplus
   11904 extern "C"
   11905 #endif
   11906 char shl_load ();
   11907 int
   11908 main ()
   11909 {
   11910 return shl_load ();
   11911   ;
   11912   return 0;
   11913 }
   11914 _ACEOF
   11915 if ac_fn_c_try_link "$LINENO"; then :
   11916   ac_cv_lib_dld_shl_load=yes
   11917 else
   11918   ac_cv_lib_dld_shl_load=no
   11919 fi
   11920 rm -f core conftest.err conftest.$ac_objext \
   11921     conftest$ac_exeext conftest.$ac_ext
   11922 LIBS=$ac_check_lib_save_LIBS
   11923 fi
   11924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11925 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11926 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11927   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11928 else
   11929   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11930 if test "x$ac_cv_func_dlopen" = xyes; then :
   11931   lt_cv_dlopen="dlopen"
   11932 else
   11933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11934 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11935 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11936   $as_echo_n "(cached) " >&6
   11937 else
   11938   ac_check_lib_save_LIBS=$LIBS
   11939 LIBS="-ldl  $LIBS"
   11940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11941 /* end confdefs.h.  */
   11942 
   11943 /* Override any GCC internal prototype to avoid an error.
   11944    Use char because int might match the return type of a GCC
   11945    builtin and then its argument prototype would still apply.  */
   11946 #ifdef __cplusplus
   11947 extern "C"
   11948 #endif
   11949 char dlopen ();
   11950 int
   11951 main ()
   11952 {
   11953 return dlopen ();
   11954   ;
   11955   return 0;
   11956 }
   11957 _ACEOF
   11958 if ac_fn_c_try_link "$LINENO"; then :
   11959   ac_cv_lib_dl_dlopen=yes
   11960 else
   11961   ac_cv_lib_dl_dlopen=no
   11962 fi
   11963 rm -f core conftest.err conftest.$ac_objext \
   11964     conftest$ac_exeext conftest.$ac_ext
   11965 LIBS=$ac_check_lib_save_LIBS
   11966 fi
   11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11968 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11969 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11970   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11971 else
   11972   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11973 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11974 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11975   $as_echo_n "(cached) " >&6
   11976 else
   11977   ac_check_lib_save_LIBS=$LIBS
   11978 LIBS="-lsvld  $LIBS"
   11979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11980 /* end confdefs.h.  */
   11981 
   11982 /* Override any GCC internal prototype to avoid an error.
   11983    Use char because int might match the return type of a GCC
   11984    builtin and then its argument prototype would still apply.  */
   11985 #ifdef __cplusplus
   11986 extern "C"
   11987 #endif
   11988 char dlopen ();
   11989 int
   11990 main ()
   11991 {
   11992 return dlopen ();
   11993   ;
   11994   return 0;
   11995 }
   11996 _ACEOF
   11997 if ac_fn_c_try_link "$LINENO"; then :
   11998   ac_cv_lib_svld_dlopen=yes
   11999 else
   12000   ac_cv_lib_svld_dlopen=no
   12001 fi
   12002 rm -f core conftest.err conftest.$ac_objext \
   12003     conftest$ac_exeext conftest.$ac_ext
   12004 LIBS=$ac_check_lib_save_LIBS
   12005 fi
   12006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12007 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12008 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12009   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12010 else
   12011   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12012 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12013 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12014   $as_echo_n "(cached) " >&6
   12015 else
   12016   ac_check_lib_save_LIBS=$LIBS
   12017 LIBS="-ldld  $LIBS"
   12018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12019 /* end confdefs.h.  */
   12020 
   12021 /* Override any GCC internal prototype to avoid an error.
   12022    Use char because int might match the return type of a GCC
   12023    builtin and then its argument prototype would still apply.  */
   12024 #ifdef __cplusplus
   12025 extern "C"
   12026 #endif
   12027 char dld_link ();
   12028 int
   12029 main ()
   12030 {
   12031 return dld_link ();
   12032   ;
   12033   return 0;
   12034 }
   12035 _ACEOF
   12036 if ac_fn_c_try_link "$LINENO"; then :
   12037   ac_cv_lib_dld_dld_link=yes
   12038 else
   12039   ac_cv_lib_dld_dld_link=no
   12040 fi
   12041 rm -f core conftest.err conftest.$ac_objext \
   12042     conftest$ac_exeext conftest.$ac_ext
   12043 LIBS=$ac_check_lib_save_LIBS
   12044 fi
   12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12046 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12047 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12048   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12049 fi
   12050 
   12051 
   12052 fi
   12053 
   12054 
   12055 fi
   12056 
   12057 
   12058 fi
   12059 
   12060 
   12061 fi
   12062 
   12063 
   12064 fi
   12065 
   12066     ;;
   12067   esac
   12068 
   12069   if test "x$lt_cv_dlopen" != xno; then
   12070     enable_dlopen=yes
   12071   else
   12072     enable_dlopen=no
   12073   fi
   12074 
   12075   case $lt_cv_dlopen in
   12076   dlopen)
   12077     save_CPPFLAGS="$CPPFLAGS"
   12078     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12079 
   12080     save_LDFLAGS="$LDFLAGS"
   12081     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12082 
   12083     save_LIBS="$LIBS"
   12084     LIBS="$lt_cv_dlopen_libs $LIBS"
   12085 
   12086     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12087 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12088 if ${lt_cv_dlopen_self+:} false; then :
   12089   $as_echo_n "(cached) " >&6
   12090 else
   12091   	  if test "$cross_compiling" = yes; then :
   12092   lt_cv_dlopen_self=cross
   12093 else
   12094   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12095   lt_status=$lt_dlunknown
   12096   cat > conftest.$ac_ext <<_LT_EOF
   12097 #line 12097 "configure"
   12098 #include "confdefs.h"
   12099 
   12100 #if HAVE_DLFCN_H
   12101 #include <dlfcn.h>
   12102 #endif
   12103 
   12104 #include <stdio.h>
   12105 
   12106 #ifdef RTLD_GLOBAL
   12107 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12108 #else
   12109 #  ifdef DL_GLOBAL
   12110 #    define LT_DLGLOBAL		DL_GLOBAL
   12111 #  else
   12112 #    define LT_DLGLOBAL		0
   12113 #  endif
   12114 #endif
   12115 
   12116 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12117    find out it does not work in some platform. */
   12118 #ifndef LT_DLLAZY_OR_NOW
   12119 #  ifdef RTLD_LAZY
   12120 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12121 #  else
   12122 #    ifdef DL_LAZY
   12123 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12124 #    else
   12125 #      ifdef RTLD_NOW
   12126 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12127 #      else
   12128 #        ifdef DL_NOW
   12129 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12130 #        else
   12131 #          define LT_DLLAZY_OR_NOW	0
   12132 #        endif
   12133 #      endif
   12134 #    endif
   12135 #  endif
   12136 #endif
   12137 
   12138 /* When -fvisbility=hidden is used, assume the code has been annotated
   12139    correspondingly for the symbols needed.  */
   12140 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12141 void fnord () __attribute__((visibility("default")));
   12142 #endif
   12143 
   12144 void fnord () { int i=42; }
   12145 int main ()
   12146 {
   12147   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12148   int status = $lt_dlunknown;
   12149 
   12150   if (self)
   12151     {
   12152       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12153       else
   12154         {
   12155 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12156           else puts (dlerror ());
   12157 	}
   12158       /* dlclose (self); */
   12159     }
   12160   else
   12161     puts (dlerror ());
   12162 
   12163   return status;
   12164 }
   12165 _LT_EOF
   12166   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12167   (eval $ac_link) 2>&5
   12168   ac_status=$?
   12169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12170   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12171     (./conftest; exit; ) >&5 2>/dev/null
   12172     lt_status=$?
   12173     case x$lt_status in
   12174       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12175       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12176       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12177     esac
   12178   else :
   12179     # compilation failed
   12180     lt_cv_dlopen_self=no
   12181   fi
   12182 fi
   12183 rm -fr conftest*
   12184 
   12185 
   12186 fi
   12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12188 $as_echo "$lt_cv_dlopen_self" >&6; }
   12189 
   12190     if test "x$lt_cv_dlopen_self" = xyes; then
   12191       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12192       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12193 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12194 if ${lt_cv_dlopen_self_static+:} false; then :
   12195   $as_echo_n "(cached) " >&6
   12196 else
   12197   	  if test "$cross_compiling" = yes; then :
   12198   lt_cv_dlopen_self_static=cross
   12199 else
   12200   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12201   lt_status=$lt_dlunknown
   12202   cat > conftest.$ac_ext <<_LT_EOF
   12203 #line 12203 "configure"
   12204 #include "confdefs.h"
   12205 
   12206 #if HAVE_DLFCN_H
   12207 #include <dlfcn.h>
   12208 #endif
   12209 
   12210 #include <stdio.h>
   12211 
   12212 #ifdef RTLD_GLOBAL
   12213 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12214 #else
   12215 #  ifdef DL_GLOBAL
   12216 #    define LT_DLGLOBAL		DL_GLOBAL
   12217 #  else
   12218 #    define LT_DLGLOBAL		0
   12219 #  endif
   12220 #endif
   12221 
   12222 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12223    find out it does not work in some platform. */
   12224 #ifndef LT_DLLAZY_OR_NOW
   12225 #  ifdef RTLD_LAZY
   12226 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12227 #  else
   12228 #    ifdef DL_LAZY
   12229 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12230 #    else
   12231 #      ifdef RTLD_NOW
   12232 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12233 #      else
   12234 #        ifdef DL_NOW
   12235 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12236 #        else
   12237 #          define LT_DLLAZY_OR_NOW	0
   12238 #        endif
   12239 #      endif
   12240 #    endif
   12241 #  endif
   12242 #endif
   12243 
   12244 /* When -fvisbility=hidden is used, assume the code has been annotated
   12245    correspondingly for the symbols needed.  */
   12246 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12247 void fnord () __attribute__((visibility("default")));
   12248 #endif
   12249 
   12250 void fnord () { int i=42; }
   12251 int main ()
   12252 {
   12253   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12254   int status = $lt_dlunknown;
   12255 
   12256   if (self)
   12257     {
   12258       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12259       else
   12260         {
   12261 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12262           else puts (dlerror ());
   12263 	}
   12264       /* dlclose (self); */
   12265     }
   12266   else
   12267     puts (dlerror ());
   12268 
   12269   return status;
   12270 }
   12271 _LT_EOF
   12272   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12273   (eval $ac_link) 2>&5
   12274   ac_status=$?
   12275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12276   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12277     (./conftest; exit; ) >&5 2>/dev/null
   12278     lt_status=$?
   12279     case x$lt_status in
   12280       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12281       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12282       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12283     esac
   12284   else :
   12285     # compilation failed
   12286     lt_cv_dlopen_self_static=no
   12287   fi
   12288 fi
   12289 rm -fr conftest*
   12290 
   12291 
   12292 fi
   12293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12294 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12295     fi
   12296 
   12297     CPPFLAGS="$save_CPPFLAGS"
   12298     LDFLAGS="$save_LDFLAGS"
   12299     LIBS="$save_LIBS"
   12300     ;;
   12301   esac
   12302 
   12303   case $lt_cv_dlopen_self in
   12304   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12305   *) enable_dlopen_self=unknown ;;
   12306   esac
   12307 
   12308   case $lt_cv_dlopen_self_static in
   12309   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12310   *) enable_dlopen_self_static=unknown ;;
   12311   esac
   12312 fi
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 striplib=
   12331 old_striplib=
   12332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12333 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12334 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12335   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12336   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12338 $as_echo "yes" >&6; }
   12339 else
   12340 # FIXME - insert some real tests, host_os isn't really good enough
   12341   case $host_os in
   12342   darwin*)
   12343     if test -n "$STRIP" ; then
   12344       striplib="$STRIP -x"
   12345       old_striplib="$STRIP -S"
   12346       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12347 $as_echo "yes" >&6; }
   12348     else
   12349       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12350 $as_echo "no" >&6; }
   12351     fi
   12352     ;;
   12353   *)
   12354     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12355 $as_echo "no" >&6; }
   12356     ;;
   12357   esac
   12358 fi
   12359 
   12360 
   12361 
   12362 
   12363 
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 
   12371   # Report which library types will actually be built
   12372   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12373 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12375 $as_echo "$can_build_shared" >&6; }
   12376 
   12377   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12378 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12379   test "$can_build_shared" = "no" && enable_shared=no
   12380 
   12381   # On AIX, shared libraries and static libraries use the same namespace, and
   12382   # are all built from PIC.
   12383   case $host_os in
   12384   aix3*)
   12385     test "$enable_shared" = yes && enable_static=no
   12386     if test -n "$RANLIB"; then
   12387       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12388       postinstall_cmds='$RANLIB $lib'
   12389     fi
   12390     ;;
   12391 
   12392   aix[4-9]*)
   12393     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12394       test "$enable_shared" = yes && enable_static=no
   12395     fi
   12396     ;;
   12397   esac
   12398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12399 $as_echo "$enable_shared" >&6; }
   12400 
   12401   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12402 $as_echo_n "checking whether to build static libraries... " >&6; }
   12403   # Make sure either enable_shared or enable_static is yes.
   12404   test "$enable_shared" = yes || enable_static=yes
   12405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12406 $as_echo "$enable_static" >&6; }
   12407 
   12408 
   12409 
   12410 
   12411 fi
   12412 ac_ext=c
   12413 ac_cpp='$CPP $CPPFLAGS'
   12414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12417 
   12418 CC="$lt_save_CC"
   12419 
   12420       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12421     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12422     (test "X$CXX" != "Xg++"))) ; then
   12423   ac_ext=cpp
   12424 ac_cpp='$CXXCPP $CPPFLAGS'
   12425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12429 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12430 if test -z "$CXXCPP"; then
   12431   if ${ac_cv_prog_CXXCPP+:} false; then :
   12432   $as_echo_n "(cached) " >&6
   12433 else
   12434       # Double quotes because CXXCPP needs to be expanded
   12435     for CXXCPP in "$CXX -E" "/lib/cpp"
   12436     do
   12437       ac_preproc_ok=false
   12438 for ac_cxx_preproc_warn_flag in '' yes
   12439 do
   12440   # Use a header file that comes with gcc, so configuring glibc
   12441   # with a fresh cross-compiler works.
   12442   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12443   # <limits.h> exists even on freestanding compilers.
   12444   # On the NeXT, cc -E runs the code through the compiler's parser,
   12445   # not just through cpp. "Syntax error" is here to catch this case.
   12446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12447 /* end confdefs.h.  */
   12448 #ifdef __STDC__
   12449 # include <limits.h>
   12450 #else
   12451 # include <assert.h>
   12452 #endif
   12453 		     Syntax error
   12454 _ACEOF
   12455 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12456 
   12457 else
   12458   # Broken: fails on valid input.
   12459 continue
   12460 fi
   12461 rm -f conftest.err conftest.i conftest.$ac_ext
   12462 
   12463   # OK, works on sane cases.  Now check whether nonexistent headers
   12464   # can be detected and how.
   12465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12466 /* end confdefs.h.  */
   12467 #include <ac_nonexistent.h>
   12468 _ACEOF
   12469 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12470   # Broken: success on invalid input.
   12471 continue
   12472 else
   12473   # Passes both tests.
   12474 ac_preproc_ok=:
   12475 break
   12476 fi
   12477 rm -f conftest.err conftest.i conftest.$ac_ext
   12478 
   12479 done
   12480 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12481 rm -f conftest.i conftest.err conftest.$ac_ext
   12482 if $ac_preproc_ok; then :
   12483   break
   12484 fi
   12485 
   12486     done
   12487     ac_cv_prog_CXXCPP=$CXXCPP
   12488 
   12489 fi
   12490   CXXCPP=$ac_cv_prog_CXXCPP
   12491 else
   12492   ac_cv_prog_CXXCPP=$CXXCPP
   12493 fi
   12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   12495 $as_echo "$CXXCPP" >&6; }
   12496 ac_preproc_ok=false
   12497 for ac_cxx_preproc_warn_flag in '' yes
   12498 do
   12499   # Use a header file that comes with gcc, so configuring glibc
   12500   # with a fresh cross-compiler works.
   12501   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12502   # <limits.h> exists even on freestanding compilers.
   12503   # On the NeXT, cc -E runs the code through the compiler's parser,
   12504   # not just through cpp. "Syntax error" is here to catch this case.
   12505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12506 /* end confdefs.h.  */
   12507 #ifdef __STDC__
   12508 # include <limits.h>
   12509 #else
   12510 # include <assert.h>
   12511 #endif
   12512 		     Syntax error
   12513 _ACEOF
   12514 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12515 
   12516 else
   12517   # Broken: fails on valid input.
   12518 continue
   12519 fi
   12520 rm -f conftest.err conftest.i conftest.$ac_ext
   12521 
   12522   # OK, works on sane cases.  Now check whether nonexistent headers
   12523   # can be detected and how.
   12524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12525 /* end confdefs.h.  */
   12526 #include <ac_nonexistent.h>
   12527 _ACEOF
   12528 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12529   # Broken: success on invalid input.
   12530 continue
   12531 else
   12532   # Passes both tests.
   12533 ac_preproc_ok=:
   12534 break
   12535 fi
   12536 rm -f conftest.err conftest.i conftest.$ac_ext
   12537 
   12538 done
   12539 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12540 rm -f conftest.i conftest.err conftest.$ac_ext
   12541 if $ac_preproc_ok; then :
   12542 
   12543 else
   12544   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12545 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12546 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   12547 See \`config.log' for more details" "$LINENO" 5; }
   12548 fi
   12549 
   12550 ac_ext=c
   12551 ac_cpp='$CPP $CPPFLAGS'
   12552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12555 
   12556 else
   12557   _lt_caught_CXX_error=yes
   12558 fi
   12559 
   12560 ac_ext=cpp
   12561 ac_cpp='$CXXCPP $CPPFLAGS'
   12562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12565 
   12566 archive_cmds_need_lc_CXX=no
   12567 allow_undefined_flag_CXX=
   12568 always_export_symbols_CXX=no
   12569 archive_expsym_cmds_CXX=
   12570 compiler_needs_object_CXX=no
   12571 export_dynamic_flag_spec_CXX=
   12572 hardcode_direct_CXX=no
   12573 hardcode_direct_absolute_CXX=no
   12574 hardcode_libdir_flag_spec_CXX=
   12575 hardcode_libdir_flag_spec_ld_CXX=
   12576 hardcode_libdir_separator_CXX=
   12577 hardcode_minus_L_CXX=no
   12578 hardcode_shlibpath_var_CXX=unsupported
   12579 hardcode_automatic_CXX=no
   12580 inherit_rpath_CXX=no
   12581 module_cmds_CXX=
   12582 module_expsym_cmds_CXX=
   12583 link_all_deplibs_CXX=unknown
   12584 old_archive_cmds_CXX=$old_archive_cmds
   12585 reload_flag_CXX=$reload_flag
   12586 reload_cmds_CXX=$reload_cmds
   12587 no_undefined_flag_CXX=
   12588 whole_archive_flag_spec_CXX=
   12589 enable_shared_with_static_runtimes_CXX=no
   12590 
   12591 # Source file extension for C++ test sources.
   12592 ac_ext=cpp
   12593 
   12594 # Object file extension for compiled C++ test sources.
   12595 objext=o
   12596 objext_CXX=$objext
   12597 
   12598 # No sense in running all these tests if we already determined that
   12599 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12600 # are currently assumed to apply to all compilers on this platform,
   12601 # and will be corrupted by setting them based on a non-working compiler.
   12602 if test "$_lt_caught_CXX_error" != yes; then
   12603   # Code to be used in simple compile tests
   12604   lt_simple_compile_test_code="int some_variable = 0;"
   12605 
   12606   # Code to be used in simple link tests
   12607   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12608 
   12609   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12610 
   12611 
   12612 
   12613 
   12614 
   12615 
   12616 # If no C compiler was specified, use CC.
   12617 LTCC=${LTCC-"$CC"}
   12618 
   12619 # If no C compiler flags were specified, use CFLAGS.
   12620 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12621 
   12622 # Allow CC to be a program name with arguments.
   12623 compiler=$CC
   12624 
   12625 
   12626   # save warnings/boilerplate of simple test code
   12627   ac_outfile=conftest.$ac_objext
   12628 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12629 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12630 _lt_compiler_boilerplate=`cat conftest.err`
   12631 $RM conftest*
   12632 
   12633   ac_outfile=conftest.$ac_objext
   12634 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12635 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12636 _lt_linker_boilerplate=`cat conftest.err`
   12637 $RM -r conftest*
   12638 
   12639 
   12640   # Allow CC to be a program name with arguments.
   12641   lt_save_CC=$CC
   12642   lt_save_LD=$LD
   12643   lt_save_GCC=$GCC
   12644   GCC=$GXX
   12645   lt_save_with_gnu_ld=$with_gnu_ld
   12646   lt_save_path_LD=$lt_cv_path_LD
   12647   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12648     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12649   else
   12650     $as_unset lt_cv_prog_gnu_ld
   12651   fi
   12652   if test -n "${lt_cv_path_LDCXX+set}"; then
   12653     lt_cv_path_LD=$lt_cv_path_LDCXX
   12654   else
   12655     $as_unset lt_cv_path_LD
   12656   fi
   12657   test -z "${LDCXX+set}" || LD=$LDCXX
   12658   CC=${CXX-"c++"}
   12659   compiler=$CC
   12660   compiler_CXX=$CC
   12661   for cc_temp in $compiler""; do
   12662   case $cc_temp in
   12663     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12664     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12665     \-*) ;;
   12666     *) break;;
   12667   esac
   12668 done
   12669 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12670 
   12671 
   12672   if test -n "$compiler"; then
   12673     # We don't want -fno-exception when compiling C++ code, so set the
   12674     # no_builtin_flag separately
   12675     if test "$GXX" = yes; then
   12676       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12677     else
   12678       lt_prog_compiler_no_builtin_flag_CXX=
   12679     fi
   12680 
   12681     if test "$GXX" = yes; then
   12682       # Set up default GNU C++ configuration
   12683 
   12684 
   12685 
   12686 # Check whether --with-gnu-ld was given.
   12687 if test "${with_gnu_ld+set}" = set; then :
   12688   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12689 else
   12690   with_gnu_ld=no
   12691 fi
   12692 
   12693 ac_prog=ld
   12694 if test "$GCC" = yes; then
   12695   # Check if gcc -print-prog-name=ld gives a path.
   12696   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12697 $as_echo_n "checking for ld used by $CC... " >&6; }
   12698   case $host in
   12699   *-*-mingw*)
   12700     # gcc leaves a trailing carriage return which upsets mingw
   12701     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12702   *)
   12703     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12704   esac
   12705   case $ac_prog in
   12706     # Accept absolute paths.
   12707     [\\/]* | ?:[\\/]*)
   12708       re_direlt='/[^/][^/]*/\.\./'
   12709       # Canonicalize the pathname of ld
   12710       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12711       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12712 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12713       done
   12714       test -z "$LD" && LD="$ac_prog"
   12715       ;;
   12716   "")
   12717     # If it fails, then pretend we aren't using GCC.
   12718     ac_prog=ld
   12719     ;;
   12720   *)
   12721     # If it is relative, then search for the first ld in PATH.
   12722     with_gnu_ld=unknown
   12723     ;;
   12724   esac
   12725 elif test "$with_gnu_ld" = yes; then
   12726   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12727 $as_echo_n "checking for GNU ld... " >&6; }
   12728 else
   12729   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12730 $as_echo_n "checking for non-GNU ld... " >&6; }
   12731 fi
   12732 if ${lt_cv_path_LD+:} false; then :
   12733   $as_echo_n "(cached) " >&6
   12734 else
   12735   if test -z "$LD"; then
   12736   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12737   for ac_dir in $PATH; do
   12738     IFS="$lt_save_ifs"
   12739     test -z "$ac_dir" && ac_dir=.
   12740     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12741       lt_cv_path_LD="$ac_dir/$ac_prog"
   12742       # Check to see if the program is GNU ld.  I'd rather use --version,
   12743       # but apparently some variants of GNU ld only accept -v.
   12744       # Break only if it was the GNU/non-GNU ld that we prefer.
   12745       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12746       *GNU* | *'with BFD'*)
   12747 	test "$with_gnu_ld" != no && break
   12748 	;;
   12749       *)
   12750 	test "$with_gnu_ld" != yes && break
   12751 	;;
   12752       esac
   12753     fi
   12754   done
   12755   IFS="$lt_save_ifs"
   12756 else
   12757   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12758 fi
   12759 fi
   12760 
   12761 LD="$lt_cv_path_LD"
   12762 if test -n "$LD"; then
   12763   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12764 $as_echo "$LD" >&6; }
   12765 else
   12766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12767 $as_echo "no" >&6; }
   12768 fi
   12769 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12771 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12772 if ${lt_cv_prog_gnu_ld+:} false; then :
   12773   $as_echo_n "(cached) " >&6
   12774 else
   12775   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12776 case `$LD -v 2>&1 </dev/null` in
   12777 *GNU* | *'with BFD'*)
   12778   lt_cv_prog_gnu_ld=yes
   12779   ;;
   12780 *)
   12781   lt_cv_prog_gnu_ld=no
   12782   ;;
   12783 esac
   12784 fi
   12785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12786 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   12787 with_gnu_ld=$lt_cv_prog_gnu_ld
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   12796       # archiving commands below assume that GNU ld is being used.
   12797       if test "$with_gnu_ld" = yes; then
   12798         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12799         archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   12800 
   12801         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12802         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12803 
   12804         # If archive_cmds runs LD, not CC, wlarc should be empty
   12805         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   12806         #     investigate it a little bit more. (MM)
   12807         wlarc='${wl}'
   12808 
   12809         # ancient GNU ld didn't support --whole-archive et. al.
   12810         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   12811 	  $GREP 'no-whole-archive' > /dev/null; then
   12812           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12813         else
   12814           whole_archive_flag_spec_CXX=
   12815         fi
   12816       else
   12817         with_gnu_ld=no
   12818         wlarc=
   12819 
   12820         # A generic and very simple default shared library creation
   12821         # command for GNU C++ for the case where it uses the native
   12822         # linker, instead of GNU ld.  If possible, this setting should
   12823         # overridden to take advantage of the native linker features on
   12824         # the platform it is being used on.
   12825         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12826       fi
   12827 
   12828       # Commands to make compiler produce verbose output that lists
   12829       # what "hidden" libraries, object files and flags are used when
   12830       # linking a shared library.
   12831       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12832 
   12833     else
   12834       GXX=no
   12835       with_gnu_ld=no
   12836       wlarc=
   12837     fi
   12838 
   12839     # PORTME: fill in a description of your system's C++ link characteristics
   12840     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12841 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12842     ld_shlibs_CXX=yes
   12843     case $host_os in
   12844       aix3*)
   12845         # FIXME: insert proper C++ library support
   12846         ld_shlibs_CXX=no
   12847         ;;
   12848       aix[4-9]*)
   12849         if test "$host_cpu" = ia64; then
   12850           # On IA64, the linker does run time linking by default, so we don't
   12851           # have to do anything special.
   12852           aix_use_runtimelinking=no
   12853           exp_sym_flag='-Bexport'
   12854           no_entry_flag=""
   12855         else
   12856           aix_use_runtimelinking=no
   12857 
   12858           # Test if we are trying to use run time linking or normal
   12859           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   12860           # need to do runtime linking.
   12861           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   12862 	    for ld_flag in $LDFLAGS; do
   12863 	      case $ld_flag in
   12864 	      *-brtl*)
   12865 	        aix_use_runtimelinking=yes
   12866 	        break
   12867 	        ;;
   12868 	      esac
   12869 	    done
   12870 	    ;;
   12871           esac
   12872 
   12873           exp_sym_flag='-bexport'
   12874           no_entry_flag='-bnoentry'
   12875         fi
   12876 
   12877         # When large executables or shared objects are built, AIX ld can
   12878         # have problems creating the table of contents.  If linking a library
   12879         # or program results in "error TOC overflow" add -mminimal-toc to
   12880         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   12881         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   12882 
   12883         archive_cmds_CXX=''
   12884         hardcode_direct_CXX=yes
   12885         hardcode_direct_absolute_CXX=yes
   12886         hardcode_libdir_separator_CXX=':'
   12887         link_all_deplibs_CXX=yes
   12888         file_list_spec_CXX='${wl}-f,'
   12889 
   12890         if test "$GXX" = yes; then
   12891           case $host_os in aix4.[012]|aix4.[012].*)
   12892           # We only want to do this on AIX 4.2 and lower, the check
   12893           # below for broken collect2 doesn't work under 4.3+
   12894 	  collect2name=`${CC} -print-prog-name=collect2`
   12895 	  if test -f "$collect2name" &&
   12896 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   12897 	  then
   12898 	    # We have reworked collect2
   12899 	    :
   12900 	  else
   12901 	    # We have old collect2
   12902 	    hardcode_direct_CXX=unsupported
   12903 	    # It fails to find uninstalled libraries when the uninstalled
   12904 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   12905 	    # to unsupported forces relinking
   12906 	    hardcode_minus_L_CXX=yes
   12907 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   12908 	    hardcode_libdir_separator_CXX=
   12909 	  fi
   12910           esac
   12911           shared_flag='-shared'
   12912 	  if test "$aix_use_runtimelinking" = yes; then
   12913 	    shared_flag="$shared_flag "'${wl}-G'
   12914 	  fi
   12915         else
   12916           # not using gcc
   12917           if test "$host_cpu" = ia64; then
   12918 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   12919 	  # chokes on -Wl,-G. The following line is correct:
   12920 	  shared_flag='-G'
   12921           else
   12922 	    if test "$aix_use_runtimelinking" = yes; then
   12923 	      shared_flag='${wl}-G'
   12924 	    else
   12925 	      shared_flag='${wl}-bM:SRE'
   12926 	    fi
   12927           fi
   12928         fi
   12929 
   12930         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   12931         # It seems that -bexpall does not export symbols beginning with
   12932         # underscore (_), so it is better to generate a list of symbols to
   12933 	# export.
   12934         always_export_symbols_CXX=yes
   12935         if test "$aix_use_runtimelinking" = yes; then
   12936           # Warning - without using the other runtime loading flags (-brtl),
   12937           # -berok will link without error, but may produce a broken library.
   12938           allow_undefined_flag_CXX='-berok'
   12939           # Determine the default libpath from the value encoded in an empty
   12940           # executable.
   12941           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12942 /* end confdefs.h.  */
   12943 
   12944 int
   12945 main ()
   12946 {
   12947 
   12948   ;
   12949   return 0;
   12950 }
   12951 _ACEOF
   12952 if ac_fn_cxx_try_link "$LINENO"; then :
   12953 
   12954 lt_aix_libpath_sed='
   12955     /Import File Strings/,/^$/ {
   12956 	/^0/ {
   12957 	    s/^0  *\(.*\)$/\1/
   12958 	    p
   12959 	}
   12960     }'
   12961 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12962 # Check for a 64-bit object if we didn't find anything.
   12963 if test -z "$aix_libpath"; then
   12964   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12965 fi
   12966 fi
   12967 rm -f core conftest.err conftest.$ac_objext \
   12968     conftest$ac_exeext conftest.$ac_ext
   12969 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   12970 
   12971           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12972 
   12973           archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   12974         else
   12975           if test "$host_cpu" = ia64; then
   12976 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   12977 	    allow_undefined_flag_CXX="-z nodefs"
   12978 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   12979           else
   12980 	    # Determine the default libpath from the value encoded in an
   12981 	    # empty executable.
   12982 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12983 /* end confdefs.h.  */
   12984 
   12985 int
   12986 main ()
   12987 {
   12988 
   12989   ;
   12990   return 0;
   12991 }
   12992 _ACEOF
   12993 if ac_fn_cxx_try_link "$LINENO"; then :
   12994 
   12995 lt_aix_libpath_sed='
   12996     /Import File Strings/,/^$/ {
   12997 	/^0/ {
   12998 	    s/^0  *\(.*\)$/\1/
   12999 	    p
   13000 	}
   13001     }'
   13002 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13003 # Check for a 64-bit object if we didn't find anything.
   13004 if test -z "$aix_libpath"; then
   13005   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13006 fi
   13007 fi
   13008 rm -f core conftest.err conftest.$ac_objext \
   13009     conftest$ac_exeext conftest.$ac_ext
   13010 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13011 
   13012 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13013 	    # Warning - without using the other run time loading flags,
   13014 	    # -berok will link without error, but may produce a broken library.
   13015 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   13016 	    allow_undefined_flag_CXX=' ${wl}-berok'
   13017 	    if test "$with_gnu_ld" = yes; then
   13018 	      # We only use this code for GNU lds that support --whole-archive.
   13019 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13020 	    else
   13021 	      # Exported symbols can be pulled into shared objects from archives
   13022 	      whole_archive_flag_spec_CXX='$convenience'
   13023 	    fi
   13024 	    archive_cmds_need_lc_CXX=yes
   13025 	    # This is similar to how AIX traditionally builds its shared
   13026 	    # libraries.
   13027 	    archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   13028           fi
   13029         fi
   13030         ;;
   13031 
   13032       beos*)
   13033 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13034 	  allow_undefined_flag_CXX=unsupported
   13035 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13036 	  # support --undefined.  This deserves some investigation.  FIXME
   13037 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13038 	else
   13039 	  ld_shlibs_CXX=no
   13040 	fi
   13041 	;;
   13042 
   13043       chorus*)
   13044         case $cc_basename in
   13045           *)
   13046 	  # FIXME: insert proper C++ library support
   13047 	  ld_shlibs_CXX=no
   13048 	  ;;
   13049         esac
   13050         ;;
   13051 
   13052       cygwin* | mingw* | pw32* | cegcc*)
   13053         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   13054         # as there is no search path for DLLs.
   13055         hardcode_libdir_flag_spec_CXX='-L$libdir'
   13056         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   13057         allow_undefined_flag_CXX=unsupported
   13058         always_export_symbols_CXX=no
   13059         enable_shared_with_static_runtimes_CXX=yes
   13060 
   13061         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13062           archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13063           # If the export-symbols file already is a .def file (1st line
   13064           # is EXPORTS), use it as is; otherwise, prepend...
   13065           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13066 	    cp $export_symbols $output_objdir/$soname.def;
   13067           else
   13068 	    echo EXPORTS > $output_objdir/$soname.def;
   13069 	    cat $export_symbols >> $output_objdir/$soname.def;
   13070           fi~
   13071           $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   13072         else
   13073           ld_shlibs_CXX=no
   13074         fi
   13075         ;;
   13076       darwin* | rhapsody*)
   13077 
   13078 
   13079   archive_cmds_need_lc_CXX=no
   13080   hardcode_direct_CXX=no
   13081   hardcode_automatic_CXX=yes
   13082   hardcode_shlibpath_var_CXX=unsupported
   13083   if test "$lt_cv_ld_force_load" = "yes"; then
   13084     whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
   13085   else
   13086     whole_archive_flag_spec_CXX=''
   13087   fi
   13088   link_all_deplibs_CXX=yes
   13089   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13090   case $cc_basename in
   13091      ifort*) _lt_dar_can_shared=yes ;;
   13092      *) _lt_dar_can_shared=$GCC ;;
   13093   esac
   13094   if test "$_lt_dar_can_shared" = "yes"; then
   13095     output_verbose_link_cmd=func_echo_all
   13096     archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   13097     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13098     archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
   13099     module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
   13100        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13101       archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
   13102       archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
   13103     fi
   13104 
   13105   else
   13106   ld_shlibs_CXX=no
   13107   fi
   13108 
   13109 	;;
   13110 
   13111       dgux*)
   13112         case $cc_basename in
   13113           ec++*)
   13114 	    # FIXME: insert proper C++ library support
   13115 	    ld_shlibs_CXX=no
   13116 	    ;;
   13117           ghcx*)
   13118 	    # Green Hills C++ Compiler
   13119 	    # FIXME: insert proper C++ library support
   13120 	    ld_shlibs_CXX=no
   13121 	    ;;
   13122           *)
   13123 	    # FIXME: insert proper C++ library support
   13124 	    ld_shlibs_CXX=no
   13125 	    ;;
   13126         esac
   13127         ;;
   13128 
   13129       freebsd2.*)
   13130         # C++ shared libraries reported to be fairly broken before
   13131 	# switch to ELF
   13132         ld_shlibs_CXX=no
   13133         ;;
   13134 
   13135       freebsd-elf*)
   13136         archive_cmds_need_lc_CXX=no
   13137         ;;
   13138 
   13139       freebsd* | dragonfly*)
   13140         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13141         # conventions
   13142         ld_shlibs_CXX=yes
   13143         ;;
   13144 
   13145       gnu*)
   13146         ;;
   13147 
   13148       haiku*)
   13149         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13150         link_all_deplibs_CXX=yes
   13151         ;;
   13152 
   13153       hpux9*)
   13154         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13155         hardcode_libdir_separator_CXX=:
   13156         export_dynamic_flag_spec_CXX='${wl}-E'
   13157         hardcode_direct_CXX=yes
   13158         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13159 				             # but as the default
   13160 				             # location of the library.
   13161 
   13162         case $cc_basename in
   13163           CC*)
   13164             # FIXME: insert proper C++ library support
   13165             ld_shlibs_CXX=no
   13166             ;;
   13167           aCC*)
   13168             archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   13169             # Commands to make compiler produce verbose output that lists
   13170             # what "hidden" libraries, object files and flags are used when
   13171             # linking a shared library.
   13172             #
   13173             # There doesn't appear to be a way to prevent this compiler from
   13174             # explicitly linking system object files so we need to strip them
   13175             # from the output so that they don't get included in the library
   13176             # dependencies.
   13177             output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13178             ;;
   13179           *)
   13180             if test "$GXX" = yes; then
   13181               archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   13182             else
   13183               # FIXME: insert proper C++ library support
   13184               ld_shlibs_CXX=no
   13185             fi
   13186             ;;
   13187         esac
   13188         ;;
   13189 
   13190       hpux10*|hpux11*)
   13191         if test $with_gnu_ld = no; then
   13192 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13193 	  hardcode_libdir_separator_CXX=:
   13194 
   13195           case $host_cpu in
   13196             hppa*64*|ia64*)
   13197               ;;
   13198             *)
   13199 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13200               ;;
   13201           esac
   13202         fi
   13203         case $host_cpu in
   13204           hppa*64*|ia64*)
   13205             hardcode_direct_CXX=no
   13206             hardcode_shlibpath_var_CXX=no
   13207             ;;
   13208           *)
   13209             hardcode_direct_CXX=yes
   13210             hardcode_direct_absolute_CXX=yes
   13211             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13212 					         # but as the default
   13213 					         # location of the library.
   13214             ;;
   13215         esac
   13216 
   13217         case $cc_basename in
   13218           CC*)
   13219 	    # FIXME: insert proper C++ library support
   13220 	    ld_shlibs_CXX=no
   13221 	    ;;
   13222           aCC*)
   13223 	    case $host_cpu in
   13224 	      hppa*64*)
   13225 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13226 	        ;;
   13227 	      ia64*)
   13228 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13229 	        ;;
   13230 	      *)
   13231 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13232 	        ;;
   13233 	    esac
   13234 	    # Commands to make compiler produce verbose output that lists
   13235 	    # what "hidden" libraries, object files and flags are used when
   13236 	    # linking a shared library.
   13237 	    #
   13238 	    # There doesn't appear to be a way to prevent this compiler from
   13239 	    # explicitly linking system object files so we need to strip them
   13240 	    # from the output so that they don't get included in the library
   13241 	    # dependencies.
   13242 	    output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13243 	    ;;
   13244           *)
   13245 	    if test "$GXX" = yes; then
   13246 	      if test $with_gnu_ld = no; then
   13247 	        case $host_cpu in
   13248 	          hppa*64*)
   13249 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13250 	            ;;
   13251 	          ia64*)
   13252 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13253 	            ;;
   13254 	          *)
   13255 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13256 	            ;;
   13257 	        esac
   13258 	      fi
   13259 	    else
   13260 	      # FIXME: insert proper C++ library support
   13261 	      ld_shlibs_CXX=no
   13262 	    fi
   13263 	    ;;
   13264         esac
   13265         ;;
   13266 
   13267       interix[3-9]*)
   13268 	hardcode_direct_CXX=no
   13269 	hardcode_shlibpath_var_CXX=no
   13270 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13271 	export_dynamic_flag_spec_CXX='${wl}-E'
   13272 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13273 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13274 	# default) and relocated if they conflict, which is a slow very memory
   13275 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13276 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13277 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13278 	archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13279 	archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   13280 	;;
   13281       irix5* | irix6*)
   13282         case $cc_basename in
   13283           CC*)
   13284 	    # SGI C++
   13285 	    archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13286 
   13287 	    # Archives containing C++ object files must be created using
   13288 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13289 	    # necessary to make sure instantiated templates are included
   13290 	    # in the archive.
   13291 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13292 	    ;;
   13293           *)
   13294 	    if test "$GXX" = yes; then
   13295 	      if test "$with_gnu_ld" = no; then
   13296 	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
   13297 	      else
   13298 	        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
   13299 	      fi
   13300 	    fi
   13301 	    link_all_deplibs_CXX=yes
   13302 	    ;;
   13303         esac
   13304         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13305         hardcode_libdir_separator_CXX=:
   13306         inherit_rpath_CXX=yes
   13307         ;;
   13308 
   13309       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13310         case $cc_basename in
   13311           KCC*)
   13312 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13313 
   13314 	    # KCC will only create a shared library if the output file
   13315 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13316 	    # to its proper name (with version) after linking.
   13317 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   13318 	    archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
   13319 	    # Commands to make compiler produce verbose output that lists
   13320 	    # what "hidden" libraries, object files and flags are used when
   13321 	    # linking a shared library.
   13322 	    #
   13323 	    # There doesn't appear to be a way to prevent this compiler from
   13324 	    # explicitly linking system object files so we need to strip them
   13325 	    # from the output so that they don't get included in the library
   13326 	    # dependencies.
   13327 	    output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13328 
   13329 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13330 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13331 
   13332 	    # Archives containing C++ object files must be created using
   13333 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13334 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13335 	    ;;
   13336 	  icpc* | ecpc* )
   13337 	    # Intel C++
   13338 	    with_gnu_ld=yes
   13339 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13340 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13341 	    # earlier do not add the objects themselves.
   13342 	    case `$CC -V 2>&1` in
   13343 	      *"Version 7."*)
   13344 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13345 		archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13346 		;;
   13347 	      *)  # Version 8.0 or newer
   13348 	        tmp_idyn=
   13349 	        case $host_cpu in
   13350 		  ia64*) tmp_idyn=' -i_dynamic';;
   13351 		esac
   13352 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13353 		archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   13354 		;;
   13355 	    esac
   13356 	    archive_cmds_need_lc_CXX=no
   13357 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13358 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13359 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13360 	    ;;
   13361           pgCC* | pgcpp*)
   13362             # Portland Group C++ compiler
   13363 	    case `$CC -V` in
   13364 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13365 	      prelink_cmds_CXX='tpldir=Template.dir~
   13366 		rm -rf $tpldir~
   13367 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13368 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   13369 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13370 		rm -rf $tpldir~
   13371 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13372 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   13373 		$RANLIB $oldlib'
   13374 	      archive_cmds_CXX='tpldir=Template.dir~
   13375 		rm -rf $tpldir~
   13376 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13377 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13378 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13379 		rm -rf $tpldir~
   13380 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13381 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   13382 	      ;;
   13383 	    *) # Version 6 and above use weak symbols
   13384 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13385 	      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   13386 	      ;;
   13387 	    esac
   13388 
   13389 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13390 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13391 	    whole_archive_flag_spec_CXX='${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'
   13392             ;;
   13393 	  cxx*)
   13394 	    # Compaq C++
   13395 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13396 	    archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
   13397 
   13398 	    runpath_var=LD_RUN_PATH
   13399 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13400 	    hardcode_libdir_separator_CXX=:
   13401 
   13402 	    # Commands to make compiler produce verbose output that lists
   13403 	    # what "hidden" libraries, object files and flags are used when
   13404 	    # linking a shared library.
   13405 	    #
   13406 	    # There doesn't appear to be a way to prevent this compiler from
   13407 	    # explicitly linking system object files so we need to strip them
   13408 	    # from the output so that they don't get included in the library
   13409 	    # dependencies.
   13410 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
   13411 	    ;;
   13412 	  xl* | mpixl* | bgxl*)
   13413 	    # IBM XL 8.0 on PPC, with GNU ld
   13414 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13415 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13416 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13417 	    if test "x$supports_anon_versioning" = xyes; then
   13418 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13419 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13420 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13421 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13422 	    fi
   13423 	    ;;
   13424 	  *)
   13425 	    case `$CC -V 2>&1 | sed 5q` in
   13426 	    *Sun\ C*)
   13427 	      # Sun C++ 5.9
   13428 	      no_undefined_flag_CXX=' -zdefs'
   13429 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13430 	      archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
   13431 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13432 	      whole_archive_flag_spec_CXX='${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'
   13433 	      compiler_needs_object_CXX=yes
   13434 
   13435 	      # Not sure whether something based on
   13436 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13437 	      # would be better.
   13438 	      output_verbose_link_cmd='func_echo_all'
   13439 
   13440 	      # Archives containing C++ object files must be created using
   13441 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13442 	      # necessary to make sure instantiated templates are included
   13443 	      # in the archive.
   13444 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13445 	      ;;
   13446 	    esac
   13447 	    ;;
   13448 	esac
   13449 	;;
   13450 
   13451       lynxos*)
   13452         # FIXME: insert proper C++ library support
   13453 	ld_shlibs_CXX=no
   13454 	;;
   13455 
   13456       m88k*)
   13457         # FIXME: insert proper C++ library support
   13458         ld_shlibs_CXX=no
   13459 	;;
   13460 
   13461       mvs*)
   13462         case $cc_basename in
   13463           cxx*)
   13464 	    # FIXME: insert proper C++ library support
   13465 	    ld_shlibs_CXX=no
   13466 	    ;;
   13467 	  *)
   13468 	    # FIXME: insert proper C++ library support
   13469 	    ld_shlibs_CXX=no
   13470 	    ;;
   13471 	esac
   13472 	;;
   13473 
   13474       netbsd*)
   13475         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13476 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   13477 	  wlarc=
   13478 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   13479 	  hardcode_direct_CXX=yes
   13480 	  hardcode_shlibpath_var_CXX=no
   13481 	fi
   13482 	# Workaround some broken pre-1.5 toolchains
   13483 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   13484 	;;
   13485 
   13486       *nto* | *qnx*)
   13487         ld_shlibs_CXX=yes
   13488 	;;
   13489 
   13490       openbsd2*)
   13491         # C++ shared libraries are fairly broken
   13492 	ld_shlibs_CXX=no
   13493 	;;
   13494 
   13495       openbsd*)
   13496 	if test -f /usr/libexec/ld.so; then
   13497 	  hardcode_direct_CXX=yes
   13498 	  hardcode_shlibpath_var_CXX=no
   13499 	  hardcode_direct_absolute_CXX=yes
   13500 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13501 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13502 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13503 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   13504 	    export_dynamic_flag_spec_CXX='${wl}-E'
   13505 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13506 	  fi
   13507 	  output_verbose_link_cmd=func_echo_all
   13508 	else
   13509 	  ld_shlibs_CXX=no
   13510 	fi
   13511 	;;
   13512 
   13513       osf3* | osf4* | osf5*)
   13514         case $cc_basename in
   13515           KCC*)
   13516 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13517 
   13518 	    # KCC will only create a shared library if the output file
   13519 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13520 	    # to its proper name (with version) after linking.
   13521 	    archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
   13522 
   13523 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13524 	    hardcode_libdir_separator_CXX=:
   13525 
   13526 	    # Archives containing C++ object files must be created using
   13527 	    # the KAI C++ compiler.
   13528 	    case $host in
   13529 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   13530 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   13531 	    esac
   13532 	    ;;
   13533           RCC*)
   13534 	    # Rational C++ 2.4.1
   13535 	    # FIXME: insert proper C++ library support
   13536 	    ld_shlibs_CXX=no
   13537 	    ;;
   13538           cxx*)
   13539 	    case $host in
   13540 	      osf3*)
   13541 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13542 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13543 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13544 		;;
   13545 	      *)
   13546 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   13547 	        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
   13548 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   13549 	          echo "-hidden">> $lib.exp~
   13550 	          $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
   13551 	          $RM $lib.exp'
   13552 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13553 		;;
   13554 	    esac
   13555 
   13556 	    hardcode_libdir_separator_CXX=:
   13557 
   13558 	    # Commands to make compiler produce verbose output that lists
   13559 	    # what "hidden" libraries, object files and flags are used when
   13560 	    # linking a shared library.
   13561 	    #
   13562 	    # There doesn't appear to be a way to prevent this compiler from
   13563 	    # explicitly linking system object files so we need to strip them
   13564 	    # from the output so that they don't get included in the library
   13565 	    # dependencies.
   13566 	    output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
   13567 	    ;;
   13568 	  *)
   13569 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13570 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13571 	      case $host in
   13572 	        osf3*)
   13573 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
   13574 		  ;;
   13575 	        *)
   13576 	          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   13577 		  ;;
   13578 	      esac
   13579 
   13580 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13581 	      hardcode_libdir_separator_CXX=:
   13582 
   13583 	      # Commands to make compiler produce verbose output that lists
   13584 	      # what "hidden" libraries, object files and flags are used when
   13585 	      # linking a shared library.
   13586 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13587 
   13588 	    else
   13589 	      # FIXME: insert proper C++ library support
   13590 	      ld_shlibs_CXX=no
   13591 	    fi
   13592 	    ;;
   13593         esac
   13594         ;;
   13595 
   13596       psos*)
   13597         # FIXME: insert proper C++ library support
   13598         ld_shlibs_CXX=no
   13599         ;;
   13600 
   13601       sunos4*)
   13602         case $cc_basename in
   13603           CC*)
   13604 	    # Sun C++ 4.x
   13605 	    # FIXME: insert proper C++ library support
   13606 	    ld_shlibs_CXX=no
   13607 	    ;;
   13608           lcc*)
   13609 	    # Lucid
   13610 	    # FIXME: insert proper C++ library support
   13611 	    ld_shlibs_CXX=no
   13612 	    ;;
   13613           *)
   13614 	    # FIXME: insert proper C++ library support
   13615 	    ld_shlibs_CXX=no
   13616 	    ;;
   13617         esac
   13618         ;;
   13619 
   13620       solaris*)
   13621         case $cc_basename in
   13622           CC*)
   13623 	    # Sun C++ 4.2, 5.x and Centerline C++
   13624             archive_cmds_need_lc_CXX=yes
   13625 	    no_undefined_flag_CXX=' -zdefs'
   13626 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13627 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13628 	      $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13629 
   13630 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13631 	    hardcode_shlibpath_var_CXX=no
   13632 	    case $host_os in
   13633 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13634 	      *)
   13635 		# The compiler driver will combine and reorder linker options,
   13636 		# but understands `-z linker_flag'.
   13637 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13638 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13639 	        ;;
   13640 	    esac
   13641 	    link_all_deplibs_CXX=yes
   13642 
   13643 	    output_verbose_link_cmd='func_echo_all'
   13644 
   13645 	    # Archives containing C++ object files must be created using
   13646 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13647 	    # necessary to make sure instantiated templates are included
   13648 	    # in the archive.
   13649 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13650 	    ;;
   13651           gcx*)
   13652 	    # Green Hills C++ Compiler
   13653 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13654 
   13655 	    # The C++ compiler must be used to create the archive.
   13656 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13657 	    ;;
   13658           *)
   13659 	    # GNU C++ compiler with Solaris linker
   13660 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13661 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13662 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13663 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13664 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13665 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13666 
   13667 	        # Commands to make compiler produce verbose output that lists
   13668 	        # what "hidden" libraries, object files and flags are used when
   13669 	        # linking a shared library.
   13670 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13671 	      else
   13672 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13673 	        # platform.
   13674 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13675 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13676 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13677 
   13678 	        # Commands to make compiler produce verbose output that lists
   13679 	        # what "hidden" libraries, object files and flags are used when
   13680 	        # linking a shared library.
   13681 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13682 	      fi
   13683 
   13684 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13685 	      case $host_os in
   13686 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13687 		*)
   13688 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13689 		  ;;
   13690 	      esac
   13691 	    fi
   13692 	    ;;
   13693         esac
   13694         ;;
   13695 
   13696     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13697       no_undefined_flag_CXX='${wl}-z,text'
   13698       archive_cmds_need_lc_CXX=no
   13699       hardcode_shlibpath_var_CXX=no
   13700       runpath_var='LD_RUN_PATH'
   13701 
   13702       case $cc_basename in
   13703         CC*)
   13704 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13705 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13706 	  ;;
   13707 	*)
   13708 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13709 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13710 	  ;;
   13711       esac
   13712       ;;
   13713 
   13714       sysv5* | sco3.2v5* | sco5v6*)
   13715 	# Note: We can NOT use -z defs as we might desire, because we do not
   13716 	# link with -lc, and that would cause any symbols used from libc to
   13717 	# always be unresolved, which means just about no library would
   13718 	# ever link correctly.  If we're not using GNU ld we use -z text
   13719 	# though, which does catch some bad symbols but isn't as heavy-handed
   13720 	# as -z defs.
   13721 	no_undefined_flag_CXX='${wl}-z,text'
   13722 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13723 	archive_cmds_need_lc_CXX=no
   13724 	hardcode_shlibpath_var_CXX=no
   13725 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13726 	hardcode_libdir_separator_CXX=':'
   13727 	link_all_deplibs_CXX=yes
   13728 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13729 	runpath_var='LD_RUN_PATH'
   13730 
   13731 	case $cc_basename in
   13732           CC*)
   13733 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13734 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13735 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   13736 	      '"$old_archive_cmds_CXX"
   13737 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   13738 	      '"$reload_cmds_CXX"
   13739 	    ;;
   13740 	  *)
   13741 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13742 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13743 	    ;;
   13744 	esac
   13745       ;;
   13746 
   13747       tandem*)
   13748         case $cc_basename in
   13749           NCC*)
   13750 	    # NonStop-UX NCC 3.20
   13751 	    # FIXME: insert proper C++ library support
   13752 	    ld_shlibs_CXX=no
   13753 	    ;;
   13754           *)
   13755 	    # FIXME: insert proper C++ library support
   13756 	    ld_shlibs_CXX=no
   13757 	    ;;
   13758         esac
   13759         ;;
   13760 
   13761       vxworks*)
   13762         # For VxWorks ports, we assume the use of a GNU linker with
   13763         # standard elf conventions.
   13764         ld_shlibs_CXX=yes
   13765         ;;
   13766 
   13767       *)
   13768         # FIXME: insert proper C++ library support
   13769         ld_shlibs_CXX=no
   13770         ;;
   13771     esac
   13772 
   13773     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13774 $as_echo "$ld_shlibs_CXX" >&6; }
   13775     test "$ld_shlibs_CXX" = no && can_build_shared=no
   13776 
   13777     GCC_CXX="$GXX"
   13778     LD_CXX="$LD"
   13779 
   13780     ## CAVEAT EMPTOR:
   13781     ## There is no encapsulation within the following macros, do not change
   13782     ## the running order or otherwise move them around unless you know exactly
   13783     ## what you are doing...
   13784     # Dependencies to place before and after the object being linked:
   13785 predep_objects_CXX=
   13786 postdep_objects_CXX=
   13787 predeps_CXX=
   13788 postdeps_CXX=
   13789 compiler_lib_search_path_CXX=
   13790 
   13791 cat > conftest.$ac_ext <<_LT_EOF
   13792 class Foo
   13793 {
   13794 public:
   13795   Foo (void) { a = 0; }
   13796 private:
   13797   int a;
   13798 };
   13799 _LT_EOF
   13800 
   13801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13802   (eval $ac_compile) 2>&5
   13803   ac_status=$?
   13804   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13805   test $ac_status = 0; }; then
   13806   # Parse the compiler output and extract the necessary
   13807   # objects, libraries and library flags.
   13808 
   13809   # Sentinel used to keep track of whether or not we are before
   13810   # the conftest object file.
   13811   pre_test_object_deps_done=no
   13812 
   13813   for p in `eval "$output_verbose_link_cmd"`; do
   13814     case $p in
   13815 
   13816     -L* | -R* | -l*)
   13817        # Some compilers place space between "-{L,R}" and the path.
   13818        # Remove the space.
   13819        if test $p = "-L" ||
   13820           test $p = "-R"; then
   13821 	 prev=$p
   13822 	 continue
   13823        else
   13824 	 prev=
   13825        fi
   13826 
   13827        if test "$pre_test_object_deps_done" = no; then
   13828 	 case $p in
   13829 	 -L* | -R*)
   13830 	   # Internal compiler library paths should come after those
   13831 	   # provided the user.  The postdeps already come after the
   13832 	   # user supplied libs so there is no need to process them.
   13833 	   if test -z "$compiler_lib_search_path_CXX"; then
   13834 	     compiler_lib_search_path_CXX="${prev}${p}"
   13835 	   else
   13836 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   13837 	   fi
   13838 	   ;;
   13839 	 # The "-l" case would never come before the object being
   13840 	 # linked, so don't bother handling this case.
   13841 	 esac
   13842        else
   13843 	 if test -z "$postdeps_CXX"; then
   13844 	   postdeps_CXX="${prev}${p}"
   13845 	 else
   13846 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   13847 	 fi
   13848        fi
   13849        ;;
   13850 
   13851     *.$objext)
   13852        # This assumes that the test object file only shows up
   13853        # once in the compiler output.
   13854        if test "$p" = "conftest.$objext"; then
   13855 	 pre_test_object_deps_done=yes
   13856 	 continue
   13857        fi
   13858 
   13859        if test "$pre_test_object_deps_done" = no; then
   13860 	 if test -z "$predep_objects_CXX"; then
   13861 	   predep_objects_CXX="$p"
   13862 	 else
   13863 	   predep_objects_CXX="$predep_objects_CXX $p"
   13864 	 fi
   13865        else
   13866 	 if test -z "$postdep_objects_CXX"; then
   13867 	   postdep_objects_CXX="$p"
   13868 	 else
   13869 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   13870 	 fi
   13871        fi
   13872        ;;
   13873 
   13874     *) ;; # Ignore the rest.
   13875 
   13876     esac
   13877   done
   13878 
   13879   # Clean up.
   13880   rm -f a.out a.exe
   13881 else
   13882   echo "libtool.m4: error: problem compiling CXX test program"
   13883 fi
   13884 
   13885 $RM -f confest.$objext
   13886 
   13887 # PORTME: override above test on systems where it is broken
   13888 case $host_os in
   13889 interix[3-9]*)
   13890   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   13891   # hack all around it, let's just trust "g++" to DTRT.
   13892   predep_objects_CXX=
   13893   postdep_objects_CXX=
   13894   postdeps_CXX=
   13895   ;;
   13896 
   13897 linux*)
   13898   case `$CC -V 2>&1 | sed 5q` in
   13899   *Sun\ C*)
   13900     # Sun C++ 5.9
   13901 
   13902     # The more standards-conforming stlport4 library is
   13903     # incompatible with the Cstd library. Avoid specifying
   13904     # it if it's in CXXFLAGS. Ignore libCrun as
   13905     # -library=stlport4 depends on it.
   13906     case " $CXX $CXXFLAGS " in
   13907     *" -library=stlport4 "*)
   13908       solaris_use_stlport4=yes
   13909       ;;
   13910     esac
   13911 
   13912     if test "$solaris_use_stlport4" != yes; then
   13913       postdeps_CXX='-library=Cstd -library=Crun'
   13914     fi
   13915     ;;
   13916   esac
   13917   ;;
   13918 
   13919 solaris*)
   13920   case $cc_basename in
   13921   CC*)
   13922     # The more standards-conforming stlport4 library is
   13923     # incompatible with the Cstd library. Avoid specifying
   13924     # it if it's in CXXFLAGS. Ignore libCrun as
   13925     # -library=stlport4 depends on it.
   13926     case " $CXX $CXXFLAGS " in
   13927     *" -library=stlport4 "*)
   13928       solaris_use_stlport4=yes
   13929       ;;
   13930     esac
   13931 
   13932     # Adding this requires a known-good setup of shared libraries for
   13933     # Sun compiler versions before 5.6, else PIC objects from an old
   13934     # archive will be linked into the output, leading to subtle bugs.
   13935     if test "$solaris_use_stlport4" != yes; then
   13936       postdeps_CXX='-library=Cstd -library=Crun'
   13937     fi
   13938     ;;
   13939   esac
   13940   ;;
   13941 esac
   13942 
   13943 
   13944 case " $postdeps_CXX " in
   13945 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   13946 esac
   13947  compiler_lib_search_dirs_CXX=
   13948 if test -n "${compiler_lib_search_path_CXX}"; then
   13949  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   13950 fi
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 
   13964 
   13965 
   13966 
   13967 
   13968 
   13969 
   13970 
   13971 
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 
   13979 
   13980 
   13981 
   13982     lt_prog_compiler_wl_CXX=
   13983 lt_prog_compiler_pic_CXX=
   13984 lt_prog_compiler_static_CXX=
   13985 
   13986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13987 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   13988 
   13989   # C++ specific cases for pic, static, wl, etc.
   13990   if test "$GXX" = yes; then
   13991     lt_prog_compiler_wl_CXX='-Wl,'
   13992     lt_prog_compiler_static_CXX='-static'
   13993 
   13994     case $host_os in
   13995     aix*)
   13996       # All AIX code is PIC.
   13997       if test "$host_cpu" = ia64; then
   13998 	# AIX 5 now supports IA64 processor
   13999 	lt_prog_compiler_static_CXX='-Bstatic'
   14000       fi
   14001       lt_prog_compiler_pic_CXX='-fPIC'
   14002       ;;
   14003 
   14004     amigaos*)
   14005       case $host_cpu in
   14006       powerpc)
   14007             # see comment about AmigaOS4 .so support
   14008             lt_prog_compiler_pic_CXX='-fPIC'
   14009         ;;
   14010       m68k)
   14011             # FIXME: we need at least 68020 code to build shared libraries, but
   14012             # adding the `-m68020' flag to GCC prevents building anything better,
   14013             # like `-m68040'.
   14014             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   14015         ;;
   14016       esac
   14017       ;;
   14018 
   14019     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14020       # PIC is the default for these OSes.
   14021       ;;
   14022     mingw* | cygwin* | os2* | pw32* | cegcc*)
   14023       # This hack is so that the source file can tell whether it is being
   14024       # built for inclusion in a dll (and should export symbols for example).
   14025       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14026       # (--disable-auto-import) libraries
   14027       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14028       ;;
   14029     darwin* | rhapsody*)
   14030       # PIC is the default on this platform
   14031       # Common symbols not allowed in MH_DYLIB files
   14032       lt_prog_compiler_pic_CXX='-fno-common'
   14033       ;;
   14034     *djgpp*)
   14035       # DJGPP does not support shared libraries at all
   14036       lt_prog_compiler_pic_CXX=
   14037       ;;
   14038     haiku*)
   14039       # PIC is the default for Haiku.
   14040       # The "-static" flag exists, but is broken.
   14041       lt_prog_compiler_static_CXX=
   14042       ;;
   14043     interix[3-9]*)
   14044       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14045       # Instead, we relocate shared libraries at runtime.
   14046       ;;
   14047     sysv4*MP*)
   14048       if test -d /usr/nec; then
   14049 	lt_prog_compiler_pic_CXX=-Kconform_pic
   14050       fi
   14051       ;;
   14052     hpux*)
   14053       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14054       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14055       # sets the default TLS model and affects inlining.
   14056       case $host_cpu in
   14057       hppa*64*)
   14058 	;;
   14059       *)
   14060 	lt_prog_compiler_pic_CXX='-fPIC'
   14061 	;;
   14062       esac
   14063       ;;
   14064     *qnx* | *nto*)
   14065       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14066       # it will coredump.
   14067       lt_prog_compiler_pic_CXX='-fPIC -shared'
   14068       ;;
   14069     *)
   14070       lt_prog_compiler_pic_CXX='-fPIC'
   14071       ;;
   14072     esac
   14073   else
   14074     case $host_os in
   14075       aix[4-9]*)
   14076 	# All AIX code is PIC.
   14077 	if test "$host_cpu" = ia64; then
   14078 	  # AIX 5 now supports IA64 processor
   14079 	  lt_prog_compiler_static_CXX='-Bstatic'
   14080 	else
   14081 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14082 	fi
   14083 	;;
   14084       chorus*)
   14085 	case $cc_basename in
   14086 	cxch68*)
   14087 	  # Green Hills C++ Compiler
   14088 	  # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
   14089 	  ;;
   14090 	esac
   14091 	;;
   14092       dgux*)
   14093 	case $cc_basename in
   14094 	  ec++*)
   14095 	    lt_prog_compiler_pic_CXX='-KPIC'
   14096 	    ;;
   14097 	  ghcx*)
   14098 	    # Green Hills C++ Compiler
   14099 	    lt_prog_compiler_pic_CXX='-pic'
   14100 	    ;;
   14101 	  *)
   14102 	    ;;
   14103 	esac
   14104 	;;
   14105       freebsd* | dragonfly*)
   14106 	# FreeBSD uses GNU C++
   14107 	;;
   14108       hpux9* | hpux10* | hpux11*)
   14109 	case $cc_basename in
   14110 	  CC*)
   14111 	    lt_prog_compiler_wl_CXX='-Wl,'
   14112 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14113 	    if test "$host_cpu" != ia64; then
   14114 	      lt_prog_compiler_pic_CXX='+Z'
   14115 	    fi
   14116 	    ;;
   14117 	  aCC*)
   14118 	    lt_prog_compiler_wl_CXX='-Wl,'
   14119 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14120 	    case $host_cpu in
   14121 	    hppa*64*|ia64*)
   14122 	      # +Z the default
   14123 	      ;;
   14124 	    *)
   14125 	      lt_prog_compiler_pic_CXX='+Z'
   14126 	      ;;
   14127 	    esac
   14128 	    ;;
   14129 	  *)
   14130 	    ;;
   14131 	esac
   14132 	;;
   14133       interix*)
   14134 	# This is c89, which is MS Visual C++ (no shared libs)
   14135 	# Anyone wants to do a port?
   14136 	;;
   14137       irix5* | irix6* | nonstopux*)
   14138 	case $cc_basename in
   14139 	  CC*)
   14140 	    lt_prog_compiler_wl_CXX='-Wl,'
   14141 	    lt_prog_compiler_static_CXX='-non_shared'
   14142 	    # CC pic flag -KPIC is the default.
   14143 	    ;;
   14144 	  *)
   14145 	    ;;
   14146 	esac
   14147 	;;
   14148       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14149 	case $cc_basename in
   14150 	  KCC*)
   14151 	    # KAI C++ Compiler
   14152 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14153 	    lt_prog_compiler_pic_CXX='-fPIC'
   14154 	    ;;
   14155 	  ecpc* )
   14156 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14157 	    lt_prog_compiler_wl_CXX='-Wl,'
   14158 	    lt_prog_compiler_pic_CXX='-KPIC'
   14159 	    lt_prog_compiler_static_CXX='-static'
   14160 	    ;;
   14161 	  icpc* )
   14162 	    # Intel C++, used to be incompatible with GCC.
   14163 	    # ICC 10 doesn't accept -KPIC any more.
   14164 	    lt_prog_compiler_wl_CXX='-Wl,'
   14165 	    lt_prog_compiler_pic_CXX='-fPIC'
   14166 	    lt_prog_compiler_static_CXX='-static'
   14167 	    ;;
   14168 	  pgCC* | pgcpp*)
   14169 	    # Portland Group C++ compiler
   14170 	    lt_prog_compiler_wl_CXX='-Wl,'
   14171 	    lt_prog_compiler_pic_CXX='-fpic'
   14172 	    lt_prog_compiler_static_CXX='-Bstatic'
   14173 	    ;;
   14174 	  cxx*)
   14175 	    # Compaq C++
   14176 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14177 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14178 	    lt_prog_compiler_pic_CXX=
   14179 	    lt_prog_compiler_static_CXX='-non_shared'
   14180 	    ;;
   14181 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14182 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14183 	    lt_prog_compiler_wl_CXX='-Wl,'
   14184 	    lt_prog_compiler_pic_CXX='-qpic'
   14185 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14186 	    ;;
   14187 	  *)
   14188 	    case `$CC -V 2>&1 | sed 5q` in
   14189 	    *Sun\ C*)
   14190 	      # Sun C++ 5.9
   14191 	      lt_prog_compiler_pic_CXX='-KPIC'
   14192 	      lt_prog_compiler_static_CXX='-Bstatic'
   14193 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14194 	      ;;
   14195 	    esac
   14196 	    ;;
   14197 	esac
   14198 	;;
   14199       lynxos*)
   14200 	;;
   14201       m88k*)
   14202 	;;
   14203       mvs*)
   14204 	case $cc_basename in
   14205 	  cxx*)
   14206 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14207 	    ;;
   14208 	  *)
   14209 	    ;;
   14210 	esac
   14211 	;;
   14212       netbsd*)
   14213 	;;
   14214       *qnx* | *nto*)
   14215         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14216         # it will coredump.
   14217         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14218         ;;
   14219       osf3* | osf4* | osf5*)
   14220 	case $cc_basename in
   14221 	  KCC*)
   14222 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14223 	    ;;
   14224 	  RCC*)
   14225 	    # Rational C++ 2.4.1
   14226 	    lt_prog_compiler_pic_CXX='-pic'
   14227 	    ;;
   14228 	  cxx*)
   14229 	    # Digital/Compaq C++
   14230 	    lt_prog_compiler_wl_CXX='-Wl,'
   14231 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14232 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14233 	    lt_prog_compiler_pic_CXX=
   14234 	    lt_prog_compiler_static_CXX='-non_shared'
   14235 	    ;;
   14236 	  *)
   14237 	    ;;
   14238 	esac
   14239 	;;
   14240       psos*)
   14241 	;;
   14242       solaris*)
   14243 	case $cc_basename in
   14244 	  CC*)
   14245 	    # Sun C++ 4.2, 5.x and Centerline C++
   14246 	    lt_prog_compiler_pic_CXX='-KPIC'
   14247 	    lt_prog_compiler_static_CXX='-Bstatic'
   14248 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14249 	    ;;
   14250 	  gcx*)
   14251 	    # Green Hills C++ Compiler
   14252 	    lt_prog_compiler_pic_CXX='-PIC'
   14253 	    ;;
   14254 	  *)
   14255 	    ;;
   14256 	esac
   14257 	;;
   14258       sunos4*)
   14259 	case $cc_basename in
   14260 	  CC*)
   14261 	    # Sun C++ 4.x
   14262 	    lt_prog_compiler_pic_CXX='-pic'
   14263 	    lt_prog_compiler_static_CXX='-Bstatic'
   14264 	    ;;
   14265 	  lcc*)
   14266 	    # Lucid
   14267 	    lt_prog_compiler_pic_CXX='-pic'
   14268 	    ;;
   14269 	  *)
   14270 	    ;;
   14271 	esac
   14272 	;;
   14273       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14274 	case $cc_basename in
   14275 	  CC*)
   14276 	    lt_prog_compiler_wl_CXX='-Wl,'
   14277 	    lt_prog_compiler_pic_CXX='-KPIC'
   14278 	    lt_prog_compiler_static_CXX='-Bstatic'
   14279 	    ;;
   14280 	esac
   14281 	;;
   14282       tandem*)
   14283 	case $cc_basename in
   14284 	  NCC*)
   14285 	    # NonStop-UX NCC 3.20
   14286 	    lt_prog_compiler_pic_CXX='-KPIC'
   14287 	    ;;
   14288 	  *)
   14289 	    ;;
   14290 	esac
   14291 	;;
   14292       vxworks*)
   14293 	;;
   14294       *)
   14295 	lt_prog_compiler_can_build_shared_CXX=no
   14296 	;;
   14297     esac
   14298   fi
   14299 
   14300 case $host_os in
   14301   # For platforms which do not support PIC, -DPIC is meaningless:
   14302   *djgpp*)
   14303     lt_prog_compiler_pic_CXX=
   14304     ;;
   14305   *)
   14306     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14307     ;;
   14308 esac
   14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   14310 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   14311 
   14312 
   14313 
   14314 #
   14315 # Check to make sure the PIC flag actually works.
   14316 #
   14317 if test -n "$lt_prog_compiler_pic_CXX"; then
   14318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14319 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14320 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   14321   $as_echo_n "(cached) " >&6
   14322 else
   14323   lt_cv_prog_compiler_pic_works_CXX=no
   14324    ac_outfile=conftest.$ac_objext
   14325    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14326    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14327    # Insert the option either (1) after the last *FLAGS variable, or
   14328    # (2) before a word containing "conftest.", or (3) at the end.
   14329    # Note that $ac_compile itself does not contain backslashes and begins
   14330    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14331    # The option is referenced via a variable to avoid confusing sed.
   14332    lt_compile=`echo "$ac_compile" | $SED \
   14333    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14334    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14335    -e 's:$: $lt_compiler_flag:'`
   14336    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14337    (eval "$lt_compile" 2>conftest.err)
   14338    ac_status=$?
   14339    cat conftest.err >&5
   14340    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14341    if (exit $ac_status) && test -s "$ac_outfile"; then
   14342      # The compiler can only warn and ignore the option if not recognized
   14343      # So say no if there are warnings other than the usual output.
   14344      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14345      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14346      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14347        lt_cv_prog_compiler_pic_works_CXX=yes
   14348      fi
   14349    fi
   14350    $RM conftest*
   14351 
   14352 fi
   14353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14354 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14355 
   14356 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14357     case $lt_prog_compiler_pic_CXX in
   14358      "" | " "*) ;;
   14359      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14360      esac
   14361 else
   14362     lt_prog_compiler_pic_CXX=
   14363      lt_prog_compiler_can_build_shared_CXX=no
   14364 fi
   14365 
   14366 fi
   14367 
   14368 
   14369 
   14370 #
   14371 # Check to make sure the static flag actually works.
   14372 #
   14373 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14375 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14376 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   14377   $as_echo_n "(cached) " >&6
   14378 else
   14379   lt_cv_prog_compiler_static_works_CXX=no
   14380    save_LDFLAGS="$LDFLAGS"
   14381    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14382    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14383    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14384      # The linker can only warn and ignore the option if not recognized
   14385      # So say no if there are warnings
   14386      if test -s conftest.err; then
   14387        # Append any errors to the config.log.
   14388        cat conftest.err 1>&5
   14389        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14390        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14391        if diff conftest.exp conftest.er2 >/dev/null; then
   14392          lt_cv_prog_compiler_static_works_CXX=yes
   14393        fi
   14394      else
   14395        lt_cv_prog_compiler_static_works_CXX=yes
   14396      fi
   14397    fi
   14398    $RM -r conftest*
   14399    LDFLAGS="$save_LDFLAGS"
   14400 
   14401 fi
   14402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14403 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14404 
   14405 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14406     :
   14407 else
   14408     lt_prog_compiler_static_CXX=
   14409 fi
   14410 
   14411 
   14412 
   14413 
   14414     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14415 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14416 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14417   $as_echo_n "(cached) " >&6
   14418 else
   14419   lt_cv_prog_compiler_c_o_CXX=no
   14420    $RM -r conftest 2>/dev/null
   14421    mkdir conftest
   14422    cd conftest
   14423    mkdir out
   14424    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14425 
   14426    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14427    # Insert the option either (1) after the last *FLAGS variable, or
   14428    # (2) before a word containing "conftest.", or (3) at the end.
   14429    # Note that $ac_compile itself does not contain backslashes and begins
   14430    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14431    lt_compile=`echo "$ac_compile" | $SED \
   14432    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14433    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14434    -e 's:$: $lt_compiler_flag:'`
   14435    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14436    (eval "$lt_compile" 2>out/conftest.err)
   14437    ac_status=$?
   14438    cat out/conftest.err >&5
   14439    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14440    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14441    then
   14442      # The compiler can only warn and ignore the option if not recognized
   14443      # So say no if there are warnings
   14444      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14445      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14446      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14447        lt_cv_prog_compiler_c_o_CXX=yes
   14448      fi
   14449    fi
   14450    chmod u+w . 2>&5
   14451    $RM conftest*
   14452    # SGI C++ compiler will create directory out/ii_files/ for
   14453    # template instantiation
   14454    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14455    $RM out/* && rmdir out
   14456    cd ..
   14457    $RM -r conftest
   14458    $RM conftest*
   14459 
   14460 fi
   14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14462 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14463 
   14464 
   14465 
   14466     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14467 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14468 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14469   $as_echo_n "(cached) " >&6
   14470 else
   14471   lt_cv_prog_compiler_c_o_CXX=no
   14472    $RM -r conftest 2>/dev/null
   14473    mkdir conftest
   14474    cd conftest
   14475    mkdir out
   14476    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14477 
   14478    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14479    # Insert the option either (1) after the last *FLAGS variable, or
   14480    # (2) before a word containing "conftest.", or (3) at the end.
   14481    # Note that $ac_compile itself does not contain backslashes and begins
   14482    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14483    lt_compile=`echo "$ac_compile" | $SED \
   14484    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14485    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14486    -e 's:$: $lt_compiler_flag:'`
   14487    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14488    (eval "$lt_compile" 2>out/conftest.err)
   14489    ac_status=$?
   14490    cat out/conftest.err >&5
   14491    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14492    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14493    then
   14494      # The compiler can only warn and ignore the option if not recognized
   14495      # So say no if there are warnings
   14496      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14497      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14498      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14499        lt_cv_prog_compiler_c_o_CXX=yes
   14500      fi
   14501    fi
   14502    chmod u+w . 2>&5
   14503    $RM conftest*
   14504    # SGI C++ compiler will create directory out/ii_files/ for
   14505    # template instantiation
   14506    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14507    $RM out/* && rmdir out
   14508    cd ..
   14509    $RM -r conftest
   14510    $RM conftest*
   14511 
   14512 fi
   14513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14514 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14515 
   14516 
   14517 
   14518 
   14519 hard_links="nottested"
   14520 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   14521   # do not overwrite the value of need_locks provided by the user
   14522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14523 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14524   hard_links=yes
   14525   $RM conftest*
   14526   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14527   touch conftest.a
   14528   ln conftest.a conftest.b 2>&5 || hard_links=no
   14529   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14531 $as_echo "$hard_links" >&6; }
   14532   if test "$hard_links" = no; then
   14533     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14534 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14535     need_locks=warn
   14536   fi
   14537 else
   14538   need_locks=no
   14539 fi
   14540 
   14541 
   14542 
   14543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14544 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14545 
   14546   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14547   case $host_os in
   14548   aix[4-9]*)
   14549     # If we're using GNU nm, then we don't want the "-C" option.
   14550     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   14551     # Also, AIX nm treats weak defined symbols like other global defined
   14552     # symbols, whereas GNU nm marks them as "W".
   14553     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14554       export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   14555     else
   14556       export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   14557     fi
   14558     ;;
   14559   pw32*)
   14560     export_symbols_cmds_CXX="$ltdll_cmds"
   14561   ;;
   14562   cygwin* | mingw* | cegcc*)
   14563     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
   14564   ;;
   14565   *)
   14566     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14567   ;;
   14568   esac
   14569   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14570 
   14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14572 $as_echo "$ld_shlibs_CXX" >&6; }
   14573 test "$ld_shlibs_CXX" = no && can_build_shared=no
   14574 
   14575 with_gnu_ld_CXX=$with_gnu_ld
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 #
   14583 # Do we need to explicitly link libc?
   14584 #
   14585 case "x$archive_cmds_need_lc_CXX" in
   14586 x|xyes)
   14587   # Assume -lc should be added
   14588   archive_cmds_need_lc_CXX=yes
   14589 
   14590   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14591     case $archive_cmds_CXX in
   14592     *'~'*)
   14593       # FIXME: we may have to deal with multi-command sequences.
   14594       ;;
   14595     '$CC '*)
   14596       # Test whether the compiler implicitly links with -lc since on some
   14597       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14598       # to ld, don't add -lc before -lgcc.
   14599       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14600 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14601 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   14602   $as_echo_n "(cached) " >&6
   14603 else
   14604   $RM conftest*
   14605 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14606 
   14607 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14608   (eval $ac_compile) 2>&5
   14609   ac_status=$?
   14610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14611   test $ac_status = 0; } 2>conftest.err; then
   14612 	  soname=conftest
   14613 	  lib=conftest
   14614 	  libobjs=conftest.$ac_objext
   14615 	  deplibs=
   14616 	  wl=$lt_prog_compiler_wl_CXX
   14617 	  pic_flag=$lt_prog_compiler_pic_CXX
   14618 	  compiler_flags=-v
   14619 	  linker_flags=-v
   14620 	  verstring=
   14621 	  output_objdir=.
   14622 	  libname=conftest
   14623 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14624 	  allow_undefined_flag_CXX=
   14625 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14626   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14627   ac_status=$?
   14628   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14629   test $ac_status = 0; }
   14630 	  then
   14631 	    lt_cv_archive_cmds_need_lc_CXX=no
   14632 	  else
   14633 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14634 	  fi
   14635 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14636 	else
   14637 	  cat conftest.err 1>&5
   14638 	fi
   14639 	$RM conftest*
   14640 
   14641 fi
   14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14643 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14644       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14645       ;;
   14646     esac
   14647   fi
   14648   ;;
   14649 esac
   14650 
   14651 
   14652 
   14653 
   14654 
   14655 
   14656 
   14657 
   14658 
   14659 
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 
   14682 
   14683 
   14684 
   14685 
   14686 
   14687 
   14688 
   14689 
   14690 
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14715 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14716 
   14717 library_names_spec=
   14718 libname_spec='lib$name'
   14719 soname_spec=
   14720 shrext_cmds=".so"
   14721 postinstall_cmds=
   14722 postuninstall_cmds=
   14723 finish_cmds=
   14724 finish_eval=
   14725 shlibpath_var=
   14726 shlibpath_overrides_runpath=unknown
   14727 version_type=none
   14728 dynamic_linker="$host_os ld.so"
   14729 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14730 need_lib_prefix=unknown
   14731 hardcode_into_libs=no
   14732 
   14733 # when you set need_version to no, make sure it does not cause -set_version
   14734 # flags to be left without arguments
   14735 need_version=unknown
   14736 
   14737 case $host_os in
   14738 aix3*)
   14739   version_type=linux
   14740   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14741   shlibpath_var=LIBPATH
   14742 
   14743   # AIX 3 has no versioning support, so we append a major version to the name.
   14744   soname_spec='${libname}${release}${shared_ext}$major'
   14745   ;;
   14746 
   14747 aix[4-9]*)
   14748   version_type=linux
   14749   need_lib_prefix=no
   14750   need_version=no
   14751   hardcode_into_libs=yes
   14752   if test "$host_cpu" = ia64; then
   14753     # AIX 5 supports IA64
   14754     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14755     shlibpath_var=LD_LIBRARY_PATH
   14756   else
   14757     # With GCC up to 2.95.x, collect2 would create an import file
   14758     # for dependence libraries.  The import file would start with
   14759     # the line `#! .'.  This would cause the generated library to
   14760     # depend on `.', always an invalid library.  This was fixed in
   14761     # development snapshots of GCC prior to 3.0.
   14762     case $host_os in
   14763       aix4 | aix4.[01] | aix4.[01].*)
   14764       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14765 	   echo ' yes '
   14766 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14767 	:
   14768       else
   14769 	can_build_shared=no
   14770       fi
   14771       ;;
   14772     esac
   14773     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14774     # soname into executable. Probably we can add versioning support to
   14775     # collect2, so additional links can be useful in future.
   14776     if test "$aix_use_runtimelinking" = yes; then
   14777       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14778       # instead of lib<name>.a to let people know that these are not
   14779       # typical AIX shared libraries.
   14780       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14781     else
   14782       # We preserve .a as extension for shared libraries through AIX4.2
   14783       # and later when we are not doing run time linking.
   14784       library_names_spec='${libname}${release}.a $libname.a'
   14785       soname_spec='${libname}${release}${shared_ext}$major'
   14786     fi
   14787     shlibpath_var=LIBPATH
   14788   fi
   14789   ;;
   14790 
   14791 amigaos*)
   14792   case $host_cpu in
   14793   powerpc)
   14794     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14795     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14796     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14797     ;;
   14798   m68k)
   14799     library_names_spec='$libname.ixlibrary $libname.a'
   14800     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14801     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'
   14802     ;;
   14803   esac
   14804   ;;
   14805 
   14806 beos*)
   14807   library_names_spec='${libname}${shared_ext}'
   14808   dynamic_linker="$host_os ld.so"
   14809   shlibpath_var=LIBRARY_PATH
   14810   ;;
   14811 
   14812 bsdi[45]*)
   14813   version_type=linux
   14814   need_version=no
   14815   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14816   soname_spec='${libname}${release}${shared_ext}$major'
   14817   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14818   shlibpath_var=LD_LIBRARY_PATH
   14819   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14820   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14821   # the default ld.so.conf also contains /usr/contrib/lib and
   14822   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14823   # libtool to hard-code these into programs
   14824   ;;
   14825 
   14826 cygwin* | mingw* | pw32* | cegcc*)
   14827   version_type=windows
   14828   shrext_cmds=".dll"
   14829   need_version=no
   14830   need_lib_prefix=no
   14831 
   14832   case $GCC,$host_os in
   14833   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   14834     library_names_spec='$libname.dll.a'
   14835     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14836     postinstall_cmds='base_file=`basename \${file}`~
   14837       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14838       dldir=$destdir/`dirname \$dlpath`~
   14839       test -d \$dldir || mkdir -p \$dldir~
   14840       $install_prog $dir/$dlname \$dldir/$dlname~
   14841       chmod a+x \$dldir/$dlname~
   14842       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14843         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14844       fi'
   14845     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14846       dlpath=$dir/\$dldll~
   14847        $RM \$dlpath'
   14848     shlibpath_overrides_runpath=yes
   14849 
   14850     case $host_os in
   14851     cygwin*)
   14852       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14853       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14854 
   14855       ;;
   14856     mingw* | cegcc*)
   14857       # MinGW DLLs use traditional 'lib' prefix
   14858       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14859       ;;
   14860     pw32*)
   14861       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14862       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14863       ;;
   14864     esac
   14865     ;;
   14866 
   14867   *)
   14868     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14869     ;;
   14870   esac
   14871   dynamic_linker='Win32 ld.exe'
   14872   # FIXME: first we should search . and the directory the executable is in
   14873   shlibpath_var=PATH
   14874   ;;
   14875 
   14876 darwin* | rhapsody*)
   14877   dynamic_linker="$host_os dyld"
   14878   version_type=darwin
   14879   need_lib_prefix=no
   14880   need_version=no
   14881   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14882   soname_spec='${libname}${release}${major}$shared_ext'
   14883   shlibpath_overrides_runpath=yes
   14884   shlibpath_var=DYLD_LIBRARY_PATH
   14885   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14886 
   14887   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14888   ;;
   14889 
   14890 dgux*)
   14891   version_type=linux
   14892   need_lib_prefix=no
   14893   need_version=no
   14894   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14895   soname_spec='${libname}${release}${shared_ext}$major'
   14896   shlibpath_var=LD_LIBRARY_PATH
   14897   ;;
   14898 
   14899 freebsd* | dragonfly*)
   14900   # DragonFly does not have aout.  When/if they implement a new
   14901   # versioning mechanism, adjust this.
   14902   if test -x /usr/bin/objformat; then
   14903     objformat=`/usr/bin/objformat`
   14904   else
   14905     case $host_os in
   14906     freebsd[23].*) objformat=aout ;;
   14907     *) objformat=elf ;;
   14908     esac
   14909   fi
   14910   version_type=freebsd-$objformat
   14911   case $version_type in
   14912     freebsd-elf*)
   14913       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14914       need_version=no
   14915       need_lib_prefix=no
   14916       ;;
   14917     freebsd-*)
   14918       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14919       need_version=yes
   14920       ;;
   14921   esac
   14922   shlibpath_var=LD_LIBRARY_PATH
   14923   case $host_os in
   14924   freebsd2.*)
   14925     shlibpath_overrides_runpath=yes
   14926     ;;
   14927   freebsd3.[01]* | freebsdelf3.[01]*)
   14928     shlibpath_overrides_runpath=yes
   14929     hardcode_into_libs=yes
   14930     ;;
   14931   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14932   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14933     shlibpath_overrides_runpath=no
   14934     hardcode_into_libs=yes
   14935     ;;
   14936   *) # from 4.6 on, and DragonFly
   14937     shlibpath_overrides_runpath=yes
   14938     hardcode_into_libs=yes
   14939     ;;
   14940   esac
   14941   ;;
   14942 
   14943 haiku*)
   14944   version_type=linux
   14945   need_lib_prefix=no
   14946   need_version=no
   14947   dynamic_linker="$host_os runtime_loader"
   14948   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14949   soname_spec='${libname}${release}${shared_ext}$major'
   14950   shlibpath_var=LIBRARY_PATH
   14951   shlibpath_overrides_runpath=yes
   14952   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   14953   hardcode_into_libs=yes
   14954   ;;
   14955 
   14956 hpux9* | hpux10* | hpux11*)
   14957   # Give a soname corresponding to the major version so that dld.sl refuses to
   14958   # link against other versions.
   14959   version_type=sunos
   14960   need_lib_prefix=no
   14961   need_version=no
   14962   case $host_cpu in
   14963   ia64*)
   14964     shrext_cmds='.so'
   14965     hardcode_into_libs=yes
   14966     dynamic_linker="$host_os dld.so"
   14967     shlibpath_var=LD_LIBRARY_PATH
   14968     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14969     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14970     soname_spec='${libname}${release}${shared_ext}$major'
   14971     if test "X$HPUX_IA64_MODE" = X32; then
   14972       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14973     else
   14974       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14975     fi
   14976     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14977     ;;
   14978   hppa*64*)
   14979     shrext_cmds='.sl'
   14980     hardcode_into_libs=yes
   14981     dynamic_linker="$host_os dld.sl"
   14982     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14983     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14984     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14985     soname_spec='${libname}${release}${shared_ext}$major'
   14986     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14987     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14988     ;;
   14989   *)
   14990     shrext_cmds='.sl'
   14991     dynamic_linker="$host_os dld.sl"
   14992     shlibpath_var=SHLIB_PATH
   14993     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14994     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14995     soname_spec='${libname}${release}${shared_ext}$major'
   14996     ;;
   14997   esac
   14998   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   14999   postinstall_cmds='chmod 555 $lib'
   15000   # or fails outright, so override atomically:
   15001   install_override_mode=555
   15002   ;;
   15003 
   15004 interix[3-9]*)
   15005   version_type=linux
   15006   need_lib_prefix=no
   15007   need_version=no
   15008   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15009   soname_spec='${libname}${release}${shared_ext}$major'
   15010   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15011   shlibpath_var=LD_LIBRARY_PATH
   15012   shlibpath_overrides_runpath=no
   15013   hardcode_into_libs=yes
   15014   ;;
   15015 
   15016 irix5* | irix6* | nonstopux*)
   15017   case $host_os in
   15018     nonstopux*) version_type=nonstopux ;;
   15019     *)
   15020 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15021 		version_type=linux
   15022 	else
   15023 		version_type=irix
   15024 	fi ;;
   15025   esac
   15026   need_lib_prefix=no
   15027   need_version=no
   15028   soname_spec='${libname}${release}${shared_ext}$major'
   15029   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15030   case $host_os in
   15031   irix5* | nonstopux*)
   15032     libsuff= shlibsuff=
   15033     ;;
   15034   *)
   15035     case $LD in # libtool.m4 will add one of these switches to LD
   15036     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15037       libsuff= shlibsuff= libmagic=32-bit;;
   15038     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15039       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15040     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15041       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15042     *) libsuff= shlibsuff= libmagic=never-match;;
   15043     esac
   15044     ;;
   15045   esac
   15046   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15047   shlibpath_overrides_runpath=no
   15048   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15049   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15050   hardcode_into_libs=yes
   15051   ;;
   15052 
   15053 # No shared lib support for Linux oldld, aout, or coff.
   15054 linux*oldld* | linux*aout* | linux*coff*)
   15055   dynamic_linker=no
   15056   ;;
   15057 
   15058 # This must be Linux ELF.
   15059 
   15060 # uclinux* changes (here and below) have been submitted to the libtool
   15061 # project, but have not yet been accepted: they are GCC-local changes
   15062 # for the time being.  (See
   15063 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   15064 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   15065   version_type=linux
   15066   need_lib_prefix=no
   15067   need_version=no
   15068   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15069   soname_spec='${libname}${release}${shared_ext}$major'
   15070   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15071   shlibpath_var=LD_LIBRARY_PATH
   15072   shlibpath_overrides_runpath=no
   15073 
   15074   # Some binutils ld are patched to set DT_RUNPATH
   15075   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15076   $as_echo_n "(cached) " >&6
   15077 else
   15078   lt_cv_shlibpath_overrides_runpath=no
   15079     save_LDFLAGS=$LDFLAGS
   15080     save_libdir=$libdir
   15081     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15082 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15083     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15084 /* end confdefs.h.  */
   15085 
   15086 int
   15087 main ()
   15088 {
   15089 
   15090   ;
   15091   return 0;
   15092 }
   15093 _ACEOF
   15094 if ac_fn_cxx_try_link "$LINENO"; then :
   15095   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15096   lt_cv_shlibpath_overrides_runpath=yes
   15097 fi
   15098 fi
   15099 rm -f core conftest.err conftest.$ac_objext \
   15100     conftest$ac_exeext conftest.$ac_ext
   15101     LDFLAGS=$save_LDFLAGS
   15102     libdir=$save_libdir
   15103 
   15104 fi
   15105 
   15106   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15107 
   15108   # This implies no fast_install, which is unacceptable.
   15109   # Some rework will be needed to allow for fast_install
   15110   # before this can be enabled.
   15111   hardcode_into_libs=yes
   15112 
   15113   # Append ld.so.conf contents to the search path
   15114   if test -f /etc/ld.so.conf; then
   15115     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' ' '`
   15116     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15117   fi
   15118 
   15119   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15120   # powerpc, because MkLinux only supported shared libraries with the
   15121   # GNU dynamic linker.  Since this was broken with cross compilers,
   15122   # most powerpc-linux boxes support dynamic linking these days and
   15123   # people can always --disable-shared, the test was removed, and we
   15124   # assume the GNU/Linux dynamic linker is in use.
   15125   dynamic_linker='GNU/Linux ld.so'
   15126   ;;
   15127 
   15128 netbsd*)
   15129   version_type=sunos
   15130   need_lib_prefix=no
   15131   need_version=no
   15132   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15133     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15134     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15135     dynamic_linker='NetBSD (a.out) ld.so'
   15136   else
   15137     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15138     soname_spec='${libname}${release}${shared_ext}$major'
   15139     dynamic_linker='NetBSD ld.elf_so'
   15140   fi
   15141   shlibpath_var=LD_LIBRARY_PATH
   15142   shlibpath_overrides_runpath=yes
   15143   hardcode_into_libs=yes
   15144   ;;
   15145 
   15146 newsos6)
   15147   version_type=linux
   15148   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15149   shlibpath_var=LD_LIBRARY_PATH
   15150   shlibpath_overrides_runpath=yes
   15151   ;;
   15152 
   15153 *nto* | *qnx*)
   15154   version_type=qnx
   15155   need_lib_prefix=no
   15156   need_version=no
   15157   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15158   soname_spec='${libname}${release}${shared_ext}$major'
   15159   shlibpath_var=LD_LIBRARY_PATH
   15160   shlibpath_overrides_runpath=no
   15161   hardcode_into_libs=yes
   15162   dynamic_linker='ldqnx.so'
   15163   ;;
   15164 
   15165 openbsd*)
   15166   version_type=sunos
   15167   sys_lib_dlsearch_path_spec="/usr/lib"
   15168   need_lib_prefix=no
   15169   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15170   case $host_os in
   15171     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15172     *)				need_version=no  ;;
   15173   esac
   15174   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15175   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15176   shlibpath_var=LD_LIBRARY_PATH
   15177   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15178     case $host_os in
   15179       openbsd2.[89] | openbsd2.[89].*)
   15180 	shlibpath_overrides_runpath=no
   15181 	;;
   15182       *)
   15183 	shlibpath_overrides_runpath=yes
   15184 	;;
   15185       esac
   15186   else
   15187     shlibpath_overrides_runpath=yes
   15188   fi
   15189   ;;
   15190 
   15191 os2*)
   15192   libname_spec='$name'
   15193   shrext_cmds=".dll"
   15194   need_lib_prefix=no
   15195   library_names_spec='$libname${shared_ext} $libname.a'
   15196   dynamic_linker='OS/2 ld.exe'
   15197   shlibpath_var=LIBPATH
   15198   ;;
   15199 
   15200 osf3* | osf4* | osf5*)
   15201   version_type=osf
   15202   need_lib_prefix=no
   15203   need_version=no
   15204   soname_spec='${libname}${release}${shared_ext}$major'
   15205   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15206   shlibpath_var=LD_LIBRARY_PATH
   15207   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15208   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15209   ;;
   15210 
   15211 rdos*)
   15212   dynamic_linker=no
   15213   ;;
   15214 
   15215 solaris*)
   15216   version_type=linux
   15217   need_lib_prefix=no
   15218   need_version=no
   15219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15220   soname_spec='${libname}${release}${shared_ext}$major'
   15221   shlibpath_var=LD_LIBRARY_PATH
   15222   shlibpath_overrides_runpath=yes
   15223   hardcode_into_libs=yes
   15224   # ldd complains unless libraries are executable
   15225   postinstall_cmds='chmod +x $lib'
   15226   ;;
   15227 
   15228 sunos4*)
   15229   version_type=sunos
   15230   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15231   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15232   shlibpath_var=LD_LIBRARY_PATH
   15233   shlibpath_overrides_runpath=yes
   15234   if test "$with_gnu_ld" = yes; then
   15235     need_lib_prefix=no
   15236   fi
   15237   need_version=yes
   15238   ;;
   15239 
   15240 sysv4 | sysv4.3*)
   15241   version_type=linux
   15242   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15243   soname_spec='${libname}${release}${shared_ext}$major'
   15244   shlibpath_var=LD_LIBRARY_PATH
   15245   case $host_vendor in
   15246     sni)
   15247       shlibpath_overrides_runpath=no
   15248       need_lib_prefix=no
   15249       runpath_var=LD_RUN_PATH
   15250       ;;
   15251     siemens)
   15252       need_lib_prefix=no
   15253       ;;
   15254     motorola)
   15255       need_lib_prefix=no
   15256       need_version=no
   15257       shlibpath_overrides_runpath=no
   15258       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15259       ;;
   15260   esac
   15261   ;;
   15262 
   15263 sysv4*MP*)
   15264   if test -d /usr/nec ;then
   15265     version_type=linux
   15266     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15267     soname_spec='$libname${shared_ext}.$major'
   15268     shlibpath_var=LD_LIBRARY_PATH
   15269   fi
   15270   ;;
   15271 
   15272 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15273   version_type=freebsd-elf
   15274   need_lib_prefix=no
   15275   need_version=no
   15276   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15277   soname_spec='${libname}${release}${shared_ext}$major'
   15278   shlibpath_var=LD_LIBRARY_PATH
   15279   shlibpath_overrides_runpath=yes
   15280   hardcode_into_libs=yes
   15281   if test "$with_gnu_ld" = yes; then
   15282     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15283   else
   15284     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15285     case $host_os in
   15286       sco3.2v5*)
   15287         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15288 	;;
   15289     esac
   15290   fi
   15291   sys_lib_dlsearch_path_spec='/usr/lib'
   15292   ;;
   15293 
   15294 tpf*)
   15295   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15296   version_type=linux
   15297   need_lib_prefix=no
   15298   need_version=no
   15299   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15300   shlibpath_var=LD_LIBRARY_PATH
   15301   shlibpath_overrides_runpath=no
   15302   hardcode_into_libs=yes
   15303   ;;
   15304 
   15305 uts4*)
   15306   version_type=linux
   15307   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15308   soname_spec='${libname}${release}${shared_ext}$major'
   15309   shlibpath_var=LD_LIBRARY_PATH
   15310   ;;
   15311 
   15312 # Shared libraries for VwWorks, >= 7 only at this stage
   15313 # and (fpic) still incompatible with "large" code models
   15314 # in a few configurations. Only for RTP mode in any case,
   15315 # and upon explicit request at configure time.
   15316 vxworks7*)
   15317   dynamic_linker=no
   15318   case ${with_multisubdir}-${enable_shared} in
   15319     *large*)
   15320       ;;
   15321     *mrtp*-yes)
   15322       version_type=linux
   15323       need_lib_prefix=no
   15324       need_version=no
   15325       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15326       soname_spec='${libname}${release}${shared_ext}$major'
   15327       dynamic_linker="$host_os module_loader"
   15328       ;;
   15329   esac
   15330   ;;
   15331 *)
   15332   dynamic_linker=no
   15333   ;;
   15334 esac
   15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15336 $as_echo "$dynamic_linker" >&6; }
   15337 test "$dynamic_linker" = no && can_build_shared=no
   15338 
   15339 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15340 if test "$GCC" = yes; then
   15341   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15342 fi
   15343 
   15344 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15345   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15346 fi
   15347 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15348   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15349 fi
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 
   15387 
   15388     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15389 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15390 hardcode_action_CXX=
   15391 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   15392    test -n "$runpath_var_CXX" ||
   15393    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   15394 
   15395   # We can hardcode non-existent directories.
   15396   if test "$hardcode_direct_CXX" != no &&
   15397      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15398      # have to relink, otherwise we might link with an installed library
   15399      # when we should be linking with a yet-to-be-installed one
   15400      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   15401      test "$hardcode_minus_L_CXX" != no; then
   15402     # Linking always hardcodes the temporary library directory.
   15403     hardcode_action_CXX=relink
   15404   else
   15405     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15406     hardcode_action_CXX=immediate
   15407   fi
   15408 else
   15409   # We cannot hardcode anything, or else we can only hardcode existing
   15410   # directories.
   15411   hardcode_action_CXX=unsupported
   15412 fi
   15413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   15414 $as_echo "$hardcode_action_CXX" >&6; }
   15415 
   15416 if test "$hardcode_action_CXX" = relink ||
   15417    test "$inherit_rpath_CXX" = yes; then
   15418   # Fast installation is not supported
   15419   enable_fast_install=no
   15420 elif test "$shlibpath_overrides_runpath" = yes ||
   15421      test "$enable_shared" = no; then
   15422   # Fast installation is not necessary
   15423   enable_fast_install=needless
   15424 fi
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432   fi # test -n "$compiler"
   15433 
   15434   CC=$lt_save_CC
   15435   LDCXX=$LD
   15436   LD=$lt_save_LD
   15437   GCC=$lt_save_GCC
   15438   with_gnu_ld=$lt_save_with_gnu_ld
   15439   lt_cv_path_LDCXX=$lt_cv_path_LD
   15440   lt_cv_path_LD=$lt_save_path_LD
   15441   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   15442   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   15443 fi # test "$_lt_caught_CXX_error" != yes
   15444 
   15445 ac_ext=c
   15446 ac_cpp='$CPP $CPPFLAGS'
   15447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15450 
   15451 
   15452 
   15453 
   15454 
   15455 
   15456 
   15457 
   15458 
   15459 
   15460 
   15461 
   15462 
   15463         ac_config_commands="$ac_config_commands libtool"
   15464 
   15465 
   15466 
   15467 
   15468 # Only expand once:
   15469 
   15470 
   15471 # Check whether --enable-shared was given.
   15472 if test "${enable_shared+set}" = set; then :
   15473   enableval=$enable_shared; p=${PACKAGE-default}
   15474     case $enableval in
   15475     yes) enable_shared=yes ;;
   15476     no) enable_shared=no ;;
   15477     *)
   15478       enable_shared=no
   15479       # Look at the argument we got.  We use all the common list separators.
   15480       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   15481       for pkg in $enableval; do
   15482 	IFS="$lt_save_ifs"
   15483 	if test "X$pkg" = "X$p"; then
   15484 	  enable_shared=yes
   15485 	fi
   15486       done
   15487       IFS="$lt_save_ifs"
   15488       ;;
   15489     esac
   15490 else
   15491   enable_shared=yes
   15492 fi
   15493 
   15494 
   15495 
   15496 
   15497 
   15498 
   15499 # Check whether --enable-static was given.
   15500 if test "${enable_static+set}" = set; then :
   15501   enableval=$enable_static; p=${PACKAGE-default}
   15502     case $enableval in
   15503     yes) enable_static=yes ;;
   15504     no) enable_static=no ;;
   15505     *)
   15506      enable_static=no
   15507       # Look at the argument we got.  We use all the common list separators.
   15508       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   15509       for pkg in $enableval; do
   15510 	IFS="$lt_save_ifs"
   15511 	if test "X$pkg" = "X$p"; then
   15512 	  enable_static=yes
   15513 	fi
   15514       done
   15515       IFS="$lt_save_ifs"
   15516       ;;
   15517     esac
   15518 else
   15519   enable_static=no
   15520 fi
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 if test "$enable_shared" != "yes"; then
   15529   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot set --enable-shared for gprofng/libcollector. Profiling will be unavailable." >&5
   15530 $as_echo "$as_me: WARNING: Cannot set --enable-shared for gprofng/libcollector. Profiling will be unavailable." >&2;}
   15531 fi
   15532 
   15533 ac_ext=c
   15534 ac_cpp='$CPP $CPPFLAGS'
   15535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15538 
   15539 GPROFNG_NO_NONNULL_COMPARE_CFLAGS=
   15540 save_CFLAGS="$CFLAGS"
   15541 for real_option in -Wno-nonnull-compare; do
   15542   # Do the check with the no- prefix removed since gcc silently
   15543   # accepts any -Wno-* option on purpose
   15544   case $real_option in
   15545     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   15546     *) option=$real_option ;;
   15547   esac
   15548   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   15549 
   15550   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   15551 $as_echo_n "checking whether $CC supports $option... " >&6; }
   15552 if eval \${$as_acx_Woption+:} false; then :
   15553   $as_echo_n "(cached) " >&6
   15554 else
   15555   CFLAGS="$option"
   15556     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15557 /* end confdefs.h.  */
   15558 
   15559 int
   15560 main ()
   15561 {
   15562 
   15563   ;
   15564   return 0;
   15565 }
   15566 _ACEOF
   15567 if ac_fn_c_try_compile "$LINENO"; then :
   15568   eval "$as_acx_Woption=yes"
   15569 else
   15570   eval "$as_acx_Woption=no"
   15571 fi
   15572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15573 
   15574 fi
   15575 eval ac_res=\$$as_acx_Woption
   15576 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15577 $as_echo "$ac_res" >&6; }
   15578   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   15579   GPROFNG_NO_NONNULL_COMPARE_CFLAGS="$GPROFNG_NO_NONNULL_COMPARE_CFLAGS${GPROFNG_NO_NONNULL_COMPARE_CFLAGS:+ }$real_option"
   15580 fi
   15581   done
   15582 CFLAGS="$save_CFLAGS"
   15583 ac_ext=c
   15584 ac_cpp='$CPP $CPPFLAGS'
   15585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15588 
   15589 
   15590 
   15591 
   15592 ac_config_files="$ac_config_files Makefile"
   15593 
   15594 ac_config_headers="$ac_config_headers lib-config.h:../common/lib-config.h.in"
   15595 
   15596 
   15597 cat >confcache <<\_ACEOF
   15598 # This file is a shell script that caches the results of configure
   15599 # tests run on this system so they can be shared between configure
   15600 # scripts and configure runs, see configure's option --config-cache.
   15601 # It is not useful on other systems.  If it contains results you don't
   15602 # want to keep, you may remove or edit it.
   15603 #
   15604 # config.status only pays attention to the cache file if you give it
   15605 # the --recheck option to rerun configure.
   15606 #
   15607 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   15608 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   15609 # following values.
   15610 
   15611 _ACEOF
   15612 
   15613 # The following way of writing the cache mishandles newlines in values,
   15614 # but we know of no workaround that is simple, portable, and efficient.
   15615 # So, we kill variables containing newlines.
   15616 # Ultrix sh set writes to stderr and can't be redirected directly,
   15617 # and sets the high bit in the cache file unless we assign to the vars.
   15618 (
   15619   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   15620     eval ac_val=\$$ac_var
   15621     case $ac_val in #(
   15622     *${as_nl}*)
   15623       case $ac_var in #(
   15624       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   15625 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   15626       esac
   15627       case $ac_var in #(
   15628       _ | IFS | as_nl) ;; #(
   15629       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   15630       *) { eval $ac_var=; unset $ac_var;} ;;
   15631       esac ;;
   15632     esac
   15633   done
   15634 
   15635   (set) 2>&1 |
   15636     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   15637     *${as_nl}ac_space=\ *)
   15638       # `set' does not quote correctly, so add quotes: double-quote
   15639       # substitution turns \\\\ into \\, and sed turns \\ into \.
   15640       sed -n \
   15641 	"s/'/'\\\\''/g;
   15642 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   15643       ;; #(
   15644     *)
   15645       # `set' quotes correctly as required by POSIX, so do not add quotes.
   15646       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   15647       ;;
   15648     esac |
   15649     sort
   15650 ) |
   15651   sed '
   15652      /^ac_cv_env_/b end
   15653      t clear
   15654      :clear
   15655      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   15656      t end
   15657      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   15658      :end' >>confcache
   15659 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   15660   if test -w "$cache_file"; then
   15661     if test "x$cache_file" != "x/dev/null"; then
   15662       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   15663 $as_echo "$as_me: updating cache $cache_file" >&6;}
   15664       if test ! -f "$cache_file" || test -h "$cache_file"; then
   15665 	cat confcache >"$cache_file"
   15666       else
   15667         case $cache_file in #(
   15668         */* | ?:*)
   15669 	  mv -f confcache "$cache_file"$$ &&
   15670 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   15671         *)
   15672 	  mv -f confcache "$cache_file" ;;
   15673 	esac
   15674       fi
   15675     fi
   15676   else
   15677     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   15678 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   15679   fi
   15680 fi
   15681 rm -f confcache
   15682 
   15683 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   15684 # Let make expand exec_prefix.
   15685 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   15686 
   15687 DEFS=-DHAVE_CONFIG_H
   15688 
   15689 ac_libobjs=
   15690 ac_ltlibobjs=
   15691 U=
   15692 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   15693   # 1. Remove the extension, and $U if already installed.
   15694   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   15695   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   15696   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   15697   #    will be set to the directory where LIBOBJS objects are built.
   15698   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   15699   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   15700 done
   15701 LIBOBJS=$ac_libobjs
   15702 
   15703 LTLIBOBJS=$ac_ltlibobjs
   15704 
   15705 
   15706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   15707 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   15708    if test -n "$am_sleep_pid"; then
   15709      # Hide warnings about reused PIDs.
   15710      wait $am_sleep_pid 2>/dev/null
   15711    fi
   15712    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   15713 $as_echo "done" >&6; }
   15714  if test -n "$EXEEXT"; then
   15715   am__EXEEXT_TRUE=
   15716   am__EXEEXT_FALSE='#'
   15717 else
   15718   am__EXEEXT_TRUE='#'
   15719   am__EXEEXT_FALSE=
   15720 fi
   15721 
   15722 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   15723   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   15724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15725 fi
   15726 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   15727   as_fn_error $? "conditional \"AMDEP\" was never defined.
   15728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15729 fi
   15730 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15731   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15733 fi
   15734 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   15735   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   15736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15737 fi
   15738 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   15739   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   15740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   15741 fi
   15742 
   15743 : "${CONFIG_STATUS=./config.status}"
   15744 ac_write_fail=0
   15745 ac_clean_files_save=$ac_clean_files
   15746 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   15747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   15748 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   15749 as_write_fail=0
   15750 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   15751 #! $SHELL
   15752 # Generated by $as_me.
   15753 # Run this file to recreate the current configuration.
   15754 # Compiler output produced by configure, useful for debugging
   15755 # configure, is in config.log if it exists.
   15756 
   15757 debug=false
   15758 ac_cs_recheck=false
   15759 ac_cs_silent=false
   15760 
   15761 SHELL=\${CONFIG_SHELL-$SHELL}
   15762 export SHELL
   15763 _ASEOF
   15764 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   15765 ## -------------------- ##
   15766 ## M4sh Initialization. ##
   15767 ## -------------------- ##
   15768 
   15769 # Be more Bourne compatible
   15770 DUALCASE=1; export DUALCASE # for MKS sh
   15771 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   15772   emulate sh
   15773   NULLCMD=:
   15774   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   15775   # is contrary to our usage.  Disable this feature.
   15776   alias -g '${1+"$@"}'='"$@"'
   15777   setopt NO_GLOB_SUBST
   15778 else
   15779   case `(set -o) 2>/dev/null` in #(
   15780   *posix*) :
   15781     set -o posix ;; #(
   15782   *) :
   15783      ;;
   15784 esac
   15785 fi
   15786 
   15787 
   15788 as_nl='
   15789 '
   15790 export as_nl
   15791 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   15792 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   15793 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   15794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   15795 # Prefer a ksh shell builtin over an external printf program on Solaris,
   15796 # but without wasting forks for bash or zsh.
   15797 if test -z "$BASH_VERSION$ZSH_VERSION" \
   15798     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   15799   as_echo='print -r --'
   15800   as_echo_n='print -rn --'
   15801 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   15802   as_echo='printf %s\n'
   15803   as_echo_n='printf %s'
   15804 else
   15805   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   15806     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   15807     as_echo_n='/usr/ucb/echo -n'
   15808   else
   15809     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   15810     as_echo_n_body='eval
   15811       arg=$1;
   15812       case $arg in #(
   15813       *"$as_nl"*)
   15814 	expr "X$arg" : "X\\(.*\\)$as_nl";
   15815 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   15816       esac;
   15817       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   15818     '
   15819     export as_echo_n_body
   15820     as_echo_n='sh -c $as_echo_n_body as_echo'
   15821   fi
   15822   export as_echo_body
   15823   as_echo='sh -c $as_echo_body as_echo'
   15824 fi
   15825 
   15826 # The user is always right.
   15827 if test "${PATH_SEPARATOR+set}" != set; then
   15828   PATH_SEPARATOR=:
   15829   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   15830     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   15831       PATH_SEPARATOR=';'
   15832   }
   15833 fi
   15834 
   15835 
   15836 # IFS
   15837 # We need space, tab and new line, in precisely that order.  Quoting is
   15838 # there to prevent editors from complaining about space-tab.
   15839 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   15840 # splitting by setting IFS to empty value.)
   15841 IFS=" ""	$as_nl"
   15842 
   15843 # Find who we are.  Look in the path if we contain no directory separator.
   15844 as_myself=
   15845 case $0 in #((
   15846   *[\\/]* ) as_myself=$0 ;;
   15847   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15848 for as_dir in $PATH
   15849 do
   15850   IFS=$as_save_IFS
   15851   test -z "$as_dir" && as_dir=.
   15852     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   15853   done
   15854 IFS=$as_save_IFS
   15855 
   15856      ;;
   15857 esac
   15858 # We did not find ourselves, most probably we were run as `sh COMMAND'
   15859 # in which case we are not to be found in the path.
   15860 if test "x$as_myself" = x; then
   15861   as_myself=$0
   15862 fi
   15863 if test ! -f "$as_myself"; then
   15864   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   15865   exit 1
   15866 fi
   15867 
   15868 # Unset variables that we do not need and which cause bugs (e.g. in
   15869 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   15870 # suppresses any "Segmentation fault" message there.  '((' could
   15871 # trigger a bug in pdksh 5.2.14.
   15872 for as_var in BASH_ENV ENV MAIL MAILPATH
   15873 do eval test x\${$as_var+set} = xset \
   15874   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   15875 done
   15876 PS1='$ '
   15877 PS2='> '
   15878 PS4='+ '
   15879 
   15880 # NLS nuisances.
   15881 LC_ALL=C
   15882 export LC_ALL
   15883 LANGUAGE=C
   15884 export LANGUAGE
   15885 
   15886 # CDPATH.
   15887 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   15888 
   15889 
   15890 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   15891 # ----------------------------------------
   15892 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   15893 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   15894 # script with STATUS, using 1 if that was 0.
   15895 as_fn_error ()
   15896 {
   15897   as_status=$1; test $as_status -eq 0 && as_status=1
   15898   if test "$4"; then
   15899     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   15900     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   15901   fi
   15902   $as_echo "$as_me: error: $2" >&2
   15903   as_fn_exit $as_status
   15904 } # as_fn_error
   15905 
   15906 
   15907 # as_fn_set_status STATUS
   15908 # -----------------------
   15909 # Set $? to STATUS, without forking.
   15910 as_fn_set_status ()
   15911 {
   15912   return $1
   15913 } # as_fn_set_status
   15914 
   15915 # as_fn_exit STATUS
   15916 # -----------------
   15917 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   15918 as_fn_exit ()
   15919 {
   15920   set +e
   15921   as_fn_set_status $1
   15922   exit $1
   15923 } # as_fn_exit
   15924 
   15925 # as_fn_unset VAR
   15926 # ---------------
   15927 # Portably unset VAR.
   15928 as_fn_unset ()
   15929 {
   15930   { eval $1=; unset $1;}
   15931 }
   15932 as_unset=as_fn_unset
   15933 # as_fn_append VAR VALUE
   15934 # ----------------------
   15935 # Append the text in VALUE to the end of the definition contained in VAR. Take
   15936 # advantage of any shell optimizations that allow amortized linear growth over
   15937 # repeated appends, instead of the typical quadratic growth present in naive
   15938 # implementations.
   15939 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   15940   eval 'as_fn_append ()
   15941   {
   15942     eval $1+=\$2
   15943   }'
   15944 else
   15945   as_fn_append ()
   15946   {
   15947     eval $1=\$$1\$2
   15948   }
   15949 fi # as_fn_append
   15950 
   15951 # as_fn_arith ARG...
   15952 # ------------------
   15953 # Perform arithmetic evaluation on the ARGs, and store the result in the
   15954 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   15955 # must be portable across $(()) and expr.
   15956 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   15957   eval 'as_fn_arith ()
   15958   {
   15959     as_val=$(( $* ))
   15960   }'
   15961 else
   15962   as_fn_arith ()
   15963   {
   15964     as_val=`expr "$@" || test $? -eq 1`
   15965   }
   15966 fi # as_fn_arith
   15967 
   15968 
   15969 if expr a : '\(a\)' >/dev/null 2>&1 &&
   15970    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   15971   as_expr=expr
   15972 else
   15973   as_expr=false
   15974 fi
   15975 
   15976 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   15977   as_basename=basename
   15978 else
   15979   as_basename=false
   15980 fi
   15981 
   15982 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   15983   as_dirname=dirname
   15984 else
   15985   as_dirname=false
   15986 fi
   15987 
   15988 as_me=`$as_basename -- "$0" ||
   15989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   15990 	 X"$0" : 'X\(//\)$' \| \
   15991 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   15992 $as_echo X/"$0" |
   15993     sed '/^.*\/\([^/][^/]*\)\/*$/{
   15994 	    s//\1/
   15995 	    q
   15996 	  }
   15997 	  /^X\/\(\/\/\)$/{
   15998 	    s//\1/
   15999 	    q
   16000 	  }
   16001 	  /^X\/\(\/\).*/{
   16002 	    s//\1/
   16003 	    q
   16004 	  }
   16005 	  s/.*/./; q'`
   16006 
   16007 # Avoid depending upon Character Ranges.
   16008 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16009 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16010 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16011 as_cr_digits='0123456789'
   16012 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16013 
   16014 ECHO_C= ECHO_N= ECHO_T=
   16015 case `echo -n x` in #(((((
   16016 -n*)
   16017   case `echo 'xy\c'` in
   16018   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   16019   xy)  ECHO_C='\c';;
   16020   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   16021        ECHO_T='	';;
   16022   esac;;
   16023 *)
   16024   ECHO_N='-n';;
   16025 esac
   16026 
   16027 rm -f conf$$ conf$$.exe conf$$.file
   16028 if test -d conf$$.dir; then
   16029   rm -f conf$$.dir/conf$$.file
   16030 else
   16031   rm -f conf$$.dir
   16032   mkdir conf$$.dir 2>/dev/null
   16033 fi
   16034 if (echo >conf$$.file) 2>/dev/null; then
   16035   if ln -s conf$$.file conf$$ 2>/dev/null; then
   16036     as_ln_s='ln -s'
   16037     # ... but there are two gotchas:
   16038     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   16039     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   16040     # In both cases, we have to default to `cp -pR'.
   16041     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   16042       as_ln_s='cp -pR'
   16043   elif ln conf$$.file conf$$ 2>/dev/null; then
   16044     as_ln_s=ln
   16045   else
   16046     as_ln_s='cp -pR'
   16047   fi
   16048 else
   16049   as_ln_s='cp -pR'
   16050 fi
   16051 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   16052 rmdir conf$$.dir 2>/dev/null
   16053 
   16054 
   16055 # as_fn_mkdir_p
   16056 # -------------
   16057 # Create "$as_dir" as a directory, including parents if necessary.
   16058 as_fn_mkdir_p ()
   16059 {
   16060 
   16061   case $as_dir in #(
   16062   -*) as_dir=./$as_dir;;
   16063   esac
   16064   test -d "$as_dir" || eval $as_mkdir_p || {
   16065     as_dirs=
   16066     while :; do
   16067       case $as_dir in #(
   16068       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   16069       *) as_qdir=$as_dir;;
   16070       esac
   16071       as_dirs="'$as_qdir' $as_dirs"
   16072       as_dir=`$as_dirname -- "$as_dir" ||
   16073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16074 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16075 	 X"$as_dir" : 'X\(//\)$' \| \
   16076 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   16077 $as_echo X"$as_dir" |
   16078     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   16079 	    s//\1/
   16080 	    q
   16081 	  }
   16082 	  /^X\(\/\/\)[^/].*/{
   16083 	    s//\1/
   16084 	    q
   16085 	  }
   16086 	  /^X\(\/\/\)$/{
   16087 	    s//\1/
   16088 	    q
   16089 	  }
   16090 	  /^X\(\/\).*/{
   16091 	    s//\1/
   16092 	    q
   16093 	  }
   16094 	  s/.*/./; q'`
   16095       test -d "$as_dir" && break
   16096     done
   16097     test -z "$as_dirs" || eval "mkdir $as_dirs"
   16098   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   16099 
   16100 
   16101 } # as_fn_mkdir_p
   16102 if mkdir -p . 2>/dev/null; then
   16103   as_mkdir_p='mkdir -p "$as_dir"'
   16104 else
   16105   test -d ./-p && rmdir ./-p
   16106   as_mkdir_p=false
   16107 fi
   16108 
   16109 
   16110 # as_fn_executable_p FILE
   16111 # -----------------------
   16112 # Test if FILE is an executable regular file.
   16113 as_fn_executable_p ()
   16114 {
   16115   test -f "$1" && test -x "$1"
   16116 } # as_fn_executable_p
   16117 as_test_x='test -x'
   16118 as_executable_p=as_fn_executable_p
   16119 
   16120 # Sed expression to map a string onto a valid CPP name.
   16121 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16122 
   16123 # Sed expression to map a string onto a valid variable name.
   16124 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16125 
   16126 
   16127 exec 6>&1
   16128 ## ----------------------------------- ##
   16129 ## Main body of $CONFIG_STATUS script. ##
   16130 ## ----------------------------------- ##
   16131 _ASEOF
   16132 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   16133 
   16134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16135 # Save the log message, to keep $0 and so on meaningful, and to
   16136 # report actual input values of CONFIG_FILES etc. instead of their
   16137 # values after options handling.
   16138 ac_log="
   16139 This file was extended by gprofng $as_me 2.42, which was
   16140 generated by GNU Autoconf 2.69.  Invocation command line was
   16141 
   16142   CONFIG_FILES    = $CONFIG_FILES
   16143   CONFIG_HEADERS  = $CONFIG_HEADERS
   16144   CONFIG_LINKS    = $CONFIG_LINKS
   16145   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16146   $ $0 $@
   16147 
   16148 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   16149 "
   16150 
   16151 _ACEOF
   16152 
   16153 case $ac_config_files in *"
   16154 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   16155 esac
   16156 
   16157 case $ac_config_headers in *"
   16158 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   16159 esac
   16160 
   16161 
   16162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16163 # Files that config.status was made for.
   16164 config_files="$ac_config_files"
   16165 config_headers="$ac_config_headers"
   16166 config_commands="$ac_config_commands"
   16167 
   16168 _ACEOF
   16169 
   16170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16171 ac_cs_usage="\
   16172 \`$as_me' instantiates files and other configuration actions
   16173 from templates according to the current configuration.  Unless the files
   16174 and actions are specified as TAGs, all are instantiated by default.
   16175 
   16176 Usage: $0 [OPTION]... [TAG]...
   16177 
   16178   -h, --help       print this help, then exit
   16179   -V, --version    print version number and configuration settings, then exit
   16180       --config     print configuration, then exit
   16181   -q, --quiet, --silent
   16182                    do not print progress messages
   16183   -d, --debug      don't remove temporary files
   16184       --recheck    update $as_me by reconfiguring in the same conditions
   16185       --file=FILE[:TEMPLATE]
   16186                    instantiate the configuration file FILE
   16187       --header=FILE[:TEMPLATE]
   16188                    instantiate the configuration header FILE
   16189 
   16190 Configuration files:
   16191 $config_files
   16192 
   16193 Configuration headers:
   16194 $config_headers
   16195 
   16196 Configuration commands:
   16197 $config_commands
   16198 
   16199 Report bugs to the package provider."
   16200 
   16201 _ACEOF
   16202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16203 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   16204 ac_cs_version="\\
   16205 gprofng config.status 2.42
   16206 configured by $0, generated by GNU Autoconf 2.69,
   16207   with options \\"\$ac_cs_config\\"
   16208 
   16209 Copyright (C) 2012 Free Software Foundation, Inc.
   16210 This config.status script is free software; the Free Software Foundation
   16211 gives unlimited permission to copy, distribute and modify it."
   16212 
   16213 ac_pwd='$ac_pwd'
   16214 srcdir='$srcdir'
   16215 INSTALL='$INSTALL'
   16216 MKDIR_P='$MKDIR_P'
   16217 AWK='$AWK'
   16218 test -n "\$AWK" || AWK=awk
   16219 _ACEOF
   16220 
   16221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16222 # The default lists apply if the user does not specify any file.
   16223 ac_need_defaults=:
   16224 while test $# != 0
   16225 do
   16226   case $1 in
   16227   --*=?*)
   16228     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16229     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   16230     ac_shift=:
   16231     ;;
   16232   --*=)
   16233     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   16234     ac_optarg=
   16235     ac_shift=:
   16236     ;;
   16237   *)
   16238     ac_option=$1
   16239     ac_optarg=$2
   16240     ac_shift=shift
   16241     ;;
   16242   esac
   16243 
   16244   case $ac_option in
   16245   # Handling of the options.
   16246   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   16247     ac_cs_recheck=: ;;
   16248   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   16249     $as_echo "$ac_cs_version"; exit ;;
   16250   --config | --confi | --conf | --con | --co | --c )
   16251     $as_echo "$ac_cs_config"; exit ;;
   16252   --debug | --debu | --deb | --de | --d | -d )
   16253     debug=: ;;
   16254   --file | --fil | --fi | --f )
   16255     $ac_shift
   16256     case $ac_optarg in
   16257     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16258     '') as_fn_error $? "missing file argument" ;;
   16259     esac
   16260     as_fn_append CONFIG_FILES " '$ac_optarg'"
   16261     ac_need_defaults=false;;
   16262   --header | --heade | --head | --hea )
   16263     $ac_shift
   16264     case $ac_optarg in
   16265     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   16266     esac
   16267     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   16268     ac_need_defaults=false;;
   16269   --he | --h)
   16270     # Conflict between --help and --header
   16271     as_fn_error $? "ambiguous option: \`$1'
   16272 Try \`$0 --help' for more information.";;
   16273   --help | --hel | -h )
   16274     $as_echo "$ac_cs_usage"; exit ;;
   16275   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   16276   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   16277     ac_cs_silent=: ;;
   16278 
   16279   # This is an error.
   16280   -*) as_fn_error $? "unrecognized option: \`$1'
   16281 Try \`$0 --help' for more information." ;;
   16282 
   16283   *) as_fn_append ac_config_targets " $1"
   16284      ac_need_defaults=false ;;
   16285 
   16286   esac
   16287   shift
   16288 done
   16289 
   16290 ac_configure_extra_args=
   16291 
   16292 if $ac_cs_silent; then
   16293   exec 6>/dev/null
   16294   ac_configure_extra_args="$ac_configure_extra_args --silent"
   16295 fi
   16296 
   16297 _ACEOF
   16298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16299 if \$ac_cs_recheck; then
   16300   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   16301   shift
   16302   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   16303   CONFIG_SHELL='$SHELL'
   16304   export CONFIG_SHELL
   16305   exec "\$@"
   16306 fi
   16307 
   16308 _ACEOF
   16309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16310 exec 5>>config.log
   16311 {
   16312   echo
   16313   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   16314 ## Running $as_me. ##
   16315 _ASBOX
   16316   $as_echo "$ac_log"
   16317 } >&5
   16318 
   16319 _ACEOF
   16320 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16321 #
   16322 # INIT-COMMANDS
   16323 #
   16324 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   16325 
   16326 
   16327 # The HP-UX ksh and POSIX shell print the target directory to stdout
   16328 # if CDPATH is set.
   16329 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   16330 
   16331 sed_quote_subst='$sed_quote_subst'
   16332 double_quote_subst='$double_quote_subst'
   16333 delay_variable_subst='$delay_variable_subst'
   16334 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   16335 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   16336 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   16337 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   16338 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   16339 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   16340 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   16341 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   16342 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   16343 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   16344 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   16345 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   16346 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   16347 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   16348 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   16349 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   16350 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   16351 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   16352 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   16353 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   16354 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   16355 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   16356 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   16357 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   16358 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   16359 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   16360 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   16361 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   16362 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   16363 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   16364 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   16365 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   16366 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   16367 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   16368 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   16369 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   16370 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   16371 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16372 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16373 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   16374 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   16375 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   16376 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   16377 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   16378 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   16379 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   16380 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   16381 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   16382 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"`'
   16383 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   16384 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   16385 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   16386 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   16387 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   16388 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   16389 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   16390 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   16391 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   16392 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   16393 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   16394 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   16395 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   16396 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   16397 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   16398 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16399 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   16400 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   16401 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   16402 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   16403 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   16404 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   16405 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   16406 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   16407 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16408 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   16409 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   16410 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   16411 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16412 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   16413 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   16414 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   16415 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   16416 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   16417 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   16418 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   16419 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16420 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   16421 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   16422 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   16423 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   16424 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   16425 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   16426 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   16427 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   16428 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   16429 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   16430 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   16431 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   16432 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   16433 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   16434 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   16435 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   16436 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   16437 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   16438 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   16439 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   16440 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   16441 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   16442 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   16443 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   16444 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   16445 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   16446 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   16447 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   16448 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   16449 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   16450 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   16451 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   16452 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   16453 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   16454 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   16455 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   16456 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   16457 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   16458 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   16459 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   16460 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   16461 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16462 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16463 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16464 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   16465 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   16466 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16467 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   16468 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   16469 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   16470 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   16471 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   16472 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   16473 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16474 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16475 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   16476 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16477 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16478 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16479 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16480 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16481 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16482 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   16483 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16484 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   16485 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16486 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   16487 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   16488 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   16489 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   16490 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   16491 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   16492 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   16493 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   16494 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   16495 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   16496 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   16497 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16498 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   16499 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   16500 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   16501 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   16502 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   16503 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   16504 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   16505 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   16506 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   16507 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   16508 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   16509 
   16510 LTCC='$LTCC'
   16511 LTCFLAGS='$LTCFLAGS'
   16512 compiler='$compiler_DEFAULT'
   16513 
   16514 # A function that is used when there is no print builtin or printf.
   16515 func_fallback_echo ()
   16516 {
   16517   eval 'cat <<_LTECHO_EOF
   16518 \$1
   16519 _LTECHO_EOF'
   16520 }
   16521 
   16522 # Quote evaled strings.
   16523 for var in SHELL \
   16524 ECHO \
   16525 SED \
   16526 GREP \
   16527 EGREP \
   16528 FGREP \
   16529 LD \
   16530 NM \
   16531 LN_S \
   16532 lt_SP2NL \
   16533 lt_NL2SP \
   16534 reload_flag \
   16535 OBJDUMP \
   16536 deplibs_check_method \
   16537 file_magic_cmd \
   16538 AR \
   16539 AR_FLAGS \
   16540 STRIP \
   16541 RANLIB \
   16542 CC \
   16543 CFLAGS \
   16544 compiler \
   16545 lt_cv_sys_global_symbol_pipe \
   16546 lt_cv_sys_global_symbol_to_cdecl \
   16547 lt_cv_sys_global_symbol_to_c_name_address \
   16548 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   16549 lt_prog_compiler_no_builtin_flag \
   16550 lt_prog_compiler_wl \
   16551 lt_prog_compiler_pic \
   16552 lt_prog_compiler_static \
   16553 lt_cv_prog_compiler_c_o \
   16554 need_locks \
   16555 DSYMUTIL \
   16556 NMEDIT \
   16557 LIPO \
   16558 OTOOL \
   16559 OTOOL64 \
   16560 shrext_cmds \
   16561 export_dynamic_flag_spec \
   16562 whole_archive_flag_spec \
   16563 compiler_needs_object \
   16564 with_gnu_ld \
   16565 allow_undefined_flag \
   16566 no_undefined_flag \
   16567 hardcode_libdir_flag_spec \
   16568 hardcode_libdir_flag_spec_ld \
   16569 hardcode_libdir_separator \
   16570 fix_srcfile_path \
   16571 exclude_expsyms \
   16572 include_expsyms \
   16573 file_list_spec \
   16574 variables_saved_for_relink \
   16575 libname_spec \
   16576 library_names_spec \
   16577 soname_spec \
   16578 install_override_mode \
   16579 finish_eval \
   16580 old_striplib \
   16581 striplib \
   16582 compiler_lib_search_dirs \
   16583 predep_objects \
   16584 postdep_objects \
   16585 predeps \
   16586 postdeps \
   16587 compiler_lib_search_path \
   16588 LD_CXX \
   16589 reload_flag_CXX \
   16590 compiler_CXX \
   16591 lt_prog_compiler_no_builtin_flag_CXX \
   16592 lt_prog_compiler_wl_CXX \
   16593 lt_prog_compiler_pic_CXX \
   16594 lt_prog_compiler_static_CXX \
   16595 lt_cv_prog_compiler_c_o_CXX \
   16596 export_dynamic_flag_spec_CXX \
   16597 whole_archive_flag_spec_CXX \
   16598 compiler_needs_object_CXX \
   16599 with_gnu_ld_CXX \
   16600 allow_undefined_flag_CXX \
   16601 no_undefined_flag_CXX \
   16602 hardcode_libdir_flag_spec_CXX \
   16603 hardcode_libdir_flag_spec_ld_CXX \
   16604 hardcode_libdir_separator_CXX \
   16605 fix_srcfile_path_CXX \
   16606 exclude_expsyms_CXX \
   16607 include_expsyms_CXX \
   16608 file_list_spec_CXX \
   16609 compiler_lib_search_dirs_CXX \
   16610 predep_objects_CXX \
   16611 postdep_objects_CXX \
   16612 predeps_CXX \
   16613 postdeps_CXX \
   16614 compiler_lib_search_path_CXX; do
   16615     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16616     *[\\\\\\\`\\"\\\$]*)
   16617       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   16618       ;;
   16619     *)
   16620       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16621       ;;
   16622     esac
   16623 done
   16624 
   16625 # Double-quote double-evaled strings.
   16626 for var in reload_cmds \
   16627 old_postinstall_cmds \
   16628 old_postuninstall_cmds \
   16629 old_archive_cmds \
   16630 extract_expsyms_cmds \
   16631 old_archive_from_new_cmds \
   16632 old_archive_from_expsyms_cmds \
   16633 archive_cmds \
   16634 archive_expsym_cmds \
   16635 module_cmds \
   16636 module_expsym_cmds \
   16637 export_symbols_cmds \
   16638 prelink_cmds \
   16639 postinstall_cmds \
   16640 postuninstall_cmds \
   16641 finish_cmds \
   16642 sys_lib_search_path_spec \
   16643 sys_lib_dlsearch_path_spec \
   16644 reload_cmds_CXX \
   16645 old_archive_cmds_CXX \
   16646 old_archive_from_new_cmds_CXX \
   16647 old_archive_from_expsyms_cmds_CXX \
   16648 archive_cmds_CXX \
   16649 archive_expsym_cmds_CXX \
   16650 module_cmds_CXX \
   16651 module_expsym_cmds_CXX \
   16652 export_symbols_cmds_CXX \
   16653 prelink_cmds_CXX; do
   16654     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   16655     *[\\\\\\\`\\"\\\$]*)
   16656       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   16657       ;;
   16658     *)
   16659       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   16660       ;;
   16661     esac
   16662 done
   16663 
   16664 ac_aux_dir='$ac_aux_dir'
   16665 xsi_shell='$xsi_shell'
   16666 lt_shell_append='$lt_shell_append'
   16667 
   16668 # See if we are running on zsh, and set the options which allow our
   16669 # commands through without removal of \ escapes INIT.
   16670 if test -n "\${ZSH_VERSION+set}" ; then
   16671    setopt NO_GLOB_SUBST
   16672 fi
   16673 
   16674 
   16675     PACKAGE='$PACKAGE'
   16676     VERSION='$VERSION'
   16677     TIMESTAMP='$TIMESTAMP'
   16678     RM='$RM'
   16679     ofile='$ofile'
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 _ACEOF
   16687 
   16688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16689 
   16690 # Handling of arguments.
   16691 for ac_config_target in $ac_config_targets
   16692 do
   16693   case $ac_config_target in
   16694     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16695     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   16696     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16697     "lib-config.h") CONFIG_HEADERS="$CONFIG_HEADERS lib-config.h:../common/lib-config.h.in" ;;
   16698 
   16699   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   16700   esac
   16701 done
   16702 
   16703 
   16704 # If the user did not use the arguments to specify the items to instantiate,
   16705 # then the envvar interface is used.  Set only those that are not.
   16706 # We use the long form for the default assignment because of an extremely
   16707 # bizarre bug on SunOS 4.1.3.
   16708 if $ac_need_defaults; then
   16709   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16710   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16711   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16712 fi
   16713 
   16714 # Have a temporary directory for convenience.  Make it in the build tree
   16715 # simply because there is no reason against having it here, and in addition,
   16716 # creating and moving files from /tmp can sometimes cause problems.
   16717 # Hook for its removal unless debugging.
   16718 # Note that there is a small window in which the directory will not be cleaned:
   16719 # after its creation but before its name has been assigned to `$tmp'.
   16720 $debug ||
   16721 {
   16722   tmp= ac_tmp=
   16723   trap 'exit_status=$?
   16724   : "${ac_tmp:=$tmp}"
   16725   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   16726 ' 0
   16727   trap 'as_fn_exit 1' 1 2 13 15
   16728 }
   16729 # Create a (secure) tmp directory for tmp files.
   16730 
   16731 {
   16732   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   16733   test -d "$tmp"
   16734 }  ||
   16735 {
   16736   tmp=./conf$$-$RANDOM
   16737   (umask 077 && mkdir "$tmp")
   16738 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   16739 ac_tmp=$tmp
   16740 
   16741 # Set up the scripts for CONFIG_FILES section.
   16742 # No need to generate them if there are no CONFIG_FILES.
   16743 # This happens for instance with `./config.status config.h'.
   16744 if test -n "$CONFIG_FILES"; then
   16745 
   16746 
   16747 ac_cr=`echo X | tr X '\015'`
   16748 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   16749 # But we know of no other shell where ac_cr would be empty at this
   16750 # point, so we can use a bashism as a fallback.
   16751 if test "x$ac_cr" = x; then
   16752   eval ac_cr=\$\'\\r\'
   16753 fi
   16754 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   16755 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   16756   ac_cs_awk_cr='\\r'
   16757 else
   16758   ac_cs_awk_cr=$ac_cr
   16759 fi
   16760 
   16761 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   16762 _ACEOF
   16763 
   16764 
   16765 {
   16766   echo "cat >conf$$subs.awk <<_ACEOF" &&
   16767   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   16768   echo "_ACEOF"
   16769 } >conf$$subs.sh ||
   16770   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16771 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   16772 ac_delim='%!_!# '
   16773 for ac_last_try in false false false false false :; do
   16774   . ./conf$$subs.sh ||
   16775     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16776 
   16777   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   16778   if test $ac_delim_n = $ac_delim_num; then
   16779     break
   16780   elif $ac_last_try; then
   16781     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   16782   else
   16783     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16784   fi
   16785 done
   16786 rm -f conf$$subs.sh
   16787 
   16788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16789 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   16790 _ACEOF
   16791 sed -n '
   16792 h
   16793 s/^/S["/; s/!.*/"]=/
   16794 p
   16795 g
   16796 s/^[^!]*!//
   16797 :repl
   16798 t repl
   16799 s/'"$ac_delim"'$//
   16800 t delim
   16801 :nl
   16802 h
   16803 s/\(.\{148\}\)..*/\1/
   16804 t more1
   16805 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   16806 p
   16807 n
   16808 b repl
   16809 :more1
   16810 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16811 p
   16812 g
   16813 s/.\{148\}//
   16814 t nl
   16815 :delim
   16816 h
   16817 s/\(.\{148\}\)..*/\1/
   16818 t more2
   16819 s/["\\]/\\&/g; s/^/"/; s/$/"/
   16820 p
   16821 b
   16822 :more2
   16823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   16824 p
   16825 g
   16826 s/.\{148\}//
   16827 t delim
   16828 ' <conf$$subs.awk | sed '
   16829 /^[^""]/{
   16830   N
   16831   s/\n//
   16832 }
   16833 ' >>$CONFIG_STATUS || ac_write_fail=1
   16834 rm -f conf$$subs.awk
   16835 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16836 _ACAWK
   16837 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   16838   for (key in S) S_is_set[key] = 1
   16839   FS = ""
   16840 
   16841 }
   16842 {
   16843   line = $ 0
   16844   nfields = split(line, field, "@")
   16845   substed = 0
   16846   len = length(field[1])
   16847   for (i = 2; i < nfields; i++) {
   16848     key = field[i]
   16849     keylen = length(key)
   16850     if (S_is_set[key]) {
   16851       value = S[key]
   16852       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   16853       len += length(value) + length(field[++i])
   16854       substed = 1
   16855     } else
   16856       len += 1 + keylen
   16857   }
   16858 
   16859   print line
   16860 }
   16861 
   16862 _ACAWK
   16863 _ACEOF
   16864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16865 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   16866   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   16867 else
   16868   cat
   16869 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   16870   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   16871 _ACEOF
   16872 
   16873 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   16874 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   16875 # trailing colons and then remove the whole line if VPATH becomes empty
   16876 # (actually we leave an empty line to preserve line numbers).
   16877 if test "x$srcdir" = x.; then
   16878   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   16879 h
   16880 s///
   16881 s/^/:/
   16882 s/[	 ]*$/:/
   16883 s/:\$(srcdir):/:/g
   16884 s/:\${srcdir}:/:/g
   16885 s/:@srcdir@:/:/g
   16886 s/^:*//
   16887 s/:*$//
   16888 x
   16889 s/\(=[	 ]*\).*/\1/
   16890 G
   16891 s/\n//
   16892 s/^[^=]*=[	 ]*$//
   16893 }'
   16894 fi
   16895 
   16896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   16897 fi # test -n "$CONFIG_FILES"
   16898 
   16899 # Set up the scripts for CONFIG_HEADERS section.
   16900 # No need to generate them if there are no CONFIG_HEADERS.
   16901 # This happens for instance with `./config.status Makefile'.
   16902 if test -n "$CONFIG_HEADERS"; then
   16903 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   16904 BEGIN {
   16905 _ACEOF
   16906 
   16907 # Transform confdefs.h into an awk script `defines.awk', embedded as
   16908 # here-document in config.status, that substitutes the proper values into
   16909 # config.h.in to produce config.h.
   16910 
   16911 # Create a delimiter string that does not exist in confdefs.h, to ease
   16912 # handling of long lines.
   16913 ac_delim='%!_!# '
   16914 for ac_last_try in false false :; do
   16915   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   16916   if test -z "$ac_tt"; then
   16917     break
   16918   elif $ac_last_try; then
   16919     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   16920   else
   16921     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   16922   fi
   16923 done
   16924 
   16925 # For the awk script, D is an array of macro values keyed by name,
   16926 # likewise P contains macro parameters if any.  Preserve backslash
   16927 # newline sequences.
   16928 
   16929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   16930 sed -n '
   16931 s/.\{148\}/&'"$ac_delim"'/g
   16932 t rset
   16933 :rset
   16934 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   16935 t def
   16936 d
   16937 :def
   16938 s/\\$//
   16939 t bsnl
   16940 s/["\\]/\\&/g
   16941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16942 D["\1"]=" \3"/p
   16943 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   16944 d
   16945 :bsnl
   16946 s/["\\]/\\&/g
   16947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   16948 D["\1"]=" \3\\\\\\n"\\/p
   16949 t cont
   16950 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   16951 t cont
   16952 d
   16953 :cont
   16954 n
   16955 s/.\{148\}/&'"$ac_delim"'/g
   16956 t clear
   16957 :clear
   16958 s/\\$//
   16959 t bsnlc
   16960 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   16961 d
   16962 :bsnlc
   16963 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   16964 b cont
   16965 ' <confdefs.h | sed '
   16966 s/'"$ac_delim"'/"\\\
   16967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   16968 
   16969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   16970   for (key in D) D_is_set[key] = 1
   16971   FS = ""
   16972 }
   16973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   16974   line = \$ 0
   16975   split(line, arg, " ")
   16976   if (arg[1] == "#") {
   16977     defundef = arg[2]
   16978     mac1 = arg[3]
   16979   } else {
   16980     defundef = substr(arg[1], 2)
   16981     mac1 = arg[2]
   16982   }
   16983   split(mac1, mac2, "(") #)
   16984   macro = mac2[1]
   16985   prefix = substr(line, 1, index(line, defundef) - 1)
   16986   if (D_is_set[macro]) {
   16987     # Preserve the white space surrounding the "#".
   16988     print prefix "define", macro P[macro] D[macro]
   16989     next
   16990   } else {
   16991     # Replace #undef with comments.  This is necessary, for example,
   16992     # in the case of _POSIX_SOURCE, which is predefined and required
   16993     # on some systems where configure will not decide to define it.
   16994     if (defundef == "undef") {
   16995       print "/*", prefix defundef, macro, "*/"
   16996       next
   16997     }
   16998   }
   16999 }
   17000 { print }
   17001 _ACAWK
   17002 _ACEOF
   17003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17004   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   17005 fi # test -n "$CONFIG_HEADERS"
   17006 
   17007 
   17008 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   17009 shift
   17010 for ac_tag
   17011 do
   17012   case $ac_tag in
   17013   :[FHLC]) ac_mode=$ac_tag; continue;;
   17014   esac
   17015   case $ac_mode$ac_tag in
   17016   :[FHL]*:*);;
   17017   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   17018   :[FH]-) ac_tag=-:-;;
   17019   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   17020   esac
   17021   ac_save_IFS=$IFS
   17022   IFS=:
   17023   set x $ac_tag
   17024   IFS=$ac_save_IFS
   17025   shift
   17026   ac_file=$1
   17027   shift
   17028 
   17029   case $ac_mode in
   17030   :L) ac_source=$1;;
   17031   :[FH])
   17032     ac_file_inputs=
   17033     for ac_f
   17034     do
   17035       case $ac_f in
   17036       -) ac_f="$ac_tmp/stdin";;
   17037       *) # Look for the file first in the build tree, then in the source tree
   17038 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   17039 	 # because $ac_f cannot contain `:'.
   17040 	 test -f "$ac_f" ||
   17041 	   case $ac_f in
   17042 	   [\\/$]*) false;;
   17043 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   17044 	   esac ||
   17045 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   17046       esac
   17047       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   17048       as_fn_append ac_file_inputs " '$ac_f'"
   17049     done
   17050 
   17051     # Let's still pretend it is `configure' which instantiates (i.e., don't
   17052     # use $as_me), people would be surprised to read:
   17053     #    /* config.h.  Generated by config.status.  */
   17054     configure_input='Generated from '`
   17055 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   17056 	`' by configure.'
   17057     if test x"$ac_file" != x-; then
   17058       configure_input="$ac_file.  $configure_input"
   17059       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   17060 $as_echo "$as_me: creating $ac_file" >&6;}
   17061     fi
   17062     # Neutralize special characters interpreted by sed in replacement strings.
   17063     case $configure_input in #(
   17064     *\&* | *\|* | *\\* )
   17065        ac_sed_conf_input=`$as_echo "$configure_input" |
   17066        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   17067     *) ac_sed_conf_input=$configure_input;;
   17068     esac
   17069 
   17070     case $ac_tag in
   17071     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   17072       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   17073     esac
   17074     ;;
   17075   esac
   17076 
   17077   ac_dir=`$as_dirname -- "$ac_file" ||
   17078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17079 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17080 	 X"$ac_file" : 'X\(//\)$' \| \
   17081 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   17082 $as_echo X"$ac_file" |
   17083     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17084 	    s//\1/
   17085 	    q
   17086 	  }
   17087 	  /^X\(\/\/\)[^/].*/{
   17088 	    s//\1/
   17089 	    q
   17090 	  }
   17091 	  /^X\(\/\/\)$/{
   17092 	    s//\1/
   17093 	    q
   17094 	  }
   17095 	  /^X\(\/\).*/{
   17096 	    s//\1/
   17097 	    q
   17098 	  }
   17099 	  s/.*/./; q'`
   17100   as_dir="$ac_dir"; as_fn_mkdir_p
   17101   ac_builddir=.
   17102 
   17103 case "$ac_dir" in
   17104 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17105 *)
   17106   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   17107   # A ".." for each directory in $ac_dir_suffix.
   17108   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   17109   case $ac_top_builddir_sub in
   17110   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   17111   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   17112   esac ;;
   17113 esac
   17114 ac_abs_top_builddir=$ac_pwd
   17115 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   17116 # for backward compatibility:
   17117 ac_top_builddir=$ac_top_build_prefix
   17118 
   17119 case $srcdir in
   17120   .)  # We are building in place.
   17121     ac_srcdir=.
   17122     ac_top_srcdir=$ac_top_builddir_sub
   17123     ac_abs_top_srcdir=$ac_pwd ;;
   17124   [\\/]* | ?:[\\/]* )  # Absolute name.
   17125     ac_srcdir=$srcdir$ac_dir_suffix;
   17126     ac_top_srcdir=$srcdir
   17127     ac_abs_top_srcdir=$srcdir ;;
   17128   *) # Relative name.
   17129     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   17130     ac_top_srcdir=$ac_top_build_prefix$srcdir
   17131     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   17132 esac
   17133 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   17134 
   17135 
   17136   case $ac_mode in
   17137   :F)
   17138   #
   17139   # CONFIG_FILE
   17140   #
   17141 
   17142   case $INSTALL in
   17143   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   17144   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   17145   esac
   17146   ac_MKDIR_P=$MKDIR_P
   17147   case $MKDIR_P in
   17148   [\\/$]* | ?:[\\/]* ) ;;
   17149   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   17150   esac
   17151 _ACEOF
   17152 
   17153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17154 # If the template does not know about datarootdir, expand it.
   17155 # FIXME: This hack should be removed a few years after 2.60.
   17156 ac_datarootdir_hack=; ac_datarootdir_seen=
   17157 ac_sed_dataroot='
   17158 /datarootdir/ {
   17159   p
   17160   q
   17161 }
   17162 /@datadir@/p
   17163 /@docdir@/p
   17164 /@infodir@/p
   17165 /@localedir@/p
   17166 /@mandir@/p'
   17167 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   17168 *datarootdir*) ac_datarootdir_seen=yes;;
   17169 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   17170   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   17171 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   17172 _ACEOF
   17173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17174   ac_datarootdir_hack='
   17175   s&@datadir@&$datadir&g
   17176   s&@docdir@&$docdir&g
   17177   s&@infodir@&$infodir&g
   17178   s&@localedir@&$localedir&g
   17179   s&@mandir@&$mandir&g
   17180   s&\\\${datarootdir}&$datarootdir&g' ;;
   17181 esac
   17182 _ACEOF
   17183 
   17184 # Neutralize VPATH when `$srcdir' = `.'.
   17185 # Shell code in configure.ac might set extrasub.
   17186 # FIXME: do we really want to maintain this feature?
   17187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17188 ac_sed_extra="$ac_vpsub
   17189 $extrasub
   17190 _ACEOF
   17191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17192 :t
   17193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17194 s|@configure_input@|$ac_sed_conf_input|;t t
   17195 s&@top_builddir@&$ac_top_builddir_sub&;t t
   17196 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   17197 s&@srcdir@&$ac_srcdir&;t t
   17198 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   17199 s&@top_srcdir@&$ac_top_srcdir&;t t
   17200 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   17201 s&@builddir@&$ac_builddir&;t t
   17202 s&@abs_builddir@&$ac_abs_builddir&;t t
   17203 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   17204 s&@INSTALL@&$ac_INSTALL&;t t
   17205 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   17206 $ac_datarootdir_hack
   17207 "
   17208 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   17209   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17210 
   17211 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   17212   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   17213   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   17214       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   17215   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17216 which seems to be undefined.  Please make sure it is defined" >&5
   17217 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   17218 which seems to be undefined.  Please make sure it is defined" >&2;}
   17219 
   17220   rm -f "$ac_tmp/stdin"
   17221   case $ac_file in
   17222   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   17223   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   17224   esac \
   17225   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17226  ;;
   17227   :H)
   17228   #
   17229   # CONFIG_HEADER
   17230   #
   17231   if test x"$ac_file" != x-; then
   17232     {
   17233       $as_echo "/* $configure_input  */" \
   17234       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   17235     } >"$ac_tmp/config.h" \
   17236       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17237     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   17238       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   17239 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   17240     else
   17241       rm -f "$ac_file"
   17242       mv "$ac_tmp/config.h" "$ac_file" \
   17243 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   17244     fi
   17245   else
   17246     $as_echo "/* $configure_input  */" \
   17247       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   17248       || as_fn_error $? "could not create -" "$LINENO" 5
   17249   fi
   17250 # Compute "$ac_file"'s index in $config_headers.
   17251 _am_arg="$ac_file"
   17252 _am_stamp_count=1
   17253 for _am_header in $config_headers :; do
   17254   case $_am_header in
   17255     $_am_arg | $_am_arg:* )
   17256       break ;;
   17257     * )
   17258       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17259   esac
   17260 done
   17261 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   17262 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17263 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   17264 	 X"$_am_arg" : 'X\(//\)$' \| \
   17265 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   17266 $as_echo X"$_am_arg" |
   17267     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17268 	    s//\1/
   17269 	    q
   17270 	  }
   17271 	  /^X\(\/\/\)[^/].*/{
   17272 	    s//\1/
   17273 	    q
   17274 	  }
   17275 	  /^X\(\/\/\)$/{
   17276 	    s//\1/
   17277 	    q
   17278 	  }
   17279 	  /^X\(\/\).*/{
   17280 	    s//\1/
   17281 	    q
   17282 	  }
   17283 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17284  ;;
   17285 
   17286   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   17287 $as_echo "$as_me: executing $ac_file commands" >&6;}
   17288  ;;
   17289   esac
   17290 
   17291 
   17292   case $ac_file$ac_mode in
   17293     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   17294   # Older Autoconf quotes --file arguments for eval, but not when files
   17295   # are listed without --file.  Let's play safe and only enable the eval
   17296   # if we detect the quoting.
   17297   case $CONFIG_FILES in
   17298   *\'*) eval set x "$CONFIG_FILES" ;;
   17299   *)   set x $CONFIG_FILES ;;
   17300   esac
   17301   shift
   17302   for mf
   17303   do
   17304     # Strip MF so we end up with the name of the file.
   17305     mf=`echo "$mf" | sed -e 's/:.*$//'`
   17306     # Check whether this is an Automake generated Makefile or not.
   17307     # We used to match only the files named 'Makefile.in', but
   17308     # some people rename them; so instead we look at the file content.
   17309     # Grep'ing the first line is not enough: some people post-process
   17310     # each Makefile.in and add a new line on top of each file to say so.
   17311     # Grep'ing the whole file is not good either: AIX grep has a line
   17312     # limit of 2048, but all sed's we know have understand at least 4000.
   17313     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   17314       dirpart=`$as_dirname -- "$mf" ||
   17315 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17316 	 X"$mf" : 'X\(//\)[^/]' \| \
   17317 	 X"$mf" : 'X\(//\)$' \| \
   17318 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   17319 $as_echo X"$mf" |
   17320     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17321 	    s//\1/
   17322 	    q
   17323 	  }
   17324 	  /^X\(\/\/\)[^/].*/{
   17325 	    s//\1/
   17326 	    q
   17327 	  }
   17328 	  /^X\(\/\/\)$/{
   17329 	    s//\1/
   17330 	    q
   17331 	  }
   17332 	  /^X\(\/\).*/{
   17333 	    s//\1/
   17334 	    q
   17335 	  }
   17336 	  s/.*/./; q'`
   17337     else
   17338       continue
   17339     fi
   17340     # Extract the definition of DEPDIR, am__include, and am__quote
   17341     # from the Makefile without running 'make'.
   17342     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   17343     test -z "$DEPDIR" && continue
   17344     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   17345     test -z "$am__include" && continue
   17346     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   17347     # Find all dependency output files, they are included files with
   17348     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   17349     # simplest approach to changing $(DEPDIR) to its actual value in the
   17350     # expansion.
   17351     for file in `sed -n "
   17352       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   17353 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   17354       # Make sure the directory exists.
   17355       test -f "$dirpart/$file" && continue
   17356       fdir=`$as_dirname -- "$file" ||
   17357 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17358 	 X"$file" : 'X\(//\)[^/]' \| \
   17359 	 X"$file" : 'X\(//\)$' \| \
   17360 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   17361 $as_echo X"$file" |
   17362     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17363 	    s//\1/
   17364 	    q
   17365 	  }
   17366 	  /^X\(\/\/\)[^/].*/{
   17367 	    s//\1/
   17368 	    q
   17369 	  }
   17370 	  /^X\(\/\/\)$/{
   17371 	    s//\1/
   17372 	    q
   17373 	  }
   17374 	  /^X\(\/\).*/{
   17375 	    s//\1/
   17376 	    q
   17377 	  }
   17378 	  s/.*/./; q'`
   17379       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   17380       # echo "creating $dirpart/$file"
   17381       echo '# dummy' > "$dirpart/$file"
   17382     done
   17383   done
   17384 }
   17385  ;;
   17386     "libtool":C)
   17387 
   17388     # See if we are running on zsh, and set the options which allow our
   17389     # commands through without removal of \ escapes.
   17390     if test -n "${ZSH_VERSION+set}" ; then
   17391       setopt NO_GLOB_SUBST
   17392     fi
   17393 
   17394     cfgfile="${ofile}T"
   17395     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   17396     $RM "$cfgfile"
   17397 
   17398     cat <<_LT_EOF >> "$cfgfile"
   17399 #! $SHELL
   17400 
   17401 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   17402 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   17403 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   17404 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   17405 #
   17406 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   17407 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   17408 #   Written by Gordon Matzigkeit, 1996
   17409 #
   17410 #   This file is part of GNU Libtool.
   17411 #
   17412 # GNU Libtool is free software; you can redistribute it and/or
   17413 # modify it under the terms of the GNU General Public License as
   17414 # published by the Free Software Foundation; either version 2 of
   17415 # the License, or (at your option) any later version.
   17416 #
   17417 # As a special exception to the GNU General Public License,
   17418 # if you distribute this file as part of a program or library that
   17419 # is built using GNU Libtool, you may include this file under the
   17420 # same distribution terms that you use for the rest of that program.
   17421 #
   17422 # GNU Libtool is distributed in the hope that it will be useful,
   17423 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   17424 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   17425 # GNU General Public License for more details.
   17426 #
   17427 # You should have received a copy of the GNU General Public License
   17428 # along with GNU Libtool; see the file COPYING.  If not, a copy
   17429 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   17430 # obtained by writing to the Free Software Foundation, Inc.,
   17431 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   17432 
   17433 
   17434 # The names of the tagged configurations supported by this script.
   17435 available_tags="CXX "
   17436 
   17437 # ### BEGIN LIBTOOL CONFIG
   17438 
   17439 # Which release of libtool.m4 was used?
   17440 macro_version=$macro_version
   17441 macro_revision=$macro_revision
   17442 
   17443 # Whether or not to build shared libraries.
   17444 build_libtool_libs=$enable_shared
   17445 
   17446 # Whether or not to build static libraries.
   17447 build_old_libs=$enable_static
   17448 
   17449 # What type of objects to build.
   17450 pic_mode=$pic_mode
   17451 
   17452 # Whether or not to optimize for fast installation.
   17453 fast_install=$enable_fast_install
   17454 
   17455 # Shell to use when invoking shell scripts.
   17456 SHELL=$lt_SHELL
   17457 
   17458 # An echo program that protects backslashes.
   17459 ECHO=$lt_ECHO
   17460 
   17461 # The host system.
   17462 host_alias=$host_alias
   17463 host=$host
   17464 host_os=$host_os
   17465 
   17466 # The build system.
   17467 build_alias=$build_alias
   17468 build=$build
   17469 build_os=$build_os
   17470 
   17471 # A sed program that does not truncate output.
   17472 SED=$lt_SED
   17473 
   17474 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   17475 Xsed="\$SED -e 1s/^X//"
   17476 
   17477 # A grep program that handles long lines.
   17478 GREP=$lt_GREP
   17479 
   17480 # An ERE matcher.
   17481 EGREP=$lt_EGREP
   17482 
   17483 # A literal string matcher.
   17484 FGREP=$lt_FGREP
   17485 
   17486 # A BSD- or MS-compatible name lister.
   17487 NM=$lt_NM
   17488 
   17489 # Whether we need soft or hard links.
   17490 LN_S=$lt_LN_S
   17491 
   17492 # What is the maximum length of a command?
   17493 max_cmd_len=$max_cmd_len
   17494 
   17495 # Object file suffix (normally "o").
   17496 objext=$ac_objext
   17497 
   17498 # Executable file suffix (normally "").
   17499 exeext=$exeext
   17500 
   17501 # whether the shell understands "unset".
   17502 lt_unset=$lt_unset
   17503 
   17504 # turn spaces into newlines.
   17505 SP2NL=$lt_lt_SP2NL
   17506 
   17507 # turn newlines into spaces.
   17508 NL2SP=$lt_lt_NL2SP
   17509 
   17510 # An object symbol dumper.
   17511 OBJDUMP=$lt_OBJDUMP
   17512 
   17513 # Method to check whether dependent libraries are shared objects.
   17514 deplibs_check_method=$lt_deplibs_check_method
   17515 
   17516 # Command to use when deplibs_check_method == "file_magic".
   17517 file_magic_cmd=$lt_file_magic_cmd
   17518 
   17519 # The archiver.
   17520 AR=$lt_AR
   17521 AR_FLAGS=$lt_AR_FLAGS
   17522 
   17523 # A symbol stripping program.
   17524 STRIP=$lt_STRIP
   17525 
   17526 # Commands used to install an old-style archive.
   17527 RANLIB=$lt_RANLIB
   17528 old_postinstall_cmds=$lt_old_postinstall_cmds
   17529 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   17530 
   17531 # Whether to use a lock for old archive extraction.
   17532 lock_old_archive_extraction=$lock_old_archive_extraction
   17533 
   17534 # A C compiler.
   17535 LTCC=$lt_CC
   17536 
   17537 # LTCC compiler flags.
   17538 LTCFLAGS=$lt_CFLAGS
   17539 
   17540 # Take the output of nm and produce a listing of raw symbols and C names.
   17541 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   17542 
   17543 # Transform the output of nm in a proper C declaration.
   17544 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   17545 
   17546 # Transform the output of nm in a C name address pair.
   17547 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   17548 
   17549 # Transform the output of nm in a C name address pair when lib prefix is needed.
   17550 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   17551 
   17552 # The name of the directory that contains temporary libtool files.
   17553 objdir=$objdir
   17554 
   17555 # Used to examine libraries when file_magic_cmd begins with "file".
   17556 MAGIC_CMD=$MAGIC_CMD
   17557 
   17558 # Must we lock files when doing compilation?
   17559 need_locks=$lt_need_locks
   17560 
   17561 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   17562 DSYMUTIL=$lt_DSYMUTIL
   17563 
   17564 # Tool to change global to local symbols on Mac OS X.
   17565 NMEDIT=$lt_NMEDIT
   17566 
   17567 # Tool to manipulate fat objects and archives on Mac OS X.
   17568 LIPO=$lt_LIPO
   17569 
   17570 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   17571 OTOOL=$lt_OTOOL
   17572 
   17573 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   17574 OTOOL64=$lt_OTOOL64
   17575 
   17576 # Old archive suffix (normally "a").
   17577 libext=$libext
   17578 
   17579 # Shared library suffix (normally ".so").
   17580 shrext_cmds=$lt_shrext_cmds
   17581 
   17582 # The commands to extract the exported symbol list from a shared archive.
   17583 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   17584 
   17585 # Variables whose values should be saved in libtool wrapper scripts and
   17586 # restored at link time.
   17587 variables_saved_for_relink=$lt_variables_saved_for_relink
   17588 
   17589 # Do we need the "lib" prefix for modules?
   17590 need_lib_prefix=$need_lib_prefix
   17591 
   17592 # Do we need a version for libraries?
   17593 need_version=$need_version
   17594 
   17595 # Library versioning type.
   17596 version_type=$version_type
   17597 
   17598 # Shared library runtime path variable.
   17599 runpath_var=$runpath_var
   17600 
   17601 # Shared library path variable.
   17602 shlibpath_var=$shlibpath_var
   17603 
   17604 # Is shlibpath searched before the hard-coded library search path?
   17605 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   17606 
   17607 # Format of library name prefix.
   17608 libname_spec=$lt_libname_spec
   17609 
   17610 # List of archive names.  First name is the real one, the rest are links.
   17611 # The last name is the one that the linker finds with -lNAME
   17612 library_names_spec=$lt_library_names_spec
   17613 
   17614 # The coded name of the library, if different from the real name.
   17615 soname_spec=$lt_soname_spec
   17616 
   17617 # Permission mode override for installation of shared libraries.
   17618 install_override_mode=$lt_install_override_mode
   17619 
   17620 # Command to use after installation of a shared archive.
   17621 postinstall_cmds=$lt_postinstall_cmds
   17622 
   17623 # Command to use after uninstallation of a shared archive.
   17624 postuninstall_cmds=$lt_postuninstall_cmds
   17625 
   17626 # Commands used to finish a libtool library installation in a directory.
   17627 finish_cmds=$lt_finish_cmds
   17628 
   17629 # As "finish_cmds", except a single script fragment to be evaled but
   17630 # not shown.
   17631 finish_eval=$lt_finish_eval
   17632 
   17633 # Whether we should hardcode library paths into libraries.
   17634 hardcode_into_libs=$hardcode_into_libs
   17635 
   17636 # Compile-time system search path for libraries.
   17637 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   17638 
   17639 # Run-time system search path for libraries.
   17640 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   17641 
   17642 # Whether dlopen is supported.
   17643 dlopen_support=$enable_dlopen
   17644 
   17645 # Whether dlopen of programs is supported.
   17646 dlopen_self=$enable_dlopen_self
   17647 
   17648 # Whether dlopen of statically linked programs is supported.
   17649 dlopen_self_static=$enable_dlopen_self_static
   17650 
   17651 # Commands to strip libraries.
   17652 old_striplib=$lt_old_striplib
   17653 striplib=$lt_striplib
   17654 
   17655 
   17656 # The linker used to build libraries.
   17657 LD=$lt_LD
   17658 
   17659 # How to create reloadable object files.
   17660 reload_flag=$lt_reload_flag
   17661 reload_cmds=$lt_reload_cmds
   17662 
   17663 # Commands used to build an old-style archive.
   17664 old_archive_cmds=$lt_old_archive_cmds
   17665 
   17666 # A language specific compiler.
   17667 CC=$lt_compiler
   17668 
   17669 # Is the compiler the GNU compiler?
   17670 with_gcc=$GCC
   17671 
   17672 # Compiler flag to turn off builtin functions.
   17673 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   17674 
   17675 # How to pass a linker flag through the compiler.
   17676 wl=$lt_lt_prog_compiler_wl
   17677 
   17678 # Additional compiler flags for building library objects.
   17679 pic_flag=$lt_lt_prog_compiler_pic
   17680 
   17681 # Compiler flag to prevent dynamic linking.
   17682 link_static_flag=$lt_lt_prog_compiler_static
   17683 
   17684 # Does compiler simultaneously support -c and -o options?
   17685 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   17686 
   17687 # Whether or not to add -lc for building shared libraries.
   17688 build_libtool_need_lc=$archive_cmds_need_lc
   17689 
   17690 # Whether or not to disallow shared libs when runtime libs are static.
   17691 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   17692 
   17693 # Compiler flag to allow reflexive dlopens.
   17694 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   17695 
   17696 # Compiler flag to generate shared objects directly from archives.
   17697 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   17698 
   17699 # Whether the compiler copes with passing no objects directly.
   17700 compiler_needs_object=$lt_compiler_needs_object
   17701 
   17702 # Create an old-style archive from a shared archive.
   17703 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   17704 
   17705 # Create a temporary old-style archive to link instead of a shared archive.
   17706 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   17707 
   17708 # Commands used to build a shared archive.
   17709 archive_cmds=$lt_archive_cmds
   17710 archive_expsym_cmds=$lt_archive_expsym_cmds
   17711 
   17712 # Commands used to build a loadable module if different from building
   17713 # a shared archive.
   17714 module_cmds=$lt_module_cmds
   17715 module_expsym_cmds=$lt_module_expsym_cmds
   17716 
   17717 # Whether we are building with GNU ld or not.
   17718 with_gnu_ld=$lt_with_gnu_ld
   17719 
   17720 # Flag that allows shared libraries with undefined symbols to be built.
   17721 allow_undefined_flag=$lt_allow_undefined_flag
   17722 
   17723 # Flag that enforces no undefined symbols.
   17724 no_undefined_flag=$lt_no_undefined_flag
   17725 
   17726 # Flag to hardcode \$libdir into a binary during linking.
   17727 # This must work even if \$libdir does not exist
   17728 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   17729 
   17730 # If ld is used when linking, flag to hardcode \$libdir into a binary
   17731 # during linking.  This must work even if \$libdir does not exist.
   17732 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   17733 
   17734 # Whether we need a single "-rpath" flag with a separated argument.
   17735 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   17736 
   17737 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17738 # DIR into the resulting binary.
   17739 hardcode_direct=$hardcode_direct
   17740 
   17741 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   17742 # DIR into the resulting binary and the resulting library dependency is
   17743 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   17744 # library is relocated.
   17745 hardcode_direct_absolute=$hardcode_direct_absolute
   17746 
   17747 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   17748 # into the resulting binary.
   17749 hardcode_minus_L=$hardcode_minus_L
   17750 
   17751 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   17752 # into the resulting binary.
   17753 hardcode_shlibpath_var=$hardcode_shlibpath_var
   17754 
   17755 # Set to "yes" if building a shared library automatically hardcodes DIR
   17756 # into the library and all subsequent libraries and executables linked
   17757 # against it.
   17758 hardcode_automatic=$hardcode_automatic
   17759 
   17760 # Set to yes if linker adds runtime paths of dependent libraries
   17761 # to runtime path list.
   17762 inherit_rpath=$inherit_rpath
   17763 
   17764 # Whether libtool must link a program against all its dependency libraries.
   17765 link_all_deplibs=$link_all_deplibs
   17766 
   17767 # Fix the shell variable \$srcfile for the compiler.
   17768 fix_srcfile_path=$lt_fix_srcfile_path
   17769 
   17770 # Set to "yes" if exported symbols are required.
   17771 always_export_symbols=$always_export_symbols
   17772 
   17773 # The commands to list exported symbols.
   17774 export_symbols_cmds=$lt_export_symbols_cmds
   17775 
   17776 # Symbols that should not be listed in the preloaded symbols.
   17777 exclude_expsyms=$lt_exclude_expsyms
   17778 
   17779 # Symbols that must always be exported.
   17780 include_expsyms=$lt_include_expsyms
   17781 
   17782 # Commands necessary for linking programs (against libraries) with templates.
   17783 prelink_cmds=$lt_prelink_cmds
   17784 
   17785 # Specify filename containing input files.
   17786 file_list_spec=$lt_file_list_spec
   17787 
   17788 # How to hardcode a shared library path into an executable.
   17789 hardcode_action=$hardcode_action
   17790 
   17791 # The directories searched by this compiler when creating a shared library.
   17792 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   17793 
   17794 # Dependencies to place before and after the objects being linked to
   17795 # create a shared library.
   17796 predep_objects=$lt_predep_objects
   17797 postdep_objects=$lt_postdep_objects
   17798 predeps=$lt_predeps
   17799 postdeps=$lt_postdeps
   17800 
   17801 # The library search path used internally by the compiler when linking
   17802 # a shared library.
   17803 compiler_lib_search_path=$lt_compiler_lib_search_path
   17804 
   17805 # ### END LIBTOOL CONFIG
   17806 
   17807 _LT_EOF
   17808 
   17809   case $host_os in
   17810   aix3*)
   17811     cat <<\_LT_EOF >> "$cfgfile"
   17812 # AIX sometimes has problems with the GCC collect2 program.  For some
   17813 # reason, if we set the COLLECT_NAMES environment variable, the problems
   17814 # vanish in a puff of smoke.
   17815 if test "X${COLLECT_NAMES+set}" != Xset; then
   17816   COLLECT_NAMES=
   17817   export COLLECT_NAMES
   17818 fi
   17819 _LT_EOF
   17820     ;;
   17821   esac
   17822 
   17823 
   17824 ltmain="$ac_aux_dir/ltmain.sh"
   17825 
   17826 
   17827   # We use sed instead of cat because bash on DJGPP gets confused if
   17828   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   17829   # text mode, it properly converts lines to CR/LF.  This bash problem
   17830   # is reportedly fixed, but why not run on old versions too?
   17831   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   17832     || (rm -f "$cfgfile"; exit 1)
   17833 
   17834   case $xsi_shell in
   17835   yes)
   17836     cat << \_LT_EOF >> "$cfgfile"
   17837 
   17838 # func_dirname file append nondir_replacement
   17839 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17840 # otherwise set result to NONDIR_REPLACEMENT.
   17841 func_dirname ()
   17842 {
   17843   case ${1} in
   17844     */*) func_dirname_result="${1%/*}${2}" ;;
   17845     *  ) func_dirname_result="${3}" ;;
   17846   esac
   17847 }
   17848 
   17849 # func_basename file
   17850 func_basename ()
   17851 {
   17852   func_basename_result="${1##*/}"
   17853 }
   17854 
   17855 # func_dirname_and_basename file append nondir_replacement
   17856 # perform func_basename and func_dirname in a single function
   17857 # call:
   17858 #   dirname:  Compute the dirname of FILE.  If nonempty,
   17859 #             add APPEND to the result, otherwise set result
   17860 #             to NONDIR_REPLACEMENT.
   17861 #             value returned in "$func_dirname_result"
   17862 #   basename: Compute filename of FILE.
   17863 #             value retuned in "$func_basename_result"
   17864 # Implementation must be kept synchronized with func_dirname
   17865 # and func_basename. For efficiency, we do not delegate to
   17866 # those functions but instead duplicate the functionality here.
   17867 func_dirname_and_basename ()
   17868 {
   17869   case ${1} in
   17870     */*) func_dirname_result="${1%/*}${2}" ;;
   17871     *  ) func_dirname_result="${3}" ;;
   17872   esac
   17873   func_basename_result="${1##*/}"
   17874 }
   17875 
   17876 # func_stripname prefix suffix name
   17877 # strip PREFIX and SUFFIX off of NAME.
   17878 # PREFIX and SUFFIX must not contain globbing or regex special
   17879 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17880 # dot (in which case that matches only a dot).
   17881 func_stripname ()
   17882 {
   17883   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   17884   # positional parameters, so assign one to ordinary parameter first.
   17885   func_stripname_result=${3}
   17886   func_stripname_result=${func_stripname_result#"${1}"}
   17887   func_stripname_result=${func_stripname_result%"${2}"}
   17888 }
   17889 
   17890 # func_opt_split
   17891 func_opt_split ()
   17892 {
   17893   func_opt_split_opt=${1%%=*}
   17894   func_opt_split_arg=${1#*=}
   17895 }
   17896 
   17897 # func_lo2o object
   17898 func_lo2o ()
   17899 {
   17900   case ${1} in
   17901     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   17902     *)    func_lo2o_result=${1} ;;
   17903   esac
   17904 }
   17905 
   17906 # func_xform libobj-or-source
   17907 func_xform ()
   17908 {
   17909   func_xform_result=${1%.*}.lo
   17910 }
   17911 
   17912 # func_arith arithmetic-term...
   17913 func_arith ()
   17914 {
   17915   func_arith_result=$(( $* ))
   17916 }
   17917 
   17918 # func_len string
   17919 # STRING may not start with a hyphen.
   17920 func_len ()
   17921 {
   17922   func_len_result=${#1}
   17923 }
   17924 
   17925 _LT_EOF
   17926     ;;
   17927   *) # Bourne compatible functions.
   17928     cat << \_LT_EOF >> "$cfgfile"
   17929 
   17930 # func_dirname file append nondir_replacement
   17931 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   17932 # otherwise set result to NONDIR_REPLACEMENT.
   17933 func_dirname ()
   17934 {
   17935   # Extract subdirectory from the argument.
   17936   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   17937   if test "X$func_dirname_result" = "X${1}"; then
   17938     func_dirname_result="${3}"
   17939   else
   17940     func_dirname_result="$func_dirname_result${2}"
   17941   fi
   17942 }
   17943 
   17944 # func_basename file
   17945 func_basename ()
   17946 {
   17947   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   17948 }
   17949 
   17950 
   17951 # func_stripname prefix suffix name
   17952 # strip PREFIX and SUFFIX off of NAME.
   17953 # PREFIX and SUFFIX must not contain globbing or regex special
   17954 # characters, hashes, percent signs, but SUFFIX may contain a leading
   17955 # dot (in which case that matches only a dot).
   17956 # func_strip_suffix prefix name
   17957 func_stripname ()
   17958 {
   17959   case ${2} in
   17960     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   17961     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   17962   esac
   17963 }
   17964 
   17965 # sed scripts:
   17966 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   17967 my_sed_long_arg='1s/^-[^=]*=//'
   17968 
   17969 # func_opt_split
   17970 func_opt_split ()
   17971 {
   17972   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   17973   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   17974 }
   17975 
   17976 # func_lo2o object
   17977 func_lo2o ()
   17978 {
   17979   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   17980 }
   17981 
   17982 # func_xform libobj-or-source
   17983 func_xform ()
   17984 {
   17985   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   17986 }
   17987 
   17988 # func_arith arithmetic-term...
   17989 func_arith ()
   17990 {
   17991   func_arith_result=`expr "$@"`
   17992 }
   17993 
   17994 # func_len string
   17995 # STRING may not start with a hyphen.
   17996 func_len ()
   17997 {
   17998   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   17999 }
   18000 
   18001 _LT_EOF
   18002 esac
   18003 
   18004 case $lt_shell_append in
   18005   yes)
   18006     cat << \_LT_EOF >> "$cfgfile"
   18007 
   18008 # func_append var value
   18009 # Append VALUE to the end of shell variable VAR.
   18010 func_append ()
   18011 {
   18012   eval "$1+=\$2"
   18013 }
   18014 _LT_EOF
   18015     ;;
   18016   *)
   18017     cat << \_LT_EOF >> "$cfgfile"
   18018 
   18019 # func_append var value
   18020 # Append VALUE to the end of shell variable VAR.
   18021 func_append ()
   18022 {
   18023   eval "$1=\$$1\$2"
   18024 }
   18025 
   18026 _LT_EOF
   18027     ;;
   18028   esac
   18029 
   18030 
   18031   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   18032     || (rm -f "$cfgfile"; exit 1)
   18033 
   18034   mv -f "$cfgfile" "$ofile" ||
   18035     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   18036   chmod +x "$ofile"
   18037 
   18038 
   18039     cat <<_LT_EOF >> "$ofile"
   18040 
   18041 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   18042 
   18043 # The linker used to build libraries.
   18044 LD=$lt_LD_CXX
   18045 
   18046 # How to create reloadable object files.
   18047 reload_flag=$lt_reload_flag_CXX
   18048 reload_cmds=$lt_reload_cmds_CXX
   18049 
   18050 # Commands used to build an old-style archive.
   18051 old_archive_cmds=$lt_old_archive_cmds_CXX
   18052 
   18053 # A language specific compiler.
   18054 CC=$lt_compiler_CXX
   18055 
   18056 # Is the compiler the GNU compiler?
   18057 with_gcc=$GCC_CXX
   18058 
   18059 # Compiler flag to turn off builtin functions.
   18060 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   18061 
   18062 # How to pass a linker flag through the compiler.
   18063 wl=$lt_lt_prog_compiler_wl_CXX
   18064 
   18065 # Additional compiler flags for building library objects.
   18066 pic_flag=$lt_lt_prog_compiler_pic_CXX
   18067 
   18068 # Compiler flag to prevent dynamic linking.
   18069 link_static_flag=$lt_lt_prog_compiler_static_CXX
   18070 
   18071 # Does compiler simultaneously support -c and -o options?
   18072 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   18073 
   18074 # Whether or not to add -lc for building shared libraries.
   18075 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   18076 
   18077 # Whether or not to disallow shared libs when runtime libs are static.
   18078 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   18079 
   18080 # Compiler flag to allow reflexive dlopens.
   18081 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   18082 
   18083 # Compiler flag to generate shared objects directly from archives.
   18084 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   18085 
   18086 # Whether the compiler copes with passing no objects directly.
   18087 compiler_needs_object=$lt_compiler_needs_object_CXX
   18088 
   18089 # Create an old-style archive from a shared archive.
   18090 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   18091 
   18092 # Create a temporary old-style archive to link instead of a shared archive.
   18093 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   18094 
   18095 # Commands used to build a shared archive.
   18096 archive_cmds=$lt_archive_cmds_CXX
   18097 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   18098 
   18099 # Commands used to build a loadable module if different from building
   18100 # a shared archive.
   18101 module_cmds=$lt_module_cmds_CXX
   18102 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   18103 
   18104 # Whether we are building with GNU ld or not.
   18105 with_gnu_ld=$lt_with_gnu_ld_CXX
   18106 
   18107 # Flag that allows shared libraries with undefined symbols to be built.
   18108 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   18109 
   18110 # Flag that enforces no undefined symbols.
   18111 no_undefined_flag=$lt_no_undefined_flag_CXX
   18112 
   18113 # Flag to hardcode \$libdir into a binary during linking.
   18114 # This must work even if \$libdir does not exist
   18115 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   18116 
   18117 # If ld is used when linking, flag to hardcode \$libdir into a binary
   18118 # during linking.  This must work even if \$libdir does not exist.
   18119 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   18120 
   18121 # Whether we need a single "-rpath" flag with a separated argument.
   18122 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   18123 
   18124 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18125 # DIR into the resulting binary.
   18126 hardcode_direct=$hardcode_direct_CXX
   18127 
   18128 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   18129 # DIR into the resulting binary and the resulting library dependency is
   18130 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   18131 # library is relocated.
   18132 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   18133 
   18134 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   18135 # into the resulting binary.
   18136 hardcode_minus_L=$hardcode_minus_L_CXX
   18137 
   18138 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   18139 # into the resulting binary.
   18140 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   18141 
   18142 # Set to "yes" if building a shared library automatically hardcodes DIR
   18143 # into the library and all subsequent libraries and executables linked
   18144 # against it.
   18145 hardcode_automatic=$hardcode_automatic_CXX
   18146 
   18147 # Set to yes if linker adds runtime paths of dependent libraries
   18148 # to runtime path list.
   18149 inherit_rpath=$inherit_rpath_CXX
   18150 
   18151 # Whether libtool must link a program against all its dependency libraries.
   18152 link_all_deplibs=$link_all_deplibs_CXX
   18153 
   18154 # Fix the shell variable \$srcfile for the compiler.
   18155 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   18156 
   18157 # Set to "yes" if exported symbols are required.
   18158 always_export_symbols=$always_export_symbols_CXX
   18159 
   18160 # The commands to list exported symbols.
   18161 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   18162 
   18163 # Symbols that should not be listed in the preloaded symbols.
   18164 exclude_expsyms=$lt_exclude_expsyms_CXX
   18165 
   18166 # Symbols that must always be exported.
   18167 include_expsyms=$lt_include_expsyms_CXX
   18168 
   18169 # Commands necessary for linking programs (against libraries) with templates.
   18170 prelink_cmds=$lt_prelink_cmds_CXX
   18171 
   18172 # Specify filename containing input files.
   18173 file_list_spec=$lt_file_list_spec_CXX
   18174 
   18175 # How to hardcode a shared library path into an executable.
   18176 hardcode_action=$hardcode_action_CXX
   18177 
   18178 # The directories searched by this compiler when creating a shared library.
   18179 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   18180 
   18181 # Dependencies to place before and after the objects being linked to
   18182 # create a shared library.
   18183 predep_objects=$lt_predep_objects_CXX
   18184 postdep_objects=$lt_postdep_objects_CXX
   18185 predeps=$lt_predeps_CXX
   18186 postdeps=$lt_postdeps_CXX
   18187 
   18188 # The library search path used internally by the compiler when linking
   18189 # a shared library.
   18190 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   18191 
   18192 # ### END LIBTOOL TAG CONFIG: CXX
   18193 _LT_EOF
   18194 
   18195  ;;
   18196 
   18197   esac
   18198 done # for ac_tag
   18199 
   18200 
   18201 as_fn_exit 0
   18202 _ACEOF
   18203 ac_clean_files=$ac_clean_files_save
   18204 
   18205 test $ac_write_fail = 0 ||
   18206   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   18207 
   18208 
   18209 # configure is writing to config.log, and then calls config.status.
   18210 # config.status does its own redirection, appending to config.log.
   18211 # Unfortunately, on DOS this fails, as config.log is still kept open
   18212 # by configure, so config.status won't be able to write to it; its
   18213 # output is simply discarded.  So we exec the FD to /dev/null,
   18214 # effectively closing config.log, so it can be properly (re)opened and
   18215 # appended to by config.status.  When coming back to configure, we
   18216 # need to make the FD available again.
   18217 if test "$no_create" != yes; then
   18218   ac_cs_success=:
   18219   ac_config_status_args=
   18220   test "$silent" = yes &&
   18221     ac_config_status_args="$ac_config_status_args --quiet"
   18222   exec 5>/dev/null
   18223   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   18224   exec 5>>config.log
   18225   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   18226   # would make configure fail if this is the last instruction.
   18227   $ac_cs_success || as_fn_exit 1
   18228 fi
   18229 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   18230   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   18231 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   18232 fi
   18233 
   18234 
   18235