Home | History | Annotate | Line # | Download | only in gprofng
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for gprofng 2.46.0.
      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.46.0'
    591 PACKAGE_STRING='gprofng 2.46.0'
    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 NOLTO_CFLAGS
    639 GPROFNG_CPPFLAGS
    640 GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS
    641 GPROFNG_CFLAGS
    642 LD_NO_AS_NEEDED
    643 BASH
    644 BUILD_DOC_FALSE
    645 BUILD_DOC_TRUE
    646 BUILD_MAN_FALSE
    647 BUILD_MAN_TRUE
    648 zlibinc
    649 zlibdir
    650 TCL_TRY_FALSE
    651 TCL_TRY_TRUE
    652 EXPECT
    653 jdk_inc
    654 GPROFNG_BROKEN_JAVAC
    655 JAVA
    656 JAVAC
    657 PTHREAD_CFLAGS
    658 PTHREAD_LIBS
    659 PTHREAD_CC
    660 ax_pthread_config
    661 subdirs
    662 BUILD_SRC_FALSE
    663 BUILD_SRC_TRUE
    664 BUILD_COLLECTOR_FALSE
    665 BUILD_COLLECTOR_TRUE
    666 GPROFNG_NO_SWITCH_CFLAGS
    667 nolto_cflags
    668 gprofng_cflags
    669 WERROR
    670 GPROFNG_LIBADD
    671 CXXCPP
    672 OTOOL64
    673 OTOOL
    674 LIPO
    675 NMEDIT
    676 DSYMUTIL
    677 LLVM_CONFIG
    678 OBJDUMP
    679 LN_S
    680 NM
    681 ac_ct_DUMPBIN
    682 DUMPBIN
    683 LD
    684 FGREP
    685 SED
    686 LIBTOOL
    687 BISON
    688 ac_ct_AR
    689 AR
    690 RANLIB
    691 am__fastdepCXX_FALSE
    692 am__fastdepCXX_TRUE
    693 CXXDEPMODE
    694 ac_ct_CXX
    695 CXXFLAGS
    696 CXX
    697 EGREP
    698 GREP
    699 CPP
    700 am__fastdepCC_FALSE
    701 am__fastdepCC_TRUE
    702 CCDEPMODE
    703 am__nodep
    704 AMDEPBACKSLASH
    705 AMDEP_FALSE
    706 AMDEP_TRUE
    707 am__quote
    708 am__include
    709 DEPDIR
    710 OBJEXT
    711 EXEEXT
    712 ac_ct_CC
    713 CPPFLAGS
    714 LDFLAGS
    715 CFLAGS
    716 CC
    717 MAINT
    718 MAINTAINER_MODE_FALSE
    719 MAINTAINER_MODE_TRUE
    720 AM_BACKSLASH
    721 AM_DEFAULT_VERBOSITY
    722 AM_DEFAULT_V
    723 AM_V
    724 am__untar
    725 am__tar
    726 AMTAR
    727 am__leading_dot
    728 SET_MAKE
    729 AWK
    730 mkdir_p
    731 MKDIR_P
    732 INSTALL_STRIP_PROGRAM
    733 STRIP
    734 install_sh
    735 MAKEINFO
    736 AUTOHEADER
    737 AUTOMAKE
    738 AUTOCONF
    739 ACLOCAL
    740 VERSION
    741 PACKAGE
    742 CYGPATH_W
    743 am__isrc
    744 INSTALL_DATA
    745 INSTALL_SCRIPT
    746 INSTALL_PROGRAM
    747 target_os
    748 target_vendor
    749 target_cpu
    750 target
    751 host_os
    752 host_vendor
    753 host_cpu
    754 host
    755 build_os
    756 build_vendor
    757 build_cpu
    758 build
    759 target_alias
    760 host_alias
    761 build_alias
    762 LIBS
    763 ECHO_T
    764 ECHO_N
    765 ECHO_C
    766 DEFS
    767 mandir
    768 localedir
    769 libdir
    770 psdir
    771 pdfdir
    772 dvidir
    773 htmldir
    774 infodir
    775 docdir
    776 oldincludedir
    777 includedir
    778 localstatedir
    779 sharedstatedir
    780 sysconfdir
    781 datadir
    782 datarootdir
    783 libexecdir
    784 sbindir
    785 bindir
    786 program_transform_name
    787 prefix
    788 exec_prefix
    789 PACKAGE_URL
    790 PACKAGE_BUGREPORT
    791 PACKAGE_STRING
    792 PACKAGE_VERSION
    793 PACKAGE_TARNAME
    794 PACKAGE_NAME
    795 PATH_SEPARATOR
    796 SHELL'
    797 ac_subst_files=''
    798 ac_user_opts='
    799 enable_option_checking
    800 enable_silent_rules
    801 enable_maintainer_mode
    802 enable_dependency_tracking
    803 enable_shared
    804 enable_static
    805 with_pic
    806 enable_fast_install
    807 with_gnu_ld
    808 enable_libtool_lock
    809 enable_werror_always
    810 enable_gprofng_tools
    811 with_jdk
    812 enable_gprofng_debug
    813 with_system_zlib
    814 '
    815       ac_precious_vars='build_alias
    816 host_alias
    817 target_alias
    818 CC
    819 CFLAGS
    820 LDFLAGS
    821 LIBS
    822 CPPFLAGS
    823 CPP
    824 CXX
    825 CXXFLAGS
    826 CCC
    827 CXXCPP'
    828 ac_subdirs_all='libcollector'
    829 
    830 # Initialize some variables set by options.
    831 ac_init_help=
    832 ac_init_version=false
    833 ac_unrecognized_opts=
    834 ac_unrecognized_sep=
    835 # The variables have the same names as the options, with
    836 # dashes changed to underlines.
    837 cache_file=/dev/null
    838 exec_prefix=NONE
    839 no_create=
    840 no_recursion=
    841 prefix=NONE
    842 program_prefix=NONE
    843 program_suffix=NONE
    844 program_transform_name=s,x,x,
    845 silent=
    846 site=
    847 srcdir=
    848 verbose=
    849 x_includes=NONE
    850 x_libraries=NONE
    851 
    852 # Installation directory options.
    853 # These are left unexpanded so users can "make install exec_prefix=/foo"
    854 # and all the variables that are supposed to be based on exec_prefix
    855 # by default will actually change.
    856 # Use braces instead of parens because sh, perl, etc. also accept them.
    857 # (The list follows the same order as the GNU Coding Standards.)
    858 bindir='${exec_prefix}/bin'
    859 sbindir='${exec_prefix}/sbin'
    860 libexecdir='${exec_prefix}/libexec'
    861 datarootdir='${prefix}/share'
    862 datadir='${datarootdir}'
    863 sysconfdir='${prefix}/etc'
    864 sharedstatedir='${prefix}/com'
    865 localstatedir='${prefix}/var'
    866 includedir='${prefix}/include'
    867 oldincludedir='/usr/include'
    868 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    869 infodir='${datarootdir}/info'
    870 htmldir='${docdir}'
    871 dvidir='${docdir}'
    872 pdfdir='${docdir}'
    873 psdir='${docdir}'
    874 libdir='${exec_prefix}/lib'
    875 localedir='${datarootdir}/locale'
    876 mandir='${datarootdir}/man'
    877 
    878 ac_prev=
    879 ac_dashdash=
    880 for ac_option
    881 do
    882   # If the previous option needs an argument, assign it.
    883   if test -n "$ac_prev"; then
    884     eval $ac_prev=\$ac_option
    885     ac_prev=
    886     continue
    887   fi
    888 
    889   case $ac_option in
    890   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    891   *=)   ac_optarg= ;;
    892   *)    ac_optarg=yes ;;
    893   esac
    894 
    895   # Accept the important Cygnus configure options, so we can diagnose typos.
    896 
    897   case $ac_dashdash$ac_option in
    898   --)
    899     ac_dashdash=yes ;;
    900 
    901   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    902     ac_prev=bindir ;;
    903   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    904     bindir=$ac_optarg ;;
    905 
    906   -build | --build | --buil | --bui | --bu)
    907     ac_prev=build_alias ;;
    908   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    909     build_alias=$ac_optarg ;;
    910 
    911   -cache-file | --cache-file | --cache-fil | --cache-fi \
    912   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    913     ac_prev=cache_file ;;
    914   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    915   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    916     cache_file=$ac_optarg ;;
    917 
    918   --config-cache | -C)
    919     cache_file=config.cache ;;
    920 
    921   -datadir | --datadir | --datadi | --datad)
    922     ac_prev=datadir ;;
    923   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    924     datadir=$ac_optarg ;;
    925 
    926   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    927   | --dataroo | --dataro | --datar)
    928     ac_prev=datarootdir ;;
    929   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    930   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    931     datarootdir=$ac_optarg ;;
    932 
    933   -disable-* | --disable-*)
    934     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    935     # Reject names that are not valid shell variable names.
    936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    937       as_fn_error $? "invalid feature name: $ac_useropt"
    938     ac_useropt_orig=$ac_useropt
    939     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    940     case $ac_user_opts in
    941       *"
    942 "enable_$ac_useropt"
    943 "*) ;;
    944       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    945 	 ac_unrecognized_sep=', ';;
    946     esac
    947     eval enable_$ac_useropt=no ;;
    948 
    949   -docdir | --docdir | --docdi | --doc | --do)
    950     ac_prev=docdir ;;
    951   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    952     docdir=$ac_optarg ;;
    953 
    954   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    955     ac_prev=dvidir ;;
    956   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    957     dvidir=$ac_optarg ;;
    958 
    959   -enable-* | --enable-*)
    960     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    961     # Reject names that are not valid shell variable names.
    962     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    963       as_fn_error $? "invalid feature name: $ac_useropt"
    964     ac_useropt_orig=$ac_useropt
    965     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    966     case $ac_user_opts in
    967       *"
    968 "enable_$ac_useropt"
    969 "*) ;;
    970       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    971 	 ac_unrecognized_sep=', ';;
    972     esac
    973     eval enable_$ac_useropt=\$ac_optarg ;;
    974 
    975   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    976   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    977   | --exec | --exe | --ex)
    978     ac_prev=exec_prefix ;;
    979   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    980   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    981   | --exec=* | --exe=* | --ex=*)
    982     exec_prefix=$ac_optarg ;;
    983 
    984   -gas | --gas | --ga | --g)
    985     # Obsolete; use --with-gas.
    986     with_gas=yes ;;
    987 
    988   -help | --help | --hel | --he | -h)
    989     ac_init_help=long ;;
    990   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    991     ac_init_help=recursive ;;
    992   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    993     ac_init_help=short ;;
    994 
    995   -host | --host | --hos | --ho)
    996     ac_prev=host_alias ;;
    997   -host=* | --host=* | --hos=* | --ho=*)
    998     host_alias=$ac_optarg ;;
    999 
   1000   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1001     ac_prev=htmldir ;;
   1002   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1003   | --ht=*)
   1004     htmldir=$ac_optarg ;;
   1005 
   1006   -includedir | --includedir | --includedi | --included | --include \
   1007   | --includ | --inclu | --incl | --inc)
   1008     ac_prev=includedir ;;
   1009   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1010   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1011     includedir=$ac_optarg ;;
   1012 
   1013   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1014     ac_prev=infodir ;;
   1015   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1016     infodir=$ac_optarg ;;
   1017 
   1018   -libdir | --libdir | --libdi | --libd)
   1019     ac_prev=libdir ;;
   1020   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1021     libdir=$ac_optarg ;;
   1022 
   1023   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1024   | --libexe | --libex | --libe)
   1025     ac_prev=libexecdir ;;
   1026   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1027   | --libexe=* | --libex=* | --libe=*)
   1028     libexecdir=$ac_optarg ;;
   1029 
   1030   -localedir | --localedir | --localedi | --localed | --locale)
   1031     ac_prev=localedir ;;
   1032   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1033     localedir=$ac_optarg ;;
   1034 
   1035   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1036   | --localstate | --localstat | --localsta | --localst | --locals)
   1037     ac_prev=localstatedir ;;
   1038   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1039   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1040     localstatedir=$ac_optarg ;;
   1041 
   1042   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1043     ac_prev=mandir ;;
   1044   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1045     mandir=$ac_optarg ;;
   1046 
   1047   -nfp | --nfp | --nf)
   1048     # Obsolete; use --without-fp.
   1049     with_fp=no ;;
   1050 
   1051   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1052   | --no-cr | --no-c | -n)
   1053     no_create=yes ;;
   1054 
   1055   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1056   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1057     no_recursion=yes ;;
   1058 
   1059   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1060   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1061   | --oldin | --oldi | --old | --ol | --o)
   1062     ac_prev=oldincludedir ;;
   1063   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1064   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1065   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1066     oldincludedir=$ac_optarg ;;
   1067 
   1068   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1069     ac_prev=prefix ;;
   1070   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1071     prefix=$ac_optarg ;;
   1072 
   1073   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1074   | --program-pre | --program-pr | --program-p)
   1075     ac_prev=program_prefix ;;
   1076   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1077   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1078     program_prefix=$ac_optarg ;;
   1079 
   1080   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1081   | --program-suf | --program-su | --program-s)
   1082     ac_prev=program_suffix ;;
   1083   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1084   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1085     program_suffix=$ac_optarg ;;
   1086 
   1087   -program-transform-name | --program-transform-name \
   1088   | --program-transform-nam | --program-transform-na \
   1089   | --program-transform-n | --program-transform- \
   1090   | --program-transform | --program-transfor \
   1091   | --program-transfo | --program-transf \
   1092   | --program-trans | --program-tran \
   1093   | --progr-tra | --program-tr | --program-t)
   1094     ac_prev=program_transform_name ;;
   1095   -program-transform-name=* | --program-transform-name=* \
   1096   | --program-transform-nam=* | --program-transform-na=* \
   1097   | --program-transform-n=* | --program-transform-=* \
   1098   | --program-transform=* | --program-transfor=* \
   1099   | --program-transfo=* | --program-transf=* \
   1100   | --program-trans=* | --program-tran=* \
   1101   | --progr-tra=* | --program-tr=* | --program-t=*)
   1102     program_transform_name=$ac_optarg ;;
   1103 
   1104   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1105     ac_prev=pdfdir ;;
   1106   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1107     pdfdir=$ac_optarg ;;
   1108 
   1109   -psdir | --psdir | --psdi | --psd | --ps)
   1110     ac_prev=psdir ;;
   1111   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1112     psdir=$ac_optarg ;;
   1113 
   1114   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1115   | -silent | --silent | --silen | --sile | --sil)
   1116     silent=yes ;;
   1117 
   1118   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1119     ac_prev=sbindir ;;
   1120   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1121   | --sbi=* | --sb=*)
   1122     sbindir=$ac_optarg ;;
   1123 
   1124   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1125   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1126   | --sharedst | --shareds | --shared | --share | --shar \
   1127   | --sha | --sh)
   1128     ac_prev=sharedstatedir ;;
   1129   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1130   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1131   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1132   | --sha=* | --sh=*)
   1133     sharedstatedir=$ac_optarg ;;
   1134 
   1135   -site | --site | --sit)
   1136     ac_prev=site ;;
   1137   -site=* | --site=* | --sit=*)
   1138     site=$ac_optarg ;;
   1139 
   1140   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1141     ac_prev=srcdir ;;
   1142   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1143     srcdir=$ac_optarg ;;
   1144 
   1145   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1146   | --syscon | --sysco | --sysc | --sys | --sy)
   1147     ac_prev=sysconfdir ;;
   1148   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1149   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1150     sysconfdir=$ac_optarg ;;
   1151 
   1152   -target | --target | --targe | --targ | --tar | --ta | --t)
   1153     ac_prev=target_alias ;;
   1154   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1155     target_alias=$ac_optarg ;;
   1156 
   1157   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1158     verbose=yes ;;
   1159 
   1160   -version | --version | --versio | --versi | --vers | -V)
   1161     ac_init_version=: ;;
   1162 
   1163   -with-* | --with-*)
   1164     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1165     # Reject names that are not valid shell variable names.
   1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1167       as_fn_error $? "invalid package name: $ac_useropt"
   1168     ac_useropt_orig=$ac_useropt
   1169     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1170     case $ac_user_opts in
   1171       *"
   1172 "with_$ac_useropt"
   1173 "*) ;;
   1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1175 	 ac_unrecognized_sep=', ';;
   1176     esac
   1177     eval with_$ac_useropt=\$ac_optarg ;;
   1178 
   1179   -without-* | --without-*)
   1180     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1181     # Reject names that are not valid shell variable names.
   1182     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1183       as_fn_error $? "invalid package name: $ac_useropt"
   1184     ac_useropt_orig=$ac_useropt
   1185     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1186     case $ac_user_opts in
   1187       *"
   1188 "with_$ac_useropt"
   1189 "*) ;;
   1190       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1191 	 ac_unrecognized_sep=', ';;
   1192     esac
   1193     eval with_$ac_useropt=no ;;
   1194 
   1195   --x)
   1196     # Obsolete; use --with-x.
   1197     with_x=yes ;;
   1198 
   1199   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1200   | --x-incl | --x-inc | --x-in | --x-i)
   1201     ac_prev=x_includes ;;
   1202   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1203   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1204     x_includes=$ac_optarg ;;
   1205 
   1206   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1207   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1208     ac_prev=x_libraries ;;
   1209   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1210   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1211     x_libraries=$ac_optarg ;;
   1212 
   1213   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1214 Try \`$0 --help' for more information"
   1215     ;;
   1216 
   1217   *=*)
   1218     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1219     # Reject names that are not valid shell variable names.
   1220     case $ac_envvar in #(
   1221       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1222       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1223     esac
   1224     eval $ac_envvar=\$ac_optarg
   1225     export $ac_envvar ;;
   1226 
   1227   *)
   1228     # FIXME: should be removed in autoconf 3.0.
   1229     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1230     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1231       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1232     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1233     ;;
   1234 
   1235   esac
   1236 done
   1237 
   1238 if test -n "$ac_prev"; then
   1239   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1240   as_fn_error $? "missing argument to $ac_option"
   1241 fi
   1242 
   1243 if test -n "$ac_unrecognized_opts"; then
   1244   case $enable_option_checking in
   1245     no) ;;
   1246     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1247     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1248   esac
   1249 fi
   1250 
   1251 # Check all directory arguments for consistency.
   1252 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1253 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1254 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1255 		libdir localedir mandir
   1256 do
   1257   eval ac_val=\$$ac_var
   1258   # Remove trailing slashes.
   1259   case $ac_val in
   1260     */ )
   1261       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1262       eval $ac_var=\$ac_val;;
   1263   esac
   1264   # Be sure to have absolute directory names.
   1265   case $ac_val in
   1266     [\\/$]* | ?:[\\/]* )  continue;;
   1267     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1268   esac
   1269   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1270 done
   1271 
   1272 # There might be people who depend on the old broken behavior: `$host'
   1273 # used to hold the argument of --host etc.
   1274 # FIXME: To remove some day.
   1275 build=$build_alias
   1276 host=$host_alias
   1277 target=$target_alias
   1278 
   1279 # FIXME: To remove some day.
   1280 if test "x$host_alias" != x; then
   1281   if test "x$build_alias" = x; then
   1282     cross_compiling=maybe
   1283   elif test "x$build_alias" != "x$host_alias"; then
   1284     cross_compiling=yes
   1285   fi
   1286 fi
   1287 
   1288 ac_tool_prefix=
   1289 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1290 
   1291 test "$silent" = yes && exec 6>/dev/null
   1292 
   1293 
   1294 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1295 ac_ls_di=`ls -di .` &&
   1296 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1297   as_fn_error $? "working directory cannot be determined"
   1298 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1299   as_fn_error $? "pwd does not report name of working directory"
   1300 
   1301 
   1302 # Find the source files, if location was not specified.
   1303 if test -z "$srcdir"; then
   1304   ac_srcdir_defaulted=yes
   1305   # Try the directory containing this script, then the parent directory.
   1306   ac_confdir=`$as_dirname -- "$as_myself" ||
   1307 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1308 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1309 	 X"$as_myself" : 'X\(//\)$' \| \
   1310 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1311 $as_echo X"$as_myself" |
   1312     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  /^X\(\/\/\)[^/].*/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  /^X\(\/\/\)$/{
   1321 	    s//\1/
   1322 	    q
   1323 	  }
   1324 	  /^X\(\/\).*/{
   1325 	    s//\1/
   1326 	    q
   1327 	  }
   1328 	  s/.*/./; q'`
   1329   srcdir=$ac_confdir
   1330   if test ! -r "$srcdir/$ac_unique_file"; then
   1331     srcdir=..
   1332   fi
   1333 else
   1334   ac_srcdir_defaulted=no
   1335 fi
   1336 if test ! -r "$srcdir/$ac_unique_file"; then
   1337   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1338   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1339 fi
   1340 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1341 ac_abs_confdir=`(
   1342 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1343 	pwd)`
   1344 # When building in place, set srcdir=.
   1345 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1346   srcdir=.
   1347 fi
   1348 # Remove unnecessary trailing slashes from srcdir.
   1349 # Double slashes in file names in object file debugging info
   1350 # mess up M-x gdb in Emacs.
   1351 case $srcdir in
   1352 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1353 esac
   1354 for ac_var in $ac_precious_vars; do
   1355   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1356   eval ac_env_${ac_var}_value=\$${ac_var}
   1357   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1358   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1359 done
   1360 
   1361 #
   1362 # Report the --help message.
   1363 #
   1364 if test "$ac_init_help" = "long"; then
   1365   # Omit some internal or obsolete options to make the list less imposing.
   1366   # This message is too long to be a string in the A/UX 3.1 sh.
   1367   cat <<_ACEOF
   1368 \`configure' configures gprofng 2.46.0 to adapt to many kinds of systems.
   1369 
   1370 Usage: $0 [OPTION]... [VAR=VALUE]...
   1371 
   1372 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1373 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1374 
   1375 Defaults for the options are specified in brackets.
   1376 
   1377 Configuration:
   1378   -h, --help              display this help and exit
   1379       --help=short        display options specific to this package
   1380       --help=recursive    display the short help of all the included packages
   1381   -V, --version           display version information and exit
   1382   -q, --quiet, --silent   do not print \`checking ...' messages
   1383       --cache-file=FILE   cache test results in FILE [disabled]
   1384   -C, --config-cache      alias for \`--cache-file=config.cache'
   1385   -n, --no-create         do not create output files
   1386       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1387 
   1388 Installation directories:
   1389   --prefix=PREFIX         install architecture-independent files in PREFIX
   1390                           [$ac_default_prefix]
   1391   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1392                           [PREFIX]
   1393 
   1394 By default, \`make install' will install all the files in
   1395 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1396 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1397 for instance \`--prefix=\$HOME'.
   1398 
   1399 For better control, use the options below.
   1400 
   1401 Fine tuning of the installation directories:
   1402   --bindir=DIR            user executables [EPREFIX/bin]
   1403   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1404   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1405   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1406   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1407   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1408   --libdir=DIR            object code libraries [EPREFIX/lib]
   1409   --includedir=DIR        C header files [PREFIX/include]
   1410   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1411   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1412   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1413   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1414   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1415   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1416   --docdir=DIR            documentation root [DATAROOTDIR/doc/gprofng]
   1417   --htmldir=DIR           html documentation [DOCDIR]
   1418   --dvidir=DIR            dvi documentation [DOCDIR]
   1419   --pdfdir=DIR            pdf documentation [DOCDIR]
   1420   --psdir=DIR             ps documentation [DOCDIR]
   1421 _ACEOF
   1422 
   1423   cat <<\_ACEOF
   1424 
   1425 Program names:
   1426   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1427   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1428   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1429 
   1430 System types:
   1431   --build=BUILD     configure for building on BUILD [guessed]
   1432   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1433   --target=TARGET   configure for building compilers for TARGET [HOST]
   1434 _ACEOF
   1435 fi
   1436 
   1437 if test -n "$ac_init_help"; then
   1438   case $ac_init_help in
   1439      short | recursive ) echo "Configuration of gprofng 2.46.0:";;
   1440    esac
   1441   cat <<\_ACEOF
   1442 
   1443 Optional Features:
   1444   --disable-option-checking  ignore unrecognized --enable/--with options
   1445   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1446   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1447   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1448   --disable-silent-rules  verbose build output (undo: "make V=0")
   1449   --enable-maintainer-mode
   1450                           enable make rules and dependencies not useful (and
   1451                           sometimes confusing) to the casual installer
   1452   --enable-dependency-tracking
   1453                           do not reject slow dependency extractors
   1454   --disable-dependency-tracking
   1455                           speeds up one-time build
   1456   --enable-shared[=PKGS]  build shared libraries [default=no]
   1457   --enable-static[=PKGS]  build static libraries [default=yes]
   1458   --enable-fast-install[=PKGS]
   1459                           optimize for fast installation [default=yes]
   1460   --disable-libtool-lock  avoid locking (might break parallel builds)
   1461   --enable-werror-always  enable -Werror despite compiler version
   1462   --disable-gprofng-tools do not build gprofng/src directory
   1463   --enable-gprofng-debug  Enable debugging output [default=no]
   1464 
   1465 Optional Packages:
   1466   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1467   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1468   --with-pic              try to use only PIC/non-PIC objects [default=use
   1469                           both]
   1470   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1471   --with-jdk=PATH         specify prefix directory for installed JDK.
   1472   --with-system-zlib      use installed libz
   1473 
   1474 Some influential environment variables:
   1475   CC          C compiler command
   1476   CFLAGS      C compiler flags
   1477   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1478               nonstandard directory <lib dir>
   1479   LIBS        libraries to pass to the linker, e.g. -l<library>
   1480   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1481               you have headers in a nonstandard directory <include dir>
   1482   CPP         C preprocessor
   1483   CXX         C++ compiler command
   1484   CXXFLAGS    C++ compiler flags
   1485   CXXCPP      C++ preprocessor
   1486 
   1487 Use these variables to override the choices made by `configure' or to help
   1488 it to find libraries and programs with nonstandard names/locations.
   1489 
   1490 Report bugs to the package provider.
   1491 _ACEOF
   1492 ac_status=$?
   1493 fi
   1494 
   1495 if test "$ac_init_help" = "recursive"; then
   1496   # If there are subdirs, report their specific --help.
   1497   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1498     test -d "$ac_dir" ||
   1499       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1500       continue
   1501     ac_builddir=.
   1502 
   1503 case "$ac_dir" in
   1504 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1505 *)
   1506   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1507   # A ".." for each directory in $ac_dir_suffix.
   1508   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1509   case $ac_top_builddir_sub in
   1510   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1511   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1512   esac ;;
   1513 esac
   1514 ac_abs_top_builddir=$ac_pwd
   1515 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1516 # for backward compatibility:
   1517 ac_top_builddir=$ac_top_build_prefix
   1518 
   1519 case $srcdir in
   1520   .)  # We are building in place.
   1521     ac_srcdir=.
   1522     ac_top_srcdir=$ac_top_builddir_sub
   1523     ac_abs_top_srcdir=$ac_pwd ;;
   1524   [\\/]* | ?:[\\/]* )  # Absolute name.
   1525     ac_srcdir=$srcdir$ac_dir_suffix;
   1526     ac_top_srcdir=$srcdir
   1527     ac_abs_top_srcdir=$srcdir ;;
   1528   *) # Relative name.
   1529     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1530     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1531     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1532 esac
   1533 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1534 
   1535     cd "$ac_dir" || { ac_status=$?; continue; }
   1536     # Check for guested configure.
   1537     if test -f "$ac_srcdir/configure.gnu"; then
   1538       echo &&
   1539       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1540     elif test -f "$ac_srcdir/configure"; then
   1541       echo &&
   1542       $SHELL "$ac_srcdir/configure" --help=recursive
   1543     else
   1544       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1545     fi || ac_status=$?
   1546     cd "$ac_pwd" || { ac_status=$?; break; }
   1547   done
   1548 fi
   1549 
   1550 test -n "$ac_init_help" && exit $ac_status
   1551 if $ac_init_version; then
   1552   cat <<\_ACEOF
   1553 gprofng configure 2.46.0
   1554 generated by GNU Autoconf 2.69
   1555 
   1556 Copyright (C) 2012 Free Software Foundation, Inc.
   1557 This configure script is free software; the Free Software Foundation
   1558 gives unlimited permission to copy, distribute and modify it.
   1559 _ACEOF
   1560   exit
   1561 fi
   1562 
   1563 ## ------------------------ ##
   1564 ## Autoconf initialization. ##
   1565 ## ------------------------ ##
   1566 
   1567 # ac_fn_c_try_compile LINENO
   1568 # --------------------------
   1569 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1570 ac_fn_c_try_compile ()
   1571 {
   1572   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1573   rm -f conftest.$ac_objext
   1574   if { { ac_try="$ac_compile"
   1575 case "(($ac_try" in
   1576   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1577   *) ac_try_echo=$ac_try;;
   1578 esac
   1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1580 $as_echo "$ac_try_echo"; } >&5
   1581   (eval "$ac_compile") 2>conftest.err
   1582   ac_status=$?
   1583   if test -s conftest.err; then
   1584     grep -v '^ *+' conftest.err >conftest.er1
   1585     cat conftest.er1 >&5
   1586     mv -f conftest.er1 conftest.err
   1587   fi
   1588   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1589   test $ac_status = 0; } && {
   1590 	 test -z "$ac_c_werror_flag" ||
   1591 	 test ! -s conftest.err
   1592        } && test -s conftest.$ac_objext; then :
   1593   ac_retval=0
   1594 else
   1595   $as_echo "$as_me: failed program was:" >&5
   1596 sed 's/^/| /' conftest.$ac_ext >&5
   1597 
   1598 	ac_retval=1
   1599 fi
   1600   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1601   as_fn_set_status $ac_retval
   1602 
   1603 } # ac_fn_c_try_compile
   1604 
   1605 # ac_fn_c_try_cpp LINENO
   1606 # ----------------------
   1607 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1608 ac_fn_c_try_cpp ()
   1609 {
   1610   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1611   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1612 case "(($ac_try" in
   1613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1614   *) ac_try_echo=$ac_try;;
   1615 esac
   1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1617 $as_echo "$ac_try_echo"; } >&5
   1618   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1619   ac_status=$?
   1620   if test -s conftest.err; then
   1621     grep -v '^ *+' conftest.err >conftest.er1
   1622     cat conftest.er1 >&5
   1623     mv -f conftest.er1 conftest.err
   1624   fi
   1625   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1626   test $ac_status = 0; } > conftest.i && {
   1627 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1628 	 test ! -s conftest.err
   1629        }; then :
   1630   ac_retval=0
   1631 else
   1632   $as_echo "$as_me: failed program was:" >&5
   1633 sed 's/^/| /' conftest.$ac_ext >&5
   1634 
   1635     ac_retval=1
   1636 fi
   1637   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1638   as_fn_set_status $ac_retval
   1639 
   1640 } # ac_fn_c_try_cpp
   1641 
   1642 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1643 # -------------------------------------------------------
   1644 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1645 # the include files in INCLUDES and setting the cache variable VAR
   1646 # accordingly.
   1647 ac_fn_c_check_header_mongrel ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   if eval \${$3+:} false; then :
   1651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1652 $as_echo_n "checking for $2... " >&6; }
   1653 if eval \${$3+:} false; then :
   1654   $as_echo_n "(cached) " >&6
   1655 fi
   1656 eval ac_res=\$$3
   1657 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1658 $as_echo "$ac_res" >&6; }
   1659 else
   1660   # Is the header compilable?
   1661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1662 $as_echo_n "checking $2 usability... " >&6; }
   1663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1664 /* end confdefs.h.  */
   1665 $4
   1666 #include <$2>
   1667 _ACEOF
   1668 if ac_fn_c_try_compile "$LINENO"; then :
   1669   ac_header_compiler=yes
   1670 else
   1671   ac_header_compiler=no
   1672 fi
   1673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1675 $as_echo "$ac_header_compiler" >&6; }
   1676 
   1677 # Is the header present?
   1678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1679 $as_echo_n "checking $2 presence... " >&6; }
   1680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1681 /* end confdefs.h.  */
   1682 #include <$2>
   1683 _ACEOF
   1684 if ac_fn_c_try_cpp "$LINENO"; then :
   1685   ac_header_preproc=yes
   1686 else
   1687   ac_header_preproc=no
   1688 fi
   1689 rm -f conftest.err conftest.i conftest.$ac_ext
   1690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1691 $as_echo "$ac_header_preproc" >&6; }
   1692 
   1693 # So?  What about this header?
   1694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1695   yes:no: )
   1696     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1697 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1698     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1699 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1700     ;;
   1701   no:yes:* )
   1702     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1703 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1704     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1705 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1706     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1707 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1708     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1709 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1710     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1711 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1712     ;;
   1713 esac
   1714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1715 $as_echo_n "checking for $2... " >&6; }
   1716 if eval \${$3+:} false; then :
   1717   $as_echo_n "(cached) " >&6
   1718 else
   1719   eval "$3=\$ac_header_compiler"
   1720 fi
   1721 eval ac_res=\$$3
   1722 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1723 $as_echo "$ac_res" >&6; }
   1724 fi
   1725   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1726 
   1727 } # ac_fn_c_check_header_mongrel
   1728 
   1729 # ac_fn_c_try_run LINENO
   1730 # ----------------------
   1731 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1732 # that executables *can* be run.
   1733 ac_fn_c_try_run ()
   1734 {
   1735   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1736   if { { ac_try="$ac_link"
   1737 case "(($ac_try" in
   1738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1739   *) ac_try_echo=$ac_try;;
   1740 esac
   1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1742 $as_echo "$ac_try_echo"; } >&5
   1743   (eval "$ac_link") 2>&5
   1744   ac_status=$?
   1745   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1746   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1747   { { case "(($ac_try" in
   1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1749   *) ac_try_echo=$ac_try;;
   1750 esac
   1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1752 $as_echo "$ac_try_echo"; } >&5
   1753   (eval "$ac_try") 2>&5
   1754   ac_status=$?
   1755   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1756   test $ac_status = 0; }; }; then :
   1757   ac_retval=0
   1758 else
   1759   $as_echo "$as_me: program exited with status $ac_status" >&5
   1760        $as_echo "$as_me: failed program was:" >&5
   1761 sed 's/^/| /' conftest.$ac_ext >&5
   1762 
   1763        ac_retval=$ac_status
   1764 fi
   1765   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1767   as_fn_set_status $ac_retval
   1768 
   1769 } # ac_fn_c_try_run
   1770 
   1771 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1772 # -------------------------------------------------------
   1773 # Tests whether HEADER exists and can be compiled using the include files in
   1774 # INCLUDES, setting the cache variable VAR accordingly.
   1775 ac_fn_c_check_header_compile ()
   1776 {
   1777   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1778   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1779 $as_echo_n "checking for $2... " >&6; }
   1780 if eval \${$3+:} false; then :
   1781   $as_echo_n "(cached) " >&6
   1782 else
   1783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1784 /* end confdefs.h.  */
   1785 $4
   1786 #include <$2>
   1787 _ACEOF
   1788 if ac_fn_c_try_compile "$LINENO"; then :
   1789   eval "$3=yes"
   1790 else
   1791   eval "$3=no"
   1792 fi
   1793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1794 fi
   1795 eval ac_res=\$$3
   1796 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1797 $as_echo "$ac_res" >&6; }
   1798   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1799 
   1800 } # ac_fn_c_check_header_compile
   1801 
   1802 # ac_fn_cxx_try_compile LINENO
   1803 # ----------------------------
   1804 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1805 ac_fn_cxx_try_compile ()
   1806 {
   1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1808   rm -f conftest.$ac_objext
   1809   if { { ac_try="$ac_compile"
   1810 case "(($ac_try" in
   1811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1812   *) ac_try_echo=$ac_try;;
   1813 esac
   1814 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1815 $as_echo "$ac_try_echo"; } >&5
   1816   (eval "$ac_compile") 2>conftest.err
   1817   ac_status=$?
   1818   if test -s conftest.err; then
   1819     grep -v '^ *+' conftest.err >conftest.er1
   1820     cat conftest.er1 >&5
   1821     mv -f conftest.er1 conftest.err
   1822   fi
   1823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1824   test $ac_status = 0; } && {
   1825 	 test -z "$ac_cxx_werror_flag" ||
   1826 	 test ! -s conftest.err
   1827        } && test -s conftest.$ac_objext; then :
   1828   ac_retval=0
   1829 else
   1830   $as_echo "$as_me: failed program was:" >&5
   1831 sed 's/^/| /' conftest.$ac_ext >&5
   1832 
   1833 	ac_retval=1
   1834 fi
   1835   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1836   as_fn_set_status $ac_retval
   1837 
   1838 } # ac_fn_cxx_try_compile
   1839 
   1840 # ac_fn_c_try_link LINENO
   1841 # -----------------------
   1842 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1843 ac_fn_c_try_link ()
   1844 {
   1845   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1846   rm -f conftest.$ac_objext conftest$ac_exeext
   1847   if { { ac_try="$ac_link"
   1848 case "(($ac_try" in
   1849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1850   *) ac_try_echo=$ac_try;;
   1851 esac
   1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1853 $as_echo "$ac_try_echo"; } >&5
   1854   (eval "$ac_link") 2>conftest.err
   1855   ac_status=$?
   1856   if test -s conftest.err; then
   1857     grep -v '^ *+' conftest.err >conftest.er1
   1858     cat conftest.er1 >&5
   1859     mv -f conftest.er1 conftest.err
   1860   fi
   1861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1862   test $ac_status = 0; } && {
   1863 	 test -z "$ac_c_werror_flag" ||
   1864 	 test ! -s conftest.err
   1865        } && test -s conftest$ac_exeext && {
   1866 	 test "$cross_compiling" = yes ||
   1867 	 test -x conftest$ac_exeext
   1868        }; then :
   1869   ac_retval=0
   1870 else
   1871   $as_echo "$as_me: failed program was:" >&5
   1872 sed 's/^/| /' conftest.$ac_ext >&5
   1873 
   1874 	ac_retval=1
   1875 fi
   1876   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1877   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1878   # interfere with the next link command; also delete a directory that is
   1879   # left behind by Apple's compiler.  We do this before executing the actions.
   1880   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1881   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1882   as_fn_set_status $ac_retval
   1883 
   1884 } # ac_fn_c_try_link
   1885 
   1886 # ac_fn_c_check_func LINENO FUNC VAR
   1887 # ----------------------------------
   1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1889 ac_fn_c_check_func ()
   1890 {
   1891   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1893 $as_echo_n "checking for $2... " >&6; }
   1894 if eval \${$3+:} false; then :
   1895   $as_echo_n "(cached) " >&6
   1896 else
   1897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1898 /* end confdefs.h.  */
   1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1900    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1901 #define $2 innocuous_$2
   1902 
   1903 /* System header to define __stub macros and hopefully few prototypes,
   1904     which can conflict with char $2 (); below.
   1905     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1906     <limits.h> exists even on freestanding compilers.  */
   1907 
   1908 #ifdef __STDC__
   1909 # include <limits.h>
   1910 #else
   1911 # include <assert.h>
   1912 #endif
   1913 
   1914 #undef $2
   1915 
   1916 /* Override any GCC internal prototype to avoid an error.
   1917    Use char because int might match the return type of a GCC
   1918    builtin and then its argument prototype would still apply.  */
   1919 #ifdef __cplusplus
   1920 extern "C"
   1921 #endif
   1922 char $2 ();
   1923 /* The GNU C library defines this for functions which it implements
   1924     to always fail with ENOSYS.  Some functions are actually named
   1925     something starting with __ and the normal name is an alias.  */
   1926 #if defined __stub_$2 || defined __stub___$2
   1927 choke me
   1928 #endif
   1929 
   1930 int
   1931 main ()
   1932 {
   1933 return $2 ();
   1934   ;
   1935   return 0;
   1936 }
   1937 _ACEOF
   1938 if ac_fn_c_try_link "$LINENO"; then :
   1939   eval "$3=yes"
   1940 else
   1941   eval "$3=no"
   1942 fi
   1943 rm -f core conftest.err conftest.$ac_objext \
   1944     conftest$ac_exeext conftest.$ac_ext
   1945 fi
   1946 eval ac_res=\$$3
   1947 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1948 $as_echo "$ac_res" >&6; }
   1949   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1950 
   1951 } # ac_fn_c_check_func
   1952 
   1953 # ac_fn_cxx_try_cpp LINENO
   1954 # ------------------------
   1955 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1956 ac_fn_cxx_try_cpp ()
   1957 {
   1958   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1959   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1960 case "(($ac_try" in
   1961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1962   *) ac_try_echo=$ac_try;;
   1963 esac
   1964 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1965 $as_echo "$ac_try_echo"; } >&5
   1966   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1967   ac_status=$?
   1968   if test -s conftest.err; then
   1969     grep -v '^ *+' conftest.err >conftest.er1
   1970     cat conftest.er1 >&5
   1971     mv -f conftest.er1 conftest.err
   1972   fi
   1973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1974   test $ac_status = 0; } > conftest.i && {
   1975 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1976 	 test ! -s conftest.err
   1977        }; then :
   1978   ac_retval=0
   1979 else
   1980   $as_echo "$as_me: failed program was:" >&5
   1981 sed 's/^/| /' conftest.$ac_ext >&5
   1982 
   1983     ac_retval=1
   1984 fi
   1985   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1986   as_fn_set_status $ac_retval
   1987 
   1988 } # ac_fn_cxx_try_cpp
   1989 
   1990 # ac_fn_cxx_try_link LINENO
   1991 # -------------------------
   1992 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1993 ac_fn_cxx_try_link ()
   1994 {
   1995   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1996   rm -f conftest.$ac_objext conftest$ac_exeext
   1997   if { { ac_try="$ac_link"
   1998 case "(($ac_try" in
   1999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2000   *) ac_try_echo=$ac_try;;
   2001 esac
   2002 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2003 $as_echo "$ac_try_echo"; } >&5
   2004   (eval "$ac_link") 2>conftest.err
   2005   ac_status=$?
   2006   if test -s conftest.err; then
   2007     grep -v '^ *+' conftest.err >conftest.er1
   2008     cat conftest.er1 >&5
   2009     mv -f conftest.er1 conftest.err
   2010   fi
   2011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2012   test $ac_status = 0; } && {
   2013 	 test -z "$ac_cxx_werror_flag" ||
   2014 	 test ! -s conftest.err
   2015        } && test -s conftest$ac_exeext && {
   2016 	 test "$cross_compiling" = yes ||
   2017 	 test -x conftest$ac_exeext
   2018        }; then :
   2019   ac_retval=0
   2020 else
   2021   $as_echo "$as_me: failed program was:" >&5
   2022 sed 's/^/| /' conftest.$ac_ext >&5
   2023 
   2024 	ac_retval=1
   2025 fi
   2026   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2027   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2028   # interfere with the next link command; also delete a directory that is
   2029   # left behind by Apple's compiler.  We do this before executing the actions.
   2030   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2031   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2032   as_fn_set_status $ac_retval
   2033 
   2034 } # ac_fn_cxx_try_link
   2035 
   2036 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2037 # ---------------------------------------------
   2038 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2039 # accordingly.
   2040 ac_fn_c_check_decl ()
   2041 {
   2042   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2043   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2044   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2046 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2047 if eval \${$3+:} false; then :
   2048   $as_echo_n "(cached) " >&6
   2049 else
   2050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2051 /* end confdefs.h.  */
   2052 $4
   2053 int
   2054 main ()
   2055 {
   2056 #ifndef $as_decl_name
   2057 #ifdef __cplusplus
   2058   (void) $as_decl_use;
   2059 #else
   2060   (void) $as_decl_name;
   2061 #endif
   2062 #endif
   2063 
   2064   ;
   2065   return 0;
   2066 }
   2067 _ACEOF
   2068 if ac_fn_c_try_compile "$LINENO"; then :
   2069   eval "$3=yes"
   2070 else
   2071   eval "$3=no"
   2072 fi
   2073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2074 fi
   2075 eval ac_res=\$$3
   2076 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2077 $as_echo "$ac_res" >&6; }
   2078   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2079 
   2080 } # ac_fn_c_check_decl
   2081 cat >config.log <<_ACEOF
   2082 This file contains any messages produced by compilers while
   2083 running configure, to aid debugging if configure makes a mistake.
   2084 
   2085 It was created by gprofng $as_me 2.46.0, which was
   2086 generated by GNU Autoconf 2.69.  Invocation command line was
   2087 
   2088   $ $0 $@
   2089 
   2090 _ACEOF
   2091 exec 5>>config.log
   2092 {
   2093 cat <<_ASUNAME
   2094 ## --------- ##
   2095 ## Platform. ##
   2096 ## --------- ##
   2097 
   2098 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2099 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2100 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2101 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2102 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2103 
   2104 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2105 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2106 
   2107 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2108 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2109 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2110 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2111 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2112 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2113 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2114 
   2115 _ASUNAME
   2116 
   2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2118 for as_dir in $PATH
   2119 do
   2120   IFS=$as_save_IFS
   2121   test -z "$as_dir" && as_dir=.
   2122     $as_echo "PATH: $as_dir"
   2123   done
   2124 IFS=$as_save_IFS
   2125 
   2126 } >&5
   2127 
   2128 cat >&5 <<_ACEOF
   2129 
   2130 
   2131 ## ----------- ##
   2132 ## Core tests. ##
   2133 ## ----------- ##
   2134 
   2135 _ACEOF
   2136 
   2137 
   2138 # Keep a trace of the command line.
   2139 # Strip out --no-create and --no-recursion so they do not pile up.
   2140 # Strip out --silent because we don't want to record it for future runs.
   2141 # Also quote any args containing shell meta-characters.
   2142 # Make two passes to allow for proper duplicate-argument suppression.
   2143 ac_configure_args=
   2144 ac_configure_args0=
   2145 ac_configure_args1=
   2146 ac_must_keep_next=false
   2147 for ac_pass in 1 2
   2148 do
   2149   for ac_arg
   2150   do
   2151     case $ac_arg in
   2152     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2153     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2154     | -silent | --silent | --silen | --sile | --sil)
   2155       continue ;;
   2156     *\'*)
   2157       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2158     esac
   2159     case $ac_pass in
   2160     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2161     2)
   2162       as_fn_append ac_configure_args1 " '$ac_arg'"
   2163       if test $ac_must_keep_next = true; then
   2164 	ac_must_keep_next=false # Got value, back to normal.
   2165       else
   2166 	case $ac_arg in
   2167 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2168 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2169 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2170 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2171 	    case "$ac_configure_args0 " in
   2172 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2173 	    esac
   2174 	    ;;
   2175 	  -* ) ac_must_keep_next=true ;;
   2176 	esac
   2177       fi
   2178       as_fn_append ac_configure_args " '$ac_arg'"
   2179       ;;
   2180     esac
   2181   done
   2182 done
   2183 { ac_configure_args0=; unset ac_configure_args0;}
   2184 { ac_configure_args1=; unset ac_configure_args1;}
   2185 
   2186 # When interrupted or exit'd, cleanup temporary files, and complete
   2187 # config.log.  We remove comments because anyway the quotes in there
   2188 # would cause problems or look ugly.
   2189 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2190 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2191 trap 'exit_status=$?
   2192   # Save into config.log some information that might help in debugging.
   2193   {
   2194     echo
   2195 
   2196     $as_echo "## ---------------- ##
   2197 ## Cache variables. ##
   2198 ## ---------------- ##"
   2199     echo
   2200     # The following way of writing the cache mishandles newlines in values,
   2201 (
   2202   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2203     eval ac_val=\$$ac_var
   2204     case $ac_val in #(
   2205     *${as_nl}*)
   2206       case $ac_var in #(
   2207       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2208 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2209       esac
   2210       case $ac_var in #(
   2211       _ | IFS | as_nl) ;; #(
   2212       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2213       *) { eval $ac_var=; unset $ac_var;} ;;
   2214       esac ;;
   2215     esac
   2216   done
   2217   (set) 2>&1 |
   2218     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2219     *${as_nl}ac_space=\ *)
   2220       sed -n \
   2221 	"s/'\''/'\''\\\\'\'''\''/g;
   2222 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2223       ;; #(
   2224     *)
   2225       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2226       ;;
   2227     esac |
   2228     sort
   2229 )
   2230     echo
   2231 
   2232     $as_echo "## ----------------- ##
   2233 ## Output variables. ##
   2234 ## ----------------- ##"
   2235     echo
   2236     for ac_var in $ac_subst_vars
   2237     do
   2238       eval ac_val=\$$ac_var
   2239       case $ac_val in
   2240       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2241       esac
   2242       $as_echo "$ac_var='\''$ac_val'\''"
   2243     done | sort
   2244     echo
   2245 
   2246     if test -n "$ac_subst_files"; then
   2247       $as_echo "## ------------------- ##
   2248 ## File substitutions. ##
   2249 ## ------------------- ##"
   2250       echo
   2251       for ac_var in $ac_subst_files
   2252       do
   2253 	eval ac_val=\$$ac_var
   2254 	case $ac_val in
   2255 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2256 	esac
   2257 	$as_echo "$ac_var='\''$ac_val'\''"
   2258       done | sort
   2259       echo
   2260     fi
   2261 
   2262     if test -s confdefs.h; then
   2263       $as_echo "## ----------- ##
   2264 ## confdefs.h. ##
   2265 ## ----------- ##"
   2266       echo
   2267       cat confdefs.h
   2268       echo
   2269     fi
   2270     test "$ac_signal" != 0 &&
   2271       $as_echo "$as_me: caught signal $ac_signal"
   2272     $as_echo "$as_me: exit $exit_status"
   2273   } >&5
   2274   rm -f core *.core core.conftest.* &&
   2275     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2276     exit $exit_status
   2277 ' 0
   2278 for ac_signal in 1 2 13 15; do
   2279   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2280 done
   2281 ac_signal=0
   2282 
   2283 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2284 rm -f -r conftest* confdefs.h
   2285 
   2286 $as_echo "/* confdefs.h */" > confdefs.h
   2287 
   2288 # Predefined preprocessor variables.
   2289 
   2290 cat >>confdefs.h <<_ACEOF
   2291 #define PACKAGE_NAME "$PACKAGE_NAME"
   2292 _ACEOF
   2293 
   2294 cat >>confdefs.h <<_ACEOF
   2295 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2296 _ACEOF
   2297 
   2298 cat >>confdefs.h <<_ACEOF
   2299 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2300 _ACEOF
   2301 
   2302 cat >>confdefs.h <<_ACEOF
   2303 #define PACKAGE_STRING "$PACKAGE_STRING"
   2304 _ACEOF
   2305 
   2306 cat >>confdefs.h <<_ACEOF
   2307 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2308 _ACEOF
   2309 
   2310 cat >>confdefs.h <<_ACEOF
   2311 #define PACKAGE_URL "$PACKAGE_URL"
   2312 _ACEOF
   2313 
   2314 
   2315 # Let the site file select an alternate cache file if it wants to.
   2316 # Prefer an explicitly selected file to automatically selected ones.
   2317 ac_site_file1=NONE
   2318 ac_site_file2=NONE
   2319 if test -n "$CONFIG_SITE"; then
   2320   # We do not want a PATH search for config.site.
   2321   case $CONFIG_SITE in #((
   2322     -*)  ac_site_file1=./$CONFIG_SITE;;
   2323     */*) ac_site_file1=$CONFIG_SITE;;
   2324     *)   ac_site_file1=./$CONFIG_SITE;;
   2325   esac
   2326 elif test "x$prefix" != xNONE; then
   2327   ac_site_file1=$prefix/share/config.site
   2328   ac_site_file2=$prefix/etc/config.site
   2329 else
   2330   ac_site_file1=$ac_default_prefix/share/config.site
   2331   ac_site_file2=$ac_default_prefix/etc/config.site
   2332 fi
   2333 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2334 do
   2335   test "x$ac_site_file" = xNONE && continue
   2336   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2337     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2338 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2339     sed 's/^/| /' "$ac_site_file" >&5
   2340     . "$ac_site_file" \
   2341       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2343 as_fn_error $? "failed to load site script $ac_site_file
   2344 See \`config.log' for more details" "$LINENO" 5; }
   2345   fi
   2346 done
   2347 
   2348 if test -r "$cache_file"; then
   2349   # Some versions of bash will fail to source /dev/null (special files
   2350   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2351   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2352     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2353 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2354     case $cache_file in
   2355       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2356       *)                      . "./$cache_file";;
   2357     esac
   2358   fi
   2359 else
   2360   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2361 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2362   >$cache_file
   2363 fi
   2364 
   2365 # Check that the precious variables saved in the cache have kept the same
   2366 # value.
   2367 ac_cache_corrupted=false
   2368 for ac_var in $ac_precious_vars; do
   2369   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2370   eval ac_new_set=\$ac_env_${ac_var}_set
   2371   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2372   eval ac_new_val=\$ac_env_${ac_var}_value
   2373   case $ac_old_set,$ac_new_set in
   2374     set,)
   2375       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2376 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2377       ac_cache_corrupted=: ;;
   2378     ,set)
   2379       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2380 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2381       ac_cache_corrupted=: ;;
   2382     ,);;
   2383     *)
   2384       if test "x$ac_old_val" != "x$ac_new_val"; then
   2385 	# differences in whitespace do not lead to failure.
   2386 	ac_old_val_w=`echo x $ac_old_val`
   2387 	ac_new_val_w=`echo x $ac_new_val`
   2388 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2389 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2390 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2391 	  ac_cache_corrupted=:
   2392 	else
   2393 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2394 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2395 	  eval $ac_var=\$ac_old_val
   2396 	fi
   2397 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2398 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2399 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2400 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2401       fi;;
   2402   esac
   2403   # Pass precious variables to config.status.
   2404   if test "$ac_new_set" = set; then
   2405     case $ac_new_val in
   2406     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2407     *) ac_arg=$ac_var=$ac_new_val ;;
   2408     esac
   2409     case " $ac_configure_args " in
   2410       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2411       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2412     esac
   2413   fi
   2414 done
   2415 if $ac_cache_corrupted; then
   2416   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2417 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2418   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2419 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2420   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2421 fi
   2422 ## -------------------- ##
   2423 ## Main body of script. ##
   2424 ## -------------------- ##
   2425 
   2426 ac_ext=c
   2427 ac_cpp='$CPP $CPPFLAGS'
   2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2431 
   2432 
   2433 
   2434 
   2435 
   2436 ac_aux_dir=
   2437 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2438   if test -f "$ac_dir/install-sh"; then
   2439     ac_aux_dir=$ac_dir
   2440     ac_install_sh="$ac_aux_dir/install-sh -c"
   2441     break
   2442   elif test -f "$ac_dir/install.sh"; then
   2443     ac_aux_dir=$ac_dir
   2444     ac_install_sh="$ac_aux_dir/install.sh -c"
   2445     break
   2446   elif test -f "$ac_dir/shtool"; then
   2447     ac_aux_dir=$ac_dir
   2448     ac_install_sh="$ac_aux_dir/shtool install -c"
   2449     break
   2450   fi
   2451 done
   2452 if test -z "$ac_aux_dir"; then
   2453   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2454 fi
   2455 
   2456 # These three variables are undocumented and unsupported,
   2457 # and are intended to be withdrawn in a future Autoconf release.
   2458 # They can cause serious problems if a builder's source tree is in a directory
   2459 # whose full name contains unusual characters.
   2460 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2461 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2462 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2463 
   2464 
   2465 # Make sure we can run config.sub.
   2466 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2467   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2468 
   2469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2470 $as_echo_n "checking build system type... " >&6; }
   2471 if ${ac_cv_build+:} false; then :
   2472   $as_echo_n "(cached) " >&6
   2473 else
   2474   ac_build_alias=$build_alias
   2475 test "x$ac_build_alias" = x &&
   2476   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2477 test "x$ac_build_alias" = x &&
   2478   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2479 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2480   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2481 
   2482 fi
   2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2484 $as_echo "$ac_cv_build" >&6; }
   2485 case $ac_cv_build in
   2486 *-*-*) ;;
   2487 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2488 esac
   2489 build=$ac_cv_build
   2490 ac_save_IFS=$IFS; IFS='-'
   2491 set x $ac_cv_build
   2492 shift
   2493 build_cpu=$1
   2494 build_vendor=$2
   2495 shift; shift
   2496 # Remember, the first character of IFS is used to create $*,
   2497 # except with old shells:
   2498 build_os=$*
   2499 IFS=$ac_save_IFS
   2500 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2501 
   2502 
   2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2504 $as_echo_n "checking host system type... " >&6; }
   2505 if ${ac_cv_host+:} false; then :
   2506   $as_echo_n "(cached) " >&6
   2507 else
   2508   if test "x$host_alias" = x; then
   2509   ac_cv_host=$ac_cv_build
   2510 else
   2511   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2512     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2513 fi
   2514 
   2515 fi
   2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2517 $as_echo "$ac_cv_host" >&6; }
   2518 case $ac_cv_host in
   2519 *-*-*) ;;
   2520 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2521 esac
   2522 host=$ac_cv_host
   2523 ac_save_IFS=$IFS; IFS='-'
   2524 set x $ac_cv_host
   2525 shift
   2526 host_cpu=$1
   2527 host_vendor=$2
   2528 shift; shift
   2529 # Remember, the first character of IFS is used to create $*,
   2530 # except with old shells:
   2531 host_os=$*
   2532 IFS=$ac_save_IFS
   2533 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2534 
   2535 
   2536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2537 $as_echo_n "checking target system type... " >&6; }
   2538 if ${ac_cv_target+:} false; then :
   2539   $as_echo_n "(cached) " >&6
   2540 else
   2541   if test "x$target_alias" = x; then
   2542   ac_cv_target=$ac_cv_host
   2543 else
   2544   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2545     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2546 fi
   2547 
   2548 fi
   2549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2550 $as_echo "$ac_cv_target" >&6; }
   2551 case $ac_cv_target in
   2552 *-*-*) ;;
   2553 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2554 esac
   2555 target=$ac_cv_target
   2556 ac_save_IFS=$IFS; IFS='-'
   2557 set x $ac_cv_target
   2558 shift
   2559 target_cpu=$1
   2560 target_vendor=$2
   2561 shift; shift
   2562 # Remember, the first character of IFS is used to create $*,
   2563 # except with old shells:
   2564 target_os=$*
   2565 IFS=$ac_save_IFS
   2566 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2567 
   2568 
   2569 # The aliases save the names the user supplied, while $host etc.
   2570 # will get canonicalized.
   2571 test -n "$target_alias" &&
   2572   test "$program_prefix$program_suffix$program_transform_name" = \
   2573     NONENONEs,x,x, &&
   2574   program_prefix=${target_alias}-
   2575 am__api_version='1.15'
   2576 
   2577 # Find a good install program.  We prefer a C program (faster),
   2578 # so one script is as good as another.  But avoid the broken or
   2579 # incompatible versions:
   2580 # SysV /etc/install, /usr/sbin/install
   2581 # SunOS /usr/etc/install
   2582 # IRIX /sbin/install
   2583 # AIX /bin/install
   2584 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2585 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2586 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2587 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2588 # OS/2's system install, which has a completely different semantic
   2589 # ./install, which can be erroneously created by make from ./install.sh.
   2590 # Reject install programs that cannot install multiple files.
   2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2592 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2593 if test -z "$INSTALL"; then
   2594 if ${ac_cv_path_install+:} false; then :
   2595   $as_echo_n "(cached) " >&6
   2596 else
   2597   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2598 for as_dir in $PATH
   2599 do
   2600   IFS=$as_save_IFS
   2601   test -z "$as_dir" && as_dir=.
   2602     # Account for people who put trailing slashes in PATH elements.
   2603 case $as_dir/ in #((
   2604   ./ | .// | /[cC]/* | \
   2605   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2606   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2607   /usr/ucb/* ) ;;
   2608   *)
   2609     # OSF1 and SCO ODT 3.0 have their own names for install.
   2610     # Don't use installbsd from OSF since it installs stuff as root
   2611     # by default.
   2612     for ac_prog in ginstall scoinst install; do
   2613       for ac_exec_ext in '' $ac_executable_extensions; do
   2614 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2615 	  if test $ac_prog = install &&
   2616 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2617 	    # AIX install.  It has an incompatible calling convention.
   2618 	    :
   2619 	  elif test $ac_prog = install &&
   2620 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2621 	    # program-specific install script used by HP pwplus--don't use.
   2622 	    :
   2623 	  else
   2624 	    rm -rf conftest.one conftest.two conftest.dir
   2625 	    echo one > conftest.one
   2626 	    echo two > conftest.two
   2627 	    mkdir conftest.dir
   2628 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2629 	      test -s conftest.one && test -s conftest.two &&
   2630 	      test -s conftest.dir/conftest.one &&
   2631 	      test -s conftest.dir/conftest.two
   2632 	    then
   2633 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2634 	      break 3
   2635 	    fi
   2636 	  fi
   2637 	fi
   2638       done
   2639     done
   2640     ;;
   2641 esac
   2642 
   2643   done
   2644 IFS=$as_save_IFS
   2645 
   2646 rm -rf conftest.one conftest.two conftest.dir
   2647 
   2648 fi
   2649   if test "${ac_cv_path_install+set}" = set; then
   2650     INSTALL=$ac_cv_path_install
   2651   else
   2652     # As a last resort, use the slow shell script.  Don't cache a
   2653     # value for INSTALL within a source directory, because that will
   2654     # break other packages using the cache if that directory is
   2655     # removed, or if the value is a relative name.
   2656     INSTALL=$ac_install_sh
   2657   fi
   2658 fi
   2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2660 $as_echo "$INSTALL" >&6; }
   2661 
   2662 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2663 # It thinks the first close brace ends the variable substitution.
   2664 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2665 
   2666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2667 
   2668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2669 
   2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2671 $as_echo_n "checking whether build environment is sane... " >&6; }
   2672 # Reject unsafe characters in $srcdir or the absolute working directory
   2673 # name.  Accept space and tab only in the latter.
   2674 am_lf='
   2675 '
   2676 case `pwd` in
   2677   *[\\\"\#\$\&\'\`$am_lf]*)
   2678     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2679 esac
   2680 case $srcdir in
   2681   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2682     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2683 esac
   2684 
   2685 # Do 'set' in a subshell so we don't clobber the current shell's
   2686 # arguments.  Must try -L first in case configure is actually a
   2687 # symlink; some systems play weird games with the mod time of symlinks
   2688 # (eg FreeBSD returns the mod time of the symlink's containing
   2689 # directory).
   2690 if (
   2691    am_has_slept=no
   2692    for am_try in 1 2; do
   2693      echo "timestamp, slept: $am_has_slept" > conftest.file
   2694      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2695      if test "$*" = "X"; then
   2696 	# -L didn't work.
   2697 	set X `ls -t "$srcdir/configure" conftest.file`
   2698      fi
   2699      if test "$*" != "X $srcdir/configure conftest.file" \
   2700 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2701 
   2702 	# If neither matched, then we have a broken ls.  This can happen
   2703 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2704 	# broken ls alias from the environment.  This has actually
   2705 	# happened.  Such a system could not be considered "sane".
   2706 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2707   alias in your environment" "$LINENO" 5
   2708      fi
   2709      if test "$2" = conftest.file || test $am_try -eq 2; then
   2710        break
   2711      fi
   2712      # Just in case.
   2713      sleep 1
   2714      am_has_slept=yes
   2715    done
   2716    test "$2" = conftest.file
   2717    )
   2718 then
   2719    # Ok.
   2720    :
   2721 else
   2722    as_fn_error $? "newly created file is older than distributed files!
   2723 Check your system clock" "$LINENO" 5
   2724 fi
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2726 $as_echo "yes" >&6; }
   2727 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2728 # generated files are strictly newer.
   2729 am_sleep_pid=
   2730 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2731   ( sleep 1 ) &
   2732   am_sleep_pid=$!
   2733 fi
   2734 
   2735 rm -f conftest.file
   2736 
   2737 test "$program_prefix" != NONE &&
   2738   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2739 # Use a double $ so make ignores it.
   2740 test "$program_suffix" != NONE &&
   2741   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2742 # Double any \ or $.
   2743 # By default was `s,x,x', remove it if useless.
   2744 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2745 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2746 
   2747 # Expand $ac_aux_dir to an absolute path.
   2748 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2749 
   2750 if test x"${MISSING+set}" != xset; then
   2751   case $am_aux_dir in
   2752   *\ * | *\	*)
   2753     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2754   *)
   2755     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2756   esac
   2757 fi
   2758 # Use eval to expand $SHELL
   2759 if eval "$MISSING --is-lightweight"; then
   2760   am_missing_run="$MISSING "
   2761 else
   2762   am_missing_run=
   2763   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2764 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2765 fi
   2766 
   2767 if test x"${install_sh+set}" != xset; then
   2768   case $am_aux_dir in
   2769   *\ * | *\	*)
   2770     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2771   *)
   2772     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2773   esac
   2774 fi
   2775 
   2776 # Installed binaries are usually stripped using 'strip' when the user
   2777 # run "make install-strip".  However 'strip' might not be the right
   2778 # tool to use in cross-compilation environments, therefore Automake
   2779 # will honor the 'STRIP' environment variable to overrule this program.
   2780 if test "$cross_compiling" != no; then
   2781   if test -n "$ac_tool_prefix"; then
   2782   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2783 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2785 $as_echo_n "checking for $ac_word... " >&6; }
   2786 if ${ac_cv_prog_STRIP+:} false; then :
   2787   $as_echo_n "(cached) " >&6
   2788 else
   2789   if test -n "$STRIP"; then
   2790   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2791 else
   2792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2793 for as_dir in $PATH
   2794 do
   2795   IFS=$as_save_IFS
   2796   test -z "$as_dir" && as_dir=.
   2797     for ac_exec_ext in '' $ac_executable_extensions; do
   2798   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2799     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2800     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2801     break 2
   2802   fi
   2803 done
   2804   done
   2805 IFS=$as_save_IFS
   2806 
   2807 fi
   2808 fi
   2809 STRIP=$ac_cv_prog_STRIP
   2810 if test -n "$STRIP"; then
   2811   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2812 $as_echo "$STRIP" >&6; }
   2813 else
   2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2815 $as_echo "no" >&6; }
   2816 fi
   2817 
   2818 
   2819 fi
   2820 if test -z "$ac_cv_prog_STRIP"; then
   2821   ac_ct_STRIP=$STRIP
   2822   # Extract the first word of "strip", so it can be a program name with args.
   2823 set dummy strip; ac_word=$2
   2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2825 $as_echo_n "checking for $ac_word... " >&6; }
   2826 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2827   $as_echo_n "(cached) " >&6
   2828 else
   2829   if test -n "$ac_ct_STRIP"; then
   2830   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2831 else
   2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2833 for as_dir in $PATH
   2834 do
   2835   IFS=$as_save_IFS
   2836   test -z "$as_dir" && as_dir=.
   2837     for ac_exec_ext in '' $ac_executable_extensions; do
   2838   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2839     ac_cv_prog_ac_ct_STRIP="strip"
   2840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2841     break 2
   2842   fi
   2843 done
   2844   done
   2845 IFS=$as_save_IFS
   2846 
   2847 fi
   2848 fi
   2849 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2850 if test -n "$ac_ct_STRIP"; then
   2851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2852 $as_echo "$ac_ct_STRIP" >&6; }
   2853 else
   2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2855 $as_echo "no" >&6; }
   2856 fi
   2857 
   2858   if test "x$ac_ct_STRIP" = x; then
   2859     STRIP=":"
   2860   else
   2861     case $cross_compiling:$ac_tool_warned in
   2862 yes:)
   2863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2865 ac_tool_warned=yes ;;
   2866 esac
   2867     STRIP=$ac_ct_STRIP
   2868   fi
   2869 else
   2870   STRIP="$ac_cv_prog_STRIP"
   2871 fi
   2872 
   2873 fi
   2874 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2875 
   2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2877 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2878 if test -z "$MKDIR_P"; then
   2879   if ${ac_cv_path_mkdir+:} false; then :
   2880   $as_echo_n "(cached) " >&6
   2881 else
   2882   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2883 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2884 do
   2885   IFS=$as_save_IFS
   2886   test -z "$as_dir" && as_dir=.
   2887     for ac_prog in mkdir gmkdir; do
   2888 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2889 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2890 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2891 	     'mkdir (GNU coreutils) '* | \
   2892 	     'mkdir (coreutils) '* | \
   2893 	     'mkdir (fileutils) '4.1*)
   2894 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2895 	       break 3;;
   2896 	   esac
   2897 	 done
   2898        done
   2899   done
   2900 IFS=$as_save_IFS
   2901 
   2902 fi
   2903 
   2904   test -d ./--version && rmdir ./--version
   2905   if test "${ac_cv_path_mkdir+set}" = set; then
   2906     MKDIR_P="$ac_cv_path_mkdir -p"
   2907   else
   2908     # As a last resort, use the slow shell script.  Don't cache a
   2909     # value for MKDIR_P within a source directory, because that will
   2910     # break other packages using the cache if that directory is
   2911     # removed, or if the value is a relative name.
   2912     MKDIR_P="$ac_install_sh -d"
   2913   fi
   2914 fi
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2916 $as_echo "$MKDIR_P" >&6; }
   2917 
   2918 for ac_prog in gawk mawk nawk awk
   2919 do
   2920   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2921 set dummy $ac_prog; ac_word=$2
   2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2923 $as_echo_n "checking for $ac_word... " >&6; }
   2924 if ${ac_cv_prog_AWK+:} false; then :
   2925   $as_echo_n "(cached) " >&6
   2926 else
   2927   if test -n "$AWK"; then
   2928   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2929 else
   2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2931 for as_dir in $PATH
   2932 do
   2933   IFS=$as_save_IFS
   2934   test -z "$as_dir" && as_dir=.
   2935     for ac_exec_ext in '' $ac_executable_extensions; do
   2936   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2937     ac_cv_prog_AWK="$ac_prog"
   2938     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2939     break 2
   2940   fi
   2941 done
   2942   done
   2943 IFS=$as_save_IFS
   2944 
   2945 fi
   2946 fi
   2947 AWK=$ac_cv_prog_AWK
   2948 if test -n "$AWK"; then
   2949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2950 $as_echo "$AWK" >&6; }
   2951 else
   2952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2953 $as_echo "no" >&6; }
   2954 fi
   2955 
   2956 
   2957   test -n "$AWK" && break
   2958 done
   2959 
   2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2961 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2962 set x ${MAKE-make}
   2963 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2964 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2965   $as_echo_n "(cached) " >&6
   2966 else
   2967   cat >conftest.make <<\_ACEOF
   2968 SHELL = /bin/sh
   2969 all:
   2970 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2971 _ACEOF
   2972 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2973 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2974   *@@@%%%=?*=@@@%%%*)
   2975     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2976   *)
   2977     eval ac_cv_prog_make_${ac_make}_set=no;;
   2978 esac
   2979 rm -f conftest.make
   2980 fi
   2981 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2983 $as_echo "yes" >&6; }
   2984   SET_MAKE=
   2985 else
   2986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2987 $as_echo "no" >&6; }
   2988   SET_MAKE="MAKE=${MAKE-make}"
   2989 fi
   2990 
   2991 rm -rf .tst 2>/dev/null
   2992 mkdir .tst 2>/dev/null
   2993 if test -d .tst; then
   2994   am__leading_dot=.
   2995 else
   2996   am__leading_dot=_
   2997 fi
   2998 rmdir .tst 2>/dev/null
   2999 
   3000 # Check whether --enable-silent-rules was given.
   3001 if test "${enable_silent_rules+set}" = set; then :
   3002   enableval=$enable_silent_rules;
   3003 fi
   3004 
   3005 case $enable_silent_rules in # (((
   3006   yes) AM_DEFAULT_VERBOSITY=0;;
   3007    no) AM_DEFAULT_VERBOSITY=1;;
   3008     *) AM_DEFAULT_VERBOSITY=1;;
   3009 esac
   3010 am_make=${MAKE-make}
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3012 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3013 if ${am_cv_make_support_nested_variables+:} false; then :
   3014   $as_echo_n "(cached) " >&6
   3015 else
   3016   if $as_echo 'TRUE=$(BAR$(V))
   3017 BAR0=false
   3018 BAR1=true
   3019 V=1
   3020 am__doit:
   3021 	@$(TRUE)
   3022 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3023   am_cv_make_support_nested_variables=yes
   3024 else
   3025   am_cv_make_support_nested_variables=no
   3026 fi
   3027 fi
   3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3029 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3030 if test $am_cv_make_support_nested_variables = yes; then
   3031     AM_V='$(V)'
   3032   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3033 else
   3034   AM_V=$AM_DEFAULT_VERBOSITY
   3035   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3036 fi
   3037 AM_BACKSLASH='\'
   3038 
   3039 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3040   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3041   # is not polluted with repeated "-I."
   3042   am__isrc=' -I$(srcdir)'
   3043   # test to see if srcdir already configured
   3044   if test -f $srcdir/config.status; then
   3045     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3046   fi
   3047 fi
   3048 
   3049 # test whether we have cygpath
   3050 if test -z "$CYGPATH_W"; then
   3051   if (cygpath --version) >/dev/null 2>/dev/null; then
   3052     CYGPATH_W='cygpath -w'
   3053   else
   3054     CYGPATH_W=echo
   3055   fi
   3056 fi
   3057 
   3058 
   3059 # Define the identity of the package.
   3060  PACKAGE='gprofng'
   3061  VERSION='2.46.0'
   3062 
   3063 
   3064 cat >>confdefs.h <<_ACEOF
   3065 #define PACKAGE "$PACKAGE"
   3066 _ACEOF
   3067 
   3068 
   3069 cat >>confdefs.h <<_ACEOF
   3070 #define VERSION "$VERSION"
   3071 _ACEOF
   3072 
   3073 # Some tools Automake needs.
   3074 
   3075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3076 
   3077 
   3078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3079 
   3080 
   3081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3082 
   3083 
   3084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3085 
   3086 
   3087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3088 
   3089 # For better backward compatibility.  To be removed once Automake 1.9.x
   3090 # dies out for good.  For more background, see:
   3091 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3092 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3093 mkdir_p='$(MKDIR_P)'
   3094 
   3095 # We need awk for the "check" target (and possibly the TAP driver).  The
   3096 # system "awk" is bad on some platforms.
   3097 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3098 # in the wild :-(  We should find a proper way to deprecate it ...
   3099 AMTAR='$${TAR-tar}'
   3100 
   3101 
   3102 # We'll loop over all known methods to create a tar archive until one works.
   3103 _am_tools='gnutar  pax cpio none'
   3104 
   3105 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3106 
   3107 
   3108 
   3109 
   3110 
   3111 
   3112 # POSIX will say in a future version that running "rm -f" with no argument
   3113 # is OK; and we want to be able to make that assumption in our Makefile
   3114 # recipes.  So use an aggressive probe to check that the usage we want is
   3115 # actually supported "in the wild" to an acceptable degree.
   3116 # See automake bug#10828.
   3117 # To make any issue more visible, cause the running configure to be aborted
   3118 # by default if the 'rm' program in use doesn't match our expectations; the
   3119 # user can still override this though.
   3120 if rm -f && rm -fr && rm -rf; then : OK; else
   3121   cat >&2 <<'END'
   3122 Oops!
   3123 
   3124 Your 'rm' program seems unable to run without file operands specified
   3125 on the command line, even when the '-f' option is present.  This is contrary
   3126 to the behaviour of most rm programs out there, and not conforming with
   3127 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3128 
   3129 Please tell bug-automake@gnu.org about your system, including the value
   3130 of your $PATH and any error possibly output before this message.  This
   3131 can help us improve future automake versions.
   3132 
   3133 END
   3134   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3135     echo 'Configuration will proceed anyway, since you have set the' >&2
   3136     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3137     echo >&2
   3138   else
   3139     cat >&2 <<'END'
   3140 Aborting the configuration process, to ensure you take notice of the issue.
   3141 
   3142 You can download and install GNU coreutils to get an 'rm' implementation
   3143 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3144 
   3145 If you want to complete the configuration process using your problematic
   3146 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3147 to "yes", and re-run configure.
   3148 
   3149 END
   3150     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3151   fi
   3152 fi
   3153 
   3154 
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3156 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3157     # Check whether --enable-maintainer-mode was given.
   3158 if test "${enable_maintainer_mode+set}" = set; then :
   3159   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3160 else
   3161   USE_MAINTAINER_MODE=no
   3162 fi
   3163 
   3164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3165 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3166    if test $USE_MAINTAINER_MODE = yes; then
   3167   MAINTAINER_MODE_TRUE=
   3168   MAINTAINER_MODE_FALSE='#'
   3169 else
   3170   MAINTAINER_MODE_TRUE='#'
   3171   MAINTAINER_MODE_FALSE=
   3172 fi
   3173 
   3174   MAINT=$MAINTAINER_MODE_TRUE
   3175 
   3176 
   3177 
   3178 DEPDIR="${am__leading_dot}deps"
   3179 
   3180 ac_config_commands="$ac_config_commands depfiles"
   3181 
   3182 
   3183 am_make=${MAKE-make}
   3184 cat > confinc << 'END'
   3185 am__doit:
   3186 	@echo this is the am__doit target
   3187 .PHONY: am__doit
   3188 END
   3189 # If we don't find an include directive, just comment out the code.
   3190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3191 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3192 am__include="#"
   3193 am__quote=
   3194 _am_result=none
   3195 # First try GNU make style include.
   3196 echo "include confinc" > confmf
   3197 # Ignore all kinds of additional output from 'make'.
   3198 case `$am_make -s -f confmf 2> /dev/null` in #(
   3199 *the\ am__doit\ target*)
   3200   am__include=include
   3201   am__quote=
   3202   _am_result=GNU
   3203   ;;
   3204 esac
   3205 # Now try BSD make style include.
   3206 if test "$am__include" = "#"; then
   3207    echo '.include "confinc"' > confmf
   3208    case `$am_make -s -f confmf 2> /dev/null` in #(
   3209    *the\ am__doit\ target*)
   3210      am__include=.include
   3211      am__quote="\""
   3212      _am_result=BSD
   3213      ;;
   3214    esac
   3215 fi
   3216 
   3217 
   3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3219 $as_echo "$_am_result" >&6; }
   3220 rm -f confinc confmf
   3221 
   3222 # Check whether --enable-dependency-tracking was given.
   3223 if test "${enable_dependency_tracking+set}" = set; then :
   3224   enableval=$enable_dependency_tracking;
   3225 fi
   3226 
   3227 if test "x$enable_dependency_tracking" != xno; then
   3228   am_depcomp="$ac_aux_dir/depcomp"
   3229   AMDEPBACKSLASH='\'
   3230   am__nodep='_no'
   3231 fi
   3232  if test "x$enable_dependency_tracking" != xno; then
   3233   AMDEP_TRUE=
   3234   AMDEP_FALSE='#'
   3235 else
   3236   AMDEP_TRUE='#'
   3237   AMDEP_FALSE=
   3238 fi
   3239 
   3240 
   3241 ac_ext=c
   3242 ac_cpp='$CPP $CPPFLAGS'
   3243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3246 if test -n "$ac_tool_prefix"; then
   3247   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3248 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3250 $as_echo_n "checking for $ac_word... " >&6; }
   3251 if ${ac_cv_prog_CC+:} false; then :
   3252   $as_echo_n "(cached) " >&6
   3253 else
   3254   if test -n "$CC"; then
   3255   ac_cv_prog_CC="$CC" # Let the user override the test.
   3256 else
   3257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3258 for as_dir in $PATH
   3259 do
   3260   IFS=$as_save_IFS
   3261   test -z "$as_dir" && as_dir=.
   3262     for ac_exec_ext in '' $ac_executable_extensions; do
   3263   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3264     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3266     break 2
   3267   fi
   3268 done
   3269   done
   3270 IFS=$as_save_IFS
   3271 
   3272 fi
   3273 fi
   3274 CC=$ac_cv_prog_CC
   3275 if test -n "$CC"; then
   3276   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3277 $as_echo "$CC" >&6; }
   3278 else
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3280 $as_echo "no" >&6; }
   3281 fi
   3282 
   3283 
   3284 fi
   3285 if test -z "$ac_cv_prog_CC"; then
   3286   ac_ct_CC=$CC
   3287   # Extract the first word of "gcc", so it can be a program name with args.
   3288 set dummy gcc; ac_word=$2
   3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3290 $as_echo_n "checking for $ac_word... " >&6; }
   3291 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3292   $as_echo_n "(cached) " >&6
   3293 else
   3294   if test -n "$ac_ct_CC"; then
   3295   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3296 else
   3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3298 for as_dir in $PATH
   3299 do
   3300   IFS=$as_save_IFS
   3301   test -z "$as_dir" && as_dir=.
   3302     for ac_exec_ext in '' $ac_executable_extensions; do
   3303   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3304     ac_cv_prog_ac_ct_CC="gcc"
   3305     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3306     break 2
   3307   fi
   3308 done
   3309   done
   3310 IFS=$as_save_IFS
   3311 
   3312 fi
   3313 fi
   3314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3315 if test -n "$ac_ct_CC"; then
   3316   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3317 $as_echo "$ac_ct_CC" >&6; }
   3318 else
   3319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3320 $as_echo "no" >&6; }
   3321 fi
   3322 
   3323   if test "x$ac_ct_CC" = x; then
   3324     CC=""
   3325   else
   3326     case $cross_compiling:$ac_tool_warned in
   3327 yes:)
   3328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3330 ac_tool_warned=yes ;;
   3331 esac
   3332     CC=$ac_ct_CC
   3333   fi
   3334 else
   3335   CC="$ac_cv_prog_CC"
   3336 fi
   3337 
   3338 if test -z "$CC"; then
   3339           if test -n "$ac_tool_prefix"; then
   3340     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3341 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3343 $as_echo_n "checking for $ac_word... " >&6; }
   3344 if ${ac_cv_prog_CC+:} false; then :
   3345   $as_echo_n "(cached) " >&6
   3346 else
   3347   if test -n "$CC"; then
   3348   ac_cv_prog_CC="$CC" # Let the user override the test.
   3349 else
   3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3351 for as_dir in $PATH
   3352 do
   3353   IFS=$as_save_IFS
   3354   test -z "$as_dir" && as_dir=.
   3355     for ac_exec_ext in '' $ac_executable_extensions; do
   3356   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3357     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3359     break 2
   3360   fi
   3361 done
   3362   done
   3363 IFS=$as_save_IFS
   3364 
   3365 fi
   3366 fi
   3367 CC=$ac_cv_prog_CC
   3368 if test -n "$CC"; then
   3369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3370 $as_echo "$CC" >&6; }
   3371 else
   3372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3373 $as_echo "no" >&6; }
   3374 fi
   3375 
   3376 
   3377   fi
   3378 fi
   3379 if test -z "$CC"; then
   3380   # Extract the first word of "cc", so it can be a program name with args.
   3381 set dummy cc; ac_word=$2
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3383 $as_echo_n "checking for $ac_word... " >&6; }
   3384 if ${ac_cv_prog_CC+:} false; then :
   3385   $as_echo_n "(cached) " >&6
   3386 else
   3387   if test -n "$CC"; then
   3388   ac_cv_prog_CC="$CC" # Let the user override the test.
   3389 else
   3390   ac_prog_rejected=no
   3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3392 for as_dir in $PATH
   3393 do
   3394   IFS=$as_save_IFS
   3395   test -z "$as_dir" && as_dir=.
   3396     for ac_exec_ext in '' $ac_executable_extensions; do
   3397   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3398     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3399        ac_prog_rejected=yes
   3400        continue
   3401      fi
   3402     ac_cv_prog_CC="cc"
   3403     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3404     break 2
   3405   fi
   3406 done
   3407   done
   3408 IFS=$as_save_IFS
   3409 
   3410 if test $ac_prog_rejected = yes; then
   3411   # We found a bogon in the path, so make sure we never use it.
   3412   set dummy $ac_cv_prog_CC
   3413   shift
   3414   if test $# != 0; then
   3415     # We chose a different compiler from the bogus one.
   3416     # However, it has the same basename, so the bogon will be chosen
   3417     # first if we set CC to just the basename; use the full file name.
   3418     shift
   3419     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3420   fi
   3421 fi
   3422 fi
   3423 fi
   3424 CC=$ac_cv_prog_CC
   3425 if test -n "$CC"; then
   3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3427 $as_echo "$CC" >&6; }
   3428 else
   3429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3430 $as_echo "no" >&6; }
   3431 fi
   3432 
   3433 
   3434 fi
   3435 if test -z "$CC"; then
   3436   if test -n "$ac_tool_prefix"; then
   3437   for ac_prog in cl.exe
   3438   do
   3439     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3442 $as_echo_n "checking for $ac_word... " >&6; }
   3443 if ${ac_cv_prog_CC+:} false; then :
   3444   $as_echo_n "(cached) " >&6
   3445 else
   3446   if test -n "$CC"; then
   3447   ac_cv_prog_CC="$CC" # Let the user override the test.
   3448 else
   3449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3450 for as_dir in $PATH
   3451 do
   3452   IFS=$as_save_IFS
   3453   test -z "$as_dir" && as_dir=.
   3454     for ac_exec_ext in '' $ac_executable_extensions; do
   3455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3456     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3458     break 2
   3459   fi
   3460 done
   3461   done
   3462 IFS=$as_save_IFS
   3463 
   3464 fi
   3465 fi
   3466 CC=$ac_cv_prog_CC
   3467 if test -n "$CC"; then
   3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3469 $as_echo "$CC" >&6; }
   3470 else
   3471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3472 $as_echo "no" >&6; }
   3473 fi
   3474 
   3475 
   3476     test -n "$CC" && break
   3477   done
   3478 fi
   3479 if test -z "$CC"; then
   3480   ac_ct_CC=$CC
   3481   for ac_prog in cl.exe
   3482 do
   3483   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3484 set dummy $ac_prog; ac_word=$2
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3486 $as_echo_n "checking for $ac_word... " >&6; }
   3487 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3488   $as_echo_n "(cached) " >&6
   3489 else
   3490   if test -n "$ac_ct_CC"; then
   3491   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3492 else
   3493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3494 for as_dir in $PATH
   3495 do
   3496   IFS=$as_save_IFS
   3497   test -z "$as_dir" && as_dir=.
   3498     for ac_exec_ext in '' $ac_executable_extensions; do
   3499   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3500     ac_cv_prog_ac_ct_CC="$ac_prog"
   3501     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3502     break 2
   3503   fi
   3504 done
   3505   done
   3506 IFS=$as_save_IFS
   3507 
   3508 fi
   3509 fi
   3510 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3511 if test -n "$ac_ct_CC"; then
   3512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3513 $as_echo "$ac_ct_CC" >&6; }
   3514 else
   3515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3516 $as_echo "no" >&6; }
   3517 fi
   3518 
   3519 
   3520   test -n "$ac_ct_CC" && break
   3521 done
   3522 
   3523   if test "x$ac_ct_CC" = x; then
   3524     CC=""
   3525   else
   3526     case $cross_compiling:$ac_tool_warned in
   3527 yes:)
   3528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3530 ac_tool_warned=yes ;;
   3531 esac
   3532     CC=$ac_ct_CC
   3533   fi
   3534 fi
   3535 
   3536 fi
   3537 
   3538 
   3539 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3541 as_fn_error $? "no acceptable C compiler found in \$PATH
   3542 See \`config.log' for more details" "$LINENO" 5; }
   3543 
   3544 # Provide some information about the compiler.
   3545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3546 set X $ac_compile
   3547 ac_compiler=$2
   3548 for ac_option in --version -v -V -qversion; do
   3549   { { ac_try="$ac_compiler $ac_option >&5"
   3550 case "(($ac_try" in
   3551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3552   *) ac_try_echo=$ac_try;;
   3553 esac
   3554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3555 $as_echo "$ac_try_echo"; } >&5
   3556   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3557   ac_status=$?
   3558   if test -s conftest.err; then
   3559     sed '10a\
   3560 ... rest of stderr output deleted ...
   3561          10q' conftest.err >conftest.er1
   3562     cat conftest.er1 >&5
   3563   fi
   3564   rm -f conftest.er1 conftest.err
   3565   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3566   test $ac_status = 0; }
   3567 done
   3568 
   3569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3570 /* end confdefs.h.  */
   3571 
   3572 int
   3573 main ()
   3574 {
   3575 
   3576   ;
   3577   return 0;
   3578 }
   3579 _ACEOF
   3580 ac_clean_files_save=$ac_clean_files
   3581 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3582 # Try to create an executable without -o first, disregard a.out.
   3583 # It will help us diagnose broken compilers, and finding out an intuition
   3584 # of exeext.
   3585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3586 $as_echo_n "checking whether the C compiler works... " >&6; }
   3587 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3588 
   3589 # The possible output files:
   3590 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3591 
   3592 ac_rmfiles=
   3593 for ac_file in $ac_files
   3594 do
   3595   case $ac_file in
   3596     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3597     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3598   esac
   3599 done
   3600 rm -f $ac_rmfiles
   3601 
   3602 if { { ac_try="$ac_link_default"
   3603 case "(($ac_try" in
   3604   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3605   *) ac_try_echo=$ac_try;;
   3606 esac
   3607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3608 $as_echo "$ac_try_echo"; } >&5
   3609   (eval "$ac_link_default") 2>&5
   3610   ac_status=$?
   3611   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3612   test $ac_status = 0; }; then :
   3613   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3614 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3615 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3616 # so that the user can short-circuit this test for compilers unknown to
   3617 # Autoconf.
   3618 for ac_file in $ac_files ''
   3619 do
   3620   test -f "$ac_file" || continue
   3621   case $ac_file in
   3622     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3623 	;;
   3624     [ab].out )
   3625 	# We found the default executable, but exeext='' is most
   3626 	# certainly right.
   3627 	break;;
   3628     *.* )
   3629 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3630 	then :; else
   3631 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3632 	fi
   3633 	# We set ac_cv_exeext here because the later test for it is not
   3634 	# safe: cross compilers may not add the suffix if given an `-o'
   3635 	# argument, so we may need to know it at that point already.
   3636 	# Even if this section looks crufty: it has the advantage of
   3637 	# actually working.
   3638 	break;;
   3639     * )
   3640 	break;;
   3641   esac
   3642 done
   3643 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3644 
   3645 else
   3646   ac_file=''
   3647 fi
   3648 if test -z "$ac_file"; then :
   3649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3650 $as_echo "no" >&6; }
   3651 $as_echo "$as_me: failed program was:" >&5
   3652 sed 's/^/| /' conftest.$ac_ext >&5
   3653 
   3654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3656 as_fn_error 77 "C compiler cannot create executables
   3657 See \`config.log' for more details" "$LINENO" 5; }
   3658 else
   3659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3660 $as_echo "yes" >&6; }
   3661 fi
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3663 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3665 $as_echo "$ac_file" >&6; }
   3666 ac_exeext=$ac_cv_exeext
   3667 
   3668 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3669 ac_clean_files=$ac_clean_files_save
   3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3671 $as_echo_n "checking for suffix of executables... " >&6; }
   3672 if { { ac_try="$ac_link"
   3673 case "(($ac_try" in
   3674   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3675   *) ac_try_echo=$ac_try;;
   3676 esac
   3677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3678 $as_echo "$ac_try_echo"; } >&5
   3679   (eval "$ac_link") 2>&5
   3680   ac_status=$?
   3681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3682   test $ac_status = 0; }; then :
   3683   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3684 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3685 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3686 # `rm'.
   3687 for ac_file in conftest.exe conftest conftest.*; do
   3688   test -f "$ac_file" || continue
   3689   case $ac_file in
   3690     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3691     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3692 	  break;;
   3693     * ) break;;
   3694   esac
   3695 done
   3696 else
   3697   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3699 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3700 See \`config.log' for more details" "$LINENO" 5; }
   3701 fi
   3702 rm -f conftest conftest$ac_cv_exeext
   3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3704 $as_echo "$ac_cv_exeext" >&6; }
   3705 
   3706 rm -f conftest.$ac_ext
   3707 EXEEXT=$ac_cv_exeext
   3708 ac_exeext=$EXEEXT
   3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3710 /* end confdefs.h.  */
   3711 #include <stdio.h>
   3712 int
   3713 main ()
   3714 {
   3715 FILE *f = fopen ("conftest.out", "w");
   3716  return ferror (f) || fclose (f) != 0;
   3717 
   3718   ;
   3719   return 0;
   3720 }
   3721 _ACEOF
   3722 ac_clean_files="$ac_clean_files conftest.out"
   3723 # Check that the compiler produces executables we can run.  If not, either
   3724 # the compiler is broken, or we cross compile.
   3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3726 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3727 if test "$cross_compiling" != yes; then
   3728   { { ac_try="$ac_link"
   3729 case "(($ac_try" in
   3730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3731   *) ac_try_echo=$ac_try;;
   3732 esac
   3733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3734 $as_echo "$ac_try_echo"; } >&5
   3735   (eval "$ac_link") 2>&5
   3736   ac_status=$?
   3737   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3738   test $ac_status = 0; }
   3739   if { ac_try='./conftest$ac_cv_exeext'
   3740   { { case "(($ac_try" in
   3741   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3742   *) ac_try_echo=$ac_try;;
   3743 esac
   3744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3745 $as_echo "$ac_try_echo"; } >&5
   3746   (eval "$ac_try") 2>&5
   3747   ac_status=$?
   3748   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3749   test $ac_status = 0; }; }; then
   3750     cross_compiling=no
   3751   else
   3752     if test "$cross_compiling" = maybe; then
   3753 	cross_compiling=yes
   3754     else
   3755 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3757 as_fn_error $? "cannot run C compiled programs.
   3758 If you meant to cross compile, use \`--host'.
   3759 See \`config.log' for more details" "$LINENO" 5; }
   3760     fi
   3761   fi
   3762 fi
   3763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3764 $as_echo "$cross_compiling" >&6; }
   3765 
   3766 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3767 ac_clean_files=$ac_clean_files_save
   3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3769 $as_echo_n "checking for suffix of object files... " >&6; }
   3770 if ${ac_cv_objext+:} false; then :
   3771   $as_echo_n "(cached) " >&6
   3772 else
   3773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3774 /* end confdefs.h.  */
   3775 
   3776 int
   3777 main ()
   3778 {
   3779 
   3780   ;
   3781   return 0;
   3782 }
   3783 _ACEOF
   3784 rm -f conftest.o conftest.obj
   3785 if { { ac_try="$ac_compile"
   3786 case "(($ac_try" in
   3787   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3788   *) ac_try_echo=$ac_try;;
   3789 esac
   3790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3791 $as_echo "$ac_try_echo"; } >&5
   3792   (eval "$ac_compile") 2>&5
   3793   ac_status=$?
   3794   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3795   test $ac_status = 0; }; then :
   3796   for ac_file in conftest.o conftest.obj conftest.*; do
   3797   test -f "$ac_file" || continue;
   3798   case $ac_file in
   3799     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3800     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3801        break;;
   3802   esac
   3803 done
   3804 else
   3805   $as_echo "$as_me: failed program was:" >&5
   3806 sed 's/^/| /' conftest.$ac_ext >&5
   3807 
   3808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3810 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3811 See \`config.log' for more details" "$LINENO" 5; }
   3812 fi
   3813 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3814 fi
   3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3816 $as_echo "$ac_cv_objext" >&6; }
   3817 OBJEXT=$ac_cv_objext
   3818 ac_objext=$OBJEXT
   3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3820 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3821 if ${ac_cv_c_compiler_gnu+:} false; then :
   3822   $as_echo_n "(cached) " >&6
   3823 else
   3824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3825 /* end confdefs.h.  */
   3826 
   3827 int
   3828 main ()
   3829 {
   3830 #ifndef __GNUC__
   3831        choke me
   3832 #endif
   3833 
   3834   ;
   3835   return 0;
   3836 }
   3837 _ACEOF
   3838 if ac_fn_c_try_compile "$LINENO"; then :
   3839   ac_compiler_gnu=yes
   3840 else
   3841   ac_compiler_gnu=no
   3842 fi
   3843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3845 
   3846 fi
   3847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3848 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3849 if test $ac_compiler_gnu = yes; then
   3850   GCC=yes
   3851 else
   3852   GCC=
   3853 fi
   3854 ac_test_CFLAGS=${CFLAGS+set}
   3855 ac_save_CFLAGS=$CFLAGS
   3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3857 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3858 if ${ac_cv_prog_cc_g+:} false; then :
   3859   $as_echo_n "(cached) " >&6
   3860 else
   3861   ac_save_c_werror_flag=$ac_c_werror_flag
   3862    ac_c_werror_flag=yes
   3863    ac_cv_prog_cc_g=no
   3864    CFLAGS="-g"
   3865    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3866 /* end confdefs.h.  */
   3867 
   3868 int
   3869 main ()
   3870 {
   3871 
   3872   ;
   3873   return 0;
   3874 }
   3875 _ACEOF
   3876 if ac_fn_c_try_compile "$LINENO"; then :
   3877   ac_cv_prog_cc_g=yes
   3878 else
   3879   CFLAGS=""
   3880       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3881 /* end confdefs.h.  */
   3882 
   3883 int
   3884 main ()
   3885 {
   3886 
   3887   ;
   3888   return 0;
   3889 }
   3890 _ACEOF
   3891 if ac_fn_c_try_compile "$LINENO"; then :
   3892 
   3893 else
   3894   ac_c_werror_flag=$ac_save_c_werror_flag
   3895 	 CFLAGS="-g"
   3896 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3897 /* end confdefs.h.  */
   3898 
   3899 int
   3900 main ()
   3901 {
   3902 
   3903   ;
   3904   return 0;
   3905 }
   3906 _ACEOF
   3907 if ac_fn_c_try_compile "$LINENO"; then :
   3908   ac_cv_prog_cc_g=yes
   3909 fi
   3910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3911 fi
   3912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3913 fi
   3914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3915    ac_c_werror_flag=$ac_save_c_werror_flag
   3916 fi
   3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3918 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3919 if test "$ac_test_CFLAGS" = set; then
   3920   CFLAGS=$ac_save_CFLAGS
   3921 elif test $ac_cv_prog_cc_g = yes; then
   3922   if test "$GCC" = yes; then
   3923     CFLAGS="-g -O2"
   3924   else
   3925     CFLAGS="-g"
   3926   fi
   3927 else
   3928   if test "$GCC" = yes; then
   3929     CFLAGS="-O2"
   3930   else
   3931     CFLAGS=
   3932   fi
   3933 fi
   3934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3935 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3936 if ${ac_cv_prog_cc_c89+:} false; then :
   3937   $as_echo_n "(cached) " >&6
   3938 else
   3939   ac_cv_prog_cc_c89=no
   3940 ac_save_CC=$CC
   3941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3942 /* end confdefs.h.  */
   3943 #include <stdarg.h>
   3944 #include <stdio.h>
   3945 struct stat;
   3946 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3947 struct buf { int x; };
   3948 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3949 static char *e (p, i)
   3950      char **p;
   3951      int i;
   3952 {
   3953   return p[i];
   3954 }
   3955 static char *f (char * (*g) (char **, int), char **p, ...)
   3956 {
   3957   char *s;
   3958   va_list v;
   3959   va_start (v,p);
   3960   s = g (p, va_arg (v,int));
   3961   va_end (v);
   3962   return s;
   3963 }
   3964 
   3965 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3966    function prototypes and stuff, but not '\xHH' hex character constants.
   3967    These don't provoke an error unfortunately, instead are silently treated
   3968    as 'x'.  The following induces an error, until -std is added to get
   3969    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3970    array size at least.  It's necessary to write '\x00'==0 to get something
   3971    that's true only with -std.  */
   3972 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3973 
   3974 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3975    inside strings and character constants.  */
   3976 #define FOO(x) 'x'
   3977 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3978 
   3979 int test (int i, double x);
   3980 struct s1 {int (*f) (int a);};
   3981 struct s2 {int (*f) (double a);};
   3982 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3983 int argc;
   3984 char **argv;
   3985 int
   3986 main ()
   3987 {
   3988 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3989   ;
   3990   return 0;
   3991 }
   3992 _ACEOF
   3993 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3994 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3995 do
   3996   CC="$ac_save_CC $ac_arg"
   3997   if ac_fn_c_try_compile "$LINENO"; then :
   3998   ac_cv_prog_cc_c89=$ac_arg
   3999 fi
   4000 rm -f core conftest.err conftest.$ac_objext
   4001   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4002 done
   4003 rm -f conftest.$ac_ext
   4004 CC=$ac_save_CC
   4005 
   4006 fi
   4007 # AC_CACHE_VAL
   4008 case "x$ac_cv_prog_cc_c89" in
   4009   x)
   4010     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4011 $as_echo "none needed" >&6; } ;;
   4012   xno)
   4013     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4014 $as_echo "unsupported" >&6; } ;;
   4015   *)
   4016     CC="$CC $ac_cv_prog_cc_c89"
   4017     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4018 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4019 esac
   4020 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4021 
   4022 fi
   4023 
   4024 ac_ext=c
   4025 ac_cpp='$CPP $CPPFLAGS'
   4026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4029 
   4030 ac_ext=c
   4031 ac_cpp='$CPP $CPPFLAGS'
   4032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4036 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4037 if ${am_cv_prog_cc_c_o+:} false; then :
   4038   $as_echo_n "(cached) " >&6
   4039 else
   4040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4041 /* end confdefs.h.  */
   4042 
   4043 int
   4044 main ()
   4045 {
   4046 
   4047   ;
   4048   return 0;
   4049 }
   4050 _ACEOF
   4051   # Make sure it works both with $CC and with simple cc.
   4052   # Following AC_PROG_CC_C_O, we do the test twice because some
   4053   # compilers refuse to overwrite an existing .o file with -o,
   4054   # though they will create one.
   4055   am_cv_prog_cc_c_o=yes
   4056   for am_i in 1 2; do
   4057     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4058    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4059    ac_status=$?
   4060    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4061    (exit $ac_status); } \
   4062          && test -f conftest2.$ac_objext; then
   4063       : OK
   4064     else
   4065       am_cv_prog_cc_c_o=no
   4066       break
   4067     fi
   4068   done
   4069   rm -f core conftest*
   4070   unset am_i
   4071 fi
   4072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4073 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4074 if test "$am_cv_prog_cc_c_o" != yes; then
   4075    # Losing compiler, so override with the script.
   4076    # FIXME: It is wrong to rewrite CC.
   4077    # But if we don't then we get into trouble of one sort or another.
   4078    # A longer-term fix would be to have automake use am__CC in this case,
   4079    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4080    CC="$am_aux_dir/compile $CC"
   4081 fi
   4082 ac_ext=c
   4083 ac_cpp='$CPP $CPPFLAGS'
   4084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4087 
   4088 
   4089 depcc="$CC"   am_compiler_list=
   4090 
   4091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4092 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4093 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4094   $as_echo_n "(cached) " >&6
   4095 else
   4096   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4097   # We make a subdir and do the tests there.  Otherwise we can end up
   4098   # making bogus files that we don't know about and never remove.  For
   4099   # instance it was reported that on HP-UX the gcc test will end up
   4100   # making a dummy file named 'D' -- because '-MD' means "put the output
   4101   # in D".
   4102   rm -rf conftest.dir
   4103   mkdir conftest.dir
   4104   # Copy depcomp to subdir because otherwise we won't find it if we're
   4105   # using a relative directory.
   4106   cp "$am_depcomp" conftest.dir
   4107   cd conftest.dir
   4108   # We will build objects and dependencies in a subdirectory because
   4109   # it helps to detect inapplicable dependency modes.  For instance
   4110   # both Tru64's cc and ICC support -MD to output dependencies as a
   4111   # side effect of compilation, but ICC will put the dependencies in
   4112   # the current directory while Tru64 will put them in the object
   4113   # directory.
   4114   mkdir sub
   4115 
   4116   am_cv_CC_dependencies_compiler_type=none
   4117   if test "$am_compiler_list" = ""; then
   4118      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4119   fi
   4120   am__universal=false
   4121   case " $depcc " in #(
   4122      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4123      esac
   4124 
   4125   for depmode in $am_compiler_list; do
   4126     # Setup a source with many dependencies, because some compilers
   4127     # like to wrap large dependency lists on column 80 (with \), and
   4128     # we should not choose a depcomp mode which is confused by this.
   4129     #
   4130     # We need to recreate these files for each test, as the compiler may
   4131     # overwrite some of them when testing with obscure command lines.
   4132     # This happens at least with the AIX C compiler.
   4133     : > sub/conftest.c
   4134     for i in 1 2 3 4 5 6; do
   4135       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4136       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4137       # Solaris 10 /bin/sh.
   4138       echo '/* dummy */' > sub/conftst$i.h
   4139     done
   4140     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4141 
   4142     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4143     # mode.  It turns out that the SunPro C++ compiler does not properly
   4144     # handle '-M -o', and we need to detect this.  Also, some Intel
   4145     # versions had trouble with output in subdirs.
   4146     am__obj=sub/conftest.${OBJEXT-o}
   4147     am__minus_obj="-o $am__obj"
   4148     case $depmode in
   4149     gcc)
   4150       # This depmode causes a compiler race in universal mode.
   4151       test "$am__universal" = false || continue
   4152       ;;
   4153     nosideeffect)
   4154       # After this tag, mechanisms are not by side-effect, so they'll
   4155       # only be used when explicitly requested.
   4156       if test "x$enable_dependency_tracking" = xyes; then
   4157 	continue
   4158       else
   4159 	break
   4160       fi
   4161       ;;
   4162     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4163       # This compiler won't grok '-c -o', but also, the minuso test has
   4164       # not run yet.  These depmodes are late enough in the game, and
   4165       # so weak that their functioning should not be impacted.
   4166       am__obj=conftest.${OBJEXT-o}
   4167       am__minus_obj=
   4168       ;;
   4169     none) break ;;
   4170     esac
   4171     if depmode=$depmode \
   4172        source=sub/conftest.c object=$am__obj \
   4173        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4174        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4175          >/dev/null 2>conftest.err &&
   4176        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4177        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4178        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4179        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4180       # icc doesn't choke on unknown options, it will just issue warnings
   4181       # or remarks (even with -Werror).  So we grep stderr for any message
   4182       # that says an option was ignored or not supported.
   4183       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4184       #   icc: Command line warning: ignoring option '-M'; no argument required
   4185       # The diagnosis changed in icc 8.0:
   4186       #   icc: Command line remark: option '-MP' not supported
   4187       if (grep 'ignoring option' conftest.err ||
   4188           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4189         am_cv_CC_dependencies_compiler_type=$depmode
   4190         break
   4191       fi
   4192     fi
   4193   done
   4194 
   4195   cd ..
   4196   rm -rf conftest.dir
   4197 else
   4198   am_cv_CC_dependencies_compiler_type=none
   4199 fi
   4200 
   4201 fi
   4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4203 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4204 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4205 
   4206  if
   4207   test "x$enable_dependency_tracking" != xno \
   4208   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4209   am__fastdepCC_TRUE=
   4210   am__fastdepCC_FALSE='#'
   4211 else
   4212   am__fastdepCC_TRUE='#'
   4213   am__fastdepCC_FALSE=
   4214 fi
   4215 
   4216 
   4217 
   4218 ac_ext=c
   4219 ac_cpp='$CPP $CPPFLAGS'
   4220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4224 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4225 # On Suns, sometimes $CPP names a directory.
   4226 if test -n "$CPP" && test -d "$CPP"; then
   4227   CPP=
   4228 fi
   4229 if test -z "$CPP"; then
   4230   if ${ac_cv_prog_CPP+:} false; then :
   4231   $as_echo_n "(cached) " >&6
   4232 else
   4233       # Double quotes because CPP needs to be expanded
   4234     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4235     do
   4236       ac_preproc_ok=false
   4237 for ac_c_preproc_warn_flag in '' yes
   4238 do
   4239   # Use a header file that comes with gcc, so configuring glibc
   4240   # with a fresh cross-compiler works.
   4241   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4242   # <limits.h> exists even on freestanding compilers.
   4243   # On the NeXT, cc -E runs the code through the compiler's parser,
   4244   # not just through cpp. "Syntax error" is here to catch this case.
   4245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4246 /* end confdefs.h.  */
   4247 #ifdef __STDC__
   4248 # include <limits.h>
   4249 #else
   4250 # include <assert.h>
   4251 #endif
   4252 		     Syntax error
   4253 _ACEOF
   4254 if ac_fn_c_try_cpp "$LINENO"; then :
   4255 
   4256 else
   4257   # Broken: fails on valid input.
   4258 continue
   4259 fi
   4260 rm -f conftest.err conftest.i conftest.$ac_ext
   4261 
   4262   # OK, works on sane cases.  Now check whether nonexistent headers
   4263   # can be detected and how.
   4264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4265 /* end confdefs.h.  */
   4266 #include <ac_nonexistent.h>
   4267 _ACEOF
   4268 if ac_fn_c_try_cpp "$LINENO"; then :
   4269   # Broken: success on invalid input.
   4270 continue
   4271 else
   4272   # Passes both tests.
   4273 ac_preproc_ok=:
   4274 break
   4275 fi
   4276 rm -f conftest.err conftest.i conftest.$ac_ext
   4277 
   4278 done
   4279 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4280 rm -f conftest.i conftest.err conftest.$ac_ext
   4281 if $ac_preproc_ok; then :
   4282   break
   4283 fi
   4284 
   4285     done
   4286     ac_cv_prog_CPP=$CPP
   4287 
   4288 fi
   4289   CPP=$ac_cv_prog_CPP
   4290 else
   4291   ac_cv_prog_CPP=$CPP
   4292 fi
   4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4294 $as_echo "$CPP" >&6; }
   4295 ac_preproc_ok=false
   4296 for ac_c_preproc_warn_flag in '' yes
   4297 do
   4298   # Use a header file that comes with gcc, so configuring glibc
   4299   # with a fresh cross-compiler works.
   4300   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4301   # <limits.h> exists even on freestanding compilers.
   4302   # On the NeXT, cc -E runs the code through the compiler's parser,
   4303   # not just through cpp. "Syntax error" is here to catch this case.
   4304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4305 /* end confdefs.h.  */
   4306 #ifdef __STDC__
   4307 # include <limits.h>
   4308 #else
   4309 # include <assert.h>
   4310 #endif
   4311 		     Syntax error
   4312 _ACEOF
   4313 if ac_fn_c_try_cpp "$LINENO"; then :
   4314 
   4315 else
   4316   # Broken: fails on valid input.
   4317 continue
   4318 fi
   4319 rm -f conftest.err conftest.i conftest.$ac_ext
   4320 
   4321   # OK, works on sane cases.  Now check whether nonexistent headers
   4322   # can be detected and how.
   4323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4324 /* end confdefs.h.  */
   4325 #include <ac_nonexistent.h>
   4326 _ACEOF
   4327 if ac_fn_c_try_cpp "$LINENO"; then :
   4328   # Broken: success on invalid input.
   4329 continue
   4330 else
   4331   # Passes both tests.
   4332 ac_preproc_ok=:
   4333 break
   4334 fi
   4335 rm -f conftest.err conftest.i conftest.$ac_ext
   4336 
   4337 done
   4338 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4339 rm -f conftest.i conftest.err conftest.$ac_ext
   4340 if $ac_preproc_ok; then :
   4341 
   4342 else
   4343   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4345 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4346 See \`config.log' for more details" "$LINENO" 5; }
   4347 fi
   4348 
   4349 ac_ext=c
   4350 ac_cpp='$CPP $CPPFLAGS'
   4351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4354 
   4355 
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4357 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4358 if ${ac_cv_path_GREP+:} false; then :
   4359   $as_echo_n "(cached) " >&6
   4360 else
   4361   if test -z "$GREP"; then
   4362   ac_path_GREP_found=false
   4363   # Loop through the user's path and test for each of PROGNAME-LIST
   4364   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4365 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4366 do
   4367   IFS=$as_save_IFS
   4368   test -z "$as_dir" && as_dir=.
   4369     for ac_prog in grep ggrep; do
   4370     for ac_exec_ext in '' $ac_executable_extensions; do
   4371       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4372       as_fn_executable_p "$ac_path_GREP" || continue
   4373 # Check for GNU ac_path_GREP and select it if it is found.
   4374   # Check for GNU $ac_path_GREP
   4375 case `"$ac_path_GREP" --version 2>&1` in
   4376 *GNU*)
   4377   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4378 *)
   4379   ac_count=0
   4380   $as_echo_n 0123456789 >"conftest.in"
   4381   while :
   4382   do
   4383     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4384     mv "conftest.tmp" "conftest.in"
   4385     cp "conftest.in" "conftest.nl"
   4386     $as_echo 'GREP' >> "conftest.nl"
   4387     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4388     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4389     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4390     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4391       # Best one so far, save it but keep looking for a better one
   4392       ac_cv_path_GREP="$ac_path_GREP"
   4393       ac_path_GREP_max=$ac_count
   4394     fi
   4395     # 10*(2^10) chars as input seems more than enough
   4396     test $ac_count -gt 10 && break
   4397   done
   4398   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4399 esac
   4400 
   4401       $ac_path_GREP_found && break 3
   4402     done
   4403   done
   4404   done
   4405 IFS=$as_save_IFS
   4406   if test -z "$ac_cv_path_GREP"; then
   4407     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4408   fi
   4409 else
   4410   ac_cv_path_GREP=$GREP
   4411 fi
   4412 
   4413 fi
   4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4415 $as_echo "$ac_cv_path_GREP" >&6; }
   4416  GREP="$ac_cv_path_GREP"
   4417 
   4418 
   4419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4420 $as_echo_n "checking for egrep... " >&6; }
   4421 if ${ac_cv_path_EGREP+:} false; then :
   4422   $as_echo_n "(cached) " >&6
   4423 else
   4424   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4425    then ac_cv_path_EGREP="$GREP -E"
   4426    else
   4427      if test -z "$EGREP"; then
   4428   ac_path_EGREP_found=false
   4429   # Loop through the user's path and test for each of PROGNAME-LIST
   4430   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4431 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4432 do
   4433   IFS=$as_save_IFS
   4434   test -z "$as_dir" && as_dir=.
   4435     for ac_prog in egrep; do
   4436     for ac_exec_ext in '' $ac_executable_extensions; do
   4437       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4438       as_fn_executable_p "$ac_path_EGREP" || continue
   4439 # Check for GNU ac_path_EGREP and select it if it is found.
   4440   # Check for GNU $ac_path_EGREP
   4441 case `"$ac_path_EGREP" --version 2>&1` in
   4442 *GNU*)
   4443   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4444 *)
   4445   ac_count=0
   4446   $as_echo_n 0123456789 >"conftest.in"
   4447   while :
   4448   do
   4449     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4450     mv "conftest.tmp" "conftest.in"
   4451     cp "conftest.in" "conftest.nl"
   4452     $as_echo 'EGREP' >> "conftest.nl"
   4453     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4454     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4455     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4456     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4457       # Best one so far, save it but keep looking for a better one
   4458       ac_cv_path_EGREP="$ac_path_EGREP"
   4459       ac_path_EGREP_max=$ac_count
   4460     fi
   4461     # 10*(2^10) chars as input seems more than enough
   4462     test $ac_count -gt 10 && break
   4463   done
   4464   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4465 esac
   4466 
   4467       $ac_path_EGREP_found && break 3
   4468     done
   4469   done
   4470   done
   4471 IFS=$as_save_IFS
   4472   if test -z "$ac_cv_path_EGREP"; then
   4473     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4474   fi
   4475 else
   4476   ac_cv_path_EGREP=$EGREP
   4477 fi
   4478 
   4479    fi
   4480 fi
   4481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4482 $as_echo "$ac_cv_path_EGREP" >&6; }
   4483  EGREP="$ac_cv_path_EGREP"
   4484 
   4485 
   4486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4487 $as_echo_n "checking for ANSI C header files... " >&6; }
   4488 if ${ac_cv_header_stdc+:} false; then :
   4489   $as_echo_n "(cached) " >&6
   4490 else
   4491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4492 /* end confdefs.h.  */
   4493 #include <stdlib.h>
   4494 #include <stdarg.h>
   4495 #include <string.h>
   4496 #include <float.h>
   4497 
   4498 int
   4499 main ()
   4500 {
   4501 
   4502   ;
   4503   return 0;
   4504 }
   4505 _ACEOF
   4506 if ac_fn_c_try_compile "$LINENO"; then :
   4507   ac_cv_header_stdc=yes
   4508 else
   4509   ac_cv_header_stdc=no
   4510 fi
   4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4512 
   4513 if test $ac_cv_header_stdc = yes; then
   4514   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4516 /* end confdefs.h.  */
   4517 #include <string.h>
   4518 
   4519 _ACEOF
   4520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4521   $EGREP "memchr" >/dev/null 2>&1; then :
   4522 
   4523 else
   4524   ac_cv_header_stdc=no
   4525 fi
   4526 rm -f conftest*
   4527 
   4528 fi
   4529 
   4530 if test $ac_cv_header_stdc = yes; then
   4531   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4533 /* end confdefs.h.  */
   4534 #include <stdlib.h>
   4535 
   4536 _ACEOF
   4537 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4538   $EGREP "free" >/dev/null 2>&1; then :
   4539 
   4540 else
   4541   ac_cv_header_stdc=no
   4542 fi
   4543 rm -f conftest*
   4544 
   4545 fi
   4546 
   4547 if test $ac_cv_header_stdc = yes; then
   4548   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4549   if test "$cross_compiling" = yes; then :
   4550   :
   4551 else
   4552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4553 /* end confdefs.h.  */
   4554 #include <ctype.h>
   4555 #include <stdlib.h>
   4556 #if ((' ' & 0x0FF) == 0x020)
   4557 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4558 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4559 #else
   4560 # define ISLOWER(c) \
   4561 		   (('a' <= (c) && (c) <= 'i') \
   4562 		     || ('j' <= (c) && (c) <= 'r') \
   4563 		     || ('s' <= (c) && (c) <= 'z'))
   4564 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4565 #endif
   4566 
   4567 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4568 int
   4569 main ()
   4570 {
   4571   int i;
   4572   for (i = 0; i < 256; i++)
   4573     if (XOR (islower (i), ISLOWER (i))
   4574 	|| toupper (i) != TOUPPER (i))
   4575       return 2;
   4576   return 0;
   4577 }
   4578 _ACEOF
   4579 if ac_fn_c_try_run "$LINENO"; then :
   4580 
   4581 else
   4582   ac_cv_header_stdc=no
   4583 fi
   4584 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4585   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4586 fi
   4587 
   4588 fi
   4589 fi
   4590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4591 $as_echo "$ac_cv_header_stdc" >&6; }
   4592 if test $ac_cv_header_stdc = yes; then
   4593 
   4594 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4595 
   4596 fi
   4597 
   4598 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4599 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4600 		  inttypes.h stdint.h unistd.h
   4601 do :
   4602   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4603 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4604 "
   4605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4606   cat >>confdefs.h <<_ACEOF
   4607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4608 _ACEOF
   4609 
   4610 fi
   4611 
   4612 done
   4613 
   4614 
   4615 
   4616   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4617 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4618   MINIX=yes
   4619 else
   4620   MINIX=
   4621 fi
   4622 
   4623 
   4624   if test "$MINIX" = yes; then
   4625 
   4626 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4627 
   4628 
   4629 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4630 
   4631 
   4632 $as_echo "#define _MINIX 1" >>confdefs.h
   4633 
   4634   fi
   4635 
   4636 
   4637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4638 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4639 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4640   $as_echo_n "(cached) " >&6
   4641 else
   4642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4643 /* end confdefs.h.  */
   4644 
   4645 #         define __EXTENSIONS__ 1
   4646           $ac_includes_default
   4647 int
   4648 main ()
   4649 {
   4650 
   4651   ;
   4652   return 0;
   4653 }
   4654 _ACEOF
   4655 if ac_fn_c_try_compile "$LINENO"; then :
   4656   ac_cv_safe_to_define___extensions__=yes
   4657 else
   4658   ac_cv_safe_to_define___extensions__=no
   4659 fi
   4660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4661 fi
   4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4663 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4664   test $ac_cv_safe_to_define___extensions__ = yes &&
   4665     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4666 
   4667   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4668 
   4669   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4670 
   4671   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4672 
   4673   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4674 
   4675 
   4676 ac_ext=c
   4677 ac_cpp='$CPP $CPPFLAGS'
   4678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4681 if test -n "$ac_tool_prefix"; then
   4682   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4683 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4685 $as_echo_n "checking for $ac_word... " >&6; }
   4686 if ${ac_cv_prog_CC+:} false; then :
   4687   $as_echo_n "(cached) " >&6
   4688 else
   4689   if test -n "$CC"; then
   4690   ac_cv_prog_CC="$CC" # Let the user override the test.
   4691 else
   4692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4693 for as_dir in $PATH
   4694 do
   4695   IFS=$as_save_IFS
   4696   test -z "$as_dir" && as_dir=.
   4697     for ac_exec_ext in '' $ac_executable_extensions; do
   4698   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4699     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4700     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4701     break 2
   4702   fi
   4703 done
   4704   done
   4705 IFS=$as_save_IFS
   4706 
   4707 fi
   4708 fi
   4709 CC=$ac_cv_prog_CC
   4710 if test -n "$CC"; then
   4711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4712 $as_echo "$CC" >&6; }
   4713 else
   4714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4715 $as_echo "no" >&6; }
   4716 fi
   4717 
   4718 
   4719 fi
   4720 if test -z "$ac_cv_prog_CC"; then
   4721   ac_ct_CC=$CC
   4722   # Extract the first word of "gcc", so it can be a program name with args.
   4723 set dummy gcc; ac_word=$2
   4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4725 $as_echo_n "checking for $ac_word... " >&6; }
   4726 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4727   $as_echo_n "(cached) " >&6
   4728 else
   4729   if test -n "$ac_ct_CC"; then
   4730   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4731 else
   4732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4733 for as_dir in $PATH
   4734 do
   4735   IFS=$as_save_IFS
   4736   test -z "$as_dir" && as_dir=.
   4737     for ac_exec_ext in '' $ac_executable_extensions; do
   4738   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4739     ac_cv_prog_ac_ct_CC="gcc"
   4740     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4741     break 2
   4742   fi
   4743 done
   4744   done
   4745 IFS=$as_save_IFS
   4746 
   4747 fi
   4748 fi
   4749 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4750 if test -n "$ac_ct_CC"; then
   4751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4752 $as_echo "$ac_ct_CC" >&6; }
   4753 else
   4754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4755 $as_echo "no" >&6; }
   4756 fi
   4757 
   4758   if test "x$ac_ct_CC" = x; then
   4759     CC=""
   4760   else
   4761     case $cross_compiling:$ac_tool_warned in
   4762 yes:)
   4763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4764 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4765 ac_tool_warned=yes ;;
   4766 esac
   4767     CC=$ac_ct_CC
   4768   fi
   4769 else
   4770   CC="$ac_cv_prog_CC"
   4771 fi
   4772 
   4773 if test -z "$CC"; then
   4774           if test -n "$ac_tool_prefix"; then
   4775     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4776 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4778 $as_echo_n "checking for $ac_word... " >&6; }
   4779 if ${ac_cv_prog_CC+:} false; then :
   4780   $as_echo_n "(cached) " >&6
   4781 else
   4782   if test -n "$CC"; then
   4783   ac_cv_prog_CC="$CC" # Let the user override the test.
   4784 else
   4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4786 for as_dir in $PATH
   4787 do
   4788   IFS=$as_save_IFS
   4789   test -z "$as_dir" && as_dir=.
   4790     for ac_exec_ext in '' $ac_executable_extensions; do
   4791   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4792     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4793     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4794     break 2
   4795   fi
   4796 done
   4797   done
   4798 IFS=$as_save_IFS
   4799 
   4800 fi
   4801 fi
   4802 CC=$ac_cv_prog_CC
   4803 if test -n "$CC"; then
   4804   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4805 $as_echo "$CC" >&6; }
   4806 else
   4807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4808 $as_echo "no" >&6; }
   4809 fi
   4810 
   4811 
   4812   fi
   4813 fi
   4814 if test -z "$CC"; then
   4815   # Extract the first word of "cc", so it can be a program name with args.
   4816 set dummy cc; ac_word=$2
   4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4818 $as_echo_n "checking for $ac_word... " >&6; }
   4819 if ${ac_cv_prog_CC+:} false; then :
   4820   $as_echo_n "(cached) " >&6
   4821 else
   4822   if test -n "$CC"; then
   4823   ac_cv_prog_CC="$CC" # Let the user override the test.
   4824 else
   4825   ac_prog_rejected=no
   4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4827 for as_dir in $PATH
   4828 do
   4829   IFS=$as_save_IFS
   4830   test -z "$as_dir" && as_dir=.
   4831     for ac_exec_ext in '' $ac_executable_extensions; do
   4832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4833     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4834        ac_prog_rejected=yes
   4835        continue
   4836      fi
   4837     ac_cv_prog_CC="cc"
   4838     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4839     break 2
   4840   fi
   4841 done
   4842   done
   4843 IFS=$as_save_IFS
   4844 
   4845 if test $ac_prog_rejected = yes; then
   4846   # We found a bogon in the path, so make sure we never use it.
   4847   set dummy $ac_cv_prog_CC
   4848   shift
   4849   if test $# != 0; then
   4850     # We chose a different compiler from the bogus one.
   4851     # However, it has the same basename, so the bogon will be chosen
   4852     # first if we set CC to just the basename; use the full file name.
   4853     shift
   4854     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4855   fi
   4856 fi
   4857 fi
   4858 fi
   4859 CC=$ac_cv_prog_CC
   4860 if test -n "$CC"; then
   4861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4862 $as_echo "$CC" >&6; }
   4863 else
   4864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4865 $as_echo "no" >&6; }
   4866 fi
   4867 
   4868 
   4869 fi
   4870 if test -z "$CC"; then
   4871   if test -n "$ac_tool_prefix"; then
   4872   for ac_prog in cl.exe
   4873   do
   4874     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4877 $as_echo_n "checking for $ac_word... " >&6; }
   4878 if ${ac_cv_prog_CC+:} false; then :
   4879   $as_echo_n "(cached) " >&6
   4880 else
   4881   if test -n "$CC"; then
   4882   ac_cv_prog_CC="$CC" # Let the user override the test.
   4883 else
   4884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4885 for as_dir in $PATH
   4886 do
   4887   IFS=$as_save_IFS
   4888   test -z "$as_dir" && as_dir=.
   4889     for ac_exec_ext in '' $ac_executable_extensions; do
   4890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4891     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4893     break 2
   4894   fi
   4895 done
   4896   done
   4897 IFS=$as_save_IFS
   4898 
   4899 fi
   4900 fi
   4901 CC=$ac_cv_prog_CC
   4902 if test -n "$CC"; then
   4903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4904 $as_echo "$CC" >&6; }
   4905 else
   4906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4907 $as_echo "no" >&6; }
   4908 fi
   4909 
   4910 
   4911     test -n "$CC" && break
   4912   done
   4913 fi
   4914 if test -z "$CC"; then
   4915   ac_ct_CC=$CC
   4916   for ac_prog in cl.exe
   4917 do
   4918   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4919 set dummy $ac_prog; ac_word=$2
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4921 $as_echo_n "checking for $ac_word... " >&6; }
   4922 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   if test -n "$ac_ct_CC"; then
   4926   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4927 else
   4928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4929 for as_dir in $PATH
   4930 do
   4931   IFS=$as_save_IFS
   4932   test -z "$as_dir" && as_dir=.
   4933     for ac_exec_ext in '' $ac_executable_extensions; do
   4934   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4935     ac_cv_prog_ac_ct_CC="$ac_prog"
   4936     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4937     break 2
   4938   fi
   4939 done
   4940   done
   4941 IFS=$as_save_IFS
   4942 
   4943 fi
   4944 fi
   4945 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4946 if test -n "$ac_ct_CC"; then
   4947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4948 $as_echo "$ac_ct_CC" >&6; }
   4949 else
   4950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4951 $as_echo "no" >&6; }
   4952 fi
   4953 
   4954 
   4955   test -n "$ac_ct_CC" && break
   4956 done
   4957 
   4958   if test "x$ac_ct_CC" = x; then
   4959     CC=""
   4960   else
   4961     case $cross_compiling:$ac_tool_warned in
   4962 yes:)
   4963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4965 ac_tool_warned=yes ;;
   4966 esac
   4967     CC=$ac_ct_CC
   4968   fi
   4969 fi
   4970 
   4971 fi
   4972 
   4973 
   4974 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4975 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4976 as_fn_error $? "no acceptable C compiler found in \$PATH
   4977 See \`config.log' for more details" "$LINENO" 5; }
   4978 
   4979 # Provide some information about the compiler.
   4980 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4981 set X $ac_compile
   4982 ac_compiler=$2
   4983 for ac_option in --version -v -V -qversion; do
   4984   { { ac_try="$ac_compiler $ac_option >&5"
   4985 case "(($ac_try" in
   4986   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4987   *) ac_try_echo=$ac_try;;
   4988 esac
   4989 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4990 $as_echo "$ac_try_echo"; } >&5
   4991   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4992   ac_status=$?
   4993   if test -s conftest.err; then
   4994     sed '10a\
   4995 ... rest of stderr output deleted ...
   4996          10q' conftest.err >conftest.er1
   4997     cat conftest.er1 >&5
   4998   fi
   4999   rm -f conftest.er1 conftest.err
   5000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5001   test $ac_status = 0; }
   5002 done
   5003 
   5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   5005 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5006 if ${ac_cv_c_compiler_gnu+:} false; then :
   5007   $as_echo_n "(cached) " >&6
   5008 else
   5009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5010 /* end confdefs.h.  */
   5011 
   5012 int
   5013 main ()
   5014 {
   5015 #ifndef __GNUC__
   5016        choke me
   5017 #endif
   5018 
   5019   ;
   5020   return 0;
   5021 }
   5022 _ACEOF
   5023 if ac_fn_c_try_compile "$LINENO"; then :
   5024   ac_compiler_gnu=yes
   5025 else
   5026   ac_compiler_gnu=no
   5027 fi
   5028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5029 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5030 
   5031 fi
   5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5033 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5034 if test $ac_compiler_gnu = yes; then
   5035   GCC=yes
   5036 else
   5037   GCC=
   5038 fi
   5039 ac_test_CFLAGS=${CFLAGS+set}
   5040 ac_save_CFLAGS=$CFLAGS
   5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5042 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5043 if ${ac_cv_prog_cc_g+:} false; then :
   5044   $as_echo_n "(cached) " >&6
   5045 else
   5046   ac_save_c_werror_flag=$ac_c_werror_flag
   5047    ac_c_werror_flag=yes
   5048    ac_cv_prog_cc_g=no
   5049    CFLAGS="-g"
   5050    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5051 /* end confdefs.h.  */
   5052 
   5053 int
   5054 main ()
   5055 {
   5056 
   5057   ;
   5058   return 0;
   5059 }
   5060 _ACEOF
   5061 if ac_fn_c_try_compile "$LINENO"; then :
   5062   ac_cv_prog_cc_g=yes
   5063 else
   5064   CFLAGS=""
   5065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5066 /* end confdefs.h.  */
   5067 
   5068 int
   5069 main ()
   5070 {
   5071 
   5072   ;
   5073   return 0;
   5074 }
   5075 _ACEOF
   5076 if ac_fn_c_try_compile "$LINENO"; then :
   5077 
   5078 else
   5079   ac_c_werror_flag=$ac_save_c_werror_flag
   5080 	 CFLAGS="-g"
   5081 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5082 /* end confdefs.h.  */
   5083 
   5084 int
   5085 main ()
   5086 {
   5087 
   5088   ;
   5089   return 0;
   5090 }
   5091 _ACEOF
   5092 if ac_fn_c_try_compile "$LINENO"; then :
   5093   ac_cv_prog_cc_g=yes
   5094 fi
   5095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5096 fi
   5097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5098 fi
   5099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5100    ac_c_werror_flag=$ac_save_c_werror_flag
   5101 fi
   5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5103 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5104 if test "$ac_test_CFLAGS" = set; then
   5105   CFLAGS=$ac_save_CFLAGS
   5106 elif test $ac_cv_prog_cc_g = yes; then
   5107   if test "$GCC" = yes; then
   5108     CFLAGS="-g -O2"
   5109   else
   5110     CFLAGS="-g"
   5111   fi
   5112 else
   5113   if test "$GCC" = yes; then
   5114     CFLAGS="-O2"
   5115   else
   5116     CFLAGS=
   5117   fi
   5118 fi
   5119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5120 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5121 if ${ac_cv_prog_cc_c89+:} false; then :
   5122   $as_echo_n "(cached) " >&6
   5123 else
   5124   ac_cv_prog_cc_c89=no
   5125 ac_save_CC=$CC
   5126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5127 /* end confdefs.h.  */
   5128 #include <stdarg.h>
   5129 #include <stdio.h>
   5130 struct stat;
   5131 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5132 struct buf { int x; };
   5133 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5134 static char *e (p, i)
   5135      char **p;
   5136      int i;
   5137 {
   5138   return p[i];
   5139 }
   5140 static char *f (char * (*g) (char **, int), char **p, ...)
   5141 {
   5142   char *s;
   5143   va_list v;
   5144   va_start (v,p);
   5145   s = g (p, va_arg (v,int));
   5146   va_end (v);
   5147   return s;
   5148 }
   5149 
   5150 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5151    function prototypes and stuff, but not '\xHH' hex character constants.
   5152    These don't provoke an error unfortunately, instead are silently treated
   5153    as 'x'.  The following induces an error, until -std is added to get
   5154    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5155    array size at least.  It's necessary to write '\x00'==0 to get something
   5156    that's true only with -std.  */
   5157 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5158 
   5159 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5160    inside strings and character constants.  */
   5161 #define FOO(x) 'x'
   5162 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5163 
   5164 int test (int i, double x);
   5165 struct s1 {int (*f) (int a);};
   5166 struct s2 {int (*f) (double a);};
   5167 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5168 int argc;
   5169 char **argv;
   5170 int
   5171 main ()
   5172 {
   5173 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5174   ;
   5175   return 0;
   5176 }
   5177 _ACEOF
   5178 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5179 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5180 do
   5181   CC="$ac_save_CC $ac_arg"
   5182   if ac_fn_c_try_compile "$LINENO"; then :
   5183   ac_cv_prog_cc_c89=$ac_arg
   5184 fi
   5185 rm -f core conftest.err conftest.$ac_objext
   5186   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5187 done
   5188 rm -f conftest.$ac_ext
   5189 CC=$ac_save_CC
   5190 
   5191 fi
   5192 # AC_CACHE_VAL
   5193 case "x$ac_cv_prog_cc_c89" in
   5194   x)
   5195     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5196 $as_echo "none needed" >&6; } ;;
   5197   xno)
   5198     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5199 $as_echo "unsupported" >&6; } ;;
   5200   *)
   5201     CC="$CC $ac_cv_prog_cc_c89"
   5202     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5203 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5204 esac
   5205 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5206 
   5207 fi
   5208 
   5209 ac_ext=c
   5210 ac_cpp='$CPP $CPPFLAGS'
   5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5214 
   5215 ac_ext=c
   5216 ac_cpp='$CPP $CPPFLAGS'
   5217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5221 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5222 if ${am_cv_prog_cc_c_o+:} false; then :
   5223   $as_echo_n "(cached) " >&6
   5224 else
   5225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5226 /* end confdefs.h.  */
   5227 
   5228 int
   5229 main ()
   5230 {
   5231 
   5232   ;
   5233   return 0;
   5234 }
   5235 _ACEOF
   5236   # Make sure it works both with $CC and with simple cc.
   5237   # Following AC_PROG_CC_C_O, we do the test twice because some
   5238   # compilers refuse to overwrite an existing .o file with -o,
   5239   # though they will create one.
   5240   am_cv_prog_cc_c_o=yes
   5241   for am_i in 1 2; do
   5242     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5243    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5244    ac_status=$?
   5245    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5246    (exit $ac_status); } \
   5247          && test -f conftest2.$ac_objext; then
   5248       : OK
   5249     else
   5250       am_cv_prog_cc_c_o=no
   5251       break
   5252     fi
   5253   done
   5254   rm -f core conftest*
   5255   unset am_i
   5256 fi
   5257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5258 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5259 if test "$am_cv_prog_cc_c_o" != yes; then
   5260    # Losing compiler, so override with the script.
   5261    # FIXME: It is wrong to rewrite CC.
   5262    # But if we don't then we get into trouble of one sort or another.
   5263    # A longer-term fix would be to have automake use am__CC in this case,
   5264    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5265    CC="$am_aux_dir/compile $CC"
   5266 fi
   5267 ac_ext=c
   5268 ac_cpp='$CPP $CPPFLAGS'
   5269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5272 
   5273 
   5274 depcc="$CC"   am_compiler_list=
   5275 
   5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5277 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5278 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5279   $as_echo_n "(cached) " >&6
   5280 else
   5281   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5282   # We make a subdir and do the tests there.  Otherwise we can end up
   5283   # making bogus files that we don't know about and never remove.  For
   5284   # instance it was reported that on HP-UX the gcc test will end up
   5285   # making a dummy file named 'D' -- because '-MD' means "put the output
   5286   # in D".
   5287   rm -rf conftest.dir
   5288   mkdir conftest.dir
   5289   # Copy depcomp to subdir because otherwise we won't find it if we're
   5290   # using a relative directory.
   5291   cp "$am_depcomp" conftest.dir
   5292   cd conftest.dir
   5293   # We will build objects and dependencies in a subdirectory because
   5294   # it helps to detect inapplicable dependency modes.  For instance
   5295   # both Tru64's cc and ICC support -MD to output dependencies as a
   5296   # side effect of compilation, but ICC will put the dependencies in
   5297   # the current directory while Tru64 will put them in the object
   5298   # directory.
   5299   mkdir sub
   5300 
   5301   am_cv_CC_dependencies_compiler_type=none
   5302   if test "$am_compiler_list" = ""; then
   5303      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5304   fi
   5305   am__universal=false
   5306   case " $depcc " in #(
   5307      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5308      esac
   5309 
   5310   for depmode in $am_compiler_list; do
   5311     # Setup a source with many dependencies, because some compilers
   5312     # like to wrap large dependency lists on column 80 (with \), and
   5313     # we should not choose a depcomp mode which is confused by this.
   5314     #
   5315     # We need to recreate these files for each test, as the compiler may
   5316     # overwrite some of them when testing with obscure command lines.
   5317     # This happens at least with the AIX C compiler.
   5318     : > sub/conftest.c
   5319     for i in 1 2 3 4 5 6; do
   5320       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5321       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5322       # Solaris 10 /bin/sh.
   5323       echo '/* dummy */' > sub/conftst$i.h
   5324     done
   5325     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5326 
   5327     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5328     # mode.  It turns out that the SunPro C++ compiler does not properly
   5329     # handle '-M -o', and we need to detect this.  Also, some Intel
   5330     # versions had trouble with output in subdirs.
   5331     am__obj=sub/conftest.${OBJEXT-o}
   5332     am__minus_obj="-o $am__obj"
   5333     case $depmode in
   5334     gcc)
   5335       # This depmode causes a compiler race in universal mode.
   5336       test "$am__universal" = false || continue
   5337       ;;
   5338     nosideeffect)
   5339       # After this tag, mechanisms are not by side-effect, so they'll
   5340       # only be used when explicitly requested.
   5341       if test "x$enable_dependency_tracking" = xyes; then
   5342 	continue
   5343       else
   5344 	break
   5345       fi
   5346       ;;
   5347     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5348       # This compiler won't grok '-c -o', but also, the minuso test has
   5349       # not run yet.  These depmodes are late enough in the game, and
   5350       # so weak that their functioning should not be impacted.
   5351       am__obj=conftest.${OBJEXT-o}
   5352       am__minus_obj=
   5353       ;;
   5354     none) break ;;
   5355     esac
   5356     if depmode=$depmode \
   5357        source=sub/conftest.c object=$am__obj \
   5358        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5359        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5360          >/dev/null 2>conftest.err &&
   5361        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5362        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5363        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5364        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5365       # icc doesn't choke on unknown options, it will just issue warnings
   5366       # or remarks (even with -Werror).  So we grep stderr for any message
   5367       # that says an option was ignored or not supported.
   5368       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5369       #   icc: Command line warning: ignoring option '-M'; no argument required
   5370       # The diagnosis changed in icc 8.0:
   5371       #   icc: Command line remark: option '-MP' not supported
   5372       if (grep 'ignoring option' conftest.err ||
   5373           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5374         am_cv_CC_dependencies_compiler_type=$depmode
   5375         break
   5376       fi
   5377     fi
   5378   done
   5379 
   5380   cd ..
   5381   rm -rf conftest.dir
   5382 else
   5383   am_cv_CC_dependencies_compiler_type=none
   5384 fi
   5385 
   5386 fi
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5388 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5389 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5390 
   5391  if
   5392   test "x$enable_dependency_tracking" != xno \
   5393   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5394   am__fastdepCC_TRUE=
   5395   am__fastdepCC_FALSE='#'
   5396 else
   5397   am__fastdepCC_TRUE='#'
   5398   am__fastdepCC_FALSE=
   5399 fi
   5400 
   5401 
   5402 ac_ext=cpp
   5403 ac_cpp='$CXXCPP $CPPFLAGS'
   5404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5407 if test -z "$CXX"; then
   5408   if test -n "$CCC"; then
   5409     CXX=$CCC
   5410   else
   5411     if test -n "$ac_tool_prefix"; then
   5412   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5413   do
   5414     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5415 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5417 $as_echo_n "checking for $ac_word... " >&6; }
   5418 if ${ac_cv_prog_CXX+:} false; then :
   5419   $as_echo_n "(cached) " >&6
   5420 else
   5421   if test -n "$CXX"; then
   5422   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5423 else
   5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5425 for as_dir in $PATH
   5426 do
   5427   IFS=$as_save_IFS
   5428   test -z "$as_dir" && as_dir=.
   5429     for ac_exec_ext in '' $ac_executable_extensions; do
   5430   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5431     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5432     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5433     break 2
   5434   fi
   5435 done
   5436   done
   5437 IFS=$as_save_IFS
   5438 
   5439 fi
   5440 fi
   5441 CXX=$ac_cv_prog_CXX
   5442 if test -n "$CXX"; then
   5443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5444 $as_echo "$CXX" >&6; }
   5445 else
   5446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5447 $as_echo "no" >&6; }
   5448 fi
   5449 
   5450 
   5451     test -n "$CXX" && break
   5452   done
   5453 fi
   5454 if test -z "$CXX"; then
   5455   ac_ct_CXX=$CXX
   5456   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5457 do
   5458   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5459 set dummy $ac_prog; ac_word=$2
   5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5461 $as_echo_n "checking for $ac_word... " >&6; }
   5462 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5463   $as_echo_n "(cached) " >&6
   5464 else
   5465   if test -n "$ac_ct_CXX"; then
   5466   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5467 else
   5468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5469 for as_dir in $PATH
   5470 do
   5471   IFS=$as_save_IFS
   5472   test -z "$as_dir" && as_dir=.
   5473     for ac_exec_ext in '' $ac_executable_extensions; do
   5474   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5475     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5476     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5477     break 2
   5478   fi
   5479 done
   5480   done
   5481 IFS=$as_save_IFS
   5482 
   5483 fi
   5484 fi
   5485 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5486 if test -n "$ac_ct_CXX"; then
   5487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5488 $as_echo "$ac_ct_CXX" >&6; }
   5489 else
   5490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5491 $as_echo "no" >&6; }
   5492 fi
   5493 
   5494 
   5495   test -n "$ac_ct_CXX" && break
   5496 done
   5497 
   5498   if test "x$ac_ct_CXX" = x; then
   5499     CXX="g++"
   5500   else
   5501     case $cross_compiling:$ac_tool_warned in
   5502 yes:)
   5503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5505 ac_tool_warned=yes ;;
   5506 esac
   5507     CXX=$ac_ct_CXX
   5508   fi
   5509 fi
   5510 
   5511   fi
   5512 fi
   5513 # Provide some information about the compiler.
   5514 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5515 set X $ac_compile
   5516 ac_compiler=$2
   5517 for ac_option in --version -v -V -qversion; do
   5518   { { ac_try="$ac_compiler $ac_option >&5"
   5519 case "(($ac_try" in
   5520   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5521   *) ac_try_echo=$ac_try;;
   5522 esac
   5523 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5524 $as_echo "$ac_try_echo"; } >&5
   5525   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5526   ac_status=$?
   5527   if test -s conftest.err; then
   5528     sed '10a\
   5529 ... rest of stderr output deleted ...
   5530          10q' conftest.err >conftest.er1
   5531     cat conftest.er1 >&5
   5532   fi
   5533   rm -f conftest.er1 conftest.err
   5534   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5535   test $ac_status = 0; }
   5536 done
   5537 
   5538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5539 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5540 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5541   $as_echo_n "(cached) " >&6
   5542 else
   5543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5544 /* end confdefs.h.  */
   5545 
   5546 int
   5547 main ()
   5548 {
   5549 #ifndef __GNUC__
   5550        choke me
   5551 #endif
   5552 
   5553   ;
   5554   return 0;
   5555 }
   5556 _ACEOF
   5557 if ac_fn_cxx_try_compile "$LINENO"; then :
   5558   ac_compiler_gnu=yes
   5559 else
   5560   ac_compiler_gnu=no
   5561 fi
   5562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5563 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5564 
   5565 fi
   5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5567 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5568 if test $ac_compiler_gnu = yes; then
   5569   GXX=yes
   5570 else
   5571   GXX=
   5572 fi
   5573 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5574 ac_save_CXXFLAGS=$CXXFLAGS
   5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5576 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5577 if ${ac_cv_prog_cxx_g+:} false; then :
   5578   $as_echo_n "(cached) " >&6
   5579 else
   5580   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5581    ac_cxx_werror_flag=yes
   5582    ac_cv_prog_cxx_g=no
   5583    CXXFLAGS="-g"
   5584    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5585 /* end confdefs.h.  */
   5586 
   5587 int
   5588 main ()
   5589 {
   5590 
   5591   ;
   5592   return 0;
   5593 }
   5594 _ACEOF
   5595 if ac_fn_cxx_try_compile "$LINENO"; then :
   5596   ac_cv_prog_cxx_g=yes
   5597 else
   5598   CXXFLAGS=""
   5599       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5600 /* end confdefs.h.  */
   5601 
   5602 int
   5603 main ()
   5604 {
   5605 
   5606   ;
   5607   return 0;
   5608 }
   5609 _ACEOF
   5610 if ac_fn_cxx_try_compile "$LINENO"; then :
   5611 
   5612 else
   5613   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5614 	 CXXFLAGS="-g"
   5615 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5616 /* end confdefs.h.  */
   5617 
   5618 int
   5619 main ()
   5620 {
   5621 
   5622   ;
   5623   return 0;
   5624 }
   5625 _ACEOF
   5626 if ac_fn_cxx_try_compile "$LINENO"; then :
   5627   ac_cv_prog_cxx_g=yes
   5628 fi
   5629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5630 fi
   5631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5632 fi
   5633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5634    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5635 fi
   5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5637 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5638 if test "$ac_test_CXXFLAGS" = set; then
   5639   CXXFLAGS=$ac_save_CXXFLAGS
   5640 elif test $ac_cv_prog_cxx_g = yes; then
   5641   if test "$GXX" = yes; then
   5642     CXXFLAGS="-g -O2"
   5643   else
   5644     CXXFLAGS="-g"
   5645   fi
   5646 else
   5647   if test "$GXX" = yes; then
   5648     CXXFLAGS="-O2"
   5649   else
   5650     CXXFLAGS=
   5651   fi
   5652 fi
   5653 ac_ext=c
   5654 ac_cpp='$CPP $CPPFLAGS'
   5655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5658 
   5659 depcc="$CXX"  am_compiler_list=
   5660 
   5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5662 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5663 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5664   $as_echo_n "(cached) " >&6
   5665 else
   5666   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5667   # We make a subdir and do the tests there.  Otherwise we can end up
   5668   # making bogus files that we don't know about and never remove.  For
   5669   # instance it was reported that on HP-UX the gcc test will end up
   5670   # making a dummy file named 'D' -- because '-MD' means "put the output
   5671   # in D".
   5672   rm -rf conftest.dir
   5673   mkdir conftest.dir
   5674   # Copy depcomp to subdir because otherwise we won't find it if we're
   5675   # using a relative directory.
   5676   cp "$am_depcomp" conftest.dir
   5677   cd conftest.dir
   5678   # We will build objects and dependencies in a subdirectory because
   5679   # it helps to detect inapplicable dependency modes.  For instance
   5680   # both Tru64's cc and ICC support -MD to output dependencies as a
   5681   # side effect of compilation, but ICC will put the dependencies in
   5682   # the current directory while Tru64 will put them in the object
   5683   # directory.
   5684   mkdir sub
   5685 
   5686   am_cv_CXX_dependencies_compiler_type=none
   5687   if test "$am_compiler_list" = ""; then
   5688      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5689   fi
   5690   am__universal=false
   5691   case " $depcc " in #(
   5692      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5693      esac
   5694 
   5695   for depmode in $am_compiler_list; do
   5696     # Setup a source with many dependencies, because some compilers
   5697     # like to wrap large dependency lists on column 80 (with \), and
   5698     # we should not choose a depcomp mode which is confused by this.
   5699     #
   5700     # We need to recreate these files for each test, as the compiler may
   5701     # overwrite some of them when testing with obscure command lines.
   5702     # This happens at least with the AIX C compiler.
   5703     : > sub/conftest.c
   5704     for i in 1 2 3 4 5 6; do
   5705       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5706       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5707       # Solaris 10 /bin/sh.
   5708       echo '/* dummy */' > sub/conftst$i.h
   5709     done
   5710     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5711 
   5712     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5713     # mode.  It turns out that the SunPro C++ compiler does not properly
   5714     # handle '-M -o', and we need to detect this.  Also, some Intel
   5715     # versions had trouble with output in subdirs.
   5716     am__obj=sub/conftest.${OBJEXT-o}
   5717     am__minus_obj="-o $am__obj"
   5718     case $depmode in
   5719     gcc)
   5720       # This depmode causes a compiler race in universal mode.
   5721       test "$am__universal" = false || continue
   5722       ;;
   5723     nosideeffect)
   5724       # After this tag, mechanisms are not by side-effect, so they'll
   5725       # only be used when explicitly requested.
   5726       if test "x$enable_dependency_tracking" = xyes; then
   5727 	continue
   5728       else
   5729 	break
   5730       fi
   5731       ;;
   5732     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5733       # This compiler won't grok '-c -o', but also, the minuso test has
   5734       # not run yet.  These depmodes are late enough in the game, and
   5735       # so weak that their functioning should not be impacted.
   5736       am__obj=conftest.${OBJEXT-o}
   5737       am__minus_obj=
   5738       ;;
   5739     none) break ;;
   5740     esac
   5741     if depmode=$depmode \
   5742        source=sub/conftest.c object=$am__obj \
   5743        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5744        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5745          >/dev/null 2>conftest.err &&
   5746        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5747        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5748        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5749        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5750       # icc doesn't choke on unknown options, it will just issue warnings
   5751       # or remarks (even with -Werror).  So we grep stderr for any message
   5752       # that says an option was ignored or not supported.
   5753       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5754       #   icc: Command line warning: ignoring option '-M'; no argument required
   5755       # The diagnosis changed in icc 8.0:
   5756       #   icc: Command line remark: option '-MP' not supported
   5757       if (grep 'ignoring option' conftest.err ||
   5758           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5759         am_cv_CXX_dependencies_compiler_type=$depmode
   5760         break
   5761       fi
   5762     fi
   5763   done
   5764 
   5765   cd ..
   5766   rm -rf conftest.dir
   5767 else
   5768   am_cv_CXX_dependencies_compiler_type=none
   5769 fi
   5770 
   5771 fi
   5772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5773 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5774 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5775 
   5776  if
   5777   test "x$enable_dependency_tracking" != xno \
   5778   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5779   am__fastdepCXX_TRUE=
   5780   am__fastdepCXX_FALSE='#'
   5781 else
   5782   am__fastdepCXX_TRUE='#'
   5783   am__fastdepCXX_FALSE=
   5784 fi
   5785 
   5786 
   5787 
   5788 if test -n "$ac_tool_prefix"; then
   5789   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5790 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5792 $as_echo_n "checking for $ac_word... " >&6; }
   5793 if ${ac_cv_prog_RANLIB+:} false; then :
   5794   $as_echo_n "(cached) " >&6
   5795 else
   5796   if test -n "$RANLIB"; then
   5797   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5798 else
   5799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5800 for as_dir in $PATH
   5801 do
   5802   IFS=$as_save_IFS
   5803   test -z "$as_dir" && as_dir=.
   5804     for ac_exec_ext in '' $ac_executable_extensions; do
   5805   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5806     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5807     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5808     break 2
   5809   fi
   5810 done
   5811   done
   5812 IFS=$as_save_IFS
   5813 
   5814 fi
   5815 fi
   5816 RANLIB=$ac_cv_prog_RANLIB
   5817 if test -n "$RANLIB"; then
   5818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5819 $as_echo "$RANLIB" >&6; }
   5820 else
   5821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5822 $as_echo "no" >&6; }
   5823 fi
   5824 
   5825 
   5826 fi
   5827 if test -z "$ac_cv_prog_RANLIB"; then
   5828   ac_ct_RANLIB=$RANLIB
   5829   # Extract the first word of "ranlib", so it can be a program name with args.
   5830 set dummy ranlib; ac_word=$2
   5831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5832 $as_echo_n "checking for $ac_word... " >&6; }
   5833 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5834   $as_echo_n "(cached) " >&6
   5835 else
   5836   if test -n "$ac_ct_RANLIB"; then
   5837   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5838 else
   5839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5840 for as_dir in $PATH
   5841 do
   5842   IFS=$as_save_IFS
   5843   test -z "$as_dir" && as_dir=.
   5844     for ac_exec_ext in '' $ac_executable_extensions; do
   5845   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5846     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5847     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5848     break 2
   5849   fi
   5850 done
   5851   done
   5852 IFS=$as_save_IFS
   5853 
   5854 fi
   5855 fi
   5856 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5857 if test -n "$ac_ct_RANLIB"; then
   5858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5859 $as_echo "$ac_ct_RANLIB" >&6; }
   5860 else
   5861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5862 $as_echo "no" >&6; }
   5863 fi
   5864 
   5865   if test "x$ac_ct_RANLIB" = x; then
   5866     RANLIB=":"
   5867   else
   5868     case $cross_compiling:$ac_tool_warned in
   5869 yes:)
   5870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5871 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5872 ac_tool_warned=yes ;;
   5873 esac
   5874     RANLIB=$ac_ct_RANLIB
   5875   fi
   5876 else
   5877   RANLIB="$ac_cv_prog_RANLIB"
   5878 fi
   5879 
   5880 if test -n "$ac_tool_prefix"; then
   5881   for ac_prog in ar lib "link -lib"
   5882   do
   5883     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5886 $as_echo_n "checking for $ac_word... " >&6; }
   5887 if ${ac_cv_prog_AR+:} false; then :
   5888   $as_echo_n "(cached) " >&6
   5889 else
   5890   if test -n "$AR"; then
   5891   ac_cv_prog_AR="$AR" # Let the user override the test.
   5892 else
   5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5894 for as_dir in $PATH
   5895 do
   5896   IFS=$as_save_IFS
   5897   test -z "$as_dir" && as_dir=.
   5898     for ac_exec_ext in '' $ac_executable_extensions; do
   5899   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5900     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5902     break 2
   5903   fi
   5904 done
   5905   done
   5906 IFS=$as_save_IFS
   5907 
   5908 fi
   5909 fi
   5910 AR=$ac_cv_prog_AR
   5911 if test -n "$AR"; then
   5912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5913 $as_echo "$AR" >&6; }
   5914 else
   5915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5916 $as_echo "no" >&6; }
   5917 fi
   5918 
   5919 
   5920     test -n "$AR" && break
   5921   done
   5922 fi
   5923 if test -z "$AR"; then
   5924   ac_ct_AR=$AR
   5925   for ac_prog in ar lib "link -lib"
   5926 do
   5927   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5928 set dummy $ac_prog; ac_word=$2
   5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5930 $as_echo_n "checking for $ac_word... " >&6; }
   5931 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5932   $as_echo_n "(cached) " >&6
   5933 else
   5934   if test -n "$ac_ct_AR"; then
   5935   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5936 else
   5937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5938 for as_dir in $PATH
   5939 do
   5940   IFS=$as_save_IFS
   5941   test -z "$as_dir" && as_dir=.
   5942     for ac_exec_ext in '' $ac_executable_extensions; do
   5943   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5944     ac_cv_prog_ac_ct_AR="$ac_prog"
   5945     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5946     break 2
   5947   fi
   5948 done
   5949   done
   5950 IFS=$as_save_IFS
   5951 
   5952 fi
   5953 fi
   5954 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5955 if test -n "$ac_ct_AR"; then
   5956   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5957 $as_echo "$ac_ct_AR" >&6; }
   5958 else
   5959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5960 $as_echo "no" >&6; }
   5961 fi
   5962 
   5963 
   5964   test -n "$ac_ct_AR" && break
   5965 done
   5966 
   5967   if test "x$ac_ct_AR" = x; then
   5968     AR="false"
   5969   else
   5970     case $cross_compiling:$ac_tool_warned in
   5971 yes:)
   5972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5974 ac_tool_warned=yes ;;
   5975 esac
   5976     AR=$ac_ct_AR
   5977   fi
   5978 fi
   5979 
   5980 : ${AR=ar}
   5981 
   5982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   5983 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   5984 if ${am_cv_ar_interface+:} false; then :
   5985   $as_echo_n "(cached) " >&6
   5986 else
   5987   ac_ext=c
   5988 ac_cpp='$CPP $CPPFLAGS'
   5989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5992 
   5993    am_cv_ar_interface=ar
   5994    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5995 /* end confdefs.h.  */
   5996 int some_variable = 0;
   5997 _ACEOF
   5998 if ac_fn_c_try_compile "$LINENO"; then :
   5999   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   6000       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   6001   (eval $am_ar_try) 2>&5
   6002   ac_status=$?
   6003   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6004   test $ac_status = 0; }
   6005       if test "$ac_status" -eq 0; then
   6006         am_cv_ar_interface=ar
   6007       else
   6008         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   6009         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   6010   (eval $am_ar_try) 2>&5
   6011   ac_status=$?
   6012   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6013   test $ac_status = 0; }
   6014         if test "$ac_status" -eq 0; then
   6015           am_cv_ar_interface=lib
   6016         else
   6017           am_cv_ar_interface=unknown
   6018         fi
   6019       fi
   6020       rm -f conftest.lib libconftest.a
   6021 
   6022 fi
   6023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6024    ac_ext=c
   6025 ac_cpp='$CPP $CPPFLAGS'
   6026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6029 
   6030 fi
   6031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   6032 $as_echo "$am_cv_ar_interface" >&6; }
   6033 
   6034 case $am_cv_ar_interface in
   6035 ar)
   6036   ;;
   6037 lib)
   6038   # Microsoft lib, so override with the ar-lib wrapper script.
   6039   # FIXME: It is wrong to rewrite AR.
   6040   # But if we don't then we get into trouble of one sort or another.
   6041   # A longer-term fix would be to have automake use am__AR in this case,
   6042   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   6043   # similar.
   6044   AR="$am_aux_dir/ar-lib $AR"
   6045   ;;
   6046 unknown)
   6047   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   6048   ;;
   6049 esac
   6050 
   6051 
   6052   for ac_prog in bison
   6053 do
   6054   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6055 set dummy $ac_prog; ac_word=$2
   6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6057 $as_echo_n "checking for $ac_word... " >&6; }
   6058 if ${ac_cv_prog_BISON+:} false; then :
   6059   $as_echo_n "(cached) " >&6
   6060 else
   6061   if test -n "$BISON"; then
   6062   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   6063 else
   6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6065 for as_dir in $PATH
   6066 do
   6067   IFS=$as_save_IFS
   6068   test -z "$as_dir" && as_dir=.
   6069     for ac_exec_ext in '' $ac_executable_extensions; do
   6070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6071     ac_cv_prog_BISON="$ac_prog"
   6072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6073     break 2
   6074   fi
   6075 done
   6076   done
   6077 IFS=$as_save_IFS
   6078 
   6079 fi
   6080 fi
   6081 BISON=$ac_cv_prog_BISON
   6082 if test -n "$BISON"; then
   6083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   6084 $as_echo "$BISON" >&6; }
   6085 else
   6086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6087 $as_echo "no" >&6; }
   6088 fi
   6089 
   6090 
   6091   test -n "$BISON" && break
   6092 done
   6093 
   6094   if test -z "$BISON"; then
   6095     ac_verc_fail=yes
   6096   else
   6097     cat >conftest.y <<_ACEOF
   6098 %require "3.0.4"
   6099 %%
   6100 exp:
   6101 _ACEOF
   6102     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison 3.0.4 or newer" >&5
   6103 $as_echo_n "checking for bison 3.0.4 or newer... " >&6; }
   6104     ac_prog_version=`$BISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
   6105     : ${ac_prog_version:='v. ?.??'}
   6106     if $BISON conftest.y -o conftest.c 2>/dev/null; then
   6107       ac_prog_version="$ac_prog_version, ok"
   6108       ac_verc_fail=no
   6109     else
   6110       ac_prog_version="$ac_prog_version, bad"
   6111       ac_verc_fail=yes
   6112     fi
   6113     rm -f conftest.y conftest.c
   6114     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
   6115 $as_echo "$ac_prog_version" >&6; }
   6116   fi
   6117   if test $ac_verc_fail = yes; then
   6118     BISON=:
   6119   fi
   6120 
   6121 
   6122 
   6123 # Check whether --enable-shared was given.
   6124 if test "${enable_shared+set}" = set; then :
   6125   enableval=$enable_shared; p=${PACKAGE-default}
   6126     case $enableval in
   6127     yes) enable_shared=yes ;;
   6128     no) enable_shared=no ;;
   6129     *)
   6130       enable_shared=no
   6131       # Look at the argument we got.  We use all the common list separators.
   6132       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6133       for pkg in $enableval; do
   6134 	IFS="$lt_save_ifs"
   6135 	if test "X$pkg" = "X$p"; then
   6136 	  enable_shared=yes
   6137 	fi
   6138       done
   6139       IFS="$lt_save_ifs"
   6140       ;;
   6141     esac
   6142 else
   6143   enable_shared=no
   6144 fi
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 case `pwd` in
   6155   *\ * | *\	*)
   6156     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6157 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6158 esac
   6159 
   6160 
   6161 
   6162 macro_version='2.2.7a'
   6163 macro_revision='1.3134'
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 
   6175 
   6176 
   6177 ltmain="$ac_aux_dir/ltmain.sh"
   6178 
   6179 # Backslashify metacharacters that are still active within
   6180 # double-quoted strings.
   6181 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6182 
   6183 # Same as above, but do not quote variable references.
   6184 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6185 
   6186 # Sed substitution to delay expansion of an escaped shell variable in a
   6187 # double_quote_subst'ed string.
   6188 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6189 
   6190 # Sed substitution to delay expansion of an escaped single quote.
   6191 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6192 
   6193 # Sed substitution to avoid accidental globbing in evaled expressions
   6194 no_glob_subst='s/\*/\\\*/g'
   6195 
   6196 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6197 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6198 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6199 
   6200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6201 $as_echo_n "checking how to print strings... " >&6; }
   6202 # Test print first, because it will be a builtin if present.
   6203 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   6204    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6205   ECHO='print -r --'
   6206 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6207   ECHO='printf %s\n'
   6208 else
   6209   # Use this function as a fallback that always works.
   6210   func_fallback_echo ()
   6211   {
   6212     eval 'cat <<_LTECHO_EOF
   6213 $1
   6214 _LTECHO_EOF'
   6215   }
   6216   ECHO='func_fallback_echo'
   6217 fi
   6218 
   6219 # func_echo_all arg...
   6220 # Invoke $ECHO with all args, space-separated.
   6221 func_echo_all ()
   6222 {
   6223     $ECHO ""
   6224 }
   6225 
   6226 case "$ECHO" in
   6227   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6228 $as_echo "printf" >&6; } ;;
   6229   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6230 $as_echo "print -r" >&6; } ;;
   6231   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6232 $as_echo "cat" >&6; } ;;
   6233 esac
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 
   6245 
   6246 
   6247 
   6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6249 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6250 if ${ac_cv_path_SED+:} false; then :
   6251   $as_echo_n "(cached) " >&6
   6252 else
   6253             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6254      for ac_i in 1 2 3 4 5 6 7; do
   6255        ac_script="$ac_script$as_nl$ac_script"
   6256      done
   6257      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6258      { ac_script=; unset ac_script;}
   6259      if test -z "$SED"; then
   6260   ac_path_SED_found=false
   6261   # Loop through the user's path and test for each of PROGNAME-LIST
   6262   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6263 for as_dir in $PATH
   6264 do
   6265   IFS=$as_save_IFS
   6266   test -z "$as_dir" && as_dir=.
   6267     for ac_prog in sed gsed; do
   6268     for ac_exec_ext in '' $ac_executable_extensions; do
   6269       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6270       as_fn_executable_p "$ac_path_SED" || continue
   6271 # Check for GNU ac_path_SED and select it if it is found.
   6272   # Check for GNU $ac_path_SED
   6273 case `"$ac_path_SED" --version 2>&1` in
   6274 *GNU*)
   6275   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6276 *)
   6277   ac_count=0
   6278   $as_echo_n 0123456789 >"conftest.in"
   6279   while :
   6280   do
   6281     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6282     mv "conftest.tmp" "conftest.in"
   6283     cp "conftest.in" "conftest.nl"
   6284     $as_echo '' >> "conftest.nl"
   6285     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6286     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6287     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6288     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6289       # Best one so far, save it but keep looking for a better one
   6290       ac_cv_path_SED="$ac_path_SED"
   6291       ac_path_SED_max=$ac_count
   6292     fi
   6293     # 10*(2^10) chars as input seems more than enough
   6294     test $ac_count -gt 10 && break
   6295   done
   6296   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6297 esac
   6298 
   6299       $ac_path_SED_found && break 3
   6300     done
   6301   done
   6302   done
   6303 IFS=$as_save_IFS
   6304   if test -z "$ac_cv_path_SED"; then
   6305     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6306   fi
   6307 else
   6308   ac_cv_path_SED=$SED
   6309 fi
   6310 
   6311 fi
   6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6313 $as_echo "$ac_cv_path_SED" >&6; }
   6314  SED="$ac_cv_path_SED"
   6315   rm -f conftest.sed
   6316 
   6317 test -z "$SED" && SED=sed
   6318 Xsed="$SED -e 1s/^X//"
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6331 $as_echo_n "checking for fgrep... " >&6; }
   6332 if ${ac_cv_path_FGREP+:} false; then :
   6333   $as_echo_n "(cached) " >&6
   6334 else
   6335   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6336    then ac_cv_path_FGREP="$GREP -F"
   6337    else
   6338      if test -z "$FGREP"; then
   6339   ac_path_FGREP_found=false
   6340   # Loop through the user's path and test for each of PROGNAME-LIST
   6341   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6342 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6343 do
   6344   IFS=$as_save_IFS
   6345   test -z "$as_dir" && as_dir=.
   6346     for ac_prog in fgrep; do
   6347     for ac_exec_ext in '' $ac_executable_extensions; do
   6348       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6349       as_fn_executable_p "$ac_path_FGREP" || continue
   6350 # Check for GNU ac_path_FGREP and select it if it is found.
   6351   # Check for GNU $ac_path_FGREP
   6352 case `"$ac_path_FGREP" --version 2>&1` in
   6353 *GNU*)
   6354   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6355 *)
   6356   ac_count=0
   6357   $as_echo_n 0123456789 >"conftest.in"
   6358   while :
   6359   do
   6360     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6361     mv "conftest.tmp" "conftest.in"
   6362     cp "conftest.in" "conftest.nl"
   6363     $as_echo 'FGREP' >> "conftest.nl"
   6364     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6365     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6366     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6367     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6368       # Best one so far, save it but keep looking for a better one
   6369       ac_cv_path_FGREP="$ac_path_FGREP"
   6370       ac_path_FGREP_max=$ac_count
   6371     fi
   6372     # 10*(2^10) chars as input seems more than enough
   6373     test $ac_count -gt 10 && break
   6374   done
   6375   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6376 esac
   6377 
   6378       $ac_path_FGREP_found && break 3
   6379     done
   6380   done
   6381   done
   6382 IFS=$as_save_IFS
   6383   if test -z "$ac_cv_path_FGREP"; then
   6384     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6385   fi
   6386 else
   6387   ac_cv_path_FGREP=$FGREP
   6388 fi
   6389 
   6390    fi
   6391 fi
   6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6393 $as_echo "$ac_cv_path_FGREP" >&6; }
   6394  FGREP="$ac_cv_path_FGREP"
   6395 
   6396 
   6397 test -z "$GREP" && GREP=grep
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 # Check whether --with-gnu-ld was given.
   6418 if test "${with_gnu_ld+set}" = set; then :
   6419   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6420 else
   6421   with_gnu_ld=no
   6422 fi
   6423 
   6424 ac_prog=ld
   6425 if test "$GCC" = yes; then
   6426   # Check if gcc -print-prog-name=ld gives a path.
   6427   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6428 $as_echo_n "checking for ld used by $CC... " >&6; }
   6429   case $host in
   6430   *-*-mingw*)
   6431     # gcc leaves a trailing carriage return which upsets mingw
   6432     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6433   *)
   6434     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6435   esac
   6436   case $ac_prog in
   6437     # Accept absolute paths.
   6438     [\\/]* | ?:[\\/]*)
   6439       re_direlt='/[^/][^/]*/\.\./'
   6440       # Canonicalize the pathname of ld
   6441       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6442       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6443 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6444       done
   6445       test -z "$LD" && LD="$ac_prog"
   6446       ;;
   6447   "")
   6448     # If it fails, then pretend we aren't using GCC.
   6449     ac_prog=ld
   6450     ;;
   6451   *)
   6452     # If it is relative, then search for the first ld in PATH.
   6453     with_gnu_ld=unknown
   6454     ;;
   6455   esac
   6456 elif test "$with_gnu_ld" = yes; then
   6457   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6458 $as_echo_n "checking for GNU ld... " >&6; }
   6459 else
   6460   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6461 $as_echo_n "checking for non-GNU ld... " >&6; }
   6462 fi
   6463 if ${lt_cv_path_LD+:} false; then :
   6464   $as_echo_n "(cached) " >&6
   6465 else
   6466   if test -z "$LD"; then
   6467   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6468   for ac_dir in $PATH; do
   6469     IFS="$lt_save_ifs"
   6470     test -z "$ac_dir" && ac_dir=.
   6471     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6472       lt_cv_path_LD="$ac_dir/$ac_prog"
   6473       # Check to see if the program is GNU ld.  I'd rather use --version,
   6474       # but apparently some variants of GNU ld only accept -v.
   6475       # Break only if it was the GNU/non-GNU ld that we prefer.
   6476       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6477       *GNU* | *'with BFD'*)
   6478 	test "$with_gnu_ld" != no && break
   6479 	;;
   6480       *)
   6481 	test "$with_gnu_ld" != yes && break
   6482 	;;
   6483       esac
   6484     fi
   6485   done
   6486   IFS="$lt_save_ifs"
   6487 else
   6488   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6489 fi
   6490 fi
   6491 
   6492 LD="$lt_cv_path_LD"
   6493 if test -n "$LD"; then
   6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6495 $as_echo "$LD" >&6; }
   6496 else
   6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6498 $as_echo "no" >&6; }
   6499 fi
   6500 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6502 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6503 if ${lt_cv_prog_gnu_ld+:} false; then :
   6504   $as_echo_n "(cached) " >&6
   6505 else
   6506   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6507 case `$LD -v 2>&1 </dev/null` in
   6508 *GNU* | *'with BFD'*)
   6509   lt_cv_prog_gnu_ld=yes
   6510   ;;
   6511 *)
   6512   lt_cv_prog_gnu_ld=no
   6513   ;;
   6514 esac
   6515 fi
   6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6517 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6518 with_gnu_ld=$lt_cv_prog_gnu_ld
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6529 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6530 if ${lt_cv_path_NM+:} false; then :
   6531   $as_echo_n "(cached) " >&6
   6532 else
   6533   if test -n "$NM"; then
   6534    # Let the user override the nm to test.
   6535    lt_nm_to_check="$NM"
   6536  else
   6537    lt_nm_to_check="${ac_tool_prefix}nm"
   6538    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6539      lt_nm_to_check="$lt_nm_to_check nm"
   6540    fi
   6541  fi
   6542  for lt_tmp_nm in "$lt_nm_to_check"; do
   6543    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6544    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6545      IFS="$lt_save_ifs"
   6546      test -z "$ac_dir" && ac_dir=.
   6547      # Strip out any user-provided options from the nm to test twice,
   6548      # the first time to test to see if nm (rather than its options) has
   6549      # an explicit path, the second time to yield a file which can be
   6550      # nm'ed itself.
   6551      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   6552      case "$tmp_nm_path" in
   6553      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   6554      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   6555      esac
   6556      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   6557      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   6558        # Check to see if the nm accepts a BSD-compat flag.
   6559        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6560        #   nm: unknown option "B" ignored
   6561        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6562        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   6563 	 break
   6564 	 ;;
   6565        *)
   6566 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6567 	 *$tmp_nm*)
   6568 	   lt_cv_path_NM="$tmp_nm -p"
   6569 	   break
   6570 	   ;;
   6571 	 *)
   6572 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6573 	   continue # so that we can try to find one that supports BSD flags
   6574 	   ;;
   6575 	 esac
   6576 	 ;;
   6577        esac
   6578      fi
   6579    done
   6580    IFS="$lt_save_ifs"
   6581  done
   6582  : ${lt_cv_path_NM=no}
   6583 fi
   6584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6585 $as_echo "$lt_cv_path_NM" >&6; }
   6586 if test "$lt_cv_path_NM" != "no"; then
   6587   NM="$lt_cv_path_NM"
   6588 else
   6589   # Didn't find any BSD compatible name lister, look for dumpbin.
   6590   if test -n "$DUMPBIN"; then :
   6591     # Let the user override the test.
   6592   else
   6593     if test -n "$ac_tool_prefix"; then
   6594   for ac_prog in dumpbin "link -dump"
   6595   do
   6596     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6597 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6599 $as_echo_n "checking for $ac_word... " >&6; }
   6600 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6601   $as_echo_n "(cached) " >&6
   6602 else
   6603   if test -n "$DUMPBIN"; then
   6604   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6605 else
   6606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6607 for as_dir in $PATH
   6608 do
   6609   IFS=$as_save_IFS
   6610   test -z "$as_dir" && as_dir=.
   6611     for ac_exec_ext in '' $ac_executable_extensions; do
   6612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6613     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6615     break 2
   6616   fi
   6617 done
   6618   done
   6619 IFS=$as_save_IFS
   6620 
   6621 fi
   6622 fi
   6623 DUMPBIN=$ac_cv_prog_DUMPBIN
   6624 if test -n "$DUMPBIN"; then
   6625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6626 $as_echo "$DUMPBIN" >&6; }
   6627 else
   6628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6629 $as_echo "no" >&6; }
   6630 fi
   6631 
   6632 
   6633     test -n "$DUMPBIN" && break
   6634   done
   6635 fi
   6636 if test -z "$DUMPBIN"; then
   6637   ac_ct_DUMPBIN=$DUMPBIN
   6638   for ac_prog in dumpbin "link -dump"
   6639 do
   6640   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6641 set dummy $ac_prog; ac_word=$2
   6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6643 $as_echo_n "checking for $ac_word... " >&6; }
   6644 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6645   $as_echo_n "(cached) " >&6
   6646 else
   6647   if test -n "$ac_ct_DUMPBIN"; then
   6648   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6649 else
   6650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6651 for as_dir in $PATH
   6652 do
   6653   IFS=$as_save_IFS
   6654   test -z "$as_dir" && as_dir=.
   6655     for ac_exec_ext in '' $ac_executable_extensions; do
   6656   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6657     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6658     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6659     break 2
   6660   fi
   6661 done
   6662   done
   6663 IFS=$as_save_IFS
   6664 
   6665 fi
   6666 fi
   6667 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6668 if test -n "$ac_ct_DUMPBIN"; then
   6669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6670 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6671 else
   6672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6673 $as_echo "no" >&6; }
   6674 fi
   6675 
   6676 
   6677   test -n "$ac_ct_DUMPBIN" && break
   6678 done
   6679 
   6680   if test "x$ac_ct_DUMPBIN" = x; then
   6681     DUMPBIN=":"
   6682   else
   6683     case $cross_compiling:$ac_tool_warned in
   6684 yes:)
   6685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6687 ac_tool_warned=yes ;;
   6688 esac
   6689     DUMPBIN=$ac_ct_DUMPBIN
   6690   fi
   6691 fi
   6692 
   6693     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6694     *COFF*)
   6695       DUMPBIN="$DUMPBIN -symbols"
   6696       ;;
   6697     *)
   6698       DUMPBIN=:
   6699       ;;
   6700     esac
   6701   fi
   6702 
   6703   if test "$DUMPBIN" != ":"; then
   6704     NM="$DUMPBIN"
   6705   fi
   6706 fi
   6707 test -z "$NM" && NM=nm
   6708 
   6709 
   6710 
   6711 
   6712 
   6713 
   6714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6715 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6716 if ${lt_cv_nm_interface+:} false; then :
   6717   $as_echo_n "(cached) " >&6
   6718 else
   6719   lt_cv_nm_interface="BSD nm"
   6720   echo "int some_variable = 0;" > conftest.$ac_ext
   6721   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6722   (eval "$ac_compile" 2>conftest.err)
   6723   cat conftest.err >&5
   6724   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6725   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6726   cat conftest.err >&5
   6727   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6728   cat conftest.out >&5
   6729   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6730     lt_cv_nm_interface="MS dumpbin"
   6731   fi
   6732   rm -f conftest*
   6733 fi
   6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6735 $as_echo "$lt_cv_nm_interface" >&6; }
   6736 
   6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6738 $as_echo_n "checking whether ln -s works... " >&6; }
   6739 LN_S=$as_ln_s
   6740 if test "$LN_S" = "ln -s"; then
   6741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6742 $as_echo "yes" >&6; }
   6743 else
   6744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6745 $as_echo "no, using $LN_S" >&6; }
   6746 fi
   6747 
   6748 # find the maximum length of command line arguments
   6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6750 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6751 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6752   $as_echo_n "(cached) " >&6
   6753 else
   6754     i=0
   6755   teststring="ABCD"
   6756 
   6757   case $build_os in
   6758   msdosdjgpp*)
   6759     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6760     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6761     # during glob expansion).  Even if it were fixed, the result of this
   6762     # check would be larger than it should be.
   6763     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6764     ;;
   6765 
   6766   gnu*)
   6767     # Under GNU Hurd, this test is not required because there is
   6768     # no limit to the length of command line arguments.
   6769     # Libtool will interpret -1 as no limit whatsoever
   6770     lt_cv_sys_max_cmd_len=-1;
   6771     ;;
   6772 
   6773   cygwin* | mingw* | cegcc*)
   6774     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6775     # about 5 minutes as the teststring grows exponentially.
   6776     # Worse, since 9x/ME are not pre-emptively multitasking,
   6777     # you end up with a "frozen" computer, even though with patience
   6778     # the test eventually succeeds (with a max line length of 256k).
   6779     # Instead, let's just punt: use the minimum linelength reported by
   6780     # all of the supported platforms: 8192 (on NT/2K/XP).
   6781     lt_cv_sys_max_cmd_len=8192;
   6782     ;;
   6783 
   6784   mint*)
   6785     # On MiNT this can take a long time and run out of memory.
   6786     lt_cv_sys_max_cmd_len=8192;
   6787     ;;
   6788 
   6789   amigaos*)
   6790     # On AmigaOS with pdksh, this test takes hours, literally.
   6791     # So we just punt and use a minimum line length of 8192.
   6792     lt_cv_sys_max_cmd_len=8192;
   6793     ;;
   6794 
   6795   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6796     # This has been around since 386BSD, at least.  Likely further.
   6797     if test -x /sbin/sysctl; then
   6798       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6799     elif test -x /usr/sbin/sysctl; then
   6800       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6801     else
   6802       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6803     fi
   6804     # And add a safety zone
   6805     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6806     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6807     ;;
   6808 
   6809   interix*)
   6810     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6811     lt_cv_sys_max_cmd_len=196608
   6812     ;;
   6813 
   6814   osf*)
   6815     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6816     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6817     # nice to cause kernel panics so lets avoid the loop below.
   6818     # First set a reasonable default.
   6819     lt_cv_sys_max_cmd_len=16384
   6820     #
   6821     if test -x /sbin/sysconfig; then
   6822       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6823         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6824       esac
   6825     fi
   6826     ;;
   6827   sco3.2v5*)
   6828     lt_cv_sys_max_cmd_len=102400
   6829     ;;
   6830   sysv5* | sco5v6* | sysv4.2uw2*)
   6831     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6832     if test -n "$kargmax"; then
   6833       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6834     else
   6835       lt_cv_sys_max_cmd_len=32768
   6836     fi
   6837     ;;
   6838   *)
   6839     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6840     if test -n "$lt_cv_sys_max_cmd_len"; then
   6841       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6842       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6843     else
   6844       # Make teststring a little bigger before we do anything with it.
   6845       # a 1K string should be a reasonable start.
   6846       for i in 1 2 3 4 5 6 7 8 ; do
   6847         teststring=$teststring$teststring
   6848       done
   6849       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6850       # If test is not a shell built-in, we'll probably end up computing a
   6851       # maximum length that is only half of the actual maximum length, but
   6852       # we can't tell.
   6853       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6854 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6855 	      test $i != 17 # 1/2 MB should be enough
   6856       do
   6857         i=`expr $i + 1`
   6858         teststring=$teststring$teststring
   6859       done
   6860       # Only check the string length outside the loop.
   6861       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6862       teststring=
   6863       # Add a significant safety factor because C++ compilers can tack on
   6864       # massive amounts of additional arguments before passing them to the
   6865       # linker.  It appears as though 1/2 is a usable value.
   6866       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6867     fi
   6868     ;;
   6869   esac
   6870 
   6871 fi
   6872 
   6873 if test -n $lt_cv_sys_max_cmd_len ; then
   6874   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6875 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6876 else
   6877   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6878 $as_echo "none" >&6; }
   6879 fi
   6880 max_cmd_len=$lt_cv_sys_max_cmd_len
   6881 
   6882 
   6883 
   6884 
   6885 
   6886 
   6887 : ${CP="cp -f"}
   6888 : ${MV="mv -f"}
   6889 : ${RM="rm -f"}
   6890 
   6891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6892 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6893 # Try some XSI features
   6894 xsi_shell=no
   6895 ( _lt_dummy="a/b/c"
   6896   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6897       = c,a/b,, \
   6898     && eval 'test $(( 1 + 1 )) -eq 2 \
   6899     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6900   && xsi_shell=yes
   6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6902 $as_echo "$xsi_shell" >&6; }
   6903 
   6904 
   6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6906 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6907 lt_shell_append=no
   6908 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6909     >/dev/null 2>&1 \
   6910   && lt_shell_append=yes
   6911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6912 $as_echo "$lt_shell_append" >&6; }
   6913 
   6914 
   6915 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6916   lt_unset=unset
   6917 else
   6918   lt_unset=false
   6919 fi
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 # test EBCDIC or ASCII
   6926 case `echo X|tr X '\101'` in
   6927  A) # ASCII based system
   6928     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6929   lt_SP2NL='tr \040 \012'
   6930   lt_NL2SP='tr \015\012 \040\040'
   6931   ;;
   6932  *) # EBCDIC based system
   6933   lt_SP2NL='tr \100 \n'
   6934   lt_NL2SP='tr \r\n \100\100'
   6935   ;;
   6936 esac
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6947 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6948 if ${lt_cv_ld_reload_flag+:} false; then :
   6949   $as_echo_n "(cached) " >&6
   6950 else
   6951   lt_cv_ld_reload_flag='-r'
   6952 fi
   6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6954 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6955 reload_flag=$lt_cv_ld_reload_flag
   6956 case $reload_flag in
   6957 "" | " "*) ;;
   6958 *) reload_flag=" $reload_flag" ;;
   6959 esac
   6960 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6961 case $host_os in
   6962   darwin*)
   6963     if test "$GCC" = yes; then
   6964       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6965     else
   6966       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6967     fi
   6968     ;;
   6969 esac
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 if test -n "$ac_tool_prefix"; then
   6980   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6981 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6983 $as_echo_n "checking for $ac_word... " >&6; }
   6984 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6985   $as_echo_n "(cached) " >&6
   6986 else
   6987   if test -n "$OBJDUMP"; then
   6988   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6989 else
   6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6991 for as_dir in $PATH
   6992 do
   6993   IFS=$as_save_IFS
   6994   test -z "$as_dir" && as_dir=.
   6995     for ac_exec_ext in '' $ac_executable_extensions; do
   6996   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6997     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6999     break 2
   7000   fi
   7001 done
   7002   done
   7003 IFS=$as_save_IFS
   7004 
   7005 fi
   7006 fi
   7007 OBJDUMP=$ac_cv_prog_OBJDUMP
   7008 if test -n "$OBJDUMP"; then
   7009   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7010 $as_echo "$OBJDUMP" >&6; }
   7011 else
   7012   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7013 $as_echo "no" >&6; }
   7014 fi
   7015 
   7016 
   7017 fi
   7018 if test -z "$ac_cv_prog_OBJDUMP"; then
   7019   ac_ct_OBJDUMP=$OBJDUMP
   7020   # Extract the first word of "objdump", so it can be a program name with args.
   7021 set dummy objdump; ac_word=$2
   7022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7023 $as_echo_n "checking for $ac_word... " >&6; }
   7024 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   7025   $as_echo_n "(cached) " >&6
   7026 else
   7027   if test -n "$ac_ct_OBJDUMP"; then
   7028   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7029 else
   7030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7031 for as_dir in $PATH
   7032 do
   7033   IFS=$as_save_IFS
   7034   test -z "$as_dir" && as_dir=.
   7035     for ac_exec_ext in '' $ac_executable_extensions; do
   7036   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7037     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7038     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7039     break 2
   7040   fi
   7041 done
   7042   done
   7043 IFS=$as_save_IFS
   7044 
   7045 fi
   7046 fi
   7047 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7048 if test -n "$ac_ct_OBJDUMP"; then
   7049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7050 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7051 else
   7052   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7053 $as_echo "no" >&6; }
   7054 fi
   7055 
   7056   if test "x$ac_ct_OBJDUMP" = x; then
   7057     OBJDUMP="false"
   7058   else
   7059     case $cross_compiling:$ac_tool_warned in
   7060 yes:)
   7061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7062 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7063 ac_tool_warned=yes ;;
   7064 esac
   7065     OBJDUMP=$ac_ct_OBJDUMP
   7066   fi
   7067 else
   7068   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7069 fi
   7070 
   7071 test -z "$OBJDUMP" && OBJDUMP=objdump
   7072 
   7073 
   7074 
   7075 
   7076 
   7077 
   7078 
   7079 
   7080 
   7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7082 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7083 if ${lt_cv_deplibs_check_method+:} false; then :
   7084   $as_echo_n "(cached) " >&6
   7085 else
   7086   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7087 lt_cv_file_magic_test_file=
   7088 lt_cv_deplibs_check_method='unknown'
   7089 # Need to set the preceding variable on all platforms that support
   7090 # interlibrary dependencies.
   7091 # 'none' -- dependencies not supported.
   7092 # `unknown' -- same as none, but documents that we really don't know.
   7093 # 'pass_all' -- all dependencies passed with no checks.
   7094 # 'test_compile' -- check by making test program.
   7095 # 'file_magic [[regex]]' -- check by looking for files in library path
   7096 # which responds to the $file_magic_cmd with a given extended regex.
   7097 # If you have `file' or equivalent on your system and you're not sure
   7098 # whether `pass_all' will *always* work, you probably want this one.
   7099 
   7100 case $host_os in
   7101 aix[4-9]*)
   7102   lt_cv_deplibs_check_method=pass_all
   7103   ;;
   7104 
   7105 beos*)
   7106   lt_cv_deplibs_check_method=pass_all
   7107   ;;
   7108 
   7109 bsdi[45]*)
   7110   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7111   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7112   lt_cv_file_magic_test_file=/shlib/libc.so
   7113   ;;
   7114 
   7115 cygwin*)
   7116   # func_win32_libid is a shell function defined in ltmain.sh
   7117   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7118   lt_cv_file_magic_cmd='func_win32_libid'
   7119   ;;
   7120 
   7121 mingw* | pw32*)
   7122   # Base MSYS/MinGW do not provide the 'file' command needed by
   7123   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7124   # unless we find 'file', for example because we are cross-compiling.
   7125   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   7126   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   7127     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7128     lt_cv_file_magic_cmd='func_win32_libid'
   7129   else
   7130     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   7131     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7132   fi
   7133   ;;
   7134 
   7135 cegcc*)
   7136   # use the weaker test based on 'objdump'. See mingw*.
   7137   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7138   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7139   ;;
   7140 
   7141 darwin* | rhapsody*)
   7142   lt_cv_deplibs_check_method=pass_all
   7143   ;;
   7144 
   7145 freebsd* | dragonfly*)
   7146   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7147     case $host_cpu in
   7148     i*86 )
   7149       # Not sure whether the presence of OpenBSD here was a mistake.
   7150       # Let's accept both of them until this is cleared up.
   7151       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7152       lt_cv_file_magic_cmd=/usr/bin/file
   7153       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7154       ;;
   7155     esac
   7156   else
   7157     lt_cv_deplibs_check_method=pass_all
   7158   fi
   7159   ;;
   7160 
   7161 gnu*)
   7162   lt_cv_deplibs_check_method=pass_all
   7163   ;;
   7164 
   7165 haiku*)
   7166   lt_cv_deplibs_check_method=pass_all
   7167   ;;
   7168 
   7169 hpux10.20* | hpux11*)
   7170   lt_cv_file_magic_cmd=/usr/bin/file
   7171   case $host_cpu in
   7172   ia64*)
   7173     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7174     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7175     ;;
   7176   hppa*64*)
   7177     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]'
   7178     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7179     ;;
   7180   *)
   7181     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7182     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7183     ;;
   7184   esac
   7185   ;;
   7186 
   7187 interix[3-9]*)
   7188   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7189   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7190   ;;
   7191 
   7192 irix5* | irix6* | nonstopux*)
   7193   case $LD in
   7194   *-32|*"-32 ") libmagic=32-bit;;
   7195   *-n32|*"-n32 ") libmagic=N32;;
   7196   *-64|*"-64 ") libmagic=64-bit;;
   7197   *) libmagic=never-match;;
   7198   esac
   7199   lt_cv_deplibs_check_method=pass_all
   7200   ;;
   7201 
   7202 # This must be Linux ELF.
   7203 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   7204   lt_cv_deplibs_check_method=pass_all
   7205   ;;
   7206 
   7207 netbsd*)
   7208   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7209     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7210   else
   7211     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7212   fi
   7213   ;;
   7214 
   7215 newos6*)
   7216   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7217   lt_cv_file_magic_cmd=/usr/bin/file
   7218   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7219   ;;
   7220 
   7221 *nto* | *qnx*)
   7222   lt_cv_deplibs_check_method=pass_all
   7223   ;;
   7224 
   7225 openbsd*)
   7226   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7227     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7228   else
   7229     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7230   fi
   7231   ;;
   7232 
   7233 osf3* | osf4* | osf5*)
   7234   lt_cv_deplibs_check_method=pass_all
   7235   ;;
   7236 
   7237 rdos*)
   7238   lt_cv_deplibs_check_method=pass_all
   7239   ;;
   7240 
   7241 solaris*)
   7242   lt_cv_deplibs_check_method=pass_all
   7243   ;;
   7244 
   7245 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7246   lt_cv_deplibs_check_method=pass_all
   7247   ;;
   7248 
   7249 sysv4 | sysv4.3*)
   7250   case $host_vendor in
   7251   motorola)
   7252     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]'
   7253     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7254     ;;
   7255   ncr)
   7256     lt_cv_deplibs_check_method=pass_all
   7257     ;;
   7258   sequent)
   7259     lt_cv_file_magic_cmd='/bin/file'
   7260     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7261     ;;
   7262   sni)
   7263     lt_cv_file_magic_cmd='/bin/file'
   7264     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7265     lt_cv_file_magic_test_file=/lib/libc.so
   7266     ;;
   7267   siemens)
   7268     lt_cv_deplibs_check_method=pass_all
   7269     ;;
   7270   pc)
   7271     lt_cv_deplibs_check_method=pass_all
   7272     ;;
   7273   esac
   7274   ;;
   7275 
   7276 tpf*)
   7277   lt_cv_deplibs_check_method=pass_all
   7278   ;;
   7279 vxworks*)
   7280   # Assume VxWorks cross toolchains are built on Linux, possibly
   7281   # as canadian for Windows hosts.
   7282   lt_cv_deplibs_check_method=pass_all
   7283   ;;
   7284 esac
   7285 
   7286 fi
   7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7288 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7289 file_magic_cmd=$lt_cv_file_magic_cmd
   7290 deplibs_check_method=$lt_cv_deplibs_check_method
   7291 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 
   7299 
   7300 
   7301 
   7302 
   7303 
   7304 
   7305 # Try CLANG_PLUGIN_FILE first since GCC_PLUGIN_OPTION may return the
   7306 # wrong plugin_option with clang.
   7307   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang" >&5
   7308 $as_echo_n "checking for clang... " >&6; }
   7309 if ${clang_cv_is_clang+:} false; then :
   7310   $as_echo_n "(cached) " >&6
   7311 else
   7312 
   7313     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7314 /* end confdefs.h.  */
   7315 
   7316 #ifdef __clang__
   7317   yes
   7318 #endif
   7319 
   7320 _ACEOF
   7321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7322   $EGREP "yes" >/dev/null 2>&1; then :
   7323   clang_cv_is_clang=yes
   7324 else
   7325   clang_cv_is_clang=no
   7326 fi
   7327 rm -f conftest*
   7328 
   7329 fi
   7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $clang_cv_is_clang" >&5
   7331 $as_echo "$clang_cv_is_clang" >&6; }
   7332   if test -n "$ac_tool_prefix"; then
   7333   # Extract the first word of "${ac_tool_prefix}llvm-config", so it can be a program name with args.
   7334 set dummy ${ac_tool_prefix}llvm-config; ac_word=$2
   7335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7336 $as_echo_n "checking for $ac_word... " >&6; }
   7337 if ${ac_cv_prog_LLVM_CONFIG+:} false; then :
   7338   $as_echo_n "(cached) " >&6
   7339 else
   7340   if test -n "$LLVM_CONFIG"; then
   7341   ac_cv_prog_LLVM_CONFIG="$LLVM_CONFIG" # Let the user override the test.
   7342 else
   7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7344 for as_dir in $PATH
   7345 do
   7346   IFS=$as_save_IFS
   7347   test -z "$as_dir" && as_dir=.
   7348     for ac_exec_ext in '' $ac_executable_extensions; do
   7349   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7350     ac_cv_prog_LLVM_CONFIG="${ac_tool_prefix}llvm-config"
   7351     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7352     break 2
   7353   fi
   7354 done
   7355   done
   7356 IFS=$as_save_IFS
   7357 
   7358 fi
   7359 fi
   7360 LLVM_CONFIG=$ac_cv_prog_LLVM_CONFIG
   7361 if test -n "$LLVM_CONFIG"; then
   7362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LLVM_CONFIG" >&5
   7363 $as_echo "$LLVM_CONFIG" >&6; }
   7364 else
   7365   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7366 $as_echo "no" >&6; }
   7367 fi
   7368 
   7369 
   7370 fi
   7371 if test -z "$ac_cv_prog_LLVM_CONFIG"; then
   7372   ac_ct_LLVM_CONFIG=$LLVM_CONFIG
   7373   # Extract the first word of "llvm-config", so it can be a program name with args.
   7374 set dummy llvm-config; ac_word=$2
   7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7376 $as_echo_n "checking for $ac_word... " >&6; }
   7377 if ${ac_cv_prog_ac_ct_LLVM_CONFIG+:} false; then :
   7378   $as_echo_n "(cached) " >&6
   7379 else
   7380   if test -n "$ac_ct_LLVM_CONFIG"; then
   7381   ac_cv_prog_ac_ct_LLVM_CONFIG="$ac_ct_LLVM_CONFIG" # Let the user override the test.
   7382 else
   7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7384 for as_dir in $PATH
   7385 do
   7386   IFS=$as_save_IFS
   7387   test -z "$as_dir" && as_dir=.
   7388     for ac_exec_ext in '' $ac_executable_extensions; do
   7389   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7390     ac_cv_prog_ac_ct_LLVM_CONFIG="llvm-config"
   7391     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7392     break 2
   7393   fi
   7394 done
   7395   done
   7396 IFS=$as_save_IFS
   7397 
   7398 fi
   7399 fi
   7400 ac_ct_LLVM_CONFIG=$ac_cv_prog_ac_ct_LLVM_CONFIG
   7401 if test -n "$ac_ct_LLVM_CONFIG"; then
   7402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LLVM_CONFIG" >&5
   7403 $as_echo "$ac_ct_LLVM_CONFIG" >&6; }
   7404 else
   7405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7406 $as_echo "no" >&6; }
   7407 fi
   7408 
   7409   if test "x$ac_ct_LLVM_CONFIG" = x; then
   7410     LLVM_CONFIG=""
   7411   else
   7412     case $cross_compiling:$ac_tool_warned in
   7413 yes:)
   7414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7416 ac_tool_warned=yes ;;
   7417 esac
   7418     LLVM_CONFIG=$ac_ct_LLVM_CONFIG
   7419   fi
   7420 else
   7421   LLVM_CONFIG="$ac_cv_prog_LLVM_CONFIG"
   7422 fi
   7423 
   7424   plugin_file=
   7425   if test $clang_cv_is_clang = yes; then
   7426     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clang plugin file" >&5
   7427 $as_echo_n "checking for clang plugin file... " >&6; }
   7428     plugin_names="LLVMgold.so"
   7429     for plugin in $plugin_names; do
   7430       plugin_file=`${CC} ${CFLAGS} --print-file-name $plugin`
   7431       if test "$plugin_file" != "$plugin"; then
   7432 	break;
   7433       fi
   7434       if test -n "${LLVM_CONFIG}"; then
   7435 	plugin_file=`${LLVM_CONFIG} --libdir`/$plugin
   7436 	if test -f "$plugin_file"; then
   7437 	  break;
   7438 	fi
   7439       fi
   7440       plugin_file=
   7441     done
   7442     if test -z "$plugin_file"; then
   7443       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7444 $as_echo "no" >&6; }
   7445     else
   7446       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_file" >&5
   7447 $as_echo "$plugin_file" >&6; }
   7448             if test -n "$ac_tool_prefix"; then
   7449   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7450 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7452 $as_echo_n "checking for $ac_word... " >&6; }
   7453 if ${ac_cv_prog_AR+:} false; then :
   7454   $as_echo_n "(cached) " >&6
   7455 else
   7456   if test -n "$AR"; then
   7457   ac_cv_prog_AR="$AR" # Let the user override the test.
   7458 else
   7459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7460 for as_dir in $PATH
   7461 do
   7462   IFS=$as_save_IFS
   7463   test -z "$as_dir" && as_dir=.
   7464     for ac_exec_ext in '' $ac_executable_extensions; do
   7465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7466     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7468     break 2
   7469   fi
   7470 done
   7471   done
   7472 IFS=$as_save_IFS
   7473 
   7474 fi
   7475 fi
   7476 AR=$ac_cv_prog_AR
   7477 if test -n "$AR"; then
   7478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7479 $as_echo "$AR" >&6; }
   7480 else
   7481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7482 $as_echo "no" >&6; }
   7483 fi
   7484 
   7485 
   7486 fi
   7487 if test -z "$ac_cv_prog_AR"; then
   7488   ac_ct_AR=$AR
   7489   # Extract the first word of "ar", so it can be a program name with args.
   7490 set dummy ar; ac_word=$2
   7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7492 $as_echo_n "checking for $ac_word... " >&6; }
   7493 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7494   $as_echo_n "(cached) " >&6
   7495 else
   7496   if test -n "$ac_ct_AR"; then
   7497   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7498 else
   7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7500 for as_dir in $PATH
   7501 do
   7502   IFS=$as_save_IFS
   7503   test -z "$as_dir" && as_dir=.
   7504     for ac_exec_ext in '' $ac_executable_extensions; do
   7505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7506     ac_cv_prog_ac_ct_AR="ar"
   7507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7508     break 2
   7509   fi
   7510 done
   7511   done
   7512 IFS=$as_save_IFS
   7513 
   7514 fi
   7515 fi
   7516 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7517 if test -n "$ac_ct_AR"; then
   7518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7519 $as_echo "$ac_ct_AR" >&6; }
   7520 else
   7521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7522 $as_echo "no" >&6; }
   7523 fi
   7524 
   7525   if test "x$ac_ct_AR" = x; then
   7526     AR=""
   7527   else
   7528     case $cross_compiling:$ac_tool_warned in
   7529 yes:)
   7530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7532 ac_tool_warned=yes ;;
   7533 esac
   7534     AR=$ac_ct_AR
   7535   fi
   7536 else
   7537   AR="$ac_cv_prog_AR"
   7538 fi
   7539 
   7540       if test -z "${AR}"; then
   7541 	as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   7542       fi
   7543       plugin_option="--plugin $plugin_file"
   7544       touch conftest.c
   7545       ${AR} $plugin_option rc conftest.a conftest.c
   7546       if test "$?" != 0; then
   7547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   7548 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   7549 	plugin_file=
   7550       fi
   7551       rm -f conftest.*
   7552     fi
   7553   fi
   7554   plugin_file="$plugin_file"
   7555 
   7556 if test -n "$plugin_file"; then
   7557   plugin_option="--plugin $plugin_file"
   7558 else
   7559   if test -n "$ac_tool_prefix"; then
   7560   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7561 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7563 $as_echo_n "checking for $ac_word... " >&6; }
   7564 if ${ac_cv_prog_AR+:} false; then :
   7565   $as_echo_n "(cached) " >&6
   7566 else
   7567   if test -n "$AR"; then
   7568   ac_cv_prog_AR="$AR" # Let the user override the test.
   7569 else
   7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7571 for as_dir in $PATH
   7572 do
   7573   IFS=$as_save_IFS
   7574   test -z "$as_dir" && as_dir=.
   7575     for ac_exec_ext in '' $ac_executable_extensions; do
   7576   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7577     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7578     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7579     break 2
   7580   fi
   7581 done
   7582   done
   7583 IFS=$as_save_IFS
   7584 
   7585 fi
   7586 fi
   7587 AR=$ac_cv_prog_AR
   7588 if test -n "$AR"; then
   7589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7590 $as_echo "$AR" >&6; }
   7591 else
   7592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7593 $as_echo "no" >&6; }
   7594 fi
   7595 
   7596 
   7597 fi
   7598 if test -z "$ac_cv_prog_AR"; then
   7599   ac_ct_AR=$AR
   7600   # Extract the first word of "ar", so it can be a program name with args.
   7601 set dummy ar; ac_word=$2
   7602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7603 $as_echo_n "checking for $ac_word... " >&6; }
   7604 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7605   $as_echo_n "(cached) " >&6
   7606 else
   7607   if test -n "$ac_ct_AR"; then
   7608   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7609 else
   7610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7611 for as_dir in $PATH
   7612 do
   7613   IFS=$as_save_IFS
   7614   test -z "$as_dir" && as_dir=.
   7615     for ac_exec_ext in '' $ac_executable_extensions; do
   7616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7617     ac_cv_prog_ac_ct_AR="ar"
   7618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7619     break 2
   7620   fi
   7621 done
   7622   done
   7623 IFS=$as_save_IFS
   7624 
   7625 fi
   7626 fi
   7627 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7628 if test -n "$ac_ct_AR"; then
   7629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7630 $as_echo "$ac_ct_AR" >&6; }
   7631 else
   7632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7633 $as_echo "no" >&6; }
   7634 fi
   7635 
   7636   if test "x$ac_ct_AR" = x; then
   7637     AR=""
   7638   else
   7639     case $cross_compiling:$ac_tool_warned in
   7640 yes:)
   7641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7642 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7643 ac_tool_warned=yes ;;
   7644 esac
   7645     AR=$ac_ct_AR
   7646   fi
   7647 else
   7648   AR="$ac_cv_prog_AR"
   7649 fi
   7650 
   7651 if test -z "${AR}"; then
   7652   as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
   7653 fi
   7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -plugin option" >&5
   7655 $as_echo_n "checking for -plugin option... " >&6; }
   7656 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   7657 plugin_option=
   7658 for plugin in $plugin_names; do
   7659   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   7660   if test x$plugin_so = x$plugin; then
   7661     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   7662   fi
   7663   if test x$plugin_so != x$plugin; then
   7664     plugin_option="--plugin $plugin_so"
   7665     break
   7666   fi
   7667 done
   7668 if test -z "$plugin_option"; then
   7669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7670 $as_echo "no" >&6; }
   7671 else
   7672   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $plugin_option" >&5
   7673 $as_echo "$plugin_option" >&6; }
   7674     touch conftest.c
   7675   ${AR} $plugin_option rc conftest.a conftest.c
   7676   if test "$?" != 0; then
   7677     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   7678 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   7679     plugin_option=
   7680   fi
   7681   rm -f conftest.*
   7682 fi
   7683 plugin_option="$plugin_option"
   7684 
   7685 fi
   7686 if test -n "$ac_tool_prefix"; then
   7687   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7688 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7690 $as_echo_n "checking for $ac_word... " >&6; }
   7691 if ${ac_cv_prog_AR+:} false; then :
   7692   $as_echo_n "(cached) " >&6
   7693 else
   7694   if test -n "$AR"; then
   7695   ac_cv_prog_AR="$AR" # Let the user override the test.
   7696 else
   7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7698 for as_dir in $PATH
   7699 do
   7700   IFS=$as_save_IFS
   7701   test -z "$as_dir" && as_dir=.
   7702     for ac_exec_ext in '' $ac_executable_extensions; do
   7703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7704     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7706     break 2
   7707   fi
   7708 done
   7709   done
   7710 IFS=$as_save_IFS
   7711 
   7712 fi
   7713 fi
   7714 AR=$ac_cv_prog_AR
   7715 if test -n "$AR"; then
   7716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7717 $as_echo "$AR" >&6; }
   7718 else
   7719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7720 $as_echo "no" >&6; }
   7721 fi
   7722 
   7723 
   7724 fi
   7725 if test -z "$ac_cv_prog_AR"; then
   7726   ac_ct_AR=$AR
   7727   # Extract the first word of "ar", so it can be a program name with args.
   7728 set dummy ar; ac_word=$2
   7729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7730 $as_echo_n "checking for $ac_word... " >&6; }
   7731 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7732   $as_echo_n "(cached) " >&6
   7733 else
   7734   if test -n "$ac_ct_AR"; then
   7735   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7736 else
   7737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7738 for as_dir in $PATH
   7739 do
   7740   IFS=$as_save_IFS
   7741   test -z "$as_dir" && as_dir=.
   7742     for ac_exec_ext in '' $ac_executable_extensions; do
   7743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7744     ac_cv_prog_ac_ct_AR="ar"
   7745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7746     break 2
   7747   fi
   7748 done
   7749   done
   7750 IFS=$as_save_IFS
   7751 
   7752 fi
   7753 fi
   7754 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7755 if test -n "$ac_ct_AR"; then
   7756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7757 $as_echo "$ac_ct_AR" >&6; }
   7758 else
   7759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7760 $as_echo "no" >&6; }
   7761 fi
   7762 
   7763   if test "x$ac_ct_AR" = x; then
   7764     AR="false"
   7765   else
   7766     case $cross_compiling:$ac_tool_warned in
   7767 yes:)
   7768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7770 ac_tool_warned=yes ;;
   7771 esac
   7772     AR=$ac_ct_AR
   7773   fi
   7774 else
   7775   AR="$ac_cv_prog_AR"
   7776 fi
   7777 
   7778 test -z "$AR" && AR=ar
   7779 if test -n "$plugin_option"; then
   7780   case "$AR" in
   7781   *"$plugin_option"*)
   7782     ;;
   7783   *)
   7784     if $AR --help 2>&1 | grep -q "\--plugin"; then
   7785       AR="$AR $plugin_option"
   7786     fi
   7787     ;;
   7788   esac
   7789 fi
   7790 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 
   7801 
   7802 if test -n "$ac_tool_prefix"; then
   7803   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7804 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7806 $as_echo_n "checking for $ac_word... " >&6; }
   7807 if ${ac_cv_prog_STRIP+:} false; then :
   7808   $as_echo_n "(cached) " >&6
   7809 else
   7810   if test -n "$STRIP"; then
   7811   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7812 else
   7813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7814 for as_dir in $PATH
   7815 do
   7816   IFS=$as_save_IFS
   7817   test -z "$as_dir" && as_dir=.
   7818     for ac_exec_ext in '' $ac_executable_extensions; do
   7819   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7820     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7821     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7822     break 2
   7823   fi
   7824 done
   7825   done
   7826 IFS=$as_save_IFS
   7827 
   7828 fi
   7829 fi
   7830 STRIP=$ac_cv_prog_STRIP
   7831 if test -n "$STRIP"; then
   7832   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7833 $as_echo "$STRIP" >&6; }
   7834 else
   7835   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7836 $as_echo "no" >&6; }
   7837 fi
   7838 
   7839 
   7840 fi
   7841 if test -z "$ac_cv_prog_STRIP"; then
   7842   ac_ct_STRIP=$STRIP
   7843   # Extract the first word of "strip", so it can be a program name with args.
   7844 set dummy strip; ac_word=$2
   7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7846 $as_echo_n "checking for $ac_word... " >&6; }
   7847 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7848   $as_echo_n "(cached) " >&6
   7849 else
   7850   if test -n "$ac_ct_STRIP"; then
   7851   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7852 else
   7853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7854 for as_dir in $PATH
   7855 do
   7856   IFS=$as_save_IFS
   7857   test -z "$as_dir" && as_dir=.
   7858     for ac_exec_ext in '' $ac_executable_extensions; do
   7859   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7860     ac_cv_prog_ac_ct_STRIP="strip"
   7861     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7862     break 2
   7863   fi
   7864 done
   7865   done
   7866 IFS=$as_save_IFS
   7867 
   7868 fi
   7869 fi
   7870 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7871 if test -n "$ac_ct_STRIP"; then
   7872   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7873 $as_echo "$ac_ct_STRIP" >&6; }
   7874 else
   7875   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7876 $as_echo "no" >&6; }
   7877 fi
   7878 
   7879   if test "x$ac_ct_STRIP" = x; then
   7880     STRIP=":"
   7881   else
   7882     case $cross_compiling:$ac_tool_warned in
   7883 yes:)
   7884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7885 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7886 ac_tool_warned=yes ;;
   7887 esac
   7888     STRIP=$ac_ct_STRIP
   7889   fi
   7890 else
   7891   STRIP="$ac_cv_prog_STRIP"
   7892 fi
   7893 
   7894 test -z "$STRIP" && STRIP=:
   7895 
   7896 
   7897 
   7898 
   7899 
   7900 
   7901 if test -n "$ac_tool_prefix"; then
   7902   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7903 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7905 $as_echo_n "checking for $ac_word... " >&6; }
   7906 if ${ac_cv_prog_RANLIB+:} false; then :
   7907   $as_echo_n "(cached) " >&6
   7908 else
   7909   if test -n "$RANLIB"; then
   7910   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7911 else
   7912 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7913 for as_dir in $PATH
   7914 do
   7915   IFS=$as_save_IFS
   7916   test -z "$as_dir" && as_dir=.
   7917     for ac_exec_ext in '' $ac_executable_extensions; do
   7918   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7919     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7920     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7921     break 2
   7922   fi
   7923 done
   7924   done
   7925 IFS=$as_save_IFS
   7926 
   7927 fi
   7928 fi
   7929 RANLIB=$ac_cv_prog_RANLIB
   7930 if test -n "$RANLIB"; then
   7931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7932 $as_echo "$RANLIB" >&6; }
   7933 else
   7934   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7935 $as_echo "no" >&6; }
   7936 fi
   7937 
   7938 
   7939 fi
   7940 if test -z "$ac_cv_prog_RANLIB"; then
   7941   ac_ct_RANLIB=$RANLIB
   7942   # Extract the first word of "ranlib", so it can be a program name with args.
   7943 set dummy ranlib; ac_word=$2
   7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7945 $as_echo_n "checking for $ac_word... " >&6; }
   7946 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7947   $as_echo_n "(cached) " >&6
   7948 else
   7949   if test -n "$ac_ct_RANLIB"; then
   7950   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7951 else
   7952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7953 for as_dir in $PATH
   7954 do
   7955   IFS=$as_save_IFS
   7956   test -z "$as_dir" && as_dir=.
   7957     for ac_exec_ext in '' $ac_executable_extensions; do
   7958   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7959     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7960     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7961     break 2
   7962   fi
   7963 done
   7964   done
   7965 IFS=$as_save_IFS
   7966 
   7967 fi
   7968 fi
   7969 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7970 if test -n "$ac_ct_RANLIB"; then
   7971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7972 $as_echo "$ac_ct_RANLIB" >&6; }
   7973 else
   7974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7975 $as_echo "no" >&6; }
   7976 fi
   7977 
   7978   if test "x$ac_ct_RANLIB" = x; then
   7979     RANLIB=":"
   7980   else
   7981     case $cross_compiling:$ac_tool_warned in
   7982 yes:)
   7983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7985 ac_tool_warned=yes ;;
   7986 esac
   7987     RANLIB=$ac_ct_RANLIB
   7988   fi
   7989 else
   7990   RANLIB="$ac_cv_prog_RANLIB"
   7991 fi
   7992 
   7993 test -z "$RANLIB" && RANLIB=:
   7994 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   7995   case "$RANLIB" in
   7996   *"$plugin_option"*)
   7997     ;;
   7998   *)
   7999     if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   8000       RANLIB="$RANLIB $plugin_option"
   8001     fi
   8002     ;;
   8003   esac
   8004 fi
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 # Determine commands to create old-style static archives.
   8012 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   8013 old_postinstall_cmds='chmod 644 $oldlib'
   8014 old_postuninstall_cmds=
   8015 
   8016 if test -n "$RANLIB"; then
   8017   case $host_os in
   8018   openbsd*)
   8019     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   8020     ;;
   8021   *)
   8022     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   8023     ;;
   8024   esac
   8025   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   8026 fi
   8027 
   8028 case $host_os in
   8029   darwin*)
   8030     lock_old_archive_extraction=yes ;;
   8031   *)
   8032     lock_old_archive_extraction=no ;;
   8033 esac
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 
   8054 
   8055 
   8056 
   8057 
   8058 
   8059 
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 # If no C compiler was specified, use CC.
   8074 LTCC=${LTCC-"$CC"}
   8075 
   8076 # If no C compiler flags were specified, use CFLAGS.
   8077 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8078 
   8079 # Allow CC to be a program name with arguments.
   8080 compiler=$CC
   8081 
   8082 
   8083 # Check for command to grab the raw symbol name followed by C symbol from nm.
   8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   8085 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   8086 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   8087   $as_echo_n "(cached) " >&6
   8088 else
   8089 
   8090 # These are sane defaults that work on at least a few old systems.
   8091 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   8092 
   8093 # Character class describing NM global symbol codes.
   8094 symcode='[BCDEGRST]'
   8095 
   8096 # Regexp to match symbols that can be accessed directly from C.
   8097 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   8098 
   8099 # Define system-specific variables.
   8100 case $host_os in
   8101 aix*)
   8102   symcode='[BCDT]'
   8103   ;;
   8104 cygwin* | mingw* | pw32* | cegcc*)
   8105   symcode='[ABCDGISTW]'
   8106   ;;
   8107 hpux*)
   8108   if test "$host_cpu" = ia64; then
   8109     symcode='[ABCDEGRST]'
   8110   fi
   8111   ;;
   8112 irix* | nonstopux*)
   8113   symcode='[BCDEGRST]'
   8114   ;;
   8115 osf*)
   8116   symcode='[BCDEGQRST]'
   8117   ;;
   8118 solaris*)
   8119   symcode='[BCDRT]'
   8120   ;;
   8121 sco3.2v5*)
   8122   symcode='[DT]'
   8123   ;;
   8124 sysv4.2uw2*)
   8125   symcode='[DT]'
   8126   ;;
   8127 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   8128   symcode='[ABDT]'
   8129   ;;
   8130 sysv4)
   8131   symcode='[DFNSTU]'
   8132   ;;
   8133 esac
   8134 
   8135 # If we're using GNU nm, then use its standard symbol codes.
   8136 case `$NM -V 2>&1` in
   8137 *GNU* | *'with BFD'*)
   8138   symcode='[ABCDGIRSTW]' ;;
   8139 esac
   8140 
   8141 # Transform an extracted symbol line into a proper C declaration.
   8142 # Some systems (esp. on ia64) link data and code symbols differently,
   8143 # so use this general approach.
   8144 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   8145 
   8146 # Transform an extracted symbol line into symbol name and symbol address
   8147 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   8148 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'"
   8149 
   8150 # Handle CRLF in mingw tool chain
   8151 opt_cr=
   8152 case $build_os in
   8153 mingw*)
   8154   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   8155   ;;
   8156 esac
   8157 
   8158 # Try without a prefix underscore, then with it.
   8159 for ac_symprfx in "" "_"; do
   8160 
   8161   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   8162   symxfrm="\\1 $ac_symprfx\\2 \\2"
   8163 
   8164   # Write the raw and C identifiers.
   8165   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   8166     # Fake it for dumpbin and say T for any non-static function
   8167     # and D for any global variable.
   8168     # Also find C++ and __fastcall symbols from MSVC++,
   8169     # which start with @ or ?.
   8170     lt_cv_sys_global_symbol_pipe="$AWK '"\
   8171 "     {last_section=section; section=\$ 3};"\
   8172 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   8173 "     \$ 0!~/External *\|/{next};"\
   8174 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   8175 "     {if(hide[section]) next};"\
   8176 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   8177 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   8178 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   8179 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   8180 "     ' prfx=^$ac_symprfx"
   8181   else
   8182     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   8183   fi
   8184 
   8185   # Check to see that the pipe works correctly.
   8186   pipe_works=no
   8187 
   8188   rm -f conftest*
   8189   cat > conftest.$ac_ext <<_LT_EOF
   8190 #ifdef __cplusplus
   8191 extern "C" {
   8192 #endif
   8193 char nm_test_var;
   8194 void nm_test_func(void);
   8195 void nm_test_func(void){}
   8196 #ifdef __cplusplus
   8197 }
   8198 #endif
   8199 int main(){nm_test_var='a';nm_test_func();return(0);}
   8200 _LT_EOF
   8201 
   8202   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8203   (eval $ac_compile) 2>&5
   8204   ac_status=$?
   8205   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8206   test $ac_status = 0; }; then
   8207     # Now try to grab the symbols.
   8208     nlist=conftest.nm
   8209     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   8210   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   8211   ac_status=$?
   8212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8213   test $ac_status = 0; } && test -s "$nlist"; then
   8214       # Try sorting and uniquifying the output.
   8215       if sort "$nlist" | uniq > "$nlist"T; then
   8216 	mv -f "$nlist"T "$nlist"
   8217       else
   8218 	rm -f "$nlist"T
   8219       fi
   8220 
   8221       # Make sure that we snagged all the symbols we need.
   8222       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   8223 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   8224 	  cat <<_LT_EOF > conftest.$ac_ext
   8225 #ifdef __cplusplus
   8226 extern "C" {
   8227 #endif
   8228 
   8229 _LT_EOF
   8230 	  # Now generate the symbol file.
   8231 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   8232 
   8233 	  cat <<_LT_EOF >> conftest.$ac_ext
   8234 
   8235 /* The mapping between symbol names and symbols.  */
   8236 const struct {
   8237   const char *name;
   8238   void       *address;
   8239 }
   8240 lt__PROGRAM__LTX_preloaded_symbols[] =
   8241 {
   8242   { "@PROGRAM@", (void *) 0 },
   8243 _LT_EOF
   8244 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   8245 	  cat <<\_LT_EOF >> conftest.$ac_ext
   8246   {0, (void *) 0}
   8247 };
   8248 
   8249 /* This works around a problem in FreeBSD linker */
   8250 #ifdef FREEBSD_WORKAROUND
   8251 static const void *lt_preloaded_setup() {
   8252   return lt__PROGRAM__LTX_preloaded_symbols;
   8253 }
   8254 #endif
   8255 
   8256 #ifdef __cplusplus
   8257 }
   8258 #endif
   8259 _LT_EOF
   8260 	  # Now try linking the two files.
   8261 	  mv conftest.$ac_objext conftstm.$ac_objext
   8262 	  lt_save_LIBS="$LIBS"
   8263 	  lt_save_CFLAGS="$CFLAGS"
   8264 	  LIBS="conftstm.$ac_objext"
   8265 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   8266 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   8267   (eval $ac_link) 2>&5
   8268   ac_status=$?
   8269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8270   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   8271 	    pipe_works=yes
   8272 	  fi
   8273 	  LIBS="$lt_save_LIBS"
   8274 	  CFLAGS="$lt_save_CFLAGS"
   8275 	else
   8276 	  echo "cannot find nm_test_func in $nlist" >&5
   8277 	fi
   8278       else
   8279 	echo "cannot find nm_test_var in $nlist" >&5
   8280       fi
   8281     else
   8282       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   8283     fi
   8284   else
   8285     echo "$progname: failed program was:" >&5
   8286     cat conftest.$ac_ext >&5
   8287   fi
   8288   rm -rf conftest* conftst*
   8289 
   8290   # Do not use the global_symbol_pipe unless it works.
   8291   if test "$pipe_works" = yes; then
   8292     break
   8293   else
   8294     lt_cv_sys_global_symbol_pipe=
   8295   fi
   8296 done
   8297 
   8298 fi
   8299 
   8300 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   8301   lt_cv_sys_global_symbol_to_cdecl=
   8302 fi
   8303 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   8304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   8305 $as_echo "failed" >&6; }
   8306 else
   8307   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   8308 $as_echo "ok" >&6; }
   8309 fi
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 # Check whether --enable-libtool-lock was given.
   8333 if test "${enable_libtool_lock+set}" = set; then :
   8334   enableval=$enable_libtool_lock;
   8335 fi
   8336 
   8337 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   8338 
   8339 # Some flags need to be propagated to the compiler or linker for good
   8340 # libtool support.
   8341 case $host in
   8342 ia64-*-hpux*)
   8343   # Find out which ABI we are using.
   8344   echo 'int i;' > conftest.$ac_ext
   8345   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8346   (eval $ac_compile) 2>&5
   8347   ac_status=$?
   8348   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8349   test $ac_status = 0; }; then
   8350     case `/usr/bin/file conftest.$ac_objext` in
   8351       *ELF-32*)
   8352 	HPUX_IA64_MODE="32"
   8353 	;;
   8354       *ELF-64*)
   8355 	HPUX_IA64_MODE="64"
   8356 	;;
   8357     esac
   8358   fi
   8359   rm -rf conftest*
   8360   ;;
   8361 *-*-irix6*)
   8362   # Find out which ABI we are using.
   8363   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   8364   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8365   (eval $ac_compile) 2>&5
   8366   ac_status=$?
   8367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8368   test $ac_status = 0; }; then
   8369     if test "$lt_cv_prog_gnu_ld" = yes; then
   8370       case `/usr/bin/file conftest.$ac_objext` in
   8371 	*32-bit*)
   8372 	  LD="${LD-ld} -melf32bsmip"
   8373 	  ;;
   8374 	*N32*)
   8375 	  LD="${LD-ld} -melf32bmipn32"
   8376 	  ;;
   8377 	*64-bit*)
   8378 	  LD="${LD-ld} -melf64bmip"
   8379 	;;
   8380       esac
   8381     else
   8382       case `/usr/bin/file conftest.$ac_objext` in
   8383 	*32-bit*)
   8384 	  LD="${LD-ld} -32"
   8385 	  ;;
   8386 	*N32*)
   8387 	  LD="${LD-ld} -n32"
   8388 	  ;;
   8389 	*64-bit*)
   8390 	  LD="${LD-ld} -64"
   8391 	  ;;
   8392       esac
   8393     fi
   8394   fi
   8395   rm -rf conftest*
   8396   ;;
   8397 
   8398 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8399 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8400   # Find out which ABI we are using.
   8401   echo 'int i;' > conftest.$ac_ext
   8402   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8403   (eval $ac_compile) 2>&5
   8404   ac_status=$?
   8405   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8406   test $ac_status = 0; }; then
   8407     case `/usr/bin/file conftest.o` in
   8408       *32-bit*)
   8409 	case $host in
   8410 	  x86_64-*kfreebsd*-gnu)
   8411 	    LD="${LD-ld} -m elf_i386_fbsd"
   8412 	    ;;
   8413 	  x86_64-*linux*)
   8414 	    case `/usr/bin/file conftest.o` in
   8415 	      *x86-64*)
   8416 		LD="${LD-ld} -m elf32_x86_64"
   8417 		;;
   8418 	      *)
   8419 		LD="${LD-ld} -m elf_i386"
   8420 		;;
   8421 	    esac
   8422 	    ;;
   8423 	  powerpc64le-*linux*)
   8424 	    LD="${LD-ld} -m elf32lppclinux"
   8425 	    ;;
   8426 	  powerpc64-*linux*)
   8427 	    LD="${LD-ld} -m elf32ppclinux"
   8428 	    ;;
   8429 	  s390x-*linux*)
   8430 	    LD="${LD-ld} -m elf_s390"
   8431 	    ;;
   8432 	  sparc64-*linux*)
   8433 	    LD="${LD-ld} -m elf32_sparc"
   8434 	    ;;
   8435 	esac
   8436 	;;
   8437       *64-bit*)
   8438 	case $host in
   8439 	  x86_64-*kfreebsd*-gnu)
   8440 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8441 	    ;;
   8442 	  x86_64-*linux*)
   8443 	    LD="${LD-ld} -m elf_x86_64"
   8444 	    ;;
   8445 	  powerpcle-*linux*)
   8446 	    LD="${LD-ld} -m elf64lppc"
   8447 	    ;;
   8448 	  powerpc-*linux*)
   8449 	    LD="${LD-ld} -m elf64ppc"
   8450 	    ;;
   8451 	  s390*-*linux*|s390*-*tpf*)
   8452 	    LD="${LD-ld} -m elf64_s390"
   8453 	    ;;
   8454 	  sparc*-*linux*)
   8455 	    LD="${LD-ld} -m elf64_sparc"
   8456 	    ;;
   8457 	esac
   8458 	;;
   8459     esac
   8460   fi
   8461   rm -rf conftest*
   8462   ;;
   8463 
   8464 *-*-sco3.2v5*)
   8465   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8466   SAVE_CFLAGS="$CFLAGS"
   8467   CFLAGS="$CFLAGS -belf"
   8468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8469 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8470 if ${lt_cv_cc_needs_belf+:} false; then :
   8471   $as_echo_n "(cached) " >&6
   8472 else
   8473   ac_ext=c
   8474 ac_cpp='$CPP $CPPFLAGS'
   8475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8478 
   8479      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8480 /* end confdefs.h.  */
   8481 
   8482 int
   8483 main ()
   8484 {
   8485 
   8486   ;
   8487   return 0;
   8488 }
   8489 _ACEOF
   8490 if ac_fn_c_try_link "$LINENO"; then :
   8491   lt_cv_cc_needs_belf=yes
   8492 else
   8493   lt_cv_cc_needs_belf=no
   8494 fi
   8495 rm -f core conftest.err conftest.$ac_objext \
   8496     conftest$ac_exeext conftest.$ac_ext
   8497      ac_ext=c
   8498 ac_cpp='$CPP $CPPFLAGS'
   8499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8502 
   8503 fi
   8504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8505 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8506   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   8507     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8508     CFLAGS="$SAVE_CFLAGS"
   8509   fi
   8510   ;;
   8511 sparc*-*solaris*)
   8512   # Find out which ABI we are using.
   8513   echo 'int i;' > conftest.$ac_ext
   8514   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8515   (eval $ac_compile) 2>&5
   8516   ac_status=$?
   8517   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8518   test $ac_status = 0; }; then
   8519     case `/usr/bin/file conftest.o` in
   8520     *64-bit*)
   8521       case $lt_cv_prog_gnu_ld in
   8522       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   8523       *)
   8524 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8525 	  LD="${LD-ld} -64"
   8526 	fi
   8527 	;;
   8528       esac
   8529       ;;
   8530     esac
   8531   fi
   8532   rm -rf conftest*
   8533   ;;
   8534 esac
   8535 
   8536 need_locks="$enable_libtool_lock"
   8537 
   8538 
   8539   case $host_os in
   8540     rhapsody* | darwin*)
   8541     if test -n "$ac_tool_prefix"; then
   8542   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8543 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8545 $as_echo_n "checking for $ac_word... " >&6; }
   8546 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8547   $as_echo_n "(cached) " >&6
   8548 else
   8549   if test -n "$DSYMUTIL"; then
   8550   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8551 else
   8552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8553 for as_dir in $PATH
   8554 do
   8555   IFS=$as_save_IFS
   8556   test -z "$as_dir" && as_dir=.
   8557     for ac_exec_ext in '' $ac_executable_extensions; do
   8558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8559     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8561     break 2
   8562   fi
   8563 done
   8564   done
   8565 IFS=$as_save_IFS
   8566 
   8567 fi
   8568 fi
   8569 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8570 if test -n "$DSYMUTIL"; then
   8571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8572 $as_echo "$DSYMUTIL" >&6; }
   8573 else
   8574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8575 $as_echo "no" >&6; }
   8576 fi
   8577 
   8578 
   8579 fi
   8580 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8581   ac_ct_DSYMUTIL=$DSYMUTIL
   8582   # Extract the first word of "dsymutil", so it can be a program name with args.
   8583 set dummy dsymutil; ac_word=$2
   8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8585 $as_echo_n "checking for $ac_word... " >&6; }
   8586 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8587   $as_echo_n "(cached) " >&6
   8588 else
   8589   if test -n "$ac_ct_DSYMUTIL"; then
   8590   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8591 else
   8592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8593 for as_dir in $PATH
   8594 do
   8595   IFS=$as_save_IFS
   8596   test -z "$as_dir" && as_dir=.
   8597     for ac_exec_ext in '' $ac_executable_extensions; do
   8598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8599     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8601     break 2
   8602   fi
   8603 done
   8604   done
   8605 IFS=$as_save_IFS
   8606 
   8607 fi
   8608 fi
   8609 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8610 if test -n "$ac_ct_DSYMUTIL"; then
   8611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8612 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8613 else
   8614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8615 $as_echo "no" >&6; }
   8616 fi
   8617 
   8618   if test "x$ac_ct_DSYMUTIL" = x; then
   8619     DSYMUTIL=":"
   8620   else
   8621     case $cross_compiling:$ac_tool_warned in
   8622 yes:)
   8623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8625 ac_tool_warned=yes ;;
   8626 esac
   8627     DSYMUTIL=$ac_ct_DSYMUTIL
   8628   fi
   8629 else
   8630   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8631 fi
   8632 
   8633     if test -n "$ac_tool_prefix"; then
   8634   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8635 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8637 $as_echo_n "checking for $ac_word... " >&6; }
   8638 if ${ac_cv_prog_NMEDIT+:} false; then :
   8639   $as_echo_n "(cached) " >&6
   8640 else
   8641   if test -n "$NMEDIT"; then
   8642   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8643 else
   8644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8645 for as_dir in $PATH
   8646 do
   8647   IFS=$as_save_IFS
   8648   test -z "$as_dir" && as_dir=.
   8649     for ac_exec_ext in '' $ac_executable_extensions; do
   8650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8651     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8653     break 2
   8654   fi
   8655 done
   8656   done
   8657 IFS=$as_save_IFS
   8658 
   8659 fi
   8660 fi
   8661 NMEDIT=$ac_cv_prog_NMEDIT
   8662 if test -n "$NMEDIT"; then
   8663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8664 $as_echo "$NMEDIT" >&6; }
   8665 else
   8666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8667 $as_echo "no" >&6; }
   8668 fi
   8669 
   8670 
   8671 fi
   8672 if test -z "$ac_cv_prog_NMEDIT"; then
   8673   ac_ct_NMEDIT=$NMEDIT
   8674   # Extract the first word of "nmedit", so it can be a program name with args.
   8675 set dummy nmedit; ac_word=$2
   8676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8677 $as_echo_n "checking for $ac_word... " >&6; }
   8678 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8679   $as_echo_n "(cached) " >&6
   8680 else
   8681   if test -n "$ac_ct_NMEDIT"; then
   8682   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8683 else
   8684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8685 for as_dir in $PATH
   8686 do
   8687   IFS=$as_save_IFS
   8688   test -z "$as_dir" && as_dir=.
   8689     for ac_exec_ext in '' $ac_executable_extensions; do
   8690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8691     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8693     break 2
   8694   fi
   8695 done
   8696   done
   8697 IFS=$as_save_IFS
   8698 
   8699 fi
   8700 fi
   8701 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8702 if test -n "$ac_ct_NMEDIT"; then
   8703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8704 $as_echo "$ac_ct_NMEDIT" >&6; }
   8705 else
   8706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8707 $as_echo "no" >&6; }
   8708 fi
   8709 
   8710   if test "x$ac_ct_NMEDIT" = x; then
   8711     NMEDIT=":"
   8712   else
   8713     case $cross_compiling:$ac_tool_warned in
   8714 yes:)
   8715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8717 ac_tool_warned=yes ;;
   8718 esac
   8719     NMEDIT=$ac_ct_NMEDIT
   8720   fi
   8721 else
   8722   NMEDIT="$ac_cv_prog_NMEDIT"
   8723 fi
   8724 
   8725     if test -n "$ac_tool_prefix"; then
   8726   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8727 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8729 $as_echo_n "checking for $ac_word... " >&6; }
   8730 if ${ac_cv_prog_LIPO+:} false; then :
   8731   $as_echo_n "(cached) " >&6
   8732 else
   8733   if test -n "$LIPO"; then
   8734   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8735 else
   8736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8737 for as_dir in $PATH
   8738 do
   8739   IFS=$as_save_IFS
   8740   test -z "$as_dir" && as_dir=.
   8741     for ac_exec_ext in '' $ac_executable_extensions; do
   8742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8743     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8745     break 2
   8746   fi
   8747 done
   8748   done
   8749 IFS=$as_save_IFS
   8750 
   8751 fi
   8752 fi
   8753 LIPO=$ac_cv_prog_LIPO
   8754 if test -n "$LIPO"; then
   8755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8756 $as_echo "$LIPO" >&6; }
   8757 else
   8758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8759 $as_echo "no" >&6; }
   8760 fi
   8761 
   8762 
   8763 fi
   8764 if test -z "$ac_cv_prog_LIPO"; then
   8765   ac_ct_LIPO=$LIPO
   8766   # Extract the first word of "lipo", so it can be a program name with args.
   8767 set dummy lipo; ac_word=$2
   8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8769 $as_echo_n "checking for $ac_word... " >&6; }
   8770 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8771   $as_echo_n "(cached) " >&6
   8772 else
   8773   if test -n "$ac_ct_LIPO"; then
   8774   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8775 else
   8776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8777 for as_dir in $PATH
   8778 do
   8779   IFS=$as_save_IFS
   8780   test -z "$as_dir" && as_dir=.
   8781     for ac_exec_ext in '' $ac_executable_extensions; do
   8782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8783     ac_cv_prog_ac_ct_LIPO="lipo"
   8784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8785     break 2
   8786   fi
   8787 done
   8788   done
   8789 IFS=$as_save_IFS
   8790 
   8791 fi
   8792 fi
   8793 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8794 if test -n "$ac_ct_LIPO"; then
   8795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8796 $as_echo "$ac_ct_LIPO" >&6; }
   8797 else
   8798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8799 $as_echo "no" >&6; }
   8800 fi
   8801 
   8802   if test "x$ac_ct_LIPO" = x; then
   8803     LIPO=":"
   8804   else
   8805     case $cross_compiling:$ac_tool_warned in
   8806 yes:)
   8807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8809 ac_tool_warned=yes ;;
   8810 esac
   8811     LIPO=$ac_ct_LIPO
   8812   fi
   8813 else
   8814   LIPO="$ac_cv_prog_LIPO"
   8815 fi
   8816 
   8817     if test -n "$ac_tool_prefix"; then
   8818   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8819 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8821 $as_echo_n "checking for $ac_word... " >&6; }
   8822 if ${ac_cv_prog_OTOOL+:} false; then :
   8823   $as_echo_n "(cached) " >&6
   8824 else
   8825   if test -n "$OTOOL"; then
   8826   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8827 else
   8828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8829 for as_dir in $PATH
   8830 do
   8831   IFS=$as_save_IFS
   8832   test -z "$as_dir" && as_dir=.
   8833     for ac_exec_ext in '' $ac_executable_extensions; do
   8834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8835     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8837     break 2
   8838   fi
   8839 done
   8840   done
   8841 IFS=$as_save_IFS
   8842 
   8843 fi
   8844 fi
   8845 OTOOL=$ac_cv_prog_OTOOL
   8846 if test -n "$OTOOL"; then
   8847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8848 $as_echo "$OTOOL" >&6; }
   8849 else
   8850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8851 $as_echo "no" >&6; }
   8852 fi
   8853 
   8854 
   8855 fi
   8856 if test -z "$ac_cv_prog_OTOOL"; then
   8857   ac_ct_OTOOL=$OTOOL
   8858   # Extract the first word of "otool", so it can be a program name with args.
   8859 set dummy otool; ac_word=$2
   8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8861 $as_echo_n "checking for $ac_word... " >&6; }
   8862 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8863   $as_echo_n "(cached) " >&6
   8864 else
   8865   if test -n "$ac_ct_OTOOL"; then
   8866   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8867 else
   8868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8869 for as_dir in $PATH
   8870 do
   8871   IFS=$as_save_IFS
   8872   test -z "$as_dir" && as_dir=.
   8873     for ac_exec_ext in '' $ac_executable_extensions; do
   8874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8875     ac_cv_prog_ac_ct_OTOOL="otool"
   8876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8877     break 2
   8878   fi
   8879 done
   8880   done
   8881 IFS=$as_save_IFS
   8882 
   8883 fi
   8884 fi
   8885 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8886 if test -n "$ac_ct_OTOOL"; then
   8887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8888 $as_echo "$ac_ct_OTOOL" >&6; }
   8889 else
   8890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8891 $as_echo "no" >&6; }
   8892 fi
   8893 
   8894   if test "x$ac_ct_OTOOL" = x; then
   8895     OTOOL=":"
   8896   else
   8897     case $cross_compiling:$ac_tool_warned in
   8898 yes:)
   8899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8901 ac_tool_warned=yes ;;
   8902 esac
   8903     OTOOL=$ac_ct_OTOOL
   8904   fi
   8905 else
   8906   OTOOL="$ac_cv_prog_OTOOL"
   8907 fi
   8908 
   8909     if test -n "$ac_tool_prefix"; then
   8910   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8911 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8913 $as_echo_n "checking for $ac_word... " >&6; }
   8914 if ${ac_cv_prog_OTOOL64+:} false; then :
   8915   $as_echo_n "(cached) " >&6
   8916 else
   8917   if test -n "$OTOOL64"; then
   8918   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8919 else
   8920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8921 for as_dir in $PATH
   8922 do
   8923   IFS=$as_save_IFS
   8924   test -z "$as_dir" && as_dir=.
   8925     for ac_exec_ext in '' $ac_executable_extensions; do
   8926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8927     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8929     break 2
   8930   fi
   8931 done
   8932   done
   8933 IFS=$as_save_IFS
   8934 
   8935 fi
   8936 fi
   8937 OTOOL64=$ac_cv_prog_OTOOL64
   8938 if test -n "$OTOOL64"; then
   8939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8940 $as_echo "$OTOOL64" >&6; }
   8941 else
   8942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8943 $as_echo "no" >&6; }
   8944 fi
   8945 
   8946 
   8947 fi
   8948 if test -z "$ac_cv_prog_OTOOL64"; then
   8949   ac_ct_OTOOL64=$OTOOL64
   8950   # Extract the first word of "otool64", so it can be a program name with args.
   8951 set dummy otool64; ac_word=$2
   8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8953 $as_echo_n "checking for $ac_word... " >&6; }
   8954 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8955   $as_echo_n "(cached) " >&6
   8956 else
   8957   if test -n "$ac_ct_OTOOL64"; then
   8958   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8959 else
   8960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8961 for as_dir in $PATH
   8962 do
   8963   IFS=$as_save_IFS
   8964   test -z "$as_dir" && as_dir=.
   8965     for ac_exec_ext in '' $ac_executable_extensions; do
   8966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8967     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8969     break 2
   8970   fi
   8971 done
   8972   done
   8973 IFS=$as_save_IFS
   8974 
   8975 fi
   8976 fi
   8977 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8978 if test -n "$ac_ct_OTOOL64"; then
   8979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8980 $as_echo "$ac_ct_OTOOL64" >&6; }
   8981 else
   8982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8983 $as_echo "no" >&6; }
   8984 fi
   8985 
   8986   if test "x$ac_ct_OTOOL64" = x; then
   8987     OTOOL64=":"
   8988   else
   8989     case $cross_compiling:$ac_tool_warned in
   8990 yes:)
   8991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8993 ac_tool_warned=yes ;;
   8994 esac
   8995     OTOOL64=$ac_ct_OTOOL64
   8996   fi
   8997 else
   8998   OTOOL64="$ac_cv_prog_OTOOL64"
   8999 fi
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   9028 $as_echo_n "checking for -single_module linker flag... " >&6; }
   9029 if ${lt_cv_apple_cc_single_mod+:} false; then :
   9030   $as_echo_n "(cached) " >&6
   9031 else
   9032   lt_cv_apple_cc_single_mod=no
   9033       if test -z "${LT_MULTI_MODULE}"; then
   9034 	# By default we will add the -single_module flag. You can override
   9035 	# by either setting the environment variable LT_MULTI_MODULE
   9036 	# non-empty at configure time, or by adding -multi_module to the
   9037 	# link flags.
   9038 	rm -rf libconftest.dylib*
   9039 	echo "int foo(void){return 1;}" > conftest.c
   9040 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9041 -dynamiclib -Wl,-single_module conftest.c" >&5
   9042 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   9043 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   9044         _lt_result=$?
   9045 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   9046 	  lt_cv_apple_cc_single_mod=yes
   9047 	else
   9048 	  cat conftest.err >&5
   9049 	fi
   9050 	rm -rf libconftest.dylib*
   9051 	rm -f conftest.*
   9052       fi
   9053 fi
   9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   9055 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   9056     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   9057 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   9058 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   9059   $as_echo_n "(cached) " >&6
   9060 else
   9061   lt_cv_ld_exported_symbols_list=no
   9062       save_LDFLAGS=$LDFLAGS
   9063       echo "_main" > conftest.sym
   9064       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   9065       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9066 /* end confdefs.h.  */
   9067 
   9068 int
   9069 main ()
   9070 {
   9071 
   9072   ;
   9073   return 0;
   9074 }
   9075 _ACEOF
   9076 if ac_fn_c_try_link "$LINENO"; then :
   9077   lt_cv_ld_exported_symbols_list=yes
   9078 else
   9079   lt_cv_ld_exported_symbols_list=no
   9080 fi
   9081 rm -f core conftest.err conftest.$ac_objext \
   9082     conftest$ac_exeext conftest.$ac_ext
   9083 	LDFLAGS="$save_LDFLAGS"
   9084 
   9085 fi
   9086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   9087 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   9088     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   9089 $as_echo_n "checking for -force_load linker flag... " >&6; }
   9090 if ${lt_cv_ld_force_load+:} false; then :
   9091   $as_echo_n "(cached) " >&6
   9092 else
   9093   lt_cv_ld_force_load=no
   9094       cat > conftest.c << _LT_EOF
   9095 int forced_loaded() { return 2;}
   9096 _LT_EOF
   9097       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   9098       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   9099       echo "$AR cru libconftest.a conftest.o" >&5
   9100       $AR cru libconftest.a conftest.o 2>&5
   9101       cat > conftest.c << _LT_EOF
   9102 int main() { return 0;}
   9103 _LT_EOF
   9104       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   9105       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   9106       _lt_result=$?
   9107       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   9108 	lt_cv_ld_force_load=yes
   9109       else
   9110 	cat conftest.err >&5
   9111       fi
   9112         rm -f conftest.err libconftest.a conftest conftest.c
   9113         rm -rf conftest.dSYM
   9114 
   9115 fi
   9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   9117 $as_echo "$lt_cv_ld_force_load" >&6; }
   9118     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   9119     # build without first building modern cctools / linker.
   9120     case $host_cpu-$host_os in
   9121     *-rhapsody* | *-darwin1.[012])
   9122       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   9123     *-darwin1.*)
   9124       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   9125     *-darwin*)
   9126       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   9127       # deployment target is forced to an earlier version.
   9128       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   9129 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   9130 	  ;;
   9131 	10.[012][,.]*)
   9132 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   9133 	  ;;
   9134 	*)
   9135 	  ;;
   9136      esac
   9137     ;;
   9138   esac
   9139     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   9140       _lt_dar_single_mod='$single_module'
   9141     fi
   9142     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   9143       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   9144     else
   9145       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   9146     fi
   9147     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   9148       _lt_dsymutil='~$DSYMUTIL $lib || :'
   9149     else
   9150       _lt_dsymutil=
   9151     fi
   9152     ;;
   9153   esac
   9154 
   9155 for ac_header in dlfcn.h
   9156 do :
   9157   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   9158 "
   9159 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   9160   cat >>confdefs.h <<_ACEOF
   9161 #define HAVE_DLFCN_H 1
   9162 _ACEOF
   9163 
   9164 fi
   9165 
   9166 done
   9167 
   9168 
   9169 
   9170 
   9171 
   9172 
   9173 # Set options
   9174 
   9175 
   9176 
   9177         enable_dlopen=no
   9178 
   9179 
   9180   enable_win32_dll=no
   9181 
   9182 
   9183 
   9184   # Check whether --enable-static was given.
   9185 if test "${enable_static+set}" = set; then :
   9186   enableval=$enable_static; p=${PACKAGE-default}
   9187     case $enableval in
   9188     yes) enable_static=yes ;;
   9189     no) enable_static=no ;;
   9190     *)
   9191      enable_static=no
   9192       # Look at the argument we got.  We use all the common list separators.
   9193       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9194       for pkg in $enableval; do
   9195 	IFS="$lt_save_ifs"
   9196 	if test "X$pkg" = "X$p"; then
   9197 	  enable_static=yes
   9198 	fi
   9199       done
   9200       IFS="$lt_save_ifs"
   9201       ;;
   9202     esac
   9203 else
   9204   enable_static=yes
   9205 fi
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 
   9216 # Check whether --with-pic was given.
   9217 if test "${with_pic+set}" = set; then :
   9218   withval=$with_pic; pic_mode="$withval"
   9219 else
   9220   pic_mode=default
   9221 fi
   9222 
   9223 
   9224 test -z "$pic_mode" && pic_mode=default
   9225 
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232   # Check whether --enable-fast-install was given.
   9233 if test "${enable_fast_install+set}" = set; then :
   9234   enableval=$enable_fast_install; p=${PACKAGE-default}
   9235     case $enableval in
   9236     yes) enable_fast_install=yes ;;
   9237     no) enable_fast_install=no ;;
   9238     *)
   9239       enable_fast_install=no
   9240       # Look at the argument we got.  We use all the common list separators.
   9241       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   9242       for pkg in $enableval; do
   9243 	IFS="$lt_save_ifs"
   9244 	if test "X$pkg" = "X$p"; then
   9245 	  enable_fast_install=yes
   9246 	fi
   9247       done
   9248       IFS="$lt_save_ifs"
   9249       ;;
   9250     esac
   9251 else
   9252   enable_fast_install=yes
   9253 fi
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 # This can be used to rebuild libtool when needed
   9266 LIBTOOL_DEPS="$ltmain"
   9267 
   9268 # Always use our own libtool.
   9269 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 
   9286 
   9287 
   9288 
   9289 
   9290 
   9291 
   9292 
   9293 
   9294 
   9295 
   9296 test -z "$LN_S" && LN_S="ln -s"
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 
   9308 
   9309 
   9310 
   9311 if test -n "${ZSH_VERSION+set}" ; then
   9312    setopt NO_GLOB_SUBST
   9313 fi
   9314 
   9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   9316 $as_echo_n "checking for objdir... " >&6; }
   9317 if ${lt_cv_objdir+:} false; then :
   9318   $as_echo_n "(cached) " >&6
   9319 else
   9320   rm -f .libs 2>/dev/null
   9321 mkdir .libs 2>/dev/null
   9322 if test -d .libs; then
   9323   lt_cv_objdir=.libs
   9324 else
   9325   # MS-DOS does not allow filenames that begin with a dot.
   9326   lt_cv_objdir=_libs
   9327 fi
   9328 rmdir .libs 2>/dev/null
   9329 fi
   9330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   9331 $as_echo "$lt_cv_objdir" >&6; }
   9332 objdir=$lt_cv_objdir
   9333 
   9334 
   9335 
   9336 
   9337 
   9338 cat >>confdefs.h <<_ACEOF
   9339 #define LT_OBJDIR "$lt_cv_objdir/"
   9340 _ACEOF
   9341 
   9342 
   9343 
   9344 
   9345 case $host_os in
   9346 aix3*)
   9347   # AIX sometimes has problems with the GCC collect2 program.  For some
   9348   # reason, if we set the COLLECT_NAMES environment variable, the problems
   9349   # vanish in a puff of smoke.
   9350   if test "X${COLLECT_NAMES+set}" != Xset; then
   9351     COLLECT_NAMES=
   9352     export COLLECT_NAMES
   9353   fi
   9354   ;;
   9355 esac
   9356 
   9357 # Global variables:
   9358 ofile=libtool
   9359 can_build_shared=yes
   9360 
   9361 # All known linkers require a `.a' archive for static linking (except MSVC,
   9362 # which needs '.lib').
   9363 libext=a
   9364 
   9365 with_gnu_ld="$lt_cv_prog_gnu_ld"
   9366 
   9367 old_CC="$CC"
   9368 old_CFLAGS="$CFLAGS"
   9369 
   9370 # Set sane defaults for various variables
   9371 test -z "$CC" && CC=cc
   9372 test -z "$LTCC" && LTCC=$CC
   9373 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   9374 test -z "$LD" && LD=ld
   9375 test -z "$ac_objext" && ac_objext=o
   9376 
   9377 for cc_temp in $compiler""; do
   9378   case $cc_temp in
   9379     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9380     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9381     \-*) ;;
   9382     *) break;;
   9383   esac
   9384 done
   9385 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   9386 
   9387 
   9388 # Only perform the check for file, if the check method requires it
   9389 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9390 case $deplibs_check_method in
   9391 file_magic*)
   9392   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9393     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9394 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9395 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9396   $as_echo_n "(cached) " >&6
   9397 else
   9398   case $MAGIC_CMD in
   9399 [\\/*] |  ?:[\\/]*)
   9400   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9401   ;;
   9402 *)
   9403   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9404   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9405   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9406   for ac_dir in $ac_dummy; do
   9407     IFS="$lt_save_ifs"
   9408     test -z "$ac_dir" && ac_dir=.
   9409     if test -f $ac_dir/${ac_tool_prefix}file; then
   9410       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   9411       if test -n "$file_magic_test_file"; then
   9412 	case $deplibs_check_method in
   9413 	"file_magic "*)
   9414 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9415 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9416 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9417 	    $EGREP "$file_magic_regex" > /dev/null; then
   9418 	    :
   9419 	  else
   9420 	    cat <<_LT_EOF 1>&2
   9421 
   9422 *** Warning: the command libtool uses to detect shared libraries,
   9423 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9424 *** The result is that libtool may fail to recognize shared libraries
   9425 *** as such.  This will affect the creation of libtool libraries that
   9426 *** depend on shared libraries, but programs linked with such libtool
   9427 *** libraries will work regardless of this problem.  Nevertheless, you
   9428 *** may want to report the problem to your system manager and/or to
   9429 *** bug-libtool@gnu.org
   9430 
   9431 _LT_EOF
   9432 	  fi ;;
   9433 	esac
   9434       fi
   9435       break
   9436     fi
   9437   done
   9438   IFS="$lt_save_ifs"
   9439   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9440   ;;
   9441 esac
   9442 fi
   9443 
   9444 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9445 if test -n "$MAGIC_CMD"; then
   9446   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9447 $as_echo "$MAGIC_CMD" >&6; }
   9448 else
   9449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9450 $as_echo "no" >&6; }
   9451 fi
   9452 
   9453 
   9454 
   9455 
   9456 
   9457 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9458   if test -n "$ac_tool_prefix"; then
   9459     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9460 $as_echo_n "checking for file... " >&6; }
   9461 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9462   $as_echo_n "(cached) " >&6
   9463 else
   9464   case $MAGIC_CMD in
   9465 [\\/*] |  ?:[\\/]*)
   9466   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9467   ;;
   9468 *)
   9469   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9470   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9471   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9472   for ac_dir in $ac_dummy; do
   9473     IFS="$lt_save_ifs"
   9474     test -z "$ac_dir" && ac_dir=.
   9475     if test -f $ac_dir/file; then
   9476       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   9477       if test -n "$file_magic_test_file"; then
   9478 	case $deplibs_check_method in
   9479 	"file_magic "*)
   9480 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9481 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9482 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9483 	    $EGREP "$file_magic_regex" > /dev/null; then
   9484 	    :
   9485 	  else
   9486 	    cat <<_LT_EOF 1>&2
   9487 
   9488 *** Warning: the command libtool uses to detect shared libraries,
   9489 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9490 *** The result is that libtool may fail to recognize shared libraries
   9491 *** as such.  This will affect the creation of libtool libraries that
   9492 *** depend on shared libraries, but programs linked with such libtool
   9493 *** libraries will work regardless of this problem.  Nevertheless, you
   9494 *** may want to report the problem to your system manager and/or to
   9495 *** bug-libtool@gnu.org
   9496 
   9497 _LT_EOF
   9498 	  fi ;;
   9499 	esac
   9500       fi
   9501       break
   9502     fi
   9503   done
   9504   IFS="$lt_save_ifs"
   9505   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9506   ;;
   9507 esac
   9508 fi
   9509 
   9510 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9511 if test -n "$MAGIC_CMD"; then
   9512   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9513 $as_echo "$MAGIC_CMD" >&6; }
   9514 else
   9515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9516 $as_echo "no" >&6; }
   9517 fi
   9518 
   9519 
   9520   else
   9521     MAGIC_CMD=:
   9522   fi
   9523 fi
   9524 
   9525   fi
   9526   ;;
   9527 esac
   9528 
   9529 # Use C for the default configuration in the libtool script
   9530 
   9531 lt_save_CC="$CC"
   9532 ac_ext=c
   9533 ac_cpp='$CPP $CPPFLAGS'
   9534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9537 
   9538 
   9539 # Source file extension for C test sources.
   9540 ac_ext=c
   9541 
   9542 # Object file extension for compiled C test sources.
   9543 objext=o
   9544 objext=$objext
   9545 
   9546 # Code to be used in simple compile tests
   9547 lt_simple_compile_test_code="int some_variable = 0;"
   9548 
   9549 # Code to be used in simple link tests
   9550 lt_simple_link_test_code='int main(){return(0);}'
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 # If no C compiler was specified, use CC.
   9559 LTCC=${LTCC-"$CC"}
   9560 
   9561 # If no C compiler flags were specified, use CFLAGS.
   9562 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9563 
   9564 # Allow CC to be a program name with arguments.
   9565 compiler=$CC
   9566 
   9567 # Save the default compiler, since it gets overwritten when the other
   9568 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9569 compiler_DEFAULT=$CC
   9570 
   9571 # save warnings/boilerplate of simple test code
   9572 ac_outfile=conftest.$ac_objext
   9573 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9574 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9575 _lt_compiler_boilerplate=`cat conftest.err`
   9576 $RM conftest*
   9577 
   9578 ac_outfile=conftest.$ac_objext
   9579 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9580 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9581 _lt_linker_boilerplate=`cat conftest.err`
   9582 $RM -r conftest*
   9583 
   9584 
   9585 ## CAVEAT EMPTOR:
   9586 ## There is no encapsulation within the following macros, do not change
   9587 ## the running order or otherwise move them around unless you know exactly
   9588 ## what you are doing...
   9589 if test -n "$compiler"; then
   9590 
   9591 lt_prog_compiler_no_builtin_flag=
   9592 
   9593 if test "$GCC" = yes; then
   9594   case $cc_basename in
   9595   nvcc*)
   9596     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9597   *)
   9598     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9599   esac
   9600 
   9601   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9602 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9603 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9604   $as_echo_n "(cached) " >&6
   9605 else
   9606   lt_cv_prog_compiler_rtti_exceptions=no
   9607    ac_outfile=conftest.$ac_objext
   9608    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9609    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9610    # Insert the option either (1) after the last *FLAGS variable, or
   9611    # (2) before a word containing "conftest.", or (3) at the end.
   9612    # Note that $ac_compile itself does not contain backslashes and begins
   9613    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9614    # The option is referenced via a variable to avoid confusing sed.
   9615    lt_compile=`echo "$ac_compile" | $SED \
   9616    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9617    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9618    -e 's:$: $lt_compiler_flag:'`
   9619    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9620    (eval "$lt_compile" 2>conftest.err)
   9621    ac_status=$?
   9622    cat conftest.err >&5
   9623    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9624    if (exit $ac_status) && test -s "$ac_outfile"; then
   9625      # The compiler can only warn and ignore the option if not recognized
   9626      # So say no if there are warnings other than the usual output.
   9627      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9628      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9629      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9630        lt_cv_prog_compiler_rtti_exceptions=yes
   9631      fi
   9632    fi
   9633    $RM conftest*
   9634 
   9635 fi
   9636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9637 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9638 
   9639 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9640     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9641 else
   9642     :
   9643 fi
   9644 
   9645 fi
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652   lt_prog_compiler_wl=
   9653 lt_prog_compiler_pic=
   9654 lt_prog_compiler_static=
   9655 
   9656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9657 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9658 
   9659   if test "$GCC" = yes; then
   9660     lt_prog_compiler_wl='-Wl,'
   9661     lt_prog_compiler_static='-static'
   9662 
   9663     case $host_os in
   9664       aix*)
   9665       # All AIX code is PIC.
   9666       if test "$host_cpu" = ia64; then
   9667 	# AIX 5 now supports IA64 processor
   9668 	lt_prog_compiler_static='-Bstatic'
   9669       fi
   9670       lt_prog_compiler_pic='-fPIC'
   9671       ;;
   9672 
   9673     amigaos*)
   9674       case $host_cpu in
   9675       powerpc)
   9676             # see comment about AmigaOS4 .so support
   9677             lt_prog_compiler_pic='-fPIC'
   9678         ;;
   9679       m68k)
   9680             # FIXME: we need at least 68020 code to build shared libraries, but
   9681             # adding the `-m68020' flag to GCC prevents building anything better,
   9682             # like `-m68040'.
   9683             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9684         ;;
   9685       esac
   9686       ;;
   9687 
   9688     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9689       # PIC is the default for these OSes.
   9690       ;;
   9691 
   9692     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9693       # This hack is so that the source file can tell whether it is being
   9694       # built for inclusion in a dll (and should export symbols for example).
   9695       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9696       # (--disable-auto-import) libraries
   9697       lt_prog_compiler_pic='-DDLL_EXPORT'
   9698       ;;
   9699 
   9700     darwin* | rhapsody*)
   9701       # PIC is the default on this platform
   9702       # Common symbols not allowed in MH_DYLIB files
   9703       lt_prog_compiler_pic='-fno-common'
   9704       ;;
   9705 
   9706     haiku*)
   9707       # PIC is the default for Haiku.
   9708       # The "-static" flag exists, but is broken.
   9709       lt_prog_compiler_static=
   9710       ;;
   9711 
   9712     hpux*)
   9713       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9714       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9715       # sets the default TLS model and affects inlining.
   9716       case $host_cpu in
   9717       hppa*64*)
   9718 	# +Z the default
   9719 	;;
   9720       *)
   9721 	lt_prog_compiler_pic='-fPIC'
   9722 	;;
   9723       esac
   9724       ;;
   9725 
   9726     interix[3-9]*)
   9727       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9728       # Instead, we relocate shared libraries at runtime.
   9729       ;;
   9730 
   9731     msdosdjgpp*)
   9732       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9733       # on systems that don't support them.
   9734       lt_prog_compiler_can_build_shared=no
   9735       enable_shared=no
   9736       ;;
   9737 
   9738     *nto* | *qnx*)
   9739       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9740       # it will coredump.
   9741       lt_prog_compiler_pic='-fPIC -shared'
   9742       ;;
   9743 
   9744     sysv4*MP*)
   9745       if test -d /usr/nec; then
   9746 	lt_prog_compiler_pic=-Kconform_pic
   9747       fi
   9748       ;;
   9749 
   9750     *)
   9751       lt_prog_compiler_pic='-fPIC'
   9752       ;;
   9753     esac
   9754 
   9755     case $cc_basename in
   9756     nvcc*) # Cuda Compiler Driver 2.2
   9757       lt_prog_compiler_wl='-Xlinker '
   9758       lt_prog_compiler_pic='-Xcompiler -fPIC'
   9759       ;;
   9760     esac
   9761   else
   9762     # PORTME Check for flag to pass linker flags through the system compiler.
   9763     case $host_os in
   9764     aix*)
   9765       lt_prog_compiler_wl='-Wl,'
   9766       if test "$host_cpu" = ia64; then
   9767 	# AIX 5 now supports IA64 processor
   9768 	lt_prog_compiler_static='-Bstatic'
   9769       else
   9770 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9771       fi
   9772       ;;
   9773 
   9774     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9775       # This hack is so that the source file can tell whether it is being
   9776       # built for inclusion in a dll (and should export symbols for example).
   9777       lt_prog_compiler_pic='-DDLL_EXPORT'
   9778       ;;
   9779 
   9780     hpux9* | hpux10* | hpux11*)
   9781       lt_prog_compiler_wl='-Wl,'
   9782       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9783       # not for PA HP-UX.
   9784       case $host_cpu in
   9785       hppa*64*|ia64*)
   9786 	# +Z the default
   9787 	;;
   9788       *)
   9789 	lt_prog_compiler_pic='+Z'
   9790 	;;
   9791       esac
   9792       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9793       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9794       ;;
   9795 
   9796     irix5* | irix6* | nonstopux*)
   9797       lt_prog_compiler_wl='-Wl,'
   9798       # PIC (with -KPIC) is the default.
   9799       lt_prog_compiler_static='-non_shared'
   9800       ;;
   9801 
   9802     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9803       case $cc_basename in
   9804       # old Intel for x86_64 which still supported -KPIC.
   9805       ecc*)
   9806 	lt_prog_compiler_wl='-Wl,'
   9807 	lt_prog_compiler_pic='-KPIC'
   9808 	lt_prog_compiler_static='-static'
   9809         ;;
   9810       # icc used to be incompatible with GCC.
   9811       # ICC 10 doesn't accept -KPIC any more.
   9812       icc* | ifort*)
   9813 	lt_prog_compiler_wl='-Wl,'
   9814 	lt_prog_compiler_pic='-fPIC'
   9815 	lt_prog_compiler_static='-static'
   9816         ;;
   9817       # Lahey Fortran 8.1.
   9818       lf95*)
   9819 	lt_prog_compiler_wl='-Wl,'
   9820 	lt_prog_compiler_pic='--shared'
   9821 	lt_prog_compiler_static='--static'
   9822 	;;
   9823       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9824         # Portland Group compilers (*not* the Pentium gcc compiler,
   9825 	# which looks to be a dead project)
   9826 	lt_prog_compiler_wl='-Wl,'
   9827 	lt_prog_compiler_pic='-fpic'
   9828 	lt_prog_compiler_static='-Bstatic'
   9829         ;;
   9830       ccc*)
   9831         lt_prog_compiler_wl='-Wl,'
   9832         # All Alpha code is PIC.
   9833         lt_prog_compiler_static='-non_shared'
   9834         ;;
   9835       xl* | bgxl* | bgf* | mpixl*)
   9836 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9837 	lt_prog_compiler_wl='-Wl,'
   9838 	lt_prog_compiler_pic='-qpic'
   9839 	lt_prog_compiler_static='-qstaticlink'
   9840 	;;
   9841       *)
   9842 	case `$CC -V 2>&1 | sed 5q` in
   9843 	*Sun\ F* | *Sun*Fortran*)
   9844 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9845 	  lt_prog_compiler_pic='-KPIC'
   9846 	  lt_prog_compiler_static='-Bstatic'
   9847 	  lt_prog_compiler_wl=''
   9848 	  ;;
   9849 	*Sun\ C*)
   9850 	  # Sun C 5.9
   9851 	  lt_prog_compiler_pic='-KPIC'
   9852 	  lt_prog_compiler_static='-Bstatic'
   9853 	  lt_prog_compiler_wl='-Wl,'
   9854 	  ;;
   9855 	esac
   9856 	;;
   9857       esac
   9858       ;;
   9859 
   9860     newsos6)
   9861       lt_prog_compiler_pic='-KPIC'
   9862       lt_prog_compiler_static='-Bstatic'
   9863       ;;
   9864 
   9865     *nto* | *qnx*)
   9866       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9867       # it will coredump.
   9868       lt_prog_compiler_pic='-fPIC -shared'
   9869       ;;
   9870 
   9871     osf3* | osf4* | osf5*)
   9872       lt_prog_compiler_wl='-Wl,'
   9873       # All OSF/1 code is PIC.
   9874       lt_prog_compiler_static='-non_shared'
   9875       ;;
   9876 
   9877     rdos*)
   9878       lt_prog_compiler_static='-non_shared'
   9879       ;;
   9880 
   9881     solaris*)
   9882       lt_prog_compiler_pic='-KPIC'
   9883       lt_prog_compiler_static='-Bstatic'
   9884       case $cc_basename in
   9885       f77* | f90* | f95*)
   9886 	lt_prog_compiler_wl='-Qoption ld ';;
   9887       *)
   9888 	lt_prog_compiler_wl='-Wl,';;
   9889       esac
   9890       ;;
   9891 
   9892     sunos4*)
   9893       lt_prog_compiler_wl='-Qoption ld '
   9894       lt_prog_compiler_pic='-PIC'
   9895       lt_prog_compiler_static='-Bstatic'
   9896       ;;
   9897 
   9898     sysv4 | sysv4.2uw2* | sysv4.3*)
   9899       lt_prog_compiler_wl='-Wl,'
   9900       lt_prog_compiler_pic='-KPIC'
   9901       lt_prog_compiler_static='-Bstatic'
   9902       ;;
   9903 
   9904     sysv4*MP*)
   9905       if test -d /usr/nec ;then
   9906 	lt_prog_compiler_pic='-Kconform_pic'
   9907 	lt_prog_compiler_static='-Bstatic'
   9908       fi
   9909       ;;
   9910 
   9911     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9912       lt_prog_compiler_wl='-Wl,'
   9913       lt_prog_compiler_pic='-KPIC'
   9914       lt_prog_compiler_static='-Bstatic'
   9915       ;;
   9916 
   9917     unicos*)
   9918       lt_prog_compiler_wl='-Wl,'
   9919       lt_prog_compiler_can_build_shared=no
   9920       ;;
   9921 
   9922     uts4*)
   9923       lt_prog_compiler_pic='-pic'
   9924       lt_prog_compiler_static='-Bstatic'
   9925       ;;
   9926 
   9927     *)
   9928       lt_prog_compiler_can_build_shared=no
   9929       ;;
   9930     esac
   9931   fi
   9932 
   9933 case $host_os in
   9934   # For platforms which do not support PIC, -DPIC is meaningless:
   9935   *djgpp*)
   9936     lt_prog_compiler_pic=
   9937     ;;
   9938   *)
   9939     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9940     ;;
   9941 esac
   9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9943 $as_echo "$lt_prog_compiler_pic" >&6; }
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 #
   9951 # Check to make sure the PIC flag actually works.
   9952 #
   9953 if test -n "$lt_prog_compiler_pic"; then
   9954   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9955 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9956 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9957   $as_echo_n "(cached) " >&6
   9958 else
   9959   lt_cv_prog_compiler_pic_works=no
   9960    ac_outfile=conftest.$ac_objext
   9961    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9962    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9963    # Insert the option either (1) after the last *FLAGS variable, or
   9964    # (2) before a word containing "conftest.", or (3) at the end.
   9965    # Note that $ac_compile itself does not contain backslashes and begins
   9966    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9967    # The option is referenced via a variable to avoid confusing sed.
   9968    lt_compile=`echo "$ac_compile" | $SED \
   9969    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9970    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9971    -e 's:$: $lt_compiler_flag:'`
   9972    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9973    (eval "$lt_compile" 2>conftest.err)
   9974    ac_status=$?
   9975    cat conftest.err >&5
   9976    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9977    if (exit $ac_status) && test -s "$ac_outfile"; then
   9978      # The compiler can only warn and ignore the option if not recognized
   9979      # So say no if there are warnings other than the usual output.
   9980      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9981      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9982      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9983        lt_cv_prog_compiler_pic_works=yes
   9984      fi
   9985    fi
   9986    $RM conftest*
   9987 
   9988 fi
   9989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9990 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9991 
   9992 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9993     case $lt_prog_compiler_pic in
   9994      "" | " "*) ;;
   9995      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9996      esac
   9997 else
   9998     lt_prog_compiler_pic=
   9999      lt_prog_compiler_can_build_shared=no
   10000 fi
   10001 
   10002 fi
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 #
   10010 # Check to make sure the static flag actually works.
   10011 #
   10012 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   10013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   10014 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   10015 if ${lt_cv_prog_compiler_static_works+:} false; then :
   10016   $as_echo_n "(cached) " >&6
   10017 else
   10018   lt_cv_prog_compiler_static_works=no
   10019    save_LDFLAGS="$LDFLAGS"
   10020    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   10021    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10022    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10023      # The linker can only warn and ignore the option if not recognized
   10024      # So say no if there are warnings
   10025      if test -s conftest.err; then
   10026        # Append any errors to the config.log.
   10027        cat conftest.err 1>&5
   10028        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10029        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10030        if diff conftest.exp conftest.er2 >/dev/null; then
   10031          lt_cv_prog_compiler_static_works=yes
   10032        fi
   10033      else
   10034        lt_cv_prog_compiler_static_works=yes
   10035      fi
   10036    fi
   10037    $RM -r conftest*
   10038    LDFLAGS="$save_LDFLAGS"
   10039 
   10040 fi
   10041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   10042 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   10043 
   10044 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   10045     :
   10046 else
   10047     lt_prog_compiler_static=
   10048 fi
   10049 
   10050 
   10051 
   10052 
   10053 
   10054 
   10055 
   10056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10057 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10058 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10059   $as_echo_n "(cached) " >&6
   10060 else
   10061   lt_cv_prog_compiler_c_o=no
   10062    $RM -r conftest 2>/dev/null
   10063    mkdir conftest
   10064    cd conftest
   10065    mkdir out
   10066    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10067 
   10068    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10069    # Insert the option either (1) after the last *FLAGS variable, or
   10070    # (2) before a word containing "conftest.", or (3) at the end.
   10071    # Note that $ac_compile itself does not contain backslashes and begins
   10072    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10073    lt_compile=`echo "$ac_compile" | $SED \
   10074    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10075    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10076    -e 's:$: $lt_compiler_flag:'`
   10077    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10078    (eval "$lt_compile" 2>out/conftest.err)
   10079    ac_status=$?
   10080    cat out/conftest.err >&5
   10081    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10082    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10083    then
   10084      # The compiler can only warn and ignore the option if not recognized
   10085      # So say no if there are warnings
   10086      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10087      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10088      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10089        lt_cv_prog_compiler_c_o=yes
   10090      fi
   10091    fi
   10092    chmod u+w . 2>&5
   10093    $RM conftest*
   10094    # SGI C++ compiler will create directory out/ii_files/ for
   10095    # template instantiation
   10096    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10097    $RM out/* && rmdir out
   10098    cd ..
   10099    $RM -r conftest
   10100    $RM conftest*
   10101 
   10102 fi
   10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10104 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   10112 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   10113 if ${lt_cv_prog_compiler_c_o+:} false; then :
   10114   $as_echo_n "(cached) " >&6
   10115 else
   10116   lt_cv_prog_compiler_c_o=no
   10117    $RM -r conftest 2>/dev/null
   10118    mkdir conftest
   10119    cd conftest
   10120    mkdir out
   10121    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10122 
   10123    lt_compiler_flag="-o out/conftest2.$ac_objext"
   10124    # Insert the option either (1) after the last *FLAGS variable, or
   10125    # (2) before a word containing "conftest.", or (3) at the end.
   10126    # Note that $ac_compile itself does not contain backslashes and begins
   10127    # with a dollar sign (not a hyphen), so the echo should work correctly.
   10128    lt_compile=`echo "$ac_compile" | $SED \
   10129    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   10130    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   10131    -e 's:$: $lt_compiler_flag:'`
   10132    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   10133    (eval "$lt_compile" 2>out/conftest.err)
   10134    ac_status=$?
   10135    cat out/conftest.err >&5
   10136    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10137    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   10138    then
   10139      # The compiler can only warn and ignore the option if not recognized
   10140      # So say no if there are warnings
   10141      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   10142      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   10143      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   10144        lt_cv_prog_compiler_c_o=yes
   10145      fi
   10146    fi
   10147    chmod u+w . 2>&5
   10148    $RM conftest*
   10149    # SGI C++ compiler will create directory out/ii_files/ for
   10150    # template instantiation
   10151    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   10152    $RM out/* && rmdir out
   10153    cd ..
   10154    $RM -r conftest
   10155    $RM conftest*
   10156 
   10157 fi
   10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   10159 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   10160 
   10161 
   10162 
   10163 
   10164 hard_links="nottested"
   10165 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   10166   # do not overwrite the value of need_locks provided by the user
   10167   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   10168 $as_echo_n "checking if we can lock with hard links... " >&6; }
   10169   hard_links=yes
   10170   $RM conftest*
   10171   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10172   touch conftest.a
   10173   ln conftest.a conftest.b 2>&5 || hard_links=no
   10174   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   10175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   10176 $as_echo "$hard_links" >&6; }
   10177   if test "$hard_links" = no; then
   10178     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   10179 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   10180     need_locks=warn
   10181   fi
   10182 else
   10183   need_locks=no
   10184 fi
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   10192 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   10193 
   10194   runpath_var=
   10195   allow_undefined_flag=
   10196   always_export_symbols=no
   10197   archive_cmds=
   10198   archive_expsym_cmds=
   10199   compiler_needs_object=no
   10200   enable_shared_with_static_runtimes=no
   10201   export_dynamic_flag_spec=
   10202   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   10203   hardcode_automatic=no
   10204   hardcode_direct=no
   10205   hardcode_direct_absolute=no
   10206   hardcode_libdir_flag_spec=
   10207   hardcode_libdir_flag_spec_ld=
   10208   hardcode_libdir_separator=
   10209   hardcode_minus_L=no
   10210   hardcode_shlibpath_var=unsupported
   10211   inherit_rpath=no
   10212   link_all_deplibs=unknown
   10213   module_cmds=
   10214   module_expsym_cmds=
   10215   old_archive_from_new_cmds=
   10216   old_archive_from_expsyms_cmds=
   10217   thread_safe_flag_spec=
   10218   whole_archive_flag_spec=
   10219   # include_expsyms should be a list of space-separated symbols to be *always*
   10220   # included in the symbol list
   10221   include_expsyms=
   10222   # exclude_expsyms can be an extended regexp of symbols to exclude
   10223   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   10224   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   10225   # as well as any symbol that contains `d'.
   10226   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   10227   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   10228   # platforms (ab)use it in PIC code, but their linkers get confused if
   10229   # the symbol is explicitly referenced.  Since portable code cannot
   10230   # rely on this symbol name, it's probably fine to never include it in
   10231   # preloaded symbol tables.
   10232   # Exclude shared library initialization/finalization symbols.
   10233   extract_expsyms_cmds=
   10234 
   10235   case $host_os in
   10236   cygwin* | mingw* | pw32* | cegcc*)
   10237     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   10238     # When not using gcc, we currently assume that we are using
   10239     # Microsoft Visual C++.
   10240     if test "$GCC" != yes; then
   10241       with_gnu_ld=no
   10242     fi
   10243     ;;
   10244   interix*)
   10245     # we just hope/assume this is gcc and not c89 (= MSVC++)
   10246     with_gnu_ld=yes
   10247     ;;
   10248   openbsd*)
   10249     with_gnu_ld=no
   10250     ;;
   10251   esac
   10252 
   10253   ld_shlibs=yes
   10254 
   10255   # On some targets, GNU ld is compatible enough with the native linker
   10256   # that we're better off using the native interface for both.
   10257   lt_use_gnu_ld_interface=no
   10258   if test "$with_gnu_ld" = yes; then
   10259     case $host_os in
   10260       aix*)
   10261 	# The AIX port of GNU ld has always aspired to compatibility
   10262 	# with the native linker.  However, as the warning in the GNU ld
   10263 	# block says, versions before 2.19.5* couldn't really create working
   10264 	# shared libraries, regardless of the interface used.
   10265 	case `$LD -v 2>&1` in
   10266 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   10267 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   10268 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   10269 	  *)
   10270 	    lt_use_gnu_ld_interface=yes
   10271 	    ;;
   10272 	esac
   10273 	;;
   10274       *)
   10275 	lt_use_gnu_ld_interface=yes
   10276 	;;
   10277     esac
   10278   fi
   10279 
   10280   if test "$lt_use_gnu_ld_interface" = yes; then
   10281     # If archive_cmds runs LD, not CC, wlarc should be empty
   10282     wlarc='${wl}'
   10283 
   10284     # Set some defaults for GNU ld with shared library support. These
   10285     # are reset later if shared libraries are not supported. Putting them
   10286     # here allows them to be overridden if necessary.
   10287     runpath_var=LD_RUN_PATH
   10288     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10289     export_dynamic_flag_spec='${wl}--export-dynamic'
   10290     # ancient GNU ld didn't support --whole-archive et. al.
   10291     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   10292       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   10293     else
   10294       whole_archive_flag_spec=
   10295     fi
   10296     supports_anon_versioning=no
   10297     case `$LD -v 2>&1` in
   10298       *GNU\ gold*) supports_anon_versioning=yes ;;
   10299       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   10300       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   10301       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   10302       *\ 2.11.*) ;; # other 2.11 versions
   10303       *) supports_anon_versioning=yes ;;
   10304     esac
   10305 
   10306     # See if GNU ld supports shared libraries.
   10307     case $host_os in
   10308     aix[3-9]*)
   10309       # On AIX/PPC, the GNU linker is very broken
   10310       if test "$host_cpu" != ia64; then
   10311 	ld_shlibs=no
   10312 	cat <<_LT_EOF 1>&2
   10313 
   10314 *** Warning: the GNU linker, at least up to release 2.19, is reported
   10315 *** to be unable to reliably create shared libraries on AIX.
   10316 *** Therefore, libtool is disabling shared libraries support.  If you
   10317 *** really care for shared libraries, you may want to install binutils
   10318 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   10319 *** You will then need to restart the configuration process.
   10320 
   10321 _LT_EOF
   10322       fi
   10323       ;;
   10324 
   10325     amigaos*)
   10326       case $host_cpu in
   10327       powerpc)
   10328             # see comment about AmigaOS4 .so support
   10329             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10330             archive_expsym_cmds=''
   10331         ;;
   10332       m68k)
   10333             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)'
   10334             hardcode_libdir_flag_spec='-L$libdir'
   10335             hardcode_minus_L=yes
   10336         ;;
   10337       esac
   10338       ;;
   10339 
   10340     beos*)
   10341       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10342 	allow_undefined_flag=unsupported
   10343 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   10344 	# support --undefined.  This deserves some investigation.  FIXME
   10345 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10346       else
   10347 	ld_shlibs=no
   10348       fi
   10349       ;;
   10350 
   10351     cygwin* | mingw* | pw32* | cegcc*)
   10352       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   10353       # as there is no search path for DLLs.
   10354       hardcode_libdir_flag_spec='-L$libdir'
   10355       export_dynamic_flag_spec='${wl}--export-all-symbols'
   10356       allow_undefined_flag=unsupported
   10357       always_export_symbols=no
   10358       enable_shared_with_static_runtimes=yes
   10359       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   10360 
   10361       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   10362         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10363 	# If the export-symbols file already is a .def file (1st line
   10364 	# is EXPORTS), use it as is; otherwise, prepend...
   10365 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   10366 	  cp $export_symbols $output_objdir/$soname.def;
   10367 	else
   10368 	  echo EXPORTS > $output_objdir/$soname.def;
   10369 	  cat $export_symbols >> $output_objdir/$soname.def;
   10370 	fi~
   10371 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   10372       else
   10373 	ld_shlibs=no
   10374       fi
   10375       ;;
   10376 
   10377     haiku*)
   10378       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10379       link_all_deplibs=yes
   10380       ;;
   10381 
   10382     interix[3-9]*)
   10383       hardcode_direct=no
   10384       hardcode_shlibpath_var=no
   10385       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10386       export_dynamic_flag_spec='${wl}-E'
   10387       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10388       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10389       # default) and relocated if they conflict, which is a slow very memory
   10390       # consuming and fragmenting process.  To avoid this, we pick a random,
   10391       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10392       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10393       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10394       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'
   10395       ;;
   10396 
   10397     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   10398       tmp_diet=no
   10399       if test "$host_os" = linux-dietlibc; then
   10400 	case $cc_basename in
   10401 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10402 	esac
   10403       fi
   10404       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10405 	 && test "$tmp_diet" = no
   10406       then
   10407 	tmp_addflag=' $pic_flag'
   10408 	tmp_sharedflag='-shared'
   10409 	case $cc_basename,$host_cpu in
   10410         pgcc*)				# Portland Group C compiler
   10411 	  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'
   10412 	  tmp_addflag=' $pic_flag'
   10413 	  ;;
   10414 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10415 					# Portland Group f77 and f90 compilers
   10416 	  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'
   10417 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10418 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10419 	  tmp_addflag=' -i_dynamic' ;;
   10420 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10421 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10422 	ifc* | ifort*)			# Intel Fortran compiler
   10423 	  tmp_addflag=' -nofor_main' ;;
   10424 	lf95*)				# Lahey Fortran 8.1
   10425 	  whole_archive_flag_spec=
   10426 	  tmp_sharedflag='--shared' ;;
   10427 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10428 	  tmp_sharedflag='-qmkshrobj'
   10429 	  tmp_addflag= ;;
   10430 	nvcc*)	# Cuda Compiler Driver 2.2
   10431 	  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'
   10432 	  compiler_needs_object=yes
   10433 	  ;;
   10434 	esac
   10435 	case `$CC -V 2>&1 | sed 5q` in
   10436 	*Sun\ C*)			# Sun C 5.9
   10437 	  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'
   10438 	  compiler_needs_object=yes
   10439 	  tmp_sharedflag='-G' ;;
   10440 	*Sun\ F*)			# Sun Fortran 8.3
   10441 	  tmp_sharedflag='-G' ;;
   10442 	esac
   10443 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10444 
   10445         if test "x$supports_anon_versioning" = xyes; then
   10446           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10447 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10448 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   10449 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   10450         fi
   10451 
   10452 	case $cc_basename in
   10453 	xlf* | bgf* | bgxlf* | mpixlf*)
   10454 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10455 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10456 	  hardcode_libdir_flag_spec=
   10457 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   10458 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   10459 	  if test "x$supports_anon_versioning" = xyes; then
   10460 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10461 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10462 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   10463 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10464 	  fi
   10465 	  ;;
   10466 	esac
   10467       else
   10468         ld_shlibs=no
   10469       fi
   10470       ;;
   10471 
   10472     netbsd*)
   10473       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10474 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10475 	wlarc=
   10476       else
   10477 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10478 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10479       fi
   10480       ;;
   10481 
   10482     solaris*)
   10483       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10484 	ld_shlibs=no
   10485 	cat <<_LT_EOF 1>&2
   10486 
   10487 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10488 *** create shared libraries on Solaris systems.  Therefore, libtool
   10489 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10490 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10491 *** your PATH or compiler configuration so that the native linker is
   10492 *** used, and then restart.
   10493 
   10494 _LT_EOF
   10495       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10496 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10497 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10498       else
   10499 	ld_shlibs=no
   10500       fi
   10501       ;;
   10502 
   10503     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10504       case `$LD -v 2>&1` in
   10505         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10506 	ld_shlibs=no
   10507 	cat <<_LT_EOF 1>&2
   10508 
   10509 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10510 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10511 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10512 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10513 *** your PATH or compiler configuration so that the native linker is
   10514 *** used, and then restart.
   10515 
   10516 _LT_EOF
   10517 	;;
   10518 	*)
   10519 	  # For security reasons, it is highly recommended that you always
   10520 	  # use absolute paths for naming shared libraries, and exclude the
   10521 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10522 	  # requires that you compile everything twice, which is a pain.
   10523 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10524 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10525 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10526 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10527 	  else
   10528 	    ld_shlibs=no
   10529 	  fi
   10530 	;;
   10531       esac
   10532       ;;
   10533 
   10534     sunos4*)
   10535       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10536       wlarc=
   10537       hardcode_direct=yes
   10538       hardcode_shlibpath_var=no
   10539       ;;
   10540 
   10541     *)
   10542       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10543 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10544 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10545       else
   10546 	ld_shlibs=no
   10547       fi
   10548       ;;
   10549     esac
   10550 
   10551     if test "$ld_shlibs" = no; then
   10552       runpath_var=
   10553       hardcode_libdir_flag_spec=
   10554       export_dynamic_flag_spec=
   10555       whole_archive_flag_spec=
   10556     fi
   10557   else
   10558     # PORTME fill in a description of your system's linker (not GNU ld)
   10559     case $host_os in
   10560     aix3*)
   10561       allow_undefined_flag=unsupported
   10562       always_export_symbols=yes
   10563       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'
   10564       # Note: this linker hardcodes the directories in LIBPATH if there
   10565       # are no directories specified by -L.
   10566       hardcode_minus_L=yes
   10567       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10568 	# Neither direct hardcoding nor static linking is supported with a
   10569 	# broken collect2.
   10570 	hardcode_direct=unsupported
   10571       fi
   10572       ;;
   10573 
   10574     aix[4-9]*)
   10575       if test "$host_cpu" = ia64; then
   10576 	# On IA64, the linker does run time linking by default, so we don't
   10577 	# have to do anything special.
   10578 	aix_use_runtimelinking=no
   10579 	exp_sym_flag='-Bexport'
   10580 	no_entry_flag=""
   10581       else
   10582 	# If we're using GNU nm, then we don't want the "-C" option.
   10583 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10584 	# Also, AIX nm treats weak defined symbols like other global
   10585 	# defined symbols, whereas GNU nm marks them as "W".
   10586 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10587 	  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'
   10588 	else
   10589 	  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'
   10590 	fi
   10591 	aix_use_runtimelinking=no
   10592 
   10593 	# Test if we are trying to use run time linking or normal
   10594 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10595 	# need to do runtime linking.
   10596 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10597 	  for ld_flag in $LDFLAGS; do
   10598 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10599 	    aix_use_runtimelinking=yes
   10600 	    break
   10601 	  fi
   10602 	  done
   10603 	  ;;
   10604 	esac
   10605 
   10606 	exp_sym_flag='-bexport'
   10607 	no_entry_flag='-bnoentry'
   10608       fi
   10609 
   10610       # When large executables or shared objects are built, AIX ld can
   10611       # have problems creating the table of contents.  If linking a library
   10612       # or program results in "error TOC overflow" add -mminimal-toc to
   10613       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10614       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10615 
   10616       archive_cmds=''
   10617       hardcode_direct=yes
   10618       hardcode_direct_absolute=yes
   10619       hardcode_libdir_separator=':'
   10620       link_all_deplibs=yes
   10621       file_list_spec='${wl}-f,'
   10622 
   10623       if test "$GCC" = yes; then
   10624 	case $host_os in aix4.[012]|aix4.[012].*)
   10625 	# We only want to do this on AIX 4.2 and lower, the check
   10626 	# below for broken collect2 doesn't work under 4.3+
   10627 	  collect2name=`${CC} -print-prog-name=collect2`
   10628 	  if test -f "$collect2name" &&
   10629 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10630 	  then
   10631 	  # We have reworked collect2
   10632 	  :
   10633 	  else
   10634 	  # We have old collect2
   10635 	  hardcode_direct=unsupported
   10636 	  # It fails to find uninstalled libraries when the uninstalled
   10637 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10638 	  # to unsupported forces relinking
   10639 	  hardcode_minus_L=yes
   10640 	  hardcode_libdir_flag_spec='-L$libdir'
   10641 	  hardcode_libdir_separator=
   10642 	  fi
   10643 	  ;;
   10644 	esac
   10645 	shared_flag='-shared'
   10646 	if test "$aix_use_runtimelinking" = yes; then
   10647 	  shared_flag="$shared_flag "'${wl}-G'
   10648 	fi
   10649       else
   10650 	# not using gcc
   10651 	if test "$host_cpu" = ia64; then
   10652 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10653 	# chokes on -Wl,-G. The following line is correct:
   10654 	  shared_flag='-G'
   10655 	else
   10656 	  if test "$aix_use_runtimelinking" = yes; then
   10657 	    shared_flag='${wl}-G'
   10658 	  else
   10659 	    shared_flag='${wl}-bM:SRE'
   10660 	  fi
   10661 	fi
   10662       fi
   10663 
   10664       export_dynamic_flag_spec='${wl}-bexpall'
   10665       # It seems that -bexpall does not export symbols beginning with
   10666       # underscore (_), so it is better to generate a list of symbols to export.
   10667       always_export_symbols=yes
   10668       if test "$aix_use_runtimelinking" = yes; then
   10669 	# Warning - without using the other runtime loading flags (-brtl),
   10670 	# -berok will link without error, but may produce a broken library.
   10671 	allow_undefined_flag='-berok'
   10672         # Determine the default libpath from the value encoded in an
   10673         # empty executable.
   10674         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10675 /* end confdefs.h.  */
   10676 
   10677 int
   10678 main ()
   10679 {
   10680 
   10681   ;
   10682   return 0;
   10683 }
   10684 _ACEOF
   10685 if ac_fn_c_try_link "$LINENO"; then :
   10686 
   10687 lt_aix_libpath_sed='
   10688     /Import File Strings/,/^$/ {
   10689 	/^0/ {
   10690 	    s/^0  *\(.*\)$/\1/
   10691 	    p
   10692 	}
   10693     }'
   10694 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10695 # Check for a 64-bit object if we didn't find anything.
   10696 if test -z "$aix_libpath"; then
   10697   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10698 fi
   10699 fi
   10700 rm -f core conftest.err conftest.$ac_objext \
   10701     conftest$ac_exeext conftest.$ac_ext
   10702 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10703 
   10704         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10705         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"
   10706       else
   10707 	if test "$host_cpu" = ia64; then
   10708 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10709 	  allow_undefined_flag="-z nodefs"
   10710 	  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"
   10711 	else
   10712 	 # Determine the default libpath from the value encoded in an
   10713 	 # empty executable.
   10714 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10715 /* end confdefs.h.  */
   10716 
   10717 int
   10718 main ()
   10719 {
   10720 
   10721   ;
   10722   return 0;
   10723 }
   10724 _ACEOF
   10725 if ac_fn_c_try_link "$LINENO"; then :
   10726 
   10727 lt_aix_libpath_sed='
   10728     /Import File Strings/,/^$/ {
   10729 	/^0/ {
   10730 	    s/^0  *\(.*\)$/\1/
   10731 	    p
   10732 	}
   10733     }'
   10734 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10735 # Check for a 64-bit object if we didn't find anything.
   10736 if test -z "$aix_libpath"; then
   10737   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10738 fi
   10739 fi
   10740 rm -f core conftest.err conftest.$ac_objext \
   10741     conftest$ac_exeext conftest.$ac_ext
   10742 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10743 
   10744 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10745 	  # Warning - without using the other run time loading flags,
   10746 	  # -berok will link without error, but may produce a broken library.
   10747 	  no_undefined_flag=' ${wl}-bernotok'
   10748 	  allow_undefined_flag=' ${wl}-berok'
   10749 	  if test "$with_gnu_ld" = yes; then
   10750 	    # We only use this code for GNU lds that support --whole-archive.
   10751 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10752 	  else
   10753 	    # Exported symbols can be pulled into shared objects from archives
   10754 	    whole_archive_flag_spec='$convenience'
   10755 	  fi
   10756 	  archive_cmds_need_lc=yes
   10757 	  # This is similar to how AIX traditionally builds its shared libraries.
   10758 	  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'
   10759 	fi
   10760       fi
   10761       ;;
   10762 
   10763     amigaos*)
   10764       case $host_cpu in
   10765       powerpc)
   10766             # see comment about AmigaOS4 .so support
   10767             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10768             archive_expsym_cmds=''
   10769         ;;
   10770       m68k)
   10771             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)'
   10772             hardcode_libdir_flag_spec='-L$libdir'
   10773             hardcode_minus_L=yes
   10774         ;;
   10775       esac
   10776       ;;
   10777 
   10778     bsdi[45]*)
   10779       export_dynamic_flag_spec=-rdynamic
   10780       ;;
   10781 
   10782     cygwin* | mingw* | pw32* | cegcc*)
   10783       # When not using gcc, we currently assume that we are using
   10784       # Microsoft Visual C++.
   10785       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10786       # no search path for DLLs.
   10787       hardcode_libdir_flag_spec=' '
   10788       allow_undefined_flag=unsupported
   10789       # Tell ltmain to make .lib files, not .a files.
   10790       libext=lib
   10791       # Tell ltmain to make .dll files, not .so files.
   10792       shrext_cmds=".dll"
   10793       # FIXME: Setting linknames here is a bad hack.
   10794       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10795       # The linker will automatically build a .lib file if we build a DLL.
   10796       old_archive_from_new_cmds='true'
   10797       # FIXME: Should let the user specify the lib program.
   10798       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10799       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10800       enable_shared_with_static_runtimes=yes
   10801       ;;
   10802 
   10803     darwin* | rhapsody*)
   10804 
   10805 
   10806   archive_cmds_need_lc=no
   10807   hardcode_direct=no
   10808   hardcode_automatic=yes
   10809   hardcode_shlibpath_var=unsupported
   10810   if test "$lt_cv_ld_force_load" = "yes"; then
   10811     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\"`'
   10812   else
   10813     whole_archive_flag_spec=''
   10814   fi
   10815   link_all_deplibs=yes
   10816   allow_undefined_flag="$_lt_dar_allow_undefined"
   10817   case $cc_basename in
   10818      ifort*) _lt_dar_can_shared=yes ;;
   10819      *) _lt_dar_can_shared=$GCC ;;
   10820   esac
   10821   if test "$_lt_dar_can_shared" = "yes"; then
   10822     output_verbose_link_cmd=func_echo_all
   10823     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10824     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10825     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}"
   10826     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}"
   10827 
   10828   else
   10829   ld_shlibs=no
   10830   fi
   10831 
   10832       ;;
   10833 
   10834     dgux*)
   10835       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10836       hardcode_libdir_flag_spec='-L$libdir'
   10837       hardcode_shlibpath_var=no
   10838       ;;
   10839 
   10840     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10841     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10842     # does not break anything, and helps significantly (at the cost of a little
   10843     # extra space).
   10844     freebsd2.2*)
   10845       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10846       hardcode_libdir_flag_spec='-R$libdir'
   10847       hardcode_direct=yes
   10848       hardcode_shlibpath_var=no
   10849       ;;
   10850 
   10851     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10852     freebsd2.*)
   10853       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10854       hardcode_direct=yes
   10855       hardcode_minus_L=yes
   10856       hardcode_shlibpath_var=no
   10857       ;;
   10858 
   10859     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10860     freebsd* | dragonfly*)
   10861       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   10862       hardcode_libdir_flag_spec='-R$libdir'
   10863       hardcode_direct=yes
   10864       hardcode_shlibpath_var=no
   10865       ;;
   10866 
   10867     hpux9*)
   10868       if test "$GCC" = yes; then
   10869 	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'
   10870       else
   10871 	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'
   10872       fi
   10873       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10874       hardcode_libdir_separator=:
   10875       hardcode_direct=yes
   10876 
   10877       # hardcode_minus_L: Not really in the search PATH,
   10878       # but as the default location of the library.
   10879       hardcode_minus_L=yes
   10880       export_dynamic_flag_spec='${wl}-E'
   10881       ;;
   10882 
   10883     hpux10*)
   10884       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10885 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10886       else
   10887 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10888       fi
   10889       if test "$with_gnu_ld" = no; then
   10890 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10891 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10892 	hardcode_libdir_separator=:
   10893 	hardcode_direct=yes
   10894 	hardcode_direct_absolute=yes
   10895 	export_dynamic_flag_spec='${wl}-E'
   10896 	# hardcode_minus_L: Not really in the search PATH,
   10897 	# but as the default location of the library.
   10898 	hardcode_minus_L=yes
   10899       fi
   10900       ;;
   10901 
   10902     hpux11*)
   10903       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10904 	case $host_cpu in
   10905 	hppa*64*)
   10906 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10907 	  ;;
   10908 	ia64*)
   10909 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10910 	  ;;
   10911 	*)
   10912 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10913 	  ;;
   10914 	esac
   10915       else
   10916 	case $host_cpu in
   10917 	hppa*64*)
   10918 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10919 	  ;;
   10920 	ia64*)
   10921 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10922 	  ;;
   10923 	*)
   10924 
   10925 	  # Older versions of the 11.00 compiler do not understand -b yet
   10926 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10927 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10928 $as_echo_n "checking if $CC understands -b... " >&6; }
   10929 if ${lt_cv_prog_compiler__b+:} false; then :
   10930   $as_echo_n "(cached) " >&6
   10931 else
   10932   lt_cv_prog_compiler__b=no
   10933    save_LDFLAGS="$LDFLAGS"
   10934    LDFLAGS="$LDFLAGS -b"
   10935    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10936    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10937      # The linker can only warn and ignore the option if not recognized
   10938      # So say no if there are warnings
   10939      if test -s conftest.err; then
   10940        # Append any errors to the config.log.
   10941        cat conftest.err 1>&5
   10942        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10943        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10944        if diff conftest.exp conftest.er2 >/dev/null; then
   10945          lt_cv_prog_compiler__b=yes
   10946        fi
   10947      else
   10948        lt_cv_prog_compiler__b=yes
   10949      fi
   10950    fi
   10951    $RM -r conftest*
   10952    LDFLAGS="$save_LDFLAGS"
   10953 
   10954 fi
   10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10956 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10957 
   10958 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10959     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10960 else
   10961     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10962 fi
   10963 
   10964 	  ;;
   10965 	esac
   10966       fi
   10967       if test "$with_gnu_ld" = no; then
   10968 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10969 	hardcode_libdir_separator=:
   10970 
   10971 	case $host_cpu in
   10972 	hppa*64*|ia64*)
   10973 	  hardcode_direct=no
   10974 	  hardcode_shlibpath_var=no
   10975 	  ;;
   10976 	*)
   10977 	  hardcode_direct=yes
   10978 	  hardcode_direct_absolute=yes
   10979 	  export_dynamic_flag_spec='${wl}-E'
   10980 
   10981 	  # hardcode_minus_L: Not really in the search PATH,
   10982 	  # but as the default location of the library.
   10983 	  hardcode_minus_L=yes
   10984 	  ;;
   10985 	esac
   10986       fi
   10987       ;;
   10988 
   10989     irix5* | irix6* | nonstopux*)
   10990       if test "$GCC" = yes; then
   10991 	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'
   10992 	# Try to use the -exported_symbol ld option, if it does not
   10993 	# work, assume that -exports_file does not work either and
   10994 	# implicitly export all symbols.
   10995         save_LDFLAGS="$LDFLAGS"
   10996         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10997         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10998 /* end confdefs.h.  */
   10999 int foo(void) {}
   11000 _ACEOF
   11001 if ac_fn_c_try_link "$LINENO"; then :
   11002   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'
   11003 
   11004 fi
   11005 rm -f core conftest.err conftest.$ac_objext \
   11006     conftest$ac_exeext conftest.$ac_ext
   11007         LDFLAGS="$save_LDFLAGS"
   11008       else
   11009 	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'
   11010 	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'
   11011       fi
   11012       archive_cmds_need_lc='no'
   11013       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11014       hardcode_libdir_separator=:
   11015       inherit_rpath=yes
   11016       link_all_deplibs=yes
   11017       ;;
   11018 
   11019     netbsd*)
   11020       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11021 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   11022       else
   11023 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   11024       fi
   11025       hardcode_libdir_flag_spec='-R$libdir'
   11026       hardcode_direct=yes
   11027       hardcode_shlibpath_var=no
   11028       ;;
   11029 
   11030     newsos6)
   11031       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11032       hardcode_direct=yes
   11033       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11034       hardcode_libdir_separator=:
   11035       hardcode_shlibpath_var=no
   11036       ;;
   11037 
   11038     *nto* | *qnx*)
   11039       ;;
   11040 
   11041     openbsd*)
   11042       if test -f /usr/libexec/ld.so; then
   11043 	hardcode_direct=yes
   11044 	hardcode_shlibpath_var=no
   11045 	hardcode_direct_absolute=yes
   11046 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11047 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11048 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   11049 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11050 	  export_dynamic_flag_spec='${wl}-E'
   11051 	else
   11052 	  case $host_os in
   11053 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   11054 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   11055 	     hardcode_libdir_flag_spec='-R$libdir'
   11056 	     ;;
   11057 	   *)
   11058 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   11059 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   11060 	     ;;
   11061 	  esac
   11062 	fi
   11063       else
   11064 	ld_shlibs=no
   11065       fi
   11066       ;;
   11067 
   11068     os2*)
   11069       hardcode_libdir_flag_spec='-L$libdir'
   11070       hardcode_minus_L=yes
   11071       allow_undefined_flag=unsupported
   11072       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'
   11073       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   11074       ;;
   11075 
   11076     osf3*)
   11077       if test "$GCC" = yes; then
   11078 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11079 	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'
   11080       else
   11081 	allow_undefined_flag=' -expect_unresolved \*'
   11082 	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'
   11083       fi
   11084       archive_cmds_need_lc='no'
   11085       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11086       hardcode_libdir_separator=:
   11087       ;;
   11088 
   11089     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   11090       if test "$GCC" = yes; then
   11091 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   11092 	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'
   11093 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   11094       else
   11095 	allow_undefined_flag=' -expect_unresolved \*'
   11096 	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'
   11097 	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~
   11098 	$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'
   11099 
   11100 	# Both c and cxx compiler support -rpath directly
   11101 	hardcode_libdir_flag_spec='-rpath $libdir'
   11102       fi
   11103       archive_cmds_need_lc='no'
   11104       hardcode_libdir_separator=:
   11105       ;;
   11106 
   11107     solaris*)
   11108       no_undefined_flag=' -z defs'
   11109       if test "$GCC" = yes; then
   11110 	wlarc='${wl}'
   11111 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   11112 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11113 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11114       else
   11115 	case `$CC -V 2>&1` in
   11116 	*"Compilers 5.0"*)
   11117 	  wlarc=''
   11118 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11119 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11120 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   11121 	  ;;
   11122 	*)
   11123 	  wlarc='${wl}'
   11124 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11125 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   11126 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   11127 	  ;;
   11128 	esac
   11129       fi
   11130       hardcode_libdir_flag_spec='-R$libdir'
   11131       hardcode_shlibpath_var=no
   11132       case $host_os in
   11133       solaris2.[0-5] | solaris2.[0-5].*) ;;
   11134       *)
   11135 	# The compiler driver will combine and reorder linker options,
   11136 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   11137 	# but is careful enough not to reorder.
   11138 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   11139 	if test "$GCC" = yes; then
   11140 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   11141 	else
   11142 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   11143 	fi
   11144 	;;
   11145       esac
   11146       link_all_deplibs=yes
   11147       ;;
   11148 
   11149     sunos4*)
   11150       if test "x$host_vendor" = xsequent; then
   11151 	# Use $CC to link under sequent, because it throws in some extra .o
   11152 	# files that make .init and .fini sections work.
   11153 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   11154       else
   11155 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   11156       fi
   11157       hardcode_libdir_flag_spec='-L$libdir'
   11158       hardcode_direct=yes
   11159       hardcode_minus_L=yes
   11160       hardcode_shlibpath_var=no
   11161       ;;
   11162 
   11163     sysv4)
   11164       case $host_vendor in
   11165 	sni)
   11166 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11167 	  hardcode_direct=yes # is this really true???
   11168 	;;
   11169 	siemens)
   11170 	  ## LD is ld it makes a PLAMLIB
   11171 	  ## CC just makes a GrossModule.
   11172 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   11173 	  reload_cmds='$CC -r -o $output$reload_objs'
   11174 	  hardcode_direct=no
   11175         ;;
   11176 	motorola)
   11177 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11178 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   11179 	;;
   11180       esac
   11181       runpath_var='LD_RUN_PATH'
   11182       hardcode_shlibpath_var=no
   11183       ;;
   11184 
   11185     sysv4.3*)
   11186       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11187       hardcode_shlibpath_var=no
   11188       export_dynamic_flag_spec='-Bexport'
   11189       ;;
   11190 
   11191     sysv4*MP*)
   11192       if test -d /usr/nec; then
   11193 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11194 	hardcode_shlibpath_var=no
   11195 	runpath_var=LD_RUN_PATH
   11196 	hardcode_runpath_var=yes
   11197 	ld_shlibs=yes
   11198       fi
   11199       ;;
   11200 
   11201     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   11202       no_undefined_flag='${wl}-z,text'
   11203       archive_cmds_need_lc=no
   11204       hardcode_shlibpath_var=no
   11205       runpath_var='LD_RUN_PATH'
   11206 
   11207       if test "$GCC" = yes; then
   11208 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11209 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11210       else
   11211 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11212 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11213       fi
   11214       ;;
   11215 
   11216     sysv5* | sco3.2v5* | sco5v6*)
   11217       # Note: We can NOT use -z defs as we might desire, because we do not
   11218       # link with -lc, and that would cause any symbols used from libc to
   11219       # always be unresolved, which means just about no library would
   11220       # ever link correctly.  If we're not using GNU ld we use -z text
   11221       # though, which does catch some bad symbols but isn't as heavy-handed
   11222       # as -z defs.
   11223       no_undefined_flag='${wl}-z,text'
   11224       allow_undefined_flag='${wl}-z,nodefs'
   11225       archive_cmds_need_lc=no
   11226       hardcode_shlibpath_var=no
   11227       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   11228       hardcode_libdir_separator=':'
   11229       link_all_deplibs=yes
   11230       export_dynamic_flag_spec='${wl}-Bexport'
   11231       runpath_var='LD_RUN_PATH'
   11232 
   11233       if test "$GCC" = yes; then
   11234 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11235 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11236       else
   11237 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11238 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   11239       fi
   11240       ;;
   11241 
   11242     uts4*)
   11243       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   11244       hardcode_libdir_flag_spec='-L$libdir'
   11245       hardcode_shlibpath_var=no
   11246       ;;
   11247 
   11248     *)
   11249       ld_shlibs=no
   11250       ;;
   11251     esac
   11252 
   11253     if test x$host_vendor = xsni; then
   11254       case $host in
   11255       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   11256 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   11257 	;;
   11258       esac
   11259     fi
   11260   fi
   11261 
   11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   11263 $as_echo "$ld_shlibs" >&6; }
   11264 test "$ld_shlibs" = no && can_build_shared=no
   11265 
   11266 with_gnu_ld=$with_gnu_ld
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 
   11281 
   11282 #
   11283 # Do we need to explicitly link libc?
   11284 #
   11285 case "x$archive_cmds_need_lc" in
   11286 x|xyes)
   11287   # Assume -lc should be added
   11288   archive_cmds_need_lc=yes
   11289 
   11290   if test "$enable_shared" = yes && test "$GCC" = yes; then
   11291     case $archive_cmds in
   11292     *'~'*)
   11293       # FIXME: we may have to deal with multi-command sequences.
   11294       ;;
   11295     '$CC '*)
   11296       # Test whether the compiler implicitly links with -lc since on some
   11297       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   11298       # to ld, don't add -lc before -lgcc.
   11299       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   11300 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   11301 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   11302   $as_echo_n "(cached) " >&6
   11303 else
   11304   $RM conftest*
   11305 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   11306 
   11307 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   11308   (eval $ac_compile) 2>&5
   11309   ac_status=$?
   11310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11311   test $ac_status = 0; } 2>conftest.err; then
   11312 	  soname=conftest
   11313 	  lib=conftest
   11314 	  libobjs=conftest.$ac_objext
   11315 	  deplibs=
   11316 	  wl=$lt_prog_compiler_wl
   11317 	  pic_flag=$lt_prog_compiler_pic
   11318 	  compiler_flags=-v
   11319 	  linker_flags=-v
   11320 	  verstring=
   11321 	  output_objdir=.
   11322 	  libname=conftest
   11323 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   11324 	  allow_undefined_flag=
   11325 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   11326   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   11327   ac_status=$?
   11328   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11329   test $ac_status = 0; }
   11330 	  then
   11331 	    lt_cv_archive_cmds_need_lc=no
   11332 	  else
   11333 	    lt_cv_archive_cmds_need_lc=yes
   11334 	  fi
   11335 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   11336 	else
   11337 	  cat conftest.err 1>&5
   11338 	fi
   11339 	$RM conftest*
   11340 
   11341 fi
   11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   11343 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   11344       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   11345       ;;
   11346     esac
   11347   fi
   11348   ;;
   11349 esac
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11508 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11509 
   11510 if test "$GCC" = yes; then
   11511   case $host_os in
   11512     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11513     *) lt_awk_arg="/^libraries:/" ;;
   11514   esac
   11515   case $host_os in
   11516     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   11517     *) lt_sed_strip_eq="s,=/,/,g" ;;
   11518   esac
   11519   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11520   case $lt_search_path_spec in
   11521   *\;*)
   11522     # if the path contains ";" then we assume it to be the separator
   11523     # otherwise default to the standard path separator (i.e. ":") - it is
   11524     # assumed that no part of a normal pathname contains ";" but that should
   11525     # okay in the real world where ";" in dirpaths is itself problematic.
   11526     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11527     ;;
   11528   *)
   11529     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11530     ;;
   11531   esac
   11532   # Ok, now we have the path, separated by spaces, we can step through it
   11533   # and add multilib dir if necessary.
   11534   lt_tmp_lt_search_path_spec=
   11535   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11536   for lt_sys_path in $lt_search_path_spec; do
   11537     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11538       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11539     else
   11540       test -d "$lt_sys_path" && \
   11541 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11542     fi
   11543   done
   11544   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11545 BEGIN {RS=" "; FS="/|\n";} {
   11546   lt_foo="";
   11547   lt_count=0;
   11548   for (lt_i = NF; lt_i > 0; lt_i--) {
   11549     if ($lt_i != "" && $lt_i != ".") {
   11550       if ($lt_i == "..") {
   11551         lt_count++;
   11552       } else {
   11553         if (lt_count == 0) {
   11554           lt_foo="/" $lt_i lt_foo;
   11555         } else {
   11556           lt_count--;
   11557         }
   11558       }
   11559     }
   11560   }
   11561   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11562   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11563 }'`
   11564   # AWK program above erroneously prepends '/' to C:/dos/paths
   11565   # for these hosts.
   11566   case $host_os in
   11567     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11568       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11569   esac
   11570   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11571 else
   11572   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11573 fi
   11574 library_names_spec=
   11575 libname_spec='lib$name'
   11576 soname_spec=
   11577 shrext_cmds=".so"
   11578 postinstall_cmds=
   11579 postuninstall_cmds=
   11580 finish_cmds=
   11581 finish_eval=
   11582 shlibpath_var=
   11583 shlibpath_overrides_runpath=unknown
   11584 version_type=none
   11585 dynamic_linker="$host_os ld.so"
   11586 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11587 need_lib_prefix=unknown
   11588 hardcode_into_libs=no
   11589 
   11590 # when you set need_version to no, make sure it does not cause -set_version
   11591 # flags to be left without arguments
   11592 need_version=unknown
   11593 
   11594 case $host_os in
   11595 aix3*)
   11596   version_type=linux
   11597   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11598   shlibpath_var=LIBPATH
   11599 
   11600   # AIX 3 has no versioning support, so we append a major version to the name.
   11601   soname_spec='${libname}${release}${shared_ext}$major'
   11602   ;;
   11603 
   11604 aix[4-9]*)
   11605   version_type=linux
   11606   need_lib_prefix=no
   11607   need_version=no
   11608   hardcode_into_libs=yes
   11609   if test "$host_cpu" = ia64; then
   11610     # AIX 5 supports IA64
   11611     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11612     shlibpath_var=LD_LIBRARY_PATH
   11613   else
   11614     # With GCC up to 2.95.x, collect2 would create an import file
   11615     # for dependence libraries.  The import file would start with
   11616     # the line `#! .'.  This would cause the generated library to
   11617     # depend on `.', always an invalid library.  This was fixed in
   11618     # development snapshots of GCC prior to 3.0.
   11619     case $host_os in
   11620       aix4 | aix4.[01] | aix4.[01].*)
   11621       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11622 	   echo ' yes '
   11623 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11624 	:
   11625       else
   11626 	can_build_shared=no
   11627       fi
   11628       ;;
   11629     esac
   11630     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11631     # soname into executable. Probably we can add versioning support to
   11632     # collect2, so additional links can be useful in future.
   11633     if test "$aix_use_runtimelinking" = yes; then
   11634       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11635       # instead of lib<name>.a to let people know that these are not
   11636       # typical AIX shared libraries.
   11637       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11638     else
   11639       # We preserve .a as extension for shared libraries through AIX4.2
   11640       # and later when we are not doing run time linking.
   11641       library_names_spec='${libname}${release}.a $libname.a'
   11642       soname_spec='${libname}${release}${shared_ext}$major'
   11643     fi
   11644     shlibpath_var=LIBPATH
   11645   fi
   11646   ;;
   11647 
   11648 amigaos*)
   11649   case $host_cpu in
   11650   powerpc)
   11651     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11652     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11653     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11654     ;;
   11655   m68k)
   11656     library_names_spec='$libname.ixlibrary $libname.a'
   11657     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11658     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'
   11659     ;;
   11660   esac
   11661   ;;
   11662 
   11663 beos*)
   11664   library_names_spec='${libname}${shared_ext}'
   11665   dynamic_linker="$host_os ld.so"
   11666   shlibpath_var=LIBRARY_PATH
   11667   ;;
   11668 
   11669 bsdi[45]*)
   11670   version_type=linux
   11671   need_version=no
   11672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11673   soname_spec='${libname}${release}${shared_ext}$major'
   11674   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11675   shlibpath_var=LD_LIBRARY_PATH
   11676   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11677   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11678   # the default ld.so.conf also contains /usr/contrib/lib and
   11679   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11680   # libtool to hard-code these into programs
   11681   ;;
   11682 
   11683 cygwin* | mingw* | pw32* | cegcc*)
   11684   version_type=windows
   11685   shrext_cmds=".dll"
   11686   need_version=no
   11687   need_lib_prefix=no
   11688 
   11689   case $GCC,$host_os in
   11690   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11691     library_names_spec='$libname.dll.a'
   11692     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11693     postinstall_cmds='base_file=`basename \${file}`~
   11694       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11695       dldir=$destdir/`dirname \$dlpath`~
   11696       test -d \$dldir || mkdir -p \$dldir~
   11697       $install_prog $dir/$dlname \$dldir/$dlname~
   11698       chmod a+x \$dldir/$dlname~
   11699       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11700         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11701       fi'
   11702     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11703       dlpath=$dir/\$dldll~
   11704        $RM \$dlpath'
   11705     shlibpath_overrides_runpath=yes
   11706 
   11707     case $host_os in
   11708     cygwin*)
   11709       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11710       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11711 
   11712       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11713       ;;
   11714     mingw* | cegcc*)
   11715       # MinGW DLLs use traditional 'lib' prefix
   11716       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11717       ;;
   11718     pw32*)
   11719       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11720       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11721       ;;
   11722     esac
   11723     ;;
   11724 
   11725   *)
   11726     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11727     ;;
   11728   esac
   11729   dynamic_linker='Win32 ld.exe'
   11730   # FIXME: first we should search . and the directory the executable is in
   11731   shlibpath_var=PATH
   11732   ;;
   11733 
   11734 darwin* | rhapsody*)
   11735   dynamic_linker="$host_os dyld"
   11736   version_type=darwin
   11737   need_lib_prefix=no
   11738   need_version=no
   11739   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11740   soname_spec='${libname}${release}${major}$shared_ext'
   11741   shlibpath_overrides_runpath=yes
   11742   shlibpath_var=DYLD_LIBRARY_PATH
   11743   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11744 
   11745   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11746   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11747   ;;
   11748 
   11749 dgux*)
   11750   version_type=linux
   11751   need_lib_prefix=no
   11752   need_version=no
   11753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11754   soname_spec='${libname}${release}${shared_ext}$major'
   11755   shlibpath_var=LD_LIBRARY_PATH
   11756   ;;
   11757 
   11758 freebsd* | dragonfly*)
   11759   # DragonFly does not have aout.  When/if they implement a new
   11760   # versioning mechanism, adjust this.
   11761   if test -x /usr/bin/objformat; then
   11762     objformat=`/usr/bin/objformat`
   11763   else
   11764     case $host_os in
   11765     freebsd[23].*) objformat=aout ;;
   11766     *) objformat=elf ;;
   11767     esac
   11768   fi
   11769   version_type=freebsd-$objformat
   11770   case $version_type in
   11771     freebsd-elf*)
   11772       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11773       need_version=no
   11774       need_lib_prefix=no
   11775       ;;
   11776     freebsd-*)
   11777       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11778       need_version=yes
   11779       ;;
   11780   esac
   11781   shlibpath_var=LD_LIBRARY_PATH
   11782   case $host_os in
   11783   freebsd2.*)
   11784     shlibpath_overrides_runpath=yes
   11785     ;;
   11786   freebsd3.[01]* | freebsdelf3.[01]*)
   11787     shlibpath_overrides_runpath=yes
   11788     hardcode_into_libs=yes
   11789     ;;
   11790   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11791   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11792     shlibpath_overrides_runpath=no
   11793     hardcode_into_libs=yes
   11794     ;;
   11795   *) # from 4.6 on, and DragonFly
   11796     shlibpath_overrides_runpath=yes
   11797     hardcode_into_libs=yes
   11798     ;;
   11799   esac
   11800   ;;
   11801 
   11802 haiku*)
   11803   version_type=linux
   11804   need_lib_prefix=no
   11805   need_version=no
   11806   dynamic_linker="$host_os runtime_loader"
   11807   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11808   soname_spec='${libname}${release}${shared_ext}$major'
   11809   shlibpath_var=LIBRARY_PATH
   11810   shlibpath_overrides_runpath=yes
   11811   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11812   hardcode_into_libs=yes
   11813   ;;
   11814 
   11815 hpux9* | hpux10* | hpux11*)
   11816   # Give a soname corresponding to the major version so that dld.sl refuses to
   11817   # link against other versions.
   11818   version_type=sunos
   11819   need_lib_prefix=no
   11820   need_version=no
   11821   case $host_cpu in
   11822   ia64*)
   11823     shrext_cmds='.so'
   11824     hardcode_into_libs=yes
   11825     dynamic_linker="$host_os dld.so"
   11826     shlibpath_var=LD_LIBRARY_PATH
   11827     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11828     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11829     soname_spec='${libname}${release}${shared_ext}$major'
   11830     if test "X$HPUX_IA64_MODE" = X32; then
   11831       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11832     else
   11833       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11834     fi
   11835     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11836     ;;
   11837   hppa*64*)
   11838     shrext_cmds='.sl'
   11839     hardcode_into_libs=yes
   11840     dynamic_linker="$host_os dld.sl"
   11841     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11842     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11843     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11844     soname_spec='${libname}${release}${shared_ext}$major'
   11845     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11846     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11847     ;;
   11848   *)
   11849     shrext_cmds='.sl'
   11850     dynamic_linker="$host_os dld.sl"
   11851     shlibpath_var=SHLIB_PATH
   11852     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11853     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11854     soname_spec='${libname}${release}${shared_ext}$major'
   11855     ;;
   11856   esac
   11857   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11858   postinstall_cmds='chmod 555 $lib'
   11859   # or fails outright, so override atomically:
   11860   install_override_mode=555
   11861   ;;
   11862 
   11863 interix[3-9]*)
   11864   version_type=linux
   11865   need_lib_prefix=no
   11866   need_version=no
   11867   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11868   soname_spec='${libname}${release}${shared_ext}$major'
   11869   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11870   shlibpath_var=LD_LIBRARY_PATH
   11871   shlibpath_overrides_runpath=no
   11872   hardcode_into_libs=yes
   11873   ;;
   11874 
   11875 irix5* | irix6* | nonstopux*)
   11876   case $host_os in
   11877     nonstopux*) version_type=nonstopux ;;
   11878     *)
   11879 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11880 		version_type=linux
   11881 	else
   11882 		version_type=irix
   11883 	fi ;;
   11884   esac
   11885   need_lib_prefix=no
   11886   need_version=no
   11887   soname_spec='${libname}${release}${shared_ext}$major'
   11888   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11889   case $host_os in
   11890   irix5* | nonstopux*)
   11891     libsuff= shlibsuff=
   11892     ;;
   11893   *)
   11894     case $LD in # libtool.m4 will add one of these switches to LD
   11895     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11896       libsuff= shlibsuff= libmagic=32-bit;;
   11897     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11898       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11899     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11900       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11901     *) libsuff= shlibsuff= libmagic=never-match;;
   11902     esac
   11903     ;;
   11904   esac
   11905   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11906   shlibpath_overrides_runpath=no
   11907   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11908   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11909   hardcode_into_libs=yes
   11910   ;;
   11911 
   11912 # No shared lib support for Linux oldld, aout, or coff.
   11913 linux*oldld* | linux*aout* | linux*coff*)
   11914   dynamic_linker=no
   11915   ;;
   11916 
   11917 # This must be Linux ELF.
   11918 
   11919 # uclinux* changes (here and below) have been submitted to the libtool
   11920 # project, but have not yet been accepted: they are GCC-local changes
   11921 # for the time being.  (See
   11922 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   11923 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   11924   version_type=linux
   11925   need_lib_prefix=no
   11926   need_version=no
   11927   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11928   soname_spec='${libname}${release}${shared_ext}$major'
   11929   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11930   shlibpath_var=LD_LIBRARY_PATH
   11931   shlibpath_overrides_runpath=no
   11932 
   11933   # Some binutils ld are patched to set DT_RUNPATH
   11934   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11935   $as_echo_n "(cached) " >&6
   11936 else
   11937   lt_cv_shlibpath_overrides_runpath=no
   11938     save_LDFLAGS=$LDFLAGS
   11939     save_libdir=$libdir
   11940     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11941 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11942     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11943 /* end confdefs.h.  */
   11944 
   11945 int
   11946 main ()
   11947 {
   11948 
   11949   ;
   11950   return 0;
   11951 }
   11952 _ACEOF
   11953 if ac_fn_c_try_link "$LINENO"; then :
   11954   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11955   lt_cv_shlibpath_overrides_runpath=yes
   11956 fi
   11957 fi
   11958 rm -f core conftest.err conftest.$ac_objext \
   11959     conftest$ac_exeext conftest.$ac_ext
   11960     LDFLAGS=$save_LDFLAGS
   11961     libdir=$save_libdir
   11962 
   11963 fi
   11964 
   11965   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11966 
   11967   # This implies no fast_install, which is unacceptable.
   11968   # Some rework will be needed to allow for fast_install
   11969   # before this can be enabled.
   11970   hardcode_into_libs=yes
   11971 
   11972   # Append ld.so.conf contents to the search path
   11973   if test -f /etc/ld.so.conf; then
   11974     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' ' '`
   11975     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11976   fi
   11977 
   11978   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11979   # powerpc, because MkLinux only supported shared libraries with the
   11980   # GNU dynamic linker.  Since this was broken with cross compilers,
   11981   # most powerpc-linux boxes support dynamic linking these days and
   11982   # people can always --disable-shared, the test was removed, and we
   11983   # assume the GNU/Linux dynamic linker is in use.
   11984   dynamic_linker='GNU/Linux ld.so'
   11985   ;;
   11986 
   11987 netbsd*)
   11988   version_type=sunos
   11989   need_lib_prefix=no
   11990   need_version=no
   11991   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11992     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11993     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11994     dynamic_linker='NetBSD (a.out) ld.so'
   11995   else
   11996     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11997     soname_spec='${libname}${release}${shared_ext}$major'
   11998     dynamic_linker='NetBSD ld.elf_so'
   11999   fi
   12000   shlibpath_var=LD_LIBRARY_PATH
   12001   shlibpath_overrides_runpath=yes
   12002   hardcode_into_libs=yes
   12003   ;;
   12004 
   12005 newsos6)
   12006   version_type=linux
   12007   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12008   shlibpath_var=LD_LIBRARY_PATH
   12009   shlibpath_overrides_runpath=yes
   12010   ;;
   12011 
   12012 *nto* | *qnx*)
   12013   version_type=qnx
   12014   need_lib_prefix=no
   12015   need_version=no
   12016   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12017   soname_spec='${libname}${release}${shared_ext}$major'
   12018   shlibpath_var=LD_LIBRARY_PATH
   12019   shlibpath_overrides_runpath=no
   12020   hardcode_into_libs=yes
   12021   dynamic_linker='ldqnx.so'
   12022   ;;
   12023 
   12024 openbsd*)
   12025   version_type=sunos
   12026   sys_lib_dlsearch_path_spec="/usr/lib"
   12027   need_lib_prefix=no
   12028   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   12029   case $host_os in
   12030     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   12031     *)				need_version=no  ;;
   12032   esac
   12033   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12034   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   12035   shlibpath_var=LD_LIBRARY_PATH
   12036   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12037     case $host_os in
   12038       openbsd2.[89] | openbsd2.[89].*)
   12039 	shlibpath_overrides_runpath=no
   12040 	;;
   12041       *)
   12042 	shlibpath_overrides_runpath=yes
   12043 	;;
   12044       esac
   12045   else
   12046     shlibpath_overrides_runpath=yes
   12047   fi
   12048   ;;
   12049 
   12050 os2*)
   12051   libname_spec='$name'
   12052   shrext_cmds=".dll"
   12053   need_lib_prefix=no
   12054   library_names_spec='$libname${shared_ext} $libname.a'
   12055   dynamic_linker='OS/2 ld.exe'
   12056   shlibpath_var=LIBPATH
   12057   ;;
   12058 
   12059 osf3* | osf4* | osf5*)
   12060   version_type=osf
   12061   need_lib_prefix=no
   12062   need_version=no
   12063   soname_spec='${libname}${release}${shared_ext}$major'
   12064   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12065   shlibpath_var=LD_LIBRARY_PATH
   12066   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   12067   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   12068   ;;
   12069 
   12070 rdos*)
   12071   dynamic_linker=no
   12072   ;;
   12073 
   12074 solaris*)
   12075   version_type=linux
   12076   need_lib_prefix=no
   12077   need_version=no
   12078   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12079   soname_spec='${libname}${release}${shared_ext}$major'
   12080   shlibpath_var=LD_LIBRARY_PATH
   12081   shlibpath_overrides_runpath=yes
   12082   hardcode_into_libs=yes
   12083   # ldd complains unless libraries are executable
   12084   postinstall_cmds='chmod +x $lib'
   12085   ;;
   12086 
   12087 sunos4*)
   12088   version_type=sunos
   12089   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   12090   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   12091   shlibpath_var=LD_LIBRARY_PATH
   12092   shlibpath_overrides_runpath=yes
   12093   if test "$with_gnu_ld" = yes; then
   12094     need_lib_prefix=no
   12095   fi
   12096   need_version=yes
   12097   ;;
   12098 
   12099 sysv4 | sysv4.3*)
   12100   version_type=linux
   12101   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12102   soname_spec='${libname}${release}${shared_ext}$major'
   12103   shlibpath_var=LD_LIBRARY_PATH
   12104   case $host_vendor in
   12105     sni)
   12106       shlibpath_overrides_runpath=no
   12107       need_lib_prefix=no
   12108       runpath_var=LD_RUN_PATH
   12109       ;;
   12110     siemens)
   12111       need_lib_prefix=no
   12112       ;;
   12113     motorola)
   12114       need_lib_prefix=no
   12115       need_version=no
   12116       shlibpath_overrides_runpath=no
   12117       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   12118       ;;
   12119   esac
   12120   ;;
   12121 
   12122 sysv4*MP*)
   12123   if test -d /usr/nec ;then
   12124     version_type=linux
   12125     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   12126     soname_spec='$libname${shared_ext}.$major'
   12127     shlibpath_var=LD_LIBRARY_PATH
   12128   fi
   12129   ;;
   12130 
   12131 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12132   version_type=freebsd-elf
   12133   need_lib_prefix=no
   12134   need_version=no
   12135   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   12136   soname_spec='${libname}${release}${shared_ext}$major'
   12137   shlibpath_var=LD_LIBRARY_PATH
   12138   shlibpath_overrides_runpath=yes
   12139   hardcode_into_libs=yes
   12140   if test "$with_gnu_ld" = yes; then
   12141     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   12142   else
   12143     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   12144     case $host_os in
   12145       sco3.2v5*)
   12146         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   12147 	;;
   12148     esac
   12149   fi
   12150   sys_lib_dlsearch_path_spec='/usr/lib'
   12151   ;;
   12152 
   12153 tpf*)
   12154   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   12155   version_type=linux
   12156   need_lib_prefix=no
   12157   need_version=no
   12158   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12159   shlibpath_var=LD_LIBRARY_PATH
   12160   shlibpath_overrides_runpath=no
   12161   hardcode_into_libs=yes
   12162   ;;
   12163 
   12164 uts4*)
   12165   version_type=linux
   12166   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12167   soname_spec='${libname}${release}${shared_ext}$major'
   12168   shlibpath_var=LD_LIBRARY_PATH
   12169   ;;
   12170 
   12171 # Shared libraries for VwWorks, >= 7 only at this stage
   12172 # and (fpic) still incompatible with "large" code models
   12173 # in a few configurations. Only for RTP mode in any case,
   12174 # and upon explicit request at configure time.
   12175 vxworks7*)
   12176   dynamic_linker=no
   12177   case ${with_multisubdir}-${enable_shared} in
   12178     *large*)
   12179       ;;
   12180     *mrtp*-yes)
   12181       version_type=linux
   12182       need_lib_prefix=no
   12183       need_version=no
   12184       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   12185       soname_spec='${libname}${release}${shared_ext}$major'
   12186       dynamic_linker="$host_os module_loader"
   12187       ;;
   12188   esac
   12189   ;;
   12190 *)
   12191   dynamic_linker=no
   12192   ;;
   12193 esac
   12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   12195 $as_echo "$dynamic_linker" >&6; }
   12196 test "$dynamic_linker" = no && can_build_shared=no
   12197 
   12198 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   12199 if test "$GCC" = yes; then
   12200   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   12201 fi
   12202 
   12203 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   12204   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   12205 fi
   12206 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   12207   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   12208 fi
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222 
   12223 
   12224 
   12225 
   12226 
   12227 
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252 
   12253 
   12254 
   12255 
   12256 
   12257 
   12258 
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 
   12277 
   12278 
   12279 
   12280 
   12281 
   12282 
   12283 
   12284 
   12285 
   12286 
   12287 
   12288 
   12289 
   12290 
   12291 
   12292 
   12293 
   12294 
   12295 
   12296 
   12297 
   12298 
   12299 
   12300 
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   12302 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   12303 hardcode_action=
   12304 if test -n "$hardcode_libdir_flag_spec" ||
   12305    test -n "$runpath_var" ||
   12306    test "X$hardcode_automatic" = "Xyes" ; then
   12307 
   12308   # We can hardcode non-existent directories.
   12309   if test "$hardcode_direct" != no &&
   12310      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   12311      # have to relink, otherwise we might link with an installed library
   12312      # when we should be linking with a yet-to-be-installed one
   12313      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   12314      test "$hardcode_minus_L" != no; then
   12315     # Linking always hardcodes the temporary library directory.
   12316     hardcode_action=relink
   12317   else
   12318     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   12319     hardcode_action=immediate
   12320   fi
   12321 else
   12322   # We cannot hardcode anything, or else we can only hardcode existing
   12323   # directories.
   12324   hardcode_action=unsupported
   12325 fi
   12326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   12327 $as_echo "$hardcode_action" >&6; }
   12328 
   12329 if test "$hardcode_action" = relink ||
   12330    test "$inherit_rpath" = yes; then
   12331   # Fast installation is not supported
   12332   enable_fast_install=no
   12333 elif test "$shlibpath_overrides_runpath" = yes ||
   12334      test "$enable_shared" = no; then
   12335   # Fast installation is not necessary
   12336   enable_fast_install=needless
   12337 fi
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344   if test "x$enable_dlopen" != xyes; then
   12345   enable_dlopen=unknown
   12346   enable_dlopen_self=unknown
   12347   enable_dlopen_self_static=unknown
   12348 else
   12349   lt_cv_dlopen=no
   12350   lt_cv_dlopen_libs=
   12351 
   12352   case $host_os in
   12353   beos*)
   12354     lt_cv_dlopen="load_add_on"
   12355     lt_cv_dlopen_libs=
   12356     lt_cv_dlopen_self=yes
   12357     ;;
   12358 
   12359   mingw* | pw32* | cegcc*)
   12360     lt_cv_dlopen="LoadLibrary"
   12361     lt_cv_dlopen_libs=
   12362     ;;
   12363 
   12364   cygwin*)
   12365     lt_cv_dlopen="dlopen"
   12366     lt_cv_dlopen_libs=
   12367     ;;
   12368 
   12369   darwin*)
   12370   # if libdl is installed we need to link against it
   12371     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12372 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12373 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12374   $as_echo_n "(cached) " >&6
   12375 else
   12376   ac_check_lib_save_LIBS=$LIBS
   12377 LIBS="-ldl  $LIBS"
   12378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12379 /* end confdefs.h.  */
   12380 
   12381 /* Override any GCC internal prototype to avoid an error.
   12382    Use char because int might match the return type of a GCC
   12383    builtin and then its argument prototype would still apply.  */
   12384 #ifdef __cplusplus
   12385 extern "C"
   12386 #endif
   12387 char dlopen ();
   12388 int
   12389 main ()
   12390 {
   12391 return dlopen ();
   12392   ;
   12393   return 0;
   12394 }
   12395 _ACEOF
   12396 if ac_fn_c_try_link "$LINENO"; then :
   12397   ac_cv_lib_dl_dlopen=yes
   12398 else
   12399   ac_cv_lib_dl_dlopen=no
   12400 fi
   12401 rm -f core conftest.err conftest.$ac_objext \
   12402     conftest$ac_exeext conftest.$ac_ext
   12403 LIBS=$ac_check_lib_save_LIBS
   12404 fi
   12405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12406 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12407 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12408   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12409 else
   12410 
   12411     lt_cv_dlopen="dyld"
   12412     lt_cv_dlopen_libs=
   12413     lt_cv_dlopen_self=yes
   12414 
   12415 fi
   12416 
   12417     ;;
   12418 
   12419   *)
   12420     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12421 if test "x$ac_cv_func_shl_load" = xyes; then :
   12422   lt_cv_dlopen="shl_load"
   12423 else
   12424   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12425 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12426 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12427   $as_echo_n "(cached) " >&6
   12428 else
   12429   ac_check_lib_save_LIBS=$LIBS
   12430 LIBS="-ldld  $LIBS"
   12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12432 /* end confdefs.h.  */
   12433 
   12434 /* Override any GCC internal prototype to avoid an error.
   12435    Use char because int might match the return type of a GCC
   12436    builtin and then its argument prototype would still apply.  */
   12437 #ifdef __cplusplus
   12438 extern "C"
   12439 #endif
   12440 char shl_load ();
   12441 int
   12442 main ()
   12443 {
   12444 return shl_load ();
   12445   ;
   12446   return 0;
   12447 }
   12448 _ACEOF
   12449 if ac_fn_c_try_link "$LINENO"; then :
   12450   ac_cv_lib_dld_shl_load=yes
   12451 else
   12452   ac_cv_lib_dld_shl_load=no
   12453 fi
   12454 rm -f core conftest.err conftest.$ac_objext \
   12455     conftest$ac_exeext conftest.$ac_ext
   12456 LIBS=$ac_check_lib_save_LIBS
   12457 fi
   12458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12459 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12460 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12461   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12462 else
   12463   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12464 if test "x$ac_cv_func_dlopen" = xyes; then :
   12465   lt_cv_dlopen="dlopen"
   12466 else
   12467   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12468 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12469 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12470   $as_echo_n "(cached) " >&6
   12471 else
   12472   ac_check_lib_save_LIBS=$LIBS
   12473 LIBS="-ldl  $LIBS"
   12474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12475 /* end confdefs.h.  */
   12476 
   12477 /* Override any GCC internal prototype to avoid an error.
   12478    Use char because int might match the return type of a GCC
   12479    builtin and then its argument prototype would still apply.  */
   12480 #ifdef __cplusplus
   12481 extern "C"
   12482 #endif
   12483 char dlopen ();
   12484 int
   12485 main ()
   12486 {
   12487 return dlopen ();
   12488   ;
   12489   return 0;
   12490 }
   12491 _ACEOF
   12492 if ac_fn_c_try_link "$LINENO"; then :
   12493   ac_cv_lib_dl_dlopen=yes
   12494 else
   12495   ac_cv_lib_dl_dlopen=no
   12496 fi
   12497 rm -f core conftest.err conftest.$ac_objext \
   12498     conftest$ac_exeext conftest.$ac_ext
   12499 LIBS=$ac_check_lib_save_LIBS
   12500 fi
   12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12502 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12503 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12504   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12505 else
   12506   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12507 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12508 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12509   $as_echo_n "(cached) " >&6
   12510 else
   12511   ac_check_lib_save_LIBS=$LIBS
   12512 LIBS="-lsvld  $LIBS"
   12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12514 /* end confdefs.h.  */
   12515 
   12516 /* Override any GCC internal prototype to avoid an error.
   12517    Use char because int might match the return type of a GCC
   12518    builtin and then its argument prototype would still apply.  */
   12519 #ifdef __cplusplus
   12520 extern "C"
   12521 #endif
   12522 char dlopen ();
   12523 int
   12524 main ()
   12525 {
   12526 return dlopen ();
   12527   ;
   12528   return 0;
   12529 }
   12530 _ACEOF
   12531 if ac_fn_c_try_link "$LINENO"; then :
   12532   ac_cv_lib_svld_dlopen=yes
   12533 else
   12534   ac_cv_lib_svld_dlopen=no
   12535 fi
   12536 rm -f core conftest.err conftest.$ac_objext \
   12537     conftest$ac_exeext conftest.$ac_ext
   12538 LIBS=$ac_check_lib_save_LIBS
   12539 fi
   12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12541 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12542 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12543   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12544 else
   12545   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12546 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12547 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12548   $as_echo_n "(cached) " >&6
   12549 else
   12550   ac_check_lib_save_LIBS=$LIBS
   12551 LIBS="-ldld  $LIBS"
   12552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12553 /* end confdefs.h.  */
   12554 
   12555 /* Override any GCC internal prototype to avoid an error.
   12556    Use char because int might match the return type of a GCC
   12557    builtin and then its argument prototype would still apply.  */
   12558 #ifdef __cplusplus
   12559 extern "C"
   12560 #endif
   12561 char dld_link ();
   12562 int
   12563 main ()
   12564 {
   12565 return dld_link ();
   12566   ;
   12567   return 0;
   12568 }
   12569 _ACEOF
   12570 if ac_fn_c_try_link "$LINENO"; then :
   12571   ac_cv_lib_dld_dld_link=yes
   12572 else
   12573   ac_cv_lib_dld_dld_link=no
   12574 fi
   12575 rm -f core conftest.err conftest.$ac_objext \
   12576     conftest$ac_exeext conftest.$ac_ext
   12577 LIBS=$ac_check_lib_save_LIBS
   12578 fi
   12579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12580 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12581 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12582   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12583 fi
   12584 
   12585 
   12586 fi
   12587 
   12588 
   12589 fi
   12590 
   12591 
   12592 fi
   12593 
   12594 
   12595 fi
   12596 
   12597 
   12598 fi
   12599 
   12600     ;;
   12601   esac
   12602 
   12603   if test "x$lt_cv_dlopen" != xno; then
   12604     enable_dlopen=yes
   12605   else
   12606     enable_dlopen=no
   12607   fi
   12608 
   12609   case $lt_cv_dlopen in
   12610   dlopen)
   12611     save_CPPFLAGS="$CPPFLAGS"
   12612     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12613 
   12614     save_LDFLAGS="$LDFLAGS"
   12615     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12616 
   12617     save_LIBS="$LIBS"
   12618     LIBS="$lt_cv_dlopen_libs $LIBS"
   12619 
   12620     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12621 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12622 if ${lt_cv_dlopen_self+:} false; then :
   12623   $as_echo_n "(cached) " >&6
   12624 else
   12625   	  if test "$cross_compiling" = yes; then :
   12626   lt_cv_dlopen_self=cross
   12627 else
   12628   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12629   lt_status=$lt_dlunknown
   12630   cat > conftest.$ac_ext <<_LT_EOF
   12631 #line 12631 "configure"
   12632 #include "confdefs.h"
   12633 
   12634 #if HAVE_DLFCN_H
   12635 #include <dlfcn.h>
   12636 #endif
   12637 
   12638 #include <stdio.h>
   12639 
   12640 #ifdef RTLD_GLOBAL
   12641 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12642 #else
   12643 #  ifdef DL_GLOBAL
   12644 #    define LT_DLGLOBAL		DL_GLOBAL
   12645 #  else
   12646 #    define LT_DLGLOBAL		0
   12647 #  endif
   12648 #endif
   12649 
   12650 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12651    find out it does not work in some platform. */
   12652 #ifndef LT_DLLAZY_OR_NOW
   12653 #  ifdef RTLD_LAZY
   12654 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12655 #  else
   12656 #    ifdef DL_LAZY
   12657 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12658 #    else
   12659 #      ifdef RTLD_NOW
   12660 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12661 #      else
   12662 #        ifdef DL_NOW
   12663 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12664 #        else
   12665 #          define LT_DLLAZY_OR_NOW	0
   12666 #        endif
   12667 #      endif
   12668 #    endif
   12669 #  endif
   12670 #endif
   12671 
   12672 /* When -fvisbility=hidden is used, assume the code has been annotated
   12673    correspondingly for the symbols needed.  */
   12674 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12675 void fnord () __attribute__((visibility("default")));
   12676 #endif
   12677 
   12678 void fnord () { int i=42; }
   12679 int main ()
   12680 {
   12681   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12682   int status = $lt_dlunknown;
   12683 
   12684   if (self)
   12685     {
   12686       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12687       else
   12688         {
   12689 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12690           else puts (dlerror ());
   12691 	}
   12692       /* dlclose (self); */
   12693     }
   12694   else
   12695     puts (dlerror ());
   12696 
   12697   return status;
   12698 }
   12699 _LT_EOF
   12700   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12701   (eval $ac_link) 2>&5
   12702   ac_status=$?
   12703   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12704   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12705     (./conftest; exit; ) >&5 2>/dev/null
   12706     lt_status=$?
   12707     case x$lt_status in
   12708       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12709       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12710       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12711     esac
   12712   else :
   12713     # compilation failed
   12714     lt_cv_dlopen_self=no
   12715   fi
   12716 fi
   12717 rm -fr conftest*
   12718 
   12719 
   12720 fi
   12721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12722 $as_echo "$lt_cv_dlopen_self" >&6; }
   12723 
   12724     if test "x$lt_cv_dlopen_self" = xyes; then
   12725       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12726       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12727 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12728 if ${lt_cv_dlopen_self_static+:} false; then :
   12729   $as_echo_n "(cached) " >&6
   12730 else
   12731   	  if test "$cross_compiling" = yes; then :
   12732   lt_cv_dlopen_self_static=cross
   12733 else
   12734   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12735   lt_status=$lt_dlunknown
   12736   cat > conftest.$ac_ext <<_LT_EOF
   12737 #line 12737 "configure"
   12738 #include "confdefs.h"
   12739 
   12740 #if HAVE_DLFCN_H
   12741 #include <dlfcn.h>
   12742 #endif
   12743 
   12744 #include <stdio.h>
   12745 
   12746 #ifdef RTLD_GLOBAL
   12747 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12748 #else
   12749 #  ifdef DL_GLOBAL
   12750 #    define LT_DLGLOBAL		DL_GLOBAL
   12751 #  else
   12752 #    define LT_DLGLOBAL		0
   12753 #  endif
   12754 #endif
   12755 
   12756 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12757    find out it does not work in some platform. */
   12758 #ifndef LT_DLLAZY_OR_NOW
   12759 #  ifdef RTLD_LAZY
   12760 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12761 #  else
   12762 #    ifdef DL_LAZY
   12763 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12764 #    else
   12765 #      ifdef RTLD_NOW
   12766 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12767 #      else
   12768 #        ifdef DL_NOW
   12769 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12770 #        else
   12771 #          define LT_DLLAZY_OR_NOW	0
   12772 #        endif
   12773 #      endif
   12774 #    endif
   12775 #  endif
   12776 #endif
   12777 
   12778 /* When -fvisbility=hidden is used, assume the code has been annotated
   12779    correspondingly for the symbols needed.  */
   12780 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12781 void fnord () __attribute__((visibility("default")));
   12782 #endif
   12783 
   12784 void fnord () { int i=42; }
   12785 int main ()
   12786 {
   12787   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12788   int status = $lt_dlunknown;
   12789 
   12790   if (self)
   12791     {
   12792       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12793       else
   12794         {
   12795 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12796           else puts (dlerror ());
   12797 	}
   12798       /* dlclose (self); */
   12799     }
   12800   else
   12801     puts (dlerror ());
   12802 
   12803   return status;
   12804 }
   12805 _LT_EOF
   12806   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12807   (eval $ac_link) 2>&5
   12808   ac_status=$?
   12809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12810   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12811     (./conftest; exit; ) >&5 2>/dev/null
   12812     lt_status=$?
   12813     case x$lt_status in
   12814       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12815       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12816       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12817     esac
   12818   else :
   12819     # compilation failed
   12820     lt_cv_dlopen_self_static=no
   12821   fi
   12822 fi
   12823 rm -fr conftest*
   12824 
   12825 
   12826 fi
   12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12828 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12829     fi
   12830 
   12831     CPPFLAGS="$save_CPPFLAGS"
   12832     LDFLAGS="$save_LDFLAGS"
   12833     LIBS="$save_LIBS"
   12834     ;;
   12835   esac
   12836 
   12837   case $lt_cv_dlopen_self in
   12838   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12839   *) enable_dlopen_self=unknown ;;
   12840   esac
   12841 
   12842   case $lt_cv_dlopen_self_static in
   12843   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12844   *) enable_dlopen_self_static=unknown ;;
   12845   esac
   12846 fi
   12847 
   12848 
   12849 
   12850 
   12851 
   12852 
   12853 
   12854 
   12855 
   12856 
   12857 
   12858 
   12859 
   12860 
   12861 
   12862 
   12863 
   12864 striplib=
   12865 old_striplib=
   12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12867 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12868 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12869   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12870   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12872 $as_echo "yes" >&6; }
   12873 else
   12874 # FIXME - insert some real tests, host_os isn't really good enough
   12875   case $host_os in
   12876   darwin*)
   12877     if test -n "$STRIP" ; then
   12878       striplib="$STRIP -x"
   12879       old_striplib="$STRIP -S"
   12880       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12881 $as_echo "yes" >&6; }
   12882     else
   12883       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12884 $as_echo "no" >&6; }
   12885     fi
   12886     ;;
   12887   *)
   12888     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12889 $as_echo "no" >&6; }
   12890     ;;
   12891   esac
   12892 fi
   12893 
   12894 
   12895 
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905   # Report which library types will actually be built
   12906   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12907 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12909 $as_echo "$can_build_shared" >&6; }
   12910 
   12911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12912 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12913   test "$can_build_shared" = "no" && enable_shared=no
   12914 
   12915   # On AIX, shared libraries and static libraries use the same namespace, and
   12916   # are all built from PIC.
   12917   case $host_os in
   12918   aix3*)
   12919     test "$enable_shared" = yes && enable_static=no
   12920     if test -n "$RANLIB"; then
   12921       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12922       postinstall_cmds='$RANLIB $lib'
   12923     fi
   12924     ;;
   12925 
   12926   aix[4-9]*)
   12927     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12928       test "$enable_shared" = yes && enable_static=no
   12929     fi
   12930     ;;
   12931   esac
   12932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12933 $as_echo "$enable_shared" >&6; }
   12934 
   12935   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12936 $as_echo_n "checking whether to build static libraries... " >&6; }
   12937   # Make sure either enable_shared or enable_static is yes.
   12938   test "$enable_shared" = yes || enable_static=yes
   12939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12940 $as_echo "$enable_static" >&6; }
   12941 
   12942 
   12943 
   12944 
   12945 fi
   12946 ac_ext=c
   12947 ac_cpp='$CPP $CPPFLAGS'
   12948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12951 
   12952 CC="$lt_save_CC"
   12953 
   12954       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12955     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12956     (test "X$CXX" != "Xg++"))) ; then
   12957   ac_ext=cpp
   12958 ac_cpp='$CXXCPP $CPPFLAGS'
   12959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12963 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12964 if test -z "$CXXCPP"; then
   12965   if ${ac_cv_prog_CXXCPP+:} false; then :
   12966   $as_echo_n "(cached) " >&6
   12967 else
   12968       # Double quotes because CXXCPP needs to be expanded
   12969     for CXXCPP in "$CXX -E" "/lib/cpp"
   12970     do
   12971       ac_preproc_ok=false
   12972 for ac_cxx_preproc_warn_flag in '' yes
   12973 do
   12974   # Use a header file that comes with gcc, so configuring glibc
   12975   # with a fresh cross-compiler works.
   12976   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12977   # <limits.h> exists even on freestanding compilers.
   12978   # On the NeXT, cc -E runs the code through the compiler's parser,
   12979   # not just through cpp. "Syntax error" is here to catch this case.
   12980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12981 /* end confdefs.h.  */
   12982 #ifdef __STDC__
   12983 # include <limits.h>
   12984 #else
   12985 # include <assert.h>
   12986 #endif
   12987 		     Syntax error
   12988 _ACEOF
   12989 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12990 
   12991 else
   12992   # Broken: fails on valid input.
   12993 continue
   12994 fi
   12995 rm -f conftest.err conftest.i conftest.$ac_ext
   12996 
   12997   # OK, works on sane cases.  Now check whether nonexistent headers
   12998   # can be detected and how.
   12999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13000 /* end confdefs.h.  */
   13001 #include <ac_nonexistent.h>
   13002 _ACEOF
   13003 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13004   # Broken: success on invalid input.
   13005 continue
   13006 else
   13007   # Passes both tests.
   13008 ac_preproc_ok=:
   13009 break
   13010 fi
   13011 rm -f conftest.err conftest.i conftest.$ac_ext
   13012 
   13013 done
   13014 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   13015 rm -f conftest.i conftest.err conftest.$ac_ext
   13016 if $ac_preproc_ok; then :
   13017   break
   13018 fi
   13019 
   13020     done
   13021     ac_cv_prog_CXXCPP=$CXXCPP
   13022 
   13023 fi
   13024   CXXCPP=$ac_cv_prog_CXXCPP
   13025 else
   13026   ac_cv_prog_CXXCPP=$CXXCPP
   13027 fi
   13028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   13029 $as_echo "$CXXCPP" >&6; }
   13030 ac_preproc_ok=false
   13031 for ac_cxx_preproc_warn_flag in '' yes
   13032 do
   13033   # Use a header file that comes with gcc, so configuring glibc
   13034   # with a fresh cross-compiler works.
   13035   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   13036   # <limits.h> exists even on freestanding compilers.
   13037   # On the NeXT, cc -E runs the code through the compiler's parser,
   13038   # not just through cpp. "Syntax error" is here to catch this case.
   13039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13040 /* end confdefs.h.  */
   13041 #ifdef __STDC__
   13042 # include <limits.h>
   13043 #else
   13044 # include <assert.h>
   13045 #endif
   13046 		     Syntax error
   13047 _ACEOF
   13048 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13049 
   13050 else
   13051   # Broken: fails on valid input.
   13052 continue
   13053 fi
   13054 rm -f conftest.err conftest.i conftest.$ac_ext
   13055 
   13056   # OK, works on sane cases.  Now check whether nonexistent headers
   13057   # can be detected and how.
   13058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13059 /* end confdefs.h.  */
   13060 #include <ac_nonexistent.h>
   13061 _ACEOF
   13062 if ac_fn_cxx_try_cpp "$LINENO"; then :
   13063   # Broken: success on invalid input.
   13064 continue
   13065 else
   13066   # Passes both tests.
   13067 ac_preproc_ok=:
   13068 break
   13069 fi
   13070 rm -f conftest.err conftest.i conftest.$ac_ext
   13071 
   13072 done
   13073 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   13074 rm -f conftest.i conftest.err conftest.$ac_ext
   13075 if $ac_preproc_ok; then :
   13076 
   13077 else
   13078   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   13079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13080 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   13081 See \`config.log' for more details" "$LINENO" 5; }
   13082 fi
   13083 
   13084 ac_ext=c
   13085 ac_cpp='$CPP $CPPFLAGS'
   13086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13089 
   13090 else
   13091   _lt_caught_CXX_error=yes
   13092 fi
   13093 
   13094 ac_ext=cpp
   13095 ac_cpp='$CXXCPP $CPPFLAGS'
   13096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   13099 
   13100 archive_cmds_need_lc_CXX=no
   13101 allow_undefined_flag_CXX=
   13102 always_export_symbols_CXX=no
   13103 archive_expsym_cmds_CXX=
   13104 compiler_needs_object_CXX=no
   13105 export_dynamic_flag_spec_CXX=
   13106 hardcode_direct_CXX=no
   13107 hardcode_direct_absolute_CXX=no
   13108 hardcode_libdir_flag_spec_CXX=
   13109 hardcode_libdir_flag_spec_ld_CXX=
   13110 hardcode_libdir_separator_CXX=
   13111 hardcode_minus_L_CXX=no
   13112 hardcode_shlibpath_var_CXX=unsupported
   13113 hardcode_automatic_CXX=no
   13114 inherit_rpath_CXX=no
   13115 module_cmds_CXX=
   13116 module_expsym_cmds_CXX=
   13117 link_all_deplibs_CXX=unknown
   13118 old_archive_cmds_CXX=$old_archive_cmds
   13119 reload_flag_CXX=$reload_flag
   13120 reload_cmds_CXX=$reload_cmds
   13121 no_undefined_flag_CXX=
   13122 whole_archive_flag_spec_CXX=
   13123 enable_shared_with_static_runtimes_CXX=no
   13124 
   13125 # Source file extension for C++ test sources.
   13126 ac_ext=cpp
   13127 
   13128 # Object file extension for compiled C++ test sources.
   13129 objext=o
   13130 objext_CXX=$objext
   13131 
   13132 # No sense in running all these tests if we already determined that
   13133 # the CXX compiler isn't working.  Some variables (like enable_shared)
   13134 # are currently assumed to apply to all compilers on this platform,
   13135 # and will be corrupted by setting them based on a non-working compiler.
   13136 if test "$_lt_caught_CXX_error" != yes; then
   13137   # Code to be used in simple compile tests
   13138   lt_simple_compile_test_code="int some_variable = 0;"
   13139 
   13140   # Code to be used in simple link tests
   13141   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   13142 
   13143   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 # If no C compiler was specified, use CC.
   13151 LTCC=${LTCC-"$CC"}
   13152 
   13153 # If no C compiler flags were specified, use CFLAGS.
   13154 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   13155 
   13156 # Allow CC to be a program name with arguments.
   13157 compiler=$CC
   13158 
   13159 
   13160   # save warnings/boilerplate of simple test code
   13161   ac_outfile=conftest.$ac_objext
   13162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   13163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13164 _lt_compiler_boilerplate=`cat conftest.err`
   13165 $RM conftest*
   13166 
   13167   ac_outfile=conftest.$ac_objext
   13168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   13169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   13170 _lt_linker_boilerplate=`cat conftest.err`
   13171 $RM -r conftest*
   13172 
   13173 
   13174   # Allow CC to be a program name with arguments.
   13175   lt_save_CC=$CC
   13176   lt_save_LD=$LD
   13177   lt_save_GCC=$GCC
   13178   GCC=$GXX
   13179   lt_save_with_gnu_ld=$with_gnu_ld
   13180   lt_save_path_LD=$lt_cv_path_LD
   13181   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   13182     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   13183   else
   13184     $as_unset lt_cv_prog_gnu_ld
   13185   fi
   13186   if test -n "${lt_cv_path_LDCXX+set}"; then
   13187     lt_cv_path_LD=$lt_cv_path_LDCXX
   13188   else
   13189     $as_unset lt_cv_path_LD
   13190   fi
   13191   test -z "${LDCXX+set}" || LD=$LDCXX
   13192   CC=${CXX-"c++"}
   13193   compiler=$CC
   13194   compiler_CXX=$CC
   13195   for cc_temp in $compiler""; do
   13196   case $cc_temp in
   13197     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13198     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13199     \-*) ;;
   13200     *) break;;
   13201   esac
   13202 done
   13203 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13204 
   13205 
   13206   if test -n "$compiler"; then
   13207     # We don't want -fno-exception when compiling C++ code, so set the
   13208     # no_builtin_flag separately
   13209     if test "$GXX" = yes; then
   13210       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   13211     else
   13212       lt_prog_compiler_no_builtin_flag_CXX=
   13213     fi
   13214 
   13215     if test "$GXX" = yes; then
   13216       # Set up default GNU C++ configuration
   13217 
   13218 
   13219 
   13220 # Check whether --with-gnu-ld was given.
   13221 if test "${with_gnu_ld+set}" = set; then :
   13222   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   13223 else
   13224   with_gnu_ld=no
   13225 fi
   13226 
   13227 ac_prog=ld
   13228 if test "$GCC" = yes; then
   13229   # Check if gcc -print-prog-name=ld gives a path.
   13230   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   13231 $as_echo_n "checking for ld used by $CC... " >&6; }
   13232   case $host in
   13233   *-*-mingw*)
   13234     # gcc leaves a trailing carriage return which upsets mingw
   13235     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   13236   *)
   13237     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   13238   esac
   13239   case $ac_prog in
   13240     # Accept absolute paths.
   13241     [\\/]* | ?:[\\/]*)
   13242       re_direlt='/[^/][^/]*/\.\./'
   13243       # Canonicalize the pathname of ld
   13244       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   13245       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   13246 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   13247       done
   13248       test -z "$LD" && LD="$ac_prog"
   13249       ;;
   13250   "")
   13251     # If it fails, then pretend we aren't using GCC.
   13252     ac_prog=ld
   13253     ;;
   13254   *)
   13255     # If it is relative, then search for the first ld in PATH.
   13256     with_gnu_ld=unknown
   13257     ;;
   13258   esac
   13259 elif test "$with_gnu_ld" = yes; then
   13260   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   13261 $as_echo_n "checking for GNU ld... " >&6; }
   13262 else
   13263   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   13264 $as_echo_n "checking for non-GNU ld... " >&6; }
   13265 fi
   13266 if ${lt_cv_path_LD+:} false; then :
   13267   $as_echo_n "(cached) " >&6
   13268 else
   13269   if test -z "$LD"; then
   13270   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   13271   for ac_dir in $PATH; do
   13272     IFS="$lt_save_ifs"
   13273     test -z "$ac_dir" && ac_dir=.
   13274     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   13275       lt_cv_path_LD="$ac_dir/$ac_prog"
   13276       # Check to see if the program is GNU ld.  I'd rather use --version,
   13277       # but apparently some variants of GNU ld only accept -v.
   13278       # Break only if it was the GNU/non-GNU ld that we prefer.
   13279       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   13280       *GNU* | *'with BFD'*)
   13281 	test "$with_gnu_ld" != no && break
   13282 	;;
   13283       *)
   13284 	test "$with_gnu_ld" != yes && break
   13285 	;;
   13286       esac
   13287     fi
   13288   done
   13289   IFS="$lt_save_ifs"
   13290 else
   13291   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   13292 fi
   13293 fi
   13294 
   13295 LD="$lt_cv_path_LD"
   13296 if test -n "$LD"; then
   13297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   13298 $as_echo "$LD" >&6; }
   13299 else
   13300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13301 $as_echo "no" >&6; }
   13302 fi
   13303 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   13304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   13305 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   13306 if ${lt_cv_prog_gnu_ld+:} false; then :
   13307   $as_echo_n "(cached) " >&6
   13308 else
   13309   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   13310 case `$LD -v 2>&1 </dev/null` in
   13311 *GNU* | *'with BFD'*)
   13312   lt_cv_prog_gnu_ld=yes
   13313   ;;
   13314 *)
   13315   lt_cv_prog_gnu_ld=no
   13316   ;;
   13317 esac
   13318 fi
   13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   13320 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   13321 with_gnu_ld=$lt_cv_prog_gnu_ld
   13322 
   13323 
   13324 
   13325 
   13326 
   13327 
   13328 
   13329       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   13330       # archiving commands below assume that GNU ld is being used.
   13331       if test "$with_gnu_ld" = yes; then
   13332         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13333         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'
   13334 
   13335         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13336         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13337 
   13338         # If archive_cmds runs LD, not CC, wlarc should be empty
   13339         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   13340         #     investigate it a little bit more. (MM)
   13341         wlarc='${wl}'
   13342 
   13343         # ancient GNU ld didn't support --whole-archive et. al.
   13344         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   13345 	  $GREP 'no-whole-archive' > /dev/null; then
   13346           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13347         else
   13348           whole_archive_flag_spec_CXX=
   13349         fi
   13350       else
   13351         with_gnu_ld=no
   13352         wlarc=
   13353 
   13354         # A generic and very simple default shared library creation
   13355         # command for GNU C++ for the case where it uses the native
   13356         # linker, instead of GNU ld.  If possible, this setting should
   13357         # overridden to take advantage of the native linker features on
   13358         # the platform it is being used on.
   13359         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13360       fi
   13361 
   13362       # Commands to make compiler produce verbose output that lists
   13363       # what "hidden" libraries, object files and flags are used when
   13364       # linking a shared library.
   13365       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13366 
   13367     else
   13368       GXX=no
   13369       with_gnu_ld=no
   13370       wlarc=
   13371     fi
   13372 
   13373     # PORTME: fill in a description of your system's C++ link characteristics
   13374     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13375 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13376     ld_shlibs_CXX=yes
   13377     case $host_os in
   13378       aix3*)
   13379         # FIXME: insert proper C++ library support
   13380         ld_shlibs_CXX=no
   13381         ;;
   13382       aix[4-9]*)
   13383         if test "$host_cpu" = ia64; then
   13384           # On IA64, the linker does run time linking by default, so we don't
   13385           # have to do anything special.
   13386           aix_use_runtimelinking=no
   13387           exp_sym_flag='-Bexport'
   13388           no_entry_flag=""
   13389         else
   13390           aix_use_runtimelinking=no
   13391 
   13392           # Test if we are trying to use run time linking or normal
   13393           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13394           # need to do runtime linking.
   13395           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13396 	    for ld_flag in $LDFLAGS; do
   13397 	      case $ld_flag in
   13398 	      *-brtl*)
   13399 	        aix_use_runtimelinking=yes
   13400 	        break
   13401 	        ;;
   13402 	      esac
   13403 	    done
   13404 	    ;;
   13405           esac
   13406 
   13407           exp_sym_flag='-bexport'
   13408           no_entry_flag='-bnoentry'
   13409         fi
   13410 
   13411         # When large executables or shared objects are built, AIX ld can
   13412         # have problems creating the table of contents.  If linking a library
   13413         # or program results in "error TOC overflow" add -mminimal-toc to
   13414         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13415         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13416 
   13417         archive_cmds_CXX=''
   13418         hardcode_direct_CXX=yes
   13419         hardcode_direct_absolute_CXX=yes
   13420         hardcode_libdir_separator_CXX=':'
   13421         link_all_deplibs_CXX=yes
   13422         file_list_spec_CXX='${wl}-f,'
   13423 
   13424         if test "$GXX" = yes; then
   13425           case $host_os in aix4.[012]|aix4.[012].*)
   13426           # We only want to do this on AIX 4.2 and lower, the check
   13427           # below for broken collect2 doesn't work under 4.3+
   13428 	  collect2name=`${CC} -print-prog-name=collect2`
   13429 	  if test -f "$collect2name" &&
   13430 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13431 	  then
   13432 	    # We have reworked collect2
   13433 	    :
   13434 	  else
   13435 	    # We have old collect2
   13436 	    hardcode_direct_CXX=unsupported
   13437 	    # It fails to find uninstalled libraries when the uninstalled
   13438 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   13439 	    # to unsupported forces relinking
   13440 	    hardcode_minus_L_CXX=yes
   13441 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   13442 	    hardcode_libdir_separator_CXX=
   13443 	  fi
   13444           esac
   13445           shared_flag='-shared'
   13446 	  if test "$aix_use_runtimelinking" = yes; then
   13447 	    shared_flag="$shared_flag "'${wl}-G'
   13448 	  fi
   13449         else
   13450           # not using gcc
   13451           if test "$host_cpu" = ia64; then
   13452 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13453 	  # chokes on -Wl,-G. The following line is correct:
   13454 	  shared_flag='-G'
   13455           else
   13456 	    if test "$aix_use_runtimelinking" = yes; then
   13457 	      shared_flag='${wl}-G'
   13458 	    else
   13459 	      shared_flag='${wl}-bM:SRE'
   13460 	    fi
   13461           fi
   13462         fi
   13463 
   13464         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   13465         # It seems that -bexpall does not export symbols beginning with
   13466         # underscore (_), so it is better to generate a list of symbols to
   13467 	# export.
   13468         always_export_symbols_CXX=yes
   13469         if test "$aix_use_runtimelinking" = yes; then
   13470           # Warning - without using the other runtime loading flags (-brtl),
   13471           # -berok will link without error, but may produce a broken library.
   13472           allow_undefined_flag_CXX='-berok'
   13473           # Determine the default libpath from the value encoded in an empty
   13474           # executable.
   13475           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13476 /* end confdefs.h.  */
   13477 
   13478 int
   13479 main ()
   13480 {
   13481 
   13482   ;
   13483   return 0;
   13484 }
   13485 _ACEOF
   13486 if ac_fn_cxx_try_link "$LINENO"; then :
   13487 
   13488 lt_aix_libpath_sed='
   13489     /Import File Strings/,/^$/ {
   13490 	/^0/ {
   13491 	    s/^0  *\(.*\)$/\1/
   13492 	    p
   13493 	}
   13494     }'
   13495 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13496 # Check for a 64-bit object if we didn't find anything.
   13497 if test -z "$aix_libpath"; then
   13498   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13499 fi
   13500 fi
   13501 rm -f core conftest.err conftest.$ac_objext \
   13502     conftest$ac_exeext conftest.$ac_ext
   13503 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13504 
   13505           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13506 
   13507           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"
   13508         else
   13509           if test "$host_cpu" = ia64; then
   13510 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   13511 	    allow_undefined_flag_CXX="-z nodefs"
   13512 	    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"
   13513           else
   13514 	    # Determine the default libpath from the value encoded in an
   13515 	    # empty executable.
   13516 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13517 /* end confdefs.h.  */
   13518 
   13519 int
   13520 main ()
   13521 {
   13522 
   13523   ;
   13524   return 0;
   13525 }
   13526 _ACEOF
   13527 if ac_fn_cxx_try_link "$LINENO"; then :
   13528 
   13529 lt_aix_libpath_sed='
   13530     /Import File Strings/,/^$/ {
   13531 	/^0/ {
   13532 	    s/^0  *\(.*\)$/\1/
   13533 	    p
   13534 	}
   13535     }'
   13536 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13537 # Check for a 64-bit object if we didn't find anything.
   13538 if test -z "$aix_libpath"; then
   13539   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13540 fi
   13541 fi
   13542 rm -f core conftest.err conftest.$ac_objext \
   13543     conftest$ac_exeext conftest.$ac_ext
   13544 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13545 
   13546 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13547 	    # Warning - without using the other run time loading flags,
   13548 	    # -berok will link without error, but may produce a broken library.
   13549 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   13550 	    allow_undefined_flag_CXX=' ${wl}-berok'
   13551 	    if test "$with_gnu_ld" = yes; then
   13552 	      # We only use this code for GNU lds that support --whole-archive.
   13553 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13554 	    else
   13555 	      # Exported symbols can be pulled into shared objects from archives
   13556 	      whole_archive_flag_spec_CXX='$convenience'
   13557 	    fi
   13558 	    archive_cmds_need_lc_CXX=yes
   13559 	    # This is similar to how AIX traditionally builds its shared
   13560 	    # libraries.
   13561 	    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'
   13562           fi
   13563         fi
   13564         ;;
   13565 
   13566       beos*)
   13567 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13568 	  allow_undefined_flag_CXX=unsupported
   13569 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13570 	  # support --undefined.  This deserves some investigation.  FIXME
   13571 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13572 	else
   13573 	  ld_shlibs_CXX=no
   13574 	fi
   13575 	;;
   13576 
   13577       chorus*)
   13578         case $cc_basename in
   13579           *)
   13580 	  # FIXME: insert proper C++ library support
   13581 	  ld_shlibs_CXX=no
   13582 	  ;;
   13583         esac
   13584         ;;
   13585 
   13586       cygwin* | mingw* | pw32* | cegcc*)
   13587         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   13588         # as there is no search path for DLLs.
   13589         hardcode_libdir_flag_spec_CXX='-L$libdir'
   13590         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   13591         allow_undefined_flag_CXX=unsupported
   13592         always_export_symbols_CXX=no
   13593         enable_shared_with_static_runtimes_CXX=yes
   13594 
   13595         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13596           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'
   13597           # If the export-symbols file already is a .def file (1st line
   13598           # is EXPORTS), use it as is; otherwise, prepend...
   13599           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13600 	    cp $export_symbols $output_objdir/$soname.def;
   13601           else
   13602 	    echo EXPORTS > $output_objdir/$soname.def;
   13603 	    cat $export_symbols >> $output_objdir/$soname.def;
   13604           fi~
   13605           $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'
   13606         else
   13607           ld_shlibs_CXX=no
   13608         fi
   13609         ;;
   13610       darwin* | rhapsody*)
   13611 
   13612 
   13613   archive_cmds_need_lc_CXX=no
   13614   hardcode_direct_CXX=no
   13615   hardcode_automatic_CXX=yes
   13616   hardcode_shlibpath_var_CXX=unsupported
   13617   if test "$lt_cv_ld_force_load" = "yes"; then
   13618     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\"`'
   13619   else
   13620     whole_archive_flag_spec_CXX=''
   13621   fi
   13622   link_all_deplibs_CXX=yes
   13623   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13624   case $cc_basename in
   13625      ifort*) _lt_dar_can_shared=yes ;;
   13626      *) _lt_dar_can_shared=$GCC ;;
   13627   esac
   13628   if test "$_lt_dar_can_shared" = "yes"; then
   13629     output_verbose_link_cmd=func_echo_all
   13630     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}"
   13631     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13632     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}"
   13633     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}"
   13634        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13635       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}"
   13636       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}"
   13637     fi
   13638 
   13639   else
   13640   ld_shlibs_CXX=no
   13641   fi
   13642 
   13643 	;;
   13644 
   13645       dgux*)
   13646         case $cc_basename in
   13647           ec++*)
   13648 	    # FIXME: insert proper C++ library support
   13649 	    ld_shlibs_CXX=no
   13650 	    ;;
   13651           ghcx*)
   13652 	    # Green Hills C++ Compiler
   13653 	    # FIXME: insert proper C++ library support
   13654 	    ld_shlibs_CXX=no
   13655 	    ;;
   13656           *)
   13657 	    # FIXME: insert proper C++ library support
   13658 	    ld_shlibs_CXX=no
   13659 	    ;;
   13660         esac
   13661         ;;
   13662 
   13663       freebsd2.*)
   13664         # C++ shared libraries reported to be fairly broken before
   13665 	# switch to ELF
   13666         ld_shlibs_CXX=no
   13667         ;;
   13668 
   13669       freebsd-elf*)
   13670         archive_cmds_need_lc_CXX=no
   13671         ;;
   13672 
   13673       freebsd* | dragonfly*)
   13674         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13675         # conventions
   13676         ld_shlibs_CXX=yes
   13677         ;;
   13678 
   13679       gnu*)
   13680         ;;
   13681 
   13682       haiku*)
   13683         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13684         link_all_deplibs_CXX=yes
   13685         ;;
   13686 
   13687       hpux9*)
   13688         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13689         hardcode_libdir_separator_CXX=:
   13690         export_dynamic_flag_spec_CXX='${wl}-E'
   13691         hardcode_direct_CXX=yes
   13692         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13693 				             # but as the default
   13694 				             # location of the library.
   13695 
   13696         case $cc_basename in
   13697           CC*)
   13698             # FIXME: insert proper C++ library support
   13699             ld_shlibs_CXX=no
   13700             ;;
   13701           aCC*)
   13702             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'
   13703             # Commands to make compiler produce verbose output that lists
   13704             # what "hidden" libraries, object files and flags are used when
   13705             # linking a shared library.
   13706             #
   13707             # There doesn't appear to be a way to prevent this compiler from
   13708             # explicitly linking system object files so we need to strip them
   13709             # from the output so that they don't get included in the library
   13710             # dependencies.
   13711             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"'
   13712             ;;
   13713           *)
   13714             if test "$GXX" = yes; then
   13715               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'
   13716             else
   13717               # FIXME: insert proper C++ library support
   13718               ld_shlibs_CXX=no
   13719             fi
   13720             ;;
   13721         esac
   13722         ;;
   13723 
   13724       hpux10*|hpux11*)
   13725         if test $with_gnu_ld = no; then
   13726 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13727 	  hardcode_libdir_separator_CXX=:
   13728 
   13729           case $host_cpu in
   13730             hppa*64*|ia64*)
   13731               ;;
   13732             *)
   13733 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13734               ;;
   13735           esac
   13736         fi
   13737         case $host_cpu in
   13738           hppa*64*|ia64*)
   13739             hardcode_direct_CXX=no
   13740             hardcode_shlibpath_var_CXX=no
   13741             ;;
   13742           *)
   13743             hardcode_direct_CXX=yes
   13744             hardcode_direct_absolute_CXX=yes
   13745             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13746 					         # but as the default
   13747 					         # location of the library.
   13748             ;;
   13749         esac
   13750 
   13751         case $cc_basename in
   13752           CC*)
   13753 	    # FIXME: insert proper C++ library support
   13754 	    ld_shlibs_CXX=no
   13755 	    ;;
   13756           aCC*)
   13757 	    case $host_cpu in
   13758 	      hppa*64*)
   13759 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13760 	        ;;
   13761 	      ia64*)
   13762 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13763 	        ;;
   13764 	      *)
   13765 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13766 	        ;;
   13767 	    esac
   13768 	    # Commands to make compiler produce verbose output that lists
   13769 	    # what "hidden" libraries, object files and flags are used when
   13770 	    # linking a shared library.
   13771 	    #
   13772 	    # There doesn't appear to be a way to prevent this compiler from
   13773 	    # explicitly linking system object files so we need to strip them
   13774 	    # from the output so that they don't get included in the library
   13775 	    # dependencies.
   13776 	    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"'
   13777 	    ;;
   13778           *)
   13779 	    if test "$GXX" = yes; then
   13780 	      if test $with_gnu_ld = no; then
   13781 	        case $host_cpu in
   13782 	          hppa*64*)
   13783 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13784 	            ;;
   13785 	          ia64*)
   13786 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13787 	            ;;
   13788 	          *)
   13789 	            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'
   13790 	            ;;
   13791 	        esac
   13792 	      fi
   13793 	    else
   13794 	      # FIXME: insert proper C++ library support
   13795 	      ld_shlibs_CXX=no
   13796 	    fi
   13797 	    ;;
   13798         esac
   13799         ;;
   13800 
   13801       interix[3-9]*)
   13802 	hardcode_direct_CXX=no
   13803 	hardcode_shlibpath_var_CXX=no
   13804 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13805 	export_dynamic_flag_spec_CXX='${wl}-E'
   13806 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13807 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13808 	# default) and relocated if they conflict, which is a slow very memory
   13809 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13810 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13811 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13812 	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'
   13813 	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'
   13814 	;;
   13815       irix5* | irix6*)
   13816         case $cc_basename in
   13817           CC*)
   13818 	    # SGI C++
   13819 	    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'
   13820 
   13821 	    # Archives containing C++ object files must be created using
   13822 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13823 	    # necessary to make sure instantiated templates are included
   13824 	    # in the archive.
   13825 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13826 	    ;;
   13827           *)
   13828 	    if test "$GXX" = yes; then
   13829 	      if test "$with_gnu_ld" = no; then
   13830 	        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'
   13831 	      else
   13832 	        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'
   13833 	      fi
   13834 	    fi
   13835 	    link_all_deplibs_CXX=yes
   13836 	    ;;
   13837         esac
   13838         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13839         hardcode_libdir_separator_CXX=:
   13840         inherit_rpath_CXX=yes
   13841         ;;
   13842 
   13843       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13844         case $cc_basename in
   13845           KCC*)
   13846 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13847 
   13848 	    # KCC will only create a shared library if the output file
   13849 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13850 	    # to its proper name (with version) after linking.
   13851 	    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'
   13852 	    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'
   13853 	    # Commands to make compiler produce verbose output that lists
   13854 	    # what "hidden" libraries, object files and flags are used when
   13855 	    # linking a shared library.
   13856 	    #
   13857 	    # There doesn't appear to be a way to prevent this compiler from
   13858 	    # explicitly linking system object files so we need to strip them
   13859 	    # from the output so that they don't get included in the library
   13860 	    # dependencies.
   13861 	    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"'
   13862 
   13863 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13864 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13865 
   13866 	    # Archives containing C++ object files must be created using
   13867 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13868 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13869 	    ;;
   13870 	  icpc* | ecpc* )
   13871 	    # Intel C++
   13872 	    with_gnu_ld=yes
   13873 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13874 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13875 	    # earlier do not add the objects themselves.
   13876 	    case `$CC -V 2>&1` in
   13877 	      *"Version 7."*)
   13878 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13879 		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'
   13880 		;;
   13881 	      *)  # Version 8.0 or newer
   13882 	        tmp_idyn=
   13883 	        case $host_cpu in
   13884 		  ia64*) tmp_idyn=' -i_dynamic';;
   13885 		esac
   13886 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13887 		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'
   13888 		;;
   13889 	    esac
   13890 	    archive_cmds_need_lc_CXX=no
   13891 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13892 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13893 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13894 	    ;;
   13895           pgCC* | pgcpp*)
   13896             # Portland Group C++ compiler
   13897 	    case `$CC -V` in
   13898 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13899 	      prelink_cmds_CXX='tpldir=Template.dir~
   13900 		rm -rf $tpldir~
   13901 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13902 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   13903 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13904 		rm -rf $tpldir~
   13905 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13906 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   13907 		$RANLIB $oldlib'
   13908 	      archive_cmds_CXX='tpldir=Template.dir~
   13909 		rm -rf $tpldir~
   13910 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13911 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13912 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13913 		rm -rf $tpldir~
   13914 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13915 		$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'
   13916 	      ;;
   13917 	    *) # Version 6 and above use weak symbols
   13918 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13919 	      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'
   13920 	      ;;
   13921 	    esac
   13922 
   13923 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13924 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13925 	    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'
   13926             ;;
   13927 	  cxx*)
   13928 	    # Compaq C++
   13929 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13930 	    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'
   13931 
   13932 	    runpath_var=LD_RUN_PATH
   13933 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13934 	    hardcode_libdir_separator_CXX=:
   13935 
   13936 	    # Commands to make compiler produce verbose output that lists
   13937 	    # what "hidden" libraries, object files and flags are used when
   13938 	    # linking a shared library.
   13939 	    #
   13940 	    # There doesn't appear to be a way to prevent this compiler from
   13941 	    # explicitly linking system object files so we need to strip them
   13942 	    # from the output so that they don't get included in the library
   13943 	    # dependencies.
   13944 	    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'
   13945 	    ;;
   13946 	  xl* | mpixl* | bgxl*)
   13947 	    # IBM XL 8.0 on PPC, with GNU ld
   13948 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13949 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13950 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13951 	    if test "x$supports_anon_versioning" = xyes; then
   13952 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13953 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13954 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13955 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13956 	    fi
   13957 	    ;;
   13958 	  *)
   13959 	    case `$CC -V 2>&1 | sed 5q` in
   13960 	    *Sun\ C*)
   13961 	      # Sun C++ 5.9
   13962 	      no_undefined_flag_CXX=' -zdefs'
   13963 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13964 	      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'
   13965 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13966 	      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'
   13967 	      compiler_needs_object_CXX=yes
   13968 
   13969 	      # Not sure whether something based on
   13970 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13971 	      # would be better.
   13972 	      output_verbose_link_cmd='func_echo_all'
   13973 
   13974 	      # Archives containing C++ object files must be created using
   13975 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13976 	      # necessary to make sure instantiated templates are included
   13977 	      # in the archive.
   13978 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13979 	      ;;
   13980 	    esac
   13981 	    ;;
   13982 	esac
   13983 	;;
   13984 
   13985       lynxos*)
   13986         # FIXME: insert proper C++ library support
   13987 	ld_shlibs_CXX=no
   13988 	;;
   13989 
   13990       m88k*)
   13991         # FIXME: insert proper C++ library support
   13992         ld_shlibs_CXX=no
   13993 	;;
   13994 
   13995       mvs*)
   13996         case $cc_basename in
   13997           cxx*)
   13998 	    # FIXME: insert proper C++ library support
   13999 	    ld_shlibs_CXX=no
   14000 	    ;;
   14001 	  *)
   14002 	    # FIXME: insert proper C++ library support
   14003 	    ld_shlibs_CXX=no
   14004 	    ;;
   14005 	esac
   14006 	;;
   14007 
   14008       netbsd*)
   14009         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14010 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   14011 	  wlarc=
   14012 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   14013 	  hardcode_direct_CXX=yes
   14014 	  hardcode_shlibpath_var_CXX=no
   14015 	fi
   14016 	# Workaround some broken pre-1.5 toolchains
   14017 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   14018 	;;
   14019 
   14020       *nto* | *qnx*)
   14021         ld_shlibs_CXX=yes
   14022 	;;
   14023 
   14024       openbsd2*)
   14025         # C++ shared libraries are fairly broken
   14026 	ld_shlibs_CXX=no
   14027 	;;
   14028 
   14029       openbsd*)
   14030 	if test -f /usr/libexec/ld.so; then
   14031 	  hardcode_direct_CXX=yes
   14032 	  hardcode_shlibpath_var_CXX=no
   14033 	  hardcode_direct_absolute_CXX=yes
   14034 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   14035 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   14036 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14037 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   14038 	    export_dynamic_flag_spec_CXX='${wl}-E'
   14039 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14040 	  fi
   14041 	  output_verbose_link_cmd=func_echo_all
   14042 	else
   14043 	  ld_shlibs_CXX=no
   14044 	fi
   14045 	;;
   14046 
   14047       osf3* | osf4* | osf5*)
   14048         case $cc_basename in
   14049           KCC*)
   14050 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   14051 
   14052 	    # KCC will only create a shared library if the output file
   14053 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   14054 	    # to its proper name (with version) after linking.
   14055 	    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'
   14056 
   14057 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   14058 	    hardcode_libdir_separator_CXX=:
   14059 
   14060 	    # Archives containing C++ object files must be created using
   14061 	    # the KAI C++ compiler.
   14062 	    case $host in
   14063 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   14064 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   14065 	    esac
   14066 	    ;;
   14067           RCC*)
   14068 	    # Rational C++ 2.4.1
   14069 	    # FIXME: insert proper C++ library support
   14070 	    ld_shlibs_CXX=no
   14071 	    ;;
   14072           cxx*)
   14073 	    case $host in
   14074 	      osf3*)
   14075 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   14076 	        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'
   14077 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   14078 		;;
   14079 	      *)
   14080 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   14081 	        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'
   14082 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   14083 	          echo "-hidden">> $lib.exp~
   14084 	          $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~
   14085 	          $RM $lib.exp'
   14086 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   14087 		;;
   14088 	    esac
   14089 
   14090 	    hardcode_libdir_separator_CXX=:
   14091 
   14092 	    # Commands to make compiler produce verbose output that lists
   14093 	    # what "hidden" libraries, object files and flags are used when
   14094 	    # linking a shared library.
   14095 	    #
   14096 	    # There doesn't appear to be a way to prevent this compiler from
   14097 	    # explicitly linking system object files so we need to strip them
   14098 	    # from the output so that they don't get included in the library
   14099 	    # dependencies.
   14100 	    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"'
   14101 	    ;;
   14102 	  *)
   14103 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   14104 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   14105 	      case $host in
   14106 	        osf3*)
   14107 	          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'
   14108 		  ;;
   14109 	        *)
   14110 	          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'
   14111 		  ;;
   14112 	      esac
   14113 
   14114 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   14115 	      hardcode_libdir_separator_CXX=:
   14116 
   14117 	      # Commands to make compiler produce verbose output that lists
   14118 	      # what "hidden" libraries, object files and flags are used when
   14119 	      # linking a shared library.
   14120 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14121 
   14122 	    else
   14123 	      # FIXME: insert proper C++ library support
   14124 	      ld_shlibs_CXX=no
   14125 	    fi
   14126 	    ;;
   14127         esac
   14128         ;;
   14129 
   14130       psos*)
   14131         # FIXME: insert proper C++ library support
   14132         ld_shlibs_CXX=no
   14133         ;;
   14134 
   14135       sunos4*)
   14136         case $cc_basename in
   14137           CC*)
   14138 	    # Sun C++ 4.x
   14139 	    # FIXME: insert proper C++ library support
   14140 	    ld_shlibs_CXX=no
   14141 	    ;;
   14142           lcc*)
   14143 	    # Lucid
   14144 	    # FIXME: insert proper C++ library support
   14145 	    ld_shlibs_CXX=no
   14146 	    ;;
   14147           *)
   14148 	    # FIXME: insert proper C++ library support
   14149 	    ld_shlibs_CXX=no
   14150 	    ;;
   14151         esac
   14152         ;;
   14153 
   14154       solaris*)
   14155         case $cc_basename in
   14156           CC*)
   14157 	    # Sun C++ 4.2, 5.x and Centerline C++
   14158             archive_cmds_need_lc_CXX=yes
   14159 	    no_undefined_flag_CXX=' -zdefs'
   14160 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   14161 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14162 	      $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'
   14163 
   14164 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   14165 	    hardcode_shlibpath_var_CXX=no
   14166 	    case $host_os in
   14167 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   14168 	      *)
   14169 		# The compiler driver will combine and reorder linker options,
   14170 		# but understands `-z linker_flag'.
   14171 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   14172 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   14173 	        ;;
   14174 	    esac
   14175 	    link_all_deplibs_CXX=yes
   14176 
   14177 	    output_verbose_link_cmd='func_echo_all'
   14178 
   14179 	    # Archives containing C++ object files must be created using
   14180 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   14181 	    # necessary to make sure instantiated templates are included
   14182 	    # in the archive.
   14183 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   14184 	    ;;
   14185           gcx*)
   14186 	    # Green Hills C++ Compiler
   14187 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   14188 
   14189 	    # The C++ compiler must be used to create the archive.
   14190 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   14191 	    ;;
   14192           *)
   14193 	    # GNU C++ compiler with Solaris linker
   14194 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   14195 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   14196 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   14197 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   14198 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14199 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   14200 
   14201 	        # Commands to make compiler produce verbose output that lists
   14202 	        # what "hidden" libraries, object files and flags are used when
   14203 	        # linking a shared library.
   14204 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14205 	      else
   14206 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   14207 	        # platform.
   14208 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   14209 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   14210 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   14211 
   14212 	        # Commands to make compiler produce verbose output that lists
   14213 	        # what "hidden" libraries, object files and flags are used when
   14214 	        # linking a shared library.
   14215 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   14216 	      fi
   14217 
   14218 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   14219 	      case $host_os in
   14220 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   14221 		*)
   14222 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   14223 		  ;;
   14224 	      esac
   14225 	    fi
   14226 	    ;;
   14227         esac
   14228         ;;
   14229 
   14230     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   14231       no_undefined_flag_CXX='${wl}-z,text'
   14232       archive_cmds_need_lc_CXX=no
   14233       hardcode_shlibpath_var_CXX=no
   14234       runpath_var='LD_RUN_PATH'
   14235 
   14236       case $cc_basename in
   14237         CC*)
   14238 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14239 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14240 	  ;;
   14241 	*)
   14242 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14243 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14244 	  ;;
   14245       esac
   14246       ;;
   14247 
   14248       sysv5* | sco3.2v5* | sco5v6*)
   14249 	# Note: We can NOT use -z defs as we might desire, because we do not
   14250 	# link with -lc, and that would cause any symbols used from libc to
   14251 	# always be unresolved, which means just about no library would
   14252 	# ever link correctly.  If we're not using GNU ld we use -z text
   14253 	# though, which does catch some bad symbols but isn't as heavy-handed
   14254 	# as -z defs.
   14255 	no_undefined_flag_CXX='${wl}-z,text'
   14256 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   14257 	archive_cmds_need_lc_CXX=no
   14258 	hardcode_shlibpath_var_CXX=no
   14259 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   14260 	hardcode_libdir_separator_CXX=':'
   14261 	link_all_deplibs_CXX=yes
   14262 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   14263 	runpath_var='LD_RUN_PATH'
   14264 
   14265 	case $cc_basename in
   14266           CC*)
   14267 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14268 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14269 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   14270 	      '"$old_archive_cmds_CXX"
   14271 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   14272 	      '"$reload_cmds_CXX"
   14273 	    ;;
   14274 	  *)
   14275 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14276 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   14277 	    ;;
   14278 	esac
   14279       ;;
   14280 
   14281       tandem*)
   14282         case $cc_basename in
   14283           NCC*)
   14284 	    # NonStop-UX NCC 3.20
   14285 	    # FIXME: insert proper C++ library support
   14286 	    ld_shlibs_CXX=no
   14287 	    ;;
   14288           *)
   14289 	    # FIXME: insert proper C++ library support
   14290 	    ld_shlibs_CXX=no
   14291 	    ;;
   14292         esac
   14293         ;;
   14294 
   14295       vxworks*)
   14296         # For VxWorks ports, we assume the use of a GNU linker with
   14297         # standard elf conventions.
   14298         ld_shlibs_CXX=yes
   14299         ;;
   14300 
   14301       *)
   14302         # FIXME: insert proper C++ library support
   14303         ld_shlibs_CXX=no
   14304         ;;
   14305     esac
   14306 
   14307     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14308 $as_echo "$ld_shlibs_CXX" >&6; }
   14309     test "$ld_shlibs_CXX" = no && can_build_shared=no
   14310 
   14311     GCC_CXX="$GXX"
   14312     LD_CXX="$LD"
   14313 
   14314     ## CAVEAT EMPTOR:
   14315     ## There is no encapsulation within the following macros, do not change
   14316     ## the running order or otherwise move them around unless you know exactly
   14317     ## what you are doing...
   14318     # Dependencies to place before and after the object being linked:
   14319 predep_objects_CXX=
   14320 postdep_objects_CXX=
   14321 predeps_CXX=
   14322 postdeps_CXX=
   14323 compiler_lib_search_path_CXX=
   14324 
   14325 cat > conftest.$ac_ext <<_LT_EOF
   14326 class Foo
   14327 {
   14328 public:
   14329   Foo (void) { a = 0; }
   14330 private:
   14331   int a;
   14332 };
   14333 _LT_EOF
   14334 
   14335 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14336   (eval $ac_compile) 2>&5
   14337   ac_status=$?
   14338   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14339   test $ac_status = 0; }; then
   14340   # Parse the compiler output and extract the necessary
   14341   # objects, libraries and library flags.
   14342 
   14343   # Sentinel used to keep track of whether or not we are before
   14344   # the conftest object file.
   14345   pre_test_object_deps_done=no
   14346 
   14347   for p in `eval "$output_verbose_link_cmd"`; do
   14348     case $p in
   14349 
   14350     -L* | -R* | -l*)
   14351        # Some compilers place space between "-{L,R}" and the path.
   14352        # Remove the space.
   14353        if test $p = "-L" ||
   14354           test $p = "-R"; then
   14355 	 prev=$p
   14356 	 continue
   14357        else
   14358 	 prev=
   14359        fi
   14360 
   14361        if test "$pre_test_object_deps_done" = no; then
   14362 	 case $p in
   14363 	 -L* | -R*)
   14364 	   # Internal compiler library paths should come after those
   14365 	   # provided the user.  The postdeps already come after the
   14366 	   # user supplied libs so there is no need to process them.
   14367 	   if test -z "$compiler_lib_search_path_CXX"; then
   14368 	     compiler_lib_search_path_CXX="${prev}${p}"
   14369 	   else
   14370 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   14371 	   fi
   14372 	   ;;
   14373 	 # The "-l" case would never come before the object being
   14374 	 # linked, so don't bother handling this case.
   14375 	 esac
   14376        else
   14377 	 if test -z "$postdeps_CXX"; then
   14378 	   postdeps_CXX="${prev}${p}"
   14379 	 else
   14380 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   14381 	 fi
   14382        fi
   14383        ;;
   14384 
   14385     *.$objext)
   14386        # This assumes that the test object file only shows up
   14387        # once in the compiler output.
   14388        if test "$p" = "conftest.$objext"; then
   14389 	 pre_test_object_deps_done=yes
   14390 	 continue
   14391        fi
   14392 
   14393        if test "$pre_test_object_deps_done" = no; then
   14394 	 if test -z "$predep_objects_CXX"; then
   14395 	   predep_objects_CXX="$p"
   14396 	 else
   14397 	   predep_objects_CXX="$predep_objects_CXX $p"
   14398 	 fi
   14399        else
   14400 	 if test -z "$postdep_objects_CXX"; then
   14401 	   postdep_objects_CXX="$p"
   14402 	 else
   14403 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   14404 	 fi
   14405        fi
   14406        ;;
   14407 
   14408     *) ;; # Ignore the rest.
   14409 
   14410     esac
   14411   done
   14412 
   14413   # Clean up.
   14414   rm -f a.out a.exe
   14415 else
   14416   echo "libtool.m4: error: problem compiling CXX test program"
   14417 fi
   14418 
   14419 $RM -f confest.$objext
   14420 
   14421 # PORTME: override above test on systems where it is broken
   14422 case $host_os in
   14423 interix[3-9]*)
   14424   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   14425   # hack all around it, let's just trust "g++" to DTRT.
   14426   predep_objects_CXX=
   14427   postdep_objects_CXX=
   14428   postdeps_CXX=
   14429   ;;
   14430 
   14431 linux*)
   14432   case `$CC -V 2>&1 | sed 5q` in
   14433   *Sun\ C*)
   14434     # Sun C++ 5.9
   14435 
   14436     # The more standards-conforming stlport4 library is
   14437     # incompatible with the Cstd library. Avoid specifying
   14438     # it if it's in CXXFLAGS. Ignore libCrun as
   14439     # -library=stlport4 depends on it.
   14440     case " $CXX $CXXFLAGS " in
   14441     *" -library=stlport4 "*)
   14442       solaris_use_stlport4=yes
   14443       ;;
   14444     esac
   14445 
   14446     if test "$solaris_use_stlport4" != yes; then
   14447       postdeps_CXX='-library=Cstd -library=Crun'
   14448     fi
   14449     ;;
   14450   esac
   14451   ;;
   14452 
   14453 solaris*)
   14454   case $cc_basename in
   14455   CC*)
   14456     # The more standards-conforming stlport4 library is
   14457     # incompatible with the Cstd library. Avoid specifying
   14458     # it if it's in CXXFLAGS. Ignore libCrun as
   14459     # -library=stlport4 depends on it.
   14460     case " $CXX $CXXFLAGS " in
   14461     *" -library=stlport4 "*)
   14462       solaris_use_stlport4=yes
   14463       ;;
   14464     esac
   14465 
   14466     # Adding this requires a known-good setup of shared libraries for
   14467     # Sun compiler versions before 5.6, else PIC objects from an old
   14468     # archive will be linked into the output, leading to subtle bugs.
   14469     if test "$solaris_use_stlport4" != yes; then
   14470       postdeps_CXX='-library=Cstd -library=Crun'
   14471     fi
   14472     ;;
   14473   esac
   14474   ;;
   14475 esac
   14476 
   14477 
   14478 case " $postdeps_CXX " in
   14479 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   14480 esac
   14481  compiler_lib_search_dirs_CXX=
   14482 if test -n "${compiler_lib_search_path_CXX}"; then
   14483  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   14484 fi
   14485 
   14486 
   14487 
   14488 
   14489 
   14490 
   14491 
   14492 
   14493 
   14494 
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 
   14514 
   14515 
   14516     lt_prog_compiler_wl_CXX=
   14517 lt_prog_compiler_pic_CXX=
   14518 lt_prog_compiler_static_CXX=
   14519 
   14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14521 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14522 
   14523   # C++ specific cases for pic, static, wl, etc.
   14524   if test "$GXX" = yes; then
   14525     lt_prog_compiler_wl_CXX='-Wl,'
   14526     lt_prog_compiler_static_CXX='-static'
   14527 
   14528     case $host_os in
   14529     aix*)
   14530       # All AIX code is PIC.
   14531       if test "$host_cpu" = ia64; then
   14532 	# AIX 5 now supports IA64 processor
   14533 	lt_prog_compiler_static_CXX='-Bstatic'
   14534       fi
   14535       lt_prog_compiler_pic_CXX='-fPIC'
   14536       ;;
   14537 
   14538     amigaos*)
   14539       case $host_cpu in
   14540       powerpc)
   14541             # see comment about AmigaOS4 .so support
   14542             lt_prog_compiler_pic_CXX='-fPIC'
   14543         ;;
   14544       m68k)
   14545             # FIXME: we need at least 68020 code to build shared libraries, but
   14546             # adding the `-m68020' flag to GCC prevents building anything better,
   14547             # like `-m68040'.
   14548             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   14549         ;;
   14550       esac
   14551       ;;
   14552 
   14553     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14554       # PIC is the default for these OSes.
   14555       ;;
   14556     mingw* | cygwin* | os2* | pw32* | cegcc*)
   14557       # This hack is so that the source file can tell whether it is being
   14558       # built for inclusion in a dll (and should export symbols for example).
   14559       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14560       # (--disable-auto-import) libraries
   14561       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14562       ;;
   14563     darwin* | rhapsody*)
   14564       # PIC is the default on this platform
   14565       # Common symbols not allowed in MH_DYLIB files
   14566       lt_prog_compiler_pic_CXX='-fno-common'
   14567       ;;
   14568     *djgpp*)
   14569       # DJGPP does not support shared libraries at all
   14570       lt_prog_compiler_pic_CXX=
   14571       ;;
   14572     haiku*)
   14573       # PIC is the default for Haiku.
   14574       # The "-static" flag exists, but is broken.
   14575       lt_prog_compiler_static_CXX=
   14576       ;;
   14577     interix[3-9]*)
   14578       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14579       # Instead, we relocate shared libraries at runtime.
   14580       ;;
   14581     sysv4*MP*)
   14582       if test -d /usr/nec; then
   14583 	lt_prog_compiler_pic_CXX=-Kconform_pic
   14584       fi
   14585       ;;
   14586     hpux*)
   14587       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14588       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14589       # sets the default TLS model and affects inlining.
   14590       case $host_cpu in
   14591       hppa*64*)
   14592 	;;
   14593       *)
   14594 	lt_prog_compiler_pic_CXX='-fPIC'
   14595 	;;
   14596       esac
   14597       ;;
   14598     *qnx* | *nto*)
   14599       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14600       # it will coredump.
   14601       lt_prog_compiler_pic_CXX='-fPIC -shared'
   14602       ;;
   14603     *)
   14604       lt_prog_compiler_pic_CXX='-fPIC'
   14605       ;;
   14606     esac
   14607   else
   14608     case $host_os in
   14609       aix[4-9]*)
   14610 	# All AIX code is PIC.
   14611 	if test "$host_cpu" = ia64; then
   14612 	  # AIX 5 now supports IA64 processor
   14613 	  lt_prog_compiler_static_CXX='-Bstatic'
   14614 	else
   14615 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14616 	fi
   14617 	;;
   14618       chorus*)
   14619 	case $cc_basename in
   14620 	cxch68*)
   14621 	  # Green Hills C++ Compiler
   14622 	  # _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"
   14623 	  ;;
   14624 	esac
   14625 	;;
   14626       dgux*)
   14627 	case $cc_basename in
   14628 	  ec++*)
   14629 	    lt_prog_compiler_pic_CXX='-KPIC'
   14630 	    ;;
   14631 	  ghcx*)
   14632 	    # Green Hills C++ Compiler
   14633 	    lt_prog_compiler_pic_CXX='-pic'
   14634 	    ;;
   14635 	  *)
   14636 	    ;;
   14637 	esac
   14638 	;;
   14639       freebsd* | dragonfly*)
   14640 	# FreeBSD uses GNU C++
   14641 	;;
   14642       hpux9* | hpux10* | hpux11*)
   14643 	case $cc_basename in
   14644 	  CC*)
   14645 	    lt_prog_compiler_wl_CXX='-Wl,'
   14646 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14647 	    if test "$host_cpu" != ia64; then
   14648 	      lt_prog_compiler_pic_CXX='+Z'
   14649 	    fi
   14650 	    ;;
   14651 	  aCC*)
   14652 	    lt_prog_compiler_wl_CXX='-Wl,'
   14653 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14654 	    case $host_cpu in
   14655 	    hppa*64*|ia64*)
   14656 	      # +Z the default
   14657 	      ;;
   14658 	    *)
   14659 	      lt_prog_compiler_pic_CXX='+Z'
   14660 	      ;;
   14661 	    esac
   14662 	    ;;
   14663 	  *)
   14664 	    ;;
   14665 	esac
   14666 	;;
   14667       interix*)
   14668 	# This is c89, which is MS Visual C++ (no shared libs)
   14669 	# Anyone wants to do a port?
   14670 	;;
   14671       irix5* | irix6* | nonstopux*)
   14672 	case $cc_basename in
   14673 	  CC*)
   14674 	    lt_prog_compiler_wl_CXX='-Wl,'
   14675 	    lt_prog_compiler_static_CXX='-non_shared'
   14676 	    # CC pic flag -KPIC is the default.
   14677 	    ;;
   14678 	  *)
   14679 	    ;;
   14680 	esac
   14681 	;;
   14682       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14683 	case $cc_basename in
   14684 	  KCC*)
   14685 	    # KAI C++ Compiler
   14686 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14687 	    lt_prog_compiler_pic_CXX='-fPIC'
   14688 	    ;;
   14689 	  ecpc* )
   14690 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14691 	    lt_prog_compiler_wl_CXX='-Wl,'
   14692 	    lt_prog_compiler_pic_CXX='-KPIC'
   14693 	    lt_prog_compiler_static_CXX='-static'
   14694 	    ;;
   14695 	  icpc* )
   14696 	    # Intel C++, used to be incompatible with GCC.
   14697 	    # ICC 10 doesn't accept -KPIC any more.
   14698 	    lt_prog_compiler_wl_CXX='-Wl,'
   14699 	    lt_prog_compiler_pic_CXX='-fPIC'
   14700 	    lt_prog_compiler_static_CXX='-static'
   14701 	    ;;
   14702 	  pgCC* | pgcpp*)
   14703 	    # Portland Group C++ compiler
   14704 	    lt_prog_compiler_wl_CXX='-Wl,'
   14705 	    lt_prog_compiler_pic_CXX='-fpic'
   14706 	    lt_prog_compiler_static_CXX='-Bstatic'
   14707 	    ;;
   14708 	  cxx*)
   14709 	    # Compaq C++
   14710 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14711 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14712 	    lt_prog_compiler_pic_CXX=
   14713 	    lt_prog_compiler_static_CXX='-non_shared'
   14714 	    ;;
   14715 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14716 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14717 	    lt_prog_compiler_wl_CXX='-Wl,'
   14718 	    lt_prog_compiler_pic_CXX='-qpic'
   14719 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14720 	    ;;
   14721 	  *)
   14722 	    case `$CC -V 2>&1 | sed 5q` in
   14723 	    *Sun\ C*)
   14724 	      # Sun C++ 5.9
   14725 	      lt_prog_compiler_pic_CXX='-KPIC'
   14726 	      lt_prog_compiler_static_CXX='-Bstatic'
   14727 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14728 	      ;;
   14729 	    esac
   14730 	    ;;
   14731 	esac
   14732 	;;
   14733       lynxos*)
   14734 	;;
   14735       m88k*)
   14736 	;;
   14737       mvs*)
   14738 	case $cc_basename in
   14739 	  cxx*)
   14740 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14741 	    ;;
   14742 	  *)
   14743 	    ;;
   14744 	esac
   14745 	;;
   14746       netbsd*)
   14747 	;;
   14748       *qnx* | *nto*)
   14749         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14750         # it will coredump.
   14751         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14752         ;;
   14753       osf3* | osf4* | osf5*)
   14754 	case $cc_basename in
   14755 	  KCC*)
   14756 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14757 	    ;;
   14758 	  RCC*)
   14759 	    # Rational C++ 2.4.1
   14760 	    lt_prog_compiler_pic_CXX='-pic'
   14761 	    ;;
   14762 	  cxx*)
   14763 	    # Digital/Compaq C++
   14764 	    lt_prog_compiler_wl_CXX='-Wl,'
   14765 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14766 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14767 	    lt_prog_compiler_pic_CXX=
   14768 	    lt_prog_compiler_static_CXX='-non_shared'
   14769 	    ;;
   14770 	  *)
   14771 	    ;;
   14772 	esac
   14773 	;;
   14774       psos*)
   14775 	;;
   14776       solaris*)
   14777 	case $cc_basename in
   14778 	  CC*)
   14779 	    # Sun C++ 4.2, 5.x and Centerline C++
   14780 	    lt_prog_compiler_pic_CXX='-KPIC'
   14781 	    lt_prog_compiler_static_CXX='-Bstatic'
   14782 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14783 	    ;;
   14784 	  gcx*)
   14785 	    # Green Hills C++ Compiler
   14786 	    lt_prog_compiler_pic_CXX='-PIC'
   14787 	    ;;
   14788 	  *)
   14789 	    ;;
   14790 	esac
   14791 	;;
   14792       sunos4*)
   14793 	case $cc_basename in
   14794 	  CC*)
   14795 	    # Sun C++ 4.x
   14796 	    lt_prog_compiler_pic_CXX='-pic'
   14797 	    lt_prog_compiler_static_CXX='-Bstatic'
   14798 	    ;;
   14799 	  lcc*)
   14800 	    # Lucid
   14801 	    lt_prog_compiler_pic_CXX='-pic'
   14802 	    ;;
   14803 	  *)
   14804 	    ;;
   14805 	esac
   14806 	;;
   14807       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14808 	case $cc_basename in
   14809 	  CC*)
   14810 	    lt_prog_compiler_wl_CXX='-Wl,'
   14811 	    lt_prog_compiler_pic_CXX='-KPIC'
   14812 	    lt_prog_compiler_static_CXX='-Bstatic'
   14813 	    ;;
   14814 	esac
   14815 	;;
   14816       tandem*)
   14817 	case $cc_basename in
   14818 	  NCC*)
   14819 	    # NonStop-UX NCC 3.20
   14820 	    lt_prog_compiler_pic_CXX='-KPIC'
   14821 	    ;;
   14822 	  *)
   14823 	    ;;
   14824 	esac
   14825 	;;
   14826       vxworks*)
   14827 	;;
   14828       *)
   14829 	lt_prog_compiler_can_build_shared_CXX=no
   14830 	;;
   14831     esac
   14832   fi
   14833 
   14834 case $host_os in
   14835   # For platforms which do not support PIC, -DPIC is meaningless:
   14836   *djgpp*)
   14837     lt_prog_compiler_pic_CXX=
   14838     ;;
   14839   *)
   14840     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14841     ;;
   14842 esac
   14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   14844 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   14845 
   14846 
   14847 
   14848 #
   14849 # Check to make sure the PIC flag actually works.
   14850 #
   14851 if test -n "$lt_prog_compiler_pic_CXX"; then
   14852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14853 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14854 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   14855   $as_echo_n "(cached) " >&6
   14856 else
   14857   lt_cv_prog_compiler_pic_works_CXX=no
   14858    ac_outfile=conftest.$ac_objext
   14859    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14860    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14861    # Insert the option either (1) after the last *FLAGS variable, or
   14862    # (2) before a word containing "conftest.", or (3) at the end.
   14863    # Note that $ac_compile itself does not contain backslashes and begins
   14864    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14865    # The option is referenced via a variable to avoid confusing sed.
   14866    lt_compile=`echo "$ac_compile" | $SED \
   14867    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14868    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14869    -e 's:$: $lt_compiler_flag:'`
   14870    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14871    (eval "$lt_compile" 2>conftest.err)
   14872    ac_status=$?
   14873    cat conftest.err >&5
   14874    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14875    if (exit $ac_status) && test -s "$ac_outfile"; then
   14876      # The compiler can only warn and ignore the option if not recognized
   14877      # So say no if there are warnings other than the usual output.
   14878      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14879      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14880      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14881        lt_cv_prog_compiler_pic_works_CXX=yes
   14882      fi
   14883    fi
   14884    $RM conftest*
   14885 
   14886 fi
   14887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14888 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14889 
   14890 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14891     case $lt_prog_compiler_pic_CXX in
   14892      "" | " "*) ;;
   14893      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14894      esac
   14895 else
   14896     lt_prog_compiler_pic_CXX=
   14897      lt_prog_compiler_can_build_shared_CXX=no
   14898 fi
   14899 
   14900 fi
   14901 
   14902 
   14903 
   14904 #
   14905 # Check to make sure the static flag actually works.
   14906 #
   14907 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14909 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14910 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   14911   $as_echo_n "(cached) " >&6
   14912 else
   14913   lt_cv_prog_compiler_static_works_CXX=no
   14914    save_LDFLAGS="$LDFLAGS"
   14915    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14916    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14917    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14918      # The linker can only warn and ignore the option if not recognized
   14919      # So say no if there are warnings
   14920      if test -s conftest.err; then
   14921        # Append any errors to the config.log.
   14922        cat conftest.err 1>&5
   14923        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14924        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14925        if diff conftest.exp conftest.er2 >/dev/null; then
   14926          lt_cv_prog_compiler_static_works_CXX=yes
   14927        fi
   14928      else
   14929        lt_cv_prog_compiler_static_works_CXX=yes
   14930      fi
   14931    fi
   14932    $RM -r conftest*
   14933    LDFLAGS="$save_LDFLAGS"
   14934 
   14935 fi
   14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14937 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14938 
   14939 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14940     :
   14941 else
   14942     lt_prog_compiler_static_CXX=
   14943 fi
   14944 
   14945 
   14946 
   14947 
   14948     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14949 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14950 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14951   $as_echo_n "(cached) " >&6
   14952 else
   14953   lt_cv_prog_compiler_c_o_CXX=no
   14954    $RM -r conftest 2>/dev/null
   14955    mkdir conftest
   14956    cd conftest
   14957    mkdir out
   14958    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14959 
   14960    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14961    # Insert the option either (1) after the last *FLAGS variable, or
   14962    # (2) before a word containing "conftest.", or (3) at the end.
   14963    # Note that $ac_compile itself does not contain backslashes and begins
   14964    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14965    lt_compile=`echo "$ac_compile" | $SED \
   14966    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14967    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14968    -e 's:$: $lt_compiler_flag:'`
   14969    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14970    (eval "$lt_compile" 2>out/conftest.err)
   14971    ac_status=$?
   14972    cat out/conftest.err >&5
   14973    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14974    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14975    then
   14976      # The compiler can only warn and ignore the option if not recognized
   14977      # So say no if there are warnings
   14978      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14979      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14980      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14981        lt_cv_prog_compiler_c_o_CXX=yes
   14982      fi
   14983    fi
   14984    chmod u+w . 2>&5
   14985    $RM conftest*
   14986    # SGI C++ compiler will create directory out/ii_files/ for
   14987    # template instantiation
   14988    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14989    $RM out/* && rmdir out
   14990    cd ..
   14991    $RM -r conftest
   14992    $RM conftest*
   14993 
   14994 fi
   14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14996 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14997 
   14998 
   14999 
   15000     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15001 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15002 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   15003   $as_echo_n "(cached) " >&6
   15004 else
   15005   lt_cv_prog_compiler_c_o_CXX=no
   15006    $RM -r conftest 2>/dev/null
   15007    mkdir conftest
   15008    cd conftest
   15009    mkdir out
   15010    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15011 
   15012    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15013    # Insert the option either (1) after the last *FLAGS variable, or
   15014    # (2) before a word containing "conftest.", or (3) at the end.
   15015    # Note that $ac_compile itself does not contain backslashes and begins
   15016    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15017    lt_compile=`echo "$ac_compile" | $SED \
   15018    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15019    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15020    -e 's:$: $lt_compiler_flag:'`
   15021    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15022    (eval "$lt_compile" 2>out/conftest.err)
   15023    ac_status=$?
   15024    cat out/conftest.err >&5
   15025    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15026    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15027    then
   15028      # The compiler can only warn and ignore the option if not recognized
   15029      # So say no if there are warnings
   15030      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15031      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15032      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15033        lt_cv_prog_compiler_c_o_CXX=yes
   15034      fi
   15035    fi
   15036    chmod u+w . 2>&5
   15037    $RM conftest*
   15038    # SGI C++ compiler will create directory out/ii_files/ for
   15039    # template instantiation
   15040    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15041    $RM out/* && rmdir out
   15042    cd ..
   15043    $RM -r conftest
   15044    $RM conftest*
   15045 
   15046 fi
   15047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   15048 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   15049 
   15050 
   15051 
   15052 
   15053 hard_links="nottested"
   15054 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   15055   # do not overwrite the value of need_locks provided by the user
   15056   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15057 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15058   hard_links=yes
   15059   $RM conftest*
   15060   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15061   touch conftest.a
   15062   ln conftest.a conftest.b 2>&5 || hard_links=no
   15063   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15064   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15065 $as_echo "$hard_links" >&6; }
   15066   if test "$hard_links" = no; then
   15067     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   15068 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   15069     need_locks=warn
   15070   fi
   15071 else
   15072   need_locks=no
   15073 fi
   15074 
   15075 
   15076 
   15077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15078 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15079 
   15080   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15081   case $host_os in
   15082   aix[4-9]*)
   15083     # If we're using GNU nm, then we don't want the "-C" option.
   15084     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   15085     # Also, AIX nm treats weak defined symbols like other global defined
   15086     # symbols, whereas GNU nm marks them as "W".
   15087     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15088       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'
   15089     else
   15090       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'
   15091     fi
   15092     ;;
   15093   pw32*)
   15094     export_symbols_cmds_CXX="$ltdll_cmds"
   15095   ;;
   15096   cygwin* | mingw* | cegcc*)
   15097     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'
   15098   ;;
   15099   *)
   15100     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15101   ;;
   15102   esac
   15103   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15104 
   15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   15106 $as_echo "$ld_shlibs_CXX" >&6; }
   15107 test "$ld_shlibs_CXX" = no && can_build_shared=no
   15108 
   15109 with_gnu_ld_CXX=$with_gnu_ld
   15110 
   15111 
   15112 
   15113 
   15114 
   15115 
   15116 #
   15117 # Do we need to explicitly link libc?
   15118 #
   15119 case "x$archive_cmds_need_lc_CXX" in
   15120 x|xyes)
   15121   # Assume -lc should be added
   15122   archive_cmds_need_lc_CXX=yes
   15123 
   15124   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15125     case $archive_cmds_CXX in
   15126     *'~'*)
   15127       # FIXME: we may have to deal with multi-command sequences.
   15128       ;;
   15129     '$CC '*)
   15130       # Test whether the compiler implicitly links with -lc since on some
   15131       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15132       # to ld, don't add -lc before -lgcc.
   15133       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   15134 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15135 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   15136   $as_echo_n "(cached) " >&6
   15137 else
   15138   $RM conftest*
   15139 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15140 
   15141 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   15142   (eval $ac_compile) 2>&5
   15143   ac_status=$?
   15144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15145   test $ac_status = 0; } 2>conftest.err; then
   15146 	  soname=conftest
   15147 	  lib=conftest
   15148 	  libobjs=conftest.$ac_objext
   15149 	  deplibs=
   15150 	  wl=$lt_prog_compiler_wl_CXX
   15151 	  pic_flag=$lt_prog_compiler_pic_CXX
   15152 	  compiler_flags=-v
   15153 	  linker_flags=-v
   15154 	  verstring=
   15155 	  output_objdir=.
   15156 	  libname=conftest
   15157 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   15158 	  allow_undefined_flag_CXX=
   15159 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   15160   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   15161   ac_status=$?
   15162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15163   test $ac_status = 0; }
   15164 	  then
   15165 	    lt_cv_archive_cmds_need_lc_CXX=no
   15166 	  else
   15167 	    lt_cv_archive_cmds_need_lc_CXX=yes
   15168 	  fi
   15169 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   15170 	else
   15171 	  cat conftest.err 1>&5
   15172 	fi
   15173 	$RM conftest*
   15174 
   15175 fi
   15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   15177 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   15178       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   15179       ;;
   15180     esac
   15181   fi
   15182   ;;
   15183 esac
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211 
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 
   15247 
   15248     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   15249 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   15250 
   15251 library_names_spec=
   15252 libname_spec='lib$name'
   15253 soname_spec=
   15254 shrext_cmds=".so"
   15255 postinstall_cmds=
   15256 postuninstall_cmds=
   15257 finish_cmds=
   15258 finish_eval=
   15259 shlibpath_var=
   15260 shlibpath_overrides_runpath=unknown
   15261 version_type=none
   15262 dynamic_linker="$host_os ld.so"
   15263 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   15264 need_lib_prefix=unknown
   15265 hardcode_into_libs=no
   15266 
   15267 # when you set need_version to no, make sure it does not cause -set_version
   15268 # flags to be left without arguments
   15269 need_version=unknown
   15270 
   15271 case $host_os in
   15272 aix3*)
   15273   version_type=linux
   15274   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   15275   shlibpath_var=LIBPATH
   15276 
   15277   # AIX 3 has no versioning support, so we append a major version to the name.
   15278   soname_spec='${libname}${release}${shared_ext}$major'
   15279   ;;
   15280 
   15281 aix[4-9]*)
   15282   version_type=linux
   15283   need_lib_prefix=no
   15284   need_version=no
   15285   hardcode_into_libs=yes
   15286   if test "$host_cpu" = ia64; then
   15287     # AIX 5 supports IA64
   15288     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   15289     shlibpath_var=LD_LIBRARY_PATH
   15290   else
   15291     # With GCC up to 2.95.x, collect2 would create an import file
   15292     # for dependence libraries.  The import file would start with
   15293     # the line `#! .'.  This would cause the generated library to
   15294     # depend on `.', always an invalid library.  This was fixed in
   15295     # development snapshots of GCC prior to 3.0.
   15296     case $host_os in
   15297       aix4 | aix4.[01] | aix4.[01].*)
   15298       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   15299 	   echo ' yes '
   15300 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   15301 	:
   15302       else
   15303 	can_build_shared=no
   15304       fi
   15305       ;;
   15306     esac
   15307     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   15308     # soname into executable. Probably we can add versioning support to
   15309     # collect2, so additional links can be useful in future.
   15310     if test "$aix_use_runtimelinking" = yes; then
   15311       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   15312       # instead of lib<name>.a to let people know that these are not
   15313       # typical AIX shared libraries.
   15314       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15315     else
   15316       # We preserve .a as extension for shared libraries through AIX4.2
   15317       # and later when we are not doing run time linking.
   15318       library_names_spec='${libname}${release}.a $libname.a'
   15319       soname_spec='${libname}${release}${shared_ext}$major'
   15320     fi
   15321     shlibpath_var=LIBPATH
   15322   fi
   15323   ;;
   15324 
   15325 amigaos*)
   15326   case $host_cpu in
   15327   powerpc)
   15328     # Since July 2007 AmigaOS4 officially supports .so libraries.
   15329     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   15330     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15331     ;;
   15332   m68k)
   15333     library_names_spec='$libname.ixlibrary $libname.a'
   15334     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   15335     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'
   15336     ;;
   15337   esac
   15338   ;;
   15339 
   15340 beos*)
   15341   library_names_spec='${libname}${shared_ext}'
   15342   dynamic_linker="$host_os ld.so"
   15343   shlibpath_var=LIBRARY_PATH
   15344   ;;
   15345 
   15346 bsdi[45]*)
   15347   version_type=linux
   15348   need_version=no
   15349   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15350   soname_spec='${libname}${release}${shared_ext}$major'
   15351   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   15352   shlibpath_var=LD_LIBRARY_PATH
   15353   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   15354   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   15355   # the default ld.so.conf also contains /usr/contrib/lib and
   15356   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   15357   # libtool to hard-code these into programs
   15358   ;;
   15359 
   15360 cygwin* | mingw* | pw32* | cegcc*)
   15361   version_type=windows
   15362   shrext_cmds=".dll"
   15363   need_version=no
   15364   need_lib_prefix=no
   15365 
   15366   case $GCC,$host_os in
   15367   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   15368     library_names_spec='$libname.dll.a'
   15369     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   15370     postinstall_cmds='base_file=`basename \${file}`~
   15371       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   15372       dldir=$destdir/`dirname \$dlpath`~
   15373       test -d \$dldir || mkdir -p \$dldir~
   15374       $install_prog $dir/$dlname \$dldir/$dlname~
   15375       chmod a+x \$dldir/$dlname~
   15376       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   15377         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   15378       fi'
   15379     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15380       dlpath=$dir/\$dldll~
   15381        $RM \$dlpath'
   15382     shlibpath_overrides_runpath=yes
   15383 
   15384     case $host_os in
   15385     cygwin*)
   15386       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15387       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15388 
   15389       ;;
   15390     mingw* | cegcc*)
   15391       # MinGW DLLs use traditional 'lib' prefix
   15392       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15393       ;;
   15394     pw32*)
   15395       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15396       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15397       ;;
   15398     esac
   15399     ;;
   15400 
   15401   *)
   15402     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15403     ;;
   15404   esac
   15405   dynamic_linker='Win32 ld.exe'
   15406   # FIXME: first we should search . and the directory the executable is in
   15407   shlibpath_var=PATH
   15408   ;;
   15409 
   15410 darwin* | rhapsody*)
   15411   dynamic_linker="$host_os dyld"
   15412   version_type=darwin
   15413   need_lib_prefix=no
   15414   need_version=no
   15415   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15416   soname_spec='${libname}${release}${major}$shared_ext'
   15417   shlibpath_overrides_runpath=yes
   15418   shlibpath_var=DYLD_LIBRARY_PATH
   15419   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15420 
   15421   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15422   ;;
   15423 
   15424 dgux*)
   15425   version_type=linux
   15426   need_lib_prefix=no
   15427   need_version=no
   15428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15429   soname_spec='${libname}${release}${shared_ext}$major'
   15430   shlibpath_var=LD_LIBRARY_PATH
   15431   ;;
   15432 
   15433 freebsd* | dragonfly*)
   15434   # DragonFly does not have aout.  When/if they implement a new
   15435   # versioning mechanism, adjust this.
   15436   if test -x /usr/bin/objformat; then
   15437     objformat=`/usr/bin/objformat`
   15438   else
   15439     case $host_os in
   15440     freebsd[23].*) objformat=aout ;;
   15441     *) objformat=elf ;;
   15442     esac
   15443   fi
   15444   version_type=freebsd-$objformat
   15445   case $version_type in
   15446     freebsd-elf*)
   15447       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15448       need_version=no
   15449       need_lib_prefix=no
   15450       ;;
   15451     freebsd-*)
   15452       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15453       need_version=yes
   15454       ;;
   15455   esac
   15456   shlibpath_var=LD_LIBRARY_PATH
   15457   case $host_os in
   15458   freebsd2.*)
   15459     shlibpath_overrides_runpath=yes
   15460     ;;
   15461   freebsd3.[01]* | freebsdelf3.[01]*)
   15462     shlibpath_overrides_runpath=yes
   15463     hardcode_into_libs=yes
   15464     ;;
   15465   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15466   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15467     shlibpath_overrides_runpath=no
   15468     hardcode_into_libs=yes
   15469     ;;
   15470   *) # from 4.6 on, and DragonFly
   15471     shlibpath_overrides_runpath=yes
   15472     hardcode_into_libs=yes
   15473     ;;
   15474   esac
   15475   ;;
   15476 
   15477 haiku*)
   15478   version_type=linux
   15479   need_lib_prefix=no
   15480   need_version=no
   15481   dynamic_linker="$host_os runtime_loader"
   15482   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15483   soname_spec='${libname}${release}${shared_ext}$major'
   15484   shlibpath_var=LIBRARY_PATH
   15485   shlibpath_overrides_runpath=yes
   15486   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15487   hardcode_into_libs=yes
   15488   ;;
   15489 
   15490 hpux9* | hpux10* | hpux11*)
   15491   # Give a soname corresponding to the major version so that dld.sl refuses to
   15492   # link against other versions.
   15493   version_type=sunos
   15494   need_lib_prefix=no
   15495   need_version=no
   15496   case $host_cpu in
   15497   ia64*)
   15498     shrext_cmds='.so'
   15499     hardcode_into_libs=yes
   15500     dynamic_linker="$host_os dld.so"
   15501     shlibpath_var=LD_LIBRARY_PATH
   15502     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15503     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15504     soname_spec='${libname}${release}${shared_ext}$major'
   15505     if test "X$HPUX_IA64_MODE" = X32; then
   15506       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15507     else
   15508       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15509     fi
   15510     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15511     ;;
   15512   hppa*64*)
   15513     shrext_cmds='.sl'
   15514     hardcode_into_libs=yes
   15515     dynamic_linker="$host_os dld.sl"
   15516     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15517     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15518     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15519     soname_spec='${libname}${release}${shared_ext}$major'
   15520     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15521     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15522     ;;
   15523   *)
   15524     shrext_cmds='.sl'
   15525     dynamic_linker="$host_os dld.sl"
   15526     shlibpath_var=SHLIB_PATH
   15527     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15528     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15529     soname_spec='${libname}${release}${shared_ext}$major'
   15530     ;;
   15531   esac
   15532   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15533   postinstall_cmds='chmod 555 $lib'
   15534   # or fails outright, so override atomically:
   15535   install_override_mode=555
   15536   ;;
   15537 
   15538 interix[3-9]*)
   15539   version_type=linux
   15540   need_lib_prefix=no
   15541   need_version=no
   15542   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15543   soname_spec='${libname}${release}${shared_ext}$major'
   15544   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15545   shlibpath_var=LD_LIBRARY_PATH
   15546   shlibpath_overrides_runpath=no
   15547   hardcode_into_libs=yes
   15548   ;;
   15549 
   15550 irix5* | irix6* | nonstopux*)
   15551   case $host_os in
   15552     nonstopux*) version_type=nonstopux ;;
   15553     *)
   15554 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15555 		version_type=linux
   15556 	else
   15557 		version_type=irix
   15558 	fi ;;
   15559   esac
   15560   need_lib_prefix=no
   15561   need_version=no
   15562   soname_spec='${libname}${release}${shared_ext}$major'
   15563   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15564   case $host_os in
   15565   irix5* | nonstopux*)
   15566     libsuff= shlibsuff=
   15567     ;;
   15568   *)
   15569     case $LD in # libtool.m4 will add one of these switches to LD
   15570     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15571       libsuff= shlibsuff= libmagic=32-bit;;
   15572     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15573       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15574     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15575       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15576     *) libsuff= shlibsuff= libmagic=never-match;;
   15577     esac
   15578     ;;
   15579   esac
   15580   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15581   shlibpath_overrides_runpath=no
   15582   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15583   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15584   hardcode_into_libs=yes
   15585   ;;
   15586 
   15587 # No shared lib support for Linux oldld, aout, or coff.
   15588 linux*oldld* | linux*aout* | linux*coff*)
   15589   dynamic_linker=no
   15590   ;;
   15591 
   15592 # This must be Linux ELF.
   15593 
   15594 # uclinux* changes (here and below) have been submitted to the libtool
   15595 # project, but have not yet been accepted: they are GCC-local changes
   15596 # for the time being.  (See
   15597 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   15598 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   15599   version_type=linux
   15600   need_lib_prefix=no
   15601   need_version=no
   15602   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15603   soname_spec='${libname}${release}${shared_ext}$major'
   15604   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15605   shlibpath_var=LD_LIBRARY_PATH
   15606   shlibpath_overrides_runpath=no
   15607 
   15608   # Some binutils ld are patched to set DT_RUNPATH
   15609   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15610   $as_echo_n "(cached) " >&6
   15611 else
   15612   lt_cv_shlibpath_overrides_runpath=no
   15613     save_LDFLAGS=$LDFLAGS
   15614     save_libdir=$libdir
   15615     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15616 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15617     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15618 /* end confdefs.h.  */
   15619 
   15620 int
   15621 main ()
   15622 {
   15623 
   15624   ;
   15625   return 0;
   15626 }
   15627 _ACEOF
   15628 if ac_fn_cxx_try_link "$LINENO"; then :
   15629   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15630   lt_cv_shlibpath_overrides_runpath=yes
   15631 fi
   15632 fi
   15633 rm -f core conftest.err conftest.$ac_objext \
   15634     conftest$ac_exeext conftest.$ac_ext
   15635     LDFLAGS=$save_LDFLAGS
   15636     libdir=$save_libdir
   15637 
   15638 fi
   15639 
   15640   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15641 
   15642   # This implies no fast_install, which is unacceptable.
   15643   # Some rework will be needed to allow for fast_install
   15644   # before this can be enabled.
   15645   hardcode_into_libs=yes
   15646 
   15647   # Append ld.so.conf contents to the search path
   15648   if test -f /etc/ld.so.conf; then
   15649     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' ' '`
   15650     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15651   fi
   15652 
   15653   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15654   # powerpc, because MkLinux only supported shared libraries with the
   15655   # GNU dynamic linker.  Since this was broken with cross compilers,
   15656   # most powerpc-linux boxes support dynamic linking these days and
   15657   # people can always --disable-shared, the test was removed, and we
   15658   # assume the GNU/Linux dynamic linker is in use.
   15659   dynamic_linker='GNU/Linux ld.so'
   15660   ;;
   15661 
   15662 netbsd*)
   15663   version_type=sunos
   15664   need_lib_prefix=no
   15665   need_version=no
   15666   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15667     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15668     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15669     dynamic_linker='NetBSD (a.out) ld.so'
   15670   else
   15671     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15672     soname_spec='${libname}${release}${shared_ext}$major'
   15673     dynamic_linker='NetBSD ld.elf_so'
   15674   fi
   15675   shlibpath_var=LD_LIBRARY_PATH
   15676   shlibpath_overrides_runpath=yes
   15677   hardcode_into_libs=yes
   15678   ;;
   15679 
   15680 newsos6)
   15681   version_type=linux
   15682   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15683   shlibpath_var=LD_LIBRARY_PATH
   15684   shlibpath_overrides_runpath=yes
   15685   ;;
   15686 
   15687 *nto* | *qnx*)
   15688   version_type=qnx
   15689   need_lib_prefix=no
   15690   need_version=no
   15691   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15692   soname_spec='${libname}${release}${shared_ext}$major'
   15693   shlibpath_var=LD_LIBRARY_PATH
   15694   shlibpath_overrides_runpath=no
   15695   hardcode_into_libs=yes
   15696   dynamic_linker='ldqnx.so'
   15697   ;;
   15698 
   15699 openbsd*)
   15700   version_type=sunos
   15701   sys_lib_dlsearch_path_spec="/usr/lib"
   15702   need_lib_prefix=no
   15703   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15704   case $host_os in
   15705     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15706     *)				need_version=no  ;;
   15707   esac
   15708   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15709   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15710   shlibpath_var=LD_LIBRARY_PATH
   15711   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15712     case $host_os in
   15713       openbsd2.[89] | openbsd2.[89].*)
   15714 	shlibpath_overrides_runpath=no
   15715 	;;
   15716       *)
   15717 	shlibpath_overrides_runpath=yes
   15718 	;;
   15719       esac
   15720   else
   15721     shlibpath_overrides_runpath=yes
   15722   fi
   15723   ;;
   15724 
   15725 os2*)
   15726   libname_spec='$name'
   15727   shrext_cmds=".dll"
   15728   need_lib_prefix=no
   15729   library_names_spec='$libname${shared_ext} $libname.a'
   15730   dynamic_linker='OS/2 ld.exe'
   15731   shlibpath_var=LIBPATH
   15732   ;;
   15733 
   15734 osf3* | osf4* | osf5*)
   15735   version_type=osf
   15736   need_lib_prefix=no
   15737   need_version=no
   15738   soname_spec='${libname}${release}${shared_ext}$major'
   15739   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15740   shlibpath_var=LD_LIBRARY_PATH
   15741   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15742   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15743   ;;
   15744 
   15745 rdos*)
   15746   dynamic_linker=no
   15747   ;;
   15748 
   15749 solaris*)
   15750   version_type=linux
   15751   need_lib_prefix=no
   15752   need_version=no
   15753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15754   soname_spec='${libname}${release}${shared_ext}$major'
   15755   shlibpath_var=LD_LIBRARY_PATH
   15756   shlibpath_overrides_runpath=yes
   15757   hardcode_into_libs=yes
   15758   # ldd complains unless libraries are executable
   15759   postinstall_cmds='chmod +x $lib'
   15760   ;;
   15761 
   15762 sunos4*)
   15763   version_type=sunos
   15764   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15765   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15766   shlibpath_var=LD_LIBRARY_PATH
   15767   shlibpath_overrides_runpath=yes
   15768   if test "$with_gnu_ld" = yes; then
   15769     need_lib_prefix=no
   15770   fi
   15771   need_version=yes
   15772   ;;
   15773 
   15774 sysv4 | sysv4.3*)
   15775   version_type=linux
   15776   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15777   soname_spec='${libname}${release}${shared_ext}$major'
   15778   shlibpath_var=LD_LIBRARY_PATH
   15779   case $host_vendor in
   15780     sni)
   15781       shlibpath_overrides_runpath=no
   15782       need_lib_prefix=no
   15783       runpath_var=LD_RUN_PATH
   15784       ;;
   15785     siemens)
   15786       need_lib_prefix=no
   15787       ;;
   15788     motorola)
   15789       need_lib_prefix=no
   15790       need_version=no
   15791       shlibpath_overrides_runpath=no
   15792       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15793       ;;
   15794   esac
   15795   ;;
   15796 
   15797 sysv4*MP*)
   15798   if test -d /usr/nec ;then
   15799     version_type=linux
   15800     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15801     soname_spec='$libname${shared_ext}.$major'
   15802     shlibpath_var=LD_LIBRARY_PATH
   15803   fi
   15804   ;;
   15805 
   15806 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15807   version_type=freebsd-elf
   15808   need_lib_prefix=no
   15809   need_version=no
   15810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15811   soname_spec='${libname}${release}${shared_ext}$major'
   15812   shlibpath_var=LD_LIBRARY_PATH
   15813   shlibpath_overrides_runpath=yes
   15814   hardcode_into_libs=yes
   15815   if test "$with_gnu_ld" = yes; then
   15816     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15817   else
   15818     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15819     case $host_os in
   15820       sco3.2v5*)
   15821         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15822 	;;
   15823     esac
   15824   fi
   15825   sys_lib_dlsearch_path_spec='/usr/lib'
   15826   ;;
   15827 
   15828 tpf*)
   15829   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15830   version_type=linux
   15831   need_lib_prefix=no
   15832   need_version=no
   15833   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15834   shlibpath_var=LD_LIBRARY_PATH
   15835   shlibpath_overrides_runpath=no
   15836   hardcode_into_libs=yes
   15837   ;;
   15838 
   15839 uts4*)
   15840   version_type=linux
   15841   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15842   soname_spec='${libname}${release}${shared_ext}$major'
   15843   shlibpath_var=LD_LIBRARY_PATH
   15844   ;;
   15845 
   15846 # Shared libraries for VwWorks, >= 7 only at this stage
   15847 # and (fpic) still incompatible with "large" code models
   15848 # in a few configurations. Only for RTP mode in any case,
   15849 # and upon explicit request at configure time.
   15850 vxworks7*)
   15851   dynamic_linker=no
   15852   case ${with_multisubdir}-${enable_shared} in
   15853     *large*)
   15854       ;;
   15855     *mrtp*-yes)
   15856       version_type=linux
   15857       need_lib_prefix=no
   15858       need_version=no
   15859       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15860       soname_spec='${libname}${release}${shared_ext}$major'
   15861       dynamic_linker="$host_os module_loader"
   15862       ;;
   15863   esac
   15864   ;;
   15865 *)
   15866   dynamic_linker=no
   15867   ;;
   15868 esac
   15869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15870 $as_echo "$dynamic_linker" >&6; }
   15871 test "$dynamic_linker" = no && can_build_shared=no
   15872 
   15873 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15874 if test "$GCC" = yes; then
   15875   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15876 fi
   15877 
   15878 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15879   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15880 fi
   15881 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15882   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15883 fi
   15884 
   15885 
   15886 
   15887 
   15888 
   15889 
   15890 
   15891 
   15892 
   15893 
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 
   15914 
   15915 
   15916 
   15917 
   15918 
   15919 
   15920 
   15921 
   15922     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15923 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15924 hardcode_action_CXX=
   15925 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   15926    test -n "$runpath_var_CXX" ||
   15927    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   15928 
   15929   # We can hardcode non-existent directories.
   15930   if test "$hardcode_direct_CXX" != no &&
   15931      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15932      # have to relink, otherwise we might link with an installed library
   15933      # when we should be linking with a yet-to-be-installed one
   15934      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   15935      test "$hardcode_minus_L_CXX" != no; then
   15936     # Linking always hardcodes the temporary library directory.
   15937     hardcode_action_CXX=relink
   15938   else
   15939     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15940     hardcode_action_CXX=immediate
   15941   fi
   15942 else
   15943   # We cannot hardcode anything, or else we can only hardcode existing
   15944   # directories.
   15945   hardcode_action_CXX=unsupported
   15946 fi
   15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   15948 $as_echo "$hardcode_action_CXX" >&6; }
   15949 
   15950 if test "$hardcode_action_CXX" = relink ||
   15951    test "$inherit_rpath_CXX" = yes; then
   15952   # Fast installation is not supported
   15953   enable_fast_install=no
   15954 elif test "$shlibpath_overrides_runpath" = yes ||
   15955      test "$enable_shared" = no; then
   15956   # Fast installation is not necessary
   15957   enable_fast_install=needless
   15958 fi
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966   fi # test -n "$compiler"
   15967 
   15968   CC=$lt_save_CC
   15969   LDCXX=$LD
   15970   LD=$lt_save_LD
   15971   GCC=$lt_save_GCC
   15972   with_gnu_ld=$lt_save_with_gnu_ld
   15973   lt_cv_path_LDCXX=$lt_cv_path_LD
   15974   lt_cv_path_LD=$lt_save_path_LD
   15975   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   15976   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   15977 fi # test "$_lt_caught_CXX_error" != yes
   15978 
   15979 ac_ext=c
   15980 ac_cpp='$CPP $CPPFLAGS'
   15981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997         ac_config_commands="$ac_config_commands libtool"
   15998 
   15999 
   16000 
   16001 
   16002 # Only expand once:
   16003 
   16004 
   16005  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   16006 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   16007 if ${ac_cv_c_bigendian+:} false; then :
   16008   $as_echo_n "(cached) " >&6
   16009 else
   16010   ac_cv_c_bigendian=unknown
   16011     # See if we're dealing with a universal compiler.
   16012     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16013 /* end confdefs.h.  */
   16014 #ifndef __APPLE_CC__
   16015 	       not a universal capable compiler
   16016 	     #endif
   16017 	     typedef int dummy;
   16018 
   16019 _ACEOF
   16020 if ac_fn_c_try_compile "$LINENO"; then :
   16021 
   16022 	# Check for potential -arch flags.  It is not universal unless
   16023 	# there are at least two -arch flags with different values.
   16024 	ac_arch=
   16025 	ac_prev=
   16026 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   16027 	 if test -n "$ac_prev"; then
   16028 	   case $ac_word in
   16029 	     i?86 | x86_64 | ppc | ppc64)
   16030 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   16031 		 ac_arch=$ac_word
   16032 	       else
   16033 		 ac_cv_c_bigendian=universal
   16034 		 break
   16035 	       fi
   16036 	       ;;
   16037 	   esac
   16038 	   ac_prev=
   16039 	 elif test "x$ac_word" = "x-arch"; then
   16040 	   ac_prev=arch
   16041 	 fi
   16042        done
   16043 fi
   16044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16045     if test $ac_cv_c_bigendian = unknown; then
   16046       # See if sys/param.h defines the BYTE_ORDER macro.
   16047       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16048 /* end confdefs.h.  */
   16049 #include <sys/types.h>
   16050 	     #include <sys/param.h>
   16051 
   16052 int
   16053 main ()
   16054 {
   16055 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   16056 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   16057 		     && LITTLE_ENDIAN)
   16058 	      bogus endian macros
   16059 	     #endif
   16060 
   16061   ;
   16062   return 0;
   16063 }
   16064 _ACEOF
   16065 if ac_fn_c_try_compile "$LINENO"; then :
   16066   # It does; now see whether it defined to BIG_ENDIAN or not.
   16067 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16068 /* end confdefs.h.  */
   16069 #include <sys/types.h>
   16070 		#include <sys/param.h>
   16071 
   16072 int
   16073 main ()
   16074 {
   16075 #if BYTE_ORDER != BIG_ENDIAN
   16076 		 not big endian
   16077 		#endif
   16078 
   16079   ;
   16080   return 0;
   16081 }
   16082 _ACEOF
   16083 if ac_fn_c_try_compile "$LINENO"; then :
   16084   ac_cv_c_bigendian=yes
   16085 else
   16086   ac_cv_c_bigendian=no
   16087 fi
   16088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16089 fi
   16090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16091     fi
   16092     if test $ac_cv_c_bigendian = unknown; then
   16093       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   16094       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16095 /* end confdefs.h.  */
   16096 #include <limits.h>
   16097 
   16098 int
   16099 main ()
   16100 {
   16101 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   16102 	      bogus endian macros
   16103 	     #endif
   16104 
   16105   ;
   16106   return 0;
   16107 }
   16108 _ACEOF
   16109 if ac_fn_c_try_compile "$LINENO"; then :
   16110   # It does; now see whether it defined to _BIG_ENDIAN or not.
   16111 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16112 /* end confdefs.h.  */
   16113 #include <limits.h>
   16114 
   16115 int
   16116 main ()
   16117 {
   16118 #ifndef _BIG_ENDIAN
   16119 		 not big endian
   16120 		#endif
   16121 
   16122   ;
   16123   return 0;
   16124 }
   16125 _ACEOF
   16126 if ac_fn_c_try_compile "$LINENO"; then :
   16127   ac_cv_c_bigendian=yes
   16128 else
   16129   ac_cv_c_bigendian=no
   16130 fi
   16131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16132 fi
   16133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16134     fi
   16135     if test $ac_cv_c_bigendian = unknown; then
   16136       # Compile a test program.
   16137       if test "$cross_compiling" = yes; then :
   16138   # Try to guess by grepping values from an object file.
   16139 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16140 /* end confdefs.h.  */
   16141 short int ascii_mm[] =
   16142 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   16143 		short int ascii_ii[] =
   16144 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   16145 		int use_ascii (int i) {
   16146 		  return ascii_mm[i] + ascii_ii[i];
   16147 		}
   16148 		short int ebcdic_ii[] =
   16149 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   16150 		short int ebcdic_mm[] =
   16151 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   16152 		int use_ebcdic (int i) {
   16153 		  return ebcdic_mm[i] + ebcdic_ii[i];
   16154 		}
   16155 		extern int foo;
   16156 
   16157 int
   16158 main ()
   16159 {
   16160 return use_ascii (foo) == use_ebcdic (foo);
   16161   ;
   16162   return 0;
   16163 }
   16164 _ACEOF
   16165 if ac_fn_c_try_compile "$LINENO"; then :
   16166   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   16167 	      ac_cv_c_bigendian=yes
   16168 	    fi
   16169 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   16170 	      if test "$ac_cv_c_bigendian" = unknown; then
   16171 		ac_cv_c_bigendian=no
   16172 	      else
   16173 		# finding both strings is unlikely to happen, but who knows?
   16174 		ac_cv_c_bigendian=unknown
   16175 	      fi
   16176 	    fi
   16177 fi
   16178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16179 else
   16180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16181 /* end confdefs.h.  */
   16182 $ac_includes_default
   16183 int
   16184 main ()
   16185 {
   16186 
   16187 	     /* Are we little or big endian?  From Harbison&Steele.  */
   16188 	     union
   16189 	     {
   16190 	       long int l;
   16191 	       char c[sizeof (long int)];
   16192 	     } u;
   16193 	     u.l = 1;
   16194 	     return u.c[sizeof (long int) - 1] == 1;
   16195 
   16196   ;
   16197   return 0;
   16198 }
   16199 _ACEOF
   16200 if ac_fn_c_try_run "$LINENO"; then :
   16201   ac_cv_c_bigendian=no
   16202 else
   16203   ac_cv_c_bigendian=yes
   16204 fi
   16205 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   16206   conftest.$ac_objext conftest.beam conftest.$ac_ext
   16207 fi
   16208 
   16209     fi
   16210 fi
   16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   16212 $as_echo "$ac_cv_c_bigendian" >&6; }
   16213  case $ac_cv_c_bigendian in #(
   16214    yes)
   16215      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   16216 ;; #(
   16217    no)
   16218       ;; #(
   16219    universal)
   16220 
   16221 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   16222 
   16223      ;; #(
   16224    *)
   16225      as_fn_error $? "unknown endianness
   16226  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   16227  esac
   16228 
   16229 
   16230 GPROFNG_LIBADD="-L../../libiberty -liberty"
   16231 if test "$enable_shared" = "yes"; then
   16232   GPROFNG_LIBADD="-L../../libiberty/pic -liberty"
   16233 fi
   16234 
   16235 
   16236 # Figure out what compiler warnings we can enable.
   16237 # See config/warnings.m4 for details.
   16238 
   16239 ac_ext=c
   16240 ac_cpp='$CPP $CPPFLAGS'
   16241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16244 
   16245 WERROR=
   16246 # Check whether --enable-werror-always was given.
   16247 if test "${enable_werror_always+set}" = set; then :
   16248   enableval=$enable_werror_always;
   16249 else
   16250   enable_werror_always=no
   16251 fi
   16252 
   16253 if test $enable_werror_always = yes; then :
   16254   WERROR="$WERROR${WERROR:+ }-Werror"
   16255 fi
   16256 
   16257 ac_ext=c
   16258 ac_cpp='$CPP $CPPFLAGS'
   16259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16262 
   16263 
   16264 ac_ext=c
   16265 ac_cpp='$CPP $CPPFLAGS'
   16266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16269 
   16270 gprofng_cflags=
   16271 save_CFLAGS="$CFLAGS"
   16272 for real_option in -Wall; do
   16273   # Do the check with the no- prefix removed since gcc silently
   16274   # accepts any -Wno-* option on purpose
   16275   case $real_option in
   16276     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   16277     *) option=$real_option ;;
   16278   esac
   16279   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   16280 
   16281   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   16282 $as_echo_n "checking whether $CC supports $option... " >&6; }
   16283 if eval \${$as_acx_Woption+:} false; then :
   16284   $as_echo_n "(cached) " >&6
   16285 else
   16286   CFLAGS="$option"
   16287     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16288 /* end confdefs.h.  */
   16289 
   16290 int
   16291 main ()
   16292 {
   16293 
   16294   ;
   16295   return 0;
   16296 }
   16297 _ACEOF
   16298 if ac_fn_c_try_compile "$LINENO"; then :
   16299   eval "$as_acx_Woption=yes"
   16300 else
   16301   eval "$as_acx_Woption=no"
   16302 fi
   16303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16304 
   16305 fi
   16306 eval ac_res=\$$as_acx_Woption
   16307 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   16308 $as_echo "$ac_res" >&6; }
   16309   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   16310   gprofng_cflags="$gprofng_cflags${gprofng_cflags:+ }$real_option"
   16311 fi
   16312   done
   16313 CFLAGS="$save_CFLAGS"
   16314 ac_ext=c
   16315 ac_cpp='$CPP $CPPFLAGS'
   16316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16319 
   16320 
   16321 # LTO is disabled until PR32092 is fixed
   16322 ac_ext=c
   16323 ac_cpp='$CPP $CPPFLAGS'
   16324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16327 
   16328 nolto_cflags=
   16329 save_CFLAGS="$CFLAGS"
   16330 for real_option in -fno-lto; do
   16331   # Do the check with the no- prefix removed since gcc silently
   16332   # accepts any -Wno-* option on purpose
   16333   case $real_option in
   16334     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   16335     *) option=$real_option ;;
   16336   esac
   16337   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   16338 
   16339   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   16340 $as_echo_n "checking whether $CC supports $option... " >&6; }
   16341 if eval \${$as_acx_Woption+:} false; then :
   16342   $as_echo_n "(cached) " >&6
   16343 else
   16344   CFLAGS="$option"
   16345     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16346 /* end confdefs.h.  */
   16347 
   16348 int
   16349 main ()
   16350 {
   16351 
   16352   ;
   16353   return 0;
   16354 }
   16355 _ACEOF
   16356 if ac_fn_c_try_compile "$LINENO"; then :
   16357   eval "$as_acx_Woption=yes"
   16358 else
   16359   eval "$as_acx_Woption=no"
   16360 fi
   16361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16362 
   16363 fi
   16364 eval ac_res=\$$as_acx_Woption
   16365 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   16366 $as_echo "$ac_res" >&6; }
   16367   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   16368   nolto_cflags="$nolto_cflags${nolto_cflags:+ }$real_option"
   16369 fi
   16370   done
   16371 CFLAGS="$save_CFLAGS"
   16372 ac_ext=c
   16373 ac_cpp='$CPP $CPPFLAGS'
   16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16377 
   16378 
   16379 ac_ext=c
   16380 ac_cpp='$CPP $CPPFLAGS'
   16381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16384 
   16385 GPROFNG_NO_SWITCH_CFLAGS=
   16386 save_CFLAGS="$CFLAGS"
   16387 for real_option in -Wno-switch; do
   16388   # Do the check with the no- prefix removed since gcc silently
   16389   # accepts any -Wno-* option on purpose
   16390   case $real_option in
   16391     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   16392     *) option=$real_option ;;
   16393   esac
   16394   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   16395 
   16396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   16397 $as_echo_n "checking whether $CC supports $option... " >&6; }
   16398 if eval \${$as_acx_Woption+:} false; then :
   16399   $as_echo_n "(cached) " >&6
   16400 else
   16401   CFLAGS="$option"
   16402     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16403 /* end confdefs.h.  */
   16404 
   16405 int
   16406 main ()
   16407 {
   16408 
   16409   ;
   16410   return 0;
   16411 }
   16412 _ACEOF
   16413 if ac_fn_c_try_compile "$LINENO"; then :
   16414   eval "$as_acx_Woption=yes"
   16415 else
   16416   eval "$as_acx_Woption=no"
   16417 fi
   16418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16419 
   16420 fi
   16421 eval ac_res=\$$as_acx_Woption
   16422 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   16423 $as_echo "$ac_res" >&6; }
   16424   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   16425   GPROFNG_NO_SWITCH_CFLAGS="$GPROFNG_NO_SWITCH_CFLAGS${GPROFNG_NO_SWITCH_CFLAGS:+ }$real_option"
   16426 fi
   16427   done
   16428 CFLAGS="$save_CFLAGS"
   16429 ac_ext=c
   16430 ac_cpp='$CPP $CPPFLAGS'
   16431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16434 
   16435 
   16436 gprofng_cppflags="-U_ASM"
   16437 build_collector=
   16438 build_src=
   16439 
   16440   case "${host}" in
   16441     x86_64-*-linux*)
   16442       build_src=true
   16443       build_collector=true
   16444       ;;
   16445     i?86-*-linux*)
   16446       build_src=true
   16447       build_collector=true
   16448       ;;
   16449     aarch64-*-linux*)
   16450       build_src=true
   16451       build_collector=true
   16452       ;;
   16453     riscv*-*-linux*)
   16454       build_src=true
   16455       build_collector=true
   16456       ;;
   16457   esac
   16458   # Check whether --enable-gprofng-tools was given.
   16459 if test "${enable_gprofng_tools+set}" = set; then :
   16460   enableval=$enable_gprofng_tools; build_src=$enableval
   16461 fi
   16462 
   16463 
   16464  if test x$build_collector = xtrue; then
   16465   BUILD_COLLECTOR_TRUE=
   16466   BUILD_COLLECTOR_FALSE='#'
   16467 else
   16468   BUILD_COLLECTOR_TRUE='#'
   16469   BUILD_COLLECTOR_FALSE=
   16470 fi
   16471 
   16472  if test x$build_src = xtrue; then
   16473   BUILD_SRC_TRUE=
   16474   BUILD_SRC_FALSE='#'
   16475 else
   16476   BUILD_SRC_TRUE='#'
   16477   BUILD_SRC_FALSE=
   16478 fi
   16479 
   16480 
   16481 if test x$build_collector = xtrue; then
   16482 
   16483 
   16484 subdirs="$subdirs libcollector"
   16485 
   16486 fi
   16487 
   16488 
   16489 
   16490 
   16491 ac_ext=c
   16492 ac_cpp='$CPP $CPPFLAGS'
   16493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16496 
   16497 ax_pthread_ok=no
   16498 
   16499 # We used to check for pthread.h first, but this fails if pthread.h
   16500 # requires special compiler flags (e.g. on Tru64 or Sequent).
   16501 # It gets checked for in the link test anyway.
   16502 
   16503 # First of all, check if the user has set any of the PTHREAD_LIBS,
   16504 # etcetera environment variables, and if threads linking works using
   16505 # them:
   16506 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   16507         ax_pthread_save_CC="$CC"
   16508         ax_pthread_save_CFLAGS="$CFLAGS"
   16509         ax_pthread_save_LIBS="$LIBS"
   16510         if test "x$PTHREAD_CC" != "x"; then :
   16511   CC="$PTHREAD_CC"
   16512 fi
   16513         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16514         LIBS="$PTHREAD_LIBS $LIBS"
   16515         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   16516 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   16517         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16518 /* end confdefs.h.  */
   16519 
   16520 /* Override any GCC internal prototype to avoid an error.
   16521    Use char because int might match the return type of a GCC
   16522    builtin and then its argument prototype would still apply.  */
   16523 #ifdef __cplusplus
   16524 extern "C"
   16525 #endif
   16526 char pthread_join ();
   16527 int
   16528 main ()
   16529 {
   16530 return pthread_join ();
   16531   ;
   16532   return 0;
   16533 }
   16534 _ACEOF
   16535 if ac_fn_c_try_link "$LINENO"; then :
   16536   ax_pthread_ok=yes
   16537 fi
   16538 rm -f core conftest.err conftest.$ac_objext \
   16539     conftest$ac_exeext conftest.$ac_ext
   16540         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   16541 $as_echo "$ax_pthread_ok" >&6; }
   16542         if test "x$ax_pthread_ok" = "xno"; then
   16543                 PTHREAD_LIBS=""
   16544                 PTHREAD_CFLAGS=""
   16545         fi
   16546         CC="$ax_pthread_save_CC"
   16547         CFLAGS="$ax_pthread_save_CFLAGS"
   16548         LIBS="$ax_pthread_save_LIBS"
   16549 fi
   16550 
   16551 # We must check for the threads library under a number of different
   16552 # names; the ordering is very important because some systems
   16553 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   16554 # libraries is broken (non-POSIX).
   16555 
   16556 # Create a list of thread flags to try.  Items starting with a "-" are
   16557 # C compiler flags, and other items are library names, except for "none"
   16558 # which indicates that we try without any flags at all, and "pthread-config"
   16559 # which is a program returning the flags for the Pth emulation library.
   16560 
   16561 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   16562 
   16563 # The ordering *is* (sometimes) important.  Some notes on the
   16564 # individual items follow:
   16565 
   16566 # pthreads: AIX (must check this before -lpthread)
   16567 # none: in case threads are in libc; should be tried before -Kthread and
   16568 #       other compiler flags to prevent continual compiler warnings
   16569 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   16570 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   16571 #           (Note: HP C rejects this with "bad form for `-t' option")
   16572 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   16573 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   16574 #      doesn't hurt to check since this sometimes defines pthreads and
   16575 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   16576 #      is present but should not be used directly; and before -mthreads,
   16577 #      because the compiler interprets this as "-mt" + "-hreads")
   16578 # -mthreads: Mingw32/gcc, Lynx/gcc
   16579 # pthread: Linux, etcetera
   16580 # --thread-safe: KAI C++
   16581 # pthread-config: use pthread-config program (for GNU Pth library)
   16582 
   16583 case $host_os in
   16584 
   16585         freebsd*)
   16586 
   16587         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   16588         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   16589 
   16590         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   16591         ;;
   16592 
   16593         hpux*)
   16594 
   16595         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   16596         # multi-threading and also sets -lpthread."
   16597 
   16598         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   16599         ;;
   16600 
   16601         openedition*)
   16602 
   16603         # IBM z/OS requires a feature-test macro to be defined in order to
   16604         # enable POSIX threads at all, so give the user a hint if this is
   16605         # not set. (We don't define these ourselves, as they can affect
   16606         # other portions of the system API in unpredictable ways.)
   16607 
   16608         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16609 /* end confdefs.h.  */
   16610 
   16611 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   16612              AX_PTHREAD_ZOS_MISSING
   16613 #            endif
   16614 
   16615 _ACEOF
   16616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16617   $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
   16618   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
   16619 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   16620 fi
   16621 rm -f conftest*
   16622 
   16623         ;;
   16624 
   16625         solaris*)
   16626 
   16627         # On Solaris (at least, for some versions), libc contains stubbed
   16628         # (non-functional) versions of the pthreads routines, so link-based
   16629         # tests will erroneously succeed. (N.B.: The stubs are missing
   16630         # pthread_cleanup_push, or rather a function called by this macro,
   16631         # so we could check for that, but who knows whether they'll stub
   16632         # that too in a future libc.)  So we'll check first for the
   16633         # standard Solaris way of linking pthreads (-mt -lpthread).
   16634 
   16635         ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
   16636         ;;
   16637 esac
   16638 
   16639 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   16640 
   16641 if test "x$GCC" = "xyes"; then :
   16642   ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
   16643 fi
   16644 
   16645 # The presence of a feature test macro requesting re-entrant function
   16646 # definitions is, on some systems, a strong hint that pthreads support is
   16647 # correctly enabled
   16648 
   16649 case $host_os in
   16650         darwin* | hpux* | linux* | osf* | solaris*)
   16651         ax_pthread_check_macro="_REENTRANT"
   16652         ;;
   16653 
   16654         aix*)
   16655         ax_pthread_check_macro="_THREAD_SAFE"
   16656         ;;
   16657 
   16658         *)
   16659         ax_pthread_check_macro="--"
   16660         ;;
   16661 esac
   16662 if test "x$ax_pthread_check_macro" = "x--"; then :
   16663   ax_pthread_check_cond=0
   16664 else
   16665   ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
   16666 fi
   16667 
   16668 # Are we compiling with Clang?
   16669 
   16670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   16671 $as_echo_n "checking whether $CC is Clang... " >&6; }
   16672 if ${ax_cv_PTHREAD_CLANG+:} false; then :
   16673   $as_echo_n "(cached) " >&6
   16674 else
   16675   ax_cv_PTHREAD_CLANG=no
   16676      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   16677      if test "x$GCC" = "xyes"; then
   16678         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16679 /* end confdefs.h.  */
   16680 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   16681 #            if defined(__clang__) && defined(__llvm__)
   16682              AX_PTHREAD_CC_IS_CLANG
   16683 #            endif
   16684 
   16685 _ACEOF
   16686 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16687   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
   16688   ax_cv_PTHREAD_CLANG=yes
   16689 fi
   16690 rm -f conftest*
   16691 
   16692      fi
   16693 
   16694 fi
   16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   16696 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
   16697 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   16698 
   16699 ax_pthread_clang_warning=no
   16700 
   16701 # Clang needs special handling, because older versions handle the -pthread
   16702 # option in a rather... idiosyncratic way
   16703 
   16704 if test "x$ax_pthread_clang" = "xyes"; then
   16705 
   16706         # Clang takes -pthread; it has never supported any other flag
   16707 
   16708         # (Note 1: This will need to be revisited if a system that Clang
   16709         # supports has POSIX threads in a separate library.  This tends not
   16710         # to be the way of modern systems, but it's conceivable.)
   16711 
   16712         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   16713         # to get POSIX threads support; the API is always present and
   16714         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   16715         # -pthread does define _REENTRANT, and while the Darwin headers
   16716         # ignore this macro, third-party headers might not.)
   16717 
   16718         PTHREAD_CFLAGS="-pthread"
   16719         PTHREAD_LIBS=
   16720 
   16721         ax_pthread_ok=yes
   16722 
   16723         # However, older versions of Clang make a point of warning the user
   16724         # that, in an invocation where only linking and no compilation is
   16725         # taking place, the -pthread option has no effect ("argument unused
   16726         # during compilation").  They expect -pthread to be passed in only
   16727         # when source code is being compiled.
   16728         #
   16729         # Problem is, this is at odds with the way Automake and most other
   16730         # C build frameworks function, which is that the same flags used in
   16731         # compilation (CFLAGS) are also used in linking.  Many systems
   16732         # supported by AX_PTHREAD require exactly this for POSIX threads
   16733         # support, and in fact it is often not straightforward to specify a
   16734         # flag that is used only in the compilation phase and not in
   16735         # linking.  Such a scenario is extremely rare in practice.
   16736         #
   16737         # Even though use of the -pthread flag in linking would only print
   16738         # a warning, this can be a nuisance for well-run software projects
   16739         # that build with -Werror.  So if the active version of Clang has
   16740         # this misfeature, we search for an option to squash it.
   16741 
   16742         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   16743 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   16744 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
   16745   $as_echo_n "(cached) " >&6
   16746 else
   16747   ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   16748              # Create an alternate version of $ac_link that compiles and
   16749              # links in two steps (.c -> .o, .o -> exe) instead of one
   16750              # (.c -> exe), because the warning occurs only in the second
   16751              # step
   16752              ax_pthread_save_ac_link="$ac_link"
   16753              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   16754              ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
   16755              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   16756              ax_pthread_save_CFLAGS="$CFLAGS"
   16757              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   16758                 if test "x$ax_pthread_try" = "xunknown"; then :
   16759   break
   16760 fi
   16761                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   16762                 ac_link="$ax_pthread_save_ac_link"
   16763                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16764 /* end confdefs.h.  */
   16765 int main(void){return 0;}
   16766 _ACEOF
   16767 if ac_fn_c_try_link "$LINENO"; then :
   16768   ac_link="$ax_pthread_2step_ac_link"
   16769                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16770 /* end confdefs.h.  */
   16771 int main(void){return 0;}
   16772 _ACEOF
   16773 if ac_fn_c_try_link "$LINENO"; then :
   16774   break
   16775 fi
   16776 rm -f core conftest.err conftest.$ac_objext \
   16777     conftest$ac_exeext conftest.$ac_ext
   16778 
   16779 fi
   16780 rm -f core conftest.err conftest.$ac_objext \
   16781     conftest$ac_exeext conftest.$ac_ext
   16782              done
   16783              ac_link="$ax_pthread_save_ac_link"
   16784              CFLAGS="$ax_pthread_save_CFLAGS"
   16785              if test "x$ax_pthread_try" = "x"; then :
   16786   ax_pthread_try=no
   16787 fi
   16788              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   16789 
   16790 fi
   16791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   16792 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   16793 
   16794         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   16795                 no | unknown) ;;
   16796                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   16797         esac
   16798 
   16799 fi # $ax_pthread_clang = yes
   16800 
   16801 if test "x$ax_pthread_ok" = "xno"; then
   16802 for ax_pthread_try_flag in $ax_pthread_flags; do
   16803 
   16804         case $ax_pthread_try_flag in
   16805                 none)
   16806                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   16807 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   16808                 ;;
   16809 
   16810                 -mt,pthread)
   16811                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
   16812 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
   16813                 PTHREAD_CFLAGS="-mt"
   16814                 PTHREAD_LIBS="-lpthread"
   16815                 ;;
   16816 
   16817                 -*)
   16818                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   16819 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   16820                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   16821                 ;;
   16822 
   16823                 pthread-config)
   16824                 # Extract the first word of "pthread-config", so it can be a program name with args.
   16825 set dummy pthread-config; ac_word=$2
   16826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16827 $as_echo_n "checking for $ac_word... " >&6; }
   16828 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   16829   $as_echo_n "(cached) " >&6
   16830 else
   16831   if test -n "$ax_pthread_config"; then
   16832   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   16833 else
   16834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16835 for as_dir in $PATH
   16836 do
   16837   IFS=$as_save_IFS
   16838   test -z "$as_dir" && as_dir=.
   16839     for ac_exec_ext in '' $ac_executable_extensions; do
   16840   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16841     ac_cv_prog_ax_pthread_config="yes"
   16842     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16843     break 2
   16844   fi
   16845 done
   16846   done
   16847 IFS=$as_save_IFS
   16848 
   16849   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   16850 fi
   16851 fi
   16852 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   16853 if test -n "$ax_pthread_config"; then
   16854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   16855 $as_echo "$ax_pthread_config" >&6; }
   16856 else
   16857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16858 $as_echo "no" >&6; }
   16859 fi
   16860 
   16861 
   16862                 if test "x$ax_pthread_config" = "xno"; then :
   16863   continue
   16864 fi
   16865                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   16866                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   16867                 ;;
   16868 
   16869                 *)
   16870                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   16871 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   16872                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   16873                 ;;
   16874         esac
   16875 
   16876         ax_pthread_save_CFLAGS="$CFLAGS"
   16877         ax_pthread_save_LIBS="$LIBS"
   16878         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16879         LIBS="$PTHREAD_LIBS $LIBS"
   16880 
   16881         # Check for various functions.  We must include pthread.h,
   16882         # since some functions may be macros.  (On the Sequent, we
   16883         # need a special flag -Kthread to make this header compile.)
   16884         # We check for pthread_join because it is in -lpthread on IRIX
   16885         # while pthread_create is in libc.  We check for pthread_attr_init
   16886         # due to DEC craziness with -lpthreads.  We check for
   16887         # pthread_cleanup_push because it is one of the few pthread
   16888         # functions on Solaris that doesn't have a non-functional libc stub.
   16889         # We try pthread_create on general principles.
   16890 
   16891         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16892 /* end confdefs.h.  */
   16893 #include <pthread.h>
   16894 #                       if $ax_pthread_check_cond
   16895 #                        error "$ax_pthread_check_macro must be defined"
   16896 #                       endif
   16897                         static void routine(void *a) { a = 0; }
   16898                         static void *start_routine(void *a) { return a; }
   16899 int
   16900 main ()
   16901 {
   16902 pthread_t th; pthread_attr_t attr;
   16903                         pthread_create(&th, 0, start_routine, 0);
   16904                         pthread_join(th, 0);
   16905                         pthread_attr_init(&attr);
   16906                         pthread_cleanup_push(routine, 0);
   16907                         pthread_cleanup_pop(0) /* ; */
   16908   ;
   16909   return 0;
   16910 }
   16911 _ACEOF
   16912 if ac_fn_c_try_link "$LINENO"; then :
   16913   ax_pthread_ok=yes
   16914 fi
   16915 rm -f core conftest.err conftest.$ac_objext \
   16916     conftest$ac_exeext conftest.$ac_ext
   16917 
   16918         CFLAGS="$ax_pthread_save_CFLAGS"
   16919         LIBS="$ax_pthread_save_LIBS"
   16920 
   16921         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   16922 $as_echo "$ax_pthread_ok" >&6; }
   16923         if test "x$ax_pthread_ok" = "xyes"; then :
   16924   break
   16925 fi
   16926 
   16927         PTHREAD_LIBS=""
   16928         PTHREAD_CFLAGS=""
   16929 done
   16930 fi
   16931 
   16932 # Various other checks:
   16933 if test "x$ax_pthread_ok" = "xyes"; then
   16934         ax_pthread_save_CFLAGS="$CFLAGS"
   16935         ax_pthread_save_LIBS="$LIBS"
   16936         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16937         LIBS="$PTHREAD_LIBS $LIBS"
   16938 
   16939         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   16940         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   16941 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   16942 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
   16943   $as_echo_n "(cached) " >&6
   16944 else
   16945   ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   16946              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   16947                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16948 /* end confdefs.h.  */
   16949 #include <pthread.h>
   16950 int
   16951 main ()
   16952 {
   16953 int attr = $ax_pthread_attr; return attr /* ; */
   16954   ;
   16955   return 0;
   16956 }
   16957 _ACEOF
   16958 if ac_fn_c_try_link "$LINENO"; then :
   16959   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   16960 fi
   16961 rm -f core conftest.err conftest.$ac_objext \
   16962     conftest$ac_exeext conftest.$ac_ext
   16963              done
   16964 
   16965 fi
   16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   16967 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   16968         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   16969                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   16970                test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
   16971 
   16972 cat >>confdefs.h <<_ACEOF
   16973 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
   16974 _ACEOF
   16975 
   16976                ax_pthread_joinable_attr_defined=yes
   16977 
   16978 fi
   16979 
   16980         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   16981 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
   16982 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
   16983   $as_echo_n "(cached) " >&6
   16984 else
   16985   ax_cv_PTHREAD_SPECIAL_FLAGS=no
   16986              case $host_os in
   16987              solaris*)
   16988              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   16989              ;;
   16990              esac
   16991 
   16992 fi
   16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   16994 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   16995         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   16996                test "x$ax_pthread_special_flags_added" != "xyes"; then :
   16997   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   16998                ax_pthread_special_flags_added=yes
   16999 fi
   17000 
   17001         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   17002 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   17003 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   17004   $as_echo_n "(cached) " >&6
   17005 else
   17006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17007 /* end confdefs.h.  */
   17008 #include <pthread.h>
   17009 int
   17010 main ()
   17011 {
   17012 int i = PTHREAD_PRIO_INHERIT;
   17013   ;
   17014   return 0;
   17015 }
   17016 _ACEOF
   17017 if ac_fn_c_try_link "$LINENO"; then :
   17018   ax_cv_PTHREAD_PRIO_INHERIT=yes
   17019 else
   17020   ax_cv_PTHREAD_PRIO_INHERIT=no
   17021 fi
   17022 rm -f core conftest.err conftest.$ac_objext \
   17023     conftest$ac_exeext conftest.$ac_ext
   17024 
   17025 fi
   17026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   17027 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   17028         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   17029                test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
   17030 
   17031 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   17032 
   17033                ax_pthread_prio_inherit_defined=yes
   17034 
   17035 fi
   17036 
   17037         CFLAGS="$ax_pthread_save_CFLAGS"
   17038         LIBS="$ax_pthread_save_LIBS"
   17039 
   17040         # More AIX lossage: compile with *_r variant
   17041         if test "x$GCC" != "xyes"; then
   17042             case $host_os in
   17043                 aix*)
   17044                 case "x/$CC" in #(
   17045   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   17046     #handle absolute path differently from PATH based program lookup
   17047                      case "x$CC" in #(
   17048   x/*) :
   17049     if as_fn_executable_p ${CC}_r; then :
   17050   PTHREAD_CC="${CC}_r"
   17051 fi ;; #(
   17052   *) :
   17053     for ac_prog in ${CC}_r
   17054 do
   17055   # Extract the first word of "$ac_prog", so it can be a program name with args.
   17056 set dummy $ac_prog; ac_word=$2
   17057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17058 $as_echo_n "checking for $ac_word... " >&6; }
   17059 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   17060   $as_echo_n "(cached) " >&6
   17061 else
   17062   if test -n "$PTHREAD_CC"; then
   17063   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   17064 else
   17065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17066 for as_dir in $PATH
   17067 do
   17068   IFS=$as_save_IFS
   17069   test -z "$as_dir" && as_dir=.
   17070     for ac_exec_ext in '' $ac_executable_extensions; do
   17071   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17072     ac_cv_prog_PTHREAD_CC="$ac_prog"
   17073     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17074     break 2
   17075   fi
   17076 done
   17077   done
   17078 IFS=$as_save_IFS
   17079 
   17080 fi
   17081 fi
   17082 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   17083 if test -n "$PTHREAD_CC"; then
   17084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   17085 $as_echo "$PTHREAD_CC" >&6; }
   17086 else
   17087   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17088 $as_echo "no" >&6; }
   17089 fi
   17090 
   17091 
   17092   test -n "$PTHREAD_CC" && break
   17093 done
   17094 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   17095  ;;
   17096 esac ;; #(
   17097   *) :
   17098      ;;
   17099 esac
   17100                 ;;
   17101             esac
   17102         fi
   17103 fi
   17104 
   17105 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   17112 if test "x$ax_pthread_ok" = "xyes"; then
   17113 
   17114 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   17115 
   17116         :
   17117 else
   17118         ax_pthread_ok=no
   17119 
   17120 fi
   17121 ac_ext=c
   17122 ac_cpp='$CPP $CPPFLAGS'
   17123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17126 
   17127 
   17128 
   17129 # Specify a location for JDK
   17130 enable_gprofng_jp=
   17131 jdk_inc=
   17132 
   17133 # Check whether --with-jdk was given.
   17134 if test "${with_jdk+set}" = set; then :
   17135   withval=$with_jdk;
   17136 fi
   17137 
   17138 
   17139 if test "x$with_jdk" != x; then
   17140   jdk_inc="-I$with_jdk/include -I$with_jdk/include/linux"
   17141   enable_gprofng_jp=yes
   17142 else
   17143   # Extract the first word of "javac", so it can be a program name with args.
   17144 set dummy javac; ac_word=$2
   17145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17146 $as_echo_n "checking for $ac_word... " >&6; }
   17147 if ${ac_cv_path_JAVAC+:} false; then :
   17148   $as_echo_n "(cached) " >&6
   17149 else
   17150   case $JAVAC in
   17151   [\\/]* | ?:[\\/]*)
   17152   ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
   17153   ;;
   17154   *)
   17155   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17156 for as_dir in $PATH
   17157 do
   17158   IFS=$as_save_IFS
   17159   test -z "$as_dir" && as_dir=.
   17160     for ac_exec_ext in '' $ac_executable_extensions; do
   17161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17162     ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
   17163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17164     break 2
   17165   fi
   17166 done
   17167   done
   17168 IFS=$as_save_IFS
   17169 
   17170   test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC="javac"
   17171   ;;
   17172 esac
   17173 fi
   17174 JAVAC=$ac_cv_path_JAVAC
   17175 if test -n "$JAVAC"; then
   17176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
   17177 $as_echo "$JAVAC" >&6; }
   17178 else
   17179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17180 $as_echo "no" >&6; }
   17181 fi
   17182 
   17183 
   17184   if test -f $JAVAC; then
   17185     x=`readlink -f $JAVAC`
   17186     x=`dirname $x`
   17187     x=`dirname $x`
   17188     if ! test -f $x/include/jni.h; then
   17189       x=`dirname $x`
   17190     fi
   17191     if test -f $x/include/jni.h; then
   17192       jdk_inc="-I$x/include -I$x/include/linux"
   17193       enable_gprofng_jp=yes
   17194     fi
   17195   fi
   17196 fi
   17197 if test "x$enable_gprofng_jp" = x; then
   17198   # Extract the first word of "java", so it can be a program name with args.
   17199 set dummy java; ac_word=$2
   17200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17201 $as_echo_n "checking for $ac_word... " >&6; }
   17202 if ${ac_cv_path_JAVA+:} false; then :
   17203   $as_echo_n "(cached) " >&6
   17204 else
   17205   case $JAVA in
   17206   [\\/]* | ?:[\\/]*)
   17207   ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
   17208   ;;
   17209   *)
   17210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17211 for as_dir in $PATH
   17212 do
   17213   IFS=$as_save_IFS
   17214   test -z "$as_dir" && as_dir=.
   17215     for ac_exec_ext in '' $ac_executable_extensions; do
   17216   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17217     ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
   17218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17219     break 2
   17220   fi
   17221 done
   17222   done
   17223 IFS=$as_save_IFS
   17224 
   17225   test -z "$ac_cv_path_JAVA" && ac_cv_path_JAVA="java"
   17226   ;;
   17227 esac
   17228 fi
   17229 JAVA=$ac_cv_path_JAVA
   17230 if test -n "$JAVA"; then
   17231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
   17232 $as_echo "$JAVA" >&6; }
   17233 else
   17234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17235 $as_echo "no" >&6; }
   17236 fi
   17237 
   17238 
   17239   if test -f $JAVA; then
   17240     x=`readlink -f $JAVA`
   17241     x=`dirname $x`
   17242     x=`dirname $x`
   17243     if ! test -f $x/include/jni.h; then
   17244       x=`dirname $x`
   17245     fi
   17246     if test -f $x/include/jni.h; then
   17247       jdk_inc="-I$x/include -I$x/include/linux"
   17248       enable_gprofng_jp=yes
   17249     fi
   17250   fi
   17251 fi
   17252 if test "x$enable_gprofng_jp" = x; then
   17253   ac_fn_c_check_header_compile "$LINENO" "jni.h" "ac_cv_header_jni_h" "
   17254 "
   17255 if test "x$ac_cv_header_jni_h" = xyes; then :
   17256    enable_gprofng_jp=yes
   17257 fi
   17258 
   17259 
   17260 fi
   17261 GPROFNG_BROKEN_JAVAC=no
   17262 if test "x$enable_gprofng_jp" = x; then
   17263     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Cannot find the JDK include directory.
   17264       gprofng will be build without support for profiling Java applications.
   17265       Use --with-jdk=PATH to specify directory for the installed JDK" >&5
   17266 $as_echo "$as_me: WARNING:  Cannot find the JDK include directory.
   17267       gprofng will be build without support for profiling Java applications.
   17268       Use --with-jdk=PATH to specify directory for the installed JDK" >&2;}
   17269 else
   17270 
   17271 $as_echo "#define GPROFNG_JAVA_PROFILING 1" >>confdefs.h
   17272 
   17273     if test "x$JAVAC" != x; then
   17274       cat > Simple.java << EOF
   17275 class Simple{
   17276   public static void main(String args){
   17277     System.out.println("Hello Java");
   17278   }
   17279 }
   17280 EOF
   17281       if { ac_try='$JAVAC Simple.java >&5 2>&5'
   17282   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   17283   (eval $ac_try) 2>&5
   17284   ac_status=$?
   17285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17286   test $ac_status = 0; }; }; then
   17287 	GPROFNG_BROKEN_JAVAC=no
   17288       else
   17289 	GPROFNG_BROKEN_JAVAC=yes
   17290       fi
   17291       rm -f Simple.*
   17292     fi
   17293 fi
   17294 
   17295 
   17296 
   17297 DEBUG=
   17298  # Check whether --enable-gprofng-debug was given.
   17299 if test "${enable_gprofng_debug+set}" = set; then :
   17300   enableval=$enable_gprofng_debug;
   17301       case "$enableval" in
   17302        yes|no) ;;
   17303        *) as_fn_error $? "Argument to enable/disable gprofng-debug must be yes or no" "$LINENO" 5 ;;
   17304       esac
   17305 
   17306 else
   17307   enable_gprofng_debug=no
   17308 fi
   17309 
   17310 
   17311 if test "${enable_gprofng_debug}" = yes; then
   17312 
   17313 $as_echo "#define DEBUG 1" >>confdefs.h
   17314 
   17315 fi
   17316 
   17317 cat > "dummy.c" << EOF
   17318 #include <features.h>
   17319 #if defined(__UCLIBC__)
   17320 LIBC=uclibc
   17321 #elif defined(__dietlibc__)
   17322 LIBC=dietlibc
   17323 #elif defined(__GLIBC__)
   17324 LIBC=gnu
   17325 #else
   17326 #include <stdarg.h>
   17327 /* First heuristic to detect musl libc.  */
   17328 #ifdef __DEFINED_va_list
   17329 LIBC=musl
   17330 #else
   17331 LIBC=gnu
   17332 #endif
   17333 #endif
   17334 EOF
   17335 cc_set_libc=`$CC -E "dummy.c" 2>/dev/null | grep '^LIBC=' | sed 's, ,,g'`
   17336 eval "$cc_set_libc"
   17337 if test "$LIBC" = musl; then
   17338 
   17339 $as_echo "#define __MUSL_LIBC 1" >>confdefs.h
   17340 
   17341 fi
   17342 rm -f dummy.c
   17343 
   17344 # Check if linker supports --as-needed and --no-as-needed options.
   17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   17346 $as_echo_n "checking linker --as-needed support... " >&6; }
   17347 if ${bfd_cv_ld_as_needed+:} false; then :
   17348   $as_echo_n "(cached) " >&6
   17349 else
   17350   bfd_cv_ld_as_needed=no
   17351 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   17352 		bfd_cv_ld_as_needed=yes
   17353 	fi
   17354 
   17355 fi
   17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   17357 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   17358 
   17359 no_as_needed=
   17360 if test x"$bfd_cv_ld_as_needed" = xyes; then
   17361     no_as_needed='-Wl,--no-as-needed'
   17362 fi
   17363 
   17364 # Extract the first word of "expect", so it can be a program name with args.
   17365 set dummy expect; ac_word=$2
   17366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17367 $as_echo_n "checking for $ac_word... " >&6; }
   17368 if ${ac_cv_path_EXPECT+:} false; then :
   17369   $as_echo_n "(cached) " >&6
   17370 else
   17371   case $EXPECT in
   17372   [\\/]* | ?:[\\/]*)
   17373   ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path.
   17374   ;;
   17375   *)
   17376   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17377 for as_dir in $PATH
   17378 do
   17379   IFS=$as_save_IFS
   17380   test -z "$as_dir" && as_dir=.
   17381     for ac_exec_ext in '' $ac_executable_extensions; do
   17382   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17383     ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext"
   17384     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17385     break 2
   17386   fi
   17387 done
   17388   done
   17389 IFS=$as_save_IFS
   17390 
   17391   ;;
   17392 esac
   17393 fi
   17394 EXPECT=$ac_cv_path_EXPECT
   17395 if test -n "$EXPECT"; then
   17396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   17397 $as_echo "$EXPECT" >&6; }
   17398 else
   17399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17400 $as_echo "no" >&6; }
   17401 fi
   17402 
   17403 
   17404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
   17405 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
   17406 if ${ac_cv_libctf_tcl_try+:} false; then :
   17407   $as_echo_n "(cached) " >&6
   17408 else
   17409   ac_cv_libctf_tcl_try=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
   17410 if [llength [info commands try]] then { puts yes } else { puts no }
   17411 EOF
   17412 fi`
   17413 
   17414 fi
   17415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
   17416 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
   17417 
   17418 # Only native testing and only on supported platforms:
   17419  if test "${ac_cv_libctf_tcl_try}" = yes \
   17420 	-a "x${build_src}" = xtrue -a "x${build_collector}" = xtrue \
   17421 	-a "x${host}" = "x${target}"; then
   17422   TCL_TRY_TRUE=
   17423   TCL_TRY_FALSE='#'
   17424 else
   17425   TCL_TRY_TRUE='#'
   17426   TCL_TRY_FALSE=
   17427 fi
   17428 
   17429 
   17430 
   17431   # Use the system's zlib library.
   17432   zlibdir="-L\$(top_builddir)/../zlib"
   17433   zlibinc="-I\$(top_srcdir)/../zlib"
   17434 
   17435 # Check whether --with-system-zlib was given.
   17436 if test "${with_system_zlib+set}" = set; then :
   17437   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   17438     zlibdir=
   17439     zlibinc=
   17440   fi
   17441 
   17442 fi
   17443 
   17444 
   17445 
   17446 
   17447 
   17448 # Generate manpages, if possible.
   17449 build_man=false
   17450 build_doc=false
   17451 if test $cross_compiling = no; then
   17452   for ac_prog in makeinfo
   17453 do
   17454   # Extract the first word of "$ac_prog", so it can be a program name with args.
   17455 set dummy $ac_prog; ac_word=$2
   17456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17457 $as_echo_n "checking for $ac_word... " >&6; }
   17458 if ${ac_cv_prog_MAKEINFO+:} false; then :
   17459   $as_echo_n "(cached) " >&6
   17460 else
   17461   if test -n "$MAKEINFO"; then
   17462   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   17463 else
   17464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17465 for as_dir in $PATH
   17466 do
   17467   IFS=$as_save_IFS
   17468   test -z "$as_dir" && as_dir=.
   17469     for ac_exec_ext in '' $ac_executable_extensions; do
   17470   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17471     ac_cv_prog_MAKEINFO="$ac_prog"
   17472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17473     break 2
   17474   fi
   17475 done
   17476   done
   17477 IFS=$as_save_IFS
   17478 
   17479 fi
   17480 fi
   17481 MAKEINFO=$ac_cv_prog_MAKEINFO
   17482 if test -n "$MAKEINFO"; then
   17483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   17484 $as_echo "$MAKEINFO" >&6; }
   17485 else
   17486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17487 $as_echo "no" >&6; }
   17488 fi
   17489 
   17490 
   17491   test -n "$MAKEINFO" && break
   17492 done
   17493 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   17494 
   17495   case "x$MAKEINFO" in
   17496     x | */missing\ makeinfo*)
   17497       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&5
   17498 $as_echo "$as_me: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&2;}
   17499       ;;
   17500     *)
   17501       case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
   17502 	x*\ [1-5].*|x*\ 6.[0-4].* )
   17503 	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&5
   17504 $as_echo "$as_me: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&2;}
   17505 	  MAKEINFO="@echo $MAKEINFO is too old, 6.5 or newer required; true"
   17506 	  ;;
   17507 	x* ) build_doc=true ;;
   17508 	esac
   17509       ;;
   17510     esac
   17511 
   17512 fi
   17513  if test x$build_man = xtrue; then
   17514   BUILD_MAN_TRUE=
   17515   BUILD_MAN_FALSE='#'
   17516 else
   17517   BUILD_MAN_TRUE='#'
   17518   BUILD_MAN_FALSE=
   17519 fi
   17520 
   17521  if test x$build_doc = xtrue; then
   17522   BUILD_DOC_TRUE=
   17523   BUILD_DOC_FALSE='#'
   17524 else
   17525   BUILD_DOC_TRUE='#'
   17526   BUILD_DOC_FALSE=
   17527 fi
   17528 
   17529 
   17530 # Extract the first word of "bash", so it can be a program name with args.
   17531 set dummy bash; ac_word=$2
   17532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17533 $as_echo_n "checking for $ac_word... " >&6; }
   17534 if ${ac_cv_path_BASH+:} false; then :
   17535   $as_echo_n "(cached) " >&6
   17536 else
   17537   case $BASH in
   17538   [\\/]* | ?:[\\/]*)
   17539   ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
   17540   ;;
   17541   *)
   17542   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17543 for as_dir in $PATH
   17544 do
   17545   IFS=$as_save_IFS
   17546   test -z "$as_dir" && as_dir=.
   17547     for ac_exec_ext in '' $ac_executable_extensions; do
   17548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17549     ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
   17550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17551     break 2
   17552   fi
   17553 done
   17554   done
   17555 IFS=$as_save_IFS
   17556 
   17557   ;;
   17558 esac
   17559 fi
   17560 BASH=$ac_cv_path_BASH
   17561 if test -n "$BASH"; then
   17562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
   17563 $as_echo "$BASH" >&6; }
   17564 else
   17565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17566 $as_echo "no" >&6; }
   17567 fi
   17568 
   17569 
   17570 
   17571 
   17572 LD_NO_AS_NEEDED=${no_as_needed}
   17573 
   17574 GPROFNG_CFLAGS=${gprofng_cflags}
   17575 
   17576 
   17577 
   17578 GPROFNG_CPPFLAGS=${gprofng_cppflags}
   17579 
   17580 NOLTO_CFLAGS=${nolto_cflags}
   17581 
   17582 
   17583 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   17584 if test "x$ac_cv_have_decl_basename" = xyes; then :
   17585   ac_have_decl=1
   17586 else
   17587   ac_have_decl=0
   17588 fi
   17589 
   17590 cat >>confdefs.h <<_ACEOF
   17591 #define HAVE_DECL_BASENAME $ac_have_decl
   17592 _ACEOF
   17593 
   17594 for ac_func in clock_gettime strsignal
   17595 do :
   17596   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17597 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17598 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17599   cat >>confdefs.h <<_ACEOF
   17600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17601 _ACEOF
   17602 
   17603 fi
   17604 done
   17605 
   17606 
   17607 # For riscv builds inside incomplete environments such as during intermediate
   17608 # steps of cross toolchain building, or with outdated Linux headers.
   17609 for ac_header in asm/hwprobe.h
   17610 do :
   17611   ac_fn_c_check_header_mongrel "$LINENO" "asm/hwprobe.h" "ac_cv_header_asm_hwprobe_h" "$ac_includes_default"
   17612 if test "x$ac_cv_header_asm_hwprobe_h" = xyes; then :
   17613   cat >>confdefs.h <<_ACEOF
   17614 #define HAVE_ASM_HWPROBE_H 1
   17615 _ACEOF
   17616 
   17617 fi
   17618 
   17619 done
   17620 
   17621 
   17622 clock_gettime_link=
   17623 # At least for glibc, clock_gettime is in librt.  But don't
   17624 # pull that in if it still doesn't give us the function we want.  This
   17625 # test is copied from libgomp, and modified to not link in -lrt as
   17626 # we're using this for test timing only.
   17627 if test "$ac_cv_func_clock_gettime" = no; then
   17628   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   17629 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   17630 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   17631   $as_echo_n "(cached) " >&6
   17632 else
   17633   ac_check_lib_save_LIBS=$LIBS
   17634 LIBS="-lrt  $LIBS"
   17635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17636 /* end confdefs.h.  */
   17637 
   17638 /* Override any GCC internal prototype to avoid an error.
   17639    Use char because int might match the return type of a GCC
   17640    builtin and then its argument prototype would still apply.  */
   17641 #ifdef __cplusplus
   17642 extern "C"
   17643 #endif
   17644 char clock_gettime ();
   17645 int
   17646 main ()
   17647 {
   17648 return clock_gettime ();
   17649   ;
   17650   return 0;
   17651 }
   17652 _ACEOF
   17653 if ac_fn_c_try_link "$LINENO"; then :
   17654   ac_cv_lib_rt_clock_gettime=yes
   17655 else
   17656   ac_cv_lib_rt_clock_gettime=no
   17657 fi
   17658 rm -f core conftest.err conftest.$ac_objext \
   17659     conftest$ac_exeext conftest.$ac_ext
   17660 LIBS=$ac_check_lib_save_LIBS
   17661 fi
   17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   17663 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   17664 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   17665   CLOCK_GETTIME_LINK=-lrt
   17666 
   17667 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   17668 
   17669 fi
   17670 
   17671 fi
   17672 
   17673 
   17674 
   17675 
   17676 ac_config_files="$ac_config_files Makefile src/Makefile gp-display-html/Makefile doc/Makefile"
   17677 
   17678 ac_config_headers="$ac_config_headers config.h:common/config.h.in"
   17679 
   17680 
   17681 cat >confcache <<\_ACEOF
   17682 # This file is a shell script that caches the results of configure
   17683 # tests run on this system so they can be shared between configure
   17684 # scripts and configure runs, see configure's option --config-cache.
   17685 # It is not useful on other systems.  If it contains results you don't
   17686 # want to keep, you may remove or edit it.
   17687 #
   17688 # config.status only pays attention to the cache file if you give it
   17689 # the --recheck option to rerun configure.
   17690 #
   17691 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17692 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17693 # following values.
   17694 
   17695 _ACEOF
   17696 
   17697 # The following way of writing the cache mishandles newlines in values,
   17698 # but we know of no workaround that is simple, portable, and efficient.
   17699 # So, we kill variables containing newlines.
   17700 # Ultrix sh set writes to stderr and can't be redirected directly,
   17701 # and sets the high bit in the cache file unless we assign to the vars.
   17702 (
   17703   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17704     eval ac_val=\$$ac_var
   17705     case $ac_val in #(
   17706     *${as_nl}*)
   17707       case $ac_var in #(
   17708       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17709 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17710       esac
   17711       case $ac_var in #(
   17712       _ | IFS | as_nl) ;; #(
   17713       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17714       *) { eval $ac_var=; unset $ac_var;} ;;
   17715       esac ;;
   17716     esac
   17717   done
   17718 
   17719   (set) 2>&1 |
   17720     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17721     *${as_nl}ac_space=\ *)
   17722       # `set' does not quote correctly, so add quotes: double-quote
   17723       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17724       sed -n \
   17725 	"s/'/'\\\\''/g;
   17726 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17727       ;; #(
   17728     *)
   17729       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17730       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17731       ;;
   17732     esac |
   17733     sort
   17734 ) |
   17735   sed '
   17736      /^ac_cv_env_/b end
   17737      t clear
   17738      :clear
   17739      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17740      t end
   17741      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17742      :end' >>confcache
   17743 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17744   if test -w "$cache_file"; then
   17745     if test "x$cache_file" != "x/dev/null"; then
   17746       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17747 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17748       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17749 	cat confcache >"$cache_file"
   17750       else
   17751         case $cache_file in #(
   17752         */* | ?:*)
   17753 	  mv -f confcache "$cache_file"$$ &&
   17754 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17755         *)
   17756 	  mv -f confcache "$cache_file" ;;
   17757 	esac
   17758       fi
   17759     fi
   17760   else
   17761     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17762 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17763   fi
   17764 fi
   17765 rm -f confcache
   17766 
   17767 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17768 # Let make expand exec_prefix.
   17769 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17770 
   17771 DEFS=-DHAVE_CONFIG_H
   17772 
   17773 ac_libobjs=
   17774 ac_ltlibobjs=
   17775 U=
   17776 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17777   # 1. Remove the extension, and $U if already installed.
   17778   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17779   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17780   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17781   #    will be set to the directory where LIBOBJS objects are built.
   17782   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17783   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17784 done
   17785 LIBOBJS=$ac_libobjs
   17786 
   17787 LTLIBOBJS=$ac_ltlibobjs
   17788 
   17789 
   17790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17791 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17792    if test -n "$am_sleep_pid"; then
   17793      # Hide warnings about reused PIDs.
   17794      wait $am_sleep_pid 2>/dev/null
   17795    fi
   17796    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17797 $as_echo "done" >&6; }
   17798  if test -n "$EXEEXT"; then
   17799   am__EXEEXT_TRUE=
   17800   am__EXEEXT_FALSE='#'
   17801 else
   17802   am__EXEEXT_TRUE='#'
   17803   am__EXEEXT_FALSE=
   17804 fi
   17805 
   17806 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17807   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17808 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17809 fi
   17810 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17811   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17812 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17813 fi
   17814 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17815   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17816 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17817 fi
   17818 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17819   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17820 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17821 fi
   17822 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   17823   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   17824 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17825 fi
   17826 
   17827 if test -z "${BUILD_COLLECTOR_TRUE}" && test -z "${BUILD_COLLECTOR_FALSE}"; then
   17828   as_fn_error $? "conditional \"BUILD_COLLECTOR\" was never defined.
   17829 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17830 fi
   17831 if test -z "${BUILD_SRC_TRUE}" && test -z "${BUILD_SRC_FALSE}"; then
   17832   as_fn_error $? "conditional \"BUILD_SRC\" was never defined.
   17833 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17834 fi
   17835 if test -z "${TCL_TRY_TRUE}" && test -z "${TCL_TRY_FALSE}"; then
   17836   as_fn_error $? "conditional \"TCL_TRY\" was never defined.
   17837 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17838 fi
   17839 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
   17840   as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
   17841 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17842 fi
   17843 if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
   17844   as_fn_error $? "conditional \"BUILD_DOC\" was never defined.
   17845 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17846 fi
   17847 
   17848 : "${CONFIG_STATUS=./config.status}"
   17849 ac_write_fail=0
   17850 ac_clean_files_save=$ac_clean_files
   17851 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17852 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17853 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17854 as_write_fail=0
   17855 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17856 #! $SHELL
   17857 # Generated by $as_me.
   17858 # Run this file to recreate the current configuration.
   17859 # Compiler output produced by configure, useful for debugging
   17860 # configure, is in config.log if it exists.
   17861 
   17862 debug=false
   17863 ac_cs_recheck=false
   17864 ac_cs_silent=false
   17865 
   17866 SHELL=\${CONFIG_SHELL-$SHELL}
   17867 export SHELL
   17868 _ASEOF
   17869 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17870 ## -------------------- ##
   17871 ## M4sh Initialization. ##
   17872 ## -------------------- ##
   17873 
   17874 # Be more Bourne compatible
   17875 DUALCASE=1; export DUALCASE # for MKS sh
   17876 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17877   emulate sh
   17878   NULLCMD=:
   17879   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17880   # is contrary to our usage.  Disable this feature.
   17881   alias -g '${1+"$@"}'='"$@"'
   17882   setopt NO_GLOB_SUBST
   17883 else
   17884   case `(set -o) 2>/dev/null` in #(
   17885   *posix*) :
   17886     set -o posix ;; #(
   17887   *) :
   17888      ;;
   17889 esac
   17890 fi
   17891 
   17892 
   17893 as_nl='
   17894 '
   17895 export as_nl
   17896 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17897 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17900 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17901 # but without wasting forks for bash or zsh.
   17902 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17903     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17904   as_echo='print -r --'
   17905   as_echo_n='print -rn --'
   17906 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17907   as_echo='printf %s\n'
   17908   as_echo_n='printf %s'
   17909 else
   17910   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17911     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17912     as_echo_n='/usr/ucb/echo -n'
   17913   else
   17914     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17915     as_echo_n_body='eval
   17916       arg=$1;
   17917       case $arg in #(
   17918       *"$as_nl"*)
   17919 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17920 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17921       esac;
   17922       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17923     '
   17924     export as_echo_n_body
   17925     as_echo_n='sh -c $as_echo_n_body as_echo'
   17926   fi
   17927   export as_echo_body
   17928   as_echo='sh -c $as_echo_body as_echo'
   17929 fi
   17930 
   17931 # The user is always right.
   17932 if test "${PATH_SEPARATOR+set}" != set; then
   17933   PATH_SEPARATOR=:
   17934   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17935     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17936       PATH_SEPARATOR=';'
   17937   }
   17938 fi
   17939 
   17940 
   17941 # IFS
   17942 # We need space, tab and new line, in precisely that order.  Quoting is
   17943 # there to prevent editors from complaining about space-tab.
   17944 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17945 # splitting by setting IFS to empty value.)
   17946 IFS=" ""	$as_nl"
   17947 
   17948 # Find who we are.  Look in the path if we contain no directory separator.
   17949 as_myself=
   17950 case $0 in #((
   17951   *[\\/]* ) as_myself=$0 ;;
   17952   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17953 for as_dir in $PATH
   17954 do
   17955   IFS=$as_save_IFS
   17956   test -z "$as_dir" && as_dir=.
   17957     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17958   done
   17959 IFS=$as_save_IFS
   17960 
   17961      ;;
   17962 esac
   17963 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17964 # in which case we are not to be found in the path.
   17965 if test "x$as_myself" = x; then
   17966   as_myself=$0
   17967 fi
   17968 if test ! -f "$as_myself"; then
   17969   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17970   exit 1
   17971 fi
   17972 
   17973 # Unset variables that we do not need and which cause bugs (e.g. in
   17974 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17975 # suppresses any "Segmentation fault" message there.  '((' could
   17976 # trigger a bug in pdksh 5.2.14.
   17977 for as_var in BASH_ENV ENV MAIL MAILPATH
   17978 do eval test x\${$as_var+set} = xset \
   17979   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17980 done
   17981 PS1='$ '
   17982 PS2='> '
   17983 PS4='+ '
   17984 
   17985 # NLS nuisances.
   17986 LC_ALL=C
   17987 export LC_ALL
   17988 LANGUAGE=C
   17989 export LANGUAGE
   17990 
   17991 # CDPATH.
   17992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17993 
   17994 
   17995 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17996 # ----------------------------------------
   17997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17999 # script with STATUS, using 1 if that was 0.
   18000 as_fn_error ()
   18001 {
   18002   as_status=$1; test $as_status -eq 0 && as_status=1
   18003   if test "$4"; then
   18004     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18005     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18006   fi
   18007   $as_echo "$as_me: error: $2" >&2
   18008   as_fn_exit $as_status
   18009 } # as_fn_error
   18010 
   18011 
   18012 # as_fn_set_status STATUS
   18013 # -----------------------
   18014 # Set $? to STATUS, without forking.
   18015 as_fn_set_status ()
   18016 {
   18017   return $1
   18018 } # as_fn_set_status
   18019 
   18020 # as_fn_exit STATUS
   18021 # -----------------
   18022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18023 as_fn_exit ()
   18024 {
   18025   set +e
   18026   as_fn_set_status $1
   18027   exit $1
   18028 } # as_fn_exit
   18029 
   18030 # as_fn_unset VAR
   18031 # ---------------
   18032 # Portably unset VAR.
   18033 as_fn_unset ()
   18034 {
   18035   { eval $1=; unset $1;}
   18036 }
   18037 as_unset=as_fn_unset
   18038 # as_fn_append VAR VALUE
   18039 # ----------------------
   18040 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18041 # advantage of any shell optimizations that allow amortized linear growth over
   18042 # repeated appends, instead of the typical quadratic growth present in naive
   18043 # implementations.
   18044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18045   eval 'as_fn_append ()
   18046   {
   18047     eval $1+=\$2
   18048   }'
   18049 else
   18050   as_fn_append ()
   18051   {
   18052     eval $1=\$$1\$2
   18053   }
   18054 fi # as_fn_append
   18055 
   18056 # as_fn_arith ARG...
   18057 # ------------------
   18058 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18060 # must be portable across $(()) and expr.
   18061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18062   eval 'as_fn_arith ()
   18063   {
   18064     as_val=$(( $* ))
   18065   }'
   18066 else
   18067   as_fn_arith ()
   18068   {
   18069     as_val=`expr "$@" || test $? -eq 1`
   18070   }
   18071 fi # as_fn_arith
   18072 
   18073 
   18074 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18075    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18076   as_expr=expr
   18077 else
   18078   as_expr=false
   18079 fi
   18080 
   18081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18082   as_basename=basename
   18083 else
   18084   as_basename=false
   18085 fi
   18086 
   18087 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18088   as_dirname=dirname
   18089 else
   18090   as_dirname=false
   18091 fi
   18092 
   18093 as_me=`$as_basename -- "$0" ||
   18094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18095 	 X"$0" : 'X\(//\)$' \| \
   18096 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18097 $as_echo X/"$0" |
   18098     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18099 	    s//\1/
   18100 	    q
   18101 	  }
   18102 	  /^X\/\(\/\/\)$/{
   18103 	    s//\1/
   18104 	    q
   18105 	  }
   18106 	  /^X\/\(\/\).*/{
   18107 	    s//\1/
   18108 	    q
   18109 	  }
   18110 	  s/.*/./; q'`
   18111 
   18112 # Avoid depending upon Character Ranges.
   18113 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18114 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18115 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18116 as_cr_digits='0123456789'
   18117 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18118 
   18119 ECHO_C= ECHO_N= ECHO_T=
   18120 case `echo -n x` in #(((((
   18121 -n*)
   18122   case `echo 'xy\c'` in
   18123   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18124   xy)  ECHO_C='\c';;
   18125   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18126        ECHO_T='	';;
   18127   esac;;
   18128 *)
   18129   ECHO_N='-n';;
   18130 esac
   18131 
   18132 rm -f conf$$ conf$$.exe conf$$.file
   18133 if test -d conf$$.dir; then
   18134   rm -f conf$$.dir/conf$$.file
   18135 else
   18136   rm -f conf$$.dir
   18137   mkdir conf$$.dir 2>/dev/null
   18138 fi
   18139 if (echo >conf$$.file) 2>/dev/null; then
   18140   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18141     as_ln_s='ln -s'
   18142     # ... but there are two gotchas:
   18143     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18144     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18145     # In both cases, we have to default to `cp -pR'.
   18146     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18147       as_ln_s='cp -pR'
   18148   elif ln conf$$.file conf$$ 2>/dev/null; then
   18149     as_ln_s=ln
   18150   else
   18151     as_ln_s='cp -pR'
   18152   fi
   18153 else
   18154   as_ln_s='cp -pR'
   18155 fi
   18156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18157 rmdir conf$$.dir 2>/dev/null
   18158 
   18159 
   18160 # as_fn_mkdir_p
   18161 # -------------
   18162 # Create "$as_dir" as a directory, including parents if necessary.
   18163 as_fn_mkdir_p ()
   18164 {
   18165 
   18166   case $as_dir in #(
   18167   -*) as_dir=./$as_dir;;
   18168   esac
   18169   test -d "$as_dir" || eval $as_mkdir_p || {
   18170     as_dirs=
   18171     while :; do
   18172       case $as_dir in #(
   18173       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18174       *) as_qdir=$as_dir;;
   18175       esac
   18176       as_dirs="'$as_qdir' $as_dirs"
   18177       as_dir=`$as_dirname -- "$as_dir" ||
   18178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18179 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18180 	 X"$as_dir" : 'X\(//\)$' \| \
   18181 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18182 $as_echo X"$as_dir" |
   18183     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18184 	    s//\1/
   18185 	    q
   18186 	  }
   18187 	  /^X\(\/\/\)[^/].*/{
   18188 	    s//\1/
   18189 	    q
   18190 	  }
   18191 	  /^X\(\/\/\)$/{
   18192 	    s//\1/
   18193 	    q
   18194 	  }
   18195 	  /^X\(\/\).*/{
   18196 	    s//\1/
   18197 	    q
   18198 	  }
   18199 	  s/.*/./; q'`
   18200       test -d "$as_dir" && break
   18201     done
   18202     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18203   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18204 
   18205 
   18206 } # as_fn_mkdir_p
   18207 if mkdir -p . 2>/dev/null; then
   18208   as_mkdir_p='mkdir -p "$as_dir"'
   18209 else
   18210   test -d ./-p && rmdir ./-p
   18211   as_mkdir_p=false
   18212 fi
   18213 
   18214 
   18215 # as_fn_executable_p FILE
   18216 # -----------------------
   18217 # Test if FILE is an executable regular file.
   18218 as_fn_executable_p ()
   18219 {
   18220   test -f "$1" && test -x "$1"
   18221 } # as_fn_executable_p
   18222 as_test_x='test -x'
   18223 as_executable_p=as_fn_executable_p
   18224 
   18225 # Sed expression to map a string onto a valid CPP name.
   18226 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18227 
   18228 # Sed expression to map a string onto a valid variable name.
   18229 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18230 
   18231 
   18232 exec 6>&1
   18233 ## ----------------------------------- ##
   18234 ## Main body of $CONFIG_STATUS script. ##
   18235 ## ----------------------------------- ##
   18236 _ASEOF
   18237 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18238 
   18239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18240 # Save the log message, to keep $0 and so on meaningful, and to
   18241 # report actual input values of CONFIG_FILES etc. instead of their
   18242 # values after options handling.
   18243 ac_log="
   18244 This file was extended by gprofng $as_me 2.46.0, which was
   18245 generated by GNU Autoconf 2.69.  Invocation command line was
   18246 
   18247   CONFIG_FILES    = $CONFIG_FILES
   18248   CONFIG_HEADERS  = $CONFIG_HEADERS
   18249   CONFIG_LINKS    = $CONFIG_LINKS
   18250   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18251   $ $0 $@
   18252 
   18253 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18254 "
   18255 
   18256 _ACEOF
   18257 
   18258 case $ac_config_files in *"
   18259 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18260 esac
   18261 
   18262 case $ac_config_headers in *"
   18263 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18264 esac
   18265 
   18266 
   18267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18268 # Files that config.status was made for.
   18269 config_files="$ac_config_files"
   18270 config_headers="$ac_config_headers"
   18271 config_commands="$ac_config_commands"
   18272 
   18273 _ACEOF
   18274 
   18275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18276 ac_cs_usage="\
   18277 \`$as_me' instantiates files and other configuration actions
   18278 from templates according to the current configuration.  Unless the files
   18279 and actions are specified as TAGs, all are instantiated by default.
   18280 
   18281 Usage: $0 [OPTION]... [TAG]...
   18282 
   18283   -h, --help       print this help, then exit
   18284   -V, --version    print version number and configuration settings, then exit
   18285       --config     print configuration, then exit
   18286   -q, --quiet, --silent
   18287                    do not print progress messages
   18288   -d, --debug      don't remove temporary files
   18289       --recheck    update $as_me by reconfiguring in the same conditions
   18290       --file=FILE[:TEMPLATE]
   18291                    instantiate the configuration file FILE
   18292       --header=FILE[:TEMPLATE]
   18293                    instantiate the configuration header FILE
   18294 
   18295 Configuration files:
   18296 $config_files
   18297 
   18298 Configuration headers:
   18299 $config_headers
   18300 
   18301 Configuration commands:
   18302 $config_commands
   18303 
   18304 Report bugs to the package provider."
   18305 
   18306 _ACEOF
   18307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18308 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18309 ac_cs_version="\\
   18310 gprofng config.status 2.46.0
   18311 configured by $0, generated by GNU Autoconf 2.69,
   18312   with options \\"\$ac_cs_config\\"
   18313 
   18314 Copyright (C) 2012 Free Software Foundation, Inc.
   18315 This config.status script is free software; the Free Software Foundation
   18316 gives unlimited permission to copy, distribute and modify it."
   18317 
   18318 ac_pwd='$ac_pwd'
   18319 srcdir='$srcdir'
   18320 INSTALL='$INSTALL'
   18321 MKDIR_P='$MKDIR_P'
   18322 AWK='$AWK'
   18323 test -n "\$AWK" || AWK=awk
   18324 _ACEOF
   18325 
   18326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18327 # The default lists apply if the user does not specify any file.
   18328 ac_need_defaults=:
   18329 while test $# != 0
   18330 do
   18331   case $1 in
   18332   --*=?*)
   18333     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18334     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18335     ac_shift=:
   18336     ;;
   18337   --*=)
   18338     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18339     ac_optarg=
   18340     ac_shift=:
   18341     ;;
   18342   *)
   18343     ac_option=$1
   18344     ac_optarg=$2
   18345     ac_shift=shift
   18346     ;;
   18347   esac
   18348 
   18349   case $ac_option in
   18350   # Handling of the options.
   18351   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18352     ac_cs_recheck=: ;;
   18353   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18354     $as_echo "$ac_cs_version"; exit ;;
   18355   --config | --confi | --conf | --con | --co | --c )
   18356     $as_echo "$ac_cs_config"; exit ;;
   18357   --debug | --debu | --deb | --de | --d | -d )
   18358     debug=: ;;
   18359   --file | --fil | --fi | --f )
   18360     $ac_shift
   18361     case $ac_optarg in
   18362     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18363     '') as_fn_error $? "missing file argument" ;;
   18364     esac
   18365     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18366     ac_need_defaults=false;;
   18367   --header | --heade | --head | --hea )
   18368     $ac_shift
   18369     case $ac_optarg in
   18370     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18371     esac
   18372     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18373     ac_need_defaults=false;;
   18374   --he | --h)
   18375     # Conflict between --help and --header
   18376     as_fn_error $? "ambiguous option: \`$1'
   18377 Try \`$0 --help' for more information.";;
   18378   --help | --hel | -h )
   18379     $as_echo "$ac_cs_usage"; exit ;;
   18380   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18381   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18382     ac_cs_silent=: ;;
   18383 
   18384   # This is an error.
   18385   -*) as_fn_error $? "unrecognized option: \`$1'
   18386 Try \`$0 --help' for more information." ;;
   18387 
   18388   *) as_fn_append ac_config_targets " $1"
   18389      ac_need_defaults=false ;;
   18390 
   18391   esac
   18392   shift
   18393 done
   18394 
   18395 ac_configure_extra_args=
   18396 
   18397 if $ac_cs_silent; then
   18398   exec 6>/dev/null
   18399   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18400 fi
   18401 
   18402 _ACEOF
   18403 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18404 if \$ac_cs_recheck; then
   18405   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18406   shift
   18407   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18408   CONFIG_SHELL='$SHELL'
   18409   export CONFIG_SHELL
   18410   exec "\$@"
   18411 fi
   18412 
   18413 _ACEOF
   18414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18415 exec 5>>config.log
   18416 {
   18417   echo
   18418   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18419 ## Running $as_me. ##
   18420 _ASBOX
   18421   $as_echo "$ac_log"
   18422 } >&5
   18423 
   18424 _ACEOF
   18425 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18426 #
   18427 # INIT-COMMANDS
   18428 #
   18429 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18430 
   18431 
   18432 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18433 # if CDPATH is set.
   18434 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18435 
   18436 sed_quote_subst='$sed_quote_subst'
   18437 double_quote_subst='$double_quote_subst'
   18438 delay_variable_subst='$delay_variable_subst'
   18439 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18440 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18441 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18442 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18443 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18444 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18445 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18446 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18447 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18448 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18449 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18450 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18451 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18452 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18453 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18454 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18455 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18456 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18457 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18458 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18459 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18460 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18461 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18462 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18463 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18464 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18465 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18466 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18467 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18468 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18469 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18470 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18471 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18472 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18473 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18474 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18475 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18476 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18477 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18478 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18479 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18480 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18481 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18482 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18483 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18484 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18485 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18486 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18487 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"`'
   18488 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18489 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18490 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18491 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18492 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18493 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18494 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18495 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18496 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18497 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18498 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18499 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18500 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18501 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18502 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18503 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18504 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18505 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18506 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18507 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18508 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18509 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18510 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18511 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18512 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18513 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18514 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18515 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18516 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18517 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18518 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18519 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18520 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18521 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18522 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18523 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18524 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18525 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18526 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18527 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18528 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18529 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18530 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18531 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18532 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18533 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18534 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18535 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18536 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18537 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18538 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18539 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18540 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18541 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18542 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18543 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18544 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18545 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18546 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18547 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18548 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18549 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18550 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18551 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18552 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18553 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18554 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18555 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18556 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18557 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18558 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18559 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   18560 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   18561 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   18562 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   18563 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   18564 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   18565 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   18566 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18567 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18568 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18569 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   18570 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   18571 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18572 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   18573 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   18574 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   18575 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   18576 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   18577 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   18578 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18579 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18580 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   18581 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18582 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18583 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18584 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18585 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18586 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18587 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18588 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18589 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18590 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18591 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18592 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   18593 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   18594 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   18595 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   18596 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   18597 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   18598 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   18599 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   18600 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   18601 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   18602 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18603 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18604 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18605 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18606 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18607 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   18608 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   18609 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18610 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18611 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   18612 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   18613 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   18614 
   18615 LTCC='$LTCC'
   18616 LTCFLAGS='$LTCFLAGS'
   18617 compiler='$compiler_DEFAULT'
   18618 
   18619 # A function that is used when there is no print builtin or printf.
   18620 func_fallback_echo ()
   18621 {
   18622   eval 'cat <<_LTECHO_EOF
   18623 \$1
   18624 _LTECHO_EOF'
   18625 }
   18626 
   18627 # Quote evaled strings.
   18628 for var in SHELL \
   18629 ECHO \
   18630 SED \
   18631 GREP \
   18632 EGREP \
   18633 FGREP \
   18634 LD \
   18635 NM \
   18636 LN_S \
   18637 lt_SP2NL \
   18638 lt_NL2SP \
   18639 reload_flag \
   18640 OBJDUMP \
   18641 deplibs_check_method \
   18642 file_magic_cmd \
   18643 AR \
   18644 AR_FLAGS \
   18645 STRIP \
   18646 RANLIB \
   18647 CC \
   18648 CFLAGS \
   18649 compiler \
   18650 lt_cv_sys_global_symbol_pipe \
   18651 lt_cv_sys_global_symbol_to_cdecl \
   18652 lt_cv_sys_global_symbol_to_c_name_address \
   18653 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18654 lt_prog_compiler_no_builtin_flag \
   18655 lt_prog_compiler_wl \
   18656 lt_prog_compiler_pic \
   18657 lt_prog_compiler_static \
   18658 lt_cv_prog_compiler_c_o \
   18659 need_locks \
   18660 DSYMUTIL \
   18661 NMEDIT \
   18662 LIPO \
   18663 OTOOL \
   18664 OTOOL64 \
   18665 shrext_cmds \
   18666 export_dynamic_flag_spec \
   18667 whole_archive_flag_spec \
   18668 compiler_needs_object \
   18669 with_gnu_ld \
   18670 allow_undefined_flag \
   18671 no_undefined_flag \
   18672 hardcode_libdir_flag_spec \
   18673 hardcode_libdir_flag_spec_ld \
   18674 hardcode_libdir_separator \
   18675 fix_srcfile_path \
   18676 exclude_expsyms \
   18677 include_expsyms \
   18678 file_list_spec \
   18679 variables_saved_for_relink \
   18680 libname_spec \
   18681 library_names_spec \
   18682 soname_spec \
   18683 install_override_mode \
   18684 finish_eval \
   18685 old_striplib \
   18686 striplib \
   18687 compiler_lib_search_dirs \
   18688 predep_objects \
   18689 postdep_objects \
   18690 predeps \
   18691 postdeps \
   18692 compiler_lib_search_path \
   18693 LD_CXX \
   18694 reload_flag_CXX \
   18695 compiler_CXX \
   18696 lt_prog_compiler_no_builtin_flag_CXX \
   18697 lt_prog_compiler_wl_CXX \
   18698 lt_prog_compiler_pic_CXX \
   18699 lt_prog_compiler_static_CXX \
   18700 lt_cv_prog_compiler_c_o_CXX \
   18701 export_dynamic_flag_spec_CXX \
   18702 whole_archive_flag_spec_CXX \
   18703 compiler_needs_object_CXX \
   18704 with_gnu_ld_CXX \
   18705 allow_undefined_flag_CXX \
   18706 no_undefined_flag_CXX \
   18707 hardcode_libdir_flag_spec_CXX \
   18708 hardcode_libdir_flag_spec_ld_CXX \
   18709 hardcode_libdir_separator_CXX \
   18710 fix_srcfile_path_CXX \
   18711 exclude_expsyms_CXX \
   18712 include_expsyms_CXX \
   18713 file_list_spec_CXX \
   18714 compiler_lib_search_dirs_CXX \
   18715 predep_objects_CXX \
   18716 postdep_objects_CXX \
   18717 predeps_CXX \
   18718 postdeps_CXX \
   18719 compiler_lib_search_path_CXX; do
   18720     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18721     *[\\\\\\\`\\"\\\$]*)
   18722       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18723       ;;
   18724     *)
   18725       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18726       ;;
   18727     esac
   18728 done
   18729 
   18730 # Double-quote double-evaled strings.
   18731 for var in reload_cmds \
   18732 old_postinstall_cmds \
   18733 old_postuninstall_cmds \
   18734 old_archive_cmds \
   18735 extract_expsyms_cmds \
   18736 old_archive_from_new_cmds \
   18737 old_archive_from_expsyms_cmds \
   18738 archive_cmds \
   18739 archive_expsym_cmds \
   18740 module_cmds \
   18741 module_expsym_cmds \
   18742 export_symbols_cmds \
   18743 prelink_cmds \
   18744 postinstall_cmds \
   18745 postuninstall_cmds \
   18746 finish_cmds \
   18747 sys_lib_search_path_spec \
   18748 sys_lib_dlsearch_path_spec \
   18749 reload_cmds_CXX \
   18750 old_archive_cmds_CXX \
   18751 old_archive_from_new_cmds_CXX \
   18752 old_archive_from_expsyms_cmds_CXX \
   18753 archive_cmds_CXX \
   18754 archive_expsym_cmds_CXX \
   18755 module_cmds_CXX \
   18756 module_expsym_cmds_CXX \
   18757 export_symbols_cmds_CXX \
   18758 prelink_cmds_CXX; do
   18759     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18760     *[\\\\\\\`\\"\\\$]*)
   18761       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18762       ;;
   18763     *)
   18764       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18765       ;;
   18766     esac
   18767 done
   18768 
   18769 ac_aux_dir='$ac_aux_dir'
   18770 xsi_shell='$xsi_shell'
   18771 lt_shell_append='$lt_shell_append'
   18772 
   18773 # See if we are running on zsh, and set the options which allow our
   18774 # commands through without removal of \ escapes INIT.
   18775 if test -n "\${ZSH_VERSION+set}" ; then
   18776    setopt NO_GLOB_SUBST
   18777 fi
   18778 
   18779 
   18780     PACKAGE='$PACKAGE'
   18781     VERSION='$VERSION'
   18782     TIMESTAMP='$TIMESTAMP'
   18783     RM='$RM'
   18784     ofile='$ofile'
   18785 
   18786 
   18787 
   18788 
   18789 
   18790 
   18791 _ACEOF
   18792 
   18793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18794 
   18795 # Handling of arguments.
   18796 for ac_config_target in $ac_config_targets
   18797 do
   18798   case $ac_config_target in
   18799     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18800     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18801     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18802     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18803     "gp-display-html/Makefile") CONFIG_FILES="$CONFIG_FILES gp-display-html/Makefile" ;;
   18804     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   18805     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:common/config.h.in" ;;
   18806 
   18807   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18808   esac
   18809 done
   18810 
   18811 
   18812 # If the user did not use the arguments to specify the items to instantiate,
   18813 # then the envvar interface is used.  Set only those that are not.
   18814 # We use the long form for the default assignment because of an extremely
   18815 # bizarre bug on SunOS 4.1.3.
   18816 if $ac_need_defaults; then
   18817   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18818   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18819   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18820 fi
   18821 
   18822 # Have a temporary directory for convenience.  Make it in the build tree
   18823 # simply because there is no reason against having it here, and in addition,
   18824 # creating and moving files from /tmp can sometimes cause problems.
   18825 # Hook for its removal unless debugging.
   18826 # Note that there is a small window in which the directory will not be cleaned:
   18827 # after its creation but before its name has been assigned to `$tmp'.
   18828 $debug ||
   18829 {
   18830   tmp= ac_tmp=
   18831   trap 'exit_status=$?
   18832   : "${ac_tmp:=$tmp}"
   18833   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18834 ' 0
   18835   trap 'as_fn_exit 1' 1 2 13 15
   18836 }
   18837 # Create a (secure) tmp directory for tmp files.
   18838 
   18839 {
   18840   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18841   test -d "$tmp"
   18842 }  ||
   18843 {
   18844   tmp=./conf$$-$RANDOM
   18845   (umask 077 && mkdir "$tmp")
   18846 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18847 ac_tmp=$tmp
   18848 
   18849 # Set up the scripts for CONFIG_FILES section.
   18850 # No need to generate them if there are no CONFIG_FILES.
   18851 # This happens for instance with `./config.status config.h'.
   18852 if test -n "$CONFIG_FILES"; then
   18853 
   18854 
   18855 ac_cr=`echo X | tr X '\015'`
   18856 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18857 # But we know of no other shell where ac_cr would be empty at this
   18858 # point, so we can use a bashism as a fallback.
   18859 if test "x$ac_cr" = x; then
   18860   eval ac_cr=\$\'\\r\'
   18861 fi
   18862 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18863 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18864   ac_cs_awk_cr='\\r'
   18865 else
   18866   ac_cs_awk_cr=$ac_cr
   18867 fi
   18868 
   18869 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18870 _ACEOF
   18871 
   18872 
   18873 {
   18874   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18875   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18876   echo "_ACEOF"
   18877 } >conf$$subs.sh ||
   18878   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18879 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18880 ac_delim='%!_!# '
   18881 for ac_last_try in false false false false false :; do
   18882   . ./conf$$subs.sh ||
   18883     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18884 
   18885   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18886   if test $ac_delim_n = $ac_delim_num; then
   18887     break
   18888   elif $ac_last_try; then
   18889     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18890   else
   18891     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18892   fi
   18893 done
   18894 rm -f conf$$subs.sh
   18895 
   18896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18897 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18898 _ACEOF
   18899 sed -n '
   18900 h
   18901 s/^/S["/; s/!.*/"]=/
   18902 p
   18903 g
   18904 s/^[^!]*!//
   18905 :repl
   18906 t repl
   18907 s/'"$ac_delim"'$//
   18908 t delim
   18909 :nl
   18910 h
   18911 s/\(.\{148\}\)..*/\1/
   18912 t more1
   18913 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18914 p
   18915 n
   18916 b repl
   18917 :more1
   18918 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18919 p
   18920 g
   18921 s/.\{148\}//
   18922 t nl
   18923 :delim
   18924 h
   18925 s/\(.\{148\}\)..*/\1/
   18926 t more2
   18927 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18928 p
   18929 b
   18930 :more2
   18931 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18932 p
   18933 g
   18934 s/.\{148\}//
   18935 t delim
   18936 ' <conf$$subs.awk | sed '
   18937 /^[^""]/{
   18938   N
   18939   s/\n//
   18940 }
   18941 ' >>$CONFIG_STATUS || ac_write_fail=1
   18942 rm -f conf$$subs.awk
   18943 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18944 _ACAWK
   18945 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18946   for (key in S) S_is_set[key] = 1
   18947   FS = ""
   18948 
   18949 }
   18950 {
   18951   line = $ 0
   18952   nfields = split(line, field, "@")
   18953   substed = 0
   18954   len = length(field[1])
   18955   for (i = 2; i < nfields; i++) {
   18956     key = field[i]
   18957     keylen = length(key)
   18958     if (S_is_set[key]) {
   18959       value = S[key]
   18960       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18961       len += length(value) + length(field[++i])
   18962       substed = 1
   18963     } else
   18964       len += 1 + keylen
   18965   }
   18966 
   18967   print line
   18968 }
   18969 
   18970 _ACAWK
   18971 _ACEOF
   18972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18973 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18974   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18975 else
   18976   cat
   18977 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18978   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18979 _ACEOF
   18980 
   18981 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18982 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18983 # trailing colons and then remove the whole line if VPATH becomes empty
   18984 # (actually we leave an empty line to preserve line numbers).
   18985 if test "x$srcdir" = x.; then
   18986   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18987 h
   18988 s///
   18989 s/^/:/
   18990 s/[	 ]*$/:/
   18991 s/:\$(srcdir):/:/g
   18992 s/:\${srcdir}:/:/g
   18993 s/:@srcdir@:/:/g
   18994 s/^:*//
   18995 s/:*$//
   18996 x
   18997 s/\(=[	 ]*\).*/\1/
   18998 G
   18999 s/\n//
   19000 s/^[^=]*=[	 ]*$//
   19001 }'
   19002 fi
   19003 
   19004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19005 fi # test -n "$CONFIG_FILES"
   19006 
   19007 # Set up the scripts for CONFIG_HEADERS section.
   19008 # No need to generate them if there are no CONFIG_HEADERS.
   19009 # This happens for instance with `./config.status Makefile'.
   19010 if test -n "$CONFIG_HEADERS"; then
   19011 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19012 BEGIN {
   19013 _ACEOF
   19014 
   19015 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19016 # here-document in config.status, that substitutes the proper values into
   19017 # config.h.in to produce config.h.
   19018 
   19019 # Create a delimiter string that does not exist in confdefs.h, to ease
   19020 # handling of long lines.
   19021 ac_delim='%!_!# '
   19022 for ac_last_try in false false :; do
   19023   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19024   if test -z "$ac_tt"; then
   19025     break
   19026   elif $ac_last_try; then
   19027     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19028   else
   19029     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19030   fi
   19031 done
   19032 
   19033 # For the awk script, D is an array of macro values keyed by name,
   19034 # likewise P contains macro parameters if any.  Preserve backslash
   19035 # newline sequences.
   19036 
   19037 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19038 sed -n '
   19039 s/.\{148\}/&'"$ac_delim"'/g
   19040 t rset
   19041 :rset
   19042 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19043 t def
   19044 d
   19045 :def
   19046 s/\\$//
   19047 t bsnl
   19048 s/["\\]/\\&/g
   19049 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19050 D["\1"]=" \3"/p
   19051 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19052 d
   19053 :bsnl
   19054 s/["\\]/\\&/g
   19055 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19056 D["\1"]=" \3\\\\\\n"\\/p
   19057 t cont
   19058 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19059 t cont
   19060 d
   19061 :cont
   19062 n
   19063 s/.\{148\}/&'"$ac_delim"'/g
   19064 t clear
   19065 :clear
   19066 s/\\$//
   19067 t bsnlc
   19068 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19069 d
   19070 :bsnlc
   19071 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19072 b cont
   19073 ' <confdefs.h | sed '
   19074 s/'"$ac_delim"'/"\\\
   19075 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19076 
   19077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19078   for (key in D) D_is_set[key] = 1
   19079   FS = ""
   19080 }
   19081 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19082   line = \$ 0
   19083   split(line, arg, " ")
   19084   if (arg[1] == "#") {
   19085     defundef = arg[2]
   19086     mac1 = arg[3]
   19087   } else {
   19088     defundef = substr(arg[1], 2)
   19089     mac1 = arg[2]
   19090   }
   19091   split(mac1, mac2, "(") #)
   19092   macro = mac2[1]
   19093   prefix = substr(line, 1, index(line, defundef) - 1)
   19094   if (D_is_set[macro]) {
   19095     # Preserve the white space surrounding the "#".
   19096     print prefix "define", macro P[macro] D[macro]
   19097     next
   19098   } else {
   19099     # Replace #undef with comments.  This is necessary, for example,
   19100     # in the case of _POSIX_SOURCE, which is predefined and required
   19101     # on some systems where configure will not decide to define it.
   19102     if (defundef == "undef") {
   19103       print "/*", prefix defundef, macro, "*/"
   19104       next
   19105     }
   19106   }
   19107 }
   19108 { print }
   19109 _ACAWK
   19110 _ACEOF
   19111 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19112   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19113 fi # test -n "$CONFIG_HEADERS"
   19114 
   19115 
   19116 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19117 shift
   19118 for ac_tag
   19119 do
   19120   case $ac_tag in
   19121   :[FHLC]) ac_mode=$ac_tag; continue;;
   19122   esac
   19123   case $ac_mode$ac_tag in
   19124   :[FHL]*:*);;
   19125   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19126   :[FH]-) ac_tag=-:-;;
   19127   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19128   esac
   19129   ac_save_IFS=$IFS
   19130   IFS=:
   19131   set x $ac_tag
   19132   IFS=$ac_save_IFS
   19133   shift
   19134   ac_file=$1
   19135   shift
   19136 
   19137   case $ac_mode in
   19138   :L) ac_source=$1;;
   19139   :[FH])
   19140     ac_file_inputs=
   19141     for ac_f
   19142     do
   19143       case $ac_f in
   19144       -) ac_f="$ac_tmp/stdin";;
   19145       *) # Look for the file first in the build tree, then in the source tree
   19146 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19147 	 # because $ac_f cannot contain `:'.
   19148 	 test -f "$ac_f" ||
   19149 	   case $ac_f in
   19150 	   [\\/$]*) false;;
   19151 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19152 	   esac ||
   19153 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19154       esac
   19155       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19156       as_fn_append ac_file_inputs " '$ac_f'"
   19157     done
   19158 
   19159     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19160     # use $as_me), people would be surprised to read:
   19161     #    /* config.h.  Generated by config.status.  */
   19162     configure_input='Generated from '`
   19163 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19164 	`' by configure.'
   19165     if test x"$ac_file" != x-; then
   19166       configure_input="$ac_file.  $configure_input"
   19167       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19168 $as_echo "$as_me: creating $ac_file" >&6;}
   19169     fi
   19170     # Neutralize special characters interpreted by sed in replacement strings.
   19171     case $configure_input in #(
   19172     *\&* | *\|* | *\\* )
   19173        ac_sed_conf_input=`$as_echo "$configure_input" |
   19174        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19175     *) ac_sed_conf_input=$configure_input;;
   19176     esac
   19177 
   19178     case $ac_tag in
   19179     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19180       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19181     esac
   19182     ;;
   19183   esac
   19184 
   19185   ac_dir=`$as_dirname -- "$ac_file" ||
   19186 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19187 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19188 	 X"$ac_file" : 'X\(//\)$' \| \
   19189 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19190 $as_echo X"$ac_file" |
   19191     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19192 	    s//\1/
   19193 	    q
   19194 	  }
   19195 	  /^X\(\/\/\)[^/].*/{
   19196 	    s//\1/
   19197 	    q
   19198 	  }
   19199 	  /^X\(\/\/\)$/{
   19200 	    s//\1/
   19201 	    q
   19202 	  }
   19203 	  /^X\(\/\).*/{
   19204 	    s//\1/
   19205 	    q
   19206 	  }
   19207 	  s/.*/./; q'`
   19208   as_dir="$ac_dir"; as_fn_mkdir_p
   19209   ac_builddir=.
   19210 
   19211 case "$ac_dir" in
   19212 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19213 *)
   19214   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19215   # A ".." for each directory in $ac_dir_suffix.
   19216   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19217   case $ac_top_builddir_sub in
   19218   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19219   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19220   esac ;;
   19221 esac
   19222 ac_abs_top_builddir=$ac_pwd
   19223 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19224 # for backward compatibility:
   19225 ac_top_builddir=$ac_top_build_prefix
   19226 
   19227 case $srcdir in
   19228   .)  # We are building in place.
   19229     ac_srcdir=.
   19230     ac_top_srcdir=$ac_top_builddir_sub
   19231     ac_abs_top_srcdir=$ac_pwd ;;
   19232   [\\/]* | ?:[\\/]* )  # Absolute name.
   19233     ac_srcdir=$srcdir$ac_dir_suffix;
   19234     ac_top_srcdir=$srcdir
   19235     ac_abs_top_srcdir=$srcdir ;;
   19236   *) # Relative name.
   19237     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19238     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19239     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19240 esac
   19241 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19242 
   19243 
   19244   case $ac_mode in
   19245   :F)
   19246   #
   19247   # CONFIG_FILE
   19248   #
   19249 
   19250   case $INSTALL in
   19251   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19252   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19253   esac
   19254   ac_MKDIR_P=$MKDIR_P
   19255   case $MKDIR_P in
   19256   [\\/$]* | ?:[\\/]* ) ;;
   19257   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19258   esac
   19259 _ACEOF
   19260 
   19261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19262 # If the template does not know about datarootdir, expand it.
   19263 # FIXME: This hack should be removed a few years after 2.60.
   19264 ac_datarootdir_hack=; ac_datarootdir_seen=
   19265 ac_sed_dataroot='
   19266 /datarootdir/ {
   19267   p
   19268   q
   19269 }
   19270 /@datadir@/p
   19271 /@docdir@/p
   19272 /@infodir@/p
   19273 /@localedir@/p
   19274 /@mandir@/p'
   19275 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19276 *datarootdir*) ac_datarootdir_seen=yes;;
   19277 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19278   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19279 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19280 _ACEOF
   19281 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19282   ac_datarootdir_hack='
   19283   s&@datadir@&$datadir&g
   19284   s&@docdir@&$docdir&g
   19285   s&@infodir@&$infodir&g
   19286   s&@localedir@&$localedir&g
   19287   s&@mandir@&$mandir&g
   19288   s&\\\${datarootdir}&$datarootdir&g' ;;
   19289 esac
   19290 _ACEOF
   19291 
   19292 # Neutralize VPATH when `$srcdir' = `.'.
   19293 # Shell code in configure.ac might set extrasub.
   19294 # FIXME: do we really want to maintain this feature?
   19295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19296 ac_sed_extra="$ac_vpsub
   19297 $extrasub
   19298 _ACEOF
   19299 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19300 :t
   19301 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19302 s|@configure_input@|$ac_sed_conf_input|;t t
   19303 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19304 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19305 s&@srcdir@&$ac_srcdir&;t t
   19306 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19307 s&@top_srcdir@&$ac_top_srcdir&;t t
   19308 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19309 s&@builddir@&$ac_builddir&;t t
   19310 s&@abs_builddir@&$ac_abs_builddir&;t t
   19311 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19312 s&@INSTALL@&$ac_INSTALL&;t t
   19313 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19314 $ac_datarootdir_hack
   19315 "
   19316 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19317   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19318 
   19319 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19320   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19321   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19322       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19323   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19324 which seems to be undefined.  Please make sure it is defined" >&5
   19325 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19326 which seems to be undefined.  Please make sure it is defined" >&2;}
   19327 
   19328   rm -f "$ac_tmp/stdin"
   19329   case $ac_file in
   19330   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19331   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19332   esac \
   19333   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19334  ;;
   19335   :H)
   19336   #
   19337   # CONFIG_HEADER
   19338   #
   19339   if test x"$ac_file" != x-; then
   19340     {
   19341       $as_echo "/* $configure_input  */" \
   19342       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19343     } >"$ac_tmp/config.h" \
   19344       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19345     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19346       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19347 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19348     else
   19349       rm -f "$ac_file"
   19350       mv "$ac_tmp/config.h" "$ac_file" \
   19351 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19352     fi
   19353   else
   19354     $as_echo "/* $configure_input  */" \
   19355       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19356       || as_fn_error $? "could not create -" "$LINENO" 5
   19357   fi
   19358 # Compute "$ac_file"'s index in $config_headers.
   19359 _am_arg="$ac_file"
   19360 _am_stamp_count=1
   19361 for _am_header in $config_headers :; do
   19362   case $_am_header in
   19363     $_am_arg | $_am_arg:* )
   19364       break ;;
   19365     * )
   19366       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19367   esac
   19368 done
   19369 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19370 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19371 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19372 	 X"$_am_arg" : 'X\(//\)$' \| \
   19373 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19374 $as_echo X"$_am_arg" |
   19375     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19376 	    s//\1/
   19377 	    q
   19378 	  }
   19379 	  /^X\(\/\/\)[^/].*/{
   19380 	    s//\1/
   19381 	    q
   19382 	  }
   19383 	  /^X\(\/\/\)$/{
   19384 	    s//\1/
   19385 	    q
   19386 	  }
   19387 	  /^X\(\/\).*/{
   19388 	    s//\1/
   19389 	    q
   19390 	  }
   19391 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19392  ;;
   19393 
   19394   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19395 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19396  ;;
   19397   esac
   19398 
   19399 
   19400   case $ac_file$ac_mode in
   19401     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19402   # Older Autoconf quotes --file arguments for eval, but not when files
   19403   # are listed without --file.  Let's play safe and only enable the eval
   19404   # if we detect the quoting.
   19405   case $CONFIG_FILES in
   19406   *\'*) eval set x "$CONFIG_FILES" ;;
   19407   *)   set x $CONFIG_FILES ;;
   19408   esac
   19409   shift
   19410   for mf
   19411   do
   19412     # Strip MF so we end up with the name of the file.
   19413     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19414     # Check whether this is an Automake generated Makefile or not.
   19415     # We used to match only the files named 'Makefile.in', but
   19416     # some people rename them; so instead we look at the file content.
   19417     # Grep'ing the first line is not enough: some people post-process
   19418     # each Makefile.in and add a new line on top of each file to say so.
   19419     # Grep'ing the whole file is not good either: AIX grep has a line
   19420     # limit of 2048, but all sed's we know have understand at least 4000.
   19421     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19422       dirpart=`$as_dirname -- "$mf" ||
   19423 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19424 	 X"$mf" : 'X\(//\)[^/]' \| \
   19425 	 X"$mf" : 'X\(//\)$' \| \
   19426 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19427 $as_echo X"$mf" |
   19428     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19429 	    s//\1/
   19430 	    q
   19431 	  }
   19432 	  /^X\(\/\/\)[^/].*/{
   19433 	    s//\1/
   19434 	    q
   19435 	  }
   19436 	  /^X\(\/\/\)$/{
   19437 	    s//\1/
   19438 	    q
   19439 	  }
   19440 	  /^X\(\/\).*/{
   19441 	    s//\1/
   19442 	    q
   19443 	  }
   19444 	  s/.*/./; q'`
   19445     else
   19446       continue
   19447     fi
   19448     # Extract the definition of DEPDIR, am__include, and am__quote
   19449     # from the Makefile without running 'make'.
   19450     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19451     test -z "$DEPDIR" && continue
   19452     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19453     test -z "$am__include" && continue
   19454     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19455     # Find all dependency output files, they are included files with
   19456     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19457     # simplest approach to changing $(DEPDIR) to its actual value in the
   19458     # expansion.
   19459     for file in `sed -n "
   19460       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19461 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19462       # Make sure the directory exists.
   19463       test -f "$dirpart/$file" && continue
   19464       fdir=`$as_dirname -- "$file" ||
   19465 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19466 	 X"$file" : 'X\(//\)[^/]' \| \
   19467 	 X"$file" : 'X\(//\)$' \| \
   19468 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19469 $as_echo X"$file" |
   19470     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19471 	    s//\1/
   19472 	    q
   19473 	  }
   19474 	  /^X\(\/\/\)[^/].*/{
   19475 	    s//\1/
   19476 	    q
   19477 	  }
   19478 	  /^X\(\/\/\)$/{
   19479 	    s//\1/
   19480 	    q
   19481 	  }
   19482 	  /^X\(\/\).*/{
   19483 	    s//\1/
   19484 	    q
   19485 	  }
   19486 	  s/.*/./; q'`
   19487       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19488       # echo "creating $dirpart/$file"
   19489       echo '# dummy' > "$dirpart/$file"
   19490     done
   19491   done
   19492 }
   19493  ;;
   19494     "libtool":C)
   19495 
   19496     # See if we are running on zsh, and set the options which allow our
   19497     # commands through without removal of \ escapes.
   19498     if test -n "${ZSH_VERSION+set}" ; then
   19499       setopt NO_GLOB_SUBST
   19500     fi
   19501 
   19502     cfgfile="${ofile}T"
   19503     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19504     $RM "$cfgfile"
   19505 
   19506     cat <<_LT_EOF >> "$cfgfile"
   19507 #! $SHELL
   19508 
   19509 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19510 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19511 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19512 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19513 #
   19514 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19515 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19516 #   Written by Gordon Matzigkeit, 1996
   19517 #
   19518 #   This file is part of GNU Libtool.
   19519 #
   19520 # GNU Libtool is free software; you can redistribute it and/or
   19521 # modify it under the terms of the GNU General Public License as
   19522 # published by the Free Software Foundation; either version 2 of
   19523 # the License, or (at your option) any later version.
   19524 #
   19525 # As a special exception to the GNU General Public License,
   19526 # if you distribute this file as part of a program or library that
   19527 # is built using GNU Libtool, you may include this file under the
   19528 # same distribution terms that you use for the rest of that program.
   19529 #
   19530 # GNU Libtool is distributed in the hope that it will be useful,
   19531 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19532 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19533 # GNU General Public License for more details.
   19534 #
   19535 # You should have received a copy of the GNU General Public License
   19536 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19537 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19538 # obtained by writing to the Free Software Foundation, Inc.,
   19539 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19540 
   19541 
   19542 # The names of the tagged configurations supported by this script.
   19543 available_tags="CXX "
   19544 
   19545 # ### BEGIN LIBTOOL CONFIG
   19546 
   19547 # Whether or not to build shared libraries.
   19548 build_libtool_libs=$enable_shared
   19549 
   19550 # Which release of libtool.m4 was used?
   19551 macro_version=$macro_version
   19552 macro_revision=$macro_revision
   19553 
   19554 # Whether or not to build static libraries.
   19555 build_old_libs=$enable_static
   19556 
   19557 # What type of objects to build.
   19558 pic_mode=$pic_mode
   19559 
   19560 # Whether or not to optimize for fast installation.
   19561 fast_install=$enable_fast_install
   19562 
   19563 # Shell to use when invoking shell scripts.
   19564 SHELL=$lt_SHELL
   19565 
   19566 # An echo program that protects backslashes.
   19567 ECHO=$lt_ECHO
   19568 
   19569 # The host system.
   19570 host_alias=$host_alias
   19571 host=$host
   19572 host_os=$host_os
   19573 
   19574 # The build system.
   19575 build_alias=$build_alias
   19576 build=$build
   19577 build_os=$build_os
   19578 
   19579 # A sed program that does not truncate output.
   19580 SED=$lt_SED
   19581 
   19582 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19583 Xsed="\$SED -e 1s/^X//"
   19584 
   19585 # A grep program that handles long lines.
   19586 GREP=$lt_GREP
   19587 
   19588 # An ERE matcher.
   19589 EGREP=$lt_EGREP
   19590 
   19591 # A literal string matcher.
   19592 FGREP=$lt_FGREP
   19593 
   19594 # A BSD- or MS-compatible name lister.
   19595 NM=$lt_NM
   19596 
   19597 # Whether we need soft or hard links.
   19598 LN_S=$lt_LN_S
   19599 
   19600 # What is the maximum length of a command?
   19601 max_cmd_len=$max_cmd_len
   19602 
   19603 # Object file suffix (normally "o").
   19604 objext=$ac_objext
   19605 
   19606 # Executable file suffix (normally "").
   19607 exeext=$exeext
   19608 
   19609 # whether the shell understands "unset".
   19610 lt_unset=$lt_unset
   19611 
   19612 # turn spaces into newlines.
   19613 SP2NL=$lt_lt_SP2NL
   19614 
   19615 # turn newlines into spaces.
   19616 NL2SP=$lt_lt_NL2SP
   19617 
   19618 # An object symbol dumper.
   19619 OBJDUMP=$lt_OBJDUMP
   19620 
   19621 # Method to check whether dependent libraries are shared objects.
   19622 deplibs_check_method=$lt_deplibs_check_method
   19623 
   19624 # Command to use when deplibs_check_method == "file_magic".
   19625 file_magic_cmd=$lt_file_magic_cmd
   19626 
   19627 # The archiver.
   19628 AR=$lt_AR
   19629 AR_FLAGS=$lt_AR_FLAGS
   19630 
   19631 # A symbol stripping program.
   19632 STRIP=$lt_STRIP
   19633 
   19634 # Commands used to install an old-style archive.
   19635 RANLIB=$lt_RANLIB
   19636 old_postinstall_cmds=$lt_old_postinstall_cmds
   19637 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19638 
   19639 # Whether to use a lock for old archive extraction.
   19640 lock_old_archive_extraction=$lock_old_archive_extraction
   19641 
   19642 # A C compiler.
   19643 LTCC=$lt_CC
   19644 
   19645 # LTCC compiler flags.
   19646 LTCFLAGS=$lt_CFLAGS
   19647 
   19648 # Take the output of nm and produce a listing of raw symbols and C names.
   19649 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19650 
   19651 # Transform the output of nm in a proper C declaration.
   19652 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19653 
   19654 # Transform the output of nm in a C name address pair.
   19655 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19656 
   19657 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19658 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19659 
   19660 # The name of the directory that contains temporary libtool files.
   19661 objdir=$objdir
   19662 
   19663 # Used to examine libraries when file_magic_cmd begins with "file".
   19664 MAGIC_CMD=$MAGIC_CMD
   19665 
   19666 # Must we lock files when doing compilation?
   19667 need_locks=$lt_need_locks
   19668 
   19669 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19670 DSYMUTIL=$lt_DSYMUTIL
   19671 
   19672 # Tool to change global to local symbols on Mac OS X.
   19673 NMEDIT=$lt_NMEDIT
   19674 
   19675 # Tool to manipulate fat objects and archives on Mac OS X.
   19676 LIPO=$lt_LIPO
   19677 
   19678 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19679 OTOOL=$lt_OTOOL
   19680 
   19681 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19682 OTOOL64=$lt_OTOOL64
   19683 
   19684 # Old archive suffix (normally "a").
   19685 libext=$libext
   19686 
   19687 # Shared library suffix (normally ".so").
   19688 shrext_cmds=$lt_shrext_cmds
   19689 
   19690 # The commands to extract the exported symbol list from a shared archive.
   19691 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19692 
   19693 # Variables whose values should be saved in libtool wrapper scripts and
   19694 # restored at link time.
   19695 variables_saved_for_relink=$lt_variables_saved_for_relink
   19696 
   19697 # Do we need the "lib" prefix for modules?
   19698 need_lib_prefix=$need_lib_prefix
   19699 
   19700 # Do we need a version for libraries?
   19701 need_version=$need_version
   19702 
   19703 # Library versioning type.
   19704 version_type=$version_type
   19705 
   19706 # Shared library runtime path variable.
   19707 runpath_var=$runpath_var
   19708 
   19709 # Shared library path variable.
   19710 shlibpath_var=$shlibpath_var
   19711 
   19712 # Is shlibpath searched before the hard-coded library search path?
   19713 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19714 
   19715 # Format of library name prefix.
   19716 libname_spec=$lt_libname_spec
   19717 
   19718 # List of archive names.  First name is the real one, the rest are links.
   19719 # The last name is the one that the linker finds with -lNAME
   19720 library_names_spec=$lt_library_names_spec
   19721 
   19722 # The coded name of the library, if different from the real name.
   19723 soname_spec=$lt_soname_spec
   19724 
   19725 # Permission mode override for installation of shared libraries.
   19726 install_override_mode=$lt_install_override_mode
   19727 
   19728 # Command to use after installation of a shared archive.
   19729 postinstall_cmds=$lt_postinstall_cmds
   19730 
   19731 # Command to use after uninstallation of a shared archive.
   19732 postuninstall_cmds=$lt_postuninstall_cmds
   19733 
   19734 # Commands used to finish a libtool library installation in a directory.
   19735 finish_cmds=$lt_finish_cmds
   19736 
   19737 # As "finish_cmds", except a single script fragment to be evaled but
   19738 # not shown.
   19739 finish_eval=$lt_finish_eval
   19740 
   19741 # Whether we should hardcode library paths into libraries.
   19742 hardcode_into_libs=$hardcode_into_libs
   19743 
   19744 # Compile-time system search path for libraries.
   19745 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19746 
   19747 # Run-time system search path for libraries.
   19748 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19749 
   19750 # Whether dlopen is supported.
   19751 dlopen_support=$enable_dlopen
   19752 
   19753 # Whether dlopen of programs is supported.
   19754 dlopen_self=$enable_dlopen_self
   19755 
   19756 # Whether dlopen of statically linked programs is supported.
   19757 dlopen_self_static=$enable_dlopen_self_static
   19758 
   19759 # Commands to strip libraries.
   19760 old_striplib=$lt_old_striplib
   19761 striplib=$lt_striplib
   19762 
   19763 
   19764 # The linker used to build libraries.
   19765 LD=$lt_LD
   19766 
   19767 # How to create reloadable object files.
   19768 reload_flag=$lt_reload_flag
   19769 reload_cmds=$lt_reload_cmds
   19770 
   19771 # Commands used to build an old-style archive.
   19772 old_archive_cmds=$lt_old_archive_cmds
   19773 
   19774 # A language specific compiler.
   19775 CC=$lt_compiler
   19776 
   19777 # Is the compiler the GNU compiler?
   19778 with_gcc=$GCC
   19779 
   19780 # Compiler flag to turn off builtin functions.
   19781 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19782 
   19783 # How to pass a linker flag through the compiler.
   19784 wl=$lt_lt_prog_compiler_wl
   19785 
   19786 # Additional compiler flags for building library objects.
   19787 pic_flag=$lt_lt_prog_compiler_pic
   19788 
   19789 # Compiler flag to prevent dynamic linking.
   19790 link_static_flag=$lt_lt_prog_compiler_static
   19791 
   19792 # Does compiler simultaneously support -c and -o options?
   19793 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19794 
   19795 # Whether or not to add -lc for building shared libraries.
   19796 build_libtool_need_lc=$archive_cmds_need_lc
   19797 
   19798 # Whether or not to disallow shared libs when runtime libs are static.
   19799 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19800 
   19801 # Compiler flag to allow reflexive dlopens.
   19802 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19803 
   19804 # Compiler flag to generate shared objects directly from archives.
   19805 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19806 
   19807 # Whether the compiler copes with passing no objects directly.
   19808 compiler_needs_object=$lt_compiler_needs_object
   19809 
   19810 # Create an old-style archive from a shared archive.
   19811 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19812 
   19813 # Create a temporary old-style archive to link instead of a shared archive.
   19814 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19815 
   19816 # Commands used to build a shared archive.
   19817 archive_cmds=$lt_archive_cmds
   19818 archive_expsym_cmds=$lt_archive_expsym_cmds
   19819 
   19820 # Commands used to build a loadable module if different from building
   19821 # a shared archive.
   19822 module_cmds=$lt_module_cmds
   19823 module_expsym_cmds=$lt_module_expsym_cmds
   19824 
   19825 # Whether we are building with GNU ld or not.
   19826 with_gnu_ld=$lt_with_gnu_ld
   19827 
   19828 # Flag that allows shared libraries with undefined symbols to be built.
   19829 allow_undefined_flag=$lt_allow_undefined_flag
   19830 
   19831 # Flag that enforces no undefined symbols.
   19832 no_undefined_flag=$lt_no_undefined_flag
   19833 
   19834 # Flag to hardcode \$libdir into a binary during linking.
   19835 # This must work even if \$libdir does not exist
   19836 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19837 
   19838 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19839 # during linking.  This must work even if \$libdir does not exist.
   19840 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19841 
   19842 # Whether we need a single "-rpath" flag with a separated argument.
   19843 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19844 
   19845 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19846 # DIR into the resulting binary.
   19847 hardcode_direct=$hardcode_direct
   19848 
   19849 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19850 # DIR into the resulting binary and the resulting library dependency is
   19851 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19852 # library is relocated.
   19853 hardcode_direct_absolute=$hardcode_direct_absolute
   19854 
   19855 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19856 # into the resulting binary.
   19857 hardcode_minus_L=$hardcode_minus_L
   19858 
   19859 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19860 # into the resulting binary.
   19861 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19862 
   19863 # Set to "yes" if building a shared library automatically hardcodes DIR
   19864 # into the library and all subsequent libraries and executables linked
   19865 # against it.
   19866 hardcode_automatic=$hardcode_automatic
   19867 
   19868 # Set to yes if linker adds runtime paths of dependent libraries
   19869 # to runtime path list.
   19870 inherit_rpath=$inherit_rpath
   19871 
   19872 # Whether libtool must link a program against all its dependency libraries.
   19873 link_all_deplibs=$link_all_deplibs
   19874 
   19875 # Fix the shell variable \$srcfile for the compiler.
   19876 fix_srcfile_path=$lt_fix_srcfile_path
   19877 
   19878 # Set to "yes" if exported symbols are required.
   19879 always_export_symbols=$always_export_symbols
   19880 
   19881 # The commands to list exported symbols.
   19882 export_symbols_cmds=$lt_export_symbols_cmds
   19883 
   19884 # Symbols that should not be listed in the preloaded symbols.
   19885 exclude_expsyms=$lt_exclude_expsyms
   19886 
   19887 # Symbols that must always be exported.
   19888 include_expsyms=$lt_include_expsyms
   19889 
   19890 # Commands necessary for linking programs (against libraries) with templates.
   19891 prelink_cmds=$lt_prelink_cmds
   19892 
   19893 # Specify filename containing input files.
   19894 file_list_spec=$lt_file_list_spec
   19895 
   19896 # How to hardcode a shared library path into an executable.
   19897 hardcode_action=$hardcode_action
   19898 
   19899 # The directories searched by this compiler when creating a shared library.
   19900 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   19901 
   19902 # Dependencies to place before and after the objects being linked to
   19903 # create a shared library.
   19904 predep_objects=$lt_predep_objects
   19905 postdep_objects=$lt_postdep_objects
   19906 predeps=$lt_predeps
   19907 postdeps=$lt_postdeps
   19908 
   19909 # The library search path used internally by the compiler when linking
   19910 # a shared library.
   19911 compiler_lib_search_path=$lt_compiler_lib_search_path
   19912 
   19913 # ### END LIBTOOL CONFIG
   19914 
   19915 _LT_EOF
   19916 
   19917   case $host_os in
   19918   aix3*)
   19919     cat <<\_LT_EOF >> "$cfgfile"
   19920 # AIX sometimes has problems with the GCC collect2 program.  For some
   19921 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19922 # vanish in a puff of smoke.
   19923 if test "X${COLLECT_NAMES+set}" != Xset; then
   19924   COLLECT_NAMES=
   19925   export COLLECT_NAMES
   19926 fi
   19927 _LT_EOF
   19928     ;;
   19929   esac
   19930 
   19931 
   19932 ltmain="$ac_aux_dir/ltmain.sh"
   19933 
   19934 
   19935   # We use sed instead of cat because bash on DJGPP gets confused if
   19936   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19937   # text mode, it properly converts lines to CR/LF.  This bash problem
   19938   # is reportedly fixed, but why not run on old versions too?
   19939   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19940     || (rm -f "$cfgfile"; exit 1)
   19941 
   19942   case $xsi_shell in
   19943   yes)
   19944     cat << \_LT_EOF >> "$cfgfile"
   19945 
   19946 # func_dirname file append nondir_replacement
   19947 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19948 # otherwise set result to NONDIR_REPLACEMENT.
   19949 func_dirname ()
   19950 {
   19951   case ${1} in
   19952     */*) func_dirname_result="${1%/*}${2}" ;;
   19953     *  ) func_dirname_result="${3}" ;;
   19954   esac
   19955 }
   19956 
   19957 # func_basename file
   19958 func_basename ()
   19959 {
   19960   func_basename_result="${1##*/}"
   19961 }
   19962 
   19963 # func_dirname_and_basename file append nondir_replacement
   19964 # perform func_basename and func_dirname in a single function
   19965 # call:
   19966 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19967 #             add APPEND to the result, otherwise set result
   19968 #             to NONDIR_REPLACEMENT.
   19969 #             value returned in "$func_dirname_result"
   19970 #   basename: Compute filename of FILE.
   19971 #             value retuned in "$func_basename_result"
   19972 # Implementation must be kept synchronized with func_dirname
   19973 # and func_basename. For efficiency, we do not delegate to
   19974 # those functions but instead duplicate the functionality here.
   19975 func_dirname_and_basename ()
   19976 {
   19977   case ${1} in
   19978     */*) func_dirname_result="${1%/*}${2}" ;;
   19979     *  ) func_dirname_result="${3}" ;;
   19980   esac
   19981   func_basename_result="${1##*/}"
   19982 }
   19983 
   19984 # func_stripname prefix suffix name
   19985 # strip PREFIX and SUFFIX off of NAME.
   19986 # PREFIX and SUFFIX must not contain globbing or regex special
   19987 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19988 # dot (in which case that matches only a dot).
   19989 func_stripname ()
   19990 {
   19991   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19992   # positional parameters, so assign one to ordinary parameter first.
   19993   func_stripname_result=${3}
   19994   func_stripname_result=${func_stripname_result#"${1}"}
   19995   func_stripname_result=${func_stripname_result%"${2}"}
   19996 }
   19997 
   19998 # func_opt_split
   19999 func_opt_split ()
   20000 {
   20001   func_opt_split_opt=${1%%=*}
   20002   func_opt_split_arg=${1#*=}
   20003 }
   20004 
   20005 # func_lo2o object
   20006 func_lo2o ()
   20007 {
   20008   case ${1} in
   20009     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   20010     *)    func_lo2o_result=${1} ;;
   20011   esac
   20012 }
   20013 
   20014 # func_xform libobj-or-source
   20015 func_xform ()
   20016 {
   20017   func_xform_result=${1%.*}.lo
   20018 }
   20019 
   20020 # func_arith arithmetic-term...
   20021 func_arith ()
   20022 {
   20023   func_arith_result=$(( $* ))
   20024 }
   20025 
   20026 # func_len string
   20027 # STRING may not start with a hyphen.
   20028 func_len ()
   20029 {
   20030   func_len_result=${#1}
   20031 }
   20032 
   20033 _LT_EOF
   20034     ;;
   20035   *) # Bourne compatible functions.
   20036     cat << \_LT_EOF >> "$cfgfile"
   20037 
   20038 # func_dirname file append nondir_replacement
   20039 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   20040 # otherwise set result to NONDIR_REPLACEMENT.
   20041 func_dirname ()
   20042 {
   20043   # Extract subdirectory from the argument.
   20044   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   20045   if test "X$func_dirname_result" = "X${1}"; then
   20046     func_dirname_result="${3}"
   20047   else
   20048     func_dirname_result="$func_dirname_result${2}"
   20049   fi
   20050 }
   20051 
   20052 # func_basename file
   20053 func_basename ()
   20054 {
   20055   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   20056 }
   20057 
   20058 
   20059 # func_stripname prefix suffix name
   20060 # strip PREFIX and SUFFIX off of NAME.
   20061 # PREFIX and SUFFIX must not contain globbing or regex special
   20062 # characters, hashes, percent signs, but SUFFIX may contain a leading
   20063 # dot (in which case that matches only a dot).
   20064 # func_strip_suffix prefix name
   20065 func_stripname ()
   20066 {
   20067   case ${2} in
   20068     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   20069     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   20070   esac
   20071 }
   20072 
   20073 # sed scripts:
   20074 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   20075 my_sed_long_arg='1s/^-[^=]*=//'
   20076 
   20077 # func_opt_split
   20078 func_opt_split ()
   20079 {
   20080   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   20081   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   20082 }
   20083 
   20084 # func_lo2o object
   20085 func_lo2o ()
   20086 {
   20087   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   20088 }
   20089 
   20090 # func_xform libobj-or-source
   20091 func_xform ()
   20092 {
   20093   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   20094 }
   20095 
   20096 # func_arith arithmetic-term...
   20097 func_arith ()
   20098 {
   20099   func_arith_result=`expr "$@"`
   20100 }
   20101 
   20102 # func_len string
   20103 # STRING may not start with a hyphen.
   20104 func_len ()
   20105 {
   20106   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   20107 }
   20108 
   20109 _LT_EOF
   20110 esac
   20111 
   20112 case $lt_shell_append in
   20113   yes)
   20114     cat << \_LT_EOF >> "$cfgfile"
   20115 
   20116 # func_append var value
   20117 # Append VALUE to the end of shell variable VAR.
   20118 func_append ()
   20119 {
   20120   eval "$1+=\$2"
   20121 }
   20122 _LT_EOF
   20123     ;;
   20124   *)
   20125     cat << \_LT_EOF >> "$cfgfile"
   20126 
   20127 # func_append var value
   20128 # Append VALUE to the end of shell variable VAR.
   20129 func_append ()
   20130 {
   20131   eval "$1=\$$1\$2"
   20132 }
   20133 
   20134 _LT_EOF
   20135     ;;
   20136   esac
   20137 
   20138 
   20139   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   20140     || (rm -f "$cfgfile"; exit 1)
   20141 
   20142   mv -f "$cfgfile" "$ofile" ||
   20143     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20144   chmod +x "$ofile"
   20145 
   20146 
   20147     cat <<_LT_EOF >> "$ofile"
   20148 
   20149 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   20150 
   20151 # The linker used to build libraries.
   20152 LD=$lt_LD_CXX
   20153 
   20154 # How to create reloadable object files.
   20155 reload_flag=$lt_reload_flag_CXX
   20156 reload_cmds=$lt_reload_cmds_CXX
   20157 
   20158 # Commands used to build an old-style archive.
   20159 old_archive_cmds=$lt_old_archive_cmds_CXX
   20160 
   20161 # A language specific compiler.
   20162 CC=$lt_compiler_CXX
   20163 
   20164 # Is the compiler the GNU compiler?
   20165 with_gcc=$GCC_CXX
   20166 
   20167 # Compiler flag to turn off builtin functions.
   20168 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   20169 
   20170 # How to pass a linker flag through the compiler.
   20171 wl=$lt_lt_prog_compiler_wl_CXX
   20172 
   20173 # Additional compiler flags for building library objects.
   20174 pic_flag=$lt_lt_prog_compiler_pic_CXX
   20175 
   20176 # Compiler flag to prevent dynamic linking.
   20177 link_static_flag=$lt_lt_prog_compiler_static_CXX
   20178 
   20179 # Does compiler simultaneously support -c and -o options?
   20180 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   20181 
   20182 # Whether or not to add -lc for building shared libraries.
   20183 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   20184 
   20185 # Whether or not to disallow shared libs when runtime libs are static.
   20186 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   20187 
   20188 # Compiler flag to allow reflexive dlopens.
   20189 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   20190 
   20191 # Compiler flag to generate shared objects directly from archives.
   20192 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   20193 
   20194 # Whether the compiler copes with passing no objects directly.
   20195 compiler_needs_object=$lt_compiler_needs_object_CXX
   20196 
   20197 # Create an old-style archive from a shared archive.
   20198 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   20199 
   20200 # Create a temporary old-style archive to link instead of a shared archive.
   20201 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   20202 
   20203 # Commands used to build a shared archive.
   20204 archive_cmds=$lt_archive_cmds_CXX
   20205 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   20206 
   20207 # Commands used to build a loadable module if different from building
   20208 # a shared archive.
   20209 module_cmds=$lt_module_cmds_CXX
   20210 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   20211 
   20212 # Whether we are building with GNU ld or not.
   20213 with_gnu_ld=$lt_with_gnu_ld_CXX
   20214 
   20215 # Flag that allows shared libraries with undefined symbols to be built.
   20216 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   20217 
   20218 # Flag that enforces no undefined symbols.
   20219 no_undefined_flag=$lt_no_undefined_flag_CXX
   20220 
   20221 # Flag to hardcode \$libdir into a binary during linking.
   20222 # This must work even if \$libdir does not exist
   20223 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   20224 
   20225 # If ld is used when linking, flag to hardcode \$libdir into a binary
   20226 # during linking.  This must work even if \$libdir does not exist.
   20227 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   20228 
   20229 # Whether we need a single "-rpath" flag with a separated argument.
   20230 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   20231 
   20232 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20233 # DIR into the resulting binary.
   20234 hardcode_direct=$hardcode_direct_CXX
   20235 
   20236 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20237 # DIR into the resulting binary and the resulting library dependency is
   20238 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20239 # library is relocated.
   20240 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   20241 
   20242 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20243 # into the resulting binary.
   20244 hardcode_minus_L=$hardcode_minus_L_CXX
   20245 
   20246 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20247 # into the resulting binary.
   20248 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   20249 
   20250 # Set to "yes" if building a shared library automatically hardcodes DIR
   20251 # into the library and all subsequent libraries and executables linked
   20252 # against it.
   20253 hardcode_automatic=$hardcode_automatic_CXX
   20254 
   20255 # Set to yes if linker adds runtime paths of dependent libraries
   20256 # to runtime path list.
   20257 inherit_rpath=$inherit_rpath_CXX
   20258 
   20259 # Whether libtool must link a program against all its dependency libraries.
   20260 link_all_deplibs=$link_all_deplibs_CXX
   20261 
   20262 # Fix the shell variable \$srcfile for the compiler.
   20263 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   20264 
   20265 # Set to "yes" if exported symbols are required.
   20266 always_export_symbols=$always_export_symbols_CXX
   20267 
   20268 # The commands to list exported symbols.
   20269 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   20270 
   20271 # Symbols that should not be listed in the preloaded symbols.
   20272 exclude_expsyms=$lt_exclude_expsyms_CXX
   20273 
   20274 # Symbols that must always be exported.
   20275 include_expsyms=$lt_include_expsyms_CXX
   20276 
   20277 # Commands necessary for linking programs (against libraries) with templates.
   20278 prelink_cmds=$lt_prelink_cmds_CXX
   20279 
   20280 # Specify filename containing input files.
   20281 file_list_spec=$lt_file_list_spec_CXX
   20282 
   20283 # How to hardcode a shared library path into an executable.
   20284 hardcode_action=$hardcode_action_CXX
   20285 
   20286 # The directories searched by this compiler when creating a shared library.
   20287 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   20288 
   20289 # Dependencies to place before and after the objects being linked to
   20290 # create a shared library.
   20291 predep_objects=$lt_predep_objects_CXX
   20292 postdep_objects=$lt_postdep_objects_CXX
   20293 predeps=$lt_predeps_CXX
   20294 postdeps=$lt_postdeps_CXX
   20295 
   20296 # The library search path used internally by the compiler when linking
   20297 # a shared library.
   20298 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   20299 
   20300 # ### END LIBTOOL TAG CONFIG: CXX
   20301 _LT_EOF
   20302 
   20303  ;;
   20304 
   20305   esac
   20306 done # for ac_tag
   20307 
   20308 
   20309 as_fn_exit 0
   20310 _ACEOF
   20311 ac_clean_files=$ac_clean_files_save
   20312 
   20313 test $ac_write_fail = 0 ||
   20314   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20315 
   20316 
   20317 # configure is writing to config.log, and then calls config.status.
   20318 # config.status does its own redirection, appending to config.log.
   20319 # Unfortunately, on DOS this fails, as config.log is still kept open
   20320 # by configure, so config.status won't be able to write to it; its
   20321 # output is simply discarded.  So we exec the FD to /dev/null,
   20322 # effectively closing config.log, so it can be properly (re)opened and
   20323 # appended to by config.status.  When coming back to configure, we
   20324 # need to make the FD available again.
   20325 if test "$no_create" != yes; then
   20326   ac_cs_success=:
   20327   ac_config_status_args=
   20328   test "$silent" = yes &&
   20329     ac_config_status_args="$ac_config_status_args --quiet"
   20330   exec 5>/dev/null
   20331   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20332   exec 5>>config.log
   20333   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20334   # would make configure fail if this is the last instruction.
   20335   $ac_cs_success || as_fn_exit 1
   20336 fi
   20337 
   20338 #
   20339 # CONFIG_SUBDIRS section.
   20340 #
   20341 if test "$no_recursion" != yes; then
   20342 
   20343   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
   20344   # so they do not pile up.
   20345   ac_sub_configure_args=
   20346   ac_prev=
   20347   eval "set x $ac_configure_args"
   20348   shift
   20349   for ac_arg
   20350   do
   20351     if test -n "$ac_prev"; then
   20352       ac_prev=
   20353       continue
   20354     fi
   20355     case $ac_arg in
   20356     -cache-file | --cache-file | --cache-fil | --cache-fi \
   20357     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   20358       ac_prev=cache_file ;;
   20359     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   20360     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
   20361     | --c=*)
   20362       ;;
   20363     --config-cache | -C)
   20364       ;;
   20365     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   20366       ac_prev=srcdir ;;
   20367     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   20368       ;;
   20369     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   20370       ac_prev=prefix ;;
   20371     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   20372       ;;
   20373     --disable-option-checking)
   20374       ;;
   20375     *)
   20376       case $ac_arg in
   20377       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20378       esac
   20379       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
   20380     esac
   20381   done
   20382 
   20383   # Always prepend --prefix to ensure using the same prefix
   20384   # in subdir configurations.
   20385   ac_arg="--prefix=$prefix"
   20386   case $ac_arg in
   20387   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   20388   esac
   20389   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
   20390 
   20391   # Pass --silent
   20392   if test "$silent" = yes; then
   20393     ac_sub_configure_args="--silent $ac_sub_configure_args"
   20394   fi
   20395 
   20396   # Always prepend --disable-option-checking to silence warnings, since
   20397   # different subdirs can have different --enable and --with options.
   20398   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
   20399 
   20400   ac_popdir=`pwd`
   20401   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
   20402 
   20403     # Do not complain, so a configure script can configure whichever
   20404     # parts of a large source tree are present.
   20405     test -d "$srcdir/$ac_dir" || continue
   20406 
   20407     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
   20408     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
   20409     $as_echo "$ac_msg" >&6
   20410     as_dir="$ac_dir"; as_fn_mkdir_p
   20411     ac_builddir=.
   20412 
   20413 case "$ac_dir" in
   20414 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20415 *)
   20416   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20417   # A ".." for each directory in $ac_dir_suffix.
   20418   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20419   case $ac_top_builddir_sub in
   20420   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20421   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20422   esac ;;
   20423 esac
   20424 ac_abs_top_builddir=$ac_pwd
   20425 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20426 # for backward compatibility:
   20427 ac_top_builddir=$ac_top_build_prefix
   20428 
   20429 case $srcdir in
   20430   .)  # We are building in place.
   20431     ac_srcdir=.
   20432     ac_top_srcdir=$ac_top_builddir_sub
   20433     ac_abs_top_srcdir=$ac_pwd ;;
   20434   [\\/]* | ?:[\\/]* )  # Absolute name.
   20435     ac_srcdir=$srcdir$ac_dir_suffix;
   20436     ac_top_srcdir=$srcdir
   20437     ac_abs_top_srcdir=$srcdir ;;
   20438   *) # Relative name.
   20439     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20440     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20441     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20442 esac
   20443 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20444 
   20445 
   20446     cd "$ac_dir"
   20447 
   20448     # Check for guested configure; otherwise get Cygnus style configure.
   20449     if test -f "$ac_srcdir/configure.gnu"; then
   20450       ac_sub_configure=$ac_srcdir/configure.gnu
   20451     elif test -f "$ac_srcdir/configure"; then
   20452       ac_sub_configure=$ac_srcdir/configure
   20453     elif test -f "$ac_srcdir/configure.in"; then
   20454       # This should be Cygnus configure.
   20455       ac_sub_configure=$ac_aux_dir/configure
   20456     else
   20457       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
   20458 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
   20459       ac_sub_configure=
   20460     fi
   20461 
   20462     # The recursion is here.
   20463     if test -n "$ac_sub_configure"; then
   20464       # Make the cache file name correct relative to the subdirectory.
   20465       case $cache_file in
   20466       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
   20467       *) # Relative name.
   20468 	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
   20469       esac
   20470 
   20471       { $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
   20472 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
   20473       # The eval makes quoting arguments work.
   20474       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
   20475 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
   20476 	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
   20477     fi
   20478 
   20479     cd "$ac_popdir"
   20480   done
   20481 fi
   20482 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20483   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20484 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20485 fi
   20486 
   20487 
   20488