Home | History | Annotate | Line # | Download | only in gprofng
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for gprofng 2.45.
      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.45'
    591 PACKAGE_STRING='gprofng 2.45'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 # Factoring default headers for most tests.
    596 ac_includes_default="\
    597 #include <stdio.h>
    598 #ifdef HAVE_SYS_TYPES_H
    599 # include <sys/types.h>
    600 #endif
    601 #ifdef HAVE_SYS_STAT_H
    602 # include <sys/stat.h>
    603 #endif
    604 #ifdef STDC_HEADERS
    605 # include <stdlib.h>
    606 # include <stddef.h>
    607 #else
    608 # ifdef HAVE_STDLIB_H
    609 #  include <stdlib.h>
    610 # endif
    611 #endif
    612 #ifdef HAVE_STRING_H
    613 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    614 #  include <memory.h>
    615 # endif
    616 # include <string.h>
    617 #endif
    618 #ifdef HAVE_STRINGS_H
    619 # include <strings.h>
    620 #endif
    621 #ifdef HAVE_INTTYPES_H
    622 # include <inttypes.h>
    623 #endif
    624 #ifdef HAVE_STDINT_H
    625 # include <stdint.h>
    626 #endif
    627 #ifdef HAVE_UNISTD_H
    628 # include <unistd.h>
    629 #endif"
    630 
    631 enable_option_checking=no
    632 ac_subst_vars='am__EXEEXT_FALSE
    633 am__EXEEXT_TRUE
    634 LTLIBOBJS
    635 LIBOBJS
    636 BUILD_SUBDIRS
    637 CLOCK_GETTIME_LINK
    638 GPROFNG_CPPFLAGS
    639 GPROFNG_NO_FORMAT_TRUNCATION_CFLAGS
    640 GPROFNG_CFLAGS
    641 LD_NO_AS_NEEDED
    642 BASH
    643 BUILD_DOC_FALSE
    644 BUILD_DOC_TRUE
    645 BUILD_MAN_FALSE
    646 BUILD_MAN_TRUE
    647 zlibinc
    648 zlibdir
    649 TCL_TRY_FALSE
    650 TCL_TRY_TRUE
    651 EXPECT
    652 jdk_inc
    653 GPROFNG_BROKEN_JAVAC
    654 JAVA
    655 JAVAC
    656 PTHREAD_CFLAGS
    657 PTHREAD_LIBS
    658 PTHREAD_CC
    659 ax_pthread_config
    660 subdirs
    661 BUILD_SRC_FALSE
    662 BUILD_SRC_TRUE
    663 BUILD_COLLECTOR_FALSE
    664 BUILD_COLLECTOR_TRUE
    665 GPROFNG_NO_SWITCH_CFLAGS
    666 gprofng_cflags
    667 WERROR
    668 GPROFNG_LIBADD
    669 CXXCPP
    670 OTOOL64
    671 OTOOL
    672 LIPO
    673 NMEDIT
    674 DSYMUTIL
    675 OBJDUMP
    676 LN_S
    677 NM
    678 ac_ct_DUMPBIN
    679 DUMPBIN
    680 LD
    681 FGREP
    682 SED
    683 LIBTOOL
    684 BISON
    685 ac_ct_AR
    686 AR
    687 RANLIB
    688 am__fastdepCXX_FALSE
    689 am__fastdepCXX_TRUE
    690 CXXDEPMODE
    691 ac_ct_CXX
    692 CXXFLAGS
    693 CXX
    694 EGREP
    695 GREP
    696 CPP
    697 am__fastdepCC_FALSE
    698 am__fastdepCC_TRUE
    699 CCDEPMODE
    700 am__nodep
    701 AMDEPBACKSLASH
    702 AMDEP_FALSE
    703 AMDEP_TRUE
    704 am__quote
    705 am__include
    706 DEPDIR
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 MAINT
    715 MAINTAINER_MODE_FALSE
    716 MAINTAINER_MODE_TRUE
    717 AM_BACKSLASH
    718 AM_DEFAULT_VERBOSITY
    719 AM_DEFAULT_V
    720 AM_V
    721 am__untar
    722 am__tar
    723 AMTAR
    724 am__leading_dot
    725 SET_MAKE
    726 AWK
    727 mkdir_p
    728 MKDIR_P
    729 INSTALL_STRIP_PROGRAM
    730 STRIP
    731 install_sh
    732 MAKEINFO
    733 AUTOHEADER
    734 AUTOMAKE
    735 AUTOCONF
    736 ACLOCAL
    737 VERSION
    738 PACKAGE
    739 CYGPATH_W
    740 am__isrc
    741 INSTALL_DATA
    742 INSTALL_SCRIPT
    743 INSTALL_PROGRAM
    744 target_os
    745 target_vendor
    746 target_cpu
    747 target
    748 host_os
    749 host_vendor
    750 host_cpu
    751 host
    752 build_os
    753 build_vendor
    754 build_cpu
    755 build
    756 target_alias
    757 host_alias
    758 build_alias
    759 LIBS
    760 ECHO_T
    761 ECHO_N
    762 ECHO_C
    763 DEFS
    764 mandir
    765 localedir
    766 libdir
    767 psdir
    768 pdfdir
    769 dvidir
    770 htmldir
    771 infodir
    772 docdir
    773 oldincludedir
    774 includedir
    775 localstatedir
    776 sharedstatedir
    777 sysconfdir
    778 datadir
    779 datarootdir
    780 libexecdir
    781 sbindir
    782 bindir
    783 program_transform_name
    784 prefix
    785 exec_prefix
    786 PACKAGE_URL
    787 PACKAGE_BUGREPORT
    788 PACKAGE_STRING
    789 PACKAGE_VERSION
    790 PACKAGE_TARNAME
    791 PACKAGE_NAME
    792 PATH_SEPARATOR
    793 SHELL'
    794 ac_subst_files=''
    795 ac_user_opts='
    796 enable_option_checking
    797 enable_silent_rules
    798 enable_maintainer_mode
    799 enable_dependency_tracking
    800 enable_shared
    801 enable_static
    802 with_pic
    803 enable_fast_install
    804 with_gnu_ld
    805 enable_libtool_lock
    806 enable_werror_always
    807 enable_gprofng_tools
    808 with_jdk
    809 enable_gprofng_debug
    810 with_system_zlib
    811 '
    812       ac_precious_vars='build_alias
    813 host_alias
    814 target_alias
    815 CC
    816 CFLAGS
    817 LDFLAGS
    818 LIBS
    819 CPPFLAGS
    820 CPP
    821 CXX
    822 CXXFLAGS
    823 CCC
    824 CXXCPP'
    825 ac_subdirs_all='libcollector'
    826 
    827 # Initialize some variables set by options.
    828 ac_init_help=
    829 ac_init_version=false
    830 ac_unrecognized_opts=
    831 ac_unrecognized_sep=
    832 # The variables have the same names as the options, with
    833 # dashes changed to underlines.
    834 cache_file=/dev/null
    835 exec_prefix=NONE
    836 no_create=
    837 no_recursion=
    838 prefix=NONE
    839 program_prefix=NONE
    840 program_suffix=NONE
    841 program_transform_name=s,x,x,
    842 silent=
    843 site=
    844 srcdir=
    845 verbose=
    846 x_includes=NONE
    847 x_libraries=NONE
    848 
    849 # Installation directory options.
    850 # These are left unexpanded so users can "make install exec_prefix=/foo"
    851 # and all the variables that are supposed to be based on exec_prefix
    852 # by default will actually change.
    853 # Use braces instead of parens because sh, perl, etc. also accept them.
    854 # (The list follows the same order as the GNU Coding Standards.)
    855 bindir='${exec_prefix}/bin'
    856 sbindir='${exec_prefix}/sbin'
    857 libexecdir='${exec_prefix}/libexec'
    858 datarootdir='${prefix}/share'
    859 datadir='${datarootdir}'
    860 sysconfdir='${prefix}/etc'
    861 sharedstatedir='${prefix}/com'
    862 localstatedir='${prefix}/var'
    863 includedir='${prefix}/include'
    864 oldincludedir='/usr/include'
    865 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    866 infodir='${datarootdir}/info'
    867 htmldir='${docdir}'
    868 dvidir='${docdir}'
    869 pdfdir='${docdir}'
    870 psdir='${docdir}'
    871 libdir='${exec_prefix}/lib'
    872 localedir='${datarootdir}/locale'
    873 mandir='${datarootdir}/man'
    874 
    875 ac_prev=
    876 ac_dashdash=
    877 for ac_option
    878 do
    879   # If the previous option needs an argument, assign it.
    880   if test -n "$ac_prev"; then
    881     eval $ac_prev=\$ac_option
    882     ac_prev=
    883     continue
    884   fi
    885 
    886   case $ac_option in
    887   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    888   *=)   ac_optarg= ;;
    889   *)    ac_optarg=yes ;;
    890   esac
    891 
    892   # Accept the important Cygnus configure options, so we can diagnose typos.
    893 
    894   case $ac_dashdash$ac_option in
    895   --)
    896     ac_dashdash=yes ;;
    897 
    898   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    899     ac_prev=bindir ;;
    900   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    901     bindir=$ac_optarg ;;
    902 
    903   -build | --build | --buil | --bui | --bu)
    904     ac_prev=build_alias ;;
    905   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    906     build_alias=$ac_optarg ;;
    907 
    908   -cache-file | --cache-file | --cache-fil | --cache-fi \
    909   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    910     ac_prev=cache_file ;;
    911   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    912   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    913     cache_file=$ac_optarg ;;
    914 
    915   --config-cache | -C)
    916     cache_file=config.cache ;;
    917 
    918   -datadir | --datadir | --datadi | --datad)
    919     ac_prev=datadir ;;
    920   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    921     datadir=$ac_optarg ;;
    922 
    923   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    924   | --dataroo | --dataro | --datar)
    925     ac_prev=datarootdir ;;
    926   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    927   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    928     datarootdir=$ac_optarg ;;
    929 
    930   -disable-* | --disable-*)
    931     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    932     # Reject names that are not valid shell variable names.
    933     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    934       as_fn_error $? "invalid feature name: $ac_useropt"
    935     ac_useropt_orig=$ac_useropt
    936     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    937     case $ac_user_opts in
    938       *"
    939 "enable_$ac_useropt"
    940 "*) ;;
    941       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    942 	 ac_unrecognized_sep=', ';;
    943     esac
    944     eval enable_$ac_useropt=no ;;
    945 
    946   -docdir | --docdir | --docdi | --doc | --do)
    947     ac_prev=docdir ;;
    948   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    949     docdir=$ac_optarg ;;
    950 
    951   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    952     ac_prev=dvidir ;;
    953   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    954     dvidir=$ac_optarg ;;
    955 
    956   -enable-* | --enable-*)
    957     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    958     # Reject names that are not valid shell variable names.
    959     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    960       as_fn_error $? "invalid feature name: $ac_useropt"
    961     ac_useropt_orig=$ac_useropt
    962     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    963     case $ac_user_opts in
    964       *"
    965 "enable_$ac_useropt"
    966 "*) ;;
    967       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    968 	 ac_unrecognized_sep=', ';;
    969     esac
    970     eval enable_$ac_useropt=\$ac_optarg ;;
    971 
    972   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    973   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    974   | --exec | --exe | --ex)
    975     ac_prev=exec_prefix ;;
    976   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    977   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    978   | --exec=* | --exe=* | --ex=*)
    979     exec_prefix=$ac_optarg ;;
    980 
    981   -gas | --gas | --ga | --g)
    982     # Obsolete; use --with-gas.
    983     with_gas=yes ;;
    984 
    985   -help | --help | --hel | --he | -h)
    986     ac_init_help=long ;;
    987   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    988     ac_init_help=recursive ;;
    989   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    990     ac_init_help=short ;;
    991 
    992   -host | --host | --hos | --ho)
    993     ac_prev=host_alias ;;
    994   -host=* | --host=* | --hos=* | --ho=*)
    995     host_alias=$ac_optarg ;;
    996 
    997   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    998     ac_prev=htmldir ;;
    999   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1000   | --ht=*)
   1001     htmldir=$ac_optarg ;;
   1002 
   1003   -includedir | --includedir | --includedi | --included | --include \
   1004   | --includ | --inclu | --incl | --inc)
   1005     ac_prev=includedir ;;
   1006   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1007   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1008     includedir=$ac_optarg ;;
   1009 
   1010   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1011     ac_prev=infodir ;;
   1012   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1013     infodir=$ac_optarg ;;
   1014 
   1015   -libdir | --libdir | --libdi | --libd)
   1016     ac_prev=libdir ;;
   1017   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1018     libdir=$ac_optarg ;;
   1019 
   1020   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1021   | --libexe | --libex | --libe)
   1022     ac_prev=libexecdir ;;
   1023   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1024   | --libexe=* | --libex=* | --libe=*)
   1025     libexecdir=$ac_optarg ;;
   1026 
   1027   -localedir | --localedir | --localedi | --localed | --locale)
   1028     ac_prev=localedir ;;
   1029   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1030     localedir=$ac_optarg ;;
   1031 
   1032   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1033   | --localstate | --localstat | --localsta | --localst | --locals)
   1034     ac_prev=localstatedir ;;
   1035   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1036   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1037     localstatedir=$ac_optarg ;;
   1038 
   1039   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1040     ac_prev=mandir ;;
   1041   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1042     mandir=$ac_optarg ;;
   1043 
   1044   -nfp | --nfp | --nf)
   1045     # Obsolete; use --without-fp.
   1046     with_fp=no ;;
   1047 
   1048   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1049   | --no-cr | --no-c | -n)
   1050     no_create=yes ;;
   1051 
   1052   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1053   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1054     no_recursion=yes ;;
   1055 
   1056   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1057   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1058   | --oldin | --oldi | --old | --ol | --o)
   1059     ac_prev=oldincludedir ;;
   1060   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1061   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1062   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1063     oldincludedir=$ac_optarg ;;
   1064 
   1065   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1066     ac_prev=prefix ;;
   1067   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1068     prefix=$ac_optarg ;;
   1069 
   1070   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1071   | --program-pre | --program-pr | --program-p)
   1072     ac_prev=program_prefix ;;
   1073   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1074   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1075     program_prefix=$ac_optarg ;;
   1076 
   1077   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1078   | --program-suf | --program-su | --program-s)
   1079     ac_prev=program_suffix ;;
   1080   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1081   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1082     program_suffix=$ac_optarg ;;
   1083 
   1084   -program-transform-name | --program-transform-name \
   1085   | --program-transform-nam | --program-transform-na \
   1086   | --program-transform-n | --program-transform- \
   1087   | --program-transform | --program-transfor \
   1088   | --program-transfo | --program-transf \
   1089   | --program-trans | --program-tran \
   1090   | --progr-tra | --program-tr | --program-t)
   1091     ac_prev=program_transform_name ;;
   1092   -program-transform-name=* | --program-transform-name=* \
   1093   | --program-transform-nam=* | --program-transform-na=* \
   1094   | --program-transform-n=* | --program-transform-=* \
   1095   | --program-transform=* | --program-transfor=* \
   1096   | --program-transfo=* | --program-transf=* \
   1097   | --program-trans=* | --program-tran=* \
   1098   | --progr-tra=* | --program-tr=* | --program-t=*)
   1099     program_transform_name=$ac_optarg ;;
   1100 
   1101   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1102     ac_prev=pdfdir ;;
   1103   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1104     pdfdir=$ac_optarg ;;
   1105 
   1106   -psdir | --psdir | --psdi | --psd | --ps)
   1107     ac_prev=psdir ;;
   1108   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1109     psdir=$ac_optarg ;;
   1110 
   1111   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1112   | -silent | --silent | --silen | --sile | --sil)
   1113     silent=yes ;;
   1114 
   1115   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1116     ac_prev=sbindir ;;
   1117   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1118   | --sbi=* | --sb=*)
   1119     sbindir=$ac_optarg ;;
   1120 
   1121   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1122   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1123   | --sharedst | --shareds | --shared | --share | --shar \
   1124   | --sha | --sh)
   1125     ac_prev=sharedstatedir ;;
   1126   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1127   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1128   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1129   | --sha=* | --sh=*)
   1130     sharedstatedir=$ac_optarg ;;
   1131 
   1132   -site | --site | --sit)
   1133     ac_prev=site ;;
   1134   -site=* | --site=* | --sit=*)
   1135     site=$ac_optarg ;;
   1136 
   1137   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1138     ac_prev=srcdir ;;
   1139   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1140     srcdir=$ac_optarg ;;
   1141 
   1142   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1143   | --syscon | --sysco | --sysc | --sys | --sy)
   1144     ac_prev=sysconfdir ;;
   1145   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1146   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1147     sysconfdir=$ac_optarg ;;
   1148 
   1149   -target | --target | --targe | --targ | --tar | --ta | --t)
   1150     ac_prev=target_alias ;;
   1151   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1152     target_alias=$ac_optarg ;;
   1153 
   1154   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1155     verbose=yes ;;
   1156 
   1157   -version | --version | --versio | --versi | --vers | -V)
   1158     ac_init_version=: ;;
   1159 
   1160   -with-* | --with-*)
   1161     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1162     # Reject names that are not valid shell variable names.
   1163     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1164       as_fn_error $? "invalid package name: $ac_useropt"
   1165     ac_useropt_orig=$ac_useropt
   1166     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1167     case $ac_user_opts in
   1168       *"
   1169 "with_$ac_useropt"
   1170 "*) ;;
   1171       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1172 	 ac_unrecognized_sep=', ';;
   1173     esac
   1174     eval with_$ac_useropt=\$ac_optarg ;;
   1175 
   1176   -without-* | --without-*)
   1177     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1178     # Reject names that are not valid shell variable names.
   1179     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1180       as_fn_error $? "invalid package name: $ac_useropt"
   1181     ac_useropt_orig=$ac_useropt
   1182     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1183     case $ac_user_opts in
   1184       *"
   1185 "with_$ac_useropt"
   1186 "*) ;;
   1187       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1188 	 ac_unrecognized_sep=', ';;
   1189     esac
   1190     eval with_$ac_useropt=no ;;
   1191 
   1192   --x)
   1193     # Obsolete; use --with-x.
   1194     with_x=yes ;;
   1195 
   1196   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1197   | --x-incl | --x-inc | --x-in | --x-i)
   1198     ac_prev=x_includes ;;
   1199   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1200   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1201     x_includes=$ac_optarg ;;
   1202 
   1203   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1204   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1205     ac_prev=x_libraries ;;
   1206   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1207   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1208     x_libraries=$ac_optarg ;;
   1209 
   1210   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1211 Try \`$0 --help' for more information"
   1212     ;;
   1213 
   1214   *=*)
   1215     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1216     # Reject names that are not valid shell variable names.
   1217     case $ac_envvar in #(
   1218       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1219       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1220     esac
   1221     eval $ac_envvar=\$ac_optarg
   1222     export $ac_envvar ;;
   1223 
   1224   *)
   1225     # FIXME: should be removed in autoconf 3.0.
   1226     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1227     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1228       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1229     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1230     ;;
   1231 
   1232   esac
   1233 done
   1234 
   1235 if test -n "$ac_prev"; then
   1236   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1237   as_fn_error $? "missing argument to $ac_option"
   1238 fi
   1239 
   1240 if test -n "$ac_unrecognized_opts"; then
   1241   case $enable_option_checking in
   1242     no) ;;
   1243     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1244     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1245   esac
   1246 fi
   1247 
   1248 # Check all directory arguments for consistency.
   1249 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1250 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1251 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1252 		libdir localedir mandir
   1253 do
   1254   eval ac_val=\$$ac_var
   1255   # Remove trailing slashes.
   1256   case $ac_val in
   1257     */ )
   1258       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1259       eval $ac_var=\$ac_val;;
   1260   esac
   1261   # Be sure to have absolute directory names.
   1262   case $ac_val in
   1263     [\\/$]* | ?:[\\/]* )  continue;;
   1264     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1265   esac
   1266   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1267 done
   1268 
   1269 # There might be people who depend on the old broken behavior: `$host'
   1270 # used to hold the argument of --host etc.
   1271 # FIXME: To remove some day.
   1272 build=$build_alias
   1273 host=$host_alias
   1274 target=$target_alias
   1275 
   1276 # FIXME: To remove some day.
   1277 if test "x$host_alias" != x; then
   1278   if test "x$build_alias" = x; then
   1279     cross_compiling=maybe
   1280   elif test "x$build_alias" != "x$host_alias"; then
   1281     cross_compiling=yes
   1282   fi
   1283 fi
   1284 
   1285 ac_tool_prefix=
   1286 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1287 
   1288 test "$silent" = yes && exec 6>/dev/null
   1289 
   1290 
   1291 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1292 ac_ls_di=`ls -di .` &&
   1293 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1294   as_fn_error $? "working directory cannot be determined"
   1295 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1296   as_fn_error $? "pwd does not report name of working directory"
   1297 
   1298 
   1299 # Find the source files, if location was not specified.
   1300 if test -z "$srcdir"; then
   1301   ac_srcdir_defaulted=yes
   1302   # Try the directory containing this script, then the parent directory.
   1303   ac_confdir=`$as_dirname -- "$as_myself" ||
   1304 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1305 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1306 	 X"$as_myself" : 'X\(//\)$' \| \
   1307 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1308 $as_echo X"$as_myself" |
   1309     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1310 	    s//\1/
   1311 	    q
   1312 	  }
   1313 	  /^X\(\/\/\)[^/].*/{
   1314 	    s//\1/
   1315 	    q
   1316 	  }
   1317 	  /^X\(\/\/\)$/{
   1318 	    s//\1/
   1319 	    q
   1320 	  }
   1321 	  /^X\(\/\).*/{
   1322 	    s//\1/
   1323 	    q
   1324 	  }
   1325 	  s/.*/./; q'`
   1326   srcdir=$ac_confdir
   1327   if test ! -r "$srcdir/$ac_unique_file"; then
   1328     srcdir=..
   1329   fi
   1330 else
   1331   ac_srcdir_defaulted=no
   1332 fi
   1333 if test ! -r "$srcdir/$ac_unique_file"; then
   1334   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1335   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1336 fi
   1337 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1338 ac_abs_confdir=`(
   1339 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1340 	pwd)`
   1341 # When building in place, set srcdir=.
   1342 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1343   srcdir=.
   1344 fi
   1345 # Remove unnecessary trailing slashes from srcdir.
   1346 # Double slashes in file names in object file debugging info
   1347 # mess up M-x gdb in Emacs.
   1348 case $srcdir in
   1349 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1350 esac
   1351 for ac_var in $ac_precious_vars; do
   1352   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1353   eval ac_env_${ac_var}_value=\$${ac_var}
   1354   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1355   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1356 done
   1357 
   1358 #
   1359 # Report the --help message.
   1360 #
   1361 if test "$ac_init_help" = "long"; then
   1362   # Omit some internal or obsolete options to make the list less imposing.
   1363   # This message is too long to be a string in the A/UX 3.1 sh.
   1364   cat <<_ACEOF
   1365 \`configure' configures gprofng 2.45 to adapt to many kinds of systems.
   1366 
   1367 Usage: $0 [OPTION]... [VAR=VALUE]...
   1368 
   1369 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1370 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1371 
   1372 Defaults for the options are specified in brackets.
   1373 
   1374 Configuration:
   1375   -h, --help              display this help and exit
   1376       --help=short        display options specific to this package
   1377       --help=recursive    display the short help of all the included packages
   1378   -V, --version           display version information and exit
   1379   -q, --quiet, --silent   do not print \`checking ...' messages
   1380       --cache-file=FILE   cache test results in FILE [disabled]
   1381   -C, --config-cache      alias for \`--cache-file=config.cache'
   1382   -n, --no-create         do not create output files
   1383       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1384 
   1385 Installation directories:
   1386   --prefix=PREFIX         install architecture-independent files in PREFIX
   1387                           [$ac_default_prefix]
   1388   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1389                           [PREFIX]
   1390 
   1391 By default, \`make install' will install all the files in
   1392 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1393 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1394 for instance \`--prefix=\$HOME'.
   1395 
   1396 For better control, use the options below.
   1397 
   1398 Fine tuning of the installation directories:
   1399   --bindir=DIR            user executables [EPREFIX/bin]
   1400   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1401   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1402   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1403   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1404   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1405   --libdir=DIR            object code libraries [EPREFIX/lib]
   1406   --includedir=DIR        C header files [PREFIX/include]
   1407   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1408   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1409   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1410   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1411   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1412   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1413   --docdir=DIR            documentation root [DATAROOTDIR/doc/gprofng]
   1414   --htmldir=DIR           html documentation [DOCDIR]
   1415   --dvidir=DIR            dvi documentation [DOCDIR]
   1416   --pdfdir=DIR            pdf documentation [DOCDIR]
   1417   --psdir=DIR             ps documentation [DOCDIR]
   1418 _ACEOF
   1419 
   1420   cat <<\_ACEOF
   1421 
   1422 Program names:
   1423   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1424   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1425   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1426 
   1427 System types:
   1428   --build=BUILD     configure for building on BUILD [guessed]
   1429   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1430   --target=TARGET   configure for building compilers for TARGET [HOST]
   1431 _ACEOF
   1432 fi
   1433 
   1434 if test -n "$ac_init_help"; then
   1435   case $ac_init_help in
   1436      short | recursive ) echo "Configuration of gprofng 2.45:";;
   1437    esac
   1438   cat <<\_ACEOF
   1439 
   1440 Optional Features:
   1441   --disable-option-checking  ignore unrecognized --enable/--with options
   1442   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1443   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1444   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1445   --disable-silent-rules  verbose build output (undo: "make V=0")
   1446   --enable-maintainer-mode
   1447                           enable make rules and dependencies not useful (and
   1448                           sometimes confusing) to the casual installer
   1449   --enable-dependency-tracking
   1450                           do not reject slow dependency extractors
   1451   --disable-dependency-tracking
   1452                           speeds up one-time build
   1453   --enable-shared[=PKGS]  build shared libraries [default=no]
   1454   --enable-static[=PKGS]  build static libraries [default=yes]
   1455   --enable-fast-install[=PKGS]
   1456                           optimize for fast installation [default=yes]
   1457   --disable-libtool-lock  avoid locking (might break parallel builds)
   1458   --enable-werror-always  enable -Werror despite compiler version
   1459   --disable-gprofng-tools do not build gprofng/src directory
   1460   --enable-gprofng-debug  Enable debugging output [default=no]
   1461 
   1462 Optional Packages:
   1463   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1464   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1465   --with-pic              try to use only PIC/non-PIC objects [default=use
   1466                           both]
   1467   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1468   --with-jdk=PATH         specify prefix directory for installed JDK.
   1469   --with-system-zlib      use installed libz
   1470 
   1471 Some influential environment variables:
   1472   CC          C compiler command
   1473   CFLAGS      C compiler flags
   1474   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1475               nonstandard directory <lib dir>
   1476   LIBS        libraries to pass to the linker, e.g. -l<library>
   1477   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1478               you have headers in a nonstandard directory <include dir>
   1479   CPP         C preprocessor
   1480   CXX         C++ compiler command
   1481   CXXFLAGS    C++ compiler flags
   1482   CXXCPP      C++ preprocessor
   1483 
   1484 Use these variables to override the choices made by `configure' or to help
   1485 it to find libraries and programs with nonstandard names/locations.
   1486 
   1487 Report bugs to the package provider.
   1488 _ACEOF
   1489 ac_status=$?
   1490 fi
   1491 
   1492 if test "$ac_init_help" = "recursive"; then
   1493   # If there are subdirs, report their specific --help.
   1494   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1495     test -d "$ac_dir" ||
   1496       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1497       continue
   1498     ac_builddir=.
   1499 
   1500 case "$ac_dir" in
   1501 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1502 *)
   1503   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1504   # A ".." for each directory in $ac_dir_suffix.
   1505   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1506   case $ac_top_builddir_sub in
   1507   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1508   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1509   esac ;;
   1510 esac
   1511 ac_abs_top_builddir=$ac_pwd
   1512 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1513 # for backward compatibility:
   1514 ac_top_builddir=$ac_top_build_prefix
   1515 
   1516 case $srcdir in
   1517   .)  # We are building in place.
   1518     ac_srcdir=.
   1519     ac_top_srcdir=$ac_top_builddir_sub
   1520     ac_abs_top_srcdir=$ac_pwd ;;
   1521   [\\/]* | ?:[\\/]* )  # Absolute name.
   1522     ac_srcdir=$srcdir$ac_dir_suffix;
   1523     ac_top_srcdir=$srcdir
   1524     ac_abs_top_srcdir=$srcdir ;;
   1525   *) # Relative name.
   1526     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1527     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1528     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1529 esac
   1530 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1531 
   1532     cd "$ac_dir" || { ac_status=$?; continue; }
   1533     # Check for guested configure.
   1534     if test -f "$ac_srcdir/configure.gnu"; then
   1535       echo &&
   1536       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1537     elif test -f "$ac_srcdir/configure"; then
   1538       echo &&
   1539       $SHELL "$ac_srcdir/configure" --help=recursive
   1540     else
   1541       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1542     fi || ac_status=$?
   1543     cd "$ac_pwd" || { ac_status=$?; break; }
   1544   done
   1545 fi
   1546 
   1547 test -n "$ac_init_help" && exit $ac_status
   1548 if $ac_init_version; then
   1549   cat <<\_ACEOF
   1550 gprofng configure 2.45
   1551 generated by GNU Autoconf 2.69
   1552 
   1553 Copyright (C) 2012 Free Software Foundation, Inc.
   1554 This configure script is free software; the Free Software Foundation
   1555 gives unlimited permission to copy, distribute and modify it.
   1556 _ACEOF
   1557   exit
   1558 fi
   1559 
   1560 ## ------------------------ ##
   1561 ## Autoconf initialization. ##
   1562 ## ------------------------ ##
   1563 
   1564 # ac_fn_c_try_compile LINENO
   1565 # --------------------------
   1566 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1567 ac_fn_c_try_compile ()
   1568 {
   1569   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1570   rm -f conftest.$ac_objext
   1571   if { { ac_try="$ac_compile"
   1572 case "(($ac_try" in
   1573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1574   *) ac_try_echo=$ac_try;;
   1575 esac
   1576 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1577 $as_echo "$ac_try_echo"; } >&5
   1578   (eval "$ac_compile") 2>conftest.err
   1579   ac_status=$?
   1580   if test -s conftest.err; then
   1581     grep -v '^ *+' conftest.err >conftest.er1
   1582     cat conftest.er1 >&5
   1583     mv -f conftest.er1 conftest.err
   1584   fi
   1585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1586   test $ac_status = 0; } && {
   1587 	 test -z "$ac_c_werror_flag" ||
   1588 	 test ! -s conftest.err
   1589        } && test -s conftest.$ac_objext; then :
   1590   ac_retval=0
   1591 else
   1592   $as_echo "$as_me: failed program was:" >&5
   1593 sed 's/^/| /' conftest.$ac_ext >&5
   1594 
   1595 	ac_retval=1
   1596 fi
   1597   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1598   as_fn_set_status $ac_retval
   1599 
   1600 } # ac_fn_c_try_compile
   1601 
   1602 # ac_fn_c_try_cpp LINENO
   1603 # ----------------------
   1604 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1605 ac_fn_c_try_cpp ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1609 case "(($ac_try" in
   1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1611   *) ac_try_echo=$ac_try;;
   1612 esac
   1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1614 $as_echo "$ac_try_echo"; } >&5
   1615   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1616   ac_status=$?
   1617   if test -s conftest.err; then
   1618     grep -v '^ *+' conftest.err >conftest.er1
   1619     cat conftest.er1 >&5
   1620     mv -f conftest.er1 conftest.err
   1621   fi
   1622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1623   test $ac_status = 0; } > conftest.i && {
   1624 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1625 	 test ! -s conftest.err
   1626        }; then :
   1627   ac_retval=0
   1628 else
   1629   $as_echo "$as_me: failed program was:" >&5
   1630 sed 's/^/| /' conftest.$ac_ext >&5
   1631 
   1632     ac_retval=1
   1633 fi
   1634   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1635   as_fn_set_status $ac_retval
   1636 
   1637 } # ac_fn_c_try_cpp
   1638 
   1639 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1640 # -------------------------------------------------------
   1641 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1642 # the include files in INCLUDES and setting the cache variable VAR
   1643 # accordingly.
   1644 ac_fn_c_check_header_mongrel ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   if eval \${$3+:} false; then :
   1648   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1649 $as_echo_n "checking for $2... " >&6; }
   1650 if eval \${$3+:} false; then :
   1651   $as_echo_n "(cached) " >&6
   1652 fi
   1653 eval ac_res=\$$3
   1654 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1655 $as_echo "$ac_res" >&6; }
   1656 else
   1657   # Is the header compilable?
   1658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1659 $as_echo_n "checking $2 usability... " >&6; }
   1660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1661 /* end confdefs.h.  */
   1662 $4
   1663 #include <$2>
   1664 _ACEOF
   1665 if ac_fn_c_try_compile "$LINENO"; then :
   1666   ac_header_compiler=yes
   1667 else
   1668   ac_header_compiler=no
   1669 fi
   1670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1672 $as_echo "$ac_header_compiler" >&6; }
   1673 
   1674 # Is the header present?
   1675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1676 $as_echo_n "checking $2 presence... " >&6; }
   1677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1678 /* end confdefs.h.  */
   1679 #include <$2>
   1680 _ACEOF
   1681 if ac_fn_c_try_cpp "$LINENO"; then :
   1682   ac_header_preproc=yes
   1683 else
   1684   ac_header_preproc=no
   1685 fi
   1686 rm -f conftest.err conftest.i conftest.$ac_ext
   1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1688 $as_echo "$ac_header_preproc" >&6; }
   1689 
   1690 # So?  What about this header?
   1691 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1692   yes:no: )
   1693     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1694 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1695     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1697     ;;
   1698   no:yes:* )
   1699     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1700 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1701     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1702 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1703     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1704 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1705     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1706 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1707     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1708 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1709     ;;
   1710 esac
   1711   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1712 $as_echo_n "checking for $2... " >&6; }
   1713 if eval \${$3+:} false; then :
   1714   $as_echo_n "(cached) " >&6
   1715 else
   1716   eval "$3=\$ac_header_compiler"
   1717 fi
   1718 eval ac_res=\$$3
   1719 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1720 $as_echo "$ac_res" >&6; }
   1721 fi
   1722   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1723 
   1724 } # ac_fn_c_check_header_mongrel
   1725 
   1726 # ac_fn_c_try_run LINENO
   1727 # ----------------------
   1728 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1729 # that executables *can* be run.
   1730 ac_fn_c_try_run ()
   1731 {
   1732   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1733   if { { ac_try="$ac_link"
   1734 case "(($ac_try" in
   1735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1736   *) ac_try_echo=$ac_try;;
   1737 esac
   1738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1739 $as_echo "$ac_try_echo"; } >&5
   1740   (eval "$ac_link") 2>&5
   1741   ac_status=$?
   1742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1743   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1744   { { case "(($ac_try" in
   1745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1746   *) ac_try_echo=$ac_try;;
   1747 esac
   1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1749 $as_echo "$ac_try_echo"; } >&5
   1750   (eval "$ac_try") 2>&5
   1751   ac_status=$?
   1752   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1753   test $ac_status = 0; }; }; then :
   1754   ac_retval=0
   1755 else
   1756   $as_echo "$as_me: program exited with status $ac_status" >&5
   1757        $as_echo "$as_me: failed program was:" >&5
   1758 sed 's/^/| /' conftest.$ac_ext >&5
   1759 
   1760        ac_retval=$ac_status
   1761 fi
   1762   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1763   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1764   as_fn_set_status $ac_retval
   1765 
   1766 } # ac_fn_c_try_run
   1767 
   1768 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1769 # -------------------------------------------------------
   1770 # Tests whether HEADER exists and can be compiled using the include files in
   1771 # INCLUDES, setting the cache variable VAR accordingly.
   1772 ac_fn_c_check_header_compile ()
   1773 {
   1774   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1775   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1776 $as_echo_n "checking for $2... " >&6; }
   1777 if eval \${$3+:} false; then :
   1778   $as_echo_n "(cached) " >&6
   1779 else
   1780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1781 /* end confdefs.h.  */
   1782 $4
   1783 #include <$2>
   1784 _ACEOF
   1785 if ac_fn_c_try_compile "$LINENO"; then :
   1786   eval "$3=yes"
   1787 else
   1788   eval "$3=no"
   1789 fi
   1790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 $as_echo "$ac_res" >&6; }
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796 
   1797 } # ac_fn_c_check_header_compile
   1798 
   1799 # ac_fn_cxx_try_compile LINENO
   1800 # ----------------------------
   1801 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1802 ac_fn_cxx_try_compile ()
   1803 {
   1804   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1805   rm -f conftest.$ac_objext
   1806   if { { ac_try="$ac_compile"
   1807 case "(($ac_try" in
   1808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1809   *) ac_try_echo=$ac_try;;
   1810 esac
   1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1812 $as_echo "$ac_try_echo"; } >&5
   1813   (eval "$ac_compile") 2>conftest.err
   1814   ac_status=$?
   1815   if test -s conftest.err; then
   1816     grep -v '^ *+' conftest.err >conftest.er1
   1817     cat conftest.er1 >&5
   1818     mv -f conftest.er1 conftest.err
   1819   fi
   1820   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1821   test $ac_status = 0; } && {
   1822 	 test -z "$ac_cxx_werror_flag" ||
   1823 	 test ! -s conftest.err
   1824        } && test -s conftest.$ac_objext; then :
   1825   ac_retval=0
   1826 else
   1827   $as_echo "$as_me: failed program was:" >&5
   1828 sed 's/^/| /' conftest.$ac_ext >&5
   1829 
   1830 	ac_retval=1
   1831 fi
   1832   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1833   as_fn_set_status $ac_retval
   1834 
   1835 } # ac_fn_cxx_try_compile
   1836 
   1837 # ac_fn_c_try_link LINENO
   1838 # -----------------------
   1839 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1840 ac_fn_c_try_link ()
   1841 {
   1842   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1843   rm -f conftest.$ac_objext conftest$ac_exeext
   1844   if { { ac_try="$ac_link"
   1845 case "(($ac_try" in
   1846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1847   *) ac_try_echo=$ac_try;;
   1848 esac
   1849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1850 $as_echo "$ac_try_echo"; } >&5
   1851   (eval "$ac_link") 2>conftest.err
   1852   ac_status=$?
   1853   if test -s conftest.err; then
   1854     grep -v '^ *+' conftest.err >conftest.er1
   1855     cat conftest.er1 >&5
   1856     mv -f conftest.er1 conftest.err
   1857   fi
   1858   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1859   test $ac_status = 0; } && {
   1860 	 test -z "$ac_c_werror_flag" ||
   1861 	 test ! -s conftest.err
   1862        } && test -s conftest$ac_exeext && {
   1863 	 test "$cross_compiling" = yes ||
   1864 	 test -x conftest$ac_exeext
   1865        }; then :
   1866   ac_retval=0
   1867 else
   1868   $as_echo "$as_me: failed program was:" >&5
   1869 sed 's/^/| /' conftest.$ac_ext >&5
   1870 
   1871 	ac_retval=1
   1872 fi
   1873   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1874   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1875   # interfere with the next link command; also delete a directory that is
   1876   # left behind by Apple's compiler.  We do this before executing the actions.
   1877   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1878   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1879   as_fn_set_status $ac_retval
   1880 
   1881 } # ac_fn_c_try_link
   1882 
   1883 # ac_fn_c_check_func LINENO FUNC VAR
   1884 # ----------------------------------
   1885 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1886 ac_fn_c_check_func ()
   1887 {
   1888   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1889   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1890 $as_echo_n "checking for $2... " >&6; }
   1891 if eval \${$3+:} false; then :
   1892   $as_echo_n "(cached) " >&6
   1893 else
   1894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1895 /* end confdefs.h.  */
   1896 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1897    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1898 #define $2 innocuous_$2
   1899 
   1900 /* System header to define __stub macros and hopefully few prototypes,
   1901     which can conflict with char $2 (); below.
   1902     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1903     <limits.h> exists even on freestanding compilers.  */
   1904 
   1905 #ifdef __STDC__
   1906 # include <limits.h>
   1907 #else
   1908 # include <assert.h>
   1909 #endif
   1910 
   1911 #undef $2
   1912 
   1913 /* Override any GCC internal prototype to avoid an error.
   1914    Use char because int might match the return type of a GCC
   1915    builtin and then its argument prototype would still apply.  */
   1916 #ifdef __cplusplus
   1917 extern "C"
   1918 #endif
   1919 char $2 ();
   1920 /* The GNU C library defines this for functions which it implements
   1921     to always fail with ENOSYS.  Some functions are actually named
   1922     something starting with __ and the normal name is an alias.  */
   1923 #if defined __stub_$2 || defined __stub___$2
   1924 choke me
   1925 #endif
   1926 
   1927 int
   1928 main ()
   1929 {
   1930 return $2 ();
   1931   ;
   1932   return 0;
   1933 }
   1934 _ACEOF
   1935 if ac_fn_c_try_link "$LINENO"; then :
   1936   eval "$3=yes"
   1937 else
   1938   eval "$3=no"
   1939 fi
   1940 rm -f core conftest.err conftest.$ac_objext \
   1941     conftest$ac_exeext conftest.$ac_ext
   1942 fi
   1943 eval ac_res=\$$3
   1944 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1945 $as_echo "$ac_res" >&6; }
   1946   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1947 
   1948 } # ac_fn_c_check_func
   1949 
   1950 # ac_fn_cxx_try_cpp LINENO
   1951 # ------------------------
   1952 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1953 ac_fn_cxx_try_cpp ()
   1954 {
   1955   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1956   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1957 case "(($ac_try" in
   1958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1959   *) ac_try_echo=$ac_try;;
   1960 esac
   1961 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1962 $as_echo "$ac_try_echo"; } >&5
   1963   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1964   ac_status=$?
   1965   if test -s conftest.err; then
   1966     grep -v '^ *+' conftest.err >conftest.er1
   1967     cat conftest.er1 >&5
   1968     mv -f conftest.er1 conftest.err
   1969   fi
   1970   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1971   test $ac_status = 0; } > conftest.i && {
   1972 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   1973 	 test ! -s conftest.err
   1974        }; then :
   1975   ac_retval=0
   1976 else
   1977   $as_echo "$as_me: failed program was:" >&5
   1978 sed 's/^/| /' conftest.$ac_ext >&5
   1979 
   1980     ac_retval=1
   1981 fi
   1982   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1983   as_fn_set_status $ac_retval
   1984 
   1985 } # ac_fn_cxx_try_cpp
   1986 
   1987 # ac_fn_cxx_try_link LINENO
   1988 # -------------------------
   1989 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1990 ac_fn_cxx_try_link ()
   1991 {
   1992   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1993   rm -f conftest.$ac_objext conftest$ac_exeext
   1994   if { { ac_try="$ac_link"
   1995 case "(($ac_try" in
   1996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1997   *) ac_try_echo=$ac_try;;
   1998 esac
   1999 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2000 $as_echo "$ac_try_echo"; } >&5
   2001   (eval "$ac_link") 2>conftest.err
   2002   ac_status=$?
   2003   if test -s conftest.err; then
   2004     grep -v '^ *+' conftest.err >conftest.er1
   2005     cat conftest.er1 >&5
   2006     mv -f conftest.er1 conftest.err
   2007   fi
   2008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2009   test $ac_status = 0; } && {
   2010 	 test -z "$ac_cxx_werror_flag" ||
   2011 	 test ! -s conftest.err
   2012        } && test -s conftest$ac_exeext && {
   2013 	 test "$cross_compiling" = yes ||
   2014 	 test -x conftest$ac_exeext
   2015        }; then :
   2016   ac_retval=0
   2017 else
   2018   $as_echo "$as_me: failed program was:" >&5
   2019 sed 's/^/| /' conftest.$ac_ext >&5
   2020 
   2021 	ac_retval=1
   2022 fi
   2023   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2024   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2025   # interfere with the next link command; also delete a directory that is
   2026   # left behind by Apple's compiler.  We do this before executing the actions.
   2027   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2028   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2029   as_fn_set_status $ac_retval
   2030 
   2031 } # ac_fn_cxx_try_link
   2032 
   2033 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2034 # ---------------------------------------------
   2035 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2036 # accordingly.
   2037 ac_fn_c_check_decl ()
   2038 {
   2039   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2040   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2041   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2042   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2043 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2044 if eval \${$3+:} false; then :
   2045   $as_echo_n "(cached) " >&6
   2046 else
   2047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2048 /* end confdefs.h.  */
   2049 $4
   2050 int
   2051 main ()
   2052 {
   2053 #ifndef $as_decl_name
   2054 #ifdef __cplusplus
   2055   (void) $as_decl_use;
   2056 #else
   2057   (void) $as_decl_name;
   2058 #endif
   2059 #endif
   2060 
   2061   ;
   2062   return 0;
   2063 }
   2064 _ACEOF
   2065 if ac_fn_c_try_compile "$LINENO"; then :
   2066   eval "$3=yes"
   2067 else
   2068   eval "$3=no"
   2069 fi
   2070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2071 fi
   2072 eval ac_res=\$$3
   2073 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2074 $as_echo "$ac_res" >&6; }
   2075   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2076 
   2077 } # ac_fn_c_check_decl
   2078 cat >config.log <<_ACEOF
   2079 This file contains any messages produced by compilers while
   2080 running configure, to aid debugging if configure makes a mistake.
   2081 
   2082 It was created by gprofng $as_me 2.45, which was
   2083 generated by GNU Autoconf 2.69.  Invocation command line was
   2084 
   2085   $ $0 $@
   2086 
   2087 _ACEOF
   2088 exec 5>>config.log
   2089 {
   2090 cat <<_ASUNAME
   2091 ## --------- ##
   2092 ## Platform. ##
   2093 ## --------- ##
   2094 
   2095 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2096 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2097 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2098 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2099 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2100 
   2101 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2102 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2103 
   2104 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2105 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2106 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2107 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2108 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2109 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2110 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2111 
   2112 _ASUNAME
   2113 
   2114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2115 for as_dir in $PATH
   2116 do
   2117   IFS=$as_save_IFS
   2118   test -z "$as_dir" && as_dir=.
   2119     $as_echo "PATH: $as_dir"
   2120   done
   2121 IFS=$as_save_IFS
   2122 
   2123 } >&5
   2124 
   2125 cat >&5 <<_ACEOF
   2126 
   2127 
   2128 ## ----------- ##
   2129 ## Core tests. ##
   2130 ## ----------- ##
   2131 
   2132 _ACEOF
   2133 
   2134 
   2135 # Keep a trace of the command line.
   2136 # Strip out --no-create and --no-recursion so they do not pile up.
   2137 # Strip out --silent because we don't want to record it for future runs.
   2138 # Also quote any args containing shell meta-characters.
   2139 # Make two passes to allow for proper duplicate-argument suppression.
   2140 ac_configure_args=
   2141 ac_configure_args0=
   2142 ac_configure_args1=
   2143 ac_must_keep_next=false
   2144 for ac_pass in 1 2
   2145 do
   2146   for ac_arg
   2147   do
   2148     case $ac_arg in
   2149     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2150     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2151     | -silent | --silent | --silen | --sile | --sil)
   2152       continue ;;
   2153     *\'*)
   2154       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2155     esac
   2156     case $ac_pass in
   2157     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2158     2)
   2159       as_fn_append ac_configure_args1 " '$ac_arg'"
   2160       if test $ac_must_keep_next = true; then
   2161 	ac_must_keep_next=false # Got value, back to normal.
   2162       else
   2163 	case $ac_arg in
   2164 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2165 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2166 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2167 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2168 	    case "$ac_configure_args0 " in
   2169 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2170 	    esac
   2171 	    ;;
   2172 	  -* ) ac_must_keep_next=true ;;
   2173 	esac
   2174       fi
   2175       as_fn_append ac_configure_args " '$ac_arg'"
   2176       ;;
   2177     esac
   2178   done
   2179 done
   2180 { ac_configure_args0=; unset ac_configure_args0;}
   2181 { ac_configure_args1=; unset ac_configure_args1;}
   2182 
   2183 # When interrupted or exit'd, cleanup temporary files, and complete
   2184 # config.log.  We remove comments because anyway the quotes in there
   2185 # would cause problems or look ugly.
   2186 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2187 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2188 trap 'exit_status=$?
   2189   # Save into config.log some information that might help in debugging.
   2190   {
   2191     echo
   2192 
   2193     $as_echo "## ---------------- ##
   2194 ## Cache variables. ##
   2195 ## ---------------- ##"
   2196     echo
   2197     # The following way of writing the cache mishandles newlines in values,
   2198 (
   2199   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2200     eval ac_val=\$$ac_var
   2201     case $ac_val in #(
   2202     *${as_nl}*)
   2203       case $ac_var in #(
   2204       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2205 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2206       esac
   2207       case $ac_var in #(
   2208       _ | IFS | as_nl) ;; #(
   2209       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2210       *) { eval $ac_var=; unset $ac_var;} ;;
   2211       esac ;;
   2212     esac
   2213   done
   2214   (set) 2>&1 |
   2215     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2216     *${as_nl}ac_space=\ *)
   2217       sed -n \
   2218 	"s/'\''/'\''\\\\'\'''\''/g;
   2219 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2220       ;; #(
   2221     *)
   2222       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2223       ;;
   2224     esac |
   2225     sort
   2226 )
   2227     echo
   2228 
   2229     $as_echo "## ----------------- ##
   2230 ## Output variables. ##
   2231 ## ----------------- ##"
   2232     echo
   2233     for ac_var in $ac_subst_vars
   2234     do
   2235       eval ac_val=\$$ac_var
   2236       case $ac_val in
   2237       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2238       esac
   2239       $as_echo "$ac_var='\''$ac_val'\''"
   2240     done | sort
   2241     echo
   2242 
   2243     if test -n "$ac_subst_files"; then
   2244       $as_echo "## ------------------- ##
   2245 ## File substitutions. ##
   2246 ## ------------------- ##"
   2247       echo
   2248       for ac_var in $ac_subst_files
   2249       do
   2250 	eval ac_val=\$$ac_var
   2251 	case $ac_val in
   2252 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2253 	esac
   2254 	$as_echo "$ac_var='\''$ac_val'\''"
   2255       done | sort
   2256       echo
   2257     fi
   2258 
   2259     if test -s confdefs.h; then
   2260       $as_echo "## ----------- ##
   2261 ## confdefs.h. ##
   2262 ## ----------- ##"
   2263       echo
   2264       cat confdefs.h
   2265       echo
   2266     fi
   2267     test "$ac_signal" != 0 &&
   2268       $as_echo "$as_me: caught signal $ac_signal"
   2269     $as_echo "$as_me: exit $exit_status"
   2270   } >&5
   2271   rm -f core *.core core.conftest.* &&
   2272     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2273     exit $exit_status
   2274 ' 0
   2275 for ac_signal in 1 2 13 15; do
   2276   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2277 done
   2278 ac_signal=0
   2279 
   2280 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2281 rm -f -r conftest* confdefs.h
   2282 
   2283 $as_echo "/* confdefs.h */" > confdefs.h
   2284 
   2285 # Predefined preprocessor variables.
   2286 
   2287 cat >>confdefs.h <<_ACEOF
   2288 #define PACKAGE_NAME "$PACKAGE_NAME"
   2289 _ACEOF
   2290 
   2291 cat >>confdefs.h <<_ACEOF
   2292 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2293 _ACEOF
   2294 
   2295 cat >>confdefs.h <<_ACEOF
   2296 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2297 _ACEOF
   2298 
   2299 cat >>confdefs.h <<_ACEOF
   2300 #define PACKAGE_STRING "$PACKAGE_STRING"
   2301 _ACEOF
   2302 
   2303 cat >>confdefs.h <<_ACEOF
   2304 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2305 _ACEOF
   2306 
   2307 cat >>confdefs.h <<_ACEOF
   2308 #define PACKAGE_URL "$PACKAGE_URL"
   2309 _ACEOF
   2310 
   2311 
   2312 # Let the site file select an alternate cache file if it wants to.
   2313 # Prefer an explicitly selected file to automatically selected ones.
   2314 ac_site_file1=NONE
   2315 ac_site_file2=NONE
   2316 if test -n "$CONFIG_SITE"; then
   2317   # We do not want a PATH search for config.site.
   2318   case $CONFIG_SITE in #((
   2319     -*)  ac_site_file1=./$CONFIG_SITE;;
   2320     */*) ac_site_file1=$CONFIG_SITE;;
   2321     *)   ac_site_file1=./$CONFIG_SITE;;
   2322   esac
   2323 elif test "x$prefix" != xNONE; then
   2324   ac_site_file1=$prefix/share/config.site
   2325   ac_site_file2=$prefix/etc/config.site
   2326 else
   2327   ac_site_file1=$ac_default_prefix/share/config.site
   2328   ac_site_file2=$ac_default_prefix/etc/config.site
   2329 fi
   2330 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2331 do
   2332   test "x$ac_site_file" = xNONE && continue
   2333   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2334     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2335 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2336     sed 's/^/| /' "$ac_site_file" >&5
   2337     . "$ac_site_file" \
   2338       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2340 as_fn_error $? "failed to load site script $ac_site_file
   2341 See \`config.log' for more details" "$LINENO" 5; }
   2342   fi
   2343 done
   2344 
   2345 if test -r "$cache_file"; then
   2346   # Some versions of bash will fail to source /dev/null (special files
   2347   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2348   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2349     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2350 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2351     case $cache_file in
   2352       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2353       *)                      . "./$cache_file";;
   2354     esac
   2355   fi
   2356 else
   2357   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2358 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2359   >$cache_file
   2360 fi
   2361 
   2362 # Check that the precious variables saved in the cache have kept the same
   2363 # value.
   2364 ac_cache_corrupted=false
   2365 for ac_var in $ac_precious_vars; do
   2366   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2367   eval ac_new_set=\$ac_env_${ac_var}_set
   2368   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2369   eval ac_new_val=\$ac_env_${ac_var}_value
   2370   case $ac_old_set,$ac_new_set in
   2371     set,)
   2372       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2373 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2374       ac_cache_corrupted=: ;;
   2375     ,set)
   2376       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2377 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2378       ac_cache_corrupted=: ;;
   2379     ,);;
   2380     *)
   2381       if test "x$ac_old_val" != "x$ac_new_val"; then
   2382 	# differences in whitespace do not lead to failure.
   2383 	ac_old_val_w=`echo x $ac_old_val`
   2384 	ac_new_val_w=`echo x $ac_new_val`
   2385 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2386 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2387 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2388 	  ac_cache_corrupted=:
   2389 	else
   2390 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2391 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2392 	  eval $ac_var=\$ac_old_val
   2393 	fi
   2394 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2395 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2396 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2397 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2398       fi;;
   2399   esac
   2400   # Pass precious variables to config.status.
   2401   if test "$ac_new_set" = set; then
   2402     case $ac_new_val in
   2403     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2404     *) ac_arg=$ac_var=$ac_new_val ;;
   2405     esac
   2406     case " $ac_configure_args " in
   2407       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2408       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2409     esac
   2410   fi
   2411 done
   2412 if $ac_cache_corrupted; then
   2413   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2414 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2415   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2416 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2417   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2418 fi
   2419 ## -------------------- ##
   2420 ## Main body of script. ##
   2421 ## -------------------- ##
   2422 
   2423 ac_ext=c
   2424 ac_cpp='$CPP $CPPFLAGS'
   2425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2428 
   2429 
   2430 ac_aux_dir=
   2431 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2432   if test -f "$ac_dir/install-sh"; then
   2433     ac_aux_dir=$ac_dir
   2434     ac_install_sh="$ac_aux_dir/install-sh -c"
   2435     break
   2436   elif test -f "$ac_dir/install.sh"; then
   2437     ac_aux_dir=$ac_dir
   2438     ac_install_sh="$ac_aux_dir/install.sh -c"
   2439     break
   2440   elif test -f "$ac_dir/shtool"; then
   2441     ac_aux_dir=$ac_dir
   2442     ac_install_sh="$ac_aux_dir/shtool install -c"
   2443     break
   2444   fi
   2445 done
   2446 if test -z "$ac_aux_dir"; then
   2447   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2448 fi
   2449 
   2450 # These three variables are undocumented and unsupported,
   2451 # and are intended to be withdrawn in a future Autoconf release.
   2452 # They can cause serious problems if a builder's source tree is in a directory
   2453 # whose full name contains unusual characters.
   2454 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2455 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2456 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2457 
   2458 
   2459 # Make sure we can run config.sub.
   2460 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2461   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2462 
   2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2464 $as_echo_n "checking build system type... " >&6; }
   2465 if ${ac_cv_build+:} false; then :
   2466   $as_echo_n "(cached) " >&6
   2467 else
   2468   ac_build_alias=$build_alias
   2469 test "x$ac_build_alias" = x &&
   2470   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2471 test "x$ac_build_alias" = x &&
   2472   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2473 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2474   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2475 
   2476 fi
   2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2478 $as_echo "$ac_cv_build" >&6; }
   2479 case $ac_cv_build in
   2480 *-*-*) ;;
   2481 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2482 esac
   2483 build=$ac_cv_build
   2484 ac_save_IFS=$IFS; IFS='-'
   2485 set x $ac_cv_build
   2486 shift
   2487 build_cpu=$1
   2488 build_vendor=$2
   2489 shift; shift
   2490 # Remember, the first character of IFS is used to create $*,
   2491 # except with old shells:
   2492 build_os=$*
   2493 IFS=$ac_save_IFS
   2494 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2495 
   2496 
   2497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2498 $as_echo_n "checking host system type... " >&6; }
   2499 if ${ac_cv_host+:} false; then :
   2500   $as_echo_n "(cached) " >&6
   2501 else
   2502   if test "x$host_alias" = x; then
   2503   ac_cv_host=$ac_cv_build
   2504 else
   2505   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2506     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2507 fi
   2508 
   2509 fi
   2510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2511 $as_echo "$ac_cv_host" >&6; }
   2512 case $ac_cv_host in
   2513 *-*-*) ;;
   2514 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2515 esac
   2516 host=$ac_cv_host
   2517 ac_save_IFS=$IFS; IFS='-'
   2518 set x $ac_cv_host
   2519 shift
   2520 host_cpu=$1
   2521 host_vendor=$2
   2522 shift; shift
   2523 # Remember, the first character of IFS is used to create $*,
   2524 # except with old shells:
   2525 host_os=$*
   2526 IFS=$ac_save_IFS
   2527 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2528 
   2529 
   2530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2531 $as_echo_n "checking target system type... " >&6; }
   2532 if ${ac_cv_target+:} false; then :
   2533   $as_echo_n "(cached) " >&6
   2534 else
   2535   if test "x$target_alias" = x; then
   2536   ac_cv_target=$ac_cv_host
   2537 else
   2538   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2539     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2540 fi
   2541 
   2542 fi
   2543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2544 $as_echo "$ac_cv_target" >&6; }
   2545 case $ac_cv_target in
   2546 *-*-*) ;;
   2547 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2548 esac
   2549 target=$ac_cv_target
   2550 ac_save_IFS=$IFS; IFS='-'
   2551 set x $ac_cv_target
   2552 shift
   2553 target_cpu=$1
   2554 target_vendor=$2
   2555 shift; shift
   2556 # Remember, the first character of IFS is used to create $*,
   2557 # except with old shells:
   2558 target_os=$*
   2559 IFS=$ac_save_IFS
   2560 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2561 
   2562 
   2563 # The aliases save the names the user supplied, while $host etc.
   2564 # will get canonicalized.
   2565 test -n "$target_alias" &&
   2566   test "$program_prefix$program_suffix$program_transform_name" = \
   2567     NONENONEs,x,x, &&
   2568   program_prefix=${target_alias}-
   2569 am__api_version='1.15'
   2570 
   2571 # Find a good install program.  We prefer a C program (faster),
   2572 # so one script is as good as another.  But avoid the broken or
   2573 # incompatible versions:
   2574 # SysV /etc/install, /usr/sbin/install
   2575 # SunOS /usr/etc/install
   2576 # IRIX /sbin/install
   2577 # AIX /bin/install
   2578 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2579 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2580 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2581 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2582 # OS/2's system install, which has a completely different semantic
   2583 # ./install, which can be erroneously created by make from ./install.sh.
   2584 # Reject install programs that cannot install multiple files.
   2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2586 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2587 if test -z "$INSTALL"; then
   2588 if ${ac_cv_path_install+:} false; then :
   2589   $as_echo_n "(cached) " >&6
   2590 else
   2591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2592 for as_dir in $PATH
   2593 do
   2594   IFS=$as_save_IFS
   2595   test -z "$as_dir" && as_dir=.
   2596     # Account for people who put trailing slashes in PATH elements.
   2597 case $as_dir/ in #((
   2598   ./ | .// | /[cC]/* | \
   2599   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2600   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2601   /usr/ucb/* ) ;;
   2602   *)
   2603     # OSF1 and SCO ODT 3.0 have their own names for install.
   2604     # Don't use installbsd from OSF since it installs stuff as root
   2605     # by default.
   2606     for ac_prog in ginstall scoinst install; do
   2607       for ac_exec_ext in '' $ac_executable_extensions; do
   2608 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2609 	  if test $ac_prog = install &&
   2610 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2611 	    # AIX install.  It has an incompatible calling convention.
   2612 	    :
   2613 	  elif test $ac_prog = install &&
   2614 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2615 	    # program-specific install script used by HP pwplus--don't use.
   2616 	    :
   2617 	  else
   2618 	    rm -rf conftest.one conftest.two conftest.dir
   2619 	    echo one > conftest.one
   2620 	    echo two > conftest.two
   2621 	    mkdir conftest.dir
   2622 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2623 	      test -s conftest.one && test -s conftest.two &&
   2624 	      test -s conftest.dir/conftest.one &&
   2625 	      test -s conftest.dir/conftest.two
   2626 	    then
   2627 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2628 	      break 3
   2629 	    fi
   2630 	  fi
   2631 	fi
   2632       done
   2633     done
   2634     ;;
   2635 esac
   2636 
   2637   done
   2638 IFS=$as_save_IFS
   2639 
   2640 rm -rf conftest.one conftest.two conftest.dir
   2641 
   2642 fi
   2643   if test "${ac_cv_path_install+set}" = set; then
   2644     INSTALL=$ac_cv_path_install
   2645   else
   2646     # As a last resort, use the slow shell script.  Don't cache a
   2647     # value for INSTALL within a source directory, because that will
   2648     # break other packages using the cache if that directory is
   2649     # removed, or if the value is a relative name.
   2650     INSTALL=$ac_install_sh
   2651   fi
   2652 fi
   2653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2654 $as_echo "$INSTALL" >&6; }
   2655 
   2656 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2657 # It thinks the first close brace ends the variable substitution.
   2658 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2659 
   2660 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2661 
   2662 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2663 
   2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2665 $as_echo_n "checking whether build environment is sane... " >&6; }
   2666 # Reject unsafe characters in $srcdir or the absolute working directory
   2667 # name.  Accept space and tab only in the latter.
   2668 am_lf='
   2669 '
   2670 case `pwd` in
   2671   *[\\\"\#\$\&\'\`$am_lf]*)
   2672     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2673 esac
   2674 case $srcdir in
   2675   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2676     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2677 esac
   2678 
   2679 # Do 'set' in a subshell so we don't clobber the current shell's
   2680 # arguments.  Must try -L first in case configure is actually a
   2681 # symlink; some systems play weird games with the mod time of symlinks
   2682 # (eg FreeBSD returns the mod time of the symlink's containing
   2683 # directory).
   2684 if (
   2685    am_has_slept=no
   2686    for am_try in 1 2; do
   2687      echo "timestamp, slept: $am_has_slept" > conftest.file
   2688      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2689      if test "$*" = "X"; then
   2690 	# -L didn't work.
   2691 	set X `ls -t "$srcdir/configure" conftest.file`
   2692      fi
   2693      if test "$*" != "X $srcdir/configure conftest.file" \
   2694 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2695 
   2696 	# If neither matched, then we have a broken ls.  This can happen
   2697 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2698 	# broken ls alias from the environment.  This has actually
   2699 	# happened.  Such a system could not be considered "sane".
   2700 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2701   alias in your environment" "$LINENO" 5
   2702      fi
   2703      if test "$2" = conftest.file || test $am_try -eq 2; then
   2704        break
   2705      fi
   2706      # Just in case.
   2707      sleep 1
   2708      am_has_slept=yes
   2709    done
   2710    test "$2" = conftest.file
   2711    )
   2712 then
   2713    # Ok.
   2714    :
   2715 else
   2716    as_fn_error $? "newly created file is older than distributed files!
   2717 Check your system clock" "$LINENO" 5
   2718 fi
   2719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2720 $as_echo "yes" >&6; }
   2721 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2722 # generated files are strictly newer.
   2723 am_sleep_pid=
   2724 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2725   ( sleep 1 ) &
   2726   am_sleep_pid=$!
   2727 fi
   2728 
   2729 rm -f conftest.file
   2730 
   2731 test "$program_prefix" != NONE &&
   2732   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2733 # Use a double $ so make ignores it.
   2734 test "$program_suffix" != NONE &&
   2735   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2736 # Double any \ or $.
   2737 # By default was `s,x,x', remove it if useless.
   2738 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2739 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2740 
   2741 # Expand $ac_aux_dir to an absolute path.
   2742 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2743 
   2744 if test x"${MISSING+set}" != xset; then
   2745   case $am_aux_dir in
   2746   *\ * | *\	*)
   2747     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2748   *)
   2749     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2750   esac
   2751 fi
   2752 # Use eval to expand $SHELL
   2753 if eval "$MISSING --is-lightweight"; then
   2754   am_missing_run="$MISSING "
   2755 else
   2756   am_missing_run=
   2757   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2758 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2759 fi
   2760 
   2761 if test x"${install_sh+set}" != xset; then
   2762   case $am_aux_dir in
   2763   *\ * | *\	*)
   2764     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2765   *)
   2766     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2767   esac
   2768 fi
   2769 
   2770 # Installed binaries are usually stripped using 'strip' when the user
   2771 # run "make install-strip".  However 'strip' might not be the right
   2772 # tool to use in cross-compilation environments, therefore Automake
   2773 # will honor the 'STRIP' environment variable to overrule this program.
   2774 if test "$cross_compiling" != no; then
   2775   if test -n "$ac_tool_prefix"; then
   2776   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2777 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2779 $as_echo_n "checking for $ac_word... " >&6; }
   2780 if ${ac_cv_prog_STRIP+:} false; then :
   2781   $as_echo_n "(cached) " >&6
   2782 else
   2783   if test -n "$STRIP"; then
   2784   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2785 else
   2786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2787 for as_dir in $PATH
   2788 do
   2789   IFS=$as_save_IFS
   2790   test -z "$as_dir" && as_dir=.
   2791     for ac_exec_ext in '' $ac_executable_extensions; do
   2792   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2793     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2795     break 2
   2796   fi
   2797 done
   2798   done
   2799 IFS=$as_save_IFS
   2800 
   2801 fi
   2802 fi
   2803 STRIP=$ac_cv_prog_STRIP
   2804 if test -n "$STRIP"; then
   2805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2806 $as_echo "$STRIP" >&6; }
   2807 else
   2808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2809 $as_echo "no" >&6; }
   2810 fi
   2811 
   2812 
   2813 fi
   2814 if test -z "$ac_cv_prog_STRIP"; then
   2815   ac_ct_STRIP=$STRIP
   2816   # Extract the first word of "strip", so it can be a program name with args.
   2817 set dummy strip; ac_word=$2
   2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2819 $as_echo_n "checking for $ac_word... " >&6; }
   2820 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2821   $as_echo_n "(cached) " >&6
   2822 else
   2823   if test -n "$ac_ct_STRIP"; then
   2824   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2825 else
   2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2827 for as_dir in $PATH
   2828 do
   2829   IFS=$as_save_IFS
   2830   test -z "$as_dir" && as_dir=.
   2831     for ac_exec_ext in '' $ac_executable_extensions; do
   2832   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2833     ac_cv_prog_ac_ct_STRIP="strip"
   2834     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2835     break 2
   2836   fi
   2837 done
   2838   done
   2839 IFS=$as_save_IFS
   2840 
   2841 fi
   2842 fi
   2843 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2844 if test -n "$ac_ct_STRIP"; then
   2845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2846 $as_echo "$ac_ct_STRIP" >&6; }
   2847 else
   2848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2849 $as_echo "no" >&6; }
   2850 fi
   2851 
   2852   if test "x$ac_ct_STRIP" = x; then
   2853     STRIP=":"
   2854   else
   2855     case $cross_compiling:$ac_tool_warned in
   2856 yes:)
   2857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2858 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2859 ac_tool_warned=yes ;;
   2860 esac
   2861     STRIP=$ac_ct_STRIP
   2862   fi
   2863 else
   2864   STRIP="$ac_cv_prog_STRIP"
   2865 fi
   2866 
   2867 fi
   2868 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2869 
   2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2871 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2872 if test -z "$MKDIR_P"; then
   2873   if ${ac_cv_path_mkdir+:} false; then :
   2874   $as_echo_n "(cached) " >&6
   2875 else
   2876   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2877 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2878 do
   2879   IFS=$as_save_IFS
   2880   test -z "$as_dir" && as_dir=.
   2881     for ac_prog in mkdir gmkdir; do
   2882 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2883 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2884 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2885 	     'mkdir (GNU coreutils) '* | \
   2886 	     'mkdir (coreutils) '* | \
   2887 	     'mkdir (fileutils) '4.1*)
   2888 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2889 	       break 3;;
   2890 	   esac
   2891 	 done
   2892        done
   2893   done
   2894 IFS=$as_save_IFS
   2895 
   2896 fi
   2897 
   2898   test -d ./--version && rmdir ./--version
   2899   if test "${ac_cv_path_mkdir+set}" = set; then
   2900     MKDIR_P="$ac_cv_path_mkdir -p"
   2901   else
   2902     # As a last resort, use the slow shell script.  Don't cache a
   2903     # value for MKDIR_P within a source directory, because that will
   2904     # break other packages using the cache if that directory is
   2905     # removed, or if the value is a relative name.
   2906     MKDIR_P="$ac_install_sh -d"
   2907   fi
   2908 fi
   2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2910 $as_echo "$MKDIR_P" >&6; }
   2911 
   2912 for ac_prog in gawk mawk nawk awk
   2913 do
   2914   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2915 set dummy $ac_prog; ac_word=$2
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2917 $as_echo_n "checking for $ac_word... " >&6; }
   2918 if ${ac_cv_prog_AWK+:} false; then :
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   if test -n "$AWK"; then
   2922   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2923 else
   2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2925 for as_dir in $PATH
   2926 do
   2927   IFS=$as_save_IFS
   2928   test -z "$as_dir" && as_dir=.
   2929     for ac_exec_ext in '' $ac_executable_extensions; do
   2930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2931     ac_cv_prog_AWK="$ac_prog"
   2932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2933     break 2
   2934   fi
   2935 done
   2936   done
   2937 IFS=$as_save_IFS
   2938 
   2939 fi
   2940 fi
   2941 AWK=$ac_cv_prog_AWK
   2942 if test -n "$AWK"; then
   2943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2944 $as_echo "$AWK" >&6; }
   2945 else
   2946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2947 $as_echo "no" >&6; }
   2948 fi
   2949 
   2950 
   2951   test -n "$AWK" && break
   2952 done
   2953 
   2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2955 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2956 set x ${MAKE-make}
   2957 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2958 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2959   $as_echo_n "(cached) " >&6
   2960 else
   2961   cat >conftest.make <<\_ACEOF
   2962 SHELL = /bin/sh
   2963 all:
   2964 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2965 _ACEOF
   2966 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2967 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2968   *@@@%%%=?*=@@@%%%*)
   2969     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2970   *)
   2971     eval ac_cv_prog_make_${ac_make}_set=no;;
   2972 esac
   2973 rm -f conftest.make
   2974 fi
   2975 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2977 $as_echo "yes" >&6; }
   2978   SET_MAKE=
   2979 else
   2980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2981 $as_echo "no" >&6; }
   2982   SET_MAKE="MAKE=${MAKE-make}"
   2983 fi
   2984 
   2985 rm -rf .tst 2>/dev/null
   2986 mkdir .tst 2>/dev/null
   2987 if test -d .tst; then
   2988   am__leading_dot=.
   2989 else
   2990   am__leading_dot=_
   2991 fi
   2992 rmdir .tst 2>/dev/null
   2993 
   2994 # Check whether --enable-silent-rules was given.
   2995 if test "${enable_silent_rules+set}" = set; then :
   2996   enableval=$enable_silent_rules;
   2997 fi
   2998 
   2999 case $enable_silent_rules in # (((
   3000   yes) AM_DEFAULT_VERBOSITY=0;;
   3001    no) AM_DEFAULT_VERBOSITY=1;;
   3002     *) AM_DEFAULT_VERBOSITY=1;;
   3003 esac
   3004 am_make=${MAKE-make}
   3005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3006 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3007 if ${am_cv_make_support_nested_variables+:} false; then :
   3008   $as_echo_n "(cached) " >&6
   3009 else
   3010   if $as_echo 'TRUE=$(BAR$(V))
   3011 BAR0=false
   3012 BAR1=true
   3013 V=1
   3014 am__doit:
   3015 	@$(TRUE)
   3016 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3017   am_cv_make_support_nested_variables=yes
   3018 else
   3019   am_cv_make_support_nested_variables=no
   3020 fi
   3021 fi
   3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3023 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3024 if test $am_cv_make_support_nested_variables = yes; then
   3025     AM_V='$(V)'
   3026   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3027 else
   3028   AM_V=$AM_DEFAULT_VERBOSITY
   3029   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3030 fi
   3031 AM_BACKSLASH='\'
   3032 
   3033 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3034   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3035   # is not polluted with repeated "-I."
   3036   am__isrc=' -I$(srcdir)'
   3037   # test to see if srcdir already configured
   3038   if test -f $srcdir/config.status; then
   3039     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3040   fi
   3041 fi
   3042 
   3043 # test whether we have cygpath
   3044 if test -z "$CYGPATH_W"; then
   3045   if (cygpath --version) >/dev/null 2>/dev/null; then
   3046     CYGPATH_W='cygpath -w'
   3047   else
   3048     CYGPATH_W=echo
   3049   fi
   3050 fi
   3051 
   3052 
   3053 # Define the identity of the package.
   3054  PACKAGE='gprofng'
   3055  VERSION='2.45'
   3056 
   3057 
   3058 cat >>confdefs.h <<_ACEOF
   3059 #define PACKAGE "$PACKAGE"
   3060 _ACEOF
   3061 
   3062 
   3063 cat >>confdefs.h <<_ACEOF
   3064 #define VERSION "$VERSION"
   3065 _ACEOF
   3066 
   3067 # Some tools Automake needs.
   3068 
   3069 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3070 
   3071 
   3072 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3073 
   3074 
   3075 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3076 
   3077 
   3078 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3079 
   3080 
   3081 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3082 
   3083 # For better backward compatibility.  To be removed once Automake 1.9.x
   3084 # dies out for good.  For more background, see:
   3085 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3086 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3087 mkdir_p='$(MKDIR_P)'
   3088 
   3089 # We need awk for the "check" target (and possibly the TAP driver).  The
   3090 # system "awk" is bad on some platforms.
   3091 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3092 # in the wild :-(  We should find a proper way to deprecate it ...
   3093 AMTAR='$${TAR-tar}'
   3094 
   3095 
   3096 # We'll loop over all known methods to create a tar archive until one works.
   3097 _am_tools='gnutar  pax cpio none'
   3098 
   3099 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3100 
   3101 
   3102 
   3103 
   3104 
   3105 
   3106 # POSIX will say in a future version that running "rm -f" with no argument
   3107 # is OK; and we want to be able to make that assumption in our Makefile
   3108 # recipes.  So use an aggressive probe to check that the usage we want is
   3109 # actually supported "in the wild" to an acceptable degree.
   3110 # See automake bug#10828.
   3111 # To make any issue more visible, cause the running configure to be aborted
   3112 # by default if the 'rm' program in use doesn't match our expectations; the
   3113 # user can still override this though.
   3114 if rm -f && rm -fr && rm -rf; then : OK; else
   3115   cat >&2 <<'END'
   3116 Oops!
   3117 
   3118 Your 'rm' program seems unable to run without file operands specified
   3119 on the command line, even when the '-f' option is present.  This is contrary
   3120 to the behaviour of most rm programs out there, and not conforming with
   3121 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3122 
   3123 Please tell bug-automake@gnu.org about your system, including the value
   3124 of your $PATH and any error possibly output before this message.  This
   3125 can help us improve future automake versions.
   3126 
   3127 END
   3128   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3129     echo 'Configuration will proceed anyway, since you have set the' >&2
   3130     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3131     echo >&2
   3132   else
   3133     cat >&2 <<'END'
   3134 Aborting the configuration process, to ensure you take notice of the issue.
   3135 
   3136 You can download and install GNU coreutils to get an 'rm' implementation
   3137 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3138 
   3139 If you want to complete the configuration process using your problematic
   3140 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3141 to "yes", and re-run configure.
   3142 
   3143 END
   3144     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3145   fi
   3146 fi
   3147 
   3148 
   3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3150 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3151     # Check whether --enable-maintainer-mode was given.
   3152 if test "${enable_maintainer_mode+set}" = set; then :
   3153   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3154 else
   3155   USE_MAINTAINER_MODE=no
   3156 fi
   3157 
   3158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3159 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3160    if test $USE_MAINTAINER_MODE = yes; then
   3161   MAINTAINER_MODE_TRUE=
   3162   MAINTAINER_MODE_FALSE='#'
   3163 else
   3164   MAINTAINER_MODE_TRUE='#'
   3165   MAINTAINER_MODE_FALSE=
   3166 fi
   3167 
   3168   MAINT=$MAINTAINER_MODE_TRUE
   3169 
   3170 
   3171 
   3172 DEPDIR="${am__leading_dot}deps"
   3173 
   3174 ac_config_commands="$ac_config_commands depfiles"
   3175 
   3176 
   3177 am_make=${MAKE-make}
   3178 cat > confinc << 'END'
   3179 am__doit:
   3180 	@echo this is the am__doit target
   3181 .PHONY: am__doit
   3182 END
   3183 # If we don't find an include directive, just comment out the code.
   3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3185 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3186 am__include="#"
   3187 am__quote=
   3188 _am_result=none
   3189 # First try GNU make style include.
   3190 echo "include confinc" > confmf
   3191 # Ignore all kinds of additional output from 'make'.
   3192 case `$am_make -s -f confmf 2> /dev/null` in #(
   3193 *the\ am__doit\ target*)
   3194   am__include=include
   3195   am__quote=
   3196   _am_result=GNU
   3197   ;;
   3198 esac
   3199 # Now try BSD make style include.
   3200 if test "$am__include" = "#"; then
   3201    echo '.include "confinc"' > confmf
   3202    case `$am_make -s -f confmf 2> /dev/null` in #(
   3203    *the\ am__doit\ target*)
   3204      am__include=.include
   3205      am__quote="\""
   3206      _am_result=BSD
   3207      ;;
   3208    esac
   3209 fi
   3210 
   3211 
   3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3213 $as_echo "$_am_result" >&6; }
   3214 rm -f confinc confmf
   3215 
   3216 # Check whether --enable-dependency-tracking was given.
   3217 if test "${enable_dependency_tracking+set}" = set; then :
   3218   enableval=$enable_dependency_tracking;
   3219 fi
   3220 
   3221 if test "x$enable_dependency_tracking" != xno; then
   3222   am_depcomp="$ac_aux_dir/depcomp"
   3223   AMDEPBACKSLASH='\'
   3224   am__nodep='_no'
   3225 fi
   3226  if test "x$enable_dependency_tracking" != xno; then
   3227   AMDEP_TRUE=
   3228   AMDEP_FALSE='#'
   3229 else
   3230   AMDEP_TRUE='#'
   3231   AMDEP_FALSE=
   3232 fi
   3233 
   3234 
   3235 ac_ext=c
   3236 ac_cpp='$CPP $CPPFLAGS'
   3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3240 if test -n "$ac_tool_prefix"; then
   3241   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3242 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3244 $as_echo_n "checking for $ac_word... " >&6; }
   3245 if ${ac_cv_prog_CC+:} false; then :
   3246   $as_echo_n "(cached) " >&6
   3247 else
   3248   if test -n "$CC"; then
   3249   ac_cv_prog_CC="$CC" # Let the user override the test.
   3250 else
   3251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3252 for as_dir in $PATH
   3253 do
   3254   IFS=$as_save_IFS
   3255   test -z "$as_dir" && as_dir=.
   3256     for ac_exec_ext in '' $ac_executable_extensions; do
   3257   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3258     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3259     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3260     break 2
   3261   fi
   3262 done
   3263   done
   3264 IFS=$as_save_IFS
   3265 
   3266 fi
   3267 fi
   3268 CC=$ac_cv_prog_CC
   3269 if test -n "$CC"; then
   3270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3271 $as_echo "$CC" >&6; }
   3272 else
   3273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3274 $as_echo "no" >&6; }
   3275 fi
   3276 
   3277 
   3278 fi
   3279 if test -z "$ac_cv_prog_CC"; then
   3280   ac_ct_CC=$CC
   3281   # Extract the first word of "gcc", so it can be a program name with args.
   3282 set dummy gcc; ac_word=$2
   3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3284 $as_echo_n "checking for $ac_word... " >&6; }
   3285 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3286   $as_echo_n "(cached) " >&6
   3287 else
   3288   if test -n "$ac_ct_CC"; then
   3289   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3290 else
   3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3292 for as_dir in $PATH
   3293 do
   3294   IFS=$as_save_IFS
   3295   test -z "$as_dir" && as_dir=.
   3296     for ac_exec_ext in '' $ac_executable_extensions; do
   3297   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3298     ac_cv_prog_ac_ct_CC="gcc"
   3299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3300     break 2
   3301   fi
   3302 done
   3303   done
   3304 IFS=$as_save_IFS
   3305 
   3306 fi
   3307 fi
   3308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3309 if test -n "$ac_ct_CC"; then
   3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3311 $as_echo "$ac_ct_CC" >&6; }
   3312 else
   3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3314 $as_echo "no" >&6; }
   3315 fi
   3316 
   3317   if test "x$ac_ct_CC" = x; then
   3318     CC=""
   3319   else
   3320     case $cross_compiling:$ac_tool_warned in
   3321 yes:)
   3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3324 ac_tool_warned=yes ;;
   3325 esac
   3326     CC=$ac_ct_CC
   3327   fi
   3328 else
   3329   CC="$ac_cv_prog_CC"
   3330 fi
   3331 
   3332 if test -z "$CC"; then
   3333           if test -n "$ac_tool_prefix"; then
   3334     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3335 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3337 $as_echo_n "checking for $ac_word... " >&6; }
   3338 if ${ac_cv_prog_CC+:} false; then :
   3339   $as_echo_n "(cached) " >&6
   3340 else
   3341   if test -n "$CC"; then
   3342   ac_cv_prog_CC="$CC" # Let the user override the test.
   3343 else
   3344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3345 for as_dir in $PATH
   3346 do
   3347   IFS=$as_save_IFS
   3348   test -z "$as_dir" && as_dir=.
   3349     for ac_exec_ext in '' $ac_executable_extensions; do
   3350   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3351     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3352     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3353     break 2
   3354   fi
   3355 done
   3356   done
   3357 IFS=$as_save_IFS
   3358 
   3359 fi
   3360 fi
   3361 CC=$ac_cv_prog_CC
   3362 if test -n "$CC"; then
   3363   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3364 $as_echo "$CC" >&6; }
   3365 else
   3366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3367 $as_echo "no" >&6; }
   3368 fi
   3369 
   3370 
   3371   fi
   3372 fi
   3373 if test -z "$CC"; then
   3374   # Extract the first word of "cc", so it can be a program name with args.
   3375 set dummy cc; ac_word=$2
   3376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3377 $as_echo_n "checking for $ac_word... " >&6; }
   3378 if ${ac_cv_prog_CC+:} false; then :
   3379   $as_echo_n "(cached) " >&6
   3380 else
   3381   if test -n "$CC"; then
   3382   ac_cv_prog_CC="$CC" # Let the user override the test.
   3383 else
   3384   ac_prog_rejected=no
   3385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3386 for as_dir in $PATH
   3387 do
   3388   IFS=$as_save_IFS
   3389   test -z "$as_dir" && as_dir=.
   3390     for ac_exec_ext in '' $ac_executable_extensions; do
   3391   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3392     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3393        ac_prog_rejected=yes
   3394        continue
   3395      fi
   3396     ac_cv_prog_CC="cc"
   3397     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3398     break 2
   3399   fi
   3400 done
   3401   done
   3402 IFS=$as_save_IFS
   3403 
   3404 if test $ac_prog_rejected = yes; then
   3405   # We found a bogon in the path, so make sure we never use it.
   3406   set dummy $ac_cv_prog_CC
   3407   shift
   3408   if test $# != 0; then
   3409     # We chose a different compiler from the bogus one.
   3410     # However, it has the same basename, so the bogon will be chosen
   3411     # first if we set CC to just the basename; use the full file name.
   3412     shift
   3413     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3414   fi
   3415 fi
   3416 fi
   3417 fi
   3418 CC=$ac_cv_prog_CC
   3419 if test -n "$CC"; then
   3420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3421 $as_echo "$CC" >&6; }
   3422 else
   3423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3424 $as_echo "no" >&6; }
   3425 fi
   3426 
   3427 
   3428 fi
   3429 if test -z "$CC"; then
   3430   if test -n "$ac_tool_prefix"; then
   3431   for ac_prog in cl.exe
   3432   do
   3433     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3434 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3436 $as_echo_n "checking for $ac_word... " >&6; }
   3437 if ${ac_cv_prog_CC+:} false; then :
   3438   $as_echo_n "(cached) " >&6
   3439 else
   3440   if test -n "$CC"; then
   3441   ac_cv_prog_CC="$CC" # Let the user override the test.
   3442 else
   3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3444 for as_dir in $PATH
   3445 do
   3446   IFS=$as_save_IFS
   3447   test -z "$as_dir" && as_dir=.
   3448     for ac_exec_ext in '' $ac_executable_extensions; do
   3449   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3450     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3451     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3452     break 2
   3453   fi
   3454 done
   3455   done
   3456 IFS=$as_save_IFS
   3457 
   3458 fi
   3459 fi
   3460 CC=$ac_cv_prog_CC
   3461 if test -n "$CC"; then
   3462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3463 $as_echo "$CC" >&6; }
   3464 else
   3465   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3466 $as_echo "no" >&6; }
   3467 fi
   3468 
   3469 
   3470     test -n "$CC" && break
   3471   done
   3472 fi
   3473 if test -z "$CC"; then
   3474   ac_ct_CC=$CC
   3475   for ac_prog in cl.exe
   3476 do
   3477   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3478 set dummy $ac_prog; ac_word=$2
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3480 $as_echo_n "checking for $ac_word... " >&6; }
   3481 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3482   $as_echo_n "(cached) " >&6
   3483 else
   3484   if test -n "$ac_ct_CC"; then
   3485   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3486 else
   3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3488 for as_dir in $PATH
   3489 do
   3490   IFS=$as_save_IFS
   3491   test -z "$as_dir" && as_dir=.
   3492     for ac_exec_ext in '' $ac_executable_extensions; do
   3493   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3494     ac_cv_prog_ac_ct_CC="$ac_prog"
   3495     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3496     break 2
   3497   fi
   3498 done
   3499   done
   3500 IFS=$as_save_IFS
   3501 
   3502 fi
   3503 fi
   3504 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3505 if test -n "$ac_ct_CC"; then
   3506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3507 $as_echo "$ac_ct_CC" >&6; }
   3508 else
   3509   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3510 $as_echo "no" >&6; }
   3511 fi
   3512 
   3513 
   3514   test -n "$ac_ct_CC" && break
   3515 done
   3516 
   3517   if test "x$ac_ct_CC" = x; then
   3518     CC=""
   3519   else
   3520     case $cross_compiling:$ac_tool_warned in
   3521 yes:)
   3522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3523 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3524 ac_tool_warned=yes ;;
   3525 esac
   3526     CC=$ac_ct_CC
   3527   fi
   3528 fi
   3529 
   3530 fi
   3531 
   3532 
   3533 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3534 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3535 as_fn_error $? "no acceptable C compiler found in \$PATH
   3536 See \`config.log' for more details" "$LINENO" 5; }
   3537 
   3538 # Provide some information about the compiler.
   3539 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3540 set X $ac_compile
   3541 ac_compiler=$2
   3542 for ac_option in --version -v -V -qversion; do
   3543   { { ac_try="$ac_compiler $ac_option >&5"
   3544 case "(($ac_try" in
   3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3546   *) ac_try_echo=$ac_try;;
   3547 esac
   3548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3549 $as_echo "$ac_try_echo"; } >&5
   3550   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3551   ac_status=$?
   3552   if test -s conftest.err; then
   3553     sed '10a\
   3554 ... rest of stderr output deleted ...
   3555          10q' conftest.err >conftest.er1
   3556     cat conftest.er1 >&5
   3557   fi
   3558   rm -f conftest.er1 conftest.err
   3559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3560   test $ac_status = 0; }
   3561 done
   3562 
   3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 
   3566 int
   3567 main ()
   3568 {
   3569 
   3570   ;
   3571   return 0;
   3572 }
   3573 _ACEOF
   3574 ac_clean_files_save=$ac_clean_files
   3575 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3576 # Try to create an executable without -o first, disregard a.out.
   3577 # It will help us diagnose broken compilers, and finding out an intuition
   3578 # of exeext.
   3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3580 $as_echo_n "checking whether the C compiler works... " >&6; }
   3581 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3582 
   3583 # The possible output files:
   3584 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3585 
   3586 ac_rmfiles=
   3587 for ac_file in $ac_files
   3588 do
   3589   case $ac_file in
   3590     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3591     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3592   esac
   3593 done
   3594 rm -f $ac_rmfiles
   3595 
   3596 if { { ac_try="$ac_link_default"
   3597 case "(($ac_try" in
   3598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3599   *) ac_try_echo=$ac_try;;
   3600 esac
   3601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3602 $as_echo "$ac_try_echo"; } >&5
   3603   (eval "$ac_link_default") 2>&5
   3604   ac_status=$?
   3605   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3606   test $ac_status = 0; }; then :
   3607   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3608 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3609 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3610 # so that the user can short-circuit this test for compilers unknown to
   3611 # Autoconf.
   3612 for ac_file in $ac_files ''
   3613 do
   3614   test -f "$ac_file" || continue
   3615   case $ac_file in
   3616     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3617 	;;
   3618     [ab].out )
   3619 	# We found the default executable, but exeext='' is most
   3620 	# certainly right.
   3621 	break;;
   3622     *.* )
   3623 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3624 	then :; else
   3625 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3626 	fi
   3627 	# We set ac_cv_exeext here because the later test for it is not
   3628 	# safe: cross compilers may not add the suffix if given an `-o'
   3629 	# argument, so we may need to know it at that point already.
   3630 	# Even if this section looks crufty: it has the advantage of
   3631 	# actually working.
   3632 	break;;
   3633     * )
   3634 	break;;
   3635   esac
   3636 done
   3637 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3638 
   3639 else
   3640   ac_file=''
   3641 fi
   3642 if test -z "$ac_file"; then :
   3643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3644 $as_echo "no" >&6; }
   3645 $as_echo "$as_me: failed program was:" >&5
   3646 sed 's/^/| /' conftest.$ac_ext >&5
   3647 
   3648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3650 as_fn_error 77 "C compiler cannot create executables
   3651 See \`config.log' for more details" "$LINENO" 5; }
   3652 else
   3653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3654 $as_echo "yes" >&6; }
   3655 fi
   3656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3657 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3659 $as_echo "$ac_file" >&6; }
   3660 ac_exeext=$ac_cv_exeext
   3661 
   3662 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3663 ac_clean_files=$ac_clean_files_save
   3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3665 $as_echo_n "checking for suffix of executables... " >&6; }
   3666 if { { ac_try="$ac_link"
   3667 case "(($ac_try" in
   3668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3669   *) ac_try_echo=$ac_try;;
   3670 esac
   3671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3672 $as_echo "$ac_try_echo"; } >&5
   3673   (eval "$ac_link") 2>&5
   3674   ac_status=$?
   3675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3676   test $ac_status = 0; }; then :
   3677   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3678 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3679 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3680 # `rm'.
   3681 for ac_file in conftest.exe conftest conftest.*; do
   3682   test -f "$ac_file" || continue
   3683   case $ac_file in
   3684     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3685     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3686 	  break;;
   3687     * ) break;;
   3688   esac
   3689 done
   3690 else
   3691   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3693 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3694 See \`config.log' for more details" "$LINENO" 5; }
   3695 fi
   3696 rm -f conftest conftest$ac_cv_exeext
   3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3698 $as_echo "$ac_cv_exeext" >&6; }
   3699 
   3700 rm -f conftest.$ac_ext
   3701 EXEEXT=$ac_cv_exeext
   3702 ac_exeext=$EXEEXT
   3703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3704 /* end confdefs.h.  */
   3705 #include <stdio.h>
   3706 int
   3707 main ()
   3708 {
   3709 FILE *f = fopen ("conftest.out", "w");
   3710  return ferror (f) || fclose (f) != 0;
   3711 
   3712   ;
   3713   return 0;
   3714 }
   3715 _ACEOF
   3716 ac_clean_files="$ac_clean_files conftest.out"
   3717 # Check that the compiler produces executables we can run.  If not, either
   3718 # the compiler is broken, or we cross compile.
   3719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3720 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3721 if test "$cross_compiling" != yes; then
   3722   { { ac_try="$ac_link"
   3723 case "(($ac_try" in
   3724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3725   *) ac_try_echo=$ac_try;;
   3726 esac
   3727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3728 $as_echo "$ac_try_echo"; } >&5
   3729   (eval "$ac_link") 2>&5
   3730   ac_status=$?
   3731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3732   test $ac_status = 0; }
   3733   if { ac_try='./conftest$ac_cv_exeext'
   3734   { { case "(($ac_try" in
   3735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3736   *) ac_try_echo=$ac_try;;
   3737 esac
   3738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3739 $as_echo "$ac_try_echo"; } >&5
   3740   (eval "$ac_try") 2>&5
   3741   ac_status=$?
   3742   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3743   test $ac_status = 0; }; }; then
   3744     cross_compiling=no
   3745   else
   3746     if test "$cross_compiling" = maybe; then
   3747 	cross_compiling=yes
   3748     else
   3749 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3751 as_fn_error $? "cannot run C compiled programs.
   3752 If you meant to cross compile, use \`--host'.
   3753 See \`config.log' for more details" "$LINENO" 5; }
   3754     fi
   3755   fi
   3756 fi
   3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3758 $as_echo "$cross_compiling" >&6; }
   3759 
   3760 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3761 ac_clean_files=$ac_clean_files_save
   3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3763 $as_echo_n "checking for suffix of object files... " >&6; }
   3764 if ${ac_cv_objext+:} false; then :
   3765   $as_echo_n "(cached) " >&6
   3766 else
   3767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3768 /* end confdefs.h.  */
   3769 
   3770 int
   3771 main ()
   3772 {
   3773 
   3774   ;
   3775   return 0;
   3776 }
   3777 _ACEOF
   3778 rm -f conftest.o conftest.obj
   3779 if { { ac_try="$ac_compile"
   3780 case "(($ac_try" in
   3781   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3782   *) ac_try_echo=$ac_try;;
   3783 esac
   3784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3785 $as_echo "$ac_try_echo"; } >&5
   3786   (eval "$ac_compile") 2>&5
   3787   ac_status=$?
   3788   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3789   test $ac_status = 0; }; then :
   3790   for ac_file in conftest.o conftest.obj conftest.*; do
   3791   test -f "$ac_file" || continue;
   3792   case $ac_file in
   3793     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3794     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3795        break;;
   3796   esac
   3797 done
   3798 else
   3799   $as_echo "$as_me: failed program was:" >&5
   3800 sed 's/^/| /' conftest.$ac_ext >&5
   3801 
   3802 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3803 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3804 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3805 See \`config.log' for more details" "$LINENO" 5; }
   3806 fi
   3807 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3808 fi
   3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3810 $as_echo "$ac_cv_objext" >&6; }
   3811 OBJEXT=$ac_cv_objext
   3812 ac_objext=$OBJEXT
   3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3814 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3815 if ${ac_cv_c_compiler_gnu+:} false; then :
   3816   $as_echo_n "(cached) " >&6
   3817 else
   3818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3819 /* end confdefs.h.  */
   3820 
   3821 int
   3822 main ()
   3823 {
   3824 #ifndef __GNUC__
   3825        choke me
   3826 #endif
   3827 
   3828   ;
   3829   return 0;
   3830 }
   3831 _ACEOF
   3832 if ac_fn_c_try_compile "$LINENO"; then :
   3833   ac_compiler_gnu=yes
   3834 else
   3835   ac_compiler_gnu=no
   3836 fi
   3837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3838 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3839 
   3840 fi
   3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3842 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3843 if test $ac_compiler_gnu = yes; then
   3844   GCC=yes
   3845 else
   3846   GCC=
   3847 fi
   3848 ac_test_CFLAGS=${CFLAGS+set}
   3849 ac_save_CFLAGS=$CFLAGS
   3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3851 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3852 if ${ac_cv_prog_cc_g+:} false; then :
   3853   $as_echo_n "(cached) " >&6
   3854 else
   3855   ac_save_c_werror_flag=$ac_c_werror_flag
   3856    ac_c_werror_flag=yes
   3857    ac_cv_prog_cc_g=no
   3858    CFLAGS="-g"
   3859    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3860 /* end confdefs.h.  */
   3861 
   3862 int
   3863 main ()
   3864 {
   3865 
   3866   ;
   3867   return 0;
   3868 }
   3869 _ACEOF
   3870 if ac_fn_c_try_compile "$LINENO"; then :
   3871   ac_cv_prog_cc_g=yes
   3872 else
   3873   CFLAGS=""
   3874       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3875 /* end confdefs.h.  */
   3876 
   3877 int
   3878 main ()
   3879 {
   3880 
   3881   ;
   3882   return 0;
   3883 }
   3884 _ACEOF
   3885 if ac_fn_c_try_compile "$LINENO"; then :
   3886 
   3887 else
   3888   ac_c_werror_flag=$ac_save_c_werror_flag
   3889 	 CFLAGS="-g"
   3890 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3891 /* end confdefs.h.  */
   3892 
   3893 int
   3894 main ()
   3895 {
   3896 
   3897   ;
   3898   return 0;
   3899 }
   3900 _ACEOF
   3901 if ac_fn_c_try_compile "$LINENO"; then :
   3902   ac_cv_prog_cc_g=yes
   3903 fi
   3904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3905 fi
   3906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3907 fi
   3908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3909    ac_c_werror_flag=$ac_save_c_werror_flag
   3910 fi
   3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3912 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3913 if test "$ac_test_CFLAGS" = set; then
   3914   CFLAGS=$ac_save_CFLAGS
   3915 elif test $ac_cv_prog_cc_g = yes; then
   3916   if test "$GCC" = yes; then
   3917     CFLAGS="-g -O2"
   3918   else
   3919     CFLAGS="-g"
   3920   fi
   3921 else
   3922   if test "$GCC" = yes; then
   3923     CFLAGS="-O2"
   3924   else
   3925     CFLAGS=
   3926   fi
   3927 fi
   3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3929 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3930 if ${ac_cv_prog_cc_c89+:} false; then :
   3931   $as_echo_n "(cached) " >&6
   3932 else
   3933   ac_cv_prog_cc_c89=no
   3934 ac_save_CC=$CC
   3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3936 /* end confdefs.h.  */
   3937 #include <stdarg.h>
   3938 #include <stdio.h>
   3939 struct stat;
   3940 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3941 struct buf { int x; };
   3942 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3943 static char *e (p, i)
   3944      char **p;
   3945      int i;
   3946 {
   3947   return p[i];
   3948 }
   3949 static char *f (char * (*g) (char **, int), char **p, ...)
   3950 {
   3951   char *s;
   3952   va_list v;
   3953   va_start (v,p);
   3954   s = g (p, va_arg (v,int));
   3955   va_end (v);
   3956   return s;
   3957 }
   3958 
   3959 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3960    function prototypes and stuff, but not '\xHH' hex character constants.
   3961    These don't provoke an error unfortunately, instead are silently treated
   3962    as 'x'.  The following induces an error, until -std is added to get
   3963    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3964    array size at least.  It's necessary to write '\x00'==0 to get something
   3965    that's true only with -std.  */
   3966 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3967 
   3968 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3969    inside strings and character constants.  */
   3970 #define FOO(x) 'x'
   3971 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3972 
   3973 int test (int i, double x);
   3974 struct s1 {int (*f) (int a);};
   3975 struct s2 {int (*f) (double a);};
   3976 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3977 int argc;
   3978 char **argv;
   3979 int
   3980 main ()
   3981 {
   3982 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3983   ;
   3984   return 0;
   3985 }
   3986 _ACEOF
   3987 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3988 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3989 do
   3990   CC="$ac_save_CC $ac_arg"
   3991   if ac_fn_c_try_compile "$LINENO"; then :
   3992   ac_cv_prog_cc_c89=$ac_arg
   3993 fi
   3994 rm -f core conftest.err conftest.$ac_objext
   3995   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3996 done
   3997 rm -f conftest.$ac_ext
   3998 CC=$ac_save_CC
   3999 
   4000 fi
   4001 # AC_CACHE_VAL
   4002 case "x$ac_cv_prog_cc_c89" in
   4003   x)
   4004     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4005 $as_echo "none needed" >&6; } ;;
   4006   xno)
   4007     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4008 $as_echo "unsupported" >&6; } ;;
   4009   *)
   4010     CC="$CC $ac_cv_prog_cc_c89"
   4011     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4012 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4013 esac
   4014 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4015 
   4016 fi
   4017 
   4018 ac_ext=c
   4019 ac_cpp='$CPP $CPPFLAGS'
   4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4030 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4031 if ${am_cv_prog_cc_c_o+:} false; then :
   4032   $as_echo_n "(cached) " >&6
   4033 else
   4034   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4035 /* end confdefs.h.  */
   4036 
   4037 int
   4038 main ()
   4039 {
   4040 
   4041   ;
   4042   return 0;
   4043 }
   4044 _ACEOF
   4045   # Make sure it works both with $CC and with simple cc.
   4046   # Following AC_PROG_CC_C_O, we do the test twice because some
   4047   # compilers refuse to overwrite an existing .o file with -o,
   4048   # though they will create one.
   4049   am_cv_prog_cc_c_o=yes
   4050   for am_i in 1 2; do
   4051     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4052    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4053    ac_status=$?
   4054    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4055    (exit $ac_status); } \
   4056          && test -f conftest2.$ac_objext; then
   4057       : OK
   4058     else
   4059       am_cv_prog_cc_c_o=no
   4060       break
   4061     fi
   4062   done
   4063   rm -f core conftest*
   4064   unset am_i
   4065 fi
   4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4067 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4068 if test "$am_cv_prog_cc_c_o" != yes; then
   4069    # Losing compiler, so override with the script.
   4070    # FIXME: It is wrong to rewrite CC.
   4071    # But if we don't then we get into trouble of one sort or another.
   4072    # A longer-term fix would be to have automake use am__CC in this case,
   4073    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4074    CC="$am_aux_dir/compile $CC"
   4075 fi
   4076 ac_ext=c
   4077 ac_cpp='$CPP $CPPFLAGS'
   4078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4081 
   4082 
   4083 depcc="$CC"   am_compiler_list=
   4084 
   4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4086 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4087 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4088   $as_echo_n "(cached) " >&6
   4089 else
   4090   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4091   # We make a subdir and do the tests there.  Otherwise we can end up
   4092   # making bogus files that we don't know about and never remove.  For
   4093   # instance it was reported that on HP-UX the gcc test will end up
   4094   # making a dummy file named 'D' -- because '-MD' means "put the output
   4095   # in D".
   4096   rm -rf conftest.dir
   4097   mkdir conftest.dir
   4098   # Copy depcomp to subdir because otherwise we won't find it if we're
   4099   # using a relative directory.
   4100   cp "$am_depcomp" conftest.dir
   4101   cd conftest.dir
   4102   # We will build objects and dependencies in a subdirectory because
   4103   # it helps to detect inapplicable dependency modes.  For instance
   4104   # both Tru64's cc and ICC support -MD to output dependencies as a
   4105   # side effect of compilation, but ICC will put the dependencies in
   4106   # the current directory while Tru64 will put them in the object
   4107   # directory.
   4108   mkdir sub
   4109 
   4110   am_cv_CC_dependencies_compiler_type=none
   4111   if test "$am_compiler_list" = ""; then
   4112      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4113   fi
   4114   am__universal=false
   4115   case " $depcc " in #(
   4116      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4117      esac
   4118 
   4119   for depmode in $am_compiler_list; do
   4120     # Setup a source with many dependencies, because some compilers
   4121     # like to wrap large dependency lists on column 80 (with \), and
   4122     # we should not choose a depcomp mode which is confused by this.
   4123     #
   4124     # We need to recreate these files for each test, as the compiler may
   4125     # overwrite some of them when testing with obscure command lines.
   4126     # This happens at least with the AIX C compiler.
   4127     : > sub/conftest.c
   4128     for i in 1 2 3 4 5 6; do
   4129       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4130       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4131       # Solaris 10 /bin/sh.
   4132       echo '/* dummy */' > sub/conftst$i.h
   4133     done
   4134     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4135 
   4136     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4137     # mode.  It turns out that the SunPro C++ compiler does not properly
   4138     # handle '-M -o', and we need to detect this.  Also, some Intel
   4139     # versions had trouble with output in subdirs.
   4140     am__obj=sub/conftest.${OBJEXT-o}
   4141     am__minus_obj="-o $am__obj"
   4142     case $depmode in
   4143     gcc)
   4144       # This depmode causes a compiler race in universal mode.
   4145       test "$am__universal" = false || continue
   4146       ;;
   4147     nosideeffect)
   4148       # After this tag, mechanisms are not by side-effect, so they'll
   4149       # only be used when explicitly requested.
   4150       if test "x$enable_dependency_tracking" = xyes; then
   4151 	continue
   4152       else
   4153 	break
   4154       fi
   4155       ;;
   4156     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4157       # This compiler won't grok '-c -o', but also, the minuso test has
   4158       # not run yet.  These depmodes are late enough in the game, and
   4159       # so weak that their functioning should not be impacted.
   4160       am__obj=conftest.${OBJEXT-o}
   4161       am__minus_obj=
   4162       ;;
   4163     none) break ;;
   4164     esac
   4165     if depmode=$depmode \
   4166        source=sub/conftest.c object=$am__obj \
   4167        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4168        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4169          >/dev/null 2>conftest.err &&
   4170        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4171        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4172        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4173        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4174       # icc doesn't choke on unknown options, it will just issue warnings
   4175       # or remarks (even with -Werror).  So we grep stderr for any message
   4176       # that says an option was ignored or not supported.
   4177       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4178       #   icc: Command line warning: ignoring option '-M'; no argument required
   4179       # The diagnosis changed in icc 8.0:
   4180       #   icc: Command line remark: option '-MP' not supported
   4181       if (grep 'ignoring option' conftest.err ||
   4182           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4183         am_cv_CC_dependencies_compiler_type=$depmode
   4184         break
   4185       fi
   4186     fi
   4187   done
   4188 
   4189   cd ..
   4190   rm -rf conftest.dir
   4191 else
   4192   am_cv_CC_dependencies_compiler_type=none
   4193 fi
   4194 
   4195 fi
   4196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4197 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4198 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4199 
   4200  if
   4201   test "x$enable_dependency_tracking" != xno \
   4202   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4203   am__fastdepCC_TRUE=
   4204   am__fastdepCC_FALSE='#'
   4205 else
   4206   am__fastdepCC_TRUE='#'
   4207   am__fastdepCC_FALSE=
   4208 fi
   4209 
   4210 
   4211 
   4212 ac_ext=c
   4213 ac_cpp='$CPP $CPPFLAGS'
   4214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4218 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4219 # On Suns, sometimes $CPP names a directory.
   4220 if test -n "$CPP" && test -d "$CPP"; then
   4221   CPP=
   4222 fi
   4223 if test -z "$CPP"; then
   4224   if ${ac_cv_prog_CPP+:} false; then :
   4225   $as_echo_n "(cached) " >&6
   4226 else
   4227       # Double quotes because CPP needs to be expanded
   4228     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4229     do
   4230       ac_preproc_ok=false
   4231 for ac_c_preproc_warn_flag in '' yes
   4232 do
   4233   # Use a header file that comes with gcc, so configuring glibc
   4234   # with a fresh cross-compiler works.
   4235   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4236   # <limits.h> exists even on freestanding compilers.
   4237   # On the NeXT, cc -E runs the code through the compiler's parser,
   4238   # not just through cpp. "Syntax error" is here to catch this case.
   4239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4240 /* end confdefs.h.  */
   4241 #ifdef __STDC__
   4242 # include <limits.h>
   4243 #else
   4244 # include <assert.h>
   4245 #endif
   4246 		     Syntax error
   4247 _ACEOF
   4248 if ac_fn_c_try_cpp "$LINENO"; then :
   4249 
   4250 else
   4251   # Broken: fails on valid input.
   4252 continue
   4253 fi
   4254 rm -f conftest.err conftest.i conftest.$ac_ext
   4255 
   4256   # OK, works on sane cases.  Now check whether nonexistent headers
   4257   # can be detected and how.
   4258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4259 /* end confdefs.h.  */
   4260 #include <ac_nonexistent.h>
   4261 _ACEOF
   4262 if ac_fn_c_try_cpp "$LINENO"; then :
   4263   # Broken: success on invalid input.
   4264 continue
   4265 else
   4266   # Passes both tests.
   4267 ac_preproc_ok=:
   4268 break
   4269 fi
   4270 rm -f conftest.err conftest.i conftest.$ac_ext
   4271 
   4272 done
   4273 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4274 rm -f conftest.i conftest.err conftest.$ac_ext
   4275 if $ac_preproc_ok; then :
   4276   break
   4277 fi
   4278 
   4279     done
   4280     ac_cv_prog_CPP=$CPP
   4281 
   4282 fi
   4283   CPP=$ac_cv_prog_CPP
   4284 else
   4285   ac_cv_prog_CPP=$CPP
   4286 fi
   4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4288 $as_echo "$CPP" >&6; }
   4289 ac_preproc_ok=false
   4290 for ac_c_preproc_warn_flag in '' yes
   4291 do
   4292   # Use a header file that comes with gcc, so configuring glibc
   4293   # with a fresh cross-compiler works.
   4294   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4295   # <limits.h> exists even on freestanding compilers.
   4296   # On the NeXT, cc -E runs the code through the compiler's parser,
   4297   # not just through cpp. "Syntax error" is here to catch this case.
   4298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4299 /* end confdefs.h.  */
   4300 #ifdef __STDC__
   4301 # include <limits.h>
   4302 #else
   4303 # include <assert.h>
   4304 #endif
   4305 		     Syntax error
   4306 _ACEOF
   4307 if ac_fn_c_try_cpp "$LINENO"; then :
   4308 
   4309 else
   4310   # Broken: fails on valid input.
   4311 continue
   4312 fi
   4313 rm -f conftest.err conftest.i conftest.$ac_ext
   4314 
   4315   # OK, works on sane cases.  Now check whether nonexistent headers
   4316   # can be detected and how.
   4317   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4318 /* end confdefs.h.  */
   4319 #include <ac_nonexistent.h>
   4320 _ACEOF
   4321 if ac_fn_c_try_cpp "$LINENO"; then :
   4322   # Broken: success on invalid input.
   4323 continue
   4324 else
   4325   # Passes both tests.
   4326 ac_preproc_ok=:
   4327 break
   4328 fi
   4329 rm -f conftest.err conftest.i conftest.$ac_ext
   4330 
   4331 done
   4332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4333 rm -f conftest.i conftest.err conftest.$ac_ext
   4334 if $ac_preproc_ok; then :
   4335 
   4336 else
   4337   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4339 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4340 See \`config.log' for more details" "$LINENO" 5; }
   4341 fi
   4342 
   4343 ac_ext=c
   4344 ac_cpp='$CPP $CPPFLAGS'
   4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4348 
   4349 
   4350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4351 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4352 if ${ac_cv_path_GREP+:} false; then :
   4353   $as_echo_n "(cached) " >&6
   4354 else
   4355   if test -z "$GREP"; then
   4356   ac_path_GREP_found=false
   4357   # Loop through the user's path and test for each of PROGNAME-LIST
   4358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4359 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4360 do
   4361   IFS=$as_save_IFS
   4362   test -z "$as_dir" && as_dir=.
   4363     for ac_prog in grep ggrep; do
   4364     for ac_exec_ext in '' $ac_executable_extensions; do
   4365       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4366       as_fn_executable_p "$ac_path_GREP" || continue
   4367 # Check for GNU ac_path_GREP and select it if it is found.
   4368   # Check for GNU $ac_path_GREP
   4369 case `"$ac_path_GREP" --version 2>&1` in
   4370 *GNU*)
   4371   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4372 *)
   4373   ac_count=0
   4374   $as_echo_n 0123456789 >"conftest.in"
   4375   while :
   4376   do
   4377     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4378     mv "conftest.tmp" "conftest.in"
   4379     cp "conftest.in" "conftest.nl"
   4380     $as_echo 'GREP' >> "conftest.nl"
   4381     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4382     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4383     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4384     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4385       # Best one so far, save it but keep looking for a better one
   4386       ac_cv_path_GREP="$ac_path_GREP"
   4387       ac_path_GREP_max=$ac_count
   4388     fi
   4389     # 10*(2^10) chars as input seems more than enough
   4390     test $ac_count -gt 10 && break
   4391   done
   4392   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4393 esac
   4394 
   4395       $ac_path_GREP_found && break 3
   4396     done
   4397   done
   4398   done
   4399 IFS=$as_save_IFS
   4400   if test -z "$ac_cv_path_GREP"; then
   4401     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4402   fi
   4403 else
   4404   ac_cv_path_GREP=$GREP
   4405 fi
   4406 
   4407 fi
   4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4409 $as_echo "$ac_cv_path_GREP" >&6; }
   4410  GREP="$ac_cv_path_GREP"
   4411 
   4412 
   4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4414 $as_echo_n "checking for egrep... " >&6; }
   4415 if ${ac_cv_path_EGREP+:} false; then :
   4416   $as_echo_n "(cached) " >&6
   4417 else
   4418   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4419    then ac_cv_path_EGREP="$GREP -E"
   4420    else
   4421      if test -z "$EGREP"; then
   4422   ac_path_EGREP_found=false
   4423   # Loop through the user's path and test for each of PROGNAME-LIST
   4424   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4425 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4426 do
   4427   IFS=$as_save_IFS
   4428   test -z "$as_dir" && as_dir=.
   4429     for ac_prog in egrep; do
   4430     for ac_exec_ext in '' $ac_executable_extensions; do
   4431       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4432       as_fn_executable_p "$ac_path_EGREP" || continue
   4433 # Check for GNU ac_path_EGREP and select it if it is found.
   4434   # Check for GNU $ac_path_EGREP
   4435 case `"$ac_path_EGREP" --version 2>&1` in
   4436 *GNU*)
   4437   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4438 *)
   4439   ac_count=0
   4440   $as_echo_n 0123456789 >"conftest.in"
   4441   while :
   4442   do
   4443     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4444     mv "conftest.tmp" "conftest.in"
   4445     cp "conftest.in" "conftest.nl"
   4446     $as_echo 'EGREP' >> "conftest.nl"
   4447     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4448     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4449     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4450     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4451       # Best one so far, save it but keep looking for a better one
   4452       ac_cv_path_EGREP="$ac_path_EGREP"
   4453       ac_path_EGREP_max=$ac_count
   4454     fi
   4455     # 10*(2^10) chars as input seems more than enough
   4456     test $ac_count -gt 10 && break
   4457   done
   4458   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4459 esac
   4460 
   4461       $ac_path_EGREP_found && break 3
   4462     done
   4463   done
   4464   done
   4465 IFS=$as_save_IFS
   4466   if test -z "$ac_cv_path_EGREP"; then
   4467     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4468   fi
   4469 else
   4470   ac_cv_path_EGREP=$EGREP
   4471 fi
   4472 
   4473    fi
   4474 fi
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4476 $as_echo "$ac_cv_path_EGREP" >&6; }
   4477  EGREP="$ac_cv_path_EGREP"
   4478 
   4479 
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4481 $as_echo_n "checking for ANSI C header files... " >&6; }
   4482 if ${ac_cv_header_stdc+:} false; then :
   4483   $as_echo_n "(cached) " >&6
   4484 else
   4485   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4486 /* end confdefs.h.  */
   4487 #include <stdlib.h>
   4488 #include <stdarg.h>
   4489 #include <string.h>
   4490 #include <float.h>
   4491 
   4492 int
   4493 main ()
   4494 {
   4495 
   4496   ;
   4497   return 0;
   4498 }
   4499 _ACEOF
   4500 if ac_fn_c_try_compile "$LINENO"; then :
   4501   ac_cv_header_stdc=yes
   4502 else
   4503   ac_cv_header_stdc=no
   4504 fi
   4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4506 
   4507 if test $ac_cv_header_stdc = yes; then
   4508   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4510 /* end confdefs.h.  */
   4511 #include <string.h>
   4512 
   4513 _ACEOF
   4514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4515   $EGREP "memchr" >/dev/null 2>&1; then :
   4516 
   4517 else
   4518   ac_cv_header_stdc=no
   4519 fi
   4520 rm -f conftest*
   4521 
   4522 fi
   4523 
   4524 if test $ac_cv_header_stdc = yes; then
   4525   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4526   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4527 /* end confdefs.h.  */
   4528 #include <stdlib.h>
   4529 
   4530 _ACEOF
   4531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4532   $EGREP "free" >/dev/null 2>&1; then :
   4533 
   4534 else
   4535   ac_cv_header_stdc=no
   4536 fi
   4537 rm -f conftest*
   4538 
   4539 fi
   4540 
   4541 if test $ac_cv_header_stdc = yes; then
   4542   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4543   if test "$cross_compiling" = yes; then :
   4544   :
   4545 else
   4546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4547 /* end confdefs.h.  */
   4548 #include <ctype.h>
   4549 #include <stdlib.h>
   4550 #if ((' ' & 0x0FF) == 0x020)
   4551 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4552 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4553 #else
   4554 # define ISLOWER(c) \
   4555 		   (('a' <= (c) && (c) <= 'i') \
   4556 		     || ('j' <= (c) && (c) <= 'r') \
   4557 		     || ('s' <= (c) && (c) <= 'z'))
   4558 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4559 #endif
   4560 
   4561 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4562 int
   4563 main ()
   4564 {
   4565   int i;
   4566   for (i = 0; i < 256; i++)
   4567     if (XOR (islower (i), ISLOWER (i))
   4568 	|| toupper (i) != TOUPPER (i))
   4569       return 2;
   4570   return 0;
   4571 }
   4572 _ACEOF
   4573 if ac_fn_c_try_run "$LINENO"; then :
   4574 
   4575 else
   4576   ac_cv_header_stdc=no
   4577 fi
   4578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4579   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4580 fi
   4581 
   4582 fi
   4583 fi
   4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4585 $as_echo "$ac_cv_header_stdc" >&6; }
   4586 if test $ac_cv_header_stdc = yes; then
   4587 
   4588 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4589 
   4590 fi
   4591 
   4592 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4593 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4594 		  inttypes.h stdint.h unistd.h
   4595 do :
   4596   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4597 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4598 "
   4599 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4600   cat >>confdefs.h <<_ACEOF
   4601 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4602 _ACEOF
   4603 
   4604 fi
   4605 
   4606 done
   4607 
   4608 
   4609 
   4610   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4611 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4612   MINIX=yes
   4613 else
   4614   MINIX=
   4615 fi
   4616 
   4617 
   4618   if test "$MINIX" = yes; then
   4619 
   4620 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4621 
   4622 
   4623 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4624 
   4625 
   4626 $as_echo "#define _MINIX 1" >>confdefs.h
   4627 
   4628   fi
   4629 
   4630 
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4632 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4633 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4634   $as_echo_n "(cached) " >&6
   4635 else
   4636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4637 /* end confdefs.h.  */
   4638 
   4639 #         define __EXTENSIONS__ 1
   4640           $ac_includes_default
   4641 int
   4642 main ()
   4643 {
   4644 
   4645   ;
   4646   return 0;
   4647 }
   4648 _ACEOF
   4649 if ac_fn_c_try_compile "$LINENO"; then :
   4650   ac_cv_safe_to_define___extensions__=yes
   4651 else
   4652   ac_cv_safe_to_define___extensions__=no
   4653 fi
   4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4655 fi
   4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4657 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4658   test $ac_cv_safe_to_define___extensions__ = yes &&
   4659     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4660 
   4661   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4662 
   4663   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4664 
   4665   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4666 
   4667   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4668 
   4669 
   4670 ac_ext=c
   4671 ac_cpp='$CPP $CPPFLAGS'
   4672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4675 if test -n "$ac_tool_prefix"; then
   4676   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4677 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4679 $as_echo_n "checking for $ac_word... " >&6; }
   4680 if ${ac_cv_prog_CC+:} false; then :
   4681   $as_echo_n "(cached) " >&6
   4682 else
   4683   if test -n "$CC"; then
   4684   ac_cv_prog_CC="$CC" # Let the user override the test.
   4685 else
   4686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4687 for as_dir in $PATH
   4688 do
   4689   IFS=$as_save_IFS
   4690   test -z "$as_dir" && as_dir=.
   4691     for ac_exec_ext in '' $ac_executable_extensions; do
   4692   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4693     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4694     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4695     break 2
   4696   fi
   4697 done
   4698   done
   4699 IFS=$as_save_IFS
   4700 
   4701 fi
   4702 fi
   4703 CC=$ac_cv_prog_CC
   4704 if test -n "$CC"; then
   4705   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4706 $as_echo "$CC" >&6; }
   4707 else
   4708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4709 $as_echo "no" >&6; }
   4710 fi
   4711 
   4712 
   4713 fi
   4714 if test -z "$ac_cv_prog_CC"; then
   4715   ac_ct_CC=$CC
   4716   # Extract the first word of "gcc", so it can be a program name with args.
   4717 set dummy gcc; ac_word=$2
   4718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4719 $as_echo_n "checking for $ac_word... " >&6; }
   4720 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4721   $as_echo_n "(cached) " >&6
   4722 else
   4723   if test -n "$ac_ct_CC"; then
   4724   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4725 else
   4726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4727 for as_dir in $PATH
   4728 do
   4729   IFS=$as_save_IFS
   4730   test -z "$as_dir" && as_dir=.
   4731     for ac_exec_ext in '' $ac_executable_extensions; do
   4732   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4733     ac_cv_prog_ac_ct_CC="gcc"
   4734     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4735     break 2
   4736   fi
   4737 done
   4738   done
   4739 IFS=$as_save_IFS
   4740 
   4741 fi
   4742 fi
   4743 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4744 if test -n "$ac_ct_CC"; then
   4745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4746 $as_echo "$ac_ct_CC" >&6; }
   4747 else
   4748   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4749 $as_echo "no" >&6; }
   4750 fi
   4751 
   4752   if test "x$ac_ct_CC" = x; then
   4753     CC=""
   4754   else
   4755     case $cross_compiling:$ac_tool_warned in
   4756 yes:)
   4757 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4758 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4759 ac_tool_warned=yes ;;
   4760 esac
   4761     CC=$ac_ct_CC
   4762   fi
   4763 else
   4764   CC="$ac_cv_prog_CC"
   4765 fi
   4766 
   4767 if test -z "$CC"; then
   4768           if test -n "$ac_tool_prefix"; then
   4769     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4770 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4772 $as_echo_n "checking for $ac_word... " >&6; }
   4773 if ${ac_cv_prog_CC+:} false; then :
   4774   $as_echo_n "(cached) " >&6
   4775 else
   4776   if test -n "$CC"; then
   4777   ac_cv_prog_CC="$CC" # Let the user override the test.
   4778 else
   4779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4780 for as_dir in $PATH
   4781 do
   4782   IFS=$as_save_IFS
   4783   test -z "$as_dir" && as_dir=.
   4784     for ac_exec_ext in '' $ac_executable_extensions; do
   4785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4786     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4788     break 2
   4789   fi
   4790 done
   4791   done
   4792 IFS=$as_save_IFS
   4793 
   4794 fi
   4795 fi
   4796 CC=$ac_cv_prog_CC
   4797 if test -n "$CC"; then
   4798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4799 $as_echo "$CC" >&6; }
   4800 else
   4801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4802 $as_echo "no" >&6; }
   4803 fi
   4804 
   4805 
   4806   fi
   4807 fi
   4808 if test -z "$CC"; then
   4809   # Extract the first word of "cc", so it can be a program name with args.
   4810 set dummy cc; ac_word=$2
   4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4812 $as_echo_n "checking for $ac_word... " >&6; }
   4813 if ${ac_cv_prog_CC+:} false; then :
   4814   $as_echo_n "(cached) " >&6
   4815 else
   4816   if test -n "$CC"; then
   4817   ac_cv_prog_CC="$CC" # Let the user override the test.
   4818 else
   4819   ac_prog_rejected=no
   4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4821 for as_dir in $PATH
   4822 do
   4823   IFS=$as_save_IFS
   4824   test -z "$as_dir" && as_dir=.
   4825     for ac_exec_ext in '' $ac_executable_extensions; do
   4826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4827     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4828        ac_prog_rejected=yes
   4829        continue
   4830      fi
   4831     ac_cv_prog_CC="cc"
   4832     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4833     break 2
   4834   fi
   4835 done
   4836   done
   4837 IFS=$as_save_IFS
   4838 
   4839 if test $ac_prog_rejected = yes; then
   4840   # We found a bogon in the path, so make sure we never use it.
   4841   set dummy $ac_cv_prog_CC
   4842   shift
   4843   if test $# != 0; then
   4844     # We chose a different compiler from the bogus one.
   4845     # However, it has the same basename, so the bogon will be chosen
   4846     # first if we set CC to just the basename; use the full file name.
   4847     shift
   4848     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4849   fi
   4850 fi
   4851 fi
   4852 fi
   4853 CC=$ac_cv_prog_CC
   4854 if test -n "$CC"; then
   4855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4856 $as_echo "$CC" >&6; }
   4857 else
   4858   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4859 $as_echo "no" >&6; }
   4860 fi
   4861 
   4862 
   4863 fi
   4864 if test -z "$CC"; then
   4865   if test -n "$ac_tool_prefix"; then
   4866   for ac_prog in cl.exe
   4867   do
   4868     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4871 $as_echo_n "checking for $ac_word... " >&6; }
   4872 if ${ac_cv_prog_CC+:} false; then :
   4873   $as_echo_n "(cached) " >&6
   4874 else
   4875   if test -n "$CC"; then
   4876   ac_cv_prog_CC="$CC" # Let the user override the test.
   4877 else
   4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4879 for as_dir in $PATH
   4880 do
   4881   IFS=$as_save_IFS
   4882   test -z "$as_dir" && as_dir=.
   4883     for ac_exec_ext in '' $ac_executable_extensions; do
   4884   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4885     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4887     break 2
   4888   fi
   4889 done
   4890   done
   4891 IFS=$as_save_IFS
   4892 
   4893 fi
   4894 fi
   4895 CC=$ac_cv_prog_CC
   4896 if test -n "$CC"; then
   4897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   4898 $as_echo "$CC" >&6; }
   4899 else
   4900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4901 $as_echo "no" >&6; }
   4902 fi
   4903 
   4904 
   4905     test -n "$CC" && break
   4906   done
   4907 fi
   4908 if test -z "$CC"; then
   4909   ac_ct_CC=$CC
   4910   for ac_prog in cl.exe
   4911 do
   4912   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4913 set dummy $ac_prog; ac_word=$2
   4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4915 $as_echo_n "checking for $ac_word... " >&6; }
   4916 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   4917   $as_echo_n "(cached) " >&6
   4918 else
   4919   if test -n "$ac_ct_CC"; then
   4920   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4921 else
   4922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4923 for as_dir in $PATH
   4924 do
   4925   IFS=$as_save_IFS
   4926   test -z "$as_dir" && as_dir=.
   4927     for ac_exec_ext in '' $ac_executable_extensions; do
   4928   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4929     ac_cv_prog_ac_ct_CC="$ac_prog"
   4930     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4931     break 2
   4932   fi
   4933 done
   4934   done
   4935 IFS=$as_save_IFS
   4936 
   4937 fi
   4938 fi
   4939 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4940 if test -n "$ac_ct_CC"; then
   4941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   4942 $as_echo "$ac_ct_CC" >&6; }
   4943 else
   4944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4945 $as_echo "no" >&6; }
   4946 fi
   4947 
   4948 
   4949   test -n "$ac_ct_CC" && break
   4950 done
   4951 
   4952   if test "x$ac_ct_CC" = x; then
   4953     CC=""
   4954   else
   4955     case $cross_compiling:$ac_tool_warned in
   4956 yes:)
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4959 ac_tool_warned=yes ;;
   4960 esac
   4961     CC=$ac_ct_CC
   4962   fi
   4963 fi
   4964 
   4965 fi
   4966 
   4967 
   4968 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4970 as_fn_error $? "no acceptable C compiler found in \$PATH
   4971 See \`config.log' for more details" "$LINENO" 5; }
   4972 
   4973 # Provide some information about the compiler.
   4974 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   4975 set X $ac_compile
   4976 ac_compiler=$2
   4977 for ac_option in --version -v -V -qversion; do
   4978   { { ac_try="$ac_compiler $ac_option >&5"
   4979 case "(($ac_try" in
   4980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4981   *) ac_try_echo=$ac_try;;
   4982 esac
   4983 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4984 $as_echo "$ac_try_echo"; } >&5
   4985   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4986   ac_status=$?
   4987   if test -s conftest.err; then
   4988     sed '10a\
   4989 ... rest of stderr output deleted ...
   4990          10q' conftest.err >conftest.er1
   4991     cat conftest.er1 >&5
   4992   fi
   4993   rm -f conftest.er1 conftest.err
   4994   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4995   test $ac_status = 0; }
   4996 done
   4997 
   4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4999 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   5000 if ${ac_cv_c_compiler_gnu+:} false; then :
   5001   $as_echo_n "(cached) " >&6
   5002 else
   5003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5004 /* end confdefs.h.  */
   5005 
   5006 int
   5007 main ()
   5008 {
   5009 #ifndef __GNUC__
   5010        choke me
   5011 #endif
   5012 
   5013   ;
   5014   return 0;
   5015 }
   5016 _ACEOF
   5017 if ac_fn_c_try_compile "$LINENO"; then :
   5018   ac_compiler_gnu=yes
   5019 else
   5020   ac_compiler_gnu=no
   5021 fi
   5022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5023 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   5024 
   5025 fi
   5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   5027 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   5028 if test $ac_compiler_gnu = yes; then
   5029   GCC=yes
   5030 else
   5031   GCC=
   5032 fi
   5033 ac_test_CFLAGS=${CFLAGS+set}
   5034 ac_save_CFLAGS=$CFLAGS
   5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   5036 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   5037 if ${ac_cv_prog_cc_g+:} false; then :
   5038   $as_echo_n "(cached) " >&6
   5039 else
   5040   ac_save_c_werror_flag=$ac_c_werror_flag
   5041    ac_c_werror_flag=yes
   5042    ac_cv_prog_cc_g=no
   5043    CFLAGS="-g"
   5044    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5045 /* end confdefs.h.  */
   5046 
   5047 int
   5048 main ()
   5049 {
   5050 
   5051   ;
   5052   return 0;
   5053 }
   5054 _ACEOF
   5055 if ac_fn_c_try_compile "$LINENO"; then :
   5056   ac_cv_prog_cc_g=yes
   5057 else
   5058   CFLAGS=""
   5059       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5060 /* end confdefs.h.  */
   5061 
   5062 int
   5063 main ()
   5064 {
   5065 
   5066   ;
   5067   return 0;
   5068 }
   5069 _ACEOF
   5070 if ac_fn_c_try_compile "$LINENO"; then :
   5071 
   5072 else
   5073   ac_c_werror_flag=$ac_save_c_werror_flag
   5074 	 CFLAGS="-g"
   5075 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5076 /* end confdefs.h.  */
   5077 
   5078 int
   5079 main ()
   5080 {
   5081 
   5082   ;
   5083   return 0;
   5084 }
   5085 _ACEOF
   5086 if ac_fn_c_try_compile "$LINENO"; then :
   5087   ac_cv_prog_cc_g=yes
   5088 fi
   5089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5090 fi
   5091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5092 fi
   5093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5094    ac_c_werror_flag=$ac_save_c_werror_flag
   5095 fi
   5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   5097 $as_echo "$ac_cv_prog_cc_g" >&6; }
   5098 if test "$ac_test_CFLAGS" = set; then
   5099   CFLAGS=$ac_save_CFLAGS
   5100 elif test $ac_cv_prog_cc_g = yes; then
   5101   if test "$GCC" = yes; then
   5102     CFLAGS="-g -O2"
   5103   else
   5104     CFLAGS="-g"
   5105   fi
   5106 else
   5107   if test "$GCC" = yes; then
   5108     CFLAGS="-O2"
   5109   else
   5110     CFLAGS=
   5111   fi
   5112 fi
   5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   5114 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   5115 if ${ac_cv_prog_cc_c89+:} false; then :
   5116   $as_echo_n "(cached) " >&6
   5117 else
   5118   ac_cv_prog_cc_c89=no
   5119 ac_save_CC=$CC
   5120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5121 /* end confdefs.h.  */
   5122 #include <stdarg.h>
   5123 #include <stdio.h>
   5124 struct stat;
   5125 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   5126 struct buf { int x; };
   5127 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   5128 static char *e (p, i)
   5129      char **p;
   5130      int i;
   5131 {
   5132   return p[i];
   5133 }
   5134 static char *f (char * (*g) (char **, int), char **p, ...)
   5135 {
   5136   char *s;
   5137   va_list v;
   5138   va_start (v,p);
   5139   s = g (p, va_arg (v,int));
   5140   va_end (v);
   5141   return s;
   5142 }
   5143 
   5144 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   5145    function prototypes and stuff, but not '\xHH' hex character constants.
   5146    These don't provoke an error unfortunately, instead are silently treated
   5147    as 'x'.  The following induces an error, until -std is added to get
   5148    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   5149    array size at least.  It's necessary to write '\x00'==0 to get something
   5150    that's true only with -std.  */
   5151 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   5152 
   5153 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   5154    inside strings and character constants.  */
   5155 #define FOO(x) 'x'
   5156 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   5157 
   5158 int test (int i, double x);
   5159 struct s1 {int (*f) (int a);};
   5160 struct s2 {int (*f) (double a);};
   5161 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5162 int argc;
   5163 char **argv;
   5164 int
   5165 main ()
   5166 {
   5167 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5168   ;
   5169   return 0;
   5170 }
   5171 _ACEOF
   5172 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   5173 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5174 do
   5175   CC="$ac_save_CC $ac_arg"
   5176   if ac_fn_c_try_compile "$LINENO"; then :
   5177   ac_cv_prog_cc_c89=$ac_arg
   5178 fi
   5179 rm -f core conftest.err conftest.$ac_objext
   5180   test "x$ac_cv_prog_cc_c89" != "xno" && break
   5181 done
   5182 rm -f conftest.$ac_ext
   5183 CC=$ac_save_CC
   5184 
   5185 fi
   5186 # AC_CACHE_VAL
   5187 case "x$ac_cv_prog_cc_c89" in
   5188   x)
   5189     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   5190 $as_echo "none needed" >&6; } ;;
   5191   xno)
   5192     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   5193 $as_echo "unsupported" >&6; } ;;
   5194   *)
   5195     CC="$CC $ac_cv_prog_cc_c89"
   5196     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   5197 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   5198 esac
   5199 if test "x$ac_cv_prog_cc_c89" != xno; then :
   5200 
   5201 fi
   5202 
   5203 ac_ext=c
   5204 ac_cpp='$CPP $CPPFLAGS'
   5205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   5215 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   5216 if ${am_cv_prog_cc_c_o+:} false; then :
   5217   $as_echo_n "(cached) " >&6
   5218 else
   5219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5220 /* end confdefs.h.  */
   5221 
   5222 int
   5223 main ()
   5224 {
   5225 
   5226   ;
   5227   return 0;
   5228 }
   5229 _ACEOF
   5230   # Make sure it works both with $CC and with simple cc.
   5231   # Following AC_PROG_CC_C_O, we do the test twice because some
   5232   # compilers refuse to overwrite an existing .o file with -o,
   5233   # though they will create one.
   5234   am_cv_prog_cc_c_o=yes
   5235   for am_i in 1 2; do
   5236     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   5237    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   5238    ac_status=$?
   5239    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5240    (exit $ac_status); } \
   5241          && test -f conftest2.$ac_objext; then
   5242       : OK
   5243     else
   5244       am_cv_prog_cc_c_o=no
   5245       break
   5246     fi
   5247   done
   5248   rm -f core conftest*
   5249   unset am_i
   5250 fi
   5251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   5252 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   5253 if test "$am_cv_prog_cc_c_o" != yes; then
   5254    # Losing compiler, so override with the script.
   5255    # FIXME: It is wrong to rewrite CC.
   5256    # But if we don't then we get into trouble of one sort or another.
   5257    # A longer-term fix would be to have automake use am__CC in this case,
   5258    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   5259    CC="$am_aux_dir/compile $CC"
   5260 fi
   5261 ac_ext=c
   5262 ac_cpp='$CPP $CPPFLAGS'
   5263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5266 
   5267 
   5268 depcc="$CC"   am_compiler_list=
   5269 
   5270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5271 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5272 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   5273   $as_echo_n "(cached) " >&6
   5274 else
   5275   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5276   # We make a subdir and do the tests there.  Otherwise we can end up
   5277   # making bogus files that we don't know about and never remove.  For
   5278   # instance it was reported that on HP-UX the gcc test will end up
   5279   # making a dummy file named 'D' -- because '-MD' means "put the output
   5280   # in D".
   5281   rm -rf conftest.dir
   5282   mkdir conftest.dir
   5283   # Copy depcomp to subdir because otherwise we won't find it if we're
   5284   # using a relative directory.
   5285   cp "$am_depcomp" conftest.dir
   5286   cd conftest.dir
   5287   # We will build objects and dependencies in a subdirectory because
   5288   # it helps to detect inapplicable dependency modes.  For instance
   5289   # both Tru64's cc and ICC support -MD to output dependencies as a
   5290   # side effect of compilation, but ICC will put the dependencies in
   5291   # the current directory while Tru64 will put them in the object
   5292   # directory.
   5293   mkdir sub
   5294 
   5295   am_cv_CC_dependencies_compiler_type=none
   5296   if test "$am_compiler_list" = ""; then
   5297      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5298   fi
   5299   am__universal=false
   5300   case " $depcc " in #(
   5301      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5302      esac
   5303 
   5304   for depmode in $am_compiler_list; do
   5305     # Setup a source with many dependencies, because some compilers
   5306     # like to wrap large dependency lists on column 80 (with \), and
   5307     # we should not choose a depcomp mode which is confused by this.
   5308     #
   5309     # We need to recreate these files for each test, as the compiler may
   5310     # overwrite some of them when testing with obscure command lines.
   5311     # This happens at least with the AIX C compiler.
   5312     : > sub/conftest.c
   5313     for i in 1 2 3 4 5 6; do
   5314       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5315       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5316       # Solaris 10 /bin/sh.
   5317       echo '/* dummy */' > sub/conftst$i.h
   5318     done
   5319     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5320 
   5321     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5322     # mode.  It turns out that the SunPro C++ compiler does not properly
   5323     # handle '-M -o', and we need to detect this.  Also, some Intel
   5324     # versions had trouble with output in subdirs.
   5325     am__obj=sub/conftest.${OBJEXT-o}
   5326     am__minus_obj="-o $am__obj"
   5327     case $depmode in
   5328     gcc)
   5329       # This depmode causes a compiler race in universal mode.
   5330       test "$am__universal" = false || continue
   5331       ;;
   5332     nosideeffect)
   5333       # After this tag, mechanisms are not by side-effect, so they'll
   5334       # only be used when explicitly requested.
   5335       if test "x$enable_dependency_tracking" = xyes; then
   5336 	continue
   5337       else
   5338 	break
   5339       fi
   5340       ;;
   5341     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5342       # This compiler won't grok '-c -o', but also, the minuso test has
   5343       # not run yet.  These depmodes are late enough in the game, and
   5344       # so weak that their functioning should not be impacted.
   5345       am__obj=conftest.${OBJEXT-o}
   5346       am__minus_obj=
   5347       ;;
   5348     none) break ;;
   5349     esac
   5350     if depmode=$depmode \
   5351        source=sub/conftest.c object=$am__obj \
   5352        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5353        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5354          >/dev/null 2>conftest.err &&
   5355        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5356        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5357        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5358        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5359       # icc doesn't choke on unknown options, it will just issue warnings
   5360       # or remarks (even with -Werror).  So we grep stderr for any message
   5361       # that says an option was ignored or not supported.
   5362       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5363       #   icc: Command line warning: ignoring option '-M'; no argument required
   5364       # The diagnosis changed in icc 8.0:
   5365       #   icc: Command line remark: option '-MP' not supported
   5366       if (grep 'ignoring option' conftest.err ||
   5367           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5368         am_cv_CC_dependencies_compiler_type=$depmode
   5369         break
   5370       fi
   5371     fi
   5372   done
   5373 
   5374   cd ..
   5375   rm -rf conftest.dir
   5376 else
   5377   am_cv_CC_dependencies_compiler_type=none
   5378 fi
   5379 
   5380 fi
   5381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   5382 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   5383 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5384 
   5385  if
   5386   test "x$enable_dependency_tracking" != xno \
   5387   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5388   am__fastdepCC_TRUE=
   5389   am__fastdepCC_FALSE='#'
   5390 else
   5391   am__fastdepCC_TRUE='#'
   5392   am__fastdepCC_FALSE=
   5393 fi
   5394 
   5395 
   5396 ac_ext=cpp
   5397 ac_cpp='$CXXCPP $CPPFLAGS'
   5398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   5401 if test -z "$CXX"; then
   5402   if test -n "$CCC"; then
   5403     CXX=$CCC
   5404   else
   5405     if test -n "$ac_tool_prefix"; then
   5406   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5407   do
   5408     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5409 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5411 $as_echo_n "checking for $ac_word... " >&6; }
   5412 if ${ac_cv_prog_CXX+:} false; then :
   5413   $as_echo_n "(cached) " >&6
   5414 else
   5415   if test -n "$CXX"; then
   5416   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   5417 else
   5418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5419 for as_dir in $PATH
   5420 do
   5421   IFS=$as_save_IFS
   5422   test -z "$as_dir" && as_dir=.
   5423     for ac_exec_ext in '' $ac_executable_extensions; do
   5424   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5425     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   5426     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5427     break 2
   5428   fi
   5429 done
   5430   done
   5431 IFS=$as_save_IFS
   5432 
   5433 fi
   5434 fi
   5435 CXX=$ac_cv_prog_CXX
   5436 if test -n "$CXX"; then
   5437   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   5438 $as_echo "$CXX" >&6; }
   5439 else
   5440   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5441 $as_echo "no" >&6; }
   5442 fi
   5443 
   5444 
   5445     test -n "$CXX" && break
   5446   done
   5447 fi
   5448 if test -z "$CXX"; then
   5449   ac_ct_CXX=$CXX
   5450   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   5451 do
   5452   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5453 set dummy $ac_prog; ac_word=$2
   5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5455 $as_echo_n "checking for $ac_word... " >&6; }
   5456 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   5457   $as_echo_n "(cached) " >&6
   5458 else
   5459   if test -n "$ac_ct_CXX"; then
   5460   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   5461 else
   5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5463 for as_dir in $PATH
   5464 do
   5465   IFS=$as_save_IFS
   5466   test -z "$as_dir" && as_dir=.
   5467     for ac_exec_ext in '' $ac_executable_extensions; do
   5468   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5469     ac_cv_prog_ac_ct_CXX="$ac_prog"
   5470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5471     break 2
   5472   fi
   5473 done
   5474   done
   5475 IFS=$as_save_IFS
   5476 
   5477 fi
   5478 fi
   5479 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   5480 if test -n "$ac_ct_CXX"; then
   5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   5482 $as_echo "$ac_ct_CXX" >&6; }
   5483 else
   5484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5485 $as_echo "no" >&6; }
   5486 fi
   5487 
   5488 
   5489   test -n "$ac_ct_CXX" && break
   5490 done
   5491 
   5492   if test "x$ac_ct_CXX" = x; then
   5493     CXX="g++"
   5494   else
   5495     case $cross_compiling:$ac_tool_warned in
   5496 yes:)
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5498 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5499 ac_tool_warned=yes ;;
   5500 esac
   5501     CXX=$ac_ct_CXX
   5502   fi
   5503 fi
   5504 
   5505   fi
   5506 fi
   5507 # Provide some information about the compiler.
   5508 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   5509 set X $ac_compile
   5510 ac_compiler=$2
   5511 for ac_option in --version -v -V -qversion; do
   5512   { { ac_try="$ac_compiler $ac_option >&5"
   5513 case "(($ac_try" in
   5514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   5515   *) ac_try_echo=$ac_try;;
   5516 esac
   5517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   5518 $as_echo "$ac_try_echo"; } >&5
   5519   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   5520   ac_status=$?
   5521   if test -s conftest.err; then
   5522     sed '10a\
   5523 ... rest of stderr output deleted ...
   5524          10q' conftest.err >conftest.er1
   5525     cat conftest.er1 >&5
   5526   fi
   5527   rm -f conftest.er1 conftest.err
   5528   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5529   test $ac_status = 0; }
   5530 done
   5531 
   5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   5533 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   5534 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   5535   $as_echo_n "(cached) " >&6
   5536 else
   5537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5538 /* end confdefs.h.  */
   5539 
   5540 int
   5541 main ()
   5542 {
   5543 #ifndef __GNUC__
   5544        choke me
   5545 #endif
   5546 
   5547   ;
   5548   return 0;
   5549 }
   5550 _ACEOF
   5551 if ac_fn_cxx_try_compile "$LINENO"; then :
   5552   ac_compiler_gnu=yes
   5553 else
   5554   ac_compiler_gnu=no
   5555 fi
   5556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5557 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   5558 
   5559 fi
   5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   5561 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   5562 if test $ac_compiler_gnu = yes; then
   5563   GXX=yes
   5564 else
   5565   GXX=
   5566 fi
   5567 ac_test_CXXFLAGS=${CXXFLAGS+set}
   5568 ac_save_CXXFLAGS=$CXXFLAGS
   5569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   5570 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   5571 if ${ac_cv_prog_cxx_g+:} false; then :
   5572   $as_echo_n "(cached) " >&6
   5573 else
   5574   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   5575    ac_cxx_werror_flag=yes
   5576    ac_cv_prog_cxx_g=no
   5577    CXXFLAGS="-g"
   5578    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5579 /* end confdefs.h.  */
   5580 
   5581 int
   5582 main ()
   5583 {
   5584 
   5585   ;
   5586   return 0;
   5587 }
   5588 _ACEOF
   5589 if ac_fn_cxx_try_compile "$LINENO"; then :
   5590   ac_cv_prog_cxx_g=yes
   5591 else
   5592   CXXFLAGS=""
   5593       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5594 /* end confdefs.h.  */
   5595 
   5596 int
   5597 main ()
   5598 {
   5599 
   5600   ;
   5601   return 0;
   5602 }
   5603 _ACEOF
   5604 if ac_fn_cxx_try_compile "$LINENO"; then :
   5605 
   5606 else
   5607   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5608 	 CXXFLAGS="-g"
   5609 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5610 /* end confdefs.h.  */
   5611 
   5612 int
   5613 main ()
   5614 {
   5615 
   5616   ;
   5617   return 0;
   5618 }
   5619 _ACEOF
   5620 if ac_fn_cxx_try_compile "$LINENO"; then :
   5621   ac_cv_prog_cxx_g=yes
   5622 fi
   5623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5624 fi
   5625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5626 fi
   5627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5628    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   5629 fi
   5630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   5631 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   5632 if test "$ac_test_CXXFLAGS" = set; then
   5633   CXXFLAGS=$ac_save_CXXFLAGS
   5634 elif test $ac_cv_prog_cxx_g = yes; then
   5635   if test "$GXX" = yes; then
   5636     CXXFLAGS="-g -O2"
   5637   else
   5638     CXXFLAGS="-g"
   5639   fi
   5640 else
   5641   if test "$GXX" = yes; then
   5642     CXXFLAGS="-O2"
   5643   else
   5644     CXXFLAGS=
   5645   fi
   5646 fi
   5647 ac_ext=c
   5648 ac_cpp='$CPP $CPPFLAGS'
   5649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5652 
   5653 depcc="$CXX"  am_compiler_list=
   5654 
   5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   5656 $as_echo_n "checking dependency style of $depcc... " >&6; }
   5657 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   5658   $as_echo_n "(cached) " >&6
   5659 else
   5660   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5661   # We make a subdir and do the tests there.  Otherwise we can end up
   5662   # making bogus files that we don't know about and never remove.  For
   5663   # instance it was reported that on HP-UX the gcc test will end up
   5664   # making a dummy file named 'D' -- because '-MD' means "put the output
   5665   # in D".
   5666   rm -rf conftest.dir
   5667   mkdir conftest.dir
   5668   # Copy depcomp to subdir because otherwise we won't find it if we're
   5669   # using a relative directory.
   5670   cp "$am_depcomp" conftest.dir
   5671   cd conftest.dir
   5672   # We will build objects and dependencies in a subdirectory because
   5673   # it helps to detect inapplicable dependency modes.  For instance
   5674   # both Tru64's cc and ICC support -MD to output dependencies as a
   5675   # side effect of compilation, but ICC will put the dependencies in
   5676   # the current directory while Tru64 will put them in the object
   5677   # directory.
   5678   mkdir sub
   5679 
   5680   am_cv_CXX_dependencies_compiler_type=none
   5681   if test "$am_compiler_list" = ""; then
   5682      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5683   fi
   5684   am__universal=false
   5685   case " $depcc " in #(
   5686      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   5687      esac
   5688 
   5689   for depmode in $am_compiler_list; do
   5690     # Setup a source with many dependencies, because some compilers
   5691     # like to wrap large dependency lists on column 80 (with \), and
   5692     # we should not choose a depcomp mode which is confused by this.
   5693     #
   5694     # We need to recreate these files for each test, as the compiler may
   5695     # overwrite some of them when testing with obscure command lines.
   5696     # This happens at least with the AIX C compiler.
   5697     : > sub/conftest.c
   5698     for i in 1 2 3 4 5 6; do
   5699       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5700       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   5701       # Solaris 10 /bin/sh.
   5702       echo '/* dummy */' > sub/conftst$i.h
   5703     done
   5704     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5705 
   5706     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   5707     # mode.  It turns out that the SunPro C++ compiler does not properly
   5708     # handle '-M -o', and we need to detect this.  Also, some Intel
   5709     # versions had trouble with output in subdirs.
   5710     am__obj=sub/conftest.${OBJEXT-o}
   5711     am__minus_obj="-o $am__obj"
   5712     case $depmode in
   5713     gcc)
   5714       # This depmode causes a compiler race in universal mode.
   5715       test "$am__universal" = false || continue
   5716       ;;
   5717     nosideeffect)
   5718       # After this tag, mechanisms are not by side-effect, so they'll
   5719       # only be used when explicitly requested.
   5720       if test "x$enable_dependency_tracking" = xyes; then
   5721 	continue
   5722       else
   5723 	break
   5724       fi
   5725       ;;
   5726     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   5727       # This compiler won't grok '-c -o', but also, the minuso test has
   5728       # not run yet.  These depmodes are late enough in the game, and
   5729       # so weak that their functioning should not be impacted.
   5730       am__obj=conftest.${OBJEXT-o}
   5731       am__minus_obj=
   5732       ;;
   5733     none) break ;;
   5734     esac
   5735     if depmode=$depmode \
   5736        source=sub/conftest.c object=$am__obj \
   5737        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5738        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   5739          >/dev/null 2>conftest.err &&
   5740        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   5741        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5742        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   5743        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5744       # icc doesn't choke on unknown options, it will just issue warnings
   5745       # or remarks (even with -Werror).  So we grep stderr for any message
   5746       # that says an option was ignored or not supported.
   5747       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5748       #   icc: Command line warning: ignoring option '-M'; no argument required
   5749       # The diagnosis changed in icc 8.0:
   5750       #   icc: Command line remark: option '-MP' not supported
   5751       if (grep 'ignoring option' conftest.err ||
   5752           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5753         am_cv_CXX_dependencies_compiler_type=$depmode
   5754         break
   5755       fi
   5756     fi
   5757   done
   5758 
   5759   cd ..
   5760   rm -rf conftest.dir
   5761 else
   5762   am_cv_CXX_dependencies_compiler_type=none
   5763 fi
   5764 
   5765 fi
   5766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   5767 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   5768 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   5769 
   5770  if
   5771   test "x$enable_dependency_tracking" != xno \
   5772   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   5773   am__fastdepCXX_TRUE=
   5774   am__fastdepCXX_FALSE='#'
   5775 else
   5776   am__fastdepCXX_TRUE='#'
   5777   am__fastdepCXX_FALSE=
   5778 fi
   5779 
   5780 
   5781 
   5782 if test -n "$ac_tool_prefix"; then
   5783   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5784 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5786 $as_echo_n "checking for $ac_word... " >&6; }
   5787 if ${ac_cv_prog_RANLIB+:} false; then :
   5788   $as_echo_n "(cached) " >&6
   5789 else
   5790   if test -n "$RANLIB"; then
   5791   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5792 else
   5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5794 for as_dir in $PATH
   5795 do
   5796   IFS=$as_save_IFS
   5797   test -z "$as_dir" && as_dir=.
   5798     for ac_exec_ext in '' $ac_executable_extensions; do
   5799   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5800     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5802     break 2
   5803   fi
   5804 done
   5805   done
   5806 IFS=$as_save_IFS
   5807 
   5808 fi
   5809 fi
   5810 RANLIB=$ac_cv_prog_RANLIB
   5811 if test -n "$RANLIB"; then
   5812   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5813 $as_echo "$RANLIB" >&6; }
   5814 else
   5815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5816 $as_echo "no" >&6; }
   5817 fi
   5818 
   5819 
   5820 fi
   5821 if test -z "$ac_cv_prog_RANLIB"; then
   5822   ac_ct_RANLIB=$RANLIB
   5823   # Extract the first word of "ranlib", so it can be a program name with args.
   5824 set dummy ranlib; ac_word=$2
   5825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5826 $as_echo_n "checking for $ac_word... " >&6; }
   5827 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5828   $as_echo_n "(cached) " >&6
   5829 else
   5830   if test -n "$ac_ct_RANLIB"; then
   5831   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5832 else
   5833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5834 for as_dir in $PATH
   5835 do
   5836   IFS=$as_save_IFS
   5837   test -z "$as_dir" && as_dir=.
   5838     for ac_exec_ext in '' $ac_executable_extensions; do
   5839   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5840     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5841     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5842     break 2
   5843   fi
   5844 done
   5845   done
   5846 IFS=$as_save_IFS
   5847 
   5848 fi
   5849 fi
   5850 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5851 if test -n "$ac_ct_RANLIB"; then
   5852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5853 $as_echo "$ac_ct_RANLIB" >&6; }
   5854 else
   5855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5856 $as_echo "no" >&6; }
   5857 fi
   5858 
   5859   if test "x$ac_ct_RANLIB" = x; then
   5860     RANLIB=":"
   5861   else
   5862     case $cross_compiling:$ac_tool_warned in
   5863 yes:)
   5864 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5865 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5866 ac_tool_warned=yes ;;
   5867 esac
   5868     RANLIB=$ac_ct_RANLIB
   5869   fi
   5870 else
   5871   RANLIB="$ac_cv_prog_RANLIB"
   5872 fi
   5873 
   5874 if test -n "$ac_tool_prefix"; then
   5875   for ac_prog in ar lib "link -lib"
   5876   do
   5877     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5878 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5880 $as_echo_n "checking for $ac_word... " >&6; }
   5881 if ${ac_cv_prog_AR+:} false; then :
   5882   $as_echo_n "(cached) " >&6
   5883 else
   5884   if test -n "$AR"; then
   5885   ac_cv_prog_AR="$AR" # Let the user override the test.
   5886 else
   5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5888 for as_dir in $PATH
   5889 do
   5890   IFS=$as_save_IFS
   5891   test -z "$as_dir" && as_dir=.
   5892     for ac_exec_ext in '' $ac_executable_extensions; do
   5893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5894     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5896     break 2
   5897   fi
   5898 done
   5899   done
   5900 IFS=$as_save_IFS
   5901 
   5902 fi
   5903 fi
   5904 AR=$ac_cv_prog_AR
   5905 if test -n "$AR"; then
   5906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5907 $as_echo "$AR" >&6; }
   5908 else
   5909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5910 $as_echo "no" >&6; }
   5911 fi
   5912 
   5913 
   5914     test -n "$AR" && break
   5915   done
   5916 fi
   5917 if test -z "$AR"; then
   5918   ac_ct_AR=$AR
   5919   for ac_prog in ar lib "link -lib"
   5920 do
   5921   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5922 set dummy $ac_prog; ac_word=$2
   5923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5924 $as_echo_n "checking for $ac_word... " >&6; }
   5925 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5926   $as_echo_n "(cached) " >&6
   5927 else
   5928   if test -n "$ac_ct_AR"; then
   5929   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5930 else
   5931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5932 for as_dir in $PATH
   5933 do
   5934   IFS=$as_save_IFS
   5935   test -z "$as_dir" && as_dir=.
   5936     for ac_exec_ext in '' $ac_executable_extensions; do
   5937   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5938     ac_cv_prog_ac_ct_AR="$ac_prog"
   5939     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5940     break 2
   5941   fi
   5942 done
   5943   done
   5944 IFS=$as_save_IFS
   5945 
   5946 fi
   5947 fi
   5948 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5949 if test -n "$ac_ct_AR"; then
   5950   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5951 $as_echo "$ac_ct_AR" >&6; }
   5952 else
   5953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5954 $as_echo "no" >&6; }
   5955 fi
   5956 
   5957 
   5958   test -n "$ac_ct_AR" && break
   5959 done
   5960 
   5961   if test "x$ac_ct_AR" = x; then
   5962     AR="false"
   5963   else
   5964     case $cross_compiling:$ac_tool_warned in
   5965 yes:)
   5966 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5967 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5968 ac_tool_warned=yes ;;
   5969 esac
   5970     AR=$ac_ct_AR
   5971   fi
   5972 fi
   5973 
   5974 : ${AR=ar}
   5975 
   5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
   5977 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
   5978 if ${am_cv_ar_interface+:} false; then :
   5979   $as_echo_n "(cached) " >&6
   5980 else
   5981   ac_ext=c
   5982 ac_cpp='$CPP $CPPFLAGS'
   5983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5986 
   5987    am_cv_ar_interface=ar
   5988    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5989 /* end confdefs.h.  */
   5990 int some_variable = 0;
   5991 _ACEOF
   5992 if ac_fn_c_try_compile "$LINENO"; then :
   5993   am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
   5994       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   5995   (eval $am_ar_try) 2>&5
   5996   ac_status=$?
   5997   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5998   test $ac_status = 0; }
   5999       if test "$ac_status" -eq 0; then
   6000         am_cv_ar_interface=ar
   6001       else
   6002         am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
   6003         { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
   6004   (eval $am_ar_try) 2>&5
   6005   ac_status=$?
   6006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6007   test $ac_status = 0; }
   6008         if test "$ac_status" -eq 0; then
   6009           am_cv_ar_interface=lib
   6010         else
   6011           am_cv_ar_interface=unknown
   6012         fi
   6013       fi
   6014       rm -f conftest.lib libconftest.a
   6015 
   6016 fi
   6017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6018    ac_ext=c
   6019 ac_cpp='$CPP $CPPFLAGS'
   6020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6023 
   6024 fi
   6025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
   6026 $as_echo "$am_cv_ar_interface" >&6; }
   6027 
   6028 case $am_cv_ar_interface in
   6029 ar)
   6030   ;;
   6031 lib)
   6032   # Microsoft lib, so override with the ar-lib wrapper script.
   6033   # FIXME: It is wrong to rewrite AR.
   6034   # But if we don't then we get into trouble of one sort or another.
   6035   # A longer-term fix would be to have automake use am__AR in this case,
   6036   # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
   6037   # similar.
   6038   AR="$am_aux_dir/ar-lib $AR"
   6039   ;;
   6040 unknown)
   6041   as_fn_error $? "could not determine $AR interface" "$LINENO" 5
   6042   ;;
   6043 esac
   6044 
   6045 
   6046   for ac_prog in bison
   6047 do
   6048   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6049 set dummy $ac_prog; ac_word=$2
   6050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6051 $as_echo_n "checking for $ac_word... " >&6; }
   6052 if ${ac_cv_prog_BISON+:} false; then :
   6053   $as_echo_n "(cached) " >&6
   6054 else
   6055   if test -n "$BISON"; then
   6056   ac_cv_prog_BISON="$BISON" # Let the user override the test.
   6057 else
   6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6059 for as_dir in $PATH
   6060 do
   6061   IFS=$as_save_IFS
   6062   test -z "$as_dir" && as_dir=.
   6063     for ac_exec_ext in '' $ac_executable_extensions; do
   6064   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6065     ac_cv_prog_BISON="$ac_prog"
   6066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6067     break 2
   6068   fi
   6069 done
   6070   done
   6071 IFS=$as_save_IFS
   6072 
   6073 fi
   6074 fi
   6075 BISON=$ac_cv_prog_BISON
   6076 if test -n "$BISON"; then
   6077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
   6078 $as_echo "$BISON" >&6; }
   6079 else
   6080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6081 $as_echo "no" >&6; }
   6082 fi
   6083 
   6084 
   6085   test -n "$BISON" && break
   6086 done
   6087 
   6088   if test -z "$BISON"; then
   6089     ac_verc_fail=yes
   6090   else
   6091     cat >conftest.y <<_ACEOF
   6092 %require "3.0.4"
   6093 %%
   6094 exp:
   6095 _ACEOF
   6096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bison 3.0.4 or newer" >&5
   6097 $as_echo_n "checking for bison 3.0.4 or newer... " >&6; }
   6098     ac_prog_version=`$BISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
   6099     : ${ac_prog_version:='v. ?.??'}
   6100     if $BISON conftest.y -o conftest.c 2>/dev/null; then
   6101       ac_prog_version="$ac_prog_version, ok"
   6102       ac_verc_fail=no
   6103     else
   6104       ac_prog_version="$ac_prog_version, bad"
   6105       ac_verc_fail=yes
   6106     fi
   6107     rm -f conftest.y conftest.c
   6108     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_prog_version" >&5
   6109 $as_echo "$ac_prog_version" >&6; }
   6110   fi
   6111   if test $ac_verc_fail = yes; then
   6112     BISON=:
   6113   fi
   6114 
   6115 
   6116 
   6117 # Check whether --enable-shared was given.
   6118 if test "${enable_shared+set}" = set; then :
   6119   enableval=$enable_shared; p=${PACKAGE-default}
   6120     case $enableval in
   6121     yes) enable_shared=yes ;;
   6122     no) enable_shared=no ;;
   6123     *)
   6124       enable_shared=no
   6125       # Look at the argument we got.  We use all the common list separators.
   6126       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   6127       for pkg in $enableval; do
   6128 	IFS="$lt_save_ifs"
   6129 	if test "X$pkg" = "X$p"; then
   6130 	  enable_shared=yes
   6131 	fi
   6132       done
   6133       IFS="$lt_save_ifs"
   6134       ;;
   6135     esac
   6136 else
   6137   enable_shared=no
   6138 fi
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 case `pwd` in
   6149   *\ * | *\	*)
   6150     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   6151 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   6152 esac
   6153 
   6154 
   6155 
   6156 macro_version='2.2.7a'
   6157 macro_revision='1.3134'
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 ltmain="$ac_aux_dir/ltmain.sh"
   6172 
   6173 # Backslashify metacharacters that are still active within
   6174 # double-quoted strings.
   6175 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6176 
   6177 # Same as above, but do not quote variable references.
   6178 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6179 
   6180 # Sed substitution to delay expansion of an escaped shell variable in a
   6181 # double_quote_subst'ed string.
   6182 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6183 
   6184 # Sed substitution to delay expansion of an escaped single quote.
   6185 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6186 
   6187 # Sed substitution to avoid accidental globbing in evaled expressions
   6188 no_glob_subst='s/\*/\\\*/g'
   6189 
   6190 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   6191 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   6192 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   6193 
   6194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   6195 $as_echo_n "checking how to print strings... " >&6; }
   6196 # Test print first, because it will be a builtin if present.
   6197 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   6198    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   6199   ECHO='print -r --'
   6200 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   6201   ECHO='printf %s\n'
   6202 else
   6203   # Use this function as a fallback that always works.
   6204   func_fallback_echo ()
   6205   {
   6206     eval 'cat <<_LTECHO_EOF
   6207 $1
   6208 _LTECHO_EOF'
   6209   }
   6210   ECHO='func_fallback_echo'
   6211 fi
   6212 
   6213 # func_echo_all arg...
   6214 # Invoke $ECHO with all args, space-separated.
   6215 func_echo_all ()
   6216 {
   6217     $ECHO ""
   6218 }
   6219 
   6220 case "$ECHO" in
   6221   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   6222 $as_echo "printf" >&6; } ;;
   6223   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   6224 $as_echo "print -r" >&6; } ;;
   6225   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   6226 $as_echo "cat" >&6; } ;;
   6227 esac
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   6243 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   6244 if ${ac_cv_path_SED+:} false; then :
   6245   $as_echo_n "(cached) " >&6
   6246 else
   6247             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   6248      for ac_i in 1 2 3 4 5 6 7; do
   6249        ac_script="$ac_script$as_nl$ac_script"
   6250      done
   6251      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   6252      { ac_script=; unset ac_script;}
   6253      if test -z "$SED"; then
   6254   ac_path_SED_found=false
   6255   # Loop through the user's path and test for each of PROGNAME-LIST
   6256   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6257 for as_dir in $PATH
   6258 do
   6259   IFS=$as_save_IFS
   6260   test -z "$as_dir" && as_dir=.
   6261     for ac_prog in sed gsed; do
   6262     for ac_exec_ext in '' $ac_executable_extensions; do
   6263       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   6264       as_fn_executable_p "$ac_path_SED" || continue
   6265 # Check for GNU ac_path_SED and select it if it is found.
   6266   # Check for GNU $ac_path_SED
   6267 case `"$ac_path_SED" --version 2>&1` in
   6268 *GNU*)
   6269   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   6270 *)
   6271   ac_count=0
   6272   $as_echo_n 0123456789 >"conftest.in"
   6273   while :
   6274   do
   6275     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6276     mv "conftest.tmp" "conftest.in"
   6277     cp "conftest.in" "conftest.nl"
   6278     $as_echo '' >> "conftest.nl"
   6279     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6280     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6281     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6282     if test $ac_count -gt ${ac_path_SED_max-0}; then
   6283       # Best one so far, save it but keep looking for a better one
   6284       ac_cv_path_SED="$ac_path_SED"
   6285       ac_path_SED_max=$ac_count
   6286     fi
   6287     # 10*(2^10) chars as input seems more than enough
   6288     test $ac_count -gt 10 && break
   6289   done
   6290   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6291 esac
   6292 
   6293       $ac_path_SED_found && break 3
   6294     done
   6295   done
   6296   done
   6297 IFS=$as_save_IFS
   6298   if test -z "$ac_cv_path_SED"; then
   6299     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   6300   fi
   6301 else
   6302   ac_cv_path_SED=$SED
   6303 fi
   6304 
   6305 fi
   6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   6307 $as_echo "$ac_cv_path_SED" >&6; }
   6308  SED="$ac_cv_path_SED"
   6309   rm -f conftest.sed
   6310 
   6311 test -z "$SED" && SED=sed
   6312 Xsed="$SED -e 1s/^X//"
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   6325 $as_echo_n "checking for fgrep... " >&6; }
   6326 if ${ac_cv_path_FGREP+:} false; then :
   6327   $as_echo_n "(cached) " >&6
   6328 else
   6329   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   6330    then ac_cv_path_FGREP="$GREP -F"
   6331    else
   6332      if test -z "$FGREP"; then
   6333   ac_path_FGREP_found=false
   6334   # Loop through the user's path and test for each of PROGNAME-LIST
   6335   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6336 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   6337 do
   6338   IFS=$as_save_IFS
   6339   test -z "$as_dir" && as_dir=.
   6340     for ac_prog in fgrep; do
   6341     for ac_exec_ext in '' $ac_executable_extensions; do
   6342       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   6343       as_fn_executable_p "$ac_path_FGREP" || continue
   6344 # Check for GNU ac_path_FGREP and select it if it is found.
   6345   # Check for GNU $ac_path_FGREP
   6346 case `"$ac_path_FGREP" --version 2>&1` in
   6347 *GNU*)
   6348   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   6349 *)
   6350   ac_count=0
   6351   $as_echo_n 0123456789 >"conftest.in"
   6352   while :
   6353   do
   6354     cat "conftest.in" "conftest.in" >"conftest.tmp"
   6355     mv "conftest.tmp" "conftest.in"
   6356     cp "conftest.in" "conftest.nl"
   6357     $as_echo 'FGREP' >> "conftest.nl"
   6358     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   6359     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   6360     as_fn_arith $ac_count + 1 && ac_count=$as_val
   6361     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   6362       # Best one so far, save it but keep looking for a better one
   6363       ac_cv_path_FGREP="$ac_path_FGREP"
   6364       ac_path_FGREP_max=$ac_count
   6365     fi
   6366     # 10*(2^10) chars as input seems more than enough
   6367     test $ac_count -gt 10 && break
   6368   done
   6369   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   6370 esac
   6371 
   6372       $ac_path_FGREP_found && break 3
   6373     done
   6374   done
   6375   done
   6376 IFS=$as_save_IFS
   6377   if test -z "$ac_cv_path_FGREP"; then
   6378     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   6379   fi
   6380 else
   6381   ac_cv_path_FGREP=$FGREP
   6382 fi
   6383 
   6384    fi
   6385 fi
   6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   6387 $as_echo "$ac_cv_path_FGREP" >&6; }
   6388  FGREP="$ac_cv_path_FGREP"
   6389 
   6390 
   6391 test -z "$GREP" && GREP=grep
   6392 
   6393 
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 # Check whether --with-gnu-ld was given.
   6412 if test "${with_gnu_ld+set}" = set; then :
   6413   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   6414 else
   6415   with_gnu_ld=no
   6416 fi
   6417 
   6418 ac_prog=ld
   6419 if test "$GCC" = yes; then
   6420   # Check if gcc -print-prog-name=ld gives a path.
   6421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   6422 $as_echo_n "checking for ld used by $CC... " >&6; }
   6423   case $host in
   6424   *-*-mingw*)
   6425     # gcc leaves a trailing carriage return which upsets mingw
   6426     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   6427   *)
   6428     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   6429   esac
   6430   case $ac_prog in
   6431     # Accept absolute paths.
   6432     [\\/]* | ?:[\\/]*)
   6433       re_direlt='/[^/][^/]*/\.\./'
   6434       # Canonicalize the pathname of ld
   6435       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   6436       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   6437 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   6438       done
   6439       test -z "$LD" && LD="$ac_prog"
   6440       ;;
   6441   "")
   6442     # If it fails, then pretend we aren't using GCC.
   6443     ac_prog=ld
   6444     ;;
   6445   *)
   6446     # If it is relative, then search for the first ld in PATH.
   6447     with_gnu_ld=unknown
   6448     ;;
   6449   esac
   6450 elif test "$with_gnu_ld" = yes; then
   6451   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   6452 $as_echo_n "checking for GNU ld... " >&6; }
   6453 else
   6454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   6455 $as_echo_n "checking for non-GNU ld... " >&6; }
   6456 fi
   6457 if ${lt_cv_path_LD+:} false; then :
   6458   $as_echo_n "(cached) " >&6
   6459 else
   6460   if test -z "$LD"; then
   6461   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6462   for ac_dir in $PATH; do
   6463     IFS="$lt_save_ifs"
   6464     test -z "$ac_dir" && ac_dir=.
   6465     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   6466       lt_cv_path_LD="$ac_dir/$ac_prog"
   6467       # Check to see if the program is GNU ld.  I'd rather use --version,
   6468       # but apparently some variants of GNU ld only accept -v.
   6469       # Break only if it was the GNU/non-GNU ld that we prefer.
   6470       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   6471       *GNU* | *'with BFD'*)
   6472 	test "$with_gnu_ld" != no && break
   6473 	;;
   6474       *)
   6475 	test "$with_gnu_ld" != yes && break
   6476 	;;
   6477       esac
   6478     fi
   6479   done
   6480   IFS="$lt_save_ifs"
   6481 else
   6482   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   6483 fi
   6484 fi
   6485 
   6486 LD="$lt_cv_path_LD"
   6487 if test -n "$LD"; then
   6488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   6489 $as_echo "$LD" >&6; }
   6490 else
   6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6492 $as_echo "no" >&6; }
   6493 fi
   6494 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   6496 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   6497 if ${lt_cv_prog_gnu_ld+:} false; then :
   6498   $as_echo_n "(cached) " >&6
   6499 else
   6500   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   6501 case `$LD -v 2>&1 </dev/null` in
   6502 *GNU* | *'with BFD'*)
   6503   lt_cv_prog_gnu_ld=yes
   6504   ;;
   6505 *)
   6506   lt_cv_prog_gnu_ld=no
   6507   ;;
   6508 esac
   6509 fi
   6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   6511 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   6512 with_gnu_ld=$lt_cv_prog_gnu_ld
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   6523 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   6524 if ${lt_cv_path_NM+:} false; then :
   6525   $as_echo_n "(cached) " >&6
   6526 else
   6527   if test -n "$NM"; then
   6528    # Let the user override the nm to test.
   6529    lt_nm_to_check="$NM"
   6530  else
   6531    lt_nm_to_check="${ac_tool_prefix}nm"
   6532    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   6533      lt_nm_to_check="$lt_nm_to_check nm"
   6534    fi
   6535  fi
   6536  for lt_tmp_nm in "$lt_nm_to_check"; do
   6537    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   6538    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   6539      IFS="$lt_save_ifs"
   6540      test -z "$ac_dir" && ac_dir=.
   6541      # Strip out any user-provided options from the nm to test twice,
   6542      # the first time to test to see if nm (rather than its options) has
   6543      # an explicit path, the second time to yield a file which can be
   6544      # nm'ed itself.
   6545      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   6546      case "$tmp_nm_path" in
   6547      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   6548      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   6549      esac
   6550      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   6551      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   6552        # Check to see if the nm accepts a BSD-compat flag.
   6553        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   6554        #   nm: unknown option "B" ignored
   6555        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6556        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   6557 	 break
   6558 	 ;;
   6559        *)
   6560 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   6561 	 *$tmp_nm*)
   6562 	   lt_cv_path_NM="$tmp_nm -p"
   6563 	   break
   6564 	   ;;
   6565 	 *)
   6566 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   6567 	   continue # so that we can try to find one that supports BSD flags
   6568 	   ;;
   6569 	 esac
   6570 	 ;;
   6571        esac
   6572      fi
   6573    done
   6574    IFS="$lt_save_ifs"
   6575  done
   6576  : ${lt_cv_path_NM=no}
   6577 fi
   6578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   6579 $as_echo "$lt_cv_path_NM" >&6; }
   6580 if test "$lt_cv_path_NM" != "no"; then
   6581   NM="$lt_cv_path_NM"
   6582 else
   6583   # Didn't find any BSD compatible name lister, look for dumpbin.
   6584   if test -n "$DUMPBIN"; then :
   6585     # Let the user override the test.
   6586   else
   6587     if test -n "$ac_tool_prefix"; then
   6588   for ac_prog in dumpbin "link -dump"
   6589   do
   6590     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6593 $as_echo_n "checking for $ac_word... " >&6; }
   6594 if ${ac_cv_prog_DUMPBIN+:} false; then :
   6595   $as_echo_n "(cached) " >&6
   6596 else
   6597   if test -n "$DUMPBIN"; then
   6598   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   6599 else
   6600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6601 for as_dir in $PATH
   6602 do
   6603   IFS=$as_save_IFS
   6604   test -z "$as_dir" && as_dir=.
   6605     for ac_exec_ext in '' $ac_executable_extensions; do
   6606   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6607     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   6608     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6609     break 2
   6610   fi
   6611 done
   6612   done
   6613 IFS=$as_save_IFS
   6614 
   6615 fi
   6616 fi
   6617 DUMPBIN=$ac_cv_prog_DUMPBIN
   6618 if test -n "$DUMPBIN"; then
   6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   6620 $as_echo "$DUMPBIN" >&6; }
   6621 else
   6622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6623 $as_echo "no" >&6; }
   6624 fi
   6625 
   6626 
   6627     test -n "$DUMPBIN" && break
   6628   done
   6629 fi
   6630 if test -z "$DUMPBIN"; then
   6631   ac_ct_DUMPBIN=$DUMPBIN
   6632   for ac_prog in dumpbin "link -dump"
   6633 do
   6634   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6635 set dummy $ac_prog; ac_word=$2
   6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6637 $as_echo_n "checking for $ac_word... " >&6; }
   6638 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   6639   $as_echo_n "(cached) " >&6
   6640 else
   6641   if test -n "$ac_ct_DUMPBIN"; then
   6642   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   6643 else
   6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6645 for as_dir in $PATH
   6646 do
   6647   IFS=$as_save_IFS
   6648   test -z "$as_dir" && as_dir=.
   6649     for ac_exec_ext in '' $ac_executable_extensions; do
   6650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6651     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   6652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6653     break 2
   6654   fi
   6655 done
   6656   done
   6657 IFS=$as_save_IFS
   6658 
   6659 fi
   6660 fi
   6661 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   6662 if test -n "$ac_ct_DUMPBIN"; then
   6663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   6664 $as_echo "$ac_ct_DUMPBIN" >&6; }
   6665 else
   6666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6667 $as_echo "no" >&6; }
   6668 fi
   6669 
   6670 
   6671   test -n "$ac_ct_DUMPBIN" && break
   6672 done
   6673 
   6674   if test "x$ac_ct_DUMPBIN" = x; then
   6675     DUMPBIN=":"
   6676   else
   6677     case $cross_compiling:$ac_tool_warned in
   6678 yes:)
   6679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6681 ac_tool_warned=yes ;;
   6682 esac
   6683     DUMPBIN=$ac_ct_DUMPBIN
   6684   fi
   6685 fi
   6686 
   6687     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   6688     *COFF*)
   6689       DUMPBIN="$DUMPBIN -symbols"
   6690       ;;
   6691     *)
   6692       DUMPBIN=:
   6693       ;;
   6694     esac
   6695   fi
   6696 
   6697   if test "$DUMPBIN" != ":"; then
   6698     NM="$DUMPBIN"
   6699   fi
   6700 fi
   6701 test -z "$NM" && NM=nm
   6702 
   6703 
   6704 
   6705 
   6706 
   6707 
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   6709 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   6710 if ${lt_cv_nm_interface+:} false; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   lt_cv_nm_interface="BSD nm"
   6714   echo "int some_variable = 0;" > conftest.$ac_ext
   6715   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   6716   (eval "$ac_compile" 2>conftest.err)
   6717   cat conftest.err >&5
   6718   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   6719   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   6720   cat conftest.err >&5
   6721   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   6722   cat conftest.out >&5
   6723   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   6724     lt_cv_nm_interface="MS dumpbin"
   6725   fi
   6726   rm -f conftest*
   6727 fi
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   6729 $as_echo "$lt_cv_nm_interface" >&6; }
   6730 
   6731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   6732 $as_echo_n "checking whether ln -s works... " >&6; }
   6733 LN_S=$as_ln_s
   6734 if test "$LN_S" = "ln -s"; then
   6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   6736 $as_echo "yes" >&6; }
   6737 else
   6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   6739 $as_echo "no, using $LN_S" >&6; }
   6740 fi
   6741 
   6742 # find the maximum length of command line arguments
   6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   6744 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   6745 if ${lt_cv_sys_max_cmd_len+:} false; then :
   6746   $as_echo_n "(cached) " >&6
   6747 else
   6748     i=0
   6749   teststring="ABCD"
   6750 
   6751   case $build_os in
   6752   msdosdjgpp*)
   6753     # On DJGPP, this test can blow up pretty badly due to problems in libc
   6754     # (any single argument exceeding 2000 bytes causes a buffer overrun
   6755     # during glob expansion).  Even if it were fixed, the result of this
   6756     # check would be larger than it should be.
   6757     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6758     ;;
   6759 
   6760   gnu*)
   6761     # Under GNU Hurd, this test is not required because there is
   6762     # no limit to the length of command line arguments.
   6763     # Libtool will interpret -1 as no limit whatsoever
   6764     lt_cv_sys_max_cmd_len=-1;
   6765     ;;
   6766 
   6767   cygwin* | mingw* | cegcc*)
   6768     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6769     # about 5 minutes as the teststring grows exponentially.
   6770     # Worse, since 9x/ME are not pre-emptively multitasking,
   6771     # you end up with a "frozen" computer, even though with patience
   6772     # the test eventually succeeds (with a max line length of 256k).
   6773     # Instead, let's just punt: use the minimum linelength reported by
   6774     # all of the supported platforms: 8192 (on NT/2K/XP).
   6775     lt_cv_sys_max_cmd_len=8192;
   6776     ;;
   6777 
   6778   mint*)
   6779     # On MiNT this can take a long time and run out of memory.
   6780     lt_cv_sys_max_cmd_len=8192;
   6781     ;;
   6782 
   6783   amigaos*)
   6784     # On AmigaOS with pdksh, this test takes hours, literally.
   6785     # So we just punt and use a minimum line length of 8192.
   6786     lt_cv_sys_max_cmd_len=8192;
   6787     ;;
   6788 
   6789   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6790     # This has been around since 386BSD, at least.  Likely further.
   6791     if test -x /sbin/sysctl; then
   6792       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6793     elif test -x /usr/sbin/sysctl; then
   6794       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6795     else
   6796       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6797     fi
   6798     # And add a safety zone
   6799     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6800     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6801     ;;
   6802 
   6803   interix*)
   6804     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6805     lt_cv_sys_max_cmd_len=196608
   6806     ;;
   6807 
   6808   osf*)
   6809     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6810     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6811     # nice to cause kernel panics so lets avoid the loop below.
   6812     # First set a reasonable default.
   6813     lt_cv_sys_max_cmd_len=16384
   6814     #
   6815     if test -x /sbin/sysconfig; then
   6816       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6817         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6818       esac
   6819     fi
   6820     ;;
   6821   sco3.2v5*)
   6822     lt_cv_sys_max_cmd_len=102400
   6823     ;;
   6824   sysv5* | sco5v6* | sysv4.2uw2*)
   6825     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6826     if test -n "$kargmax"; then
   6827       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6828     else
   6829       lt_cv_sys_max_cmd_len=32768
   6830     fi
   6831     ;;
   6832   *)
   6833     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6834     if test -n "$lt_cv_sys_max_cmd_len"; then
   6835       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6836       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6837     else
   6838       # Make teststring a little bigger before we do anything with it.
   6839       # a 1K string should be a reasonable start.
   6840       for i in 1 2 3 4 5 6 7 8 ; do
   6841         teststring=$teststring$teststring
   6842       done
   6843       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6844       # If test is not a shell built-in, we'll probably end up computing a
   6845       # maximum length that is only half of the actual maximum length, but
   6846       # we can't tell.
   6847       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6848 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6849 	      test $i != 17 # 1/2 MB should be enough
   6850       do
   6851         i=`expr $i + 1`
   6852         teststring=$teststring$teststring
   6853       done
   6854       # Only check the string length outside the loop.
   6855       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6856       teststring=
   6857       # Add a significant safety factor because C++ compilers can tack on
   6858       # massive amounts of additional arguments before passing them to the
   6859       # linker.  It appears as though 1/2 is a usable value.
   6860       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6861     fi
   6862     ;;
   6863   esac
   6864 
   6865 fi
   6866 
   6867 if test -n $lt_cv_sys_max_cmd_len ; then
   6868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6869 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6870 else
   6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6872 $as_echo "none" >&6; }
   6873 fi
   6874 max_cmd_len=$lt_cv_sys_max_cmd_len
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 : ${CP="cp -f"}
   6882 : ${MV="mv -f"}
   6883 : ${RM="rm -f"}
   6884 
   6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6886 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6887 # Try some XSI features
   6888 xsi_shell=no
   6889 ( _lt_dummy="a/b/c"
   6890   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6891       = c,a/b,, \
   6892     && eval 'test $(( 1 + 1 )) -eq 2 \
   6893     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6894   && xsi_shell=yes
   6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6896 $as_echo "$xsi_shell" >&6; }
   6897 
   6898 
   6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6900 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6901 lt_shell_append=no
   6902 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6903     >/dev/null 2>&1 \
   6904   && lt_shell_append=yes
   6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6906 $as_echo "$lt_shell_append" >&6; }
   6907 
   6908 
   6909 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6910   lt_unset=unset
   6911 else
   6912   lt_unset=false
   6913 fi
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 # test EBCDIC or ASCII
   6920 case `echo X|tr X '\101'` in
   6921  A) # ASCII based system
   6922     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6923   lt_SP2NL='tr \040 \012'
   6924   lt_NL2SP='tr \015\012 \040\040'
   6925   ;;
   6926  *) # EBCDIC based system
   6927   lt_SP2NL='tr \100 \n'
   6928   lt_NL2SP='tr \r\n \100\100'
   6929   ;;
   6930 esac
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6941 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6942 if ${lt_cv_ld_reload_flag+:} false; then :
   6943   $as_echo_n "(cached) " >&6
   6944 else
   6945   lt_cv_ld_reload_flag='-r'
   6946 fi
   6947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6948 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6949 reload_flag=$lt_cv_ld_reload_flag
   6950 case $reload_flag in
   6951 "" | " "*) ;;
   6952 *) reload_flag=" $reload_flag" ;;
   6953 esac
   6954 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6955 case $host_os in
   6956   darwin*)
   6957     if test "$GCC" = yes; then
   6958       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6959     else
   6960       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6961     fi
   6962     ;;
   6963 esac
   6964 
   6965 
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 if test -n "$ac_tool_prefix"; then
   6974   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6975 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6977 $as_echo_n "checking for $ac_word... " >&6; }
   6978 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6979   $as_echo_n "(cached) " >&6
   6980 else
   6981   if test -n "$OBJDUMP"; then
   6982   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6983 else
   6984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6985 for as_dir in $PATH
   6986 do
   6987   IFS=$as_save_IFS
   6988   test -z "$as_dir" && as_dir=.
   6989     for ac_exec_ext in '' $ac_executable_extensions; do
   6990   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6991     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6992     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6993     break 2
   6994   fi
   6995 done
   6996   done
   6997 IFS=$as_save_IFS
   6998 
   6999 fi
   7000 fi
   7001 OBJDUMP=$ac_cv_prog_OBJDUMP
   7002 if test -n "$OBJDUMP"; then
   7003   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   7004 $as_echo "$OBJDUMP" >&6; }
   7005 else
   7006   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7007 $as_echo "no" >&6; }
   7008 fi
   7009 
   7010 
   7011 fi
   7012 if test -z "$ac_cv_prog_OBJDUMP"; then
   7013   ac_ct_OBJDUMP=$OBJDUMP
   7014   # Extract the first word of "objdump", so it can be a program name with args.
   7015 set dummy objdump; ac_word=$2
   7016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7017 $as_echo_n "checking for $ac_word... " >&6; }
   7018 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   7019   $as_echo_n "(cached) " >&6
   7020 else
   7021   if test -n "$ac_ct_OBJDUMP"; then
   7022   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   7023 else
   7024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7025 for as_dir in $PATH
   7026 do
   7027   IFS=$as_save_IFS
   7028   test -z "$as_dir" && as_dir=.
   7029     for ac_exec_ext in '' $ac_executable_extensions; do
   7030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7031     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   7032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7033     break 2
   7034   fi
   7035 done
   7036   done
   7037 IFS=$as_save_IFS
   7038 
   7039 fi
   7040 fi
   7041 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   7042 if test -n "$ac_ct_OBJDUMP"; then
   7043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   7044 $as_echo "$ac_ct_OBJDUMP" >&6; }
   7045 else
   7046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7047 $as_echo "no" >&6; }
   7048 fi
   7049 
   7050   if test "x$ac_ct_OBJDUMP" = x; then
   7051     OBJDUMP="false"
   7052   else
   7053     case $cross_compiling:$ac_tool_warned in
   7054 yes:)
   7055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7056 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7057 ac_tool_warned=yes ;;
   7058 esac
   7059     OBJDUMP=$ac_ct_OBJDUMP
   7060   fi
   7061 else
   7062   OBJDUMP="$ac_cv_prog_OBJDUMP"
   7063 fi
   7064 
   7065 test -z "$OBJDUMP" && OBJDUMP=objdump
   7066 
   7067 
   7068 
   7069 
   7070 
   7071 
   7072 
   7073 
   7074 
   7075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   7076 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   7077 if ${lt_cv_deplibs_check_method+:} false; then :
   7078   $as_echo_n "(cached) " >&6
   7079 else
   7080   lt_cv_file_magic_cmd='$MAGIC_CMD'
   7081 lt_cv_file_magic_test_file=
   7082 lt_cv_deplibs_check_method='unknown'
   7083 # Need to set the preceding variable on all platforms that support
   7084 # interlibrary dependencies.
   7085 # 'none' -- dependencies not supported.
   7086 # `unknown' -- same as none, but documents that we really don't know.
   7087 # 'pass_all' -- all dependencies passed with no checks.
   7088 # 'test_compile' -- check by making test program.
   7089 # 'file_magic [[regex]]' -- check by looking for files in library path
   7090 # which responds to the $file_magic_cmd with a given extended regex.
   7091 # If you have `file' or equivalent on your system and you're not sure
   7092 # whether `pass_all' will *always* work, you probably want this one.
   7093 
   7094 case $host_os in
   7095 aix[4-9]*)
   7096   lt_cv_deplibs_check_method=pass_all
   7097   ;;
   7098 
   7099 beos*)
   7100   lt_cv_deplibs_check_method=pass_all
   7101   ;;
   7102 
   7103 bsdi[45]*)
   7104   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   7105   lt_cv_file_magic_cmd='/usr/bin/file -L'
   7106   lt_cv_file_magic_test_file=/shlib/libc.so
   7107   ;;
   7108 
   7109 cygwin*)
   7110   # func_win32_libid is a shell function defined in ltmain.sh
   7111   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7112   lt_cv_file_magic_cmd='func_win32_libid'
   7113   ;;
   7114 
   7115 mingw* | pw32*)
   7116   # Base MSYS/MinGW do not provide the 'file' command needed by
   7117   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   7118   # unless we find 'file', for example because we are cross-compiling.
   7119   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   7120   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   7121     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   7122     lt_cv_file_magic_cmd='func_win32_libid'
   7123   else
   7124     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   7125     lt_cv_file_magic_cmd='$OBJDUMP -f'
   7126   fi
   7127   ;;
   7128 
   7129 cegcc*)
   7130   # use the weaker test based on 'objdump'. See mingw*.
   7131   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   7132   lt_cv_file_magic_cmd='$OBJDUMP -f'
   7133   ;;
   7134 
   7135 darwin* | rhapsody*)
   7136   lt_cv_deplibs_check_method=pass_all
   7137   ;;
   7138 
   7139 freebsd* | dragonfly*)
   7140   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7141     case $host_cpu in
   7142     i*86 )
   7143       # Not sure whether the presence of OpenBSD here was a mistake.
   7144       # Let's accept both of them until this is cleared up.
   7145       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   7146       lt_cv_file_magic_cmd=/usr/bin/file
   7147       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   7148       ;;
   7149     esac
   7150   else
   7151     lt_cv_deplibs_check_method=pass_all
   7152   fi
   7153   ;;
   7154 
   7155 gnu*)
   7156   lt_cv_deplibs_check_method=pass_all
   7157   ;;
   7158 
   7159 haiku*)
   7160   lt_cv_deplibs_check_method=pass_all
   7161   ;;
   7162 
   7163 hpux10.20* | hpux11*)
   7164   lt_cv_file_magic_cmd=/usr/bin/file
   7165   case $host_cpu in
   7166   ia64*)
   7167     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   7168     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   7169     ;;
   7170   hppa*64*)
   7171     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]'
   7172     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   7173     ;;
   7174   *)
   7175     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   7176     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   7177     ;;
   7178   esac
   7179   ;;
   7180 
   7181 interix[3-9]*)
   7182   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   7183   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   7184   ;;
   7185 
   7186 irix5* | irix6* | nonstopux*)
   7187   case $LD in
   7188   *-32|*"-32 ") libmagic=32-bit;;
   7189   *-n32|*"-n32 ") libmagic=N32;;
   7190   *-64|*"-64 ") libmagic=64-bit;;
   7191   *) libmagic=never-match;;
   7192   esac
   7193   lt_cv_deplibs_check_method=pass_all
   7194   ;;
   7195 
   7196 # This must be Linux ELF.
   7197 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   7198   lt_cv_deplibs_check_method=pass_all
   7199   ;;
   7200 
   7201 netbsd*)
   7202   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   7203     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7204   else
   7205     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   7206   fi
   7207   ;;
   7208 
   7209 newos6*)
   7210   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   7211   lt_cv_file_magic_cmd=/usr/bin/file
   7212   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   7213   ;;
   7214 
   7215 *nto* | *qnx*)
   7216   lt_cv_deplibs_check_method=pass_all
   7217   ;;
   7218 
   7219 openbsd*)
   7220   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   7221     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   7222   else
   7223     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   7224   fi
   7225   ;;
   7226 
   7227 osf3* | osf4* | osf5*)
   7228   lt_cv_deplibs_check_method=pass_all
   7229   ;;
   7230 
   7231 rdos*)
   7232   lt_cv_deplibs_check_method=pass_all
   7233   ;;
   7234 
   7235 solaris*)
   7236   lt_cv_deplibs_check_method=pass_all
   7237   ;;
   7238 
   7239 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   7240   lt_cv_deplibs_check_method=pass_all
   7241   ;;
   7242 
   7243 sysv4 | sysv4.3*)
   7244   case $host_vendor in
   7245   motorola)
   7246     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]'
   7247     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   7248     ;;
   7249   ncr)
   7250     lt_cv_deplibs_check_method=pass_all
   7251     ;;
   7252   sequent)
   7253     lt_cv_file_magic_cmd='/bin/file'
   7254     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   7255     ;;
   7256   sni)
   7257     lt_cv_file_magic_cmd='/bin/file'
   7258     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   7259     lt_cv_file_magic_test_file=/lib/libc.so
   7260     ;;
   7261   siemens)
   7262     lt_cv_deplibs_check_method=pass_all
   7263     ;;
   7264   pc)
   7265     lt_cv_deplibs_check_method=pass_all
   7266     ;;
   7267   esac
   7268   ;;
   7269 
   7270 tpf*)
   7271   lt_cv_deplibs_check_method=pass_all
   7272   ;;
   7273 vxworks*)
   7274   # Assume VxWorks cross toolchains are built on Linux, possibly
   7275   # as canadian for Windows hosts.
   7276   lt_cv_deplibs_check_method=pass_all
   7277   ;;
   7278 esac
   7279 
   7280 fi
   7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   7282 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   7283 file_magic_cmd=$lt_cv_file_magic_cmd
   7284 deplibs_check_method=$lt_cv_deplibs_check_method
   7285 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 
   7297 
   7298 plugin_option=
   7299 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   7300 for plugin in $plugin_names; do
   7301   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   7302   if test x$plugin_so = x$plugin; then
   7303     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   7304   fi
   7305   if test x$plugin_so != x$plugin; then
   7306     plugin_option="--plugin $plugin_so"
   7307     break
   7308   fi
   7309 done
   7310 
   7311 if test -n "$ac_tool_prefix"; then
   7312   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   7313 set dummy ${ac_tool_prefix}ar; ac_word=$2
   7314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7315 $as_echo_n "checking for $ac_word... " >&6; }
   7316 if ${ac_cv_prog_AR+:} false; then :
   7317   $as_echo_n "(cached) " >&6
   7318 else
   7319   if test -n "$AR"; then
   7320   ac_cv_prog_AR="$AR" # Let the user override the test.
   7321 else
   7322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7323 for as_dir in $PATH
   7324 do
   7325   IFS=$as_save_IFS
   7326   test -z "$as_dir" && as_dir=.
   7327     for ac_exec_ext in '' $ac_executable_extensions; do
   7328   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7329     ac_cv_prog_AR="${ac_tool_prefix}ar"
   7330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7331     break 2
   7332   fi
   7333 done
   7334   done
   7335 IFS=$as_save_IFS
   7336 
   7337 fi
   7338 fi
   7339 AR=$ac_cv_prog_AR
   7340 if test -n "$AR"; then
   7341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   7342 $as_echo "$AR" >&6; }
   7343 else
   7344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7345 $as_echo "no" >&6; }
   7346 fi
   7347 
   7348 
   7349 fi
   7350 if test -z "$ac_cv_prog_AR"; then
   7351   ac_ct_AR=$AR
   7352   # Extract the first word of "ar", so it can be a program name with args.
   7353 set dummy ar; ac_word=$2
   7354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7355 $as_echo_n "checking for $ac_word... " >&6; }
   7356 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   7357   $as_echo_n "(cached) " >&6
   7358 else
   7359   if test -n "$ac_ct_AR"; then
   7360   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   7361 else
   7362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7363 for as_dir in $PATH
   7364 do
   7365   IFS=$as_save_IFS
   7366   test -z "$as_dir" && as_dir=.
   7367     for ac_exec_ext in '' $ac_executable_extensions; do
   7368   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7369     ac_cv_prog_ac_ct_AR="ar"
   7370     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7371     break 2
   7372   fi
   7373 done
   7374   done
   7375 IFS=$as_save_IFS
   7376 
   7377 fi
   7378 fi
   7379 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   7380 if test -n "$ac_ct_AR"; then
   7381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   7382 $as_echo "$ac_ct_AR" >&6; }
   7383 else
   7384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7385 $as_echo "no" >&6; }
   7386 fi
   7387 
   7388   if test "x$ac_ct_AR" = x; then
   7389     AR="false"
   7390   else
   7391     case $cross_compiling:$ac_tool_warned in
   7392 yes:)
   7393 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7394 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7395 ac_tool_warned=yes ;;
   7396 esac
   7397     AR=$ac_ct_AR
   7398   fi
   7399 else
   7400   AR="$ac_cv_prog_AR"
   7401 fi
   7402 
   7403 test -z "$AR" && AR=ar
   7404 if test -n "$plugin_option"; then
   7405   if $AR --help 2>&1 | grep -q "\--plugin"; then
   7406     touch conftest.c
   7407     $AR $plugin_option rc conftest.a conftest.c
   7408     if test "$?" != 0; then
   7409       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   7410 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   7411     else
   7412       AR="$AR $plugin_option"
   7413     fi
   7414     rm -f conftest.*
   7415   fi
   7416 fi
   7417 test -z "$AR_FLAGS" && AR_FLAGS=cru
   7418 
   7419 
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 if test -n "$ac_tool_prefix"; then
   7430   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   7431 set dummy ${ac_tool_prefix}strip; ac_word=$2
   7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7433 $as_echo_n "checking for $ac_word... " >&6; }
   7434 if ${ac_cv_prog_STRIP+:} false; then :
   7435   $as_echo_n "(cached) " >&6
   7436 else
   7437   if test -n "$STRIP"; then
   7438   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   7439 else
   7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7441 for as_dir in $PATH
   7442 do
   7443   IFS=$as_save_IFS
   7444   test -z "$as_dir" && as_dir=.
   7445     for ac_exec_ext in '' $ac_executable_extensions; do
   7446   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7447     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   7448     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7449     break 2
   7450   fi
   7451 done
   7452   done
   7453 IFS=$as_save_IFS
   7454 
   7455 fi
   7456 fi
   7457 STRIP=$ac_cv_prog_STRIP
   7458 if test -n "$STRIP"; then
   7459   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   7460 $as_echo "$STRIP" >&6; }
   7461 else
   7462   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7463 $as_echo "no" >&6; }
   7464 fi
   7465 
   7466 
   7467 fi
   7468 if test -z "$ac_cv_prog_STRIP"; then
   7469   ac_ct_STRIP=$STRIP
   7470   # Extract the first word of "strip", so it can be a program name with args.
   7471 set dummy strip; ac_word=$2
   7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7473 $as_echo_n "checking for $ac_word... " >&6; }
   7474 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   7475   $as_echo_n "(cached) " >&6
   7476 else
   7477   if test -n "$ac_ct_STRIP"; then
   7478   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   7479 else
   7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7481 for as_dir in $PATH
   7482 do
   7483   IFS=$as_save_IFS
   7484   test -z "$as_dir" && as_dir=.
   7485     for ac_exec_ext in '' $ac_executable_extensions; do
   7486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7487     ac_cv_prog_ac_ct_STRIP="strip"
   7488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7489     break 2
   7490   fi
   7491 done
   7492   done
   7493 IFS=$as_save_IFS
   7494 
   7495 fi
   7496 fi
   7497 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   7498 if test -n "$ac_ct_STRIP"; then
   7499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   7500 $as_echo "$ac_ct_STRIP" >&6; }
   7501 else
   7502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7503 $as_echo "no" >&6; }
   7504 fi
   7505 
   7506   if test "x$ac_ct_STRIP" = x; then
   7507     STRIP=":"
   7508   else
   7509     case $cross_compiling:$ac_tool_warned in
   7510 yes:)
   7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7513 ac_tool_warned=yes ;;
   7514 esac
   7515     STRIP=$ac_ct_STRIP
   7516   fi
   7517 else
   7518   STRIP="$ac_cv_prog_STRIP"
   7519 fi
   7520 
   7521 test -z "$STRIP" && STRIP=:
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 if test -n "$ac_tool_prefix"; then
   7529   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   7530 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7532 $as_echo_n "checking for $ac_word... " >&6; }
   7533 if ${ac_cv_prog_RANLIB+:} false; then :
   7534   $as_echo_n "(cached) " >&6
   7535 else
   7536   if test -n "$RANLIB"; then
   7537   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   7538 else
   7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7540 for as_dir in $PATH
   7541 do
   7542   IFS=$as_save_IFS
   7543   test -z "$as_dir" && as_dir=.
   7544     for ac_exec_ext in '' $ac_executable_extensions; do
   7545   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7546     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   7547     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7548     break 2
   7549   fi
   7550 done
   7551   done
   7552 IFS=$as_save_IFS
   7553 
   7554 fi
   7555 fi
   7556 RANLIB=$ac_cv_prog_RANLIB
   7557 if test -n "$RANLIB"; then
   7558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   7559 $as_echo "$RANLIB" >&6; }
   7560 else
   7561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7562 $as_echo "no" >&6; }
   7563 fi
   7564 
   7565 
   7566 fi
   7567 if test -z "$ac_cv_prog_RANLIB"; then
   7568   ac_ct_RANLIB=$RANLIB
   7569   # Extract the first word of "ranlib", so it can be a program name with args.
   7570 set dummy ranlib; ac_word=$2
   7571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7572 $as_echo_n "checking for $ac_word... " >&6; }
   7573 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   7574   $as_echo_n "(cached) " >&6
   7575 else
   7576   if test -n "$ac_ct_RANLIB"; then
   7577   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   7578 else
   7579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7580 for as_dir in $PATH
   7581 do
   7582   IFS=$as_save_IFS
   7583   test -z "$as_dir" && as_dir=.
   7584     for ac_exec_ext in '' $ac_executable_extensions; do
   7585   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7586     ac_cv_prog_ac_ct_RANLIB="ranlib"
   7587     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7588     break 2
   7589   fi
   7590 done
   7591   done
   7592 IFS=$as_save_IFS
   7593 
   7594 fi
   7595 fi
   7596 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   7597 if test -n "$ac_ct_RANLIB"; then
   7598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   7599 $as_echo "$ac_ct_RANLIB" >&6; }
   7600 else
   7601   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7602 $as_echo "no" >&6; }
   7603 fi
   7604 
   7605   if test "x$ac_ct_RANLIB" = x; then
   7606     RANLIB=":"
   7607   else
   7608     case $cross_compiling:$ac_tool_warned in
   7609 yes:)
   7610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7611 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7612 ac_tool_warned=yes ;;
   7613 esac
   7614     RANLIB=$ac_ct_RANLIB
   7615   fi
   7616 else
   7617   RANLIB="$ac_cv_prog_RANLIB"
   7618 fi
   7619 
   7620 test -z "$RANLIB" && RANLIB=:
   7621 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   7622   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   7623     RANLIB="$RANLIB $plugin_option"
   7624   fi
   7625 fi
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 # Determine commands to create old-style static archives.
   7633 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   7634 old_postinstall_cmds='chmod 644 $oldlib'
   7635 old_postuninstall_cmds=
   7636 
   7637 if test -n "$RANLIB"; then
   7638   case $host_os in
   7639   openbsd*)
   7640     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   7641     ;;
   7642   *)
   7643     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   7644     ;;
   7645   esac
   7646   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   7647 fi
   7648 
   7649 case $host_os in
   7650   darwin*)
   7651     lock_old_archive_extraction=yes ;;
   7652   *)
   7653     lock_old_archive_extraction=no ;;
   7654 esac
   7655 
   7656 
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 # If no C compiler was specified, use CC.
   7695 LTCC=${LTCC-"$CC"}
   7696 
   7697 # If no C compiler flags were specified, use CFLAGS.
   7698 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7699 
   7700 # Allow CC to be a program name with arguments.
   7701 compiler=$CC
   7702 
   7703 
   7704 # Check for command to grab the raw symbol name followed by C symbol from nm.
   7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   7706 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   7707 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   7708   $as_echo_n "(cached) " >&6
   7709 else
   7710 
   7711 # These are sane defaults that work on at least a few old systems.
   7712 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   7713 
   7714 # Character class describing NM global symbol codes.
   7715 symcode='[BCDEGRST]'
   7716 
   7717 # Regexp to match symbols that can be accessed directly from C.
   7718 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   7719 
   7720 # Define system-specific variables.
   7721 case $host_os in
   7722 aix*)
   7723   symcode='[BCDT]'
   7724   ;;
   7725 cygwin* | mingw* | pw32* | cegcc*)
   7726   symcode='[ABCDGISTW]'
   7727   ;;
   7728 hpux*)
   7729   if test "$host_cpu" = ia64; then
   7730     symcode='[ABCDEGRST]'
   7731   fi
   7732   ;;
   7733 irix* | nonstopux*)
   7734   symcode='[BCDEGRST]'
   7735   ;;
   7736 osf*)
   7737   symcode='[BCDEGQRST]'
   7738   ;;
   7739 solaris*)
   7740   symcode='[BCDRT]'
   7741   ;;
   7742 sco3.2v5*)
   7743   symcode='[DT]'
   7744   ;;
   7745 sysv4.2uw2*)
   7746   symcode='[DT]'
   7747   ;;
   7748 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   7749   symcode='[ABDT]'
   7750   ;;
   7751 sysv4)
   7752   symcode='[DFNSTU]'
   7753   ;;
   7754 esac
   7755 
   7756 # If we're using GNU nm, then use its standard symbol codes.
   7757 case `$NM -V 2>&1` in
   7758 *GNU* | *'with BFD'*)
   7759   symcode='[ABCDGIRSTW]' ;;
   7760 esac
   7761 
   7762 # Transform an extracted symbol line into a proper C declaration.
   7763 # Some systems (esp. on ia64) link data and code symbols differently,
   7764 # so use this general approach.
   7765 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7766 
   7767 # Transform an extracted symbol line into symbol name and symbol address
   7768 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7769 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'"
   7770 
   7771 # Handle CRLF in mingw tool chain
   7772 opt_cr=
   7773 case $build_os in
   7774 mingw*)
   7775   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7776   ;;
   7777 esac
   7778 
   7779 # Try without a prefix underscore, then with it.
   7780 for ac_symprfx in "" "_"; do
   7781 
   7782   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7783   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7784 
   7785   # Write the raw and C identifiers.
   7786   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7787     # Fake it for dumpbin and say T for any non-static function
   7788     # and D for any global variable.
   7789     # Also find C++ and __fastcall symbols from MSVC++,
   7790     # which start with @ or ?.
   7791     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7792 "     {last_section=section; section=\$ 3};"\
   7793 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7794 "     \$ 0!~/External *\|/{next};"\
   7795 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7796 "     {if(hide[section]) next};"\
   7797 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7798 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7799 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7800 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7801 "     ' prfx=^$ac_symprfx"
   7802   else
   7803     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7804   fi
   7805 
   7806   # Check to see that the pipe works correctly.
   7807   pipe_works=no
   7808 
   7809   rm -f conftest*
   7810   cat > conftest.$ac_ext <<_LT_EOF
   7811 #ifdef __cplusplus
   7812 extern "C" {
   7813 #endif
   7814 char nm_test_var;
   7815 void nm_test_func(void);
   7816 void nm_test_func(void){}
   7817 #ifdef __cplusplus
   7818 }
   7819 #endif
   7820 int main(){nm_test_var='a';nm_test_func();return(0);}
   7821 _LT_EOF
   7822 
   7823   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7824   (eval $ac_compile) 2>&5
   7825   ac_status=$?
   7826   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7827   test $ac_status = 0; }; then
   7828     # Now try to grab the symbols.
   7829     nlist=conftest.nm
   7830     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7831   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7832   ac_status=$?
   7833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7834   test $ac_status = 0; } && test -s "$nlist"; then
   7835       # Try sorting and uniquifying the output.
   7836       if sort "$nlist" | uniq > "$nlist"T; then
   7837 	mv -f "$nlist"T "$nlist"
   7838       else
   7839 	rm -f "$nlist"T
   7840       fi
   7841 
   7842       # Make sure that we snagged all the symbols we need.
   7843       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7844 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7845 	  cat <<_LT_EOF > conftest.$ac_ext
   7846 #ifdef __cplusplus
   7847 extern "C" {
   7848 #endif
   7849 
   7850 _LT_EOF
   7851 	  # Now generate the symbol file.
   7852 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7853 
   7854 	  cat <<_LT_EOF >> conftest.$ac_ext
   7855 
   7856 /* The mapping between symbol names and symbols.  */
   7857 const struct {
   7858   const char *name;
   7859   void       *address;
   7860 }
   7861 lt__PROGRAM__LTX_preloaded_symbols[] =
   7862 {
   7863   { "@PROGRAM@", (void *) 0 },
   7864 _LT_EOF
   7865 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7866 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7867   {0, (void *) 0}
   7868 };
   7869 
   7870 /* This works around a problem in FreeBSD linker */
   7871 #ifdef FREEBSD_WORKAROUND
   7872 static const void *lt_preloaded_setup() {
   7873   return lt__PROGRAM__LTX_preloaded_symbols;
   7874 }
   7875 #endif
   7876 
   7877 #ifdef __cplusplus
   7878 }
   7879 #endif
   7880 _LT_EOF
   7881 	  # Now try linking the two files.
   7882 	  mv conftest.$ac_objext conftstm.$ac_objext
   7883 	  lt_save_LIBS="$LIBS"
   7884 	  lt_save_CFLAGS="$CFLAGS"
   7885 	  LIBS="conftstm.$ac_objext"
   7886 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7887 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7888   (eval $ac_link) 2>&5
   7889   ac_status=$?
   7890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7891   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7892 	    pipe_works=yes
   7893 	  fi
   7894 	  LIBS="$lt_save_LIBS"
   7895 	  CFLAGS="$lt_save_CFLAGS"
   7896 	else
   7897 	  echo "cannot find nm_test_func in $nlist" >&5
   7898 	fi
   7899       else
   7900 	echo "cannot find nm_test_var in $nlist" >&5
   7901       fi
   7902     else
   7903       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7904     fi
   7905   else
   7906     echo "$progname: failed program was:" >&5
   7907     cat conftest.$ac_ext >&5
   7908   fi
   7909   rm -rf conftest* conftst*
   7910 
   7911   # Do not use the global_symbol_pipe unless it works.
   7912   if test "$pipe_works" = yes; then
   7913     break
   7914   else
   7915     lt_cv_sys_global_symbol_pipe=
   7916   fi
   7917 done
   7918 
   7919 fi
   7920 
   7921 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7922   lt_cv_sys_global_symbol_to_cdecl=
   7923 fi
   7924 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7925   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7926 $as_echo "failed" >&6; }
   7927 else
   7928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7929 $as_echo "ok" >&6; }
   7930 fi
   7931 
   7932 
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 # Check whether --enable-libtool-lock was given.
   7954 if test "${enable_libtool_lock+set}" = set; then :
   7955   enableval=$enable_libtool_lock;
   7956 fi
   7957 
   7958 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7959 
   7960 # Some flags need to be propagated to the compiler or linker for good
   7961 # libtool support.
   7962 case $host in
   7963 ia64-*-hpux*)
   7964   # Find out which ABI we are using.
   7965   echo 'int i;' > conftest.$ac_ext
   7966   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7967   (eval $ac_compile) 2>&5
   7968   ac_status=$?
   7969   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7970   test $ac_status = 0; }; then
   7971     case `/usr/bin/file conftest.$ac_objext` in
   7972       *ELF-32*)
   7973 	HPUX_IA64_MODE="32"
   7974 	;;
   7975       *ELF-64*)
   7976 	HPUX_IA64_MODE="64"
   7977 	;;
   7978     esac
   7979   fi
   7980   rm -rf conftest*
   7981   ;;
   7982 *-*-irix6*)
   7983   # Find out which ABI we are using.
   7984   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7985   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7986   (eval $ac_compile) 2>&5
   7987   ac_status=$?
   7988   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7989   test $ac_status = 0; }; then
   7990     if test "$lt_cv_prog_gnu_ld" = yes; then
   7991       case `/usr/bin/file conftest.$ac_objext` in
   7992 	*32-bit*)
   7993 	  LD="${LD-ld} -melf32bsmip"
   7994 	  ;;
   7995 	*N32*)
   7996 	  LD="${LD-ld} -melf32bmipn32"
   7997 	  ;;
   7998 	*64-bit*)
   7999 	  LD="${LD-ld} -melf64bmip"
   8000 	;;
   8001       esac
   8002     else
   8003       case `/usr/bin/file conftest.$ac_objext` in
   8004 	*32-bit*)
   8005 	  LD="${LD-ld} -32"
   8006 	  ;;
   8007 	*N32*)
   8008 	  LD="${LD-ld} -n32"
   8009 	  ;;
   8010 	*64-bit*)
   8011 	  LD="${LD-ld} -64"
   8012 	  ;;
   8013       esac
   8014     fi
   8015   fi
   8016   rm -rf conftest*
   8017   ;;
   8018 
   8019 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   8020 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   8021   # Find out which ABI we are using.
   8022   echo 'int i;' > conftest.$ac_ext
   8023   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8024   (eval $ac_compile) 2>&5
   8025   ac_status=$?
   8026   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8027   test $ac_status = 0; }; then
   8028     case `/usr/bin/file conftest.o` in
   8029       *32-bit*)
   8030 	case $host in
   8031 	  x86_64-*kfreebsd*-gnu)
   8032 	    LD="${LD-ld} -m elf_i386_fbsd"
   8033 	    ;;
   8034 	  x86_64-*linux*)
   8035 	    case `/usr/bin/file conftest.o` in
   8036 	      *x86-64*)
   8037 		LD="${LD-ld} -m elf32_x86_64"
   8038 		;;
   8039 	      *)
   8040 		LD="${LD-ld} -m elf_i386"
   8041 		;;
   8042 	    esac
   8043 	    ;;
   8044 	  powerpc64le-*linux*)
   8045 	    LD="${LD-ld} -m elf32lppclinux"
   8046 	    ;;
   8047 	  powerpc64-*linux*)
   8048 	    LD="${LD-ld} -m elf32ppclinux"
   8049 	    ;;
   8050 	  s390x-*linux*)
   8051 	    LD="${LD-ld} -m elf_s390"
   8052 	    ;;
   8053 	  sparc64-*linux*)
   8054 	    LD="${LD-ld} -m elf32_sparc"
   8055 	    ;;
   8056 	esac
   8057 	;;
   8058       *64-bit*)
   8059 	case $host in
   8060 	  x86_64-*kfreebsd*-gnu)
   8061 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   8062 	    ;;
   8063 	  x86_64-*linux*)
   8064 	    LD="${LD-ld} -m elf_x86_64"
   8065 	    ;;
   8066 	  powerpcle-*linux*)
   8067 	    LD="${LD-ld} -m elf64lppc"
   8068 	    ;;
   8069 	  powerpc-*linux*)
   8070 	    LD="${LD-ld} -m elf64ppc"
   8071 	    ;;
   8072 	  s390*-*linux*|s390*-*tpf*)
   8073 	    LD="${LD-ld} -m elf64_s390"
   8074 	    ;;
   8075 	  sparc*-*linux*)
   8076 	    LD="${LD-ld} -m elf64_sparc"
   8077 	    ;;
   8078 	esac
   8079 	;;
   8080     esac
   8081   fi
   8082   rm -rf conftest*
   8083   ;;
   8084 
   8085 *-*-sco3.2v5*)
   8086   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   8087   SAVE_CFLAGS="$CFLAGS"
   8088   CFLAGS="$CFLAGS -belf"
   8089   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   8090 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   8091 if ${lt_cv_cc_needs_belf+:} false; then :
   8092   $as_echo_n "(cached) " >&6
   8093 else
   8094   ac_ext=c
   8095 ac_cpp='$CPP $CPPFLAGS'
   8096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8099 
   8100      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8101 /* end confdefs.h.  */
   8102 
   8103 int
   8104 main ()
   8105 {
   8106 
   8107   ;
   8108   return 0;
   8109 }
   8110 _ACEOF
   8111 if ac_fn_c_try_link "$LINENO"; then :
   8112   lt_cv_cc_needs_belf=yes
   8113 else
   8114   lt_cv_cc_needs_belf=no
   8115 fi
   8116 rm -f core conftest.err conftest.$ac_objext \
   8117     conftest$ac_exeext conftest.$ac_ext
   8118      ac_ext=c
   8119 ac_cpp='$CPP $CPPFLAGS'
   8120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8123 
   8124 fi
   8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   8126 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   8127   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   8128     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   8129     CFLAGS="$SAVE_CFLAGS"
   8130   fi
   8131   ;;
   8132 sparc*-*solaris*)
   8133   # Find out which ABI we are using.
   8134   echo 'int i;' > conftest.$ac_ext
   8135   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   8136   (eval $ac_compile) 2>&5
   8137   ac_status=$?
   8138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   8139   test $ac_status = 0; }; then
   8140     case `/usr/bin/file conftest.o` in
   8141     *64-bit*)
   8142       case $lt_cv_prog_gnu_ld in
   8143       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   8144       *)
   8145 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   8146 	  LD="${LD-ld} -64"
   8147 	fi
   8148 	;;
   8149       esac
   8150       ;;
   8151     esac
   8152   fi
   8153   rm -rf conftest*
   8154   ;;
   8155 esac
   8156 
   8157 need_locks="$enable_libtool_lock"
   8158 
   8159 
   8160   case $host_os in
   8161     rhapsody* | darwin*)
   8162     if test -n "$ac_tool_prefix"; then
   8163   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   8164 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8166 $as_echo_n "checking for $ac_word... " >&6; }
   8167 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   8168   $as_echo_n "(cached) " >&6
   8169 else
   8170   if test -n "$DSYMUTIL"; then
   8171   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   8172 else
   8173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8174 for as_dir in $PATH
   8175 do
   8176   IFS=$as_save_IFS
   8177   test -z "$as_dir" && as_dir=.
   8178     for ac_exec_ext in '' $ac_executable_extensions; do
   8179   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8180     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   8181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8182     break 2
   8183   fi
   8184 done
   8185   done
   8186 IFS=$as_save_IFS
   8187 
   8188 fi
   8189 fi
   8190 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   8191 if test -n "$DSYMUTIL"; then
   8192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   8193 $as_echo "$DSYMUTIL" >&6; }
   8194 else
   8195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8196 $as_echo "no" >&6; }
   8197 fi
   8198 
   8199 
   8200 fi
   8201 if test -z "$ac_cv_prog_DSYMUTIL"; then
   8202   ac_ct_DSYMUTIL=$DSYMUTIL
   8203   # Extract the first word of "dsymutil", so it can be a program name with args.
   8204 set dummy dsymutil; ac_word=$2
   8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8206 $as_echo_n "checking for $ac_word... " >&6; }
   8207 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   8208   $as_echo_n "(cached) " >&6
   8209 else
   8210   if test -n "$ac_ct_DSYMUTIL"; then
   8211   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   8212 else
   8213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8214 for as_dir in $PATH
   8215 do
   8216   IFS=$as_save_IFS
   8217   test -z "$as_dir" && as_dir=.
   8218     for ac_exec_ext in '' $ac_executable_extensions; do
   8219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8220     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   8221     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8222     break 2
   8223   fi
   8224 done
   8225   done
   8226 IFS=$as_save_IFS
   8227 
   8228 fi
   8229 fi
   8230 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   8231 if test -n "$ac_ct_DSYMUTIL"; then
   8232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   8233 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   8234 else
   8235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8236 $as_echo "no" >&6; }
   8237 fi
   8238 
   8239   if test "x$ac_ct_DSYMUTIL" = x; then
   8240     DSYMUTIL=":"
   8241   else
   8242     case $cross_compiling:$ac_tool_warned in
   8243 yes:)
   8244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8245 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8246 ac_tool_warned=yes ;;
   8247 esac
   8248     DSYMUTIL=$ac_ct_DSYMUTIL
   8249   fi
   8250 else
   8251   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   8252 fi
   8253 
   8254     if test -n "$ac_tool_prefix"; then
   8255   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   8256 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8258 $as_echo_n "checking for $ac_word... " >&6; }
   8259 if ${ac_cv_prog_NMEDIT+:} false; then :
   8260   $as_echo_n "(cached) " >&6
   8261 else
   8262   if test -n "$NMEDIT"; then
   8263   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   8264 else
   8265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8266 for as_dir in $PATH
   8267 do
   8268   IFS=$as_save_IFS
   8269   test -z "$as_dir" && as_dir=.
   8270     for ac_exec_ext in '' $ac_executable_extensions; do
   8271   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8272     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   8273     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8274     break 2
   8275   fi
   8276 done
   8277   done
   8278 IFS=$as_save_IFS
   8279 
   8280 fi
   8281 fi
   8282 NMEDIT=$ac_cv_prog_NMEDIT
   8283 if test -n "$NMEDIT"; then
   8284   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   8285 $as_echo "$NMEDIT" >&6; }
   8286 else
   8287   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8288 $as_echo "no" >&6; }
   8289 fi
   8290 
   8291 
   8292 fi
   8293 if test -z "$ac_cv_prog_NMEDIT"; then
   8294   ac_ct_NMEDIT=$NMEDIT
   8295   # Extract the first word of "nmedit", so it can be a program name with args.
   8296 set dummy nmedit; ac_word=$2
   8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8298 $as_echo_n "checking for $ac_word... " >&6; }
   8299 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   8300   $as_echo_n "(cached) " >&6
   8301 else
   8302   if test -n "$ac_ct_NMEDIT"; then
   8303   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   8304 else
   8305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8306 for as_dir in $PATH
   8307 do
   8308   IFS=$as_save_IFS
   8309   test -z "$as_dir" && as_dir=.
   8310     for ac_exec_ext in '' $ac_executable_extensions; do
   8311   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8312     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   8313     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8314     break 2
   8315   fi
   8316 done
   8317   done
   8318 IFS=$as_save_IFS
   8319 
   8320 fi
   8321 fi
   8322 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   8323 if test -n "$ac_ct_NMEDIT"; then
   8324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   8325 $as_echo "$ac_ct_NMEDIT" >&6; }
   8326 else
   8327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8328 $as_echo "no" >&6; }
   8329 fi
   8330 
   8331   if test "x$ac_ct_NMEDIT" = x; then
   8332     NMEDIT=":"
   8333   else
   8334     case $cross_compiling:$ac_tool_warned in
   8335 yes:)
   8336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8338 ac_tool_warned=yes ;;
   8339 esac
   8340     NMEDIT=$ac_ct_NMEDIT
   8341   fi
   8342 else
   8343   NMEDIT="$ac_cv_prog_NMEDIT"
   8344 fi
   8345 
   8346     if test -n "$ac_tool_prefix"; then
   8347   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   8348 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8350 $as_echo_n "checking for $ac_word... " >&6; }
   8351 if ${ac_cv_prog_LIPO+:} false; then :
   8352   $as_echo_n "(cached) " >&6
   8353 else
   8354   if test -n "$LIPO"; then
   8355   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   8356 else
   8357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8358 for as_dir in $PATH
   8359 do
   8360   IFS=$as_save_IFS
   8361   test -z "$as_dir" && as_dir=.
   8362     for ac_exec_ext in '' $ac_executable_extensions; do
   8363   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8364     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   8365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8366     break 2
   8367   fi
   8368 done
   8369   done
   8370 IFS=$as_save_IFS
   8371 
   8372 fi
   8373 fi
   8374 LIPO=$ac_cv_prog_LIPO
   8375 if test -n "$LIPO"; then
   8376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   8377 $as_echo "$LIPO" >&6; }
   8378 else
   8379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8380 $as_echo "no" >&6; }
   8381 fi
   8382 
   8383 
   8384 fi
   8385 if test -z "$ac_cv_prog_LIPO"; then
   8386   ac_ct_LIPO=$LIPO
   8387   # Extract the first word of "lipo", so it can be a program name with args.
   8388 set dummy lipo; ac_word=$2
   8389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8390 $as_echo_n "checking for $ac_word... " >&6; }
   8391 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   8392   $as_echo_n "(cached) " >&6
   8393 else
   8394   if test -n "$ac_ct_LIPO"; then
   8395   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   8396 else
   8397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8398 for as_dir in $PATH
   8399 do
   8400   IFS=$as_save_IFS
   8401   test -z "$as_dir" && as_dir=.
   8402     for ac_exec_ext in '' $ac_executable_extensions; do
   8403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8404     ac_cv_prog_ac_ct_LIPO="lipo"
   8405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8406     break 2
   8407   fi
   8408 done
   8409   done
   8410 IFS=$as_save_IFS
   8411 
   8412 fi
   8413 fi
   8414 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   8415 if test -n "$ac_ct_LIPO"; then
   8416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   8417 $as_echo "$ac_ct_LIPO" >&6; }
   8418 else
   8419   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8420 $as_echo "no" >&6; }
   8421 fi
   8422 
   8423   if test "x$ac_ct_LIPO" = x; then
   8424     LIPO=":"
   8425   else
   8426     case $cross_compiling:$ac_tool_warned in
   8427 yes:)
   8428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8430 ac_tool_warned=yes ;;
   8431 esac
   8432     LIPO=$ac_ct_LIPO
   8433   fi
   8434 else
   8435   LIPO="$ac_cv_prog_LIPO"
   8436 fi
   8437 
   8438     if test -n "$ac_tool_prefix"; then
   8439   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   8440 set dummy ${ac_tool_prefix}otool; ac_word=$2
   8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8442 $as_echo_n "checking for $ac_word... " >&6; }
   8443 if ${ac_cv_prog_OTOOL+:} false; then :
   8444   $as_echo_n "(cached) " >&6
   8445 else
   8446   if test -n "$OTOOL"; then
   8447   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   8448 else
   8449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8450 for as_dir in $PATH
   8451 do
   8452   IFS=$as_save_IFS
   8453   test -z "$as_dir" && as_dir=.
   8454     for ac_exec_ext in '' $ac_executable_extensions; do
   8455   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8456     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   8457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8458     break 2
   8459   fi
   8460 done
   8461   done
   8462 IFS=$as_save_IFS
   8463 
   8464 fi
   8465 fi
   8466 OTOOL=$ac_cv_prog_OTOOL
   8467 if test -n "$OTOOL"; then
   8468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   8469 $as_echo "$OTOOL" >&6; }
   8470 else
   8471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8472 $as_echo "no" >&6; }
   8473 fi
   8474 
   8475 
   8476 fi
   8477 if test -z "$ac_cv_prog_OTOOL"; then
   8478   ac_ct_OTOOL=$OTOOL
   8479   # Extract the first word of "otool", so it can be a program name with args.
   8480 set dummy otool; ac_word=$2
   8481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8482 $as_echo_n "checking for $ac_word... " >&6; }
   8483 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   8484   $as_echo_n "(cached) " >&6
   8485 else
   8486   if test -n "$ac_ct_OTOOL"; then
   8487   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   8488 else
   8489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8490 for as_dir in $PATH
   8491 do
   8492   IFS=$as_save_IFS
   8493   test -z "$as_dir" && as_dir=.
   8494     for ac_exec_ext in '' $ac_executable_extensions; do
   8495   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8496     ac_cv_prog_ac_ct_OTOOL="otool"
   8497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8498     break 2
   8499   fi
   8500 done
   8501   done
   8502 IFS=$as_save_IFS
   8503 
   8504 fi
   8505 fi
   8506 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   8507 if test -n "$ac_ct_OTOOL"; then
   8508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   8509 $as_echo "$ac_ct_OTOOL" >&6; }
   8510 else
   8511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8512 $as_echo "no" >&6; }
   8513 fi
   8514 
   8515   if test "x$ac_ct_OTOOL" = x; then
   8516     OTOOL=":"
   8517   else
   8518     case $cross_compiling:$ac_tool_warned in
   8519 yes:)
   8520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8522 ac_tool_warned=yes ;;
   8523 esac
   8524     OTOOL=$ac_ct_OTOOL
   8525   fi
   8526 else
   8527   OTOOL="$ac_cv_prog_OTOOL"
   8528 fi
   8529 
   8530     if test -n "$ac_tool_prefix"; then
   8531   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   8532 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   8533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8534 $as_echo_n "checking for $ac_word... " >&6; }
   8535 if ${ac_cv_prog_OTOOL64+:} false; then :
   8536   $as_echo_n "(cached) " >&6
   8537 else
   8538   if test -n "$OTOOL64"; then
   8539   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   8540 else
   8541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8542 for as_dir in $PATH
   8543 do
   8544   IFS=$as_save_IFS
   8545   test -z "$as_dir" && as_dir=.
   8546     for ac_exec_ext in '' $ac_executable_extensions; do
   8547   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8548     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   8549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8550     break 2
   8551   fi
   8552 done
   8553   done
   8554 IFS=$as_save_IFS
   8555 
   8556 fi
   8557 fi
   8558 OTOOL64=$ac_cv_prog_OTOOL64
   8559 if test -n "$OTOOL64"; then
   8560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   8561 $as_echo "$OTOOL64" >&6; }
   8562 else
   8563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8564 $as_echo "no" >&6; }
   8565 fi
   8566 
   8567 
   8568 fi
   8569 if test -z "$ac_cv_prog_OTOOL64"; then
   8570   ac_ct_OTOOL64=$OTOOL64
   8571   # Extract the first word of "otool64", so it can be a program name with args.
   8572 set dummy otool64; ac_word=$2
   8573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   8574 $as_echo_n "checking for $ac_word... " >&6; }
   8575 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   8576   $as_echo_n "(cached) " >&6
   8577 else
   8578   if test -n "$ac_ct_OTOOL64"; then
   8579   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   8580 else
   8581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   8582 for as_dir in $PATH
   8583 do
   8584   IFS=$as_save_IFS
   8585   test -z "$as_dir" && as_dir=.
   8586     for ac_exec_ext in '' $ac_executable_extensions; do
   8587   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   8588     ac_cv_prog_ac_ct_OTOOL64="otool64"
   8589     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   8590     break 2
   8591   fi
   8592 done
   8593   done
   8594 IFS=$as_save_IFS
   8595 
   8596 fi
   8597 fi
   8598 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   8599 if test -n "$ac_ct_OTOOL64"; then
   8600   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   8601 $as_echo "$ac_ct_OTOOL64" >&6; }
   8602 else
   8603   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8604 $as_echo "no" >&6; }
   8605 fi
   8606 
   8607   if test "x$ac_ct_OTOOL64" = x; then
   8608     OTOOL64=":"
   8609   else
   8610     case $cross_compiling:$ac_tool_warned in
   8611 yes:)
   8612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   8613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   8614 ac_tool_warned=yes ;;
   8615 esac
   8616     OTOOL64=$ac_ct_OTOOL64
   8617   fi
   8618 else
   8619   OTOOL64="$ac_cv_prog_OTOOL64"
   8620 fi
   8621 
   8622 
   8623 
   8624 
   8625 
   8626 
   8627 
   8628 
   8629 
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 
   8642 
   8643 
   8644 
   8645 
   8646 
   8647 
   8648     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   8649 $as_echo_n "checking for -single_module linker flag... " >&6; }
   8650 if ${lt_cv_apple_cc_single_mod+:} false; then :
   8651   $as_echo_n "(cached) " >&6
   8652 else
   8653   lt_cv_apple_cc_single_mod=no
   8654       if test -z "${LT_MULTI_MODULE}"; then
   8655 	# By default we will add the -single_module flag. You can override
   8656 	# by either setting the environment variable LT_MULTI_MODULE
   8657 	# non-empty at configure time, or by adding -multi_module to the
   8658 	# link flags.
   8659 	rm -rf libconftest.dylib*
   8660 	echo "int foo(void){return 1;}" > conftest.c
   8661 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8662 -dynamiclib -Wl,-single_module conftest.c" >&5
   8663 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8664 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   8665         _lt_result=$?
   8666 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   8667 	  lt_cv_apple_cc_single_mod=yes
   8668 	else
   8669 	  cat conftest.err >&5
   8670 	fi
   8671 	rm -rf libconftest.dylib*
   8672 	rm -f conftest.*
   8673       fi
   8674 fi
   8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   8676 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   8677     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   8678 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   8679 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   8680   $as_echo_n "(cached) " >&6
   8681 else
   8682   lt_cv_ld_exported_symbols_list=no
   8683       save_LDFLAGS=$LDFLAGS
   8684       echo "_main" > conftest.sym
   8685       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   8686       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8687 /* end confdefs.h.  */
   8688 
   8689 int
   8690 main ()
   8691 {
   8692 
   8693   ;
   8694   return 0;
   8695 }
   8696 _ACEOF
   8697 if ac_fn_c_try_link "$LINENO"; then :
   8698   lt_cv_ld_exported_symbols_list=yes
   8699 else
   8700   lt_cv_ld_exported_symbols_list=no
   8701 fi
   8702 rm -f core conftest.err conftest.$ac_objext \
   8703     conftest$ac_exeext conftest.$ac_ext
   8704 	LDFLAGS="$save_LDFLAGS"
   8705 
   8706 fi
   8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   8708 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   8709     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   8710 $as_echo_n "checking for -force_load linker flag... " >&6; }
   8711 if ${lt_cv_ld_force_load+:} false; then :
   8712   $as_echo_n "(cached) " >&6
   8713 else
   8714   lt_cv_ld_force_load=no
   8715       cat > conftest.c << _LT_EOF
   8716 int forced_loaded() { return 2;}
   8717 _LT_EOF
   8718       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   8719       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   8720       echo "$AR cru libconftest.a conftest.o" >&5
   8721       $AR cru libconftest.a conftest.o 2>&5
   8722       cat > conftest.c << _LT_EOF
   8723 int main() { return 0;}
   8724 _LT_EOF
   8725       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   8726       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   8727       _lt_result=$?
   8728       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   8729 	lt_cv_ld_force_load=yes
   8730       else
   8731 	cat conftest.err >&5
   8732       fi
   8733         rm -f conftest.err libconftest.a conftest conftest.c
   8734         rm -rf conftest.dSYM
   8735 
   8736 fi
   8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   8738 $as_echo "$lt_cv_ld_force_load" >&6; }
   8739     # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
   8740     # build without first building modern cctools / linker.
   8741     case $host_cpu-$host_os in
   8742     *-rhapsody* | *-darwin1.[012])
   8743       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   8744     *-darwin1.*)
   8745       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   8746     *-darwin*)
   8747       # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
   8748       # deployment target is forced to an earlier version.
   8749       case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
   8750 	UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
   8751 	  ;;
   8752 	10.[012][,.]*)
   8753 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8754 	  ;;
   8755 	*)
   8756 	  ;;
   8757      esac
   8758     ;;
   8759   esac
   8760     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   8761       _lt_dar_single_mod='$single_module'
   8762     fi
   8763     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8764       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8765     else
   8766       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8767     fi
   8768     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8769       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8770     else
   8771       _lt_dsymutil=
   8772     fi
   8773     ;;
   8774   esac
   8775 
   8776 for ac_header in dlfcn.h
   8777 do :
   8778   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8779 "
   8780 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8781   cat >>confdefs.h <<_ACEOF
   8782 #define HAVE_DLFCN_H 1
   8783 _ACEOF
   8784 
   8785 fi
   8786 
   8787 done
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 # Set options
   8795 
   8796 
   8797 
   8798         enable_dlopen=no
   8799 
   8800 
   8801   enable_win32_dll=no
   8802 
   8803 
   8804 
   8805   # Check whether --enable-static was given.
   8806 if test "${enable_static+set}" = set; then :
   8807   enableval=$enable_static; p=${PACKAGE-default}
   8808     case $enableval in
   8809     yes) enable_static=yes ;;
   8810     no) enable_static=no ;;
   8811     *)
   8812      enable_static=no
   8813       # Look at the argument we got.  We use all the common list separators.
   8814       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8815       for pkg in $enableval; do
   8816 	IFS="$lt_save_ifs"
   8817 	if test "X$pkg" = "X$p"; then
   8818 	  enable_static=yes
   8819 	fi
   8820       done
   8821       IFS="$lt_save_ifs"
   8822       ;;
   8823     esac
   8824 else
   8825   enable_static=yes
   8826 fi
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 # Check whether --with-pic was given.
   8838 if test "${with_pic+set}" = set; then :
   8839   withval=$with_pic; pic_mode="$withval"
   8840 else
   8841   pic_mode=default
   8842 fi
   8843 
   8844 
   8845 test -z "$pic_mode" && pic_mode=default
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853   # Check whether --enable-fast-install was given.
   8854 if test "${enable_fast_install+set}" = set; then :
   8855   enableval=$enable_fast_install; p=${PACKAGE-default}
   8856     case $enableval in
   8857     yes) enable_fast_install=yes ;;
   8858     no) enable_fast_install=no ;;
   8859     *)
   8860       enable_fast_install=no
   8861       # Look at the argument we got.  We use all the common list separators.
   8862       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8863       for pkg in $enableval; do
   8864 	IFS="$lt_save_ifs"
   8865 	if test "X$pkg" = "X$p"; then
   8866 	  enable_fast_install=yes
   8867 	fi
   8868       done
   8869       IFS="$lt_save_ifs"
   8870       ;;
   8871     esac
   8872 else
   8873   enable_fast_install=yes
   8874 fi
   8875 
   8876 
   8877 
   8878 
   8879 
   8880 
   8881 
   8882 
   8883 
   8884 
   8885 
   8886 # This can be used to rebuild libtool when needed
   8887 LIBTOOL_DEPS="$ltmain"
   8888 
   8889 # Always use our own libtool.
   8890 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 test -z "$LN_S" && LN_S="ln -s"
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 
   8932 if test -n "${ZSH_VERSION+set}" ; then
   8933    setopt NO_GLOB_SUBST
   8934 fi
   8935 
   8936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8937 $as_echo_n "checking for objdir... " >&6; }
   8938 if ${lt_cv_objdir+:} false; then :
   8939   $as_echo_n "(cached) " >&6
   8940 else
   8941   rm -f .libs 2>/dev/null
   8942 mkdir .libs 2>/dev/null
   8943 if test -d .libs; then
   8944   lt_cv_objdir=.libs
   8945 else
   8946   # MS-DOS does not allow filenames that begin with a dot.
   8947   lt_cv_objdir=_libs
   8948 fi
   8949 rmdir .libs 2>/dev/null
   8950 fi
   8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8952 $as_echo "$lt_cv_objdir" >&6; }
   8953 objdir=$lt_cv_objdir
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 cat >>confdefs.h <<_ACEOF
   8960 #define LT_OBJDIR "$lt_cv_objdir/"
   8961 _ACEOF
   8962 
   8963 
   8964 
   8965 
   8966 case $host_os in
   8967 aix3*)
   8968   # AIX sometimes has problems with the GCC collect2 program.  For some
   8969   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8970   # vanish in a puff of smoke.
   8971   if test "X${COLLECT_NAMES+set}" != Xset; then
   8972     COLLECT_NAMES=
   8973     export COLLECT_NAMES
   8974   fi
   8975   ;;
   8976 esac
   8977 
   8978 # Global variables:
   8979 ofile=libtool
   8980 can_build_shared=yes
   8981 
   8982 # All known linkers require a `.a' archive for static linking (except MSVC,
   8983 # which needs '.lib').
   8984 libext=a
   8985 
   8986 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8987 
   8988 old_CC="$CC"
   8989 old_CFLAGS="$CFLAGS"
   8990 
   8991 # Set sane defaults for various variables
   8992 test -z "$CC" && CC=cc
   8993 test -z "$LTCC" && LTCC=$CC
   8994 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8995 test -z "$LD" && LD=ld
   8996 test -z "$ac_objext" && ac_objext=o
   8997 
   8998 for cc_temp in $compiler""; do
   8999   case $cc_temp in
   9000     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   9001     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   9002     \-*) ;;
   9003     *) break;;
   9004   esac
   9005 done
   9006 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   9007 
   9008 
   9009 # Only perform the check for file, if the check method requires it
   9010 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   9011 case $deplibs_check_method in
   9012 file_magic*)
   9013   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   9014     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   9015 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   9016 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9017   $as_echo_n "(cached) " >&6
   9018 else
   9019   case $MAGIC_CMD in
   9020 [\\/*] |  ?:[\\/]*)
   9021   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9022   ;;
   9023 *)
   9024   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9025   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9026   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9027   for ac_dir in $ac_dummy; do
   9028     IFS="$lt_save_ifs"
   9029     test -z "$ac_dir" && ac_dir=.
   9030     if test -f $ac_dir/${ac_tool_prefix}file; then
   9031       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   9032       if test -n "$file_magic_test_file"; then
   9033 	case $deplibs_check_method in
   9034 	"file_magic "*)
   9035 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9036 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9037 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9038 	    $EGREP "$file_magic_regex" > /dev/null; then
   9039 	    :
   9040 	  else
   9041 	    cat <<_LT_EOF 1>&2
   9042 
   9043 *** Warning: the command libtool uses to detect shared libraries,
   9044 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9045 *** The result is that libtool may fail to recognize shared libraries
   9046 *** as such.  This will affect the creation of libtool libraries that
   9047 *** depend on shared libraries, but programs linked with such libtool
   9048 *** libraries will work regardless of this problem.  Nevertheless, you
   9049 *** may want to report the problem to your system manager and/or to
   9050 *** bug-libtool@gnu.org
   9051 
   9052 _LT_EOF
   9053 	  fi ;;
   9054 	esac
   9055       fi
   9056       break
   9057     fi
   9058   done
   9059   IFS="$lt_save_ifs"
   9060   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9061   ;;
   9062 esac
   9063 fi
   9064 
   9065 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9066 if test -n "$MAGIC_CMD"; then
   9067   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9068 $as_echo "$MAGIC_CMD" >&6; }
   9069 else
   9070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9071 $as_echo "no" >&6; }
   9072 fi
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 if test -z "$lt_cv_path_MAGIC_CMD"; then
   9079   if test -n "$ac_tool_prefix"; then
   9080     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   9081 $as_echo_n "checking for file... " >&6; }
   9082 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   9083   $as_echo_n "(cached) " >&6
   9084 else
   9085   case $MAGIC_CMD in
   9086 [\\/*] |  ?:[\\/]*)
   9087   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   9088   ;;
   9089 *)
   9090   lt_save_MAGIC_CMD="$MAGIC_CMD"
   9091   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   9092   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   9093   for ac_dir in $ac_dummy; do
   9094     IFS="$lt_save_ifs"
   9095     test -z "$ac_dir" && ac_dir=.
   9096     if test -f $ac_dir/file; then
   9097       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   9098       if test -n "$file_magic_test_file"; then
   9099 	case $deplibs_check_method in
   9100 	"file_magic "*)
   9101 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   9102 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9103 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   9104 	    $EGREP "$file_magic_regex" > /dev/null; then
   9105 	    :
   9106 	  else
   9107 	    cat <<_LT_EOF 1>&2
   9108 
   9109 *** Warning: the command libtool uses to detect shared libraries,
   9110 *** $file_magic_cmd, produces output that libtool cannot recognize.
   9111 *** The result is that libtool may fail to recognize shared libraries
   9112 *** as such.  This will affect the creation of libtool libraries that
   9113 *** depend on shared libraries, but programs linked with such libtool
   9114 *** libraries will work regardless of this problem.  Nevertheless, you
   9115 *** may want to report the problem to your system manager and/or to
   9116 *** bug-libtool@gnu.org
   9117 
   9118 _LT_EOF
   9119 	  fi ;;
   9120 	esac
   9121       fi
   9122       break
   9123     fi
   9124   done
   9125   IFS="$lt_save_ifs"
   9126   MAGIC_CMD="$lt_save_MAGIC_CMD"
   9127   ;;
   9128 esac
   9129 fi
   9130 
   9131 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   9132 if test -n "$MAGIC_CMD"; then
   9133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   9134 $as_echo "$MAGIC_CMD" >&6; }
   9135 else
   9136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   9137 $as_echo "no" >&6; }
   9138 fi
   9139 
   9140 
   9141   else
   9142     MAGIC_CMD=:
   9143   fi
   9144 fi
   9145 
   9146   fi
   9147   ;;
   9148 esac
   9149 
   9150 # Use C for the default configuration in the libtool script
   9151 
   9152 lt_save_CC="$CC"
   9153 ac_ext=c
   9154 ac_cpp='$CPP $CPPFLAGS'
   9155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   9156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   9157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   9158 
   9159 
   9160 # Source file extension for C test sources.
   9161 ac_ext=c
   9162 
   9163 # Object file extension for compiled C test sources.
   9164 objext=o
   9165 objext=$objext
   9166 
   9167 # Code to be used in simple compile tests
   9168 lt_simple_compile_test_code="int some_variable = 0;"
   9169 
   9170 # Code to be used in simple link tests
   9171 lt_simple_link_test_code='int main(){return(0);}'
   9172 
   9173 
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 # If no C compiler was specified, use CC.
   9180 LTCC=${LTCC-"$CC"}
   9181 
   9182 # If no C compiler flags were specified, use CFLAGS.
   9183 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   9184 
   9185 # Allow CC to be a program name with arguments.
   9186 compiler=$CC
   9187 
   9188 # Save the default compiler, since it gets overwritten when the other
   9189 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   9190 compiler_DEFAULT=$CC
   9191 
   9192 # save warnings/boilerplate of simple test code
   9193 ac_outfile=conftest.$ac_objext
   9194 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   9195 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9196 _lt_compiler_boilerplate=`cat conftest.err`
   9197 $RM conftest*
   9198 
   9199 ac_outfile=conftest.$ac_objext
   9200 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   9201 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   9202 _lt_linker_boilerplate=`cat conftest.err`
   9203 $RM -r conftest*
   9204 
   9205 
   9206 ## CAVEAT EMPTOR:
   9207 ## There is no encapsulation within the following macros, do not change
   9208 ## the running order or otherwise move them around unless you know exactly
   9209 ## what you are doing...
   9210 if test -n "$compiler"; then
   9211 
   9212 lt_prog_compiler_no_builtin_flag=
   9213 
   9214 if test "$GCC" = yes; then
   9215   case $cc_basename in
   9216   nvcc*)
   9217     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   9218   *)
   9219     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   9220   esac
   9221 
   9222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   9223 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   9224 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   9225   $as_echo_n "(cached) " >&6
   9226 else
   9227   lt_cv_prog_compiler_rtti_exceptions=no
   9228    ac_outfile=conftest.$ac_objext
   9229    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9230    lt_compiler_flag="-fno-rtti -fno-exceptions"
   9231    # Insert the option either (1) after the last *FLAGS variable, or
   9232    # (2) before a word containing "conftest.", or (3) at the end.
   9233    # Note that $ac_compile itself does not contain backslashes and begins
   9234    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9235    # The option is referenced via a variable to avoid confusing sed.
   9236    lt_compile=`echo "$ac_compile" | $SED \
   9237    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9238    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9239    -e 's:$: $lt_compiler_flag:'`
   9240    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9241    (eval "$lt_compile" 2>conftest.err)
   9242    ac_status=$?
   9243    cat conftest.err >&5
   9244    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9245    if (exit $ac_status) && test -s "$ac_outfile"; then
   9246      # The compiler can only warn and ignore the option if not recognized
   9247      # So say no if there are warnings other than the usual output.
   9248      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9249      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9250      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9251        lt_cv_prog_compiler_rtti_exceptions=yes
   9252      fi
   9253    fi
   9254    $RM conftest*
   9255 
   9256 fi
   9257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   9258 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   9259 
   9260 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   9261     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   9262 else
   9263     :
   9264 fi
   9265 
   9266 fi
   9267 
   9268 
   9269 
   9270 
   9271 
   9272 
   9273   lt_prog_compiler_wl=
   9274 lt_prog_compiler_pic=
   9275 lt_prog_compiler_static=
   9276 
   9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   9278 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   9279 
   9280   if test "$GCC" = yes; then
   9281     lt_prog_compiler_wl='-Wl,'
   9282     lt_prog_compiler_static='-static'
   9283 
   9284     case $host_os in
   9285       aix*)
   9286       # All AIX code is PIC.
   9287       if test "$host_cpu" = ia64; then
   9288 	# AIX 5 now supports IA64 processor
   9289 	lt_prog_compiler_static='-Bstatic'
   9290       fi
   9291       lt_prog_compiler_pic='-fPIC'
   9292       ;;
   9293 
   9294     amigaos*)
   9295       case $host_cpu in
   9296       powerpc)
   9297             # see comment about AmigaOS4 .so support
   9298             lt_prog_compiler_pic='-fPIC'
   9299         ;;
   9300       m68k)
   9301             # FIXME: we need at least 68020 code to build shared libraries, but
   9302             # adding the `-m68020' flag to GCC prevents building anything better,
   9303             # like `-m68040'.
   9304             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   9305         ;;
   9306       esac
   9307       ;;
   9308 
   9309     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   9310       # PIC is the default for these OSes.
   9311       ;;
   9312 
   9313     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9314       # This hack is so that the source file can tell whether it is being
   9315       # built for inclusion in a dll (and should export symbols for example).
   9316       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   9317       # (--disable-auto-import) libraries
   9318       lt_prog_compiler_pic='-DDLL_EXPORT'
   9319       ;;
   9320 
   9321     darwin* | rhapsody*)
   9322       # PIC is the default on this platform
   9323       # Common symbols not allowed in MH_DYLIB files
   9324       lt_prog_compiler_pic='-fno-common'
   9325       ;;
   9326 
   9327     haiku*)
   9328       # PIC is the default for Haiku.
   9329       # The "-static" flag exists, but is broken.
   9330       lt_prog_compiler_static=
   9331       ;;
   9332 
   9333     hpux*)
   9334       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   9335       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   9336       # sets the default TLS model and affects inlining.
   9337       case $host_cpu in
   9338       hppa*64*)
   9339 	# +Z the default
   9340 	;;
   9341       *)
   9342 	lt_prog_compiler_pic='-fPIC'
   9343 	;;
   9344       esac
   9345       ;;
   9346 
   9347     interix[3-9]*)
   9348       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   9349       # Instead, we relocate shared libraries at runtime.
   9350       ;;
   9351 
   9352     msdosdjgpp*)
   9353       # Just because we use GCC doesn't mean we suddenly get shared libraries
   9354       # on systems that don't support them.
   9355       lt_prog_compiler_can_build_shared=no
   9356       enable_shared=no
   9357       ;;
   9358 
   9359     *nto* | *qnx*)
   9360       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9361       # it will coredump.
   9362       lt_prog_compiler_pic='-fPIC -shared'
   9363       ;;
   9364 
   9365     sysv4*MP*)
   9366       if test -d /usr/nec; then
   9367 	lt_prog_compiler_pic=-Kconform_pic
   9368       fi
   9369       ;;
   9370 
   9371     *)
   9372       lt_prog_compiler_pic='-fPIC'
   9373       ;;
   9374     esac
   9375 
   9376     case $cc_basename in
   9377     nvcc*) # Cuda Compiler Driver 2.2
   9378       lt_prog_compiler_wl='-Xlinker '
   9379       lt_prog_compiler_pic='-Xcompiler -fPIC'
   9380       ;;
   9381     esac
   9382   else
   9383     # PORTME Check for flag to pass linker flags through the system compiler.
   9384     case $host_os in
   9385     aix*)
   9386       lt_prog_compiler_wl='-Wl,'
   9387       if test "$host_cpu" = ia64; then
   9388 	# AIX 5 now supports IA64 processor
   9389 	lt_prog_compiler_static='-Bstatic'
   9390       else
   9391 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   9392       fi
   9393       ;;
   9394 
   9395     mingw* | cygwin* | pw32* | os2* | cegcc*)
   9396       # This hack is so that the source file can tell whether it is being
   9397       # built for inclusion in a dll (and should export symbols for example).
   9398       lt_prog_compiler_pic='-DDLL_EXPORT'
   9399       ;;
   9400 
   9401     hpux9* | hpux10* | hpux11*)
   9402       lt_prog_compiler_wl='-Wl,'
   9403       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   9404       # not for PA HP-UX.
   9405       case $host_cpu in
   9406       hppa*64*|ia64*)
   9407 	# +Z the default
   9408 	;;
   9409       *)
   9410 	lt_prog_compiler_pic='+Z'
   9411 	;;
   9412       esac
   9413       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   9414       lt_prog_compiler_static='${wl}-a ${wl}archive'
   9415       ;;
   9416 
   9417     irix5* | irix6* | nonstopux*)
   9418       lt_prog_compiler_wl='-Wl,'
   9419       # PIC (with -KPIC) is the default.
   9420       lt_prog_compiler_static='-non_shared'
   9421       ;;
   9422 
   9423     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   9424       case $cc_basename in
   9425       # old Intel for x86_64 which still supported -KPIC.
   9426       ecc*)
   9427 	lt_prog_compiler_wl='-Wl,'
   9428 	lt_prog_compiler_pic='-KPIC'
   9429 	lt_prog_compiler_static='-static'
   9430         ;;
   9431       # icc used to be incompatible with GCC.
   9432       # ICC 10 doesn't accept -KPIC any more.
   9433       icc* | ifort*)
   9434 	lt_prog_compiler_wl='-Wl,'
   9435 	lt_prog_compiler_pic='-fPIC'
   9436 	lt_prog_compiler_static='-static'
   9437         ;;
   9438       # Lahey Fortran 8.1.
   9439       lf95*)
   9440 	lt_prog_compiler_wl='-Wl,'
   9441 	lt_prog_compiler_pic='--shared'
   9442 	lt_prog_compiler_static='--static'
   9443 	;;
   9444       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   9445         # Portland Group compilers (*not* the Pentium gcc compiler,
   9446 	# which looks to be a dead project)
   9447 	lt_prog_compiler_wl='-Wl,'
   9448 	lt_prog_compiler_pic='-fpic'
   9449 	lt_prog_compiler_static='-Bstatic'
   9450         ;;
   9451       ccc*)
   9452         lt_prog_compiler_wl='-Wl,'
   9453         # All Alpha code is PIC.
   9454         lt_prog_compiler_static='-non_shared'
   9455         ;;
   9456       xl* | bgxl* | bgf* | mpixl*)
   9457 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   9458 	lt_prog_compiler_wl='-Wl,'
   9459 	lt_prog_compiler_pic='-qpic'
   9460 	lt_prog_compiler_static='-qstaticlink'
   9461 	;;
   9462       *)
   9463 	case `$CC -V 2>&1 | sed 5q` in
   9464 	*Sun\ F* | *Sun*Fortran*)
   9465 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   9466 	  lt_prog_compiler_pic='-KPIC'
   9467 	  lt_prog_compiler_static='-Bstatic'
   9468 	  lt_prog_compiler_wl=''
   9469 	  ;;
   9470 	*Sun\ C*)
   9471 	  # Sun C 5.9
   9472 	  lt_prog_compiler_pic='-KPIC'
   9473 	  lt_prog_compiler_static='-Bstatic'
   9474 	  lt_prog_compiler_wl='-Wl,'
   9475 	  ;;
   9476 	esac
   9477 	;;
   9478       esac
   9479       ;;
   9480 
   9481     newsos6)
   9482       lt_prog_compiler_pic='-KPIC'
   9483       lt_prog_compiler_static='-Bstatic'
   9484       ;;
   9485 
   9486     *nto* | *qnx*)
   9487       # QNX uses GNU C++, but need to define -shared option too, otherwise
   9488       # it will coredump.
   9489       lt_prog_compiler_pic='-fPIC -shared'
   9490       ;;
   9491 
   9492     osf3* | osf4* | osf5*)
   9493       lt_prog_compiler_wl='-Wl,'
   9494       # All OSF/1 code is PIC.
   9495       lt_prog_compiler_static='-non_shared'
   9496       ;;
   9497 
   9498     rdos*)
   9499       lt_prog_compiler_static='-non_shared'
   9500       ;;
   9501 
   9502     solaris*)
   9503       lt_prog_compiler_pic='-KPIC'
   9504       lt_prog_compiler_static='-Bstatic'
   9505       case $cc_basename in
   9506       f77* | f90* | f95*)
   9507 	lt_prog_compiler_wl='-Qoption ld ';;
   9508       *)
   9509 	lt_prog_compiler_wl='-Wl,';;
   9510       esac
   9511       ;;
   9512 
   9513     sunos4*)
   9514       lt_prog_compiler_wl='-Qoption ld '
   9515       lt_prog_compiler_pic='-PIC'
   9516       lt_prog_compiler_static='-Bstatic'
   9517       ;;
   9518 
   9519     sysv4 | sysv4.2uw2* | sysv4.3*)
   9520       lt_prog_compiler_wl='-Wl,'
   9521       lt_prog_compiler_pic='-KPIC'
   9522       lt_prog_compiler_static='-Bstatic'
   9523       ;;
   9524 
   9525     sysv4*MP*)
   9526       if test -d /usr/nec ;then
   9527 	lt_prog_compiler_pic='-Kconform_pic'
   9528 	lt_prog_compiler_static='-Bstatic'
   9529       fi
   9530       ;;
   9531 
   9532     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   9533       lt_prog_compiler_wl='-Wl,'
   9534       lt_prog_compiler_pic='-KPIC'
   9535       lt_prog_compiler_static='-Bstatic'
   9536       ;;
   9537 
   9538     unicos*)
   9539       lt_prog_compiler_wl='-Wl,'
   9540       lt_prog_compiler_can_build_shared=no
   9541       ;;
   9542 
   9543     uts4*)
   9544       lt_prog_compiler_pic='-pic'
   9545       lt_prog_compiler_static='-Bstatic'
   9546       ;;
   9547 
   9548     *)
   9549       lt_prog_compiler_can_build_shared=no
   9550       ;;
   9551     esac
   9552   fi
   9553 
   9554 case $host_os in
   9555   # For platforms which do not support PIC, -DPIC is meaningless:
   9556   *djgpp*)
   9557     lt_prog_compiler_pic=
   9558     ;;
   9559   *)
   9560     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   9561     ;;
   9562 esac
   9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   9564 $as_echo "$lt_prog_compiler_pic" >&6; }
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 #
   9572 # Check to make sure the PIC flag actually works.
   9573 #
   9574 if test -n "$lt_prog_compiler_pic"; then
   9575   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   9576 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   9577 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   9578   $as_echo_n "(cached) " >&6
   9579 else
   9580   lt_cv_prog_compiler_pic_works=no
   9581    ac_outfile=conftest.$ac_objext
   9582    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9583    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   9584    # Insert the option either (1) after the last *FLAGS variable, or
   9585    # (2) before a word containing "conftest.", or (3) at the end.
   9586    # Note that $ac_compile itself does not contain backslashes and begins
   9587    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9588    # The option is referenced via a variable to avoid confusing sed.
   9589    lt_compile=`echo "$ac_compile" | $SED \
   9590    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9591    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9592    -e 's:$: $lt_compiler_flag:'`
   9593    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9594    (eval "$lt_compile" 2>conftest.err)
   9595    ac_status=$?
   9596    cat conftest.err >&5
   9597    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9598    if (exit $ac_status) && test -s "$ac_outfile"; then
   9599      # The compiler can only warn and ignore the option if not recognized
   9600      # So say no if there are warnings other than the usual output.
   9601      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   9602      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9603      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   9604        lt_cv_prog_compiler_pic_works=yes
   9605      fi
   9606    fi
   9607    $RM conftest*
   9608 
   9609 fi
   9610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   9611 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   9612 
   9613 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   9614     case $lt_prog_compiler_pic in
   9615      "" | " "*) ;;
   9616      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   9617      esac
   9618 else
   9619     lt_prog_compiler_pic=
   9620      lt_prog_compiler_can_build_shared=no
   9621 fi
   9622 
   9623 fi
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 #
   9631 # Check to make sure the static flag actually works.
   9632 #
   9633 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   9634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   9635 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   9636 if ${lt_cv_prog_compiler_static_works+:} false; then :
   9637   $as_echo_n "(cached) " >&6
   9638 else
   9639   lt_cv_prog_compiler_static_works=no
   9640    save_LDFLAGS="$LDFLAGS"
   9641    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   9642    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9643    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9644      # The linker can only warn and ignore the option if not recognized
   9645      # So say no if there are warnings
   9646      if test -s conftest.err; then
   9647        # Append any errors to the config.log.
   9648        cat conftest.err 1>&5
   9649        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9650        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9651        if diff conftest.exp conftest.er2 >/dev/null; then
   9652          lt_cv_prog_compiler_static_works=yes
   9653        fi
   9654      else
   9655        lt_cv_prog_compiler_static_works=yes
   9656      fi
   9657    fi
   9658    $RM -r conftest*
   9659    LDFLAGS="$save_LDFLAGS"
   9660 
   9661 fi
   9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   9663 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   9664 
   9665 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   9666     :
   9667 else
   9668     lt_prog_compiler_static=
   9669 fi
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9678 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9679 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9680   $as_echo_n "(cached) " >&6
   9681 else
   9682   lt_cv_prog_compiler_c_o=no
   9683    $RM -r conftest 2>/dev/null
   9684    mkdir conftest
   9685    cd conftest
   9686    mkdir out
   9687    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9688 
   9689    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9690    # Insert the option either (1) after the last *FLAGS variable, or
   9691    # (2) before a word containing "conftest.", or (3) at the end.
   9692    # Note that $ac_compile itself does not contain backslashes and begins
   9693    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9694    lt_compile=`echo "$ac_compile" | $SED \
   9695    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9696    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9697    -e 's:$: $lt_compiler_flag:'`
   9698    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9699    (eval "$lt_compile" 2>out/conftest.err)
   9700    ac_status=$?
   9701    cat out/conftest.err >&5
   9702    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9703    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9704    then
   9705      # The compiler can only warn and ignore the option if not recognized
   9706      # So say no if there are warnings
   9707      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9708      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9709      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9710        lt_cv_prog_compiler_c_o=yes
   9711      fi
   9712    fi
   9713    chmod u+w . 2>&5
   9714    $RM conftest*
   9715    # SGI C++ compiler will create directory out/ii_files/ for
   9716    # template instantiation
   9717    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9718    $RM out/* && rmdir out
   9719    cd ..
   9720    $RM -r conftest
   9721    $RM conftest*
   9722 
   9723 fi
   9724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9725 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9734 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9735   $as_echo_n "(cached) " >&6
   9736 else
   9737   lt_cv_prog_compiler_c_o=no
   9738    $RM -r conftest 2>/dev/null
   9739    mkdir conftest
   9740    cd conftest
   9741    mkdir out
   9742    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9743 
   9744    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9745    # Insert the option either (1) after the last *FLAGS variable, or
   9746    # (2) before a word containing "conftest.", or (3) at the end.
   9747    # Note that $ac_compile itself does not contain backslashes and begins
   9748    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9749    lt_compile=`echo "$ac_compile" | $SED \
   9750    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9751    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9752    -e 's:$: $lt_compiler_flag:'`
   9753    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9754    (eval "$lt_compile" 2>out/conftest.err)
   9755    ac_status=$?
   9756    cat out/conftest.err >&5
   9757    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9758    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9759    then
   9760      # The compiler can only warn and ignore the option if not recognized
   9761      # So say no if there are warnings
   9762      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9763      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9764      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9765        lt_cv_prog_compiler_c_o=yes
   9766      fi
   9767    fi
   9768    chmod u+w . 2>&5
   9769    $RM conftest*
   9770    # SGI C++ compiler will create directory out/ii_files/ for
   9771    # template instantiation
   9772    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9773    $RM out/* && rmdir out
   9774    cd ..
   9775    $RM -r conftest
   9776    $RM conftest*
   9777 
   9778 fi
   9779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9780 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9781 
   9782 
   9783 
   9784 
   9785 hard_links="nottested"
   9786 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9787   # do not overwrite the value of need_locks provided by the user
   9788   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9789 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9790   hard_links=yes
   9791   $RM conftest*
   9792   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9793   touch conftest.a
   9794   ln conftest.a conftest.b 2>&5 || hard_links=no
   9795   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9797 $as_echo "$hard_links" >&6; }
   9798   if test "$hard_links" = no; then
   9799     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9800 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9801     need_locks=warn
   9802   fi
   9803 else
   9804   need_locks=no
   9805 fi
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9813 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9814 
   9815   runpath_var=
   9816   allow_undefined_flag=
   9817   always_export_symbols=no
   9818   archive_cmds=
   9819   archive_expsym_cmds=
   9820   compiler_needs_object=no
   9821   enable_shared_with_static_runtimes=no
   9822   export_dynamic_flag_spec=
   9823   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9824   hardcode_automatic=no
   9825   hardcode_direct=no
   9826   hardcode_direct_absolute=no
   9827   hardcode_libdir_flag_spec=
   9828   hardcode_libdir_flag_spec_ld=
   9829   hardcode_libdir_separator=
   9830   hardcode_minus_L=no
   9831   hardcode_shlibpath_var=unsupported
   9832   inherit_rpath=no
   9833   link_all_deplibs=unknown
   9834   module_cmds=
   9835   module_expsym_cmds=
   9836   old_archive_from_new_cmds=
   9837   old_archive_from_expsyms_cmds=
   9838   thread_safe_flag_spec=
   9839   whole_archive_flag_spec=
   9840   # include_expsyms should be a list of space-separated symbols to be *always*
   9841   # included in the symbol list
   9842   include_expsyms=
   9843   # exclude_expsyms can be an extended regexp of symbols to exclude
   9844   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9845   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9846   # as well as any symbol that contains `d'.
   9847   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9848   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9849   # platforms (ab)use it in PIC code, but their linkers get confused if
   9850   # the symbol is explicitly referenced.  Since portable code cannot
   9851   # rely on this symbol name, it's probably fine to never include it in
   9852   # preloaded symbol tables.
   9853   # Exclude shared library initialization/finalization symbols.
   9854   extract_expsyms_cmds=
   9855 
   9856   case $host_os in
   9857   cygwin* | mingw* | pw32* | cegcc*)
   9858     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9859     # When not using gcc, we currently assume that we are using
   9860     # Microsoft Visual C++.
   9861     if test "$GCC" != yes; then
   9862       with_gnu_ld=no
   9863     fi
   9864     ;;
   9865   interix*)
   9866     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9867     with_gnu_ld=yes
   9868     ;;
   9869   openbsd*)
   9870     with_gnu_ld=no
   9871     ;;
   9872   esac
   9873 
   9874   ld_shlibs=yes
   9875 
   9876   # On some targets, GNU ld is compatible enough with the native linker
   9877   # that we're better off using the native interface for both.
   9878   lt_use_gnu_ld_interface=no
   9879   if test "$with_gnu_ld" = yes; then
   9880     case $host_os in
   9881       aix*)
   9882 	# The AIX port of GNU ld has always aspired to compatibility
   9883 	# with the native linker.  However, as the warning in the GNU ld
   9884 	# block says, versions before 2.19.5* couldn't really create working
   9885 	# shared libraries, regardless of the interface used.
   9886 	case `$LD -v 2>&1` in
   9887 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9888 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9889 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9890 	  *)
   9891 	    lt_use_gnu_ld_interface=yes
   9892 	    ;;
   9893 	esac
   9894 	;;
   9895       *)
   9896 	lt_use_gnu_ld_interface=yes
   9897 	;;
   9898     esac
   9899   fi
   9900 
   9901   if test "$lt_use_gnu_ld_interface" = yes; then
   9902     # If archive_cmds runs LD, not CC, wlarc should be empty
   9903     wlarc='${wl}'
   9904 
   9905     # Set some defaults for GNU ld with shared library support. These
   9906     # are reset later if shared libraries are not supported. Putting them
   9907     # here allows them to be overridden if necessary.
   9908     runpath_var=LD_RUN_PATH
   9909     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9910     export_dynamic_flag_spec='${wl}--export-dynamic'
   9911     # ancient GNU ld didn't support --whole-archive et. al.
   9912     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9913       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9914     else
   9915       whole_archive_flag_spec=
   9916     fi
   9917     supports_anon_versioning=no
   9918     case `$LD -v 2>&1` in
   9919       *GNU\ gold*) supports_anon_versioning=yes ;;
   9920       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9921       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9922       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9923       *\ 2.11.*) ;; # other 2.11 versions
   9924       *) supports_anon_versioning=yes ;;
   9925     esac
   9926 
   9927     # See if GNU ld supports shared libraries.
   9928     case $host_os in
   9929     aix[3-9]*)
   9930       # On AIX/PPC, the GNU linker is very broken
   9931       if test "$host_cpu" != ia64; then
   9932 	ld_shlibs=no
   9933 	cat <<_LT_EOF 1>&2
   9934 
   9935 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9936 *** to be unable to reliably create shared libraries on AIX.
   9937 *** Therefore, libtool is disabling shared libraries support.  If you
   9938 *** really care for shared libraries, you may want to install binutils
   9939 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9940 *** You will then need to restart the configuration process.
   9941 
   9942 _LT_EOF
   9943       fi
   9944       ;;
   9945 
   9946     amigaos*)
   9947       case $host_cpu in
   9948       powerpc)
   9949             # see comment about AmigaOS4 .so support
   9950             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9951             archive_expsym_cmds=''
   9952         ;;
   9953       m68k)
   9954             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)'
   9955             hardcode_libdir_flag_spec='-L$libdir'
   9956             hardcode_minus_L=yes
   9957         ;;
   9958       esac
   9959       ;;
   9960 
   9961     beos*)
   9962       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9963 	allow_undefined_flag=unsupported
   9964 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9965 	# support --undefined.  This deserves some investigation.  FIXME
   9966 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9967       else
   9968 	ld_shlibs=no
   9969       fi
   9970       ;;
   9971 
   9972     cygwin* | mingw* | pw32* | cegcc*)
   9973       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9974       # as there is no search path for DLLs.
   9975       hardcode_libdir_flag_spec='-L$libdir'
   9976       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9977       allow_undefined_flag=unsupported
   9978       always_export_symbols=no
   9979       enable_shared_with_static_runtimes=yes
   9980       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9981 
   9982       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9983         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9984 	# If the export-symbols file already is a .def file (1st line
   9985 	# is EXPORTS), use it as is; otherwise, prepend...
   9986 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9987 	  cp $export_symbols $output_objdir/$soname.def;
   9988 	else
   9989 	  echo EXPORTS > $output_objdir/$soname.def;
   9990 	  cat $export_symbols >> $output_objdir/$soname.def;
   9991 	fi~
   9992 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9993       else
   9994 	ld_shlibs=no
   9995       fi
   9996       ;;
   9997 
   9998     haiku*)
   9999       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10000       link_all_deplibs=yes
   10001       ;;
   10002 
   10003     interix[3-9]*)
   10004       hardcode_direct=no
   10005       hardcode_shlibpath_var=no
   10006       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10007       export_dynamic_flag_spec='${wl}-E'
   10008       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   10009       # Instead, shared libraries are loaded at an image base (0x10000000 by
   10010       # default) and relocated if they conflict, which is a slow very memory
   10011       # consuming and fragmenting process.  To avoid this, we pick a random,
   10012       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   10013       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   10014       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   10015       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'
   10016       ;;
   10017 
   10018     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
   10019       tmp_diet=no
   10020       if test "$host_os" = linux-dietlibc; then
   10021 	case $cc_basename in
   10022 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   10023 	esac
   10024       fi
   10025       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   10026 	 && test "$tmp_diet" = no
   10027       then
   10028 	tmp_addflag=' $pic_flag'
   10029 	tmp_sharedflag='-shared'
   10030 	case $cc_basename,$host_cpu in
   10031         pgcc*)				# Portland Group C compiler
   10032 	  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'
   10033 	  tmp_addflag=' $pic_flag'
   10034 	  ;;
   10035 	pgf77* | pgf90* | pgf95* | pgfortran*)
   10036 					# Portland Group f77 and f90 compilers
   10037 	  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'
   10038 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   10039 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   10040 	  tmp_addflag=' -i_dynamic' ;;
   10041 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   10042 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   10043 	ifc* | ifort*)			# Intel Fortran compiler
   10044 	  tmp_addflag=' -nofor_main' ;;
   10045 	lf95*)				# Lahey Fortran 8.1
   10046 	  whole_archive_flag_spec=
   10047 	  tmp_sharedflag='--shared' ;;
   10048 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   10049 	  tmp_sharedflag='-qmkshrobj'
   10050 	  tmp_addflag= ;;
   10051 	nvcc*)	# Cuda Compiler Driver 2.2
   10052 	  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'
   10053 	  compiler_needs_object=yes
   10054 	  ;;
   10055 	esac
   10056 	case `$CC -V 2>&1 | sed 5q` in
   10057 	*Sun\ C*)			# Sun C 5.9
   10058 	  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'
   10059 	  compiler_needs_object=yes
   10060 	  tmp_sharedflag='-G' ;;
   10061 	*Sun\ F*)			# Sun Fortran 8.3
   10062 	  tmp_sharedflag='-G' ;;
   10063 	esac
   10064 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10065 
   10066         if test "x$supports_anon_versioning" = xyes; then
   10067           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10068 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10069 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   10070 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   10071         fi
   10072 
   10073 	case $cc_basename in
   10074 	xlf* | bgf* | bgxlf* | mpixlf*)
   10075 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   10076 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   10077 	  hardcode_libdir_flag_spec=
   10078 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   10079 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   10080 	  if test "x$supports_anon_versioning" = xyes; then
   10081 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   10082 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   10083 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   10084 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   10085 	  fi
   10086 	  ;;
   10087 	esac
   10088       else
   10089         ld_shlibs=no
   10090       fi
   10091       ;;
   10092 
   10093     netbsd*)
   10094       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10095 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   10096 	wlarc=
   10097       else
   10098 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10099 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10100       fi
   10101       ;;
   10102 
   10103     solaris*)
   10104       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   10105 	ld_shlibs=no
   10106 	cat <<_LT_EOF 1>&2
   10107 
   10108 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   10109 *** create shared libraries on Solaris systems.  Therefore, libtool
   10110 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10111 *** binutils to release 2.9.1 or newer.  Another option is to modify
   10112 *** your PATH or compiler configuration so that the native linker is
   10113 *** used, and then restart.
   10114 
   10115 _LT_EOF
   10116       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10117 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10118 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10119       else
   10120 	ld_shlibs=no
   10121       fi
   10122       ;;
   10123 
   10124     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   10125       case `$LD -v 2>&1` in
   10126         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   10127 	ld_shlibs=no
   10128 	cat <<_LT_EOF 1>&2
   10129 
   10130 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   10131 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   10132 *** is disabling shared libraries support.  We urge you to upgrade GNU
   10133 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   10134 *** your PATH or compiler configuration so that the native linker is
   10135 *** used, and then restart.
   10136 
   10137 _LT_EOF
   10138 	;;
   10139 	*)
   10140 	  # For security reasons, it is highly recommended that you always
   10141 	  # use absolute paths for naming shared libraries, and exclude the
   10142 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   10143 	  # requires that you compile everything twice, which is a pain.
   10144 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10145 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10146 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10147 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10148 	  else
   10149 	    ld_shlibs=no
   10150 	  fi
   10151 	;;
   10152       esac
   10153       ;;
   10154 
   10155     sunos4*)
   10156       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10157       wlarc=
   10158       hardcode_direct=yes
   10159       hardcode_shlibpath_var=no
   10160       ;;
   10161 
   10162     *)
   10163       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   10164 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10165 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   10166       else
   10167 	ld_shlibs=no
   10168       fi
   10169       ;;
   10170     esac
   10171 
   10172     if test "$ld_shlibs" = no; then
   10173       runpath_var=
   10174       hardcode_libdir_flag_spec=
   10175       export_dynamic_flag_spec=
   10176       whole_archive_flag_spec=
   10177     fi
   10178   else
   10179     # PORTME fill in a description of your system's linker (not GNU ld)
   10180     case $host_os in
   10181     aix3*)
   10182       allow_undefined_flag=unsupported
   10183       always_export_symbols=yes
   10184       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'
   10185       # Note: this linker hardcodes the directories in LIBPATH if there
   10186       # are no directories specified by -L.
   10187       hardcode_minus_L=yes
   10188       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   10189 	# Neither direct hardcoding nor static linking is supported with a
   10190 	# broken collect2.
   10191 	hardcode_direct=unsupported
   10192       fi
   10193       ;;
   10194 
   10195     aix[4-9]*)
   10196       if test "$host_cpu" = ia64; then
   10197 	# On IA64, the linker does run time linking by default, so we don't
   10198 	# have to do anything special.
   10199 	aix_use_runtimelinking=no
   10200 	exp_sym_flag='-Bexport'
   10201 	no_entry_flag=""
   10202       else
   10203 	# If we're using GNU nm, then we don't want the "-C" option.
   10204 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   10205 	# Also, AIX nm treats weak defined symbols like other global
   10206 	# defined symbols, whereas GNU nm marks them as "W".
   10207 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   10208 	  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'
   10209 	else
   10210 	  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'
   10211 	fi
   10212 	aix_use_runtimelinking=no
   10213 
   10214 	# Test if we are trying to use run time linking or normal
   10215 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   10216 	# need to do runtime linking.
   10217 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   10218 	  for ld_flag in $LDFLAGS; do
   10219 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   10220 	    aix_use_runtimelinking=yes
   10221 	    break
   10222 	  fi
   10223 	  done
   10224 	  ;;
   10225 	esac
   10226 
   10227 	exp_sym_flag='-bexport'
   10228 	no_entry_flag='-bnoentry'
   10229       fi
   10230 
   10231       # When large executables or shared objects are built, AIX ld can
   10232       # have problems creating the table of contents.  If linking a library
   10233       # or program results in "error TOC overflow" add -mminimal-toc to
   10234       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   10235       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   10236 
   10237       archive_cmds=''
   10238       hardcode_direct=yes
   10239       hardcode_direct_absolute=yes
   10240       hardcode_libdir_separator=':'
   10241       link_all_deplibs=yes
   10242       file_list_spec='${wl}-f,'
   10243 
   10244       if test "$GCC" = yes; then
   10245 	case $host_os in aix4.[012]|aix4.[012].*)
   10246 	# We only want to do this on AIX 4.2 and lower, the check
   10247 	# below for broken collect2 doesn't work under 4.3+
   10248 	  collect2name=`${CC} -print-prog-name=collect2`
   10249 	  if test -f "$collect2name" &&
   10250 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   10251 	  then
   10252 	  # We have reworked collect2
   10253 	  :
   10254 	  else
   10255 	  # We have old collect2
   10256 	  hardcode_direct=unsupported
   10257 	  # It fails to find uninstalled libraries when the uninstalled
   10258 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   10259 	  # to unsupported forces relinking
   10260 	  hardcode_minus_L=yes
   10261 	  hardcode_libdir_flag_spec='-L$libdir'
   10262 	  hardcode_libdir_separator=
   10263 	  fi
   10264 	  ;;
   10265 	esac
   10266 	shared_flag='-shared'
   10267 	if test "$aix_use_runtimelinking" = yes; then
   10268 	  shared_flag="$shared_flag "'${wl}-G'
   10269 	fi
   10270       else
   10271 	# not using gcc
   10272 	if test "$host_cpu" = ia64; then
   10273 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   10274 	# chokes on -Wl,-G. The following line is correct:
   10275 	  shared_flag='-G'
   10276 	else
   10277 	  if test "$aix_use_runtimelinking" = yes; then
   10278 	    shared_flag='${wl}-G'
   10279 	  else
   10280 	    shared_flag='${wl}-bM:SRE'
   10281 	  fi
   10282 	fi
   10283       fi
   10284 
   10285       export_dynamic_flag_spec='${wl}-bexpall'
   10286       # It seems that -bexpall does not export symbols beginning with
   10287       # underscore (_), so it is better to generate a list of symbols to export.
   10288       always_export_symbols=yes
   10289       if test "$aix_use_runtimelinking" = yes; then
   10290 	# Warning - without using the other runtime loading flags (-brtl),
   10291 	# -berok will link without error, but may produce a broken library.
   10292 	allow_undefined_flag='-berok'
   10293         # Determine the default libpath from the value encoded in an
   10294         # empty executable.
   10295         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10296 /* end confdefs.h.  */
   10297 
   10298 int
   10299 main ()
   10300 {
   10301 
   10302   ;
   10303   return 0;
   10304 }
   10305 _ACEOF
   10306 if ac_fn_c_try_link "$LINENO"; then :
   10307 
   10308 lt_aix_libpath_sed='
   10309     /Import File Strings/,/^$/ {
   10310 	/^0/ {
   10311 	    s/^0  *\(.*\)$/\1/
   10312 	    p
   10313 	}
   10314     }'
   10315 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10316 # Check for a 64-bit object if we didn't find anything.
   10317 if test -z "$aix_libpath"; then
   10318   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10319 fi
   10320 fi
   10321 rm -f core conftest.err conftest.$ac_objext \
   10322     conftest$ac_exeext conftest.$ac_ext
   10323 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10324 
   10325         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10326         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"
   10327       else
   10328 	if test "$host_cpu" = ia64; then
   10329 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   10330 	  allow_undefined_flag="-z nodefs"
   10331 	  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"
   10332 	else
   10333 	 # Determine the default libpath from the value encoded in an
   10334 	 # empty executable.
   10335 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10336 /* end confdefs.h.  */
   10337 
   10338 int
   10339 main ()
   10340 {
   10341 
   10342   ;
   10343   return 0;
   10344 }
   10345 _ACEOF
   10346 if ac_fn_c_try_link "$LINENO"; then :
   10347 
   10348 lt_aix_libpath_sed='
   10349     /Import File Strings/,/^$/ {
   10350 	/^0/ {
   10351 	    s/^0  *\(.*\)$/\1/
   10352 	    p
   10353 	}
   10354     }'
   10355 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10356 # Check for a 64-bit object if we didn't find anything.
   10357 if test -z "$aix_libpath"; then
   10358   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   10359 fi
   10360 fi
   10361 rm -f core conftest.err conftest.$ac_objext \
   10362     conftest$ac_exeext conftest.$ac_ext
   10363 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   10364 
   10365 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   10366 	  # Warning - without using the other run time loading flags,
   10367 	  # -berok will link without error, but may produce a broken library.
   10368 	  no_undefined_flag=' ${wl}-bernotok'
   10369 	  allow_undefined_flag=' ${wl}-berok'
   10370 	  if test "$with_gnu_ld" = yes; then
   10371 	    # We only use this code for GNU lds that support --whole-archive.
   10372 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   10373 	  else
   10374 	    # Exported symbols can be pulled into shared objects from archives
   10375 	    whole_archive_flag_spec='$convenience'
   10376 	  fi
   10377 	  archive_cmds_need_lc=yes
   10378 	  # This is similar to how AIX traditionally builds its shared libraries.
   10379 	  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'
   10380 	fi
   10381       fi
   10382       ;;
   10383 
   10384     amigaos*)
   10385       case $host_cpu in
   10386       powerpc)
   10387             # see comment about AmigaOS4 .so support
   10388             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   10389             archive_expsym_cmds=''
   10390         ;;
   10391       m68k)
   10392             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)'
   10393             hardcode_libdir_flag_spec='-L$libdir'
   10394             hardcode_minus_L=yes
   10395         ;;
   10396       esac
   10397       ;;
   10398 
   10399     bsdi[45]*)
   10400       export_dynamic_flag_spec=-rdynamic
   10401       ;;
   10402 
   10403     cygwin* | mingw* | pw32* | cegcc*)
   10404       # When not using gcc, we currently assume that we are using
   10405       # Microsoft Visual C++.
   10406       # hardcode_libdir_flag_spec is actually meaningless, as there is
   10407       # no search path for DLLs.
   10408       hardcode_libdir_flag_spec=' '
   10409       allow_undefined_flag=unsupported
   10410       # Tell ltmain to make .lib files, not .a files.
   10411       libext=lib
   10412       # Tell ltmain to make .dll files, not .so files.
   10413       shrext_cmds=".dll"
   10414       # FIXME: Setting linknames here is a bad hack.
   10415       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   10416       # The linker will automatically build a .lib file if we build a DLL.
   10417       old_archive_from_new_cmds='true'
   10418       # FIXME: Should let the user specify the lib program.
   10419       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   10420       fix_srcfile_path='`cygpath -w "$srcfile"`'
   10421       enable_shared_with_static_runtimes=yes
   10422       ;;
   10423 
   10424     darwin* | rhapsody*)
   10425 
   10426 
   10427   archive_cmds_need_lc=no
   10428   hardcode_direct=no
   10429   hardcode_automatic=yes
   10430   hardcode_shlibpath_var=unsupported
   10431   if test "$lt_cv_ld_force_load" = "yes"; then
   10432     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\"`'
   10433   else
   10434     whole_archive_flag_spec=''
   10435   fi
   10436   link_all_deplibs=yes
   10437   allow_undefined_flag="$_lt_dar_allow_undefined"
   10438   case $cc_basename in
   10439      ifort*) _lt_dar_can_shared=yes ;;
   10440      *) _lt_dar_can_shared=$GCC ;;
   10441   esac
   10442   if test "$_lt_dar_can_shared" = "yes"; then
   10443     output_verbose_link_cmd=func_echo_all
   10444     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   10445     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   10446     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}"
   10447     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}"
   10448 
   10449   else
   10450   ld_shlibs=no
   10451   fi
   10452 
   10453       ;;
   10454 
   10455     dgux*)
   10456       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10457       hardcode_libdir_flag_spec='-L$libdir'
   10458       hardcode_shlibpath_var=no
   10459       ;;
   10460 
   10461     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   10462     # support.  Future versions do this automatically, but an explicit c++rt0.o
   10463     # does not break anything, and helps significantly (at the cost of a little
   10464     # extra space).
   10465     freebsd2.2*)
   10466       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   10467       hardcode_libdir_flag_spec='-R$libdir'
   10468       hardcode_direct=yes
   10469       hardcode_shlibpath_var=no
   10470       ;;
   10471 
   10472     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   10473     freebsd2.*)
   10474       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10475       hardcode_direct=yes
   10476       hardcode_minus_L=yes
   10477       hardcode_shlibpath_var=no
   10478       ;;
   10479 
   10480     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   10481     freebsd* | dragonfly*)
   10482       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   10483       hardcode_libdir_flag_spec='-R$libdir'
   10484       hardcode_direct=yes
   10485       hardcode_shlibpath_var=no
   10486       ;;
   10487 
   10488     hpux9*)
   10489       if test "$GCC" = yes; then
   10490 	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'
   10491       else
   10492 	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'
   10493       fi
   10494       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10495       hardcode_libdir_separator=:
   10496       hardcode_direct=yes
   10497 
   10498       # hardcode_minus_L: Not really in the search PATH,
   10499       # but as the default location of the library.
   10500       hardcode_minus_L=yes
   10501       export_dynamic_flag_spec='${wl}-E'
   10502       ;;
   10503 
   10504     hpux10*)
   10505       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10506 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10507       else
   10508 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10509       fi
   10510       if test "$with_gnu_ld" = no; then
   10511 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10512 	hardcode_libdir_flag_spec_ld='+b $libdir'
   10513 	hardcode_libdir_separator=:
   10514 	hardcode_direct=yes
   10515 	hardcode_direct_absolute=yes
   10516 	export_dynamic_flag_spec='${wl}-E'
   10517 	# hardcode_minus_L: Not really in the search PATH,
   10518 	# but as the default location of the library.
   10519 	hardcode_minus_L=yes
   10520       fi
   10521       ;;
   10522 
   10523     hpux11*)
   10524       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   10525 	case $host_cpu in
   10526 	hppa*64*)
   10527 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10528 	  ;;
   10529 	ia64*)
   10530 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10531 	  ;;
   10532 	*)
   10533 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10534 	  ;;
   10535 	esac
   10536       else
   10537 	case $host_cpu in
   10538 	hppa*64*)
   10539 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10540 	  ;;
   10541 	ia64*)
   10542 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   10543 	  ;;
   10544 	*)
   10545 
   10546 	  # Older versions of the 11.00 compiler do not understand -b yet
   10547 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   10548 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   10549 $as_echo_n "checking if $CC understands -b... " >&6; }
   10550 if ${lt_cv_prog_compiler__b+:} false; then :
   10551   $as_echo_n "(cached) " >&6
   10552 else
   10553   lt_cv_prog_compiler__b=no
   10554    save_LDFLAGS="$LDFLAGS"
   10555    LDFLAGS="$LDFLAGS -b"
   10556    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10557    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10558      # The linker can only warn and ignore the option if not recognized
   10559      # So say no if there are warnings
   10560      if test -s conftest.err; then
   10561        # Append any errors to the config.log.
   10562        cat conftest.err 1>&5
   10563        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10564        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10565        if diff conftest.exp conftest.er2 >/dev/null; then
   10566          lt_cv_prog_compiler__b=yes
   10567        fi
   10568      else
   10569        lt_cv_prog_compiler__b=yes
   10570      fi
   10571    fi
   10572    $RM -r conftest*
   10573    LDFLAGS="$save_LDFLAGS"
   10574 
   10575 fi
   10576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10577 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10578 
   10579 if test x"$lt_cv_prog_compiler__b" = xyes; then
   10580     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10581 else
   10582     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10583 fi
   10584 
   10585 	  ;;
   10586 	esac
   10587       fi
   10588       if test "$with_gnu_ld" = no; then
   10589 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   10590 	hardcode_libdir_separator=:
   10591 
   10592 	case $host_cpu in
   10593 	hppa*64*|ia64*)
   10594 	  hardcode_direct=no
   10595 	  hardcode_shlibpath_var=no
   10596 	  ;;
   10597 	*)
   10598 	  hardcode_direct=yes
   10599 	  hardcode_direct_absolute=yes
   10600 	  export_dynamic_flag_spec='${wl}-E'
   10601 
   10602 	  # hardcode_minus_L: Not really in the search PATH,
   10603 	  # but as the default location of the library.
   10604 	  hardcode_minus_L=yes
   10605 	  ;;
   10606 	esac
   10607       fi
   10608       ;;
   10609 
   10610     irix5* | irix6* | nonstopux*)
   10611       if test "$GCC" = yes; then
   10612 	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'
   10613 	# Try to use the -exported_symbol ld option, if it does not
   10614 	# work, assume that -exports_file does not work either and
   10615 	# implicitly export all symbols.
   10616         save_LDFLAGS="$LDFLAGS"
   10617         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   10618         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10619 /* end confdefs.h.  */
   10620 int foo(void) {}
   10621 _ACEOF
   10622 if ac_fn_c_try_link "$LINENO"; then :
   10623   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'
   10624 
   10625 fi
   10626 rm -f core conftest.err conftest.$ac_objext \
   10627     conftest$ac_exeext conftest.$ac_ext
   10628         LDFLAGS="$save_LDFLAGS"
   10629       else
   10630 	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'
   10631 	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'
   10632       fi
   10633       archive_cmds_need_lc='no'
   10634       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10635       hardcode_libdir_separator=:
   10636       inherit_rpath=yes
   10637       link_all_deplibs=yes
   10638       ;;
   10639 
   10640     netbsd*)
   10641       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10642 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10643       else
   10644 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10645       fi
   10646       hardcode_libdir_flag_spec='-R$libdir'
   10647       hardcode_direct=yes
   10648       hardcode_shlibpath_var=no
   10649       ;;
   10650 
   10651     newsos6)
   10652       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10653       hardcode_direct=yes
   10654       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10655       hardcode_libdir_separator=:
   10656       hardcode_shlibpath_var=no
   10657       ;;
   10658 
   10659     *nto* | *qnx*)
   10660       ;;
   10661 
   10662     openbsd*)
   10663       if test -f /usr/libexec/ld.so; then
   10664 	hardcode_direct=yes
   10665 	hardcode_shlibpath_var=no
   10666 	hardcode_direct_absolute=yes
   10667 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10668 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10669 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   10670 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10671 	  export_dynamic_flag_spec='${wl}-E'
   10672 	else
   10673 	  case $host_os in
   10674 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   10675 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   10676 	     hardcode_libdir_flag_spec='-R$libdir'
   10677 	     ;;
   10678 	   *)
   10679 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10680 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   10681 	     ;;
   10682 	  esac
   10683 	fi
   10684       else
   10685 	ld_shlibs=no
   10686       fi
   10687       ;;
   10688 
   10689     os2*)
   10690       hardcode_libdir_flag_spec='-L$libdir'
   10691       hardcode_minus_L=yes
   10692       allow_undefined_flag=unsupported
   10693       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'
   10694       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   10695       ;;
   10696 
   10697     osf3*)
   10698       if test "$GCC" = yes; then
   10699 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10700 	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'
   10701       else
   10702 	allow_undefined_flag=' -expect_unresolved \*'
   10703 	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'
   10704       fi
   10705       archive_cmds_need_lc='no'
   10706       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10707       hardcode_libdir_separator=:
   10708       ;;
   10709 
   10710     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10711       if test "$GCC" = yes; then
   10712 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   10713 	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'
   10714 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   10715       else
   10716 	allow_undefined_flag=' -expect_unresolved \*'
   10717 	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'
   10718 	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~
   10719 	$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'
   10720 
   10721 	# Both c and cxx compiler support -rpath directly
   10722 	hardcode_libdir_flag_spec='-rpath $libdir'
   10723       fi
   10724       archive_cmds_need_lc='no'
   10725       hardcode_libdir_separator=:
   10726       ;;
   10727 
   10728     solaris*)
   10729       no_undefined_flag=' -z defs'
   10730       if test "$GCC" = yes; then
   10731 	wlarc='${wl}'
   10732 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   10733 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10734 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10735       else
   10736 	case `$CC -V 2>&1` in
   10737 	*"Compilers 5.0"*)
   10738 	  wlarc=''
   10739 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10740 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10741 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10742 	  ;;
   10743 	*)
   10744 	  wlarc='${wl}'
   10745 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10746 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10747 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10748 	  ;;
   10749 	esac
   10750       fi
   10751       hardcode_libdir_flag_spec='-R$libdir'
   10752       hardcode_shlibpath_var=no
   10753       case $host_os in
   10754       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10755       *)
   10756 	# The compiler driver will combine and reorder linker options,
   10757 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10758 	# but is careful enough not to reorder.
   10759 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10760 	if test "$GCC" = yes; then
   10761 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10762 	else
   10763 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10764 	fi
   10765 	;;
   10766       esac
   10767       link_all_deplibs=yes
   10768       ;;
   10769 
   10770     sunos4*)
   10771       if test "x$host_vendor" = xsequent; then
   10772 	# Use $CC to link under sequent, because it throws in some extra .o
   10773 	# files that make .init and .fini sections work.
   10774 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10775       else
   10776 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10777       fi
   10778       hardcode_libdir_flag_spec='-L$libdir'
   10779       hardcode_direct=yes
   10780       hardcode_minus_L=yes
   10781       hardcode_shlibpath_var=no
   10782       ;;
   10783 
   10784     sysv4)
   10785       case $host_vendor in
   10786 	sni)
   10787 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10788 	  hardcode_direct=yes # is this really true???
   10789 	;;
   10790 	siemens)
   10791 	  ## LD is ld it makes a PLAMLIB
   10792 	  ## CC just makes a GrossModule.
   10793 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10794 	  reload_cmds='$CC -r -o $output$reload_objs'
   10795 	  hardcode_direct=no
   10796         ;;
   10797 	motorola)
   10798 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10799 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10800 	;;
   10801       esac
   10802       runpath_var='LD_RUN_PATH'
   10803       hardcode_shlibpath_var=no
   10804       ;;
   10805 
   10806     sysv4.3*)
   10807       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10808       hardcode_shlibpath_var=no
   10809       export_dynamic_flag_spec='-Bexport'
   10810       ;;
   10811 
   10812     sysv4*MP*)
   10813       if test -d /usr/nec; then
   10814 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10815 	hardcode_shlibpath_var=no
   10816 	runpath_var=LD_RUN_PATH
   10817 	hardcode_runpath_var=yes
   10818 	ld_shlibs=yes
   10819       fi
   10820       ;;
   10821 
   10822     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10823       no_undefined_flag='${wl}-z,text'
   10824       archive_cmds_need_lc=no
   10825       hardcode_shlibpath_var=no
   10826       runpath_var='LD_RUN_PATH'
   10827 
   10828       if test "$GCC" = yes; then
   10829 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10830 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10831       else
   10832 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10833 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10834       fi
   10835       ;;
   10836 
   10837     sysv5* | sco3.2v5* | sco5v6*)
   10838       # Note: We can NOT use -z defs as we might desire, because we do not
   10839       # link with -lc, and that would cause any symbols used from libc to
   10840       # always be unresolved, which means just about no library would
   10841       # ever link correctly.  If we're not using GNU ld we use -z text
   10842       # though, which does catch some bad symbols but isn't as heavy-handed
   10843       # as -z defs.
   10844       no_undefined_flag='${wl}-z,text'
   10845       allow_undefined_flag='${wl}-z,nodefs'
   10846       archive_cmds_need_lc=no
   10847       hardcode_shlibpath_var=no
   10848       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10849       hardcode_libdir_separator=':'
   10850       link_all_deplibs=yes
   10851       export_dynamic_flag_spec='${wl}-Bexport'
   10852       runpath_var='LD_RUN_PATH'
   10853 
   10854       if test "$GCC" = yes; then
   10855 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10856 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10857       else
   10858 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10859 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10860       fi
   10861       ;;
   10862 
   10863     uts4*)
   10864       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10865       hardcode_libdir_flag_spec='-L$libdir'
   10866       hardcode_shlibpath_var=no
   10867       ;;
   10868 
   10869     *)
   10870       ld_shlibs=no
   10871       ;;
   10872     esac
   10873 
   10874     if test x$host_vendor = xsni; then
   10875       case $host in
   10876       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10877 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10878 	;;
   10879       esac
   10880     fi
   10881   fi
   10882 
   10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10884 $as_echo "$ld_shlibs" >&6; }
   10885 test "$ld_shlibs" = no && can_build_shared=no
   10886 
   10887 with_gnu_ld=$with_gnu_ld
   10888 
   10889 
   10890 
   10891 
   10892 
   10893 
   10894 
   10895 
   10896 
   10897 
   10898 
   10899 
   10900 
   10901 
   10902 
   10903 #
   10904 # Do we need to explicitly link libc?
   10905 #
   10906 case "x$archive_cmds_need_lc" in
   10907 x|xyes)
   10908   # Assume -lc should be added
   10909   archive_cmds_need_lc=yes
   10910 
   10911   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10912     case $archive_cmds in
   10913     *'~'*)
   10914       # FIXME: we may have to deal with multi-command sequences.
   10915       ;;
   10916     '$CC '*)
   10917       # Test whether the compiler implicitly links with -lc since on some
   10918       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10919       # to ld, don't add -lc before -lgcc.
   10920       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10921 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10922 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10923   $as_echo_n "(cached) " >&6
   10924 else
   10925   $RM conftest*
   10926 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10927 
   10928 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10929   (eval $ac_compile) 2>&5
   10930   ac_status=$?
   10931   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10932   test $ac_status = 0; } 2>conftest.err; then
   10933 	  soname=conftest
   10934 	  lib=conftest
   10935 	  libobjs=conftest.$ac_objext
   10936 	  deplibs=
   10937 	  wl=$lt_prog_compiler_wl
   10938 	  pic_flag=$lt_prog_compiler_pic
   10939 	  compiler_flags=-v
   10940 	  linker_flags=-v
   10941 	  verstring=
   10942 	  output_objdir=.
   10943 	  libname=conftest
   10944 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10945 	  allow_undefined_flag=
   10946 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10947   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10948   ac_status=$?
   10949   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10950   test $ac_status = 0; }
   10951 	  then
   10952 	    lt_cv_archive_cmds_need_lc=no
   10953 	  else
   10954 	    lt_cv_archive_cmds_need_lc=yes
   10955 	  fi
   10956 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10957 	else
   10958 	  cat conftest.err 1>&5
   10959 	fi
   10960 	$RM conftest*
   10961 
   10962 fi
   10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10964 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10965       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10966       ;;
   10967     esac
   10968   fi
   10969   ;;
   10970 esac
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 
   10990 
   10991 
   10992 
   10993 
   10994 
   10995 
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 
   11011 
   11012 
   11013 
   11014 
   11015 
   11016 
   11017 
   11018 
   11019 
   11020 
   11021 
   11022 
   11023 
   11024 
   11025 
   11026 
   11027 
   11028 
   11029 
   11030 
   11031 
   11032 
   11033 
   11034 
   11035 
   11036 
   11037 
   11038 
   11039 
   11040 
   11041 
   11042 
   11043 
   11044 
   11045 
   11046 
   11047 
   11048 
   11049 
   11050 
   11051 
   11052 
   11053 
   11054 
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 
   11067 
   11068 
   11069 
   11070 
   11071 
   11072 
   11073 
   11074 
   11075 
   11076 
   11077 
   11078 
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 
   11095 
   11096 
   11097 
   11098 
   11099 
   11100 
   11101 
   11102 
   11103 
   11104 
   11105 
   11106 
   11107 
   11108 
   11109 
   11110 
   11111 
   11112 
   11113 
   11114 
   11115 
   11116 
   11117 
   11118 
   11119 
   11120 
   11121 
   11122 
   11123 
   11124 
   11125 
   11126 
   11127 
   11128   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   11129 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   11130 
   11131 if test "$GCC" = yes; then
   11132   case $host_os in
   11133     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   11134     *) lt_awk_arg="/^libraries:/" ;;
   11135   esac
   11136   case $host_os in
   11137     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   11138     *) lt_sed_strip_eq="s,=/,/,g" ;;
   11139   esac
   11140   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   11141   case $lt_search_path_spec in
   11142   *\;*)
   11143     # if the path contains ";" then we assume it to be the separator
   11144     # otherwise default to the standard path separator (i.e. ":") - it is
   11145     # assumed that no part of a normal pathname contains ";" but that should
   11146     # okay in the real world where ";" in dirpaths is itself problematic.
   11147     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   11148     ;;
   11149   *)
   11150     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   11151     ;;
   11152   esac
   11153   # Ok, now we have the path, separated by spaces, we can step through it
   11154   # and add multilib dir if necessary.
   11155   lt_tmp_lt_search_path_spec=
   11156   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   11157   for lt_sys_path in $lt_search_path_spec; do
   11158     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   11159       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   11160     else
   11161       test -d "$lt_sys_path" && \
   11162 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   11163     fi
   11164   done
   11165   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   11166 BEGIN {RS=" "; FS="/|\n";} {
   11167   lt_foo="";
   11168   lt_count=0;
   11169   for (lt_i = NF; lt_i > 0; lt_i--) {
   11170     if ($lt_i != "" && $lt_i != ".") {
   11171       if ($lt_i == "..") {
   11172         lt_count++;
   11173       } else {
   11174         if (lt_count == 0) {
   11175           lt_foo="/" $lt_i lt_foo;
   11176         } else {
   11177           lt_count--;
   11178         }
   11179       }
   11180     }
   11181   }
   11182   if (lt_foo != "") { lt_freq[lt_foo]++; }
   11183   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   11184 }'`
   11185   # AWK program above erroneously prepends '/' to C:/dos/paths
   11186   # for these hosts.
   11187   case $host_os in
   11188     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   11189       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   11190   esac
   11191   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   11192 else
   11193   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11194 fi
   11195 library_names_spec=
   11196 libname_spec='lib$name'
   11197 soname_spec=
   11198 shrext_cmds=".so"
   11199 postinstall_cmds=
   11200 postuninstall_cmds=
   11201 finish_cmds=
   11202 finish_eval=
   11203 shlibpath_var=
   11204 shlibpath_overrides_runpath=unknown
   11205 version_type=none
   11206 dynamic_linker="$host_os ld.so"
   11207 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   11208 need_lib_prefix=unknown
   11209 hardcode_into_libs=no
   11210 
   11211 # when you set need_version to no, make sure it does not cause -set_version
   11212 # flags to be left without arguments
   11213 need_version=unknown
   11214 
   11215 case $host_os in
   11216 aix3*)
   11217   version_type=linux
   11218   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   11219   shlibpath_var=LIBPATH
   11220 
   11221   # AIX 3 has no versioning support, so we append a major version to the name.
   11222   soname_spec='${libname}${release}${shared_ext}$major'
   11223   ;;
   11224 
   11225 aix[4-9]*)
   11226   version_type=linux
   11227   need_lib_prefix=no
   11228   need_version=no
   11229   hardcode_into_libs=yes
   11230   if test "$host_cpu" = ia64; then
   11231     # AIX 5 supports IA64
   11232     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   11233     shlibpath_var=LD_LIBRARY_PATH
   11234   else
   11235     # With GCC up to 2.95.x, collect2 would create an import file
   11236     # for dependence libraries.  The import file would start with
   11237     # the line `#! .'.  This would cause the generated library to
   11238     # depend on `.', always an invalid library.  This was fixed in
   11239     # development snapshots of GCC prior to 3.0.
   11240     case $host_os in
   11241       aix4 | aix4.[01] | aix4.[01].*)
   11242       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   11243 	   echo ' yes '
   11244 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   11245 	:
   11246       else
   11247 	can_build_shared=no
   11248       fi
   11249       ;;
   11250     esac
   11251     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   11252     # soname into executable. Probably we can add versioning support to
   11253     # collect2, so additional links can be useful in future.
   11254     if test "$aix_use_runtimelinking" = yes; then
   11255       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   11256       # instead of lib<name>.a to let people know that these are not
   11257       # typical AIX shared libraries.
   11258       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11259     else
   11260       # We preserve .a as extension for shared libraries through AIX4.2
   11261       # and later when we are not doing run time linking.
   11262       library_names_spec='${libname}${release}.a $libname.a'
   11263       soname_spec='${libname}${release}${shared_ext}$major'
   11264     fi
   11265     shlibpath_var=LIBPATH
   11266   fi
   11267   ;;
   11268 
   11269 amigaos*)
   11270   case $host_cpu in
   11271   powerpc)
   11272     # Since July 2007 AmigaOS4 officially supports .so libraries.
   11273     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   11274     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11275     ;;
   11276   m68k)
   11277     library_names_spec='$libname.ixlibrary $libname.a'
   11278     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   11279     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'
   11280     ;;
   11281   esac
   11282   ;;
   11283 
   11284 beos*)
   11285   library_names_spec='${libname}${shared_ext}'
   11286   dynamic_linker="$host_os ld.so"
   11287   shlibpath_var=LIBRARY_PATH
   11288   ;;
   11289 
   11290 bsdi[45]*)
   11291   version_type=linux
   11292   need_version=no
   11293   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11294   soname_spec='${libname}${release}${shared_ext}$major'
   11295   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   11296   shlibpath_var=LD_LIBRARY_PATH
   11297   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   11298   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   11299   # the default ld.so.conf also contains /usr/contrib/lib and
   11300   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   11301   # libtool to hard-code these into programs
   11302   ;;
   11303 
   11304 cygwin* | mingw* | pw32* | cegcc*)
   11305   version_type=windows
   11306   shrext_cmds=".dll"
   11307   need_version=no
   11308   need_lib_prefix=no
   11309 
   11310   case $GCC,$host_os in
   11311   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   11312     library_names_spec='$libname.dll.a'
   11313     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   11314     postinstall_cmds='base_file=`basename \${file}`~
   11315       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   11316       dldir=$destdir/`dirname \$dlpath`~
   11317       test -d \$dldir || mkdir -p \$dldir~
   11318       $install_prog $dir/$dlname \$dldir/$dlname~
   11319       chmod a+x \$dldir/$dlname~
   11320       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11321         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11322       fi'
   11323     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   11324       dlpath=$dir/\$dldll~
   11325        $RM \$dlpath'
   11326     shlibpath_overrides_runpath=yes
   11327 
   11328     case $host_os in
   11329     cygwin*)
   11330       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   11331       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11332 
   11333       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   11334       ;;
   11335     mingw* | cegcc*)
   11336       # MinGW DLLs use traditional 'lib' prefix
   11337       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11338       ;;
   11339     pw32*)
   11340       # pw32 DLLs use 'pw' prefix rather than 'lib'
   11341       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   11342       ;;
   11343     esac
   11344     ;;
   11345 
   11346   *)
   11347     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   11348     ;;
   11349   esac
   11350   dynamic_linker='Win32 ld.exe'
   11351   # FIXME: first we should search . and the directory the executable is in
   11352   shlibpath_var=PATH
   11353   ;;
   11354 
   11355 darwin* | rhapsody*)
   11356   dynamic_linker="$host_os dyld"
   11357   version_type=darwin
   11358   need_lib_prefix=no
   11359   need_version=no
   11360   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   11361   soname_spec='${libname}${release}${major}$shared_ext'
   11362   shlibpath_overrides_runpath=yes
   11363   shlibpath_var=DYLD_LIBRARY_PATH
   11364   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   11365 
   11366   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   11367   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   11368   ;;
   11369 
   11370 dgux*)
   11371   version_type=linux
   11372   need_lib_prefix=no
   11373   need_version=no
   11374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   11375   soname_spec='${libname}${release}${shared_ext}$major'
   11376   shlibpath_var=LD_LIBRARY_PATH
   11377   ;;
   11378 
   11379 freebsd* | dragonfly*)
   11380   # DragonFly does not have aout.  When/if they implement a new
   11381   # versioning mechanism, adjust this.
   11382   if test -x /usr/bin/objformat; then
   11383     objformat=`/usr/bin/objformat`
   11384   else
   11385     case $host_os in
   11386     freebsd[23].*) objformat=aout ;;
   11387     *) objformat=elf ;;
   11388     esac
   11389   fi
   11390   version_type=freebsd-$objformat
   11391   case $version_type in
   11392     freebsd-elf*)
   11393       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11394       need_version=no
   11395       need_lib_prefix=no
   11396       ;;
   11397     freebsd-*)
   11398       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   11399       need_version=yes
   11400       ;;
   11401   esac
   11402   shlibpath_var=LD_LIBRARY_PATH
   11403   case $host_os in
   11404   freebsd2.*)
   11405     shlibpath_overrides_runpath=yes
   11406     ;;
   11407   freebsd3.[01]* | freebsdelf3.[01]*)
   11408     shlibpath_overrides_runpath=yes
   11409     hardcode_into_libs=yes
   11410     ;;
   11411   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11412   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11413     shlibpath_overrides_runpath=no
   11414     hardcode_into_libs=yes
   11415     ;;
   11416   *) # from 4.6 on, and DragonFly
   11417     shlibpath_overrides_runpath=yes
   11418     hardcode_into_libs=yes
   11419     ;;
   11420   esac
   11421   ;;
   11422 
   11423 haiku*)
   11424   version_type=linux
   11425   need_lib_prefix=no
   11426   need_version=no
   11427   dynamic_linker="$host_os runtime_loader"
   11428   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   11429   soname_spec='${libname}${release}${shared_ext}$major'
   11430   shlibpath_var=LIBRARY_PATH
   11431   shlibpath_overrides_runpath=yes
   11432   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11433   hardcode_into_libs=yes
   11434   ;;
   11435 
   11436 hpux9* | hpux10* | hpux11*)
   11437   # Give a soname corresponding to the major version so that dld.sl refuses to
   11438   # link against other versions.
   11439   version_type=sunos
   11440   need_lib_prefix=no
   11441   need_version=no
   11442   case $host_cpu in
   11443   ia64*)
   11444     shrext_cmds='.so'
   11445     hardcode_into_libs=yes
   11446     dynamic_linker="$host_os dld.so"
   11447     shlibpath_var=LD_LIBRARY_PATH
   11448     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11449     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11450     soname_spec='${libname}${release}${shared_ext}$major'
   11451     if test "X$HPUX_IA64_MODE" = X32; then
   11452       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11453     else
   11454       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11455     fi
   11456     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11457     ;;
   11458   hppa*64*)
   11459     shrext_cmds='.sl'
   11460     hardcode_into_libs=yes
   11461     dynamic_linker="$host_os dld.sl"
   11462     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11463     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11465     soname_spec='${libname}${release}${shared_ext}$major'
   11466     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11467     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11468     ;;
   11469   *)
   11470     shrext_cmds='.sl'
   11471     dynamic_linker="$host_os dld.sl"
   11472     shlibpath_var=SHLIB_PATH
   11473     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11474     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11475     soname_spec='${libname}${release}${shared_ext}$major'
   11476     ;;
   11477   esac
   11478   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11479   postinstall_cmds='chmod 555 $lib'
   11480   # or fails outright, so override atomically:
   11481   install_override_mode=555
   11482   ;;
   11483 
   11484 interix[3-9]*)
   11485   version_type=linux
   11486   need_lib_prefix=no
   11487   need_version=no
   11488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11489   soname_spec='${libname}${release}${shared_ext}$major'
   11490   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11491   shlibpath_var=LD_LIBRARY_PATH
   11492   shlibpath_overrides_runpath=no
   11493   hardcode_into_libs=yes
   11494   ;;
   11495 
   11496 irix5* | irix6* | nonstopux*)
   11497   case $host_os in
   11498     nonstopux*) version_type=nonstopux ;;
   11499     *)
   11500 	if test "$lt_cv_prog_gnu_ld" = yes; then
   11501 		version_type=linux
   11502 	else
   11503 		version_type=irix
   11504 	fi ;;
   11505   esac
   11506   need_lib_prefix=no
   11507   need_version=no
   11508   soname_spec='${libname}${release}${shared_ext}$major'
   11509   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   11510   case $host_os in
   11511   irix5* | nonstopux*)
   11512     libsuff= shlibsuff=
   11513     ;;
   11514   *)
   11515     case $LD in # libtool.m4 will add one of these switches to LD
   11516     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11517       libsuff= shlibsuff= libmagic=32-bit;;
   11518     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11519       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11520     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11521       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11522     *) libsuff= shlibsuff= libmagic=never-match;;
   11523     esac
   11524     ;;
   11525   esac
   11526   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11527   shlibpath_overrides_runpath=no
   11528   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   11529   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   11530   hardcode_into_libs=yes
   11531   ;;
   11532 
   11533 # No shared lib support for Linux oldld, aout, or coff.
   11534 linux*oldld* | linux*aout* | linux*coff*)
   11535   dynamic_linker=no
   11536   ;;
   11537 
   11538 # This must be Linux ELF.
   11539 
   11540 # uclinux* changes (here and below) have been submitted to the libtool
   11541 # project, but have not yet been accepted: they are GCC-local changes
   11542 # for the time being.  (See
   11543 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   11544 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   11545   version_type=linux
   11546   need_lib_prefix=no
   11547   need_version=no
   11548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11549   soname_spec='${libname}${release}${shared_ext}$major'
   11550   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11551   shlibpath_var=LD_LIBRARY_PATH
   11552   shlibpath_overrides_runpath=no
   11553 
   11554   # Some binutils ld are patched to set DT_RUNPATH
   11555   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11556   $as_echo_n "(cached) " >&6
   11557 else
   11558   lt_cv_shlibpath_overrides_runpath=no
   11559     save_LDFLAGS=$LDFLAGS
   11560     save_libdir=$libdir
   11561     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11562 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11563     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11564 /* end confdefs.h.  */
   11565 
   11566 int
   11567 main ()
   11568 {
   11569 
   11570   ;
   11571   return 0;
   11572 }
   11573 _ACEOF
   11574 if ac_fn_c_try_link "$LINENO"; then :
   11575   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11576   lt_cv_shlibpath_overrides_runpath=yes
   11577 fi
   11578 fi
   11579 rm -f core conftest.err conftest.$ac_objext \
   11580     conftest$ac_exeext conftest.$ac_ext
   11581     LDFLAGS=$save_LDFLAGS
   11582     libdir=$save_libdir
   11583 
   11584 fi
   11585 
   11586   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11587 
   11588   # This implies no fast_install, which is unacceptable.
   11589   # Some rework will be needed to allow for fast_install
   11590   # before this can be enabled.
   11591   hardcode_into_libs=yes
   11592 
   11593   # Append ld.so.conf contents to the search path
   11594   if test -f /etc/ld.so.conf; then
   11595     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' ' '`
   11596     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11597   fi
   11598 
   11599   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11600   # powerpc, because MkLinux only supported shared libraries with the
   11601   # GNU dynamic linker.  Since this was broken with cross compilers,
   11602   # most powerpc-linux boxes support dynamic linking these days and
   11603   # people can always --disable-shared, the test was removed, and we
   11604   # assume the GNU/Linux dynamic linker is in use.
   11605   dynamic_linker='GNU/Linux ld.so'
   11606   ;;
   11607 
   11608 netbsd*)
   11609   version_type=sunos
   11610   need_lib_prefix=no
   11611   need_version=no
   11612   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11613     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11614     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11615     dynamic_linker='NetBSD (a.out) ld.so'
   11616   else
   11617     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   11618     soname_spec='${libname}${release}${shared_ext}$major'
   11619     dynamic_linker='NetBSD ld.elf_so'
   11620   fi
   11621   shlibpath_var=LD_LIBRARY_PATH
   11622   shlibpath_overrides_runpath=yes
   11623   hardcode_into_libs=yes
   11624   ;;
   11625 
   11626 newsos6)
   11627   version_type=linux
   11628   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11629   shlibpath_var=LD_LIBRARY_PATH
   11630   shlibpath_overrides_runpath=yes
   11631   ;;
   11632 
   11633 *nto* | *qnx*)
   11634   version_type=qnx
   11635   need_lib_prefix=no
   11636   need_version=no
   11637   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11638   soname_spec='${libname}${release}${shared_ext}$major'
   11639   shlibpath_var=LD_LIBRARY_PATH
   11640   shlibpath_overrides_runpath=no
   11641   hardcode_into_libs=yes
   11642   dynamic_linker='ldqnx.so'
   11643   ;;
   11644 
   11645 openbsd*)
   11646   version_type=sunos
   11647   sys_lib_dlsearch_path_spec="/usr/lib"
   11648   need_lib_prefix=no
   11649   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   11650   case $host_os in
   11651     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   11652     *)				need_version=no  ;;
   11653   esac
   11654   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11655   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11656   shlibpath_var=LD_LIBRARY_PATH
   11657   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11658     case $host_os in
   11659       openbsd2.[89] | openbsd2.[89].*)
   11660 	shlibpath_overrides_runpath=no
   11661 	;;
   11662       *)
   11663 	shlibpath_overrides_runpath=yes
   11664 	;;
   11665       esac
   11666   else
   11667     shlibpath_overrides_runpath=yes
   11668   fi
   11669   ;;
   11670 
   11671 os2*)
   11672   libname_spec='$name'
   11673   shrext_cmds=".dll"
   11674   need_lib_prefix=no
   11675   library_names_spec='$libname${shared_ext} $libname.a'
   11676   dynamic_linker='OS/2 ld.exe'
   11677   shlibpath_var=LIBPATH
   11678   ;;
   11679 
   11680 osf3* | osf4* | osf5*)
   11681   version_type=osf
   11682   need_lib_prefix=no
   11683   need_version=no
   11684   soname_spec='${libname}${release}${shared_ext}$major'
   11685   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11686   shlibpath_var=LD_LIBRARY_PATH
   11687   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11688   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   11689   ;;
   11690 
   11691 rdos*)
   11692   dynamic_linker=no
   11693   ;;
   11694 
   11695 solaris*)
   11696   version_type=linux
   11697   need_lib_prefix=no
   11698   need_version=no
   11699   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11700   soname_spec='${libname}${release}${shared_ext}$major'
   11701   shlibpath_var=LD_LIBRARY_PATH
   11702   shlibpath_overrides_runpath=yes
   11703   hardcode_into_libs=yes
   11704   # ldd complains unless libraries are executable
   11705   postinstall_cmds='chmod +x $lib'
   11706   ;;
   11707 
   11708 sunos4*)
   11709   version_type=sunos
   11710   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   11711   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11712   shlibpath_var=LD_LIBRARY_PATH
   11713   shlibpath_overrides_runpath=yes
   11714   if test "$with_gnu_ld" = yes; then
   11715     need_lib_prefix=no
   11716   fi
   11717   need_version=yes
   11718   ;;
   11719 
   11720 sysv4 | sysv4.3*)
   11721   version_type=linux
   11722   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11723   soname_spec='${libname}${release}${shared_ext}$major'
   11724   shlibpath_var=LD_LIBRARY_PATH
   11725   case $host_vendor in
   11726     sni)
   11727       shlibpath_overrides_runpath=no
   11728       need_lib_prefix=no
   11729       runpath_var=LD_RUN_PATH
   11730       ;;
   11731     siemens)
   11732       need_lib_prefix=no
   11733       ;;
   11734     motorola)
   11735       need_lib_prefix=no
   11736       need_version=no
   11737       shlibpath_overrides_runpath=no
   11738       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11739       ;;
   11740   esac
   11741   ;;
   11742 
   11743 sysv4*MP*)
   11744   if test -d /usr/nec ;then
   11745     version_type=linux
   11746     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11747     soname_spec='$libname${shared_ext}.$major'
   11748     shlibpath_var=LD_LIBRARY_PATH
   11749   fi
   11750   ;;
   11751 
   11752 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11753   version_type=freebsd-elf
   11754   need_lib_prefix=no
   11755   need_version=no
   11756   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11757   soname_spec='${libname}${release}${shared_ext}$major'
   11758   shlibpath_var=LD_LIBRARY_PATH
   11759   shlibpath_overrides_runpath=yes
   11760   hardcode_into_libs=yes
   11761   if test "$with_gnu_ld" = yes; then
   11762     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11763   else
   11764     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11765     case $host_os in
   11766       sco3.2v5*)
   11767         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11768 	;;
   11769     esac
   11770   fi
   11771   sys_lib_dlsearch_path_spec='/usr/lib'
   11772   ;;
   11773 
   11774 tpf*)
   11775   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11776   version_type=linux
   11777   need_lib_prefix=no
   11778   need_version=no
   11779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11780   shlibpath_var=LD_LIBRARY_PATH
   11781   shlibpath_overrides_runpath=no
   11782   hardcode_into_libs=yes
   11783   ;;
   11784 
   11785 uts4*)
   11786   version_type=linux
   11787   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11788   soname_spec='${libname}${release}${shared_ext}$major'
   11789   shlibpath_var=LD_LIBRARY_PATH
   11790   ;;
   11791 
   11792 # Shared libraries for VwWorks, >= 7 only at this stage
   11793 # and (fpic) still incompatible with "large" code models
   11794 # in a few configurations. Only for RTP mode in any case,
   11795 # and upon explicit request at configure time.
   11796 vxworks7*)
   11797   dynamic_linker=no
   11798   case ${with_multisubdir}-${enable_shared} in
   11799     *large*)
   11800       ;;
   11801     *mrtp*-yes)
   11802       version_type=linux
   11803       need_lib_prefix=no
   11804       need_version=no
   11805       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11806       soname_spec='${libname}${release}${shared_ext}$major'
   11807       dynamic_linker="$host_os module_loader"
   11808       ;;
   11809   esac
   11810   ;;
   11811 *)
   11812   dynamic_linker=no
   11813   ;;
   11814 esac
   11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11816 $as_echo "$dynamic_linker" >&6; }
   11817 test "$dynamic_linker" = no && can_build_shared=no
   11818 
   11819 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11820 if test "$GCC" = yes; then
   11821   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11822 fi
   11823 
   11824 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11825   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11826 fi
   11827 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11828   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11829 fi
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 
   11861 
   11862 
   11863 
   11864 
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877 
   11878 
   11879 
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 
   11921 
   11922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11923 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11924 hardcode_action=
   11925 if test -n "$hardcode_libdir_flag_spec" ||
   11926    test -n "$runpath_var" ||
   11927    test "X$hardcode_automatic" = "Xyes" ; then
   11928 
   11929   # We can hardcode non-existent directories.
   11930   if test "$hardcode_direct" != no &&
   11931      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11932      # have to relink, otherwise we might link with an installed library
   11933      # when we should be linking with a yet-to-be-installed one
   11934      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11935      test "$hardcode_minus_L" != no; then
   11936     # Linking always hardcodes the temporary library directory.
   11937     hardcode_action=relink
   11938   else
   11939     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11940     hardcode_action=immediate
   11941   fi
   11942 else
   11943   # We cannot hardcode anything, or else we can only hardcode existing
   11944   # directories.
   11945   hardcode_action=unsupported
   11946 fi
   11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11948 $as_echo "$hardcode_action" >&6; }
   11949 
   11950 if test "$hardcode_action" = relink ||
   11951    test "$inherit_rpath" = yes; then
   11952   # Fast installation is not supported
   11953   enable_fast_install=no
   11954 elif test "$shlibpath_overrides_runpath" = yes ||
   11955      test "$enable_shared" = no; then
   11956   # Fast installation is not necessary
   11957   enable_fast_install=needless
   11958 fi
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965   if test "x$enable_dlopen" != xyes; then
   11966   enable_dlopen=unknown
   11967   enable_dlopen_self=unknown
   11968   enable_dlopen_self_static=unknown
   11969 else
   11970   lt_cv_dlopen=no
   11971   lt_cv_dlopen_libs=
   11972 
   11973   case $host_os in
   11974   beos*)
   11975     lt_cv_dlopen="load_add_on"
   11976     lt_cv_dlopen_libs=
   11977     lt_cv_dlopen_self=yes
   11978     ;;
   11979 
   11980   mingw* | pw32* | cegcc*)
   11981     lt_cv_dlopen="LoadLibrary"
   11982     lt_cv_dlopen_libs=
   11983     ;;
   11984 
   11985   cygwin*)
   11986     lt_cv_dlopen="dlopen"
   11987     lt_cv_dlopen_libs=
   11988     ;;
   11989 
   11990   darwin*)
   11991   # if libdl is installed we need to link against it
   11992     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11993 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11994 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11995   $as_echo_n "(cached) " >&6
   11996 else
   11997   ac_check_lib_save_LIBS=$LIBS
   11998 LIBS="-ldl  $LIBS"
   11999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12000 /* end confdefs.h.  */
   12001 
   12002 /* Override any GCC internal prototype to avoid an error.
   12003    Use char because int might match the return type of a GCC
   12004    builtin and then its argument prototype would still apply.  */
   12005 #ifdef __cplusplus
   12006 extern "C"
   12007 #endif
   12008 char dlopen ();
   12009 int
   12010 main ()
   12011 {
   12012 return dlopen ();
   12013   ;
   12014   return 0;
   12015 }
   12016 _ACEOF
   12017 if ac_fn_c_try_link "$LINENO"; then :
   12018   ac_cv_lib_dl_dlopen=yes
   12019 else
   12020   ac_cv_lib_dl_dlopen=no
   12021 fi
   12022 rm -f core conftest.err conftest.$ac_objext \
   12023     conftest$ac_exeext conftest.$ac_ext
   12024 LIBS=$ac_check_lib_save_LIBS
   12025 fi
   12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12027 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12028 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12029   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12030 else
   12031 
   12032     lt_cv_dlopen="dyld"
   12033     lt_cv_dlopen_libs=
   12034     lt_cv_dlopen_self=yes
   12035 
   12036 fi
   12037 
   12038     ;;
   12039 
   12040   *)
   12041     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   12042 if test "x$ac_cv_func_shl_load" = xyes; then :
   12043   lt_cv_dlopen="shl_load"
   12044 else
   12045   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   12046 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   12047 if ${ac_cv_lib_dld_shl_load+:} false; then :
   12048   $as_echo_n "(cached) " >&6
   12049 else
   12050   ac_check_lib_save_LIBS=$LIBS
   12051 LIBS="-ldld  $LIBS"
   12052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12053 /* end confdefs.h.  */
   12054 
   12055 /* Override any GCC internal prototype to avoid an error.
   12056    Use char because int might match the return type of a GCC
   12057    builtin and then its argument prototype would still apply.  */
   12058 #ifdef __cplusplus
   12059 extern "C"
   12060 #endif
   12061 char shl_load ();
   12062 int
   12063 main ()
   12064 {
   12065 return shl_load ();
   12066   ;
   12067   return 0;
   12068 }
   12069 _ACEOF
   12070 if ac_fn_c_try_link "$LINENO"; then :
   12071   ac_cv_lib_dld_shl_load=yes
   12072 else
   12073   ac_cv_lib_dld_shl_load=no
   12074 fi
   12075 rm -f core conftest.err conftest.$ac_objext \
   12076     conftest$ac_exeext conftest.$ac_ext
   12077 LIBS=$ac_check_lib_save_LIBS
   12078 fi
   12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   12080 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   12081 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   12082   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   12083 else
   12084   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   12085 if test "x$ac_cv_func_dlopen" = xyes; then :
   12086   lt_cv_dlopen="dlopen"
   12087 else
   12088   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   12089 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   12090 if ${ac_cv_lib_dl_dlopen+:} false; then :
   12091   $as_echo_n "(cached) " >&6
   12092 else
   12093   ac_check_lib_save_LIBS=$LIBS
   12094 LIBS="-ldl  $LIBS"
   12095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12096 /* end confdefs.h.  */
   12097 
   12098 /* Override any GCC internal prototype to avoid an error.
   12099    Use char because int might match the return type of a GCC
   12100    builtin and then its argument prototype would still apply.  */
   12101 #ifdef __cplusplus
   12102 extern "C"
   12103 #endif
   12104 char dlopen ();
   12105 int
   12106 main ()
   12107 {
   12108 return dlopen ();
   12109   ;
   12110   return 0;
   12111 }
   12112 _ACEOF
   12113 if ac_fn_c_try_link "$LINENO"; then :
   12114   ac_cv_lib_dl_dlopen=yes
   12115 else
   12116   ac_cv_lib_dl_dlopen=no
   12117 fi
   12118 rm -f core conftest.err conftest.$ac_objext \
   12119     conftest$ac_exeext conftest.$ac_ext
   12120 LIBS=$ac_check_lib_save_LIBS
   12121 fi
   12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   12123 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   12124 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   12125   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   12126 else
   12127   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   12128 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   12129 if ${ac_cv_lib_svld_dlopen+:} false; then :
   12130   $as_echo_n "(cached) " >&6
   12131 else
   12132   ac_check_lib_save_LIBS=$LIBS
   12133 LIBS="-lsvld  $LIBS"
   12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12135 /* end confdefs.h.  */
   12136 
   12137 /* Override any GCC internal prototype to avoid an error.
   12138    Use char because int might match the return type of a GCC
   12139    builtin and then its argument prototype would still apply.  */
   12140 #ifdef __cplusplus
   12141 extern "C"
   12142 #endif
   12143 char dlopen ();
   12144 int
   12145 main ()
   12146 {
   12147 return dlopen ();
   12148   ;
   12149   return 0;
   12150 }
   12151 _ACEOF
   12152 if ac_fn_c_try_link "$LINENO"; then :
   12153   ac_cv_lib_svld_dlopen=yes
   12154 else
   12155   ac_cv_lib_svld_dlopen=no
   12156 fi
   12157 rm -f core conftest.err conftest.$ac_objext \
   12158     conftest$ac_exeext conftest.$ac_ext
   12159 LIBS=$ac_check_lib_save_LIBS
   12160 fi
   12161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   12162 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   12163 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   12164   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   12165 else
   12166   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   12167 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   12168 if ${ac_cv_lib_dld_dld_link+:} false; then :
   12169   $as_echo_n "(cached) " >&6
   12170 else
   12171   ac_check_lib_save_LIBS=$LIBS
   12172 LIBS="-ldld  $LIBS"
   12173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12174 /* end confdefs.h.  */
   12175 
   12176 /* Override any GCC internal prototype to avoid an error.
   12177    Use char because int might match the return type of a GCC
   12178    builtin and then its argument prototype would still apply.  */
   12179 #ifdef __cplusplus
   12180 extern "C"
   12181 #endif
   12182 char dld_link ();
   12183 int
   12184 main ()
   12185 {
   12186 return dld_link ();
   12187   ;
   12188   return 0;
   12189 }
   12190 _ACEOF
   12191 if ac_fn_c_try_link "$LINENO"; then :
   12192   ac_cv_lib_dld_dld_link=yes
   12193 else
   12194   ac_cv_lib_dld_dld_link=no
   12195 fi
   12196 rm -f core conftest.err conftest.$ac_objext \
   12197     conftest$ac_exeext conftest.$ac_ext
   12198 LIBS=$ac_check_lib_save_LIBS
   12199 fi
   12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   12201 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   12202 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   12203   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   12204 fi
   12205 
   12206 
   12207 fi
   12208 
   12209 
   12210 fi
   12211 
   12212 
   12213 fi
   12214 
   12215 
   12216 fi
   12217 
   12218 
   12219 fi
   12220 
   12221     ;;
   12222   esac
   12223 
   12224   if test "x$lt_cv_dlopen" != xno; then
   12225     enable_dlopen=yes
   12226   else
   12227     enable_dlopen=no
   12228   fi
   12229 
   12230   case $lt_cv_dlopen in
   12231   dlopen)
   12232     save_CPPFLAGS="$CPPFLAGS"
   12233     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   12234 
   12235     save_LDFLAGS="$LDFLAGS"
   12236     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   12237 
   12238     save_LIBS="$LIBS"
   12239     LIBS="$lt_cv_dlopen_libs $LIBS"
   12240 
   12241     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   12242 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   12243 if ${lt_cv_dlopen_self+:} false; then :
   12244   $as_echo_n "(cached) " >&6
   12245 else
   12246   	  if test "$cross_compiling" = yes; then :
   12247   lt_cv_dlopen_self=cross
   12248 else
   12249   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12250   lt_status=$lt_dlunknown
   12251   cat > conftest.$ac_ext <<_LT_EOF
   12252 #line 12252 "configure"
   12253 #include "confdefs.h"
   12254 
   12255 #if HAVE_DLFCN_H
   12256 #include <dlfcn.h>
   12257 #endif
   12258 
   12259 #include <stdio.h>
   12260 
   12261 #ifdef RTLD_GLOBAL
   12262 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12263 #else
   12264 #  ifdef DL_GLOBAL
   12265 #    define LT_DLGLOBAL		DL_GLOBAL
   12266 #  else
   12267 #    define LT_DLGLOBAL		0
   12268 #  endif
   12269 #endif
   12270 
   12271 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12272    find out it does not work in some platform. */
   12273 #ifndef LT_DLLAZY_OR_NOW
   12274 #  ifdef RTLD_LAZY
   12275 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12276 #  else
   12277 #    ifdef DL_LAZY
   12278 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12279 #    else
   12280 #      ifdef RTLD_NOW
   12281 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12282 #      else
   12283 #        ifdef DL_NOW
   12284 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12285 #        else
   12286 #          define LT_DLLAZY_OR_NOW	0
   12287 #        endif
   12288 #      endif
   12289 #    endif
   12290 #  endif
   12291 #endif
   12292 
   12293 /* When -fvisbility=hidden is used, assume the code has been annotated
   12294    correspondingly for the symbols needed.  */
   12295 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12296 void fnord () __attribute__((visibility("default")));
   12297 #endif
   12298 
   12299 void fnord () { int i=42; }
   12300 int main ()
   12301 {
   12302   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12303   int status = $lt_dlunknown;
   12304 
   12305   if (self)
   12306     {
   12307       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12308       else
   12309         {
   12310 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12311           else puts (dlerror ());
   12312 	}
   12313       /* dlclose (self); */
   12314     }
   12315   else
   12316     puts (dlerror ());
   12317 
   12318   return status;
   12319 }
   12320 _LT_EOF
   12321   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12322   (eval $ac_link) 2>&5
   12323   ac_status=$?
   12324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12325   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12326     (./conftest; exit; ) >&5 2>/dev/null
   12327     lt_status=$?
   12328     case x$lt_status in
   12329       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   12330       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   12331       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   12332     esac
   12333   else :
   12334     # compilation failed
   12335     lt_cv_dlopen_self=no
   12336   fi
   12337 fi
   12338 rm -fr conftest*
   12339 
   12340 
   12341 fi
   12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   12343 $as_echo "$lt_cv_dlopen_self" >&6; }
   12344 
   12345     if test "x$lt_cv_dlopen_self" = xyes; then
   12346       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   12347       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   12348 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   12349 if ${lt_cv_dlopen_self_static+:} false; then :
   12350   $as_echo_n "(cached) " >&6
   12351 else
   12352   	  if test "$cross_compiling" = yes; then :
   12353   lt_cv_dlopen_self_static=cross
   12354 else
   12355   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   12356   lt_status=$lt_dlunknown
   12357   cat > conftest.$ac_ext <<_LT_EOF
   12358 #line 12358 "configure"
   12359 #include "confdefs.h"
   12360 
   12361 #if HAVE_DLFCN_H
   12362 #include <dlfcn.h>
   12363 #endif
   12364 
   12365 #include <stdio.h>
   12366 
   12367 #ifdef RTLD_GLOBAL
   12368 #  define LT_DLGLOBAL		RTLD_GLOBAL
   12369 #else
   12370 #  ifdef DL_GLOBAL
   12371 #    define LT_DLGLOBAL		DL_GLOBAL
   12372 #  else
   12373 #    define LT_DLGLOBAL		0
   12374 #  endif
   12375 #endif
   12376 
   12377 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12378    find out it does not work in some platform. */
   12379 #ifndef LT_DLLAZY_OR_NOW
   12380 #  ifdef RTLD_LAZY
   12381 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12382 #  else
   12383 #    ifdef DL_LAZY
   12384 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12385 #    else
   12386 #      ifdef RTLD_NOW
   12387 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12388 #      else
   12389 #        ifdef DL_NOW
   12390 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12391 #        else
   12392 #          define LT_DLLAZY_OR_NOW	0
   12393 #        endif
   12394 #      endif
   12395 #    endif
   12396 #  endif
   12397 #endif
   12398 
   12399 /* When -fvisbility=hidden is used, assume the code has been annotated
   12400    correspondingly for the symbols needed.  */
   12401 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12402 void fnord () __attribute__((visibility("default")));
   12403 #endif
   12404 
   12405 void fnord () { int i=42; }
   12406 int main ()
   12407 {
   12408   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12409   int status = $lt_dlunknown;
   12410 
   12411   if (self)
   12412     {
   12413       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12414       else
   12415         {
   12416 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12417           else puts (dlerror ());
   12418 	}
   12419       /* dlclose (self); */
   12420     }
   12421   else
   12422     puts (dlerror ());
   12423 
   12424   return status;
   12425 }
   12426 _LT_EOF
   12427   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12428   (eval $ac_link) 2>&5
   12429   ac_status=$?
   12430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12431   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   12432     (./conftest; exit; ) >&5 2>/dev/null
   12433     lt_status=$?
   12434     case x$lt_status in
   12435       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12436       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12437       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12438     esac
   12439   else :
   12440     # compilation failed
   12441     lt_cv_dlopen_self_static=no
   12442   fi
   12443 fi
   12444 rm -fr conftest*
   12445 
   12446 
   12447 fi
   12448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12449 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12450     fi
   12451 
   12452     CPPFLAGS="$save_CPPFLAGS"
   12453     LDFLAGS="$save_LDFLAGS"
   12454     LIBS="$save_LIBS"
   12455     ;;
   12456   esac
   12457 
   12458   case $lt_cv_dlopen_self in
   12459   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12460   *) enable_dlopen_self=unknown ;;
   12461   esac
   12462 
   12463   case $lt_cv_dlopen_self_static in
   12464   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12465   *) enable_dlopen_self_static=unknown ;;
   12466   esac
   12467 fi
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 
   12484 
   12485 striplib=
   12486 old_striplib=
   12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12488 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12489 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12490   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12491   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12493 $as_echo "yes" >&6; }
   12494 else
   12495 # FIXME - insert some real tests, host_os isn't really good enough
   12496   case $host_os in
   12497   darwin*)
   12498     if test -n "$STRIP" ; then
   12499       striplib="$STRIP -x"
   12500       old_striplib="$STRIP -S"
   12501       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12502 $as_echo "yes" >&6; }
   12503     else
   12504       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12505 $as_echo "no" >&6; }
   12506     fi
   12507     ;;
   12508   *)
   12509     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12510 $as_echo "no" >&6; }
   12511     ;;
   12512   esac
   12513 fi
   12514 
   12515 
   12516 
   12517 
   12518 
   12519 
   12520 
   12521 
   12522 
   12523 
   12524 
   12525 
   12526   # Report which library types will actually be built
   12527   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12528 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12530 $as_echo "$can_build_shared" >&6; }
   12531 
   12532   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12533 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12534   test "$can_build_shared" = "no" && enable_shared=no
   12535 
   12536   # On AIX, shared libraries and static libraries use the same namespace, and
   12537   # are all built from PIC.
   12538   case $host_os in
   12539   aix3*)
   12540     test "$enable_shared" = yes && enable_static=no
   12541     if test -n "$RANLIB"; then
   12542       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12543       postinstall_cmds='$RANLIB $lib'
   12544     fi
   12545     ;;
   12546 
   12547   aix[4-9]*)
   12548     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   12549       test "$enable_shared" = yes && enable_static=no
   12550     fi
   12551     ;;
   12552   esac
   12553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12554 $as_echo "$enable_shared" >&6; }
   12555 
   12556   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12557 $as_echo_n "checking whether to build static libraries... " >&6; }
   12558   # Make sure either enable_shared or enable_static is yes.
   12559   test "$enable_shared" = yes || enable_static=yes
   12560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12561 $as_echo "$enable_static" >&6; }
   12562 
   12563 
   12564 
   12565 
   12566 fi
   12567 ac_ext=c
   12568 ac_cpp='$CPP $CPPFLAGS'
   12569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12572 
   12573 CC="$lt_save_CC"
   12574 
   12575       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   12576     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   12577     (test "X$CXX" != "Xg++"))) ; then
   12578   ac_ext=cpp
   12579 ac_cpp='$CXXCPP $CPPFLAGS'
   12580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   12584 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   12585 if test -z "$CXXCPP"; then
   12586   if ${ac_cv_prog_CXXCPP+:} false; then :
   12587   $as_echo_n "(cached) " >&6
   12588 else
   12589       # Double quotes because CXXCPP needs to be expanded
   12590     for CXXCPP in "$CXX -E" "/lib/cpp"
   12591     do
   12592       ac_preproc_ok=false
   12593 for ac_cxx_preproc_warn_flag in '' yes
   12594 do
   12595   # Use a header file that comes with gcc, so configuring glibc
   12596   # with a fresh cross-compiler works.
   12597   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12598   # <limits.h> exists even on freestanding compilers.
   12599   # On the NeXT, cc -E runs the code through the compiler's parser,
   12600   # not just through cpp. "Syntax error" is here to catch this case.
   12601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12602 /* end confdefs.h.  */
   12603 #ifdef __STDC__
   12604 # include <limits.h>
   12605 #else
   12606 # include <assert.h>
   12607 #endif
   12608 		     Syntax error
   12609 _ACEOF
   12610 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12611 
   12612 else
   12613   # Broken: fails on valid input.
   12614 continue
   12615 fi
   12616 rm -f conftest.err conftest.i conftest.$ac_ext
   12617 
   12618   # OK, works on sane cases.  Now check whether nonexistent headers
   12619   # can be detected and how.
   12620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12621 /* end confdefs.h.  */
   12622 #include <ac_nonexistent.h>
   12623 _ACEOF
   12624 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12625   # Broken: success on invalid input.
   12626 continue
   12627 else
   12628   # Passes both tests.
   12629 ac_preproc_ok=:
   12630 break
   12631 fi
   12632 rm -f conftest.err conftest.i conftest.$ac_ext
   12633 
   12634 done
   12635 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12636 rm -f conftest.i conftest.err conftest.$ac_ext
   12637 if $ac_preproc_ok; then :
   12638   break
   12639 fi
   12640 
   12641     done
   12642     ac_cv_prog_CXXCPP=$CXXCPP
   12643 
   12644 fi
   12645   CXXCPP=$ac_cv_prog_CXXCPP
   12646 else
   12647   ac_cv_prog_CXXCPP=$CXXCPP
   12648 fi
   12649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   12650 $as_echo "$CXXCPP" >&6; }
   12651 ac_preproc_ok=false
   12652 for ac_cxx_preproc_warn_flag in '' yes
   12653 do
   12654   # Use a header file that comes with gcc, so configuring glibc
   12655   # with a fresh cross-compiler works.
   12656   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   12657   # <limits.h> exists even on freestanding compilers.
   12658   # On the NeXT, cc -E runs the code through the compiler's parser,
   12659   # not just through cpp. "Syntax error" is here to catch this case.
   12660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12661 /* end confdefs.h.  */
   12662 #ifdef __STDC__
   12663 # include <limits.h>
   12664 #else
   12665 # include <assert.h>
   12666 #endif
   12667 		     Syntax error
   12668 _ACEOF
   12669 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12670 
   12671 else
   12672   # Broken: fails on valid input.
   12673 continue
   12674 fi
   12675 rm -f conftest.err conftest.i conftest.$ac_ext
   12676 
   12677   # OK, works on sane cases.  Now check whether nonexistent headers
   12678   # can be detected and how.
   12679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12680 /* end confdefs.h.  */
   12681 #include <ac_nonexistent.h>
   12682 _ACEOF
   12683 if ac_fn_cxx_try_cpp "$LINENO"; then :
   12684   # Broken: success on invalid input.
   12685 continue
   12686 else
   12687   # Passes both tests.
   12688 ac_preproc_ok=:
   12689 break
   12690 fi
   12691 rm -f conftest.err conftest.i conftest.$ac_ext
   12692 
   12693 done
   12694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   12695 rm -f conftest.i conftest.err conftest.$ac_ext
   12696 if $ac_preproc_ok; then :
   12697 
   12698 else
   12699   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   12700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   12701 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   12702 See \`config.log' for more details" "$LINENO" 5; }
   12703 fi
   12704 
   12705 ac_ext=c
   12706 ac_cpp='$CPP $CPPFLAGS'
   12707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12710 
   12711 else
   12712   _lt_caught_CXX_error=yes
   12713 fi
   12714 
   12715 ac_ext=cpp
   12716 ac_cpp='$CXXCPP $CPPFLAGS'
   12717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   12720 
   12721 archive_cmds_need_lc_CXX=no
   12722 allow_undefined_flag_CXX=
   12723 always_export_symbols_CXX=no
   12724 archive_expsym_cmds_CXX=
   12725 compiler_needs_object_CXX=no
   12726 export_dynamic_flag_spec_CXX=
   12727 hardcode_direct_CXX=no
   12728 hardcode_direct_absolute_CXX=no
   12729 hardcode_libdir_flag_spec_CXX=
   12730 hardcode_libdir_flag_spec_ld_CXX=
   12731 hardcode_libdir_separator_CXX=
   12732 hardcode_minus_L_CXX=no
   12733 hardcode_shlibpath_var_CXX=unsupported
   12734 hardcode_automatic_CXX=no
   12735 inherit_rpath_CXX=no
   12736 module_cmds_CXX=
   12737 module_expsym_cmds_CXX=
   12738 link_all_deplibs_CXX=unknown
   12739 old_archive_cmds_CXX=$old_archive_cmds
   12740 reload_flag_CXX=$reload_flag
   12741 reload_cmds_CXX=$reload_cmds
   12742 no_undefined_flag_CXX=
   12743 whole_archive_flag_spec_CXX=
   12744 enable_shared_with_static_runtimes_CXX=no
   12745 
   12746 # Source file extension for C++ test sources.
   12747 ac_ext=cpp
   12748 
   12749 # Object file extension for compiled C++ test sources.
   12750 objext=o
   12751 objext_CXX=$objext
   12752 
   12753 # No sense in running all these tests if we already determined that
   12754 # the CXX compiler isn't working.  Some variables (like enable_shared)
   12755 # are currently assumed to apply to all compilers on this platform,
   12756 # and will be corrupted by setting them based on a non-working compiler.
   12757 if test "$_lt_caught_CXX_error" != yes; then
   12758   # Code to be used in simple compile tests
   12759   lt_simple_compile_test_code="int some_variable = 0;"
   12760 
   12761   # Code to be used in simple link tests
   12762   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12763 
   12764   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12765 
   12766 
   12767 
   12768 
   12769 
   12770 
   12771 # If no C compiler was specified, use CC.
   12772 LTCC=${LTCC-"$CC"}
   12773 
   12774 # If no C compiler flags were specified, use CFLAGS.
   12775 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12776 
   12777 # Allow CC to be a program name with arguments.
   12778 compiler=$CC
   12779 
   12780 
   12781   # save warnings/boilerplate of simple test code
   12782   ac_outfile=conftest.$ac_objext
   12783 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12784 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12785 _lt_compiler_boilerplate=`cat conftest.err`
   12786 $RM conftest*
   12787 
   12788   ac_outfile=conftest.$ac_objext
   12789 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12790 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12791 _lt_linker_boilerplate=`cat conftest.err`
   12792 $RM -r conftest*
   12793 
   12794 
   12795   # Allow CC to be a program name with arguments.
   12796   lt_save_CC=$CC
   12797   lt_save_LD=$LD
   12798   lt_save_GCC=$GCC
   12799   GCC=$GXX
   12800   lt_save_with_gnu_ld=$with_gnu_ld
   12801   lt_save_path_LD=$lt_cv_path_LD
   12802   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12803     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12804   else
   12805     $as_unset lt_cv_prog_gnu_ld
   12806   fi
   12807   if test -n "${lt_cv_path_LDCXX+set}"; then
   12808     lt_cv_path_LD=$lt_cv_path_LDCXX
   12809   else
   12810     $as_unset lt_cv_path_LD
   12811   fi
   12812   test -z "${LDCXX+set}" || LD=$LDCXX
   12813   CC=${CXX-"c++"}
   12814   compiler=$CC
   12815   compiler_CXX=$CC
   12816   for cc_temp in $compiler""; do
   12817   case $cc_temp in
   12818     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12819     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12820     \-*) ;;
   12821     *) break;;
   12822   esac
   12823 done
   12824 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12825 
   12826 
   12827   if test -n "$compiler"; then
   12828     # We don't want -fno-exception when compiling C++ code, so set the
   12829     # no_builtin_flag separately
   12830     if test "$GXX" = yes; then
   12831       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12832     else
   12833       lt_prog_compiler_no_builtin_flag_CXX=
   12834     fi
   12835 
   12836     if test "$GXX" = yes; then
   12837       # Set up default GNU C++ configuration
   12838 
   12839 
   12840 
   12841 # Check whether --with-gnu-ld was given.
   12842 if test "${with_gnu_ld+set}" = set; then :
   12843   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12844 else
   12845   with_gnu_ld=no
   12846 fi
   12847 
   12848 ac_prog=ld
   12849 if test "$GCC" = yes; then
   12850   # Check if gcc -print-prog-name=ld gives a path.
   12851   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12852 $as_echo_n "checking for ld used by $CC... " >&6; }
   12853   case $host in
   12854   *-*-mingw*)
   12855     # gcc leaves a trailing carriage return which upsets mingw
   12856     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12857   *)
   12858     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12859   esac
   12860   case $ac_prog in
   12861     # Accept absolute paths.
   12862     [\\/]* | ?:[\\/]*)
   12863       re_direlt='/[^/][^/]*/\.\./'
   12864       # Canonicalize the pathname of ld
   12865       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12866       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12867 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12868       done
   12869       test -z "$LD" && LD="$ac_prog"
   12870       ;;
   12871   "")
   12872     # If it fails, then pretend we aren't using GCC.
   12873     ac_prog=ld
   12874     ;;
   12875   *)
   12876     # If it is relative, then search for the first ld in PATH.
   12877     with_gnu_ld=unknown
   12878     ;;
   12879   esac
   12880 elif test "$with_gnu_ld" = yes; then
   12881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12882 $as_echo_n "checking for GNU ld... " >&6; }
   12883 else
   12884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12885 $as_echo_n "checking for non-GNU ld... " >&6; }
   12886 fi
   12887 if ${lt_cv_path_LD+:} false; then :
   12888   $as_echo_n "(cached) " >&6
   12889 else
   12890   if test -z "$LD"; then
   12891   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12892   for ac_dir in $PATH; do
   12893     IFS="$lt_save_ifs"
   12894     test -z "$ac_dir" && ac_dir=.
   12895     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12896       lt_cv_path_LD="$ac_dir/$ac_prog"
   12897       # Check to see if the program is GNU ld.  I'd rather use --version,
   12898       # but apparently some variants of GNU ld only accept -v.
   12899       # Break only if it was the GNU/non-GNU ld that we prefer.
   12900       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12901       *GNU* | *'with BFD'*)
   12902 	test "$with_gnu_ld" != no && break
   12903 	;;
   12904       *)
   12905 	test "$with_gnu_ld" != yes && break
   12906 	;;
   12907       esac
   12908     fi
   12909   done
   12910   IFS="$lt_save_ifs"
   12911 else
   12912   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12913 fi
   12914 fi
   12915 
   12916 LD="$lt_cv_path_LD"
   12917 if test -n "$LD"; then
   12918   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12919 $as_echo "$LD" >&6; }
   12920 else
   12921   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12922 $as_echo "no" >&6; }
   12923 fi
   12924 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12926 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12927 if ${lt_cv_prog_gnu_ld+:} false; then :
   12928   $as_echo_n "(cached) " >&6
   12929 else
   12930   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12931 case `$LD -v 2>&1 </dev/null` in
   12932 *GNU* | *'with BFD'*)
   12933   lt_cv_prog_gnu_ld=yes
   12934   ;;
   12935 *)
   12936   lt_cv_prog_gnu_ld=no
   12937   ;;
   12938 esac
   12939 fi
   12940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12941 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   12942 with_gnu_ld=$lt_cv_prog_gnu_ld
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   12951       # archiving commands below assume that GNU ld is being used.
   12952       if test "$with_gnu_ld" = yes; then
   12953         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12954         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'
   12955 
   12956         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12957         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12958 
   12959         # If archive_cmds runs LD, not CC, wlarc should be empty
   12960         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   12961         #     investigate it a little bit more. (MM)
   12962         wlarc='${wl}'
   12963 
   12964         # ancient GNU ld didn't support --whole-archive et. al.
   12965         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   12966 	  $GREP 'no-whole-archive' > /dev/null; then
   12967           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12968         else
   12969           whole_archive_flag_spec_CXX=
   12970         fi
   12971       else
   12972         with_gnu_ld=no
   12973         wlarc=
   12974 
   12975         # A generic and very simple default shared library creation
   12976         # command for GNU C++ for the case where it uses the native
   12977         # linker, instead of GNU ld.  If possible, this setting should
   12978         # overridden to take advantage of the native linker features on
   12979         # the platform it is being used on.
   12980         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12981       fi
   12982 
   12983       # Commands to make compiler produce verbose output that lists
   12984       # what "hidden" libraries, object files and flags are used when
   12985       # linking a shared library.
   12986       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12987 
   12988     else
   12989       GXX=no
   12990       with_gnu_ld=no
   12991       wlarc=
   12992     fi
   12993 
   12994     # PORTME: fill in a description of your system's C++ link characteristics
   12995     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12996 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12997     ld_shlibs_CXX=yes
   12998     case $host_os in
   12999       aix3*)
   13000         # FIXME: insert proper C++ library support
   13001         ld_shlibs_CXX=no
   13002         ;;
   13003       aix[4-9]*)
   13004         if test "$host_cpu" = ia64; then
   13005           # On IA64, the linker does run time linking by default, so we don't
   13006           # have to do anything special.
   13007           aix_use_runtimelinking=no
   13008           exp_sym_flag='-Bexport'
   13009           no_entry_flag=""
   13010         else
   13011           aix_use_runtimelinking=no
   13012 
   13013           # Test if we are trying to use run time linking or normal
   13014           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   13015           # need to do runtime linking.
   13016           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   13017 	    for ld_flag in $LDFLAGS; do
   13018 	      case $ld_flag in
   13019 	      *-brtl*)
   13020 	        aix_use_runtimelinking=yes
   13021 	        break
   13022 	        ;;
   13023 	      esac
   13024 	    done
   13025 	    ;;
   13026           esac
   13027 
   13028           exp_sym_flag='-bexport'
   13029           no_entry_flag='-bnoentry'
   13030         fi
   13031 
   13032         # When large executables or shared objects are built, AIX ld can
   13033         # have problems creating the table of contents.  If linking a library
   13034         # or program results in "error TOC overflow" add -mminimal-toc to
   13035         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   13036         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   13037 
   13038         archive_cmds_CXX=''
   13039         hardcode_direct_CXX=yes
   13040         hardcode_direct_absolute_CXX=yes
   13041         hardcode_libdir_separator_CXX=':'
   13042         link_all_deplibs_CXX=yes
   13043         file_list_spec_CXX='${wl}-f,'
   13044 
   13045         if test "$GXX" = yes; then
   13046           case $host_os in aix4.[012]|aix4.[012].*)
   13047           # We only want to do this on AIX 4.2 and lower, the check
   13048           # below for broken collect2 doesn't work under 4.3+
   13049 	  collect2name=`${CC} -print-prog-name=collect2`
   13050 	  if test -f "$collect2name" &&
   13051 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   13052 	  then
   13053 	    # We have reworked collect2
   13054 	    :
   13055 	  else
   13056 	    # We have old collect2
   13057 	    hardcode_direct_CXX=unsupported
   13058 	    # It fails to find uninstalled libraries when the uninstalled
   13059 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   13060 	    # to unsupported forces relinking
   13061 	    hardcode_minus_L_CXX=yes
   13062 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   13063 	    hardcode_libdir_separator_CXX=
   13064 	  fi
   13065           esac
   13066           shared_flag='-shared'
   13067 	  if test "$aix_use_runtimelinking" = yes; then
   13068 	    shared_flag="$shared_flag "'${wl}-G'
   13069 	  fi
   13070         else
   13071           # not using gcc
   13072           if test "$host_cpu" = ia64; then
   13073 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   13074 	  # chokes on -Wl,-G. The following line is correct:
   13075 	  shared_flag='-G'
   13076           else
   13077 	    if test "$aix_use_runtimelinking" = yes; then
   13078 	      shared_flag='${wl}-G'
   13079 	    else
   13080 	      shared_flag='${wl}-bM:SRE'
   13081 	    fi
   13082           fi
   13083         fi
   13084 
   13085         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   13086         # It seems that -bexpall does not export symbols beginning with
   13087         # underscore (_), so it is better to generate a list of symbols to
   13088 	# export.
   13089         always_export_symbols_CXX=yes
   13090         if test "$aix_use_runtimelinking" = yes; then
   13091           # Warning - without using the other runtime loading flags (-brtl),
   13092           # -berok will link without error, but may produce a broken library.
   13093           allow_undefined_flag_CXX='-berok'
   13094           # Determine the default libpath from the value encoded in an empty
   13095           # executable.
   13096           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13097 /* end confdefs.h.  */
   13098 
   13099 int
   13100 main ()
   13101 {
   13102 
   13103   ;
   13104   return 0;
   13105 }
   13106 _ACEOF
   13107 if ac_fn_cxx_try_link "$LINENO"; then :
   13108 
   13109 lt_aix_libpath_sed='
   13110     /Import File Strings/,/^$/ {
   13111 	/^0/ {
   13112 	    s/^0  *\(.*\)$/\1/
   13113 	    p
   13114 	}
   13115     }'
   13116 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13117 # Check for a 64-bit object if we didn't find anything.
   13118 if test -z "$aix_libpath"; then
   13119   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13120 fi
   13121 fi
   13122 rm -f core conftest.err conftest.$ac_objext \
   13123     conftest$ac_exeext conftest.$ac_ext
   13124 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13125 
   13126           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13127 
   13128           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"
   13129         else
   13130           if test "$host_cpu" = ia64; then
   13131 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   13132 	    allow_undefined_flag_CXX="-z nodefs"
   13133 	    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"
   13134           else
   13135 	    # Determine the default libpath from the value encoded in an
   13136 	    # empty executable.
   13137 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13138 /* end confdefs.h.  */
   13139 
   13140 int
   13141 main ()
   13142 {
   13143 
   13144   ;
   13145   return 0;
   13146 }
   13147 _ACEOF
   13148 if ac_fn_cxx_try_link "$LINENO"; then :
   13149 
   13150 lt_aix_libpath_sed='
   13151     /Import File Strings/,/^$/ {
   13152 	/^0/ {
   13153 	    s/^0  *\(.*\)$/\1/
   13154 	    p
   13155 	}
   13156     }'
   13157 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13158 # Check for a 64-bit object if we didn't find anything.
   13159 if test -z "$aix_libpath"; then
   13160   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   13161 fi
   13162 fi
   13163 rm -f core conftest.err conftest.$ac_objext \
   13164     conftest$ac_exeext conftest.$ac_ext
   13165 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   13166 
   13167 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   13168 	    # Warning - without using the other run time loading flags,
   13169 	    # -berok will link without error, but may produce a broken library.
   13170 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   13171 	    allow_undefined_flag_CXX=' ${wl}-berok'
   13172 	    if test "$with_gnu_ld" = yes; then
   13173 	      # We only use this code for GNU lds that support --whole-archive.
   13174 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13175 	    else
   13176 	      # Exported symbols can be pulled into shared objects from archives
   13177 	      whole_archive_flag_spec_CXX='$convenience'
   13178 	    fi
   13179 	    archive_cmds_need_lc_CXX=yes
   13180 	    # This is similar to how AIX traditionally builds its shared
   13181 	    # libraries.
   13182 	    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'
   13183           fi
   13184         fi
   13185         ;;
   13186 
   13187       beos*)
   13188 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   13189 	  allow_undefined_flag_CXX=unsupported
   13190 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   13191 	  # support --undefined.  This deserves some investigation.  FIXME
   13192 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13193 	else
   13194 	  ld_shlibs_CXX=no
   13195 	fi
   13196 	;;
   13197 
   13198       chorus*)
   13199         case $cc_basename in
   13200           *)
   13201 	  # FIXME: insert proper C++ library support
   13202 	  ld_shlibs_CXX=no
   13203 	  ;;
   13204         esac
   13205         ;;
   13206 
   13207       cygwin* | mingw* | pw32* | cegcc*)
   13208         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   13209         # as there is no search path for DLLs.
   13210         hardcode_libdir_flag_spec_CXX='-L$libdir'
   13211         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   13212         allow_undefined_flag_CXX=unsupported
   13213         always_export_symbols_CXX=no
   13214         enable_shared_with_static_runtimes_CXX=yes
   13215 
   13216         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   13217           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'
   13218           # If the export-symbols file already is a .def file (1st line
   13219           # is EXPORTS), use it as is; otherwise, prepend...
   13220           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   13221 	    cp $export_symbols $output_objdir/$soname.def;
   13222           else
   13223 	    echo EXPORTS > $output_objdir/$soname.def;
   13224 	    cat $export_symbols >> $output_objdir/$soname.def;
   13225           fi~
   13226           $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'
   13227         else
   13228           ld_shlibs_CXX=no
   13229         fi
   13230         ;;
   13231       darwin* | rhapsody*)
   13232 
   13233 
   13234   archive_cmds_need_lc_CXX=no
   13235   hardcode_direct_CXX=no
   13236   hardcode_automatic_CXX=yes
   13237   hardcode_shlibpath_var_CXX=unsupported
   13238   if test "$lt_cv_ld_force_load" = "yes"; then
   13239     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\"`'
   13240   else
   13241     whole_archive_flag_spec_CXX=''
   13242   fi
   13243   link_all_deplibs_CXX=yes
   13244   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   13245   case $cc_basename in
   13246      ifort*) _lt_dar_can_shared=yes ;;
   13247      *) _lt_dar_can_shared=$GCC ;;
   13248   esac
   13249   if test "$_lt_dar_can_shared" = "yes"; then
   13250     output_verbose_link_cmd=func_echo_all
   13251     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}"
   13252     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   13253     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}"
   13254     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}"
   13255        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   13256       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}"
   13257       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}"
   13258     fi
   13259 
   13260   else
   13261   ld_shlibs_CXX=no
   13262   fi
   13263 
   13264 	;;
   13265 
   13266       dgux*)
   13267         case $cc_basename in
   13268           ec++*)
   13269 	    # FIXME: insert proper C++ library support
   13270 	    ld_shlibs_CXX=no
   13271 	    ;;
   13272           ghcx*)
   13273 	    # Green Hills C++ Compiler
   13274 	    # FIXME: insert proper C++ library support
   13275 	    ld_shlibs_CXX=no
   13276 	    ;;
   13277           *)
   13278 	    # FIXME: insert proper C++ library support
   13279 	    ld_shlibs_CXX=no
   13280 	    ;;
   13281         esac
   13282         ;;
   13283 
   13284       freebsd2.*)
   13285         # C++ shared libraries reported to be fairly broken before
   13286 	# switch to ELF
   13287         ld_shlibs_CXX=no
   13288         ;;
   13289 
   13290       freebsd-elf*)
   13291         archive_cmds_need_lc_CXX=no
   13292         ;;
   13293 
   13294       freebsd* | dragonfly*)
   13295         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   13296         # conventions
   13297         ld_shlibs_CXX=yes
   13298         ;;
   13299 
   13300       gnu*)
   13301         ;;
   13302 
   13303       haiku*)
   13304         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13305         link_all_deplibs_CXX=yes
   13306         ;;
   13307 
   13308       hpux9*)
   13309         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13310         hardcode_libdir_separator_CXX=:
   13311         export_dynamic_flag_spec_CXX='${wl}-E'
   13312         hardcode_direct_CXX=yes
   13313         hardcode_minus_L_CXX=yes # Not in the search PATH,
   13314 				             # but as the default
   13315 				             # location of the library.
   13316 
   13317         case $cc_basename in
   13318           CC*)
   13319             # FIXME: insert proper C++ library support
   13320             ld_shlibs_CXX=no
   13321             ;;
   13322           aCC*)
   13323             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'
   13324             # Commands to make compiler produce verbose output that lists
   13325             # what "hidden" libraries, object files and flags are used when
   13326             # linking a shared library.
   13327             #
   13328             # There doesn't appear to be a way to prevent this compiler from
   13329             # explicitly linking system object files so we need to strip them
   13330             # from the output so that they don't get included in the library
   13331             # dependencies.
   13332             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"'
   13333             ;;
   13334           *)
   13335             if test "$GXX" = yes; then
   13336               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'
   13337             else
   13338               # FIXME: insert proper C++ library support
   13339               ld_shlibs_CXX=no
   13340             fi
   13341             ;;
   13342         esac
   13343         ;;
   13344 
   13345       hpux10*|hpux11*)
   13346         if test $with_gnu_ld = no; then
   13347 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   13348 	  hardcode_libdir_separator_CXX=:
   13349 
   13350           case $host_cpu in
   13351             hppa*64*|ia64*)
   13352               ;;
   13353             *)
   13354 	      export_dynamic_flag_spec_CXX='${wl}-E'
   13355               ;;
   13356           esac
   13357         fi
   13358         case $host_cpu in
   13359           hppa*64*|ia64*)
   13360             hardcode_direct_CXX=no
   13361             hardcode_shlibpath_var_CXX=no
   13362             ;;
   13363           *)
   13364             hardcode_direct_CXX=yes
   13365             hardcode_direct_absolute_CXX=yes
   13366             hardcode_minus_L_CXX=yes # Not in the search PATH,
   13367 					         # but as the default
   13368 					         # location of the library.
   13369             ;;
   13370         esac
   13371 
   13372         case $cc_basename in
   13373           CC*)
   13374 	    # FIXME: insert proper C++ library support
   13375 	    ld_shlibs_CXX=no
   13376 	    ;;
   13377           aCC*)
   13378 	    case $host_cpu in
   13379 	      hppa*64*)
   13380 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13381 	        ;;
   13382 	      ia64*)
   13383 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13384 	        ;;
   13385 	      *)
   13386 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13387 	        ;;
   13388 	    esac
   13389 	    # Commands to make compiler produce verbose output that lists
   13390 	    # what "hidden" libraries, object files and flags are used when
   13391 	    # linking a shared library.
   13392 	    #
   13393 	    # There doesn't appear to be a way to prevent this compiler from
   13394 	    # explicitly linking system object files so we need to strip them
   13395 	    # from the output so that they don't get included in the library
   13396 	    # dependencies.
   13397 	    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"'
   13398 	    ;;
   13399           *)
   13400 	    if test "$GXX" = yes; then
   13401 	      if test $with_gnu_ld = no; then
   13402 	        case $host_cpu in
   13403 	          hppa*64*)
   13404 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13405 	            ;;
   13406 	          ia64*)
   13407 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13408 	            ;;
   13409 	          *)
   13410 	            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'
   13411 	            ;;
   13412 	        esac
   13413 	      fi
   13414 	    else
   13415 	      # FIXME: insert proper C++ library support
   13416 	      ld_shlibs_CXX=no
   13417 	    fi
   13418 	    ;;
   13419         esac
   13420         ;;
   13421 
   13422       interix[3-9]*)
   13423 	hardcode_direct_CXX=no
   13424 	hardcode_shlibpath_var_CXX=no
   13425 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13426 	export_dynamic_flag_spec_CXX='${wl}-E'
   13427 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   13428 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   13429 	# default) and relocated if they conflict, which is a slow very memory
   13430 	# consuming and fragmenting process.  To avoid this, we pick a random,
   13431 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   13432 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   13433 	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'
   13434 	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'
   13435 	;;
   13436       irix5* | irix6*)
   13437         case $cc_basename in
   13438           CC*)
   13439 	    # SGI C++
   13440 	    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'
   13441 
   13442 	    # Archives containing C++ object files must be created using
   13443 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   13444 	    # necessary to make sure instantiated templates are included
   13445 	    # in the archive.
   13446 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   13447 	    ;;
   13448           *)
   13449 	    if test "$GXX" = yes; then
   13450 	      if test "$with_gnu_ld" = no; then
   13451 	        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'
   13452 	      else
   13453 	        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'
   13454 	      fi
   13455 	    fi
   13456 	    link_all_deplibs_CXX=yes
   13457 	    ;;
   13458         esac
   13459         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13460         hardcode_libdir_separator_CXX=:
   13461         inherit_rpath_CXX=yes
   13462         ;;
   13463 
   13464       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13465         case $cc_basename in
   13466           KCC*)
   13467 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13468 
   13469 	    # KCC will only create a shared library if the output file
   13470 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13471 	    # to its proper name (with version) after linking.
   13472 	    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'
   13473 	    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'
   13474 	    # Commands to make compiler produce verbose output that lists
   13475 	    # what "hidden" libraries, object files and flags are used when
   13476 	    # linking a shared library.
   13477 	    #
   13478 	    # There doesn't appear to be a way to prevent this compiler from
   13479 	    # explicitly linking system object files so we need to strip them
   13480 	    # from the output so that they don't get included in the library
   13481 	    # dependencies.
   13482 	    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"'
   13483 
   13484 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13485 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13486 
   13487 	    # Archives containing C++ object files must be created using
   13488 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   13489 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   13490 	    ;;
   13491 	  icpc* | ecpc* )
   13492 	    # Intel C++
   13493 	    with_gnu_ld=yes
   13494 	    # version 8.0 and above of icpc choke on multiply defined symbols
   13495 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   13496 	    # earlier do not add the objects themselves.
   13497 	    case `$CC -V 2>&1` in
   13498 	      *"Version 7."*)
   13499 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13500 		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'
   13501 		;;
   13502 	      *)  # Version 8.0 or newer
   13503 	        tmp_idyn=
   13504 	        case $host_cpu in
   13505 		  ia64*) tmp_idyn=' -i_dynamic';;
   13506 		esac
   13507 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13508 		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'
   13509 		;;
   13510 	    esac
   13511 	    archive_cmds_need_lc_CXX=no
   13512 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13513 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13514 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   13515 	    ;;
   13516           pgCC* | pgcpp*)
   13517             # Portland Group C++ compiler
   13518 	    case `$CC -V` in
   13519 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   13520 	      prelink_cmds_CXX='tpldir=Template.dir~
   13521 		rm -rf $tpldir~
   13522 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   13523 		compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
   13524 	      old_archive_cmds_CXX='tpldir=Template.dir~
   13525 		rm -rf $tpldir~
   13526 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   13527 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
   13528 		$RANLIB $oldlib'
   13529 	      archive_cmds_CXX='tpldir=Template.dir~
   13530 		rm -rf $tpldir~
   13531 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13532 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13533 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   13534 		rm -rf $tpldir~
   13535 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   13536 		$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'
   13537 	      ;;
   13538 	    *) # Version 6 and above use weak symbols
   13539 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   13540 	      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'
   13541 	      ;;
   13542 	    esac
   13543 
   13544 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   13545 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13546 	    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'
   13547             ;;
   13548 	  cxx*)
   13549 	    # Compaq C++
   13550 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13551 	    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'
   13552 
   13553 	    runpath_var=LD_RUN_PATH
   13554 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13555 	    hardcode_libdir_separator_CXX=:
   13556 
   13557 	    # Commands to make compiler produce verbose output that lists
   13558 	    # what "hidden" libraries, object files and flags are used when
   13559 	    # linking a shared library.
   13560 	    #
   13561 	    # There doesn't appear to be a way to prevent this compiler from
   13562 	    # explicitly linking system object files so we need to strip them
   13563 	    # from the output so that they don't get included in the library
   13564 	    # dependencies.
   13565 	    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'
   13566 	    ;;
   13567 	  xl* | mpixl* | bgxl*)
   13568 	    # IBM XL 8.0 on PPC, with GNU ld
   13569 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13570 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   13571 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   13572 	    if test "x$supports_anon_versioning" = xyes; then
   13573 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   13574 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   13575 		echo "local: *; };" >> $output_objdir/$libname.ver~
   13576 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   13577 	    fi
   13578 	    ;;
   13579 	  *)
   13580 	    case `$CC -V 2>&1 | sed 5q` in
   13581 	    *Sun\ C*)
   13582 	      # Sun C++ 5.9
   13583 	      no_undefined_flag_CXX=' -zdefs'
   13584 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13585 	      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'
   13586 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   13587 	      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'
   13588 	      compiler_needs_object_CXX=yes
   13589 
   13590 	      # Not sure whether something based on
   13591 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   13592 	      # would be better.
   13593 	      output_verbose_link_cmd='func_echo_all'
   13594 
   13595 	      # Archives containing C++ object files must be created using
   13596 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13597 	      # necessary to make sure instantiated templates are included
   13598 	      # in the archive.
   13599 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13600 	      ;;
   13601 	    esac
   13602 	    ;;
   13603 	esac
   13604 	;;
   13605 
   13606       lynxos*)
   13607         # FIXME: insert proper C++ library support
   13608 	ld_shlibs_CXX=no
   13609 	;;
   13610 
   13611       m88k*)
   13612         # FIXME: insert proper C++ library support
   13613         ld_shlibs_CXX=no
   13614 	;;
   13615 
   13616       mvs*)
   13617         case $cc_basename in
   13618           cxx*)
   13619 	    # FIXME: insert proper C++ library support
   13620 	    ld_shlibs_CXX=no
   13621 	    ;;
   13622 	  *)
   13623 	    # FIXME: insert proper C++ library support
   13624 	    ld_shlibs_CXX=no
   13625 	    ;;
   13626 	esac
   13627 	;;
   13628 
   13629       netbsd*)
   13630         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   13631 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   13632 	  wlarc=
   13633 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   13634 	  hardcode_direct_CXX=yes
   13635 	  hardcode_shlibpath_var_CXX=no
   13636 	fi
   13637 	# Workaround some broken pre-1.5 toolchains
   13638 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   13639 	;;
   13640 
   13641       *nto* | *qnx*)
   13642         ld_shlibs_CXX=yes
   13643 	;;
   13644 
   13645       openbsd2*)
   13646         # C++ shared libraries are fairly broken
   13647 	ld_shlibs_CXX=no
   13648 	;;
   13649 
   13650       openbsd*)
   13651 	if test -f /usr/libexec/ld.so; then
   13652 	  hardcode_direct_CXX=yes
   13653 	  hardcode_shlibpath_var_CXX=no
   13654 	  hardcode_direct_absolute_CXX=yes
   13655 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   13656 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13657 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   13658 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   13659 	    export_dynamic_flag_spec_CXX='${wl}-E'
   13660 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   13661 	  fi
   13662 	  output_verbose_link_cmd=func_echo_all
   13663 	else
   13664 	  ld_shlibs_CXX=no
   13665 	fi
   13666 	;;
   13667 
   13668       osf3* | osf4* | osf5*)
   13669         case $cc_basename in
   13670           KCC*)
   13671 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   13672 
   13673 	    # KCC will only create a shared library if the output file
   13674 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   13675 	    # to its proper name (with version) after linking.
   13676 	    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'
   13677 
   13678 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   13679 	    hardcode_libdir_separator_CXX=:
   13680 
   13681 	    # Archives containing C++ object files must be created using
   13682 	    # the KAI C++ compiler.
   13683 	    case $host in
   13684 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   13685 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   13686 	    esac
   13687 	    ;;
   13688           RCC*)
   13689 	    # Rational C++ 2.4.1
   13690 	    # FIXME: insert proper C++ library support
   13691 	    ld_shlibs_CXX=no
   13692 	    ;;
   13693           cxx*)
   13694 	    case $host in
   13695 	      osf3*)
   13696 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13697 	        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'
   13698 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13699 		;;
   13700 	      *)
   13701 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   13702 	        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'
   13703 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   13704 	          echo "-hidden">> $lib.exp~
   13705 	          $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~
   13706 	          $RM $lib.exp'
   13707 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   13708 		;;
   13709 	    esac
   13710 
   13711 	    hardcode_libdir_separator_CXX=:
   13712 
   13713 	    # Commands to make compiler produce verbose output that lists
   13714 	    # what "hidden" libraries, object files and flags are used when
   13715 	    # linking a shared library.
   13716 	    #
   13717 	    # There doesn't appear to be a way to prevent this compiler from
   13718 	    # explicitly linking system object files so we need to strip them
   13719 	    # from the output so that they don't get included in the library
   13720 	    # dependencies.
   13721 	    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"'
   13722 	    ;;
   13723 	  *)
   13724 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13725 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   13726 	      case $host in
   13727 	        osf3*)
   13728 	          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'
   13729 		  ;;
   13730 	        *)
   13731 	          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'
   13732 		  ;;
   13733 	      esac
   13734 
   13735 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   13736 	      hardcode_libdir_separator_CXX=:
   13737 
   13738 	      # Commands to make compiler produce verbose output that lists
   13739 	      # what "hidden" libraries, object files and flags are used when
   13740 	      # linking a shared library.
   13741 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13742 
   13743 	    else
   13744 	      # FIXME: insert proper C++ library support
   13745 	      ld_shlibs_CXX=no
   13746 	    fi
   13747 	    ;;
   13748         esac
   13749         ;;
   13750 
   13751       psos*)
   13752         # FIXME: insert proper C++ library support
   13753         ld_shlibs_CXX=no
   13754         ;;
   13755 
   13756       sunos4*)
   13757         case $cc_basename in
   13758           CC*)
   13759 	    # Sun C++ 4.x
   13760 	    # FIXME: insert proper C++ library support
   13761 	    ld_shlibs_CXX=no
   13762 	    ;;
   13763           lcc*)
   13764 	    # Lucid
   13765 	    # FIXME: insert proper C++ library support
   13766 	    ld_shlibs_CXX=no
   13767 	    ;;
   13768           *)
   13769 	    # FIXME: insert proper C++ library support
   13770 	    ld_shlibs_CXX=no
   13771 	    ;;
   13772         esac
   13773         ;;
   13774 
   13775       solaris*)
   13776         case $cc_basename in
   13777           CC*)
   13778 	    # Sun C++ 4.2, 5.x and Centerline C++
   13779             archive_cmds_need_lc_CXX=yes
   13780 	    no_undefined_flag_CXX=' -zdefs'
   13781 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13782 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13783 	      $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'
   13784 
   13785 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13786 	    hardcode_shlibpath_var_CXX=no
   13787 	    case $host_os in
   13788 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13789 	      *)
   13790 		# The compiler driver will combine and reorder linker options,
   13791 		# but understands `-z linker_flag'.
   13792 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13793 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13794 	        ;;
   13795 	    esac
   13796 	    link_all_deplibs_CXX=yes
   13797 
   13798 	    output_verbose_link_cmd='func_echo_all'
   13799 
   13800 	    # Archives containing C++ object files must be created using
   13801 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13802 	    # necessary to make sure instantiated templates are included
   13803 	    # in the archive.
   13804 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13805 	    ;;
   13806           gcx*)
   13807 	    # Green Hills C++ Compiler
   13808 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13809 
   13810 	    # The C++ compiler must be used to create the archive.
   13811 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13812 	    ;;
   13813           *)
   13814 	    # GNU C++ compiler with Solaris linker
   13815 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13816 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13817 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13818 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13819 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13820 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13821 
   13822 	        # Commands to make compiler produce verbose output that lists
   13823 	        # what "hidden" libraries, object files and flags are used when
   13824 	        # linking a shared library.
   13825 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13826 	      else
   13827 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13828 	        # platform.
   13829 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13830 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13831 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13832 
   13833 	        # Commands to make compiler produce verbose output that lists
   13834 	        # what "hidden" libraries, object files and flags are used when
   13835 	        # linking a shared library.
   13836 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13837 	      fi
   13838 
   13839 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13840 	      case $host_os in
   13841 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13842 		*)
   13843 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13844 		  ;;
   13845 	      esac
   13846 	    fi
   13847 	    ;;
   13848         esac
   13849         ;;
   13850 
   13851     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13852       no_undefined_flag_CXX='${wl}-z,text'
   13853       archive_cmds_need_lc_CXX=no
   13854       hardcode_shlibpath_var_CXX=no
   13855       runpath_var='LD_RUN_PATH'
   13856 
   13857       case $cc_basename in
   13858         CC*)
   13859 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13860 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13861 	  ;;
   13862 	*)
   13863 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13864 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13865 	  ;;
   13866       esac
   13867       ;;
   13868 
   13869       sysv5* | sco3.2v5* | sco5v6*)
   13870 	# Note: We can NOT use -z defs as we might desire, because we do not
   13871 	# link with -lc, and that would cause any symbols used from libc to
   13872 	# always be unresolved, which means just about no library would
   13873 	# ever link correctly.  If we're not using GNU ld we use -z text
   13874 	# though, which does catch some bad symbols but isn't as heavy-handed
   13875 	# as -z defs.
   13876 	no_undefined_flag_CXX='${wl}-z,text'
   13877 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13878 	archive_cmds_need_lc_CXX=no
   13879 	hardcode_shlibpath_var_CXX=no
   13880 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13881 	hardcode_libdir_separator_CXX=':'
   13882 	link_all_deplibs_CXX=yes
   13883 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13884 	runpath_var='LD_RUN_PATH'
   13885 
   13886 	case $cc_basename in
   13887           CC*)
   13888 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13889 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13890 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   13891 	      '"$old_archive_cmds_CXX"
   13892 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   13893 	      '"$reload_cmds_CXX"
   13894 	    ;;
   13895 	  *)
   13896 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13897 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13898 	    ;;
   13899 	esac
   13900       ;;
   13901 
   13902       tandem*)
   13903         case $cc_basename in
   13904           NCC*)
   13905 	    # NonStop-UX NCC 3.20
   13906 	    # FIXME: insert proper C++ library support
   13907 	    ld_shlibs_CXX=no
   13908 	    ;;
   13909           *)
   13910 	    # FIXME: insert proper C++ library support
   13911 	    ld_shlibs_CXX=no
   13912 	    ;;
   13913         esac
   13914         ;;
   13915 
   13916       vxworks*)
   13917         # For VxWorks ports, we assume the use of a GNU linker with
   13918         # standard elf conventions.
   13919         ld_shlibs_CXX=yes
   13920         ;;
   13921 
   13922       *)
   13923         # FIXME: insert proper C++ library support
   13924         ld_shlibs_CXX=no
   13925         ;;
   13926     esac
   13927 
   13928     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13929 $as_echo "$ld_shlibs_CXX" >&6; }
   13930     test "$ld_shlibs_CXX" = no && can_build_shared=no
   13931 
   13932     GCC_CXX="$GXX"
   13933     LD_CXX="$LD"
   13934 
   13935     ## CAVEAT EMPTOR:
   13936     ## There is no encapsulation within the following macros, do not change
   13937     ## the running order or otherwise move them around unless you know exactly
   13938     ## what you are doing...
   13939     # Dependencies to place before and after the object being linked:
   13940 predep_objects_CXX=
   13941 postdep_objects_CXX=
   13942 predeps_CXX=
   13943 postdeps_CXX=
   13944 compiler_lib_search_path_CXX=
   13945 
   13946 cat > conftest.$ac_ext <<_LT_EOF
   13947 class Foo
   13948 {
   13949 public:
   13950   Foo (void) { a = 0; }
   13951 private:
   13952   int a;
   13953 };
   13954 _LT_EOF
   13955 
   13956 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13957   (eval $ac_compile) 2>&5
   13958   ac_status=$?
   13959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13960   test $ac_status = 0; }; then
   13961   # Parse the compiler output and extract the necessary
   13962   # objects, libraries and library flags.
   13963 
   13964   # Sentinel used to keep track of whether or not we are before
   13965   # the conftest object file.
   13966   pre_test_object_deps_done=no
   13967 
   13968   for p in `eval "$output_verbose_link_cmd"`; do
   13969     case $p in
   13970 
   13971     -L* | -R* | -l*)
   13972        # Some compilers place space between "-{L,R}" and the path.
   13973        # Remove the space.
   13974        if test $p = "-L" ||
   13975           test $p = "-R"; then
   13976 	 prev=$p
   13977 	 continue
   13978        else
   13979 	 prev=
   13980        fi
   13981 
   13982        if test "$pre_test_object_deps_done" = no; then
   13983 	 case $p in
   13984 	 -L* | -R*)
   13985 	   # Internal compiler library paths should come after those
   13986 	   # provided the user.  The postdeps already come after the
   13987 	   # user supplied libs so there is no need to process them.
   13988 	   if test -z "$compiler_lib_search_path_CXX"; then
   13989 	     compiler_lib_search_path_CXX="${prev}${p}"
   13990 	   else
   13991 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   13992 	   fi
   13993 	   ;;
   13994 	 # The "-l" case would never come before the object being
   13995 	 # linked, so don't bother handling this case.
   13996 	 esac
   13997        else
   13998 	 if test -z "$postdeps_CXX"; then
   13999 	   postdeps_CXX="${prev}${p}"
   14000 	 else
   14001 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   14002 	 fi
   14003        fi
   14004        ;;
   14005 
   14006     *.$objext)
   14007        # This assumes that the test object file only shows up
   14008        # once in the compiler output.
   14009        if test "$p" = "conftest.$objext"; then
   14010 	 pre_test_object_deps_done=yes
   14011 	 continue
   14012        fi
   14013 
   14014        if test "$pre_test_object_deps_done" = no; then
   14015 	 if test -z "$predep_objects_CXX"; then
   14016 	   predep_objects_CXX="$p"
   14017 	 else
   14018 	   predep_objects_CXX="$predep_objects_CXX $p"
   14019 	 fi
   14020        else
   14021 	 if test -z "$postdep_objects_CXX"; then
   14022 	   postdep_objects_CXX="$p"
   14023 	 else
   14024 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   14025 	 fi
   14026        fi
   14027        ;;
   14028 
   14029     *) ;; # Ignore the rest.
   14030 
   14031     esac
   14032   done
   14033 
   14034   # Clean up.
   14035   rm -f a.out a.exe
   14036 else
   14037   echo "libtool.m4: error: problem compiling CXX test program"
   14038 fi
   14039 
   14040 $RM -f confest.$objext
   14041 
   14042 # PORTME: override above test on systems where it is broken
   14043 case $host_os in
   14044 interix[3-9]*)
   14045   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   14046   # hack all around it, let's just trust "g++" to DTRT.
   14047   predep_objects_CXX=
   14048   postdep_objects_CXX=
   14049   postdeps_CXX=
   14050   ;;
   14051 
   14052 linux*)
   14053   case `$CC -V 2>&1 | sed 5q` in
   14054   *Sun\ C*)
   14055     # Sun C++ 5.9
   14056 
   14057     # The more standards-conforming stlport4 library is
   14058     # incompatible with the Cstd library. Avoid specifying
   14059     # it if it's in CXXFLAGS. Ignore libCrun as
   14060     # -library=stlport4 depends on it.
   14061     case " $CXX $CXXFLAGS " in
   14062     *" -library=stlport4 "*)
   14063       solaris_use_stlport4=yes
   14064       ;;
   14065     esac
   14066 
   14067     if test "$solaris_use_stlport4" != yes; then
   14068       postdeps_CXX='-library=Cstd -library=Crun'
   14069     fi
   14070     ;;
   14071   esac
   14072   ;;
   14073 
   14074 solaris*)
   14075   case $cc_basename in
   14076   CC*)
   14077     # The more standards-conforming stlport4 library is
   14078     # incompatible with the Cstd library. Avoid specifying
   14079     # it if it's in CXXFLAGS. Ignore libCrun as
   14080     # -library=stlport4 depends on it.
   14081     case " $CXX $CXXFLAGS " in
   14082     *" -library=stlport4 "*)
   14083       solaris_use_stlport4=yes
   14084       ;;
   14085     esac
   14086 
   14087     # Adding this requires a known-good setup of shared libraries for
   14088     # Sun compiler versions before 5.6, else PIC objects from an old
   14089     # archive will be linked into the output, leading to subtle bugs.
   14090     if test "$solaris_use_stlport4" != yes; then
   14091       postdeps_CXX='-library=Cstd -library=Crun'
   14092     fi
   14093     ;;
   14094   esac
   14095   ;;
   14096 esac
   14097 
   14098 
   14099 case " $postdeps_CXX " in
   14100 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   14101 esac
   14102  compiler_lib_search_dirs_CXX=
   14103 if test -n "${compiler_lib_search_path_CXX}"; then
   14104  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   14105 fi
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137     lt_prog_compiler_wl_CXX=
   14138 lt_prog_compiler_pic_CXX=
   14139 lt_prog_compiler_static_CXX=
   14140 
   14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14142 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14143 
   14144   # C++ specific cases for pic, static, wl, etc.
   14145   if test "$GXX" = yes; then
   14146     lt_prog_compiler_wl_CXX='-Wl,'
   14147     lt_prog_compiler_static_CXX='-static'
   14148 
   14149     case $host_os in
   14150     aix*)
   14151       # All AIX code is PIC.
   14152       if test "$host_cpu" = ia64; then
   14153 	# AIX 5 now supports IA64 processor
   14154 	lt_prog_compiler_static_CXX='-Bstatic'
   14155       fi
   14156       lt_prog_compiler_pic_CXX='-fPIC'
   14157       ;;
   14158 
   14159     amigaos*)
   14160       case $host_cpu in
   14161       powerpc)
   14162             # see comment about AmigaOS4 .so support
   14163             lt_prog_compiler_pic_CXX='-fPIC'
   14164         ;;
   14165       m68k)
   14166             # FIXME: we need at least 68020 code to build shared libraries, but
   14167             # adding the `-m68020' flag to GCC prevents building anything better,
   14168             # like `-m68040'.
   14169             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   14170         ;;
   14171       esac
   14172       ;;
   14173 
   14174     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14175       # PIC is the default for these OSes.
   14176       ;;
   14177     mingw* | cygwin* | os2* | pw32* | cegcc*)
   14178       # This hack is so that the source file can tell whether it is being
   14179       # built for inclusion in a dll (and should export symbols for example).
   14180       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14181       # (--disable-auto-import) libraries
   14182       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   14183       ;;
   14184     darwin* | rhapsody*)
   14185       # PIC is the default on this platform
   14186       # Common symbols not allowed in MH_DYLIB files
   14187       lt_prog_compiler_pic_CXX='-fno-common'
   14188       ;;
   14189     *djgpp*)
   14190       # DJGPP does not support shared libraries at all
   14191       lt_prog_compiler_pic_CXX=
   14192       ;;
   14193     haiku*)
   14194       # PIC is the default for Haiku.
   14195       # The "-static" flag exists, but is broken.
   14196       lt_prog_compiler_static_CXX=
   14197       ;;
   14198     interix[3-9]*)
   14199       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14200       # Instead, we relocate shared libraries at runtime.
   14201       ;;
   14202     sysv4*MP*)
   14203       if test -d /usr/nec; then
   14204 	lt_prog_compiler_pic_CXX=-Kconform_pic
   14205       fi
   14206       ;;
   14207     hpux*)
   14208       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14209       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14210       # sets the default TLS model and affects inlining.
   14211       case $host_cpu in
   14212       hppa*64*)
   14213 	;;
   14214       *)
   14215 	lt_prog_compiler_pic_CXX='-fPIC'
   14216 	;;
   14217       esac
   14218       ;;
   14219     *qnx* | *nto*)
   14220       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14221       # it will coredump.
   14222       lt_prog_compiler_pic_CXX='-fPIC -shared'
   14223       ;;
   14224     *)
   14225       lt_prog_compiler_pic_CXX='-fPIC'
   14226       ;;
   14227     esac
   14228   else
   14229     case $host_os in
   14230       aix[4-9]*)
   14231 	# All AIX code is PIC.
   14232 	if test "$host_cpu" = ia64; then
   14233 	  # AIX 5 now supports IA64 processor
   14234 	  lt_prog_compiler_static_CXX='-Bstatic'
   14235 	else
   14236 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   14237 	fi
   14238 	;;
   14239       chorus*)
   14240 	case $cc_basename in
   14241 	cxch68*)
   14242 	  # Green Hills C++ Compiler
   14243 	  # _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"
   14244 	  ;;
   14245 	esac
   14246 	;;
   14247       dgux*)
   14248 	case $cc_basename in
   14249 	  ec++*)
   14250 	    lt_prog_compiler_pic_CXX='-KPIC'
   14251 	    ;;
   14252 	  ghcx*)
   14253 	    # Green Hills C++ Compiler
   14254 	    lt_prog_compiler_pic_CXX='-pic'
   14255 	    ;;
   14256 	  *)
   14257 	    ;;
   14258 	esac
   14259 	;;
   14260       freebsd* | dragonfly*)
   14261 	# FreeBSD uses GNU C++
   14262 	;;
   14263       hpux9* | hpux10* | hpux11*)
   14264 	case $cc_basename in
   14265 	  CC*)
   14266 	    lt_prog_compiler_wl_CXX='-Wl,'
   14267 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14268 	    if test "$host_cpu" != ia64; then
   14269 	      lt_prog_compiler_pic_CXX='+Z'
   14270 	    fi
   14271 	    ;;
   14272 	  aCC*)
   14273 	    lt_prog_compiler_wl_CXX='-Wl,'
   14274 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   14275 	    case $host_cpu in
   14276 	    hppa*64*|ia64*)
   14277 	      # +Z the default
   14278 	      ;;
   14279 	    *)
   14280 	      lt_prog_compiler_pic_CXX='+Z'
   14281 	      ;;
   14282 	    esac
   14283 	    ;;
   14284 	  *)
   14285 	    ;;
   14286 	esac
   14287 	;;
   14288       interix*)
   14289 	# This is c89, which is MS Visual C++ (no shared libs)
   14290 	# Anyone wants to do a port?
   14291 	;;
   14292       irix5* | irix6* | nonstopux*)
   14293 	case $cc_basename in
   14294 	  CC*)
   14295 	    lt_prog_compiler_wl_CXX='-Wl,'
   14296 	    lt_prog_compiler_static_CXX='-non_shared'
   14297 	    # CC pic flag -KPIC is the default.
   14298 	    ;;
   14299 	  *)
   14300 	    ;;
   14301 	esac
   14302 	;;
   14303       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   14304 	case $cc_basename in
   14305 	  KCC*)
   14306 	    # KAI C++ Compiler
   14307 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14308 	    lt_prog_compiler_pic_CXX='-fPIC'
   14309 	    ;;
   14310 	  ecpc* )
   14311 	    # old Intel C++ for x86_64 which still supported -KPIC.
   14312 	    lt_prog_compiler_wl_CXX='-Wl,'
   14313 	    lt_prog_compiler_pic_CXX='-KPIC'
   14314 	    lt_prog_compiler_static_CXX='-static'
   14315 	    ;;
   14316 	  icpc* )
   14317 	    # Intel C++, used to be incompatible with GCC.
   14318 	    # ICC 10 doesn't accept -KPIC any more.
   14319 	    lt_prog_compiler_wl_CXX='-Wl,'
   14320 	    lt_prog_compiler_pic_CXX='-fPIC'
   14321 	    lt_prog_compiler_static_CXX='-static'
   14322 	    ;;
   14323 	  pgCC* | pgcpp*)
   14324 	    # Portland Group C++ compiler
   14325 	    lt_prog_compiler_wl_CXX='-Wl,'
   14326 	    lt_prog_compiler_pic_CXX='-fpic'
   14327 	    lt_prog_compiler_static_CXX='-Bstatic'
   14328 	    ;;
   14329 	  cxx*)
   14330 	    # Compaq C++
   14331 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14332 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14333 	    lt_prog_compiler_pic_CXX=
   14334 	    lt_prog_compiler_static_CXX='-non_shared'
   14335 	    ;;
   14336 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   14337 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   14338 	    lt_prog_compiler_wl_CXX='-Wl,'
   14339 	    lt_prog_compiler_pic_CXX='-qpic'
   14340 	    lt_prog_compiler_static_CXX='-qstaticlink'
   14341 	    ;;
   14342 	  *)
   14343 	    case `$CC -V 2>&1 | sed 5q` in
   14344 	    *Sun\ C*)
   14345 	      # Sun C++ 5.9
   14346 	      lt_prog_compiler_pic_CXX='-KPIC'
   14347 	      lt_prog_compiler_static_CXX='-Bstatic'
   14348 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   14349 	      ;;
   14350 	    esac
   14351 	    ;;
   14352 	esac
   14353 	;;
   14354       lynxos*)
   14355 	;;
   14356       m88k*)
   14357 	;;
   14358       mvs*)
   14359 	case $cc_basename in
   14360 	  cxx*)
   14361 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   14362 	    ;;
   14363 	  *)
   14364 	    ;;
   14365 	esac
   14366 	;;
   14367       netbsd*)
   14368 	;;
   14369       *qnx* | *nto*)
   14370         # QNX uses GNU C++, but need to define -shared option too, otherwise
   14371         # it will coredump.
   14372         lt_prog_compiler_pic_CXX='-fPIC -shared'
   14373         ;;
   14374       osf3* | osf4* | osf5*)
   14375 	case $cc_basename in
   14376 	  KCC*)
   14377 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   14378 	    ;;
   14379 	  RCC*)
   14380 	    # Rational C++ 2.4.1
   14381 	    lt_prog_compiler_pic_CXX='-pic'
   14382 	    ;;
   14383 	  cxx*)
   14384 	    # Digital/Compaq C++
   14385 	    lt_prog_compiler_wl_CXX='-Wl,'
   14386 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   14387 	    # Linux and Compaq Tru64 Unix objects are PIC.
   14388 	    lt_prog_compiler_pic_CXX=
   14389 	    lt_prog_compiler_static_CXX='-non_shared'
   14390 	    ;;
   14391 	  *)
   14392 	    ;;
   14393 	esac
   14394 	;;
   14395       psos*)
   14396 	;;
   14397       solaris*)
   14398 	case $cc_basename in
   14399 	  CC*)
   14400 	    # Sun C++ 4.2, 5.x and Centerline C++
   14401 	    lt_prog_compiler_pic_CXX='-KPIC'
   14402 	    lt_prog_compiler_static_CXX='-Bstatic'
   14403 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   14404 	    ;;
   14405 	  gcx*)
   14406 	    # Green Hills C++ Compiler
   14407 	    lt_prog_compiler_pic_CXX='-PIC'
   14408 	    ;;
   14409 	  *)
   14410 	    ;;
   14411 	esac
   14412 	;;
   14413       sunos4*)
   14414 	case $cc_basename in
   14415 	  CC*)
   14416 	    # Sun C++ 4.x
   14417 	    lt_prog_compiler_pic_CXX='-pic'
   14418 	    lt_prog_compiler_static_CXX='-Bstatic'
   14419 	    ;;
   14420 	  lcc*)
   14421 	    # Lucid
   14422 	    lt_prog_compiler_pic_CXX='-pic'
   14423 	    ;;
   14424 	  *)
   14425 	    ;;
   14426 	esac
   14427 	;;
   14428       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14429 	case $cc_basename in
   14430 	  CC*)
   14431 	    lt_prog_compiler_wl_CXX='-Wl,'
   14432 	    lt_prog_compiler_pic_CXX='-KPIC'
   14433 	    lt_prog_compiler_static_CXX='-Bstatic'
   14434 	    ;;
   14435 	esac
   14436 	;;
   14437       tandem*)
   14438 	case $cc_basename in
   14439 	  NCC*)
   14440 	    # NonStop-UX NCC 3.20
   14441 	    lt_prog_compiler_pic_CXX='-KPIC'
   14442 	    ;;
   14443 	  *)
   14444 	    ;;
   14445 	esac
   14446 	;;
   14447       vxworks*)
   14448 	;;
   14449       *)
   14450 	lt_prog_compiler_can_build_shared_CXX=no
   14451 	;;
   14452     esac
   14453   fi
   14454 
   14455 case $host_os in
   14456   # For platforms which do not support PIC, -DPIC is meaningless:
   14457   *djgpp*)
   14458     lt_prog_compiler_pic_CXX=
   14459     ;;
   14460   *)
   14461     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   14462     ;;
   14463 esac
   14464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   14465 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   14466 
   14467 
   14468 
   14469 #
   14470 # Check to make sure the PIC flag actually works.
   14471 #
   14472 if test -n "$lt_prog_compiler_pic_CXX"; then
   14473   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   14474 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   14475 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   14476   $as_echo_n "(cached) " >&6
   14477 else
   14478   lt_cv_prog_compiler_pic_works_CXX=no
   14479    ac_outfile=conftest.$ac_objext
   14480    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14481    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   14482    # Insert the option either (1) after the last *FLAGS variable, or
   14483    # (2) before a word containing "conftest.", or (3) at the end.
   14484    # Note that $ac_compile itself does not contain backslashes and begins
   14485    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14486    # The option is referenced via a variable to avoid confusing sed.
   14487    lt_compile=`echo "$ac_compile" | $SED \
   14488    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14489    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14490    -e 's:$: $lt_compiler_flag:'`
   14491    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14492    (eval "$lt_compile" 2>conftest.err)
   14493    ac_status=$?
   14494    cat conftest.err >&5
   14495    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14496    if (exit $ac_status) && test -s "$ac_outfile"; then
   14497      # The compiler can only warn and ignore the option if not recognized
   14498      # So say no if there are warnings other than the usual output.
   14499      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14500      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14501      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14502        lt_cv_prog_compiler_pic_works_CXX=yes
   14503      fi
   14504    fi
   14505    $RM conftest*
   14506 
   14507 fi
   14508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   14509 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   14510 
   14511 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   14512     case $lt_prog_compiler_pic_CXX in
   14513      "" | " "*) ;;
   14514      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   14515      esac
   14516 else
   14517     lt_prog_compiler_pic_CXX=
   14518      lt_prog_compiler_can_build_shared_CXX=no
   14519 fi
   14520 
   14521 fi
   14522 
   14523 
   14524 
   14525 #
   14526 # Check to make sure the static flag actually works.
   14527 #
   14528 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   14529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14530 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14531 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   14532   $as_echo_n "(cached) " >&6
   14533 else
   14534   lt_cv_prog_compiler_static_works_CXX=no
   14535    save_LDFLAGS="$LDFLAGS"
   14536    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14537    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14538    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14539      # The linker can only warn and ignore the option if not recognized
   14540      # So say no if there are warnings
   14541      if test -s conftest.err; then
   14542        # Append any errors to the config.log.
   14543        cat conftest.err 1>&5
   14544        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14545        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14546        if diff conftest.exp conftest.er2 >/dev/null; then
   14547          lt_cv_prog_compiler_static_works_CXX=yes
   14548        fi
   14549      else
   14550        lt_cv_prog_compiler_static_works_CXX=yes
   14551      fi
   14552    fi
   14553    $RM -r conftest*
   14554    LDFLAGS="$save_LDFLAGS"
   14555 
   14556 fi
   14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   14558 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   14559 
   14560 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   14561     :
   14562 else
   14563     lt_prog_compiler_static_CXX=
   14564 fi
   14565 
   14566 
   14567 
   14568 
   14569     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14570 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14571 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14572   $as_echo_n "(cached) " >&6
   14573 else
   14574   lt_cv_prog_compiler_c_o_CXX=no
   14575    $RM -r conftest 2>/dev/null
   14576    mkdir conftest
   14577    cd conftest
   14578    mkdir out
   14579    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14580 
   14581    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14582    # Insert the option either (1) after the last *FLAGS variable, or
   14583    # (2) before a word containing "conftest.", or (3) at the end.
   14584    # Note that $ac_compile itself does not contain backslashes and begins
   14585    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14586    lt_compile=`echo "$ac_compile" | $SED \
   14587    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14588    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14589    -e 's:$: $lt_compiler_flag:'`
   14590    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14591    (eval "$lt_compile" 2>out/conftest.err)
   14592    ac_status=$?
   14593    cat out/conftest.err >&5
   14594    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14595    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14596    then
   14597      # The compiler can only warn and ignore the option if not recognized
   14598      # So say no if there are warnings
   14599      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14600      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14601      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14602        lt_cv_prog_compiler_c_o_CXX=yes
   14603      fi
   14604    fi
   14605    chmod u+w . 2>&5
   14606    $RM conftest*
   14607    # SGI C++ compiler will create directory out/ii_files/ for
   14608    # template instantiation
   14609    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14610    $RM out/* && rmdir out
   14611    cd ..
   14612    $RM -r conftest
   14613    $RM conftest*
   14614 
   14615 fi
   14616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14617 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14618 
   14619 
   14620 
   14621     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14622 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14623 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   14624   $as_echo_n "(cached) " >&6
   14625 else
   14626   lt_cv_prog_compiler_c_o_CXX=no
   14627    $RM -r conftest 2>/dev/null
   14628    mkdir conftest
   14629    cd conftest
   14630    mkdir out
   14631    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14632 
   14633    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14634    # Insert the option either (1) after the last *FLAGS variable, or
   14635    # (2) before a word containing "conftest.", or (3) at the end.
   14636    # Note that $ac_compile itself does not contain backslashes and begins
   14637    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14638    lt_compile=`echo "$ac_compile" | $SED \
   14639    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14640    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14641    -e 's:$: $lt_compiler_flag:'`
   14642    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14643    (eval "$lt_compile" 2>out/conftest.err)
   14644    ac_status=$?
   14645    cat out/conftest.err >&5
   14646    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14647    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14648    then
   14649      # The compiler can only warn and ignore the option if not recognized
   14650      # So say no if there are warnings
   14651      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14652      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14653      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14654        lt_cv_prog_compiler_c_o_CXX=yes
   14655      fi
   14656    fi
   14657    chmod u+w . 2>&5
   14658    $RM conftest*
   14659    # SGI C++ compiler will create directory out/ii_files/ for
   14660    # template instantiation
   14661    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14662    $RM out/* && rmdir out
   14663    cd ..
   14664    $RM -r conftest
   14665    $RM conftest*
   14666 
   14667 fi
   14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   14669 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   14670 
   14671 
   14672 
   14673 
   14674 hard_links="nottested"
   14675 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   14676   # do not overwrite the value of need_locks provided by the user
   14677   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14678 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14679   hard_links=yes
   14680   $RM conftest*
   14681   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14682   touch conftest.a
   14683   ln conftest.a conftest.b 2>&5 || hard_links=no
   14684   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14686 $as_echo "$hard_links" >&6; }
   14687   if test "$hard_links" = no; then
   14688     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14689 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14690     need_locks=warn
   14691   fi
   14692 else
   14693   need_locks=no
   14694 fi
   14695 
   14696 
   14697 
   14698     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14699 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14700 
   14701   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14702   case $host_os in
   14703   aix[4-9]*)
   14704     # If we're using GNU nm, then we don't want the "-C" option.
   14705     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   14706     # Also, AIX nm treats weak defined symbols like other global defined
   14707     # symbols, whereas GNU nm marks them as "W".
   14708     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   14709       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'
   14710     else
   14711       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'
   14712     fi
   14713     ;;
   14714   pw32*)
   14715     export_symbols_cmds_CXX="$ltdll_cmds"
   14716   ;;
   14717   cygwin* | mingw* | cegcc*)
   14718     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'
   14719   ;;
   14720   *)
   14721     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14722   ;;
   14723   esac
   14724   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14725 
   14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   14727 $as_echo "$ld_shlibs_CXX" >&6; }
   14728 test "$ld_shlibs_CXX" = no && can_build_shared=no
   14729 
   14730 with_gnu_ld_CXX=$with_gnu_ld
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 #
   14738 # Do we need to explicitly link libc?
   14739 #
   14740 case "x$archive_cmds_need_lc_CXX" in
   14741 x|xyes)
   14742   # Assume -lc should be added
   14743   archive_cmds_need_lc_CXX=yes
   14744 
   14745   if test "$enable_shared" = yes && test "$GCC" = yes; then
   14746     case $archive_cmds_CXX in
   14747     *'~'*)
   14748       # FIXME: we may have to deal with multi-command sequences.
   14749       ;;
   14750     '$CC '*)
   14751       # Test whether the compiler implicitly links with -lc since on some
   14752       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   14753       # to ld, don't add -lc before -lgcc.
   14754       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   14755 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   14756 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   14757   $as_echo_n "(cached) " >&6
   14758 else
   14759   $RM conftest*
   14760 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14761 
   14762 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14763   (eval $ac_compile) 2>&5
   14764   ac_status=$?
   14765   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14766   test $ac_status = 0; } 2>conftest.err; then
   14767 	  soname=conftest
   14768 	  lib=conftest
   14769 	  libobjs=conftest.$ac_objext
   14770 	  deplibs=
   14771 	  wl=$lt_prog_compiler_wl_CXX
   14772 	  pic_flag=$lt_prog_compiler_pic_CXX
   14773 	  compiler_flags=-v
   14774 	  linker_flags=-v
   14775 	  verstring=
   14776 	  output_objdir=.
   14777 	  libname=conftest
   14778 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14779 	  allow_undefined_flag_CXX=
   14780 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14781   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14782   ac_status=$?
   14783   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14784   test $ac_status = 0; }
   14785 	  then
   14786 	    lt_cv_archive_cmds_need_lc_CXX=no
   14787 	  else
   14788 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14789 	  fi
   14790 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14791 	else
   14792 	  cat conftest.err 1>&5
   14793 	fi
   14794 	$RM conftest*
   14795 
   14796 fi
   14797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14798 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14799       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14800       ;;
   14801     esac
   14802   fi
   14803   ;;
   14804 esac
   14805 
   14806 
   14807 
   14808 
   14809 
   14810 
   14811 
   14812 
   14813 
   14814 
   14815 
   14816 
   14817 
   14818 
   14819 
   14820 
   14821 
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 
   14851 
   14852 
   14853 
   14854 
   14855 
   14856 
   14857 
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14870 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14871 
   14872 library_names_spec=
   14873 libname_spec='lib$name'
   14874 soname_spec=
   14875 shrext_cmds=".so"
   14876 postinstall_cmds=
   14877 postuninstall_cmds=
   14878 finish_cmds=
   14879 finish_eval=
   14880 shlibpath_var=
   14881 shlibpath_overrides_runpath=unknown
   14882 version_type=none
   14883 dynamic_linker="$host_os ld.so"
   14884 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14885 need_lib_prefix=unknown
   14886 hardcode_into_libs=no
   14887 
   14888 # when you set need_version to no, make sure it does not cause -set_version
   14889 # flags to be left without arguments
   14890 need_version=unknown
   14891 
   14892 case $host_os in
   14893 aix3*)
   14894   version_type=linux
   14895   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14896   shlibpath_var=LIBPATH
   14897 
   14898   # AIX 3 has no versioning support, so we append a major version to the name.
   14899   soname_spec='${libname}${release}${shared_ext}$major'
   14900   ;;
   14901 
   14902 aix[4-9]*)
   14903   version_type=linux
   14904   need_lib_prefix=no
   14905   need_version=no
   14906   hardcode_into_libs=yes
   14907   if test "$host_cpu" = ia64; then
   14908     # AIX 5 supports IA64
   14909     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14910     shlibpath_var=LD_LIBRARY_PATH
   14911   else
   14912     # With GCC up to 2.95.x, collect2 would create an import file
   14913     # for dependence libraries.  The import file would start with
   14914     # the line `#! .'.  This would cause the generated library to
   14915     # depend on `.', always an invalid library.  This was fixed in
   14916     # development snapshots of GCC prior to 3.0.
   14917     case $host_os in
   14918       aix4 | aix4.[01] | aix4.[01].*)
   14919       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14920 	   echo ' yes '
   14921 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14922 	:
   14923       else
   14924 	can_build_shared=no
   14925       fi
   14926       ;;
   14927     esac
   14928     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14929     # soname into executable. Probably we can add versioning support to
   14930     # collect2, so additional links can be useful in future.
   14931     if test "$aix_use_runtimelinking" = yes; then
   14932       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14933       # instead of lib<name>.a to let people know that these are not
   14934       # typical AIX shared libraries.
   14935       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14936     else
   14937       # We preserve .a as extension for shared libraries through AIX4.2
   14938       # and later when we are not doing run time linking.
   14939       library_names_spec='${libname}${release}.a $libname.a'
   14940       soname_spec='${libname}${release}${shared_ext}$major'
   14941     fi
   14942     shlibpath_var=LIBPATH
   14943   fi
   14944   ;;
   14945 
   14946 amigaos*)
   14947   case $host_cpu in
   14948   powerpc)
   14949     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14950     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14951     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14952     ;;
   14953   m68k)
   14954     library_names_spec='$libname.ixlibrary $libname.a'
   14955     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14956     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'
   14957     ;;
   14958   esac
   14959   ;;
   14960 
   14961 beos*)
   14962   library_names_spec='${libname}${shared_ext}'
   14963   dynamic_linker="$host_os ld.so"
   14964   shlibpath_var=LIBRARY_PATH
   14965   ;;
   14966 
   14967 bsdi[45]*)
   14968   version_type=linux
   14969   need_version=no
   14970   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14971   soname_spec='${libname}${release}${shared_ext}$major'
   14972   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14973   shlibpath_var=LD_LIBRARY_PATH
   14974   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14975   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14976   # the default ld.so.conf also contains /usr/contrib/lib and
   14977   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14978   # libtool to hard-code these into programs
   14979   ;;
   14980 
   14981 cygwin* | mingw* | pw32* | cegcc*)
   14982   version_type=windows
   14983   shrext_cmds=".dll"
   14984   need_version=no
   14985   need_lib_prefix=no
   14986 
   14987   case $GCC,$host_os in
   14988   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   14989     library_names_spec='$libname.dll.a'
   14990     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14991     postinstall_cmds='base_file=`basename \${file}`~
   14992       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14993       dldir=$destdir/`dirname \$dlpath`~
   14994       test -d \$dldir || mkdir -p \$dldir~
   14995       $install_prog $dir/$dlname \$dldir/$dlname~
   14996       chmod a+x \$dldir/$dlname~
   14997       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14998         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14999       fi'
   15000     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   15001       dlpath=$dir/\$dldll~
   15002        $RM \$dlpath'
   15003     shlibpath_overrides_runpath=yes
   15004 
   15005     case $host_os in
   15006     cygwin*)
   15007       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   15008       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15009 
   15010       ;;
   15011     mingw* | cegcc*)
   15012       # MinGW DLLs use traditional 'lib' prefix
   15013       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15014       ;;
   15015     pw32*)
   15016       # pw32 DLLs use 'pw' prefix rather than 'lib'
   15017       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   15018       ;;
   15019     esac
   15020     ;;
   15021 
   15022   *)
   15023     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   15024     ;;
   15025   esac
   15026   dynamic_linker='Win32 ld.exe'
   15027   # FIXME: first we should search . and the directory the executable is in
   15028   shlibpath_var=PATH
   15029   ;;
   15030 
   15031 darwin* | rhapsody*)
   15032   dynamic_linker="$host_os dyld"
   15033   version_type=darwin
   15034   need_lib_prefix=no
   15035   need_version=no
   15036   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   15037   soname_spec='${libname}${release}${major}$shared_ext'
   15038   shlibpath_overrides_runpath=yes
   15039   shlibpath_var=DYLD_LIBRARY_PATH
   15040   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   15041 
   15042   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   15043   ;;
   15044 
   15045 dgux*)
   15046   version_type=linux
   15047   need_lib_prefix=no
   15048   need_version=no
   15049   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   15050   soname_spec='${libname}${release}${shared_ext}$major'
   15051   shlibpath_var=LD_LIBRARY_PATH
   15052   ;;
   15053 
   15054 freebsd* | dragonfly*)
   15055   # DragonFly does not have aout.  When/if they implement a new
   15056   # versioning mechanism, adjust this.
   15057   if test -x /usr/bin/objformat; then
   15058     objformat=`/usr/bin/objformat`
   15059   else
   15060     case $host_os in
   15061     freebsd[23].*) objformat=aout ;;
   15062     *) objformat=elf ;;
   15063     esac
   15064   fi
   15065   version_type=freebsd-$objformat
   15066   case $version_type in
   15067     freebsd-elf*)
   15068       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15069       need_version=no
   15070       need_lib_prefix=no
   15071       ;;
   15072     freebsd-*)
   15073       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   15074       need_version=yes
   15075       ;;
   15076   esac
   15077   shlibpath_var=LD_LIBRARY_PATH
   15078   case $host_os in
   15079   freebsd2.*)
   15080     shlibpath_overrides_runpath=yes
   15081     ;;
   15082   freebsd3.[01]* | freebsdelf3.[01]*)
   15083     shlibpath_overrides_runpath=yes
   15084     hardcode_into_libs=yes
   15085     ;;
   15086   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   15087   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   15088     shlibpath_overrides_runpath=no
   15089     hardcode_into_libs=yes
   15090     ;;
   15091   *) # from 4.6 on, and DragonFly
   15092     shlibpath_overrides_runpath=yes
   15093     hardcode_into_libs=yes
   15094     ;;
   15095   esac
   15096   ;;
   15097 
   15098 haiku*)
   15099   version_type=linux
   15100   need_lib_prefix=no
   15101   need_version=no
   15102   dynamic_linker="$host_os runtime_loader"
   15103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   15104   soname_spec='${libname}${release}${shared_ext}$major'
   15105   shlibpath_var=LIBRARY_PATH
   15106   shlibpath_overrides_runpath=yes
   15107   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   15108   hardcode_into_libs=yes
   15109   ;;
   15110 
   15111 hpux9* | hpux10* | hpux11*)
   15112   # Give a soname corresponding to the major version so that dld.sl refuses to
   15113   # link against other versions.
   15114   version_type=sunos
   15115   need_lib_prefix=no
   15116   need_version=no
   15117   case $host_cpu in
   15118   ia64*)
   15119     shrext_cmds='.so'
   15120     hardcode_into_libs=yes
   15121     dynamic_linker="$host_os dld.so"
   15122     shlibpath_var=LD_LIBRARY_PATH
   15123     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15124     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15125     soname_spec='${libname}${release}${shared_ext}$major'
   15126     if test "X$HPUX_IA64_MODE" = X32; then
   15127       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   15128     else
   15129       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   15130     fi
   15131     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15132     ;;
   15133   hppa*64*)
   15134     shrext_cmds='.sl'
   15135     hardcode_into_libs=yes
   15136     dynamic_linker="$host_os dld.sl"
   15137     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   15138     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   15139     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15140     soname_spec='${libname}${release}${shared_ext}$major'
   15141     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   15142     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   15143     ;;
   15144   *)
   15145     shrext_cmds='.sl'
   15146     dynamic_linker="$host_os dld.sl"
   15147     shlibpath_var=SHLIB_PATH
   15148     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   15149     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15150     soname_spec='${libname}${release}${shared_ext}$major'
   15151     ;;
   15152   esac
   15153   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   15154   postinstall_cmds='chmod 555 $lib'
   15155   # or fails outright, so override atomically:
   15156   install_override_mode=555
   15157   ;;
   15158 
   15159 interix[3-9]*)
   15160   version_type=linux
   15161   need_lib_prefix=no
   15162   need_version=no
   15163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15164   soname_spec='${libname}${release}${shared_ext}$major'
   15165   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   15166   shlibpath_var=LD_LIBRARY_PATH
   15167   shlibpath_overrides_runpath=no
   15168   hardcode_into_libs=yes
   15169   ;;
   15170 
   15171 irix5* | irix6* | nonstopux*)
   15172   case $host_os in
   15173     nonstopux*) version_type=nonstopux ;;
   15174     *)
   15175 	if test "$lt_cv_prog_gnu_ld" = yes; then
   15176 		version_type=linux
   15177 	else
   15178 		version_type=irix
   15179 	fi ;;
   15180   esac
   15181   need_lib_prefix=no
   15182   need_version=no
   15183   soname_spec='${libname}${release}${shared_ext}$major'
   15184   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   15185   case $host_os in
   15186   irix5* | nonstopux*)
   15187     libsuff= shlibsuff=
   15188     ;;
   15189   *)
   15190     case $LD in # libtool.m4 will add one of these switches to LD
   15191     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   15192       libsuff= shlibsuff= libmagic=32-bit;;
   15193     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   15194       libsuff=32 shlibsuff=N32 libmagic=N32;;
   15195     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   15196       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   15197     *) libsuff= shlibsuff= libmagic=never-match;;
   15198     esac
   15199     ;;
   15200   esac
   15201   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   15202   shlibpath_overrides_runpath=no
   15203   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   15204   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   15205   hardcode_into_libs=yes
   15206   ;;
   15207 
   15208 # No shared lib support for Linux oldld, aout, or coff.
   15209 linux*oldld* | linux*aout* | linux*coff*)
   15210   dynamic_linker=no
   15211   ;;
   15212 
   15213 # This must be Linux ELF.
   15214 
   15215 # uclinux* changes (here and below) have been submitted to the libtool
   15216 # project, but have not yet been accepted: they are GCC-local changes
   15217 # for the time being.  (See
   15218 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
   15219 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
   15220   version_type=linux
   15221   need_lib_prefix=no
   15222   need_version=no
   15223   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15224   soname_spec='${libname}${release}${shared_ext}$major'
   15225   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   15226   shlibpath_var=LD_LIBRARY_PATH
   15227   shlibpath_overrides_runpath=no
   15228 
   15229   # Some binutils ld are patched to set DT_RUNPATH
   15230   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   15231   $as_echo_n "(cached) " >&6
   15232 else
   15233   lt_cv_shlibpath_overrides_runpath=no
   15234     save_LDFLAGS=$LDFLAGS
   15235     save_libdir=$libdir
   15236     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   15237 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   15238     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15239 /* end confdefs.h.  */
   15240 
   15241 int
   15242 main ()
   15243 {
   15244 
   15245   ;
   15246   return 0;
   15247 }
   15248 _ACEOF
   15249 if ac_fn_cxx_try_link "$LINENO"; then :
   15250   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   15251   lt_cv_shlibpath_overrides_runpath=yes
   15252 fi
   15253 fi
   15254 rm -f core conftest.err conftest.$ac_objext \
   15255     conftest$ac_exeext conftest.$ac_ext
   15256     LDFLAGS=$save_LDFLAGS
   15257     libdir=$save_libdir
   15258 
   15259 fi
   15260 
   15261   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   15262 
   15263   # This implies no fast_install, which is unacceptable.
   15264   # Some rework will be needed to allow for fast_install
   15265   # before this can be enabled.
   15266   hardcode_into_libs=yes
   15267 
   15268   # Append ld.so.conf contents to the search path
   15269   if test -f /etc/ld.so.conf; then
   15270     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' ' '`
   15271     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   15272   fi
   15273 
   15274   # We used to test for /lib/ld.so.1 and disable shared libraries on
   15275   # powerpc, because MkLinux only supported shared libraries with the
   15276   # GNU dynamic linker.  Since this was broken with cross compilers,
   15277   # most powerpc-linux boxes support dynamic linking these days and
   15278   # people can always --disable-shared, the test was removed, and we
   15279   # assume the GNU/Linux dynamic linker is in use.
   15280   dynamic_linker='GNU/Linux ld.so'
   15281   ;;
   15282 
   15283 netbsd*)
   15284   version_type=sunos
   15285   need_lib_prefix=no
   15286   need_version=no
   15287   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15288     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15289     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15290     dynamic_linker='NetBSD (a.out) ld.so'
   15291   else
   15292     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   15293     soname_spec='${libname}${release}${shared_ext}$major'
   15294     dynamic_linker='NetBSD ld.elf_so'
   15295   fi
   15296   shlibpath_var=LD_LIBRARY_PATH
   15297   shlibpath_overrides_runpath=yes
   15298   hardcode_into_libs=yes
   15299   ;;
   15300 
   15301 newsos6)
   15302   version_type=linux
   15303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15304   shlibpath_var=LD_LIBRARY_PATH
   15305   shlibpath_overrides_runpath=yes
   15306   ;;
   15307 
   15308 *nto* | *qnx*)
   15309   version_type=qnx
   15310   need_lib_prefix=no
   15311   need_version=no
   15312   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15313   soname_spec='${libname}${release}${shared_ext}$major'
   15314   shlibpath_var=LD_LIBRARY_PATH
   15315   shlibpath_overrides_runpath=no
   15316   hardcode_into_libs=yes
   15317   dynamic_linker='ldqnx.so'
   15318   ;;
   15319 
   15320 openbsd*)
   15321   version_type=sunos
   15322   sys_lib_dlsearch_path_spec="/usr/lib"
   15323   need_lib_prefix=no
   15324   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   15325   case $host_os in
   15326     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   15327     *)				need_version=no  ;;
   15328   esac
   15329   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15330   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   15331   shlibpath_var=LD_LIBRARY_PATH
   15332   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15333     case $host_os in
   15334       openbsd2.[89] | openbsd2.[89].*)
   15335 	shlibpath_overrides_runpath=no
   15336 	;;
   15337       *)
   15338 	shlibpath_overrides_runpath=yes
   15339 	;;
   15340       esac
   15341   else
   15342     shlibpath_overrides_runpath=yes
   15343   fi
   15344   ;;
   15345 
   15346 os2*)
   15347   libname_spec='$name'
   15348   shrext_cmds=".dll"
   15349   need_lib_prefix=no
   15350   library_names_spec='$libname${shared_ext} $libname.a'
   15351   dynamic_linker='OS/2 ld.exe'
   15352   shlibpath_var=LIBPATH
   15353   ;;
   15354 
   15355 osf3* | osf4* | osf5*)
   15356   version_type=osf
   15357   need_lib_prefix=no
   15358   need_version=no
   15359   soname_spec='${libname}${release}${shared_ext}$major'
   15360   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15361   shlibpath_var=LD_LIBRARY_PATH
   15362   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   15363   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   15364   ;;
   15365 
   15366 rdos*)
   15367   dynamic_linker=no
   15368   ;;
   15369 
   15370 solaris*)
   15371   version_type=linux
   15372   need_lib_prefix=no
   15373   need_version=no
   15374   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15375   soname_spec='${libname}${release}${shared_ext}$major'
   15376   shlibpath_var=LD_LIBRARY_PATH
   15377   shlibpath_overrides_runpath=yes
   15378   hardcode_into_libs=yes
   15379   # ldd complains unless libraries are executable
   15380   postinstall_cmds='chmod +x $lib'
   15381   ;;
   15382 
   15383 sunos4*)
   15384   version_type=sunos
   15385   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   15386   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   15387   shlibpath_var=LD_LIBRARY_PATH
   15388   shlibpath_overrides_runpath=yes
   15389   if test "$with_gnu_ld" = yes; then
   15390     need_lib_prefix=no
   15391   fi
   15392   need_version=yes
   15393   ;;
   15394 
   15395 sysv4 | sysv4.3*)
   15396   version_type=linux
   15397   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15398   soname_spec='${libname}${release}${shared_ext}$major'
   15399   shlibpath_var=LD_LIBRARY_PATH
   15400   case $host_vendor in
   15401     sni)
   15402       shlibpath_overrides_runpath=no
   15403       need_lib_prefix=no
   15404       runpath_var=LD_RUN_PATH
   15405       ;;
   15406     siemens)
   15407       need_lib_prefix=no
   15408       ;;
   15409     motorola)
   15410       need_lib_prefix=no
   15411       need_version=no
   15412       shlibpath_overrides_runpath=no
   15413       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   15414       ;;
   15415   esac
   15416   ;;
   15417 
   15418 sysv4*MP*)
   15419   if test -d /usr/nec ;then
   15420     version_type=linux
   15421     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   15422     soname_spec='$libname${shared_ext}.$major'
   15423     shlibpath_var=LD_LIBRARY_PATH
   15424   fi
   15425   ;;
   15426 
   15427 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   15428   version_type=freebsd-elf
   15429   need_lib_prefix=no
   15430   need_version=no
   15431   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   15432   soname_spec='${libname}${release}${shared_ext}$major'
   15433   shlibpath_var=LD_LIBRARY_PATH
   15434   shlibpath_overrides_runpath=yes
   15435   hardcode_into_libs=yes
   15436   if test "$with_gnu_ld" = yes; then
   15437     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   15438   else
   15439     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   15440     case $host_os in
   15441       sco3.2v5*)
   15442         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   15443 	;;
   15444     esac
   15445   fi
   15446   sys_lib_dlsearch_path_spec='/usr/lib'
   15447   ;;
   15448 
   15449 tpf*)
   15450   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   15451   version_type=linux
   15452   need_lib_prefix=no
   15453   need_version=no
   15454   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15455   shlibpath_var=LD_LIBRARY_PATH
   15456   shlibpath_overrides_runpath=no
   15457   hardcode_into_libs=yes
   15458   ;;
   15459 
   15460 uts4*)
   15461   version_type=linux
   15462   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15463   soname_spec='${libname}${release}${shared_ext}$major'
   15464   shlibpath_var=LD_LIBRARY_PATH
   15465   ;;
   15466 
   15467 # Shared libraries for VwWorks, >= 7 only at this stage
   15468 # and (fpic) still incompatible with "large" code models
   15469 # in a few configurations. Only for RTP mode in any case,
   15470 # and upon explicit request at configure time.
   15471 vxworks7*)
   15472   dynamic_linker=no
   15473   case ${with_multisubdir}-${enable_shared} in
   15474     *large*)
   15475       ;;
   15476     *mrtp*-yes)
   15477       version_type=linux
   15478       need_lib_prefix=no
   15479       need_version=no
   15480       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   15481       soname_spec='${libname}${release}${shared_ext}$major'
   15482       dynamic_linker="$host_os module_loader"
   15483       ;;
   15484   esac
   15485   ;;
   15486 *)
   15487   dynamic_linker=no
   15488   ;;
   15489 esac
   15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   15491 $as_echo "$dynamic_linker" >&6; }
   15492 test "$dynamic_linker" = no && can_build_shared=no
   15493 
   15494 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   15495 if test "$GCC" = yes; then
   15496   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   15497 fi
   15498 
   15499 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   15500   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   15501 fi
   15502 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   15503   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   15504 fi
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 
   15530 
   15531 
   15532 
   15533 
   15534 
   15535 
   15536 
   15537 
   15538 
   15539 
   15540 
   15541 
   15542 
   15543     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   15544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   15545 hardcode_action_CXX=
   15546 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   15547    test -n "$runpath_var_CXX" ||
   15548    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   15549 
   15550   # We can hardcode non-existent directories.
   15551   if test "$hardcode_direct_CXX" != no &&
   15552      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   15553      # have to relink, otherwise we might link with an installed library
   15554      # when we should be linking with a yet-to-be-installed one
   15555      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   15556      test "$hardcode_minus_L_CXX" != no; then
   15557     # Linking always hardcodes the temporary library directory.
   15558     hardcode_action_CXX=relink
   15559   else
   15560     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   15561     hardcode_action_CXX=immediate
   15562   fi
   15563 else
   15564   # We cannot hardcode anything, or else we can only hardcode existing
   15565   # directories.
   15566   hardcode_action_CXX=unsupported
   15567 fi
   15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   15569 $as_echo "$hardcode_action_CXX" >&6; }
   15570 
   15571 if test "$hardcode_action_CXX" = relink ||
   15572    test "$inherit_rpath_CXX" = yes; then
   15573   # Fast installation is not supported
   15574   enable_fast_install=no
   15575 elif test "$shlibpath_overrides_runpath" = yes ||
   15576      test "$enable_shared" = no; then
   15577   # Fast installation is not necessary
   15578   enable_fast_install=needless
   15579 fi
   15580 
   15581 
   15582 
   15583 
   15584 
   15585 
   15586 
   15587   fi # test -n "$compiler"
   15588 
   15589   CC=$lt_save_CC
   15590   LDCXX=$LD
   15591   LD=$lt_save_LD
   15592   GCC=$lt_save_GCC
   15593   with_gnu_ld=$lt_save_with_gnu_ld
   15594   lt_cv_path_LDCXX=$lt_cv_path_LD
   15595   lt_cv_path_LD=$lt_save_path_LD
   15596   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   15597   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   15598 fi # test "$_lt_caught_CXX_error" != yes
   15599 
   15600 ac_ext=c
   15601 ac_cpp='$CPP $CPPFLAGS'
   15602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15605 
   15606 
   15607 
   15608 
   15609 
   15610 
   15611 
   15612 
   15613 
   15614 
   15615 
   15616 
   15617 
   15618         ac_config_commands="$ac_config_commands libtool"
   15619 
   15620 
   15621 
   15622 
   15623 # Only expand once:
   15624 
   15625 
   15626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
   15627 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
   15628 if ${ac_cv_c_bigendian+:} false; then :
   15629   $as_echo_n "(cached) " >&6
   15630 else
   15631   ac_cv_c_bigendian=unknown
   15632     # See if we're dealing with a universal compiler.
   15633     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15634 /* end confdefs.h.  */
   15635 #ifndef __APPLE_CC__
   15636 	       not a universal capable compiler
   15637 	     #endif
   15638 	     typedef int dummy;
   15639 
   15640 _ACEOF
   15641 if ac_fn_c_try_compile "$LINENO"; then :
   15642 
   15643 	# Check for potential -arch flags.  It is not universal unless
   15644 	# there are at least two -arch flags with different values.
   15645 	ac_arch=
   15646 	ac_prev=
   15647 	for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
   15648 	 if test -n "$ac_prev"; then
   15649 	   case $ac_word in
   15650 	     i?86 | x86_64 | ppc | ppc64)
   15651 	       if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
   15652 		 ac_arch=$ac_word
   15653 	       else
   15654 		 ac_cv_c_bigendian=universal
   15655 		 break
   15656 	       fi
   15657 	       ;;
   15658 	   esac
   15659 	   ac_prev=
   15660 	 elif test "x$ac_word" = "x-arch"; then
   15661 	   ac_prev=arch
   15662 	 fi
   15663        done
   15664 fi
   15665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15666     if test $ac_cv_c_bigendian = unknown; then
   15667       # See if sys/param.h defines the BYTE_ORDER macro.
   15668       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15669 /* end confdefs.h.  */
   15670 #include <sys/types.h>
   15671 	     #include <sys/param.h>
   15672 
   15673 int
   15674 main ()
   15675 {
   15676 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
   15677 		     && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
   15678 		     && LITTLE_ENDIAN)
   15679 	      bogus endian macros
   15680 	     #endif
   15681 
   15682   ;
   15683   return 0;
   15684 }
   15685 _ACEOF
   15686 if ac_fn_c_try_compile "$LINENO"; then :
   15687   # It does; now see whether it defined to BIG_ENDIAN or not.
   15688 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15689 /* end confdefs.h.  */
   15690 #include <sys/types.h>
   15691 		#include <sys/param.h>
   15692 
   15693 int
   15694 main ()
   15695 {
   15696 #if BYTE_ORDER != BIG_ENDIAN
   15697 		 not big endian
   15698 		#endif
   15699 
   15700   ;
   15701   return 0;
   15702 }
   15703 _ACEOF
   15704 if ac_fn_c_try_compile "$LINENO"; then :
   15705   ac_cv_c_bigendian=yes
   15706 else
   15707   ac_cv_c_bigendian=no
   15708 fi
   15709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15710 fi
   15711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15712     fi
   15713     if test $ac_cv_c_bigendian = unknown; then
   15714       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
   15715       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15716 /* end confdefs.h.  */
   15717 #include <limits.h>
   15718 
   15719 int
   15720 main ()
   15721 {
   15722 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
   15723 	      bogus endian macros
   15724 	     #endif
   15725 
   15726   ;
   15727   return 0;
   15728 }
   15729 _ACEOF
   15730 if ac_fn_c_try_compile "$LINENO"; then :
   15731   # It does; now see whether it defined to _BIG_ENDIAN or not.
   15732 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15733 /* end confdefs.h.  */
   15734 #include <limits.h>
   15735 
   15736 int
   15737 main ()
   15738 {
   15739 #ifndef _BIG_ENDIAN
   15740 		 not big endian
   15741 		#endif
   15742 
   15743   ;
   15744   return 0;
   15745 }
   15746 _ACEOF
   15747 if ac_fn_c_try_compile "$LINENO"; then :
   15748   ac_cv_c_bigendian=yes
   15749 else
   15750   ac_cv_c_bigendian=no
   15751 fi
   15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15753 fi
   15754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15755     fi
   15756     if test $ac_cv_c_bigendian = unknown; then
   15757       # Compile a test program.
   15758       if test "$cross_compiling" = yes; then :
   15759   # Try to guess by grepping values from an object file.
   15760 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15761 /* end confdefs.h.  */
   15762 short int ascii_mm[] =
   15763 		  { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
   15764 		short int ascii_ii[] =
   15765 		  { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
   15766 		int use_ascii (int i) {
   15767 		  return ascii_mm[i] + ascii_ii[i];
   15768 		}
   15769 		short int ebcdic_ii[] =
   15770 		  { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
   15771 		short int ebcdic_mm[] =
   15772 		  { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
   15773 		int use_ebcdic (int i) {
   15774 		  return ebcdic_mm[i] + ebcdic_ii[i];
   15775 		}
   15776 		extern int foo;
   15777 
   15778 int
   15779 main ()
   15780 {
   15781 return use_ascii (foo) == use_ebcdic (foo);
   15782   ;
   15783   return 0;
   15784 }
   15785 _ACEOF
   15786 if ac_fn_c_try_compile "$LINENO"; then :
   15787   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
   15788 	      ac_cv_c_bigendian=yes
   15789 	    fi
   15790 	    if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
   15791 	      if test "$ac_cv_c_bigendian" = unknown; then
   15792 		ac_cv_c_bigendian=no
   15793 	      else
   15794 		# finding both strings is unlikely to happen, but who knows?
   15795 		ac_cv_c_bigendian=unknown
   15796 	      fi
   15797 	    fi
   15798 fi
   15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15800 else
   15801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 $ac_includes_default
   15804 int
   15805 main ()
   15806 {
   15807 
   15808 	     /* Are we little or big endian?  From Harbison&Steele.  */
   15809 	     union
   15810 	     {
   15811 	       long int l;
   15812 	       char c[sizeof (long int)];
   15813 	     } u;
   15814 	     u.l = 1;
   15815 	     return u.c[sizeof (long int) - 1] == 1;
   15816 
   15817   ;
   15818   return 0;
   15819 }
   15820 _ACEOF
   15821 if ac_fn_c_try_run "$LINENO"; then :
   15822   ac_cv_c_bigendian=no
   15823 else
   15824   ac_cv_c_bigendian=yes
   15825 fi
   15826 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   15827   conftest.$ac_objext conftest.beam conftest.$ac_ext
   15828 fi
   15829 
   15830     fi
   15831 fi
   15832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
   15833 $as_echo "$ac_cv_c_bigendian" >&6; }
   15834  case $ac_cv_c_bigendian in #(
   15835    yes)
   15836      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
   15837 ;; #(
   15838    no)
   15839       ;; #(
   15840    universal)
   15841 
   15842 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
   15843 
   15844      ;; #(
   15845    *)
   15846      as_fn_error $? "unknown endianness
   15847  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
   15848  esac
   15849 
   15850 
   15851 GPROFNG_LIBADD="-L../../libiberty -liberty"
   15852 if test "$enable_shared" = "yes"; then
   15853   GPROFNG_LIBADD="-L../../libiberty/pic -liberty"
   15854 fi
   15855 
   15856 
   15857 # Figure out what compiler warnings we can enable.
   15858 # See config/warnings.m4 for details.
   15859 
   15860 ac_ext=c
   15861 ac_cpp='$CPP $CPPFLAGS'
   15862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15865 
   15866 WERROR=
   15867 # Check whether --enable-werror-always was given.
   15868 if test "${enable_werror_always+set}" = set; then :
   15869   enableval=$enable_werror_always;
   15870 else
   15871   enable_werror_always=no
   15872 fi
   15873 
   15874 if test $enable_werror_always = yes; then :
   15875   WERROR="$WERROR${WERROR:+ }-Werror"
   15876 fi
   15877 
   15878 ac_ext=c
   15879 ac_cpp='$CPP $CPPFLAGS'
   15880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15883 
   15884 
   15885 ac_ext=c
   15886 ac_cpp='$CPP $CPPFLAGS'
   15887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15890 
   15891 gprofng_cflags=
   15892 save_CFLAGS="$CFLAGS"
   15893 for real_option in -Wall; do
   15894   # Do the check with the no- prefix removed since gcc silently
   15895   # accepts any -Wno-* option on purpose
   15896   case $real_option in
   15897     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   15898     *) option=$real_option ;;
   15899   esac
   15900   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   15901 
   15902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   15903 $as_echo_n "checking whether $CC supports $option... " >&6; }
   15904 if eval \${$as_acx_Woption+:} false; then :
   15905   $as_echo_n "(cached) " >&6
   15906 else
   15907   CFLAGS="$option"
   15908     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15909 /* end confdefs.h.  */
   15910 
   15911 int
   15912 main ()
   15913 {
   15914 
   15915   ;
   15916   return 0;
   15917 }
   15918 _ACEOF
   15919 if ac_fn_c_try_compile "$LINENO"; then :
   15920   eval "$as_acx_Woption=yes"
   15921 else
   15922   eval "$as_acx_Woption=no"
   15923 fi
   15924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15925 
   15926 fi
   15927 eval ac_res=\$$as_acx_Woption
   15928 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15929 $as_echo "$ac_res" >&6; }
   15930   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   15931   gprofng_cflags="$gprofng_cflags${gprofng_cflags:+ }$real_option"
   15932 fi
   15933   done
   15934 CFLAGS="$save_CFLAGS"
   15935 ac_ext=c
   15936 ac_cpp='$CPP $CPPFLAGS'
   15937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15940 
   15941 
   15942 ac_ext=c
   15943 ac_cpp='$CPP $CPPFLAGS'
   15944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15947 
   15948 GPROFNG_NO_SWITCH_CFLAGS=
   15949 save_CFLAGS="$CFLAGS"
   15950 for real_option in -Wno-switch; do
   15951   # Do the check with the no- prefix removed since gcc silently
   15952   # accepts any -Wno-* option on purpose
   15953   case $real_option in
   15954     -Wno-*) option=-W`expr x$real_option : 'x-Wno-\(.*\)'` ;;
   15955     *) option=$real_option ;;
   15956   esac
   15957   as_acx_Woption=`$as_echo "acx_cv_prog_cc_warning_$option" | $as_tr_sh`
   15958 
   15959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $option" >&5
   15960 $as_echo_n "checking whether $CC supports $option... " >&6; }
   15961 if eval \${$as_acx_Woption+:} false; then :
   15962   $as_echo_n "(cached) " >&6
   15963 else
   15964   CFLAGS="$option"
   15965     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15966 /* end confdefs.h.  */
   15967 
   15968 int
   15969 main ()
   15970 {
   15971 
   15972   ;
   15973   return 0;
   15974 }
   15975 _ACEOF
   15976 if ac_fn_c_try_compile "$LINENO"; then :
   15977   eval "$as_acx_Woption=yes"
   15978 else
   15979   eval "$as_acx_Woption=no"
   15980 fi
   15981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15982 
   15983 fi
   15984 eval ac_res=\$$as_acx_Woption
   15985 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   15986 $as_echo "$ac_res" >&6; }
   15987   if test `eval 'as_val=${'$as_acx_Woption'};$as_echo "$as_val"'` = yes; then :
   15988   GPROFNG_NO_SWITCH_CFLAGS="$GPROFNG_NO_SWITCH_CFLAGS${GPROFNG_NO_SWITCH_CFLAGS:+ }$real_option"
   15989 fi
   15990   done
   15991 CFLAGS="$save_CFLAGS"
   15992 ac_ext=c
   15993 ac_cpp='$CPP $CPPFLAGS'
   15994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15997 
   15998 
   15999 gprofng_cppflags="-U_ASM"
   16000 build_collector=
   16001 build_src=
   16002 
   16003   case "${host}" in
   16004     x86_64-*-linux*)
   16005       build_src=true
   16006       build_collector=true
   16007       ;;
   16008     i?86-*-linux*)
   16009       build_src=true
   16010       build_collector=true
   16011       ;;
   16012     aarch64-*-linux*)
   16013       build_src=true
   16014       build_collector=true
   16015       ;;
   16016     riscv*-*-linux*)
   16017       build_src=true
   16018       build_collector=true
   16019       ;;
   16020   esac
   16021   # Check whether --enable-gprofng-tools was given.
   16022 if test "${enable_gprofng_tools+set}" = set; then :
   16023   enableval=$enable_gprofng_tools; build_src=$enableval
   16024 fi
   16025 
   16026 
   16027  if test x$build_collector = xtrue; then
   16028   BUILD_COLLECTOR_TRUE=
   16029   BUILD_COLLECTOR_FALSE='#'
   16030 else
   16031   BUILD_COLLECTOR_TRUE='#'
   16032   BUILD_COLLECTOR_FALSE=
   16033 fi
   16034 
   16035  if test x$build_src = xtrue; then
   16036   BUILD_SRC_TRUE=
   16037   BUILD_SRC_FALSE='#'
   16038 else
   16039   BUILD_SRC_TRUE='#'
   16040   BUILD_SRC_FALSE=
   16041 fi
   16042 
   16043 
   16044 if test x$build_collector = xtrue; then
   16045 
   16046 
   16047 subdirs="$subdirs libcollector"
   16048 
   16049 fi
   16050 
   16051 
   16052 
   16053 
   16054 ac_ext=c
   16055 ac_cpp='$CPP $CPPFLAGS'
   16056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16059 
   16060 ax_pthread_ok=no
   16061 
   16062 # We used to check for pthread.h first, but this fails if pthread.h
   16063 # requires special compiler flags (e.g. on Tru64 or Sequent).
   16064 # It gets checked for in the link test anyway.
   16065 
   16066 # First of all, check if the user has set any of the PTHREAD_LIBS,
   16067 # etcetera environment variables, and if threads linking works using
   16068 # them:
   16069 if test "x$PTHREAD_CFLAGS$PTHREAD_LIBS" != "x"; then
   16070         ax_pthread_save_CC="$CC"
   16071         ax_pthread_save_CFLAGS="$CFLAGS"
   16072         ax_pthread_save_LIBS="$LIBS"
   16073         if test "x$PTHREAD_CC" != "x"; then :
   16074   CC="$PTHREAD_CC"
   16075 fi
   16076         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16077         LIBS="$PTHREAD_LIBS $LIBS"
   16078         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS" >&5
   16079 $as_echo_n "checking for pthread_join using $CC $PTHREAD_CFLAGS $PTHREAD_LIBS... " >&6; }
   16080         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16081 /* end confdefs.h.  */
   16082 
   16083 /* Override any GCC internal prototype to avoid an error.
   16084    Use char because int might match the return type of a GCC
   16085    builtin and then its argument prototype would still apply.  */
   16086 #ifdef __cplusplus
   16087 extern "C"
   16088 #endif
   16089 char pthread_join ();
   16090 int
   16091 main ()
   16092 {
   16093 return pthread_join ();
   16094   ;
   16095   return 0;
   16096 }
   16097 _ACEOF
   16098 if ac_fn_c_try_link "$LINENO"; then :
   16099   ax_pthread_ok=yes
   16100 fi
   16101 rm -f core conftest.err conftest.$ac_objext \
   16102     conftest$ac_exeext conftest.$ac_ext
   16103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   16104 $as_echo "$ax_pthread_ok" >&6; }
   16105         if test "x$ax_pthread_ok" = "xno"; then
   16106                 PTHREAD_LIBS=""
   16107                 PTHREAD_CFLAGS=""
   16108         fi
   16109         CC="$ax_pthread_save_CC"
   16110         CFLAGS="$ax_pthread_save_CFLAGS"
   16111         LIBS="$ax_pthread_save_LIBS"
   16112 fi
   16113 
   16114 # We must check for the threads library under a number of different
   16115 # names; the ordering is very important because some systems
   16116 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
   16117 # libraries is broken (non-POSIX).
   16118 
   16119 # Create a list of thread flags to try.  Items starting with a "-" are
   16120 # C compiler flags, and other items are library names, except for "none"
   16121 # which indicates that we try without any flags at all, and "pthread-config"
   16122 # which is a program returning the flags for the Pth emulation library.
   16123 
   16124 ax_pthread_flags="pthreads none -Kthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
   16125 
   16126 # The ordering *is* (sometimes) important.  Some notes on the
   16127 # individual items follow:
   16128 
   16129 # pthreads: AIX (must check this before -lpthread)
   16130 # none: in case threads are in libc; should be tried before -Kthread and
   16131 #       other compiler flags to prevent continual compiler warnings
   16132 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
   16133 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads), Tru64
   16134 #           (Note: HP C rejects this with "bad form for `-t' option")
   16135 # -pthreads: Solaris/gcc (Note: HP C also rejects)
   16136 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
   16137 #      doesn't hurt to check since this sometimes defines pthreads and
   16138 #      -D_REENTRANT too), HP C (must be checked before -lpthread, which
   16139 #      is present but should not be used directly; and before -mthreads,
   16140 #      because the compiler interprets this as "-mt" + "-hreads")
   16141 # -mthreads: Mingw32/gcc, Lynx/gcc
   16142 # pthread: Linux, etcetera
   16143 # --thread-safe: KAI C++
   16144 # pthread-config: use pthread-config program (for GNU Pth library)
   16145 
   16146 case $host_os in
   16147 
   16148         freebsd*)
   16149 
   16150         # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
   16151         # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
   16152 
   16153         ax_pthread_flags="-kthread lthread $ax_pthread_flags"
   16154         ;;
   16155 
   16156         hpux*)
   16157 
   16158         # From the cc(1) man page: "[-mt] Sets various -D flags to enable
   16159         # multi-threading and also sets -lpthread."
   16160 
   16161         ax_pthread_flags="-mt -pthread pthread $ax_pthread_flags"
   16162         ;;
   16163 
   16164         openedition*)
   16165 
   16166         # IBM z/OS requires a feature-test macro to be defined in order to
   16167         # enable POSIX threads at all, so give the user a hint if this is
   16168         # not set. (We don't define these ourselves, as they can affect
   16169         # other portions of the system API in unpredictable ways.)
   16170 
   16171         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16172 /* end confdefs.h.  */
   16173 
   16174 #            if !defined(_OPEN_THREADS) && !defined(_UNIX03_THREADS)
   16175              AX_PTHREAD_ZOS_MISSING
   16176 #            endif
   16177 
   16178 _ACEOF
   16179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16180   $EGREP "AX_PTHREAD_ZOS_MISSING" >/dev/null 2>&1; then :
   16181   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&5
   16182 $as_echo "$as_me: WARNING: IBM z/OS requires -D_OPEN_THREADS or -D_UNIX03_THREADS to enable pthreads support." >&2;}
   16183 fi
   16184 rm -f conftest*
   16185 
   16186         ;;
   16187 
   16188         solaris*)
   16189 
   16190         # On Solaris (at least, for some versions), libc contains stubbed
   16191         # (non-functional) versions of the pthreads routines, so link-based
   16192         # tests will erroneously succeed. (N.B.: The stubs are missing
   16193         # pthread_cleanup_push, or rather a function called by this macro,
   16194         # so we could check for that, but who knows whether they'll stub
   16195         # that too in a future libc.)  So we'll check first for the
   16196         # standard Solaris way of linking pthreads (-mt -lpthread).
   16197 
   16198         ax_pthread_flags="-mt,pthread pthread $ax_pthread_flags"
   16199         ;;
   16200 esac
   16201 
   16202 # GCC generally uses -pthread, or -pthreads on some platforms (e.g. SPARC)
   16203 
   16204 if test "x$GCC" = "xyes"; then :
   16205   ax_pthread_flags="-pthread -pthreads $ax_pthread_flags"
   16206 fi
   16207 
   16208 # The presence of a feature test macro requesting re-entrant function
   16209 # definitions is, on some systems, a strong hint that pthreads support is
   16210 # correctly enabled
   16211 
   16212 case $host_os in
   16213         darwin* | hpux* | linux* | osf* | solaris*)
   16214         ax_pthread_check_macro="_REENTRANT"
   16215         ;;
   16216 
   16217         aix*)
   16218         ax_pthread_check_macro="_THREAD_SAFE"
   16219         ;;
   16220 
   16221         *)
   16222         ax_pthread_check_macro="--"
   16223         ;;
   16224 esac
   16225 if test "x$ax_pthread_check_macro" = "x--"; then :
   16226   ax_pthread_check_cond=0
   16227 else
   16228   ax_pthread_check_cond="!defined($ax_pthread_check_macro)"
   16229 fi
   16230 
   16231 # Are we compiling with Clang?
   16232 
   16233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC is Clang" >&5
   16234 $as_echo_n "checking whether $CC is Clang... " >&6; }
   16235 if ${ax_cv_PTHREAD_CLANG+:} false; then :
   16236   $as_echo_n "(cached) " >&6
   16237 else
   16238   ax_cv_PTHREAD_CLANG=no
   16239      # Note that Autoconf sets GCC=yes for Clang as well as GCC
   16240      if test "x$GCC" = "xyes"; then
   16241         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16242 /* end confdefs.h.  */
   16243 /* Note: Clang 2.7 lacks __clang_[a-z]+__ */
   16244 #            if defined(__clang__) && defined(__llvm__)
   16245              AX_PTHREAD_CC_IS_CLANG
   16246 #            endif
   16247 
   16248 _ACEOF
   16249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   16250   $EGREP "AX_PTHREAD_CC_IS_CLANG" >/dev/null 2>&1; then :
   16251   ax_cv_PTHREAD_CLANG=yes
   16252 fi
   16253 rm -f conftest*
   16254 
   16255      fi
   16256 
   16257 fi
   16258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG" >&5
   16259 $as_echo "$ax_cv_PTHREAD_CLANG" >&6; }
   16260 ax_pthread_clang="$ax_cv_PTHREAD_CLANG"
   16261 
   16262 ax_pthread_clang_warning=no
   16263 
   16264 # Clang needs special handling, because older versions handle the -pthread
   16265 # option in a rather... idiosyncratic way
   16266 
   16267 if test "x$ax_pthread_clang" = "xyes"; then
   16268 
   16269         # Clang takes -pthread; it has never supported any other flag
   16270 
   16271         # (Note 1: This will need to be revisited if a system that Clang
   16272         # supports has POSIX threads in a separate library.  This tends not
   16273         # to be the way of modern systems, but it's conceivable.)
   16274 
   16275         # (Note 2: On some systems, notably Darwin, -pthread is not needed
   16276         # to get POSIX threads support; the API is always present and
   16277         # active.  We could reasonably leave PTHREAD_CFLAGS empty.  But
   16278         # -pthread does define _REENTRANT, and while the Darwin headers
   16279         # ignore this macro, third-party headers might not.)
   16280 
   16281         PTHREAD_CFLAGS="-pthread"
   16282         PTHREAD_LIBS=
   16283 
   16284         ax_pthread_ok=yes
   16285 
   16286         # However, older versions of Clang make a point of warning the user
   16287         # that, in an invocation where only linking and no compilation is
   16288         # taking place, the -pthread option has no effect ("argument unused
   16289         # during compilation").  They expect -pthread to be passed in only
   16290         # when source code is being compiled.
   16291         #
   16292         # Problem is, this is at odds with the way Automake and most other
   16293         # C build frameworks function, which is that the same flags used in
   16294         # compilation (CFLAGS) are also used in linking.  Many systems
   16295         # supported by AX_PTHREAD require exactly this for POSIX threads
   16296         # support, and in fact it is often not straightforward to specify a
   16297         # flag that is used only in the compilation phase and not in
   16298         # linking.  Such a scenario is extremely rare in practice.
   16299         #
   16300         # Even though use of the -pthread flag in linking would only print
   16301         # a warning, this can be a nuisance for well-run software projects
   16302         # that build with -Werror.  So if the active version of Clang has
   16303         # this misfeature, we search for an option to squash it.
   16304 
   16305         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread" >&5
   16306 $as_echo_n "checking whether Clang needs flag to prevent \"argument unused\" warning when linking with -pthread... " >&6; }
   16307 if ${ax_cv_PTHREAD_CLANG_NO_WARN_FLAG+:} false; then :
   16308   $as_echo_n "(cached) " >&6
   16309 else
   16310   ax_cv_PTHREAD_CLANG_NO_WARN_FLAG=unknown
   16311              # Create an alternate version of $ac_link that compiles and
   16312              # links in two steps (.c -> .o, .o -> exe) instead of one
   16313              # (.c -> exe), because the warning occurs only in the second
   16314              # step
   16315              ax_pthread_save_ac_link="$ac_link"
   16316              ax_pthread_sed='s/conftest\.\$ac_ext/conftest.$ac_objext/g'
   16317              ax_pthread_link_step=`$as_echo "$ac_link" | sed "$ax_pthread_sed"`
   16318              ax_pthread_2step_ac_link="($ac_compile) && (echo ==== >&5) && ($ax_pthread_link_step)"
   16319              ax_pthread_save_CFLAGS="$CFLAGS"
   16320              for ax_pthread_try in '' -Qunused-arguments -Wno-unused-command-line-argument unknown; do
   16321                 if test "x$ax_pthread_try" = "xunknown"; then :
   16322   break
   16323 fi
   16324                 CFLAGS="-Werror -Wunknown-warning-option $ax_pthread_try -pthread $ax_pthread_save_CFLAGS"
   16325                 ac_link="$ax_pthread_save_ac_link"
   16326                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16327 /* end confdefs.h.  */
   16328 int main(void){return 0;}
   16329 _ACEOF
   16330 if ac_fn_c_try_link "$LINENO"; then :
   16331   ac_link="$ax_pthread_2step_ac_link"
   16332                      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16333 /* end confdefs.h.  */
   16334 int main(void){return 0;}
   16335 _ACEOF
   16336 if ac_fn_c_try_link "$LINENO"; then :
   16337   break
   16338 fi
   16339 rm -f core conftest.err conftest.$ac_objext \
   16340     conftest$ac_exeext conftest.$ac_ext
   16341 
   16342 fi
   16343 rm -f core conftest.err conftest.$ac_objext \
   16344     conftest$ac_exeext conftest.$ac_ext
   16345              done
   16346              ac_link="$ax_pthread_save_ac_link"
   16347              CFLAGS="$ax_pthread_save_CFLAGS"
   16348              if test "x$ax_pthread_try" = "x"; then :
   16349   ax_pthread_try=no
   16350 fi
   16351              ax_cv_PTHREAD_CLANG_NO_WARN_FLAG="$ax_pthread_try"
   16352 
   16353 fi
   16354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&5
   16355 $as_echo "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" >&6; }
   16356 
   16357         case "$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG" in
   16358                 no | unknown) ;;
   16359                 *) PTHREAD_CFLAGS="$ax_cv_PTHREAD_CLANG_NO_WARN_FLAG $PTHREAD_CFLAGS" ;;
   16360         esac
   16361 
   16362 fi # $ax_pthread_clang = yes
   16363 
   16364 if test "x$ax_pthread_ok" = "xno"; then
   16365 for ax_pthread_try_flag in $ax_pthread_flags; do
   16366 
   16367         case $ax_pthread_try_flag in
   16368                 none)
   16369                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
   16370 $as_echo_n "checking whether pthreads work without any flags... " >&6; }
   16371                 ;;
   16372 
   16373                 -mt,pthread)
   16374                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with -mt -lpthread" >&5
   16375 $as_echo_n "checking whether pthreads work with -mt -lpthread... " >&6; }
   16376                 PTHREAD_CFLAGS="-mt"
   16377                 PTHREAD_LIBS="-lpthread"
   16378                 ;;
   16379 
   16380                 -*)
   16381                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $ax_pthread_try_flag" >&5
   16382 $as_echo_n "checking whether pthreads work with $ax_pthread_try_flag... " >&6; }
   16383                 PTHREAD_CFLAGS="$ax_pthread_try_flag"
   16384                 ;;
   16385 
   16386                 pthread-config)
   16387                 # Extract the first word of "pthread-config", so it can be a program name with args.
   16388 set dummy pthread-config; ac_word=$2
   16389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16390 $as_echo_n "checking for $ac_word... " >&6; }
   16391 if ${ac_cv_prog_ax_pthread_config+:} false; then :
   16392   $as_echo_n "(cached) " >&6
   16393 else
   16394   if test -n "$ax_pthread_config"; then
   16395   ac_cv_prog_ax_pthread_config="$ax_pthread_config" # Let the user override the test.
   16396 else
   16397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16398 for as_dir in $PATH
   16399 do
   16400   IFS=$as_save_IFS
   16401   test -z "$as_dir" && as_dir=.
   16402     for ac_exec_ext in '' $ac_executable_extensions; do
   16403   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16404     ac_cv_prog_ax_pthread_config="yes"
   16405     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16406     break 2
   16407   fi
   16408 done
   16409   done
   16410 IFS=$as_save_IFS
   16411 
   16412   test -z "$ac_cv_prog_ax_pthread_config" && ac_cv_prog_ax_pthread_config="no"
   16413 fi
   16414 fi
   16415 ax_pthread_config=$ac_cv_prog_ax_pthread_config
   16416 if test -n "$ax_pthread_config"; then
   16417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_config" >&5
   16418 $as_echo "$ax_pthread_config" >&6; }
   16419 else
   16420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16421 $as_echo "no" >&6; }
   16422 fi
   16423 
   16424 
   16425                 if test "x$ax_pthread_config" = "xno"; then :
   16426   continue
   16427 fi
   16428                 PTHREAD_CFLAGS="`pthread-config --cflags`"
   16429                 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
   16430                 ;;
   16431 
   16432                 *)
   16433                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$ax_pthread_try_flag" >&5
   16434 $as_echo_n "checking for the pthreads library -l$ax_pthread_try_flag... " >&6; }
   16435                 PTHREAD_LIBS="-l$ax_pthread_try_flag"
   16436                 ;;
   16437         esac
   16438 
   16439         ax_pthread_save_CFLAGS="$CFLAGS"
   16440         ax_pthread_save_LIBS="$LIBS"
   16441         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16442         LIBS="$PTHREAD_LIBS $LIBS"
   16443 
   16444         # Check for various functions.  We must include pthread.h,
   16445         # since some functions may be macros.  (On the Sequent, we
   16446         # need a special flag -Kthread to make this header compile.)
   16447         # We check for pthread_join because it is in -lpthread on IRIX
   16448         # while pthread_create is in libc.  We check for pthread_attr_init
   16449         # due to DEC craziness with -lpthreads.  We check for
   16450         # pthread_cleanup_push because it is one of the few pthread
   16451         # functions on Solaris that doesn't have a non-functional libc stub.
   16452         # We try pthread_create on general principles.
   16453 
   16454         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16455 /* end confdefs.h.  */
   16456 #include <pthread.h>
   16457 #                       if $ax_pthread_check_cond
   16458 #                        error "$ax_pthread_check_macro must be defined"
   16459 #                       endif
   16460                         static void routine(void *a) { a = 0; }
   16461                         static void *start_routine(void *a) { return a; }
   16462 int
   16463 main ()
   16464 {
   16465 pthread_t th; pthread_attr_t attr;
   16466                         pthread_create(&th, 0, start_routine, 0);
   16467                         pthread_join(th, 0);
   16468                         pthread_attr_init(&attr);
   16469                         pthread_cleanup_push(routine, 0);
   16470                         pthread_cleanup_pop(0) /* ; */
   16471   ;
   16472   return 0;
   16473 }
   16474 _ACEOF
   16475 if ac_fn_c_try_link "$LINENO"; then :
   16476   ax_pthread_ok=yes
   16477 fi
   16478 rm -f core conftest.err conftest.$ac_objext \
   16479     conftest$ac_exeext conftest.$ac_ext
   16480 
   16481         CFLAGS="$ax_pthread_save_CFLAGS"
   16482         LIBS="$ax_pthread_save_LIBS"
   16483 
   16484         { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_pthread_ok" >&5
   16485 $as_echo "$ax_pthread_ok" >&6; }
   16486         if test "x$ax_pthread_ok" = "xyes"; then :
   16487   break
   16488 fi
   16489 
   16490         PTHREAD_LIBS=""
   16491         PTHREAD_CFLAGS=""
   16492 done
   16493 fi
   16494 
   16495 # Various other checks:
   16496 if test "x$ax_pthread_ok" = "xyes"; then
   16497         ax_pthread_save_CFLAGS="$CFLAGS"
   16498         ax_pthread_save_LIBS="$LIBS"
   16499         CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
   16500         LIBS="$PTHREAD_LIBS $LIBS"
   16501 
   16502         # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
   16503         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for joinable pthread attribute" >&5
   16504 $as_echo_n "checking for joinable pthread attribute... " >&6; }
   16505 if ${ax_cv_PTHREAD_JOINABLE_ATTR+:} false; then :
   16506   $as_echo_n "(cached) " >&6
   16507 else
   16508   ax_cv_PTHREAD_JOINABLE_ATTR=unknown
   16509              for ax_pthread_attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
   16510                  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16511 /* end confdefs.h.  */
   16512 #include <pthread.h>
   16513 int
   16514 main ()
   16515 {
   16516 int attr = $ax_pthread_attr; return attr /* ; */
   16517   ;
   16518   return 0;
   16519 }
   16520 _ACEOF
   16521 if ac_fn_c_try_link "$LINENO"; then :
   16522   ax_cv_PTHREAD_JOINABLE_ATTR=$ax_pthread_attr; break
   16523 fi
   16524 rm -f core conftest.err conftest.$ac_objext \
   16525     conftest$ac_exeext conftest.$ac_ext
   16526              done
   16527 
   16528 fi
   16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_JOINABLE_ATTR" >&5
   16530 $as_echo "$ax_cv_PTHREAD_JOINABLE_ATTR" >&6; }
   16531         if test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xunknown" && \
   16532                test "x$ax_cv_PTHREAD_JOINABLE_ATTR" != "xPTHREAD_CREATE_JOINABLE" && \
   16533                test "x$ax_pthread_joinable_attr_defined" != "xyes"; then :
   16534 
   16535 cat >>confdefs.h <<_ACEOF
   16536 #define PTHREAD_CREATE_JOINABLE $ax_cv_PTHREAD_JOINABLE_ATTR
   16537 _ACEOF
   16538 
   16539                ax_pthread_joinable_attr_defined=yes
   16540 
   16541 fi
   16542 
   16543         { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether more special flags are required for pthreads" >&5
   16544 $as_echo_n "checking whether more special flags are required for pthreads... " >&6; }
   16545 if ${ax_cv_PTHREAD_SPECIAL_FLAGS+:} false; then :
   16546   $as_echo_n "(cached) " >&6
   16547 else
   16548   ax_cv_PTHREAD_SPECIAL_FLAGS=no
   16549              case $host_os in
   16550              solaris*)
   16551              ax_cv_PTHREAD_SPECIAL_FLAGS="-D_POSIX_PTHREAD_SEMANTICS"
   16552              ;;
   16553              esac
   16554 
   16555 fi
   16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_SPECIAL_FLAGS" >&5
   16557 $as_echo "$ax_cv_PTHREAD_SPECIAL_FLAGS" >&6; }
   16558         if test "x$ax_cv_PTHREAD_SPECIAL_FLAGS" != "xno" && \
   16559                test "x$ax_pthread_special_flags_added" != "xyes"; then :
   16560   PTHREAD_CFLAGS="$ax_cv_PTHREAD_SPECIAL_FLAGS $PTHREAD_CFLAGS"
   16561                ax_pthread_special_flags_added=yes
   16562 fi
   16563 
   16564         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_PRIO_INHERIT" >&5
   16565 $as_echo_n "checking for PTHREAD_PRIO_INHERIT... " >&6; }
   16566 if ${ax_cv_PTHREAD_PRIO_INHERIT+:} false; then :
   16567   $as_echo_n "(cached) " >&6
   16568 else
   16569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16570 /* end confdefs.h.  */
   16571 #include <pthread.h>
   16572 int
   16573 main ()
   16574 {
   16575 int i = PTHREAD_PRIO_INHERIT;
   16576   ;
   16577   return 0;
   16578 }
   16579 _ACEOF
   16580 if ac_fn_c_try_link "$LINENO"; then :
   16581   ax_cv_PTHREAD_PRIO_INHERIT=yes
   16582 else
   16583   ax_cv_PTHREAD_PRIO_INHERIT=no
   16584 fi
   16585 rm -f core conftest.err conftest.$ac_objext \
   16586     conftest$ac_exeext conftest.$ac_ext
   16587 
   16588 fi
   16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_PTHREAD_PRIO_INHERIT" >&5
   16590 $as_echo "$ax_cv_PTHREAD_PRIO_INHERIT" >&6; }
   16591         if test "x$ax_cv_PTHREAD_PRIO_INHERIT" = "xyes" && \
   16592                test "x$ax_pthread_prio_inherit_defined" != "xyes"; then :
   16593 
   16594 $as_echo "#define HAVE_PTHREAD_PRIO_INHERIT 1" >>confdefs.h
   16595 
   16596                ax_pthread_prio_inherit_defined=yes
   16597 
   16598 fi
   16599 
   16600         CFLAGS="$ax_pthread_save_CFLAGS"
   16601         LIBS="$ax_pthread_save_LIBS"
   16602 
   16603         # More AIX lossage: compile with *_r variant
   16604         if test "x$GCC" != "xyes"; then
   16605             case $host_os in
   16606                 aix*)
   16607                 case "x/$CC" in #(
   16608   x*/c89|x*/c89_128|x*/c99|x*/c99_128|x*/cc|x*/cc128|x*/xlc|x*/xlc_v6|x*/xlc128|x*/xlc128_v6) :
   16609     #handle absolute path differently from PATH based program lookup
   16610                      case "x$CC" in #(
   16611   x/*) :
   16612     if as_fn_executable_p ${CC}_r; then :
   16613   PTHREAD_CC="${CC}_r"
   16614 fi ;; #(
   16615   *) :
   16616     for ac_prog in ${CC}_r
   16617 do
   16618   # Extract the first word of "$ac_prog", so it can be a program name with args.
   16619 set dummy $ac_prog; ac_word=$2
   16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16621 $as_echo_n "checking for $ac_word... " >&6; }
   16622 if ${ac_cv_prog_PTHREAD_CC+:} false; then :
   16623   $as_echo_n "(cached) " >&6
   16624 else
   16625   if test -n "$PTHREAD_CC"; then
   16626   ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
   16627 else
   16628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16629 for as_dir in $PATH
   16630 do
   16631   IFS=$as_save_IFS
   16632   test -z "$as_dir" && as_dir=.
   16633     for ac_exec_ext in '' $ac_executable_extensions; do
   16634   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16635     ac_cv_prog_PTHREAD_CC="$ac_prog"
   16636     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16637     break 2
   16638   fi
   16639 done
   16640   done
   16641 IFS=$as_save_IFS
   16642 
   16643 fi
   16644 fi
   16645 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
   16646 if test -n "$PTHREAD_CC"; then
   16647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PTHREAD_CC" >&5
   16648 $as_echo "$PTHREAD_CC" >&6; }
   16649 else
   16650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16651 $as_echo "no" >&6; }
   16652 fi
   16653 
   16654 
   16655   test -n "$PTHREAD_CC" && break
   16656 done
   16657 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   16658  ;;
   16659 esac ;; #(
   16660   *) :
   16661      ;;
   16662 esac
   16663                 ;;
   16664             esac
   16665         fi
   16666 fi
   16667 
   16668 test -n "$PTHREAD_CC" || PTHREAD_CC="$CC"
   16669 
   16670 
   16671 
   16672 
   16673 
   16674 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
   16675 if test "x$ax_pthread_ok" = "xyes"; then
   16676 
   16677 $as_echo "#define HAVE_PTHREAD 1" >>confdefs.h
   16678 
   16679         :
   16680 else
   16681         ax_pthread_ok=no
   16682 
   16683 fi
   16684 ac_ext=c
   16685 ac_cpp='$CPP $CPPFLAGS'
   16686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   16687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   16688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   16689 
   16690 
   16691 
   16692 # Specify a location for JDK
   16693 enable_gprofng_jp=
   16694 jdk_inc=
   16695 
   16696 # Check whether --with-jdk was given.
   16697 if test "${with_jdk+set}" = set; then :
   16698   withval=$with_jdk;
   16699 fi
   16700 
   16701 
   16702 if test "x$with_jdk" != x; then
   16703   jdk_inc="-I$with_jdk/include -I$with_jdk/include/linux"
   16704   enable_gprofng_jp=yes
   16705 else
   16706   # Extract the first word of "javac", so it can be a program name with args.
   16707 set dummy javac; ac_word=$2
   16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16709 $as_echo_n "checking for $ac_word... " >&6; }
   16710 if ${ac_cv_path_JAVAC+:} false; then :
   16711   $as_echo_n "(cached) " >&6
   16712 else
   16713   case $JAVAC in
   16714   [\\/]* | ?:[\\/]*)
   16715   ac_cv_path_JAVAC="$JAVAC" # Let the user override the test with a path.
   16716   ;;
   16717   *)
   16718   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16719 for as_dir in $PATH
   16720 do
   16721   IFS=$as_save_IFS
   16722   test -z "$as_dir" && as_dir=.
   16723     for ac_exec_ext in '' $ac_executable_extensions; do
   16724   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16725     ac_cv_path_JAVAC="$as_dir/$ac_word$ac_exec_ext"
   16726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16727     break 2
   16728   fi
   16729 done
   16730   done
   16731 IFS=$as_save_IFS
   16732 
   16733   test -z "$ac_cv_path_JAVAC" && ac_cv_path_JAVAC="javac"
   16734   ;;
   16735 esac
   16736 fi
   16737 JAVAC=$ac_cv_path_JAVAC
   16738 if test -n "$JAVAC"; then
   16739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVAC" >&5
   16740 $as_echo "$JAVAC" >&6; }
   16741 else
   16742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16743 $as_echo "no" >&6; }
   16744 fi
   16745 
   16746 
   16747   if test -f $JAVAC; then
   16748     x=`readlink -f $JAVAC`
   16749     x=`dirname $x`
   16750     x=`dirname $x`
   16751     if ! test -f $x/include/jni.h; then
   16752       x=`dirname $x`
   16753     fi
   16754     if test -f $x/include/jni.h; then
   16755       jdk_inc="-I$x/include -I$x/include/linux"
   16756       enable_gprofng_jp=yes
   16757     fi
   16758   fi
   16759 fi
   16760 if test "x$enable_gprofng_jp" = x; then
   16761   # Extract the first word of "java", so it can be a program name with args.
   16762 set dummy java; ac_word=$2
   16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16764 $as_echo_n "checking for $ac_word... " >&6; }
   16765 if ${ac_cv_path_JAVA+:} false; then :
   16766   $as_echo_n "(cached) " >&6
   16767 else
   16768   case $JAVA in
   16769   [\\/]* | ?:[\\/]*)
   16770   ac_cv_path_JAVA="$JAVA" # Let the user override the test with a path.
   16771   ;;
   16772   *)
   16773   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16774 for as_dir in $PATH
   16775 do
   16776   IFS=$as_save_IFS
   16777   test -z "$as_dir" && as_dir=.
   16778     for ac_exec_ext in '' $ac_executable_extensions; do
   16779   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16780     ac_cv_path_JAVA="$as_dir/$ac_word$ac_exec_ext"
   16781     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16782     break 2
   16783   fi
   16784 done
   16785   done
   16786 IFS=$as_save_IFS
   16787 
   16788   test -z "$ac_cv_path_JAVA" && ac_cv_path_JAVA="java"
   16789   ;;
   16790 esac
   16791 fi
   16792 JAVA=$ac_cv_path_JAVA
   16793 if test -n "$JAVA"; then
   16794   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JAVA" >&5
   16795 $as_echo "$JAVA" >&6; }
   16796 else
   16797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16798 $as_echo "no" >&6; }
   16799 fi
   16800 
   16801 
   16802   if test -f $JAVA; then
   16803     x=`readlink -f $JAVA`
   16804     x=`dirname $x`
   16805     x=`dirname $x`
   16806     if ! test -f $x/include/jni.h; then
   16807       x=`dirname $x`
   16808     fi
   16809     if test -f $x/include/jni.h; then
   16810       jdk_inc="-I$x/include -I$x/include/linux"
   16811       enable_gprofng_jp=yes
   16812     fi
   16813   fi
   16814 fi
   16815 if test "x$enable_gprofng_jp" = x; then
   16816   ac_fn_c_check_header_compile "$LINENO" "jni.h" "ac_cv_header_jni_h" "
   16817 "
   16818 if test "x$ac_cv_header_jni_h" = xyes; then :
   16819    enable_gprofng_jp=yes
   16820 fi
   16821 
   16822 
   16823 fi
   16824 GPROFNG_BROKEN_JAVAC=no
   16825 if test "x$enable_gprofng_jp" = x; then
   16826     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Cannot find the JDK include directory.
   16827       gprofng will be build without support for profiling Java applications.
   16828       Use --with-jdk=PATH to specify directory for the installed JDK" >&5
   16829 $as_echo "$as_me: WARNING:  Cannot find the JDK include directory.
   16830       gprofng will be build without support for profiling Java applications.
   16831       Use --with-jdk=PATH to specify directory for the installed JDK" >&2;}
   16832 else
   16833 
   16834 $as_echo "#define GPROFNG_JAVA_PROFILING 1" >>confdefs.h
   16835 
   16836     if test "x$JAVAC" != x; then
   16837       cat > Simple.java << EOF
   16838 class Simple{
   16839   public static void main(String args){
   16840     System.out.println("Hello Java");
   16841   }
   16842 }
   16843 EOF
   16844       if { ac_try='$JAVAC Simple.java >&5 2>&5'
   16845   { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
   16846   (eval $ac_try) 2>&5
   16847   ac_status=$?
   16848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16849   test $ac_status = 0; }; }; then
   16850 	GPROFNG_BROKEN_JAVAC=no
   16851       else
   16852 	GPROFNG_BROKEN_JAVAC=yes
   16853       fi
   16854       rm -f Simple.*
   16855     fi
   16856 fi
   16857 
   16858 
   16859 
   16860 DEBUG=
   16861  # Check whether --enable-gprofng-debug was given.
   16862 if test "${enable_gprofng_debug+set}" = set; then :
   16863   enableval=$enable_gprofng_debug;
   16864       case "$enableval" in
   16865        yes|no) ;;
   16866        *) as_fn_error $? "Argument to enable/disable gprofng-debug must be yes or no" "$LINENO" 5 ;;
   16867       esac
   16868 
   16869 else
   16870   enable_gprofng_debug=no
   16871 fi
   16872 
   16873 
   16874 if test "${enable_gprofng_debug}" = yes; then
   16875 
   16876 $as_echo "#define DEBUG 1" >>confdefs.h
   16877 
   16878 fi
   16879 
   16880 cat > "dummy.c" << EOF
   16881 #include <features.h>
   16882 #if defined(__UCLIBC__)
   16883 LIBC=uclibc
   16884 #elif defined(__dietlibc__)
   16885 LIBC=dietlibc
   16886 #elif defined(__GLIBC__)
   16887 LIBC=gnu
   16888 #else
   16889 #include <stdarg.h>
   16890 /* First heuristic to detect musl libc.  */
   16891 #ifdef __DEFINED_va_list
   16892 LIBC=musl
   16893 #else
   16894 LIBC=gnu
   16895 #endif
   16896 #endif
   16897 EOF
   16898 cc_set_libc=`$CC -E "dummy.c" 2>/dev/null | grep '^LIBC=' | sed 's, ,,g'`
   16899 eval "$cc_set_libc"
   16900 if test "$LIBC" = musl; then
   16901 
   16902 $as_echo "#define __MUSL_LIBC 1" >>confdefs.h
   16903 
   16904 fi
   16905 rm -f dummy.c
   16906 
   16907 # Check if linker supports --as-needed and --no-as-needed options.
   16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking linker --as-needed support" >&5
   16909 $as_echo_n "checking linker --as-needed support... " >&6; }
   16910 if ${bfd_cv_ld_as_needed+:} false; then :
   16911   $as_echo_n "(cached) " >&6
   16912 else
   16913   bfd_cv_ld_as_needed=no
   16914 	if $LD --help 2>/dev/null | grep as-needed > /dev/null; then
   16915 		bfd_cv_ld_as_needed=yes
   16916 	fi
   16917 
   16918 fi
   16919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bfd_cv_ld_as_needed" >&5
   16920 $as_echo "$bfd_cv_ld_as_needed" >&6; }
   16921 
   16922 no_as_needed=
   16923 if test x"$bfd_cv_ld_as_needed" = xyes; then
   16924     no_as_needed='-Wl,--no-as-needed'
   16925 fi
   16926 
   16927 # Extract the first word of "expect", so it can be a program name with args.
   16928 set dummy expect; ac_word=$2
   16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16930 $as_echo_n "checking for $ac_word... " >&6; }
   16931 if ${ac_cv_path_EXPECT+:} false; then :
   16932   $as_echo_n "(cached) " >&6
   16933 else
   16934   case $EXPECT in
   16935   [\\/]* | ?:[\\/]*)
   16936   ac_cv_path_EXPECT="$EXPECT" # Let the user override the test with a path.
   16937   ;;
   16938   *)
   16939   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16940 for as_dir in $PATH
   16941 do
   16942   IFS=$as_save_IFS
   16943   test -z "$as_dir" && as_dir=.
   16944     for ac_exec_ext in '' $ac_executable_extensions; do
   16945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16946     ac_cv_path_EXPECT="$as_dir/$ac_word$ac_exec_ext"
   16947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16948     break 2
   16949   fi
   16950 done
   16951   done
   16952 IFS=$as_save_IFS
   16953 
   16954   ;;
   16955 esac
   16956 fi
   16957 EXPECT=$ac_cv_path_EXPECT
   16958 if test -n "$EXPECT"; then
   16959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXPECT" >&5
   16960 $as_echo "$EXPECT" >&6; }
   16961 else
   16962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16963 $as_echo "no" >&6; }
   16964 fi
   16965 
   16966 
   16967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Tcl supporting try/catch" >&5
   16968 $as_echo_n "checking for Tcl supporting try/catch... " >&6; }
   16969 if ${ac_cv_libctf_tcl_try+:} false; then :
   16970   $as_echo_n "(cached) " >&6
   16971 else
   16972   ac_cv_libctf_tcl_try=`if test -z $EXPECT; then echo no; else $EXPECT << EOF
   16973 if [llength [info commands try]] then { puts yes } else { puts no }
   16974 EOF
   16975 fi`
   16976 
   16977 fi
   16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libctf_tcl_try" >&5
   16979 $as_echo "$ac_cv_libctf_tcl_try" >&6; }
   16980 
   16981 # Only native testing and only on supported platforms:
   16982  if test "${ac_cv_libctf_tcl_try}" = yes \
   16983 	-a "x${build_src}" = xtrue -a "x${build_collector}" = xtrue \
   16984 	-a "x${host}" = "x${target}"; then
   16985   TCL_TRY_TRUE=
   16986   TCL_TRY_FALSE='#'
   16987 else
   16988   TCL_TRY_TRUE='#'
   16989   TCL_TRY_FALSE=
   16990 fi
   16991 
   16992 
   16993 
   16994   # Use the system's zlib library.
   16995   zlibdir="-L\$(top_builddir)/../zlib"
   16996   zlibinc="-I\$(top_srcdir)/../zlib"
   16997 
   16998 # Check whether --with-system-zlib was given.
   16999 if test "${with_system_zlib+set}" = set; then :
   17000   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   17001     zlibdir=
   17002     zlibinc=
   17003   fi
   17004 
   17005 fi
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 # Generate manpages, if possible.
   17012 build_man=false
   17013 build_doc=false
   17014 if test $cross_compiling = no; then
   17015   for ac_prog in makeinfo
   17016 do
   17017   # Extract the first word of "$ac_prog", so it can be a program name with args.
   17018 set dummy $ac_prog; ac_word=$2
   17019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17020 $as_echo_n "checking for $ac_word... " >&6; }
   17021 if ${ac_cv_prog_MAKEINFO+:} false; then :
   17022   $as_echo_n "(cached) " >&6
   17023 else
   17024   if test -n "$MAKEINFO"; then
   17025   ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
   17026 else
   17027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17028 for as_dir in $PATH
   17029 do
   17030   IFS=$as_save_IFS
   17031   test -z "$as_dir" && as_dir=.
   17032     for ac_exec_ext in '' $ac_executable_extensions; do
   17033   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17034     ac_cv_prog_MAKEINFO="$ac_prog"
   17035     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17036     break 2
   17037   fi
   17038 done
   17039   done
   17040 IFS=$as_save_IFS
   17041 
   17042 fi
   17043 fi
   17044 MAKEINFO=$ac_cv_prog_MAKEINFO
   17045 if test -n "$MAKEINFO"; then
   17046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
   17047 $as_echo "$MAKEINFO" >&6; }
   17048 else
   17049   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17050 $as_echo "no" >&6; }
   17051 fi
   17052 
   17053 
   17054   test -n "$MAKEINFO" && break
   17055 done
   17056 test -n "$MAKEINFO" || MAKEINFO="$MISSING makeinfo"
   17057 
   17058   case "x$MAKEINFO" in
   17059     x | */missing\ makeinfo*)
   17060       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&5
   17061 $as_echo "$as_me: WARNING: gprofng: makeinfo is missing. Info documentation will not be built." >&2;}
   17062       ;;
   17063     *)
   17064       case x"`$MAKEINFO --version | grep 'GNU texinfo'`" in
   17065 	x*\ [1-5].*|x*\ 6.[0-4].* )
   17066 	  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&5
   17067 $as_echo "$as_me: WARNING: gprofng: $MAKEINFO is too old. Info documentation will not be built." >&2;}
   17068 	  MAKEINFO="@echo $MAKEINFO is too old, 6.5 or newer required; true"
   17069 	  ;;
   17070 	x* ) build_doc=true ;;
   17071 	esac
   17072       ;;
   17073     esac
   17074 
   17075 fi
   17076  if test x$build_man = xtrue; then
   17077   BUILD_MAN_TRUE=
   17078   BUILD_MAN_FALSE='#'
   17079 else
   17080   BUILD_MAN_TRUE='#'
   17081   BUILD_MAN_FALSE=
   17082 fi
   17083 
   17084  if test x$build_doc = xtrue; then
   17085   BUILD_DOC_TRUE=
   17086   BUILD_DOC_FALSE='#'
   17087 else
   17088   BUILD_DOC_TRUE='#'
   17089   BUILD_DOC_FALSE=
   17090 fi
   17091 
   17092 
   17093 # Extract the first word of "bash", so it can be a program name with args.
   17094 set dummy bash; ac_word=$2
   17095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17096 $as_echo_n "checking for $ac_word... " >&6; }
   17097 if ${ac_cv_path_BASH+:} false; then :
   17098   $as_echo_n "(cached) " >&6
   17099 else
   17100   case $BASH in
   17101   [\\/]* | ?:[\\/]*)
   17102   ac_cv_path_BASH="$BASH" # Let the user override the test with a path.
   17103   ;;
   17104   *)
   17105   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17106 for as_dir in $PATH
   17107 do
   17108   IFS=$as_save_IFS
   17109   test -z "$as_dir" && as_dir=.
   17110     for ac_exec_ext in '' $ac_executable_extensions; do
   17111   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   17112     ac_cv_path_BASH="$as_dir/$ac_word$ac_exec_ext"
   17113     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17114     break 2
   17115   fi
   17116 done
   17117   done
   17118 IFS=$as_save_IFS
   17119 
   17120   ;;
   17121 esac
   17122 fi
   17123 BASH=$ac_cv_path_BASH
   17124 if test -n "$BASH"; then
   17125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BASH" >&5
   17126 $as_echo "$BASH" >&6; }
   17127 else
   17128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17129 $as_echo "no" >&6; }
   17130 fi
   17131 
   17132 
   17133 
   17134 
   17135 LD_NO_AS_NEEDED=${no_as_needed}
   17136 
   17137 GPROFNG_CFLAGS=${gprofng_cflags}
   17138 
   17139 
   17140 
   17141 GPROFNG_CPPFLAGS=${gprofng_cppflags}
   17142 
   17143 
   17144 ac_fn_c_check_decl "$LINENO" "basename" "ac_cv_have_decl_basename" "$ac_includes_default"
   17145 if test "x$ac_cv_have_decl_basename" = xyes; then :
   17146   ac_have_decl=1
   17147 else
   17148   ac_have_decl=0
   17149 fi
   17150 
   17151 cat >>confdefs.h <<_ACEOF
   17152 #define HAVE_DECL_BASENAME $ac_have_decl
   17153 _ACEOF
   17154 
   17155 for ac_func in clock_gettime strsignal
   17156 do :
   17157   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   17158 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   17159 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   17160   cat >>confdefs.h <<_ACEOF
   17161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   17162 _ACEOF
   17163 
   17164 fi
   17165 done
   17166 
   17167 
   17168 # For riscv builds inside incomplete environments such as during intermediate
   17169 # steps of cross toolchain building, or with outdated Linux headers.
   17170 for ac_header in asm/hwprobe.h
   17171 do :
   17172   ac_fn_c_check_header_mongrel "$LINENO" "asm/hwprobe.h" "ac_cv_header_asm_hwprobe_h" "$ac_includes_default"
   17173 if test "x$ac_cv_header_asm_hwprobe_h" = xyes; then :
   17174   cat >>confdefs.h <<_ACEOF
   17175 #define HAVE_ASM_HWPROBE_H 1
   17176 _ACEOF
   17177 
   17178 fi
   17179 
   17180 done
   17181 
   17182 
   17183 clock_gettime_link=
   17184 # At least for glibc, clock_gettime is in librt.  But don't
   17185 # pull that in if it still doesn't give us the function we want.  This
   17186 # test is copied from libgomp, and modified to not link in -lrt as
   17187 # we're using this for test timing only.
   17188 if test "$ac_cv_func_clock_gettime" = no; then
   17189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime in -lrt" >&5
   17190 $as_echo_n "checking for clock_gettime in -lrt... " >&6; }
   17191 if ${ac_cv_lib_rt_clock_gettime+:} false; then :
   17192   $as_echo_n "(cached) " >&6
   17193 else
   17194   ac_check_lib_save_LIBS=$LIBS
   17195 LIBS="-lrt  $LIBS"
   17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17197 /* end confdefs.h.  */
   17198 
   17199 /* Override any GCC internal prototype to avoid an error.
   17200    Use char because int might match the return type of a GCC
   17201    builtin and then its argument prototype would still apply.  */
   17202 #ifdef __cplusplus
   17203 extern "C"
   17204 #endif
   17205 char clock_gettime ();
   17206 int
   17207 main ()
   17208 {
   17209 return clock_gettime ();
   17210   ;
   17211   return 0;
   17212 }
   17213 _ACEOF
   17214 if ac_fn_c_try_link "$LINENO"; then :
   17215   ac_cv_lib_rt_clock_gettime=yes
   17216 else
   17217   ac_cv_lib_rt_clock_gettime=no
   17218 fi
   17219 rm -f core conftest.err conftest.$ac_objext \
   17220     conftest$ac_exeext conftest.$ac_ext
   17221 LIBS=$ac_check_lib_save_LIBS
   17222 fi
   17223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_clock_gettime" >&5
   17224 $as_echo "$ac_cv_lib_rt_clock_gettime" >&6; }
   17225 if test "x$ac_cv_lib_rt_clock_gettime" = xyes; then :
   17226   CLOCK_GETTIME_LINK=-lrt
   17227 
   17228 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
   17229 
   17230 fi
   17231 
   17232 fi
   17233 
   17234 
   17235 
   17236 
   17237 ac_config_files="$ac_config_files Makefile src/Makefile gp-display-html/Makefile doc/Makefile"
   17238 
   17239 ac_config_headers="$ac_config_headers config.h:common/config.h.in"
   17240 
   17241 
   17242 cat >confcache <<\_ACEOF
   17243 # This file is a shell script that caches the results of configure
   17244 # tests run on this system so they can be shared between configure
   17245 # scripts and configure runs, see configure's option --config-cache.
   17246 # It is not useful on other systems.  If it contains results you don't
   17247 # want to keep, you may remove or edit it.
   17248 #
   17249 # config.status only pays attention to the cache file if you give it
   17250 # the --recheck option to rerun configure.
   17251 #
   17252 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17253 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17254 # following values.
   17255 
   17256 _ACEOF
   17257 
   17258 # The following way of writing the cache mishandles newlines in values,
   17259 # but we know of no workaround that is simple, portable, and efficient.
   17260 # So, we kill variables containing newlines.
   17261 # Ultrix sh set writes to stderr and can't be redirected directly,
   17262 # and sets the high bit in the cache file unless we assign to the vars.
   17263 (
   17264   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17265     eval ac_val=\$$ac_var
   17266     case $ac_val in #(
   17267     *${as_nl}*)
   17268       case $ac_var in #(
   17269       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17270 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17271       esac
   17272       case $ac_var in #(
   17273       _ | IFS | as_nl) ;; #(
   17274       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17275       *) { eval $ac_var=; unset $ac_var;} ;;
   17276       esac ;;
   17277     esac
   17278   done
   17279 
   17280   (set) 2>&1 |
   17281     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17282     *${as_nl}ac_space=\ *)
   17283       # `set' does not quote correctly, so add quotes: double-quote
   17284       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17285       sed -n \
   17286 	"s/'/'\\\\''/g;
   17287 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17288       ;; #(
   17289     *)
   17290       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17291       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17292       ;;
   17293     esac |
   17294     sort
   17295 ) |
   17296   sed '
   17297      /^ac_cv_env_/b end
   17298      t clear
   17299      :clear
   17300      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17301      t end
   17302      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17303      :end' >>confcache
   17304 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17305   if test -w "$cache_file"; then
   17306     if test "x$cache_file" != "x/dev/null"; then
   17307       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17308 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17309       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17310 	cat confcache >"$cache_file"
   17311       else
   17312         case $cache_file in #(
   17313         */* | ?:*)
   17314 	  mv -f confcache "$cache_file"$$ &&
   17315 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17316         *)
   17317 	  mv -f confcache "$cache_file" ;;
   17318 	esac
   17319       fi
   17320     fi
   17321   else
   17322     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17323 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17324   fi
   17325 fi
   17326 rm -f confcache
   17327 
   17328 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17329 # Let make expand exec_prefix.
   17330 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17331 
   17332 DEFS=-DHAVE_CONFIG_H
   17333 
   17334 ac_libobjs=
   17335 ac_ltlibobjs=
   17336 U=
   17337 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17338   # 1. Remove the extension, and $U if already installed.
   17339   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17340   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17341   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17342   #    will be set to the directory where LIBOBJS objects are built.
   17343   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17344   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17345 done
   17346 LIBOBJS=$ac_libobjs
   17347 
   17348 LTLIBOBJS=$ac_ltlibobjs
   17349 
   17350 
   17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17352 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17353    if test -n "$am_sleep_pid"; then
   17354      # Hide warnings about reused PIDs.
   17355      wait $am_sleep_pid 2>/dev/null
   17356    fi
   17357    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17358 $as_echo "done" >&6; }
   17359  if test -n "$EXEEXT"; then
   17360   am__EXEEXT_TRUE=
   17361   am__EXEEXT_FALSE='#'
   17362 else
   17363   am__EXEEXT_TRUE='#'
   17364   am__EXEEXT_FALSE=
   17365 fi
   17366 
   17367 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17368   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17369 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17370 fi
   17371 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17372   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17373 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17374 fi
   17375 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17376   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17377 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17378 fi
   17379 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17380   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17381 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17382 fi
   17383 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   17384   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   17385 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17386 fi
   17387 
   17388 if test -z "${BUILD_COLLECTOR_TRUE}" && test -z "${BUILD_COLLECTOR_FALSE}"; then
   17389   as_fn_error $? "conditional \"BUILD_COLLECTOR\" was never defined.
   17390 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17391 fi
   17392 if test -z "${BUILD_SRC_TRUE}" && test -z "${BUILD_SRC_FALSE}"; then
   17393   as_fn_error $? "conditional \"BUILD_SRC\" was never defined.
   17394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17395 fi
   17396 if test -z "${TCL_TRY_TRUE}" && test -z "${TCL_TRY_FALSE}"; then
   17397   as_fn_error $? "conditional \"TCL_TRY\" was never defined.
   17398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17399 fi
   17400 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
   17401   as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
   17402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17403 fi
   17404 if test -z "${BUILD_DOC_TRUE}" && test -z "${BUILD_DOC_FALSE}"; then
   17405   as_fn_error $? "conditional \"BUILD_DOC\" was never defined.
   17406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17407 fi
   17408 
   17409 : "${CONFIG_STATUS=./config.status}"
   17410 ac_write_fail=0
   17411 ac_clean_files_save=$ac_clean_files
   17412 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17413 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17414 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17415 as_write_fail=0
   17416 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17417 #! $SHELL
   17418 # Generated by $as_me.
   17419 # Run this file to recreate the current configuration.
   17420 # Compiler output produced by configure, useful for debugging
   17421 # configure, is in config.log if it exists.
   17422 
   17423 debug=false
   17424 ac_cs_recheck=false
   17425 ac_cs_silent=false
   17426 
   17427 SHELL=\${CONFIG_SHELL-$SHELL}
   17428 export SHELL
   17429 _ASEOF
   17430 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17431 ## -------------------- ##
   17432 ## M4sh Initialization. ##
   17433 ## -------------------- ##
   17434 
   17435 # Be more Bourne compatible
   17436 DUALCASE=1; export DUALCASE # for MKS sh
   17437 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17438   emulate sh
   17439   NULLCMD=:
   17440   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17441   # is contrary to our usage.  Disable this feature.
   17442   alias -g '${1+"$@"}'='"$@"'
   17443   setopt NO_GLOB_SUBST
   17444 else
   17445   case `(set -o) 2>/dev/null` in #(
   17446   *posix*) :
   17447     set -o posix ;; #(
   17448   *) :
   17449      ;;
   17450 esac
   17451 fi
   17452 
   17453 
   17454 as_nl='
   17455 '
   17456 export as_nl
   17457 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17458 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17459 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17460 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17461 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17462 # but without wasting forks for bash or zsh.
   17463 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17464     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17465   as_echo='print -r --'
   17466   as_echo_n='print -rn --'
   17467 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17468   as_echo='printf %s\n'
   17469   as_echo_n='printf %s'
   17470 else
   17471   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17472     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17473     as_echo_n='/usr/ucb/echo -n'
   17474   else
   17475     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17476     as_echo_n_body='eval
   17477       arg=$1;
   17478       case $arg in #(
   17479       *"$as_nl"*)
   17480 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17481 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17482       esac;
   17483       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17484     '
   17485     export as_echo_n_body
   17486     as_echo_n='sh -c $as_echo_n_body as_echo'
   17487   fi
   17488   export as_echo_body
   17489   as_echo='sh -c $as_echo_body as_echo'
   17490 fi
   17491 
   17492 # The user is always right.
   17493 if test "${PATH_SEPARATOR+set}" != set; then
   17494   PATH_SEPARATOR=:
   17495   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17496     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17497       PATH_SEPARATOR=';'
   17498   }
   17499 fi
   17500 
   17501 
   17502 # IFS
   17503 # We need space, tab and new line, in precisely that order.  Quoting is
   17504 # there to prevent editors from complaining about space-tab.
   17505 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17506 # splitting by setting IFS to empty value.)
   17507 IFS=" ""	$as_nl"
   17508 
   17509 # Find who we are.  Look in the path if we contain no directory separator.
   17510 as_myself=
   17511 case $0 in #((
   17512   *[\\/]* ) as_myself=$0 ;;
   17513   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17514 for as_dir in $PATH
   17515 do
   17516   IFS=$as_save_IFS
   17517   test -z "$as_dir" && as_dir=.
   17518     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17519   done
   17520 IFS=$as_save_IFS
   17521 
   17522      ;;
   17523 esac
   17524 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17525 # in which case we are not to be found in the path.
   17526 if test "x$as_myself" = x; then
   17527   as_myself=$0
   17528 fi
   17529 if test ! -f "$as_myself"; then
   17530   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17531   exit 1
   17532 fi
   17533 
   17534 # Unset variables that we do not need and which cause bugs (e.g. in
   17535 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17536 # suppresses any "Segmentation fault" message there.  '((' could
   17537 # trigger a bug in pdksh 5.2.14.
   17538 for as_var in BASH_ENV ENV MAIL MAILPATH
   17539 do eval test x\${$as_var+set} = xset \
   17540   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17541 done
   17542 PS1='$ '
   17543 PS2='> '
   17544 PS4='+ '
   17545 
   17546 # NLS nuisances.
   17547 LC_ALL=C
   17548 export LC_ALL
   17549 LANGUAGE=C
   17550 export LANGUAGE
   17551 
   17552 # CDPATH.
   17553 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17554 
   17555 
   17556 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17557 # ----------------------------------------
   17558 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17559 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17560 # script with STATUS, using 1 if that was 0.
   17561 as_fn_error ()
   17562 {
   17563   as_status=$1; test $as_status -eq 0 && as_status=1
   17564   if test "$4"; then
   17565     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17566     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17567   fi
   17568   $as_echo "$as_me: error: $2" >&2
   17569   as_fn_exit $as_status
   17570 } # as_fn_error
   17571 
   17572 
   17573 # as_fn_set_status STATUS
   17574 # -----------------------
   17575 # Set $? to STATUS, without forking.
   17576 as_fn_set_status ()
   17577 {
   17578   return $1
   17579 } # as_fn_set_status
   17580 
   17581 # as_fn_exit STATUS
   17582 # -----------------
   17583 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17584 as_fn_exit ()
   17585 {
   17586   set +e
   17587   as_fn_set_status $1
   17588   exit $1
   17589 } # as_fn_exit
   17590 
   17591 # as_fn_unset VAR
   17592 # ---------------
   17593 # Portably unset VAR.
   17594 as_fn_unset ()
   17595 {
   17596   { eval $1=; unset $1;}
   17597 }
   17598 as_unset=as_fn_unset
   17599 # as_fn_append VAR VALUE
   17600 # ----------------------
   17601 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17602 # advantage of any shell optimizations that allow amortized linear growth over
   17603 # repeated appends, instead of the typical quadratic growth present in naive
   17604 # implementations.
   17605 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17606   eval 'as_fn_append ()
   17607   {
   17608     eval $1+=\$2
   17609   }'
   17610 else
   17611   as_fn_append ()
   17612   {
   17613     eval $1=\$$1\$2
   17614   }
   17615 fi # as_fn_append
   17616 
   17617 # as_fn_arith ARG...
   17618 # ------------------
   17619 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17620 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17621 # must be portable across $(()) and expr.
   17622 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17623   eval 'as_fn_arith ()
   17624   {
   17625     as_val=$(( $* ))
   17626   }'
   17627 else
   17628   as_fn_arith ()
   17629   {
   17630     as_val=`expr "$@" || test $? -eq 1`
   17631   }
   17632 fi # as_fn_arith
   17633 
   17634 
   17635 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17636    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17637   as_expr=expr
   17638 else
   17639   as_expr=false
   17640 fi
   17641 
   17642 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17643   as_basename=basename
   17644 else
   17645   as_basename=false
   17646 fi
   17647 
   17648 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17649   as_dirname=dirname
   17650 else
   17651   as_dirname=false
   17652 fi
   17653 
   17654 as_me=`$as_basename -- "$0" ||
   17655 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17656 	 X"$0" : 'X\(//\)$' \| \
   17657 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17658 $as_echo X/"$0" |
   17659     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17660 	    s//\1/
   17661 	    q
   17662 	  }
   17663 	  /^X\/\(\/\/\)$/{
   17664 	    s//\1/
   17665 	    q
   17666 	  }
   17667 	  /^X\/\(\/\).*/{
   17668 	    s//\1/
   17669 	    q
   17670 	  }
   17671 	  s/.*/./; q'`
   17672 
   17673 # Avoid depending upon Character Ranges.
   17674 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17675 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17676 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17677 as_cr_digits='0123456789'
   17678 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17679 
   17680 ECHO_C= ECHO_N= ECHO_T=
   17681 case `echo -n x` in #(((((
   17682 -n*)
   17683   case `echo 'xy\c'` in
   17684   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17685   xy)  ECHO_C='\c';;
   17686   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17687        ECHO_T='	';;
   17688   esac;;
   17689 *)
   17690   ECHO_N='-n';;
   17691 esac
   17692 
   17693 rm -f conf$$ conf$$.exe conf$$.file
   17694 if test -d conf$$.dir; then
   17695   rm -f conf$$.dir/conf$$.file
   17696 else
   17697   rm -f conf$$.dir
   17698   mkdir conf$$.dir 2>/dev/null
   17699 fi
   17700 if (echo >conf$$.file) 2>/dev/null; then
   17701   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17702     as_ln_s='ln -s'
   17703     # ... but there are two gotchas:
   17704     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17705     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17706     # In both cases, we have to default to `cp -pR'.
   17707     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17708       as_ln_s='cp -pR'
   17709   elif ln conf$$.file conf$$ 2>/dev/null; then
   17710     as_ln_s=ln
   17711   else
   17712     as_ln_s='cp -pR'
   17713   fi
   17714 else
   17715   as_ln_s='cp -pR'
   17716 fi
   17717 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17718 rmdir conf$$.dir 2>/dev/null
   17719 
   17720 
   17721 # as_fn_mkdir_p
   17722 # -------------
   17723 # Create "$as_dir" as a directory, including parents if necessary.
   17724 as_fn_mkdir_p ()
   17725 {
   17726 
   17727   case $as_dir in #(
   17728   -*) as_dir=./$as_dir;;
   17729   esac
   17730   test -d "$as_dir" || eval $as_mkdir_p || {
   17731     as_dirs=
   17732     while :; do
   17733       case $as_dir in #(
   17734       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17735       *) as_qdir=$as_dir;;
   17736       esac
   17737       as_dirs="'$as_qdir' $as_dirs"
   17738       as_dir=`$as_dirname -- "$as_dir" ||
   17739 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17740 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17741 	 X"$as_dir" : 'X\(//\)$' \| \
   17742 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17743 $as_echo X"$as_dir" |
   17744     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17745 	    s//\1/
   17746 	    q
   17747 	  }
   17748 	  /^X\(\/\/\)[^/].*/{
   17749 	    s//\1/
   17750 	    q
   17751 	  }
   17752 	  /^X\(\/\/\)$/{
   17753 	    s//\1/
   17754 	    q
   17755 	  }
   17756 	  /^X\(\/\).*/{
   17757 	    s//\1/
   17758 	    q
   17759 	  }
   17760 	  s/.*/./; q'`
   17761       test -d "$as_dir" && break
   17762     done
   17763     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17764   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17765 
   17766 
   17767 } # as_fn_mkdir_p
   17768 if mkdir -p . 2>/dev/null; then
   17769   as_mkdir_p='mkdir -p "$as_dir"'
   17770 else
   17771   test -d ./-p && rmdir ./-p
   17772   as_mkdir_p=false
   17773 fi
   17774 
   17775 
   17776 # as_fn_executable_p FILE
   17777 # -----------------------
   17778 # Test if FILE is an executable regular file.
   17779 as_fn_executable_p ()
   17780 {
   17781   test -f "$1" && test -x "$1"
   17782 } # as_fn_executable_p
   17783 as_test_x='test -x'
   17784 as_executable_p=as_fn_executable_p
   17785 
   17786 # Sed expression to map a string onto a valid CPP name.
   17787 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17788 
   17789 # Sed expression to map a string onto a valid variable name.
   17790 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17791 
   17792 
   17793 exec 6>&1
   17794 ## ----------------------------------- ##
   17795 ## Main body of $CONFIG_STATUS script. ##
   17796 ## ----------------------------------- ##
   17797 _ASEOF
   17798 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17799 
   17800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17801 # Save the log message, to keep $0 and so on meaningful, and to
   17802 # report actual input values of CONFIG_FILES etc. instead of their
   17803 # values after options handling.
   17804 ac_log="
   17805 This file was extended by gprofng $as_me 2.45, which was
   17806 generated by GNU Autoconf 2.69.  Invocation command line was
   17807 
   17808   CONFIG_FILES    = $CONFIG_FILES
   17809   CONFIG_HEADERS  = $CONFIG_HEADERS
   17810   CONFIG_LINKS    = $CONFIG_LINKS
   17811   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17812   $ $0 $@
   17813 
   17814 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17815 "
   17816 
   17817 _ACEOF
   17818 
   17819 case $ac_config_files in *"
   17820 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17821 esac
   17822 
   17823 case $ac_config_headers in *"
   17824 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17825 esac
   17826 
   17827 
   17828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17829 # Files that config.status was made for.
   17830 config_files="$ac_config_files"
   17831 config_headers="$ac_config_headers"
   17832 config_commands="$ac_config_commands"
   17833 
   17834 _ACEOF
   17835 
   17836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17837 ac_cs_usage="\
   17838 \`$as_me' instantiates files and other configuration actions
   17839 from templates according to the current configuration.  Unless the files
   17840 and actions are specified as TAGs, all are instantiated by default.
   17841 
   17842 Usage: $0 [OPTION]... [TAG]...
   17843 
   17844   -h, --help       print this help, then exit
   17845   -V, --version    print version number and configuration settings, then exit
   17846       --config     print configuration, then exit
   17847   -q, --quiet, --silent
   17848                    do not print progress messages
   17849   -d, --debug      don't remove temporary files
   17850       --recheck    update $as_me by reconfiguring in the same conditions
   17851       --file=FILE[:TEMPLATE]
   17852                    instantiate the configuration file FILE
   17853       --header=FILE[:TEMPLATE]
   17854                    instantiate the configuration header FILE
   17855 
   17856 Configuration files:
   17857 $config_files
   17858 
   17859 Configuration headers:
   17860 $config_headers
   17861 
   17862 Configuration commands:
   17863 $config_commands
   17864 
   17865 Report bugs to the package provider."
   17866 
   17867 _ACEOF
   17868 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17869 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   17870 ac_cs_version="\\
   17871 gprofng config.status 2.45
   17872 configured by $0, generated by GNU Autoconf 2.69,
   17873   with options \\"\$ac_cs_config\\"
   17874 
   17875 Copyright (C) 2012 Free Software Foundation, Inc.
   17876 This config.status script is free software; the Free Software Foundation
   17877 gives unlimited permission to copy, distribute and modify it."
   17878 
   17879 ac_pwd='$ac_pwd'
   17880 srcdir='$srcdir'
   17881 INSTALL='$INSTALL'
   17882 MKDIR_P='$MKDIR_P'
   17883 AWK='$AWK'
   17884 test -n "\$AWK" || AWK=awk
   17885 _ACEOF
   17886 
   17887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17888 # The default lists apply if the user does not specify any file.
   17889 ac_need_defaults=:
   17890 while test $# != 0
   17891 do
   17892   case $1 in
   17893   --*=?*)
   17894     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17895     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   17896     ac_shift=:
   17897     ;;
   17898   --*=)
   17899     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   17900     ac_optarg=
   17901     ac_shift=:
   17902     ;;
   17903   *)
   17904     ac_option=$1
   17905     ac_optarg=$2
   17906     ac_shift=shift
   17907     ;;
   17908   esac
   17909 
   17910   case $ac_option in
   17911   # Handling of the options.
   17912   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   17913     ac_cs_recheck=: ;;
   17914   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   17915     $as_echo "$ac_cs_version"; exit ;;
   17916   --config | --confi | --conf | --con | --co | --c )
   17917     $as_echo "$ac_cs_config"; exit ;;
   17918   --debug | --debu | --deb | --de | --d | -d )
   17919     debug=: ;;
   17920   --file | --fil | --fi | --f )
   17921     $ac_shift
   17922     case $ac_optarg in
   17923     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17924     '') as_fn_error $? "missing file argument" ;;
   17925     esac
   17926     as_fn_append CONFIG_FILES " '$ac_optarg'"
   17927     ac_need_defaults=false;;
   17928   --header | --heade | --head | --hea )
   17929     $ac_shift
   17930     case $ac_optarg in
   17931     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   17932     esac
   17933     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   17934     ac_need_defaults=false;;
   17935   --he | --h)
   17936     # Conflict between --help and --header
   17937     as_fn_error $? "ambiguous option: \`$1'
   17938 Try \`$0 --help' for more information.";;
   17939   --help | --hel | -h )
   17940     $as_echo "$ac_cs_usage"; exit ;;
   17941   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   17942   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   17943     ac_cs_silent=: ;;
   17944 
   17945   # This is an error.
   17946   -*) as_fn_error $? "unrecognized option: \`$1'
   17947 Try \`$0 --help' for more information." ;;
   17948 
   17949   *) as_fn_append ac_config_targets " $1"
   17950      ac_need_defaults=false ;;
   17951 
   17952   esac
   17953   shift
   17954 done
   17955 
   17956 ac_configure_extra_args=
   17957 
   17958 if $ac_cs_silent; then
   17959   exec 6>/dev/null
   17960   ac_configure_extra_args="$ac_configure_extra_args --silent"
   17961 fi
   17962 
   17963 _ACEOF
   17964 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17965 if \$ac_cs_recheck; then
   17966   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   17967   shift
   17968   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   17969   CONFIG_SHELL='$SHELL'
   17970   export CONFIG_SHELL
   17971   exec "\$@"
   17972 fi
   17973 
   17974 _ACEOF
   17975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17976 exec 5>>config.log
   17977 {
   17978   echo
   17979   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   17980 ## Running $as_me. ##
   17981 _ASBOX
   17982   $as_echo "$ac_log"
   17983 } >&5
   17984 
   17985 _ACEOF
   17986 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17987 #
   17988 # INIT-COMMANDS
   17989 #
   17990 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   17991 
   17992 
   17993 # The HP-UX ksh and POSIX shell print the target directory to stdout
   17994 # if CDPATH is set.
   17995 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17996 
   17997 sed_quote_subst='$sed_quote_subst'
   17998 double_quote_subst='$double_quote_subst'
   17999 delay_variable_subst='$delay_variable_subst'
   18000 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18001 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18002 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18003 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18004 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18005 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18006 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18007 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18008 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18009 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18010 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18011 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18012 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18013 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18014 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18015 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18016 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18017 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18018 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18019 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18020 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18021 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18022 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18023 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18024 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18025 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18026 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18027 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18028 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18029 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18030 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18031 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18032 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18033 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18034 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18035 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18036 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18037 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18038 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18039 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18040 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18041 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18042 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18043 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18044 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18045 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18046 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18047 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18048 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"`'
   18049 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18050 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18051 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18052 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18053 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18054 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18055 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18056 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18057 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18058 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18059 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18060 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18061 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18062 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18063 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18064 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18065 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18066 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18067 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18068 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18069 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18070 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18071 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18072 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18073 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18074 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18075 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18076 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18077 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18078 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18079 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18080 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18081 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18082 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18083 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18084 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18085 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18086 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18087 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18088 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18089 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18090 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18091 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18092 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18093 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18094 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18095 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18096 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18097 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18098 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18099 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18100 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18101 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18102 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18103 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18104 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18105 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18106 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18107 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18108 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18109 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18110 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18111 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18112 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18113 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18114 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18115 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18116 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18117 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18118 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18119 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18120 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   18121 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   18122 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   18123 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   18124 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   18125 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   18126 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   18127 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18128 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18129 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18130 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   18131 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   18132 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18133 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   18134 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   18135 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   18136 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   18137 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   18138 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   18139 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18140 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18141 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   18142 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18143 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18144 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18145 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18146 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18147 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18148 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18149 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18150 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18151 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18152 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18153 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   18154 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   18155 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   18156 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   18157 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   18158 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   18159 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   18160 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   18161 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   18162 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   18163 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18164 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18165 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18166 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18167 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18168 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   18169 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   18170 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18171 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18172 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   18173 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   18174 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   18175 
   18176 LTCC='$LTCC'
   18177 LTCFLAGS='$LTCFLAGS'
   18178 compiler='$compiler_DEFAULT'
   18179 
   18180 # A function that is used when there is no print builtin or printf.
   18181 func_fallback_echo ()
   18182 {
   18183   eval 'cat <<_LTECHO_EOF
   18184 \$1
   18185 _LTECHO_EOF'
   18186 }
   18187 
   18188 # Quote evaled strings.
   18189 for var in SHELL \
   18190 ECHO \
   18191 SED \
   18192 GREP \
   18193 EGREP \
   18194 FGREP \
   18195 LD \
   18196 NM \
   18197 LN_S \
   18198 lt_SP2NL \
   18199 lt_NL2SP \
   18200 reload_flag \
   18201 OBJDUMP \
   18202 deplibs_check_method \
   18203 file_magic_cmd \
   18204 AR \
   18205 AR_FLAGS \
   18206 STRIP \
   18207 RANLIB \
   18208 CC \
   18209 CFLAGS \
   18210 compiler \
   18211 lt_cv_sys_global_symbol_pipe \
   18212 lt_cv_sys_global_symbol_to_cdecl \
   18213 lt_cv_sys_global_symbol_to_c_name_address \
   18214 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18215 lt_prog_compiler_no_builtin_flag \
   18216 lt_prog_compiler_wl \
   18217 lt_prog_compiler_pic \
   18218 lt_prog_compiler_static \
   18219 lt_cv_prog_compiler_c_o \
   18220 need_locks \
   18221 DSYMUTIL \
   18222 NMEDIT \
   18223 LIPO \
   18224 OTOOL \
   18225 OTOOL64 \
   18226 shrext_cmds \
   18227 export_dynamic_flag_spec \
   18228 whole_archive_flag_spec \
   18229 compiler_needs_object \
   18230 with_gnu_ld \
   18231 allow_undefined_flag \
   18232 no_undefined_flag \
   18233 hardcode_libdir_flag_spec \
   18234 hardcode_libdir_flag_spec_ld \
   18235 hardcode_libdir_separator \
   18236 fix_srcfile_path \
   18237 exclude_expsyms \
   18238 include_expsyms \
   18239 file_list_spec \
   18240 variables_saved_for_relink \
   18241 libname_spec \
   18242 library_names_spec \
   18243 soname_spec \
   18244 install_override_mode \
   18245 finish_eval \
   18246 old_striplib \
   18247 striplib \
   18248 compiler_lib_search_dirs \
   18249 predep_objects \
   18250 postdep_objects \
   18251 predeps \
   18252 postdeps \
   18253 compiler_lib_search_path \
   18254 LD_CXX \
   18255 reload_flag_CXX \
   18256 compiler_CXX \
   18257 lt_prog_compiler_no_builtin_flag_CXX \
   18258 lt_prog_compiler_wl_CXX \
   18259 lt_prog_compiler_pic_CXX \
   18260 lt_prog_compiler_static_CXX \
   18261 lt_cv_prog_compiler_c_o_CXX \
   18262 export_dynamic_flag_spec_CXX \
   18263 whole_archive_flag_spec_CXX \
   18264 compiler_needs_object_CXX \
   18265 with_gnu_ld_CXX \
   18266 allow_undefined_flag_CXX \
   18267 no_undefined_flag_CXX \
   18268 hardcode_libdir_flag_spec_CXX \
   18269 hardcode_libdir_flag_spec_ld_CXX \
   18270 hardcode_libdir_separator_CXX \
   18271 fix_srcfile_path_CXX \
   18272 exclude_expsyms_CXX \
   18273 include_expsyms_CXX \
   18274 file_list_spec_CXX \
   18275 compiler_lib_search_dirs_CXX \
   18276 predep_objects_CXX \
   18277 postdep_objects_CXX \
   18278 predeps_CXX \
   18279 postdeps_CXX \
   18280 compiler_lib_search_path_CXX; do
   18281     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18282     *[\\\\\\\`\\"\\\$]*)
   18283       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18284       ;;
   18285     *)
   18286       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18287       ;;
   18288     esac
   18289 done
   18290 
   18291 # Double-quote double-evaled strings.
   18292 for var in reload_cmds \
   18293 old_postinstall_cmds \
   18294 old_postuninstall_cmds \
   18295 old_archive_cmds \
   18296 extract_expsyms_cmds \
   18297 old_archive_from_new_cmds \
   18298 old_archive_from_expsyms_cmds \
   18299 archive_cmds \
   18300 archive_expsym_cmds \
   18301 module_cmds \
   18302 module_expsym_cmds \
   18303 export_symbols_cmds \
   18304 prelink_cmds \
   18305 postinstall_cmds \
   18306 postuninstall_cmds \
   18307 finish_cmds \
   18308 sys_lib_search_path_spec \
   18309 sys_lib_dlsearch_path_spec \
   18310 reload_cmds_CXX \
   18311 old_archive_cmds_CXX \
   18312 old_archive_from_new_cmds_CXX \
   18313 old_archive_from_expsyms_cmds_CXX \
   18314 archive_cmds_CXX \
   18315 archive_expsym_cmds_CXX \
   18316 module_cmds_CXX \
   18317 module_expsym_cmds_CXX \
   18318 export_symbols_cmds_CXX \
   18319 prelink_cmds_CXX; do
   18320     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18321     *[\\\\\\\`\\"\\\$]*)
   18322       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18323       ;;
   18324     *)
   18325       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18326       ;;
   18327     esac
   18328 done
   18329 
   18330 ac_aux_dir='$ac_aux_dir'
   18331 xsi_shell='$xsi_shell'
   18332 lt_shell_append='$lt_shell_append'
   18333 
   18334 # See if we are running on zsh, and set the options which allow our
   18335 # commands through without removal of \ escapes INIT.
   18336 if test -n "\${ZSH_VERSION+set}" ; then
   18337    setopt NO_GLOB_SUBST
   18338 fi
   18339 
   18340 
   18341     PACKAGE='$PACKAGE'
   18342     VERSION='$VERSION'
   18343     TIMESTAMP='$TIMESTAMP'
   18344     RM='$RM'
   18345     ofile='$ofile'
   18346 
   18347 
   18348 
   18349 
   18350 
   18351 
   18352 _ACEOF
   18353 
   18354 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18355 
   18356 # Handling of arguments.
   18357 for ac_config_target in $ac_config_targets
   18358 do
   18359   case $ac_config_target in
   18360     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18361     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18362     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18363     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18364     "gp-display-html/Makefile") CONFIG_FILES="$CONFIG_FILES gp-display-html/Makefile" ;;
   18365     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   18366     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:common/config.h.in" ;;
   18367 
   18368   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18369   esac
   18370 done
   18371 
   18372 
   18373 # If the user did not use the arguments to specify the items to instantiate,
   18374 # then the envvar interface is used.  Set only those that are not.
   18375 # We use the long form for the default assignment because of an extremely
   18376 # bizarre bug on SunOS 4.1.3.
   18377 if $ac_need_defaults; then
   18378   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18379   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18380   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18381 fi
   18382 
   18383 # Have a temporary directory for convenience.  Make it in the build tree
   18384 # simply because there is no reason against having it here, and in addition,
   18385 # creating and moving files from /tmp can sometimes cause problems.
   18386 # Hook for its removal unless debugging.
   18387 # Note that there is a small window in which the directory will not be cleaned:
   18388 # after its creation but before its name has been assigned to `$tmp'.
   18389 $debug ||
   18390 {
   18391   tmp= ac_tmp=
   18392   trap 'exit_status=$?
   18393   : "${ac_tmp:=$tmp}"
   18394   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18395 ' 0
   18396   trap 'as_fn_exit 1' 1 2 13 15
   18397 }
   18398 # Create a (secure) tmp directory for tmp files.
   18399 
   18400 {
   18401   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18402   test -d "$tmp"
   18403 }  ||
   18404 {
   18405   tmp=./conf$$-$RANDOM
   18406   (umask 077 && mkdir "$tmp")
   18407 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18408 ac_tmp=$tmp
   18409 
   18410 # Set up the scripts for CONFIG_FILES section.
   18411 # No need to generate them if there are no CONFIG_FILES.
   18412 # This happens for instance with `./config.status config.h'.
   18413 if test -n "$CONFIG_FILES"; then
   18414 
   18415 
   18416 ac_cr=`echo X | tr X '\015'`
   18417 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18418 # But we know of no other shell where ac_cr would be empty at this
   18419 # point, so we can use a bashism as a fallback.
   18420 if test "x$ac_cr" = x; then
   18421   eval ac_cr=\$\'\\r\'
   18422 fi
   18423 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18424 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18425   ac_cs_awk_cr='\\r'
   18426 else
   18427   ac_cs_awk_cr=$ac_cr
   18428 fi
   18429 
   18430 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18431 _ACEOF
   18432 
   18433 
   18434 {
   18435   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18436   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18437   echo "_ACEOF"
   18438 } >conf$$subs.sh ||
   18439   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18440 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18441 ac_delim='%!_!# '
   18442 for ac_last_try in false false false false false :; do
   18443   . ./conf$$subs.sh ||
   18444     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18445 
   18446   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18447   if test $ac_delim_n = $ac_delim_num; then
   18448     break
   18449   elif $ac_last_try; then
   18450     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18451   else
   18452     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18453   fi
   18454 done
   18455 rm -f conf$$subs.sh
   18456 
   18457 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18458 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18459 _ACEOF
   18460 sed -n '
   18461 h
   18462 s/^/S["/; s/!.*/"]=/
   18463 p
   18464 g
   18465 s/^[^!]*!//
   18466 :repl
   18467 t repl
   18468 s/'"$ac_delim"'$//
   18469 t delim
   18470 :nl
   18471 h
   18472 s/\(.\{148\}\)..*/\1/
   18473 t more1
   18474 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18475 p
   18476 n
   18477 b repl
   18478 :more1
   18479 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18480 p
   18481 g
   18482 s/.\{148\}//
   18483 t nl
   18484 :delim
   18485 h
   18486 s/\(.\{148\}\)..*/\1/
   18487 t more2
   18488 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18489 p
   18490 b
   18491 :more2
   18492 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18493 p
   18494 g
   18495 s/.\{148\}//
   18496 t delim
   18497 ' <conf$$subs.awk | sed '
   18498 /^[^""]/{
   18499   N
   18500   s/\n//
   18501 }
   18502 ' >>$CONFIG_STATUS || ac_write_fail=1
   18503 rm -f conf$$subs.awk
   18504 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18505 _ACAWK
   18506 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18507   for (key in S) S_is_set[key] = 1
   18508   FS = ""
   18509 
   18510 }
   18511 {
   18512   line = $ 0
   18513   nfields = split(line, field, "@")
   18514   substed = 0
   18515   len = length(field[1])
   18516   for (i = 2; i < nfields; i++) {
   18517     key = field[i]
   18518     keylen = length(key)
   18519     if (S_is_set[key]) {
   18520       value = S[key]
   18521       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18522       len += length(value) + length(field[++i])
   18523       substed = 1
   18524     } else
   18525       len += 1 + keylen
   18526   }
   18527 
   18528   print line
   18529 }
   18530 
   18531 _ACAWK
   18532 _ACEOF
   18533 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18534 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18535   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18536 else
   18537   cat
   18538 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18539   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18540 _ACEOF
   18541 
   18542 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18543 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18544 # trailing colons and then remove the whole line if VPATH becomes empty
   18545 # (actually we leave an empty line to preserve line numbers).
   18546 if test "x$srcdir" = x.; then
   18547   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18548 h
   18549 s///
   18550 s/^/:/
   18551 s/[	 ]*$/:/
   18552 s/:\$(srcdir):/:/g
   18553 s/:\${srcdir}:/:/g
   18554 s/:@srcdir@:/:/g
   18555 s/^:*//
   18556 s/:*$//
   18557 x
   18558 s/\(=[	 ]*\).*/\1/
   18559 G
   18560 s/\n//
   18561 s/^[^=]*=[	 ]*$//
   18562 }'
   18563 fi
   18564 
   18565 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18566 fi # test -n "$CONFIG_FILES"
   18567 
   18568 # Set up the scripts for CONFIG_HEADERS section.
   18569 # No need to generate them if there are no CONFIG_HEADERS.
   18570 # This happens for instance with `./config.status Makefile'.
   18571 if test -n "$CONFIG_HEADERS"; then
   18572 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18573 BEGIN {
   18574 _ACEOF
   18575 
   18576 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18577 # here-document in config.status, that substitutes the proper values into
   18578 # config.h.in to produce config.h.
   18579 
   18580 # Create a delimiter string that does not exist in confdefs.h, to ease
   18581 # handling of long lines.
   18582 ac_delim='%!_!# '
   18583 for ac_last_try in false false :; do
   18584   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18585   if test -z "$ac_tt"; then
   18586     break
   18587   elif $ac_last_try; then
   18588     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18589   else
   18590     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18591   fi
   18592 done
   18593 
   18594 # For the awk script, D is an array of macro values keyed by name,
   18595 # likewise P contains macro parameters if any.  Preserve backslash
   18596 # newline sequences.
   18597 
   18598 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18599 sed -n '
   18600 s/.\{148\}/&'"$ac_delim"'/g
   18601 t rset
   18602 :rset
   18603 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18604 t def
   18605 d
   18606 :def
   18607 s/\\$//
   18608 t bsnl
   18609 s/["\\]/\\&/g
   18610 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18611 D["\1"]=" \3"/p
   18612 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18613 d
   18614 :bsnl
   18615 s/["\\]/\\&/g
   18616 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18617 D["\1"]=" \3\\\\\\n"\\/p
   18618 t cont
   18619 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18620 t cont
   18621 d
   18622 :cont
   18623 n
   18624 s/.\{148\}/&'"$ac_delim"'/g
   18625 t clear
   18626 :clear
   18627 s/\\$//
   18628 t bsnlc
   18629 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18630 d
   18631 :bsnlc
   18632 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18633 b cont
   18634 ' <confdefs.h | sed '
   18635 s/'"$ac_delim"'/"\\\
   18636 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18637 
   18638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18639   for (key in D) D_is_set[key] = 1
   18640   FS = ""
   18641 }
   18642 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18643   line = \$ 0
   18644   split(line, arg, " ")
   18645   if (arg[1] == "#") {
   18646     defundef = arg[2]
   18647     mac1 = arg[3]
   18648   } else {
   18649     defundef = substr(arg[1], 2)
   18650     mac1 = arg[2]
   18651   }
   18652   split(mac1, mac2, "(") #)
   18653   macro = mac2[1]
   18654   prefix = substr(line, 1, index(line, defundef) - 1)
   18655   if (D_is_set[macro]) {
   18656     # Preserve the white space surrounding the "#".
   18657     print prefix "define", macro P[macro] D[macro]
   18658     next
   18659   } else {
   18660     # Replace #undef with comments.  This is necessary, for example,
   18661     # in the case of _POSIX_SOURCE, which is predefined and required
   18662     # on some systems where configure will not decide to define it.
   18663     if (defundef == "undef") {
   18664       print "/*", prefix defundef, macro, "*/"
   18665       next
   18666     }
   18667   }
   18668 }
   18669 { print }
   18670 _ACAWK
   18671 _ACEOF
   18672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18673   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18674 fi # test -n "$CONFIG_HEADERS"
   18675 
   18676 
   18677 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18678 shift
   18679 for ac_tag
   18680 do
   18681   case $ac_tag in
   18682   :[FHLC]) ac_mode=$ac_tag; continue;;
   18683   esac
   18684   case $ac_mode$ac_tag in
   18685   :[FHL]*:*);;
   18686   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18687   :[FH]-) ac_tag=-:-;;
   18688   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18689   esac
   18690   ac_save_IFS=$IFS
   18691   IFS=:
   18692   set x $ac_tag
   18693   IFS=$ac_save_IFS
   18694   shift
   18695   ac_file=$1
   18696   shift
   18697 
   18698   case $ac_mode in
   18699   :L) ac_source=$1;;
   18700   :[FH])
   18701     ac_file_inputs=
   18702     for ac_f
   18703     do
   18704       case $ac_f in
   18705       -) ac_f="$ac_tmp/stdin";;
   18706       *) # Look for the file first in the build tree, then in the source tree
   18707 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18708 	 # because $ac_f cannot contain `:'.
   18709 	 test -f "$ac_f" ||
   18710 	   case $ac_f in
   18711 	   [\\/$]*) false;;
   18712 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18713 	   esac ||
   18714 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18715       esac
   18716       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18717       as_fn_append ac_file_inputs " '$ac_f'"
   18718     done
   18719 
   18720     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18721     # use $as_me), people would be surprised to read:
   18722     #    /* config.h.  Generated by config.status.  */
   18723     configure_input='Generated from '`
   18724 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18725 	`' by configure.'
   18726     if test x"$ac_file" != x-; then
   18727       configure_input="$ac_file.  $configure_input"
   18728       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18729 $as_echo "$as_me: creating $ac_file" >&6;}
   18730     fi
   18731     # Neutralize special characters interpreted by sed in replacement strings.
   18732     case $configure_input in #(
   18733     *\&* | *\|* | *\\* )
   18734        ac_sed_conf_input=`$as_echo "$configure_input" |
   18735        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18736     *) ac_sed_conf_input=$configure_input;;
   18737     esac
   18738 
   18739     case $ac_tag in
   18740     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18741       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18742     esac
   18743     ;;
   18744   esac
   18745 
   18746   ac_dir=`$as_dirname -- "$ac_file" ||
   18747 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18748 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18749 	 X"$ac_file" : 'X\(//\)$' \| \
   18750 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18751 $as_echo X"$ac_file" |
   18752     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18753 	    s//\1/
   18754 	    q
   18755 	  }
   18756 	  /^X\(\/\/\)[^/].*/{
   18757 	    s//\1/
   18758 	    q
   18759 	  }
   18760 	  /^X\(\/\/\)$/{
   18761 	    s//\1/
   18762 	    q
   18763 	  }
   18764 	  /^X\(\/\).*/{
   18765 	    s//\1/
   18766 	    q
   18767 	  }
   18768 	  s/.*/./; q'`
   18769   as_dir="$ac_dir"; as_fn_mkdir_p
   18770   ac_builddir=.
   18771 
   18772 case "$ac_dir" in
   18773 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18774 *)
   18775   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18776   # A ".." for each directory in $ac_dir_suffix.
   18777   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18778   case $ac_top_builddir_sub in
   18779   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18780   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18781   esac ;;
   18782 esac
   18783 ac_abs_top_builddir=$ac_pwd
   18784 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18785 # for backward compatibility:
   18786 ac_top_builddir=$ac_top_build_prefix
   18787 
   18788 case $srcdir in
   18789   .)  # We are building in place.
   18790     ac_srcdir=.
   18791     ac_top_srcdir=$ac_top_builddir_sub
   18792     ac_abs_top_srcdir=$ac_pwd ;;
   18793   [\\/]* | ?:[\\/]* )  # Absolute name.
   18794     ac_srcdir=$srcdir$ac_dir_suffix;
   18795     ac_top_srcdir=$srcdir
   18796     ac_abs_top_srcdir=$srcdir ;;
   18797   *) # Relative name.
   18798     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18799     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18800     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18801 esac
   18802 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18803 
   18804 
   18805   case $ac_mode in
   18806   :F)
   18807   #
   18808   # CONFIG_FILE
   18809   #
   18810 
   18811   case $INSTALL in
   18812   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18813   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18814   esac
   18815   ac_MKDIR_P=$MKDIR_P
   18816   case $MKDIR_P in
   18817   [\\/$]* | ?:[\\/]* ) ;;
   18818   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18819   esac
   18820 _ACEOF
   18821 
   18822 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18823 # If the template does not know about datarootdir, expand it.
   18824 # FIXME: This hack should be removed a few years after 2.60.
   18825 ac_datarootdir_hack=; ac_datarootdir_seen=
   18826 ac_sed_dataroot='
   18827 /datarootdir/ {
   18828   p
   18829   q
   18830 }
   18831 /@datadir@/p
   18832 /@docdir@/p
   18833 /@infodir@/p
   18834 /@localedir@/p
   18835 /@mandir@/p'
   18836 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18837 *datarootdir*) ac_datarootdir_seen=yes;;
   18838 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18839   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18840 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18841 _ACEOF
   18842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18843   ac_datarootdir_hack='
   18844   s&@datadir@&$datadir&g
   18845   s&@docdir@&$docdir&g
   18846   s&@infodir@&$infodir&g
   18847   s&@localedir@&$localedir&g
   18848   s&@mandir@&$mandir&g
   18849   s&\\\${datarootdir}&$datarootdir&g' ;;
   18850 esac
   18851 _ACEOF
   18852 
   18853 # Neutralize VPATH when `$srcdir' = `.'.
   18854 # Shell code in configure.ac might set extrasub.
   18855 # FIXME: do we really want to maintain this feature?
   18856 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18857 ac_sed_extra="$ac_vpsub
   18858 $extrasub
   18859 _ACEOF
   18860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18861 :t
   18862 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   18863 s|@configure_input@|$ac_sed_conf_input|;t t
   18864 s&@top_builddir@&$ac_top_builddir_sub&;t t
   18865 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   18866 s&@srcdir@&$ac_srcdir&;t t
   18867 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   18868 s&@top_srcdir@&$ac_top_srcdir&;t t
   18869 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   18870 s&@builddir@&$ac_builddir&;t t
   18871 s&@abs_builddir@&$ac_abs_builddir&;t t
   18872 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   18873 s&@INSTALL@&$ac_INSTALL&;t t
   18874 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   18875 $ac_datarootdir_hack
   18876 "
   18877 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   18878   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18879 
   18880 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   18881   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   18882   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   18883       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   18884   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18885 which seems to be undefined.  Please make sure it is defined" >&5
   18886 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   18887 which seems to be undefined.  Please make sure it is defined" >&2;}
   18888 
   18889   rm -f "$ac_tmp/stdin"
   18890   case $ac_file in
   18891   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   18892   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   18893   esac \
   18894   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18895  ;;
   18896   :H)
   18897   #
   18898   # CONFIG_HEADER
   18899   #
   18900   if test x"$ac_file" != x-; then
   18901     {
   18902       $as_echo "/* $configure_input  */" \
   18903       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   18904     } >"$ac_tmp/config.h" \
   18905       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18906     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   18907       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   18908 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   18909     else
   18910       rm -f "$ac_file"
   18911       mv "$ac_tmp/config.h" "$ac_file" \
   18912 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   18913     fi
   18914   else
   18915     $as_echo "/* $configure_input  */" \
   18916       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   18917       || as_fn_error $? "could not create -" "$LINENO" 5
   18918   fi
   18919 # Compute "$ac_file"'s index in $config_headers.
   18920 _am_arg="$ac_file"
   18921 _am_stamp_count=1
   18922 for _am_header in $config_headers :; do
   18923   case $_am_header in
   18924     $_am_arg | $_am_arg:* )
   18925       break ;;
   18926     * )
   18927       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   18928   esac
   18929 done
   18930 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   18931 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18932 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   18933 	 X"$_am_arg" : 'X\(//\)$' \| \
   18934 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   18935 $as_echo X"$_am_arg" |
   18936     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18937 	    s//\1/
   18938 	    q
   18939 	  }
   18940 	  /^X\(\/\/\)[^/].*/{
   18941 	    s//\1/
   18942 	    q
   18943 	  }
   18944 	  /^X\(\/\/\)$/{
   18945 	    s//\1/
   18946 	    q
   18947 	  }
   18948 	  /^X\(\/\).*/{
   18949 	    s//\1/
   18950 	    q
   18951 	  }
   18952 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   18953  ;;
   18954 
   18955   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   18956 $as_echo "$as_me: executing $ac_file commands" >&6;}
   18957  ;;
   18958   esac
   18959 
   18960 
   18961   case $ac_file$ac_mode in
   18962     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   18963   # Older Autoconf quotes --file arguments for eval, but not when files
   18964   # are listed without --file.  Let's play safe and only enable the eval
   18965   # if we detect the quoting.
   18966   case $CONFIG_FILES in
   18967   *\'*) eval set x "$CONFIG_FILES" ;;
   18968   *)   set x $CONFIG_FILES ;;
   18969   esac
   18970   shift
   18971   for mf
   18972   do
   18973     # Strip MF so we end up with the name of the file.
   18974     mf=`echo "$mf" | sed -e 's/:.*$//'`
   18975     # Check whether this is an Automake generated Makefile or not.
   18976     # We used to match only the files named 'Makefile.in', but
   18977     # some people rename them; so instead we look at the file content.
   18978     # Grep'ing the first line is not enough: some people post-process
   18979     # each Makefile.in and add a new line on top of each file to say so.
   18980     # Grep'ing the whole file is not good either: AIX grep has a line
   18981     # limit of 2048, but all sed's we know have understand at least 4000.
   18982     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   18983       dirpart=`$as_dirname -- "$mf" ||
   18984 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18985 	 X"$mf" : 'X\(//\)[^/]' \| \
   18986 	 X"$mf" : 'X\(//\)$' \| \
   18987 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   18988 $as_echo X"$mf" |
   18989     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18990 	    s//\1/
   18991 	    q
   18992 	  }
   18993 	  /^X\(\/\/\)[^/].*/{
   18994 	    s//\1/
   18995 	    q
   18996 	  }
   18997 	  /^X\(\/\/\)$/{
   18998 	    s//\1/
   18999 	    q
   19000 	  }
   19001 	  /^X\(\/\).*/{
   19002 	    s//\1/
   19003 	    q
   19004 	  }
   19005 	  s/.*/./; q'`
   19006     else
   19007       continue
   19008     fi
   19009     # Extract the definition of DEPDIR, am__include, and am__quote
   19010     # from the Makefile without running 'make'.
   19011     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19012     test -z "$DEPDIR" && continue
   19013     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19014     test -z "$am__include" && continue
   19015     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19016     # Find all dependency output files, they are included files with
   19017     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19018     # simplest approach to changing $(DEPDIR) to its actual value in the
   19019     # expansion.
   19020     for file in `sed -n "
   19021       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19022 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19023       # Make sure the directory exists.
   19024       test -f "$dirpart/$file" && continue
   19025       fdir=`$as_dirname -- "$file" ||
   19026 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19027 	 X"$file" : 'X\(//\)[^/]' \| \
   19028 	 X"$file" : 'X\(//\)$' \| \
   19029 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19030 $as_echo X"$file" |
   19031     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19032 	    s//\1/
   19033 	    q
   19034 	  }
   19035 	  /^X\(\/\/\)[^/].*/{
   19036 	    s//\1/
   19037 	    q
   19038 	  }
   19039 	  /^X\(\/\/\)$/{
   19040 	    s//\1/
   19041 	    q
   19042 	  }
   19043 	  /^X\(\/\).*/{
   19044 	    s//\1/
   19045 	    q
   19046 	  }
   19047 	  s/.*/./; q'`
   19048       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19049       # echo "creating $dirpart/$file"
   19050       echo '# dummy' > "$dirpart/$file"
   19051     done
   19052   done
   19053 }
   19054  ;;
   19055     "libtool":C)
   19056 
   19057     # See if we are running on zsh, and set the options which allow our
   19058     # commands through without removal of \ escapes.
   19059     if test -n "${ZSH_VERSION+set}" ; then
   19060       setopt NO_GLOB_SUBST
   19061     fi
   19062 
   19063     cfgfile="${ofile}T"
   19064     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19065     $RM "$cfgfile"
   19066 
   19067     cat <<_LT_EOF >> "$cfgfile"
   19068 #! $SHELL
   19069 
   19070 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19071 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19072 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19073 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19074 #
   19075 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19076 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19077 #   Written by Gordon Matzigkeit, 1996
   19078 #
   19079 #   This file is part of GNU Libtool.
   19080 #
   19081 # GNU Libtool is free software; you can redistribute it and/or
   19082 # modify it under the terms of the GNU General Public License as
   19083 # published by the Free Software Foundation; either version 2 of
   19084 # the License, or (at your option) any later version.
   19085 #
   19086 # As a special exception to the GNU General Public License,
   19087 # if you distribute this file as part of a program or library that
   19088 # is built using GNU Libtool, you may include this file under the
   19089 # same distribution terms that you use for the rest of that program.
   19090 #
   19091 # GNU Libtool is distributed in the hope that it will be useful,
   19092 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19093 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19094 # GNU General Public License for more details.
   19095 #
   19096 # You should have received a copy of the GNU General Public License
   19097 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19098 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19099 # obtained by writing to the Free Software Foundation, Inc.,
   19100 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19101 
   19102 
   19103 # The names of the tagged configurations supported by this script.
   19104 available_tags="CXX "
   19105 
   19106 # ### BEGIN LIBTOOL CONFIG
   19107 
   19108 # Whether or not to build shared libraries.
   19109 build_libtool_libs=$enable_shared
   19110 
   19111 # Which release of libtool.m4 was used?
   19112 macro_version=$macro_version
   19113 macro_revision=$macro_revision
   19114 
   19115 # Whether or not to build static libraries.
   19116 build_old_libs=$enable_static
   19117 
   19118 # What type of objects to build.
   19119 pic_mode=$pic_mode
   19120 
   19121 # Whether or not to optimize for fast installation.
   19122 fast_install=$enable_fast_install
   19123 
   19124 # Shell to use when invoking shell scripts.
   19125 SHELL=$lt_SHELL
   19126 
   19127 # An echo program that protects backslashes.
   19128 ECHO=$lt_ECHO
   19129 
   19130 # The host system.
   19131 host_alias=$host_alias
   19132 host=$host
   19133 host_os=$host_os
   19134 
   19135 # The build system.
   19136 build_alias=$build_alias
   19137 build=$build
   19138 build_os=$build_os
   19139 
   19140 # A sed program that does not truncate output.
   19141 SED=$lt_SED
   19142 
   19143 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19144 Xsed="\$SED -e 1s/^X//"
   19145 
   19146 # A grep program that handles long lines.
   19147 GREP=$lt_GREP
   19148 
   19149 # An ERE matcher.
   19150 EGREP=$lt_EGREP
   19151 
   19152 # A literal string matcher.
   19153 FGREP=$lt_FGREP
   19154 
   19155 # A BSD- or MS-compatible name lister.
   19156 NM=$lt_NM
   19157 
   19158 # Whether we need soft or hard links.
   19159 LN_S=$lt_LN_S
   19160 
   19161 # What is the maximum length of a command?
   19162 max_cmd_len=$max_cmd_len
   19163 
   19164 # Object file suffix (normally "o").
   19165 objext=$ac_objext
   19166 
   19167 # Executable file suffix (normally "").
   19168 exeext=$exeext
   19169 
   19170 # whether the shell understands "unset".
   19171 lt_unset=$lt_unset
   19172 
   19173 # turn spaces into newlines.
   19174 SP2NL=$lt_lt_SP2NL
   19175 
   19176 # turn newlines into spaces.
   19177 NL2SP=$lt_lt_NL2SP
   19178 
   19179 # An object symbol dumper.
   19180 OBJDUMP=$lt_OBJDUMP
   19181 
   19182 # Method to check whether dependent libraries are shared objects.
   19183 deplibs_check_method=$lt_deplibs_check_method
   19184 
   19185 # Command to use when deplibs_check_method == "file_magic".
   19186 file_magic_cmd=$lt_file_magic_cmd
   19187 
   19188 # The archiver.
   19189 AR=$lt_AR
   19190 AR_FLAGS=$lt_AR_FLAGS
   19191 
   19192 # A symbol stripping program.
   19193 STRIP=$lt_STRIP
   19194 
   19195 # Commands used to install an old-style archive.
   19196 RANLIB=$lt_RANLIB
   19197 old_postinstall_cmds=$lt_old_postinstall_cmds
   19198 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19199 
   19200 # Whether to use a lock for old archive extraction.
   19201 lock_old_archive_extraction=$lock_old_archive_extraction
   19202 
   19203 # A C compiler.
   19204 LTCC=$lt_CC
   19205 
   19206 # LTCC compiler flags.
   19207 LTCFLAGS=$lt_CFLAGS
   19208 
   19209 # Take the output of nm and produce a listing of raw symbols and C names.
   19210 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19211 
   19212 # Transform the output of nm in a proper C declaration.
   19213 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19214 
   19215 # Transform the output of nm in a C name address pair.
   19216 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19217 
   19218 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19219 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19220 
   19221 # The name of the directory that contains temporary libtool files.
   19222 objdir=$objdir
   19223 
   19224 # Used to examine libraries when file_magic_cmd begins with "file".
   19225 MAGIC_CMD=$MAGIC_CMD
   19226 
   19227 # Must we lock files when doing compilation?
   19228 need_locks=$lt_need_locks
   19229 
   19230 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19231 DSYMUTIL=$lt_DSYMUTIL
   19232 
   19233 # Tool to change global to local symbols on Mac OS X.
   19234 NMEDIT=$lt_NMEDIT
   19235 
   19236 # Tool to manipulate fat objects and archives on Mac OS X.
   19237 LIPO=$lt_LIPO
   19238 
   19239 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19240 OTOOL=$lt_OTOOL
   19241 
   19242 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19243 OTOOL64=$lt_OTOOL64
   19244 
   19245 # Old archive suffix (normally "a").
   19246 libext=$libext
   19247 
   19248 # Shared library suffix (normally ".so").
   19249 shrext_cmds=$lt_shrext_cmds
   19250 
   19251 # The commands to extract the exported symbol list from a shared archive.
   19252 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19253 
   19254 # Variables whose values should be saved in libtool wrapper scripts and
   19255 # restored at link time.
   19256 variables_saved_for_relink=$lt_variables_saved_for_relink
   19257 
   19258 # Do we need the "lib" prefix for modules?
   19259 need_lib_prefix=$need_lib_prefix
   19260 
   19261 # Do we need a version for libraries?
   19262 need_version=$need_version
   19263 
   19264 # Library versioning type.
   19265 version_type=$version_type
   19266 
   19267 # Shared library runtime path variable.
   19268 runpath_var=$runpath_var
   19269 
   19270 # Shared library path variable.
   19271 shlibpath_var=$shlibpath_var
   19272 
   19273 # Is shlibpath searched before the hard-coded library search path?
   19274 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19275 
   19276 # Format of library name prefix.
   19277 libname_spec=$lt_libname_spec
   19278 
   19279 # List of archive names.  First name is the real one, the rest are links.
   19280 # The last name is the one that the linker finds with -lNAME
   19281 library_names_spec=$lt_library_names_spec
   19282 
   19283 # The coded name of the library, if different from the real name.
   19284 soname_spec=$lt_soname_spec
   19285 
   19286 # Permission mode override for installation of shared libraries.
   19287 install_override_mode=$lt_install_override_mode
   19288 
   19289 # Command to use after installation of a shared archive.
   19290 postinstall_cmds=$lt_postinstall_cmds
   19291 
   19292 # Command to use after uninstallation of a shared archive.
   19293 postuninstall_cmds=$lt_postuninstall_cmds
   19294 
   19295 # Commands used to finish a libtool library installation in a directory.
   19296 finish_cmds=$lt_finish_cmds
   19297 
   19298 # As "finish_cmds", except a single script fragment to be evaled but
   19299 # not shown.
   19300 finish_eval=$lt_finish_eval
   19301 
   19302 # Whether we should hardcode library paths into libraries.
   19303 hardcode_into_libs=$hardcode_into_libs
   19304 
   19305 # Compile-time system search path for libraries.
   19306 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19307 
   19308 # Run-time system search path for libraries.
   19309 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19310 
   19311 # Whether dlopen is supported.
   19312 dlopen_support=$enable_dlopen
   19313 
   19314 # Whether dlopen of programs is supported.
   19315 dlopen_self=$enable_dlopen_self
   19316 
   19317 # Whether dlopen of statically linked programs is supported.
   19318 dlopen_self_static=$enable_dlopen_self_static
   19319 
   19320 # Commands to strip libraries.
   19321 old_striplib=$lt_old_striplib
   19322 striplib=$lt_striplib
   19323 
   19324 
   19325 # The linker used to build libraries.
   19326 LD=$lt_LD
   19327 
   19328 # How to create reloadable object files.
   19329 reload_flag=$lt_reload_flag
   19330 reload_cmds=$lt_reload_cmds
   19331 
   19332 # Commands used to build an old-style archive.
   19333 old_archive_cmds=$lt_old_archive_cmds
   19334 
   19335 # A language specific compiler.
   19336 CC=$lt_compiler
   19337 
   19338 # Is the compiler the GNU compiler?
   19339 with_gcc=$GCC
   19340 
   19341 # Compiler flag to turn off builtin functions.
   19342 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19343 
   19344 # How to pass a linker flag through the compiler.
   19345 wl=$lt_lt_prog_compiler_wl
   19346 
   19347 # Additional compiler flags for building library objects.
   19348 pic_flag=$lt_lt_prog_compiler_pic
   19349 
   19350 # Compiler flag to prevent dynamic linking.
   19351 link_static_flag=$lt_lt_prog_compiler_static
   19352 
   19353 # Does compiler simultaneously support -c and -o options?
   19354 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19355 
   19356 # Whether or not to add -lc for building shared libraries.
   19357 build_libtool_need_lc=$archive_cmds_need_lc
   19358 
   19359 # Whether or not to disallow shared libs when runtime libs are static.
   19360 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19361 
   19362 # Compiler flag to allow reflexive dlopens.
   19363 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19364 
   19365 # Compiler flag to generate shared objects directly from archives.
   19366 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19367 
   19368 # Whether the compiler copes with passing no objects directly.
   19369 compiler_needs_object=$lt_compiler_needs_object
   19370 
   19371 # Create an old-style archive from a shared archive.
   19372 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19373 
   19374 # Create a temporary old-style archive to link instead of a shared archive.
   19375 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19376 
   19377 # Commands used to build a shared archive.
   19378 archive_cmds=$lt_archive_cmds
   19379 archive_expsym_cmds=$lt_archive_expsym_cmds
   19380 
   19381 # Commands used to build a loadable module if different from building
   19382 # a shared archive.
   19383 module_cmds=$lt_module_cmds
   19384 module_expsym_cmds=$lt_module_expsym_cmds
   19385 
   19386 # Whether we are building with GNU ld or not.
   19387 with_gnu_ld=$lt_with_gnu_ld
   19388 
   19389 # Flag that allows shared libraries with undefined symbols to be built.
   19390 allow_undefined_flag=$lt_allow_undefined_flag
   19391 
   19392 # Flag that enforces no undefined symbols.
   19393 no_undefined_flag=$lt_no_undefined_flag
   19394 
   19395 # Flag to hardcode \$libdir into a binary during linking.
   19396 # This must work even if \$libdir does not exist
   19397 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19398 
   19399 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19400 # during linking.  This must work even if \$libdir does not exist.
   19401 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19402 
   19403 # Whether we need a single "-rpath" flag with a separated argument.
   19404 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19405 
   19406 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19407 # DIR into the resulting binary.
   19408 hardcode_direct=$hardcode_direct
   19409 
   19410 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19411 # DIR into the resulting binary and the resulting library dependency is
   19412 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19413 # library is relocated.
   19414 hardcode_direct_absolute=$hardcode_direct_absolute
   19415 
   19416 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19417 # into the resulting binary.
   19418 hardcode_minus_L=$hardcode_minus_L
   19419 
   19420 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19421 # into the resulting binary.
   19422 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19423 
   19424 # Set to "yes" if building a shared library automatically hardcodes DIR
   19425 # into the library and all subsequent libraries and executables linked
   19426 # against it.
   19427 hardcode_automatic=$hardcode_automatic
   19428 
   19429 # Set to yes if linker adds runtime paths of dependent libraries
   19430 # to runtime path list.
   19431 inherit_rpath=$inherit_rpath
   19432 
   19433 # Whether libtool must link a program against all its dependency libraries.
   19434 link_all_deplibs=$link_all_deplibs
   19435 
   19436 # Fix the shell variable \$srcfile for the compiler.
   19437 fix_srcfile_path=$lt_fix_srcfile_path
   19438 
   19439 # Set to "yes" if exported symbols are required.
   19440 always_export_symbols=$always_export_symbols
   19441 
   19442 # The commands to list exported symbols.
   19443 export_symbols_cmds=$lt_export_symbols_cmds
   19444 
   19445 # Symbols that should not be listed in the preloaded symbols.
   19446 exclude_expsyms=$lt_exclude_expsyms
   19447 
   19448 # Symbols that must always be exported.
   19449 include_expsyms=$lt_include_expsyms
   19450 
   19451 # Commands necessary for linking programs (against libraries) with templates.
   19452 prelink_cmds=$lt_prelink_cmds
   19453 
   19454 # Specify filename containing input files.
   19455 file_list_spec=$lt_file_list_spec
   19456 
   19457 # How to hardcode a shared library path into an executable.
   19458 hardcode_action=$hardcode_action
   19459 
   19460 # The directories searched by this compiler when creating a shared library.
   19461 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   19462 
   19463 # Dependencies to place before and after the objects being linked to
   19464 # create a shared library.
   19465 predep_objects=$lt_predep_objects
   19466 postdep_objects=$lt_postdep_objects
   19467 predeps=$lt_predeps
   19468 postdeps=$lt_postdeps
   19469 
   19470 # The library search path used internally by the compiler when linking
   19471 # a shared library.
   19472 compiler_lib_search_path=$lt_compiler_lib_search_path
   19473 
   19474 # ### END LIBTOOL CONFIG
   19475 
   19476 _LT_EOF
   19477 
   19478   case $host_os in
   19479   aix3*)
   19480     cat <<\_LT_EOF >> "$cfgfile"
   19481 # AIX sometimes has problems with the GCC collect2 program.  For some
   19482 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19483 # vanish in a puff of smoke.
   19484 if test "X${COLLECT_NAMES+set}" != Xset; then
   19485   COLLECT_NAMES=
   19486   export COLLECT_NAMES
   19487 fi
   19488 _LT_EOF
   19489     ;;
   19490   esac
   19491 
   19492 
   19493 ltmain="$ac_aux_dir/ltmain.sh"
   19494 
   19495 
   19496   # We use sed instead of cat because bash on DJGPP gets confused if
   19497   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19498   # text mode, it properly converts lines to CR/LF.  This bash problem
   19499   # is reportedly fixed, but why not run on old versions too?
   19500   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19501     || (rm -f "$cfgfile"; exit 1)
   19502 
   19503   case $xsi_shell in
   19504   yes)
   19505     cat << \_LT_EOF >> "$cfgfile"
   19506 
   19507 # func_dirname file append nondir_replacement
   19508 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19509 # otherwise set result to NONDIR_REPLACEMENT.
   19510 func_dirname ()
   19511 {
   19512   case ${1} in
   19513     */*) func_dirname_result="${1%/*}${2}" ;;
   19514     *  ) func_dirname_result="${3}" ;;
   19515   esac
   19516 }
   19517 
   19518 # func_basename file
   19519 func_basename ()
   19520 {
   19521   func_basename_result="${1##*/}"
   19522 }
   19523 
   19524 # func_dirname_and_basename file append nondir_replacement
   19525 # perform func_basename and func_dirname in a single function
   19526 # call:
   19527 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19528 #             add APPEND to the result, otherwise set result
   19529 #             to NONDIR_REPLACEMENT.
   19530 #             value returned in "$func_dirname_result"
   19531 #   basename: Compute filename of FILE.
   19532 #             value retuned in "$func_basename_result"
   19533 # Implementation must be kept synchronized with func_dirname
   19534 # and func_basename. For efficiency, we do not delegate to
   19535 # those functions but instead duplicate the functionality here.
   19536 func_dirname_and_basename ()
   19537 {
   19538   case ${1} in
   19539     */*) func_dirname_result="${1%/*}${2}" ;;
   19540     *  ) func_dirname_result="${3}" ;;
   19541   esac
   19542   func_basename_result="${1##*/}"
   19543 }
   19544 
   19545 # func_stripname prefix suffix name
   19546 # strip PREFIX and SUFFIX off of NAME.
   19547 # PREFIX and SUFFIX must not contain globbing or regex special
   19548 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19549 # dot (in which case that matches only a dot).
   19550 func_stripname ()
   19551 {
   19552   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19553   # positional parameters, so assign one to ordinary parameter first.
   19554   func_stripname_result=${3}
   19555   func_stripname_result=${func_stripname_result#"${1}"}
   19556   func_stripname_result=${func_stripname_result%"${2}"}
   19557 }
   19558 
   19559 # func_opt_split
   19560 func_opt_split ()
   19561 {
   19562   func_opt_split_opt=${1%%=*}
   19563   func_opt_split_arg=${1#*=}
   19564 }
   19565 
   19566 # func_lo2o object
   19567 func_lo2o ()
   19568 {
   19569   case ${1} in
   19570     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19571     *)    func_lo2o_result=${1} ;;
   19572   esac
   19573 }
   19574 
   19575 # func_xform libobj-or-source
   19576 func_xform ()
   19577 {
   19578   func_xform_result=${1%.*}.lo
   19579 }
   19580 
   19581 # func_arith arithmetic-term...
   19582 func_arith ()
   19583 {
   19584   func_arith_result=$(( $* ))
   19585 }
   19586 
   19587 # func_len string
   19588 # STRING may not start with a hyphen.
   19589 func_len ()
   19590 {
   19591   func_len_result=${#1}
   19592 }
   19593 
   19594 _LT_EOF
   19595     ;;
   19596   *) # Bourne compatible functions.
   19597     cat << \_LT_EOF >> "$cfgfile"
   19598 
   19599 # func_dirname file append nondir_replacement
   19600 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19601 # otherwise set result to NONDIR_REPLACEMENT.
   19602 func_dirname ()
   19603 {
   19604   # Extract subdirectory from the argument.
   19605   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19606   if test "X$func_dirname_result" = "X${1}"; then
   19607     func_dirname_result="${3}"
   19608   else
   19609     func_dirname_result="$func_dirname_result${2}"
   19610   fi
   19611 }
   19612 
   19613 # func_basename file
   19614 func_basename ()
   19615 {
   19616   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19617 }
   19618 
   19619 
   19620 # func_stripname prefix suffix name
   19621 # strip PREFIX and SUFFIX off of NAME.
   19622 # PREFIX and SUFFIX must not contain globbing or regex special
   19623 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19624 # dot (in which case that matches only a dot).
   19625 # func_strip_suffix prefix name
   19626 func_stripname ()
   19627 {
   19628   case ${2} in
   19629     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19630     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19631   esac
   19632 }
   19633 
   19634 # sed scripts:
   19635 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19636 my_sed_long_arg='1s/^-[^=]*=//'
   19637 
   19638 # func_opt_split
   19639 func_opt_split ()
   19640 {
   19641   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19642   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19643 }
   19644 
   19645 # func_lo2o object
   19646 func_lo2o ()
   19647 {
   19648   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19649 }
   19650 
   19651 # func_xform libobj-or-source
   19652 func_xform ()
   19653 {
   19654   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19655 }
   19656 
   19657 # func_arith arithmetic-term...
   19658 func_arith ()
   19659 {
   19660   func_arith_result=`expr "$@"`
   19661 }
   19662 
   19663 # func_len string
   19664 # STRING may not start with a hyphen.
   19665 func_len ()
   19666 {
   19667   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19668 }
   19669 
   19670 _LT_EOF
   19671 esac
   19672 
   19673 case $lt_shell_append in
   19674   yes)
   19675     cat << \_LT_EOF >> "$cfgfile"
   19676 
   19677 # func_append var value
   19678 # Append VALUE to the end of shell variable VAR.
   19679 func_append ()
   19680 {
   19681   eval "$1+=\$2"
   19682 }
   19683 _LT_EOF
   19684     ;;
   19685   *)
   19686     cat << \_LT_EOF >> "$cfgfile"
   19687 
   19688 # func_append var value
   19689 # Append VALUE to the end of shell variable VAR.
   19690 func_append ()
   19691 {
   19692   eval "$1=\$$1\$2"
   19693 }
   19694 
   19695 _LT_EOF
   19696     ;;
   19697   esac
   19698 
   19699 
   19700   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19701     || (rm -f "$cfgfile"; exit 1)
   19702 
   19703   mv -f "$cfgfile" "$ofile" ||
   19704     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19705   chmod +x "$ofile"
   19706 
   19707 
   19708     cat <<_LT_EOF >> "$ofile"
   19709 
   19710 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   19711 
   19712 # The linker used to build libraries.
   19713 LD=$lt_LD_CXX
   19714 
   19715 # How to create reloadable object files.
   19716 reload_flag=$lt_reload_flag_CXX
   19717 reload_cmds=$lt_reload_cmds_CXX
   19718 
   19719 # Commands used to build an old-style archive.
   19720 old_archive_cmds=$lt_old_archive_cmds_CXX
   19721 
   19722 # A language specific compiler.
   19723 CC=$lt_compiler_CXX
   19724 
   19725 # Is the compiler the GNU compiler?
   19726 with_gcc=$GCC_CXX
   19727 
   19728 # Compiler flag to turn off builtin functions.
   19729 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   19730 
   19731 # How to pass a linker flag through the compiler.
   19732 wl=$lt_lt_prog_compiler_wl_CXX
   19733 
   19734 # Additional compiler flags for building library objects.
   19735 pic_flag=$lt_lt_prog_compiler_pic_CXX
   19736 
   19737 # Compiler flag to prevent dynamic linking.
   19738 link_static_flag=$lt_lt_prog_compiler_static_CXX
   19739 
   19740 # Does compiler simultaneously support -c and -o options?
   19741 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   19742 
   19743 # Whether or not to add -lc for building shared libraries.
   19744 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   19745 
   19746 # Whether or not to disallow shared libs when runtime libs are static.
   19747 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   19748 
   19749 # Compiler flag to allow reflexive dlopens.
   19750 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   19751 
   19752 # Compiler flag to generate shared objects directly from archives.
   19753 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   19754 
   19755 # Whether the compiler copes with passing no objects directly.
   19756 compiler_needs_object=$lt_compiler_needs_object_CXX
   19757 
   19758 # Create an old-style archive from a shared archive.
   19759 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   19760 
   19761 # Create a temporary old-style archive to link instead of a shared archive.
   19762 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   19763 
   19764 # Commands used to build a shared archive.
   19765 archive_cmds=$lt_archive_cmds_CXX
   19766 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   19767 
   19768 # Commands used to build a loadable module if different from building
   19769 # a shared archive.
   19770 module_cmds=$lt_module_cmds_CXX
   19771 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   19772 
   19773 # Whether we are building with GNU ld or not.
   19774 with_gnu_ld=$lt_with_gnu_ld_CXX
   19775 
   19776 # Flag that allows shared libraries with undefined symbols to be built.
   19777 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   19778 
   19779 # Flag that enforces no undefined symbols.
   19780 no_undefined_flag=$lt_no_undefined_flag_CXX
   19781 
   19782 # Flag to hardcode \$libdir into a binary during linking.
   19783 # This must work even if \$libdir does not exist
   19784 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   19785 
   19786 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19787 # during linking.  This must work even if \$libdir does not exist.
   19788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   19789 
   19790 # Whether we need a single "-rpath" flag with a separated argument.
   19791 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   19792 
   19793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19794 # DIR into the resulting binary.
   19795 hardcode_direct=$hardcode_direct_CXX
   19796 
   19797 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19798 # DIR into the resulting binary and the resulting library dependency is
   19799 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19800 # library is relocated.
   19801 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   19802 
   19803 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19804 # into the resulting binary.
   19805 hardcode_minus_L=$hardcode_minus_L_CXX
   19806 
   19807 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19808 # into the resulting binary.
   19809 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   19810 
   19811 # Set to "yes" if building a shared library automatically hardcodes DIR
   19812 # into the library and all subsequent libraries and executables linked
   19813 # against it.
   19814 hardcode_automatic=$hardcode_automatic_CXX
   19815 
   19816 # Set to yes if linker adds runtime paths of dependent libraries
   19817 # to runtime path list.
   19818 inherit_rpath=$inherit_rpath_CXX
   19819 
   19820 # Whether libtool must link a program against all its dependency libraries.
   19821 link_all_deplibs=$link_all_deplibs_CXX
   19822 
   19823 # Fix the shell variable \$srcfile for the compiler.
   19824 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   19825 
   19826 # Set to "yes" if exported symbols are required.
   19827 always_export_symbols=$always_export_symbols_CXX
   19828 
   19829 # The commands to list exported symbols.
   19830 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   19831 
   19832 # Symbols that should not be listed in the preloaded symbols.
   19833 exclude_expsyms=$lt_exclude_expsyms_CXX
   19834 
   19835 # Symbols that must always be exported.
   19836 include_expsyms=$lt_include_expsyms_CXX
   19837 
   19838 # Commands necessary for linking programs (against libraries) with templates.
   19839 prelink_cmds=$lt_prelink_cmds_CXX
   19840 
   19841 # Specify filename containing input files.
   19842 file_list_spec=$lt_file_list_spec_CXX
   19843 
   19844 # How to hardcode a shared library path into an executable.
   19845 hardcode_action=$hardcode_action_CXX
   19846 
   19847 # The directories searched by this compiler when creating a shared library.
   19848 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   19849 
   19850 # Dependencies to place before and after the objects being linked to
   19851 # create a shared library.
   19852 predep_objects=$lt_predep_objects_CXX
   19853 postdep_objects=$lt_postdep_objects_CXX
   19854 predeps=$lt_predeps_CXX
   19855 postdeps=$lt_postdeps_CXX
   19856 
   19857 # The library search path used internally by the compiler when linking
   19858 # a shared library.
   19859 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   19860 
   19861 # ### END LIBTOOL TAG CONFIG: CXX
   19862 _LT_EOF
   19863 
   19864  ;;
   19865 
   19866   esac
   19867 done # for ac_tag
   19868 
   19869 
   19870 as_fn_exit 0
   19871 _ACEOF
   19872 ac_clean_files=$ac_clean_files_save
   19873 
   19874 test $ac_write_fail = 0 ||
   19875   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   19876 
   19877 
   19878 # configure is writing to config.log, and then calls config.status.
   19879 # config.status does its own redirection, appending to config.log.
   19880 # Unfortunately, on DOS this fails, as config.log is still kept open
   19881 # by configure, so config.status won't be able to write to it; its
   19882 # output is simply discarded.  So we exec the FD to /dev/null,
   19883 # effectively closing config.log, so it can be properly (re)opened and
   19884 # appended to by config.status.  When coming back to configure, we
   19885 # need to make the FD available again.
   19886 if test "$no_create" != yes; then
   19887   ac_cs_success=:
   19888   ac_config_status_args=
   19889   test "$silent" = yes &&
   19890     ac_config_status_args="$ac_config_status_args --quiet"
   19891   exec 5>/dev/null
   19892   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   19893   exec 5>>config.log
   19894   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   19895   # would make configure fail if this is the last instruction.
   19896   $ac_cs_success || as_fn_exit 1
   19897 fi
   19898 
   19899 #
   19900 # CONFIG_SUBDIRS section.
   19901 #
   19902 if test "$no_recursion" != yes; then
   19903 
   19904   # Remove --cache-file, --srcdir, and --disable-option-checking arguments
   19905   # so they do not pile up.
   19906   ac_sub_configure_args=
   19907   ac_prev=
   19908   eval "set x $ac_configure_args"
   19909   shift
   19910   for ac_arg
   19911   do
   19912     if test -n "$ac_prev"; then
   19913       ac_prev=
   19914       continue
   19915     fi
   19916     case $ac_arg in
   19917     -cache-file | --cache-file | --cache-fil | --cache-fi \
   19918     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   19919       ac_prev=cache_file ;;
   19920     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   19921     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
   19922     | --c=*)
   19923       ;;
   19924     --config-cache | -C)
   19925       ;;
   19926     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   19927       ac_prev=srcdir ;;
   19928     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   19929       ;;
   19930     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   19931       ac_prev=prefix ;;
   19932     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   19933       ;;
   19934     --disable-option-checking)
   19935       ;;
   19936     *)
   19937       case $ac_arg in
   19938       *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19939       esac
   19940       as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
   19941     esac
   19942   done
   19943 
   19944   # Always prepend --prefix to ensure using the same prefix
   19945   # in subdir configurations.
   19946   ac_arg="--prefix=$prefix"
   19947   case $ac_arg in
   19948   *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19949   esac
   19950   ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
   19951 
   19952   # Pass --silent
   19953   if test "$silent" = yes; then
   19954     ac_sub_configure_args="--silent $ac_sub_configure_args"
   19955   fi
   19956 
   19957   # Always prepend --disable-option-checking to silence warnings, since
   19958   # different subdirs can have different --enable and --with options.
   19959   ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
   19960 
   19961   ac_popdir=`pwd`
   19962   for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
   19963 
   19964     # Do not complain, so a configure script can configure whichever
   19965     # parts of a large source tree are present.
   19966     test -d "$srcdir/$ac_dir" || continue
   19967 
   19968     ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
   19969     $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
   19970     $as_echo "$ac_msg" >&6
   19971     as_dir="$ac_dir"; as_fn_mkdir_p
   19972     ac_builddir=.
   19973 
   19974 case "$ac_dir" in
   19975 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19976 *)
   19977   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19978   # A ".." for each directory in $ac_dir_suffix.
   19979   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19980   case $ac_top_builddir_sub in
   19981   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19982   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19983   esac ;;
   19984 esac
   19985 ac_abs_top_builddir=$ac_pwd
   19986 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19987 # for backward compatibility:
   19988 ac_top_builddir=$ac_top_build_prefix
   19989 
   19990 case $srcdir in
   19991   .)  # We are building in place.
   19992     ac_srcdir=.
   19993     ac_top_srcdir=$ac_top_builddir_sub
   19994     ac_abs_top_srcdir=$ac_pwd ;;
   19995   [\\/]* | ?:[\\/]* )  # Absolute name.
   19996     ac_srcdir=$srcdir$ac_dir_suffix;
   19997     ac_top_srcdir=$srcdir
   19998     ac_abs_top_srcdir=$srcdir ;;
   19999   *) # Relative name.
   20000     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20001     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20002     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20003 esac
   20004 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20005 
   20006 
   20007     cd "$ac_dir"
   20008 
   20009     # Check for guested configure; otherwise get Cygnus style configure.
   20010     if test -f "$ac_srcdir/configure.gnu"; then
   20011       ac_sub_configure=$ac_srcdir/configure.gnu
   20012     elif test -f "$ac_srcdir/configure"; then
   20013       ac_sub_configure=$ac_srcdir/configure
   20014     elif test -f "$ac_srcdir/configure.in"; then
   20015       # This should be Cygnus configure.
   20016       ac_sub_configure=$ac_aux_dir/configure
   20017     else
   20018       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
   20019 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
   20020       ac_sub_configure=
   20021     fi
   20022 
   20023     # The recursion is here.
   20024     if test -n "$ac_sub_configure"; then
   20025       # Make the cache file name correct relative to the subdirectory.
   20026       case $cache_file in
   20027       [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
   20028       *) # Relative name.
   20029 	ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
   20030       esac
   20031 
   20032       { $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
   20033 $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
   20034       # The eval makes quoting arguments work.
   20035       eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
   20036 	   --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
   20037 	as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
   20038     fi
   20039 
   20040     cd "$ac_popdir"
   20041   done
   20042 fi
   20043 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20044   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20045 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20046 fi
   20047 
   20048 
   20049