Home | History | Annotate | Line # | Download | only in gprofng
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 # Factoring default headers for most tests.
    596 ac_includes_default="\
    597 #include <stdio.h>
    598 #ifdef HAVE_SYS_TYPES_H
    599 # include <sys/types.h>
    600 #endif
    601 #ifdef HAVE_SYS_STAT_H
    602 # include <sys/stat.h>
    603 #endif
    604 #ifdef STDC_HEADERS
    605 # include <stdlib.h>
    606 # include <stddef.h>
    607 #else
    608 # ifdef HAVE_STDLIB_H
    609 #  include <stdlib.h>
    610 # endif
    611 #endif
    612 #ifdef HAVE_STRING_H
    613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    614 #  include <memory.h>
    615 # endif
    616 # include <string.h>
    617 #endif
    618 #ifdef HAVE_STRINGS_H
    619 # include <strings.h>
    620 #endif
    621 #ifdef HAVE_INTTYPES_H
    622 # include <inttypes.h>
    623 #endif
    624 #ifdef HAVE_STDINT_H
    625 # include <stdint.h>
    626 #endif
    627 #ifdef HAVE_UNISTD_H
    628 # include <unistd.h>
    629 #endif"
    630 
    631 enable_option_checking=no
    632 ac_subst_vars='am__EXEEXT_FALSE
    633 am__EXEEXT_TRUE
    634 LTLIBOBJS
    635 LIBOBJS
    636 BUILD_SUBDIRS
    637 CLOCK_GETTIME_LINK
    638 GPROFNG_CPPFLAGS
    639 GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS
    640 GPROFNG_CFLAGS
    641 LD_NO_AS_NEEDED
    642 BUILD_DOC_FALSE
    643 BUILD_DOC_TRUE
    644 BUILD_MAN_FALSE
    645 BUILD_MAN_TRUE
    646 zlibinc
    647 zlibdir
    648 TCL_TRY_FALSE
    649 TCL_TRY_TRUE
    650 EXPECT
    651 jdk_inc
    652 GPROFNG_BROKEN_JAVAC
    653 JAVA
    654 JAVAC
    655 PTHREAD_CFLAGS
    656 PTHREAD_LIBS
    657 PTHREAD_CC
    658 ax_pthread_config
    659 subdirs
    660 BUILD_SRC_FALSE
    661 BUILD_SRC_TRUE
    662 BUILD_COLLECTOR_FALSE
    663 BUILD_COLLECTOR_TRUE
    664 GPROFNG_NO_SWITCH_CFLAGS
    665 gprofng_cflags
    666 WERROR
    667 GPROFNG_LIBADD
    668 CXXCPP
    669 OTOOL64
    670 OTOOL
    671 LIPO
    672 NMEDIT
    673 DSYMUTIL
    674 OBJDUMP
    675 LN_S
    676 NM
    677 ac_ct_DUMPBIN
    678 DUMPBIN
    679 LD
    680 FGREP
    681 SED
    682 LIBTOOL
    683 BISON
    684 ac_ct_AR
    685 AR
    686 RANLIB
    687 am__fastdepCXX_FALSE
    688 am__fastdepCXX_TRUE
    689 CXXDEPMODE
    690 ac_ct_CXX
    691 CXXFLAGS
    692 CXX
    693 EGREP
    694 GREP
    695 CPP
    696 am__fastdepCC_FALSE
    697 am__fastdepCC_TRUE
    698 CCDEPMODE
    699 am__nodep
    700 AMDEPBACKSLASH
    701 AMDEP_FALSE
    702 AMDEP_TRUE
    703 am__quote
    704 am__include
    705 DEPDIR
    706 OBJEXT
    707 EXEEXT
    708 ac_ct_CC
    709 CPPFLAGS
    710 LDFLAGS
    711 CFLAGS
    712 CC
    713 MAINT
    714 MAINTAINER_MODE_FALSE
    715 MAINTAINER_MODE_TRUE
    716 AM_BACKSLASH
    717 AM_DEFAULT_VERBOSITY
    718 AM_DEFAULT_V
    719 AM_V
    720 am__untar
    721 am__tar
    722 AMTAR
    723 am__leading_dot
    724 SET_MAKE
    725 AWK
    726 mkdir_p
    727 MKDIR_P
    728 INSTALL_STRIP_PROGRAM
    729 STRIP
    730 install_sh
    731 MAKEINFO
    732 AUTOHEADER
    733 AUTOMAKE
    734 AUTOCONF
    735 ACLOCAL
    736 VERSION
    737 PACKAGE
    738 CYGPATH_W
    739 am__isrc
    740 INSTALL_DATA
    741 INSTALL_SCRIPT
    742 INSTALL_PROGRAM
    743 target_os
    744 target_vendor
    745 target_cpu
    746 target
    747 host_os
    748 host_vendor
    749 host_cpu
    750 host
    751 build_os
    752 build_vendor
    753 build_cpu
    754 build
    755 target_alias
    756 host_alias
    757 build_alias
    758 LIBS
    759 ECHO_T
    760 ECHO_N
    761 ECHO_C
    762 DEFS
    763 mandir
    764 localedir
    765 libdir
    766 psdir
    767 pdfdir
    768 dvidir
    769 htmldir
    770 infodir
    771 docdir
    772 oldincludedir
    773 includedir
    774 localstatedir
    775 sharedstatedir
    776 sysconfdir
    777 datadir
    778 datarootdir
    779 libexecdir
    780 sbindir
    781 bindir
    782 program_transform_name
    783 prefix
    784 exec_prefix
    785 PACKAGE_URL
    786 PACKAGE_BUGREPORT
    787 PACKAGE_STRING
    788 PACKAGE_VERSION
    789 PACKAGE_TARNAME
    790 PACKAGE_NAME
    791 PATH_SEPARATOR
    792 SHELL'
    793 ac_subst_files=''
    794 ac_user_opts='
    795 enable_option_checking
    796 enable_silent_rules
    797 enable_maintainer_mode
    798 enable_dependency_tracking
    799 enable_shared
    800 enable_static
    801 with_pic
    802 enable_fast_install
    803 with_gnu_ld
    804 enable_libtool_lock
    805 enable_werror_always
    806 enable_gprofng_tools
    807 with_jdk
    808 enable_gprofng_debug
    809 with_system_zlib
    810 '
    811       ac_precious_vars='build_alias
    812 host_alias
    813 target_alias
    814 CC
    815 CFLAGS
    816 LDFLAGS
    817 LIBS
    818 CPPFLAGS
    819 CPP
    820 CXX
    821 CXXFLAGS
    822 CCC
    823 CXXCPP'
    824 ac_subdirs_all='libcollector'
    825 
    826 # Initialize some variables set by options.
    827 ac_init_help=
    828 ac_init_version=false
    829 ac_unrecognized_opts=
    830 ac_unrecognized_sep=
    831 # The variables have the same names as the options, with
    832 # dashes changed to underlines.
    833 cache_file=/dev/null
    834 exec_prefix=NONE
    835 no_create=
    836 no_recursion=
    837 prefix=NONE
    838 program_prefix=NONE
    839 program_suffix=NONE
    840 program_transform_name=s,x,x,
    841 silent=
    842 site=
    843 srcdir=
    844 verbose=
    845 x_includes=NONE
    846 x_libraries=NONE
    847 
    848 # Installation directory options.
    849 # These are left unexpanded so users can "make install exec_prefix=/foo"
    850 # and all the variables that are supposed to be based on exec_prefix
    851 # by default will actually change.
    852 # Use braces instead of parens because sh, perl, etc. also accept them.
    853 # (The list follows the same order as the GNU Coding Standards.)
    854 bindir='${exec_prefix}/bin'
    855 sbindir='${exec_prefix}/sbin'
    856 libexecdir='${exec_prefix}/libexec'
    857 datarootdir='${prefix}/share'
    858 datadir='${datarootdir}'
    859 sysconfdir='${prefix}/etc'
    860 sharedstatedir='${prefix}/com'
    861 localstatedir='${prefix}/var'
    862 includedir='${prefix}/include'
    863 oldincludedir='/usr/include'
    864 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    865 infodir='${datarootdir}/info'
    866 htmldir='${docdir}'
    867 dvidir='${docdir}'
    868 pdfdir='${docdir}'
    869 psdir='${docdir}'
    870 libdir='${exec_prefix}/lib'
    871 localedir='${datarootdir}/locale'
    872 mandir='${datarootdir}/man'
    873 
    874 ac_prev=
    875 ac_dashdash=
    876 for ac_option
    877 do
    878   # If the previous option needs an argument, assign it.
    879   if test -n "$ac_prev"; then
    880     eval $ac_prev=\$ac_option
    881     ac_prev=
    882     continue
    883   fi
    884 
    885   case $ac_option in
    886   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    887   *=)   ac_optarg= ;;
    888   *)    ac_optarg=yes ;;
    889   esac
    890 
    891   # Accept the important Cygnus configure options, so we can diagnose typos.
    892 
    893   case $ac_dashdash$ac_option in
    894   --)
    895     ac_dashdash=yes ;;
    896 
    897   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    898     ac_prev=bindir ;;
    899   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    900     bindir=$ac_optarg ;;
    901 
    902   -build | --build | --buil | --bui | --bu)
    903     ac_prev=build_alias ;;
    904   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    905     build_alias=$ac_optarg ;;
    906 
    907   -cache-file | --cache-file | --cache-fil | --cache-fi \
    908   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    909     ac_prev=cache_file ;;
    910   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    911   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    912     cache_file=$ac_optarg ;;
    913 
    914   --config-cache | -C)
    915     cache_file=config.cache ;;
    916 
    917   -datadir | --datadir | --datadi | --datad)
    918     ac_prev=datadir ;;
    919   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    920     datadir=$ac_optarg ;;
    921 
    922   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    923   | --dataroo | --dataro | --datar)
    924     ac_prev=datarootdir ;;
    925   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    926   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    927     datarootdir=$ac_optarg ;;
    928 
    929   -disable-* | --disable-*)
    930     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    931     # Reject names that are not valid shell variable names.
    932     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    933       as_fn_error $? "invalid feature name: $ac_useropt"
    934     ac_useropt_orig=$ac_useropt
    935     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    936     case $ac_user_opts in
    937       *"
    938 "enable_$ac_useropt"
    939 "*) ;;
    940       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    941 	 ac_unrecognized_sep=', ';;
    942     esac
    943     eval enable_$ac_useropt=no ;;
    944 
    945   -docdir | --docdir | --docdi | --doc | --do)
    946     ac_prev=docdir ;;
    947   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    948     docdir=$ac_optarg ;;
    949 
    950   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    951     ac_prev=dvidir ;;
    952   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    953     dvidir=$ac_optarg ;;
    954 
    955   -enable-* | --enable-*)
    956     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    957     # Reject names that are not valid shell variable names.
    958     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    959       as_fn_error $? "invalid feature name: $ac_useropt"
    960     ac_useropt_orig=$ac_useropt
    961     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    962     case $ac_user_opts in
    963       *"
    964 "enable_$ac_useropt"
    965 "*) ;;
    966       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    967 	 ac_unrecognized_sep=', ';;
    968     esac
    969     eval enable_$ac_useropt=\$ac_optarg ;;
    970 
    971   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    972   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    973   | --exec | --exe | --ex)
    974     ac_prev=exec_prefix ;;
    975   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    976   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    977   | --exec=* | --exe=* | --ex=*)
    978     exec_prefix=$ac_optarg ;;
    979 
    980   -gas | --gas | --ga | --g)
    981     # Obsolete; use --with-gas.
    982     with_gas=yes ;;
    983 
    984   -help | --help | --hel | --he | -h)
    985     ac_init_help=long ;;
    986   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    987     ac_init_help=recursive ;;
    988   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    989     ac_init_help=short ;;
    990 
    991   -host | --host | --hos | --ho)
    992     ac_prev=host_alias ;;
    993   -host=* | --host=* | --hos=* | --ho=*)
    994     host_alias=$ac_optarg ;;
    995 
    996   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    997     ac_prev=htmldir ;;
    998   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    999   | --ht=*)
   1000     htmldir=$ac_optarg ;;
   1001 
   1002   -includedir | --includedir | --includedi | --included | --include \
   1003   | --includ | --inclu | --incl | --inc)
   1004     ac_prev=includedir ;;
   1005   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1006   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1007     includedir=$ac_optarg ;;
   1008 
   1009   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1010     ac_prev=infodir ;;
   1011   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1012     infodir=$ac_optarg ;;
   1013 
   1014   -libdir | --libdir | --libdi | --libd)
   1015     ac_prev=libdir ;;
   1016   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1017     libdir=$ac_optarg ;;
   1018 
   1019   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1020   | --libexe | --libex | --libe)
   1021     ac_prev=libexecdir ;;
   1022   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1023   | --libexe=* | --libex=* | --libe=*)
   1024     libexecdir=$ac_optarg ;;
   1025 
   1026   -localedir | --localedir | --localedi | --localed | --locale)
   1027     ac_prev=localedir ;;
   1028   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1029     localedir=$ac_optarg ;;
   1030 
   1031   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1032   | --localstate | --localstat | --localsta | --localst | --locals)
   1033     ac_prev=localstatedir ;;
   1034   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1035   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1036     localstatedir=$ac_optarg ;;
   1037 
   1038   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1039     ac_prev=mandir ;;
   1040   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1041     mandir=$ac_optarg ;;
   1042 
   1043   -nfp | --nfp | --nf)
   1044     # Obsolete; use --without-fp.
   1045     with_fp=no ;;
   1046 
   1047   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1048   | --no-cr | --no-c | -n)
   1049     no_create=yes ;;
   1050 
   1051   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1052   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1053     no_recursion=yes ;;
   1054 
   1055   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1056   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1057   | --oldin | --oldi | --old | --ol | --o)
   1058     ac_prev=oldincludedir ;;
   1059   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1060   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1061   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1062     oldincludedir=$ac_optarg ;;
   1063 
   1064   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1065     ac_prev=prefix ;;
   1066   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1067     prefix=$ac_optarg ;;
   1068 
   1069   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1070   | --program-pre | --program-pr | --program-p)
   1071     ac_prev=program_prefix ;;
   1072   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1073   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1074     program_prefix=$ac_optarg ;;
   1075 
   1076   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1077   | --program-suf | --program-su | --program-s)
   1078     ac_prev=program_suffix ;;
   1079   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1080   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1081     program_suffix=$ac_optarg ;;
   1082 
   1083   -program-transform-name | --program-transform-name \
   1084   | --program-transform-nam | --program-transform-na \
   1085   | --program-transform-n | --program-transform- \
   1086   | --program-transform | --program-transfor \
   1087   | --program-transfo | --program-transf \
   1088   | --program-trans | --program-tran \
   1089   | --progr-tra | --program-tr | --program-t)
   1090     ac_prev=program_transform_name ;;
   1091   -program-transform-name=* | --program-transform-name=* \
   1092   | --program-transform-nam=* | --program-transform-na=* \
   1093   | --program-transform-n=* | --program-transform-=* \
   1094   | --program-transform=* | --program-transfor=* \
   1095   | --program-transfo=* | --program-transf=* \
   1096   | --program-trans=* | --program-tran=* \
   1097   | --progr-tra=* | --program-tr=* | --program-t=*)
   1098     program_transform_name=$ac_optarg ;;
   1099 
   1100   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1101     ac_prev=pdfdir ;;
   1102   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1103     pdfdir=$ac_optarg ;;
   1104 
   1105   -psdir | --psdir | --psdi | --psd | --ps)
   1106     ac_prev=psdir ;;
   1107   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1108     psdir=$ac_optarg ;;
   1109 
   1110   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1111   | -silent | --silent | --silen | --sile | --sil)
   1112     silent=yes ;;
   1113 
   1114   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1115     ac_prev=sbindir ;;
   1116   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1117   | --sbi=* | --sb=*)
   1118     sbindir=$ac_optarg ;;
   1119 
   1120   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1121   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1122   | --sharedst | --shareds | --shared | --share | --shar \
   1123   | --sha | --sh)
   1124     ac_prev=sharedstatedir ;;
   1125   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1126   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1127   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1128   | --sha=* | --sh=*)
   1129     sharedstatedir=$ac_optarg ;;
   1130 
   1131   -site | --site | --sit)
   1132     ac_prev=site ;;
   1133   -site=* | --site=* | --sit=*)
   1134     site=$ac_optarg ;;
   1135 
   1136   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1137     ac_prev=srcdir ;;
   1138   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1139     srcdir=$ac_optarg ;;
   1140 
   1141   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1142   | --syscon | --sysco | --sysc | --sys | --sy)
   1143     ac_prev=sysconfdir ;;
   1144   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1145   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1146     sysconfdir=$ac_optarg ;;
   1147 
   1148   -target | --target | --targe | --targ | --tar | --ta | --t)
   1149     ac_prev=target_alias ;;
   1150   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1151     target_alias=$ac_optarg ;;
   1152 
   1153   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1154     verbose=yes ;;
   1155 
   1156   -version | --version | --versio | --versi | --vers | -V)
   1157     ac_init_version=: ;;
   1158 
   1159   -with-* | --with-*)
   1160     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1161     # Reject names that are not valid shell variable names.
   1162     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1163       as_fn_error $? "invalid package name: $ac_useropt"
   1164     ac_useropt_orig=$ac_useropt
   1165     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1166     case $ac_user_opts in
   1167       *"
   1168 "with_$ac_useropt"
   1169 "*) ;;
   1170       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1171 	 ac_unrecognized_sep=', ';;
   1172     esac
   1173     eval with_$ac_useropt=\$ac_optarg ;;
   1174 
   1175   -without-* | --without-*)
   1176     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1177     # Reject names that are not valid shell variable names.
   1178     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1179       as_fn_error $? "invalid package name: $ac_useropt"
   1180     ac_useropt_orig=$ac_useropt
   1181     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1182     case $ac_user_opts in
   1183       *"
   1184 "with_$ac_useropt"
   1185 "*) ;;
   1186       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1187 	 ac_unrecognized_sep=', ';;
   1188     esac
   1189     eval with_$ac_useropt=no ;;
   1190 
   1191   --x)
   1192     # Obsolete; use --with-x.
   1193     with_x=yes ;;
   1194 
   1195   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1196   | --x-incl | --x-inc | --x-in | --x-i)
   1197     ac_prev=x_includes ;;
   1198   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1199   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1200     x_includes=$ac_optarg ;;
   1201 
   1202   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1203   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1204     ac_prev=x_libraries ;;
   1205   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1206   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1207     x_libraries=$ac_optarg ;;
   1208 
   1209   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1210 Try \`$0 --help' for more information"
   1211     ;;
   1212 
   1213   *=*)
   1214     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1215     # Reject names that are not valid shell variable names.
   1216     case $ac_envvar in #(
   1217       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1218       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1219     esac
   1220     eval $ac_envvar=\$ac_optarg
   1221     export $ac_envvar ;;
   1222 
   1223   *)
   1224     # FIXME: should be removed in autoconf 3.0.
   1225     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1226     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1227       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1228     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1229     ;;
   1230 
   1231   esac
   1232 done
   1233 
   1234 if test -n "$ac_prev"; then
   1235   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1236   as_fn_error $? "missing argument to $ac_option"
   1237 fi
   1238 
   1239 if test -n "$ac_unrecognized_opts"; then
   1240   case $enable_option_checking in
   1241     no) ;;
   1242     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1243     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1244   esac
   1245 fi
   1246 
   1247 # Check all directory arguments for consistency.
   1248 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1249 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1250 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1251 		libdir localedir mandir
   1252 do
   1253   eval ac_val=\$$ac_var
   1254   # Remove trailing slashes.
   1255   case $ac_val in
   1256     */ )
   1257       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1258       eval $ac_var=\$ac_val;;
   1259   esac
   1260   # Be sure to have absolute directory names.
   1261   case $ac_val in
   1262     [\\/$]* | ?:[\\/]* )  continue;;
   1263     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1264   esac
   1265   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1266 done
   1267 
   1268 # There might be people who depend on the old broken behavior: `$host'
   1269 # used to hold the argument of --host etc.
   1270 # FIXME: To remove some day.
   1271 build=$build_alias
   1272 host=$host_alias
   1273 target=$target_alias
   1274 
   1275 # FIXME: To remove some day.
   1276 if test "x$host_alias" != x; then
   1277   if test "x$build_alias" = x; then
   1278     cross_compiling=maybe
   1279   elif test "x$build_alias" != "x$host_alias"; then
   1280     cross_compiling=yes
   1281   fi
   1282 fi
   1283 
   1284 ac_tool_prefix=
   1285 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1286 
   1287 test "$silent" = yes && exec 6>/dev/null
   1288 
   1289 
   1290 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1291 ac_ls_di=`ls -di .` &&
   1292 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1293   as_fn_error $? "working directory cannot be determined"
   1294 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1295   as_fn_error $? "pwd does not report name of working directory"
   1296 
   1297 
   1298 # Find the source files, if location was not specified.
   1299 if test -z "$srcdir"; then
   1300   ac_srcdir_defaulted=yes
   1301   # Try the directory containing this script, then the parent directory.
   1302   ac_confdir=`$as_dirname -- "$as_myself" ||
   1303 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1304 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1305 	 X"$as_myself" : 'X\(//\)$' \| \
   1306 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1307 $as_echo X"$as_myself" |
   1308     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\/\)[^/].*/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  /^X\(\/\/\)$/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  /^X\(\/\).*/{
   1321 	    s//\1/
   1322 	    q
   1323 	  }
   1324 	  s/.*/./; q'`
   1325   srcdir=$ac_confdir
   1326   if test ! -r "$srcdir/$ac_unique_file"; then
   1327     srcdir=..
   1328   fi
   1329 else
   1330   ac_srcdir_defaulted=no
   1331 fi
   1332 if test ! -r "$srcdir/$ac_unique_file"; then
   1333   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1334   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1335 fi
   1336 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1337 ac_abs_confdir=`(
   1338 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1339 	pwd)`
   1340 # When building in place, set srcdir=.
   1341 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1342   srcdir=.
   1343 fi
   1344 # Remove unnecessary trailing slashes from srcdir.
   1345 # Double slashes in file names in object file debugging info
   1346 # mess up M-x gdb in Emacs.
   1347 case $srcdir in
   1348 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1349 esac
   1350 for ac_var in $ac_precious_vars; do
   1351   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1352   eval ac_env_${ac_var}_value=\$${ac_var}
   1353   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1354   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1355 done
   1356 
   1357 #
   1358 # Report the --help message.
   1359 #
   1360 if test "$ac_init_help" = "long"; then
   1361   # Omit some internal or obsolete options to make the list less imposing.
   1362   # This message is too long to be a string in the A/UX 3.1 sh.
   1363   cat <<_ACEOF
   1364 \`configure' configures gprofng 2.42 to adapt to many kinds of systems.
   1365 
   1366 Usage: $0 [OPTION]... [VAR=VALUE]...
   1367 
   1368 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1369 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1370 
   1371 Defaults for the options are specified in brackets.
   1372 
   1373 Configuration:
   1374   -h, --help              display this help and exit
   1375       --help=short        display options specific to this package
   1376       --help=recursive    display the short help of all the included packages
   1377   -V, --version           display version information and exit
   1378   -q, --quiet, --silent   do not print \`checking ...' messages
   1379       --cache-file=FILE   cache test results in FILE [disabled]
   1380   -C, --config-cache      alias for \`--cache-file=config.cache'
   1381   -n, --no-create         do not create output files
   1382       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1383 
   1384 Installation directories:
   1385   --prefix=PREFIX         install architecture-independent files in PREFIX
   1386                           [$ac_default_prefix]
   1387   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1388                           [PREFIX]
   1389 
   1390 By default, \`make install' will install all the files in
   1391 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1392 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1393 for instance \`--prefix=\$HOME'.
   1394 
   1395 For better control, use the options below.
   1396 
   1397 Fine tuning of the installation directories:
   1398   --bindir=DIR            user executables [EPREFIX/bin]
   1399   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1400   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1401   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1402   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1403   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1404   --libdir=DIR            object code libraries [EPREFIX/lib]
   1405   --includedir=DIR        C header files [PREFIX/include]
   1406   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1407   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1408   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1409   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1410   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1411   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1412   --docdir=DIR            documentation root [DATAROOTDIR/doc/gprofng]
   1413   --htmldir=DIR           html documentation [DOCDIR]
   1414   --dvidir=DIR            dvi documentation [DOCDIR]
   1415   --pdfdir=DIR            pdf documentation [DOCDIR]
   1416   --psdir=DIR             ps documentation [DOCDIR]
   1417 _ACEOF
   1418 
   1419   cat <<\_ACEOF
   1420 
   1421 Program names:
   1422   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1423   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1424   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1425 
   1426 System types:
   1427   --build=BUILD     configure for building on BUILD [guessed]
   1428   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1429   --target=TARGET   configure for building compilers for TARGET [HOST]
   1430 _ACEOF
   1431 fi
   1432 
   1433 if test -n "$ac_init_help"; then
   1434   case $ac_init_help in
   1435      short | recursive ) echo "Configuration of gprofng 2.42:";;
   1436    esac
   1437   cat <<\_ACEOF
   1438 
   1439 Optional Features:
   1440   --disable-option-checking  ignore unrecognized --enable/--with options
   1441   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1442   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1443   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1444   --disable-silent-rules  verbose build output (undo: "make V=0")
   1445   --enable-maintainer-mode
   1446                           enable make rules and dependencies not useful (and
   1447                           sometimes confusing) to the casual installer
   1448   --enable-dependency-tracking
   1449                           do not reject slow dependency extractors
   1450   --disable-dependency-tracking
   1451                           speeds up one-time build
   1452   --enable-shared[=PKGS]  build shared libraries [default=no]
   1453   --enable-static[=PKGS]  build static libraries [default=yes]
   1454   --enable-fast-install[=PKGS]
   1455                           optimize for fast installation [default=yes]
   1456   --disable-libtool-lock  avoid locking (might break parallel builds)
   1457   --enable-werror-always  enable -Werror despite compiler version
   1458   --disable-gprofng-tools do not build gprofng/src directory
   1459   --enable-gprofng-debug  Enable debugging output [default=no]
   1460 
   1461 Optional Packages:
   1462   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1463   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1464   --with-pic              try to use only PIC/non-PIC objects [default=use
   1465                           both]
   1466   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1467   --with-jdk=PATH         specify prefix directory for installed JDK.
   1468   --with-system-zlib      use installed libz
   1469 
   1470 Some influential environment variables:
   1471   CC          C compiler command
   1472   CFLAGS      C compiler flags
   1473   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1474               nonstandard directory <lib dir>
   1475   LIBS        libraries to pass to the linker, e.g. -l<library>
   1476   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1477               you have headers in a nonstandard directory <include dir>
   1478   CPP         C preprocessor
   1479   CXX         C++ compiler command
   1480   CXXFLAGS    C++ compiler flags
   1481   CXXCPP      C++ preprocessor
   1482 
   1483 Use these variables to override the choices made by `configure' or to help
   1484 it to find libraries and programs with nonstandard names/locations.
   1485 
   1486 Report bugs to the package provider.
   1487 _ACEOF
   1488 ac_status=$?
   1489 fi
   1490 
   1491 if test "$ac_init_help" = "recursive"; then
   1492   # If there are subdirs, report their specific --help.
   1493   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1494     test -d "$ac_dir" ||
   1495       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1496       continue
   1497     ac_builddir=.
   1498 
   1499 case "$ac_dir" in
   1500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1501 *)
   1502   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1503   # A ".." for each directory in $ac_dir_suffix.
   1504   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1505   case $ac_top_builddir_sub in
   1506   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1507   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1508   esac ;;
   1509 esac
   1510 ac_abs_top_builddir=$ac_pwd
   1511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1512 # for backward compatibility:
   1513 ac_top_builddir=$ac_top_build_prefix
   1514 
   1515 case $srcdir in
   1516   .)  # We are building in place.
   1517     ac_srcdir=.
   1518     ac_top_srcdir=$ac_top_builddir_sub
   1519     ac_abs_top_srcdir=$ac_pwd ;;
   1520   [\\/]* | ?:[\\/]* )  # Absolute name.
   1521     ac_srcdir=$srcdir$ac_dir_suffix;
   1522     ac_top_srcdir=$srcdir
   1523     ac_abs_top_srcdir=$srcdir ;;
   1524   *) # Relative name.
   1525     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1526     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1527     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1528 esac
   1529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1530 
   1531     cd "$ac_dir" || { ac_status=$?; continue; }
   1532     # Check for guested configure.
   1533     if test -f "$ac_srcdir/configure.gnu"; then
   1534       echo &&
   1535       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1536     elif test -f "$ac_srcdir/configure"; then
   1537       echo &&
   1538       $SHELL "$ac_srcdir/configure" --help=recursive
   1539     else
   1540       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1541     fi || ac_status=$?
   1542     cd "$ac_pwd" || { ac_status=$?; break; }
   1543   done
   1544 fi
   1545 
   1546 test -n "$ac_init_help" && exit $ac_status
   1547 if $ac_init_version; then
   1548   cat <<\_ACEOF
   1549 gprofng configure 2.42
   1550 generated by GNU Autoconf 2.69
   1551 
   1552 Copyright (C) 2012 Free Software Foundation, Inc.
   1553 This configure script is free software; the Free Software Foundation
   1554 gives unlimited permission to copy, distribute and modify it.
   1555 _ACEOF
   1556   exit
   1557 fi
   1558 
   1559 ## ------------------------ ##
   1560 ## Autoconf initialization. ##
   1561 ## ------------------------ ##
   1562 
   1563 # ac_fn_c_try_compile LINENO
   1564 # --------------------------
   1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1566 ac_fn_c_try_compile ()
   1567 {
   1568   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1569   rm -f conftest.$ac_objext
   1570   if { { ac_try="$ac_compile"
   1571 case "(($ac_try" in
   1572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1573   *) ac_try_echo=$ac_try;;
   1574 esac
   1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1576 $as_echo "$ac_try_echo"; } >&5
   1577   (eval "$ac_compile") 2>conftest.err
   1578   ac_status=$?
   1579   if test -s conftest.err; then
   1580     grep -v '^ *+' conftest.err >conftest.er1
   1581     cat conftest.er1 >&5
   1582     mv -f conftest.er1 conftest.err
   1583   fi
   1584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1585   test $ac_status = 0; } && {
   1586 	 test -z "$ac_c_werror_flag" ||
   1587 	 test ! -s conftest.err
   1588        } && test -s conftest.$ac_objext; then :
   1589   ac_retval=0
   1590 else
   1591   $as_echo "$as_me: failed program was:" >&5
   1592 sed 's/^/| /' conftest.$ac_ext >&5
   1593 
   1594 	ac_retval=1
   1595 fi
   1596   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1597   as_fn_set_status $ac_retval
   1598 
   1599 } # ac_fn_c_try_compile
   1600 
   1601 # ac_fn_c_try_cpp LINENO
   1602 # ----------------------
   1603 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1604 ac_fn_c_try_cpp ()
   1605 {
   1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1607   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1608 case "(($ac_try" in
   1609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1610   *) ac_try_echo=$ac_try;;
   1611 esac
   1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1613 $as_echo "$ac_try_echo"; } >&5
   1614   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1615   ac_status=$?
   1616   if test -s conftest.err; then
   1617     grep -v '^ *+' conftest.err >conftest.er1
   1618     cat conftest.er1 >&5
   1619     mv -f conftest.er1 conftest.err
   1620   fi
   1621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1622   test $ac_status = 0; } > conftest.i && {
   1623 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1624 	 test ! -s conftest.err
   1625        }; then :
   1626   ac_retval=0
   1627 else
   1628   $as_echo "$as_me: failed program was:" >&5
   1629 sed 's/^/| /' conftest.$ac_ext >&5
   1630 
   1631     ac_retval=1
   1632 fi
   1633   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1634   as_fn_set_status $ac_retval
   1635 
   1636 } # ac_fn_c_try_cpp
   1637 
   1638 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1639 # -------------------------------------------------------
   1640 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1641 # the include files in INCLUDES and setting the cache variable VAR
   1642 # accordingly.
   1643 ac_fn_c_check_header_mongrel ()
   1644 {
   1645   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1646   if eval \${$3+:} false; then :
   1647   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1648 $as_echo_n "checking for $2... " >&6; }
   1649 if eval \${$3+:} false; then :
   1650   $as_echo_n "(cached) " >&6
   1651 fi
   1652 eval ac_res=\$$3
   1653 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1654 $as_echo "$ac_res" >&6; }
   1655 else
   1656   # Is the header compilable?
   1657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1658 $as_echo_n "checking $2 usability... " >&6; }
   1659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1660 /* end confdefs.h.  */
   1661 $4
   1662 #include <$2>
   1663 _ACEOF
   1664 if ac_fn_c_try_compile "$LINENO"; then :
   1665   ac_header_compiler=yes
   1666 else
   1667   ac_header_compiler=no
   1668 fi
   1669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1671 $as_echo "$ac_header_compiler" >&6; }
   1672 
   1673 # Is the header present?
   1674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1675 $as_echo_n "checking $2 presence... " >&6; }
   1676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1677 /* end confdefs.h.  */
   1678 #include <$2>
   1679 _ACEOF
   1680 if ac_fn_c_try_cpp "$LINENO"; then :
   1681   ac_header_preproc=yes
   1682 else
   1683   ac_header_preproc=no
   1684 fi
   1685 rm -f conftest.err conftest.i conftest.$ac_ext
   1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1687 $as_echo "$ac_header_preproc" >&6; }
   1688 
   1689 # So?  What about this header?
   1690 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1691   yes:no: )
   1692     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1693 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1694     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1695 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1696     ;;
   1697   no:yes:* )
   1698     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1699 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1700     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1701 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1702     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1703 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1704     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1705 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1706     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1707 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1708     ;;
   1709 esac
   1710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1711 $as_echo_n "checking for $2... " >&6; }
   1712 if eval \${$3+:} false; then :
   1713   $as_echo_n "(cached) " >&6
   1714 else
   1715   eval "$3=\$ac_header_compiler"
   1716 fi
   1717 eval ac_res=\$$3
   1718 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1719 $as_echo "$ac_res" >&6; }
   1720 fi
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722 
   1723 } # ac_fn_c_check_header_mongrel
   1724 
   1725 # ac_fn_c_try_run LINENO
   1726 # ----------------------
   1727 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1728 # that executables *can* be run.
   1729 ac_fn_c_try_run ()
   1730 {
   1731   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1732   if { { ac_try="$ac_link"
   1733 case "(($ac_try" in
   1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1735   *) ac_try_echo=$ac_try;;
   1736 esac
   1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1738 $as_echo "$ac_try_echo"; } >&5
   1739   (eval "$ac_link") 2>&5
   1740   ac_status=$?
   1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1742   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1743   { { case "(($ac_try" in
   1744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1745   *) ac_try_echo=$ac_try;;
   1746 esac
   1747 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1748 $as_echo "$ac_try_echo"; } >&5
   1749   (eval "$ac_try") 2>&5
   1750   ac_status=$?
   1751   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1752   test $ac_status = 0; }; }; then :
   1753   ac_retval=0
   1754 else
   1755   $as_echo "$as_me: program exited with status $ac_status" >&5
   1756        $as_echo "$as_me: failed program was:" >&5
   1757 sed 's/^/| /' conftest.$ac_ext >&5
   1758 
   1759        ac_retval=$ac_status
   1760 fi
   1761   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1762   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1763   as_fn_set_status $ac_retval
   1764 
   1765 } # ac_fn_c_try_run
   1766 
   1767 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1768 # -------------------------------------------------------
   1769 # Tests whether HEADER exists and can be compiled using the include files in
   1770 # INCLUDES, setting the cache variable VAR accordingly.
   1771 ac_fn_c_check_header_compile ()
   1772 {
   1773   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1775 $as_echo_n "checking for $2... " >&6; }
   1776 if eval \${$3+:} false; then :
   1777   $as_echo_n "(cached) " >&6
   1778 else
   1779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1780 /* end confdefs.h.  */
   1781 $4
   1782 #include <$2>
   1783 _ACEOF
   1784 if ac_fn_c_try_compile "$LINENO"; then :
   1785   eval "$3=yes"
   1786 else
   1787   eval "$3=no"
   1788 fi
   1789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1790 fi
   1791 eval ac_res=\$$3
   1792 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1793 $as_echo "$ac_res" >&6; }
   1794   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1795 
   1796 } # ac_fn_c_check_header_compile
   1797 
   1798 # ac_fn_cxx_try_compile LINENO
   1799 # ----------------------------
   1800 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1801 ac_fn_cxx_try_compile ()
   1802 {
   1803   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1804   rm -f conftest.$ac_objext
   1805   if { { ac_try="$ac_compile"
   1806 case "(($ac_try" in
   1807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1808   *) ac_try_echo=$ac_try;;
   1809 esac
   1810 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1811 $as_echo "$ac_try_echo"; } >&5
   1812   (eval "$ac_compile") 2>conftest.err
   1813   ac_status=$?
   1814   if test -s conftest.err; then
   1815     grep -v '^ *+' conftest.err >conftest.er1
   1816     cat conftest.er1 >&5
   1817     mv -f conftest.er1 conftest.err
   1818   fi
   1819   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1820   test $ac_status = 0; } && {
   1821 	 test -z "$ac_cxx_werror_flag" ||
   1822 	 test ! -s conftest.err
   1823        } && test -s conftest.$ac_objext; then :
   1824   ac_retval=0
   1825 else
   1826   $as_echo "$as_me: failed program was:" >&5
   1827 sed 's/^/| /' conftest.$ac_ext >&5
   1828 
   1829 	ac_retval=1
   1830 fi
   1831   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1832   as_fn_set_status $ac_retval
   1833 
   1834 } # ac_fn_cxx_try_compile
   1835 
   1836 # ac_fn_c_try_link LINENO
   1837 # -----------------------
   1838 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1839 ac_fn_c_try_link ()
   1840 {
   1841   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1842   rm -f conftest.$ac_objext conftest$ac_exeext
   1843   if { { ac_try="$ac_link"
   1844 case "(($ac_try" in
   1845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1846   *) ac_try_echo=$ac_try;;
   1847 esac
   1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1849 $as_echo "$ac_try_echo"; } >&5
   1850   (eval "$ac_link") 2>conftest.err
   1851   ac_status=$?
   1852   if test -s conftest.err; then
   1853     grep -v '^ *+' conftest.err >conftest.er1
   1854     cat conftest.er1 >&5
   1855     mv -f conftest.er1 conftest.err
   1856   fi
   1857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1858   test $ac_status = 0; } && {
   1859 	 test -z "$ac_c_werror_flag" ||
   1860 	 test ! -s conftest.err
   1861        } && test -s conftest$ac_exeext && {
   1862 	 test "$cross_compiling" = yes ||
   1863 	 test -x conftest$ac_exeext
   1864        }; then :
   1865   ac_retval=0
   1866 else
   1867   $as_echo "$as_me: failed program was:" >&5
   1868 sed 's/^/| /' conftest.$ac_ext >&5
   1869 
   1870 	ac_retval=1
   1871 fi
   1872   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1873   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1874   # interfere with the next link command; also delete a directory that is
   1875   # left behind by Apple's compiler.  We do this before executing the actions.
   1876   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1877   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1878   as_fn_set_status $ac_retval
   1879 
   1880 } # ac_fn_c_try_link
   1881 
   1882 # ac_fn_c_check_func LINENO FUNC VAR
   1883 # ----------------------------------
   1884 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1885 ac_fn_c_check_func ()
   1886 {
   1887   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1889 $as_echo_n "checking for $2... " >&6; }
   1890 if eval \${$3+:} false; then :
   1891   $as_echo_n "(cached) " >&6
   1892 else
   1893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1894 /* end confdefs.h.  */
   1895 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1897 #define $2 innocuous_$2
   1898 
   1899 /* System header to define __stub macros and hopefully few prototypes,
   1900     which can conflict with char $2 (); below.
   1901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1902     <limits.h> exists even on freestanding compilers.  */
   1903 
   1904 #ifdef __STDC__
   1905 # include <limits.h>
   1906 #else
   1907 # include <assert.h>
   1908 #endif
   1909 
   1910 #undef $2
   1911 
   1912 /* Override any GCC internal prototype to avoid an error.
   1913    Use char because int might match the return type of a GCC
   1914    builtin and then its argument prototype would still apply.  */
   1915 #ifdef __cplusplus
   1916 extern "C"
   1917 #endif
   1918 char $2 ();
   1919 /* The GNU C library defines this for functions which it implements
   1920     to always fail with ENOSYS.  Some functions are actually named
   1921     something starting with __ and the normal name is an alias.  */
   1922 #if defined __stub_$2 || defined __stub___$2
   1923 choke me
   1924 #endif
   1925 
   1926 int
   1927 main ()
   1928 {
   1929 return $2 ();
   1930   ;
   1931   return 0;
   1932 }
   1933 _ACEOF
   1934 if ac_fn_c_try_link "$LINENO"; then :
   1935   eval "$3=yes"
   1936 else
   1937   eval "$3=no"
   1938 fi
   1939 rm -f core conftest.err conftest.$ac_objext \
   1940     conftest$ac_exeext conftest.$ac_ext
   1941 fi
   1942 eval ac_res=\$$3
   1943 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1944 $as_echo "$ac_res" >&6; }
   1945   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1946 
   1947 } # ac_fn_c_check_func
   1948 
   1949 # ac_fn_cxx_try_cpp LINENO
   1950 # ------------------------
   1951 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1952 ac_fn_cxx_try_cpp ()
   1953 {
   1954   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1955   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1956 case "(($ac_try" in
   1957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1958   *) ac_try_echo=$ac_try;;
   1959 esac
   1960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1961 $as_echo "$ac_try_echo"; } >&5
   1962   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1963   ac_status=$?
   1964   if test -s conftest.err; then
   1965     grep -v '^ *+' conftest.err >conftest.er1
   1966     cat conftest.er1 >&5
   1967     mv -f conftest.er1 conftest.err
   1968   fi
   1969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1970   test $ac_status = 0; } > conftest.i && {
   1971 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1972 	 test ! -s conftest.err
   1973        }; then :
   1974   ac_retval=0
   1975 else
   1976   $as_echo "$as_me: failed program was:" >&5
   1977 sed 's/^/| /' conftest.$ac_ext >&5
   1978 
   1979     ac_retval=1
   1980 fi
   1981   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1982   as_fn_set_status $ac_retval
   1983 
   1984 } # ac_fn_cxx_try_cpp
   1985 
   1986 # ac_fn_cxx_try_link LINENO
   1987 # -------------------------
   1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1989 ac_fn_cxx_try_link ()
   1990 {
   1991   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1992   rm -f conftest.$ac_objext conftest$ac_exeext
   1993   if { { ac_try="$ac_link"
   1994 case "(($ac_try" in
   1995   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1996   *) ac_try_echo=$ac_try;;
   1997 esac
   1998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1999 $as_echo "$ac_try_echo"; } >&5
   2000   (eval "$ac_link") 2>conftest.err
   2001   ac_status=$?
   2002   if test -s conftest.err; then
   2003     grep -v '^ *+' conftest.err >conftest.er1
   2004     cat conftest.er1 >&5
   2005     mv -f conftest.er1 conftest.err
   2006   fi
   2007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2008   test $ac_status = 0; } && {
   2009 	 test -z "$ac_cxx_werror_flag" ||
   2010 	 test ! -s conftest.err
   2011        } && test -s conftest$ac_exeext && {
   2012 	 test "$cross_compiling" = yes ||
   2013 	 test -x conftest$ac_exeext
   2014        }; then :
   2015   ac_retval=0
   2016 else
   2017   $as_echo "$as_me: failed program was:" >&5
   2018 sed 's/^/| /' conftest.$ac_ext >&5
   2019 
   2020 	ac_retval=1
   2021 fi
   2022   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2023   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2024   # interfere with the next link command; also delete a directory that is
   2025   # left behind by Apple's compiler.  We do this before executing the actions.
   2026   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2027   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2028   as_fn_set_status $ac_retval
   2029 
   2030 } # ac_fn_cxx_try_link
   2031 
   2032 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2033 # ---------------------------------------------
   2034 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2035 # accordingly.
   2036 ac_fn_c_check_decl ()
   2037 {
   2038   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2039   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2040   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2042 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2043 if eval \${$3+:} false; then :
   2044   $as_echo_n "(cached) " >&6
   2045 else
   2046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2047 /* end confdefs.h.  */
   2048 $4
   2049 int
   2050 main ()
   2051 {
   2052 #ifndef $as_decl_name
   2053 #ifdef __cplusplus
   2054   (void) $as_decl_use;
   2055 #else
   2056   (void) $as_decl_name;
   2057 #endif
   2058 #endif
   2059 
   2060   ;
   2061   return 0;
   2062 }
   2063 _ACEOF
   2064 if ac_fn_c_try_compile "$LINENO"; then :
   2065   eval "$3=yes"
   2066 else
   2067   eval "$3=no"
   2068 fi
   2069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2070 fi
   2071 eval ac_res=\$$3
   2072 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2073 $as_echo "$ac_res" >&6; }
   2074   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2075 
   2076 } # ac_fn_c_check_decl
   2077 cat >config.log <<_ACEOF
   2078 This file contains any messages produced by compilers while
   2079 running configure, to aid debugging if configure makes a mistake.
   2080 
   2081 It was created by gprofng $as_me 2.42, which was
   2082 generated by GNU Autoconf 2.69.  Invocation command line was
   2083 
   2084   $ $0 $@
   2085 
   2086 _ACEOF
   2087 exec 5>>config.log
   2088 {
   2089 cat <<_ASUNAME
   2090 ## --------- ##
   2091 ## Platform. ##
   2092 ## --------- ##
   2093 
   2094 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2095 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2096 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2097 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2098 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2099 
   2100 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2101 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2102 
   2103 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2104 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2105 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2106 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2107 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2108 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2109 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2110 
   2111 _ASUNAME
   2112 
   2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2114 for as_dir in $PATH
   2115 do
   2116   IFS=$as_save_IFS
   2117   test -z "$as_dir" && as_dir=.
   2118     $as_echo "PATH: $as_dir"
   2119   done
   2120 IFS=$as_save_IFS
   2121 
   2122 } >&5
   2123 
   2124 cat >&5 <<_ACEOF
   2125 
   2126 
   2127 ## ----------- ##
   2128 ## Core tests. ##
   2129 ## ----------- ##
   2130 
   2131 _ACEOF
   2132 
   2133 
   2134 # Keep a trace of the command line.
   2135 # Strip out --no-create and --no-recursion so they do not pile up.
   2136 # Strip out --silent because we don't want to record it for future runs.
   2137 # Also quote any args containing shell meta-characters.
   2138 # Make two passes to allow for proper duplicate-argument suppression.
   2139 ac_configure_args=
   2140 ac_configure_args0=
   2141 ac_configure_args1=
   2142 ac_must_keep_next=false
   2143 for ac_pass in 1 2
   2144 do
   2145   for ac_arg
   2146   do
   2147     case $ac_arg in
   2148     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2149     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2150     | -silent | --silent | --silen | --sile | --sil)
   2151       continue ;;
   2152     *\'*)
   2153       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2154     esac
   2155     case $ac_pass in
   2156     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2157     2)
   2158       as_fn_append ac_configure_args1 " '$ac_arg'"
   2159       if test $ac_must_keep_next = true; then
   2160 	ac_must_keep_next=false # Got value, back to normal.
   2161       else
   2162 	case $ac_arg in
   2163 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2164 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2165 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2166 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2167 	    case "$ac_configure_args0 " in
   2168 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2169 	    esac
   2170 	    ;;
   2171 	  -* ) ac_must_keep_next=true ;;
   2172 	esac
   2173       fi
   2174       as_fn_append ac_configure_args " '$ac_arg'"
   2175       ;;
   2176     esac
   2177   done
   2178 done
   2179 { ac_configure_args0=; unset ac_configure_args0;}
   2180 { ac_configure_args1=; unset ac_configure_args1;}
   2181 
   2182 # When interrupted or exit'd, cleanup temporary files, and complete
   2183 # config.log.  We remove comments because anyway the quotes in there
   2184 # would cause problems or look ugly.
   2185 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2186 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2187 trap 'exit_status=$?
   2188   # Save into config.log some information that might help in debugging.
   2189   {
   2190     echo
   2191 
   2192     $as_echo "## ---------------- ##
   2193 ## Cache variables. ##
   2194 ## ---------------- ##"
   2195     echo
   2196     # The following way of writing the cache mishandles newlines in values,
   2197 (
   2198   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2199     eval ac_val=\$$ac_var
   2200     case $ac_val in #(
   2201     *${as_nl}*)
   2202       case $ac_var in #(
   2203       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2204 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2205       esac
   2206       case $ac_var in #(
   2207       _ | IFS | as_nl) ;; #(
   2208       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2209       *) { eval $ac_var=; unset $ac_var;} ;;
   2210       esac ;;
   2211     esac
   2212   done
   2213   (set) 2>&1 |
   2214     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2215     *${as_nl}ac_space=\ *)
   2216       sed -n \
   2217 	"s/'\''/'\''\\\\'\'''\''/g;
   2218 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2219       ;; #(
   2220     *)
   2221       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2222       ;;
   2223     esac |
   2224     sort
   2225 )
   2226     echo
   2227 
   2228     $as_echo "## ----------------- ##
   2229 ## Output variables. ##
   2230 ## ----------------- ##"
   2231     echo
   2232     for ac_var in $ac_subst_vars
   2233     do
   2234       eval ac_val=\$$ac_var
   2235       case $ac_val in
   2236       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2237       esac
   2238       $as_echo "$ac_var='\''$ac_val'\''"
   2239     done | sort
   2240     echo
   2241 
   2242     if test -n "$ac_subst_files"; then
   2243       $as_echo "## ------------------- ##
   2244 ## File substitutions. ##
   2245 ## ------------------- ##"
   2246       echo
   2247       for ac_var in $ac_subst_files
   2248       do
   2249 	eval ac_val=\$$ac_var
   2250 	case $ac_val in
   2251 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2252 	esac
   2253 	$as_echo "$ac_var='\''$ac_val'\''"
   2254       done | sort
   2255       echo
   2256     fi
   2257 
   2258     if test -s confdefs.h; then
   2259       $as_echo "## ----------- ##
   2260 ## confdefs.h. ##
   2261 ## ----------- ##"
   2262       echo
   2263       cat confdefs.h
   2264       echo
   2265     fi
   2266     test "$ac_signal" != 0 &&
   2267       $as_echo "$as_me: caught signal $ac_signal"
   2268     $as_echo "$as_me: exit $exit_status"
   2269   } >&5
   2270   rm -f core *.core core.conftest.* &&
   2271     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2272     exit $exit_status
   2273 ' 0
   2274 for ac_signal in 1 2 13 15; do
   2275   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2276 done
   2277 ac_signal=0
   2278 
   2279 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2280 rm -f -r conftest* confdefs.h
   2281 
   2282 $as_echo "/* confdefs.h */" > confdefs.h
   2283 
   2284 # Predefined preprocessor variables.
   2285 
   2286 cat >>confdefs.h <<_ACEOF
   2287 #define PACKAGE_NAME "$PACKAGE_NAME"
   2288 _ACEOF
   2289 
   2290 cat >>confdefs.h <<_ACEOF
   2291 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2292 _ACEOF
   2293 
   2294 cat >>confdefs.h <<_ACEOF
   2295 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2296 _ACEOF
   2297 
   2298 cat >>confdefs.h <<_ACEOF
   2299 #define PACKAGE_STRING "$PACKAGE_STRING"
   2300 _ACEOF
   2301 
   2302 cat >>confdefs.h <<_ACEOF
   2303 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2304 _ACEOF
   2305 
   2306 cat >>confdefs.h <<_ACEOF
   2307 #define PACKAGE_URL "$PACKAGE_URL"
   2308 _ACEOF
   2309 
   2310 
   2311 # Let the site file select an alternate cache file if it wants to.
   2312 # Prefer an explicitly selected file to automatically selected ones.
   2313 ac_site_file1=NONE
   2314 ac_site_file2=NONE
   2315 if test -n "$CONFIG_SITE"; then
   2316   # We do not want a PATH search for config.site.
   2317   case $CONFIG_SITE in #((
   2318     -*)  ac_site_file1=./$CONFIG_SITE;;
   2319     */*) ac_site_file1=$CONFIG_SITE;;
   2320     *)   ac_site_file1=./$CONFIG_SITE;;
   2321   esac
   2322 elif test "x$prefix" != xNONE; then
   2323   ac_site_file1=$prefix/share/config.site
   2324   ac_site_file2=$prefix/etc/config.site
   2325 else
   2326   ac_site_file1=$ac_default_prefix/share/config.site
   2327   ac_site_file2=$ac_default_prefix/etc/config.site
   2328 fi
   2329 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2330 do
   2331   test "x$ac_site_file" = xNONE && continue
   2332   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2333     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2334 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2335     sed 's/^/| /' "$ac_site_file" >&5
   2336     . "$ac_site_file" \
   2337       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2339 as_fn_error $? "failed to load site script $ac_site_file
   2340 See \`config.log' for more details" "$LINENO" 5; }
   2341   fi
   2342 done
   2343 
   2344 if test -r "$cache_file"; then
   2345   # Some versions of bash will fail to source /dev/null (special files
   2346   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2347   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2348     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2349 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2350     case $cache_file in
   2351       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2352       *)                      . "./$cache_file";;
   2353     esac
   2354   fi
   2355 else
   2356   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2357 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2358   >$cache_file
   2359 fi
   2360 
   2361 # Check that the precious variables saved in the cache have kept the same
   2362 # value.
   2363 ac_cache_corrupted=false
   2364 for ac_var in $ac_precious_vars; do
   2365   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2366   eval ac_new_set=\$ac_env_${ac_var}_set
   2367   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2368   eval ac_new_val=\$ac_env_${ac_var}_value
   2369   case $ac_old_set,$ac_new_set in
   2370     set,)
   2371       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2372 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2373       ac_cache_corrupted=: ;;
   2374     ,set)
   2375       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2376 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2377       ac_cache_corrupted=: ;;
   2378     ,);;
   2379     *)
   2380       if test "x$ac_old_val" != "x$ac_new_val"; then
   2381 	# differences in whitespace do not lead to failure.
   2382 	ac_old_val_w=`echo x $ac_old_val`
   2383 	ac_new_val_w=`echo x $ac_new_val`
   2384 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2385 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2386 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2387 	  ac_cache_corrupted=:
   2388 	else
   2389 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2390 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2391 	  eval $ac_var=\$ac_old_val
   2392 	fi
   2393 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2394 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2395 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2396 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2397       fi;;
   2398   esac
   2399   # Pass precious variables to config.status.
   2400   if test "$ac_new_set" = set; then
   2401     case $ac_new_val in
   2402     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2403     *) ac_arg=$ac_var=$ac_new_val ;;
   2404     esac
   2405     case " $ac_configure_args " in
   2406       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2407       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2408     esac
   2409   fi
   2410 done
   2411 if $ac_cache_corrupted; then
   2412   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2413 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2414   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2415 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2416   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2417 fi
   2418 ## -------------------- ##
   2419 ## Main body of script. ##
   2420 ## -------------------- ##
   2421 
   2422 ac_ext=c
   2423 ac_cpp='$CPP $CPPFLAGS'
   2424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2427 
   2428 
   2429 ac_aux_dir=
   2430 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2431   if test -f "$ac_dir/install-sh"; then
   2432     ac_aux_dir=$ac_dir
   2433     ac_install_sh="$ac_aux_dir/install-sh -c"
   2434     break
   2435   elif test -f "$ac_dir/install.sh"; then
   2436     ac_aux_dir=$ac_dir
   2437     ac_install_sh="$ac_aux_dir/install.sh -c"
   2438     break
   2439   elif test -f "$ac_dir/shtool"; then
   2440     ac_aux_dir=$ac_dir
   2441     ac_install_sh="$ac_aux_dir/shtool install -c"
   2442     break
   2443   fi
   2444 done
   2445 if test -z "$ac_aux_dir"; then
   2446   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2447 fi
   2448 
   2449 # These three variables are undocumented and unsupported,
   2450 # and are intended to be withdrawn in a future Autoconf release.
   2451 # They can cause serious problems if a builder's source tree is in a directory
   2452 # whose full name contains unusual characters.
   2453 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2454 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2455 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2456 
   2457 
   2458 # Make sure we can run config.sub.
   2459 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2460   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2461 
   2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2463 $as_echo_n "checking build system type... " >&6; }
   2464 if ${ac_cv_build+:} false; then :
   2465   $as_echo_n "(cached) " >&6
   2466 else
   2467   ac_build_alias=$build_alias
   2468 test "x$ac_build_alias" = x &&
   2469   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2470 test "x$ac_build_alias" = x &&
   2471   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2472 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2473   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2474 
   2475 fi
   2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2477 $as_echo "$ac_cv_build" >&6; }
   2478 case $ac_cv_build in
   2479 *-*-*) ;;
   2480 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2481 esac
   2482 build=$ac_cv_build
   2483 ac_save_IFS=$IFS; IFS='-'
   2484 set x $ac_cv_build
   2485 shift
   2486 build_cpu=$1
   2487 build_vendor=$2
   2488 shift; shift
   2489 # Remember, the first character of IFS is used to create $*,
   2490 # except with old shells:
   2491 build_os=$*
   2492 IFS=$ac_save_IFS
   2493 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2494 
   2495 
   2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2497 $as_echo_n "checking host system type... " >&6; }
   2498 if ${ac_cv_host+:} false; then :
   2499   $as_echo_n "(cached) " >&6
   2500 else
   2501   if test "x$host_alias" = x; then
   2502   ac_cv_host=$ac_cv_build
   2503 else
   2504   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2505     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2506 fi
   2507 
   2508 fi
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2510 $as_echo "$ac_cv_host" >&6; }
   2511 case $ac_cv_host in
   2512 *-*-*) ;;
   2513 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2514 esac
   2515 host=$ac_cv_host
   2516 ac_save_IFS=$IFS; IFS='-'
   2517 set x $ac_cv_host
   2518 shift
   2519 host_cpu=$1
   2520 host_vendor=$2
   2521 shift; shift
   2522 # Remember, the first character of IFS is used to create $*,
   2523 # except with old shells:
   2524 host_os=$*
   2525 IFS=$ac_save_IFS
   2526 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2527 
   2528 
   2529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2530 $as_echo_n "checking target system type... " >&6; }
   2531 if ${ac_cv_target+:} false; then :
   2532   $as_echo_n "(cached) " >&6
   2533 else
   2534   if test "x$target_alias" = x; then
   2535   ac_cv_target=$ac_cv_host
   2536 else
   2537   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2538     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2539 fi
   2540 
   2541 fi
   2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2543 $as_echo "$ac_cv_target" >&6; }
   2544 case $ac_cv_target in
   2545 *-*-*) ;;
   2546 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2547 esac
   2548 target=$ac_cv_target
   2549 ac_save_IFS=$IFS; IFS='-'
   2550 set x $ac_cv_target
   2551 shift
   2552 target_cpu=$1
   2553 target_vendor=$2
   2554 shift; shift
   2555 # Remember, the first character of IFS is used to create $*,
   2556 # except with old shells:
   2557 target_os=$*
   2558 IFS=$ac_save_IFS
   2559 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2560 
   2561 
   2562 # The aliases save the names the user supplied, while $host etc.
   2563 # will get canonicalized.
   2564 test -n "$target_alias" &&
   2565   test "$program_prefix$program_suffix$program_transform_name" = \
   2566     NONENONEs,x,x, &&
   2567   program_prefix=${target_alias}-
   2568 am__api_version='1.15'
   2569 
   2570 # Find a good install program.  We prefer a C program (faster),
   2571 # so one script is as good as another.  But avoid the broken or
   2572 # incompatible versions:
   2573 # SysV /etc/install, /usr/sbin/install
   2574 # SunOS /usr/etc/install
   2575 # IRIX /sbin/install
   2576 # AIX /bin/install
   2577 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2578 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2579 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2580 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2581 # OS/2's system install, which has a completely different semantic
   2582 # ./install, which can be erroneously created by make from ./install.sh.
   2583 # Reject install programs that cannot install multiple files.
   2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2585 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2586 if test -z "$INSTALL"; then
   2587 if ${ac_cv_path_install+:} false; then :
   2588   $as_echo_n "(cached) " >&6
   2589 else
   2590   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2591 for as_dir in $PATH
   2592 do
   2593   IFS=$as_save_IFS
   2594   test -z "$as_dir" && as_dir=.
   2595     # Account for people who put trailing slashes in PATH elements.
   2596 case $as_dir/ in #((
   2597   ./ | .// | /[cC]/* | \
   2598   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2599   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2600   /usr/ucb/* ) ;;
   2601   *)
   2602     # OSF1 and SCO ODT 3.0 have their own names for install.
   2603     # Don't use installbsd from OSF since it installs stuff as root
   2604     # by default.
   2605     for ac_prog in ginstall scoinst install; do
   2606       for ac_exec_ext in '' $ac_executable_extensions; do
   2607 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2608 	  if test $ac_prog = install &&
   2609 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2610 	    # AIX install.  It has an incompatible calling convention.
   2611 	    :
   2612 	  elif test $ac_prog = install &&
   2613 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2614 	    # program-specific install script used by HP pwplus--don't use.
   2615 	    :
   2616 	  else
   2617 	    rm -rf conftest.one conftest.two conftest.dir
   2618 	    echo one > conftest.one
   2619 	    echo two > conftest.two
   2620 	    mkdir conftest.dir
   2621 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2622 	      test -s conftest.one && test -s conftest.two &&
   2623 	      test -s conftest.dir/conftest.one &&
   2624 	      test -s conftest.dir/conftest.two
   2625 	    then
   2626 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2627 	      break 3
   2628 	    fi
   2629 	  fi
   2630 	fi
   2631       done
   2632     done
   2633     ;;
   2634 esac
   2635 
   2636   done
   2637 IFS=$as_save_IFS
   2638 
   2639 rm -rf conftest.one conftest.two conftest.dir
   2640 
   2641 fi
   2642   if test "${ac_cv_path_install+set}" = set; then
   2643     INSTALL=$ac_cv_path_install
   2644   else
   2645     # As a last resort, use the slow shell script.  Don't cache a
   2646     # value for INSTALL within a source directory, because that will
   2647     # break other packages using the cache if that directory is
   2648     # removed, or if the value is a relative name.
   2649     INSTALL=$ac_install_sh
   2650   fi
   2651 fi
   2652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2653 $as_echo "$INSTALL" >&6; }
   2654 
   2655 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2656 # It thinks the first close brace ends the variable substitution.
   2657 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2658 
   2659 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2660 
   2661 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2662 
   2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2664 $as_echo_n "checking whether build environment is sane... " >&6; }
   2665 # Reject unsafe characters in $srcdir or the absolute working directory
   2666 # name.  Accept space and tab only in the latter.
   2667 am_lf='
   2668 '
   2669 case `pwd` in
   2670   *[\\\"\#\$\&\'\`$am_lf]*)
   2671     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2672 esac
   2673 case $srcdir in
   2674   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2675     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2676 esac
   2677 
   2678 # Do 'set' in a subshell so we don't clobber the current shell's
   2679 # arguments.  Must try -L first in case configure is actually a
   2680 # symlink; some systems play weird games with the mod time of symlinks
   2681 # (eg FreeBSD returns the mod time of the symlink's containing
   2682 # directory).
   2683 if (
   2684    am_has_slept=no
   2685    for am_try in 1 2; do
   2686      echo "timestamp, slept: $am_has_slept" > conftest.file
   2687      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2688      if test "$*" = "X"; then
   2689 	# -L didn't work.
   2690 	set X `ls -t "$srcdir/configure" conftest.file`
   2691      fi
   2692      if test "$*" != "X $srcdir/configure conftest.file" \
   2693 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2694 
   2695 	# If neither matched, then we have a broken ls.  This can happen
   2696 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2697 	# broken ls alias from the environment.  This has actually
   2698 	# happened.  Such a system could not be considered "sane".
   2699 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2700   alias in your environment" "$LINENO" 5
   2701      fi
   2702      if test "$2" = conftest.file || test $am_try -eq 2; then
   2703        break
   2704      fi
   2705      # Just in case.
   2706      sleep 1
   2707      am_has_slept=yes
   2708    done
   2709    test "$2" = conftest.file
   2710    )
   2711 then
   2712    # Ok.
   2713    :
   2714 else
   2715    as_fn_error $? "newly created file is older than distributed files!
   2716 Check your system clock" "$LINENO" 5
   2717 fi
   2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2719 $as_echo "yes" >&6; }
   2720 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2721 # generated files are strictly newer.
   2722 am_sleep_pid=
   2723 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2724   ( sleep 1 ) &
   2725   am_sleep_pid=$!
   2726 fi
   2727 
   2728 rm -f conftest.file
   2729 
   2730 test "$program_prefix" != NONE &&
   2731   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2732 # Use a double $ so make ignores it.
   2733 test "$program_suffix" != NONE &&
   2734   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2735 # Double any \ or $.
   2736 # By default was `s,x,x', remove it if useless.
   2737 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2738 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2739 
   2740 # Expand $ac_aux_dir to an absolute path.
   2741 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2742 
   2743 if test x"${MISSING+set}" != xset; then
   2744   case $am_aux_dir in
   2745   *\ * | *\	*)
   2746     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2747   *)
   2748     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2749   esac
   2750 fi
   2751 # Use eval to expand $SHELL
   2752 if eval "$MISSING --is-lightweight"; then
   2753   am_missing_run="$MISSING "
   2754 else
   2755   am_missing_run=
   2756   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2757 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2758 fi
   2759 
   2760 if test x"${install_sh+set}" != xset; then
   2761   case $am_aux_dir in
   2762   *\ * | *\	*)
   2763     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2764   *)
   2765     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2766   esac
   2767 fi
   2768 
   2769 # Installed binaries are usually stripped using 'strip' when the user
   2770 # run "make install-strip".  However 'strip' might not be the right
   2771 # tool to use in cross-compilation environments, therefore Automake
   2772 # will honor the 'STRIP' environment variable to overrule this program.
   2773 if test "$cross_compiling" != no; then
   2774   if test -n "$ac_tool_prefix"; then
   2775   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2776 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2778 $as_echo_n "checking for $ac_word... " >&6; }
   2779 if ${ac_cv_prog_STRIP+:} false; then :
   2780   $as_echo_n "(cached) " >&6
   2781 else
   2782   if test -n "$STRIP"; then
   2783   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2784 else
   2785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2786 for as_dir in $PATH
   2787 do
   2788   IFS=$as_save_IFS
   2789   test -z "$as_dir" && as_dir=.
   2790     for ac_exec_ext in '' $ac_executable_extensions; do
   2791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2792     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2794     break 2
   2795   fi
   2796 done
   2797   done
   2798 IFS=$as_save_IFS
   2799 
   2800 fi
   2801 fi
   2802 STRIP=$ac_cv_prog_STRIP
   2803 if test -n "$STRIP"; then
   2804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2805 $as_echo "$STRIP" >&6; }
   2806 else
   2807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2808 $as_echo "no" >&6; }
   2809 fi
   2810 
   2811 
   2812 fi
   2813 if test -z "$ac_cv_prog_STRIP"; then
   2814   ac_ct_STRIP=$STRIP
   2815   # Extract the first word of "strip", so it can be a program name with args.
   2816 set dummy strip; ac_word=$2
   2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2818 $as_echo_n "checking for $ac_word... " >&6; }
   2819 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2820   $as_echo_n "(cached) " >&6
   2821 else
   2822   if test -n "$ac_ct_STRIP"; then
   2823   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2824 else
   2825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2826 for as_dir in $PATH
   2827 do
   2828   IFS=$as_save_IFS
   2829   test -z "$as_dir" && as_dir=.
   2830     for ac_exec_ext in '' $ac_executable_extensions; do
   2831   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2832     ac_cv_prog_ac_ct_STRIP="strip"
   2833     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2834     break 2
   2835   fi
   2836 done
   2837   done
   2838 IFS=$as_save_IFS
   2839 
   2840 fi
   2841 fi
   2842 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2843 if test -n "$ac_ct_STRIP"; then
   2844   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2845 $as_echo "$ac_ct_STRIP" >&6; }
   2846 else
   2847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2848 $as_echo "no" >&6; }
   2849 fi
   2850 
   2851   if test "x$ac_ct_STRIP" = x; then
   2852     STRIP=":"
   2853   else
   2854     case $cross_compiling:$ac_tool_warned in
   2855 yes:)
   2856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2858 ac_tool_warned=yes ;;
   2859 esac
   2860     STRIP=$ac_ct_STRIP
   2861   fi
   2862 else
   2863   STRIP="$ac_cv_prog_STRIP"
   2864 fi
   2865 
   2866 fi
   2867 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2868 
   2869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2870 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2871 if test -z "$MKDIR_P"; then
   2872   if ${ac_cv_path_mkdir+:} false; then :
   2873   $as_echo_n "(cached) " >&6
   2874 else
   2875   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2876 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2877 do
   2878   IFS=$as_save_IFS
   2879   test -z "$as_dir" && as_dir=.
   2880     for ac_prog in mkdir gmkdir; do
   2881 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2882 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2883 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2884 	     'mkdir (GNU coreutils) '* | \
   2885 	     'mkdir (coreutils) '* | \
   2886 	     'mkdir (fileutils) '4.1*)
   2887 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2888 	       break 3;;
   2889 	   esac
   2890 	 done
   2891        done
   2892   done
   2893 IFS=$as_save_IFS
   2894 
   2895 fi
   2896 
   2897   test -d ./--version && rmdir ./--version
   2898   if test "${ac_cv_path_mkdir+set}" = set; then
   2899     MKDIR_P="$ac_cv_path_mkdir -p"
   2900   else
   2901     # As a last resort, use the slow shell script.  Don't cache a
   2902     # value for MKDIR_P within a source directory, because that will
   2903     # break other packages using the cache if that directory is
   2904     # removed, or if the value is a relative name.
   2905     MKDIR_P="$ac_install_sh -d"
   2906   fi
   2907 fi
   2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2909 $as_echo "$MKDIR_P" >&6; }
   2910 
   2911 for ac_prog in gawk mawk nawk awk
   2912 do
   2913   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2914 set dummy $ac_prog; ac_word=$2
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2916 $as_echo_n "checking for $ac_word... " >&6; }
   2917 if ${ac_cv_prog_AWK+:} false; then :
   2918   $as_echo_n "(cached) " >&6
   2919 else
   2920   if test -n "$AWK"; then
   2921   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2922 else
   2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2924 for as_dir in $PATH
   2925 do
   2926   IFS=$as_save_IFS
   2927   test -z "$as_dir" && as_dir=.
   2928     for ac_exec_ext in '' $ac_executable_extensions; do
   2929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2930     ac_cv_prog_AWK="$ac_prog"
   2931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2932     break 2
   2933   fi
   2934 done
   2935   done
   2936 IFS=$as_save_IFS
   2937 
   2938 fi
   2939 fi
   2940 AWK=$ac_cv_prog_AWK
   2941 if test -n "$AWK"; then
   2942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2943 $as_echo "$AWK" >&6; }
   2944 else
   2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2946 $as_echo "no" >&6; }
   2947 fi
   2948 
   2949 
   2950   test -n "$AWK" && break
   2951 done
   2952 
   2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2954 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2955 set x ${MAKE-make}
   2956 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2957 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2958   $as_echo_n "(cached) " >&6
   2959 else
   2960   cat >conftest.make <<\_ACEOF
   2961 SHELL = /bin/sh
   2962 all:
   2963 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2964 _ACEOF
   2965 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2966 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2967   *@@@%%%=?*=@@@%%%*)
   2968     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2969   *)
   2970     eval ac_cv_prog_make_${ac_make}_set=no;;
   2971 esac
   2972 rm -f conftest.make
   2973 fi
   2974 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2975   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2976 $as_echo "yes" >&6; }
   2977   SET_MAKE=
   2978 else
   2979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2980 $as_echo "no" >&6; }
   2981   SET_MAKE="MAKE=${MAKE-make}"
   2982 fi
   2983 
   2984 rm -rf .tst 2>/dev/null
   2985 mkdir .tst 2>/dev/null
   2986 if test -d .tst; then
   2987   am__leading_dot=.
   2988 else
   2989   am__leading_dot=_
   2990 fi
   2991 rmdir .tst 2>/dev/null
   2992 
   2993 # Check whether --enable-silent-rules was given.
   2994 if test "${enable_silent_rules+set}" = set; then :
   2995   enableval=$enable_silent_rules;
   2996 fi
   2997 
   2998 case $enable_silent_rules in # (((
   2999   yes) AM_DEFAULT_VERBOSITY=0;;
   3000    no) AM_DEFAULT_VERBOSITY=1;;
   3001     *) AM_DEFAULT_VERBOSITY=1;;
   3002 esac
   3003 am_make=${MAKE-make}
   3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3005 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3006 if ${am_cv_make_support_nested_variables+:} false; then :
   3007   $as_echo_n "(cached) " >&6
   3008 else
   3009   if $as_echo 'TRUE=$(BAR$(V))
   3010 BAR0=false
   3011 BAR1=true
   3012 V=1
   3013 am__doit:
   3014 	@$(TRUE)
   3015 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3016   am_cv_make_support_nested_variables=yes
   3017 else
   3018   am_cv_make_support_nested_variables=no
   3019 fi
   3020 fi
   3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3022 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3023 if test $am_cv_make_support_nested_variables = yes; then
   3024     AM_V='$(V)'
   3025   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3026 else
   3027   AM_V=$AM_DEFAULT_VERBOSITY
   3028   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3029 fi
   3030 AM_BACKSLASH='\'
   3031 
   3032 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3033   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3034   # is not polluted with repeated "-I."
   3035   am__isrc=' -I$(srcdir)'
   3036   # test to see if srcdir already configured
   3037   if test -f $srcdir/config.status; then
   3038     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3039   fi
   3040 fi
   3041 
   3042 # test whether we have cygpath
   3043 if test -z "$CYGPATH_W"; then
   3044   if (cygpath --version) >/dev/null 2>/dev/null; then
   3045     CYGPATH_W='cygpath -w'
   3046   else
   3047     CYGPATH_W=echo
   3048   fi
   3049 fi
   3050 
   3051 
   3052 # Define the identity of the package.
   3053  PACKAGE='gprofng'
   3054  VERSION='2.42'
   3055 
   3056 
   3057 cat >>confdefs.h <<_ACEOF
   3058 #define PACKAGE "$PACKAGE"
   3059 _ACEOF
   3060 
   3061 
   3062 cat >>confdefs.h <<_ACEOF
   3063 #define VERSION "$VERSION"
   3064 _ACEOF
   3065 
   3066 # Some tools Automake needs.
   3067 
   3068 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3069 
   3070 
   3071 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3072 
   3073 
   3074 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3075 
   3076 
   3077 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3078 
   3079 
   3080 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3081 
   3082 # For better backward compatibility.  To be removed once Automake 1.9.x
   3083 # dies out for good.  For more background, see:
   3084 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3085 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3086 mkdir_p='$(MKDIR_P)'
   3087 
   3088 # We need awk for the "check" target (and possibly the TAP driver).  The
   3089 # system "awk" is bad on some platforms.
   3090 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3091 # in the wild :-(  We should find a proper way to deprecate it ...
   3092 AMTAR='$${TAR-tar}'
   3093 
   3094 
   3095 # We'll loop over all known methods to create a tar archive until one works.
   3096 _am_tools='gnutar  pax cpio none'
   3097 
   3098 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3099 
   3100 
   3101 
   3102 
   3103 
   3104 
   3105 # POSIX will say in a future version that running "rm -f" with no argument
   3106 # is OK; and we want to be able to make that assumption in our Makefile
   3107 # recipes.  So use an aggressive probe to check that the usage we want is
   3108 # actually supported "in the wild" to an acceptable degree.
   3109 # See automake bug#10828.
   3110 # To make any issue more visible, cause the running configure to be aborted
   3111 # by default if the 'rm' program in use doesn't match our expectations; the
   3112 # user can still override this though.
   3113 if rm -f && rm -fr && rm -rf; then : OK; else
   3114   cat >&2 <<'END'
   3115 Oops!
   3116 
   3117 Your 'rm' program seems unable to run without file operands specified
   3118 on the command line, even when the '-f' option is present.  This is contrary
   3119 to the behaviour of most rm programs out there, and not conforming with
   3120 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3121 
   3122 Please tell bug-automake@gnu.org about your system, including the value
   3123 of your $PATH and any error possibly output before this message.  This
   3124 can help us improve future automake versions.
   3125 
   3126 END
   3127   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3128     echo 'Configuration will proceed anyway, since you have set the' >&2
   3129     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3130     echo >&2
   3131   else
   3132     cat >&2 <<'END'
   3133 Aborting the configuration process, to ensure you take notice of the issue.
   3134 
   3135 You can download and install GNU coreutils to get an 'rm' implementation
   3136 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3137 
   3138 If you want to complete the configuration process using your problematic
   3139 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3140 to "yes", and re-run configure.
   3141 
   3142 END
   3143     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3144   fi
   3145 fi
   3146 
   3147 
   3148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3149 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3150     # Check whether --enable-maintainer-mode was given.
   3151 if test "${enable_maintainer_mode+set}" = set; then :
   3152   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3153 else
   3154   USE_MAINTAINER_MODE=no
   3155 fi
   3156 
   3157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3158 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3159    if test $USE_MAINTAINER_MODE = yes; then
   3160   MAINTAINER_MODE_TRUE=
   3161   MAINTAINER_MODE_FALSE='#'
   3162 else
   3163   MAINTAINER_MODE_TRUE='#'
   3164   MAINTAINER_MODE_FALSE=
   3165 fi
   3166 
   3167   MAINT=$MAINTAINER_MODE_TRUE
   3168 
   3169 
   3170 
   3171 DEPDIR="${am__leading_dot}deps"
   3172 
   3173 ac_config_commands="$ac_config_commands depfiles"
   3174 
   3175 
   3176 am_make=${MAKE-make}
   3177 cat > confinc << 'END'
   3178 am__doit:
   3179 	@echo this is the am__doit target
   3180 .PHONY: am__doit
   3181 END
   3182 # If we don't find an include directive, just comment out the code.
   3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3184 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3185 am__include="#"
   3186 am__quote=
   3187 _am_result=none
   3188 # First try GNU make style include.
   3189 echo "include confinc" > confmf
   3190 # Ignore all kinds of additional output from 'make'.
   3191 case `$am_make -s -f confmf 2> /dev/null` in #(
   3192 *the\ am__doit\ target*)
   3193   am__include=include
   3194   am__quote=
   3195   _am_result=GNU
   3196   ;;
   3197 esac
   3198 # Now try BSD make style include.
   3199 if test "$am__include" = "#"; then
   3200    echo '.include "confinc"' > confmf
   3201    case `$am_make -s -f confmf 2> /dev/null` in #(
   3202    *the\ am__doit\ target*)
   3203      am__include=.include
   3204      am__quote="\""
   3205      _am_result=BSD
   3206      ;;
   3207    esac
   3208 fi
   3209 
   3210 
   3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3212 $as_echo "$_am_result" >&6; }
   3213 rm -f confinc confmf
   3214 
   3215 # Check whether --enable-dependency-tracking was given.
   3216 if test "${enable_dependency_tracking+set}" = set; then :
   3217   enableval=$enable_dependency_tracking;
   3218 fi
   3219 
   3220 if test "x$enable_dependency_tracking" != xno; then
   3221   am_depcomp="$ac_aux_dir/depcomp"
   3222   AMDEPBACKSLASH='\'
   3223   am__nodep='_no'
   3224 fi
   3225  if test "x$enable_dependency_tracking" != xno; then
   3226   AMDEP_TRUE=
   3227   AMDEP_FALSE='#'
   3228 else
   3229   AMDEP_TRUE='#'
   3230   AMDEP_FALSE=
   3231 fi
   3232 
   3233 
   3234 ac_ext=c
   3235 ac_cpp='$CPP $CPPFLAGS'
   3236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3239 if test -n "$ac_tool_prefix"; then
   3240   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3241 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3243 $as_echo_n "checking for $ac_word... " >&6; }
   3244 if ${ac_cv_prog_CC+:} false; then :
   3245   $as_echo_n "(cached) " >&6
   3246 else
   3247   if test -n "$CC"; then
   3248   ac_cv_prog_CC="$CC" # Let the user override the test.
   3249 else
   3250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3251 for as_dir in $PATH
   3252 do
   3253   IFS=$as_save_IFS
   3254   test -z "$as_dir" && as_dir=.
   3255     for ac_exec_ext in '' $ac_executable_extensions; do
   3256   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3257     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3258     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3259     break 2
   3260   fi
   3261 done
   3262   done
   3263 IFS=$as_save_IFS
   3264 
   3265 fi
   3266 fi
   3267 CC=$ac_cv_prog_CC
   3268 if test -n "$CC"; then
   3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3270 $as_echo "$CC" >&6; }
   3271 else
   3272   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3273 $as_echo "no" >&6; }
   3274 fi
   3275 
   3276 
   3277 fi
   3278 if test -z "$ac_cv_prog_CC"; then
   3279   ac_ct_CC=$CC
   3280   # Extract the first word of "gcc", so it can be a program name with args.
   3281 set dummy gcc; ac_word=$2
   3282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3283 $as_echo_n "checking for $ac_word... " >&6; }
   3284 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3285   $as_echo_n "(cached) " >&6
   3286 else
   3287   if test -n "$ac_ct_CC"; then
   3288   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3289 else
   3290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3291 for as_dir in $PATH
   3292 do
   3293   IFS=$as_save_IFS
   3294   test -z "$as_dir" && as_dir=.
   3295     for ac_exec_ext in '' $ac_executable_extensions; do
   3296   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3297     ac_cv_prog_ac_ct_CC="gcc"
   3298     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3299     break 2
   3300   fi
   3301 done
   3302   done
   3303 IFS=$as_save_IFS
   3304 
   3305 fi
   3306 fi
   3307 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3308 if test -n "$ac_ct_CC"; then
   3309   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3310 $as_echo "$ac_ct_CC" >&6; }
   3311 else
   3312   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3313 $as_echo "no" >&6; }
   3314 fi
   3315 
   3316   if test "x$ac_ct_CC" = x; then
   3317     CC=""
   3318   else
   3319     case $cross_compiling:$ac_tool_warned in
   3320 yes:)
   3321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3322 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3323 ac_tool_warned=yes ;;
   3324 esac
   3325     CC=$ac_ct_CC
   3326   fi
   3327 else
   3328   CC="$ac_cv_prog_CC"
   3329 fi
   3330 
   3331 if test -z "$CC"; then
   3332           if test -n "$ac_tool_prefix"; then
   3333     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3334 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3336 $as_echo_n "checking for $ac_word... " >&6; }
   3337 if ${ac_cv_prog_CC+:} false; then :
   3338   $as_echo_n "(cached) " >&6
   3339 else
   3340   if test -n "$CC"; then
   3341   ac_cv_prog_CC="$CC" # Let the user override the test.
   3342 else
   3343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3344 for as_dir in $PATH
   3345 do
   3346   IFS=$as_save_IFS
   3347   test -z "$as_dir" && as_dir=.
   3348     for ac_exec_ext in '' $ac_executable_extensions; do
   3349   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3350     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3352     break 2
   3353   fi
   3354 done
   3355   done
   3356 IFS=$as_save_IFS
   3357 
   3358 fi
   3359 fi
   3360 CC=$ac_cv_prog_CC
   3361 if test -n "$CC"; then
   3362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3363 $as_echo "$CC" >&6; }
   3364 else
   3365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3366 $as_echo "no" >&6; }
   3367 fi
   3368 
   3369 
   3370   fi
   3371 fi
   3372 if test -z "$CC"; then
   3373   # Extract the first word of "cc", so it can be a program name with args.
   3374 set dummy cc; ac_word=$2
   3375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3376 $as_echo_n "checking for $ac_word... " >&6; }
   3377 if ${ac_cv_prog_CC+:} false; then :
   3378   $as_echo_n "(cached) " >&6
   3379 else
   3380   if test -n "$CC"; then
   3381   ac_cv_prog_CC="$CC" # Let the user override the test.
   3382 else
   3383   ac_prog_rejected=no
   3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3385 for as_dir in $PATH
   3386 do
   3387   IFS=$as_save_IFS
   3388   test -z "$as_dir" && as_dir=.
   3389     for ac_exec_ext in '' $ac_executable_extensions; do
   3390   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3391     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3392        ac_prog_rejected=yes
   3393        continue
   3394      fi
   3395     ac_cv_prog_CC="cc"
   3396     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3397     break 2
   3398   fi
   3399 done
   3400   done
   3401 IFS=$as_save_IFS
   3402 
   3403 if test $ac_prog_rejected = yes; then
   3404   # We found a bogon in the path, so make sure we never use it.
   3405   set dummy $ac_cv_prog_CC
   3406   shift
   3407   if test $# != 0; then
   3408     # We chose a different compiler from the bogus one.
   3409     # However, it has the same basename, so the bogon will be chosen
   3410     # first if we set CC to just the basename; use the full file name.
   3411     shift
   3412     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3413   fi
   3414 fi
   3415 fi
   3416 fi
   3417 CC=$ac_cv_prog_CC
   3418 if test -n "$CC"; then
   3419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3420 $as_echo "$CC" >&6; }
   3421 else
   3422   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3423 $as_echo "no" >&6; }
   3424 fi
   3425 
   3426 
   3427 fi
   3428 if test -z "$CC"; then
   3429   if test -n "$ac_tool_prefix"; then
   3430   for ac_prog in cl.exe
   3431   do
   3432     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3435 $as_echo_n "checking for $ac_word... " >&6; }
   3436 if ${ac_cv_prog_CC+:} false; then :
   3437   $as_echo_n "(cached) " >&6
   3438 else
   3439   if test -n "$CC"; then
   3440   ac_cv_prog_CC="$CC" # Let the user override the test.
   3441 else
   3442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3443 for as_dir in $PATH
   3444 do
   3445   IFS=$as_save_IFS
   3446   test -z "$as_dir" && as_dir=.
   3447     for ac_exec_ext in '' $ac_executable_extensions; do
   3448   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3449     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3450     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3451     break 2
   3452   fi
   3453 done
   3454   done
   3455 IFS=$as_save_IFS
   3456 
   3457 fi
   3458 fi
   3459 CC=$ac_cv_prog_CC
   3460 if test -n "$CC"; then
   3461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3462 $as_echo "$CC" >&6; }
   3463 else
   3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3465 $as_echo "no" >&6; }
   3466 fi
   3467 
   3468 
   3469     test -n "$CC" && break
   3470   done
   3471 fi
   3472 if test -z "$CC"; then
   3473   ac_ct_CC=$CC
   3474   for ac_prog in cl.exe
   3475 do
   3476   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3477 set dummy $ac_prog; ac_word=$2
   3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3479 $as_echo_n "checking for $ac_word... " >&6; }
   3480 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3481   $as_echo_n "(cached) " >&6
   3482 else
   3483   if test -n "$ac_ct_CC"; then
   3484   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3485 else
   3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3487 for as_dir in $PATH
   3488 do
   3489   IFS=$as_save_IFS
   3490   test -z "$as_dir" && as_dir=.
   3491     for ac_exec_ext in '' $ac_executable_extensions; do
   3492   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3493     ac_cv_prog_ac_ct_CC="$ac_prog"
   3494     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3495     break 2
   3496   fi
   3497 done
   3498   done
   3499 IFS=$as_save_IFS
   3500 
   3501 fi
   3502 fi
   3503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3504 if test -n "$ac_ct_CC"; then
   3505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3506 $as_echo "$ac_ct_CC" >&6; }
   3507 else
   3508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3509 $as_echo "no" >&6; }
   3510 fi
   3511 
   3512 
   3513   test -n "$ac_ct_CC" && break
   3514 done
   3515 
   3516   if test "x$ac_ct_CC" = x; then
   3517     CC=""
   3518   else
   3519     case $cross_compiling:$ac_tool_warned in
   3520 yes:)
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3523 ac_tool_warned=yes ;;
   3524 esac
   3525     CC=$ac_ct_CC
   3526   fi
   3527 fi
   3528 
   3529 fi
   3530 
   3531 
   3532 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3533 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3534 as_fn_error $? "no acceptable C compiler found in \$PATH
   3535 See \`config.log' for more details" "$LINENO" 5; }
   3536 
   3537 # Provide some information about the compiler.
   3538 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3539 set X $ac_compile
   3540 ac_compiler=$2
   3541 for ac_option in --version -v -V -qversion; do
   3542   { { ac_try="$ac_compiler $ac_option >&5"
   3543 case "(($ac_try" in
   3544   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3545   *) ac_try_echo=$ac_try;;
   3546 esac
   3547 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3548 $as_echo "$ac_try_echo"; } >&5
   3549   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3550   ac_status=$?
   3551   if test -s conftest.err; then
   3552     sed '10a\
   3553 ... rest of stderr output deleted ...
   3554          10q' conftest.err >conftest.er1
   3555     cat conftest.er1 >&5
   3556   fi
   3557   rm -f conftest.er1 conftest.err
   3558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3559   test $ac_status = 0; }
   3560 done
   3561 
   3562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3563 /* end confdefs.h.  */
   3564 
   3565 int
   3566 main ()
   3567 {
   3568 
   3569   ;
   3570   return 0;
   3571 }
   3572 _ACEOF
   3573 ac_clean_files_save=$ac_clean_files
   3574 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3575 # Try to create an executable without -o first, disregard a.out.
   3576 # It will help us diagnose broken compilers, and finding out an intuition
   3577 # of exeext.
   3578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3579 $as_echo_n "checking whether the C compiler works... " >&6; }
   3580 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3581 
   3582 # The possible output files:
   3583 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3584 
   3585 ac_rmfiles=
   3586 for ac_file in $ac_files
   3587 do
   3588   case $ac_file in
   3589     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3590     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3591   esac
   3592 done
   3593 rm -f $ac_rmfiles
   3594 
   3595 if { { ac_try="$ac_link_default"
   3596 case "(($ac_try" in
   3597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3598   *) ac_try_echo=$ac_try;;
   3599 esac
   3600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3601 $as_echo "$ac_try_echo"; } >&5
   3602   (eval "$ac_link_default") 2>&5
   3603   ac_status=$?
   3604   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3605   test $ac_status = 0; }; then :
   3606   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3607 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3608 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3609 # so that the user can short-circuit this test for compilers unknown to
   3610 # Autoconf.
   3611 for ac_file in $ac_files ''
   3612 do
   3613   test -f "$ac_file" || continue
   3614   case $ac_file in
   3615     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3616 	;;
   3617     [ab].out )
   3618 	# We found the default executable, but exeext='' is most
   3619 	# certainly right.
   3620 	break;;
   3621     *.* )
   3622 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3623 	then :; else
   3624 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3625 	fi
   3626 	# We set ac_cv_exeext here because the later test for it is not
   3627 	# safe: cross compilers may not add the suffix if given an `-o'
   3628 	# argument, so we may need to know it at that point already.
   3629 	# Even if this section looks crufty: it has the advantage of
   3630 	# actually working.
   3631 	break;;
   3632     * )
   3633 	break;;
   3634   esac
   3635 done
   3636 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3637 
   3638 else
   3639   ac_file=''
   3640 fi
   3641 if test -z "$ac_file"; then :
   3642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3643 $as_echo "no" >&6; }
   3644 $as_echo "$as_me: failed program was:" >&5
   3645 sed 's/^/| /' conftest.$ac_ext >&5
   3646 
   3647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3649 as_fn_error 77 "C compiler cannot create executables
   3650 See \`config.log' for more details" "$LINENO" 5; }
   3651 else
   3652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3653 $as_echo "yes" >&6; }
   3654 fi
   3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3656 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3658 $as_echo "$ac_file" >&6; }
   3659 ac_exeext=$ac_cv_exeext
   3660 
   3661 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3662 ac_clean_files=$ac_clean_files_save
   3663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3664 $as_echo_n "checking for suffix of executables... " >&6; }
   3665 if { { ac_try="$ac_link"
   3666 case "(($ac_try" in
   3667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3668   *) ac_try_echo=$ac_try;;
   3669 esac
   3670 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3671 $as_echo "$ac_try_echo"; } >&5
   3672   (eval "$ac_link") 2>&5
   3673   ac_status=$?
   3674   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3675   test $ac_status = 0; }; then :
   3676   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3677 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3678 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3679 # `rm'.
   3680 for ac_file in conftest.exe conftest conftest.*; do
   3681   test -f "$ac_file" || continue
   3682   case $ac_file in
   3683     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3684     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3685 	  break;;
   3686     * ) break;;
   3687   esac
   3688 done
   3689 else
   3690   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3692 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3693 See \`config.log' for more details" "$LINENO" 5; }
   3694 fi
   3695 rm -f conftest conftest$ac_cv_exeext
   3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3697 $as_echo "$ac_cv_exeext" >&6; }
   3698 
   3699 rm -f conftest.$ac_ext
   3700 EXEEXT=$ac_cv_exeext
   3701 ac_exeext=$EXEEXT
   3702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3703 /* end confdefs.h.  */
   3704 #include <stdio.h>
   3705 int
   3706 main ()
   3707 {
   3708 FILE *f = fopen ("conftest.out", "w");
   3709  return ferror (f) || fclose (f) != 0;
   3710 
   3711   ;
   3712   return 0;
   3713 }
   3714 _ACEOF
   3715 ac_clean_files="$ac_clean_files conftest.out"
   3716 # Check that the compiler produces executables we can run.  If not, either
   3717 # the compiler is broken, or we cross compile.
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3719 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3720 if test "$cross_compiling" != yes; then
   3721   { { ac_try="$ac_link"
   3722 case "(($ac_try" in
   3723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3724   *) ac_try_echo=$ac_try;;
   3725 esac
   3726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3727 $as_echo "$ac_try_echo"; } >&5
   3728   (eval "$ac_link") 2>&5
   3729   ac_status=$?
   3730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3731   test $ac_status = 0; }
   3732   if { ac_try='./conftest$ac_cv_exeext'
   3733   { { case "(($ac_try" in
   3734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3735   *) ac_try_echo=$ac_try;;
   3736 esac
   3737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3738 $as_echo "$ac_try_echo"; } >&5
   3739   (eval "$ac_try") 2>&5
   3740   ac_status=$?
   3741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3742   test $ac_status = 0; }; }; then
   3743     cross_compiling=no
   3744   else
   3745     if test "$cross_compiling" = maybe; then
   3746 	cross_compiling=yes
   3747     else
   3748 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3750 as_fn_error $? "cannot run C compiled programs.
   3751 If you meant to cross compile, use \`--host'.
   3752 See \`config.log' for more details" "$LINENO" 5; }
   3753     fi
   3754   fi
   3755 fi
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3757 $as_echo "$cross_compiling" >&6; }
   3758 
   3759 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3760 ac_clean_files=$ac_clean_files_save
   3761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3762 $as_echo_n "checking for suffix of object files... " >&6; }
   3763 if ${ac_cv_objext+:} false; then :
   3764   $as_echo_n "(cached) " >&6
   3765 else
   3766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3767 /* end confdefs.h.  */
   3768 
   3769 int
   3770 main ()
   3771 {
   3772 
   3773   ;
   3774   return 0;
   3775 }
   3776 _ACEOF
   3777 rm -f conftest.o conftest.obj
   3778 if { { ac_try="$ac_compile"
   3779 case "(($ac_try" in
   3780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3781   *) ac_try_echo=$ac_try;;
   3782 esac
   3783 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3784 $as_echo "$ac_try_echo"; } >&5
   3785   (eval "$ac_compile") 2>&5
   3786   ac_status=$?
   3787   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3788   test $ac_status = 0; }; then :
   3789   for ac_file in conftest.o conftest.obj conftest.*; do
   3790   test -f "$ac_file" || continue;
   3791   case $ac_file in
   3792     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3793     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3794        break;;
   3795   esac
   3796 done
   3797 else
   3798   $as_echo "$as_me: failed program was:" >&5
   3799 sed 's/^/| /' conftest.$ac_ext >&5
   3800 
   3801 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3802 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3803 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3804 See \`config.log' for more details" "$LINENO" 5; }
   3805 fi
   3806 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3807 fi
   3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3809 $as_echo "$ac_cv_objext" >&6; }
   3810 OBJEXT=$ac_cv_objext
   3811 ac_objext=$OBJEXT
   3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3813 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3814 if ${ac_cv_c_compiler_gnu+:} false; then :
   3815   $as_echo_n "(cached) " >&6
   3816 else
   3817   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3818 /* end confdefs.h.  */
   3819 
   3820 int
   3821 main ()
   3822 {
   3823 #ifndef __GNUC__
   3824        choke me
   3825 #endif
   3826 
   3827   ;
   3828   return 0;
   3829 }
   3830 _ACEOF
   3831 if ac_fn_c_try_compile "$LINENO"; then :
   3832   ac_compiler_gnu=yes
   3833 else
   3834   ac_compiler_gnu=no
   3835 fi
   3836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3837 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3838 
   3839 fi
   3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3841 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3842 if test $ac_compiler_gnu = yes; then
   3843   GCC=yes
   3844 else
   3845   GCC=
   3846 fi
   3847 ac_test_CFLAGS=${CFLAGS+set}
   3848 ac_save_CFLAGS=$CFLAGS
   3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3850 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3851 if ${ac_cv_prog_cc_g+:} false; then :
   3852   $as_echo_n "(cached) " >&6
   3853 else
   3854   ac_save_c_werror_flag=$ac_c_werror_flag
   3855    ac_c_werror_flag=yes
   3856    ac_cv_prog_cc_g=no
   3857    CFLAGS="-g"
   3858    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3859 /* end confdefs.h.  */
   3860 
   3861 int
   3862 main ()
   3863 {
   3864 
   3865   ;
   3866   return 0;
   3867 }
   3868 _ACEOF
   3869 if ac_fn_c_try_compile "$LINENO"; then :
   3870   ac_cv_prog_cc_g=yes
   3871 else
   3872   CFLAGS=""
   3873       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3874 /* end confdefs.h.  */
   3875 
   3876 int
   3877 main ()
   3878 {
   3879 
   3880   ;
   3881   return 0;
   3882 }
   3883 _ACEOF
   3884 if ac_fn_c_try_compile "$LINENO"; then :
   3885 
   3886 else
   3887   ac_c_werror_flag=$ac_save_c_werror_flag
   3888 	 CFLAGS="-g"
   3889 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3890 /* end confdefs.h.  */
   3891 
   3892 int
   3893 main ()
   3894 {
   3895 
   3896   ;
   3897   return 0;
   3898 }
   3899 _ACEOF
   3900 if ac_fn_c_try_compile "$LINENO"; then :
   3901   ac_cv_prog_cc_g=yes
   3902 fi
   3903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3904 fi
   3905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3906 fi
   3907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3908    ac_c_werror_flag=$ac_save_c_werror_flag
   3909 fi
   3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3911 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3912 if test "$ac_test_CFLAGS" = set; then
   3913   CFLAGS=$ac_save_CFLAGS
   3914 elif test $ac_cv_prog_cc_g = yes; then
   3915   if test "$GCC" = yes; then
   3916     CFLAGS="-g -O2"
   3917   else
   3918     CFLAGS="-g"
   3919   fi
   3920 else
   3921   if test "$GCC" = yes; then
   3922     CFLAGS="-O2"
   3923   else
   3924     CFLAGS=
   3925   fi
   3926 fi
   3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3928 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3929 if ${ac_cv_prog_cc_c89+:} false; then :
   3930   $as_echo_n "(cached) " >&6
   3931 else
   3932   ac_cv_prog_cc_c89=no
   3933 ac_save_CC=$CC
   3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3935 /* end confdefs.h.  */
   3936 #include <stdarg.h>
   3937 #include <stdio.h>
   3938 struct stat;
   3939 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3940 struct buf { int x; };
   3941 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3942 static char *e (p, i)
   3943      char **p;
   3944      int i;
   3945 {
   3946   return p[i];
   3947 }
   3948 static char *f (char * (*g) (char **, int), char **p, ...)
   3949 {
   3950   char *s;
   3951   va_list v;
   3952   va_start (v,p);
   3953   s = g (p, va_arg (v,int));
   3954   va_end (v);
   3955   return s;
   3956 }
   3957 
   3958 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3959    function prototypes and stuff, but not '\xHH' hex character constants.
   3960    These don't provoke an error unfortunately, instead are silently treated
   3961    as 'x'.  The following induces an error, until -std is added to get
   3962    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3963    array size at least.  It's necessary to write '\x00'==0 to get something
   3964    that's true only with -std.  */
   3965 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3966 
   3967 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3968    inside strings and character constants.  */
   3969 #define FOO(x) 'x'
   3970 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3971 
   3972 int test (int i, double x);
   3973 struct s1 {int (*f) (int a);};
   3974 struct s2 {int (*f) (double a);};
   3975 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3976 int argc;
   3977 char **argv;
   3978 int
   3979 main ()
   3980 {
   3981 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3982   ;
   3983   return 0;
   3984 }
   3985 _ACEOF
   3986 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3987 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3988 do
   3989   CC="$ac_save_CC $ac_arg"
   3990   if ac_fn_c_try_compile "$LINENO"; then :
   3991   ac_cv_prog_cc_c89=$ac_arg
   3992 fi
   3993 rm -f core conftest.err conftest.$ac_objext
   3994   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3995 done
   3996 rm -f conftest.$ac_ext
   3997 CC=$ac_save_CC
   3998 
   3999 fi
   4000 # AC_CACHE_VAL
   4001 case "x$ac_cv_prog_cc_c89" in
   4002   x)
   4003     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4004 $as_echo "none needed" >&6; } ;;
   4005   xno)
   4006     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4007 $as_echo "unsupported" >&6; } ;;
   4008   *)
   4009     CC="$CC $ac_cv_prog_cc_c89"
   4010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4011 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4012 esac
   4013 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4014 
   4015 fi
   4016 
   4017 ac_ext=c
   4018 ac_cpp='$CPP $CPPFLAGS'
   4019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4022 
   4023 ac_ext=c
   4024 ac_cpp='$CPP $CPPFLAGS'
   4025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4029 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4030 if ${am_cv_prog_cc_c_o+:} false; then :
   4031   $as_echo_n "(cached) " >&6
   4032 else
   4033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4034 /* end confdefs.h.  */
   4035 
   4036 int
   4037 main ()
   4038 {
   4039 
   4040   ;
   4041   return 0;
   4042 }
   4043 _ACEOF
   4044   # Make sure it works both with $CC and with simple cc.
   4045   # Following AC_PROG_CC_C_O, we do the test twice because some
   4046   # compilers refuse to overwrite an existing .o file with -o,
   4047   # though they will create one.
   4048   am_cv_prog_cc_c_o=yes
   4049   for am_i in 1 2; do
   4050     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4051    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4052    ac_status=$?
   4053    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4054    (exit $ac_status); } \
   4055          && test -f conftest2.$ac_objext; then
   4056       : OK
   4057     else
   4058       am_cv_prog_cc_c_o=no
   4059       break
   4060     fi
   4061   done
   4062   rm -f core conftest*
   4063   unset am_i
   4064 fi
   4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4066 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4067 if test "$am_cv_prog_cc_c_o" != yes; then
   4068    # Losing compiler, so override with the script.
   4069    # FIXME: It is wrong to rewrite CC.
   4070    # But if we don't then we get into trouble of one sort or another.
   4071    # A longer-term fix would be to have automake use am__CC in this case,
   4072    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4073    CC="$am_aux_dir/compile $CC"
   4074 fi
   4075 ac_ext=c
   4076 ac_cpp='$CPP $CPPFLAGS'
   4077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4080 
   4081 
   4082 depcc="$CC"   am_compiler_list=
   4083 
   4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4085 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4086 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4087   $as_echo_n "(cached) " >&6
   4088 else
   4089   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4090   # We make a subdir and do the tests there.  Otherwise we can end up
   4091   # making bogus files that we don't know about and never remove.  For
   4092   # instance it was reported that on HP-UX the gcc test will end up
   4093   # making a dummy file named 'D' -- because '-MD' means "put the output
   4094   # in D".
   4095   rm -rf conftest.dir
   4096   mkdir conftest.dir
   4097   # Copy depcomp to subdir because otherwise we won't find it if we're
   4098   # using a relative directory.
   4099   cp "$am_depcomp" conftest.dir
   4100   cd conftest.dir
   4101   # We will build objects and dependencies in a subdirectory because
   4102   # it helps to detect inapplicable dependency modes.  For instance
   4103   # both Tru64's cc and ICC support -MD to output dependencies as a
   4104   # side effect of compilation, but ICC will put the dependencies in
   4105   # the current directory while Tru64 will put them in the object
   4106   # directory.
   4107   mkdir sub
   4108 
   4109   am_cv_CC_dependencies_compiler_type=none
   4110   if test "$am_compiler_list" = ""; then
   4111      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4112   fi
   4113   am__universal=false
   4114   case " $depcc " in #(
   4115      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4116      esac
   4117 
   4118   for depmode in $am_compiler_list; do
   4119     # Setup a source with many dependencies, because some compilers
   4120     # like to wrap large dependency lists on column 80 (with \), and
   4121     # we should not choose a depcomp mode which is confused by this.
   4122     #
   4123     # We need to recreate these files for each test, as the compiler may
   4124     # overwrite some of them when testing with obscure command lines.
   4125     # This happens at least with the AIX C compiler.
   4126     : > sub/conftest.c
   4127     for i in 1 2 3 4 5 6; do
   4128       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4129       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4130       # Solaris 10 /bin/sh.
   4131       echo '/* dummy */' > sub/conftst$i.h
   4132     done
   4133     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4134 
   4135     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4136     # mode.  It turns out that the SunPro C++ compiler does not properly
   4137     # handle '-M -o', and we need to detect this.  Also, some Intel
   4138     # versions had trouble with output in subdirs.
   4139     am__obj=sub/conftest.${OBJEXT-o}
   4140     am__minus_obj="-o $am__obj"
   4141     case $depmode in
   4142     gcc)
   4143       # This depmode causes a compiler race in universal mode.
   4144       test "$am__universal" = false || continue
   4145       ;;
   4146     nosideeffect)
   4147       # After this tag, mechanisms are not by side-effect, so they'll
   4148       # only be used when explicitly requested.
   4149       if test "x$enable_dependency_tracking" = xyes; then
   4150 	continue
   4151       else
   4152 	break
   4153       fi
   4154       ;;
   4155     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4156       # This compiler won't grok '-c -o', but also, the minuso test has
   4157       # not run yet.  These depmodes are late enough in the game, and
   4158       # so weak that their functioning should not be impacted.
   4159       am__obj=conftest.${OBJEXT-o}
   4160       am__minus_obj=
   4161       ;;
   4162     none) break ;;
   4163     esac
   4164     if depmode=$depmode \
   4165        source=sub/conftest.c object=$am__obj \
   4166        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4167        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4168          >/dev/null 2>conftest.err &&
   4169        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4170        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4171        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4172        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4173       # icc doesn't choke on unknown options, it will just issue warnings
   4174       # or remarks (even with -Werror).  So we grep stderr for any message
   4175       # that says an option was ignored or not supported.
   4176       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4177       #   icc: Command line warning: ignoring option '-M'; no argument required
   4178       # The diagnosis changed in icc 8.0:
   4179       #   icc: Command line remark: option '-MP' not supported
   4180       if (grep 'ignoring option' conftest.err ||
   4181           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4182         am_cv_CC_dependencies_compiler_type=$depmode
   4183         break
   4184       fi
   4185     fi
   4186   done
   4187 
   4188   cd ..
   4189   rm -rf conftest.dir
   4190 else
   4191   am_cv_CC_dependencies_compiler_type=none
   4192 fi
   4193 
   4194 fi
   4195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4196 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4197 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4198 
   4199  if
   4200   test "x$enable_dependency_tracking" != xno \
   4201   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4202   am__fastdepCC_TRUE=
   4203   am__fastdepCC_FALSE='#'
   4204 else
   4205   am__fastdepCC_TRUE='#'
   4206   am__fastdepCC_FALSE=
   4207 fi
   4208 
   4209 
   4210 
   4211 ac_ext=c
   4212 ac_cpp='$CPP $CPPFLAGS'
   4213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4217 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4218 # On Suns, sometimes $CPP names a directory.
   4219 if test -n "$CPP" && test -d "$CPP"; then
   4220   CPP=
   4221 fi
   4222 if test -z "$CPP"; then
   4223   if ${ac_cv_prog_CPP+:} false; then :
   4224   $as_echo_n "(cached) " >&6
   4225 else
   4226       # Double quotes because CPP needs to be expanded
   4227     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4228     do
   4229       ac_preproc_ok=false
   4230 for ac_c_preproc_warn_flag in '' yes
   4231 do
   4232   # Use a header file that comes with gcc, so configuring glibc
   4233   # with a fresh cross-compiler works.
   4234   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4235   # <limits.h> exists even on freestanding compilers.
   4236   # On the NeXT, cc -E runs the code through the compiler's parser,
   4237   # not just through cpp. "Syntax error" is here to catch this case.
   4238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4239 /* end confdefs.h.  */
   4240 #ifdef __STDC__
   4241 # include <limits.h>
   4242 #else
   4243 # include <assert.h>
   4244 #endif
   4245 		     Syntax error
   4246 _ACEOF
   4247 if ac_fn_c_try_cpp "$LINENO"; then :
   4248 
   4249 else
   4250   # Broken: fails on valid input.
   4251 continue
   4252 fi
   4253 rm -f conftest.err conftest.i conftest.$ac_ext
   4254 
   4255   # OK, works on sane cases.  Now check whether nonexistent headers
   4256   # can be detected and how.
   4257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4258 /* end confdefs.h.  */
   4259 #include <ac_nonexistent.h>
   4260 _ACEOF
   4261 if ac_fn_c_try_cpp "$LINENO"; then :
   4262   # Broken: success on invalid input.
   4263 continue
   4264 else
   4265   # Passes both tests.
   4266 ac_preproc_ok=:
   4267 break
   4268 fi
   4269 rm -f conftest.err conftest.i conftest.$ac_ext
   4270 
   4271 done
   4272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4273 rm -f conftest.i conftest.err conftest.$ac_ext
   4274 if $ac_preproc_ok; then :
   4275   break
   4276 fi
   4277 
   4278     done
   4279     ac_cv_prog_CPP=$CPP
   4280 
   4281 fi
   4282   CPP=$ac_cv_prog_CPP
   4283 else
   4284   ac_cv_prog_CPP=$CPP
   4285 fi
   4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4287 $as_echo "$CPP" >&6; }
   4288 ac_preproc_ok=false
   4289 for ac_c_preproc_warn_flag in '' yes
   4290 do
   4291   # Use a header file that comes with gcc, so configuring glibc
   4292   # with a fresh cross-compiler works.
   4293   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4294   # <limits.h> exists even on freestanding compilers.
   4295   # On the NeXT, cc -E runs the code through the compiler's parser,
   4296   # not just through cpp. "Syntax error" is here to catch this case.
   4297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4298 /* end confdefs.h.  */
   4299 #ifdef __STDC__
   4300 # include <limits.h>
   4301 #else
   4302 # include <assert.h>
   4303 #endif
   4304 		     Syntax error
   4305 _ACEOF
   4306 if ac_fn_c_try_cpp "$LINENO"; then :
   4307 
   4308 else
   4309   # Broken: fails on valid input.
   4310 continue
   4311 fi
   4312 rm -f conftest.err conftest.i conftest.$ac_ext
   4313 
   4314   # OK, works on sane cases.  Now check whether nonexistent headers
   4315   # can be detected and how.
   4316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4317 /* end confdefs.h.  */
   4318 #include <ac_nonexistent.h>
   4319 _ACEOF
   4320 if ac_fn_c_try_cpp "$LINENO"; then :
   4321   # Broken: success on invalid input.
   4322 continue
   4323 else
   4324   # Passes both tests.
   4325 ac_preproc_ok=:
   4326 break
   4327 fi
   4328 rm -f conftest.err conftest.i conftest.$ac_ext
   4329 
   4330 done
   4331 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4332 rm -f conftest.i conftest.err conftest.$ac_ext
   4333 if $ac_preproc_ok; then :
   4334 
   4335 else
   4336   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4337 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4338 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4339 See \`config.log' for more details" "$LINENO" 5; }
   4340 fi
   4341 
   4342 ac_ext=c
   4343 ac_cpp='$CPP $CPPFLAGS'
   4344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4347 
   4348 
   4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4350 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4351 if ${ac_cv_path_GREP+:} false; then :
   4352   $as_echo_n "(cached) " >&6
   4353 else
   4354   if test -z "$GREP"; then
   4355   ac_path_GREP_found=false
   4356   # Loop through the user's path and test for each of PROGNAME-LIST
   4357   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4358 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4359 do
   4360   IFS=$as_save_IFS
   4361   test -z "$as_dir" && as_dir=.
   4362     for ac_prog in grep ggrep; do
   4363     for ac_exec_ext in '' $ac_executable_extensions; do
   4364       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4365       as_fn_executable_p "$ac_path_GREP" || continue
   4366 # Check for GNU ac_path_GREP and select it if it is found.
   4367   # Check for GNU $ac_path_GREP
   4368 case `"$ac_path_GREP" --version 2>&1` in
   4369 *GNU*)
   4370   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4371 *)
   4372   ac_count=0
   4373   $as_echo_n 0123456789 >"conftest.in"
   4374   while :
   4375   do
   4376     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4377     mv "conftest.tmp" "conftest.in"
   4378     cp "conftest.in" "conftest.nl"
   4379     $as_echo 'GREP' >> "conftest.nl"
   4380     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4381     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4382     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4383     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4384       # Best one so far, save it but keep looking for a better one
   4385       ac_cv_path_GREP="$ac_path_GREP"
   4386       ac_path_GREP_max=$ac_count
   4387     fi
   4388     # 10*(2^10) chars as input seems more than enough
   4389     test $ac_count -gt 10 && break
   4390   done
   4391   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4392 esac
   4393 
   4394       $ac_path_GREP_found && break 3
   4395     done
   4396   done
   4397   done
   4398 IFS=$as_save_IFS
   4399   if test -z "$ac_cv_path_GREP"; then
   4400     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4401   fi
   4402 else
   4403   ac_cv_path_GREP=$GREP
   4404 fi
   4405 
   4406 fi
   4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4408 $as_echo "$ac_cv_path_GREP" >&6; }
   4409  GREP="$ac_cv_path_GREP"
   4410 
   4411 
   4412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4413 $as_echo_n "checking for egrep... " >&6; }
   4414 if ${ac_cv_path_EGREP+:} false; then :
   4415   $as_echo_n "(cached) " >&6
   4416 else
   4417   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4418    then ac_cv_path_EGREP="$GREP -E"
   4419    else
   4420      if test -z "$EGREP"; then
   4421   ac_path_EGREP_found=false
   4422   # Loop through the user's path and test for each of PROGNAME-LIST
   4423   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4424 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4425 do
   4426   IFS=$as_save_IFS
   4427   test -z "$as_dir" && as_dir=.
   4428     for ac_prog in egrep; do
   4429     for ac_exec_ext in '' $ac_executable_extensions; do
   4430       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4431       as_fn_executable_p "$ac_path_EGREP" || continue
   4432 # Check for GNU ac_path_EGREP and select it if it is found.
   4433   # Check for GNU $ac_path_EGREP
   4434 case `"$ac_path_EGREP" --version 2>&1` in
   4435 *GNU*)
   4436   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4437 *)
   4438   ac_count=0
   4439   $as_echo_n 0123456789 >"conftest.in"
   4440   while :
   4441   do
   4442     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4443     mv "conftest.tmp" "conftest.in"
   4444     cp "conftest.in" "conftest.nl"
   4445     $as_echo 'EGREP' >> "conftest.nl"
   4446     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4447     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4448     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4449     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4450       # Best one so far, save it but keep looking for a better one
   4451       ac_cv_path_EGREP="$ac_path_EGREP"
   4452       ac_path_EGREP_max=$ac_count
   4453     fi
   4454     # 10*(2^10) chars as input seems more than enough
   4455     test $ac_count -gt 10 && break
   4456   done
   4457   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4458 esac
   4459 
   4460       $ac_path_EGREP_found && break 3
   4461     done
   4462   done
   4463   done
   4464 IFS=$as_save_IFS
   4465   if test -z "$ac_cv_path_EGREP"; then
   4466     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4467   fi
   4468 else
   4469   ac_cv_path_EGREP=$EGREP
   4470 fi
   4471 
   4472    fi
   4473 fi
   4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4475 $as_echo "$ac_cv_path_EGREP" >&6; }
   4476  EGREP="$ac_cv_path_EGREP"
   4477 
   4478 
   4479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4480 $as_echo_n "checking for ANSI C header files... " >&6; }
   4481 if ${ac_cv_header_stdc+:} false; then :
   4482   $as_echo_n "(cached) " >&6
   4483 else
   4484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4485 /* end confdefs.h.  */
   4486 #include <stdlib.h>
   4487 #include <stdarg.h>
   4488 #include <string.h>
   4489 #include <float.h>
   4490 
   4491 int
   4492 main ()
   4493 {
   4494 
   4495   ;
   4496   return 0;
   4497 }
   4498 _ACEOF
   4499 if ac_fn_c_try_compile "$LINENO"; then :
   4500   ac_cv_header_stdc=yes
   4501 else
   4502   ac_cv_header_stdc=no
   4503 fi
   4504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4505 
   4506 if test $ac_cv_header_stdc = yes; then
   4507   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4509 /* end confdefs.h.  */
   4510 #include <string.h>
   4511 
   4512 _ACEOF
   4513 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4514   $EGREP "memchr" >/dev/null 2>&1; then :
   4515 
   4516 else
   4517   ac_cv_header_stdc=no
   4518 fi
   4519 rm -f conftest*
   4520 
   4521 fi
   4522 
   4523 if test $ac_cv_header_stdc = yes; then
   4524   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4526 /* end confdefs.h.  */
   4527 #include <stdlib.h>
   4528 
   4529 _ACEOF
   4530 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4531   $EGREP "free" >/dev/null 2>&1; then :
   4532 
   4533 else
   4534   ac_cv_header_stdc=no
   4535 fi
   4536 rm -f conftest*
   4537 
   4538 fi
   4539 
   4540 if test $ac_cv_header_stdc = yes; then
   4541   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4542   if test "$cross_compiling" = yes; then :
   4543   :
   4544 else
   4545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4546 /* end confdefs.h.  */
   4547 #include <ctype.h>
   4548 #include <stdlib.h>
   4549 #if ((' ' & 0x0FF) == 0x020)
   4550 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4551 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4552 #else
   4553 # define ISLOWER(c) \
   4554 		   (('a' <= (c) && (c) <= 'i') \
   4555 		     || ('j' <= (c) && (c) <= 'r') \
   4556 		     || ('s' <= (c) && (c) <= 'z'))
   4557 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4558 #endif
   4559 
   4560 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4561 int
   4562 main ()
   4563 {
   4564   int i;
   4565   for (i = 0; i < 256; i++)
   4566     if (XOR (islower (i), ISLOWER (i))
   4567 	|| toupper (i) != TOUPPER (i))
   4568       return 2;
   4569   return 0;
   4570 }
   4571 _ACEOF
   4572 if ac_fn_c_try_run "$LINENO"; then :
   4573 
   4574 else
   4575   ac_cv_header_stdc=no
   4576 fi
   4577 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4578   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4579 fi
   4580 
   4581 fi
   4582 fi
   4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4584 $as_echo "$ac_cv_header_stdc" >&6; }
   4585 if test $ac_cv_header_stdc = yes; then
   4586 
   4587 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4588 
   4589 fi
   4590 
   4591 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4592 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4593 		  inttypes.h stdint.h unistd.h
   4594 do :
   4595   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4596 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4597 "
   4598 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4599   cat >>confdefs.h <<_ACEOF
   4600 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4601 _ACEOF
   4602 
   4603 fi
   4604 
   4605 done
   4606 
   4607 
   4608 
   4609   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4610 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4611   MINIX=yes
   4612 else
   4613   MINIX=
   4614 fi
   4615 
   4616 
   4617   if test "$MINIX" = yes; then
   4618 
   4619 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4620 
   4621 
   4622 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4623 
   4624 
   4625 $as_echo "#define _MINIX 1" >>confdefs.h
   4626 
   4627   fi
   4628 
   4629 
   4630   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4631 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4632 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4633   $as_echo_n "(cached) " >&6
   4634 else
   4635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4636 /* end confdefs.h.  */
   4637 
   4638 #         define __EXTENSIONS__ 1
   4639           $ac_includes_default
   4640 int
   4641 main ()
   4642 {
   4643 
   4644   ;
   4645   return 0;
   4646 }
   4647 _ACEOF
   4648 if ac_fn_c_try_compile "$LINENO"; then :
   4649   ac_cv_safe_to_define___extensions__=yes
   4650 else
   4651   ac_cv_safe_to_define___extensions__=no
   4652 fi
   4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4654 fi
   4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4656 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4657   test $ac_cv_safe_to_define___extensions__ = yes &&
   4658     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4659 
   4660   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4661 
   4662   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4663 
   4664   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4665 
   4666   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4667 
   4668 
   4669 ac_ext=c
   4670 ac_cpp='$CPP $CPPFLAGS'
   4671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4674 if test -n "$ac_tool_prefix"; then
   4675   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4676 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4678 $as_echo_n "checking for $ac_word... " >&6; }
   4679 if ${ac_cv_prog_CC+:} false; then :
   4680   $as_echo_n "(cached) " >&6
   4681 else
   4682   if test -n "$CC"; then
   4683   ac_cv_prog_CC="$CC" # Let the user override the test.
   4684 else
   4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4686 for as_dir in $PATH
   4687 do
   4688   IFS=$as_save_IFS
   4689   test -z "$as_dir" && as_dir=.
   4690     for ac_exec_ext in '' $ac_executable_extensions; do
   4691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4692     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4694     break 2
   4695   fi
   4696 done
   4697   done
   4698 IFS=$as_save_IFS
   4699 
   4700 fi
   4701 fi
   4702 CC=$ac_cv_prog_CC
   4703 if test -n "$CC"; then
   4704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4705 $as_echo "$CC" >&6; }
   4706 else
   4707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4708 $as_echo "no" >&6; }
   4709 fi
   4710 
   4711 
   4712 fi
   4713 if test -z "$ac_cv_prog_CC"; then
   4714   ac_ct_CC=$CC
   4715   # Extract the first word of "gcc", so it can be a program name with args.
   4716 set dummy gcc; ac_word=$2
   4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4718 $as_echo_n "checking for $ac_word... " >&6; }
   4719 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4720   $as_echo_n "(cached) " >&6
   4721 else
   4722   if test -n "$ac_ct_CC"; then
   4723   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4724 else
   4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4726 for as_dir in $PATH
   4727 do
   4728   IFS=$as_save_IFS
   4729   test -z "$as_dir" && as_dir=.
   4730     for ac_exec_ext in '' $ac_executable_extensions; do
   4731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4732     ac_cv_prog_ac_ct_CC="gcc"
   4733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4734     break 2
   4735   fi
   4736 done
   4737   done
   4738 IFS=$as_save_IFS
   4739 
   4740 fi
   4741 fi
   4742 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4743 if test -n "$ac_ct_CC"; then
   4744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4745 $as_echo "$ac_ct_CC" >&6; }
   4746 else
   4747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4748 $as_echo "no" >&6; }
   4749 fi
   4750 
   4751   if test "x$ac_ct_CC" = x; then
   4752     CC=""
   4753   else
   4754     case $cross_compiling:$ac_tool_warned in
   4755 yes:)
   4756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4758 ac_tool_warned=yes ;;
   4759 esac
   4760     CC=$ac_ct_CC
   4761   fi
   4762 else
   4763   CC="$ac_cv_prog_CC"
   4764 fi
   4765 
   4766 if test -z "$CC"; then
   4767           if test -n "$ac_tool_prefix"; then
   4768     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4769 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4771 $as_echo_n "checking for $ac_word... " >&6; }
   4772 if ${ac_cv_prog_CC+:} false; then :
   4773   $as_echo_n "(cached) " >&6
   4774 else
   4775   if test -n "$CC"; then
   4776   ac_cv_prog_CC="$CC" # Let the user override the test.
   4777 else
   4778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4779 for as_dir in $PATH
   4780 do
   4781   IFS=$as_save_IFS
   4782   test -z "$as_dir" && as_dir=.
   4783     for ac_exec_ext in '' $ac_executable_extensions; do
   4784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4785     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4787     break 2
   4788   fi
   4789 done
   4790   done
   4791 IFS=$as_save_IFS
   4792 
   4793 fi
   4794 fi
   4795 CC=$ac_cv_prog_CC
   4796 if test -n "$CC"; then
   4797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4798 $as_echo "$CC" >&6; }
   4799 else
   4800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4801 $as_echo "no" >&6; }
   4802 fi
   4803 
   4804 
   4805   fi
   4806 fi
   4807 if test -z "$CC"; then
   4808   # Extract the first word of "cc", so it can be a program name with args.
   4809 set dummy cc; ac_word=$2
   4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4811 $as_echo_n "checking for $ac_word... " >&6; }
   4812 if ${ac_cv_prog_CC+:} false; then :
   4813   $as_echo_n "(cached) " >&6
   4814 else
   4815   if test -n "$CC"; then
   4816   ac_cv_prog_CC="$CC" # Let the user override the test.
   4817 else
   4818   ac_prog_rejected=no
   4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4820 for as_dir in $PATH
   4821 do
   4822   IFS=$as_save_IFS
   4823   test -z "$as_dir" && as_dir=.
   4824     for ac_exec_ext in '' $ac_executable_extensions; do
   4825   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4826     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4827        ac_prog_rejected=yes
   4828        continue
   4829      fi
   4830     ac_cv_prog_CC="cc"
   4831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4832     break 2
   4833   fi
   4834 done
   4835   done
   4836 IFS=$as_save_IFS
   4837 
   4838 if test $ac_prog_rejected = yes; then
   4839   # We found a bogon in the path, so make sure we never use it.
   4840   set dummy $ac_cv_prog_CC
   4841   shift
   4842   if test $# != 0; then
   4843     # We chose a different compiler from the bogus one.
   4844     # However, it has the same basename, so the bogon will be chosen
   4845     # first if we set CC to just the basename; use the full file name.
   4846     shift
   4847     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4848   fi
   4849 fi
   4850 fi
   4851 fi
   4852 CC=$ac_cv_prog_CC
   4853 if test -n "$CC"; then
   4854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4855 $as_echo "$CC" >&6; }
   4856 else
   4857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4858 $as_echo "no" >&6; }
   4859 fi
   4860 
   4861 
   4862 fi
   4863 if test -z "$CC"; then
   4864   if test -n "$ac_tool_prefix"; then
   4865   for ac_prog in cl.exe
   4866   do
   4867     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4868 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4870 $as_echo_n "checking for $ac_word... " >&6; }
   4871 if ${ac_cv_prog_CC+:} false; then :
   4872   $as_echo_n "(cached) " >&6
   4873 else
   4874   if test -n "$CC"; then
   4875   ac_cv_prog_CC="$CC" # Let the user override the test.
   4876 else
   4877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4878 for as_dir in $PATH
   4879 do
   4880   IFS=$as_save_IFS
   4881   test -z "$as_dir" && as_dir=.
   4882     for ac_exec_ext in '' $ac_executable_extensions; do
   4883   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4884     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4885     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4886     break 2
   4887   fi
   4888 done
   4889   done
   4890 IFS=$as_save_IFS
   4891 
   4892 fi
   4893 fi
   4894 CC=$ac_cv_prog_CC
   4895 if test -n "$CC"; then
   4896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4897 $as_echo "$CC" >&6; }
   4898 else
   4899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4900 $as_echo "no" >&6; }
   4901 fi
   4902 
   4903 
   4904     test -n "$CC" && break
   4905   done
   4906 fi
   4907 if test -z "$CC"; then
   4908   ac_ct_CC=$CC
   4909   for ac_prog in cl.exe
   4910 do
   4911   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4912 set dummy $ac_prog; ac_word=$2
   4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4914 $as_echo_n "checking for $ac_word... " >&6; }
   4915 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4916   $as_echo_n "(cached) " >&6
   4917 else
   4918   if test -n "$ac_ct_CC"; then
   4919   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4920 else
   4921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4922 for as_dir in $PATH
   4923 do
   4924   IFS=$as_save_IFS
   4925   test -z "$as_dir" && as_dir=.
   4926     for ac_exec_ext in '' $ac_executable_extensions; do
   4927   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4928     ac_cv_prog_ac_ct_CC="$ac_prog"
   4929     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4930     break 2
   4931   fi
   4932 done
   4933   done
   4934 IFS=$as_save_IFS
   4935 
   4936 fi
   4937 fi
   4938 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4939 if test -n "$ac_ct_CC"; then
   4940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4941 $as_echo "$ac_ct_CC" >&6; }
   4942 else
   4943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4944 $as_echo "no" >&6; }
   4945 fi
   4946 
   4947 
   4948   test -n "$ac_ct_CC" && break
   4949 done
   4950 
   4951   if test "x$ac_ct_CC" = x; then
   4952     CC=""
   4953   else
   4954     case $cross_compiling:$ac_tool_warned in
   4955 yes:)
   4956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4957 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4958 ac_tool_warned=yes ;;
   4959 esac
   4960     CC=$ac_ct_CC
   4961   fi
   4962 fi
   4963 
   4964 fi
   4965 
   4966 
   4967 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4968 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4969 as_fn_error $? "no acceptable C compiler found in \$PATH
   4970 See \`config.log' for more details" "$LINENO" 5; }
   4971 
   4972 # Provide some information about the compiler.
   4973 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4974 set X $ac_compile
   4975 ac_compiler=$2
   4976 for ac_option in --version -v -V -qversion; do
   4977   { { ac_try="$ac_compiler $ac_option >&5"
   4978 case "(($ac_try" in
   4979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4980   *) ac_try_echo=$ac_try;;
   4981 esac
   4982 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4983 $as_echo "$ac_try_echo"; } >&5
   4984   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4985   ac_status=$?
   4986   if test -s conftest.err; then
   4987     sed '10a\
   4988 ... rest of stderr output deleted ...
   4989          10q' conftest.err >conftest.er1
   4990     cat conftest.er1 >&5
   4991   fi
   4992   rm -f conftest.er1 conftest.err
   4993   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4994   test $ac_status = 0; }
   4995 done
   4996 
   4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4998 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4999 if ${ac_cv_c_compiler_gnu+:} false; then :
   5000   $as_echo_n "(cached) " >&6
   5001 else
   5002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5003 /* end confdefs.h.  */
   5004 
   5005 int
   5006 main ()
   5007 {
   5008 #ifndef __GNUC__
   5009        choke me
   5010 #endif
   5011 
   5012   ;
   5013   return 0;
   5014 }
   5015 _ACEOF
   5016 if ac_fn_c_try_compile "$LINENO"; then :
   5017   ac_compiler_gnu=yes
   5018 else
   5019   ac_compiler_gnu=no
   5020 fi
   5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5022 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5023 
   5024 fi
   5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5026 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5027 if test $ac_compiler_gnu = yes; then
   5028   GCC=yes
   5029 else
   5030   GCC=
   5031 fi
   5032 ac_test_CFLAGS=${CFLAGS+set}
   5033 ac_save_CFLAGS=$CFLAGS
   5034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5035 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5036 if ${ac_cv_prog_cc_g+:} false; then :
   5037   $as_echo_n "(cached) " >&6
   5038 else
   5039   ac_save_c_werror_flag=$ac_c_werror_flag
   5040    ac_c_werror_flag=yes
   5041    ac_cv_prog_cc_g=no
   5042    CFLAGS="-g"
   5043    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 
   5046 int
   5047 main ()
   5048 {
   5049 
   5050   ;
   5051   return 0;
   5052 }
   5053 _ACEOF
   5054 if ac_fn_c_try_compile "$LINENO"; then :
   5055   ac_cv_prog_cc_g=yes
   5056 else
   5057   CFLAGS=""
   5058       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5059 /* end confdefs.h.  */
   5060 
   5061 int
   5062 main ()
   5063 {
   5064 
   5065   ;
   5066   return 0;
   5067 }
   5068 _ACEOF
   5069 if ac_fn_c_try_compile "$LINENO"; then :
   5070 
   5071 else
   5072   ac_c_werror_flag=$ac_save_c_werror_flag
   5073 	 CFLAGS="-g"
   5074 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5075 /* end confdefs.h.  */
   5076 
   5077 int
   5078 main ()
   5079 {
   5080 
   5081   ;
   5082   return 0;
   5083 }
   5084 _ACEOF
   5085 if ac_fn_c_try_compile "$LINENO"; then :
   5086   ac_cv_prog_cc_g=yes
   5087 fi
   5088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5089 fi
   5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5091 fi
   5092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5093    ac_c_werror_flag=$ac_save_c_werror_flag
   5094 fi
   5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5096 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5097 if test "$ac_test_CFLAGS" = set; then
   5098   CFLAGS=$ac_save_CFLAGS
   5099 elif test $ac_cv_prog_cc_g = yes; then
   5100   if test "$GCC" = yes; then
   5101     CFLAGS="-g -O2"
   5102   else
   5103     CFLAGS="-g"
   5104   fi
   5105 else
   5106   if test "$GCC" = yes; then
   5107     CFLAGS="-O2"
   5108   else
   5109     CFLAGS=
   5110   fi
   5111 fi
   5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5113 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5114 if ${ac_cv_prog_cc_c89+:} false; then :
   5115   $as_echo_n "(cached) " >&6
   5116 else
   5117   ac_cv_prog_cc_c89=no
   5118 ac_save_CC=$CC
   5119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5120 /* end confdefs.h.  */
   5121 #include <stdarg.h>
   5122 #include <stdio.h>
   5123 struct stat;
   5124 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5125 struct buf { int x; };
   5126 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5127 static char *e (p, i)
   5128      char **p;
   5129      int i;
   5130 {
   5131   return p[i];
   5132 }
   5133 static char *f (char * (*g) (char **, int), char **p, ...)
   5134 {
   5135   char *s;
   5136   va_list v;
   5137   va_start (v,p);
   5138   s = g (p, va_arg (v,int));
   5139   va_end (v);
   5140   return s;
   5141 }
   5142 
   5143 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5144    function prototypes and stuff, but not '\xHH' hex character constants.
   5145    These don't provoke an error unfortunately, instead are silently treated
   5146    as 'x'.  The following induces an error, until -std is added to get
   5147    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5148    array size at least.  It's necessary to write '\x00'==0 to get something
   5149    that's true only with -std.  */
   5150 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5151 
   5152 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5153    inside strings and character constants.  */
   5154 #define FOO(x) 'x'
   5155 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5156 
   5157 int test (int i, double x);
   5158 struct s1 {int (*f) (int a);};
   5159 struct s2 {int (*f) (double a);};
   5160 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5161 int argc;
   5162 char **argv;
   5163 int
   5164 main ()
   5165 {
   5166 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5167   ;
   5168   return 0;
   5169 }
   5170 _ACEOF
   5171 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5172 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5173 do
   5174   CC="$ac_save_CC $ac_arg"
   5175   if ac_fn_c_try_compile "$LINENO"; then :
   5176   ac_cv_prog_cc_c89=$ac_arg
   5177 fi
   5178 rm -f core conftest.err conftest.$ac_objext
   5179   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5180 done
   5181 rm -f conftest.$ac_ext
   5182 CC=$ac_save_CC
   5183 
   5184 fi
   5185 # AC_CACHE_VAL
   5186 case "x$ac_cv_prog_cc_c89" in
   5187   x)
   5188     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5189 $as_echo "none needed" >&6; } ;;
   5190   xno)
   5191     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5192 $as_echo "unsupported" >&6; } ;;
   5193   *)
   5194     CC="$CC $ac_cv_prog_cc_c89"
   5195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5196 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5197 esac
   5198 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5199 
   5200 fi
   5201 
   5202 ac_ext=c
   5203 ac_cpp='$CPP $CPPFLAGS'
   5204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5207 
   5208 ac_ext=c
   5209 ac_cpp='$CPP $CPPFLAGS'
   5210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5214 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5215 if ${am_cv_prog_cc_c_o+:} false; then :
   5216   $as_echo_n "(cached) " >&6
   5217 else
   5218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5219 /* end confdefs.h.  */
   5220 
   5221 int
   5222 main ()
   5223 {
   5224 
   5225   ;
   5226   return 0;
   5227 }
   5228 _ACEOF
   5229   # Make sure it works both with $CC and with simple cc.
   5230   # Following AC_PROG_CC_C_O, we do the test twice because some
   5231   # compilers refuse to overwrite an existing .o file with -o,
   5232   # though they will create one.
   5233   am_cv_prog_cc_c_o=yes
   5234   for am_i in 1 2; do
   5235     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5236    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5237    ac_status=$?
   5238    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5239    (exit $ac_status); } \
   5240          && test -f conftest2.$ac_objext; then
   5241       : OK
   5242     else
   5243       am_cv_prog_cc_c_o=no
   5244       break
   5245     fi
   5246   done
   5247   rm -f core conftest*
   5248   unset am_i
   5249 fi
   5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5251 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5252 if test "$am_cv_prog_cc_c_o" != yes; then
   5253    # Losing compiler, so override with the script.
   5254    # FIXME: It is wrong to rewrite CC.
   5255    # But if we don't then we get into trouble of one sort or another.
   5256    # A longer-term fix would be to have automake use am__CC in this case,
   5257    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5258    CC="$am_aux_dir/compile $CC"
   5259 fi
   5260 ac_ext=c
   5261 ac_cpp='$CPP $CPPFLAGS'
   5262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5265 
   5266 
   5267 depcc="$CC"   am_compiler_list=
   5268 
   5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5270 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5271 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5272   $as_echo_n "(cached) " >&6
   5273 else
   5274   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5275   # We make a subdir and do the tests there.  Otherwise we can end up
   5276   # making bogus files that we don't know about and never remove.  For
   5277   # instance it was reported that on HP-UX the gcc test will end up
   5278   # making a dummy file named 'D' -- because '-MD' means "put the output
   5279   # in D".
   5280   rm -rf conftest.dir
   5281   mkdir conftest.dir
   5282   # Copy depcomp to subdir because otherwise we won't find it if we're
   5283   # using a relative directory.
   5284   cp "$am_depcomp" conftest.dir
   5285   cd conftest.dir
   5286   # We will build objects and dependencies in a subdirectory because
   5287   # it helps to detect inapplicable dependency modes.  For instance
   5288   # both Tru64's cc and ICC support -MD to output dependencies as a
   5289   # side effect of compilation, but ICC will put the dependencies in
   5290   # the current directory while Tru64 will put them in the object
   5291   # directory.
   5292   mkdir sub
   5293 
   5294   am_cv_CC_dependencies_compiler_type=none
   5295   if test "$am_compiler_list" = ""; then
   5296      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5297   fi
   5298   am__universal=false
   5299   case " $depcc " in #(
   5300      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5301      esac
   5302 
   5303   for depmode in $am_compiler_list; do
   5304     # Setup a source with many dependencies, because some compilers
   5305     # like to wrap large dependency lists on column 80 (with \), and
   5306     # we should not choose a depcomp mode which is confused by this.
   5307     #
   5308     # We need to recreate these files for each test, as the compiler may
   5309     # overwrite some of them when testing with obscure command lines.
   5310     # This happens at least with the AIX C compiler.
   5311     : > sub/conftest.c
   5312     for i in 1 2 3 4 5 6; do
   5313       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5314       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5315       # Solaris 10 /bin/sh.
   5316       echo '/* dummy */' > sub/conftst$i.h
   5317     done
   5318     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5319 
   5320     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5321     # mode.  It turns out that the SunPro C++ compiler does not properly
   5322     # handle '-M -o', and we need to detect this.  Also, some Intel
   5323     # versions had trouble with output in subdirs.
   5324     am__obj=sub/conftest.${OBJEXT-o}
   5325     am__minus_obj="-o $am__obj"
   5326     case $depmode in
   5327     gcc)
   5328       # This depmode causes a compiler race in universal mode.
   5329       test "$am__universal" = false || continue
   5330       ;;
   5331     nosideeffect)
   5332       # After this tag, mechanisms are not by side-effect, so they'll
   5333       # only be used when explicitly requested.
   5334       if test "x$enable_dependency_tracking" = xyes; then
   5335 	continue
   5336       else
   5337 	break
   5338       fi
   5339       ;;
   5340     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5341       # This compiler won't grok '-c -o', but also, the minuso test has
   5342       # not run yet.  These depmodes are late enough in the game, and
   5343       # so weak that their functioning should not be impacted.
   5344       am__obj=conftest.${OBJEXT-o}
   5345       am__minus_obj=
   5346       ;;
   5347     none) break ;;
   5348     esac
   5349     if depmode=$depmode \
   5350        source=sub/conftest.c object=$am__obj \
   5351        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5352        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5353          >/dev/null 2>conftest.err &&
   5354        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5355        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5356        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5357        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5358       # icc doesn't choke on unknown options, it will just issue warnings
   5359       # or remarks (even with -Werror).  So we grep stderr for any message
   5360       # that says an option was ignored or not supported.
   5361       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5362       #   icc: Command line warning: ignoring option '-M'; no argument required
   5363       # The diagnosis changed in icc 8.0:
   5364       #   icc: Command line remark: option '-MP' not supported
   5365       if (grep 'ignoring option' conftest.err ||
   5366           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5367         am_cv_CC_dependencies_compiler_type=$depmode
   5368         break
   5369       fi
   5370     fi
   5371   done
   5372 
   5373   cd ..
   5374   rm -rf conftest.dir
   5375 else
   5376   am_cv_CC_dependencies_compiler_type=none
   5377 fi
   5378 
   5379 fi
   5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5381 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5382 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5383 
   5384  if
   5385   test "x$enable_dependency_tracking" != xno \
   5386   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5387   am__fastdepCC_TRUE=
   5388   am__fastdepCC_FALSE='#'
   5389 else
   5390   am__fastdepCC_TRUE='#'
   5391   am__fastdepCC_FALSE=
   5392 fi
   5393 
   5394 
   5395 ac_ext=cpp
   5396 ac_cpp='$CXXCPP $CPPFLAGS'
   5397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5400 if test -z "$CXX"; then
   5401   if test -n "$CCC"; then
   5402     CXX=$CCC
   5403   else
   5404     if test -n "$ac_tool_prefix"; then
   5405   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5406   do
   5407     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5408 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5410 $as_echo_n "checking for $ac_word... " >&6; }
   5411 if ${ac_cv_prog_CXX+:} false; then :
   5412   $as_echo_n "(cached) " >&6
   5413 else
   5414   if test -n "$CXX"; then
   5415   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5416 else
   5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5418 for as_dir in $PATH
   5419 do
   5420   IFS=$as_save_IFS
   5421   test -z "$as_dir" && as_dir=.
   5422     for ac_exec_ext in '' $ac_executable_extensions; do
   5423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5424     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5426     break 2
   5427   fi
   5428 done
   5429   done
   5430 IFS=$as_save_IFS
   5431 
   5432 fi
   5433 fi
   5434 CXX=$ac_cv_prog_CXX
   5435 if test -n "$CXX"; then
   5436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5437 $as_echo "$CXX" >&6; }
   5438 else
   5439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5440 $as_echo "no" >&6; }
   5441 fi
   5442 
   5443 
   5444     test -n "$CXX" && break
   5445   done
   5446 fi
   5447 if test -z "$CXX"; then
   5448   ac_ct_CXX=$CXX
   5449   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5450 do
   5451   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5452 set dummy $ac_prog; ac_word=$2
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5454 $as_echo_n "checking for $ac_word... " >&6; }
   5455 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   if test -n "$ac_ct_CXX"; then
   5459   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5460 else
   5461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5462 for as_dir in $PATH
   5463 do
   5464   IFS=$as_save_IFS
   5465   test -z "$as_dir" && as_dir=.
   5466     for ac_exec_ext in '' $ac_executable_extensions; do
   5467   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5468     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5469     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5470     break 2
   5471   fi
   5472 done
   5473   done
   5474 IFS=$as_save_IFS
   5475 
   5476 fi
   5477 fi
   5478 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5479 if test -n "$ac_ct_CXX"; then
   5480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5481 $as_echo "$ac_ct_CXX" >&6; }
   5482 else
   5483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5484 $as_echo "no" >&6; }
   5485 fi
   5486 
   5487 
   5488   test -n "$ac_ct_CXX" && break
   5489 done
   5490 
   5491   if test "x$ac_ct_CXX" = x; then
   5492     CXX="g++"
   5493   else
   5494     case $cross_compiling:$ac_tool_warned in
   5495 yes:)
   5496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5498 ac_tool_warned=yes ;;
   5499 esac
   5500     CXX=$ac_ct_CXX
   5501   fi
   5502 fi
   5503 
   5504   fi
   5505 fi
   5506 # Provide some information about the compiler.
   5507 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5508 set X $ac_compile
   5509 ac_compiler=$2
   5510 for ac_option in --version -v -V -qversion; do
   5511   { { ac_try="$ac_compiler $ac_option >&5"
   5512 case "(($ac_try" in
   5513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5514   *) ac_try_echo=$ac_try;;
   5515 esac
   5516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5517 $as_echo "$ac_try_echo"; } >&5
   5518   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5519   ac_status=$?
   5520   if test -s conftest.err; then
   5521     sed '10a\
   5522 ... rest of stderr output deleted ...
   5523          10q' conftest.err >conftest.er1
   5524     cat conftest.er1 >&5
   5525   fi
   5526   rm -f conftest.er1 conftest.err
   5527   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5528   test $ac_status = 0; }
   5529 done
   5530 
   5531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5532 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5533 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5534   $as_echo_n "(cached) " >&6
   5535 else
   5536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5537 /* end confdefs.h.  */
   5538 
   5539 int
   5540 main ()
   5541 {
   5542 #ifndef __GNUC__
   5543        choke me
   5544 #endif
   5545 
   5546   ;
   5547   return 0;
   5548 }
   5549 _ACEOF
   5550 if ac_fn_cxx_try_compile "$LINENO"; then :
   5551   ac_compiler_gnu=yes
   5552 else
   5553   ac_compiler_gnu=no
   5554 fi
   5555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5556 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5557 
   5558 fi
   5559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5560 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5561 if test $ac_compiler_gnu = yes; then
   5562   GXX=yes
   5563 else
   5564   GXX=
   5565 fi
   5566 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5567 ac_save_CXXFLAGS=$CXXFLAGS
   5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5569 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5570 if ${ac_cv_prog_cxx_g+:} false; then :
   5571   $as_echo_n "(cached) " >&6
   5572 else
   5573   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5574    ac_cxx_werror_flag=yes
   5575    ac_cv_prog_cxx_g=no
   5576    CXXFLAGS="-g"
   5577    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5578 /* end confdefs.h.  */
   5579 
   5580 int
   5581 main ()
   5582 {
   5583 
   5584   ;
   5585   return 0;
   5586 }
   5587 _ACEOF
   5588 if ac_fn_cxx_try_compile "$LINENO"; then :
   5589   ac_cv_prog_cxx_g=yes
   5590 else
   5591   CXXFLAGS=""
   5592       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5593 /* end confdefs.h.  */
   5594 
   5595 int
   5596 main ()
   5597 {
   5598 
   5599   ;
   5600   return 0;
   5601 }
   5602 _ACEOF
   5603 if ac_fn_cxx_try_compile "$LINENO"; then :
   5604 
   5605 else
   5606   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5607 	 CXXFLAGS="-g"
   5608 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5609 /* end confdefs.h.  */
   5610 
   5611 int
   5612 main ()
   5613 {
   5614 
   5615   ;
   5616   return 0;
   5617 }
   5618 _ACEOF
   5619 if ac_fn_cxx_try_compile "$LINENO"; then :
   5620   ac_cv_prog_cxx_g=yes
   5621 fi
   5622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5623 fi
   5624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5625 fi
   5626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5627    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5628 fi
   5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5630 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5631 if test "$ac_test_CXXFLAGS" = set; then
   5632   CXXFLAGS=$ac_save_CXXFLAGS
   5633 elif test $ac_cv_prog_cxx_g = yes; then
   5634   if test "$GXX" = yes; then
   5635     CXXFLAGS="-g -O2"
   5636   else
   5637     CXXFLAGS="-g"
   5638   fi
   5639 else
   5640   if test "$GXX" = yes; then
   5641     CXXFLAGS="-O2"
   5642   else
   5643     CXXFLAGS=
   5644   fi
   5645 fi
   5646 ac_ext=c
   5647 ac_cpp='$CPP $CPPFLAGS'
   5648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5651 
   5652 depcc="$CXX"  am_compiler_list=
   5653 
   5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5655 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5656 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5657   $as_echo_n "(cached) " >&6
   5658 else
   5659   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5660   # We make a subdir and do the tests there.  Otherwise we can end up
   5661   # making bogus files that we don't know about and never remove.  For
   5662   # instance it was reported that on HP-UX the gcc test will end up
   5663   # making a dummy file named 'D' -- because '-MD' means "put the output
   5664   # in D".
   5665   rm -rf conftest.dir
   5666   mkdir conftest.dir
   5667   # Copy depcomp to subdir because otherwise we won't find it if we're
   5668   # using a relative directory.
   5669   cp "$am_depcomp" conftest.dir
   5670   cd conftest.dir
   5671   # We will build objects and dependencies in a subdirectory because
   5672   # it helps to detect inapplicable dependency modes.  For instance
   5673   # both Tru64's cc and ICC support -MD to output dependencies as a
   5674   # side effect of compilation, but ICC will put the dependencies in
   5675   # the current directory while Tru64 will put them in the object
   5676   # directory.
   5677   mkdir sub
   5678 
   5679   am_cv_CXX_dependencies_compiler_type=none
   5680   if test "$am_compiler_list" = ""; then
   5681      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5682   fi
   5683   am__universal=false
   5684   case " $depcc " in #(
   5685      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5686      esac
   5687 
   5688   for depmode in $am_compiler_list; do
   5689     # Setup a source with many dependencies, because some compilers
   5690     # like to wrap large dependency lists on column 80 (with \), and
   5691     # we should not choose a depcomp mode which is confused by this.
   5692     #
   5693     # We need to recreate these files for each test, as the compiler may
   5694     # overwrite some of them when testing with obscure command lines.
   5695     # This happens at least with the AIX C compiler.
   5696     : > sub/conftest.c
   5697     for i in 1 2 3 4 5 6; do
   5698       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5699       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5700       # Solaris 10 /bin/sh.
   5701       echo '/* dummy */' > sub/conftst$i.h
   5702     done
   5703     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5704 
   5705     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5706     # mode.  It turns out that the SunPro C++ compiler does not properly
   5707     # handle '-M -o', and we need to detect this.  Also, some Intel
   5708     # versions had trouble with output in subdirs.
   5709     am__obj=sub/conftest.${OBJEXT-o}
   5710     am__minus_obj="-o $am__obj"
   5711     case $depmode in
   5712     gcc)
   5713       # This depmode causes a compiler race in universal mode.
   5714       test "$am__universal" = false || continue
   5715       ;;
   5716     nosideeffect)
   5717       # After this tag, mechanisms are not by side-effect, so they'll
   5718       # only be used when explicitly requested.
   5719       if test "x$enable_dependency_tracking" = xyes; then
   5720 	continue
   5721       else
   5722 	break
   5723       fi
   5724       ;;
   5725     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5726       # This compiler won't grok '-c -o', but also, the minuso test has
   5727       # not run yet.  These depmodes are late enough in the game, and
   5728       # so weak that their functioning should not be impacted.
   5729       am__obj=conftest.${OBJEXT-o}
   5730       am__minus_obj=
   5731       ;;
   5732     none) break ;;
   5733     esac
   5734     if depmode=$depmode \
   5735        source=sub/conftest.c object=$am__obj \
   5736        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5737        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5738          >/dev/null 2>conftest.err &&
   5739        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5740        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5741        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5742        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5743       # icc doesn't choke on unknown options, it will just issue warnings
   5744       # or remarks (even with -Werror).  So we grep stderr for any message
   5745       # that says an option was ignored or not supported.
   5746       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5747       #   icc: Command line warning: ignoring option '-M'; no argument required
   5748       # The diagnosis changed in icc 8.0:
   5749       #   icc: Command line remark: option '-MP' not supported
   5750       if (grep 'ignoring option' conftest.err ||
   5751           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5752         am_cv_CXX_dependencies_compiler_type=$depmode
   5753         break
   5754       fi
   5755     fi
   5756   done
   5757 
   5758   cd ..
   5759   rm -rf conftest.dir
   5760 else
   5761   am_cv_CXX_dependencies_compiler_type=none
   5762 fi
   5763 
   5764 fi
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5766 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5767 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5768 
   5769  if
   5770   test "x$enable_dependency_tracking" != xno \
   5771   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5772   am__fastdepCXX_TRUE=
   5773   am__fastdepCXX_FALSE='#'
   5774 else
   5775   am__fastdepCXX_TRUE='#'
   5776   am__fastdepCXX_FALSE=
   5777 fi
   5778 
   5779 
   5780 
   5781 if test -n "$ac_tool_prefix"; then
   5782   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5783 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5785 $as_echo_n "checking for $ac_word... " >&6; }
   5786 if ${ac_cv_prog_RANLIB+:} false; then :
   5787   $as_echo_n "(cached) " >&6
   5788 else
   5789   if test -n "$RANLIB"; then
   5790   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5791 else
   5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5793 for as_dir in $PATH
   5794 do
   5795   IFS=$as_save_IFS
   5796   test -z "$as_dir" && as_dir=.
   5797     for ac_exec_ext in '' $ac_executable_extensions; do
   5798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5799     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5801     break 2
   5802   fi
   5803 done
   5804   done
   5805 IFS=$as_save_IFS
   5806 
   5807 fi
   5808 fi
   5809 RANLIB=$ac_cv_prog_RANLIB
   5810 if test -n "$RANLIB"; then
   5811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5812 $as_echo "$RANLIB" >&6; }
   5813 else
   5814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5815 $as_echo "no" >&6; }
   5816 fi
   5817 
   5818 
   5819 fi
   5820 if test -z "$ac_cv_prog_RANLIB"; then
   5821   ac_ct_RANLIB=$RANLIB
   5822   # Extract the first word of "ranlib", so it can be a program name with args.
   5823 set dummy ranlib; ac_word=$2
   5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5825 $as_echo_n "checking for $ac_word... " >&6; }
   5826 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5827   $as_echo_n "(cached) " >&6
   5828 else
   5829   if test -n "$ac_ct_RANLIB"; then
   5830   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5831 else
   5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5833 for as_dir in $PATH
   5834 do
   5835   IFS=$as_save_IFS
   5836   test -z "$as_dir" && as_dir=.
   5837     for ac_exec_ext in '' $ac_executable_extensions; do
   5838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5839     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5841     break 2
   5842   fi
   5843 done
   5844   done
   5845 IFS=$as_save_IFS
   5846 
   5847 fi
   5848 fi
   5849 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5850 if test -n "$ac_ct_RANLIB"; then
   5851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5852 $as_echo "$ac_ct_RANLIB" >&6; }
   5853 else
   5854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5855 $as_echo "no" >&6; }
   5856 fi
   5857 
   5858   if test "x$ac_ct_RANLIB" = x; then
   5859     RANLIB=":"
   5860   else
   5861     case $cross_compiling:$ac_tool_warned in
   5862 yes:)
   5863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5865 ac_tool_warned=yes ;;
   5866 esac
   5867     RANLIB=$ac_ct_RANLIB
   5868   fi
   5869 else
   5870   RANLIB="$ac_cv_prog_RANLIB"
   5871 fi
   5872 
   5873 if test -n "$ac_tool_prefix"; then
   5874   for ac_prog in ar lib "link -lib"
   5875   do
   5876     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5879 $as_echo_n "checking for $ac_word... " >&6; }
   5880 if ${ac_cv_prog_AR+:} false; then :
   5881   $as_echo_n "(cached) " >&6
   5882 else
   5883   if test -n "$AR"; then
   5884   ac_cv_prog_AR="$AR" # Let the user override the test.
   5885 else
   5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5887 for as_dir in $PATH
   5888 do
   5889   IFS=$as_save_IFS
   5890   test -z "$as_dir" && as_dir=.
   5891     for ac_exec_ext in '' $ac_executable_extensions; do
   5892   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5893     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5895     break 2
   5896   fi
   5897 done
   5898   done
   5899 IFS=$as_save_IFS
   5900 
   5901 fi
   5902 fi
   5903 AR=$ac_cv_prog_AR
   5904 if test -n "$AR"; then
   5905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5906 $as_echo "$AR" >&6; }
   5907 else
   5908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5909 $as_echo "no" >&6; }
   5910 fi
   5911 
   5912 
   5913     test -n "$AR" && break
   5914   done
   5915 fi
   5916 if test -z "$AR"; then
   5917   ac_ct_AR=$AR
   5918   for ac_prog in ar lib "link -lib"
   5919 do
   5920   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5921 set dummy $ac_prog; ac_word=$2
   5922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5923 $as_echo_n "checking for $ac_word... " >&6; }
   5924 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5925   $as_echo_n "(cached) " >&6
   5926 else
   5927   if test -n "$ac_ct_AR"; then
   5928   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5929 else
   5930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5931 for as_dir in $PATH
   5932 do
   5933   IFS=$as_save_IFS
   5934   test -z "$as_dir" && as_dir=.
   5935     for ac_exec_ext in '' $ac_executable_extensions; do
   5936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5937     ac_cv_prog_ac_ct_AR="$ac_prog"
   5938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5939     break 2
   5940   fi
   5941 done
   5942   done
   5943 IFS=$as_save_IFS
   5944 
   5945 fi
   5946 fi
   5947 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5948 if test -n "$ac_ct_AR"; then
   5949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5950 $as_echo "$ac_ct_AR" >&6; }
   5951 else
   5952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5953 $as_echo "no" >&6; }
   5954 fi
   5955 
   5956 
   5957   test -n "$ac_ct_AR" && break
   5958 done
   5959 
   5960   if test "x$ac_ct_AR" = x; then
   5961     AR="false"
   5962   else
   5963     case $cross_compiling:$ac_tool_warned in
   5964 yes:)
   5965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5967 ac_tool_warned=yes ;;
   5968 esac
   5969     AR=$ac_ct_AR
   5970   fi
   5971 fi
   5972 
   5973 : ${AR=ar}
   5974 
   5975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   5976 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   5977 if ${am_cv_ar_interface+:} false; then :
   5978   $as_echo_n "(cached) " >&6
   5979 else
   5980   ac_ext=c
   5981 ac_cpp='$CPP $CPPFLAGS'
   5982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5985 
   5986    am_cv_ar_interface=ar
   5987    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5988 /* end confdefs.h.  */
   5989 int some_variable = 0;
   5990 _ACEOF
   5991 if ac_fn_c_try_compile "$LINENO"; then :
   5992   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   5993       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5994   (eval $am_ar_try) 2>&5
   5995   ac_status=$?
   5996   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5997   test $ac_status = 0; }
   5998       if test "$ac_status" -eq 0; then
   5999         am_cv_ar_interface=ar
   6000       else
   6001         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   6002         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   6003   (eval $am_ar_try) 2>&5
   6004   ac_status=$?
   6005   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6006   test $ac_status = 0; }
   6007         if test "$ac_status" -eq 0; then
   6008           am_cv_ar_interface=lib
   6009         else
   6010           am_cv_ar_interface=unknown
   6011         fi
   6012       fi
   6013       rm -f conftest.lib libconftest.a
   6014 
   6015 fi
   6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6017    ac_ext=c
   6018 ac_cpp='$CPP $CPPFLAGS'
   6019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6022 
   6023 fi
   6024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   6025 $as_echo "$am_cv_ar_interface" >&6; }
   6026 
   6027 case $am_cv_ar_interface in
   6028 ar)
   6029   ;;
   6030 lib)
   6031   # Microsoft lib, so override with the ar-lib wrapper script.
   6032   # FIXME: It is wrong to rewrite AR.
   6033   # But if we don't then we get into trouble of one sort or another.
   6034   # A longer-term fix would be to have automake use am__AR in this case,
   6035   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   6036   # similar.
   6037   AR="$am_aux_dir/ar-lib $AR"
   6038   ;;
   6039 unknown)
   6040   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   6041   ;;
   6042 esac
   6043 
   6044 
   6045   for ac_prog in bison
   6046 do
   6047   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6048 set dummy $ac_prog; ac_word=$2
   6049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6050 $as_echo_n "checking for $ac_word... " >&6; }
   6051 if ${ac_cv_prog_BISON+:} false; then :
   6052   $as_echo_n "(cached) " >&6
   6053 else
   6054   if test -n "$BISON"; then
   6055   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   6056 else
   6057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6058 for as_dir in $PATH
   6059 do
   6060   IFS=$as_save_IFS
   6061   test -z "$as_dir" && as_dir=.
   6062     for ac_exec_ext in '' $ac_executable_extensions; do
   6063   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6064     ac_cv_prog_BISON="$ac_prog"
   6065     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6066     break 2
   6067   fi
   6068 done
   6069   done
   6070 IFS=$as_save_IFS
   6071 
   6072 fi
   6073 fi
   6074 BISON=$ac_cv_prog_BISON
   6075 if test -n "$BISON"; then
   6076   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   6077 $as_echo "$BISON" >&6; }
   6078 else
   6079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6080 $as_echo "no" >&6; }
   6081 fi
   6082 
   6083 
   6084   test -n "$BISON" && break
   6085 done
   6086 
   6087   if test -z "$BISON"; then
   6088     ac_verc_fail=yes
   6089   else
   6090     cat >conftest.y <<_ACEOF
   6091 %require "3.0.4"
   6092 %%
   6093 exp:
   6094 _ACEOF
   6095     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison 3.0.4 or newer" >&5
   6096 $as_echo_n "checking for bison 3.0.4 or newer... " >&6; }
   6097     ac_prog_version=`$BISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
   6098     : ${ac_prog_version:='v. ?.??'}
   6099     if $BISON conftest.y -o conftest.c 2>/dev/null; then
   6100       ac_prog_version="$ac_prog_version, ok"
   6101       ac_verc_fail=no
   6102     else
   6103       ac_prog_version="$ac_prog_version, bad"
   6104       ac_verc_fail=yes
   6105     fi
   6106     rm -f conftest.y conftest.c
   6107     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
   6108 $as_echo "$ac_prog_version" >&6; }
   6109   fi
   6110   if test $ac_verc_fail = yes; then
   6111     BISON=:
   6112   fi
   6113 
   6114 
   6115 
   6116 # Check whether --enable-shared was given.
   6117 if test "${enable_shared+set}" = set; then :
   6118   enableval=$enable_shared; p=${PACKAGE-default}
   6119     case $enableval in
   6120     yes) enable_shared=yes ;;
   6121     no) enable_shared=no ;;
   6122     *)
   6123       enable_shared=no
   6124       # Look at the argument we got.  We use all the common list separators.
   6125       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6126       for pkg in $enableval; do
   6127 	IFS="$lt_save_ifs"
   6128 	if test "X$pkg" = "X$p"; then
   6129 	  enable_shared=yes
   6130 	fi
   6131       done
   6132       IFS="$lt_save_ifs"
   6133       ;;
   6134     esac
   6135 else
   6136   enable_shared=no
   6137 fi
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 case `pwd` in
   6148   *\ * | *\	*)
   6149     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6150 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6151 esac
   6152 
   6153 
   6154 
   6155 macro_version='2.2.7a'
   6156 macro_revision='1.3134'
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 ltmain="$ac_aux_dir/ltmain.sh"
   6171 
   6172 # Backslashify metacharacters that are still active within
   6173 # double-quoted strings.
   6174 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6175 
   6176 # Same as above, but do not quote variable references.
   6177 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6178 
   6179 # Sed substitution to delay expansion of an escaped shell variable in a
   6180 # double_quote_subst'ed string.
   6181 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6182 
   6183 # Sed substitution to delay expansion of an escaped single quote.
   6184 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6185 
   6186 # Sed substitution to avoid accidental globbing in evaled expressions
   6187 no_glob_subst='s/\*/\\\*/g'
   6188 
   6189 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6190 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6191 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6192 
   6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6194 $as_echo_n "checking how to print strings... " >&6; }
   6195 # Test print first, because it will be a builtin if present.
   6196 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   6197    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6198   ECHO='print -r --'
   6199 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6200   ECHO='printf %s\n'
   6201 else
   6202   # Use this function as a fallback that always works.
   6203   func_fallback_echo ()
   6204   {
   6205     eval 'cat <<_LTECHO_EOF
   6206 $1
   6207 _LTECHO_EOF'
   6208   }
   6209   ECHO='func_fallback_echo'
   6210 fi
   6211 
   6212 # func_echo_all arg...
   6213 # Invoke $ECHO with all args, space-separated.
   6214 func_echo_all ()
   6215 {
   6216     $ECHO ""
   6217 }
   6218 
   6219 case "$ECHO" in
   6220   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6221 $as_echo "printf" >&6; } ;;
   6222   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6223 $as_echo "print -r" >&6; } ;;
   6224   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6225 $as_echo "cat" >&6; } ;;
   6226 esac
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6242 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6243 if ${ac_cv_path_SED+:} false; then :
   6244   $as_echo_n "(cached) " >&6
   6245 else
   6246             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6247      for ac_i in 1 2 3 4 5 6 7; do
   6248        ac_script="$ac_script$as_nl$ac_script"
   6249      done
   6250      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6251      { ac_script=; unset ac_script;}
   6252      if test -z "$SED"; then
   6253   ac_path_SED_found=false
   6254   # Loop through the user's path and test for each of PROGNAME-LIST
   6255   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6256 for as_dir in $PATH
   6257 do
   6258   IFS=$as_save_IFS
   6259   test -z "$as_dir" && as_dir=.
   6260     for ac_prog in sed gsed; do
   6261     for ac_exec_ext in '' $ac_executable_extensions; do
   6262       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6263       as_fn_executable_p "$ac_path_SED" || continue
   6264 # Check for GNU ac_path_SED and select it if it is found.
   6265   # Check for GNU $ac_path_SED
   6266 case `"$ac_path_SED" --version 2>&1` in
   6267 *GNU*)
   6268   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6269 *)
   6270   ac_count=0
   6271   $as_echo_n 0123456789 >"conftest.in"
   6272   while :
   6273   do
   6274     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6275     mv "conftest.tmp" "conftest.in"
   6276     cp "conftest.in" "conftest.nl"
   6277     $as_echo '' >> "conftest.nl"
   6278     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6279     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6280     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6281     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6282       # Best one so far, save it but keep looking for a better one
   6283       ac_cv_path_SED="$ac_path_SED"
   6284       ac_path_SED_max=$ac_count
   6285     fi
   6286     # 10*(2^10) chars as input seems more than enough
   6287     test $ac_count -gt 10 && break
   6288   done
   6289   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6290 esac
   6291 
   6292       $ac_path_SED_found && break 3
   6293     done
   6294   done
   6295   done
   6296 IFS=$as_save_IFS
   6297   if test -z "$ac_cv_path_SED"; then
   6298     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6299   fi
   6300 else
   6301   ac_cv_path_SED=$SED
   6302 fi
   6303 
   6304 fi
   6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6306 $as_echo "$ac_cv_path_SED" >&6; }
   6307  SED="$ac_cv_path_SED"
   6308   rm -f conftest.sed
   6309 
   6310 test -z "$SED" && SED=sed
   6311 Xsed="$SED -e 1s/^X//"
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6324 $as_echo_n "checking for fgrep... " >&6; }
   6325 if ${ac_cv_path_FGREP+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6329    then ac_cv_path_FGREP="$GREP -F"
   6330    else
   6331      if test -z "$FGREP"; then
   6332   ac_path_FGREP_found=false
   6333   # Loop through the user's path and test for each of PROGNAME-LIST
   6334   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6335 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6336 do
   6337   IFS=$as_save_IFS
   6338   test -z "$as_dir" && as_dir=.
   6339     for ac_prog in fgrep; do
   6340     for ac_exec_ext in '' $ac_executable_extensions; do
   6341       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6342       as_fn_executable_p "$ac_path_FGREP" || continue
   6343 # Check for GNU ac_path_FGREP and select it if it is found.
   6344   # Check for GNU $ac_path_FGREP
   6345 case `"$ac_path_FGREP" --version 2>&1` in
   6346 *GNU*)
   6347   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6348 *)
   6349   ac_count=0
   6350   $as_echo_n 0123456789 >"conftest.in"
   6351   while :
   6352   do
   6353     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6354     mv "conftest.tmp" "conftest.in"
   6355     cp "conftest.in" "conftest.nl"
   6356     $as_echo 'FGREP' >> "conftest.nl"
   6357     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6358     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6359     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6360     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6361       # Best one so far, save it but keep looking for a better one
   6362       ac_cv_path_FGREP="$ac_path_FGREP"
   6363       ac_path_FGREP_max=$ac_count
   6364     fi
   6365     # 10*(2^10) chars as input seems more than enough
   6366     test $ac_count -gt 10 && break
   6367   done
   6368   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6369 esac
   6370 
   6371       $ac_path_FGREP_found && break 3
   6372     done
   6373   done
   6374   done
   6375 IFS=$as_save_IFS
   6376   if test -z "$ac_cv_path_FGREP"; then
   6377     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6378   fi
   6379 else
   6380   ac_cv_path_FGREP=$FGREP
   6381 fi
   6382 
   6383    fi
   6384 fi
   6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6386 $as_echo "$ac_cv_path_FGREP" >&6; }
   6387  FGREP="$ac_cv_path_FGREP"
   6388 
   6389 
   6390 test -z "$GREP" && GREP=grep
   6391 
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 # Check whether --with-gnu-ld was given.
   6411 if test "${with_gnu_ld+set}" = set; then :
   6412   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6413 else
   6414   with_gnu_ld=no
   6415 fi
   6416 
   6417 ac_prog=ld
   6418 if test "$GCC" = yes; then
   6419   # Check if gcc -print-prog-name=ld gives a path.
   6420   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6421 $as_echo_n "checking for ld used by $CC... " >&6; }
   6422   case $host in
   6423   *-*-mingw*)
   6424     # gcc leaves a trailing carriage return which upsets mingw
   6425     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6426   *)
   6427     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6428   esac
   6429   case $ac_prog in
   6430     # Accept absolute paths.
   6431     [\\/]* | ?:[\\/]*)
   6432       re_direlt='/[^/][^/]*/\.\./'
   6433       # Canonicalize the pathname of ld
   6434       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6435       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6436 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6437       done
   6438       test -z "$LD" && LD="$ac_prog"
   6439       ;;
   6440   "")
   6441     # If it fails, then pretend we aren't using GCC.
   6442     ac_prog=ld
   6443     ;;
   6444   *)
   6445     # If it is relative, then search for the first ld in PATH.
   6446     with_gnu_ld=unknown
   6447     ;;
   6448   esac
   6449 elif test "$with_gnu_ld" = yes; then
   6450   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6451 $as_echo_n "checking for GNU ld... " >&6; }
   6452 else
   6453   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6454 $as_echo_n "checking for non-GNU ld... " >&6; }
   6455 fi
   6456 if ${lt_cv_path_LD+:} false; then :
   6457   $as_echo_n "(cached) " >&6
   6458 else
   6459   if test -z "$LD"; then
   6460   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6461   for ac_dir in $PATH; do
   6462     IFS="$lt_save_ifs"
   6463     test -z "$ac_dir" && ac_dir=.
   6464     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6465       lt_cv_path_LD="$ac_dir/$ac_prog"
   6466       # Check to see if the program is GNU ld.  I'd rather use --version,
   6467       # but apparently some variants of GNU ld only accept -v.
   6468       # Break only if it was the GNU/non-GNU ld that we prefer.
   6469       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6470       *GNU* | *'with BFD'*)
   6471 	test "$with_gnu_ld" != no && break
   6472 	;;
   6473       *)
   6474 	test "$with_gnu_ld" != yes && break
   6475 	;;
   6476       esac
   6477     fi
   6478   done
   6479   IFS="$lt_save_ifs"
   6480 else
   6481   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6482 fi
   6483 fi
   6484 
   6485 LD="$lt_cv_path_LD"
   6486 if test -n "$LD"; then
   6487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6488 $as_echo "$LD" >&6; }
   6489 else
   6490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6491 $as_echo "no" >&6; }
   6492 fi
   6493 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6495 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6496 if ${lt_cv_prog_gnu_ld+:} false; then :
   6497   $as_echo_n "(cached) " >&6
   6498 else
   6499   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6500 case `$LD -v 2>&1 </dev/null` in
   6501 *GNU* | *'with BFD'*)
   6502   lt_cv_prog_gnu_ld=yes
   6503   ;;
   6504 *)
   6505   lt_cv_prog_gnu_ld=no
   6506   ;;
   6507 esac
   6508 fi
   6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6510 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6511 with_gnu_ld=$lt_cv_prog_gnu_ld
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6522 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6523 if ${lt_cv_path_NM+:} false; then :
   6524   $as_echo_n "(cached) " >&6
   6525 else
   6526   if test -n "$NM"; then
   6527    # Let the user override the nm to test.
   6528    lt_nm_to_check="$NM"
   6529  else
   6530    lt_nm_to_check="${ac_tool_prefix}nm"
   6531    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6532      lt_nm_to_check="$lt_nm_to_check nm"
   6533    fi
   6534  fi
   6535  for lt_tmp_nm in "$lt_nm_to_check"; do
   6536    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6537    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6538      IFS="$lt_save_ifs"
   6539      test -z "$ac_dir" && ac_dir=.
   6540      # Strip out any user-provided options from the nm to test twice,
   6541      # the first time to test to see if nm (rather than its options) has
   6542      # an explicit path, the second time to yield a file which can be
   6543      # nm'ed itself.
   6544      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   6545      case "$tmp_nm_path" in
   6546      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   6547      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   6548      esac
   6549      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   6550      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   6551        # Check to see if the nm accepts a BSD-compat flag.
   6552        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6553        #   nm: unknown option "B" ignored
   6554        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6555        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   6556 	 break
   6557 	 ;;
   6558        *)
   6559 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6560 	 *$tmp_nm*)
   6561 	   lt_cv_path_NM="$tmp_nm -p"
   6562 	   break
   6563 	   ;;
   6564 	 *)
   6565 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6566 	   continue # so that we can try to find one that supports BSD flags
   6567 	   ;;
   6568 	 esac
   6569 	 ;;
   6570        esac
   6571      fi
   6572    done
   6573    IFS="$lt_save_ifs"
   6574  done
   6575  : ${lt_cv_path_NM=no}
   6576 fi
   6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6578 $as_echo "$lt_cv_path_NM" >&6; }
   6579 if test "$lt_cv_path_NM" != "no"; then
   6580   NM="$lt_cv_path_NM"
   6581 else
   6582   # Didn't find any BSD compatible name lister, look for dumpbin.
   6583   if test -n "$DUMPBIN"; then :
   6584     # Let the user override the test.
   6585   else
   6586     if test -n "$ac_tool_prefix"; then
   6587   for ac_prog in dumpbin "link -dump"
   6588   do
   6589     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6592 $as_echo_n "checking for $ac_word... " >&6; }
   6593 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6594   $as_echo_n "(cached) " >&6
   6595 else
   6596   if test -n "$DUMPBIN"; then
   6597   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6598 else
   6599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6600 for as_dir in $PATH
   6601 do
   6602   IFS=$as_save_IFS
   6603   test -z "$as_dir" && as_dir=.
   6604     for ac_exec_ext in '' $ac_executable_extensions; do
   6605   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6606     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6607     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6608     break 2
   6609   fi
   6610 done
   6611   done
   6612 IFS=$as_save_IFS
   6613 
   6614 fi
   6615 fi
   6616 DUMPBIN=$ac_cv_prog_DUMPBIN
   6617 if test -n "$DUMPBIN"; then
   6618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6619 $as_echo "$DUMPBIN" >&6; }
   6620 else
   6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6622 $as_echo "no" >&6; }
   6623 fi
   6624 
   6625 
   6626     test -n "$DUMPBIN" && break
   6627   done
   6628 fi
   6629 if test -z "$DUMPBIN"; then
   6630   ac_ct_DUMPBIN=$DUMPBIN
   6631   for ac_prog in dumpbin "link -dump"
   6632 do
   6633   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6634 set dummy $ac_prog; ac_word=$2
   6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6636 $as_echo_n "checking for $ac_word... " >&6; }
   6637 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6638   $as_echo_n "(cached) " >&6
   6639 else
   6640   if test -n "$ac_ct_DUMPBIN"; then
   6641   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6642 else
   6643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6644 for as_dir in $PATH
   6645 do
   6646   IFS=$as_save_IFS
   6647   test -z "$as_dir" && as_dir=.
   6648     for ac_exec_ext in '' $ac_executable_extensions; do
   6649   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6650     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6652     break 2
   6653   fi
   6654 done
   6655   done
   6656 IFS=$as_save_IFS
   6657 
   6658 fi
   6659 fi
   6660 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6661 if test -n "$ac_ct_DUMPBIN"; then
   6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6663 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6664 else
   6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6666 $as_echo "no" >&6; }
   6667 fi
   6668 
   6669 
   6670   test -n "$ac_ct_DUMPBIN" && break
   6671 done
   6672 
   6673   if test "x$ac_ct_DUMPBIN" = x; then
   6674     DUMPBIN=":"
   6675   else
   6676     case $cross_compiling:$ac_tool_warned in
   6677 yes:)
   6678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6680 ac_tool_warned=yes ;;
   6681 esac
   6682     DUMPBIN=$ac_ct_DUMPBIN
   6683   fi
   6684 fi
   6685 
   6686     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6687     *COFF*)
   6688       DUMPBIN="$DUMPBIN -symbols"
   6689       ;;
   6690     *)
   6691       DUMPBIN=:
   6692       ;;
   6693     esac
   6694   fi
   6695 
   6696   if test "$DUMPBIN" != ":"; then
   6697     NM="$DUMPBIN"
   6698   fi
   6699 fi
   6700 test -z "$NM" && NM=nm
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6708 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6709 if ${lt_cv_nm_interface+:} false; then :
   6710   $as_echo_n "(cached) " >&6
   6711 else
   6712   lt_cv_nm_interface="BSD nm"
   6713   echo "int some_variable = 0;" > conftest.$ac_ext
   6714   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6715   (eval "$ac_compile" 2>conftest.err)
   6716   cat conftest.err >&5
   6717   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6718   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6719   cat conftest.err >&5
   6720   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6721   cat conftest.out >&5
   6722   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6723     lt_cv_nm_interface="MS dumpbin"
   6724   fi
   6725   rm -f conftest*
   6726 fi
   6727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6728 $as_echo "$lt_cv_nm_interface" >&6; }
   6729 
   6730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6731 $as_echo_n "checking whether ln -s works... " >&6; }
   6732 LN_S=$as_ln_s
   6733 if test "$LN_S" = "ln -s"; then
   6734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6735 $as_echo "yes" >&6; }
   6736 else
   6737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6738 $as_echo "no, using $LN_S" >&6; }
   6739 fi
   6740 
   6741 # find the maximum length of command line arguments
   6742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6743 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6744 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6745   $as_echo_n "(cached) " >&6
   6746 else
   6747     i=0
   6748   teststring="ABCD"
   6749 
   6750   case $build_os in
   6751   msdosdjgpp*)
   6752     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6753     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6754     # during glob expansion).  Even if it were fixed, the result of this
   6755     # check would be larger than it should be.
   6756     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6757     ;;
   6758 
   6759   gnu*)
   6760     # Under GNU Hurd, this test is not required because there is
   6761     # no limit to the length of command line arguments.
   6762     # Libtool will interpret -1 as no limit whatsoever
   6763     lt_cv_sys_max_cmd_len=-1;
   6764     ;;
   6765 
   6766   cygwin* | mingw* | cegcc*)
   6767     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6768     # about 5 minutes as the teststring grows exponentially.
   6769     # Worse, since 9x/ME are not pre-emptively multitasking,
   6770     # you end up with a "frozen" computer, even though with patience
   6771     # the test eventually succeeds (with a max line length of 256k).
   6772     # Instead, let's just punt: use the minimum linelength reported by
   6773     # all of the supported platforms: 8192 (on NT/2K/XP).
   6774     lt_cv_sys_max_cmd_len=8192;
   6775     ;;
   6776 
   6777   mint*)
   6778     # On MiNT this can take a long time and run out of memory.
   6779     lt_cv_sys_max_cmd_len=8192;
   6780     ;;
   6781 
   6782   amigaos*)
   6783     # On AmigaOS with pdksh, this test takes hours, literally.
   6784     # So we just punt and use a minimum line length of 8192.
   6785     lt_cv_sys_max_cmd_len=8192;
   6786     ;;
   6787 
   6788   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6789     # This has been around since 386BSD, at least.  Likely further.
   6790     if test -x /sbin/sysctl; then
   6791       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6792     elif test -x /usr/sbin/sysctl; then
   6793       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6794     else
   6795       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6796     fi
   6797     # And add a safety zone
   6798     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6799     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6800     ;;
   6801 
   6802   interix*)
   6803     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6804     lt_cv_sys_max_cmd_len=196608
   6805     ;;
   6806 
   6807   osf*)
   6808     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6809     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6810     # nice to cause kernel panics so lets avoid the loop below.
   6811     # First set a reasonable default.
   6812     lt_cv_sys_max_cmd_len=16384
   6813     #
   6814     if test -x /sbin/sysconfig; then
   6815       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6816         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6817       esac
   6818     fi
   6819     ;;
   6820   sco3.2v5*)
   6821     lt_cv_sys_max_cmd_len=102400
   6822     ;;
   6823   sysv5* | sco5v6* | sysv4.2uw2*)
   6824     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6825     if test -n "$kargmax"; then
   6826       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6827     else
   6828       lt_cv_sys_max_cmd_len=32768
   6829     fi
   6830     ;;
   6831   *)
   6832     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6833     if test -n "$lt_cv_sys_max_cmd_len"; then
   6834       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6835       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6836     else
   6837       # Make teststring a little bigger before we do anything with it.
   6838       # a 1K string should be a reasonable start.
   6839       for i in 1 2 3 4 5 6 7 8 ; do
   6840         teststring=$teststring$teststring
   6841       done
   6842       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6843       # If test is not a shell built-in, we'll probably end up computing a
   6844       # maximum length that is only half of the actual maximum length, but
   6845       # we can't tell.
   6846       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6847 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6848 	      test $i != 17 # 1/2 MB should be enough
   6849       do
   6850         i=`expr $i + 1`
   6851         teststring=$teststring$teststring
   6852       done
   6853       # Only check the string length outside the loop.
   6854       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6855       teststring=
   6856       # Add a significant safety factor because C++ compilers can tack on
   6857       # massive amounts of additional arguments before passing them to the
   6858       # linker.  It appears as though 1/2 is a usable value.
   6859       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6860     fi
   6861     ;;
   6862   esac
   6863 
   6864 fi
   6865 
   6866 if test -n $lt_cv_sys_max_cmd_len ; then
   6867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6868 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6869 else
   6870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6871 $as_echo "none" >&6; }
   6872 fi
   6873 max_cmd_len=$lt_cv_sys_max_cmd_len
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 : ${CP="cp -f"}
   6881 : ${MV="mv -f"}
   6882 : ${RM="rm -f"}
   6883 
   6884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6885 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6886 # Try some XSI features
   6887 xsi_shell=no
   6888 ( _lt_dummy="a/b/c"
   6889   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6890       = c,a/b,, \
   6891     && eval 'test $(( 1 + 1 )) -eq 2 \
   6892     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6893   && xsi_shell=yes
   6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6895 $as_echo "$xsi_shell" >&6; }
   6896 
   6897 
   6898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6899 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6900 lt_shell_append=no
   6901 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6902     >/dev/null 2>&1 \
   6903   && lt_shell_append=yes
   6904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6905 $as_echo "$lt_shell_append" >&6; }
   6906 
   6907 
   6908 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6909   lt_unset=unset
   6910 else
   6911   lt_unset=false
   6912 fi
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 # test EBCDIC or ASCII
   6919 case `echo X|tr X '\101'` in
   6920  A) # ASCII based system
   6921     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6922   lt_SP2NL='tr \040 \012'
   6923   lt_NL2SP='tr \015\012 \040\040'
   6924   ;;
   6925  *) # EBCDIC based system
   6926   lt_SP2NL='tr \100 \n'
   6927   lt_NL2SP='tr \r\n \100\100'
   6928   ;;
   6929 esac
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6940 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6941 if ${lt_cv_ld_reload_flag+:} false; then :
   6942   $as_echo_n "(cached) " >&6
   6943 else
   6944   lt_cv_ld_reload_flag='-r'
   6945 fi
   6946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6947 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6948 reload_flag=$lt_cv_ld_reload_flag
   6949 case $reload_flag in
   6950 "" | " "*) ;;
   6951 *) reload_flag=" $reload_flag" ;;
   6952 esac
   6953 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6954 case $host_os in
   6955   darwin*)
   6956     if test "$GCC" = yes; then
   6957       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6958     else
   6959       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6960     fi
   6961     ;;
   6962 esac
   6963 
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 if test -n "$ac_tool_prefix"; then
   6973   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6974 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6976 $as_echo_n "checking for $ac_word... " >&6; }
   6977 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6978   $as_echo_n "(cached) " >&6
   6979 else
   6980   if test -n "$OBJDUMP"; then
   6981   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6982 else
   6983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6984 for as_dir in $PATH
   6985 do
   6986   IFS=$as_save_IFS
   6987   test -z "$as_dir" && as_dir=.
   6988     for ac_exec_ext in '' $ac_executable_extensions; do
   6989   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6990     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6991     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6992     break 2
   6993   fi
   6994 done
   6995   done
   6996 IFS=$as_save_IFS
   6997 
   6998 fi
   6999 fi
   7000 OBJDUMP=$ac_cv_prog_OBJDUMP
   7001 if test -n "$OBJDUMP"; then
   7002   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7003 $as_echo "$OBJDUMP" >&6; }
   7004 else
   7005   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7006 $as_echo "no" >&6; }
   7007 fi
   7008 
   7009 
   7010 fi
   7011 if test -z "$ac_cv_prog_OBJDUMP"; then
   7012   ac_ct_OBJDUMP=$OBJDUMP
   7013   # Extract the first word of "objdump", so it can be a program name with args.
   7014 set dummy objdump; ac_word=$2
   7015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7016 $as_echo_n "checking for $ac_word... " >&6; }
   7017 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   7018   $as_echo_n "(cached) " >&6
   7019 else
   7020   if test -n "$ac_ct_OBJDUMP"; then
   7021   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7022 else
   7023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7024 for as_dir in $PATH
   7025 do
   7026   IFS=$as_save_IFS
   7027   test -z "$as_dir" && as_dir=.
   7028     for ac_exec_ext in '' $ac_executable_extensions; do
   7029   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7030     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7031     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7032     break 2
   7033   fi
   7034 done
   7035   done
   7036 IFS=$as_save_IFS
   7037 
   7038 fi
   7039 fi
   7040 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7041 if test -n "$ac_ct_OBJDUMP"; then
   7042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7043 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7044 else
   7045   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7046 $as_echo "no" >&6; }
   7047 fi
   7048 
   7049   if test "x$ac_ct_OBJDUMP" = x; then
   7050     OBJDUMP="false"
   7051   else
   7052     case $cross_compiling:$ac_tool_warned in
   7053 yes:)
   7054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7055 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7056 ac_tool_warned=yes ;;
   7057 esac
   7058     OBJDUMP=$ac_ct_OBJDUMP
   7059   fi
   7060 else
   7061   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7062 fi
   7063 
   7064 test -z "$OBJDUMP" && OBJDUMP=objdump
   7065 
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7075 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7076 if ${lt_cv_deplibs_check_method+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7080 lt_cv_file_magic_test_file=
   7081 lt_cv_deplibs_check_method='unknown'
   7082 # Need to set the preceding variable on all platforms that support
   7083 # interlibrary dependencies.
   7084 # 'none' -- dependencies not supported.
   7085 # `unknown' -- same as none, but documents that we really don't know.
   7086 # 'pass_all' -- all dependencies passed with no checks.
   7087 # 'test_compile' -- check by making test program.
   7088 # 'file_magic [[regex]]' -- check by looking for files in library path
   7089 # which responds to the $file_magic_cmd with a given extended regex.
   7090 # If you have `file' or equivalent on your system and you're not sure
   7091 # whether `pass_all' will *always* work, you probably want this one.
   7092 
   7093 case $host_os in
   7094 aix[4-9]*)
   7095   lt_cv_deplibs_check_method=pass_all
   7096   ;;
   7097 
   7098 beos*)
   7099   lt_cv_deplibs_check_method=pass_all
   7100   ;;
   7101 
   7102 bsdi[45]*)
   7103   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7104   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7105   lt_cv_file_magic_test_file=/shlib/libc.so
   7106   ;;
   7107 
   7108 cygwin*)
   7109   # func_win32_libid is a shell function defined in ltmain.sh
   7110   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7111   lt_cv_file_magic_cmd='func_win32_libid'
   7112   ;;
   7113 
   7114 mingw* | pw32*)
   7115   # Base MSYS/MinGW do not provide the 'file' command needed by
   7116   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7117   # unless we find 'file', for example because we are cross-compiling.
   7118   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   7119   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   7120     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7121     lt_cv_file_magic_cmd='func_win32_libid'
   7122   else
   7123     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   7124     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7125   fi
   7126   ;;
   7127 
   7128 cegcc*)
   7129   # use the weaker test based on 'objdump'. See mingw*.
   7130   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7131   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7132   ;;
   7133 
   7134 darwin* | rhapsody*)
   7135   lt_cv_deplibs_check_method=pass_all
   7136   ;;
   7137 
   7138 freebsd* | dragonfly*)
   7139   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7140     case $host_cpu in
   7141     i*86 )
   7142       # Not sure whether the presence of OpenBSD here was a mistake.
   7143       # Let's accept both of them until this is cleared up.
   7144       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7145       lt_cv_file_magic_cmd=/usr/bin/file
   7146       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7147       ;;
   7148     esac
   7149   else
   7150     lt_cv_deplibs_check_method=pass_all
   7151   fi
   7152   ;;
   7153 
   7154 gnu*)
   7155   lt_cv_deplibs_check_method=pass_all
   7156   ;;
   7157 
   7158 haiku*)
   7159   lt_cv_deplibs_check_method=pass_all
   7160   ;;
   7161 
   7162 hpux10.20* | hpux11*)
   7163   lt_cv_file_magic_cmd=/usr/bin/file
   7164   case $host_cpu in
   7165   ia64*)
   7166     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7167     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7168     ;;
   7169   hppa*64*)
   7170     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]'
   7171     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7172     ;;
   7173   *)
   7174     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7175     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7176     ;;
   7177   esac
   7178   ;;
   7179 
   7180 interix[3-9]*)
   7181   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7182   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7183   ;;
   7184 
   7185 irix5* | irix6* | nonstopux*)
   7186   case $LD in
   7187   *-32|*"-32 ") libmagic=32-bit;;
   7188   *-n32|*"-n32 ") libmagic=N32;;
   7189   *-64|*"-64 ") libmagic=64-bit;;
   7190   *) libmagic=never-match;;
   7191   esac
   7192   lt_cv_deplibs_check_method=pass_all
   7193   ;;
   7194 
   7195 # This must be Linux ELF.
   7196 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   7197   lt_cv_deplibs_check_method=pass_all
   7198   ;;
   7199 
   7200 netbsd*)
   7201   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7202     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7203   else
   7204     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7205   fi
   7206   ;;
   7207 
   7208 newos6*)
   7209   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7210   lt_cv_file_magic_cmd=/usr/bin/file
   7211   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7212   ;;
   7213 
   7214 *nto* | *qnx*)
   7215   lt_cv_deplibs_check_method=pass_all
   7216   ;;
   7217 
   7218 openbsd*)
   7219   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7220     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7221   else
   7222     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7223   fi
   7224   ;;
   7225 
   7226 osf3* | osf4* | osf5*)
   7227   lt_cv_deplibs_check_method=pass_all
   7228   ;;
   7229 
   7230 rdos*)
   7231   lt_cv_deplibs_check_method=pass_all
   7232   ;;
   7233 
   7234 solaris*)
   7235   lt_cv_deplibs_check_method=pass_all
   7236   ;;
   7237 
   7238 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7239   lt_cv_deplibs_check_method=pass_all
   7240   ;;
   7241 
   7242 sysv4 | sysv4.3*)
   7243   case $host_vendor in
   7244   motorola)
   7245     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]'
   7246     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7247     ;;
   7248   ncr)
   7249     lt_cv_deplibs_check_method=pass_all
   7250     ;;
   7251   sequent)
   7252     lt_cv_file_magic_cmd='/bin/file'
   7253     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7254     ;;
   7255   sni)
   7256     lt_cv_file_magic_cmd='/bin/file'
   7257     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7258     lt_cv_file_magic_test_file=/lib/libc.so
   7259     ;;
   7260   siemens)
   7261     lt_cv_deplibs_check_method=pass_all
   7262     ;;
   7263   pc)
   7264     lt_cv_deplibs_check_method=pass_all
   7265     ;;
   7266   esac
   7267   ;;
   7268 
   7269 tpf*)
   7270   lt_cv_deplibs_check_method=pass_all
   7271   ;;
   7272 vxworks*)
   7273   # Assume VxWorks cross toolchains are built on Linux, possibly
   7274   # as canadian for Windows hosts.
   7275   lt_cv_deplibs_check_method=pass_all
   7276   ;;
   7277 esac
   7278 
   7279 fi
   7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7281 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7282 file_magic_cmd=$lt_cv_file_magic_cmd
   7283 deplibs_check_method=$lt_cv_deplibs_check_method
   7284 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 plugin_option=
   7298 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   7299 for plugin in $plugin_names; do
   7300   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   7301   if test x$plugin_so = x$plugin; then
   7302     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   7303   fi
   7304   if test x$plugin_so != x$plugin; then
   7305     plugin_option="--plugin $plugin_so"
   7306     break
   7307   fi
   7308 done
   7309 
   7310 if test -n "$ac_tool_prefix"; then
   7311   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7312 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7314 $as_echo_n "checking for $ac_word... " >&6; }
   7315 if ${ac_cv_prog_AR+:} false; then :
   7316   $as_echo_n "(cached) " >&6
   7317 else
   7318   if test -n "$AR"; then
   7319   ac_cv_prog_AR="$AR" # Let the user override the test.
   7320 else
   7321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7322 for as_dir in $PATH
   7323 do
   7324   IFS=$as_save_IFS
   7325   test -z "$as_dir" && as_dir=.
   7326     for ac_exec_ext in '' $ac_executable_extensions; do
   7327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7328     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7330     break 2
   7331   fi
   7332 done
   7333   done
   7334 IFS=$as_save_IFS
   7335 
   7336 fi
   7337 fi
   7338 AR=$ac_cv_prog_AR
   7339 if test -n "$AR"; then
   7340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7341 $as_echo "$AR" >&6; }
   7342 else
   7343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7344 $as_echo "no" >&6; }
   7345 fi
   7346 
   7347 
   7348 fi
   7349 if test -z "$ac_cv_prog_AR"; then
   7350   ac_ct_AR=$AR
   7351   # Extract the first word of "ar", so it can be a program name with args.
   7352 set dummy ar; ac_word=$2
   7353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7354 $as_echo_n "checking for $ac_word... " >&6; }
   7355 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7356   $as_echo_n "(cached) " >&6
   7357 else
   7358   if test -n "$ac_ct_AR"; then
   7359   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7360 else
   7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7362 for as_dir in $PATH
   7363 do
   7364   IFS=$as_save_IFS
   7365   test -z "$as_dir" && as_dir=.
   7366     for ac_exec_ext in '' $ac_executable_extensions; do
   7367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7368     ac_cv_prog_ac_ct_AR="ar"
   7369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7370     break 2
   7371   fi
   7372 done
   7373   done
   7374 IFS=$as_save_IFS
   7375 
   7376 fi
   7377 fi
   7378 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7379 if test -n "$ac_ct_AR"; then
   7380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7381 $as_echo "$ac_ct_AR" >&6; }
   7382 else
   7383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7384 $as_echo "no" >&6; }
   7385 fi
   7386 
   7387   if test "x$ac_ct_AR" = x; then
   7388     AR="false"
   7389   else
   7390     case $cross_compiling:$ac_tool_warned in
   7391 yes:)
   7392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7394 ac_tool_warned=yes ;;
   7395 esac
   7396     AR=$ac_ct_AR
   7397   fi
   7398 else
   7399   AR="$ac_cv_prog_AR"
   7400 fi
   7401 
   7402 test -z "$AR" && AR=ar
   7403 if test -n "$plugin_option"; then
   7404   if $AR --help 2>&1 | grep -q "\--plugin"; then
   7405     touch conftest.c
   7406     $AR $plugin_option rc conftest.a conftest.c
   7407     if test "$?" != 0; then
   7408       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   7409 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   7410     else
   7411       AR="$AR $plugin_option"
   7412     fi
   7413     rm -f conftest.*
   7414   fi
   7415 fi
   7416 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7417 
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 if test -n "$ac_tool_prefix"; then
   7429   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7430 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7432 $as_echo_n "checking for $ac_word... " >&6; }
   7433 if ${ac_cv_prog_STRIP+:} false; then :
   7434   $as_echo_n "(cached) " >&6
   7435 else
   7436   if test -n "$STRIP"; then
   7437   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7438 else
   7439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7440 for as_dir in $PATH
   7441 do
   7442   IFS=$as_save_IFS
   7443   test -z "$as_dir" && as_dir=.
   7444     for ac_exec_ext in '' $ac_executable_extensions; do
   7445   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7446     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7447     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7448     break 2
   7449   fi
   7450 done
   7451   done
   7452 IFS=$as_save_IFS
   7453 
   7454 fi
   7455 fi
   7456 STRIP=$ac_cv_prog_STRIP
   7457 if test -n "$STRIP"; then
   7458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7459 $as_echo "$STRIP" >&6; }
   7460 else
   7461   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7462 $as_echo "no" >&6; }
   7463 fi
   7464 
   7465 
   7466 fi
   7467 if test -z "$ac_cv_prog_STRIP"; then
   7468   ac_ct_STRIP=$STRIP
   7469   # Extract the first word of "strip", so it can be a program name with args.
   7470 set dummy strip; ac_word=$2
   7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7472 $as_echo_n "checking for $ac_word... " >&6; }
   7473 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7474   $as_echo_n "(cached) " >&6
   7475 else
   7476   if test -n "$ac_ct_STRIP"; then
   7477   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7478 else
   7479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7480 for as_dir in $PATH
   7481 do
   7482   IFS=$as_save_IFS
   7483   test -z "$as_dir" && as_dir=.
   7484     for ac_exec_ext in '' $ac_executable_extensions; do
   7485   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7486     ac_cv_prog_ac_ct_STRIP="strip"
   7487     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7488     break 2
   7489   fi
   7490 done
   7491   done
   7492 IFS=$as_save_IFS
   7493 
   7494 fi
   7495 fi
   7496 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7497 if test -n "$ac_ct_STRIP"; then
   7498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7499 $as_echo "$ac_ct_STRIP" >&6; }
   7500 else
   7501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7502 $as_echo "no" >&6; }
   7503 fi
   7504 
   7505   if test "x$ac_ct_STRIP" = x; then
   7506     STRIP=":"
   7507   else
   7508     case $cross_compiling:$ac_tool_warned in
   7509 yes:)
   7510 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7511 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7512 ac_tool_warned=yes ;;
   7513 esac
   7514     STRIP=$ac_ct_STRIP
   7515   fi
   7516 else
   7517   STRIP="$ac_cv_prog_STRIP"
   7518 fi
   7519 
   7520 test -z "$STRIP" && STRIP=:
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 if test -n "$ac_tool_prefix"; then
   7528   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7529 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7531 $as_echo_n "checking for $ac_word... " >&6; }
   7532 if ${ac_cv_prog_RANLIB+:} false; then :
   7533   $as_echo_n "(cached) " >&6
   7534 else
   7535   if test -n "$RANLIB"; then
   7536   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7537 else
   7538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7539 for as_dir in $PATH
   7540 do
   7541   IFS=$as_save_IFS
   7542   test -z "$as_dir" && as_dir=.
   7543     for ac_exec_ext in '' $ac_executable_extensions; do
   7544   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7545     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7546     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7547     break 2
   7548   fi
   7549 done
   7550   done
   7551 IFS=$as_save_IFS
   7552 
   7553 fi
   7554 fi
   7555 RANLIB=$ac_cv_prog_RANLIB
   7556 if test -n "$RANLIB"; then
   7557   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7558 $as_echo "$RANLIB" >&6; }
   7559 else
   7560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7561 $as_echo "no" >&6; }
   7562 fi
   7563 
   7564 
   7565 fi
   7566 if test -z "$ac_cv_prog_RANLIB"; then
   7567   ac_ct_RANLIB=$RANLIB
   7568   # Extract the first word of "ranlib", so it can be a program name with args.
   7569 set dummy ranlib; ac_word=$2
   7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7571 $as_echo_n "checking for $ac_word... " >&6; }
   7572 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7573   $as_echo_n "(cached) " >&6
   7574 else
   7575   if test -n "$ac_ct_RANLIB"; then
   7576   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7577 else
   7578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7579 for as_dir in $PATH
   7580 do
   7581   IFS=$as_save_IFS
   7582   test -z "$as_dir" && as_dir=.
   7583     for ac_exec_ext in '' $ac_executable_extensions; do
   7584   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7585     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7586     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7587     break 2
   7588   fi
   7589 done
   7590   done
   7591 IFS=$as_save_IFS
   7592 
   7593 fi
   7594 fi
   7595 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7596 if test -n "$ac_ct_RANLIB"; then
   7597   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7598 $as_echo "$ac_ct_RANLIB" >&6; }
   7599 else
   7600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7601 $as_echo "no" >&6; }
   7602 fi
   7603 
   7604   if test "x$ac_ct_RANLIB" = x; then
   7605     RANLIB=":"
   7606   else
   7607     case $cross_compiling:$ac_tool_warned in
   7608 yes:)
   7609 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7610 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7611 ac_tool_warned=yes ;;
   7612 esac
   7613     RANLIB=$ac_ct_RANLIB
   7614   fi
   7615 else
   7616   RANLIB="$ac_cv_prog_RANLIB"
   7617 fi
   7618 
   7619 test -z "$RANLIB" && RANLIB=:
   7620 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   7621   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   7622     RANLIB="$RANLIB $plugin_option"
   7623   fi
   7624 fi
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 # Determine commands to create old-style static archives.
   7632 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7633 old_postinstall_cmds='chmod 644 $oldlib'
   7634 old_postuninstall_cmds=
   7635 
   7636 if test -n "$RANLIB"; then
   7637   case $host_os in
   7638   openbsd*)
   7639     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7640     ;;
   7641   *)
   7642     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7643     ;;
   7644   esac
   7645   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7646 fi
   7647 
   7648 case $host_os in
   7649   darwin*)
   7650     lock_old_archive_extraction=yes ;;
   7651   *)
   7652     lock_old_archive_extraction=no ;;
   7653 esac
   7654 
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 # If no C compiler was specified, use CC.
   7694 LTCC=${LTCC-"$CC"}
   7695 
   7696 # If no C compiler flags were specified, use CFLAGS.
   7697 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7698 
   7699 # Allow CC to be a program name with arguments.
   7700 compiler=$CC
   7701 
   7702 
   7703 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7705 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7706 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7707   $as_echo_n "(cached) " >&6
   7708 else
   7709 
   7710 # These are sane defaults that work on at least a few old systems.
   7711 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7712 
   7713 # Character class describing NM global symbol codes.
   7714 symcode='[BCDEGRST]'
   7715 
   7716 # Regexp to match symbols that can be accessed directly from C.
   7717 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7718 
   7719 # Define system-specific variables.
   7720 case $host_os in
   7721 aix*)
   7722   symcode='[BCDT]'
   7723   ;;
   7724 cygwin* | mingw* | pw32* | cegcc*)
   7725   symcode='[ABCDGISTW]'
   7726   ;;
   7727 hpux*)
   7728   if test "$host_cpu" = ia64; then
   7729     symcode='[ABCDEGRST]'
   7730   fi
   7731   ;;
   7732 irix* | nonstopux*)
   7733   symcode='[BCDEGRST]'
   7734   ;;
   7735 osf*)
   7736   symcode='[BCDEGQRST]'
   7737   ;;
   7738 solaris*)
   7739   symcode='[BCDRT]'
   7740   ;;
   7741 sco3.2v5*)
   7742   symcode='[DT]'
   7743   ;;
   7744 sysv4.2uw2*)
   7745   symcode='[DT]'
   7746   ;;
   7747 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7748   symcode='[ABDT]'
   7749   ;;
   7750 sysv4)
   7751   symcode='[DFNSTU]'
   7752   ;;
   7753 esac
   7754 
   7755 # If we're using GNU nm, then use its standard symbol codes.
   7756 case `$NM -V 2>&1` in
   7757 *GNU* | *'with BFD'*)
   7758   symcode='[ABCDGIRSTW]' ;;
   7759 esac
   7760 
   7761 # Transform an extracted symbol line into a proper C declaration.
   7762 # Some systems (esp. on ia64) link data and code symbols differently,
   7763 # so use this general approach.
   7764 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7765 
   7766 # Transform an extracted symbol line into symbol name and symbol address
   7767 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7768 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'"
   7769 
   7770 # Handle CRLF in mingw tool chain
   7771 opt_cr=
   7772 case $build_os in
   7773 mingw*)
   7774   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7775   ;;
   7776 esac
   7777 
   7778 # Try without a prefix underscore, then with it.
   7779 for ac_symprfx in "" "_"; do
   7780 
   7781   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7782   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7783 
   7784   # Write the raw and C identifiers.
   7785   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7786     # Fake it for dumpbin and say T for any non-static function
   7787     # and D for any global variable.
   7788     # Also find C++ and __fastcall symbols from MSVC++,
   7789     # which start with @ or ?.
   7790     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7791 "     {last_section=section; section=\$ 3};"\
   7792 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7793 "     \$ 0!~/External *\|/{next};"\
   7794 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7795 "     {if(hide[section]) next};"\
   7796 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7797 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7798 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7799 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7800 "     ' prfx=^$ac_symprfx"
   7801   else
   7802     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7803   fi
   7804 
   7805   # Check to see that the pipe works correctly.
   7806   pipe_works=no
   7807 
   7808   rm -f conftest*
   7809   cat > conftest.$ac_ext <<_LT_EOF
   7810 #ifdef __cplusplus
   7811 extern "C" {
   7812 #endif
   7813 char nm_test_var;
   7814 void nm_test_func(void);
   7815 void nm_test_func(void){}
   7816 #ifdef __cplusplus
   7817 }
   7818 #endif
   7819 int main(){nm_test_var='a';nm_test_func();return(0);}
   7820 _LT_EOF
   7821 
   7822   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7823   (eval $ac_compile) 2>&5
   7824   ac_status=$?
   7825   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7826   test $ac_status = 0; }; then
   7827     # Now try to grab the symbols.
   7828     nlist=conftest.nm
   7829     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7830   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7831   ac_status=$?
   7832   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7833   test $ac_status = 0; } && test -s "$nlist"; then
   7834       # Try sorting and uniquifying the output.
   7835       if sort "$nlist" | uniq > "$nlist"T; then
   7836 	mv -f "$nlist"T "$nlist"
   7837       else
   7838 	rm -f "$nlist"T
   7839       fi
   7840 
   7841       # Make sure that we snagged all the symbols we need.
   7842       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7843 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7844 	  cat <<_LT_EOF > conftest.$ac_ext
   7845 #ifdef __cplusplus
   7846 extern "C" {
   7847 #endif
   7848 
   7849 _LT_EOF
   7850 	  # Now generate the symbol file.
   7851 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7852 
   7853 	  cat <<_LT_EOF >> conftest.$ac_ext
   7854 
   7855 /* The mapping between symbol names and symbols.  */
   7856 const struct {
   7857   const char *name;
   7858   void       *address;
   7859 }
   7860 lt__PROGRAM__LTX_preloaded_symbols[] =
   7861 {
   7862   { "@PROGRAM@", (void *) 0 },
   7863 _LT_EOF
   7864 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7865 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7866   {0, (void *) 0}
   7867 };
   7868 
   7869 /* This works around a problem in FreeBSD linker */
   7870 #ifdef FREEBSD_WORKAROUND
   7871 static const void *lt_preloaded_setup() {
   7872   return lt__PROGRAM__LTX_preloaded_symbols;
   7873 }
   7874 #endif
   7875 
   7876 #ifdef __cplusplus
   7877 }
   7878 #endif
   7879 _LT_EOF
   7880 	  # Now try linking the two files.
   7881 	  mv conftest.$ac_objext conftstm.$ac_objext
   7882 	  lt_save_LIBS="$LIBS"
   7883 	  lt_save_CFLAGS="$CFLAGS"
   7884 	  LIBS="conftstm.$ac_objext"
   7885 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7886 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7887   (eval $ac_link) 2>&5
   7888   ac_status=$?
   7889   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7890   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7891 	    pipe_works=yes
   7892 	  fi
   7893 	  LIBS="$lt_save_LIBS"
   7894 	  CFLAGS="$lt_save_CFLAGS"
   7895 	else
   7896 	  echo "cannot find nm_test_func in $nlist" >&5
   7897 	fi
   7898       else
   7899 	echo "cannot find nm_test_var in $nlist" >&5
   7900       fi
   7901     else
   7902       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7903     fi
   7904   else
   7905     echo "$progname: failed program was:" >&5
   7906     cat conftest.$ac_ext >&5
   7907   fi
   7908   rm -rf conftest* conftst*
   7909 
   7910   # Do not use the global_symbol_pipe unless it works.
   7911   if test "$pipe_works" = yes; then
   7912     break
   7913   else
   7914     lt_cv_sys_global_symbol_pipe=
   7915   fi
   7916 done
   7917 
   7918 fi
   7919 
   7920 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7921   lt_cv_sys_global_symbol_to_cdecl=
   7922 fi
   7923 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7924   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7925 $as_echo "failed" >&6; }
   7926 else
   7927   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7928 $as_echo "ok" >&6; }
   7929 fi
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 # Check whether --enable-libtool-lock was given.
   7953 if test "${enable_libtool_lock+set}" = set; then :
   7954   enableval=$enable_libtool_lock;
   7955 fi
   7956 
   7957 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7958 
   7959 # Some flags need to be propagated to the compiler or linker for good
   7960 # libtool support.
   7961 case $host in
   7962 ia64-*-hpux*)
   7963   # Find out which ABI we are using.
   7964   echo 'int i;' > conftest.$ac_ext
   7965   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7966   (eval $ac_compile) 2>&5
   7967   ac_status=$?
   7968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7969   test $ac_status = 0; }; then
   7970     case `/usr/bin/file conftest.$ac_objext` in
   7971       *ELF-32*)
   7972 	HPUX_IA64_MODE="32"
   7973 	;;
   7974       *ELF-64*)
   7975 	HPUX_IA64_MODE="64"
   7976 	;;
   7977     esac
   7978   fi
   7979   rm -rf conftest*
   7980   ;;
   7981 *-*-irix6*)
   7982   # Find out which ABI we are using.
   7983   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7984   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7985   (eval $ac_compile) 2>&5
   7986   ac_status=$?
   7987   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7988   test $ac_status = 0; }; then
   7989     if test "$lt_cv_prog_gnu_ld" = yes; then
   7990       case `/usr/bin/file conftest.$ac_objext` in
   7991 	*32-bit*)
   7992 	  LD="${LD-ld} -melf32bsmip"
   7993 	  ;;
   7994 	*N32*)
   7995 	  LD="${LD-ld} -melf32bmipn32"
   7996 	  ;;
   7997 	*64-bit*)
   7998 	  LD="${LD-ld} -melf64bmip"
   7999 	;;
   8000       esac
   8001     else
   8002       case `/usr/bin/file conftest.$ac_objext` in
   8003 	*32-bit*)
   8004 	  LD="${LD-ld} -32"
   8005 	  ;;
   8006 	*N32*)
   8007 	  LD="${LD-ld} -n32"
   8008 	  ;;
   8009 	*64-bit*)
   8010 	  LD="${LD-ld} -64"
   8011 	  ;;
   8012       esac
   8013     fi
   8014   fi
   8015   rm -rf conftest*
   8016   ;;
   8017 
   8018 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8019 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8020   # Find out which ABI we are using.
   8021   echo 'int i;' > conftest.$ac_ext
   8022   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8023   (eval $ac_compile) 2>&5
   8024   ac_status=$?
   8025   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8026   test $ac_status = 0; }; then
   8027     case `/usr/bin/file conftest.o` in
   8028       *32-bit*)
   8029 	case $host in
   8030 	  x86_64-*kfreebsd*-gnu)
   8031 	    LD="${LD-ld} -m elf_i386_fbsd"
   8032 	    ;;
   8033 	  x86_64-*linux*)
   8034 	    case `/usr/bin/file conftest.o` in
   8035 	      *x86-64*)
   8036 		LD="${LD-ld} -m elf32_x86_64"
   8037 		;;
   8038 	      *)
   8039 		LD="${LD-ld} -m elf_i386"
   8040 		;;
   8041 	    esac
   8042 	    ;;
   8043 	  powerpc64le-*linux*)
   8044 	    LD="${LD-ld} -m elf32lppclinux"
   8045 	    ;;
   8046 	  powerpc64-*linux*)
   8047 	    LD="${LD-ld} -m elf32ppclinux"
   8048 	    ;;
   8049 	  s390x-*linux*)
   8050 	    LD="${LD-ld} -m elf_s390"
   8051 	    ;;
   8052 	  sparc64-*linux*)
   8053 	    LD="${LD-ld} -m elf32_sparc"
   8054 	    ;;
   8055 	esac
   8056 	;;
   8057       *64-bit*)
   8058 	case $host in
   8059 	  x86_64-*kfreebsd*-gnu)
   8060 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8061 	    ;;
   8062 	  x86_64-*linux*)
   8063 	    LD="${LD-ld} -m elf_x86_64"
   8064 	    ;;
   8065 	  powerpcle-*linux*)
   8066 	    LD="${LD-ld} -m elf64lppc"
   8067 	    ;;
   8068 	  powerpc-*linux*)
   8069 	    LD="${LD-ld} -m elf64ppc"
   8070 	    ;;
   8071 	  s390*-*linux*|s390*-*tpf*)
   8072 	    LD="${LD-ld} -m elf64_s390"
   8073 	    ;;
   8074 	  sparc*-*linux*)
   8075 	    LD="${LD-ld} -m elf64_sparc"
   8076 	    ;;
   8077 	esac
   8078 	;;
   8079     esac
   8080   fi
   8081   rm -rf conftest*
   8082   ;;
   8083 
   8084 *-*-sco3.2v5*)
   8085   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8086   SAVE_CFLAGS="$CFLAGS"
   8087   CFLAGS="$CFLAGS -belf"
   8088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8089 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8090 if ${lt_cv_cc_needs_belf+:} false; then :
   8091   $as_echo_n "(cached) " >&6
   8092 else
   8093   ac_ext=c
   8094 ac_cpp='$CPP $CPPFLAGS'
   8095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8098 
   8099      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8100 /* end confdefs.h.  */
   8101 
   8102 int
   8103 main ()
   8104 {
   8105 
   8106   ;
   8107   return 0;
   8108 }
   8109 _ACEOF
   8110 if ac_fn_c_try_link "$LINENO"; then :
   8111   lt_cv_cc_needs_belf=yes
   8112 else
   8113   lt_cv_cc_needs_belf=no
   8114 fi
   8115 rm -f core conftest.err conftest.$ac_objext \
   8116     conftest$ac_exeext conftest.$ac_ext
   8117      ac_ext=c
   8118 ac_cpp='$CPP $CPPFLAGS'
   8119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8122 
   8123 fi
   8124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8125 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8126   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   8127     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8128     CFLAGS="$SAVE_CFLAGS"
   8129   fi
   8130   ;;
   8131 sparc*-*solaris*)
   8132   # Find out which ABI we are using.
   8133   echo 'int i;' > conftest.$ac_ext
   8134   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8135   (eval $ac_compile) 2>&5
   8136   ac_status=$?
   8137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8138   test $ac_status = 0; }; then
   8139     case `/usr/bin/file conftest.o` in
   8140     *64-bit*)
   8141       case $lt_cv_prog_gnu_ld in
   8142       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   8143       *)
   8144 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8145 	  LD="${LD-ld} -64"
   8146 	fi
   8147 	;;
   8148       esac
   8149       ;;
   8150     esac
   8151   fi
   8152   rm -rf conftest*
   8153   ;;
   8154 esac
   8155 
   8156 need_locks="$enable_libtool_lock"
   8157 
   8158 
   8159   case $host_os in
   8160     rhapsody* | darwin*)
   8161     if test -n "$ac_tool_prefix"; then
   8162   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8163 set dummy ${ac_tool_prefix}dsymutil; 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_DSYMUTIL+:} false; then :
   8167   $as_echo_n "(cached) " >&6
   8168 else
   8169   if test -n "$DSYMUTIL"; then
   8170   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # 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_DSYMUTIL="${ac_tool_prefix}dsymutil"
   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 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8190 if test -n "$DSYMUTIL"; then
   8191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8192 $as_echo "$DSYMUTIL" >&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_DSYMUTIL"; then
   8201   ac_ct_DSYMUTIL=$DSYMUTIL
   8202   # Extract the first word of "dsymutil", so it can be a program name with args.
   8203 set dummy dsymutil; 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_DSYMUTIL+:} false; then :
   8207   $as_echo_n "(cached) " >&6
   8208 else
   8209   if test -n "$ac_ct_DSYMUTIL"; then
   8210   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # 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_DSYMUTIL="dsymutil"
   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_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8230 if test -n "$ac_ct_DSYMUTIL"; then
   8231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8232 $as_echo "$ac_ct_DSYMUTIL" >&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_DSYMUTIL" = x; then
   8239     DSYMUTIL=":"
   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     DSYMUTIL=$ac_ct_DSYMUTIL
   8248   fi
   8249 else
   8250   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8251 fi
   8252 
   8253     if test -n "$ac_tool_prefix"; then
   8254   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8255 set dummy ${ac_tool_prefix}nmedit; 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_NMEDIT+:} false; then :
   8259   $as_echo_n "(cached) " >&6
   8260 else
   8261   if test -n "$NMEDIT"; then
   8262   ac_cv_prog_NMEDIT="$NMEDIT" # 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_NMEDIT="${ac_tool_prefix}nmedit"
   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 NMEDIT=$ac_cv_prog_NMEDIT
   8282 if test -n "$NMEDIT"; then
   8283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8284 $as_echo "$NMEDIT" >&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_NMEDIT"; then
   8293   ac_ct_NMEDIT=$NMEDIT
   8294   # Extract the first word of "nmedit", so it can be a program name with args.
   8295 set dummy nmedit; 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_NMEDIT+:} false; then :
   8299   $as_echo_n "(cached) " >&6
   8300 else
   8301   if test -n "$ac_ct_NMEDIT"; then
   8302   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # 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_NMEDIT="nmedit"
   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_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8322 if test -n "$ac_ct_NMEDIT"; then
   8323   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8324 $as_echo "$ac_ct_NMEDIT" >&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_NMEDIT" = x; then
   8331     NMEDIT=":"
   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     NMEDIT=$ac_ct_NMEDIT
   8340   fi
   8341 else
   8342   NMEDIT="$ac_cv_prog_NMEDIT"
   8343 fi
   8344 
   8345     if test -n "$ac_tool_prefix"; then
   8346   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8347 set dummy ${ac_tool_prefix}lipo; 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_LIPO+:} false; then :
   8351   $as_echo_n "(cached) " >&6
   8352 else
   8353   if test -n "$LIPO"; then
   8354   ac_cv_prog_LIPO="$LIPO" # 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_LIPO="${ac_tool_prefix}lipo"
   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 LIPO=$ac_cv_prog_LIPO
   8374 if test -n "$LIPO"; then
   8375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8376 $as_echo "$LIPO" >&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_LIPO"; then
   8385   ac_ct_LIPO=$LIPO
   8386   # Extract the first word of "lipo", so it can be a program name with args.
   8387 set dummy lipo; 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_LIPO+:} false; then :
   8391   $as_echo_n "(cached) " >&6
   8392 else
   8393   if test -n "$ac_ct_LIPO"; then
   8394   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # 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_LIPO="lipo"
   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_LIPO=$ac_cv_prog_ac_ct_LIPO
   8414 if test -n "$ac_ct_LIPO"; then
   8415   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8416 $as_echo "$ac_ct_LIPO" >&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_LIPO" = x; then
   8423     LIPO=":"
   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     LIPO=$ac_ct_LIPO
   8432   fi
   8433 else
   8434   LIPO="$ac_cv_prog_LIPO"
   8435 fi
   8436 
   8437     if test -n "$ac_tool_prefix"; then
   8438   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8439 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8441 $as_echo_n "checking for $ac_word... " >&6; }
   8442 if ${ac_cv_prog_OTOOL+:} false; then :
   8443   $as_echo_n "(cached) " >&6
   8444 else
   8445   if test -n "$OTOOL"; then
   8446   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8447 else
   8448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8449 for as_dir in $PATH
   8450 do
   8451   IFS=$as_save_IFS
   8452   test -z "$as_dir" && as_dir=.
   8453     for ac_exec_ext in '' $ac_executable_extensions; do
   8454   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8455     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8457     break 2
   8458   fi
   8459 done
   8460   done
   8461 IFS=$as_save_IFS
   8462 
   8463 fi
   8464 fi
   8465 OTOOL=$ac_cv_prog_OTOOL
   8466 if test -n "$OTOOL"; then
   8467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8468 $as_echo "$OTOOL" >&6; }
   8469 else
   8470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8471 $as_echo "no" >&6; }
   8472 fi
   8473 
   8474 
   8475 fi
   8476 if test -z "$ac_cv_prog_OTOOL"; then
   8477   ac_ct_OTOOL=$OTOOL
   8478   # Extract the first word of "otool", so it can be a program name with args.
   8479 set dummy otool; ac_word=$2
   8480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8481 $as_echo_n "checking for $ac_word... " >&6; }
   8482 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8483   $as_echo_n "(cached) " >&6
   8484 else
   8485   if test -n "$ac_ct_OTOOL"; then
   8486   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8487 else
   8488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8489 for as_dir in $PATH
   8490 do
   8491   IFS=$as_save_IFS
   8492   test -z "$as_dir" && as_dir=.
   8493     for ac_exec_ext in '' $ac_executable_extensions; do
   8494   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8495     ac_cv_prog_ac_ct_OTOOL="otool"
   8496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8497     break 2
   8498   fi
   8499 done
   8500   done
   8501 IFS=$as_save_IFS
   8502 
   8503 fi
   8504 fi
   8505 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8506 if test -n "$ac_ct_OTOOL"; then
   8507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8508 $as_echo "$ac_ct_OTOOL" >&6; }
   8509 else
   8510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8511 $as_echo "no" >&6; }
   8512 fi
   8513 
   8514   if test "x$ac_ct_OTOOL" = x; then
   8515     OTOOL=":"
   8516   else
   8517     case $cross_compiling:$ac_tool_warned in
   8518 yes:)
   8519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8521 ac_tool_warned=yes ;;
   8522 esac
   8523     OTOOL=$ac_ct_OTOOL
   8524   fi
   8525 else
   8526   OTOOL="$ac_cv_prog_OTOOL"
   8527 fi
   8528 
   8529     if test -n "$ac_tool_prefix"; then
   8530   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8531 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8533 $as_echo_n "checking for $ac_word... " >&6; }
   8534 if ${ac_cv_prog_OTOOL64+:} false; then :
   8535   $as_echo_n "(cached) " >&6
   8536 else
   8537   if test -n "$OTOOL64"; then
   8538   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8539 else
   8540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8541 for as_dir in $PATH
   8542 do
   8543   IFS=$as_save_IFS
   8544   test -z "$as_dir" && as_dir=.
   8545     for ac_exec_ext in '' $ac_executable_extensions; do
   8546   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8547     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8548     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8549     break 2
   8550   fi
   8551 done
   8552   done
   8553 IFS=$as_save_IFS
   8554 
   8555 fi
   8556 fi
   8557 OTOOL64=$ac_cv_prog_OTOOL64
   8558 if test -n "$OTOOL64"; then
   8559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8560 $as_echo "$OTOOL64" >&6; }
   8561 else
   8562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8563 $as_echo "no" >&6; }
   8564 fi
   8565 
   8566 
   8567 fi
   8568 if test -z "$ac_cv_prog_OTOOL64"; then
   8569   ac_ct_OTOOL64=$OTOOL64
   8570   # Extract the first word of "otool64", so it can be a program name with args.
   8571 set dummy otool64; ac_word=$2
   8572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8573 $as_echo_n "checking for $ac_word... " >&6; }
   8574 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8575   $as_echo_n "(cached) " >&6
   8576 else
   8577   if test -n "$ac_ct_OTOOL64"; then
   8578   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8579 else
   8580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8581 for as_dir in $PATH
   8582 do
   8583   IFS=$as_save_IFS
   8584   test -z "$as_dir" && as_dir=.
   8585     for ac_exec_ext in '' $ac_executable_extensions; do
   8586   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8587     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8588     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8589     break 2
   8590   fi
   8591 done
   8592   done
   8593 IFS=$as_save_IFS
   8594 
   8595 fi
   8596 fi
   8597 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8598 if test -n "$ac_ct_OTOOL64"; then
   8599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8600 $as_echo "$ac_ct_OTOOL64" >&6; }
   8601 else
   8602   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8603 $as_echo "no" >&6; }
   8604 fi
   8605 
   8606   if test "x$ac_ct_OTOOL64" = x; then
   8607     OTOOL64=":"
   8608   else
   8609     case $cross_compiling:$ac_tool_warned in
   8610 yes:)
   8611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8613 ac_tool_warned=yes ;;
   8614 esac
   8615     OTOOL64=$ac_ct_OTOOL64
   8616   fi
   8617 else
   8618   OTOOL64="$ac_cv_prog_OTOOL64"
   8619 fi
   8620 
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8648 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8649 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8650   $as_echo_n "(cached) " >&6
   8651 else
   8652   lt_cv_apple_cc_single_mod=no
   8653       if test -z "${LT_MULTI_MODULE}"; then
   8654 	# By default we will add the -single_module flag. You can override
   8655 	# by either setting the environment variable LT_MULTI_MODULE
   8656 	# non-empty at configure time, or by adding -multi_module to the
   8657 	# link flags.
   8658 	rm -rf libconftest.dylib*
   8659 	echo "int foo(void){return 1;}" > conftest.c
   8660 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8661 -dynamiclib -Wl,-single_module conftest.c" >&5
   8662 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8663 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8664         _lt_result=$?
   8665 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8666 	  lt_cv_apple_cc_single_mod=yes
   8667 	else
   8668 	  cat conftest.err >&5
   8669 	fi
   8670 	rm -rf libconftest.dylib*
   8671 	rm -f conftest.*
   8672       fi
   8673 fi
   8674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8675 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8676     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8677 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8678 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8679   $as_echo_n "(cached) " >&6
   8680 else
   8681   lt_cv_ld_exported_symbols_list=no
   8682       save_LDFLAGS=$LDFLAGS
   8683       echo "_main" > conftest.sym
   8684       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8685       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8686 /* end confdefs.h.  */
   8687 
   8688 int
   8689 main ()
   8690 {
   8691 
   8692   ;
   8693   return 0;
   8694 }
   8695 _ACEOF
   8696 if ac_fn_c_try_link "$LINENO"; then :
   8697   lt_cv_ld_exported_symbols_list=yes
   8698 else
   8699   lt_cv_ld_exported_symbols_list=no
   8700 fi
   8701 rm -f core conftest.err conftest.$ac_objext \
   8702     conftest$ac_exeext conftest.$ac_ext
   8703 	LDFLAGS="$save_LDFLAGS"
   8704 
   8705 fi
   8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8707 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8708     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8709 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8710 if ${lt_cv_ld_force_load+:} false; then :
   8711   $as_echo_n "(cached) " >&6
   8712 else
   8713   lt_cv_ld_force_load=no
   8714       cat > conftest.c << _LT_EOF
   8715 int forced_loaded() { return 2;}
   8716 _LT_EOF
   8717       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8718       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8719       echo "$AR cru libconftest.a conftest.o" >&5
   8720       $AR cru libconftest.a conftest.o 2>&5
   8721       cat > conftest.c << _LT_EOF
   8722 int main() { return 0;}
   8723 _LT_EOF
   8724       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8725       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8726       _lt_result=$?
   8727       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8728 	lt_cv_ld_force_load=yes
   8729       else
   8730 	cat conftest.err >&5
   8731       fi
   8732         rm -f conftest.err libconftest.a conftest conftest.c
   8733         rm -rf conftest.dSYM
   8734 
   8735 fi
   8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8737 $as_echo "$lt_cv_ld_force_load" >&6; }
   8738     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   8739     # build without first building modern cctools / linker.
   8740     case $host_cpu-$host_os in
   8741     *-rhapsody* | *-darwin1.[012])
   8742       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8743     *-darwin1.*)
   8744       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8745     *-darwin*)
   8746       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   8747       # deployment target is forced to an earlier version.
   8748       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   8749 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   8750 	  ;;
   8751 	10.[012][,.]*)
   8752 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8753 	  ;;
   8754 	*)
   8755 	  ;;
   8756      esac
   8757     ;;
   8758   esac
   8759     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8760       _lt_dar_single_mod='$single_module'
   8761     fi
   8762     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8763       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8764     else
   8765       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8766     fi
   8767     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8768       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8769     else
   8770       _lt_dsymutil=
   8771     fi
   8772     ;;
   8773   esac
   8774 
   8775 for ac_header in dlfcn.h
   8776 do :
   8777   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8778 "
   8779 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8780   cat >>confdefs.h <<_ACEOF
   8781 #define HAVE_DLFCN_H 1
   8782 _ACEOF
   8783 
   8784 fi
   8785 
   8786 done
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 # Set options
   8794 
   8795 
   8796 
   8797         enable_dlopen=no
   8798 
   8799 
   8800   enable_win32_dll=no
   8801 
   8802 
   8803 
   8804   # Check whether --enable-static was given.
   8805 if test "${enable_static+set}" = set; then :
   8806   enableval=$enable_static; p=${PACKAGE-default}
   8807     case $enableval in
   8808     yes) enable_static=yes ;;
   8809     no) enable_static=no ;;
   8810     *)
   8811      enable_static=no
   8812       # Look at the argument we got.  We use all the common list separators.
   8813       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8814       for pkg in $enableval; do
   8815 	IFS="$lt_save_ifs"
   8816 	if test "X$pkg" = "X$p"; then
   8817 	  enable_static=yes
   8818 	fi
   8819       done
   8820       IFS="$lt_save_ifs"
   8821       ;;
   8822     esac
   8823 else
   8824   enable_static=yes
   8825 fi
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 # Check whether --with-pic was given.
   8837 if test "${with_pic+set}" = set; then :
   8838   withval=$with_pic; pic_mode="$withval"
   8839 else
   8840   pic_mode=default
   8841 fi
   8842 
   8843 
   8844 test -z "$pic_mode" && pic_mode=default
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852   # Check whether --enable-fast-install was given.
   8853 if test "${enable_fast_install+set}" = set; then :
   8854   enableval=$enable_fast_install; p=${PACKAGE-default}
   8855     case $enableval in
   8856     yes) enable_fast_install=yes ;;
   8857     no) enable_fast_install=no ;;
   8858     *)
   8859       enable_fast_install=no
   8860       # Look at the argument we got.  We use all the common list separators.
   8861       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8862       for pkg in $enableval; do
   8863 	IFS="$lt_save_ifs"
   8864 	if test "X$pkg" = "X$p"; then
   8865 	  enable_fast_install=yes
   8866 	fi
   8867       done
   8868       IFS="$lt_save_ifs"
   8869       ;;
   8870     esac
   8871 else
   8872   enable_fast_install=yes
   8873 fi
   8874 
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 # This can be used to rebuild libtool when needed
   8886 LIBTOOL_DEPS="$ltmain"
   8887 
   8888 # Always use our own libtool.
   8889 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 test -z "$LN_S" && LN_S="ln -s"
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 if test -n "${ZSH_VERSION+set}" ; then
   8932    setopt NO_GLOB_SUBST
   8933 fi
   8934 
   8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8936 $as_echo_n "checking for objdir... " >&6; }
   8937 if ${lt_cv_objdir+:} false; then :
   8938   $as_echo_n "(cached) " >&6
   8939 else
   8940   rm -f .libs 2>/dev/null
   8941 mkdir .libs 2>/dev/null
   8942 if test -d .libs; then
   8943   lt_cv_objdir=.libs
   8944 else
   8945   # MS-DOS does not allow filenames that begin with a dot.
   8946   lt_cv_objdir=_libs
   8947 fi
   8948 rmdir .libs 2>/dev/null
   8949 fi
   8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8951 $as_echo "$lt_cv_objdir" >&6; }
   8952 objdir=$lt_cv_objdir
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 cat >>confdefs.h <<_ACEOF
   8959 #define LT_OBJDIR "$lt_cv_objdir/"
   8960 _ACEOF
   8961 
   8962 
   8963 
   8964 
   8965 case $host_os in
   8966 aix3*)
   8967   # AIX sometimes has problems with the GCC collect2 program.  For some
   8968   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8969   # vanish in a puff of smoke.
   8970   if test "X${COLLECT_NAMES+set}" != Xset; then
   8971     COLLECT_NAMES=
   8972     export COLLECT_NAMES
   8973   fi
   8974   ;;
   8975 esac
   8976 
   8977 # Global variables:
   8978 ofile=libtool
   8979 can_build_shared=yes
   8980 
   8981 # All known linkers require a `.a' archive for static linking (except MSVC,
   8982 # which needs '.lib').
   8983 libext=a
   8984 
   8985 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8986 
   8987 old_CC="$CC"
   8988 old_CFLAGS="$CFLAGS"
   8989 
   8990 # Set sane defaults for various variables
   8991 test -z "$CC" && CC=cc
   8992 test -z "$LTCC" && LTCC=$CC
   8993 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8994 test -z "$LD" && LD=ld
   8995 test -z "$ac_objext" && ac_objext=o
   8996 
   8997 for cc_temp in $compiler""; do
   8998   case $cc_temp in
   8999     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9000     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9001     \-*) ;;
   9002     *) break;;
   9003   esac
   9004 done
   9005 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   9006 
   9007 
   9008 # Only perform the check for file, if the check method requires it
   9009 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9010 case $deplibs_check_method in
   9011 file_magic*)
   9012   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9013     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9014 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9015 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9016   $as_echo_n "(cached) " >&6
   9017 else
   9018   case $MAGIC_CMD in
   9019 [\\/*] |  ?:[\\/]*)
   9020   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9021   ;;
   9022 *)
   9023   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9024   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9025   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9026   for ac_dir in $ac_dummy; do
   9027     IFS="$lt_save_ifs"
   9028     test -z "$ac_dir" && ac_dir=.
   9029     if test -f $ac_dir/${ac_tool_prefix}file; then
   9030       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   9031       if test -n "$file_magic_test_file"; then
   9032 	case $deplibs_check_method in
   9033 	"file_magic "*)
   9034 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9035 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9036 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9037 	    $EGREP "$file_magic_regex" > /dev/null; then
   9038 	    :
   9039 	  else
   9040 	    cat <<_LT_EOF 1>&2
   9041 
   9042 *** Warning: the command libtool uses to detect shared libraries,
   9043 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9044 *** The result is that libtool may fail to recognize shared libraries
   9045 *** as such.  This will affect the creation of libtool libraries that
   9046 *** depend on shared libraries, but programs linked with such libtool
   9047 *** libraries will work regardless of this problem.  Nevertheless, you
   9048 *** may want to report the problem to your system manager and/or to
   9049 *** bug-libtool@gnu.org
   9050 
   9051 _LT_EOF
   9052 	  fi ;;
   9053 	esac
   9054       fi
   9055       break
   9056     fi
   9057   done
   9058   IFS="$lt_save_ifs"
   9059   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9060   ;;
   9061 esac
   9062 fi
   9063 
   9064 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9065 if test -n "$MAGIC_CMD"; then
   9066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9067 $as_echo "$MAGIC_CMD" >&6; }
   9068 else
   9069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9070 $as_echo "no" >&6; }
   9071 fi
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9078   if test -n "$ac_tool_prefix"; then
   9079     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9080 $as_echo_n "checking for file... " >&6; }
   9081 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9082   $as_echo_n "(cached) " >&6
   9083 else
   9084   case $MAGIC_CMD in
   9085 [\\/*] |  ?:[\\/]*)
   9086   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9087   ;;
   9088 *)
   9089   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9090   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9091   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9092   for ac_dir in $ac_dummy; do
   9093     IFS="$lt_save_ifs"
   9094     test -z "$ac_dir" && ac_dir=.
   9095     if test -f $ac_dir/file; then
   9096       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   9097       if test -n "$file_magic_test_file"; then
   9098 	case $deplibs_check_method in
   9099 	"file_magic "*)
   9100 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9101 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9102 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9103 	    $EGREP "$file_magic_regex" > /dev/null; then
   9104 	    :
   9105 	  else
   9106 	    cat <<_LT_EOF 1>&2
   9107 
   9108 *** Warning: the command libtool uses to detect shared libraries,
   9109 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9110 *** The result is that libtool may fail to recognize shared libraries
   9111 *** as such.  This will affect the creation of libtool libraries that
   9112 *** depend on shared libraries, but programs linked with such libtool
   9113 *** libraries will work regardless of this problem.  Nevertheless, you
   9114 *** may want to report the problem to your system manager and/or to
   9115 *** bug-libtool@gnu.org
   9116 
   9117 _LT_EOF
   9118 	  fi ;;
   9119 	esac
   9120       fi
   9121       break
   9122     fi
   9123   done
   9124   IFS="$lt_save_ifs"
   9125   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9126   ;;
   9127 esac
   9128 fi
   9129 
   9130 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9131 if test -n "$MAGIC_CMD"; then
   9132   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9133 $as_echo "$MAGIC_CMD" >&6; }
   9134 else
   9135   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9136 $as_echo "no" >&6; }
   9137 fi
   9138 
   9139 
   9140   else
   9141     MAGIC_CMD=:
   9142   fi
   9143 fi
   9144 
   9145   fi
   9146   ;;
   9147 esac
   9148 
   9149 # Use C for the default configuration in the libtool script
   9150 
   9151 lt_save_CC="$CC"
   9152 ac_ext=c
   9153 ac_cpp='$CPP $CPPFLAGS'
   9154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9157 
   9158 
   9159 # Source file extension for C test sources.
   9160 ac_ext=c
   9161 
   9162 # Object file extension for compiled C test sources.
   9163 objext=o
   9164 objext=$objext
   9165 
   9166 # Code to be used in simple compile tests
   9167 lt_simple_compile_test_code="int some_variable = 0;"
   9168 
   9169 # Code to be used in simple link tests
   9170 lt_simple_link_test_code='int main(){return(0);}'
   9171 
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 # If no C compiler was specified, use CC.
   9179 LTCC=${LTCC-"$CC"}
   9180 
   9181 # If no C compiler flags were specified, use CFLAGS.
   9182 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9183 
   9184 # Allow CC to be a program name with arguments.
   9185 compiler=$CC
   9186 
   9187 # Save the default compiler, since it gets overwritten when the other
   9188 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9189 compiler_DEFAULT=$CC
   9190 
   9191 # save warnings/boilerplate of simple test code
   9192 ac_outfile=conftest.$ac_objext
   9193 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9194 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9195 _lt_compiler_boilerplate=`cat conftest.err`
   9196 $RM conftest*
   9197 
   9198 ac_outfile=conftest.$ac_objext
   9199 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9200 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9201 _lt_linker_boilerplate=`cat conftest.err`
   9202 $RM -r conftest*
   9203 
   9204 
   9205 ## CAVEAT EMPTOR:
   9206 ## There is no encapsulation within the following macros, do not change
   9207 ## the running order or otherwise move them around unless you know exactly
   9208 ## what you are doing...
   9209 if test -n "$compiler"; then
   9210 
   9211 lt_prog_compiler_no_builtin_flag=
   9212 
   9213 if test "$GCC" = yes; then
   9214   case $cc_basename in
   9215   nvcc*)
   9216     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9217   *)
   9218     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9219   esac
   9220 
   9221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9222 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9223 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9224   $as_echo_n "(cached) " >&6
   9225 else
   9226   lt_cv_prog_compiler_rtti_exceptions=no
   9227    ac_outfile=conftest.$ac_objext
   9228    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9229    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9230    # Insert the option either (1) after the last *FLAGS variable, or
   9231    # (2) before a word containing "conftest.", or (3) at the end.
   9232    # Note that $ac_compile itself does not contain backslashes and begins
   9233    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9234    # The option is referenced via a variable to avoid confusing sed.
   9235    lt_compile=`echo "$ac_compile" | $SED \
   9236    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9237    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9238    -e 's:$: $lt_compiler_flag:'`
   9239    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9240    (eval "$lt_compile" 2>conftest.err)
   9241    ac_status=$?
   9242    cat conftest.err >&5
   9243    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9244    if (exit $ac_status) && test -s "$ac_outfile"; then
   9245      # The compiler can only warn and ignore the option if not recognized
   9246      # So say no if there are warnings other than the usual output.
   9247      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9248      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9249      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9250        lt_cv_prog_compiler_rtti_exceptions=yes
   9251      fi
   9252    fi
   9253    $RM conftest*
   9254 
   9255 fi
   9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9257 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9258 
   9259 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9260     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9261 else
   9262     :
   9263 fi
   9264 
   9265 fi
   9266 
   9267 
   9268 
   9269 
   9270 
   9271 
   9272   lt_prog_compiler_wl=
   9273 lt_prog_compiler_pic=
   9274 lt_prog_compiler_static=
   9275 
   9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9277 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9278 
   9279   if test "$GCC" = yes; then
   9280     lt_prog_compiler_wl='-Wl,'
   9281     lt_prog_compiler_static='-static'
   9282 
   9283     case $host_os in
   9284       aix*)
   9285       # All AIX code is PIC.
   9286       if test "$host_cpu" = ia64; then
   9287 	# AIX 5 now supports IA64 processor
   9288 	lt_prog_compiler_static='-Bstatic'
   9289       fi
   9290       lt_prog_compiler_pic='-fPIC'
   9291       ;;
   9292 
   9293     amigaos*)
   9294       case $host_cpu in
   9295       powerpc)
   9296             # see comment about AmigaOS4 .so support
   9297             lt_prog_compiler_pic='-fPIC'
   9298         ;;
   9299       m68k)
   9300             # FIXME: we need at least 68020 code to build shared libraries, but
   9301             # adding the `-m68020' flag to GCC prevents building anything better,
   9302             # like `-m68040'.
   9303             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9304         ;;
   9305       esac
   9306       ;;
   9307 
   9308     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9309       # PIC is the default for these OSes.
   9310       ;;
   9311 
   9312     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9313       # This hack is so that the source file can tell whether it is being
   9314       # built for inclusion in a dll (and should export symbols for example).
   9315       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9316       # (--disable-auto-import) libraries
   9317       lt_prog_compiler_pic='-DDLL_EXPORT'
   9318       ;;
   9319 
   9320     darwin* | rhapsody*)
   9321       # PIC is the default on this platform
   9322       # Common symbols not allowed in MH_DYLIB files
   9323       lt_prog_compiler_pic='-fno-common'
   9324       ;;
   9325 
   9326     haiku*)
   9327       # PIC is the default for Haiku.
   9328       # The "-static" flag exists, but is broken.
   9329       lt_prog_compiler_static=
   9330       ;;
   9331 
   9332     hpux*)
   9333       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9334       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9335       # sets the default TLS model and affects inlining.
   9336       case $host_cpu in
   9337       hppa*64*)
   9338 	# +Z the default
   9339 	;;
   9340       *)
   9341 	lt_prog_compiler_pic='-fPIC'
   9342 	;;
   9343       esac
   9344       ;;
   9345 
   9346     interix[3-9]*)
   9347       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9348       # Instead, we relocate shared libraries at runtime.
   9349       ;;
   9350 
   9351     msdosdjgpp*)
   9352       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9353       # on systems that don't support them.
   9354       lt_prog_compiler_can_build_shared=no
   9355       enable_shared=no
   9356       ;;
   9357 
   9358     *nto* | *qnx*)
   9359       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9360       # it will coredump.
   9361       lt_prog_compiler_pic='-fPIC -shared'
   9362       ;;
   9363 
   9364     sysv4*MP*)
   9365       if test -d /usr/nec; then
   9366 	lt_prog_compiler_pic=-Kconform_pic
   9367       fi
   9368       ;;
   9369 
   9370     *)
   9371       lt_prog_compiler_pic='-fPIC'
   9372       ;;
   9373     esac
   9374 
   9375     case $cc_basename in
   9376     nvcc*) # Cuda Compiler Driver 2.2
   9377       lt_prog_compiler_wl='-Xlinker '
   9378       lt_prog_compiler_pic='-Xcompiler -fPIC'
   9379       ;;
   9380     esac
   9381   else
   9382     # PORTME Check for flag to pass linker flags through the system compiler.
   9383     case $host_os in
   9384     aix*)
   9385       lt_prog_compiler_wl='-Wl,'
   9386       if test "$host_cpu" = ia64; then
   9387 	# AIX 5 now supports IA64 processor
   9388 	lt_prog_compiler_static='-Bstatic'
   9389       else
   9390 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9391       fi
   9392       ;;
   9393 
   9394     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9395       # This hack is so that the source file can tell whether it is being
   9396       # built for inclusion in a dll (and should export symbols for example).
   9397       lt_prog_compiler_pic='-DDLL_EXPORT'
   9398       ;;
   9399 
   9400     hpux9* | hpux10* | hpux11*)
   9401       lt_prog_compiler_wl='-Wl,'
   9402       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9403       # not for PA HP-UX.
   9404       case $host_cpu in
   9405       hppa*64*|ia64*)
   9406 	# +Z the default
   9407 	;;
   9408       *)
   9409 	lt_prog_compiler_pic='+Z'
   9410 	;;
   9411       esac
   9412       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9413       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9414       ;;
   9415 
   9416     irix5* | irix6* | nonstopux*)
   9417       lt_prog_compiler_wl='-Wl,'
   9418       # PIC (with -KPIC) is the default.
   9419       lt_prog_compiler_static='-non_shared'
   9420       ;;
   9421 
   9422     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9423       case $cc_basename in
   9424       # old Intel for x86_64 which still supported -KPIC.
   9425       ecc*)
   9426 	lt_prog_compiler_wl='-Wl,'
   9427 	lt_prog_compiler_pic='-KPIC'
   9428 	lt_prog_compiler_static='-static'
   9429         ;;
   9430       # icc used to be incompatible with GCC.
   9431       # ICC 10 doesn't accept -KPIC any more.
   9432       icc* | ifort*)
   9433 	lt_prog_compiler_wl='-Wl,'
   9434 	lt_prog_compiler_pic='-fPIC'
   9435 	lt_prog_compiler_static='-static'
   9436         ;;
   9437       # Lahey Fortran 8.1.
   9438       lf95*)
   9439 	lt_prog_compiler_wl='-Wl,'
   9440 	lt_prog_compiler_pic='--shared'
   9441 	lt_prog_compiler_static='--static'
   9442 	;;
   9443       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9444         # Portland Group compilers (*not* the Pentium gcc compiler,
   9445 	# which looks to be a dead project)
   9446 	lt_prog_compiler_wl='-Wl,'
   9447 	lt_prog_compiler_pic='-fpic'
   9448 	lt_prog_compiler_static='-Bstatic'
   9449         ;;
   9450       ccc*)
   9451         lt_prog_compiler_wl='-Wl,'
   9452         # All Alpha code is PIC.
   9453         lt_prog_compiler_static='-non_shared'
   9454         ;;
   9455       xl* | bgxl* | bgf* | mpixl*)
   9456 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9457 	lt_prog_compiler_wl='-Wl,'
   9458 	lt_prog_compiler_pic='-qpic'
   9459 	lt_prog_compiler_static='-qstaticlink'
   9460 	;;
   9461       *)
   9462 	case `$CC -V 2>&1 | sed 5q` in
   9463 	*Sun\ F* | *Sun*Fortran*)
   9464 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9465 	  lt_prog_compiler_pic='-KPIC'
   9466 	  lt_prog_compiler_static='-Bstatic'
   9467 	  lt_prog_compiler_wl=''
   9468 	  ;;
   9469 	*Sun\ C*)
   9470 	  # Sun C 5.9
   9471 	  lt_prog_compiler_pic='-KPIC'
   9472 	  lt_prog_compiler_static='-Bstatic'
   9473 	  lt_prog_compiler_wl='-Wl,'
   9474 	  ;;
   9475 	esac
   9476 	;;
   9477       esac
   9478       ;;
   9479 
   9480     newsos6)
   9481       lt_prog_compiler_pic='-KPIC'
   9482       lt_prog_compiler_static='-Bstatic'
   9483       ;;
   9484 
   9485     *nto* | *qnx*)
   9486       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9487       # it will coredump.
   9488       lt_prog_compiler_pic='-fPIC -shared'
   9489       ;;
   9490 
   9491     osf3* | osf4* | osf5*)
   9492       lt_prog_compiler_wl='-Wl,'
   9493       # All OSF/1 code is PIC.
   9494       lt_prog_compiler_static='-non_shared'
   9495       ;;
   9496 
   9497     rdos*)
   9498       lt_prog_compiler_static='-non_shared'
   9499       ;;
   9500 
   9501     solaris*)
   9502       lt_prog_compiler_pic='-KPIC'
   9503       lt_prog_compiler_static='-Bstatic'
   9504       case $cc_basename in
   9505       f77* | f90* | f95*)
   9506 	lt_prog_compiler_wl='-Qoption ld ';;
   9507       *)
   9508 	lt_prog_compiler_wl='-Wl,';;
   9509       esac
   9510       ;;
   9511 
   9512     sunos4*)
   9513       lt_prog_compiler_wl='-Qoption ld '
   9514       lt_prog_compiler_pic='-PIC'
   9515       lt_prog_compiler_static='-Bstatic'
   9516       ;;
   9517 
   9518     sysv4 | sysv4.2uw2* | sysv4.3*)
   9519       lt_prog_compiler_wl='-Wl,'
   9520       lt_prog_compiler_pic='-KPIC'
   9521       lt_prog_compiler_static='-Bstatic'
   9522       ;;
   9523 
   9524     sysv4*MP*)
   9525       if test -d /usr/nec ;then
   9526 	lt_prog_compiler_pic='-Kconform_pic'
   9527 	lt_prog_compiler_static='-Bstatic'
   9528       fi
   9529       ;;
   9530 
   9531     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9532       lt_prog_compiler_wl='-Wl,'
   9533       lt_prog_compiler_pic='-KPIC'
   9534       lt_prog_compiler_static='-Bstatic'
   9535       ;;
   9536 
   9537     unicos*)
   9538       lt_prog_compiler_wl='-Wl,'
   9539       lt_prog_compiler_can_build_shared=no
   9540       ;;
   9541 
   9542     uts4*)
   9543       lt_prog_compiler_pic='-pic'
   9544       lt_prog_compiler_static='-Bstatic'
   9545       ;;
   9546 
   9547     *)
   9548       lt_prog_compiler_can_build_shared=no
   9549       ;;
   9550     esac
   9551   fi
   9552 
   9553 case $host_os in
   9554   # For platforms which do not support PIC, -DPIC is meaningless:
   9555   *djgpp*)
   9556     lt_prog_compiler_pic=
   9557     ;;
   9558   *)
   9559     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9560     ;;
   9561 esac
   9562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9563 $as_echo "$lt_prog_compiler_pic" >&6; }
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 #
   9571 # Check to make sure the PIC flag actually works.
   9572 #
   9573 if test -n "$lt_prog_compiler_pic"; then
   9574   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9575 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9576 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9577   $as_echo_n "(cached) " >&6
   9578 else
   9579   lt_cv_prog_compiler_pic_works=no
   9580    ac_outfile=conftest.$ac_objext
   9581    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9582    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9583    # Insert the option either (1) after the last *FLAGS variable, or
   9584    # (2) before a word containing "conftest.", or (3) at the end.
   9585    # Note that $ac_compile itself does not contain backslashes and begins
   9586    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9587    # The option is referenced via a variable to avoid confusing sed.
   9588    lt_compile=`echo "$ac_compile" | $SED \
   9589    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9590    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9591    -e 's:$: $lt_compiler_flag:'`
   9592    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9593    (eval "$lt_compile" 2>conftest.err)
   9594    ac_status=$?
   9595    cat conftest.err >&5
   9596    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9597    if (exit $ac_status) && test -s "$ac_outfile"; then
   9598      # The compiler can only warn and ignore the option if not recognized
   9599      # So say no if there are warnings other than the usual output.
   9600      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9601      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9602      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9603        lt_cv_prog_compiler_pic_works=yes
   9604      fi
   9605    fi
   9606    $RM conftest*
   9607 
   9608 fi
   9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9610 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9611 
   9612 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9613     case $lt_prog_compiler_pic in
   9614      "" | " "*) ;;
   9615      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9616      esac
   9617 else
   9618     lt_prog_compiler_pic=
   9619      lt_prog_compiler_can_build_shared=no
   9620 fi
   9621 
   9622 fi
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 #
   9630 # Check to make sure the static flag actually works.
   9631 #
   9632 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9634 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9635 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9636   $as_echo_n "(cached) " >&6
   9637 else
   9638   lt_cv_prog_compiler_static_works=no
   9639    save_LDFLAGS="$LDFLAGS"
   9640    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9641    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9642    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9643      # The linker can only warn and ignore the option if not recognized
   9644      # So say no if there are warnings
   9645      if test -s conftest.err; then
   9646        # Append any errors to the config.log.
   9647        cat conftest.err 1>&5
   9648        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9649        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9650        if diff conftest.exp conftest.er2 >/dev/null; then
   9651          lt_cv_prog_compiler_static_works=yes
   9652        fi
   9653      else
   9654        lt_cv_prog_compiler_static_works=yes
   9655      fi
   9656    fi
   9657    $RM -r conftest*
   9658    LDFLAGS="$save_LDFLAGS"
   9659 
   9660 fi
   9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9662 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9663 
   9664 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9665     :
   9666 else
   9667     lt_prog_compiler_static=
   9668 fi
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9677 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9678 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9679   $as_echo_n "(cached) " >&6
   9680 else
   9681   lt_cv_prog_compiler_c_o=no
   9682    $RM -r conftest 2>/dev/null
   9683    mkdir conftest
   9684    cd conftest
   9685    mkdir out
   9686    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9687 
   9688    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9689    # Insert the option either (1) after the last *FLAGS variable, or
   9690    # (2) before a word containing "conftest.", or (3) at the end.
   9691    # Note that $ac_compile itself does not contain backslashes and begins
   9692    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9693    lt_compile=`echo "$ac_compile" | $SED \
   9694    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9695    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9696    -e 's:$: $lt_compiler_flag:'`
   9697    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9698    (eval "$lt_compile" 2>out/conftest.err)
   9699    ac_status=$?
   9700    cat out/conftest.err >&5
   9701    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9702    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9703    then
   9704      # The compiler can only warn and ignore the option if not recognized
   9705      # So say no if there are warnings
   9706      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9707      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9708      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9709        lt_cv_prog_compiler_c_o=yes
   9710      fi
   9711    fi
   9712    chmod u+w . 2>&5
   9713    $RM conftest*
   9714    # SGI C++ compiler will create directory out/ii_files/ for
   9715    # template instantiation
   9716    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9717    $RM out/* && rmdir out
   9718    cd ..
   9719    $RM -r conftest
   9720    $RM conftest*
   9721 
   9722 fi
   9723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9724 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9732 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9733 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9734   $as_echo_n "(cached) " >&6
   9735 else
   9736   lt_cv_prog_compiler_c_o=no
   9737    $RM -r conftest 2>/dev/null
   9738    mkdir conftest
   9739    cd conftest
   9740    mkdir out
   9741    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9742 
   9743    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9744    # Insert the option either (1) after the last *FLAGS variable, or
   9745    # (2) before a word containing "conftest.", or (3) at the end.
   9746    # Note that $ac_compile itself does not contain backslashes and begins
   9747    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9748    lt_compile=`echo "$ac_compile" | $SED \
   9749    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9750    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9751    -e 's:$: $lt_compiler_flag:'`
   9752    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9753    (eval "$lt_compile" 2>out/conftest.err)
   9754    ac_status=$?
   9755    cat out/conftest.err >&5
   9756    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9757    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9758    then
   9759      # The compiler can only warn and ignore the option if not recognized
   9760      # So say no if there are warnings
   9761      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9762      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9763      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9764        lt_cv_prog_compiler_c_o=yes
   9765      fi
   9766    fi
   9767    chmod u+w . 2>&5
   9768    $RM conftest*
   9769    # SGI C++ compiler will create directory out/ii_files/ for
   9770    # template instantiation
   9771    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9772    $RM out/* && rmdir out
   9773    cd ..
   9774    $RM -r conftest
   9775    $RM conftest*
   9776 
   9777 fi
   9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9779 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9780 
   9781 
   9782 
   9783 
   9784 hard_links="nottested"
   9785 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9786   # do not overwrite the value of need_locks provided by the user
   9787   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9788 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9789   hard_links=yes
   9790   $RM conftest*
   9791   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9792   touch conftest.a
   9793   ln conftest.a conftest.b 2>&5 || hard_links=no
   9794   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9796 $as_echo "$hard_links" >&6; }
   9797   if test "$hard_links" = no; then
   9798     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9799 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9800     need_locks=warn
   9801   fi
   9802 else
   9803   need_locks=no
   9804 fi
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9812 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9813 
   9814   runpath_var=
   9815   allow_undefined_flag=
   9816   always_export_symbols=no
   9817   archive_cmds=
   9818   archive_expsym_cmds=
   9819   compiler_needs_object=no
   9820   enable_shared_with_static_runtimes=no
   9821   export_dynamic_flag_spec=
   9822   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9823   hardcode_automatic=no
   9824   hardcode_direct=no
   9825   hardcode_direct_absolute=no
   9826   hardcode_libdir_flag_spec=
   9827   hardcode_libdir_flag_spec_ld=
   9828   hardcode_libdir_separator=
   9829   hardcode_minus_L=no
   9830   hardcode_shlibpath_var=unsupported
   9831   inherit_rpath=no
   9832   link_all_deplibs=unknown
   9833   module_cmds=
   9834   module_expsym_cmds=
   9835   old_archive_from_new_cmds=
   9836   old_archive_from_expsyms_cmds=
   9837   thread_safe_flag_spec=
   9838   whole_archive_flag_spec=
   9839   # include_expsyms should be a list of space-separated symbols to be *always*
   9840   # included in the symbol list
   9841   include_expsyms=
   9842   # exclude_expsyms can be an extended regexp of symbols to exclude
   9843   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9844   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9845   # as well as any symbol that contains `d'.
   9846   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9847   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9848   # platforms (ab)use it in PIC code, but their linkers get confused if
   9849   # the symbol is explicitly referenced.  Since portable code cannot
   9850   # rely on this symbol name, it's probably fine to never include it in
   9851   # preloaded symbol tables.
   9852   # Exclude shared library initialization/finalization symbols.
   9853   extract_expsyms_cmds=
   9854 
   9855   case $host_os in
   9856   cygwin* | mingw* | pw32* | cegcc*)
   9857     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9858     # When not using gcc, we currently assume that we are using
   9859     # Microsoft Visual C++.
   9860     if test "$GCC" != yes; then
   9861       with_gnu_ld=no
   9862     fi
   9863     ;;
   9864   interix*)
   9865     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9866     with_gnu_ld=yes
   9867     ;;
   9868   openbsd*)
   9869     with_gnu_ld=no
   9870     ;;
   9871   esac
   9872 
   9873   ld_shlibs=yes
   9874 
   9875   # On some targets, GNU ld is compatible enough with the native linker
   9876   # that we're better off using the native interface for both.
   9877   lt_use_gnu_ld_interface=no
   9878   if test "$with_gnu_ld" = yes; then
   9879     case $host_os in
   9880       aix*)
   9881 	# The AIX port of GNU ld has always aspired to compatibility
   9882 	# with the native linker.  However, as the warning in the GNU ld
   9883 	# block says, versions before 2.19.5* couldn't really create working
   9884 	# shared libraries, regardless of the interface used.
   9885 	case `$LD -v 2>&1` in
   9886 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9887 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9888 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9889 	  *)
   9890 	    lt_use_gnu_ld_interface=yes
   9891 	    ;;
   9892 	esac
   9893 	;;
   9894       *)
   9895 	lt_use_gnu_ld_interface=yes
   9896 	;;
   9897     esac
   9898   fi
   9899 
   9900   if test "$lt_use_gnu_ld_interface" = yes; then
   9901     # If archive_cmds runs LD, not CC, wlarc should be empty
   9902     wlarc='${wl}'
   9903 
   9904     # Set some defaults for GNU ld with shared library support. These
   9905     # are reset later if shared libraries are not supported. Putting them
   9906     # here allows them to be overridden if necessary.
   9907     runpath_var=LD_RUN_PATH
   9908     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9909     export_dynamic_flag_spec='${wl}--export-dynamic'
   9910     # ancient GNU ld didn't support --whole-archive et. al.
   9911     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9912       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9913     else
   9914       whole_archive_flag_spec=
   9915     fi
   9916     supports_anon_versioning=no
   9917     case `$LD -v 2>&1` in
   9918       *GNU\ gold*) supports_anon_versioning=yes ;;
   9919       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9920       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9921       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9922       *\ 2.11.*) ;; # other 2.11 versions
   9923       *) supports_anon_versioning=yes ;;
   9924     esac
   9925 
   9926     # See if GNU ld supports shared libraries.
   9927     case $host_os in
   9928     aix[3-9]*)
   9929       # On AIX/PPC, the GNU linker is very broken
   9930       if test "$host_cpu" != ia64; then
   9931 	ld_shlibs=no
   9932 	cat <<_LT_EOF 1>&2
   9933 
   9934 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9935 *** to be unable to reliably create shared libraries on AIX.
   9936 *** Therefore, libtool is disabling shared libraries support.  If you
   9937 *** really care for shared libraries, you may want to install binutils
   9938 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9939 *** You will then need to restart the configuration process.
   9940 
   9941 _LT_EOF
   9942       fi
   9943       ;;
   9944 
   9945     amigaos*)
   9946       case $host_cpu in
   9947       powerpc)
   9948             # see comment about AmigaOS4 .so support
   9949             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9950             archive_expsym_cmds=''
   9951         ;;
   9952       m68k)
   9953             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)'
   9954             hardcode_libdir_flag_spec='-L$libdir'
   9955             hardcode_minus_L=yes
   9956         ;;
   9957       esac
   9958       ;;
   9959 
   9960     beos*)
   9961       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9962 	allow_undefined_flag=unsupported
   9963 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9964 	# support --undefined.  This deserves some investigation.  FIXME
   9965 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9966       else
   9967 	ld_shlibs=no
   9968       fi
   9969       ;;
   9970 
   9971     cygwin* | mingw* | pw32* | cegcc*)
   9972       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9973       # as there is no search path for DLLs.
   9974       hardcode_libdir_flag_spec='-L$libdir'
   9975       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9976       allow_undefined_flag=unsupported
   9977       always_export_symbols=no
   9978       enable_shared_with_static_runtimes=yes
   9979       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9980 
   9981       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9982         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9983 	# If the export-symbols file already is a .def file (1st line
   9984 	# is EXPORTS), use it as is; otherwise, prepend...
   9985 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9986 	  cp $export_symbols $output_objdir/$soname.def;
   9987 	else
   9988 	  echo EXPORTS > $output_objdir/$soname.def;
   9989 	  cat $export_symbols >> $output_objdir/$soname.def;
   9990 	fi~
   9991 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9992       else
   9993 	ld_shlibs=no
   9994       fi
   9995       ;;
   9996 
   9997     haiku*)
   9998       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9999       link_all_deplibs=yes
   10000       ;;
   10001 
   10002     interix[3-9]*)
   10003       hardcode_direct=no
   10004       hardcode_shlibpath_var=no
   10005       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10006       export_dynamic_flag_spec='${wl}-E'
   10007       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10008       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10009       # default) and relocated if they conflict, which is a slow very memory
   10010       # consuming and fragmenting process.  To avoid this, we pick a random,
   10011       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10012       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10013       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10014       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'
   10015       ;;
   10016 
   10017     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   10018       tmp_diet=no
   10019       if test "$host_os" = linux-dietlibc; then
   10020 	case $cc_basename in
   10021 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10022 	esac
   10023       fi
   10024       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10025 	 && test "$tmp_diet" = no
   10026       then
   10027 	tmp_addflag=' $pic_flag'
   10028 	tmp_sharedflag='-shared'
   10029 	case $cc_basename,$host_cpu in
   10030         pgcc*)				# Portland Group C compiler
   10031 	  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'
   10032 	  tmp_addflag=' $pic_flag'
   10033 	  ;;
   10034 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10035 					# Portland Group f77 and f90 compilers
   10036 	  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'
   10037 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10038 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10039 	  tmp_addflag=' -i_dynamic' ;;
   10040 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10041 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10042 	ifc* | ifort*)			# Intel Fortran compiler
   10043 	  tmp_addflag=' -nofor_main' ;;
   10044 	lf95*)				# Lahey Fortran 8.1
   10045 	  whole_archive_flag_spec=
   10046 	  tmp_sharedflag='--shared' ;;
   10047 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10048 	  tmp_sharedflag='-qmkshrobj'
   10049 	  tmp_addflag= ;;
   10050 	nvcc*)	# Cuda Compiler Driver 2.2
   10051 	  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'
   10052 	  compiler_needs_object=yes
   10053 	  ;;
   10054 	esac
   10055 	case `$CC -V 2>&1 | sed 5q` in
   10056 	*Sun\ C*)			# Sun C 5.9
   10057 	  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'
   10058 	  compiler_needs_object=yes
   10059 	  tmp_sharedflag='-G' ;;
   10060 	*Sun\ F*)			# Sun Fortran 8.3
   10061 	  tmp_sharedflag='-G' ;;
   10062 	esac
   10063 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10064 
   10065         if test "x$supports_anon_versioning" = xyes; then
   10066           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10067 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10068 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   10069 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   10070         fi
   10071 
   10072 	case $cc_basename in
   10073 	xlf* | bgf* | bgxlf* | mpixlf*)
   10074 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10075 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10076 	  hardcode_libdir_flag_spec=
   10077 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   10078 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   10079 	  if test "x$supports_anon_versioning" = xyes; then
   10080 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10081 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10082 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   10083 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10084 	  fi
   10085 	  ;;
   10086 	esac
   10087       else
   10088         ld_shlibs=no
   10089       fi
   10090       ;;
   10091 
   10092     netbsd*)
   10093       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10094 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10095 	wlarc=
   10096       else
   10097 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10098 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10099       fi
   10100       ;;
   10101 
   10102     solaris*)
   10103       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10104 	ld_shlibs=no
   10105 	cat <<_LT_EOF 1>&2
   10106 
   10107 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10108 *** create shared libraries on Solaris systems.  Therefore, libtool
   10109 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10110 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10111 *** your PATH or compiler configuration so that the native linker is
   10112 *** used, and then restart.
   10113 
   10114 _LT_EOF
   10115       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10116 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10117 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10118       else
   10119 	ld_shlibs=no
   10120       fi
   10121       ;;
   10122 
   10123     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10124       case `$LD -v 2>&1` in
   10125         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10126 	ld_shlibs=no
   10127 	cat <<_LT_EOF 1>&2
   10128 
   10129 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10130 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10131 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10132 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10133 *** your PATH or compiler configuration so that the native linker is
   10134 *** used, and then restart.
   10135 
   10136 _LT_EOF
   10137 	;;
   10138 	*)
   10139 	  # For security reasons, it is highly recommended that you always
   10140 	  # use absolute paths for naming shared libraries, and exclude the
   10141 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10142 	  # requires that you compile everything twice, which is a pain.
   10143 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10144 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10145 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10146 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10147 	  else
   10148 	    ld_shlibs=no
   10149 	  fi
   10150 	;;
   10151       esac
   10152       ;;
   10153 
   10154     sunos4*)
   10155       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10156       wlarc=
   10157       hardcode_direct=yes
   10158       hardcode_shlibpath_var=no
   10159       ;;
   10160 
   10161     *)
   10162       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10163 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10164 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10165       else
   10166 	ld_shlibs=no
   10167       fi
   10168       ;;
   10169     esac
   10170 
   10171     if test "$ld_shlibs" = no; then
   10172       runpath_var=
   10173       hardcode_libdir_flag_spec=
   10174       export_dynamic_flag_spec=
   10175       whole_archive_flag_spec=
   10176     fi
   10177   else
   10178     # PORTME fill in a description of your system's linker (not GNU ld)
   10179     case $host_os in
   10180     aix3*)
   10181       allow_undefined_flag=unsupported
   10182       always_export_symbols=yes
   10183       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'
   10184       # Note: this linker hardcodes the directories in LIBPATH if there
   10185       # are no directories specified by -L.
   10186       hardcode_minus_L=yes
   10187       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10188 	# Neither direct hardcoding nor static linking is supported with a
   10189 	# broken collect2.
   10190 	hardcode_direct=unsupported
   10191       fi
   10192       ;;
   10193 
   10194     aix[4-9]*)
   10195       if test "$host_cpu" = ia64; then
   10196 	# On IA64, the linker does run time linking by default, so we don't
   10197 	# have to do anything special.
   10198 	aix_use_runtimelinking=no
   10199 	exp_sym_flag='-Bexport'
   10200 	no_entry_flag=""
   10201       else
   10202 	# If we're using GNU nm, then we don't want the "-C" option.
   10203 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10204 	# Also, AIX nm treats weak defined symbols like other global
   10205 	# defined symbols, whereas GNU nm marks them as "W".
   10206 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10207 	  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'
   10208 	else
   10209 	  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'
   10210 	fi
   10211 	aix_use_runtimelinking=no
   10212 
   10213 	# Test if we are trying to use run time linking or normal
   10214 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10215 	# need to do runtime linking.
   10216 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10217 	  for ld_flag in $LDFLAGS; do
   10218 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10219 	    aix_use_runtimelinking=yes
   10220 	    break
   10221 	  fi
   10222 	  done
   10223 	  ;;
   10224 	esac
   10225 
   10226 	exp_sym_flag='-bexport'
   10227 	no_entry_flag='-bnoentry'
   10228       fi
   10229 
   10230       # When large executables or shared objects are built, AIX ld can
   10231       # have problems creating the table of contents.  If linking a library
   10232       # or program results in "error TOC overflow" add -mminimal-toc to
   10233       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10234       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10235 
   10236       archive_cmds=''
   10237       hardcode_direct=yes
   10238       hardcode_direct_absolute=yes
   10239       hardcode_libdir_separator=':'
   10240       link_all_deplibs=yes
   10241       file_list_spec='${wl}-f,'
   10242 
   10243       if test "$GCC" = yes; then
   10244 	case $host_os in aix4.[012]|aix4.[012].*)
   10245 	# We only want to do this on AIX 4.2 and lower, the check
   10246 	# below for broken collect2 doesn't work under 4.3+
   10247 	  collect2name=`${CC} -print-prog-name=collect2`
   10248 	  if test -f "$collect2name" &&
   10249 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10250 	  then
   10251 	  # We have reworked collect2
   10252 	  :
   10253 	  else
   10254 	  # We have old collect2
   10255 	  hardcode_direct=unsupported
   10256 	  # It fails to find uninstalled libraries when the uninstalled
   10257 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10258 	  # to unsupported forces relinking
   10259 	  hardcode_minus_L=yes
   10260 	  hardcode_libdir_flag_spec='-L$libdir'
   10261 	  hardcode_libdir_separator=
   10262 	  fi
   10263 	  ;;
   10264 	esac
   10265 	shared_flag='-shared'
   10266 	if test "$aix_use_runtimelinking" = yes; then
   10267 	  shared_flag="$shared_flag "'${wl}-G'
   10268 	fi
   10269       else
   10270 	# not using gcc
   10271 	if test "$host_cpu" = ia64; then
   10272 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10273 	# chokes on -Wl,-G. The following line is correct:
   10274 	  shared_flag='-G'
   10275 	else
   10276 	  if test "$aix_use_runtimelinking" = yes; then
   10277 	    shared_flag='${wl}-G'
   10278 	  else
   10279 	    shared_flag='${wl}-bM:SRE'
   10280 	  fi
   10281 	fi
   10282       fi
   10283 
   10284       export_dynamic_flag_spec='${wl}-bexpall'
   10285       # It seems that -bexpall does not export symbols beginning with
   10286       # underscore (_), so it is better to generate a list of symbols to export.
   10287       always_export_symbols=yes
   10288       if test "$aix_use_runtimelinking" = yes; then
   10289 	# Warning - without using the other runtime loading flags (-brtl),
   10290 	# -berok will link without error, but may produce a broken library.
   10291 	allow_undefined_flag='-berok'
   10292         # Determine the default libpath from the value encoded in an
   10293         # empty executable.
   10294         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10295 /* end confdefs.h.  */
   10296 
   10297 int
   10298 main ()
   10299 {
   10300 
   10301   ;
   10302   return 0;
   10303 }
   10304 _ACEOF
   10305 if ac_fn_c_try_link "$LINENO"; then :
   10306 
   10307 lt_aix_libpath_sed='
   10308     /Import File Strings/,/^$/ {
   10309 	/^0/ {
   10310 	    s/^0  *\(.*\)$/\1/
   10311 	    p
   10312 	}
   10313     }'
   10314 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10315 # Check for a 64-bit object if we didn't find anything.
   10316 if test -z "$aix_libpath"; then
   10317   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10318 fi
   10319 fi
   10320 rm -f core conftest.err conftest.$ac_objext \
   10321     conftest$ac_exeext conftest.$ac_ext
   10322 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10323 
   10324         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10325         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"
   10326       else
   10327 	if test "$host_cpu" = ia64; then
   10328 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10329 	  allow_undefined_flag="-z nodefs"
   10330 	  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"
   10331 	else
   10332 	 # Determine the default libpath from the value encoded in an
   10333 	 # empty executable.
   10334 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10335 /* end confdefs.h.  */
   10336 
   10337 int
   10338 main ()
   10339 {
   10340 
   10341   ;
   10342   return 0;
   10343 }
   10344 _ACEOF
   10345 if ac_fn_c_try_link "$LINENO"; then :
   10346 
   10347 lt_aix_libpath_sed='
   10348     /Import File Strings/,/^$/ {
   10349 	/^0/ {
   10350 	    s/^0  *\(.*\)$/\1/
   10351 	    p
   10352 	}
   10353     }'
   10354 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10355 # Check for a 64-bit object if we didn't find anything.
   10356 if test -z "$aix_libpath"; then
   10357   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10358 fi
   10359 fi
   10360 rm -f core conftest.err conftest.$ac_objext \
   10361     conftest$ac_exeext conftest.$ac_ext
   10362 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10363 
   10364 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10365 	  # Warning - without using the other run time loading flags,
   10366 	  # -berok will link without error, but may produce a broken library.
   10367 	  no_undefined_flag=' ${wl}-bernotok'
   10368 	  allow_undefined_flag=' ${wl}-berok'
   10369 	  if test "$with_gnu_ld" = yes; then
   10370 	    # We only use this code for GNU lds that support --whole-archive.
   10371 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10372 	  else
   10373 	    # Exported symbols can be pulled into shared objects from archives
   10374 	    whole_archive_flag_spec='$convenience'
   10375 	  fi
   10376 	  archive_cmds_need_lc=yes
   10377 	  # This is similar to how AIX traditionally builds its shared libraries.
   10378 	  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'
   10379 	fi
   10380       fi
   10381       ;;
   10382 
   10383     amigaos*)
   10384       case $host_cpu in
   10385       powerpc)
   10386             # see comment about AmigaOS4 .so support
   10387             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10388             archive_expsym_cmds=''
   10389         ;;
   10390       m68k)
   10391             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)'
   10392             hardcode_libdir_flag_spec='-L$libdir'
   10393             hardcode_minus_L=yes
   10394         ;;
   10395       esac
   10396       ;;
   10397 
   10398     bsdi[45]*)
   10399       export_dynamic_flag_spec=-rdynamic
   10400       ;;
   10401 
   10402     cygwin* | mingw* | pw32* | cegcc*)
   10403       # When not using gcc, we currently assume that we are using
   10404       # Microsoft Visual C++.
   10405       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10406       # no search path for DLLs.
   10407       hardcode_libdir_flag_spec=' '
   10408       allow_undefined_flag=unsupported
   10409       # Tell ltmain to make .lib files, not .a files.
   10410       libext=lib
   10411       # Tell ltmain to make .dll files, not .so files.
   10412       shrext_cmds=".dll"
   10413       # FIXME: Setting linknames here is a bad hack.
   10414       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10415       # The linker will automatically build a .lib file if we build a DLL.
   10416       old_archive_from_new_cmds='true'
   10417       # FIXME: Should let the user specify the lib program.
   10418       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10419       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10420       enable_shared_with_static_runtimes=yes
   10421       ;;
   10422 
   10423     darwin* | rhapsody*)
   10424 
   10425 
   10426   archive_cmds_need_lc=no
   10427   hardcode_direct=no
   10428   hardcode_automatic=yes
   10429   hardcode_shlibpath_var=unsupported
   10430   if test "$lt_cv_ld_force_load" = "yes"; then
   10431     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\"`'
   10432   else
   10433     whole_archive_flag_spec=''
   10434   fi
   10435   link_all_deplibs=yes
   10436   allow_undefined_flag="$_lt_dar_allow_undefined"
   10437   case $cc_basename in
   10438      ifort*) _lt_dar_can_shared=yes ;;
   10439      *) _lt_dar_can_shared=$GCC ;;
   10440   esac
   10441   if test "$_lt_dar_can_shared" = "yes"; then
   10442     output_verbose_link_cmd=func_echo_all
   10443     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10444     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10445     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}"
   10446     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}"
   10447 
   10448   else
   10449   ld_shlibs=no
   10450   fi
   10451 
   10452       ;;
   10453 
   10454     dgux*)
   10455       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10456       hardcode_libdir_flag_spec='-L$libdir'
   10457       hardcode_shlibpath_var=no
   10458       ;;
   10459 
   10460     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10461     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10462     # does not break anything, and helps significantly (at the cost of a little
   10463     # extra space).
   10464     freebsd2.2*)
   10465       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10466       hardcode_libdir_flag_spec='-R$libdir'
   10467       hardcode_direct=yes
   10468       hardcode_shlibpath_var=no
   10469       ;;
   10470 
   10471     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10472     freebsd2.*)
   10473       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10474       hardcode_direct=yes
   10475       hardcode_minus_L=yes
   10476       hardcode_shlibpath_var=no
   10477       ;;
   10478 
   10479     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10480     freebsd* | dragonfly*)
   10481       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   10482       hardcode_libdir_flag_spec='-R$libdir'
   10483       hardcode_direct=yes
   10484       hardcode_shlibpath_var=no
   10485       ;;
   10486 
   10487     hpux9*)
   10488       if test "$GCC" = yes; then
   10489 	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'
   10490       else
   10491 	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'
   10492       fi
   10493       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10494       hardcode_libdir_separator=:
   10495       hardcode_direct=yes
   10496 
   10497       # hardcode_minus_L: Not really in the search PATH,
   10498       # but as the default location of the library.
   10499       hardcode_minus_L=yes
   10500       export_dynamic_flag_spec='${wl}-E'
   10501       ;;
   10502 
   10503     hpux10*)
   10504       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10505 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10506       else
   10507 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10508       fi
   10509       if test "$with_gnu_ld" = no; then
   10510 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10511 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10512 	hardcode_libdir_separator=:
   10513 	hardcode_direct=yes
   10514 	hardcode_direct_absolute=yes
   10515 	export_dynamic_flag_spec='${wl}-E'
   10516 	# hardcode_minus_L: Not really in the search PATH,
   10517 	# but as the default location of the library.
   10518 	hardcode_minus_L=yes
   10519       fi
   10520       ;;
   10521 
   10522     hpux11*)
   10523       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10524 	case $host_cpu in
   10525 	hppa*64*)
   10526 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10527 	  ;;
   10528 	ia64*)
   10529 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10530 	  ;;
   10531 	*)
   10532 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10533 	  ;;
   10534 	esac
   10535       else
   10536 	case $host_cpu in
   10537 	hppa*64*)
   10538 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10539 	  ;;
   10540 	ia64*)
   10541 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10542 	  ;;
   10543 	*)
   10544 
   10545 	  # Older versions of the 11.00 compiler do not understand -b yet
   10546 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10547 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10548 $as_echo_n "checking if $CC understands -b... " >&6; }
   10549 if ${lt_cv_prog_compiler__b+:} false; then :
   10550   $as_echo_n "(cached) " >&6
   10551 else
   10552   lt_cv_prog_compiler__b=no
   10553    save_LDFLAGS="$LDFLAGS"
   10554    LDFLAGS="$LDFLAGS -b"
   10555    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10556    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10557      # The linker can only warn and ignore the option if not recognized
   10558      # So say no if there are warnings
   10559      if test -s conftest.err; then
   10560        # Append any errors to the config.log.
   10561        cat conftest.err 1>&5
   10562        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10563        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10564        if diff conftest.exp conftest.er2 >/dev/null; then
   10565          lt_cv_prog_compiler__b=yes
   10566        fi
   10567      else
   10568        lt_cv_prog_compiler__b=yes
   10569      fi
   10570    fi
   10571    $RM -r conftest*
   10572    LDFLAGS="$save_LDFLAGS"
   10573 
   10574 fi
   10575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10576 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10577 
   10578 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10579     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10580 else
   10581     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10582 fi
   10583 
   10584 	  ;;
   10585 	esac
   10586       fi
   10587       if test "$with_gnu_ld" = no; then
   10588 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10589 	hardcode_libdir_separator=:
   10590 
   10591 	case $host_cpu in
   10592 	hppa*64*|ia64*)
   10593 	  hardcode_direct=no
   10594 	  hardcode_shlibpath_var=no
   10595 	  ;;
   10596 	*)
   10597 	  hardcode_direct=yes
   10598 	  hardcode_direct_absolute=yes
   10599 	  export_dynamic_flag_spec='${wl}-E'
   10600 
   10601 	  # hardcode_minus_L: Not really in the search PATH,
   10602 	  # but as the default location of the library.
   10603 	  hardcode_minus_L=yes
   10604 	  ;;
   10605 	esac
   10606       fi
   10607       ;;
   10608 
   10609     irix5* | irix6* | nonstopux*)
   10610       if test "$GCC" = yes; then
   10611 	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'
   10612 	# Try to use the -exported_symbol ld option, if it does not
   10613 	# work, assume that -exports_file does not work either and
   10614 	# implicitly export all symbols.
   10615         save_LDFLAGS="$LDFLAGS"
   10616         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10617         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10618 /* end confdefs.h.  */
   10619 int foo(void) {}
   10620 _ACEOF
   10621 if ac_fn_c_try_link "$LINENO"; then :
   10622   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'
   10623 
   10624 fi
   10625 rm -f core conftest.err conftest.$ac_objext \
   10626     conftest$ac_exeext conftest.$ac_ext
   10627         LDFLAGS="$save_LDFLAGS"
   10628       else
   10629 	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'
   10630 	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'
   10631       fi
   10632       archive_cmds_need_lc='no'
   10633       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10634       hardcode_libdir_separator=:
   10635       inherit_rpath=yes
   10636       link_all_deplibs=yes
   10637       ;;
   10638 
   10639     netbsd*)
   10640       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10641 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10642       else
   10643 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10644       fi
   10645       hardcode_libdir_flag_spec='-R$libdir'
   10646       hardcode_direct=yes
   10647       hardcode_shlibpath_var=no
   10648       ;;
   10649 
   10650     newsos6)
   10651       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10652       hardcode_direct=yes
   10653       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10654       hardcode_libdir_separator=:
   10655       hardcode_shlibpath_var=no
   10656       ;;
   10657 
   10658     *nto* | *qnx*)
   10659       ;;
   10660 
   10661     openbsd*)
   10662       if test -f /usr/libexec/ld.so; then
   10663 	hardcode_direct=yes
   10664 	hardcode_shlibpath_var=no
   10665 	hardcode_direct_absolute=yes
   10666 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10667 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10668 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10669 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10670 	  export_dynamic_flag_spec='${wl}-E'
   10671 	else
   10672 	  case $host_os in
   10673 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10674 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10675 	     hardcode_libdir_flag_spec='-R$libdir'
   10676 	     ;;
   10677 	   *)
   10678 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10679 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10680 	     ;;
   10681 	  esac
   10682 	fi
   10683       else
   10684 	ld_shlibs=no
   10685       fi
   10686       ;;
   10687 
   10688     os2*)
   10689       hardcode_libdir_flag_spec='-L$libdir'
   10690       hardcode_minus_L=yes
   10691       allow_undefined_flag=unsupported
   10692       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'
   10693       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10694       ;;
   10695 
   10696     osf3*)
   10697       if test "$GCC" = yes; then
   10698 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10699 	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'
   10700       else
   10701 	allow_undefined_flag=' -expect_unresolved \*'
   10702 	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'
   10703       fi
   10704       archive_cmds_need_lc='no'
   10705       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10706       hardcode_libdir_separator=:
   10707       ;;
   10708 
   10709     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10710       if test "$GCC" = yes; then
   10711 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10712 	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'
   10713 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10714       else
   10715 	allow_undefined_flag=' -expect_unresolved \*'
   10716 	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'
   10717 	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~
   10718 	$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'
   10719 
   10720 	# Both c and cxx compiler support -rpath directly
   10721 	hardcode_libdir_flag_spec='-rpath $libdir'
   10722       fi
   10723       archive_cmds_need_lc='no'
   10724       hardcode_libdir_separator=:
   10725       ;;
   10726 
   10727     solaris*)
   10728       no_undefined_flag=' -z defs'
   10729       if test "$GCC" = yes; then
   10730 	wlarc='${wl}'
   10731 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10732 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10733 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10734       else
   10735 	case `$CC -V 2>&1` in
   10736 	*"Compilers 5.0"*)
   10737 	  wlarc=''
   10738 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10739 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10740 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10741 	  ;;
   10742 	*)
   10743 	  wlarc='${wl}'
   10744 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10745 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10746 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10747 	  ;;
   10748 	esac
   10749       fi
   10750       hardcode_libdir_flag_spec='-R$libdir'
   10751       hardcode_shlibpath_var=no
   10752       case $host_os in
   10753       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10754       *)
   10755 	# The compiler driver will combine and reorder linker options,
   10756 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10757 	# but is careful enough not to reorder.
   10758 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10759 	if test "$GCC" = yes; then
   10760 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10761 	else
   10762 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10763 	fi
   10764 	;;
   10765       esac
   10766       link_all_deplibs=yes
   10767       ;;
   10768 
   10769     sunos4*)
   10770       if test "x$host_vendor" = xsequent; then
   10771 	# Use $CC to link under sequent, because it throws in some extra .o
   10772 	# files that make .init and .fini sections work.
   10773 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10774       else
   10775 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10776       fi
   10777       hardcode_libdir_flag_spec='-L$libdir'
   10778       hardcode_direct=yes
   10779       hardcode_minus_L=yes
   10780       hardcode_shlibpath_var=no
   10781       ;;
   10782 
   10783     sysv4)
   10784       case $host_vendor in
   10785 	sni)
   10786 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10787 	  hardcode_direct=yes # is this really true???
   10788 	;;
   10789 	siemens)
   10790 	  ## LD is ld it makes a PLAMLIB
   10791 	  ## CC just makes a GrossModule.
   10792 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10793 	  reload_cmds='$CC -r -o $output$reload_objs'
   10794 	  hardcode_direct=no
   10795         ;;
   10796 	motorola)
   10797 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10798 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10799 	;;
   10800       esac
   10801       runpath_var='LD_RUN_PATH'
   10802       hardcode_shlibpath_var=no
   10803       ;;
   10804 
   10805     sysv4.3*)
   10806       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10807       hardcode_shlibpath_var=no
   10808       export_dynamic_flag_spec='-Bexport'
   10809       ;;
   10810 
   10811     sysv4*MP*)
   10812       if test -d /usr/nec; then
   10813 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10814 	hardcode_shlibpath_var=no
   10815 	runpath_var=LD_RUN_PATH
   10816 	hardcode_runpath_var=yes
   10817 	ld_shlibs=yes
   10818       fi
   10819       ;;
   10820 
   10821     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10822       no_undefined_flag='${wl}-z,text'
   10823       archive_cmds_need_lc=no
   10824       hardcode_shlibpath_var=no
   10825       runpath_var='LD_RUN_PATH'
   10826 
   10827       if test "$GCC" = yes; then
   10828 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10829 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10830       else
   10831 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10832 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10833       fi
   10834       ;;
   10835 
   10836     sysv5* | sco3.2v5* | sco5v6*)
   10837       # Note: We can NOT use -z defs as we might desire, because we do not
   10838       # link with -lc, and that would cause any symbols used from libc to
   10839       # always be unresolved, which means just about no library would
   10840       # ever link correctly.  If we're not using GNU ld we use -z text
   10841       # though, which does catch some bad symbols but isn't as heavy-handed
   10842       # as -z defs.
   10843       no_undefined_flag='${wl}-z,text'
   10844       allow_undefined_flag='${wl}-z,nodefs'
   10845       archive_cmds_need_lc=no
   10846       hardcode_shlibpath_var=no
   10847       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10848       hardcode_libdir_separator=':'
   10849       link_all_deplibs=yes
   10850       export_dynamic_flag_spec='${wl}-Bexport'
   10851       runpath_var='LD_RUN_PATH'
   10852 
   10853       if test "$GCC" = yes; then
   10854 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10855 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10856       else
   10857 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10858 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10859       fi
   10860       ;;
   10861 
   10862     uts4*)
   10863       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10864       hardcode_libdir_flag_spec='-L$libdir'
   10865       hardcode_shlibpath_var=no
   10866       ;;
   10867 
   10868     *)
   10869       ld_shlibs=no
   10870       ;;
   10871     esac
   10872 
   10873     if test x$host_vendor = xsni; then
   10874       case $host in
   10875       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10876 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10877 	;;
   10878       esac
   10879     fi
   10880   fi
   10881 
   10882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10883 $as_echo "$ld_shlibs" >&6; }
   10884 test "$ld_shlibs" = no && can_build_shared=no
   10885 
   10886 with_gnu_ld=$with_gnu_ld
   10887 
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 #
   10903 # Do we need to explicitly link libc?
   10904 #
   10905 case "x$archive_cmds_need_lc" in
   10906 x|xyes)
   10907   # Assume -lc should be added
   10908   archive_cmds_need_lc=yes
   10909 
   10910   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10911     case $archive_cmds in
   10912     *'~'*)
   10913       # FIXME: we may have to deal with multi-command sequences.
   10914       ;;
   10915     '$CC '*)
   10916       # Test whether the compiler implicitly links with -lc since on some
   10917       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10918       # to ld, don't add -lc before -lgcc.
   10919       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10920 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10921 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10922   $as_echo_n "(cached) " >&6
   10923 else
   10924   $RM conftest*
   10925 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10926 
   10927 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10928   (eval $ac_compile) 2>&5
   10929   ac_status=$?
   10930   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10931   test $ac_status = 0; } 2>conftest.err; then
   10932 	  soname=conftest
   10933 	  lib=conftest
   10934 	  libobjs=conftest.$ac_objext
   10935 	  deplibs=
   10936 	  wl=$lt_prog_compiler_wl
   10937 	  pic_flag=$lt_prog_compiler_pic
   10938 	  compiler_flags=-v
   10939 	  linker_flags=-v
   10940 	  verstring=
   10941 	  output_objdir=.
   10942 	  libname=conftest
   10943 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10944 	  allow_undefined_flag=
   10945 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10946   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10947   ac_status=$?
   10948   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10949   test $ac_status = 0; }
   10950 	  then
   10951 	    lt_cv_archive_cmds_need_lc=no
   10952 	  else
   10953 	    lt_cv_archive_cmds_need_lc=yes
   10954 	  fi
   10955 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10956 	else
   10957 	  cat conftest.err 1>&5
   10958 	fi
   10959 	$RM conftest*
   10960 
   10961 fi
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10963 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10964       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10965       ;;
   10966     esac
   10967   fi
   10968   ;;
   10969 esac
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11128 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11129 
   11130 if test "$GCC" = yes; then
   11131   case $host_os in
   11132     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11133     *) lt_awk_arg="/^libraries:/" ;;
   11134   esac
   11135   case $host_os in
   11136     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   11137     *) lt_sed_strip_eq="s,=/,/,g" ;;
   11138   esac
   11139   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11140   case $lt_search_path_spec in
   11141   *\;*)
   11142     # if the path contains ";" then we assume it to be the separator
   11143     # otherwise default to the standard path separator (i.e. ":") - it is
   11144     # assumed that no part of a normal pathname contains ";" but that should
   11145     # okay in the real world where ";" in dirpaths is itself problematic.
   11146     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11147     ;;
   11148   *)
   11149     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11150     ;;
   11151   esac
   11152   # Ok, now we have the path, separated by spaces, we can step through it
   11153   # and add multilib dir if necessary.
   11154   lt_tmp_lt_search_path_spec=
   11155   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11156   for lt_sys_path in $lt_search_path_spec; do
   11157     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11158       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11159     else
   11160       test -d "$lt_sys_path" && \
   11161 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11162     fi
   11163   done
   11164   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11165 BEGIN {RS=" "; FS="/|\n";} {
   11166   lt_foo="";
   11167   lt_count=0;
   11168   for (lt_i = NF; lt_i > 0; lt_i--) {
   11169     if ($lt_i != "" && $lt_i != ".") {
   11170       if ($lt_i == "..") {
   11171         lt_count++;
   11172       } else {
   11173         if (lt_count == 0) {
   11174           lt_foo="/" $lt_i lt_foo;
   11175         } else {
   11176           lt_count--;
   11177         }
   11178       }
   11179     }
   11180   }
   11181   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11182   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11183 }'`
   11184   # AWK program above erroneously prepends '/' to C:/dos/paths
   11185   # for these hosts.
   11186   case $host_os in
   11187     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11188       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11189   esac
   11190   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11191 else
   11192   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11193 fi
   11194 library_names_spec=
   11195 libname_spec='lib$name'
   11196 soname_spec=
   11197 shrext_cmds=".so"
   11198 postinstall_cmds=
   11199 postuninstall_cmds=
   11200 finish_cmds=
   11201 finish_eval=
   11202 shlibpath_var=
   11203 shlibpath_overrides_runpath=unknown
   11204 version_type=none
   11205 dynamic_linker="$host_os ld.so"
   11206 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11207 need_lib_prefix=unknown
   11208 hardcode_into_libs=no
   11209 
   11210 # when you set need_version to no, make sure it does not cause -set_version
   11211 # flags to be left without arguments
   11212 need_version=unknown
   11213 
   11214 case $host_os in
   11215 aix3*)
   11216   version_type=linux
   11217   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11218   shlibpath_var=LIBPATH
   11219 
   11220   # AIX 3 has no versioning support, so we append a major version to the name.
   11221   soname_spec='${libname}${release}${shared_ext}$major'
   11222   ;;
   11223 
   11224 aix[4-9]*)
   11225   version_type=linux
   11226   need_lib_prefix=no
   11227   need_version=no
   11228   hardcode_into_libs=yes
   11229   if test "$host_cpu" = ia64; then
   11230     # AIX 5 supports IA64
   11231     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11232     shlibpath_var=LD_LIBRARY_PATH
   11233   else
   11234     # With GCC up to 2.95.x, collect2 would create an import file
   11235     # for dependence libraries.  The import file would start with
   11236     # the line `#! .'.  This would cause the generated library to
   11237     # depend on `.', always an invalid library.  This was fixed in
   11238     # development snapshots of GCC prior to 3.0.
   11239     case $host_os in
   11240       aix4 | aix4.[01] | aix4.[01].*)
   11241       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11242 	   echo ' yes '
   11243 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11244 	:
   11245       else
   11246 	can_build_shared=no
   11247       fi
   11248       ;;
   11249     esac
   11250     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11251     # soname into executable. Probably we can add versioning support to
   11252     # collect2, so additional links can be useful in future.
   11253     if test "$aix_use_runtimelinking" = yes; then
   11254       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11255       # instead of lib<name>.a to let people know that these are not
   11256       # typical AIX shared libraries.
   11257       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11258     else
   11259       # We preserve .a as extension for shared libraries through AIX4.2
   11260       # and later when we are not doing run time linking.
   11261       library_names_spec='${libname}${release}.a $libname.a'
   11262       soname_spec='${libname}${release}${shared_ext}$major'
   11263     fi
   11264     shlibpath_var=LIBPATH
   11265   fi
   11266   ;;
   11267 
   11268 amigaos*)
   11269   case $host_cpu in
   11270   powerpc)
   11271     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11272     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11273     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11274     ;;
   11275   m68k)
   11276     library_names_spec='$libname.ixlibrary $libname.a'
   11277     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11278     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'
   11279     ;;
   11280   esac
   11281   ;;
   11282 
   11283 beos*)
   11284   library_names_spec='${libname}${shared_ext}'
   11285   dynamic_linker="$host_os ld.so"
   11286   shlibpath_var=LIBRARY_PATH
   11287   ;;
   11288 
   11289 bsdi[45]*)
   11290   version_type=linux
   11291   need_version=no
   11292   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11293   soname_spec='${libname}${release}${shared_ext}$major'
   11294   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11295   shlibpath_var=LD_LIBRARY_PATH
   11296   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11297   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11298   # the default ld.so.conf also contains /usr/contrib/lib and
   11299   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11300   # libtool to hard-code these into programs
   11301   ;;
   11302 
   11303 cygwin* | mingw* | pw32* | cegcc*)
   11304   version_type=windows
   11305   shrext_cmds=".dll"
   11306   need_version=no
   11307   need_lib_prefix=no
   11308 
   11309   case $GCC,$host_os in
   11310   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11311     library_names_spec='$libname.dll.a'
   11312     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11313     postinstall_cmds='base_file=`basename \${file}`~
   11314       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11315       dldir=$destdir/`dirname \$dlpath`~
   11316       test -d \$dldir || mkdir -p \$dldir~
   11317       $install_prog $dir/$dlname \$dldir/$dlname~
   11318       chmod a+x \$dldir/$dlname~
   11319       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11320         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11321       fi'
   11322     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11323       dlpath=$dir/\$dldll~
   11324        $RM \$dlpath'
   11325     shlibpath_overrides_runpath=yes
   11326 
   11327     case $host_os in
   11328     cygwin*)
   11329       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11330       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11331 
   11332       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11333       ;;
   11334     mingw* | cegcc*)
   11335       # MinGW DLLs use traditional 'lib' prefix
   11336       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11337       ;;
   11338     pw32*)
   11339       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11340       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11341       ;;
   11342     esac
   11343     ;;
   11344 
   11345   *)
   11346     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11347     ;;
   11348   esac
   11349   dynamic_linker='Win32 ld.exe'
   11350   # FIXME: first we should search . and the directory the executable is in
   11351   shlibpath_var=PATH
   11352   ;;
   11353 
   11354 darwin* | rhapsody*)
   11355   dynamic_linker="$host_os dyld"
   11356   version_type=darwin
   11357   need_lib_prefix=no
   11358   need_version=no
   11359   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11360   soname_spec='${libname}${release}${major}$shared_ext'
   11361   shlibpath_overrides_runpath=yes
   11362   shlibpath_var=DYLD_LIBRARY_PATH
   11363   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11364 
   11365   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11366   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11367   ;;
   11368 
   11369 dgux*)
   11370   version_type=linux
   11371   need_lib_prefix=no
   11372   need_version=no
   11373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11374   soname_spec='${libname}${release}${shared_ext}$major'
   11375   shlibpath_var=LD_LIBRARY_PATH
   11376   ;;
   11377 
   11378 freebsd* | dragonfly*)
   11379   # DragonFly does not have aout.  When/if they implement a new
   11380   # versioning mechanism, adjust this.
   11381   if test -x /usr/bin/objformat; then
   11382     objformat=`/usr/bin/objformat`
   11383   else
   11384     case $host_os in
   11385     freebsd[23].*) objformat=aout ;;
   11386     *) objformat=elf ;;
   11387     esac
   11388   fi
   11389   version_type=freebsd-$objformat
   11390   case $version_type in
   11391     freebsd-elf*)
   11392       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11393       need_version=no
   11394       need_lib_prefix=no
   11395       ;;
   11396     freebsd-*)
   11397       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11398       need_version=yes
   11399       ;;
   11400   esac
   11401   shlibpath_var=LD_LIBRARY_PATH
   11402   case $host_os in
   11403   freebsd2.*)
   11404     shlibpath_overrides_runpath=yes
   11405     ;;
   11406   freebsd3.[01]* | freebsdelf3.[01]*)
   11407     shlibpath_overrides_runpath=yes
   11408     hardcode_into_libs=yes
   11409     ;;
   11410   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11411   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11412     shlibpath_overrides_runpath=no
   11413     hardcode_into_libs=yes
   11414     ;;
   11415   *) # from 4.6 on, and DragonFly
   11416     shlibpath_overrides_runpath=yes
   11417     hardcode_into_libs=yes
   11418     ;;
   11419   esac
   11420   ;;
   11421 
   11422 haiku*)
   11423   version_type=linux
   11424   need_lib_prefix=no
   11425   need_version=no
   11426   dynamic_linker="$host_os runtime_loader"
   11427   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11428   soname_spec='${libname}${release}${shared_ext}$major'
   11429   shlibpath_var=LIBRARY_PATH
   11430   shlibpath_overrides_runpath=yes
   11431   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11432   hardcode_into_libs=yes
   11433   ;;
   11434 
   11435 hpux9* | hpux10* | hpux11*)
   11436   # Give a soname corresponding to the major version so that dld.sl refuses to
   11437   # link against other versions.
   11438   version_type=sunos
   11439   need_lib_prefix=no
   11440   need_version=no
   11441   case $host_cpu in
   11442   ia64*)
   11443     shrext_cmds='.so'
   11444     hardcode_into_libs=yes
   11445     dynamic_linker="$host_os dld.so"
   11446     shlibpath_var=LD_LIBRARY_PATH
   11447     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11448     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11449     soname_spec='${libname}${release}${shared_ext}$major'
   11450     if test "X$HPUX_IA64_MODE" = X32; then
   11451       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11452     else
   11453       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11454     fi
   11455     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11456     ;;
   11457   hppa*64*)
   11458     shrext_cmds='.sl'
   11459     hardcode_into_libs=yes
   11460     dynamic_linker="$host_os dld.sl"
   11461     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11462     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11463     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11464     soname_spec='${libname}${release}${shared_ext}$major'
   11465     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11466     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11467     ;;
   11468   *)
   11469     shrext_cmds='.sl'
   11470     dynamic_linker="$host_os dld.sl"
   11471     shlibpath_var=SHLIB_PATH
   11472     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11473     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11474     soname_spec='${libname}${release}${shared_ext}$major'
   11475     ;;
   11476   esac
   11477   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11478   postinstall_cmds='chmod 555 $lib'
   11479   # or fails outright, so override atomically:
   11480   install_override_mode=555
   11481   ;;
   11482 
   11483 interix[3-9]*)
   11484   version_type=linux
   11485   need_lib_prefix=no
   11486   need_version=no
   11487   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11488   soname_spec='${libname}${release}${shared_ext}$major'
   11489   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11490   shlibpath_var=LD_LIBRARY_PATH
   11491   shlibpath_overrides_runpath=no
   11492   hardcode_into_libs=yes
   11493   ;;
   11494 
   11495 irix5* | irix6* | nonstopux*)
   11496   case $host_os in
   11497     nonstopux*) version_type=nonstopux ;;
   11498     *)
   11499 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11500 		version_type=linux
   11501 	else
   11502 		version_type=irix
   11503 	fi ;;
   11504   esac
   11505   need_lib_prefix=no
   11506   need_version=no
   11507   soname_spec='${libname}${release}${shared_ext}$major'
   11508   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11509   case $host_os in
   11510   irix5* | nonstopux*)
   11511     libsuff= shlibsuff=
   11512     ;;
   11513   *)
   11514     case $LD in # libtool.m4 will add one of these switches to LD
   11515     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11516       libsuff= shlibsuff= libmagic=32-bit;;
   11517     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11518       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11519     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11520       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11521     *) libsuff= shlibsuff= libmagic=never-match;;
   11522     esac
   11523     ;;
   11524   esac
   11525   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11526   shlibpath_overrides_runpath=no
   11527   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11528   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11529   hardcode_into_libs=yes
   11530   ;;
   11531 
   11532 # No shared lib support for Linux oldld, aout, or coff.
   11533 linux*oldld* | linux*aout* | linux*coff*)
   11534   dynamic_linker=no
   11535   ;;
   11536 
   11537 # This must be Linux ELF.
   11538 
   11539 # uclinux* changes (here and below) have been submitted to the libtool
   11540 # project, but have not yet been accepted: they are GCC-local changes
   11541 # for the time being.  (See
   11542 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   11543 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   11544   version_type=linux
   11545   need_lib_prefix=no
   11546   need_version=no
   11547   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11548   soname_spec='${libname}${release}${shared_ext}$major'
   11549   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11550   shlibpath_var=LD_LIBRARY_PATH
   11551   shlibpath_overrides_runpath=no
   11552 
   11553   # Some binutils ld are patched to set DT_RUNPATH
   11554   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11555   $as_echo_n "(cached) " >&6
   11556 else
   11557   lt_cv_shlibpath_overrides_runpath=no
   11558     save_LDFLAGS=$LDFLAGS
   11559     save_libdir=$libdir
   11560     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11561 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11562     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11563 /* end confdefs.h.  */
   11564 
   11565 int
   11566 main ()
   11567 {
   11568 
   11569   ;
   11570   return 0;
   11571 }
   11572 _ACEOF
   11573 if ac_fn_c_try_link "$LINENO"; then :
   11574   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11575   lt_cv_shlibpath_overrides_runpath=yes
   11576 fi
   11577 fi
   11578 rm -f core conftest.err conftest.$ac_objext \
   11579     conftest$ac_exeext conftest.$ac_ext
   11580     LDFLAGS=$save_LDFLAGS
   11581     libdir=$save_libdir
   11582 
   11583 fi
   11584 
   11585   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11586 
   11587   # This implies no fast_install, which is unacceptable.
   11588   # Some rework will be needed to allow for fast_install
   11589   # before this can be enabled.
   11590   hardcode_into_libs=yes
   11591 
   11592   # Append ld.so.conf contents to the search path
   11593   if test -f /etc/ld.so.conf; then
   11594     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' ' '`
   11595     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11596   fi
   11597 
   11598   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11599   # powerpc, because MkLinux only supported shared libraries with the
   11600   # GNU dynamic linker.  Since this was broken with cross compilers,
   11601   # most powerpc-linux boxes support dynamic linking these days and
   11602   # people can always --disable-shared, the test was removed, and we
   11603   # assume the GNU/Linux dynamic linker is in use.
   11604   dynamic_linker='GNU/Linux ld.so'
   11605   ;;
   11606 
   11607 netbsd*)
   11608   version_type=sunos
   11609   need_lib_prefix=no
   11610   need_version=no
   11611   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11612     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11613     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11614     dynamic_linker='NetBSD (a.out) ld.so'
   11615   else
   11616     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11617     soname_spec='${libname}${release}${shared_ext}$major'
   11618     dynamic_linker='NetBSD ld.elf_so'
   11619   fi
   11620   shlibpath_var=LD_LIBRARY_PATH
   11621   shlibpath_overrides_runpath=yes
   11622   hardcode_into_libs=yes
   11623   ;;
   11624 
   11625 newsos6)
   11626   version_type=linux
   11627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11628   shlibpath_var=LD_LIBRARY_PATH
   11629   shlibpath_overrides_runpath=yes
   11630   ;;
   11631 
   11632 *nto* | *qnx*)
   11633   version_type=qnx
   11634   need_lib_prefix=no
   11635   need_version=no
   11636   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11637   soname_spec='${libname}${release}${shared_ext}$major'
   11638   shlibpath_var=LD_LIBRARY_PATH
   11639   shlibpath_overrides_runpath=no
   11640   hardcode_into_libs=yes
   11641   dynamic_linker='ldqnx.so'
   11642   ;;
   11643 
   11644 openbsd*)
   11645   version_type=sunos
   11646   sys_lib_dlsearch_path_spec="/usr/lib"
   11647   need_lib_prefix=no
   11648   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11649   case $host_os in
   11650     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11651     *)				need_version=no  ;;
   11652   esac
   11653   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11654   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11655   shlibpath_var=LD_LIBRARY_PATH
   11656   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11657     case $host_os in
   11658       openbsd2.[89] | openbsd2.[89].*)
   11659 	shlibpath_overrides_runpath=no
   11660 	;;
   11661       *)
   11662 	shlibpath_overrides_runpath=yes
   11663 	;;
   11664       esac
   11665   else
   11666     shlibpath_overrides_runpath=yes
   11667   fi
   11668   ;;
   11669 
   11670 os2*)
   11671   libname_spec='$name'
   11672   shrext_cmds=".dll"
   11673   need_lib_prefix=no
   11674   library_names_spec='$libname${shared_ext} $libname.a'
   11675   dynamic_linker='OS/2 ld.exe'
   11676   shlibpath_var=LIBPATH
   11677   ;;
   11678 
   11679 osf3* | osf4* | osf5*)
   11680   version_type=osf
   11681   need_lib_prefix=no
   11682   need_version=no
   11683   soname_spec='${libname}${release}${shared_ext}$major'
   11684   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11685   shlibpath_var=LD_LIBRARY_PATH
   11686   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11687   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11688   ;;
   11689 
   11690 rdos*)
   11691   dynamic_linker=no
   11692   ;;
   11693 
   11694 solaris*)
   11695   version_type=linux
   11696   need_lib_prefix=no
   11697   need_version=no
   11698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11699   soname_spec='${libname}${release}${shared_ext}$major'
   11700   shlibpath_var=LD_LIBRARY_PATH
   11701   shlibpath_overrides_runpath=yes
   11702   hardcode_into_libs=yes
   11703   # ldd complains unless libraries are executable
   11704   postinstall_cmds='chmod +x $lib'
   11705   ;;
   11706 
   11707 sunos4*)
   11708   version_type=sunos
   11709   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11710   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11711   shlibpath_var=LD_LIBRARY_PATH
   11712   shlibpath_overrides_runpath=yes
   11713   if test "$with_gnu_ld" = yes; then
   11714     need_lib_prefix=no
   11715   fi
   11716   need_version=yes
   11717   ;;
   11718 
   11719 sysv4 | sysv4.3*)
   11720   version_type=linux
   11721   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11722   soname_spec='${libname}${release}${shared_ext}$major'
   11723   shlibpath_var=LD_LIBRARY_PATH
   11724   case $host_vendor in
   11725     sni)
   11726       shlibpath_overrides_runpath=no
   11727       need_lib_prefix=no
   11728       runpath_var=LD_RUN_PATH
   11729       ;;
   11730     siemens)
   11731       need_lib_prefix=no
   11732       ;;
   11733     motorola)
   11734       need_lib_prefix=no
   11735       need_version=no
   11736       shlibpath_overrides_runpath=no
   11737       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11738       ;;
   11739   esac
   11740   ;;
   11741 
   11742 sysv4*MP*)
   11743   if test -d /usr/nec ;then
   11744     version_type=linux
   11745     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11746     soname_spec='$libname${shared_ext}.$major'
   11747     shlibpath_var=LD_LIBRARY_PATH
   11748   fi
   11749   ;;
   11750 
   11751 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11752   version_type=freebsd-elf
   11753   need_lib_prefix=no
   11754   need_version=no
   11755   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11756   soname_spec='${libname}${release}${shared_ext}$major'
   11757   shlibpath_var=LD_LIBRARY_PATH
   11758   shlibpath_overrides_runpath=yes
   11759   hardcode_into_libs=yes
   11760   if test "$with_gnu_ld" = yes; then
   11761     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11762   else
   11763     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11764     case $host_os in
   11765       sco3.2v5*)
   11766         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11767 	;;
   11768     esac
   11769   fi
   11770   sys_lib_dlsearch_path_spec='/usr/lib'
   11771   ;;
   11772 
   11773 tpf*)
   11774   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11775   version_type=linux
   11776   need_lib_prefix=no
   11777   need_version=no
   11778   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11779   shlibpath_var=LD_LIBRARY_PATH
   11780   shlibpath_overrides_runpath=no
   11781   hardcode_into_libs=yes
   11782   ;;
   11783 
   11784 uts4*)
   11785   version_type=linux
   11786   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11787   soname_spec='${libname}${release}${shared_ext}$major'
   11788   shlibpath_var=LD_LIBRARY_PATH
   11789   ;;
   11790 
   11791 # Shared libraries for VwWorks, >= 7 only at this stage
   11792 # and (fpic) still incompatible with "large" code models
   11793 # in a few configurations. Only for RTP mode in any case,
   11794 # and upon explicit request at configure time.
   11795 vxworks7*)
   11796   dynamic_linker=no
   11797   case ${with_multisubdir}-${enable_shared} in
   11798     *large*)
   11799       ;;
   11800     *mrtp*-yes)
   11801       version_type=linux
   11802       need_lib_prefix=no
   11803       need_version=no
   11804       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11805       soname_spec='${libname}${release}${shared_ext}$major'
   11806       dynamic_linker="$host_os module_loader"
   11807       ;;
   11808   esac
   11809   ;;
   11810 *)
   11811   dynamic_linker=no
   11812   ;;
   11813 esac
   11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11815 $as_echo "$dynamic_linker" >&6; }
   11816 test "$dynamic_linker" = no && can_build_shared=no
   11817 
   11818 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11819 if test "$GCC" = yes; then
   11820   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11821 fi
   11822 
   11823 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11824   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11825 fi
   11826 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11827   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11828 fi
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11922 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11923 hardcode_action=
   11924 if test -n "$hardcode_libdir_flag_spec" ||
   11925    test -n "$runpath_var" ||
   11926    test "X$hardcode_automatic" = "Xyes" ; then
   11927 
   11928   # We can hardcode non-existent directories.
   11929   if test "$hardcode_direct" != no &&
   11930      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11931      # have to relink, otherwise we might link with an installed library
   11932      # when we should be linking with a yet-to-be-installed one
   11933      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11934      test "$hardcode_minus_L" != no; then
   11935     # Linking always hardcodes the temporary library directory.
   11936     hardcode_action=relink
   11937   else
   11938     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11939     hardcode_action=immediate
   11940   fi
   11941 else
   11942   # We cannot hardcode anything, or else we can only hardcode existing
   11943   # directories.
   11944   hardcode_action=unsupported
   11945 fi
   11946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11947 $as_echo "$hardcode_action" >&6; }
   11948 
   11949 if test "$hardcode_action" = relink ||
   11950    test "$inherit_rpath" = yes; then
   11951   # Fast installation is not supported
   11952   enable_fast_install=no
   11953 elif test "$shlibpath_overrides_runpath" = yes ||
   11954      test "$enable_shared" = no; then
   11955   # Fast installation is not necessary
   11956   enable_fast_install=needless
   11957 fi
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964   if test "x$enable_dlopen" != xyes; then
   11965   enable_dlopen=unknown
   11966   enable_dlopen_self=unknown
   11967   enable_dlopen_self_static=unknown
   11968 else
   11969   lt_cv_dlopen=no
   11970   lt_cv_dlopen_libs=
   11971 
   11972   case $host_os in
   11973   beos*)
   11974     lt_cv_dlopen="load_add_on"
   11975     lt_cv_dlopen_libs=
   11976     lt_cv_dlopen_self=yes
   11977     ;;
   11978 
   11979   mingw* | pw32* | cegcc*)
   11980     lt_cv_dlopen="LoadLibrary"
   11981     lt_cv_dlopen_libs=
   11982     ;;
   11983 
   11984   cygwin*)
   11985     lt_cv_dlopen="dlopen"
   11986     lt_cv_dlopen_libs=
   11987     ;;
   11988 
   11989   darwin*)
   11990   # if libdl is installed we need to link against it
   11991     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11992 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11993 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11994   $as_echo_n "(cached) " >&6
   11995 else
   11996   ac_check_lib_save_LIBS=$LIBS
   11997 LIBS="-ldl  $LIBS"
   11998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11999 /* end confdefs.h.  */
   12000 
   12001 /* Override any GCC internal prototype to avoid an error.
   12002    Use char because int might match the return type of a GCC
   12003    builtin and then its argument prototype would still apply.  */
   12004 #ifdef __cplusplus
   12005 extern "C"
   12006 #endif
   12007 char dlopen ();
   12008 int
   12009 main ()
   12010 {
   12011 return dlopen ();
   12012   ;
   12013   return 0;
   12014 }
   12015 _ACEOF
   12016 if ac_fn_c_try_link "$LINENO"; then :
   12017   ac_cv_lib_dl_dlopen=yes
   12018 else
   12019   ac_cv_lib_dl_dlopen=no
   12020 fi
   12021 rm -f core conftest.err conftest.$ac_objext \
   12022     conftest$ac_exeext conftest.$ac_ext
   12023 LIBS=$ac_check_lib_save_LIBS
   12024 fi
   12025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12026 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12027 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12028   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12029 else
   12030 
   12031     lt_cv_dlopen="dyld"
   12032     lt_cv_dlopen_libs=
   12033     lt_cv_dlopen_self=yes
   12034 
   12035 fi
   12036 
   12037     ;;
   12038 
   12039   *)
   12040     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12041 if test "x$ac_cv_func_shl_load" = xyes; then :
   12042   lt_cv_dlopen="shl_load"
   12043 else
   12044   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12045 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12046 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12047   $as_echo_n "(cached) " >&6
   12048 else
   12049   ac_check_lib_save_LIBS=$LIBS
   12050 LIBS="-ldld  $LIBS"
   12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12052 /* end confdefs.h.  */
   12053 
   12054 /* Override any GCC internal prototype to avoid an error.
   12055    Use char because int might match the return type of a GCC
   12056    builtin and then its argument prototype would still apply.  */
   12057 #ifdef __cplusplus
   12058 extern "C"
   12059 #endif
   12060 char shl_load ();
   12061 int
   12062 main ()
   12063 {
   12064 return shl_load ();
   12065   ;
   12066   return 0;
   12067 }
   12068 _ACEOF
   12069 if ac_fn_c_try_link "$LINENO"; then :
   12070   ac_cv_lib_dld_shl_load=yes
   12071 else
   12072   ac_cv_lib_dld_shl_load=no
   12073 fi
   12074 rm -f core conftest.err conftest.$ac_objext \
   12075     conftest$ac_exeext conftest.$ac_ext
   12076 LIBS=$ac_check_lib_save_LIBS
   12077 fi
   12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12079 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12080 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12081   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12082 else
   12083   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12084 if test "x$ac_cv_func_dlopen" = xyes; then :
   12085   lt_cv_dlopen="dlopen"
   12086 else
   12087   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12088 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12089 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12090   $as_echo_n "(cached) " >&6
   12091 else
   12092   ac_check_lib_save_LIBS=$LIBS
   12093 LIBS="-ldl  $LIBS"
   12094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12095 /* end confdefs.h.  */
   12096 
   12097 /* Override any GCC internal prototype to avoid an error.
   12098    Use char because int might match the return type of a GCC
   12099    builtin and then its argument prototype would still apply.  */
   12100 #ifdef __cplusplus
   12101 extern "C"
   12102 #endif
   12103 char dlopen ();
   12104 int
   12105 main ()
   12106 {
   12107 return dlopen ();
   12108   ;
   12109   return 0;
   12110 }
   12111 _ACEOF
   12112 if ac_fn_c_try_link "$LINENO"; then :
   12113   ac_cv_lib_dl_dlopen=yes
   12114 else
   12115   ac_cv_lib_dl_dlopen=no
   12116 fi
   12117 rm -f core conftest.err conftest.$ac_objext \
   12118     conftest$ac_exeext conftest.$ac_ext
   12119 LIBS=$ac_check_lib_save_LIBS
   12120 fi
   12121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12122 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12123 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12124   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12125 else
   12126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12127 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12128 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12129   $as_echo_n "(cached) " >&6
   12130 else
   12131   ac_check_lib_save_LIBS=$LIBS
   12132 LIBS="-lsvld  $LIBS"
   12133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12134 /* end confdefs.h.  */
   12135 
   12136 /* Override any GCC internal prototype to avoid an error.
   12137    Use char because int might match the return type of a GCC
   12138    builtin and then its argument prototype would still apply.  */
   12139 #ifdef __cplusplus
   12140 extern "C"
   12141 #endif
   12142 char dlopen ();
   12143 int
   12144 main ()
   12145 {
   12146 return dlopen ();
   12147   ;
   12148   return 0;
   12149 }
   12150 _ACEOF
   12151 if ac_fn_c_try_link "$LINENO"; then :
   12152   ac_cv_lib_svld_dlopen=yes
   12153 else
   12154   ac_cv_lib_svld_dlopen=no
   12155 fi
   12156 rm -f core conftest.err conftest.$ac_objext \
   12157     conftest$ac_exeext conftest.$ac_ext
   12158 LIBS=$ac_check_lib_save_LIBS
   12159 fi
   12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12161 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12162 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12163   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12164 else
   12165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12166 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12167 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12168   $as_echo_n "(cached) " >&6
   12169 else
   12170   ac_check_lib_save_LIBS=$LIBS
   12171 LIBS="-ldld  $LIBS"
   12172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12173 /* end confdefs.h.  */
   12174 
   12175 /* Override any GCC internal prototype to avoid an error.
   12176    Use char because int might match the return type of a GCC
   12177    builtin and then its argument prototype would still apply.  */
   12178 #ifdef __cplusplus
   12179 extern "C"
   12180 #endif
   12181 char dld_link ();
   12182 int
   12183 main ()
   12184 {
   12185 return dld_link ();
   12186   ;
   12187   return 0;
   12188 }
   12189 _ACEOF
   12190 if ac_fn_c_try_link "$LINENO"; then :
   12191   ac_cv_lib_dld_dld_link=yes
   12192 else
   12193   ac_cv_lib_dld_dld_link=no
   12194 fi
   12195 rm -f core conftest.err conftest.$ac_objext \
   12196     conftest$ac_exeext conftest.$ac_ext
   12197 LIBS=$ac_check_lib_save_LIBS
   12198 fi
   12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12200 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12201 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12202   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12203 fi
   12204 
   12205 
   12206 fi
   12207 
   12208 
   12209 fi
   12210 
   12211 
   12212 fi
   12213 
   12214 
   12215 fi
   12216 
   12217 
   12218 fi
   12219 
   12220     ;;
   12221   esac
   12222 
   12223   if test "x$lt_cv_dlopen" != xno; then
   12224     enable_dlopen=yes
   12225   else
   12226     enable_dlopen=no
   12227   fi
   12228 
   12229   case $lt_cv_dlopen in
   12230   dlopen)
   12231     save_CPPFLAGS="$CPPFLAGS"
   12232     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12233 
   12234     save_LDFLAGS="$LDFLAGS"
   12235     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12236 
   12237     save_LIBS="$LIBS"
   12238     LIBS="$lt_cv_dlopen_libs $LIBS"
   12239 
   12240     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12241 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12242 if ${lt_cv_dlopen_self+:} false; then :
   12243   $as_echo_n "(cached) " >&6
   12244 else
   12245   	  if test "$cross_compiling" = yes; then :
   12246   lt_cv_dlopen_self=cross
   12247 else
   12248   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12249   lt_status=$lt_dlunknown
   12250   cat > conftest.$ac_ext <<_LT_EOF
   12251 #line 12251 "configure"
   12252 #include "confdefs.h"
   12253 
   12254 #if HAVE_DLFCN_H
   12255 #include <dlfcn.h>
   12256 #endif
   12257 
   12258 #include <stdio.h>
   12259 
   12260 #ifdef RTLD_GLOBAL
   12261 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12262 #else
   12263 #  ifdef DL_GLOBAL
   12264 #    define LT_DLGLOBAL		DL_GLOBAL
   12265 #  else
   12266 #    define LT_DLGLOBAL		0
   12267 #  endif
   12268 #endif
   12269 
   12270 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12271    find out it does not work in some platform. */
   12272 #ifndef LT_DLLAZY_OR_NOW
   12273 #  ifdef RTLD_LAZY
   12274 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12275 #  else
   12276 #    ifdef DL_LAZY
   12277 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12278 #    else
   12279 #      ifdef RTLD_NOW
   12280 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12281 #      else
   12282 #        ifdef DL_NOW
   12283 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12284 #        else
   12285 #          define LT_DLLAZY_OR_NOW	0
   12286 #        endif
   12287 #      endif
   12288 #    endif
   12289 #  endif
   12290 #endif
   12291 
   12292 /* When -fvisbility=hidden is used, assume the code has been annotated
   12293    correspondingly for the symbols needed.  */
   12294 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12295 void fnord () __attribute__((visibility("default")));
   12296 #endif
   12297 
   12298 void fnord () { int i=42; }
   12299 int main ()
   12300 {
   12301   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12302   int status = $lt_dlunknown;
   12303 
   12304   if (self)
   12305     {
   12306       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12307       else
   12308         {
   12309 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12310           else puts (dlerror ());
   12311 	}
   12312       /* dlclose (self); */
   12313     }
   12314   else
   12315     puts (dlerror ());
   12316 
   12317   return status;
   12318 }
   12319 _LT_EOF
   12320   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12321   (eval $ac_link) 2>&5
   12322   ac_status=$?
   12323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12324   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12325     (./conftest; exit; ) >&5 2>/dev/null
   12326     lt_status=$?
   12327     case x$lt_status in
   12328       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12329       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12330       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12331     esac
   12332   else :
   12333     # compilation failed
   12334     lt_cv_dlopen_self=no
   12335   fi
   12336 fi
   12337 rm -fr conftest*
   12338 
   12339 
   12340 fi
   12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12342 $as_echo "$lt_cv_dlopen_self" >&6; }
   12343 
   12344     if test "x$lt_cv_dlopen_self" = xyes; then
   12345       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12346       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12347 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12348 if ${lt_cv_dlopen_self_static+:} false; then :
   12349   $as_echo_n "(cached) " >&6
   12350 else
   12351   	  if test "$cross_compiling" = yes; then :
   12352   lt_cv_dlopen_self_static=cross
   12353 else
   12354   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12355   lt_status=$lt_dlunknown
   12356   cat > conftest.$ac_ext <<_LT_EOF
   12357 #line 12357 "configure"
   12358 #include "confdefs.h"
   12359 
   12360 #if HAVE_DLFCN_H
   12361 #include <dlfcn.h>
   12362 #endif
   12363 
   12364 #include <stdio.h>
   12365 
   12366 #ifdef RTLD_GLOBAL
   12367 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12368 #else
   12369 #  ifdef DL_GLOBAL
   12370 #    define LT_DLGLOBAL		DL_GLOBAL
   12371 #  else
   12372 #    define LT_DLGLOBAL		0
   12373 #  endif
   12374 #endif
   12375 
   12376 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12377    find out it does not work in some platform. */
   12378 #ifndef LT_DLLAZY_OR_NOW
   12379 #  ifdef RTLD_LAZY
   12380 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12381 #  else
   12382 #    ifdef DL_LAZY
   12383 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12384 #    else
   12385 #      ifdef RTLD_NOW
   12386 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12387 #      else
   12388 #        ifdef DL_NOW
   12389 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12390 #        else
   12391 #          define LT_DLLAZY_OR_NOW	0
   12392 #        endif
   12393 #      endif
   12394 #    endif
   12395 #  endif
   12396 #endif
   12397 
   12398 /* When -fvisbility=hidden is used, assume the code has been annotated
   12399    correspondingly for the symbols needed.  */
   12400 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12401 void fnord () __attribute__((visibility("default")));
   12402 #endif
   12403 
   12404 void fnord () { int i=42; }
   12405 int main ()
   12406 {
   12407   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12408   int status = $lt_dlunknown;
   12409 
   12410   if (self)
   12411     {
   12412       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12413       else
   12414         {
   12415 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12416           else puts (dlerror ());
   12417 	}
   12418       /* dlclose (self); */
   12419     }
   12420   else
   12421     puts (dlerror ());
   12422 
   12423   return status;
   12424 }
   12425 _LT_EOF
   12426   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12427   (eval $ac_link) 2>&5
   12428   ac_status=$?
   12429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12430   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12431     (./conftest; exit; ) >&5 2>/dev/null
   12432     lt_status=$?
   12433     case x$lt_status in
   12434       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12435       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12436       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12437     esac
   12438   else :
   12439     # compilation failed
   12440     lt_cv_dlopen_self_static=no
   12441   fi
   12442 fi
   12443 rm -fr conftest*
   12444 
   12445 
   12446 fi
   12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12448 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12449     fi
   12450 
   12451     CPPFLAGS="$save_CPPFLAGS"
   12452     LDFLAGS="$save_LDFLAGS"
   12453     LIBS="$save_LIBS"
   12454     ;;
   12455   esac
   12456 
   12457   case $lt_cv_dlopen_self in
   12458   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12459   *) enable_dlopen_self=unknown ;;
   12460   esac
   12461 
   12462   case $lt_cv_dlopen_self_static in
   12463   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12464   *) enable_dlopen_self_static=unknown ;;
   12465   esac
   12466 fi
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 striplib=
   12485 old_striplib=
   12486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12487 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12488 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12489   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12490   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12492 $as_echo "yes" >&6; }
   12493 else
   12494 # FIXME - insert some real tests, host_os isn't really good enough
   12495   case $host_os in
   12496   darwin*)
   12497     if test -n "$STRIP" ; then
   12498       striplib="$STRIP -x"
   12499       old_striplib="$STRIP -S"
   12500       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12501 $as_echo "yes" >&6; }
   12502     else
   12503       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12504 $as_echo "no" >&6; }
   12505     fi
   12506     ;;
   12507   *)
   12508     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12509 $as_echo "no" >&6; }
   12510     ;;
   12511   esac
   12512 fi
   12513 
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525   # Report which library types will actually be built
   12526   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12527 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12529 $as_echo "$can_build_shared" >&6; }
   12530 
   12531   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12532 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12533   test "$can_build_shared" = "no" && enable_shared=no
   12534 
   12535   # On AIX, shared libraries and static libraries use the same namespace, and
   12536   # are all built from PIC.
   12537   case $host_os in
   12538   aix3*)
   12539     test "$enable_shared" = yes && enable_static=no
   12540     if test -n "$RANLIB"; then
   12541       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12542       postinstall_cmds='$RANLIB $lib'
   12543     fi
   12544     ;;
   12545 
   12546   aix[4-9]*)
   12547     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12548       test "$enable_shared" = yes && enable_static=no
   12549     fi
   12550     ;;
   12551   esac
   12552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12553 $as_echo "$enable_shared" >&6; }
   12554 
   12555   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12556 $as_echo_n "checking whether to build static libraries... " >&6; }
   12557   # Make sure either enable_shared or enable_static is yes.
   12558   test "$enable_shared" = yes || enable_static=yes
   12559   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12560 $as_echo "$enable_static" >&6; }
   12561 
   12562 
   12563 
   12564 
   12565 fi
   12566 ac_ext=c
   12567 ac_cpp='$CPP $CPPFLAGS'
   12568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12571 
   12572 CC="$lt_save_CC"
   12573 
   12574       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12575     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12576     (test "X$CXX" != "Xg++"))) ; then
   12577   ac_ext=cpp
   12578 ac_cpp='$CXXCPP $CPPFLAGS'
   12579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12583 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12584 if test -z "$CXXCPP"; then
   12585   if ${ac_cv_prog_CXXCPP+:} false; then :
   12586   $as_echo_n "(cached) " >&6
   12587 else
   12588       # Double quotes because CXXCPP needs to be expanded
   12589     for CXXCPP in "$CXX -E" "/lib/cpp"
   12590     do
   12591       ac_preproc_ok=false
   12592 for ac_cxx_preproc_warn_flag in '' yes
   12593 do
   12594   # Use a header file that comes with gcc, so configuring glibc
   12595   # with a fresh cross-compiler works.
   12596   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12597   # <limits.h> exists even on freestanding compilers.
   12598   # On the NeXT, cc -E runs the code through the compiler's parser,
   12599   # not just through cpp. "Syntax error" is here to catch this case.
   12600   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12601 /* end confdefs.h.  */
   12602 #ifdef __STDC__
   12603 # include <limits.h>
   12604 #else
   12605 # include <assert.h>
   12606 #endif
   12607 		     Syntax error
   12608 _ACEOF
   12609 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12610 
   12611 else
   12612   # Broken: fails on valid input.
   12613 continue
   12614 fi
   12615 rm -f conftest.err conftest.i conftest.$ac_ext
   12616 
   12617   # OK, works on sane cases.  Now check whether nonexistent headers
   12618   # can be detected and how.
   12619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12620 /* end confdefs.h.  */
   12621 #include <ac_nonexistent.h>
   12622 _ACEOF
   12623 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12624   # Broken: success on invalid input.
   12625 continue
   12626 else
   12627   # Passes both tests.
   12628 ac_preproc_ok=:
   12629 break
   12630 fi
   12631 rm -f conftest.err conftest.i conftest.$ac_ext
   12632 
   12633 done
   12634 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12635 rm -f conftest.i conftest.err conftest.$ac_ext
   12636 if $ac_preproc_ok; then :
   12637   break
   12638 fi
   12639 
   12640     done
   12641     ac_cv_prog_CXXCPP=$CXXCPP
   12642 
   12643 fi
   12644   CXXCPP=$ac_cv_prog_CXXCPP
   12645 else
   12646   ac_cv_prog_CXXCPP=$CXXCPP
   12647 fi
   12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   12649 $as_echo "$CXXCPP" >&6; }
   12650 ac_preproc_ok=false
   12651 for ac_cxx_preproc_warn_flag in '' yes
   12652 do
   12653   # Use a header file that comes with gcc, so configuring glibc
   12654   # with a fresh cross-compiler works.
   12655   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12656   # <limits.h> exists even on freestanding compilers.
   12657   # On the NeXT, cc -E runs the code through the compiler's parser,
   12658   # not just through cpp. "Syntax error" is here to catch this case.
   12659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12660 /* end confdefs.h.  */
   12661 #ifdef __STDC__
   12662 # include <limits.h>
   12663 #else
   12664 # include <assert.h>
   12665 #endif
   12666 		     Syntax error
   12667 _ACEOF
   12668 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12669 
   12670 else
   12671   # Broken: fails on valid input.
   12672 continue
   12673 fi
   12674 rm -f conftest.err conftest.i conftest.$ac_ext
   12675 
   12676   # OK, works on sane cases.  Now check whether nonexistent headers
   12677   # can be detected and how.
   12678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12679 /* end confdefs.h.  */
   12680 #include <ac_nonexistent.h>
   12681 _ACEOF
   12682 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12683   # Broken: success on invalid input.
   12684 continue
   12685 else
   12686   # Passes both tests.
   12687 ac_preproc_ok=:
   12688 break
   12689 fi
   12690 rm -f conftest.err conftest.i conftest.$ac_ext
   12691 
   12692 done
   12693 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12694 rm -f conftest.i conftest.err conftest.$ac_ext
   12695 if $ac_preproc_ok; then :
   12696 
   12697 else
   12698   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12699 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12700 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   12701 See \`config.log' for more details" "$LINENO" 5; }
   12702 fi
   12703 
   12704 ac_ext=c
   12705 ac_cpp='$CPP $CPPFLAGS'
   12706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12709 
   12710 else
   12711   _lt_caught_CXX_error=yes
   12712 fi
   12713 
   12714 ac_ext=cpp
   12715 ac_cpp='$CXXCPP $CPPFLAGS'
   12716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12719 
   12720 archive_cmds_need_lc_CXX=no
   12721 allow_undefined_flag_CXX=
   12722 always_export_symbols_CXX=no
   12723 archive_expsym_cmds_CXX=
   12724 compiler_needs_object_CXX=no
   12725 export_dynamic_flag_spec_CXX=
   12726 hardcode_direct_CXX=no
   12727 hardcode_direct_absolute_CXX=no
   12728 hardcode_libdir_flag_spec_CXX=
   12729 hardcode_libdir_flag_spec_ld_CXX=
   12730 hardcode_libdir_separator_CXX=
   12731 hardcode_minus_L_CXX=no
   12732 hardcode_shlibpath_var_CXX=unsupported
   12733 hardcode_automatic_CXX=no
   12734 inherit_rpath_CXX=no
   12735 module_cmds_CXX=
   12736 module_expsym_cmds_CXX=
   12737 link_all_deplibs_CXX=unknown
   12738 old_archive_cmds_CXX=$old_archive_cmds
   12739 reload_flag_CXX=$reload_flag
   12740 reload_cmds_CXX=$reload_cmds
   12741 no_undefined_flag_CXX=
   12742 whole_archive_flag_spec_CXX=
   12743 enable_shared_with_static_runtimes_CXX=no
   12744 
   12745 # Source file extension for C++ test sources.
   12746 ac_ext=cpp
   12747 
   12748 # Object file extension for compiled C++ test sources.
   12749 objext=o
   12750 objext_CXX=$objext
   12751 
   12752 # No sense in running all these tests if we already determined that
   12753 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12754 # are currently assumed to apply to all compilers on this platform,
   12755 # and will be corrupted by setting them based on a non-working compiler.
   12756 if test "$_lt_caught_CXX_error" != yes; then
   12757   # Code to be used in simple compile tests
   12758   lt_simple_compile_test_code="int some_variable = 0;"
   12759 
   12760   # Code to be used in simple link tests
   12761   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12762 
   12763   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12764 
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 # If no C compiler was specified, use CC.
   12771 LTCC=${LTCC-"$CC"}
   12772 
   12773 # If no C compiler flags were specified, use CFLAGS.
   12774 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12775 
   12776 # Allow CC to be a program name with arguments.
   12777 compiler=$CC
   12778 
   12779 
   12780   # save warnings/boilerplate of simple test code
   12781   ac_outfile=conftest.$ac_objext
   12782 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12783 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12784 _lt_compiler_boilerplate=`cat conftest.err`
   12785 $RM conftest*
   12786 
   12787   ac_outfile=conftest.$ac_objext
   12788 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12789 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12790 _lt_linker_boilerplate=`cat conftest.err`
   12791 $RM -r conftest*
   12792 
   12793 
   12794   # Allow CC to be a program name with arguments.
   12795   lt_save_CC=$CC
   12796   lt_save_LD=$LD
   12797   lt_save_GCC=$GCC
   12798   GCC=$GXX
   12799   lt_save_with_gnu_ld=$with_gnu_ld
   12800   lt_save_path_LD=$lt_cv_path_LD
   12801   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12802     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12803   else
   12804     $as_unset lt_cv_prog_gnu_ld
   12805   fi
   12806   if test -n "${lt_cv_path_LDCXX+set}"; then
   12807     lt_cv_path_LD=$lt_cv_path_LDCXX
   12808   else
   12809     $as_unset lt_cv_path_LD
   12810   fi
   12811   test -z "${LDCXX+set}" || LD=$LDCXX
   12812   CC=${CXX-"c++"}
   12813   compiler=$CC
   12814   compiler_CXX=$CC
   12815   for cc_temp in $compiler""; do
   12816   case $cc_temp in
   12817     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12818     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12819     \-*) ;;
   12820     *) break;;
   12821   esac
   12822 done
   12823 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12824 
   12825 
   12826   if test -n "$compiler"; then
   12827     # We don't want -fno-exception when compiling C++ code, so set the
   12828     # no_builtin_flag separately
   12829     if test "$GXX" = yes; then
   12830       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12831     else
   12832       lt_prog_compiler_no_builtin_flag_CXX=
   12833     fi
   12834 
   12835     if test "$GXX" = yes; then
   12836       # Set up default GNU C++ configuration
   12837 
   12838 
   12839 
   12840 # Check whether --with-gnu-ld was given.
   12841 if test "${with_gnu_ld+set}" = set; then :
   12842   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12843 else
   12844   with_gnu_ld=no
   12845 fi
   12846 
   12847 ac_prog=ld
   12848 if test "$GCC" = yes; then
   12849   # Check if gcc -print-prog-name=ld gives a path.
   12850   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12851 $as_echo_n "checking for ld used by $CC... " >&6; }
   12852   case $host in
   12853   *-*-mingw*)
   12854     # gcc leaves a trailing carriage return which upsets mingw
   12855     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12856   *)
   12857     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12858   esac
   12859   case $ac_prog in
   12860     # Accept absolute paths.
   12861     [\\/]* | ?:[\\/]*)
   12862       re_direlt='/[^/][^/]*/\.\./'
   12863       # Canonicalize the pathname of ld
   12864       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12865       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12866 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12867       done
   12868       test -z "$LD" && LD="$ac_prog"
   12869       ;;
   12870   "")
   12871     # If it fails, then pretend we aren't using GCC.
   12872     ac_prog=ld
   12873     ;;
   12874   *)
   12875     # If it is relative, then search for the first ld in PATH.
   12876     with_gnu_ld=unknown
   12877     ;;
   12878   esac
   12879 elif test "$with_gnu_ld" = yes; then
   12880   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12881 $as_echo_n "checking for GNU ld... " >&6; }
   12882 else
   12883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12884 $as_echo_n "checking for non-GNU ld... " >&6; }
   12885 fi
   12886 if ${lt_cv_path_LD+:} false; then :
   12887   $as_echo_n "(cached) " >&6
   12888 else
   12889   if test -z "$LD"; then
   12890   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12891   for ac_dir in $PATH; do
   12892     IFS="$lt_save_ifs"
   12893     test -z "$ac_dir" && ac_dir=.
   12894     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12895       lt_cv_path_LD="$ac_dir/$ac_prog"
   12896       # Check to see if the program is GNU ld.  I'd rather use --version,
   12897       # but apparently some variants of GNU ld only accept -v.
   12898       # Break only if it was the GNU/non-GNU ld that we prefer.
   12899       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12900       *GNU* | *'with BFD'*)
   12901 	test "$with_gnu_ld" != no && break
   12902 	;;
   12903       *)
   12904 	test "$with_gnu_ld" != yes && break
   12905 	;;
   12906       esac
   12907     fi
   12908   done
   12909   IFS="$lt_save_ifs"
   12910 else
   12911   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12912 fi
   12913 fi
   12914 
   12915 LD="$lt_cv_path_LD"
   12916 if test -n "$LD"; then
   12917   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12918 $as_echo "$LD" >&6; }
   12919 else
   12920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12921 $as_echo "no" >&6; }
   12922 fi
   12923 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12925 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12926 if ${lt_cv_prog_gnu_ld+:} false; then :
   12927   $as_echo_n "(cached) " >&6
   12928 else
   12929   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12930 case `$LD -v 2>&1 </dev/null` in
   12931 *GNU* | *'with BFD'*)
   12932   lt_cv_prog_gnu_ld=yes
   12933   ;;
   12934 *)
   12935   lt_cv_prog_gnu_ld=no
   12936   ;;
   12937 esac
   12938 fi
   12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12940 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   12941 with_gnu_ld=$lt_cv_prog_gnu_ld
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   12950       # archiving commands below assume that GNU ld is being used.
   12951       if test "$with_gnu_ld" = yes; then
   12952         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12953         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'
   12954 
   12955         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12956         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12957 
   12958         # If archive_cmds runs LD, not CC, wlarc should be empty
   12959         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   12960         #     investigate it a little bit more. (MM)
   12961         wlarc='${wl}'
   12962 
   12963         # ancient GNU ld didn't support --whole-archive et. al.
   12964         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   12965 	  $GREP 'no-whole-archive' > /dev/null; then
   12966           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12967         else
   12968           whole_archive_flag_spec_CXX=
   12969         fi
   12970       else
   12971         with_gnu_ld=no
   12972         wlarc=
   12973 
   12974         # A generic and very simple default shared library creation
   12975         # command for GNU C++ for the case where it uses the native
   12976         # linker, instead of GNU ld.  If possible, this setting should
   12977         # overridden to take advantage of the native linker features on
   12978         # the platform it is being used on.
   12979         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12980       fi
   12981 
   12982       # Commands to make compiler produce verbose output that lists
   12983       # what "hidden" libraries, object files and flags are used when
   12984       # linking a shared library.
   12985       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12986 
   12987     else
   12988       GXX=no
   12989       with_gnu_ld=no
   12990       wlarc=
   12991     fi
   12992 
   12993     # PORTME: fill in a description of your system's C++ link characteristics
   12994     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12995 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12996     ld_shlibs_CXX=yes
   12997     case $host_os in
   12998       aix3*)
   12999         # FIXME: insert proper C++ library support
   13000         ld_shlibs_CXX=no
   13001         ;;
   13002       aix[4-9]*)
   13003         if test "$host_cpu" = ia64; then
   13004           # On IA64, the linker does run time linking by default, so we don't
   13005           # have to do anything special.
   13006           aix_use_runtimelinking=no
   13007           exp_sym_flag='-Bexport'
   13008           no_entry_flag=""
   13009         else
   13010           aix_use_runtimelinking=no
   13011 
   13012           # Test if we are trying to use run time linking or normal
   13013           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13014           # need to do runtime linking.
   13015           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13016 	    for ld_flag in $LDFLAGS; do
   13017 	      case $ld_flag in
   13018 	      *-brtl*)
   13019 	        aix_use_runtimelinking=yes
   13020 	        break
   13021 	        ;;
   13022 	      esac
   13023 	    done
   13024 	    ;;
   13025           esac
   13026 
   13027           exp_sym_flag='-bexport'
   13028           no_entry_flag='-bnoentry'
   13029         fi
   13030 
   13031         # When large executables or shared objects are built, AIX ld can
   13032         # have problems creating the table of contents.  If linking a library
   13033         # or program results in "error TOC overflow" add -mminimal-toc to
   13034         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13035         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13036 
   13037         archive_cmds_CXX=''
   13038         hardcode_direct_CXX=yes
   13039         hardcode_direct_absolute_CXX=yes
   13040         hardcode_libdir_separator_CXX=':'
   13041         link_all_deplibs_CXX=yes
   13042         file_list_spec_CXX='${wl}-f,'
   13043 
   13044         if test "$GXX" = yes; then
   13045           case $host_os in aix4.[012]|aix4.[012].*)
   13046           # We only want to do this on AIX 4.2 and lower, the check
   13047           # below for broken collect2 doesn't work under 4.3+
   13048 	  collect2name=`${CC} -print-prog-name=collect2`
   13049 	  if test -f "$collect2name" &&
   13050 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13051 	  then
   13052 	    # We have reworked collect2
   13053 	    :
   13054 	  else
   13055 	    # We have old collect2
   13056 	    hardcode_direct_CXX=unsupported
   13057 	    # It fails to find uninstalled libraries when the uninstalled
   13058 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   13059 	    # to unsupported forces relinking
   13060 	    hardcode_minus_L_CXX=yes
   13061 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   13062 	    hardcode_libdir_separator_CXX=
   13063 	  fi
   13064           esac
   13065           shared_flag='-shared'
   13066 	  if test "$aix_use_runtimelinking" = yes; then
   13067 	    shared_flag="$shared_flag "'${wl}-G'
   13068 	  fi
   13069         else
   13070           # not using gcc
   13071           if test "$host_cpu" = ia64; then
   13072 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13073 	  # chokes on -Wl,-G. The following line is correct:
   13074 	  shared_flag='-G'
   13075           else
   13076 	    if test "$aix_use_runtimelinking" = yes; then
   13077 	      shared_flag='${wl}-G'
   13078 	    else
   13079 	      shared_flag='${wl}-bM:SRE'
   13080 	    fi
   13081           fi
   13082         fi
   13083 
   13084         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   13085         # It seems that -bexpall does not export symbols beginning with
   13086         # underscore (_), so it is better to generate a list of symbols to
   13087 	# export.
   13088         always_export_symbols_CXX=yes
   13089         if test "$aix_use_runtimelinking" = yes; then
   13090           # Warning - without using the other runtime loading flags (-brtl),
   13091           # -berok will link without error, but may produce a broken library.
   13092           allow_undefined_flag_CXX='-berok'
   13093           # Determine the default libpath from the value encoded in an empty
   13094           # executable.
   13095           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13096 /* end confdefs.h.  */
   13097 
   13098 int
   13099 main ()
   13100 {
   13101 
   13102   ;
   13103   return 0;
   13104 }
   13105 _ACEOF
   13106 if ac_fn_cxx_try_link "$LINENO"; then :
   13107 
   13108 lt_aix_libpath_sed='
   13109     /Import File Strings/,/^$/ {
   13110 	/^0/ {
   13111 	    s/^0  *\(.*\)$/\1/
   13112 	    p
   13113 	}
   13114     }'
   13115 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13116 # Check for a 64-bit object if we didn't find anything.
   13117 if test -z "$aix_libpath"; then
   13118   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13119 fi
   13120 fi
   13121 rm -f core conftest.err conftest.$ac_objext \
   13122     conftest$ac_exeext conftest.$ac_ext
   13123 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13124 
   13125           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13126 
   13127           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"
   13128         else
   13129           if test "$host_cpu" = ia64; then
   13130 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   13131 	    allow_undefined_flag_CXX="-z nodefs"
   13132 	    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"
   13133           else
   13134 	    # Determine the default libpath from the value encoded in an
   13135 	    # empty executable.
   13136 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13137 /* end confdefs.h.  */
   13138 
   13139 int
   13140 main ()
   13141 {
   13142 
   13143   ;
   13144   return 0;
   13145 }
   13146 _ACEOF
   13147 if ac_fn_cxx_try_link "$LINENO"; then :
   13148 
   13149 lt_aix_libpath_sed='
   13150     /Import File Strings/,/^$/ {
   13151 	/^0/ {
   13152 	    s/^0  *\(.*\)$/\1/
   13153 	    p
   13154 	}
   13155     }'
   13156 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13157 # Check for a 64-bit object if we didn't find anything.
   13158 if test -z "$aix_libpath"; then
   13159   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13160 fi
   13161 fi
   13162 rm -f core conftest.err conftest.$ac_objext \
   13163     conftest$ac_exeext conftest.$ac_ext
   13164 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13165 
   13166 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13167 	    # Warning - without using the other run time loading flags,
   13168 	    # -berok will link without error, but may produce a broken library.
   13169 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   13170 	    allow_undefined_flag_CXX=' ${wl}-berok'
   13171 	    if test "$with_gnu_ld" = yes; then
   13172 	      # We only use this code for GNU lds that support --whole-archive.
   13173 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13174 	    else
   13175 	      # Exported symbols can be pulled into shared objects from archives
   13176 	      whole_archive_flag_spec_CXX='$convenience'
   13177 	    fi
   13178 	    archive_cmds_need_lc_CXX=yes
   13179 	    # This is similar to how AIX traditionally builds its shared
   13180 	    # libraries.
   13181 	    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'
   13182           fi
   13183         fi
   13184         ;;
   13185 
   13186       beos*)
   13187 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13188 	  allow_undefined_flag_CXX=unsupported
   13189 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13190 	  # support --undefined.  This deserves some investigation.  FIXME
   13191 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13192 	else
   13193 	  ld_shlibs_CXX=no
   13194 	fi
   13195 	;;
   13196 
   13197       chorus*)
   13198         case $cc_basename in
   13199           *)
   13200 	  # FIXME: insert proper C++ library support
   13201 	  ld_shlibs_CXX=no
   13202 	  ;;
   13203         esac
   13204         ;;
   13205 
   13206       cygwin* | mingw* | pw32* | cegcc*)
   13207         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   13208         # as there is no search path for DLLs.
   13209         hardcode_libdir_flag_spec_CXX='-L$libdir'
   13210         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   13211         allow_undefined_flag_CXX=unsupported
   13212         always_export_symbols_CXX=no
   13213         enable_shared_with_static_runtimes_CXX=yes
   13214 
   13215         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13216           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'
   13217           # If the export-symbols file already is a .def file (1st line
   13218           # is EXPORTS), use it as is; otherwise, prepend...
   13219           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13220 	    cp $export_symbols $output_objdir/$soname.def;
   13221           else
   13222 	    echo EXPORTS > $output_objdir/$soname.def;
   13223 	    cat $export_symbols >> $output_objdir/$soname.def;
   13224           fi~
   13225           $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'
   13226         else
   13227           ld_shlibs_CXX=no
   13228         fi
   13229         ;;
   13230       darwin* | rhapsody*)
   13231 
   13232 
   13233   archive_cmds_need_lc_CXX=no
   13234   hardcode_direct_CXX=no
   13235   hardcode_automatic_CXX=yes
   13236   hardcode_shlibpath_var_CXX=unsupported
   13237   if test "$lt_cv_ld_force_load" = "yes"; then
   13238     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\"`'
   13239   else
   13240     whole_archive_flag_spec_CXX=''
   13241   fi
   13242   link_all_deplibs_CXX=yes
   13243   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13244   case $cc_basename in
   13245      ifort*) _lt_dar_can_shared=yes ;;
   13246      *) _lt_dar_can_shared=$GCC ;;
   13247   esac
   13248   if test "$_lt_dar_can_shared" = "yes"; then
   13249     output_verbose_link_cmd=func_echo_all
   13250     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}"
   13251     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13252     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}"
   13253     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}"
   13254        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13255       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}"
   13256       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}"
   13257     fi
   13258 
   13259   else
   13260   ld_shlibs_CXX=no
   13261   fi
   13262 
   13263 	;;
   13264 
   13265       dgux*)
   13266         case $cc_basename in
   13267           ec++*)
   13268 	    # FIXME: insert proper C++ library support
   13269 	    ld_shlibs_CXX=no
   13270 	    ;;
   13271           ghcx*)
   13272 	    # Green Hills C++ Compiler
   13273 	    # FIXME: insert proper C++ library support
   13274 	    ld_shlibs_CXX=no
   13275 	    ;;
   13276           *)
   13277 	    # FIXME: insert proper C++ library support
   13278 	    ld_shlibs_CXX=no
   13279 	    ;;
   13280         esac
   13281         ;;
   13282 
   13283       freebsd2.*)
   13284         # C++ shared libraries reported to be fairly broken before
   13285 	# switch to ELF
   13286         ld_shlibs_CXX=no
   13287         ;;
   13288 
   13289       freebsd-elf*)
   13290         archive_cmds_need_lc_CXX=no
   13291         ;;
   13292 
   13293       freebsd* | dragonfly*)
   13294         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13295         # conventions
   13296         ld_shlibs_CXX=yes
   13297         ;;
   13298 
   13299       gnu*)
   13300         ;;
   13301 
   13302       haiku*)
   13303         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13304         link_all_deplibs_CXX=yes
   13305         ;;
   13306 
   13307       hpux9*)
   13308         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13309         hardcode_libdir_separator_CXX=:
   13310         export_dynamic_flag_spec_CXX='${wl}-E'
   13311         hardcode_direct_CXX=yes
   13312         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13313 				             # but as the default
   13314 				             # location of the library.
   13315 
   13316         case $cc_basename in
   13317           CC*)
   13318             # FIXME: insert proper C++ library support
   13319             ld_shlibs_CXX=no
   13320             ;;
   13321           aCC*)
   13322             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'
   13323             # Commands to make compiler produce verbose output that lists
   13324             # what "hidden" libraries, object files and flags are used when
   13325             # linking a shared library.
   13326             #
   13327             # There doesn't appear to be a way to prevent this compiler from
   13328             # explicitly linking system object files so we need to strip them
   13329             # from the output so that they don't get included in the library
   13330             # dependencies.
   13331             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"'
   13332             ;;
   13333           *)
   13334             if test "$GXX" = yes; then
   13335               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'
   13336             else
   13337               # FIXME: insert proper C++ library support
   13338               ld_shlibs_CXX=no
   13339             fi
   13340             ;;
   13341         esac
   13342         ;;
   13343 
   13344       hpux10*|hpux11*)
   13345         if test $with_gnu_ld = no; then
   13346 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13347 	  hardcode_libdir_separator_CXX=:
   13348 
   13349           case $host_cpu in
   13350             hppa*64*|ia64*)
   13351               ;;
   13352             *)
   13353 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13354               ;;
   13355           esac
   13356         fi
   13357         case $host_cpu in
   13358           hppa*64*|ia64*)
   13359             hardcode_direct_CXX=no
   13360             hardcode_shlibpath_var_CXX=no
   13361             ;;
   13362           *)
   13363             hardcode_direct_CXX=yes
   13364             hardcode_direct_absolute_CXX=yes
   13365             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13366 					         # but as the default
   13367 					         # location of the library.
   13368             ;;
   13369         esac
   13370 
   13371         case $cc_basename in
   13372           CC*)
   13373 	    # FIXME: insert proper C++ library support
   13374 	    ld_shlibs_CXX=no
   13375 	    ;;
   13376           aCC*)
   13377 	    case $host_cpu in
   13378 	      hppa*64*)
   13379 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13380 	        ;;
   13381 	      ia64*)
   13382 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13383 	        ;;
   13384 	      *)
   13385 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13386 	        ;;
   13387 	    esac
   13388 	    # Commands to make compiler produce verbose output that lists
   13389 	    # what "hidden" libraries, object files and flags are used when
   13390 	    # linking a shared library.
   13391 	    #
   13392 	    # There doesn't appear to be a way to prevent this compiler from
   13393 	    # explicitly linking system object files so we need to strip them
   13394 	    # from the output so that they don't get included in the library
   13395 	    # dependencies.
   13396 	    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"'
   13397 	    ;;
   13398           *)
   13399 	    if test "$GXX" = yes; then
   13400 	      if test $with_gnu_ld = no; then
   13401 	        case $host_cpu in
   13402 	          hppa*64*)
   13403 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13404 	            ;;
   13405 	          ia64*)
   13406 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13407 	            ;;
   13408 	          *)
   13409 	            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'
   13410 	            ;;
   13411 	        esac
   13412 	      fi
   13413 	    else
   13414 	      # FIXME: insert proper C++ library support
   13415 	      ld_shlibs_CXX=no
   13416 	    fi
   13417 	    ;;
   13418         esac
   13419         ;;
   13420 
   13421       interix[3-9]*)
   13422 	hardcode_direct_CXX=no
   13423 	hardcode_shlibpath_var_CXX=no
   13424 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13425 	export_dynamic_flag_spec_CXX='${wl}-E'
   13426 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13427 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13428 	# default) and relocated if they conflict, which is a slow very memory
   13429 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13430 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13431 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13432 	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'
   13433 	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'
   13434 	;;
   13435       irix5* | irix6*)
   13436         case $cc_basename in
   13437           CC*)
   13438 	    # SGI C++
   13439 	    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'
   13440 
   13441 	    # Archives containing C++ object files must be created using
   13442 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13443 	    # necessary to make sure instantiated templates are included
   13444 	    # in the archive.
   13445 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13446 	    ;;
   13447           *)
   13448 	    if test "$GXX" = yes; then
   13449 	      if test "$with_gnu_ld" = no; then
   13450 	        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'
   13451 	      else
   13452 	        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'
   13453 	      fi
   13454 	    fi
   13455 	    link_all_deplibs_CXX=yes
   13456 	    ;;
   13457         esac
   13458         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13459         hardcode_libdir_separator_CXX=:
   13460         inherit_rpath_CXX=yes
   13461         ;;
   13462 
   13463       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13464         case $cc_basename in
   13465           KCC*)
   13466 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13467 
   13468 	    # KCC will only create a shared library if the output file
   13469 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13470 	    # to its proper name (with version) after linking.
   13471 	    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'
   13472 	    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'
   13473 	    # Commands to make compiler produce verbose output that lists
   13474 	    # what "hidden" libraries, object files and flags are used when
   13475 	    # linking a shared library.
   13476 	    #
   13477 	    # There doesn't appear to be a way to prevent this compiler from
   13478 	    # explicitly linking system object files so we need to strip them
   13479 	    # from the output so that they don't get included in the library
   13480 	    # dependencies.
   13481 	    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"'
   13482 
   13483 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13484 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13485 
   13486 	    # Archives containing C++ object files must be created using
   13487 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13488 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13489 	    ;;
   13490 	  icpc* | ecpc* )
   13491 	    # Intel C++
   13492 	    with_gnu_ld=yes
   13493 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13494 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13495 	    # earlier do not add the objects themselves.
   13496 	    case `$CC -V 2>&1` in
   13497 	      *"Version 7."*)
   13498 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13499 		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'
   13500 		;;
   13501 	      *)  # Version 8.0 or newer
   13502 	        tmp_idyn=
   13503 	        case $host_cpu in
   13504 		  ia64*) tmp_idyn=' -i_dynamic';;
   13505 		esac
   13506 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13507 		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'
   13508 		;;
   13509 	    esac
   13510 	    archive_cmds_need_lc_CXX=no
   13511 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13512 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13513 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13514 	    ;;
   13515           pgCC* | pgcpp*)
   13516             # Portland Group C++ compiler
   13517 	    case `$CC -V` in
   13518 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13519 	      prelink_cmds_CXX='tpldir=Template.dir~
   13520 		rm -rf $tpldir~
   13521 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13522 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   13523 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13524 		rm -rf $tpldir~
   13525 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13526 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   13527 		$RANLIB $oldlib'
   13528 	      archive_cmds_CXX='tpldir=Template.dir~
   13529 		rm -rf $tpldir~
   13530 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13531 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13532 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13533 		rm -rf $tpldir~
   13534 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13535 		$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'
   13536 	      ;;
   13537 	    *) # Version 6 and above use weak symbols
   13538 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13539 	      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'
   13540 	      ;;
   13541 	    esac
   13542 
   13543 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13544 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13545 	    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'
   13546             ;;
   13547 	  cxx*)
   13548 	    # Compaq C++
   13549 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13550 	    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'
   13551 
   13552 	    runpath_var=LD_RUN_PATH
   13553 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13554 	    hardcode_libdir_separator_CXX=:
   13555 
   13556 	    # Commands to make compiler produce verbose output that lists
   13557 	    # what "hidden" libraries, object files and flags are used when
   13558 	    # linking a shared library.
   13559 	    #
   13560 	    # There doesn't appear to be a way to prevent this compiler from
   13561 	    # explicitly linking system object files so we need to strip them
   13562 	    # from the output so that they don't get included in the library
   13563 	    # dependencies.
   13564 	    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'
   13565 	    ;;
   13566 	  xl* | mpixl* | bgxl*)
   13567 	    # IBM XL 8.0 on PPC, with GNU ld
   13568 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13569 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13570 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13571 	    if test "x$supports_anon_versioning" = xyes; then
   13572 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13573 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13574 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13575 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13576 	    fi
   13577 	    ;;
   13578 	  *)
   13579 	    case `$CC -V 2>&1 | sed 5q` in
   13580 	    *Sun\ C*)
   13581 	      # Sun C++ 5.9
   13582 	      no_undefined_flag_CXX=' -zdefs'
   13583 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13584 	      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'
   13585 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13586 	      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'
   13587 	      compiler_needs_object_CXX=yes
   13588 
   13589 	      # Not sure whether something based on
   13590 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13591 	      # would be better.
   13592 	      output_verbose_link_cmd='func_echo_all'
   13593 
   13594 	      # Archives containing C++ object files must be created using
   13595 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13596 	      # necessary to make sure instantiated templates are included
   13597 	      # in the archive.
   13598 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13599 	      ;;
   13600 	    esac
   13601 	    ;;
   13602 	esac
   13603 	;;
   13604 
   13605       lynxos*)
   13606         # FIXME: insert proper C++ library support
   13607 	ld_shlibs_CXX=no
   13608 	;;
   13609 
   13610       m88k*)
   13611         # FIXME: insert proper C++ library support
   13612         ld_shlibs_CXX=no
   13613 	;;
   13614 
   13615       mvs*)
   13616         case $cc_basename in
   13617           cxx*)
   13618 	    # FIXME: insert proper C++ library support
   13619 	    ld_shlibs_CXX=no
   13620 	    ;;
   13621 	  *)
   13622 	    # FIXME: insert proper C++ library support
   13623 	    ld_shlibs_CXX=no
   13624 	    ;;
   13625 	esac
   13626 	;;
   13627 
   13628       netbsd*)
   13629         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13630 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   13631 	  wlarc=
   13632 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   13633 	  hardcode_direct_CXX=yes
   13634 	  hardcode_shlibpath_var_CXX=no
   13635 	fi
   13636 	# Workaround some broken pre-1.5 toolchains
   13637 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   13638 	;;
   13639 
   13640       *nto* | *qnx*)
   13641         ld_shlibs_CXX=yes
   13642 	;;
   13643 
   13644       openbsd2*)
   13645         # C++ shared libraries are fairly broken
   13646 	ld_shlibs_CXX=no
   13647 	;;
   13648 
   13649       openbsd*)
   13650 	if test -f /usr/libexec/ld.so; then
   13651 	  hardcode_direct_CXX=yes
   13652 	  hardcode_shlibpath_var_CXX=no
   13653 	  hardcode_direct_absolute_CXX=yes
   13654 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13655 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13656 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13657 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   13658 	    export_dynamic_flag_spec_CXX='${wl}-E'
   13659 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13660 	  fi
   13661 	  output_verbose_link_cmd=func_echo_all
   13662 	else
   13663 	  ld_shlibs_CXX=no
   13664 	fi
   13665 	;;
   13666 
   13667       osf3* | osf4* | osf5*)
   13668         case $cc_basename in
   13669           KCC*)
   13670 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13671 
   13672 	    # KCC will only create a shared library if the output file
   13673 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13674 	    # to its proper name (with version) after linking.
   13675 	    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'
   13676 
   13677 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13678 	    hardcode_libdir_separator_CXX=:
   13679 
   13680 	    # Archives containing C++ object files must be created using
   13681 	    # the KAI C++ compiler.
   13682 	    case $host in
   13683 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   13684 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   13685 	    esac
   13686 	    ;;
   13687           RCC*)
   13688 	    # Rational C++ 2.4.1
   13689 	    # FIXME: insert proper C++ library support
   13690 	    ld_shlibs_CXX=no
   13691 	    ;;
   13692           cxx*)
   13693 	    case $host in
   13694 	      osf3*)
   13695 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13696 	        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'
   13697 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13698 		;;
   13699 	      *)
   13700 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   13701 	        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'
   13702 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   13703 	          echo "-hidden">> $lib.exp~
   13704 	          $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~
   13705 	          $RM $lib.exp'
   13706 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13707 		;;
   13708 	    esac
   13709 
   13710 	    hardcode_libdir_separator_CXX=:
   13711 
   13712 	    # Commands to make compiler produce verbose output that lists
   13713 	    # what "hidden" libraries, object files and flags are used when
   13714 	    # linking a shared library.
   13715 	    #
   13716 	    # There doesn't appear to be a way to prevent this compiler from
   13717 	    # explicitly linking system object files so we need to strip them
   13718 	    # from the output so that they don't get included in the library
   13719 	    # dependencies.
   13720 	    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"'
   13721 	    ;;
   13722 	  *)
   13723 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13724 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13725 	      case $host in
   13726 	        osf3*)
   13727 	          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'
   13728 		  ;;
   13729 	        *)
   13730 	          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'
   13731 		  ;;
   13732 	      esac
   13733 
   13734 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13735 	      hardcode_libdir_separator_CXX=:
   13736 
   13737 	      # Commands to make compiler produce verbose output that lists
   13738 	      # what "hidden" libraries, object files and flags are used when
   13739 	      # linking a shared library.
   13740 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13741 
   13742 	    else
   13743 	      # FIXME: insert proper C++ library support
   13744 	      ld_shlibs_CXX=no
   13745 	    fi
   13746 	    ;;
   13747         esac
   13748         ;;
   13749 
   13750       psos*)
   13751         # FIXME: insert proper C++ library support
   13752         ld_shlibs_CXX=no
   13753         ;;
   13754 
   13755       sunos4*)
   13756         case $cc_basename in
   13757           CC*)
   13758 	    # Sun C++ 4.x
   13759 	    # FIXME: insert proper C++ library support
   13760 	    ld_shlibs_CXX=no
   13761 	    ;;
   13762           lcc*)
   13763 	    # Lucid
   13764 	    # FIXME: insert proper C++ library support
   13765 	    ld_shlibs_CXX=no
   13766 	    ;;
   13767           *)
   13768 	    # FIXME: insert proper C++ library support
   13769 	    ld_shlibs_CXX=no
   13770 	    ;;
   13771         esac
   13772         ;;
   13773 
   13774       solaris*)
   13775         case $cc_basename in
   13776           CC*)
   13777 	    # Sun C++ 4.2, 5.x and Centerline C++
   13778             archive_cmds_need_lc_CXX=yes
   13779 	    no_undefined_flag_CXX=' -zdefs'
   13780 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13781 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13782 	      $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'
   13783 
   13784 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13785 	    hardcode_shlibpath_var_CXX=no
   13786 	    case $host_os in
   13787 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13788 	      *)
   13789 		# The compiler driver will combine and reorder linker options,
   13790 		# but understands `-z linker_flag'.
   13791 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13792 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13793 	        ;;
   13794 	    esac
   13795 	    link_all_deplibs_CXX=yes
   13796 
   13797 	    output_verbose_link_cmd='func_echo_all'
   13798 
   13799 	    # Archives containing C++ object files must be created using
   13800 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13801 	    # necessary to make sure instantiated templates are included
   13802 	    # in the archive.
   13803 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13804 	    ;;
   13805           gcx*)
   13806 	    # Green Hills C++ Compiler
   13807 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13808 
   13809 	    # The C++ compiler must be used to create the archive.
   13810 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13811 	    ;;
   13812           *)
   13813 	    # GNU C++ compiler with Solaris linker
   13814 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13815 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13816 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13817 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13818 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13819 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13820 
   13821 	        # Commands to make compiler produce verbose output that lists
   13822 	        # what "hidden" libraries, object files and flags are used when
   13823 	        # linking a shared library.
   13824 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13825 	      else
   13826 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13827 	        # platform.
   13828 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13829 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13830 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13831 
   13832 	        # Commands to make compiler produce verbose output that lists
   13833 	        # what "hidden" libraries, object files and flags are used when
   13834 	        # linking a shared library.
   13835 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13836 	      fi
   13837 
   13838 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13839 	      case $host_os in
   13840 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13841 		*)
   13842 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13843 		  ;;
   13844 	      esac
   13845 	    fi
   13846 	    ;;
   13847         esac
   13848         ;;
   13849 
   13850     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13851       no_undefined_flag_CXX='${wl}-z,text'
   13852       archive_cmds_need_lc_CXX=no
   13853       hardcode_shlibpath_var_CXX=no
   13854       runpath_var='LD_RUN_PATH'
   13855 
   13856       case $cc_basename in
   13857         CC*)
   13858 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13859 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13860 	  ;;
   13861 	*)
   13862 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13863 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13864 	  ;;
   13865       esac
   13866       ;;
   13867 
   13868       sysv5* | sco3.2v5* | sco5v6*)
   13869 	# Note: We can NOT use -z defs as we might desire, because we do not
   13870 	# link with -lc, and that would cause any symbols used from libc to
   13871 	# always be unresolved, which means just about no library would
   13872 	# ever link correctly.  If we're not using GNU ld we use -z text
   13873 	# though, which does catch some bad symbols but isn't as heavy-handed
   13874 	# as -z defs.
   13875 	no_undefined_flag_CXX='${wl}-z,text'
   13876 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13877 	archive_cmds_need_lc_CXX=no
   13878 	hardcode_shlibpath_var_CXX=no
   13879 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13880 	hardcode_libdir_separator_CXX=':'
   13881 	link_all_deplibs_CXX=yes
   13882 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13883 	runpath_var='LD_RUN_PATH'
   13884 
   13885 	case $cc_basename in
   13886           CC*)
   13887 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13888 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13889 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   13890 	      '"$old_archive_cmds_CXX"
   13891 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   13892 	      '"$reload_cmds_CXX"
   13893 	    ;;
   13894 	  *)
   13895 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13896 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13897 	    ;;
   13898 	esac
   13899       ;;
   13900 
   13901       tandem*)
   13902         case $cc_basename in
   13903           NCC*)
   13904 	    # NonStop-UX NCC 3.20
   13905 	    # FIXME: insert proper C++ library support
   13906 	    ld_shlibs_CXX=no
   13907 	    ;;
   13908           *)
   13909 	    # FIXME: insert proper C++ library support
   13910 	    ld_shlibs_CXX=no
   13911 	    ;;
   13912         esac
   13913         ;;
   13914 
   13915       vxworks*)
   13916         # For VxWorks ports, we assume the use of a GNU linker with
   13917         # standard elf conventions.
   13918         ld_shlibs_CXX=yes
   13919         ;;
   13920 
   13921       *)
   13922         # FIXME: insert proper C++ library support
   13923         ld_shlibs_CXX=no
   13924         ;;
   13925     esac
   13926 
   13927     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13928 $as_echo "$ld_shlibs_CXX" >&6; }
   13929     test "$ld_shlibs_CXX" = no && can_build_shared=no
   13930 
   13931     GCC_CXX="$GXX"
   13932     LD_CXX="$LD"
   13933 
   13934     ## CAVEAT EMPTOR:
   13935     ## There is no encapsulation within the following macros, do not change
   13936     ## the running order or otherwise move them around unless you know exactly
   13937     ## what you are doing...
   13938     # Dependencies to place before and after the object being linked:
   13939 predep_objects_CXX=
   13940 postdep_objects_CXX=
   13941 predeps_CXX=
   13942 postdeps_CXX=
   13943 compiler_lib_search_path_CXX=
   13944 
   13945 cat > conftest.$ac_ext <<_LT_EOF
   13946 class Foo
   13947 {
   13948 public:
   13949   Foo (void) { a = 0; }
   13950 private:
   13951   int a;
   13952 };
   13953 _LT_EOF
   13954 
   13955 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13956   (eval $ac_compile) 2>&5
   13957   ac_status=$?
   13958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13959   test $ac_status = 0; }; then
   13960   # Parse the compiler output and extract the necessary
   13961   # objects, libraries and library flags.
   13962 
   13963   # Sentinel used to keep track of whether or not we are before
   13964   # the conftest object file.
   13965   pre_test_object_deps_done=no
   13966 
   13967   for p in `eval "$output_verbose_link_cmd"`; do
   13968     case $p in
   13969 
   13970     -L* | -R* | -l*)
   13971        # Some compilers place space between "-{L,R}" and the path.
   13972        # Remove the space.
   13973        if test $p = "-L" ||
   13974           test $p = "-R"; then
   13975 	 prev=$p
   13976 	 continue
   13977        else
   13978 	 prev=
   13979        fi
   13980 
   13981        if test "$pre_test_object_deps_done" = no; then
   13982 	 case $p in
   13983 	 -L* | -R*)
   13984 	   # Internal compiler library paths should come after those
   13985 	   # provided the user.  The postdeps already come after the
   13986 	   # user supplied libs so there is no need to process them.
   13987 	   if test -z "$compiler_lib_search_path_CXX"; then
   13988 	     compiler_lib_search_path_CXX="${prev}${p}"
   13989 	   else
   13990 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   13991 	   fi
   13992 	   ;;
   13993 	 # The "-l" case would never come before the object being
   13994 	 # linked, so don't bother handling this case.
   13995 	 esac
   13996        else
   13997 	 if test -z "$postdeps_CXX"; then
   13998 	   postdeps_CXX="${prev}${p}"
   13999 	 else
   14000 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   14001 	 fi
   14002        fi
   14003        ;;
   14004 
   14005     *.$objext)
   14006        # This assumes that the test object file only shows up
   14007        # once in the compiler output.
   14008        if test "$p" = "conftest.$objext"; then
   14009 	 pre_test_object_deps_done=yes
   14010 	 continue
   14011        fi
   14012 
   14013        if test "$pre_test_object_deps_done" = no; then
   14014 	 if test -z "$predep_objects_CXX"; then
   14015 	   predep_objects_CXX="$p"
   14016 	 else
   14017 	   predep_objects_CXX="$predep_objects_CXX $p"
   14018 	 fi
   14019        else
   14020 	 if test -z "$postdep_objects_CXX"; then
   14021 	   postdep_objects_CXX="$p"
   14022 	 else
   14023 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   14024 	 fi
   14025        fi
   14026        ;;
   14027 
   14028     *) ;; # Ignore the rest.
   14029 
   14030     esac
   14031   done
   14032 
   14033   # Clean up.
   14034   rm -f a.out a.exe
   14035 else
   14036   echo "libtool.m4: error: problem compiling CXX test program"
   14037 fi
   14038 
   14039 $RM -f confest.$objext
   14040 
   14041 # PORTME: override above test on systems where it is broken
   14042 case $host_os in
   14043 interix[3-9]*)
   14044   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   14045   # hack all around it, let's just trust "g++" to DTRT.
   14046   predep_objects_CXX=
   14047   postdep_objects_CXX=
   14048   postdeps_CXX=
   14049   ;;
   14050 
   14051 linux*)
   14052   case `$CC -V 2>&1 | sed 5q` in
   14053   *Sun\ C*)
   14054     # Sun C++ 5.9
   14055 
   14056     # The more standards-conforming stlport4 library is
   14057     # incompatible with the Cstd library. Avoid specifying
   14058     # it if it's in CXXFLAGS. Ignore libCrun as
   14059     # -library=stlport4 depends on it.
   14060     case " $CXX $CXXFLAGS " in
   14061     *" -library=stlport4 "*)
   14062       solaris_use_stlport4=yes
   14063       ;;
   14064     esac
   14065 
   14066     if test "$solaris_use_stlport4" != yes; then
   14067       postdeps_CXX='-library=Cstd -library=Crun'
   14068     fi
   14069     ;;
   14070   esac
   14071   ;;
   14072 
   14073 solaris*)
   14074   case $cc_basename in
   14075   CC*)
   14076     # The more standards-conforming stlport4 library is
   14077     # incompatible with the Cstd library. Avoid specifying
   14078     # it if it's in CXXFLAGS. Ignore libCrun as
   14079     # -library=stlport4 depends on it.
   14080     case " $CXX $CXXFLAGS " in
   14081     *" -library=stlport4 "*)
   14082       solaris_use_stlport4=yes
   14083       ;;
   14084     esac
   14085 
   14086     # Adding this requires a known-good setup of shared libraries for
   14087     # Sun compiler versions before 5.6, else PIC objects from an old
   14088     # archive will be linked into the output, leading to subtle bugs.
   14089     if test "$solaris_use_stlport4" != yes; then
   14090       postdeps_CXX='-library=Cstd -library=Crun'
   14091     fi
   14092     ;;
   14093   esac
   14094   ;;
   14095 esac
   14096 
   14097 
   14098 case " $postdeps_CXX " in
   14099 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   14100 esac
   14101  compiler_lib_search_dirs_CXX=
   14102 if test -n "${compiler_lib_search_path_CXX}"; then
   14103  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   14104 fi
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136     lt_prog_compiler_wl_CXX=
   14137 lt_prog_compiler_pic_CXX=
   14138 lt_prog_compiler_static_CXX=
   14139 
   14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14141 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14142 
   14143   # C++ specific cases for pic, static, wl, etc.
   14144   if test "$GXX" = yes; then
   14145     lt_prog_compiler_wl_CXX='-Wl,'
   14146     lt_prog_compiler_static_CXX='-static'
   14147 
   14148     case $host_os in
   14149     aix*)
   14150       # All AIX code is PIC.
   14151       if test "$host_cpu" = ia64; then
   14152 	# AIX 5 now supports IA64 processor
   14153 	lt_prog_compiler_static_CXX='-Bstatic'
   14154       fi
   14155       lt_prog_compiler_pic_CXX='-fPIC'
   14156       ;;
   14157 
   14158     amigaos*)
   14159       case $host_cpu in
   14160       powerpc)
   14161             # see comment about AmigaOS4 .so support
   14162             lt_prog_compiler_pic_CXX='-fPIC'
   14163         ;;
   14164       m68k)
   14165             # FIXME: we need at least 68020 code to build shared libraries, but
   14166             # adding the `-m68020' flag to GCC prevents building anything better,
   14167             # like `-m68040'.
   14168             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   14169         ;;
   14170       esac
   14171       ;;
   14172 
   14173     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14174       # PIC is the default for these OSes.
   14175       ;;
   14176     mingw* | cygwin* | os2* | pw32* | cegcc*)
   14177       # This hack is so that the source file can tell whether it is being
   14178       # built for inclusion in a dll (and should export symbols for example).
   14179       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14180       # (--disable-auto-import) libraries
   14181       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14182       ;;
   14183     darwin* | rhapsody*)
   14184       # PIC is the default on this platform
   14185       # Common symbols not allowed in MH_DYLIB files
   14186       lt_prog_compiler_pic_CXX='-fno-common'
   14187       ;;
   14188     *djgpp*)
   14189       # DJGPP does not support shared libraries at all
   14190       lt_prog_compiler_pic_CXX=
   14191       ;;
   14192     haiku*)
   14193       # PIC is the default for Haiku.
   14194       # The "-static" flag exists, but is broken.
   14195       lt_prog_compiler_static_CXX=
   14196       ;;
   14197     interix[3-9]*)
   14198       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14199       # Instead, we relocate shared libraries at runtime.
   14200       ;;
   14201     sysv4*MP*)
   14202       if test -d /usr/nec; then
   14203 	lt_prog_compiler_pic_CXX=-Kconform_pic
   14204       fi
   14205       ;;
   14206     hpux*)
   14207       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14208       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14209       # sets the default TLS model and affects inlining.
   14210       case $host_cpu in
   14211       hppa*64*)
   14212 	;;
   14213       *)
   14214 	lt_prog_compiler_pic_CXX='-fPIC'
   14215 	;;
   14216       esac
   14217       ;;
   14218     *qnx* | *nto*)
   14219       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14220       # it will coredump.
   14221       lt_prog_compiler_pic_CXX='-fPIC -shared'
   14222       ;;
   14223     *)
   14224       lt_prog_compiler_pic_CXX='-fPIC'
   14225       ;;
   14226     esac
   14227   else
   14228     case $host_os in
   14229       aix[4-9]*)
   14230 	# All AIX code is PIC.
   14231 	if test "$host_cpu" = ia64; then
   14232 	  # AIX 5 now supports IA64 processor
   14233 	  lt_prog_compiler_static_CXX='-Bstatic'
   14234 	else
   14235 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14236 	fi
   14237 	;;
   14238       chorus*)
   14239 	case $cc_basename in
   14240 	cxch68*)
   14241 	  # Green Hills C++ Compiler
   14242 	  # _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"
   14243 	  ;;
   14244 	esac
   14245 	;;
   14246       dgux*)
   14247 	case $cc_basename in
   14248 	  ec++*)
   14249 	    lt_prog_compiler_pic_CXX='-KPIC'
   14250 	    ;;
   14251 	  ghcx*)
   14252 	    # Green Hills C++ Compiler
   14253 	    lt_prog_compiler_pic_CXX='-pic'
   14254 	    ;;
   14255 	  *)
   14256 	    ;;
   14257 	esac
   14258 	;;
   14259       freebsd* | dragonfly*)
   14260 	# FreeBSD uses GNU C++
   14261 	;;
   14262       hpux9* | hpux10* | hpux11*)
   14263 	case $cc_basename in
   14264 	  CC*)
   14265 	    lt_prog_compiler_wl_CXX='-Wl,'
   14266 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14267 	    if test "$host_cpu" != ia64; then
   14268 	      lt_prog_compiler_pic_CXX='+Z'
   14269 	    fi
   14270 	    ;;
   14271 	  aCC*)
   14272 	    lt_prog_compiler_wl_CXX='-Wl,'
   14273 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14274 	    case $host_cpu in
   14275 	    hppa*64*|ia64*)
   14276 	      # +Z the default
   14277 	      ;;
   14278 	    *)
   14279 	      lt_prog_compiler_pic_CXX='+Z'
   14280 	      ;;
   14281 	    esac
   14282 	    ;;
   14283 	  *)
   14284 	    ;;
   14285 	esac
   14286 	;;
   14287       interix*)
   14288 	# This is c89, which is MS Visual C++ (no shared libs)
   14289 	# Anyone wants to do a port?
   14290 	;;
   14291       irix5* | irix6* | nonstopux*)
   14292 	case $cc_basename in
   14293 	  CC*)
   14294 	    lt_prog_compiler_wl_CXX='-Wl,'
   14295 	    lt_prog_compiler_static_CXX='-non_shared'
   14296 	    # CC pic flag -KPIC is the default.
   14297 	    ;;
   14298 	  *)
   14299 	    ;;
   14300 	esac
   14301 	;;
   14302       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14303 	case $cc_basename in
   14304 	  KCC*)
   14305 	    # KAI C++ Compiler
   14306 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14307 	    lt_prog_compiler_pic_CXX='-fPIC'
   14308 	    ;;
   14309 	  ecpc* )
   14310 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14311 	    lt_prog_compiler_wl_CXX='-Wl,'
   14312 	    lt_prog_compiler_pic_CXX='-KPIC'
   14313 	    lt_prog_compiler_static_CXX='-static'
   14314 	    ;;
   14315 	  icpc* )
   14316 	    # Intel C++, used to be incompatible with GCC.
   14317 	    # ICC 10 doesn't accept -KPIC any more.
   14318 	    lt_prog_compiler_wl_CXX='-Wl,'
   14319 	    lt_prog_compiler_pic_CXX='-fPIC'
   14320 	    lt_prog_compiler_static_CXX='-static'
   14321 	    ;;
   14322 	  pgCC* | pgcpp*)
   14323 	    # Portland Group C++ compiler
   14324 	    lt_prog_compiler_wl_CXX='-Wl,'
   14325 	    lt_prog_compiler_pic_CXX='-fpic'
   14326 	    lt_prog_compiler_static_CXX='-Bstatic'
   14327 	    ;;
   14328 	  cxx*)
   14329 	    # Compaq C++
   14330 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14331 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14332 	    lt_prog_compiler_pic_CXX=
   14333 	    lt_prog_compiler_static_CXX='-non_shared'
   14334 	    ;;
   14335 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14336 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14337 	    lt_prog_compiler_wl_CXX='-Wl,'
   14338 	    lt_prog_compiler_pic_CXX='-qpic'
   14339 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14340 	    ;;
   14341 	  *)
   14342 	    case `$CC -V 2>&1 | sed 5q` in
   14343 	    *Sun\ C*)
   14344 	      # Sun C++ 5.9
   14345 	      lt_prog_compiler_pic_CXX='-KPIC'
   14346 	      lt_prog_compiler_static_CXX='-Bstatic'
   14347 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14348 	      ;;
   14349 	    esac
   14350 	    ;;
   14351 	esac
   14352 	;;
   14353       lynxos*)
   14354 	;;
   14355       m88k*)
   14356 	;;
   14357       mvs*)
   14358 	case $cc_basename in
   14359 	  cxx*)
   14360 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14361 	    ;;
   14362 	  *)
   14363 	    ;;
   14364 	esac
   14365 	;;
   14366       netbsd*)
   14367 	;;
   14368       *qnx* | *nto*)
   14369         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14370         # it will coredump.
   14371         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14372         ;;
   14373       osf3* | osf4* | osf5*)
   14374 	case $cc_basename in
   14375 	  KCC*)
   14376 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14377 	    ;;
   14378 	  RCC*)
   14379 	    # Rational C++ 2.4.1
   14380 	    lt_prog_compiler_pic_CXX='-pic'
   14381 	    ;;
   14382 	  cxx*)
   14383 	    # Digital/Compaq C++
   14384 	    lt_prog_compiler_wl_CXX='-Wl,'
   14385 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14386 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14387 	    lt_prog_compiler_pic_CXX=
   14388 	    lt_prog_compiler_static_CXX='-non_shared'
   14389 	    ;;
   14390 	  *)
   14391 	    ;;
   14392 	esac
   14393 	;;
   14394       psos*)
   14395 	;;
   14396       solaris*)
   14397 	case $cc_basename in
   14398 	  CC*)
   14399 	    # Sun C++ 4.2, 5.x and Centerline C++
   14400 	    lt_prog_compiler_pic_CXX='-KPIC'
   14401 	    lt_prog_compiler_static_CXX='-Bstatic'
   14402 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14403 	    ;;
   14404 	  gcx*)
   14405 	    # Green Hills C++ Compiler
   14406 	    lt_prog_compiler_pic_CXX='-PIC'
   14407 	    ;;
   14408 	  *)
   14409 	    ;;
   14410 	esac
   14411 	;;
   14412       sunos4*)
   14413 	case $cc_basename in
   14414 	  CC*)
   14415 	    # Sun C++ 4.x
   14416 	    lt_prog_compiler_pic_CXX='-pic'
   14417 	    lt_prog_compiler_static_CXX='-Bstatic'
   14418 	    ;;
   14419 	  lcc*)
   14420 	    # Lucid
   14421 	    lt_prog_compiler_pic_CXX='-pic'
   14422 	    ;;
   14423 	  *)
   14424 	    ;;
   14425 	esac
   14426 	;;
   14427       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14428 	case $cc_basename in
   14429 	  CC*)
   14430 	    lt_prog_compiler_wl_CXX='-Wl,'
   14431 	    lt_prog_compiler_pic_CXX='-KPIC'
   14432 	    lt_prog_compiler_static_CXX='-Bstatic'
   14433 	    ;;
   14434 	esac
   14435 	;;
   14436       tandem*)
   14437 	case $cc_basename in
   14438 	  NCC*)
   14439 	    # NonStop-UX NCC 3.20
   14440 	    lt_prog_compiler_pic_CXX='-KPIC'
   14441 	    ;;
   14442 	  *)
   14443 	    ;;
   14444 	esac
   14445 	;;
   14446       vxworks*)
   14447 	;;
   14448       *)
   14449 	lt_prog_compiler_can_build_shared_CXX=no
   14450 	;;
   14451     esac
   14452   fi
   14453 
   14454 case $host_os in
   14455   # For platforms which do not support PIC, -DPIC is meaningless:
   14456   *djgpp*)
   14457     lt_prog_compiler_pic_CXX=
   14458     ;;
   14459   *)
   14460     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14461     ;;
   14462 esac
   14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   14464 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   14465 
   14466 
   14467 
   14468 #
   14469 # Check to make sure the PIC flag actually works.
   14470 #
   14471 if test -n "$lt_prog_compiler_pic_CXX"; then
   14472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14473 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14474 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   14475   $as_echo_n "(cached) " >&6
   14476 else
   14477   lt_cv_prog_compiler_pic_works_CXX=no
   14478    ac_outfile=conftest.$ac_objext
   14479    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14480    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14481    # Insert the option either (1) after the last *FLAGS variable, or
   14482    # (2) before a word containing "conftest.", or (3) at the end.
   14483    # Note that $ac_compile itself does not contain backslashes and begins
   14484    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14485    # The option is referenced via a variable to avoid confusing sed.
   14486    lt_compile=`echo "$ac_compile" | $SED \
   14487    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14488    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14489    -e 's:$: $lt_compiler_flag:'`
   14490    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14491    (eval "$lt_compile" 2>conftest.err)
   14492    ac_status=$?
   14493    cat conftest.err >&5
   14494    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14495    if (exit $ac_status) && test -s "$ac_outfile"; then
   14496      # The compiler can only warn and ignore the option if not recognized
   14497      # So say no if there are warnings other than the usual output.
   14498      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14499      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14500      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14501        lt_cv_prog_compiler_pic_works_CXX=yes
   14502      fi
   14503    fi
   14504    $RM conftest*
   14505 
   14506 fi
   14507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14508 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14509 
   14510 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14511     case $lt_prog_compiler_pic_CXX in
   14512      "" | " "*) ;;
   14513      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14514      esac
   14515 else
   14516     lt_prog_compiler_pic_CXX=
   14517      lt_prog_compiler_can_build_shared_CXX=no
   14518 fi
   14519 
   14520 fi
   14521 
   14522 
   14523 
   14524 #
   14525 # Check to make sure the static flag actually works.
   14526 #
   14527 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14529 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14530 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   14531   $as_echo_n "(cached) " >&6
   14532 else
   14533   lt_cv_prog_compiler_static_works_CXX=no
   14534    save_LDFLAGS="$LDFLAGS"
   14535    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14536    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14537    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14538      # The linker can only warn and ignore the option if not recognized
   14539      # So say no if there are warnings
   14540      if test -s conftest.err; then
   14541        # Append any errors to the config.log.
   14542        cat conftest.err 1>&5
   14543        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14544        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14545        if diff conftest.exp conftest.er2 >/dev/null; then
   14546          lt_cv_prog_compiler_static_works_CXX=yes
   14547        fi
   14548      else
   14549        lt_cv_prog_compiler_static_works_CXX=yes
   14550      fi
   14551    fi
   14552    $RM -r conftest*
   14553    LDFLAGS="$save_LDFLAGS"
   14554 
   14555 fi
   14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14557 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14558 
   14559 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14560     :
   14561 else
   14562     lt_prog_compiler_static_CXX=
   14563 fi
   14564 
   14565 
   14566 
   14567 
   14568     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14569 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14570 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14571   $as_echo_n "(cached) " >&6
   14572 else
   14573   lt_cv_prog_compiler_c_o_CXX=no
   14574    $RM -r conftest 2>/dev/null
   14575    mkdir conftest
   14576    cd conftest
   14577    mkdir out
   14578    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14579 
   14580    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14581    # Insert the option either (1) after the last *FLAGS variable, or
   14582    # (2) before a word containing "conftest.", or (3) at the end.
   14583    # Note that $ac_compile itself does not contain backslashes and begins
   14584    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14585    lt_compile=`echo "$ac_compile" | $SED \
   14586    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14587    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14588    -e 's:$: $lt_compiler_flag:'`
   14589    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14590    (eval "$lt_compile" 2>out/conftest.err)
   14591    ac_status=$?
   14592    cat out/conftest.err >&5
   14593    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14594    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14595    then
   14596      # The compiler can only warn and ignore the option if not recognized
   14597      # So say no if there are warnings
   14598      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14599      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14600      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14601        lt_cv_prog_compiler_c_o_CXX=yes
   14602      fi
   14603    fi
   14604    chmod u+w . 2>&5
   14605    $RM conftest*
   14606    # SGI C++ compiler will create directory out/ii_files/ for
   14607    # template instantiation
   14608    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14609    $RM out/* && rmdir out
   14610    cd ..
   14611    $RM -r conftest
   14612    $RM conftest*
   14613 
   14614 fi
   14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14616 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14617 
   14618 
   14619 
   14620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14621 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14622 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14623   $as_echo_n "(cached) " >&6
   14624 else
   14625   lt_cv_prog_compiler_c_o_CXX=no
   14626    $RM -r conftest 2>/dev/null
   14627    mkdir conftest
   14628    cd conftest
   14629    mkdir out
   14630    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14631 
   14632    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14633    # Insert the option either (1) after the last *FLAGS variable, or
   14634    # (2) before a word containing "conftest.", or (3) at the end.
   14635    # Note that $ac_compile itself does not contain backslashes and begins
   14636    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14637    lt_compile=`echo "$ac_compile" | $SED \
   14638    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14639    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14640    -e 's:$: $lt_compiler_flag:'`
   14641    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14642    (eval "$lt_compile" 2>out/conftest.err)
   14643    ac_status=$?
   14644    cat out/conftest.err >&5
   14645    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14646    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14647    then
   14648      # The compiler can only warn and ignore the option if not recognized
   14649      # So say no if there are warnings
   14650      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14651      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14652      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14653        lt_cv_prog_compiler_c_o_CXX=yes
   14654      fi
   14655    fi
   14656    chmod u+w . 2>&5
   14657    $RM conftest*
   14658    # SGI C++ compiler will create directory out/ii_files/ for
   14659    # template instantiation
   14660    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14661    $RM out/* && rmdir out
   14662    cd ..
   14663    $RM -r conftest
   14664    $RM conftest*
   14665 
   14666 fi
   14667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14668 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14669 
   14670 
   14671 
   14672 
   14673 hard_links="nottested"
   14674 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   14675   # do not overwrite the value of need_locks provided by the user
   14676   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14677 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14678   hard_links=yes
   14679   $RM conftest*
   14680   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14681   touch conftest.a
   14682   ln conftest.a conftest.b 2>&5 || hard_links=no
   14683   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14685 $as_echo "$hard_links" >&6; }
   14686   if test "$hard_links" = no; then
   14687     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14688 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14689     need_locks=warn
   14690   fi
   14691 else
   14692   need_locks=no
   14693 fi
   14694 
   14695 
   14696 
   14697     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14698 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14699 
   14700   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14701   case $host_os in
   14702   aix[4-9]*)
   14703     # If we're using GNU nm, then we don't want the "-C" option.
   14704     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   14705     # Also, AIX nm treats weak defined symbols like other global defined
   14706     # symbols, whereas GNU nm marks them as "W".
   14707     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14708       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'
   14709     else
   14710       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'
   14711     fi
   14712     ;;
   14713   pw32*)
   14714     export_symbols_cmds_CXX="$ltdll_cmds"
   14715   ;;
   14716   cygwin* | mingw* | cegcc*)
   14717     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'
   14718   ;;
   14719   *)
   14720     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14721   ;;
   14722   esac
   14723   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14724 
   14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14726 $as_echo "$ld_shlibs_CXX" >&6; }
   14727 test "$ld_shlibs_CXX" = no && can_build_shared=no
   14728 
   14729 with_gnu_ld_CXX=$with_gnu_ld
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 #
   14737 # Do we need to explicitly link libc?
   14738 #
   14739 case "x$archive_cmds_need_lc_CXX" in
   14740 x|xyes)
   14741   # Assume -lc should be added
   14742   archive_cmds_need_lc_CXX=yes
   14743 
   14744   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14745     case $archive_cmds_CXX in
   14746     *'~'*)
   14747       # FIXME: we may have to deal with multi-command sequences.
   14748       ;;
   14749     '$CC '*)
   14750       # Test whether the compiler implicitly links with -lc since on some
   14751       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14752       # to ld, don't add -lc before -lgcc.
   14753       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14754 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14755 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   14756   $as_echo_n "(cached) " >&6
   14757 else
   14758   $RM conftest*
   14759 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14760 
   14761 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14762   (eval $ac_compile) 2>&5
   14763   ac_status=$?
   14764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14765   test $ac_status = 0; } 2>conftest.err; then
   14766 	  soname=conftest
   14767 	  lib=conftest
   14768 	  libobjs=conftest.$ac_objext
   14769 	  deplibs=
   14770 	  wl=$lt_prog_compiler_wl_CXX
   14771 	  pic_flag=$lt_prog_compiler_pic_CXX
   14772 	  compiler_flags=-v
   14773 	  linker_flags=-v
   14774 	  verstring=
   14775 	  output_objdir=.
   14776 	  libname=conftest
   14777 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14778 	  allow_undefined_flag_CXX=
   14779 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14780   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14781   ac_status=$?
   14782   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14783   test $ac_status = 0; }
   14784 	  then
   14785 	    lt_cv_archive_cmds_need_lc_CXX=no
   14786 	  else
   14787 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14788 	  fi
   14789 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14790 	else
   14791 	  cat conftest.err 1>&5
   14792 	fi
   14793 	$RM conftest*
   14794 
   14795 fi
   14796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14797 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14798       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14799       ;;
   14800     esac
   14801   fi
   14802   ;;
   14803 esac
   14804 
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14869 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14870 
   14871 library_names_spec=
   14872 libname_spec='lib$name'
   14873 soname_spec=
   14874 shrext_cmds=".so"
   14875 postinstall_cmds=
   14876 postuninstall_cmds=
   14877 finish_cmds=
   14878 finish_eval=
   14879 shlibpath_var=
   14880 shlibpath_overrides_runpath=unknown
   14881 version_type=none
   14882 dynamic_linker="$host_os ld.so"
   14883 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14884 need_lib_prefix=unknown
   14885 hardcode_into_libs=no
   14886 
   14887 # when you set need_version to no, make sure it does not cause -set_version
   14888 # flags to be left without arguments
   14889 need_version=unknown
   14890 
   14891 case $host_os in
   14892 aix3*)
   14893   version_type=linux
   14894   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14895   shlibpath_var=LIBPATH
   14896 
   14897   # AIX 3 has no versioning support, so we append a major version to the name.
   14898   soname_spec='${libname}${release}${shared_ext}$major'
   14899   ;;
   14900 
   14901 aix[4-9]*)
   14902   version_type=linux
   14903   need_lib_prefix=no
   14904   need_version=no
   14905   hardcode_into_libs=yes
   14906   if test "$host_cpu" = ia64; then
   14907     # AIX 5 supports IA64
   14908     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14909     shlibpath_var=LD_LIBRARY_PATH
   14910   else
   14911     # With GCC up to 2.95.x, collect2 would create an import file
   14912     # for dependence libraries.  The import file would start with
   14913     # the line `#! .'.  This would cause the generated library to
   14914     # depend on `.', always an invalid library.  This was fixed in
   14915     # development snapshots of GCC prior to 3.0.
   14916     case $host_os in
   14917       aix4 | aix4.[01] | aix4.[01].*)
   14918       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14919 	   echo ' yes '
   14920 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14921 	:
   14922       else
   14923 	can_build_shared=no
   14924       fi
   14925       ;;
   14926     esac
   14927     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14928     # soname into executable. Probably we can add versioning support to
   14929     # collect2, so additional links can be useful in future.
   14930     if test "$aix_use_runtimelinking" = yes; then
   14931       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14932       # instead of lib<name>.a to let people know that these are not
   14933       # typical AIX shared libraries.
   14934       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14935     else
   14936       # We preserve .a as extension for shared libraries through AIX4.2
   14937       # and later when we are not doing run time linking.
   14938       library_names_spec='${libname}${release}.a $libname.a'
   14939       soname_spec='${libname}${release}${shared_ext}$major'
   14940     fi
   14941     shlibpath_var=LIBPATH
   14942   fi
   14943   ;;
   14944 
   14945 amigaos*)
   14946   case $host_cpu in
   14947   powerpc)
   14948     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14949     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14950     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14951     ;;
   14952   m68k)
   14953     library_names_spec='$libname.ixlibrary $libname.a'
   14954     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14955     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'
   14956     ;;
   14957   esac
   14958   ;;
   14959 
   14960 beos*)
   14961   library_names_spec='${libname}${shared_ext}'
   14962   dynamic_linker="$host_os ld.so"
   14963   shlibpath_var=LIBRARY_PATH
   14964   ;;
   14965 
   14966 bsdi[45]*)
   14967   version_type=linux
   14968   need_version=no
   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   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14972   shlibpath_var=LD_LIBRARY_PATH
   14973   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14974   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14975   # the default ld.so.conf also contains /usr/contrib/lib and
   14976   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14977   # libtool to hard-code these into programs
   14978   ;;
   14979 
   14980 cygwin* | mingw* | pw32* | cegcc*)
   14981   version_type=windows
   14982   shrext_cmds=".dll"
   14983   need_version=no
   14984   need_lib_prefix=no
   14985 
   14986   case $GCC,$host_os in
   14987   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   14988     library_names_spec='$libname.dll.a'
   14989     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14990     postinstall_cmds='base_file=`basename \${file}`~
   14991       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14992       dldir=$destdir/`dirname \$dlpath`~
   14993       test -d \$dldir || mkdir -p \$dldir~
   14994       $install_prog $dir/$dlname \$dldir/$dlname~
   14995       chmod a+x \$dldir/$dlname~
   14996       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14997         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14998       fi'
   14999     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15000       dlpath=$dir/\$dldll~
   15001        $RM \$dlpath'
   15002     shlibpath_overrides_runpath=yes
   15003 
   15004     case $host_os in
   15005     cygwin*)
   15006       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15007       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15008 
   15009       ;;
   15010     mingw* | cegcc*)
   15011       # MinGW DLLs use traditional 'lib' prefix
   15012       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15013       ;;
   15014     pw32*)
   15015       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15016       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15017       ;;
   15018     esac
   15019     ;;
   15020 
   15021   *)
   15022     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15023     ;;
   15024   esac
   15025   dynamic_linker='Win32 ld.exe'
   15026   # FIXME: first we should search . and the directory the executable is in
   15027   shlibpath_var=PATH
   15028   ;;
   15029 
   15030 darwin* | rhapsody*)
   15031   dynamic_linker="$host_os dyld"
   15032   version_type=darwin
   15033   need_lib_prefix=no
   15034   need_version=no
   15035   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15036   soname_spec='${libname}${release}${major}$shared_ext'
   15037   shlibpath_overrides_runpath=yes
   15038   shlibpath_var=DYLD_LIBRARY_PATH
   15039   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15040 
   15041   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15042   ;;
   15043 
   15044 dgux*)
   15045   version_type=linux
   15046   need_lib_prefix=no
   15047   need_version=no
   15048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15049   soname_spec='${libname}${release}${shared_ext}$major'
   15050   shlibpath_var=LD_LIBRARY_PATH
   15051   ;;
   15052 
   15053 freebsd* | dragonfly*)
   15054   # DragonFly does not have aout.  When/if they implement a new
   15055   # versioning mechanism, adjust this.
   15056   if test -x /usr/bin/objformat; then
   15057     objformat=`/usr/bin/objformat`
   15058   else
   15059     case $host_os in
   15060     freebsd[23].*) objformat=aout ;;
   15061     *) objformat=elf ;;
   15062     esac
   15063   fi
   15064   version_type=freebsd-$objformat
   15065   case $version_type in
   15066     freebsd-elf*)
   15067       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15068       need_version=no
   15069       need_lib_prefix=no
   15070       ;;
   15071     freebsd-*)
   15072       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15073       need_version=yes
   15074       ;;
   15075   esac
   15076   shlibpath_var=LD_LIBRARY_PATH
   15077   case $host_os in
   15078   freebsd2.*)
   15079     shlibpath_overrides_runpath=yes
   15080     ;;
   15081   freebsd3.[01]* | freebsdelf3.[01]*)
   15082     shlibpath_overrides_runpath=yes
   15083     hardcode_into_libs=yes
   15084     ;;
   15085   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15086   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15087     shlibpath_overrides_runpath=no
   15088     hardcode_into_libs=yes
   15089     ;;
   15090   *) # from 4.6 on, and DragonFly
   15091     shlibpath_overrides_runpath=yes
   15092     hardcode_into_libs=yes
   15093     ;;
   15094   esac
   15095   ;;
   15096 
   15097 haiku*)
   15098   version_type=linux
   15099   need_lib_prefix=no
   15100   need_version=no
   15101   dynamic_linker="$host_os runtime_loader"
   15102   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15103   soname_spec='${libname}${release}${shared_ext}$major'
   15104   shlibpath_var=LIBRARY_PATH
   15105   shlibpath_overrides_runpath=yes
   15106   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15107   hardcode_into_libs=yes
   15108   ;;
   15109 
   15110 hpux9* | hpux10* | hpux11*)
   15111   # Give a soname corresponding to the major version so that dld.sl refuses to
   15112   # link against other versions.
   15113   version_type=sunos
   15114   need_lib_prefix=no
   15115   need_version=no
   15116   case $host_cpu in
   15117   ia64*)
   15118     shrext_cmds='.so'
   15119     hardcode_into_libs=yes
   15120     dynamic_linker="$host_os dld.so"
   15121     shlibpath_var=LD_LIBRARY_PATH
   15122     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15123     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15124     soname_spec='${libname}${release}${shared_ext}$major'
   15125     if test "X$HPUX_IA64_MODE" = X32; then
   15126       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15127     else
   15128       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15129     fi
   15130     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15131     ;;
   15132   hppa*64*)
   15133     shrext_cmds='.sl'
   15134     hardcode_into_libs=yes
   15135     dynamic_linker="$host_os dld.sl"
   15136     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15137     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15138     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15139     soname_spec='${libname}${release}${shared_ext}$major'
   15140     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15141     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15142     ;;
   15143   *)
   15144     shrext_cmds='.sl'
   15145     dynamic_linker="$host_os dld.sl"
   15146     shlibpath_var=SHLIB_PATH
   15147     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15148     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15149     soname_spec='${libname}${release}${shared_ext}$major'
   15150     ;;
   15151   esac
   15152   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15153   postinstall_cmds='chmod 555 $lib'
   15154   # or fails outright, so override atomically:
   15155   install_override_mode=555
   15156   ;;
   15157 
   15158 interix[3-9]*)
   15159   version_type=linux
   15160   need_lib_prefix=no
   15161   need_version=no
   15162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15163   soname_spec='${libname}${release}${shared_ext}$major'
   15164   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15165   shlibpath_var=LD_LIBRARY_PATH
   15166   shlibpath_overrides_runpath=no
   15167   hardcode_into_libs=yes
   15168   ;;
   15169 
   15170 irix5* | irix6* | nonstopux*)
   15171   case $host_os in
   15172     nonstopux*) version_type=nonstopux ;;
   15173     *)
   15174 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15175 		version_type=linux
   15176 	else
   15177 		version_type=irix
   15178 	fi ;;
   15179   esac
   15180   need_lib_prefix=no
   15181   need_version=no
   15182   soname_spec='${libname}${release}${shared_ext}$major'
   15183   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15184   case $host_os in
   15185   irix5* | nonstopux*)
   15186     libsuff= shlibsuff=
   15187     ;;
   15188   *)
   15189     case $LD in # libtool.m4 will add one of these switches to LD
   15190     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15191       libsuff= shlibsuff= libmagic=32-bit;;
   15192     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15193       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15194     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15195       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15196     *) libsuff= shlibsuff= libmagic=never-match;;
   15197     esac
   15198     ;;
   15199   esac
   15200   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15201   shlibpath_overrides_runpath=no
   15202   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15203   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15204   hardcode_into_libs=yes
   15205   ;;
   15206 
   15207 # No shared lib support for Linux oldld, aout, or coff.
   15208 linux*oldld* | linux*aout* | linux*coff*)
   15209   dynamic_linker=no
   15210   ;;
   15211 
   15212 # This must be Linux ELF.
   15213 
   15214 # uclinux* changes (here and below) have been submitted to the libtool
   15215 # project, but have not yet been accepted: they are GCC-local changes
   15216 # for the time being.  (See
   15217 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   15218 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   15219   version_type=linux
   15220   need_lib_prefix=no
   15221   need_version=no
   15222   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15223   soname_spec='${libname}${release}${shared_ext}$major'
   15224   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15225   shlibpath_var=LD_LIBRARY_PATH
   15226   shlibpath_overrides_runpath=no
   15227 
   15228   # Some binutils ld are patched to set DT_RUNPATH
   15229   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15230   $as_echo_n "(cached) " >&6
   15231 else
   15232   lt_cv_shlibpath_overrides_runpath=no
   15233     save_LDFLAGS=$LDFLAGS
   15234     save_libdir=$libdir
   15235     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15236 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15237     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15238 /* end confdefs.h.  */
   15239 
   15240 int
   15241 main ()
   15242 {
   15243 
   15244   ;
   15245   return 0;
   15246 }
   15247 _ACEOF
   15248 if ac_fn_cxx_try_link "$LINENO"; then :
   15249   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15250   lt_cv_shlibpath_overrides_runpath=yes
   15251 fi
   15252 fi
   15253 rm -f core conftest.err conftest.$ac_objext \
   15254     conftest$ac_exeext conftest.$ac_ext
   15255     LDFLAGS=$save_LDFLAGS
   15256     libdir=$save_libdir
   15257 
   15258 fi
   15259 
   15260   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15261 
   15262   # This implies no fast_install, which is unacceptable.
   15263   # Some rework will be needed to allow for fast_install
   15264   # before this can be enabled.
   15265   hardcode_into_libs=yes
   15266 
   15267   # Append ld.so.conf contents to the search path
   15268   if test -f /etc/ld.so.conf; then
   15269     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' ' '`
   15270     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15271   fi
   15272 
   15273   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15274   # powerpc, because MkLinux only supported shared libraries with the
   15275   # GNU dynamic linker.  Since this was broken with cross compilers,
   15276   # most powerpc-linux boxes support dynamic linking these days and
   15277   # people can always --disable-shared, the test was removed, and we
   15278   # assume the GNU/Linux dynamic linker is in use.
   15279   dynamic_linker='GNU/Linux ld.so'
   15280   ;;
   15281 
   15282 netbsd*)
   15283   version_type=sunos
   15284   need_lib_prefix=no
   15285   need_version=no
   15286   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15287     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15288     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15289     dynamic_linker='NetBSD (a.out) ld.so'
   15290   else
   15291     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15292     soname_spec='${libname}${release}${shared_ext}$major'
   15293     dynamic_linker='NetBSD ld.elf_so'
   15294   fi
   15295   shlibpath_var=LD_LIBRARY_PATH
   15296   shlibpath_overrides_runpath=yes
   15297   hardcode_into_libs=yes
   15298   ;;
   15299 
   15300 newsos6)
   15301   version_type=linux
   15302   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15303   shlibpath_var=LD_LIBRARY_PATH
   15304   shlibpath_overrides_runpath=yes
   15305   ;;
   15306 
   15307 *nto* | *qnx*)
   15308   version_type=qnx
   15309   need_lib_prefix=no
   15310   need_version=no
   15311   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15312   soname_spec='${libname}${release}${shared_ext}$major'
   15313   shlibpath_var=LD_LIBRARY_PATH
   15314   shlibpath_overrides_runpath=no
   15315   hardcode_into_libs=yes
   15316   dynamic_linker='ldqnx.so'
   15317   ;;
   15318 
   15319 openbsd*)
   15320   version_type=sunos
   15321   sys_lib_dlsearch_path_spec="/usr/lib"
   15322   need_lib_prefix=no
   15323   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15324   case $host_os in
   15325     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15326     *)				need_version=no  ;;
   15327   esac
   15328   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15329   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15330   shlibpath_var=LD_LIBRARY_PATH
   15331   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15332     case $host_os in
   15333       openbsd2.[89] | openbsd2.[89].*)
   15334 	shlibpath_overrides_runpath=no
   15335 	;;
   15336       *)
   15337 	shlibpath_overrides_runpath=yes
   15338 	;;
   15339       esac
   15340   else
   15341     shlibpath_overrides_runpath=yes
   15342   fi
   15343   ;;
   15344 
   15345 os2*)
   15346   libname_spec='$name'
   15347   shrext_cmds=".dll"
   15348   need_lib_prefix=no
   15349   library_names_spec='$libname${shared_ext} $libname.a'
   15350   dynamic_linker='OS/2 ld.exe'
   15351   shlibpath_var=LIBPATH
   15352   ;;
   15353 
   15354 osf3* | osf4* | osf5*)
   15355   version_type=osf
   15356   need_lib_prefix=no
   15357   need_version=no
   15358   soname_spec='${libname}${release}${shared_ext}$major'
   15359   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15360   shlibpath_var=LD_LIBRARY_PATH
   15361   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15362   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15363   ;;
   15364 
   15365 rdos*)
   15366   dynamic_linker=no
   15367   ;;
   15368 
   15369 solaris*)
   15370   version_type=linux
   15371   need_lib_prefix=no
   15372   need_version=no
   15373   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15374   soname_spec='${libname}${release}${shared_ext}$major'
   15375   shlibpath_var=LD_LIBRARY_PATH
   15376   shlibpath_overrides_runpath=yes
   15377   hardcode_into_libs=yes
   15378   # ldd complains unless libraries are executable
   15379   postinstall_cmds='chmod +x $lib'
   15380   ;;
   15381 
   15382 sunos4*)
   15383   version_type=sunos
   15384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15385   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15386   shlibpath_var=LD_LIBRARY_PATH
   15387   shlibpath_overrides_runpath=yes
   15388   if test "$with_gnu_ld" = yes; then
   15389     need_lib_prefix=no
   15390   fi
   15391   need_version=yes
   15392   ;;
   15393 
   15394 sysv4 | sysv4.3*)
   15395   version_type=linux
   15396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15397   soname_spec='${libname}${release}${shared_ext}$major'
   15398   shlibpath_var=LD_LIBRARY_PATH
   15399   case $host_vendor in
   15400     sni)
   15401       shlibpath_overrides_runpath=no
   15402       need_lib_prefix=no
   15403       runpath_var=LD_RUN_PATH
   15404       ;;
   15405     siemens)
   15406       need_lib_prefix=no
   15407       ;;
   15408     motorola)
   15409       need_lib_prefix=no
   15410       need_version=no
   15411       shlibpath_overrides_runpath=no
   15412       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15413       ;;
   15414   esac
   15415   ;;
   15416 
   15417 sysv4*MP*)
   15418   if test -d /usr/nec ;then
   15419     version_type=linux
   15420     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15421     soname_spec='$libname${shared_ext}.$major'
   15422     shlibpath_var=LD_LIBRARY_PATH
   15423   fi
   15424   ;;
   15425 
   15426 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15427   version_type=freebsd-elf
   15428   need_lib_prefix=no
   15429   need_version=no
   15430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15431   soname_spec='${libname}${release}${shared_ext}$major'
   15432   shlibpath_var=LD_LIBRARY_PATH
   15433   shlibpath_overrides_runpath=yes
   15434   hardcode_into_libs=yes
   15435   if test "$with_gnu_ld" = yes; then
   15436     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15437   else
   15438     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15439     case $host_os in
   15440       sco3.2v5*)
   15441         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15442 	;;
   15443     esac
   15444   fi
   15445   sys_lib_dlsearch_path_spec='/usr/lib'
   15446   ;;
   15447 
   15448 tpf*)
   15449   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15450   version_type=linux
   15451   need_lib_prefix=no
   15452   need_version=no
   15453   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15454   shlibpath_var=LD_LIBRARY_PATH
   15455   shlibpath_overrides_runpath=no
   15456   hardcode_into_libs=yes
   15457   ;;
   15458 
   15459 uts4*)
   15460   version_type=linux
   15461   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15462   soname_spec='${libname}${release}${shared_ext}$major'
   15463   shlibpath_var=LD_LIBRARY_PATH
   15464   ;;
   15465 
   15466 # Shared libraries for VwWorks, >= 7 only at this stage
   15467 # and (fpic) still incompatible with "large" code models
   15468 # in a few configurations. Only for RTP mode in any case,
   15469 # and upon explicit request at configure time.
   15470 vxworks7*)
   15471   dynamic_linker=no
   15472   case ${with_multisubdir}-${enable_shared} in
   15473     *large*)
   15474       ;;
   15475     *mrtp*-yes)
   15476       version_type=linux
   15477       need_lib_prefix=no
   15478       need_version=no
   15479       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15480       soname_spec='${libname}${release}${shared_ext}$major'
   15481       dynamic_linker="$host_os module_loader"
   15482       ;;
   15483   esac
   15484   ;;
   15485 *)
   15486   dynamic_linker=no
   15487   ;;
   15488 esac
   15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15490 $as_echo "$dynamic_linker" >&6; }
   15491 test "$dynamic_linker" = no && can_build_shared=no
   15492 
   15493 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15494 if test "$GCC" = yes; then
   15495   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15496 fi
   15497 
   15498 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15499   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15500 fi
   15501 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15502   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15503 fi
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15543 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15544 hardcode_action_CXX=
   15545 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   15546    test -n "$runpath_var_CXX" ||
   15547    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   15548 
   15549   # We can hardcode non-existent directories.
   15550   if test "$hardcode_direct_CXX" != no &&
   15551      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15552      # have to relink, otherwise we might link with an installed library
   15553      # when we should be linking with a yet-to-be-installed one
   15554      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   15555      test "$hardcode_minus_L_CXX" != no; then
   15556     # Linking always hardcodes the temporary library directory.
   15557     hardcode_action_CXX=relink
   15558   else
   15559     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15560     hardcode_action_CXX=immediate
   15561   fi
   15562 else
   15563   # We cannot hardcode anything, or else we can only hardcode existing
   15564   # directories.
   15565   hardcode_action_CXX=unsupported
   15566 fi
   15567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   15568 $as_echo "$hardcode_action_CXX" >&6; }
   15569 
   15570 if test "$hardcode_action_CXX" = relink ||
   15571    test "$inherit_rpath_CXX" = yes; then
   15572   # Fast installation is not supported
   15573   enable_fast_install=no
   15574 elif test "$shlibpath_overrides_runpath" = yes ||
   15575      test "$enable_shared" = no; then
   15576   # Fast installation is not necessary
   15577   enable_fast_install=needless
   15578 fi
   15579 
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586   fi # test -n "$compiler"
   15587 
   15588   CC=$lt_save_CC
   15589   LDCXX=$LD
   15590   LD=$lt_save_LD
   15591   GCC=$lt_save_GCC
   15592   with_gnu_ld=$lt_save_with_gnu_ld
   15593   lt_cv_path_LDCXX=$lt_cv_path_LD
   15594   lt_cv_path_LD=$lt_save_path_LD
   15595   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   15596   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   15597 fi # test "$_lt_caught_CXX_error" != yes
   15598 
   15599 ac_ext=c
   15600 ac_cpp='$CPP $CPPFLAGS'
   15601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15604 
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617         ac_config_commands="$ac_config_commands libtool"
   15618 
   15619 
   15620 
   15621 
   15622 # Only expand once:
   15623 
   15624 
   15625 
   15626 GPROFNG_LIBADD="-L../../libiberty -liberty"
   15627 if test "$enable_shared" = "yes"; then
   15628   GPROFNG_LIBADD="-L../../libiberty/pic -liberty"
   15629 fi
   15630 
   15631 
   15632 # Figure out what compiler warnings we can enable.
   15633 # See config/warnings.m4 for details.
   15634 
   15635 ac_ext=c
   15636 ac_cpp='$CPP $CPPFLAGS'
   15637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15640 
   15641 WERROR=
   15642 # Check whether --enable-werror-always was given.
   15643 if test "${enable_werror_always+set}" = set; then :
   15644   enableval=$enable_werror_always;
   15645 else
   15646   enable_werror_always=no
   15647 fi
   15648 
   15649 if test $enable_werror_always = yes; then :
   15650   WERROR="$WERROR${WERROR:+ }-Werror"
   15651 fi
   15652 
   15653 ac_ext=c
   15654 ac_cpp='$CPP $CPPFLAGS'
   15655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15658 
   15659 
   15660 ac_ext=c
   15661 ac_cpp='$CPP $CPPFLAGS'
   15662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15665 
   15666 gprofng_cflags=
   15667 save_CFLAGS="$CFLAGS"
   15668 for real_option in -Wall; do
   15669   # Do the check with the no- prefix removed since gcc silently
   15670   # accepts any -Wno-* option on purpose
   15671   case $real_option in
   15672     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   15673     *) option=$real_option ;;
   15674   esac
   15675   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   15676 
   15677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   15678 $as_echo_n "checking whether $CC supports $option... " >&6; }
   15679 if eval \${$as_acx_Woption+:} false; then :
   15680   $as_echo_n "(cached) " >&6
   15681 else
   15682   CFLAGS="$option"
   15683     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15684 /* end confdefs.h.  */
   15685 
   15686 int
   15687 main ()
   15688 {
   15689 
   15690   ;
   15691   return 0;
   15692 }
   15693 _ACEOF
   15694 if ac_fn_c_try_compile "$LINENO"; then :
   15695   eval "$as_acx_Woption=yes"
   15696 else
   15697   eval "$as_acx_Woption=no"
   15698 fi
   15699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15700 
   15701 fi
   15702 eval ac_res=\$$as_acx_Woption
   15703 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15704 $as_echo "$ac_res" >&6; }
   15705   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   15706   gprofng_cflags="$gprofng_cflags${gprofng_cflags:+ }$real_option"
   15707 fi
   15708   done
   15709 CFLAGS="$save_CFLAGS"
   15710 ac_ext=c
   15711 ac_cpp='$CPP $CPPFLAGS'
   15712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15715 
   15716 
   15717 ac_ext=c
   15718 ac_cpp='$CPP $CPPFLAGS'
   15719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15722 
   15723 GPROFNG_NO_SWITCH_CFLAGS=
   15724 save_CFLAGS="$CFLAGS"
   15725 for real_option in -Wno-switch; do
   15726   # Do the check with the no- prefix removed since gcc silently
   15727   # accepts any -Wno-* option on purpose
   15728   case $real_option in
   15729     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   15730     *) option=$real_option ;;
   15731   esac
   15732   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   15733 
   15734   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   15735 $as_echo_n "checking whether $CC supports $option... " >&6; }
   15736 if eval \${$as_acx_Woption+:} false; then :
   15737   $as_echo_n "(cached) " >&6
   15738 else
   15739   CFLAGS="$option"
   15740     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15741 /* end confdefs.h.  */
   15742 
   15743 int
   15744 main ()
   15745 {
   15746 
   15747   ;
   15748   return 0;
   15749 }
   15750 _ACEOF
   15751 if ac_fn_c_try_compile "$LINENO"; then :
   15752   eval "$as_acx_Woption=yes"
   15753 else
   15754   eval "$as_acx_Woption=no"
   15755 fi
   15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15757 
   15758 fi
   15759 eval ac_res=\$$as_acx_Woption
   15760 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15761 $as_echo "$ac_res" >&6; }
   15762   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   15763   GPROFNG_NO_SWITCH_CFLAGS="$GPROFNG_NO_SWITCH_CFLAGS${GPROFNG_NO_SWITCH_CFLAGS:+ }$real_option"
   15764 fi
   15765   done
   15766 CFLAGS="$save_CFLAGS"
   15767 ac_ext=c
   15768 ac_cpp='$CPP $CPPFLAGS'
   15769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15772 
   15773 
   15774 gprofng_cppflags="-U_ASM"
   15775 build_collector=
   15776 build_src=
   15777 
   15778   case "${host}" in
   15779     x86_64-*-linux*)
   15780       build_src=true
   15781       build_collector=true
   15782       ;;
   15783     i?86-*-linux*)
   15784       build_src=true
   15785       build_collector=true
   15786       ;;
   15787     aarch64-*-linux*)
   15788       build_src=true
   15789       build_collector=true
   15790       ;;
   15791   esac
   15792   # Check whether --enable-gprofng-tools was given.
   15793 if test "${enable_gprofng_tools+set}" = set; then :
   15794   enableval=$enable_gprofng_tools; build_src=$enableval
   15795 fi
   15796 
   15797 
   15798  if test x$build_collector = xtrue; then
   15799   BUILD_COLLECTOR_TRUE=
   15800   BUILD_COLLECTOR_FALSE='#'
   15801 else
   15802   BUILD_COLLECTOR_TRUE='#'
   15803   BUILD_COLLECTOR_FALSE=
   15804 fi
   15805 
   15806  if test x$build_src = xtrue; then
   15807   BUILD_SRC_TRUE=
   15808   BUILD_SRC_FALSE='#'
   15809 else
   15810   BUILD_SRC_TRUE='#'
   15811   BUILD_SRC_FALSE=
   15812 fi
   15813 
   15814 
   15815 if test x$build_collector = xtrue; then
   15816 
   15817 
   15818 subdirs="$subdirs libcollector"
   15819 
   15820 fi
   15821 
   15822 
   15823 
   15824 
   15825 ac_ext=c
   15826 ac_cpp='$CPP $CPPFLAGS'
   15827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15830 
   15831 ax_pthread_ok=no
   15832 
   15833 # We used to check for pthread.h first, but this fails if pthread.h
   15834 # requires special compiler flags (e.g. on Tru64 or Sequent).
   15835 # It gets checked for in the link test anyway.
   15836 
   15837 # First of all, check if the user has set any of the PTHREAD_LIBS,
   15838 # etcetera environment variables, and if threads linking works using
   15839 # them:
   15840 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   15841         ax_pthread_save_CC="$CC"
   15842         ax_pthread_save_CFLAGS="$CFLAGS"
   15843         ax_pthread_save_LIBS="$LIBS"
   15844         if test "x$PTHREAD_CC" != "x"; then :
   15845   CC="$PTHREAD_CC"
   15846 fi
   15847         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   15848         LIBS="$PTHREAD_LIBS $LIBS"
   15849         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   15850 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   15851         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15852 /* end confdefs.h.  */
   15853 
   15854 /* Override any GCC internal prototype to avoid an error.
   15855    Use char because int might match the return type of a GCC
   15856    builtin and then its argument prototype would still apply.  */
   15857 #ifdef __cplusplus
   15858 extern "C"
   15859 #endif
   15860 char pthread_join ();
   15861 int
   15862 main ()
   15863 {
   15864 return pthread_join ();
   15865   ;
   15866   return 0;
   15867 }
   15868 _ACEOF
   15869 if ac_fn_c_try_link "$LINENO"; then :
   15870   ax_pthread_ok=yes
   15871 fi
   15872 rm -f core conftest.err conftest.$ac_objext \
   15873     conftest$ac_exeext conftest.$ac_ext
   15874         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   15875 $as_echo "$ax_pthread_ok" >&6; }
   15876         if test "x$ax_pthread_ok" = "xno"; then
   15877                 PTHREAD_LIBS=""
   15878                 PTHREAD_CFLAGS=""
   15879         fi
   15880         CC="$ax_pthread_save_CC"
   15881         CFLAGS="$ax_pthread_save_CFLAGS"
   15882         LIBS="$ax_pthread_save_LIBS"
   15883 fi
   15884 
   15885 # We must check for the threads library under a number of different
   15886 # names; the ordering is very important because some systems
   15887 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   15888 # libraries is broken (non-POSIX).
   15889 
   15890 # Create a list of thread flags to try.  Items starting with a "-" are
   15891 # C compiler flags, and other items are library names, except for "none"
   15892 # which indicates that we try without any flags at all, and "pthread-config"
   15893 # which is a program returning the flags for the Pth emulation library.
   15894 
   15895 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   15896 
   15897 # The ordering *is* (sometimes) important.  Some notes on the
   15898 # individual items follow:
   15899 
   15900 # pthreads: AIX (must check this before -lpthread)
   15901 # none: in case threads are in libc; should be tried before -Kthread and
   15902 #       other compiler flags to prevent continual compiler warnings
   15903 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   15904 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   15905 #           (Note: HP C rejects this with "bad form for `-t' option")
   15906 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   15907 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   15908 #      doesn't hurt to check since this sometimes defines pthreads and
   15909 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   15910 #      is present but should not be used directly; and before -mthreads,
   15911 #      because the compiler interprets this as "-mt" + "-hreads")
   15912 # -mthreads: Mingw32/gcc, Lynx/gcc
   15913 # pthread: Linux, etcetera
   15914 # --thread-safe: KAI C++
   15915 # pthread-config: use pthread-config program (for GNU Pth library)
   15916 
   15917 case $host_os in
   15918 
   15919         freebsd*)
   15920 
   15921         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   15922         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   15923 
   15924         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   15925         ;;
   15926 
   15927         hpux*)
   15928 
   15929         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   15930         # multi-threading and also sets -lpthread."
   15931 
   15932         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   15933         ;;
   15934 
   15935         openedition*)
   15936 
   15937         # IBM z/OS requires a feature-test macro to be defined in order to
   15938         # enable POSIX threads at all, so give the user a hint if this is
   15939         # not set. (We don't define these ourselves, as they can affect
   15940         # other portions of the system API in unpredictable ways.)
   15941 
   15942         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15943 /* end confdefs.h.  */
   15944 
   15945 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   15946              AX_PTHREAD_ZOS_MISSING
   15947 #            endif
   15948 
   15949 _ACEOF
   15950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15951   $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
   15952   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
   15953 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   15954 fi
   15955 rm -f conftest*
   15956 
   15957         ;;
   15958 
   15959         solaris*)
   15960 
   15961         # On Solaris (at least, for some versions), libc contains stubbed
   15962         # (non-functional) versions of the pthreads routines, so link-based
   15963         # tests will erroneously succeed. (N.B.: The stubs are missing
   15964         # pthread_cleanup_push, or rather a function called by this macro,
   15965         # so we could check for that, but who knows whether they'll stub
   15966         # that too in a future libc.)  So we'll check first for the
   15967         # standard Solaris way of linking pthreads (-mt -lpthread).
   15968 
   15969         ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
   15970         ;;
   15971 esac
   15972 
   15973 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   15974 
   15975 if test "x$GCC" = "xyes"; then :
   15976   ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
   15977 fi
   15978 
   15979 # The presence of a feature test macro requesting re-entrant function
   15980 # definitions is, on some systems, a strong hint that pthreads support is
   15981 # correctly enabled
   15982 
   15983 case $host_os in
   15984         darwin* | hpux* | linux* | osf* | solaris*)
   15985         ax_pthread_check_macro="_REENTRANT"
   15986         ;;
   15987 
   15988         aix*)
   15989         ax_pthread_check_macro="_THREAD_SAFE"
   15990         ;;
   15991 
   15992         *)
   15993         ax_pthread_check_macro="--"
   15994         ;;
   15995 esac
   15996 if test "x$ax_pthread_check_macro" = "x--"; then :
   15997   ax_pthread_check_cond=0
   15998 else
   15999   ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
   16000 fi
   16001 
   16002 # Are we compiling with Clang?
   16003 
   16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   16005 $as_echo_n "checking whether $CC is Clang... " >&6; }
   16006 if ${ax_cv_PTHREAD_CLANG+:} false; then :
   16007   $as_echo_n "(cached) " >&6
   16008 else
   16009   ax_cv_PTHREAD_CLANG=no
   16010      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   16011      if test "x$GCC" = "xyes"; then
   16012         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16013 /* end confdefs.h.  */
   16014 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   16015 #            if defined(__clang__) && defined(__llvm__)
   16016              AX_PTHREAD_CC_IS_CLANG
   16017 #            endif
   16018 
   16019 _ACEOF
   16020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16021   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
   16022   ax_cv_PTHREAD_CLANG=yes
   16023 fi
   16024 rm -f conftest*
   16025 
   16026      fi
   16027 
   16028 fi
   16029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   16030 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
   16031 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   16032 
   16033 ax_pthread_clang_warning=no
   16034 
   16035 # Clang needs special handling, because older versions handle the -pthread
   16036 # option in a rather... idiosyncratic way
   16037 
   16038 if test "x$ax_pthread_clang" = "xyes"; then
   16039 
   16040         # Clang takes -pthread; it has never supported any other flag
   16041 
   16042         # (Note 1: This will need to be revisited if a system that Clang
   16043         # supports has POSIX threads in a separate library.  This tends not
   16044         # to be the way of modern systems, but it's conceivable.)
   16045 
   16046         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   16047         # to get POSIX threads support; the API is always present and
   16048         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   16049         # -pthread does define _REENTRANT, and while the Darwin headers
   16050         # ignore this macro, third-party headers might not.)
   16051 
   16052         PTHREAD_CFLAGS="-pthread"
   16053         PTHREAD_LIBS=
   16054 
   16055         ax_pthread_ok=yes
   16056 
   16057         # However, older versions of Clang make a point of warning the user
   16058         # that, in an invocation where only linking and no compilation is
   16059         # taking place, the -pthread option has no effect ("argument unused
   16060         # during compilation").  They expect -pthread to be passed in only
   16061         # when source code is being compiled.
   16062         #
   16063         # Problem is, this is at odds with the way Automake and most other
   16064         # C build frameworks function, which is that the same flags used in
   16065         # compilation (CFLAGS) are also used in linking.  Many systems
   16066         # supported by AX_PTHREAD require exactly this for POSIX threads
   16067         # support, and in fact it is often not straightforward to specify a
   16068         # flag that is used only in the compilation phase and not in
   16069         # linking.  Such a scenario is extremely rare in practice.
   16070         #
   16071         # Even though use of the -pthread flag in linking would only print
   16072         # a warning, this can be a nuisance for well-run software projects
   16073         # that build with -Werror.  So if the active version of Clang has
   16074         # this misfeature, we search for an option to squash it.
   16075 
   16076         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   16077 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   16078 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
   16079   $as_echo_n "(cached) " >&6
   16080 else
   16081   ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   16082              # Create an alternate version of $ac_link that compiles and
   16083              # links in two steps (.c -> .o, .o -> exe) instead of one
   16084              # (.c -> exe), because the warning occurs only in the second
   16085              # step
   16086              ax_pthread_save_ac_link="$ac_link"
   16087              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   16088              ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
   16089              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   16090              ax_pthread_save_CFLAGS="$CFLAGS"
   16091              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   16092                 if test "x$ax_pthread_try" = "xunknown"; then :
   16093   break
   16094 fi
   16095                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   16096                 ac_link="$ax_pthread_save_ac_link"
   16097                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16098 /* end confdefs.h.  */
   16099 int main(void){return 0;}
   16100 _ACEOF
   16101 if ac_fn_c_try_link "$LINENO"; then :
   16102   ac_link="$ax_pthread_2step_ac_link"
   16103                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16104 /* end confdefs.h.  */
   16105 int main(void){return 0;}
   16106 _ACEOF
   16107 if ac_fn_c_try_link "$LINENO"; then :
   16108   break
   16109 fi
   16110 rm -f core conftest.err conftest.$ac_objext \
   16111     conftest$ac_exeext conftest.$ac_ext
   16112 
   16113 fi
   16114 rm -f core conftest.err conftest.$ac_objext \
   16115     conftest$ac_exeext conftest.$ac_ext
   16116              done
   16117              ac_link="$ax_pthread_save_ac_link"
   16118              CFLAGS="$ax_pthread_save_CFLAGS"
   16119              if test "x$ax_pthread_try" = "x"; then :
   16120   ax_pthread_try=no
   16121 fi
   16122              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   16123 
   16124 fi
   16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   16126 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   16127 
   16128         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   16129                 no | unknown) ;;
   16130                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   16131         esac
   16132 
   16133 fi # $ax_pthread_clang = yes
   16134 
   16135 if test "x$ax_pthread_ok" = "xno"; then
   16136 for ax_pthread_try_flag in $ax_pthread_flags; do
   16137 
   16138         case $ax_pthread_try_flag in
   16139                 none)
   16140                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   16141 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   16142                 ;;
   16143 
   16144                 -mt,pthread)
   16145                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
   16146 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
   16147                 PTHREAD_CFLAGS="-mt"
   16148                 PTHREAD_LIBS="-lpthread"
   16149                 ;;
   16150 
   16151                 -*)
   16152                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   16153 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   16154                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   16155                 ;;
   16156 
   16157                 pthread-config)
   16158                 # Extract the first word of "pthread-config", so it can be a program name with args.
   16159 set dummy pthread-config; ac_word=$2
   16160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16161 $as_echo_n "checking for $ac_word... " >&6; }
   16162 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   16163   $as_echo_n "(cached) " >&6
   16164 else
   16165   if test -n "$ax_pthread_config"; then
   16166   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   16167 else
   16168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16169 for as_dir in $PATH
   16170 do
   16171   IFS=$as_save_IFS
   16172   test -z "$as_dir" && as_dir=.
   16173     for ac_exec_ext in '' $ac_executable_extensions; do
   16174   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16175     ac_cv_prog_ax_pthread_config="yes"
   16176     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16177     break 2
   16178   fi
   16179 done
   16180   done
   16181 IFS=$as_save_IFS
   16182 
   16183   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   16184 fi
   16185 fi
   16186 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   16187 if test -n "$ax_pthread_config"; then
   16188   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   16189 $as_echo "$ax_pthread_config" >&6; }
   16190 else
   16191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16192 $as_echo "no" >&6; }
   16193 fi
   16194 
   16195 
   16196                 if test "x$ax_pthread_config" = "xno"; then :
   16197   continue
   16198 fi
   16199                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   16200                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   16201                 ;;
   16202 
   16203                 *)
   16204                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   16205 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   16206                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   16207                 ;;
   16208         esac
   16209 
   16210         ax_pthread_save_CFLAGS="$CFLAGS"
   16211         ax_pthread_save_LIBS="$LIBS"
   16212         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16213         LIBS="$PTHREAD_LIBS $LIBS"
   16214 
   16215         # Check for various functions.  We must include pthread.h,
   16216         # since some functions may be macros.  (On the Sequent, we
   16217         # need a special flag -Kthread to make this header compile.)
   16218         # We check for pthread_join because it is in -lpthread on IRIX
   16219         # while pthread_create is in libc.  We check for pthread_attr_init
   16220         # due to DEC craziness with -lpthreads.  We check for
   16221         # pthread_cleanup_push because it is one of the few pthread
   16222         # functions on Solaris that doesn't have a non-functional libc stub.
   16223         # We try pthread_create on general principles.
   16224 
   16225         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16226 /* end confdefs.h.  */
   16227 #include <pthread.h>
   16228 #                       if $ax_pthread_check_cond
   16229 #                        error "$ax_pthread_check_macro must be defined"
   16230 #                       endif
   16231                         static void routine(void *a) { a = 0; }
   16232                         static void *start_routine(void *a) { return a; }
   16233 int
   16234 main ()
   16235 {
   16236 pthread_t th; pthread_attr_t attr;
   16237                         pthread_create(&th, 0, start_routine, 0);
   16238                         pthread_join(th, 0);
   16239                         pthread_attr_init(&attr);
   16240                         pthread_cleanup_push(routine, 0);
   16241                         pthread_cleanup_pop(0) /* ; */
   16242   ;
   16243   return 0;
   16244 }
   16245 _ACEOF
   16246 if ac_fn_c_try_link "$LINENO"; then :
   16247   ax_pthread_ok=yes
   16248 fi
   16249 rm -f core conftest.err conftest.$ac_objext \
   16250     conftest$ac_exeext conftest.$ac_ext
   16251 
   16252         CFLAGS="$ax_pthread_save_CFLAGS"
   16253         LIBS="$ax_pthread_save_LIBS"
   16254 
   16255         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   16256 $as_echo "$ax_pthread_ok" >&6; }
   16257         if test "x$ax_pthread_ok" = "xyes"; then :
   16258   break
   16259 fi
   16260 
   16261         PTHREAD_LIBS=""
   16262         PTHREAD_CFLAGS=""
   16263 done
   16264 fi
   16265 
   16266 # Various other checks:
   16267 if test "x$ax_pthread_ok" = "xyes"; then
   16268         ax_pthread_save_CFLAGS="$CFLAGS"
   16269         ax_pthread_save_LIBS="$LIBS"
   16270         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16271         LIBS="$PTHREAD_LIBS $LIBS"
   16272 
   16273         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   16274         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   16275 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   16276 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
   16277   $as_echo_n "(cached) " >&6
   16278 else
   16279   ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   16280              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   16281                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16282 /* end confdefs.h.  */
   16283 #include <pthread.h>
   16284 int
   16285 main ()
   16286 {
   16287 int attr = $ax_pthread_attr; return attr /* ; */
   16288   ;
   16289   return 0;
   16290 }
   16291 _ACEOF
   16292 if ac_fn_c_try_link "$LINENO"; then :
   16293   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   16294 fi
   16295 rm -f core conftest.err conftest.$ac_objext \
   16296     conftest$ac_exeext conftest.$ac_ext
   16297              done
   16298 
   16299 fi
   16300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   16301 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   16302         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   16303                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   16304                test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
   16305 
   16306 cat >>confdefs.h <<_ACEOF
   16307 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
   16308 _ACEOF
   16309 
   16310                ax_pthread_joinable_attr_defined=yes
   16311 
   16312 fi
   16313 
   16314         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   16315 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
   16316 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
   16317   $as_echo_n "(cached) " >&6
   16318 else
   16319   ax_cv_PTHREAD_SPECIAL_FLAGS=no
   16320              case $host_os in
   16321              solaris*)
   16322              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   16323              ;;
   16324              esac
   16325 
   16326 fi
   16327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   16328 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   16329         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   16330                test "x$ax_pthread_special_flags_added" != "xyes"; then :
   16331   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   16332                ax_pthread_special_flags_added=yes
   16333 fi
   16334 
   16335         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   16336 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   16337 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   16338   $as_echo_n "(cached) " >&6
   16339 else
   16340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16341 /* end confdefs.h.  */
   16342 #include <pthread.h>
   16343 int
   16344 main ()
   16345 {
   16346 int i = PTHREAD_PRIO_INHERIT;
   16347   ;
   16348   return 0;
   16349 }
   16350 _ACEOF
   16351 if ac_fn_c_try_link "$LINENO"; then :
   16352   ax_cv_PTHREAD_PRIO_INHERIT=yes
   16353 else
   16354   ax_cv_PTHREAD_PRIO_INHERIT=no
   16355 fi
   16356 rm -f core conftest.err conftest.$ac_objext \
   16357     conftest$ac_exeext conftest.$ac_ext
   16358 
   16359 fi
   16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   16361 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   16362         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   16363                test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
   16364 
   16365 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   16366 
   16367                ax_pthread_prio_inherit_defined=yes
   16368 
   16369 fi
   16370 
   16371         CFLAGS="$ax_pthread_save_CFLAGS"
   16372         LIBS="$ax_pthread_save_LIBS"
   16373 
   16374         # More AIX lossage: compile with *_r variant
   16375         if test "x$GCC" != "xyes"; then
   16376             case $host_os in
   16377                 aix*)
   16378                 case "x/$CC" in #(
   16379   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   16380     #handle absolute path differently from PATH based program lookup
   16381                      case "x$CC" in #(
   16382   x/*) :
   16383     if as_fn_executable_p ${CC}_r; then :
   16384   PTHREAD_CC="${CC}_r"
   16385 fi ;; #(
   16386   *) :
   16387     for ac_prog in ${CC}_r
   16388 do
   16389   # Extract the first word of "$ac_prog", so it can be a program name with args.
   16390 set dummy $ac_prog; ac_word=$2
   16391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16392 $as_echo_n "checking for $ac_word... " >&6; }
   16393 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   16394   $as_echo_n "(cached) " >&6
   16395 else
   16396   if test -n "$PTHREAD_CC"; then
   16397   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   16398 else
   16399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16400 for as_dir in $PATH
   16401 do
   16402   IFS=$as_save_IFS
   16403   test -z "$as_dir" && as_dir=.
   16404     for ac_exec_ext in '' $ac_executable_extensions; do
   16405   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16406     ac_cv_prog_PTHREAD_CC="$ac_prog"
   16407     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16408     break 2
   16409   fi
   16410 done
   16411   done
   16412 IFS=$as_save_IFS
   16413 
   16414 fi
   16415 fi
   16416 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   16417 if test -n "$PTHREAD_CC"; then
   16418   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   16419 $as_echo "$PTHREAD_CC" >&6; }
   16420 else
   16421   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16422 $as_echo "no" >&6; }
   16423 fi
   16424 
   16425 
   16426   test -n "$PTHREAD_CC" && break
   16427 done
   16428 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   16429  ;;
   16430 esac ;; #(
   16431   *) :
   16432      ;;
   16433 esac
   16434                 ;;
   16435             esac
   16436         fi
   16437 fi
   16438 
   16439 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   16446 if test "x$ax_pthread_ok" = "xyes"; then
   16447 
   16448 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   16449 
   16450         :
   16451 else
   16452         ax_pthread_ok=no
   16453 
   16454 fi
   16455 ac_ext=c
   16456 ac_cpp='$CPP $CPPFLAGS'
   16457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16460 
   16461 
   16462 
   16463 # Specify a location for JDK
   16464 enable_gprofng_jp=
   16465 jdk_inc=
   16466 
   16467 # Check whether --with-jdk was given.
   16468 if test "${with_jdk+set}" = set; then :
   16469   withval=$with_jdk;
   16470 fi
   16471 
   16472 
   16473 if test "x$with_jdk" != x; then
   16474   jdk_inc="-I$with_jdk/include -I$with_jdk/include/linux"
   16475   enable_gprofng_jp=yes
   16476 else
   16477   # Extract the first word of "javac", so it can be a program name with args.
   16478 set dummy javac; ac_word=$2
   16479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16480 $as_echo_n "checking for $ac_word... " >&6; }
   16481 if ${ac_cv_path_JAVAC+:} false; then :
   16482   $as_echo_n "(cached) " >&6
   16483 else
   16484   case $JAVAC in
   16485   [\\/]* | ?:[\\/]*)
   16486   ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
   16487   ;;
   16488   *)
   16489   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16490 for as_dir in $PATH
   16491 do
   16492   IFS=$as_save_IFS
   16493   test -z "$as_dir" && as_dir=.
   16494     for ac_exec_ext in '' $ac_executable_extensions; do
   16495   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16496     ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
   16497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16498     break 2
   16499   fi
   16500 done
   16501   done
   16502 IFS=$as_save_IFS
   16503 
   16504   test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC="javac"
   16505   ;;
   16506 esac
   16507 fi
   16508 JAVAC=$ac_cv_path_JAVAC
   16509 if test -n "$JAVAC"; then
   16510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
   16511 $as_echo "$JAVAC" >&6; }
   16512 else
   16513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16514 $as_echo "no" >&6; }
   16515 fi
   16516 
   16517 
   16518   if test -f $JAVAC; then
   16519     x=`readlink -f $JAVAC`
   16520     x=`dirname $x`
   16521     x=`dirname $x`
   16522     if ! test -f $x/include/jni.h; then
   16523       x=`dirname $x`
   16524     fi
   16525     if test -f $x/include/jni.h; then
   16526       jdk_inc="-I$x/include -I$x/include/linux"
   16527       enable_gprofng_jp=yes
   16528     fi
   16529   fi
   16530 fi
   16531 if test "x$enable_gprofng_jp" = x; then
   16532   # Extract the first word of "java", so it can be a program name with args.
   16533 set dummy java; ac_word=$2
   16534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16535 $as_echo_n "checking for $ac_word... " >&6; }
   16536 if ${ac_cv_path_JAVA+:} false; then :
   16537   $as_echo_n "(cached) " >&6
   16538 else
   16539   case $JAVA in
   16540   [\\/]* | ?:[\\/]*)
   16541   ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
   16542   ;;
   16543   *)
   16544   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16545 for as_dir in $PATH
   16546 do
   16547   IFS=$as_save_IFS
   16548   test -z "$as_dir" && as_dir=.
   16549     for ac_exec_ext in '' $ac_executable_extensions; do
   16550   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16551     ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
   16552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16553     break 2
   16554   fi
   16555 done
   16556   done
   16557 IFS=$as_save_IFS
   16558 
   16559   test -z "$ac_cv_path_JAVA" && ac_cv_path_JAVA="java"
   16560   ;;
   16561 esac
   16562 fi
   16563 JAVA=$ac_cv_path_JAVA
   16564 if test -n "$JAVA"; then
   16565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
   16566 $as_echo "$JAVA" >&6; }
   16567 else
   16568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16569 $as_echo "no" >&6; }
   16570 fi
   16571 
   16572 
   16573   if test -f $JAVA; then
   16574     x=`readlink -f $JAVA`
   16575     x=`dirname $x`
   16576     x=`dirname $x`
   16577     if ! test -f $x/include/jni.h; then
   16578       x=`dirname $x`
   16579     fi
   16580     if test -f $x/include/jni.h; then
   16581       jdk_inc="-I$x/include -I$x/include/linux"
   16582       enable_gprofng_jp=yes
   16583     fi
   16584   fi
   16585 fi
   16586 if test "x$enable_gprofng_jp" = x; then
   16587   ac_fn_c_check_header_compile "$LINENO" "jni.h" "ac_cv_header_jni_h" "
   16588 "
   16589 if test "x$ac_cv_header_jni_h" = xyes; then :
   16590    enable_gprofng_jp=yes
   16591 fi
   16592 
   16593 
   16594 fi
   16595 GPROFNG_BROKEN_JAVAC=no
   16596 if test "x$enable_gprofng_jp" = x; then
   16597     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Cannot find the JDK include directory.
   16598       gprofng will be build without support for profiling Java applications.
   16599       Use --with-jdk=PATH to specify directory for the installed JDK" >&5
   16600 $as_echo "$as_me: WARNING:  Cannot find the JDK include directory.
   16601       gprofng will be build without support for profiling Java applications.
   16602       Use --with-jdk=PATH to specify directory for the installed JDK" >&2;}
   16603 else
   16604 
   16605 $as_echo "#define GPROFNG_JAVA_PROFILING 1" >>confdefs.h
   16606 
   16607     if test "x$JAVAC" != x; then
   16608       cat > Simple.java << EOF
   16609 class Simple{
   16610   public static void main(String args){
   16611     System.out.println("Hello Java");
   16612   }
   16613 }
   16614 EOF
   16615       if { ac_try='$JAVAC Simple.java >&5 2>&5'
   16616   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   16617   (eval $ac_try) 2>&5
   16618   ac_status=$?
   16619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16620   test $ac_status = 0; }; }; then
   16621 	GPROFNG_BROKEN_JAVAC=no
   16622       else
   16623 	GPROFNG_BROKEN_JAVAC=yes
   16624       fi
   16625       rm -f Simple.*
   16626     fi
   16627 fi
   16628 
   16629 
   16630 
   16631 DEBUG=
   16632  # Check whether --enable-gprofng-debug was given.
   16633 if test "${enable_gprofng_debug+set}" = set; then :
   16634   enableval=$enable_gprofng_debug;
   16635       case "$enableval" in
   16636        yes|no) ;;
   16637        *) as_fn_error $? "Argument to enable/disable gprofng-debug must be yes or no" "$LINENO" 5 ;;
   16638       esac
   16639 
   16640 else
   16641   enable_gprofng_debug=no
   16642 fi
   16643 
   16644 
   16645 if test "${enable_gprofng_debug}" = yes; then
   16646 
   16647 $as_echo "#define DEBUG 1" >>confdefs.h
   16648 
   16649 fi
   16650 
   16651 cat > "dummy.c" << EOF
   16652 #include <features.h>
   16653 #if defined(__UCLIBC__)
   16654 LIBC=uclibc
   16655 #elif defined(__dietlibc__)
   16656 LIBC=dietlibc
   16657 #elif defined(__GLIBC__)
   16658 LIBC=gnu
   16659 #else
   16660 #include <stdarg.h>
   16661 /* First heuristic to detect musl libc.  */
   16662 #ifdef __DEFINED_va_list
   16663 LIBC=musl
   16664 #else
   16665 LIBC=gnu
   16666 #endif
   16667 #endif
   16668 EOF
   16669 cc_set_libc=`$CC -E "dummy.c" 2>/dev/null | grep '^LIBC=' | sed 's, ,,g'`
   16670 eval "$cc_set_libc"
   16671 if test "$LIBC" = musl; then
   16672 
   16673 $as_echo "#define __MUSL_LIBC 1" >>confdefs.h
   16674 
   16675 fi
   16676 rm -f dummy.c
   16677 
   16678 # Check if linker supports --as-needed and --no-as-needed options.
   16679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   16680 $as_echo_n "checking linker --as-needed support... " >&6; }
   16681 if ${bfd_cv_ld_as_needed+:} false; then :
   16682   $as_echo_n "(cached) " >&6
   16683 else
   16684   bfd_cv_ld_as_needed=no
   16685 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   16686 		bfd_cv_ld_as_needed=yes
   16687 	fi
   16688 
   16689 fi
   16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   16691 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   16692 
   16693 no_as_needed=
   16694 if test x"$bfd_cv_ld_as_needed" = xyes; then
   16695     no_as_needed='-Wl,--no-as-needed'
   16696 fi
   16697 
   16698 # Extract the first word of "expect", so it can be a program name with args.
   16699 set dummy expect; ac_word=$2
   16700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16701 $as_echo_n "checking for $ac_word... " >&6; }
   16702 if ${ac_cv_path_EXPECT+:} false; then :
   16703   $as_echo_n "(cached) " >&6
   16704 else
   16705   case $EXPECT in
   16706   [\\/]* | ?:[\\/]*)
   16707   ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path.
   16708   ;;
   16709   *)
   16710   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16711 for as_dir in $PATH
   16712 do
   16713   IFS=$as_save_IFS
   16714   test -z "$as_dir" && as_dir=.
   16715     for ac_exec_ext in '' $ac_executable_extensions; do
   16716   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16717     ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext"
   16718     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16719     break 2
   16720   fi
   16721 done
   16722   done
   16723 IFS=$as_save_IFS
   16724 
   16725   ;;
   16726 esac
   16727 fi
   16728 EXPECT=$ac_cv_path_EXPECT
   16729 if test -n "$EXPECT"; then
   16730   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   16731 $as_echo "$EXPECT" >&6; }
   16732 else
   16733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16734 $as_echo "no" >&6; }
   16735 fi
   16736 
   16737 
   16738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
   16739 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
   16740 if ${ac_cv_libctf_tcl_try+:} false; then :
   16741   $as_echo_n "(cached) " >&6
   16742 else
   16743   ac_cv_libctf_tcl_try=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
   16744 if [llength [info commands try]] then { puts yes } else { puts no }
   16745 EOF
   16746 fi`
   16747 
   16748 fi
   16749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
   16750 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
   16751 
   16752 # Only native testing and only on supported platforms:
   16753  if test "${ac_cv_libctf_tcl_try}" = yes \
   16754 	-a "x${build_src}" = xtrue -a "x${build_collector}" = xtrue \
   16755 	-a "x${host}" = "x${target}"; then
   16756   TCL_TRY_TRUE=
   16757   TCL_TRY_FALSE='#'
   16758 else
   16759   TCL_TRY_TRUE='#'
   16760   TCL_TRY_FALSE=
   16761 fi
   16762 
   16763 
   16764 
   16765   # Use the system's zlib library.
   16766   zlibdir="-L\$(top_builddir)/../zlib"
   16767   zlibinc="-I\$(top_srcdir)/../zlib"
   16768 
   16769 # Check whether --with-system-zlib was given.
   16770 if test "${with_system_zlib+set}" = set; then :
   16771   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   16772     zlibdir=
   16773     zlibinc=
   16774   fi
   16775 
   16776 fi
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 # Generate manpages, if possible.
   16783 build_man=false
   16784 build_doc=false
   16785 if test $cross_compiling = no; then
   16786   for ac_prog in makeinfo
   16787 do
   16788   # Extract the first word of "$ac_prog", so it can be a program name with args.
   16789 set dummy $ac_prog; ac_word=$2
   16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16791 $as_echo_n "checking for $ac_word... " >&6; }
   16792 if ${ac_cv_prog_MAKEINFO+:} false; then :
   16793   $as_echo_n "(cached) " >&6
   16794 else
   16795   if test -n "$MAKEINFO"; then
   16796   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   16797 else
   16798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16799 for as_dir in $PATH
   16800 do
   16801   IFS=$as_save_IFS
   16802   test -z "$as_dir" && as_dir=.
   16803     for ac_exec_ext in '' $ac_executable_extensions; do
   16804   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16805     ac_cv_prog_MAKEINFO="$ac_prog"
   16806     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16807     break 2
   16808   fi
   16809 done
   16810   done
   16811 IFS=$as_save_IFS
   16812 
   16813 fi
   16814 fi
   16815 MAKEINFO=$ac_cv_prog_MAKEINFO
   16816 if test -n "$MAKEINFO"; then
   16817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   16818 $as_echo "$MAKEINFO" >&6; }
   16819 else
   16820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16821 $as_echo "no" >&6; }
   16822 fi
   16823 
   16824 
   16825   test -n "$MAKEINFO" && break
   16826 done
   16827 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   16828 
   16829   case "x$MAKEINFO" in
   16830     x | */missing\ makeinfo*)
   16831       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&5
   16832 $as_echo "$as_me: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&2;}
   16833       ;;
   16834     *)
   16835       case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
   16836 	x*\ [1-5].*|x*\ 6.[0-4].* )
   16837 	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&5
   16838 $as_echo "$as_me: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&2;}
   16839 	  MAKEINFO="@echo $MAKEINFO is too old, 6.5 or newer required; true"
   16840 	  ;;
   16841 	x* ) build_doc=true ;;
   16842 	esac
   16843       ;;
   16844     esac
   16845 
   16846 fi
   16847  if test x$build_man = xtrue; then
   16848   BUILD_MAN_TRUE=
   16849   BUILD_MAN_FALSE='#'
   16850 else
   16851   BUILD_MAN_TRUE='#'
   16852   BUILD_MAN_FALSE=
   16853 fi
   16854 
   16855  if test x$build_doc = xtrue; then
   16856   BUILD_DOC_TRUE=
   16857   BUILD_DOC_FALSE='#'
   16858 else
   16859   BUILD_DOC_TRUE='#'
   16860   BUILD_DOC_FALSE=
   16861 fi
   16862 
   16863 
   16864 LD_NO_AS_NEEDED=${no_as_needed}
   16865 
   16866 GPROFNG_CFLAGS=${gprofng_cflags}
   16867 
   16868 
   16869 
   16870 GPROFNG_CPPFLAGS=${gprofng_cppflags}
   16871 
   16872 
   16873 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   16874 if test "x$ac_cv_have_decl_basename" = xyes; then :
   16875   ac_have_decl=1
   16876 else
   16877   ac_have_decl=0
   16878 fi
   16879 
   16880 cat >>confdefs.h <<_ACEOF
   16881 #define HAVE_DECL_BASENAME $ac_have_decl
   16882 _ACEOF
   16883 
   16884 for ac_func in clock_gettime strsignal
   16885 do :
   16886   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   16888 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   16889   cat >>confdefs.h <<_ACEOF
   16890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16891 _ACEOF
   16892 
   16893 fi
   16894 done
   16895 
   16896 
   16897 clock_gettime_link=
   16898 # At least for glibc, clock_gettime is in librt.  But don't
   16899 # pull that in if it still doesn't give us the function we want.  This
   16900 # test is copied from libgomp, and modified to not link in -lrt as
   16901 # we're using this for test timing only.
   16902 if test "$ac_cv_func_clock_gettime" = no; then
   16903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   16904 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   16905 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   16906   $as_echo_n "(cached) " >&6
   16907 else
   16908   ac_check_lib_save_LIBS=$LIBS
   16909 LIBS="-lrt  $LIBS"
   16910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16911 /* end confdefs.h.  */
   16912 
   16913 /* Override any GCC internal prototype to avoid an error.
   16914    Use char because int might match the return type of a GCC
   16915    builtin and then its argument prototype would still apply.  */
   16916 #ifdef __cplusplus
   16917 extern "C"
   16918 #endif
   16919 char clock_gettime ();
   16920 int
   16921 main ()
   16922 {
   16923 return clock_gettime ();
   16924   ;
   16925   return 0;
   16926 }
   16927 _ACEOF
   16928 if ac_fn_c_try_link "$LINENO"; then :
   16929   ac_cv_lib_rt_clock_gettime=yes
   16930 else
   16931   ac_cv_lib_rt_clock_gettime=no
   16932 fi
   16933 rm -f core conftest.err conftest.$ac_objext \
   16934     conftest$ac_exeext conftest.$ac_ext
   16935 LIBS=$ac_check_lib_save_LIBS
   16936 fi
   16937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   16938 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   16939 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   16940   CLOCK_GETTIME_LINK=-lrt
   16941 
   16942 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   16943 
   16944 fi
   16945 
   16946 fi
   16947 
   16948 
   16949 
   16950 
   16951 ac_config_files="$ac_config_files Makefile src/Makefile gp-display-html/Makefile doc/Makefile"
   16952 
   16953 ac_config_headers="$ac_config_headers config.h:common/config.h.in"
   16954 
   16955 
   16956 cat >confcache <<\_ACEOF
   16957 # This file is a shell script that caches the results of configure
   16958 # tests run on this system so they can be shared between configure
   16959 # scripts and configure runs, see configure's option --config-cache.
   16960 # It is not useful on other systems.  If it contains results you don't
   16961 # want to keep, you may remove or edit it.
   16962 #
   16963 # config.status only pays attention to the cache file if you give it
   16964 # the --recheck option to rerun configure.
   16965 #
   16966 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16967 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16968 # following values.
   16969 
   16970 _ACEOF
   16971 
   16972 # The following way of writing the cache mishandles newlines in values,
   16973 # but we know of no workaround that is simple, portable, and efficient.
   16974 # So, we kill variables containing newlines.
   16975 # Ultrix sh set writes to stderr and can't be redirected directly,
   16976 # and sets the high bit in the cache file unless we assign to the vars.
   16977 (
   16978   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   16979     eval ac_val=\$$ac_var
   16980     case $ac_val in #(
   16981     *${as_nl}*)
   16982       case $ac_var in #(
   16983       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   16984 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   16985       esac
   16986       case $ac_var in #(
   16987       _ | IFS | as_nl) ;; #(
   16988       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   16989       *) { eval $ac_var=; unset $ac_var;} ;;
   16990       esac ;;
   16991     esac
   16992   done
   16993 
   16994   (set) 2>&1 |
   16995     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   16996     *${as_nl}ac_space=\ *)
   16997       # `set' does not quote correctly, so add quotes: double-quote
   16998       # substitution turns \\\\ into \\, and sed turns \\ into \.
   16999       sed -n \
   17000 	"s/'/'\\\\''/g;
   17001 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17002       ;; #(
   17003     *)
   17004       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17005       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17006       ;;
   17007     esac |
   17008     sort
   17009 ) |
   17010   sed '
   17011      /^ac_cv_env_/b end
   17012      t clear
   17013      :clear
   17014      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17015      t end
   17016      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17017      :end' >>confcache
   17018 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17019   if test -w "$cache_file"; then
   17020     if test "x$cache_file" != "x/dev/null"; then
   17021       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17022 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17023       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17024 	cat confcache >"$cache_file"
   17025       else
   17026         case $cache_file in #(
   17027         */* | ?:*)
   17028 	  mv -f confcache "$cache_file"$$ &&
   17029 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17030         *)
   17031 	  mv -f confcache "$cache_file" ;;
   17032 	esac
   17033       fi
   17034     fi
   17035   else
   17036     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17037 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17038   fi
   17039 fi
   17040 rm -f confcache
   17041 
   17042 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17043 # Let make expand exec_prefix.
   17044 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17045 
   17046 DEFS=-DHAVE_CONFIG_H
   17047 
   17048 ac_libobjs=
   17049 ac_ltlibobjs=
   17050 U=
   17051 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17052   # 1. Remove the extension, and $U if already installed.
   17053   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17054   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17055   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17056   #    will be set to the directory where LIBOBJS objects are built.
   17057   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17058   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17059 done
   17060 LIBOBJS=$ac_libobjs
   17061 
   17062 LTLIBOBJS=$ac_ltlibobjs
   17063 
   17064 
   17065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17066 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17067    if test -n "$am_sleep_pid"; then
   17068      # Hide warnings about reused PIDs.
   17069      wait $am_sleep_pid 2>/dev/null
   17070    fi
   17071    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17072 $as_echo "done" >&6; }
   17073  if test -n "$EXEEXT"; then
   17074   am__EXEEXT_TRUE=
   17075   am__EXEEXT_FALSE='#'
   17076 else
   17077   am__EXEEXT_TRUE='#'
   17078   am__EXEEXT_FALSE=
   17079 fi
   17080 
   17081 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17082   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17083 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17084 fi
   17085 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17086   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17087 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17088 fi
   17089 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17090   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17091 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17092 fi
   17093 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17094   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17095 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17096 fi
   17097 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   17098   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   17099 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17100 fi
   17101 if test -z "${BUILD_COLLECTOR_TRUE}" && test -z "${BUILD_COLLECTOR_FALSE}"; then
   17102   as_fn_error $? "conditional \"BUILD_COLLECTOR\" was never defined.
   17103 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17104 fi
   17105 if test -z "${BUILD_SRC_TRUE}" && test -z "${BUILD_SRC_FALSE}"; then
   17106   as_fn_error $? "conditional \"BUILD_SRC\" was never defined.
   17107 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17108 fi
   17109 if test -z "${TCL_TRY_TRUE}" && test -z "${TCL_TRY_FALSE}"; then
   17110   as_fn_error $? "conditional \"TCL_TRY\" was never defined.
   17111 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17112 fi
   17113 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
   17114   as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
   17115 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17116 fi
   17117 if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
   17118   as_fn_error $? "conditional \"BUILD_DOC\" was never defined.
   17119 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17120 fi
   17121 
   17122 : "${CONFIG_STATUS=./config.status}"
   17123 ac_write_fail=0
   17124 ac_clean_files_save=$ac_clean_files
   17125 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17126 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17127 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17128 as_write_fail=0
   17129 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17130 #! $SHELL
   17131 # Generated by $as_me.
   17132 # Run this file to recreate the current configuration.
   17133 # Compiler output produced by configure, useful for debugging
   17134 # configure, is in config.log if it exists.
   17135 
   17136 debug=false
   17137 ac_cs_recheck=false
   17138 ac_cs_silent=false
   17139 
   17140 SHELL=\${CONFIG_SHELL-$SHELL}
   17141 export SHELL
   17142 _ASEOF
   17143 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17144 ## -------------------- ##
   17145 ## M4sh Initialization. ##
   17146 ## -------------------- ##
   17147 
   17148 # Be more Bourne compatible
   17149 DUALCASE=1; export DUALCASE # for MKS sh
   17150 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17151   emulate sh
   17152   NULLCMD=:
   17153   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17154   # is contrary to our usage.  Disable this feature.
   17155   alias -g '${1+"$@"}'='"$@"'
   17156   setopt NO_GLOB_SUBST
   17157 else
   17158   case `(set -o) 2>/dev/null` in #(
   17159   *posix*) :
   17160     set -o posix ;; #(
   17161   *) :
   17162      ;;
   17163 esac
   17164 fi
   17165 
   17166 
   17167 as_nl='
   17168 '
   17169 export as_nl
   17170 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17171 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17172 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17173 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17174 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17175 # but without wasting forks for bash or zsh.
   17176 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17177     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17178   as_echo='print -r --'
   17179   as_echo_n='print -rn --'
   17180 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17181   as_echo='printf %s\n'
   17182   as_echo_n='printf %s'
   17183 else
   17184   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17185     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17186     as_echo_n='/usr/ucb/echo -n'
   17187   else
   17188     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17189     as_echo_n_body='eval
   17190       arg=$1;
   17191       case $arg in #(
   17192       *"$as_nl"*)
   17193 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17194 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17195       esac;
   17196       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17197     '
   17198     export as_echo_n_body
   17199     as_echo_n='sh -c $as_echo_n_body as_echo'
   17200   fi
   17201   export as_echo_body
   17202   as_echo='sh -c $as_echo_body as_echo'
   17203 fi
   17204 
   17205 # The user is always right.
   17206 if test "${PATH_SEPARATOR+set}" != set; then
   17207   PATH_SEPARATOR=:
   17208   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17209     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17210       PATH_SEPARATOR=';'
   17211   }
   17212 fi
   17213 
   17214 
   17215 # IFS
   17216 # We need space, tab and new line, in precisely that order.  Quoting is
   17217 # there to prevent editors from complaining about space-tab.
   17218 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17219 # splitting by setting IFS to empty value.)
   17220 IFS=" ""	$as_nl"
   17221 
   17222 # Find who we are.  Look in the path if we contain no directory separator.
   17223 as_myself=
   17224 case $0 in #((
   17225   *[\\/]* ) as_myself=$0 ;;
   17226   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17227 for as_dir in $PATH
   17228 do
   17229   IFS=$as_save_IFS
   17230   test -z "$as_dir" && as_dir=.
   17231     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17232   done
   17233 IFS=$as_save_IFS
   17234 
   17235      ;;
   17236 esac
   17237 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17238 # in which case we are not to be found in the path.
   17239 if test "x$as_myself" = x; then
   17240   as_myself=$0
   17241 fi
   17242 if test ! -f "$as_myself"; then
   17243   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17244   exit 1
   17245 fi
   17246 
   17247 # Unset variables that we do not need and which cause bugs (e.g. in
   17248 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17249 # suppresses any "Segmentation fault" message there.  '((' could
   17250 # trigger a bug in pdksh 5.2.14.
   17251 for as_var in BASH_ENV ENV MAIL MAILPATH
   17252 do eval test x\${$as_var+set} = xset \
   17253   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17254 done
   17255 PS1='$ '
   17256 PS2='> '
   17257 PS4='+ '
   17258 
   17259 # NLS nuisances.
   17260 LC_ALL=C
   17261 export LC_ALL
   17262 LANGUAGE=C
   17263 export LANGUAGE
   17264 
   17265 # CDPATH.
   17266 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17267 
   17268 
   17269 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17270 # ----------------------------------------
   17271 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17272 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17273 # script with STATUS, using 1 if that was 0.
   17274 as_fn_error ()
   17275 {
   17276   as_status=$1; test $as_status -eq 0 && as_status=1
   17277   if test "$4"; then
   17278     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17279     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17280   fi
   17281   $as_echo "$as_me: error: $2" >&2
   17282   as_fn_exit $as_status
   17283 } # as_fn_error
   17284 
   17285 
   17286 # as_fn_set_status STATUS
   17287 # -----------------------
   17288 # Set $? to STATUS, without forking.
   17289 as_fn_set_status ()
   17290 {
   17291   return $1
   17292 } # as_fn_set_status
   17293 
   17294 # as_fn_exit STATUS
   17295 # -----------------
   17296 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17297 as_fn_exit ()
   17298 {
   17299   set +e
   17300   as_fn_set_status $1
   17301   exit $1
   17302 } # as_fn_exit
   17303 
   17304 # as_fn_unset VAR
   17305 # ---------------
   17306 # Portably unset VAR.
   17307 as_fn_unset ()
   17308 {
   17309   { eval $1=; unset $1;}
   17310 }
   17311 as_unset=as_fn_unset
   17312 # as_fn_append VAR VALUE
   17313 # ----------------------
   17314 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17315 # advantage of any shell optimizations that allow amortized linear growth over
   17316 # repeated appends, instead of the typical quadratic growth present in naive
   17317 # implementations.
   17318 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17319   eval 'as_fn_append ()
   17320   {
   17321     eval $1+=\$2
   17322   }'
   17323 else
   17324   as_fn_append ()
   17325   {
   17326     eval $1=\$$1\$2
   17327   }
   17328 fi # as_fn_append
   17329 
   17330 # as_fn_arith ARG...
   17331 # ------------------
   17332 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17333 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17334 # must be portable across $(()) and expr.
   17335 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17336   eval 'as_fn_arith ()
   17337   {
   17338     as_val=$(( $* ))
   17339   }'
   17340 else
   17341   as_fn_arith ()
   17342   {
   17343     as_val=`expr "$@" || test $? -eq 1`
   17344   }
   17345 fi # as_fn_arith
   17346 
   17347 
   17348 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17349    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17350   as_expr=expr
   17351 else
   17352   as_expr=false
   17353 fi
   17354 
   17355 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17356   as_basename=basename
   17357 else
   17358   as_basename=false
   17359 fi
   17360 
   17361 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17362   as_dirname=dirname
   17363 else
   17364   as_dirname=false
   17365 fi
   17366 
   17367 as_me=`$as_basename -- "$0" ||
   17368 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17369 	 X"$0" : 'X\(//\)$' \| \
   17370 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17371 $as_echo X/"$0" |
   17372     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17373 	    s//\1/
   17374 	    q
   17375 	  }
   17376 	  /^X\/\(\/\/\)$/{
   17377 	    s//\1/
   17378 	    q
   17379 	  }
   17380 	  /^X\/\(\/\).*/{
   17381 	    s//\1/
   17382 	    q
   17383 	  }
   17384 	  s/.*/./; q'`
   17385 
   17386 # Avoid depending upon Character Ranges.
   17387 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17388 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17389 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17390 as_cr_digits='0123456789'
   17391 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17392 
   17393 ECHO_C= ECHO_N= ECHO_T=
   17394 case `echo -n x` in #(((((
   17395 -n*)
   17396   case `echo 'xy\c'` in
   17397   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17398   xy)  ECHO_C='\c';;
   17399   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17400        ECHO_T='	';;
   17401   esac;;
   17402 *)
   17403   ECHO_N='-n';;
   17404 esac
   17405 
   17406 rm -f conf$$ conf$$.exe conf$$.file
   17407 if test -d conf$$.dir; then
   17408   rm -f conf$$.dir/conf$$.file
   17409 else
   17410   rm -f conf$$.dir
   17411   mkdir conf$$.dir 2>/dev/null
   17412 fi
   17413 if (echo >conf$$.file) 2>/dev/null; then
   17414   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17415     as_ln_s='ln -s'
   17416     # ... but there are two gotchas:
   17417     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17418     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17419     # In both cases, we have to default to `cp -pR'.
   17420     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17421       as_ln_s='cp -pR'
   17422   elif ln conf$$.file conf$$ 2>/dev/null; then
   17423     as_ln_s=ln
   17424   else
   17425     as_ln_s='cp -pR'
   17426   fi
   17427 else
   17428   as_ln_s='cp -pR'
   17429 fi
   17430 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17431 rmdir conf$$.dir 2>/dev/null
   17432 
   17433 
   17434 # as_fn_mkdir_p
   17435 # -------------
   17436 # Create "$as_dir" as a directory, including parents if necessary.
   17437 as_fn_mkdir_p ()
   17438 {
   17439 
   17440   case $as_dir in #(
   17441   -*) as_dir=./$as_dir;;
   17442   esac
   17443   test -d "$as_dir" || eval $as_mkdir_p || {
   17444     as_dirs=
   17445     while :; do
   17446       case $as_dir in #(
   17447       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17448       *) as_qdir=$as_dir;;
   17449       esac
   17450       as_dirs="'$as_qdir' $as_dirs"
   17451       as_dir=`$as_dirname -- "$as_dir" ||
   17452 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17453 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17454 	 X"$as_dir" : 'X\(//\)$' \| \
   17455 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17456 $as_echo X"$as_dir" |
   17457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17458 	    s//\1/
   17459 	    q
   17460 	  }
   17461 	  /^X\(\/\/\)[^/].*/{
   17462 	    s//\1/
   17463 	    q
   17464 	  }
   17465 	  /^X\(\/\/\)$/{
   17466 	    s//\1/
   17467 	    q
   17468 	  }
   17469 	  /^X\(\/\).*/{
   17470 	    s//\1/
   17471 	    q
   17472 	  }
   17473 	  s/.*/./; q'`
   17474       test -d "$as_dir" && break
   17475     done
   17476     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17477   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17478 
   17479 
   17480 } # as_fn_mkdir_p
   17481 if mkdir -p . 2>/dev/null; then
   17482   as_mkdir_p='mkdir -p "$as_dir"'
   17483 else
   17484   test -d ./-p && rmdir ./-p
   17485   as_mkdir_p=false
   17486 fi
   17487 
   17488 
   17489 # as_fn_executable_p FILE
   17490 # -----------------------
   17491 # Test if FILE is an executable regular file.
   17492 as_fn_executable_p ()
   17493 {
   17494   test -f "$1" && test -x "$1"
   17495 } # as_fn_executable_p
   17496 as_test_x='test -x'
   17497 as_executable_p=as_fn_executable_p
   17498 
   17499 # Sed expression to map a string onto a valid CPP name.
   17500 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17501 
   17502 # Sed expression to map a string onto a valid variable name.
   17503 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17504 
   17505 
   17506 exec 6>&1
   17507 ## ----------------------------------- ##
   17508 ## Main body of $CONFIG_STATUS script. ##
   17509 ## ----------------------------------- ##
   17510 _ASEOF
   17511 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17512 
   17513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17514 # Save the log message, to keep $0 and so on meaningful, and to
   17515 # report actual input values of CONFIG_FILES etc. instead of their
   17516 # values after options handling.
   17517 ac_log="
   17518 This file was extended by gprofng $as_me 2.42, which was
   17519 generated by GNU Autoconf 2.69.  Invocation command line was
   17520 
   17521   CONFIG_FILES    = $CONFIG_FILES
   17522   CONFIG_HEADERS  = $CONFIG_HEADERS
   17523   CONFIG_LINKS    = $CONFIG_LINKS
   17524   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17525   $ $0 $@
   17526 
   17527 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17528 "
   17529 
   17530 _ACEOF
   17531 
   17532 case $ac_config_files in *"
   17533 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17534 esac
   17535 
   17536 case $ac_config_headers in *"
   17537 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17538 esac
   17539 
   17540 
   17541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17542 # Files that config.status was made for.
   17543 config_files="$ac_config_files"
   17544 config_headers="$ac_config_headers"
   17545 config_commands="$ac_config_commands"
   17546 
   17547 _ACEOF
   17548 
   17549 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17550 ac_cs_usage="\
   17551 \`$as_me' instantiates files and other configuration actions
   17552 from templates according to the current configuration.  Unless the files
   17553 and actions are specified as TAGs, all are instantiated by default.
   17554 
   17555 Usage: $0 [OPTION]... [TAG]...
   17556 
   17557   -h, --help       print this help, then exit
   17558   -V, --version    print version number and configuration settings, then exit
   17559       --config     print configuration, then exit
   17560   -q, --quiet, --silent
   17561                    do not print progress messages
   17562   -d, --debug      don't remove temporary files
   17563       --recheck    update $as_me by reconfiguring in the same conditions
   17564       --file=FILE[:TEMPLATE]
   17565                    instantiate the configuration file FILE
   17566       --header=FILE[:TEMPLATE]
   17567                    instantiate the configuration header FILE
   17568 
   17569 Configuration files:
   17570 $config_files
   17571 
   17572 Configuration headers:
   17573 $config_headers
   17574 
   17575 Configuration commands:
   17576 $config_commands
   17577 
   17578 Report bugs to the package provider."
   17579 
   17580 _ACEOF
   17581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17582 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17583 ac_cs_version="\\
   17584 gprofng config.status 2.42
   17585 configured by $0, generated by GNU Autoconf 2.69,
   17586   with options \\"\$ac_cs_config\\"
   17587 
   17588 Copyright (C) 2012 Free Software Foundation, Inc.
   17589 This config.status script is free software; the Free Software Foundation
   17590 gives unlimited permission to copy, distribute and modify it."
   17591 
   17592 ac_pwd='$ac_pwd'
   17593 srcdir='$srcdir'
   17594 INSTALL='$INSTALL'
   17595 MKDIR_P='$MKDIR_P'
   17596 AWK='$AWK'
   17597 test -n "\$AWK" || AWK=awk
   17598 _ACEOF
   17599 
   17600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17601 # The default lists apply if the user does not specify any file.
   17602 ac_need_defaults=:
   17603 while test $# != 0
   17604 do
   17605   case $1 in
   17606   --*=?*)
   17607     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17608     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17609     ac_shift=:
   17610     ;;
   17611   --*=)
   17612     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17613     ac_optarg=
   17614     ac_shift=:
   17615     ;;
   17616   *)
   17617     ac_option=$1
   17618     ac_optarg=$2
   17619     ac_shift=shift
   17620     ;;
   17621   esac
   17622 
   17623   case $ac_option in
   17624   # Handling of the options.
   17625   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17626     ac_cs_recheck=: ;;
   17627   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17628     $as_echo "$ac_cs_version"; exit ;;
   17629   --config | --confi | --conf | --con | --co | --c )
   17630     $as_echo "$ac_cs_config"; exit ;;
   17631   --debug | --debu | --deb | --de | --d | -d )
   17632     debug=: ;;
   17633   --file | --fil | --fi | --f )
   17634     $ac_shift
   17635     case $ac_optarg in
   17636     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17637     '') as_fn_error $? "missing file argument" ;;
   17638     esac
   17639     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17640     ac_need_defaults=false;;
   17641   --header | --heade | --head | --hea )
   17642     $ac_shift
   17643     case $ac_optarg in
   17644     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17645     esac
   17646     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17647     ac_need_defaults=false;;
   17648   --he | --h)
   17649     # Conflict between --help and --header
   17650     as_fn_error $? "ambiguous option: \`$1'
   17651 Try \`$0 --help' for more information.";;
   17652   --help | --hel | -h )
   17653     $as_echo "$ac_cs_usage"; exit ;;
   17654   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17655   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17656     ac_cs_silent=: ;;
   17657 
   17658   # This is an error.
   17659   -*) as_fn_error $? "unrecognized option: \`$1'
   17660 Try \`$0 --help' for more information." ;;
   17661 
   17662   *) as_fn_append ac_config_targets " $1"
   17663      ac_need_defaults=false ;;
   17664 
   17665   esac
   17666   shift
   17667 done
   17668 
   17669 ac_configure_extra_args=
   17670 
   17671 if $ac_cs_silent; then
   17672   exec 6>/dev/null
   17673   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17674 fi
   17675 
   17676 _ACEOF
   17677 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17678 if \$ac_cs_recheck; then
   17679   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17680   shift
   17681   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17682   CONFIG_SHELL='$SHELL'
   17683   export CONFIG_SHELL
   17684   exec "\$@"
   17685 fi
   17686 
   17687 _ACEOF
   17688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17689 exec 5>>config.log
   17690 {
   17691   echo
   17692   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17693 ## Running $as_me. ##
   17694 _ASBOX
   17695   $as_echo "$ac_log"
   17696 } >&5
   17697 
   17698 _ACEOF
   17699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17700 #
   17701 # INIT-COMMANDS
   17702 #
   17703 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17704 
   17705 
   17706 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17707 # if CDPATH is set.
   17708 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17709 
   17710 sed_quote_subst='$sed_quote_subst'
   17711 double_quote_subst='$double_quote_subst'
   17712 delay_variable_subst='$delay_variable_subst'
   17713 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   17714 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   17715 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   17716 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   17717 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   17718 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   17719 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   17720 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   17721 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   17722 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   17723 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   17724 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   17725 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   17726 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   17727 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   17728 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   17729 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   17730 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   17731 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   17732 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   17733 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   17734 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   17735 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   17736 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   17737 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   17738 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   17739 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   17740 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   17741 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   17742 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   17743 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   17744 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   17745 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   17746 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   17747 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   17748 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   17749 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   17750 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17751 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17752 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   17753 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   17754 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   17755 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   17756 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   17757 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   17758 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   17759 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   17760 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   17761 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"`'
   17762 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   17763 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   17764 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   17765 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   17766 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   17767 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   17768 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   17769 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   17770 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   17771 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   17772 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   17773 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   17774 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   17775 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   17776 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   17777 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17778 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   17779 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   17780 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   17781 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   17782 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   17783 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   17784 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   17785 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   17786 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17787 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   17788 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   17789 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   17790 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17791 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   17792 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   17793 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   17794 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   17795 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   17796 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   17797 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   17798 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17799 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   17800 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   17801 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   17802 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   17803 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   17804 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   17805 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   17806 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   17807 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   17808 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   17809 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   17810 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   17811 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   17812 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   17813 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   17814 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   17815 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   17816 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   17817 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   17818 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   17819 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   17820 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   17821 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   17822 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   17823 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   17824 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   17825 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   17826 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   17827 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   17828 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   17829 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   17830 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   17831 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   17832 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   17833 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   17834 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   17835 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   17836 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   17837 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   17838 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   17839 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   17840 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17841 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17842 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17843 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   17844 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   17845 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17846 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   17847 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   17848 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   17849 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   17850 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   17851 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   17852 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17853 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17854 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   17855 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17856 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17857 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17858 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17859 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17860 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17861 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17862 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17863 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   17864 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17865 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   17866 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   17867 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   17868 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   17869 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   17870 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   17871 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   17872 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   17873 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   17874 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   17875 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   17876 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17877 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17878 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   17879 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   17880 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   17881 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   17882 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   17883 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17884 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   17885 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   17886 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   17887 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   17888 
   17889 LTCC='$LTCC'
   17890 LTCFLAGS='$LTCFLAGS'
   17891 compiler='$compiler_DEFAULT'
   17892 
   17893 # A function that is used when there is no print builtin or printf.
   17894 func_fallback_echo ()
   17895 {
   17896   eval 'cat <<_LTECHO_EOF
   17897 \$1
   17898 _LTECHO_EOF'
   17899 }
   17900 
   17901 # Quote evaled strings.
   17902 for var in SHELL \
   17903 ECHO \
   17904 SED \
   17905 GREP \
   17906 EGREP \
   17907 FGREP \
   17908 LD \
   17909 NM \
   17910 LN_S \
   17911 lt_SP2NL \
   17912 lt_NL2SP \
   17913 reload_flag \
   17914 OBJDUMP \
   17915 deplibs_check_method \
   17916 file_magic_cmd \
   17917 AR \
   17918 AR_FLAGS \
   17919 STRIP \
   17920 RANLIB \
   17921 CC \
   17922 CFLAGS \
   17923 compiler \
   17924 lt_cv_sys_global_symbol_pipe \
   17925 lt_cv_sys_global_symbol_to_cdecl \
   17926 lt_cv_sys_global_symbol_to_c_name_address \
   17927 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   17928 lt_prog_compiler_no_builtin_flag \
   17929 lt_prog_compiler_wl \
   17930 lt_prog_compiler_pic \
   17931 lt_prog_compiler_static \
   17932 lt_cv_prog_compiler_c_o \
   17933 need_locks \
   17934 DSYMUTIL \
   17935 NMEDIT \
   17936 LIPO \
   17937 OTOOL \
   17938 OTOOL64 \
   17939 shrext_cmds \
   17940 export_dynamic_flag_spec \
   17941 whole_archive_flag_spec \
   17942 compiler_needs_object \
   17943 with_gnu_ld \
   17944 allow_undefined_flag \
   17945 no_undefined_flag \
   17946 hardcode_libdir_flag_spec \
   17947 hardcode_libdir_flag_spec_ld \
   17948 hardcode_libdir_separator \
   17949 fix_srcfile_path \
   17950 exclude_expsyms \
   17951 include_expsyms \
   17952 file_list_spec \
   17953 variables_saved_for_relink \
   17954 libname_spec \
   17955 library_names_spec \
   17956 soname_spec \
   17957 install_override_mode \
   17958 finish_eval \
   17959 old_striplib \
   17960 striplib \
   17961 compiler_lib_search_dirs \
   17962 predep_objects \
   17963 postdep_objects \
   17964 predeps \
   17965 postdeps \
   17966 compiler_lib_search_path \
   17967 LD_CXX \
   17968 reload_flag_CXX \
   17969 compiler_CXX \
   17970 lt_prog_compiler_no_builtin_flag_CXX \
   17971 lt_prog_compiler_wl_CXX \
   17972 lt_prog_compiler_pic_CXX \
   17973 lt_prog_compiler_static_CXX \
   17974 lt_cv_prog_compiler_c_o_CXX \
   17975 export_dynamic_flag_spec_CXX \
   17976 whole_archive_flag_spec_CXX \
   17977 compiler_needs_object_CXX \
   17978 with_gnu_ld_CXX \
   17979 allow_undefined_flag_CXX \
   17980 no_undefined_flag_CXX \
   17981 hardcode_libdir_flag_spec_CXX \
   17982 hardcode_libdir_flag_spec_ld_CXX \
   17983 hardcode_libdir_separator_CXX \
   17984 fix_srcfile_path_CXX \
   17985 exclude_expsyms_CXX \
   17986 include_expsyms_CXX \
   17987 file_list_spec_CXX \
   17988 compiler_lib_search_dirs_CXX \
   17989 predep_objects_CXX \
   17990 postdep_objects_CXX \
   17991 predeps_CXX \
   17992 postdeps_CXX \
   17993 compiler_lib_search_path_CXX; do
   17994     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   17995     *[\\\\\\\`\\"\\\$]*)
   17996       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   17997       ;;
   17998     *)
   17999       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18000       ;;
   18001     esac
   18002 done
   18003 
   18004 # Double-quote double-evaled strings.
   18005 for var in reload_cmds \
   18006 old_postinstall_cmds \
   18007 old_postuninstall_cmds \
   18008 old_archive_cmds \
   18009 extract_expsyms_cmds \
   18010 old_archive_from_new_cmds \
   18011 old_archive_from_expsyms_cmds \
   18012 archive_cmds \
   18013 archive_expsym_cmds \
   18014 module_cmds \
   18015 module_expsym_cmds \
   18016 export_symbols_cmds \
   18017 prelink_cmds \
   18018 postinstall_cmds \
   18019 postuninstall_cmds \
   18020 finish_cmds \
   18021 sys_lib_search_path_spec \
   18022 sys_lib_dlsearch_path_spec \
   18023 reload_cmds_CXX \
   18024 old_archive_cmds_CXX \
   18025 old_archive_from_new_cmds_CXX \
   18026 old_archive_from_expsyms_cmds_CXX \
   18027 archive_cmds_CXX \
   18028 archive_expsym_cmds_CXX \
   18029 module_cmds_CXX \
   18030 module_expsym_cmds_CXX \
   18031 export_symbols_cmds_CXX \
   18032 prelink_cmds_CXX; do
   18033     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18034     *[\\\\\\\`\\"\\\$]*)
   18035       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18036       ;;
   18037     *)
   18038       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18039       ;;
   18040     esac
   18041 done
   18042 
   18043 ac_aux_dir='$ac_aux_dir'
   18044 xsi_shell='$xsi_shell'
   18045 lt_shell_append='$lt_shell_append'
   18046 
   18047 # See if we are running on zsh, and set the options which allow our
   18048 # commands through without removal of \ escapes INIT.
   18049 if test -n "\${ZSH_VERSION+set}" ; then
   18050    setopt NO_GLOB_SUBST
   18051 fi
   18052 
   18053 
   18054     PACKAGE='$PACKAGE'
   18055     VERSION='$VERSION'
   18056     TIMESTAMP='$TIMESTAMP'
   18057     RM='$RM'
   18058     ofile='$ofile'
   18059 
   18060 
   18061 
   18062 
   18063 
   18064 
   18065 _ACEOF
   18066 
   18067 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18068 
   18069 # Handling of arguments.
   18070 for ac_config_target in $ac_config_targets
   18071 do
   18072   case $ac_config_target in
   18073     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18074     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18075     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18076     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18077     "gp-display-html/Makefile") CONFIG_FILES="$CONFIG_FILES gp-display-html/Makefile" ;;
   18078     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   18079     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:common/config.h.in" ;;
   18080 
   18081   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18082   esac
   18083 done
   18084 
   18085 
   18086 # If the user did not use the arguments to specify the items to instantiate,
   18087 # then the envvar interface is used.  Set only those that are not.
   18088 # We use the long form for the default assignment because of an extremely
   18089 # bizarre bug on SunOS 4.1.3.
   18090 if $ac_need_defaults; then
   18091   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18092   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18093   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18094 fi
   18095 
   18096 # Have a temporary directory for convenience.  Make it in the build tree
   18097 # simply because there is no reason against having it here, and in addition,
   18098 # creating and moving files from /tmp can sometimes cause problems.
   18099 # Hook for its removal unless debugging.
   18100 # Note that there is a small window in which the directory will not be cleaned:
   18101 # after its creation but before its name has been assigned to `$tmp'.
   18102 $debug ||
   18103 {
   18104   tmp= ac_tmp=
   18105   trap 'exit_status=$?
   18106   : "${ac_tmp:=$tmp}"
   18107   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18108 ' 0
   18109   trap 'as_fn_exit 1' 1 2 13 15
   18110 }
   18111 # Create a (secure) tmp directory for tmp files.
   18112 
   18113 {
   18114   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18115   test -d "$tmp"
   18116 }  ||
   18117 {
   18118   tmp=./conf$$-$RANDOM
   18119   (umask 077 && mkdir "$tmp")
   18120 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18121 ac_tmp=$tmp
   18122 
   18123 # Set up the scripts for CONFIG_FILES section.
   18124 # No need to generate them if there are no CONFIG_FILES.
   18125 # This happens for instance with `./config.status config.h'.
   18126 if test -n "$CONFIG_FILES"; then
   18127 
   18128 
   18129 ac_cr=`echo X | tr X '\015'`
   18130 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18131 # But we know of no other shell where ac_cr would be empty at this
   18132 # point, so we can use a bashism as a fallback.
   18133 if test "x$ac_cr" = x; then
   18134   eval ac_cr=\$\'\\r\'
   18135 fi
   18136 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18137 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18138   ac_cs_awk_cr='\\r'
   18139 else
   18140   ac_cs_awk_cr=$ac_cr
   18141 fi
   18142 
   18143 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18144 _ACEOF
   18145 
   18146 
   18147 {
   18148   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18149   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18150   echo "_ACEOF"
   18151 } >conf$$subs.sh ||
   18152   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18153 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18154 ac_delim='%!_!# '
   18155 for ac_last_try in false false false false false :; do
   18156   . ./conf$$subs.sh ||
   18157     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18158 
   18159   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18160   if test $ac_delim_n = $ac_delim_num; then
   18161     break
   18162   elif $ac_last_try; then
   18163     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18164   else
   18165     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18166   fi
   18167 done
   18168 rm -f conf$$subs.sh
   18169 
   18170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18171 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18172 _ACEOF
   18173 sed -n '
   18174 h
   18175 s/^/S["/; s/!.*/"]=/
   18176 p
   18177 g
   18178 s/^[^!]*!//
   18179 :repl
   18180 t repl
   18181 s/'"$ac_delim"'$//
   18182 t delim
   18183 :nl
   18184 h
   18185 s/\(.\{148\}\)..*/\1/
   18186 t more1
   18187 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18188 p
   18189 n
   18190 b repl
   18191 :more1
   18192 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18193 p
   18194 g
   18195 s/.\{148\}//
   18196 t nl
   18197 :delim
   18198 h
   18199 s/\(.\{148\}\)..*/\1/
   18200 t more2
   18201 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18202 p
   18203 b
   18204 :more2
   18205 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18206 p
   18207 g
   18208 s/.\{148\}//
   18209 t delim
   18210 ' <conf$$subs.awk | sed '
   18211 /^[^""]/{
   18212   N
   18213   s/\n//
   18214 }
   18215 ' >>$CONFIG_STATUS || ac_write_fail=1
   18216 rm -f conf$$subs.awk
   18217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18218 _ACAWK
   18219 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18220   for (key in S) S_is_set[key] = 1
   18221   FS = ""
   18222 
   18223 }
   18224 {
   18225   line = $ 0
   18226   nfields = split(line, field, "@")
   18227   substed = 0
   18228   len = length(field[1])
   18229   for (i = 2; i < nfields; i++) {
   18230     key = field[i]
   18231     keylen = length(key)
   18232     if (S_is_set[key]) {
   18233       value = S[key]
   18234       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18235       len += length(value) + length(field[++i])
   18236       substed = 1
   18237     } else
   18238       len += 1 + keylen
   18239   }
   18240 
   18241   print line
   18242 }
   18243 
   18244 _ACAWK
   18245 _ACEOF
   18246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18247 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18248   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18249 else
   18250   cat
   18251 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18252   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18253 _ACEOF
   18254 
   18255 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18256 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18257 # trailing colons and then remove the whole line if VPATH becomes empty
   18258 # (actually we leave an empty line to preserve line numbers).
   18259 if test "x$srcdir" = x.; then
   18260   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18261 h
   18262 s///
   18263 s/^/:/
   18264 s/[	 ]*$/:/
   18265 s/:\$(srcdir):/:/g
   18266 s/:\${srcdir}:/:/g
   18267 s/:@srcdir@:/:/g
   18268 s/^:*//
   18269 s/:*$//
   18270 x
   18271 s/\(=[	 ]*\).*/\1/
   18272 G
   18273 s/\n//
   18274 s/^[^=]*=[	 ]*$//
   18275 }'
   18276 fi
   18277 
   18278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18279 fi # test -n "$CONFIG_FILES"
   18280 
   18281 # Set up the scripts for CONFIG_HEADERS section.
   18282 # No need to generate them if there are no CONFIG_HEADERS.
   18283 # This happens for instance with `./config.status Makefile'.
   18284 if test -n "$CONFIG_HEADERS"; then
   18285 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18286 BEGIN {
   18287 _ACEOF
   18288 
   18289 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18290 # here-document in config.status, that substitutes the proper values into
   18291 # config.h.in to produce config.h.
   18292 
   18293 # Create a delimiter string that does not exist in confdefs.h, to ease
   18294 # handling of long lines.
   18295 ac_delim='%!_!# '
   18296 for ac_last_try in false false :; do
   18297   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18298   if test -z "$ac_tt"; then
   18299     break
   18300   elif $ac_last_try; then
   18301     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18302   else
   18303     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18304   fi
   18305 done
   18306 
   18307 # For the awk script, D is an array of macro values keyed by name,
   18308 # likewise P contains macro parameters if any.  Preserve backslash
   18309 # newline sequences.
   18310 
   18311 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18312 sed -n '
   18313 s/.\{148\}/&'"$ac_delim"'/g
   18314 t rset
   18315 :rset
   18316 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18317 t def
   18318 d
   18319 :def
   18320 s/\\$//
   18321 t bsnl
   18322 s/["\\]/\\&/g
   18323 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18324 D["\1"]=" \3"/p
   18325 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18326 d
   18327 :bsnl
   18328 s/["\\]/\\&/g
   18329 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18330 D["\1"]=" \3\\\\\\n"\\/p
   18331 t cont
   18332 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18333 t cont
   18334 d
   18335 :cont
   18336 n
   18337 s/.\{148\}/&'"$ac_delim"'/g
   18338 t clear
   18339 :clear
   18340 s/\\$//
   18341 t bsnlc
   18342 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18343 d
   18344 :bsnlc
   18345 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18346 b cont
   18347 ' <confdefs.h | sed '
   18348 s/'"$ac_delim"'/"\\\
   18349 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18350 
   18351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18352   for (key in D) D_is_set[key] = 1
   18353   FS = ""
   18354 }
   18355 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18356   line = \$ 0
   18357   split(line, arg, " ")
   18358   if (arg[1] == "#") {
   18359     defundef = arg[2]
   18360     mac1 = arg[3]
   18361   } else {
   18362     defundef = substr(arg[1], 2)
   18363     mac1 = arg[2]
   18364   }
   18365   split(mac1, mac2, "(") #)
   18366   macro = mac2[1]
   18367   prefix = substr(line, 1, index(line, defundef) - 1)
   18368   if (D_is_set[macro]) {
   18369     # Preserve the white space surrounding the "#".
   18370     print prefix "define", macro P[macro] D[macro]
   18371     next
   18372   } else {
   18373     # Replace #undef with comments.  This is necessary, for example,
   18374     # in the case of _POSIX_SOURCE, which is predefined and required
   18375     # on some systems where configure will not decide to define it.
   18376     if (defundef == "undef") {
   18377       print "/*", prefix defundef, macro, "*/"
   18378       next
   18379     }
   18380   }
   18381 }
   18382 { print }
   18383 _ACAWK
   18384 _ACEOF
   18385 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18386   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18387 fi # test -n "$CONFIG_HEADERS"
   18388 
   18389 
   18390 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18391 shift
   18392 for ac_tag
   18393 do
   18394   case $ac_tag in
   18395   :[FHLC]) ac_mode=$ac_tag; continue;;
   18396   esac
   18397   case $ac_mode$ac_tag in
   18398   :[FHL]*:*);;
   18399   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18400   :[FH]-) ac_tag=-:-;;
   18401   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18402   esac
   18403   ac_save_IFS=$IFS
   18404   IFS=:
   18405   set x $ac_tag
   18406   IFS=$ac_save_IFS
   18407   shift
   18408   ac_file=$1
   18409   shift
   18410 
   18411   case $ac_mode in
   18412   :L) ac_source=$1;;
   18413   :[FH])
   18414     ac_file_inputs=
   18415     for ac_f
   18416     do
   18417       case $ac_f in
   18418       -) ac_f="$ac_tmp/stdin";;
   18419       *) # Look for the file first in the build tree, then in the source tree
   18420 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18421 	 # because $ac_f cannot contain `:'.
   18422 	 test -f "$ac_f" ||
   18423 	   case $ac_f in
   18424 	   [\\/$]*) false;;
   18425 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18426 	   esac ||
   18427 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18428       esac
   18429       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18430       as_fn_append ac_file_inputs " '$ac_f'"
   18431     done
   18432 
   18433     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18434     # use $as_me), people would be surprised to read:
   18435     #    /* config.h.  Generated by config.status.  */
   18436     configure_input='Generated from '`
   18437 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18438 	`' by configure.'
   18439     if test x"$ac_file" != x-; then
   18440       configure_input="$ac_file.  $configure_input"
   18441       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18442 $as_echo "$as_me: creating $ac_file" >&6;}
   18443     fi
   18444     # Neutralize special characters interpreted by sed in replacement strings.
   18445     case $configure_input in #(
   18446     *\&* | *\|* | *\\* )
   18447        ac_sed_conf_input=`$as_echo "$configure_input" |
   18448        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18449     *) ac_sed_conf_input=$configure_input;;
   18450     esac
   18451 
   18452     case $ac_tag in
   18453     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18454       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18455     esac
   18456     ;;
   18457   esac
   18458 
   18459   ac_dir=`$as_dirname -- "$ac_file" ||
   18460 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18461 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18462 	 X"$ac_file" : 'X\(//\)$' \| \
   18463 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18464 $as_echo X"$ac_file" |
   18465     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18466 	    s//\1/
   18467 	    q
   18468 	  }
   18469 	  /^X\(\/\/\)[^/].*/{
   18470 	    s//\1/
   18471 	    q
   18472 	  }
   18473 	  /^X\(\/\/\)$/{
   18474 	    s//\1/
   18475 	    q
   18476 	  }
   18477 	  /^X\(\/\).*/{
   18478 	    s//\1/
   18479 	    q
   18480 	  }
   18481 	  s/.*/./; q'`
   18482   as_dir="$ac_dir"; as_fn_mkdir_p
   18483   ac_builddir=.
   18484 
   18485 case "$ac_dir" in
   18486 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18487 *)
   18488   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18489   # A ".." for each directory in $ac_dir_suffix.
   18490   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18491   case $ac_top_builddir_sub in
   18492   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18493   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18494   esac ;;
   18495 esac
   18496 ac_abs_top_builddir=$ac_pwd
   18497 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18498 # for backward compatibility:
   18499 ac_top_builddir=$ac_top_build_prefix
   18500 
   18501 case $srcdir in
   18502   .)  # We are building in place.
   18503     ac_srcdir=.
   18504     ac_top_srcdir=$ac_top_builddir_sub
   18505     ac_abs_top_srcdir=$ac_pwd ;;
   18506   [\\/]* | ?:[\\/]* )  # Absolute name.
   18507     ac_srcdir=$srcdir$ac_dir_suffix;
   18508     ac_top_srcdir=$srcdir
   18509     ac_abs_top_srcdir=$srcdir ;;
   18510   *) # Relative name.
   18511     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18512     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18513     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18514 esac
   18515 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18516 
   18517 
   18518   case $ac_mode in
   18519   :F)
   18520   #
   18521   # CONFIG_FILE
   18522   #
   18523 
   18524   case $INSTALL in
   18525   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18526   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18527   esac
   18528   ac_MKDIR_P=$MKDIR_P
   18529   case $MKDIR_P in
   18530   [\\/$]* | ?:[\\/]* ) ;;
   18531   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18532   esac
   18533 _ACEOF
   18534 
   18535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18536 # If the template does not know about datarootdir, expand it.
   18537 # FIXME: This hack should be removed a few years after 2.60.
   18538 ac_datarootdir_hack=; ac_datarootdir_seen=
   18539 ac_sed_dataroot='
   18540 /datarootdir/ {
   18541   p
   18542   q
   18543 }
   18544 /@datadir@/p
   18545 /@docdir@/p
   18546 /@infodir@/p
   18547 /@localedir@/p
   18548 /@mandir@/p'
   18549 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18550 *datarootdir*) ac_datarootdir_seen=yes;;
   18551 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18552   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18553 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18554 _ACEOF
   18555 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18556   ac_datarootdir_hack='
   18557   s&@datadir@&$datadir&g
   18558   s&@docdir@&$docdir&g
   18559   s&@infodir@&$infodir&g
   18560   s&@localedir@&$localedir&g
   18561   s&@mandir@&$mandir&g
   18562   s&\\\${datarootdir}&$datarootdir&g' ;;
   18563 esac
   18564 _ACEOF
   18565 
   18566 # Neutralize VPATH when `$srcdir' = `.'.
   18567 # Shell code in configure.ac might set extrasub.
   18568 # FIXME: do we really want to maintain this feature?
   18569 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18570 ac_sed_extra="$ac_vpsub
   18571 $extrasub
   18572 _ACEOF
   18573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18574 :t
   18575 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18576 s|@configure_input@|$ac_sed_conf_input|;t t
   18577 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18578 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18579 s&@srcdir@&$ac_srcdir&;t t
   18580 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18581 s&@top_srcdir@&$ac_top_srcdir&;t t
   18582 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18583 s&@builddir@&$ac_builddir&;t t
   18584 s&@abs_builddir@&$ac_abs_builddir&;t t
   18585 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18586 s&@INSTALL@&$ac_INSTALL&;t t
   18587 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18588 $ac_datarootdir_hack
   18589 "
   18590 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   18591   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18592 
   18593 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18594   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   18595   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   18596       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   18597   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18598 which seems to be undefined.  Please make sure it is defined" >&5
   18599 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18600 which seems to be undefined.  Please make sure it is defined" >&2;}
   18601 
   18602   rm -f "$ac_tmp/stdin"
   18603   case $ac_file in
   18604   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18605   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18606   esac \
   18607   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18608  ;;
   18609   :H)
   18610   #
   18611   # CONFIG_HEADER
   18612   #
   18613   if test x"$ac_file" != x-; then
   18614     {
   18615       $as_echo "/* $configure_input  */" \
   18616       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   18617     } >"$ac_tmp/config.h" \
   18618       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18619     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   18620       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18621 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18622     else
   18623       rm -f "$ac_file"
   18624       mv "$ac_tmp/config.h" "$ac_file" \
   18625 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18626     fi
   18627   else
   18628     $as_echo "/* $configure_input  */" \
   18629       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   18630       || as_fn_error $? "could not create -" "$LINENO" 5
   18631   fi
   18632 # Compute "$ac_file"'s index in $config_headers.
   18633 _am_arg="$ac_file"
   18634 _am_stamp_count=1
   18635 for _am_header in $config_headers :; do
   18636   case $_am_header in
   18637     $_am_arg | $_am_arg:* )
   18638       break ;;
   18639     * )
   18640       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18641   esac
   18642 done
   18643 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18644 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18645 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18646 	 X"$_am_arg" : 'X\(//\)$' \| \
   18647 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18648 $as_echo X"$_am_arg" |
   18649     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18650 	    s//\1/
   18651 	    q
   18652 	  }
   18653 	  /^X\(\/\/\)[^/].*/{
   18654 	    s//\1/
   18655 	    q
   18656 	  }
   18657 	  /^X\(\/\/\)$/{
   18658 	    s//\1/
   18659 	    q
   18660 	  }
   18661 	  /^X\(\/\).*/{
   18662 	    s//\1/
   18663 	    q
   18664 	  }
   18665 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18666  ;;
   18667 
   18668   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18669 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18670  ;;
   18671   esac
   18672 
   18673 
   18674   case $ac_file$ac_mode in
   18675     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18676   # Older Autoconf quotes --file arguments for eval, but not when files
   18677   # are listed without --file.  Let's play safe and only enable the eval
   18678   # if we detect the quoting.
   18679   case $CONFIG_FILES in
   18680   *\'*) eval set x "$CONFIG_FILES" ;;
   18681   *)   set x $CONFIG_FILES ;;
   18682   esac
   18683   shift
   18684   for mf
   18685   do
   18686     # Strip MF so we end up with the name of the file.
   18687     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18688     # Check whether this is an Automake generated Makefile or not.
   18689     # We used to match only the files named 'Makefile.in', but
   18690     # some people rename them; so instead we look at the file content.
   18691     # Grep'ing the first line is not enough: some people post-process
   18692     # each Makefile.in and add a new line on top of each file to say so.
   18693     # Grep'ing the whole file is not good either: AIX grep has a line
   18694     # limit of 2048, but all sed's we know have understand at least 4000.
   18695     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18696       dirpart=`$as_dirname -- "$mf" ||
   18697 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18698 	 X"$mf" : 'X\(//\)[^/]' \| \
   18699 	 X"$mf" : 'X\(//\)$' \| \
   18700 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18701 $as_echo X"$mf" |
   18702     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18703 	    s//\1/
   18704 	    q
   18705 	  }
   18706 	  /^X\(\/\/\)[^/].*/{
   18707 	    s//\1/
   18708 	    q
   18709 	  }
   18710 	  /^X\(\/\/\)$/{
   18711 	    s//\1/
   18712 	    q
   18713 	  }
   18714 	  /^X\(\/\).*/{
   18715 	    s//\1/
   18716 	    q
   18717 	  }
   18718 	  s/.*/./; q'`
   18719     else
   18720       continue
   18721     fi
   18722     # Extract the definition of DEPDIR, am__include, and am__quote
   18723     # from the Makefile without running 'make'.
   18724     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   18725     test -z "$DEPDIR" && continue
   18726     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   18727     test -z "$am__include" && continue
   18728     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   18729     # Find all dependency output files, they are included files with
   18730     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   18731     # simplest approach to changing $(DEPDIR) to its actual value in the
   18732     # expansion.
   18733     for file in `sed -n "
   18734       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   18735 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   18736       # Make sure the directory exists.
   18737       test -f "$dirpart/$file" && continue
   18738       fdir=`$as_dirname -- "$file" ||
   18739 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18740 	 X"$file" : 'X\(//\)[^/]' \| \
   18741 	 X"$file" : 'X\(//\)$' \| \
   18742 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   18743 $as_echo X"$file" |
   18744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18745 	    s//\1/
   18746 	    q
   18747 	  }
   18748 	  /^X\(\/\/\)[^/].*/{
   18749 	    s//\1/
   18750 	    q
   18751 	  }
   18752 	  /^X\(\/\/\)$/{
   18753 	    s//\1/
   18754 	    q
   18755 	  }
   18756 	  /^X\(\/\).*/{
   18757 	    s//\1/
   18758 	    q
   18759 	  }
   18760 	  s/.*/./; q'`
   18761       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   18762       # echo "creating $dirpart/$file"
   18763       echo '# dummy' > "$dirpart/$file"
   18764     done
   18765   done
   18766 }
   18767  ;;
   18768     "libtool":C)
   18769 
   18770     # See if we are running on zsh, and set the options which allow our
   18771     # commands through without removal of \ escapes.
   18772     if test -n "${ZSH_VERSION+set}" ; then
   18773       setopt NO_GLOB_SUBST
   18774     fi
   18775 
   18776     cfgfile="${ofile}T"
   18777     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   18778     $RM "$cfgfile"
   18779 
   18780     cat <<_LT_EOF >> "$cfgfile"
   18781 #! $SHELL
   18782 
   18783 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   18784 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   18785 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   18786 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   18787 #
   18788 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   18789 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   18790 #   Written by Gordon Matzigkeit, 1996
   18791 #
   18792 #   This file is part of GNU Libtool.
   18793 #
   18794 # GNU Libtool is free software; you can redistribute it and/or
   18795 # modify it under the terms of the GNU General Public License as
   18796 # published by the Free Software Foundation; either version 2 of
   18797 # the License, or (at your option) any later version.
   18798 #
   18799 # As a special exception to the GNU General Public License,
   18800 # if you distribute this file as part of a program or library that
   18801 # is built using GNU Libtool, you may include this file under the
   18802 # same distribution terms that you use for the rest of that program.
   18803 #
   18804 # GNU Libtool is distributed in the hope that it will be useful,
   18805 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   18806 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   18807 # GNU General Public License for more details.
   18808 #
   18809 # You should have received a copy of the GNU General Public License
   18810 # along with GNU Libtool; see the file COPYING.  If not, a copy
   18811 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   18812 # obtained by writing to the Free Software Foundation, Inc.,
   18813 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   18814 
   18815 
   18816 # The names of the tagged configurations supported by this script.
   18817 available_tags="CXX "
   18818 
   18819 # ### BEGIN LIBTOOL CONFIG
   18820 
   18821 # Whether or not to build shared libraries.
   18822 build_libtool_libs=$enable_shared
   18823 
   18824 # Which release of libtool.m4 was used?
   18825 macro_version=$macro_version
   18826 macro_revision=$macro_revision
   18827 
   18828 # Whether or not to build static libraries.
   18829 build_old_libs=$enable_static
   18830 
   18831 # What type of objects to build.
   18832 pic_mode=$pic_mode
   18833 
   18834 # Whether or not to optimize for fast installation.
   18835 fast_install=$enable_fast_install
   18836 
   18837 # Shell to use when invoking shell scripts.
   18838 SHELL=$lt_SHELL
   18839 
   18840 # An echo program that protects backslashes.
   18841 ECHO=$lt_ECHO
   18842 
   18843 # The host system.
   18844 host_alias=$host_alias
   18845 host=$host
   18846 host_os=$host_os
   18847 
   18848 # The build system.
   18849 build_alias=$build_alias
   18850 build=$build
   18851 build_os=$build_os
   18852 
   18853 # A sed program that does not truncate output.
   18854 SED=$lt_SED
   18855 
   18856 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   18857 Xsed="\$SED -e 1s/^X//"
   18858 
   18859 # A grep program that handles long lines.
   18860 GREP=$lt_GREP
   18861 
   18862 # An ERE matcher.
   18863 EGREP=$lt_EGREP
   18864 
   18865 # A literal string matcher.
   18866 FGREP=$lt_FGREP
   18867 
   18868 # A BSD- or MS-compatible name lister.
   18869 NM=$lt_NM
   18870 
   18871 # Whether we need soft or hard links.
   18872 LN_S=$lt_LN_S
   18873 
   18874 # What is the maximum length of a command?
   18875 max_cmd_len=$max_cmd_len
   18876 
   18877 # Object file suffix (normally "o").
   18878 objext=$ac_objext
   18879 
   18880 # Executable file suffix (normally "").
   18881 exeext=$exeext
   18882 
   18883 # whether the shell understands "unset".
   18884 lt_unset=$lt_unset
   18885 
   18886 # turn spaces into newlines.
   18887 SP2NL=$lt_lt_SP2NL
   18888 
   18889 # turn newlines into spaces.
   18890 NL2SP=$lt_lt_NL2SP
   18891 
   18892 # An object symbol dumper.
   18893 OBJDUMP=$lt_OBJDUMP
   18894 
   18895 # Method to check whether dependent libraries are shared objects.
   18896 deplibs_check_method=$lt_deplibs_check_method
   18897 
   18898 # Command to use when deplibs_check_method == "file_magic".
   18899 file_magic_cmd=$lt_file_magic_cmd
   18900 
   18901 # The archiver.
   18902 AR=$lt_AR
   18903 AR_FLAGS=$lt_AR_FLAGS
   18904 
   18905 # A symbol stripping program.
   18906 STRIP=$lt_STRIP
   18907 
   18908 # Commands used to install an old-style archive.
   18909 RANLIB=$lt_RANLIB
   18910 old_postinstall_cmds=$lt_old_postinstall_cmds
   18911 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   18912 
   18913 # Whether to use a lock for old archive extraction.
   18914 lock_old_archive_extraction=$lock_old_archive_extraction
   18915 
   18916 # A C compiler.
   18917 LTCC=$lt_CC
   18918 
   18919 # LTCC compiler flags.
   18920 LTCFLAGS=$lt_CFLAGS
   18921 
   18922 # Take the output of nm and produce a listing of raw symbols and C names.
   18923 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   18924 
   18925 # Transform the output of nm in a proper C declaration.
   18926 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   18927 
   18928 # Transform the output of nm in a C name address pair.
   18929 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   18930 
   18931 # Transform the output of nm in a C name address pair when lib prefix is needed.
   18932 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   18933 
   18934 # The name of the directory that contains temporary libtool files.
   18935 objdir=$objdir
   18936 
   18937 # Used to examine libraries when file_magic_cmd begins with "file".
   18938 MAGIC_CMD=$MAGIC_CMD
   18939 
   18940 # Must we lock files when doing compilation?
   18941 need_locks=$lt_need_locks
   18942 
   18943 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   18944 DSYMUTIL=$lt_DSYMUTIL
   18945 
   18946 # Tool to change global to local symbols on Mac OS X.
   18947 NMEDIT=$lt_NMEDIT
   18948 
   18949 # Tool to manipulate fat objects and archives on Mac OS X.
   18950 LIPO=$lt_LIPO
   18951 
   18952 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   18953 OTOOL=$lt_OTOOL
   18954 
   18955 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   18956 OTOOL64=$lt_OTOOL64
   18957 
   18958 # Old archive suffix (normally "a").
   18959 libext=$libext
   18960 
   18961 # Shared library suffix (normally ".so").
   18962 shrext_cmds=$lt_shrext_cmds
   18963 
   18964 # The commands to extract the exported symbol list from a shared archive.
   18965 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   18966 
   18967 # Variables whose values should be saved in libtool wrapper scripts and
   18968 # restored at link time.
   18969 variables_saved_for_relink=$lt_variables_saved_for_relink
   18970 
   18971 # Do we need the "lib" prefix for modules?
   18972 need_lib_prefix=$need_lib_prefix
   18973 
   18974 # Do we need a version for libraries?
   18975 need_version=$need_version
   18976 
   18977 # Library versioning type.
   18978 version_type=$version_type
   18979 
   18980 # Shared library runtime path variable.
   18981 runpath_var=$runpath_var
   18982 
   18983 # Shared library path variable.
   18984 shlibpath_var=$shlibpath_var
   18985 
   18986 # Is shlibpath searched before the hard-coded library search path?
   18987 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   18988 
   18989 # Format of library name prefix.
   18990 libname_spec=$lt_libname_spec
   18991 
   18992 # List of archive names.  First name is the real one, the rest are links.
   18993 # The last name is the one that the linker finds with -lNAME
   18994 library_names_spec=$lt_library_names_spec
   18995 
   18996 # The coded name of the library, if different from the real name.
   18997 soname_spec=$lt_soname_spec
   18998 
   18999 # Permission mode override for installation of shared libraries.
   19000 install_override_mode=$lt_install_override_mode
   19001 
   19002 # Command to use after installation of a shared archive.
   19003 postinstall_cmds=$lt_postinstall_cmds
   19004 
   19005 # Command to use after uninstallation of a shared archive.
   19006 postuninstall_cmds=$lt_postuninstall_cmds
   19007 
   19008 # Commands used to finish a libtool library installation in a directory.
   19009 finish_cmds=$lt_finish_cmds
   19010 
   19011 # As "finish_cmds", except a single script fragment to be evaled but
   19012 # not shown.
   19013 finish_eval=$lt_finish_eval
   19014 
   19015 # Whether we should hardcode library paths into libraries.
   19016 hardcode_into_libs=$hardcode_into_libs
   19017 
   19018 # Compile-time system search path for libraries.
   19019 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19020 
   19021 # Run-time system search path for libraries.
   19022 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19023 
   19024 # Whether dlopen is supported.
   19025 dlopen_support=$enable_dlopen
   19026 
   19027 # Whether dlopen of programs is supported.
   19028 dlopen_self=$enable_dlopen_self
   19029 
   19030 # Whether dlopen of statically linked programs is supported.
   19031 dlopen_self_static=$enable_dlopen_self_static
   19032 
   19033 # Commands to strip libraries.
   19034 old_striplib=$lt_old_striplib
   19035 striplib=$lt_striplib
   19036 
   19037 
   19038 # The linker used to build libraries.
   19039 LD=$lt_LD
   19040 
   19041 # How to create reloadable object files.
   19042 reload_flag=$lt_reload_flag
   19043 reload_cmds=$lt_reload_cmds
   19044 
   19045 # Commands used to build an old-style archive.
   19046 old_archive_cmds=$lt_old_archive_cmds
   19047 
   19048 # A language specific compiler.
   19049 CC=$lt_compiler
   19050 
   19051 # Is the compiler the GNU compiler?
   19052 with_gcc=$GCC
   19053 
   19054 # Compiler flag to turn off builtin functions.
   19055 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19056 
   19057 # How to pass a linker flag through the compiler.
   19058 wl=$lt_lt_prog_compiler_wl
   19059 
   19060 # Additional compiler flags for building library objects.
   19061 pic_flag=$lt_lt_prog_compiler_pic
   19062 
   19063 # Compiler flag to prevent dynamic linking.
   19064 link_static_flag=$lt_lt_prog_compiler_static
   19065 
   19066 # Does compiler simultaneously support -c and -o options?
   19067 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19068 
   19069 # Whether or not to add -lc for building shared libraries.
   19070 build_libtool_need_lc=$archive_cmds_need_lc
   19071 
   19072 # Whether or not to disallow shared libs when runtime libs are static.
   19073 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19074 
   19075 # Compiler flag to allow reflexive dlopens.
   19076 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19077 
   19078 # Compiler flag to generate shared objects directly from archives.
   19079 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19080 
   19081 # Whether the compiler copes with passing no objects directly.
   19082 compiler_needs_object=$lt_compiler_needs_object
   19083 
   19084 # Create an old-style archive from a shared archive.
   19085 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19086 
   19087 # Create a temporary old-style archive to link instead of a shared archive.
   19088 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19089 
   19090 # Commands used to build a shared archive.
   19091 archive_cmds=$lt_archive_cmds
   19092 archive_expsym_cmds=$lt_archive_expsym_cmds
   19093 
   19094 # Commands used to build a loadable module if different from building
   19095 # a shared archive.
   19096 module_cmds=$lt_module_cmds
   19097 module_expsym_cmds=$lt_module_expsym_cmds
   19098 
   19099 # Whether we are building with GNU ld or not.
   19100 with_gnu_ld=$lt_with_gnu_ld
   19101 
   19102 # Flag that allows shared libraries with undefined symbols to be built.
   19103 allow_undefined_flag=$lt_allow_undefined_flag
   19104 
   19105 # Flag that enforces no undefined symbols.
   19106 no_undefined_flag=$lt_no_undefined_flag
   19107 
   19108 # Flag to hardcode \$libdir into a binary during linking.
   19109 # This must work even if \$libdir does not exist
   19110 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19111 
   19112 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19113 # during linking.  This must work even if \$libdir does not exist.
   19114 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19115 
   19116 # Whether we need a single "-rpath" flag with a separated argument.
   19117 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19118 
   19119 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19120 # DIR into the resulting binary.
   19121 hardcode_direct=$hardcode_direct
   19122 
   19123 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19124 # DIR into the resulting binary and the resulting library dependency is
   19125 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19126 # library is relocated.
   19127 hardcode_direct_absolute=$hardcode_direct_absolute
   19128 
   19129 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19130 # into the resulting binary.
   19131 hardcode_minus_L=$hardcode_minus_L
   19132 
   19133 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19134 # into the resulting binary.
   19135 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19136 
   19137 # Set to "yes" if building a shared library automatically hardcodes DIR
   19138 # into the library and all subsequent libraries and executables linked
   19139 # against it.
   19140 hardcode_automatic=$hardcode_automatic
   19141 
   19142 # Set to yes if linker adds runtime paths of dependent libraries
   19143 # to runtime path list.
   19144 inherit_rpath=$inherit_rpath
   19145 
   19146 # Whether libtool must link a program against all its dependency libraries.
   19147 link_all_deplibs=$link_all_deplibs
   19148 
   19149 # Fix the shell variable \$srcfile for the compiler.
   19150 fix_srcfile_path=$lt_fix_srcfile_path
   19151 
   19152 # Set to "yes" if exported symbols are required.
   19153 always_export_symbols=$always_export_symbols
   19154 
   19155 # The commands to list exported symbols.
   19156 export_symbols_cmds=$lt_export_symbols_cmds
   19157 
   19158 # Symbols that should not be listed in the preloaded symbols.
   19159 exclude_expsyms=$lt_exclude_expsyms
   19160 
   19161 # Symbols that must always be exported.
   19162 include_expsyms=$lt_include_expsyms
   19163 
   19164 # Commands necessary for linking programs (against libraries) with templates.
   19165 prelink_cmds=$lt_prelink_cmds
   19166 
   19167 # Specify filename containing input files.
   19168 file_list_spec=$lt_file_list_spec
   19169 
   19170 # How to hardcode a shared library path into an executable.
   19171 hardcode_action=$hardcode_action
   19172 
   19173 # The directories searched by this compiler when creating a shared library.
   19174 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   19175 
   19176 # Dependencies to place before and after the objects being linked to
   19177 # create a shared library.
   19178 predep_objects=$lt_predep_objects
   19179 postdep_objects=$lt_postdep_objects
   19180 predeps=$lt_predeps
   19181 postdeps=$lt_postdeps
   19182 
   19183 # The library search path used internally by the compiler when linking
   19184 # a shared library.
   19185 compiler_lib_search_path=$lt_compiler_lib_search_path
   19186 
   19187 # ### END LIBTOOL CONFIG
   19188 
   19189 _LT_EOF
   19190 
   19191   case $host_os in
   19192   aix3*)
   19193     cat <<\_LT_EOF >> "$cfgfile"
   19194 # AIX sometimes has problems with the GCC collect2 program.  For some
   19195 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19196 # vanish in a puff of smoke.
   19197 if test "X${COLLECT_NAMES+set}" != Xset; then
   19198   COLLECT_NAMES=
   19199   export COLLECT_NAMES
   19200 fi
   19201 _LT_EOF
   19202     ;;
   19203   esac
   19204 
   19205 
   19206 ltmain="$ac_aux_dir/ltmain.sh"
   19207 
   19208 
   19209   # We use sed instead of cat because bash on DJGPP gets confused if
   19210   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19211   # text mode, it properly converts lines to CR/LF.  This bash problem
   19212   # is reportedly fixed, but why not run on old versions too?
   19213   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19214     || (rm -f "$cfgfile"; exit 1)
   19215 
   19216   case $xsi_shell in
   19217   yes)
   19218     cat << \_LT_EOF >> "$cfgfile"
   19219 
   19220 # func_dirname file append nondir_replacement
   19221 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19222 # otherwise set result to NONDIR_REPLACEMENT.
   19223 func_dirname ()
   19224 {
   19225   case ${1} in
   19226     */*) func_dirname_result="${1%/*}${2}" ;;
   19227     *  ) func_dirname_result="${3}" ;;
   19228   esac
   19229 }
   19230 
   19231 # func_basename file
   19232 func_basename ()
   19233 {
   19234   func_basename_result="${1##*/}"
   19235 }
   19236 
   19237 # func_dirname_and_basename file append nondir_replacement
   19238 # perform func_basename and func_dirname in a single function
   19239 # call:
   19240 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19241 #             add APPEND to the result, otherwise set result
   19242 #             to NONDIR_REPLACEMENT.
   19243 #             value returned in "$func_dirname_result"
   19244 #   basename: Compute filename of FILE.
   19245 #             value retuned in "$func_basename_result"
   19246 # Implementation must be kept synchronized with func_dirname
   19247 # and func_basename. For efficiency, we do not delegate to
   19248 # those functions but instead duplicate the functionality here.
   19249 func_dirname_and_basename ()
   19250 {
   19251   case ${1} in
   19252     */*) func_dirname_result="${1%/*}${2}" ;;
   19253     *  ) func_dirname_result="${3}" ;;
   19254   esac
   19255   func_basename_result="${1##*/}"
   19256 }
   19257 
   19258 # func_stripname prefix suffix name
   19259 # strip PREFIX and SUFFIX off of NAME.
   19260 # PREFIX and SUFFIX must not contain globbing or regex special
   19261 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19262 # dot (in which case that matches only a dot).
   19263 func_stripname ()
   19264 {
   19265   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19266   # positional parameters, so assign one to ordinary parameter first.
   19267   func_stripname_result=${3}
   19268   func_stripname_result=${func_stripname_result#"${1}"}
   19269   func_stripname_result=${func_stripname_result%"${2}"}
   19270 }
   19271 
   19272 # func_opt_split
   19273 func_opt_split ()
   19274 {
   19275   func_opt_split_opt=${1%%=*}
   19276   func_opt_split_arg=${1#*=}
   19277 }
   19278 
   19279 # func_lo2o object
   19280 func_lo2o ()
   19281 {
   19282   case ${1} in
   19283     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19284     *)    func_lo2o_result=${1} ;;
   19285   esac
   19286 }
   19287 
   19288 # func_xform libobj-or-source
   19289 func_xform ()
   19290 {
   19291   func_xform_result=${1%.*}.lo
   19292 }
   19293 
   19294 # func_arith arithmetic-term...
   19295 func_arith ()
   19296 {
   19297   func_arith_result=$(( $* ))
   19298 }
   19299 
   19300 # func_len string
   19301 # STRING may not start with a hyphen.
   19302 func_len ()
   19303 {
   19304   func_len_result=${#1}
   19305 }
   19306 
   19307 _LT_EOF
   19308     ;;
   19309   *) # Bourne compatible functions.
   19310     cat << \_LT_EOF >> "$cfgfile"
   19311 
   19312 # func_dirname file append nondir_replacement
   19313 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19314 # otherwise set result to NONDIR_REPLACEMENT.
   19315 func_dirname ()
   19316 {
   19317   # Extract subdirectory from the argument.
   19318   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19319   if test "X$func_dirname_result" = "X${1}"; then
   19320     func_dirname_result="${3}"
   19321   else
   19322     func_dirname_result="$func_dirname_result${2}"
   19323   fi
   19324 }
   19325 
   19326 # func_basename file
   19327 func_basename ()
   19328 {
   19329   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19330 }
   19331 
   19332 
   19333 # func_stripname prefix suffix name
   19334 # strip PREFIX and SUFFIX off of NAME.
   19335 # PREFIX and SUFFIX must not contain globbing or regex special
   19336 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19337 # dot (in which case that matches only a dot).
   19338 # func_strip_suffix prefix name
   19339 func_stripname ()
   19340 {
   19341   case ${2} in
   19342     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19343     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19344   esac
   19345 }
   19346 
   19347 # sed scripts:
   19348 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19349 my_sed_long_arg='1s/^-[^=]*=//'
   19350 
   19351 # func_opt_split
   19352 func_opt_split ()
   19353 {
   19354   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19355   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19356 }
   19357 
   19358 # func_lo2o object
   19359 func_lo2o ()
   19360 {
   19361   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19362 }
   19363 
   19364 # func_xform libobj-or-source
   19365 func_xform ()
   19366 {
   19367   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19368 }
   19369 
   19370 # func_arith arithmetic-term...
   19371 func_arith ()
   19372 {
   19373   func_arith_result=`expr "$@"`
   19374 }
   19375 
   19376 # func_len string
   19377 # STRING may not start with a hyphen.
   19378 func_len ()
   19379 {
   19380   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19381 }
   19382 
   19383 _LT_EOF
   19384 esac
   19385 
   19386 case $lt_shell_append in
   19387   yes)
   19388     cat << \_LT_EOF >> "$cfgfile"
   19389 
   19390 # func_append var value
   19391 # Append VALUE to the end of shell variable VAR.
   19392 func_append ()
   19393 {
   19394   eval "$1+=\$2"
   19395 }
   19396 _LT_EOF
   19397     ;;
   19398   *)
   19399     cat << \_LT_EOF >> "$cfgfile"
   19400 
   19401 # func_append var value
   19402 # Append VALUE to the end of shell variable VAR.
   19403 func_append ()
   19404 {
   19405   eval "$1=\$$1\$2"
   19406 }
   19407 
   19408 _LT_EOF
   19409     ;;
   19410   esac
   19411 
   19412 
   19413   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19414     || (rm -f "$cfgfile"; exit 1)
   19415 
   19416   mv -f "$cfgfile" "$ofile" ||
   19417     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19418   chmod +x "$ofile"
   19419 
   19420 
   19421     cat <<_LT_EOF >> "$ofile"
   19422 
   19423 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   19424 
   19425 # The linker used to build libraries.
   19426 LD=$lt_LD_CXX
   19427 
   19428 # How to create reloadable object files.
   19429 reload_flag=$lt_reload_flag_CXX
   19430 reload_cmds=$lt_reload_cmds_CXX
   19431 
   19432 # Commands used to build an old-style archive.
   19433 old_archive_cmds=$lt_old_archive_cmds_CXX
   19434 
   19435 # A language specific compiler.
   19436 CC=$lt_compiler_CXX
   19437 
   19438 # Is the compiler the GNU compiler?
   19439 with_gcc=$GCC_CXX
   19440 
   19441 # Compiler flag to turn off builtin functions.
   19442 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   19443 
   19444 # How to pass a linker flag through the compiler.
   19445 wl=$lt_lt_prog_compiler_wl_CXX
   19446 
   19447 # Additional compiler flags for building library objects.
   19448 pic_flag=$lt_lt_prog_compiler_pic_CXX
   19449 
   19450 # Compiler flag to prevent dynamic linking.
   19451 link_static_flag=$lt_lt_prog_compiler_static_CXX
   19452 
   19453 # Does compiler simultaneously support -c and -o options?
   19454 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   19455 
   19456 # Whether or not to add -lc for building shared libraries.
   19457 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   19458 
   19459 # Whether or not to disallow shared libs when runtime libs are static.
   19460 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   19461 
   19462 # Compiler flag to allow reflexive dlopens.
   19463 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   19464 
   19465 # Compiler flag to generate shared objects directly from archives.
   19466 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   19467 
   19468 # Whether the compiler copes with passing no objects directly.
   19469 compiler_needs_object=$lt_compiler_needs_object_CXX
   19470 
   19471 # Create an old-style archive from a shared archive.
   19472 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   19473 
   19474 # Create a temporary old-style archive to link instead of a shared archive.
   19475 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   19476 
   19477 # Commands used to build a shared archive.
   19478 archive_cmds=$lt_archive_cmds_CXX
   19479 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   19480 
   19481 # Commands used to build a loadable module if different from building
   19482 # a shared archive.
   19483 module_cmds=$lt_module_cmds_CXX
   19484 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   19485 
   19486 # Whether we are building with GNU ld or not.
   19487 with_gnu_ld=$lt_with_gnu_ld_CXX
   19488 
   19489 # Flag that allows shared libraries with undefined symbols to be built.
   19490 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   19491 
   19492 # Flag that enforces no undefined symbols.
   19493 no_undefined_flag=$lt_no_undefined_flag_CXX
   19494 
   19495 # Flag to hardcode \$libdir into a binary during linking.
   19496 # This must work even if \$libdir does not exist
   19497 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   19498 
   19499 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19500 # during linking.  This must work even if \$libdir does not exist.
   19501 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   19502 
   19503 # Whether we need a single "-rpath" flag with a separated argument.
   19504 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   19505 
   19506 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19507 # DIR into the resulting binary.
   19508 hardcode_direct=$hardcode_direct_CXX
   19509 
   19510 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19511 # DIR into the resulting binary and the resulting library dependency is
   19512 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19513 # library is relocated.
   19514 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   19515 
   19516 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19517 # into the resulting binary.
   19518 hardcode_minus_L=$hardcode_minus_L_CXX
   19519 
   19520 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19521 # into the resulting binary.
   19522 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   19523 
   19524 # Set to "yes" if building a shared library automatically hardcodes DIR
   19525 # into the library and all subsequent libraries and executables linked
   19526 # against it.
   19527 hardcode_automatic=$hardcode_automatic_CXX
   19528 
   19529 # Set to yes if linker adds runtime paths of dependent libraries
   19530 # to runtime path list.
   19531 inherit_rpath=$inherit_rpath_CXX
   19532 
   19533 # Whether libtool must link a program against all its dependency libraries.
   19534 link_all_deplibs=$link_all_deplibs_CXX
   19535 
   19536 # Fix the shell variable \$srcfile for the compiler.
   19537 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   19538 
   19539 # Set to "yes" if exported symbols are required.
   19540 always_export_symbols=$always_export_symbols_CXX
   19541 
   19542 # The commands to list exported symbols.
   19543 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   19544 
   19545 # Symbols that should not be listed in the preloaded symbols.
   19546 exclude_expsyms=$lt_exclude_expsyms_CXX
   19547 
   19548 # Symbols that must always be exported.
   19549 include_expsyms=$lt_include_expsyms_CXX
   19550 
   19551 # Commands necessary for linking programs (against libraries) with templates.
   19552 prelink_cmds=$lt_prelink_cmds_CXX
   19553 
   19554 # Specify filename containing input files.
   19555 file_list_spec=$lt_file_list_spec_CXX
   19556 
   19557 # How to hardcode a shared library path into an executable.
   19558 hardcode_action=$hardcode_action_CXX
   19559 
   19560 # The directories searched by this compiler when creating a shared library.
   19561 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   19562 
   19563 # Dependencies to place before and after the objects being linked to
   19564 # create a shared library.
   19565 predep_objects=$lt_predep_objects_CXX
   19566 postdep_objects=$lt_postdep_objects_CXX
   19567 predeps=$lt_predeps_CXX
   19568 postdeps=$lt_postdeps_CXX
   19569 
   19570 # The library search path used internally by the compiler when linking
   19571 # a shared library.
   19572 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   19573 
   19574 # ### END LIBTOOL TAG CONFIG: CXX
   19575 _LT_EOF
   19576 
   19577  ;;
   19578 
   19579   esac
   19580 done # for ac_tag
   19581 
   19582 
   19583 as_fn_exit 0
   19584 _ACEOF
   19585 ac_clean_files=$ac_clean_files_save
   19586 
   19587 test $ac_write_fail = 0 ||
   19588   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19589 
   19590 
   19591 # configure is writing to config.log, and then calls config.status.
   19592 # config.status does its own redirection, appending to config.log.
   19593 # Unfortunately, on DOS this fails, as config.log is still kept open
   19594 # by configure, so config.status won't be able to write to it; its
   19595 # output is simply discarded.  So we exec the FD to /dev/null,
   19596 # effectively closing config.log, so it can be properly (re)opened and
   19597 # appended to by config.status.  When coming back to configure, we
   19598 # need to make the FD available again.
   19599 if test "$no_create" != yes; then
   19600   ac_cs_success=:
   19601   ac_config_status_args=
   19602   test "$silent" = yes &&
   19603     ac_config_status_args="$ac_config_status_args --quiet"
   19604   exec 5>/dev/null
   19605   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19606   exec 5>>config.log
   19607   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19608   # would make configure fail if this is the last instruction.
   19609   $ac_cs_success || as_fn_exit 1
   19610 fi
   19611 
   19612 #
   19613 # CONFIG_SUBDIRS section.
   19614 #
   19615 if test "$no_recursion" != yes; then
   19616 
   19617   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
   19618   # so they do not pile up.
   19619   ac_sub_configure_args=
   19620   ac_prev=
   19621   eval "set x $ac_configure_args"
   19622   shift
   19623   for ac_arg
   19624   do
   19625     if test -n "$ac_prev"; then
   19626       ac_prev=
   19627       continue
   19628     fi
   19629     case $ac_arg in
   19630     -cache-file | --cache-file | --cache-fil | --cache-fi \
   19631     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   19632       ac_prev=cache_file ;;
   19633     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   19634     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
   19635     | --c=*)
   19636       ;;
   19637     --config-cache | -C)
   19638       ;;
   19639     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   19640       ac_prev=srcdir ;;
   19641     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   19642       ;;
   19643     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   19644       ac_prev=prefix ;;
   19645     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   19646       ;;
   19647     --disable-option-checking)
   19648       ;;
   19649     *)
   19650       case $ac_arg in
   19651       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19652       esac
   19653       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
   19654     esac
   19655   done
   19656 
   19657   # Always prepend --prefix to ensure using the same prefix
   19658   # in subdir configurations.
   19659   ac_arg="--prefix=$prefix"
   19660   case $ac_arg in
   19661   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19662   esac
   19663   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
   19664 
   19665   # Pass --silent
   19666   if test "$silent" = yes; then
   19667     ac_sub_configure_args="--silent $ac_sub_configure_args"
   19668   fi
   19669 
   19670   # Always prepend --disable-option-checking to silence warnings, since
   19671   # different subdirs can have different --enable and --with options.
   19672   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
   19673 
   19674   ac_popdir=`pwd`
   19675   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
   19676 
   19677     # Do not complain, so a configure script can configure whichever
   19678     # parts of a large source tree are present.
   19679     test -d "$srcdir/$ac_dir" || continue
   19680 
   19681     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
   19682     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
   19683     $as_echo "$ac_msg" >&6
   19684     as_dir="$ac_dir"; as_fn_mkdir_p
   19685     ac_builddir=.
   19686 
   19687 case "$ac_dir" in
   19688 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19689 *)
   19690   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19691   # A ".." for each directory in $ac_dir_suffix.
   19692   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19693   case $ac_top_builddir_sub in
   19694   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19695   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19696   esac ;;
   19697 esac
   19698 ac_abs_top_builddir=$ac_pwd
   19699 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19700 # for backward compatibility:
   19701 ac_top_builddir=$ac_top_build_prefix
   19702 
   19703 case $srcdir in
   19704   .)  # We are building in place.
   19705     ac_srcdir=.
   19706     ac_top_srcdir=$ac_top_builddir_sub
   19707     ac_abs_top_srcdir=$ac_pwd ;;
   19708   [\\/]* | ?:[\\/]* )  # Absolute name.
   19709     ac_srcdir=$srcdir$ac_dir_suffix;
   19710     ac_top_srcdir=$srcdir
   19711     ac_abs_top_srcdir=$srcdir ;;
   19712   *) # Relative name.
   19713     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19714     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19715     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19716 esac
   19717 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19718 
   19719 
   19720     cd "$ac_dir"
   19721 
   19722     # Check for guested configure; otherwise get Cygnus style configure.
   19723     if test -f "$ac_srcdir/configure.gnu"; then
   19724       ac_sub_configure=$ac_srcdir/configure.gnu
   19725     elif test -f "$ac_srcdir/configure"; then
   19726       ac_sub_configure=$ac_srcdir/configure
   19727     elif test -f "$ac_srcdir/configure.in"; then
   19728       # This should be Cygnus configure.
   19729       ac_sub_configure=$ac_aux_dir/configure
   19730     else
   19731       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
   19732 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
   19733       ac_sub_configure=
   19734     fi
   19735 
   19736     # The recursion is here.
   19737     if test -n "$ac_sub_configure"; then
   19738       # Make the cache file name correct relative to the subdirectory.
   19739       case $cache_file in
   19740       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
   19741       *) # Relative name.
   19742 	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
   19743       esac
   19744 
   19745       { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
   19746 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
   19747       # The eval makes quoting arguments work.
   19748       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
   19749 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
   19750 	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
   19751     fi
   19752 
   19753     cd "$ac_popdir"
   19754   done
   19755 fi
   19756 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   19757   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   19758 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   19759 fi
   19760 
   19761 
   19762