Home | History | Annotate | Line # | Download | only in ld
configure revision 1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for ld 2.39.
      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='ld'
    589 PACKAGE_TARNAME='ld'
    590 PACKAGE_VERSION='2.39'
    591 PACKAGE_STRING='ld 2.39'
    592 PACKAGE_BUGREPORT=''
    593 PACKAGE_URL=''
    594 
    595 ac_unique_file="ldmain.c"
    596 # Factoring default headers for most tests.
    597 ac_includes_default="\
    598 #include <stdio.h>
    599 #ifdef HAVE_SYS_TYPES_H
    600 # include <sys/types.h>
    601 #endif
    602 #ifdef HAVE_SYS_STAT_H
    603 # include <sys/stat.h>
    604 #endif
    605 #ifdef STDC_HEADERS
    606 # include <stdlib.h>
    607 # include <stddef.h>
    608 #else
    609 # ifdef HAVE_STDLIB_H
    610 #  include <stdlib.h>
    611 # endif
    612 #endif
    613 #ifdef HAVE_STRING_H
    614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    615 #  include <memory.h>
    616 # endif
    617 # include <string.h>
    618 #endif
    619 #ifdef HAVE_STRINGS_H
    620 # include <strings.h>
    621 #endif
    622 #ifdef HAVE_INTTYPES_H
    623 # include <inttypes.h>
    624 #endif
    625 #ifdef HAVE_STDINT_H
    626 # include <stdint.h>
    627 #endif
    628 #ifdef HAVE_UNISTD_H
    629 # include <unistd.h>
    630 #endif"
    631 
    632 ac_header_list=
    633 ac_subst_vars='am__EXEEXT_FALSE
    634 am__EXEEXT_TRUE
    635 LTLIBOBJS
    636 LIBOBJS
    637 TESTCTFLIB
    638 TESTBFDLIB
    639 EMULATION_LIBPATH
    640 LIB_PATH
    641 EMUL_EXTRA_OFILES
    642 EMULATION_OFILES
    643 TDIRS
    644 EMUL
    645 elf_plt_unwind_list_options
    646 elf_shlib_list_options
    647 elf_list_options
    648 STRINGIFY
    649 zlibinc
    650 zlibdir
    651 NATIVE_LIB_DIRS
    652 HDEFINES
    653 do_compare
    654 GENINSRC_NEVER_FALSE
    655 GENINSRC_NEVER_TRUE
    656 LEXLIB
    657 LEX_OUTPUT_ROOT
    658 LEX
    659 YFLAGS
    660 YACC
    661 MSGMERGE
    662 MSGFMT
    663 MKINSTALLDIRS
    664 CATOBJEXT
    665 GENCAT
    666 INSTOBJEXT
    667 DATADIRNAME
    668 CATALOGS
    669 POSUB
    670 GMSGFMT
    671 XGETTEXT
    672 INCINTL
    673 LIBINTL_DEP
    674 LIBINTL
    675 USE_NLS
    676 WARN_WRITE_STRINGS
    677 NO_WERROR
    678 WARN_CFLAGS_FOR_BUILD
    679 WARN_CFLAGS
    680 JANSSON_LIBS
    681 JANSSON_CFLAGS
    682 PKG_CONFIG_LIBDIR
    683 PKG_CONFIG_PATH
    684 PKG_CONFIG
    685 enable_libctf
    686 ENABLE_LIBCTF_FALSE
    687 ENABLE_LIBCTF_TRUE
    688 enable_initfini_array
    689 installed_linker
    690 install_as_default
    691 TARGET_SYSTEM_ROOT_DEFINE
    692 TARGET_SYSTEM_ROOT
    693 use_sysroot
    694 ENABLE_BFD_64_BIT_FALSE
    695 ENABLE_BFD_64_BIT_TRUE
    696 LARGEFILE_CPPFLAGS
    697 CXXCPP
    698 OTOOL64
    699 OTOOL
    700 LIPO
    701 NMEDIT
    702 DSYMUTIL
    703 RANLIB
    704 AR
    705 OBJDUMP
    706 LN_S
    707 NM
    708 ac_ct_DUMPBIN
    709 DUMPBIN
    710 LD
    711 FGREP
    712 SED
    713 LIBTOOL
    714 EGREP
    715 CPP
    716 GREP
    717 am__fastdepCXX_FALSE
    718 am__fastdepCXX_TRUE
    719 CXXDEPMODE
    720 ac_ct_CXX
    721 CXXFLAGS
    722 CXX
    723 am__fastdepCC_FALSE
    724 am__fastdepCC_TRUE
    725 CCDEPMODE
    726 am__nodep
    727 AMDEPBACKSLASH
    728 AMDEP_FALSE
    729 AMDEP_TRUE
    730 am__quote
    731 am__include
    732 DEPDIR
    733 OBJEXT
    734 EXEEXT
    735 ac_ct_CC
    736 CPPFLAGS
    737 LDFLAGS
    738 CFLAGS
    739 CC
    740 MAINT
    741 MAINTAINER_MODE_FALSE
    742 MAINTAINER_MODE_TRUE
    743 AM_BACKSLASH
    744 AM_DEFAULT_VERBOSITY
    745 AM_DEFAULT_V
    746 AM_V
    747 am__untar
    748 am__tar
    749 AMTAR
    750 am__leading_dot
    751 SET_MAKE
    752 AWK
    753 mkdir_p
    754 MKDIR_P
    755 INSTALL_STRIP_PROGRAM
    756 STRIP
    757 install_sh
    758 MAKEINFO
    759 AUTOHEADER
    760 AUTOMAKE
    761 AUTOCONF
    762 ACLOCAL
    763 VERSION
    764 PACKAGE
    765 CYGPATH_W
    766 am__isrc
    767 INSTALL_DATA
    768 INSTALL_SCRIPT
    769 INSTALL_PROGRAM
    770 target_os
    771 target_vendor
    772 target_cpu
    773 target
    774 host_os
    775 host_vendor
    776 host_cpu
    777 host
    778 build_os
    779 build_vendor
    780 build_cpu
    781 build
    782 target_alias
    783 host_alias
    784 build_alias
    785 LIBS
    786 ECHO_T
    787 ECHO_N
    788 ECHO_C
    789 DEFS
    790 mandir
    791 localedir
    792 libdir
    793 psdir
    794 pdfdir
    795 dvidir
    796 htmldir
    797 infodir
    798 docdir
    799 oldincludedir
    800 includedir
    801 localstatedir
    802 sharedstatedir
    803 sysconfdir
    804 datadir
    805 datarootdir
    806 libexecdir
    807 sbindir
    808 bindir
    809 program_transform_name
    810 prefix
    811 exec_prefix
    812 PACKAGE_URL
    813 PACKAGE_BUGREPORT
    814 PACKAGE_STRING
    815 PACKAGE_VERSION
    816 PACKAGE_TARNAME
    817 PACKAGE_NAME
    818 PATH_SEPARATOR
    819 SHELL'
    820 ac_subst_files=''
    821 ac_user_opts='
    822 enable_option_checking
    823 enable_silent_rules
    824 enable_maintainer_mode
    825 enable_dependency_tracking
    826 enable_shared
    827 enable_static
    828 with_pic
    829 enable_fast_install
    830 with_gnu_ld
    831 enable_libtool_lock
    832 enable_plugins
    833 enable_largefile
    834 enable_checking
    835 with_lib_path
    836 enable_targets
    837 enable_64_bit_bfd
    838 with_sysroot
    839 enable_gold
    840 enable_got
    841 enable_compressed_debug_sections
    842 enable_new_dtags
    843 enable_relro
    844 enable_textrel_check
    845 enable_separate_code
    846 enable_warn_execstack
    847 enable_warn_rwx_segments
    848 enable_default_execstack
    849 enable_error_handling_script
    850 enable_default_hash_style
    851 enable_initfini_array
    852 enable_libctf
    853 enable_jansson
    854 enable_werror
    855 enable_build_warnings
    856 enable_nls
    857 with_system_zlib
    858 '
    859       ac_precious_vars='build_alias
    860 host_alias
    861 target_alias
    862 CC
    863 CFLAGS
    864 LDFLAGS
    865 LIBS
    866 CPPFLAGS
    867 CXX
    868 CXXFLAGS
    869 CCC
    870 CPP
    871 CXXCPP
    872 PKG_CONFIG
    873 PKG_CONFIG_PATH
    874 PKG_CONFIG_LIBDIR
    875 JANSSON_CFLAGS
    876 JANSSON_LIBS
    877 YACC
    878 YFLAGS'
    879 
    880 
    881 # Initialize some variables set by options.
    882 ac_init_help=
    883 ac_init_version=false
    884 ac_unrecognized_opts=
    885 ac_unrecognized_sep=
    886 # The variables have the same names as the options, with
    887 # dashes changed to underlines.
    888 cache_file=/dev/null
    889 exec_prefix=NONE
    890 no_create=
    891 no_recursion=
    892 prefix=NONE
    893 program_prefix=NONE
    894 program_suffix=NONE
    895 program_transform_name=s,x,x,
    896 silent=
    897 site=
    898 srcdir=
    899 verbose=
    900 x_includes=NONE
    901 x_libraries=NONE
    902 
    903 # Installation directory options.
    904 # These are left unexpanded so users can "make install exec_prefix=/foo"
    905 # and all the variables that are supposed to be based on exec_prefix
    906 # by default will actually change.
    907 # Use braces instead of parens because sh, perl, etc. also accept them.
    908 # (The list follows the same order as the GNU Coding Standards.)
    909 bindir='${exec_prefix}/bin'
    910 sbindir='${exec_prefix}/sbin'
    911 libexecdir='${exec_prefix}/libexec'
    912 datarootdir='${prefix}/share'
    913 datadir='${datarootdir}'
    914 sysconfdir='${prefix}/etc'
    915 sharedstatedir='${prefix}/com'
    916 localstatedir='${prefix}/var'
    917 includedir='${prefix}/include'
    918 oldincludedir='/usr/include'
    919 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    920 infodir='${datarootdir}/info'
    921 htmldir='${docdir}'
    922 dvidir='${docdir}'
    923 pdfdir='${docdir}'
    924 psdir='${docdir}'
    925 libdir='${exec_prefix}/lib'
    926 localedir='${datarootdir}/locale'
    927 mandir='${datarootdir}/man'
    928 
    929 ac_prev=
    930 ac_dashdash=
    931 for ac_option
    932 do
    933   # If the previous option needs an argument, assign it.
    934   if test -n "$ac_prev"; then
    935     eval $ac_prev=\$ac_option
    936     ac_prev=
    937     continue
    938   fi
    939 
    940   case $ac_option in
    941   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    942   *=)   ac_optarg= ;;
    943   *)    ac_optarg=yes ;;
    944   esac
    945 
    946   # Accept the important Cygnus configure options, so we can diagnose typos.
    947 
    948   case $ac_dashdash$ac_option in
    949   --)
    950     ac_dashdash=yes ;;
    951 
    952   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    953     ac_prev=bindir ;;
    954   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    955     bindir=$ac_optarg ;;
    956 
    957   -build | --build | --buil | --bui | --bu)
    958     ac_prev=build_alias ;;
    959   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    960     build_alias=$ac_optarg ;;
    961 
    962   -cache-file | --cache-file | --cache-fil | --cache-fi \
    963   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    964     ac_prev=cache_file ;;
    965   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    966   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    967     cache_file=$ac_optarg ;;
    968 
    969   --config-cache | -C)
    970     cache_file=config.cache ;;
    971 
    972   -datadir | --datadir | --datadi | --datad)
    973     ac_prev=datadir ;;
    974   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    975     datadir=$ac_optarg ;;
    976 
    977   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    978   | --dataroo | --dataro | --datar)
    979     ac_prev=datarootdir ;;
    980   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    981   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    982     datarootdir=$ac_optarg ;;
    983 
    984   -disable-* | --disable-*)
    985     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    986     # Reject names that are not valid shell variable names.
    987     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    988       as_fn_error $? "invalid feature name: $ac_useropt"
    989     ac_useropt_orig=$ac_useropt
    990     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    991     case $ac_user_opts in
    992       *"
    993 "enable_$ac_useropt"
    994 "*) ;;
    995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    996 	 ac_unrecognized_sep=', ';;
    997     esac
    998     eval enable_$ac_useropt=no ;;
    999 
   1000   -docdir | --docdir | --docdi | --doc | --do)
   1001     ac_prev=docdir ;;
   1002   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1003     docdir=$ac_optarg ;;
   1004 
   1005   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1006     ac_prev=dvidir ;;
   1007   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1008     dvidir=$ac_optarg ;;
   1009 
   1010   -enable-* | --enable-*)
   1011     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1012     # Reject names that are not valid shell variable names.
   1013     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1014       as_fn_error $? "invalid feature name: $ac_useropt"
   1015     ac_useropt_orig=$ac_useropt
   1016     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1017     case $ac_user_opts in
   1018       *"
   1019 "enable_$ac_useropt"
   1020 "*) ;;
   1021       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1022 	 ac_unrecognized_sep=', ';;
   1023     esac
   1024     eval enable_$ac_useropt=\$ac_optarg ;;
   1025 
   1026   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1027   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1028   | --exec | --exe | --ex)
   1029     ac_prev=exec_prefix ;;
   1030   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1031   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1032   | --exec=* | --exe=* | --ex=*)
   1033     exec_prefix=$ac_optarg ;;
   1034 
   1035   -gas | --gas | --ga | --g)
   1036     # Obsolete; use --with-gas.
   1037     with_gas=yes ;;
   1038 
   1039   -help | --help | --hel | --he | -h)
   1040     ac_init_help=long ;;
   1041   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1042     ac_init_help=recursive ;;
   1043   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1044     ac_init_help=short ;;
   1045 
   1046   -host | --host | --hos | --ho)
   1047     ac_prev=host_alias ;;
   1048   -host=* | --host=* | --hos=* | --ho=*)
   1049     host_alias=$ac_optarg ;;
   1050 
   1051   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1052     ac_prev=htmldir ;;
   1053   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1054   | --ht=*)
   1055     htmldir=$ac_optarg ;;
   1056 
   1057   -includedir | --includedir | --includedi | --included | --include \
   1058   | --includ | --inclu | --incl | --inc)
   1059     ac_prev=includedir ;;
   1060   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1061   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1062     includedir=$ac_optarg ;;
   1063 
   1064   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1065     ac_prev=infodir ;;
   1066   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1067     infodir=$ac_optarg ;;
   1068 
   1069   -libdir | --libdir | --libdi | --libd)
   1070     ac_prev=libdir ;;
   1071   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1072     libdir=$ac_optarg ;;
   1073 
   1074   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1075   | --libexe | --libex | --libe)
   1076     ac_prev=libexecdir ;;
   1077   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1078   | --libexe=* | --libex=* | --libe=*)
   1079     libexecdir=$ac_optarg ;;
   1080 
   1081   -localedir | --localedir | --localedi | --localed | --locale)
   1082     ac_prev=localedir ;;
   1083   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1084     localedir=$ac_optarg ;;
   1085 
   1086   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1087   | --localstate | --localstat | --localsta | --localst | --locals)
   1088     ac_prev=localstatedir ;;
   1089   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1090   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1091     localstatedir=$ac_optarg ;;
   1092 
   1093   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1094     ac_prev=mandir ;;
   1095   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1096     mandir=$ac_optarg ;;
   1097 
   1098   -nfp | --nfp | --nf)
   1099     # Obsolete; use --without-fp.
   1100     with_fp=no ;;
   1101 
   1102   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1103   | --no-cr | --no-c | -n)
   1104     no_create=yes ;;
   1105 
   1106   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1107   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1108     no_recursion=yes ;;
   1109 
   1110   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1111   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1112   | --oldin | --oldi | --old | --ol | --o)
   1113     ac_prev=oldincludedir ;;
   1114   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1115   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1116   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1117     oldincludedir=$ac_optarg ;;
   1118 
   1119   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1120     ac_prev=prefix ;;
   1121   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1122     prefix=$ac_optarg ;;
   1123 
   1124   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1125   | --program-pre | --program-pr | --program-p)
   1126     ac_prev=program_prefix ;;
   1127   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1128   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1129     program_prefix=$ac_optarg ;;
   1130 
   1131   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1132   | --program-suf | --program-su | --program-s)
   1133     ac_prev=program_suffix ;;
   1134   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1135   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1136     program_suffix=$ac_optarg ;;
   1137 
   1138   -program-transform-name | --program-transform-name \
   1139   | --program-transform-nam | --program-transform-na \
   1140   | --program-transform-n | --program-transform- \
   1141   | --program-transform | --program-transfor \
   1142   | --program-transfo | --program-transf \
   1143   | --program-trans | --program-tran \
   1144   | --progr-tra | --program-tr | --program-t)
   1145     ac_prev=program_transform_name ;;
   1146   -program-transform-name=* | --program-transform-name=* \
   1147   | --program-transform-nam=* | --program-transform-na=* \
   1148   | --program-transform-n=* | --program-transform-=* \
   1149   | --program-transform=* | --program-transfor=* \
   1150   | --program-transfo=* | --program-transf=* \
   1151   | --program-trans=* | --program-tran=* \
   1152   | --progr-tra=* | --program-tr=* | --program-t=*)
   1153     program_transform_name=$ac_optarg ;;
   1154 
   1155   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1156     ac_prev=pdfdir ;;
   1157   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1158     pdfdir=$ac_optarg ;;
   1159 
   1160   -psdir | --psdir | --psdi | --psd | --ps)
   1161     ac_prev=psdir ;;
   1162   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1163     psdir=$ac_optarg ;;
   1164 
   1165   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1166   | -silent | --silent | --silen | --sile | --sil)
   1167     silent=yes ;;
   1168 
   1169   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1170     ac_prev=sbindir ;;
   1171   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1172   | --sbi=* | --sb=*)
   1173     sbindir=$ac_optarg ;;
   1174 
   1175   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1176   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1177   | --sharedst | --shareds | --shared | --share | --shar \
   1178   | --sha | --sh)
   1179     ac_prev=sharedstatedir ;;
   1180   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1181   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1182   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1183   | --sha=* | --sh=*)
   1184     sharedstatedir=$ac_optarg ;;
   1185 
   1186   -site | --site | --sit)
   1187     ac_prev=site ;;
   1188   -site=* | --site=* | --sit=*)
   1189     site=$ac_optarg ;;
   1190 
   1191   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1192     ac_prev=srcdir ;;
   1193   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1194     srcdir=$ac_optarg ;;
   1195 
   1196   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1197   | --syscon | --sysco | --sysc | --sys | --sy)
   1198     ac_prev=sysconfdir ;;
   1199   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1200   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1201     sysconfdir=$ac_optarg ;;
   1202 
   1203   -target | --target | --targe | --targ | --tar | --ta | --t)
   1204     ac_prev=target_alias ;;
   1205   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1206     target_alias=$ac_optarg ;;
   1207 
   1208   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1209     verbose=yes ;;
   1210 
   1211   -version | --version | --versio | --versi | --vers | -V)
   1212     ac_init_version=: ;;
   1213 
   1214   -with-* | --with-*)
   1215     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1216     # Reject names that are not valid shell variable names.
   1217     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1218       as_fn_error $? "invalid package name: $ac_useropt"
   1219     ac_useropt_orig=$ac_useropt
   1220     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1221     case $ac_user_opts in
   1222       *"
   1223 "with_$ac_useropt"
   1224 "*) ;;
   1225       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1226 	 ac_unrecognized_sep=', ';;
   1227     esac
   1228     eval with_$ac_useropt=\$ac_optarg ;;
   1229 
   1230   -without-* | --without-*)
   1231     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1232     # Reject names that are not valid shell variable names.
   1233     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1234       as_fn_error $? "invalid package name: $ac_useropt"
   1235     ac_useropt_orig=$ac_useropt
   1236     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1237     case $ac_user_opts in
   1238       *"
   1239 "with_$ac_useropt"
   1240 "*) ;;
   1241       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1242 	 ac_unrecognized_sep=', ';;
   1243     esac
   1244     eval with_$ac_useropt=no ;;
   1245 
   1246   --x)
   1247     # Obsolete; use --with-x.
   1248     with_x=yes ;;
   1249 
   1250   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1251   | --x-incl | --x-inc | --x-in | --x-i)
   1252     ac_prev=x_includes ;;
   1253   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1254   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1255     x_includes=$ac_optarg ;;
   1256 
   1257   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1258   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1259     ac_prev=x_libraries ;;
   1260   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1261   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1262     x_libraries=$ac_optarg ;;
   1263 
   1264   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1265 Try \`$0 --help' for more information"
   1266     ;;
   1267 
   1268   *=*)
   1269     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1270     # Reject names that are not valid shell variable names.
   1271     case $ac_envvar in #(
   1272       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1273       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1274     esac
   1275     eval $ac_envvar=\$ac_optarg
   1276     export $ac_envvar ;;
   1277 
   1278   *)
   1279     # FIXME: should be removed in autoconf 3.0.
   1280     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1281     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1282       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1283     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1284     ;;
   1285 
   1286   esac
   1287 done
   1288 
   1289 if test -n "$ac_prev"; then
   1290   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1291   as_fn_error $? "missing argument to $ac_option"
   1292 fi
   1293 
   1294 if test -n "$ac_unrecognized_opts"; then
   1295   case $enable_option_checking in
   1296     no) ;;
   1297     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1298     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1299   esac
   1300 fi
   1301 
   1302 # Check all directory arguments for consistency.
   1303 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1304 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1305 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1306 		libdir localedir mandir
   1307 do
   1308   eval ac_val=\$$ac_var
   1309   # Remove trailing slashes.
   1310   case $ac_val in
   1311     */ )
   1312       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1313       eval $ac_var=\$ac_val;;
   1314   esac
   1315   # Be sure to have absolute directory names.
   1316   case $ac_val in
   1317     [\\/$]* | ?:[\\/]* )  continue;;
   1318     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1319   esac
   1320   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1321 done
   1322 
   1323 # There might be people who depend on the old broken behavior: `$host'
   1324 # used to hold the argument of --host etc.
   1325 # FIXME: To remove some day.
   1326 build=$build_alias
   1327 host=$host_alias
   1328 target=$target_alias
   1329 
   1330 # FIXME: To remove some day.
   1331 if test "x$host_alias" != x; then
   1332   if test "x$build_alias" = x; then
   1333     cross_compiling=maybe
   1334   elif test "x$build_alias" != "x$host_alias"; then
   1335     cross_compiling=yes
   1336   fi
   1337 fi
   1338 
   1339 ac_tool_prefix=
   1340 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1341 
   1342 test "$silent" = yes && exec 6>/dev/null
   1343 
   1344 
   1345 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1346 ac_ls_di=`ls -di .` &&
   1347 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1348   as_fn_error $? "working directory cannot be determined"
   1349 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1350   as_fn_error $? "pwd does not report name of working directory"
   1351 
   1352 
   1353 # Find the source files, if location was not specified.
   1354 if test -z "$srcdir"; then
   1355   ac_srcdir_defaulted=yes
   1356   # Try the directory containing this script, then the parent directory.
   1357   ac_confdir=`$as_dirname -- "$as_myself" ||
   1358 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1359 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1360 	 X"$as_myself" : 'X\(//\)$' \| \
   1361 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1362 $as_echo X"$as_myself" |
   1363     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1364 	    s//\1/
   1365 	    q
   1366 	  }
   1367 	  /^X\(\/\/\)[^/].*/{
   1368 	    s//\1/
   1369 	    q
   1370 	  }
   1371 	  /^X\(\/\/\)$/{
   1372 	    s//\1/
   1373 	    q
   1374 	  }
   1375 	  /^X\(\/\).*/{
   1376 	    s//\1/
   1377 	    q
   1378 	  }
   1379 	  s/.*/./; q'`
   1380   srcdir=$ac_confdir
   1381   if test ! -r "$srcdir/$ac_unique_file"; then
   1382     srcdir=..
   1383   fi
   1384 else
   1385   ac_srcdir_defaulted=no
   1386 fi
   1387 if test ! -r "$srcdir/$ac_unique_file"; then
   1388   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1389   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1390 fi
   1391 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1392 ac_abs_confdir=`(
   1393 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1394 	pwd)`
   1395 # When building in place, set srcdir=.
   1396 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1397   srcdir=.
   1398 fi
   1399 # Remove unnecessary trailing slashes from srcdir.
   1400 # Double slashes in file names in object file debugging info
   1401 # mess up M-x gdb in Emacs.
   1402 case $srcdir in
   1403 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1404 esac
   1405 for ac_var in $ac_precious_vars; do
   1406   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1407   eval ac_env_${ac_var}_value=\$${ac_var}
   1408   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1409   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1410 done
   1411 
   1412 #
   1413 # Report the --help message.
   1414 #
   1415 if test "$ac_init_help" = "long"; then
   1416   # Omit some internal or obsolete options to make the list less imposing.
   1417   # This message is too long to be a string in the A/UX 3.1 sh.
   1418   cat <<_ACEOF
   1419 \`configure' configures ld 2.39 to adapt to many kinds of systems.
   1420 
   1421 Usage: $0 [OPTION]... [VAR=VALUE]...
   1422 
   1423 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1424 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1425 
   1426 Defaults for the options are specified in brackets.
   1427 
   1428 Configuration:
   1429   -h, --help              display this help and exit
   1430       --help=short        display options specific to this package
   1431       --help=recursive    display the short help of all the included packages
   1432   -V, --version           display version information and exit
   1433   -q, --quiet, --silent   do not print \`checking ...' messages
   1434       --cache-file=FILE   cache test results in FILE [disabled]
   1435   -C, --config-cache      alias for \`--cache-file=config.cache'
   1436   -n, --no-create         do not create output files
   1437       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1438 
   1439 Installation directories:
   1440   --prefix=PREFIX         install architecture-independent files in PREFIX
   1441                           [$ac_default_prefix]
   1442   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1443                           [PREFIX]
   1444 
   1445 By default, \`make install' will install all the files in
   1446 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1447 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1448 for instance \`--prefix=\$HOME'.
   1449 
   1450 For better control, use the options below.
   1451 
   1452 Fine tuning of the installation directories:
   1453   --bindir=DIR            user executables [EPREFIX/bin]
   1454   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1455   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1456   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1457   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1458   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1459   --libdir=DIR            object code libraries [EPREFIX/lib]
   1460   --includedir=DIR        C header files [PREFIX/include]
   1461   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1462   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1463   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1464   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1465   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1466   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1467   --docdir=DIR            documentation root [DATAROOTDIR/doc/ld]
   1468   --htmldir=DIR           html documentation [DOCDIR]
   1469   --dvidir=DIR            dvi documentation [DOCDIR]
   1470   --pdfdir=DIR            pdf documentation [DOCDIR]
   1471   --psdir=DIR             ps documentation [DOCDIR]
   1472 _ACEOF
   1473 
   1474   cat <<\_ACEOF
   1475 
   1476 Program names:
   1477   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1478   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1479   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1480 
   1481 System types:
   1482   --build=BUILD     configure for building on BUILD [guessed]
   1483   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1484   --target=TARGET   configure for building compilers for TARGET [HOST]
   1485 _ACEOF
   1486 fi
   1487 
   1488 if test -n "$ac_init_help"; then
   1489   case $ac_init_help in
   1490      short | recursive ) echo "Configuration of ld 2.39:";;
   1491    esac
   1492   cat <<\_ACEOF
   1493 
   1494 Optional Features:
   1495   --disable-option-checking  ignore unrecognized --enable/--with options
   1496   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1497   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1498   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1499   --disable-silent-rules  verbose build output (undo: "make V=0")
   1500   --enable-maintainer-mode
   1501                           enable make rules and dependencies not useful (and
   1502                           sometimes confusing) to the casual installer
   1503   --enable-dependency-tracking
   1504                           do not reject slow dependency extractors
   1505   --disable-dependency-tracking
   1506                           speeds up one-time build
   1507   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1508   --enable-static[=PKGS]  build static libraries [default=yes]
   1509   --enable-fast-install[=PKGS]
   1510                           optimize for fast installation [default=yes]
   1511   --disable-libtool-lock  avoid locking (might break parallel builds)
   1512   --enable-plugins        Enable support for plugins
   1513   --disable-largefile     omit support for large files
   1514   --enable-checking       enable run-time checks
   1515   --enable-targets        alternative target configurations
   1516   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   1517   --enable-gold[=ARG]     build gold [ARG={default,yes,no}]
   1518   --enable-got=<type>     GOT handling scheme (target, single, negative,
   1519                           multigot)
   1520   --enable-compressed-debug-sections={all,ld,none}
   1521                           compress debug sections by default]
   1522   --enable-new-dtags      set DT_RUNPATH instead of DT_RPATH by default]
   1523   --enable-relro          enable -z relro in ELF linker by default
   1524   --enable-textrel-check=[yes|no|warning|error]
   1525                           enable DT_TEXTREL check in ELF linker
   1526   --enable-separate-code  enable -z separate-code in ELF linker by default
   1527   --enable-warn-execstack enable warnings when creating an executable stack
   1528   --enable-warn-rwx-segments
   1529                           enable warnings when creating segements with RWX
   1530                           permissions
   1531   --enable-default-execstack
   1532                           create an executable stack if an input file is
   1533                           missing a .note.GNU-stack section
   1534   --enable-error-handling-script
   1535                           enable/disable support for the
   1536                           --error-handling-script option
   1537   --enable-default-hash-style={sysv,gnu,both}
   1538                           use this default hash style
   1539   --disable-initfini-array do not use .init_array/.fini_array sections
   1540   --enable-libctf         Handle .ctf type-info sections [default=yes]
   1541   --enable-jansson        enable jansson [default=no]
   1542   --enable-werror         treat compile warnings as errors
   1543   --enable-build-warnings enable build-time compiler warnings
   1544   --disable-nls           do not use Native Language Support
   1545 
   1546 Optional Packages:
   1547   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1548   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1549   --with-pic              try to use only PIC/non-PIC objects [default=use
   1550                           both]
   1551   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1552   --with-lib-path=dir1:dir2...  set default LIB_PATH
   1553   --with-sysroot=DIR Search for usr/lib et al within DIR.
   1554   --with-system-zlib      use installed libz
   1555 
   1556 Some influential environment variables:
   1557   CC          C compiler command
   1558   CFLAGS      C compiler flags
   1559   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1560               nonstandard directory <lib dir>
   1561   LIBS        libraries to pass to the linker, e.g. -l<library>
   1562   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1563               you have headers in a nonstandard directory <include dir>
   1564   CXX         C++ compiler command
   1565   CXXFLAGS    C++ compiler flags
   1566   CPP         C preprocessor
   1567   CXXCPP      C++ preprocessor
   1568   PKG_CONFIG  path to pkg-config utility
   1569   PKG_CONFIG_PATH
   1570               directories to add to pkg-config's search path
   1571   PKG_CONFIG_LIBDIR
   1572               path overriding pkg-config's built-in search path
   1573   JANSSON_CFLAGS
   1574               C compiler flags for JANSSON, overriding pkg-config
   1575   JANSSON_LIBS
   1576               linker flags for JANSSON, overriding pkg-config
   1577   YACC        The `Yet Another Compiler Compiler' implementation to use.
   1578               Defaults to the first program found out of: `bison -y', `byacc',
   1579               `yacc'.
   1580   YFLAGS      The list of arguments that will be passed by default to $YACC.
   1581               This script will default YFLAGS to the empty string to avoid a
   1582               default value of `-d' given by some make applications.
   1583 
   1584 Use these variables to override the choices made by `configure' or to help
   1585 it to find libraries and programs with nonstandard names/locations.
   1586 
   1587 Report bugs to the package provider.
   1588 _ACEOF
   1589 ac_status=$?
   1590 fi
   1591 
   1592 if test "$ac_init_help" = "recursive"; then
   1593   # If there are subdirs, report their specific --help.
   1594   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1595     test -d "$ac_dir" ||
   1596       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1597       continue
   1598     ac_builddir=.
   1599 
   1600 case "$ac_dir" in
   1601 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1602 *)
   1603   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1604   # A ".." for each directory in $ac_dir_suffix.
   1605   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1606   case $ac_top_builddir_sub in
   1607   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1608   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1609   esac ;;
   1610 esac
   1611 ac_abs_top_builddir=$ac_pwd
   1612 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1613 # for backward compatibility:
   1614 ac_top_builddir=$ac_top_build_prefix
   1615 
   1616 case $srcdir in
   1617   .)  # We are building in place.
   1618     ac_srcdir=.
   1619     ac_top_srcdir=$ac_top_builddir_sub
   1620     ac_abs_top_srcdir=$ac_pwd ;;
   1621   [\\/]* | ?:[\\/]* )  # Absolute name.
   1622     ac_srcdir=$srcdir$ac_dir_suffix;
   1623     ac_top_srcdir=$srcdir
   1624     ac_abs_top_srcdir=$srcdir ;;
   1625   *) # Relative name.
   1626     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1627     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1628     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1629 esac
   1630 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1631 
   1632     cd "$ac_dir" || { ac_status=$?; continue; }
   1633     # Check for guested configure.
   1634     if test -f "$ac_srcdir/configure.gnu"; then
   1635       echo &&
   1636       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1637     elif test -f "$ac_srcdir/configure"; then
   1638       echo &&
   1639       $SHELL "$ac_srcdir/configure" --help=recursive
   1640     else
   1641       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1642     fi || ac_status=$?
   1643     cd "$ac_pwd" || { ac_status=$?; break; }
   1644   done
   1645 fi
   1646 
   1647 test -n "$ac_init_help" && exit $ac_status
   1648 if $ac_init_version; then
   1649   cat <<\_ACEOF
   1650 ld configure 2.39
   1651 generated by GNU Autoconf 2.69
   1652 
   1653 Copyright (C) 2012 Free Software Foundation, Inc.
   1654 This configure script is free software; the Free Software Foundation
   1655 gives unlimited permission to copy, distribute and modify it.
   1656 _ACEOF
   1657   exit
   1658 fi
   1659 
   1660 ## ------------------------ ##
   1661 ## Autoconf initialization. ##
   1662 ## ------------------------ ##
   1663 
   1664 # ac_fn_c_try_compile LINENO
   1665 # --------------------------
   1666 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1667 ac_fn_c_try_compile ()
   1668 {
   1669   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1670   rm -f conftest.$ac_objext
   1671   if { { ac_try="$ac_compile"
   1672 case "(($ac_try" in
   1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1674   *) ac_try_echo=$ac_try;;
   1675 esac
   1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1677 $as_echo "$ac_try_echo"; } >&5
   1678   (eval "$ac_compile") 2>conftest.err
   1679   ac_status=$?
   1680   if test -s conftest.err; then
   1681     grep -v '^ *+' conftest.err >conftest.er1
   1682     cat conftest.er1 >&5
   1683     mv -f conftest.er1 conftest.err
   1684   fi
   1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; } && {
   1687 	 test -z "$ac_c_werror_flag" ||
   1688 	 test ! -s conftest.err
   1689        } && test -s conftest.$ac_objext; then :
   1690   ac_retval=0
   1691 else
   1692   $as_echo "$as_me: failed program was:" >&5
   1693 sed 's/^/| /' conftest.$ac_ext >&5
   1694 
   1695 	ac_retval=1
   1696 fi
   1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1698   as_fn_set_status $ac_retval
   1699 
   1700 } # ac_fn_c_try_compile
   1701 
   1702 # ac_fn_cxx_try_compile LINENO
   1703 # ----------------------------
   1704 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1705 ac_fn_cxx_try_compile ()
   1706 {
   1707   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1708   rm -f conftest.$ac_objext
   1709   if { { ac_try="$ac_compile"
   1710 case "(($ac_try" in
   1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1712   *) ac_try_echo=$ac_try;;
   1713 esac
   1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1715 $as_echo "$ac_try_echo"; } >&5
   1716   (eval "$ac_compile") 2>conftest.err
   1717   ac_status=$?
   1718   if test -s conftest.err; then
   1719     grep -v '^ *+' conftest.err >conftest.er1
   1720     cat conftest.er1 >&5
   1721     mv -f conftest.er1 conftest.err
   1722   fi
   1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1724   test $ac_status = 0; } && {
   1725 	 test -z "$ac_cxx_werror_flag" ||
   1726 	 test ! -s conftest.err
   1727        } && test -s conftest.$ac_objext; then :
   1728   ac_retval=0
   1729 else
   1730   $as_echo "$as_me: failed program was:" >&5
   1731 sed 's/^/| /' conftest.$ac_ext >&5
   1732 
   1733 	ac_retval=1
   1734 fi
   1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1736   as_fn_set_status $ac_retval
   1737 
   1738 } # ac_fn_cxx_try_compile
   1739 
   1740 # ac_fn_c_try_cpp LINENO
   1741 # ----------------------
   1742 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1743 ac_fn_c_try_cpp ()
   1744 {
   1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1746   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1747 case "(($ac_try" in
   1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1749   *) ac_try_echo=$ac_try;;
   1750 esac
   1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1752 $as_echo "$ac_try_echo"; } >&5
   1753   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1754   ac_status=$?
   1755   if test -s conftest.err; then
   1756     grep -v '^ *+' conftest.err >conftest.er1
   1757     cat conftest.er1 >&5
   1758     mv -f conftest.er1 conftest.err
   1759   fi
   1760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1761   test $ac_status = 0; } > conftest.i && {
   1762 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1763 	 test ! -s conftest.err
   1764        }; then :
   1765   ac_retval=0
   1766 else
   1767   $as_echo "$as_me: failed program was:" >&5
   1768 sed 's/^/| /' conftest.$ac_ext >&5
   1769 
   1770     ac_retval=1
   1771 fi
   1772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1773   as_fn_set_status $ac_retval
   1774 
   1775 } # ac_fn_c_try_cpp
   1776 
   1777 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1778 # -------------------------------------------------------
   1779 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1780 # the include files in INCLUDES and setting the cache variable VAR
   1781 # accordingly.
   1782 ac_fn_c_check_header_mongrel ()
   1783 {
   1784   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1785   if eval \${$3+:} false; then :
   1786   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1787 $as_echo_n "checking for $2... " >&6; }
   1788 if eval \${$3+:} false; then :
   1789   $as_echo_n "(cached) " >&6
   1790 fi
   1791 eval ac_res=\$$3
   1792 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1793 $as_echo "$ac_res" >&6; }
   1794 else
   1795   # Is the header compilable?
   1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1797 $as_echo_n "checking $2 usability... " >&6; }
   1798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1799 /* end confdefs.h.  */
   1800 $4
   1801 #include <$2>
   1802 _ACEOF
   1803 if ac_fn_c_try_compile "$LINENO"; then :
   1804   ac_header_compiler=yes
   1805 else
   1806   ac_header_compiler=no
   1807 fi
   1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1810 $as_echo "$ac_header_compiler" >&6; }
   1811 
   1812 # Is the header present?
   1813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1814 $as_echo_n "checking $2 presence... " >&6; }
   1815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1816 /* end confdefs.h.  */
   1817 #include <$2>
   1818 _ACEOF
   1819 if ac_fn_c_try_cpp "$LINENO"; then :
   1820   ac_header_preproc=yes
   1821 else
   1822   ac_header_preproc=no
   1823 fi
   1824 rm -f conftest.err conftest.i conftest.$ac_ext
   1825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1826 $as_echo "$ac_header_preproc" >&6; }
   1827 
   1828 # So?  What about this header?
   1829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1830   yes:no: )
   1831     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1832 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1833     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1834 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1835     ;;
   1836   no:yes:* )
   1837     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1838 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1839     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1840 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1841     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1842 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1843     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1844 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1845     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1846 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1847     ;;
   1848 esac
   1849   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1850 $as_echo_n "checking for $2... " >&6; }
   1851 if eval \${$3+:} false; then :
   1852   $as_echo_n "(cached) " >&6
   1853 else
   1854   eval "$3=\$ac_header_compiler"
   1855 fi
   1856 eval ac_res=\$$3
   1857 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1858 $as_echo "$ac_res" >&6; }
   1859 fi
   1860   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1861 
   1862 } # ac_fn_c_check_header_mongrel
   1863 
   1864 # ac_fn_c_try_run LINENO
   1865 # ----------------------
   1866 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1867 # that executables *can* be run.
   1868 ac_fn_c_try_run ()
   1869 {
   1870   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1871   if { { ac_try="$ac_link"
   1872 case "(($ac_try" in
   1873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1874   *) ac_try_echo=$ac_try;;
   1875 esac
   1876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1877 $as_echo "$ac_try_echo"; } >&5
   1878   (eval "$ac_link") 2>&5
   1879   ac_status=$?
   1880   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1881   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1882   { { case "(($ac_try" in
   1883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1884   *) ac_try_echo=$ac_try;;
   1885 esac
   1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1887 $as_echo "$ac_try_echo"; } >&5
   1888   (eval "$ac_try") 2>&5
   1889   ac_status=$?
   1890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1891   test $ac_status = 0; }; }; then :
   1892   ac_retval=0
   1893 else
   1894   $as_echo "$as_me: program exited with status $ac_status" >&5
   1895        $as_echo "$as_me: failed program was:" >&5
   1896 sed 's/^/| /' conftest.$ac_ext >&5
   1897 
   1898        ac_retval=$ac_status
   1899 fi
   1900   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1901   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1902   as_fn_set_status $ac_retval
   1903 
   1904 } # ac_fn_c_try_run
   1905 
   1906 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1907 # -------------------------------------------------------
   1908 # Tests whether HEADER exists and can be compiled using the include files in
   1909 # INCLUDES, setting the cache variable VAR accordingly.
   1910 ac_fn_c_check_header_compile ()
   1911 {
   1912   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1913   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1914 $as_echo_n "checking for $2... " >&6; }
   1915 if eval \${$3+:} false; then :
   1916   $as_echo_n "(cached) " >&6
   1917 else
   1918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1919 /* end confdefs.h.  */
   1920 $4
   1921 #include <$2>
   1922 _ACEOF
   1923 if ac_fn_c_try_compile "$LINENO"; then :
   1924   eval "$3=yes"
   1925 else
   1926   eval "$3=no"
   1927 fi
   1928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1929 fi
   1930 eval ac_res=\$$3
   1931 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1932 $as_echo "$ac_res" >&6; }
   1933   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1934 
   1935 } # ac_fn_c_check_header_compile
   1936 
   1937 # ac_fn_c_try_link LINENO
   1938 # -----------------------
   1939 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1940 ac_fn_c_try_link ()
   1941 {
   1942   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1943   rm -f conftest.$ac_objext conftest$ac_exeext
   1944   if { { ac_try="$ac_link"
   1945 case "(($ac_try" in
   1946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1947   *) ac_try_echo=$ac_try;;
   1948 esac
   1949 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1950 $as_echo "$ac_try_echo"; } >&5
   1951   (eval "$ac_link") 2>conftest.err
   1952   ac_status=$?
   1953   if test -s conftest.err; then
   1954     grep -v '^ *+' conftest.err >conftest.er1
   1955     cat conftest.er1 >&5
   1956     mv -f conftest.er1 conftest.err
   1957   fi
   1958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1959   test $ac_status = 0; } && {
   1960 	 test -z "$ac_c_werror_flag" ||
   1961 	 test ! -s conftest.err
   1962        } && test -s conftest$ac_exeext && {
   1963 	 test "$cross_compiling" = yes ||
   1964 	 test -x conftest$ac_exeext
   1965        }; then :
   1966   ac_retval=0
   1967 else
   1968   $as_echo "$as_me: failed program was:" >&5
   1969 sed 's/^/| /' conftest.$ac_ext >&5
   1970 
   1971 	ac_retval=1
   1972 fi
   1973   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1974   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1975   # interfere with the next link command; also delete a directory that is
   1976   # left behind by Apple's compiler.  We do this before executing the actions.
   1977   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1978   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1979   as_fn_set_status $ac_retval
   1980 
   1981 } # ac_fn_c_try_link
   1982 
   1983 # ac_fn_c_check_func LINENO FUNC VAR
   1984 # ----------------------------------
   1985 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1986 ac_fn_c_check_func ()
   1987 {
   1988   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1989   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1990 $as_echo_n "checking for $2... " >&6; }
   1991 if eval \${$3+:} false; then :
   1992   $as_echo_n "(cached) " >&6
   1993 else
   1994   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1995 /* end confdefs.h.  */
   1996 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1997    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1998 #define $2 innocuous_$2
   1999 
   2000 /* System header to define __stub macros and hopefully few prototypes,
   2001     which can conflict with char $2 (); below.
   2002     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2003     <limits.h> exists even on freestanding compilers.  */
   2004 
   2005 #ifdef __STDC__
   2006 # include <limits.h>
   2007 #else
   2008 # include <assert.h>
   2009 #endif
   2010 
   2011 #undef $2
   2012 
   2013 /* Override any GCC internal prototype to avoid an error.
   2014    Use char because int might match the return type of a GCC
   2015    builtin and then its argument prototype would still apply.  */
   2016 #ifdef __cplusplus
   2017 extern "C"
   2018 #endif
   2019 char $2 ();
   2020 /* The GNU C library defines this for functions which it implements
   2021     to always fail with ENOSYS.  Some functions are actually named
   2022     something starting with __ and the normal name is an alias.  */
   2023 #if defined __stub_$2 || defined __stub___$2
   2024 choke me
   2025 #endif
   2026 
   2027 int
   2028 main ()
   2029 {
   2030 return $2 ();
   2031   ;
   2032   return 0;
   2033 }
   2034 _ACEOF
   2035 if ac_fn_c_try_link "$LINENO"; then :
   2036   eval "$3=yes"
   2037 else
   2038   eval "$3=no"
   2039 fi
   2040 rm -f core conftest.err conftest.$ac_objext \
   2041     conftest$ac_exeext conftest.$ac_ext
   2042 fi
   2043 eval ac_res=\$$3
   2044 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2045 $as_echo "$ac_res" >&6; }
   2046   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2047 
   2048 } # ac_fn_c_check_func
   2049 
   2050 # ac_fn_cxx_try_cpp LINENO
   2051 # ------------------------
   2052 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   2053 ac_fn_cxx_try_cpp ()
   2054 {
   2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2056   if { { ac_try="$ac_cpp conftest.$ac_ext"
   2057 case "(($ac_try" in
   2058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2059   *) ac_try_echo=$ac_try;;
   2060 esac
   2061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2062 $as_echo "$ac_try_echo"; } >&5
   2063   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   2064   ac_status=$?
   2065   if test -s conftest.err; then
   2066     grep -v '^ *+' conftest.err >conftest.er1
   2067     cat conftest.er1 >&5
   2068     mv -f conftest.er1 conftest.err
   2069   fi
   2070   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2071   test $ac_status = 0; } > conftest.i && {
   2072 	 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
   2073 	 test ! -s conftest.err
   2074        }; then :
   2075   ac_retval=0
   2076 else
   2077   $as_echo "$as_me: failed program was:" >&5
   2078 sed 's/^/| /' conftest.$ac_ext >&5
   2079 
   2080     ac_retval=1
   2081 fi
   2082   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2083   as_fn_set_status $ac_retval
   2084 
   2085 } # ac_fn_cxx_try_cpp
   2086 
   2087 # ac_fn_cxx_try_link LINENO
   2088 # -------------------------
   2089 # Try to link conftest.$ac_ext, and return whether this succeeded.
   2090 ac_fn_cxx_try_link ()
   2091 {
   2092   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2093   rm -f conftest.$ac_objext conftest$ac_exeext
   2094   if { { ac_try="$ac_link"
   2095 case "(($ac_try" in
   2096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2097   *) ac_try_echo=$ac_try;;
   2098 esac
   2099 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2100 $as_echo "$ac_try_echo"; } >&5
   2101   (eval "$ac_link") 2>conftest.err
   2102   ac_status=$?
   2103   if test -s conftest.err; then
   2104     grep -v '^ *+' conftest.err >conftest.er1
   2105     cat conftest.er1 >&5
   2106     mv -f conftest.er1 conftest.err
   2107   fi
   2108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2109   test $ac_status = 0; } && {
   2110 	 test -z "$ac_cxx_werror_flag" ||
   2111 	 test ! -s conftest.err
   2112        } && test -s conftest$ac_exeext && {
   2113 	 test "$cross_compiling" = yes ||
   2114 	 test -x conftest$ac_exeext
   2115        }; then :
   2116   ac_retval=0
   2117 else
   2118   $as_echo "$as_me: failed program was:" >&5
   2119 sed 's/^/| /' conftest.$ac_ext >&5
   2120 
   2121 	ac_retval=1
   2122 fi
   2123   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   2124   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   2125   # interfere with the next link command; also delete a directory that is
   2126   # left behind by Apple's compiler.  We do this before executing the actions.
   2127   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   2128   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2129   as_fn_set_status $ac_retval
   2130 
   2131 } # ac_fn_cxx_try_link
   2132 
   2133 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
   2134 # --------------------------------------------
   2135 # Tries to find the compile-time value of EXPR in a program that includes
   2136 # INCLUDES, setting VAR accordingly. Returns whether the value could be
   2137 # computed
   2138 ac_fn_c_compute_int ()
   2139 {
   2140   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2141   if test "$cross_compiling" = yes; then
   2142     # Depending upon the size, compute the lo and hi bounds.
   2143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2144 /* end confdefs.h.  */
   2145 $4
   2146 int
   2147 main ()
   2148 {
   2149 static int test_array [1 - 2 * !(($2) >= 0)];
   2150 test_array [0] = 0;
   2151 return test_array [0];
   2152 
   2153   ;
   2154   return 0;
   2155 }
   2156 _ACEOF
   2157 if ac_fn_c_try_compile "$LINENO"; then :
   2158   ac_lo=0 ac_mid=0
   2159   while :; do
   2160     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2161 /* end confdefs.h.  */
   2162 $4
   2163 int
   2164 main ()
   2165 {
   2166 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2167 test_array [0] = 0;
   2168 return test_array [0];
   2169 
   2170   ;
   2171   return 0;
   2172 }
   2173 _ACEOF
   2174 if ac_fn_c_try_compile "$LINENO"; then :
   2175   ac_hi=$ac_mid; break
   2176 else
   2177   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
   2178 			if test $ac_lo -le $ac_mid; then
   2179 			  ac_lo= ac_hi=
   2180 			  break
   2181 			fi
   2182 			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
   2183 fi
   2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2185   done
   2186 else
   2187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2188 /* end confdefs.h.  */
   2189 $4
   2190 int
   2191 main ()
   2192 {
   2193 static int test_array [1 - 2 * !(($2) < 0)];
   2194 test_array [0] = 0;
   2195 return test_array [0];
   2196 
   2197   ;
   2198   return 0;
   2199 }
   2200 _ACEOF
   2201 if ac_fn_c_try_compile "$LINENO"; then :
   2202   ac_hi=-1 ac_mid=-1
   2203   while :; do
   2204     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2205 /* end confdefs.h.  */
   2206 $4
   2207 int
   2208 main ()
   2209 {
   2210 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
   2211 test_array [0] = 0;
   2212 return test_array [0];
   2213 
   2214   ;
   2215   return 0;
   2216 }
   2217 _ACEOF
   2218 if ac_fn_c_try_compile "$LINENO"; then :
   2219   ac_lo=$ac_mid; break
   2220 else
   2221   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
   2222 			if test $ac_mid -le $ac_hi; then
   2223 			  ac_lo= ac_hi=
   2224 			  break
   2225 			fi
   2226 			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
   2227 fi
   2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2229   done
   2230 else
   2231   ac_lo= ac_hi=
   2232 fi
   2233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2234 fi
   2235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2236 # Binary search between lo and hi bounds.
   2237 while test "x$ac_lo" != "x$ac_hi"; do
   2238   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
   2239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2240 /* end confdefs.h.  */
   2241 $4
   2242 int
   2243 main ()
   2244 {
   2245 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
   2246 test_array [0] = 0;
   2247 return test_array [0];
   2248 
   2249   ;
   2250   return 0;
   2251 }
   2252 _ACEOF
   2253 if ac_fn_c_try_compile "$LINENO"; then :
   2254   ac_hi=$ac_mid
   2255 else
   2256   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
   2257 fi
   2258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2259 done
   2260 case $ac_lo in #((
   2261 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
   2262 '') ac_retval=1 ;;
   2263 esac
   2264   else
   2265     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2266 /* end confdefs.h.  */
   2267 $4
   2268 static long int longval () { return $2; }
   2269 static unsigned long int ulongval () { return $2; }
   2270 #include <stdio.h>
   2271 #include <stdlib.h>
   2272 int
   2273 main ()
   2274 {
   2275 
   2276   FILE *f = fopen ("conftest.val", "w");
   2277   if (! f)
   2278     return 1;
   2279   if (($2) < 0)
   2280     {
   2281       long int i = longval ();
   2282       if (i != ($2))
   2283 	return 1;
   2284       fprintf (f, "%ld", i);
   2285     }
   2286   else
   2287     {
   2288       unsigned long int i = ulongval ();
   2289       if (i != ($2))
   2290 	return 1;
   2291       fprintf (f, "%lu", i);
   2292     }
   2293   /* Do not output a trailing newline, as this causes \r\n confusion
   2294      on some platforms.  */
   2295   return ferror (f) || fclose (f) != 0;
   2296 
   2297   ;
   2298   return 0;
   2299 }
   2300 _ACEOF
   2301 if ac_fn_c_try_run "$LINENO"; then :
   2302   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
   2303 else
   2304   ac_retval=1
   2305 fi
   2306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   2307   conftest.$ac_objext conftest.beam conftest.$ac_ext
   2308 rm -f conftest.val
   2309 
   2310   fi
   2311   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2312   as_fn_set_status $ac_retval
   2313 
   2314 } # ac_fn_c_compute_int
   2315 
   2316 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   2317 # ---------------------------------------------
   2318 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   2319 # accordingly.
   2320 ac_fn_c_check_decl ()
   2321 {
   2322   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2323   as_decl_name=`echo $2|sed 's/ *(.*//'`
   2324   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   2325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   2326 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   2327 if eval \${$3+:} false; then :
   2328   $as_echo_n "(cached) " >&6
   2329 else
   2330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2331 /* end confdefs.h.  */
   2332 $4
   2333 int
   2334 main ()
   2335 {
   2336 #ifndef $as_decl_name
   2337 #ifdef __cplusplus
   2338   (void) $as_decl_use;
   2339 #else
   2340   (void) $as_decl_name;
   2341 #endif
   2342 #endif
   2343 
   2344   ;
   2345   return 0;
   2346 }
   2347 _ACEOF
   2348 if ac_fn_c_try_compile "$LINENO"; then :
   2349   eval "$3=yes"
   2350 else
   2351   eval "$3=no"
   2352 fi
   2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2354 fi
   2355 eval ac_res=\$$3
   2356 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2357 $as_echo "$ac_res" >&6; }
   2358   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2359 
   2360 } # ac_fn_c_check_decl
   2361 cat >config.log <<_ACEOF
   2362 This file contains any messages produced by compilers while
   2363 running configure, to aid debugging if configure makes a mistake.
   2364 
   2365 It was created by ld $as_me 2.39, which was
   2366 generated by GNU Autoconf 2.69.  Invocation command line was
   2367 
   2368   $ $0 $@
   2369 
   2370 _ACEOF
   2371 exec 5>>config.log
   2372 {
   2373 cat <<_ASUNAME
   2374 ## --------- ##
   2375 ## Platform. ##
   2376 ## --------- ##
   2377 
   2378 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2379 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2380 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2381 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2382 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2383 
   2384 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2385 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2386 
   2387 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2388 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2389 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2390 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2391 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2392 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2393 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2394 
   2395 _ASUNAME
   2396 
   2397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2398 for as_dir in $PATH
   2399 do
   2400   IFS=$as_save_IFS
   2401   test -z "$as_dir" && as_dir=.
   2402     $as_echo "PATH: $as_dir"
   2403   done
   2404 IFS=$as_save_IFS
   2405 
   2406 } >&5
   2407 
   2408 cat >&5 <<_ACEOF
   2409 
   2410 
   2411 ## ----------- ##
   2412 ## Core tests. ##
   2413 ## ----------- ##
   2414 
   2415 _ACEOF
   2416 
   2417 
   2418 # Keep a trace of the command line.
   2419 # Strip out --no-create and --no-recursion so they do not pile up.
   2420 # Strip out --silent because we don't want to record it for future runs.
   2421 # Also quote any args containing shell meta-characters.
   2422 # Make two passes to allow for proper duplicate-argument suppression.
   2423 ac_configure_args=
   2424 ac_configure_args0=
   2425 ac_configure_args1=
   2426 ac_must_keep_next=false
   2427 for ac_pass in 1 2
   2428 do
   2429   for ac_arg
   2430   do
   2431     case $ac_arg in
   2432     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2433     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2434     | -silent | --silent | --silen | --sile | --sil)
   2435       continue ;;
   2436     *\'*)
   2437       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2438     esac
   2439     case $ac_pass in
   2440     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2441     2)
   2442       as_fn_append ac_configure_args1 " '$ac_arg'"
   2443       if test $ac_must_keep_next = true; then
   2444 	ac_must_keep_next=false # Got value, back to normal.
   2445       else
   2446 	case $ac_arg in
   2447 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2448 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2449 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2450 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2451 	    case "$ac_configure_args0 " in
   2452 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2453 	    esac
   2454 	    ;;
   2455 	  -* ) ac_must_keep_next=true ;;
   2456 	esac
   2457       fi
   2458       as_fn_append ac_configure_args " '$ac_arg'"
   2459       ;;
   2460     esac
   2461   done
   2462 done
   2463 { ac_configure_args0=; unset ac_configure_args0;}
   2464 { ac_configure_args1=; unset ac_configure_args1;}
   2465 
   2466 # When interrupted or exit'd, cleanup temporary files, and complete
   2467 # config.log.  We remove comments because anyway the quotes in there
   2468 # would cause problems or look ugly.
   2469 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2470 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2471 trap 'exit_status=$?
   2472   # Save into config.log some information that might help in debugging.
   2473   {
   2474     echo
   2475 
   2476     $as_echo "## ---------------- ##
   2477 ## Cache variables. ##
   2478 ## ---------------- ##"
   2479     echo
   2480     # The following way of writing the cache mishandles newlines in values,
   2481 (
   2482   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2483     eval ac_val=\$$ac_var
   2484     case $ac_val in #(
   2485     *${as_nl}*)
   2486       case $ac_var in #(
   2487       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2488 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2489       esac
   2490       case $ac_var in #(
   2491       _ | IFS | as_nl) ;; #(
   2492       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2493       *) { eval $ac_var=; unset $ac_var;} ;;
   2494       esac ;;
   2495     esac
   2496   done
   2497   (set) 2>&1 |
   2498     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2499     *${as_nl}ac_space=\ *)
   2500       sed -n \
   2501 	"s/'\''/'\''\\\\'\'''\''/g;
   2502 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2503       ;; #(
   2504     *)
   2505       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2506       ;;
   2507     esac |
   2508     sort
   2509 )
   2510     echo
   2511 
   2512     $as_echo "## ----------------- ##
   2513 ## Output variables. ##
   2514 ## ----------------- ##"
   2515     echo
   2516     for ac_var in $ac_subst_vars
   2517     do
   2518       eval ac_val=\$$ac_var
   2519       case $ac_val in
   2520       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2521       esac
   2522       $as_echo "$ac_var='\''$ac_val'\''"
   2523     done | sort
   2524     echo
   2525 
   2526     if test -n "$ac_subst_files"; then
   2527       $as_echo "## ------------------- ##
   2528 ## File substitutions. ##
   2529 ## ------------------- ##"
   2530       echo
   2531       for ac_var in $ac_subst_files
   2532       do
   2533 	eval ac_val=\$$ac_var
   2534 	case $ac_val in
   2535 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2536 	esac
   2537 	$as_echo "$ac_var='\''$ac_val'\''"
   2538       done | sort
   2539       echo
   2540     fi
   2541 
   2542     if test -s confdefs.h; then
   2543       $as_echo "## ----------- ##
   2544 ## confdefs.h. ##
   2545 ## ----------- ##"
   2546       echo
   2547       cat confdefs.h
   2548       echo
   2549     fi
   2550     test "$ac_signal" != 0 &&
   2551       $as_echo "$as_me: caught signal $ac_signal"
   2552     $as_echo "$as_me: exit $exit_status"
   2553   } >&5
   2554   rm -f core *.core core.conftest.* &&
   2555     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2556     exit $exit_status
   2557 ' 0
   2558 for ac_signal in 1 2 13 15; do
   2559   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2560 done
   2561 ac_signal=0
   2562 
   2563 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2564 rm -f -r conftest* confdefs.h
   2565 
   2566 $as_echo "/* confdefs.h */" > confdefs.h
   2567 
   2568 # Predefined preprocessor variables.
   2569 
   2570 cat >>confdefs.h <<_ACEOF
   2571 #define PACKAGE_NAME "$PACKAGE_NAME"
   2572 _ACEOF
   2573 
   2574 cat >>confdefs.h <<_ACEOF
   2575 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2576 _ACEOF
   2577 
   2578 cat >>confdefs.h <<_ACEOF
   2579 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2580 _ACEOF
   2581 
   2582 cat >>confdefs.h <<_ACEOF
   2583 #define PACKAGE_STRING "$PACKAGE_STRING"
   2584 _ACEOF
   2585 
   2586 cat >>confdefs.h <<_ACEOF
   2587 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2588 _ACEOF
   2589 
   2590 cat >>confdefs.h <<_ACEOF
   2591 #define PACKAGE_URL "$PACKAGE_URL"
   2592 _ACEOF
   2593 
   2594 
   2595 # Let the site file select an alternate cache file if it wants to.
   2596 # Prefer an explicitly selected file to automatically selected ones.
   2597 ac_site_file1=NONE
   2598 ac_site_file2=NONE
   2599 if test -n "$CONFIG_SITE"; then
   2600   # We do not want a PATH search for config.site.
   2601   case $CONFIG_SITE in #((
   2602     -*)  ac_site_file1=./$CONFIG_SITE;;
   2603     */*) ac_site_file1=$CONFIG_SITE;;
   2604     *)   ac_site_file1=./$CONFIG_SITE;;
   2605   esac
   2606 elif test "x$prefix" != xNONE; then
   2607   ac_site_file1=$prefix/share/config.site
   2608   ac_site_file2=$prefix/etc/config.site
   2609 else
   2610   ac_site_file1=$ac_default_prefix/share/config.site
   2611   ac_site_file2=$ac_default_prefix/etc/config.site
   2612 fi
   2613 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2614 do
   2615   test "x$ac_site_file" = xNONE && continue
   2616   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2617     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2618 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2619     sed 's/^/| /' "$ac_site_file" >&5
   2620     . "$ac_site_file" \
   2621       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2623 as_fn_error $? "failed to load site script $ac_site_file
   2624 See \`config.log' for more details" "$LINENO" 5; }
   2625   fi
   2626 done
   2627 
   2628 if test -r "$cache_file"; then
   2629   # Some versions of bash will fail to source /dev/null (special files
   2630   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2631   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2632     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2633 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2634     case $cache_file in
   2635       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2636       *)                      . "./$cache_file";;
   2637     esac
   2638   fi
   2639 else
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2641 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2642   >$cache_file
   2643 fi
   2644 
   2645 as_fn_append ac_header_list " stdlib.h"
   2646 as_fn_append ac_header_list " unistd.h"
   2647 as_fn_append ac_header_list " sys/param.h"
   2648 # Check that the precious variables saved in the cache have kept the same
   2649 # value.
   2650 ac_cache_corrupted=false
   2651 for ac_var in $ac_precious_vars; do
   2652   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2653   eval ac_new_set=\$ac_env_${ac_var}_set
   2654   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2655   eval ac_new_val=\$ac_env_${ac_var}_value
   2656   case $ac_old_set,$ac_new_set in
   2657     set,)
   2658       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2659 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2660       ac_cache_corrupted=: ;;
   2661     ,set)
   2662       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2663 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2664       ac_cache_corrupted=: ;;
   2665     ,);;
   2666     *)
   2667       if test "x$ac_old_val" != "x$ac_new_val"; then
   2668 	# differences in whitespace do not lead to failure.
   2669 	ac_old_val_w=`echo x $ac_old_val`
   2670 	ac_new_val_w=`echo x $ac_new_val`
   2671 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2672 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2673 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2674 	  ac_cache_corrupted=:
   2675 	else
   2676 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2677 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2678 	  eval $ac_var=\$ac_old_val
   2679 	fi
   2680 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2681 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2682 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2683 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2684       fi;;
   2685   esac
   2686   # Pass precious variables to config.status.
   2687   if test "$ac_new_set" = set; then
   2688     case $ac_new_val in
   2689     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2690     *) ac_arg=$ac_var=$ac_new_val ;;
   2691     esac
   2692     case " $ac_configure_args " in
   2693       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2694       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2695     esac
   2696   fi
   2697 done
   2698 if $ac_cache_corrupted; then
   2699   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2700 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2701   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2702 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2703   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2704 fi
   2705 ## -------------------- ##
   2706 ## Main body of script. ##
   2707 ## -------------------- ##
   2708 
   2709 ac_ext=c
   2710 ac_cpp='$CPP $CPPFLAGS'
   2711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2714 
   2715 
   2716 
   2717 
   2718 
   2719 
   2720 
   2721 ac_aux_dir=
   2722 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2723   if test -f "$ac_dir/install-sh"; then
   2724     ac_aux_dir=$ac_dir
   2725     ac_install_sh="$ac_aux_dir/install-sh -c"
   2726     break
   2727   elif test -f "$ac_dir/install.sh"; then
   2728     ac_aux_dir=$ac_dir
   2729     ac_install_sh="$ac_aux_dir/install.sh -c"
   2730     break
   2731   elif test -f "$ac_dir/shtool"; then
   2732     ac_aux_dir=$ac_dir
   2733     ac_install_sh="$ac_aux_dir/shtool install -c"
   2734     break
   2735   fi
   2736 done
   2737 if test -z "$ac_aux_dir"; then
   2738   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2739 fi
   2740 
   2741 # These three variables are undocumented and unsupported,
   2742 # and are intended to be withdrawn in a future Autoconf release.
   2743 # They can cause serious problems if a builder's source tree is in a directory
   2744 # whose full name contains unusual characters.
   2745 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2746 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2747 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2748 
   2749 
   2750 # Make sure we can run config.sub.
   2751 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2752   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2753 
   2754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2755 $as_echo_n "checking build system type... " >&6; }
   2756 if ${ac_cv_build+:} false; then :
   2757   $as_echo_n "(cached) " >&6
   2758 else
   2759   ac_build_alias=$build_alias
   2760 test "x$ac_build_alias" = x &&
   2761   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2762 test "x$ac_build_alias" = x &&
   2763   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2764 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2765   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2766 
   2767 fi
   2768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2769 $as_echo "$ac_cv_build" >&6; }
   2770 case $ac_cv_build in
   2771 *-*-*) ;;
   2772 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2773 esac
   2774 build=$ac_cv_build
   2775 ac_save_IFS=$IFS; IFS='-'
   2776 set x $ac_cv_build
   2777 shift
   2778 build_cpu=$1
   2779 build_vendor=$2
   2780 shift; shift
   2781 # Remember, the first character of IFS is used to create $*,
   2782 # except with old shells:
   2783 build_os=$*
   2784 IFS=$ac_save_IFS
   2785 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2786 
   2787 
   2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2789 $as_echo_n "checking host system type... " >&6; }
   2790 if ${ac_cv_host+:} false; then :
   2791   $as_echo_n "(cached) " >&6
   2792 else
   2793   if test "x$host_alias" = x; then
   2794   ac_cv_host=$ac_cv_build
   2795 else
   2796   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2797     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2798 fi
   2799 
   2800 fi
   2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2802 $as_echo "$ac_cv_host" >&6; }
   2803 case $ac_cv_host in
   2804 *-*-*) ;;
   2805 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2806 esac
   2807 host=$ac_cv_host
   2808 ac_save_IFS=$IFS; IFS='-'
   2809 set x $ac_cv_host
   2810 shift
   2811 host_cpu=$1
   2812 host_vendor=$2
   2813 shift; shift
   2814 # Remember, the first character of IFS is used to create $*,
   2815 # except with old shells:
   2816 host_os=$*
   2817 IFS=$ac_save_IFS
   2818 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2819 
   2820 
   2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
   2822 $as_echo_n "checking target system type... " >&6; }
   2823 if ${ac_cv_target+:} false; then :
   2824   $as_echo_n "(cached) " >&6
   2825 else
   2826   if test "x$target_alias" = x; then
   2827   ac_cv_target=$ac_cv_host
   2828 else
   2829   ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
   2830     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
   2831 fi
   2832 
   2833 fi
   2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
   2835 $as_echo "$ac_cv_target" >&6; }
   2836 case $ac_cv_target in
   2837 *-*-*) ;;
   2838 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
   2839 esac
   2840 target=$ac_cv_target
   2841 ac_save_IFS=$IFS; IFS='-'
   2842 set x $ac_cv_target
   2843 shift
   2844 target_cpu=$1
   2845 target_vendor=$2
   2846 shift; shift
   2847 # Remember, the first character of IFS is used to create $*,
   2848 # except with old shells:
   2849 target_os=$*
   2850 IFS=$ac_save_IFS
   2851 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
   2852 
   2853 
   2854 # The aliases save the names the user supplied, while $host etc.
   2855 # will get canonicalized.
   2856 test -n "$target_alias" &&
   2857   test "$program_prefix$program_suffix$program_transform_name" = \
   2858     NONENONEs,x,x, &&
   2859   program_prefix=${target_alias}-
   2860 
   2861 
   2862 am__api_version='1.15'
   2863 
   2864 # Find a good install program.  We prefer a C program (faster),
   2865 # so one script is as good as another.  But avoid the broken or
   2866 # incompatible versions:
   2867 # SysV /etc/install, /usr/sbin/install
   2868 # SunOS /usr/etc/install
   2869 # IRIX /sbin/install
   2870 # AIX /bin/install
   2871 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2872 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2873 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2874 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2875 # OS/2's system install, which has a completely different semantic
   2876 # ./install, which can be erroneously created by make from ./install.sh.
   2877 # Reject install programs that cannot install multiple files.
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2879 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2880 if test -z "$INSTALL"; then
   2881 if ${ac_cv_path_install+:} false; then :
   2882   $as_echo_n "(cached) " >&6
   2883 else
   2884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2885 for as_dir in $PATH
   2886 do
   2887   IFS=$as_save_IFS
   2888   test -z "$as_dir" && as_dir=.
   2889     # Account for people who put trailing slashes in PATH elements.
   2890 case $as_dir/ in #((
   2891   ./ | .// | /[cC]/* | \
   2892   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2893   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2894   /usr/ucb/* ) ;;
   2895   *)
   2896     # OSF1 and SCO ODT 3.0 have their own names for install.
   2897     # Don't use installbsd from OSF since it installs stuff as root
   2898     # by default.
   2899     for ac_prog in ginstall scoinst install; do
   2900       for ac_exec_ext in '' $ac_executable_extensions; do
   2901 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2902 	  if test $ac_prog = install &&
   2903 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2904 	    # AIX install.  It has an incompatible calling convention.
   2905 	    :
   2906 	  elif test $ac_prog = install &&
   2907 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2908 	    # program-specific install script used by HP pwplus--don't use.
   2909 	    :
   2910 	  else
   2911 	    rm -rf conftest.one conftest.two conftest.dir
   2912 	    echo one > conftest.one
   2913 	    echo two > conftest.two
   2914 	    mkdir conftest.dir
   2915 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2916 	      test -s conftest.one && test -s conftest.two &&
   2917 	      test -s conftest.dir/conftest.one &&
   2918 	      test -s conftest.dir/conftest.two
   2919 	    then
   2920 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2921 	      break 3
   2922 	    fi
   2923 	  fi
   2924 	fi
   2925       done
   2926     done
   2927     ;;
   2928 esac
   2929 
   2930   done
   2931 IFS=$as_save_IFS
   2932 
   2933 rm -rf conftest.one conftest.two conftest.dir
   2934 
   2935 fi
   2936   if test "${ac_cv_path_install+set}" = set; then
   2937     INSTALL=$ac_cv_path_install
   2938   else
   2939     # As a last resort, use the slow shell script.  Don't cache a
   2940     # value for INSTALL within a source directory, because that will
   2941     # break other packages using the cache if that directory is
   2942     # removed, or if the value is a relative name.
   2943     INSTALL=$ac_install_sh
   2944   fi
   2945 fi
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2947 $as_echo "$INSTALL" >&6; }
   2948 
   2949 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2950 # It thinks the first close brace ends the variable substitution.
   2951 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2952 
   2953 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2954 
   2955 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2956 
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2958 $as_echo_n "checking whether build environment is sane... " >&6; }
   2959 # Reject unsafe characters in $srcdir or the absolute working directory
   2960 # name.  Accept space and tab only in the latter.
   2961 am_lf='
   2962 '
   2963 case `pwd` in
   2964   *[\\\"\#\$\&\'\`$am_lf]*)
   2965     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2966 esac
   2967 case $srcdir in
   2968   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2969     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2970 esac
   2971 
   2972 # Do 'set' in a subshell so we don't clobber the current shell's
   2973 # arguments.  Must try -L first in case configure is actually a
   2974 # symlink; some systems play weird games with the mod time of symlinks
   2975 # (eg FreeBSD returns the mod time of the symlink's containing
   2976 # directory).
   2977 if (
   2978    am_has_slept=no
   2979    for am_try in 1 2; do
   2980      echo "timestamp, slept: $am_has_slept" > conftest.file
   2981      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2982      if test "$*" = "X"; then
   2983 	# -L didn't work.
   2984 	set X `ls -t "$srcdir/configure" conftest.file`
   2985      fi
   2986      if test "$*" != "X $srcdir/configure conftest.file" \
   2987 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2988 
   2989 	# If neither matched, then we have a broken ls.  This can happen
   2990 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2991 	# broken ls alias from the environment.  This has actually
   2992 	# happened.  Such a system could not be considered "sane".
   2993 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2994   alias in your environment" "$LINENO" 5
   2995      fi
   2996      if test "$2" = conftest.file || test $am_try -eq 2; then
   2997        break
   2998      fi
   2999      # Just in case.
   3000      sleep 1
   3001      am_has_slept=yes
   3002    done
   3003    test "$2" = conftest.file
   3004    )
   3005 then
   3006    # Ok.
   3007    :
   3008 else
   3009    as_fn_error $? "newly created file is older than distributed files!
   3010 Check your system clock" "$LINENO" 5
   3011 fi
   3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3013 $as_echo "yes" >&6; }
   3014 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3015 # generated files are strictly newer.
   3016 am_sleep_pid=
   3017 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3018   ( sleep 1 ) &
   3019   am_sleep_pid=$!
   3020 fi
   3021 
   3022 rm -f conftest.file
   3023 
   3024 test "$program_prefix" != NONE &&
   3025   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3026 # Use a double $ so make ignores it.
   3027 test "$program_suffix" != NONE &&
   3028   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3029 # Double any \ or $.
   3030 # By default was `s,x,x', remove it if useless.
   3031 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3032 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3033 
   3034 # Expand $ac_aux_dir to an absolute path.
   3035 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   3036 
   3037 if test x"${MISSING+set}" != xset; then
   3038   case $am_aux_dir in
   3039   *\ * | *\	*)
   3040     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3041   *)
   3042     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3043   esac
   3044 fi
   3045 # Use eval to expand $SHELL
   3046 if eval "$MISSING --is-lightweight"; then
   3047   am_missing_run="$MISSING "
   3048 else
   3049   am_missing_run=
   3050   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3051 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3052 fi
   3053 
   3054 if test x"${install_sh+set}" != xset; then
   3055   case $am_aux_dir in
   3056   *\ * | *\	*)
   3057     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3058   *)
   3059     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3060   esac
   3061 fi
   3062 
   3063 # Installed binaries are usually stripped using 'strip' when the user
   3064 # run "make install-strip".  However 'strip' might not be the right
   3065 # tool to use in cross-compilation environments, therefore Automake
   3066 # will honor the 'STRIP' environment variable to overrule this program.
   3067 if test "$cross_compiling" != no; then
   3068   if test -n "$ac_tool_prefix"; then
   3069   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3070 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3072 $as_echo_n "checking for $ac_word... " >&6; }
   3073 if ${ac_cv_prog_STRIP+:} false; then :
   3074   $as_echo_n "(cached) " >&6
   3075 else
   3076   if test -n "$STRIP"; then
   3077   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3078 else
   3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3080 for as_dir in $PATH
   3081 do
   3082   IFS=$as_save_IFS
   3083   test -z "$as_dir" && as_dir=.
   3084     for ac_exec_ext in '' $ac_executable_extensions; do
   3085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3086     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3088     break 2
   3089   fi
   3090 done
   3091   done
   3092 IFS=$as_save_IFS
   3093 
   3094 fi
   3095 fi
   3096 STRIP=$ac_cv_prog_STRIP
   3097 if test -n "$STRIP"; then
   3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3099 $as_echo "$STRIP" >&6; }
   3100 else
   3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3102 $as_echo "no" >&6; }
   3103 fi
   3104 
   3105 
   3106 fi
   3107 if test -z "$ac_cv_prog_STRIP"; then
   3108   ac_ct_STRIP=$STRIP
   3109   # Extract the first word of "strip", so it can be a program name with args.
   3110 set dummy strip; ac_word=$2
   3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3112 $as_echo_n "checking for $ac_word... " >&6; }
   3113 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3114   $as_echo_n "(cached) " >&6
   3115 else
   3116   if test -n "$ac_ct_STRIP"; then
   3117   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3118 else
   3119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3120 for as_dir in $PATH
   3121 do
   3122   IFS=$as_save_IFS
   3123   test -z "$as_dir" && as_dir=.
   3124     for ac_exec_ext in '' $ac_executable_extensions; do
   3125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3126     ac_cv_prog_ac_ct_STRIP="strip"
   3127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3128     break 2
   3129   fi
   3130 done
   3131   done
   3132 IFS=$as_save_IFS
   3133 
   3134 fi
   3135 fi
   3136 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3137 if test -n "$ac_ct_STRIP"; then
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3139 $as_echo "$ac_ct_STRIP" >&6; }
   3140 else
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3142 $as_echo "no" >&6; }
   3143 fi
   3144 
   3145   if test "x$ac_ct_STRIP" = x; then
   3146     STRIP=":"
   3147   else
   3148     case $cross_compiling:$ac_tool_warned in
   3149 yes:)
   3150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3152 ac_tool_warned=yes ;;
   3153 esac
   3154     STRIP=$ac_ct_STRIP
   3155   fi
   3156 else
   3157   STRIP="$ac_cv_prog_STRIP"
   3158 fi
   3159 
   3160 fi
   3161 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3162 
   3163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3164 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3165 if test -z "$MKDIR_P"; then
   3166   if ${ac_cv_path_mkdir+:} false; then :
   3167   $as_echo_n "(cached) " >&6
   3168 else
   3169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3170 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3171 do
   3172   IFS=$as_save_IFS
   3173   test -z "$as_dir" && as_dir=.
   3174     for ac_prog in mkdir gmkdir; do
   3175 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3176 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3177 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3178 	     'mkdir (GNU coreutils) '* | \
   3179 	     'mkdir (coreutils) '* | \
   3180 	     'mkdir (fileutils) '4.1*)
   3181 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3182 	       break 3;;
   3183 	   esac
   3184 	 done
   3185        done
   3186   done
   3187 IFS=$as_save_IFS
   3188 
   3189 fi
   3190 
   3191   test -d ./--version && rmdir ./--version
   3192   if test "${ac_cv_path_mkdir+set}" = set; then
   3193     MKDIR_P="$ac_cv_path_mkdir -p"
   3194   else
   3195     # As a last resort, use the slow shell script.  Don't cache a
   3196     # value for MKDIR_P within a source directory, because that will
   3197     # break other packages using the cache if that directory is
   3198     # removed, or if the value is a relative name.
   3199     MKDIR_P="$ac_install_sh -d"
   3200   fi
   3201 fi
   3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3203 $as_echo "$MKDIR_P" >&6; }
   3204 
   3205 for ac_prog in gawk mawk nawk awk
   3206 do
   3207   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3208 set dummy $ac_prog; ac_word=$2
   3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3210 $as_echo_n "checking for $ac_word... " >&6; }
   3211 if ${ac_cv_prog_AWK+:} false; then :
   3212   $as_echo_n "(cached) " >&6
   3213 else
   3214   if test -n "$AWK"; then
   3215   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3216 else
   3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3218 for as_dir in $PATH
   3219 do
   3220   IFS=$as_save_IFS
   3221   test -z "$as_dir" && as_dir=.
   3222     for ac_exec_ext in '' $ac_executable_extensions; do
   3223   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3224     ac_cv_prog_AWK="$ac_prog"
   3225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3226     break 2
   3227   fi
   3228 done
   3229   done
   3230 IFS=$as_save_IFS
   3231 
   3232 fi
   3233 fi
   3234 AWK=$ac_cv_prog_AWK
   3235 if test -n "$AWK"; then
   3236   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3237 $as_echo "$AWK" >&6; }
   3238 else
   3239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3240 $as_echo "no" >&6; }
   3241 fi
   3242 
   3243 
   3244   test -n "$AWK" && break
   3245 done
   3246 
   3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3248 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3249 set x ${MAKE-make}
   3250 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3251 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3252   $as_echo_n "(cached) " >&6
   3253 else
   3254   cat >conftest.make <<\_ACEOF
   3255 SHELL = /bin/sh
   3256 all:
   3257 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3258 _ACEOF
   3259 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3260 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3261   *@@@%%%=?*=@@@%%%*)
   3262     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3263   *)
   3264     eval ac_cv_prog_make_${ac_make}_set=no;;
   3265 esac
   3266 rm -f conftest.make
   3267 fi
   3268 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3270 $as_echo "yes" >&6; }
   3271   SET_MAKE=
   3272 else
   3273   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3274 $as_echo "no" >&6; }
   3275   SET_MAKE="MAKE=${MAKE-make}"
   3276 fi
   3277 
   3278 rm -rf .tst 2>/dev/null
   3279 mkdir .tst 2>/dev/null
   3280 if test -d .tst; then
   3281   am__leading_dot=.
   3282 else
   3283   am__leading_dot=_
   3284 fi
   3285 rmdir .tst 2>/dev/null
   3286 
   3287 # Check whether --enable-silent-rules was given.
   3288 if test "${enable_silent_rules+set}" = set; then :
   3289   enableval=$enable_silent_rules;
   3290 fi
   3291 
   3292 case $enable_silent_rules in # (((
   3293   yes) AM_DEFAULT_VERBOSITY=0;;
   3294    no) AM_DEFAULT_VERBOSITY=1;;
   3295     *) AM_DEFAULT_VERBOSITY=1;;
   3296 esac
   3297 am_make=${MAKE-make}
   3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3299 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3300 if ${am_cv_make_support_nested_variables+:} false; then :
   3301   $as_echo_n "(cached) " >&6
   3302 else
   3303   if $as_echo 'TRUE=$(BAR$(V))
   3304 BAR0=false
   3305 BAR1=true
   3306 V=1
   3307 am__doit:
   3308 	@$(TRUE)
   3309 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3310   am_cv_make_support_nested_variables=yes
   3311 else
   3312   am_cv_make_support_nested_variables=no
   3313 fi
   3314 fi
   3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3316 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3317 if test $am_cv_make_support_nested_variables = yes; then
   3318     AM_V='$(V)'
   3319   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3320 else
   3321   AM_V=$AM_DEFAULT_VERBOSITY
   3322   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3323 fi
   3324 AM_BACKSLASH='\'
   3325 
   3326 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3327   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3328   # is not polluted with repeated "-I."
   3329   am__isrc=' -I$(srcdir)'
   3330   # test to see if srcdir already configured
   3331   if test -f $srcdir/config.status; then
   3332     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3333   fi
   3334 fi
   3335 
   3336 # test whether we have cygpath
   3337 if test -z "$CYGPATH_W"; then
   3338   if (cygpath --version) >/dev/null 2>/dev/null; then
   3339     CYGPATH_W='cygpath -w'
   3340   else
   3341     CYGPATH_W=echo
   3342   fi
   3343 fi
   3344 
   3345 
   3346 # Define the identity of the package.
   3347  PACKAGE='ld'
   3348  VERSION='2.39'
   3349 
   3350 
   3351 cat >>confdefs.h <<_ACEOF
   3352 #define PACKAGE "$PACKAGE"
   3353 _ACEOF
   3354 
   3355 
   3356 cat >>confdefs.h <<_ACEOF
   3357 #define VERSION "$VERSION"
   3358 _ACEOF
   3359 
   3360 # Some tools Automake needs.
   3361 
   3362 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3363 
   3364 
   3365 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3366 
   3367 
   3368 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3369 
   3370 
   3371 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3372 
   3373 
   3374 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3375 
   3376 # For better backward compatibility.  To be removed once Automake 1.9.x
   3377 # dies out for good.  For more background, see:
   3378 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3379 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3380 mkdir_p='$(MKDIR_P)'
   3381 
   3382 # We need awk for the "check" target (and possibly the TAP driver).  The
   3383 # system "awk" is bad on some platforms.
   3384 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3385 # in the wild :-(  We should find a proper way to deprecate it ...
   3386 AMTAR='$${TAR-tar}'
   3387 
   3388 
   3389 # We'll loop over all known methods to create a tar archive until one works.
   3390 _am_tools='gnutar  pax cpio none'
   3391 
   3392 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3393 
   3394 
   3395 
   3396 
   3397 
   3398 
   3399 # POSIX will say in a future version that running "rm -f" with no argument
   3400 # is OK; and we want to be able to make that assumption in our Makefile
   3401 # recipes.  So use an aggressive probe to check that the usage we want is
   3402 # actually supported "in the wild" to an acceptable degree.
   3403 # See automake bug#10828.
   3404 # To make any issue more visible, cause the running configure to be aborted
   3405 # by default if the 'rm' program in use doesn't match our expectations; the
   3406 # user can still override this though.
   3407 if rm -f && rm -fr && rm -rf; then : OK; else
   3408   cat >&2 <<'END'
   3409 Oops!
   3410 
   3411 Your 'rm' program seems unable to run without file operands specified
   3412 on the command line, even when the '-f' option is present.  This is contrary
   3413 to the behaviour of most rm programs out there, and not conforming with
   3414 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3415 
   3416 Please tell bug-automake@gnu.org about your system, including the value
   3417 of your $PATH and any error possibly output before this message.  This
   3418 can help us improve future automake versions.
   3419 
   3420 END
   3421   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3422     echo 'Configuration will proceed anyway, since you have set the' >&2
   3423     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3424     echo >&2
   3425   else
   3426     cat >&2 <<'END'
   3427 Aborting the configuration process, to ensure you take notice of the issue.
   3428 
   3429 You can download and install GNU coreutils to get an 'rm' implementation
   3430 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3431 
   3432 If you want to complete the configuration process using your problematic
   3433 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3434 to "yes", and re-run configure.
   3435 
   3436 END
   3437     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3438   fi
   3439 fi
   3440 
   3441 # Check whether --enable-silent-rules was given.
   3442 if test "${enable_silent_rules+set}" = set; then :
   3443   enableval=$enable_silent_rules;
   3444 fi
   3445 
   3446 case $enable_silent_rules in # (((
   3447   yes) AM_DEFAULT_VERBOSITY=0;;
   3448    no) AM_DEFAULT_VERBOSITY=1;;
   3449     *) AM_DEFAULT_VERBOSITY=0;;
   3450 esac
   3451 am_make=${MAKE-make}
   3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3453 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   3454 if ${am_cv_make_support_nested_variables+:} false; then :
   3455   $as_echo_n "(cached) " >&6
   3456 else
   3457   if $as_echo 'TRUE=$(BAR$(V))
   3458 BAR0=false
   3459 BAR1=true
   3460 V=1
   3461 am__doit:
   3462 	@$(TRUE)
   3463 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3464   am_cv_make_support_nested_variables=yes
   3465 else
   3466   am_cv_make_support_nested_variables=no
   3467 fi
   3468 fi
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3470 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   3471 if test $am_cv_make_support_nested_variables = yes; then
   3472     AM_V='$(V)'
   3473   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   3474 else
   3475   AM_V=$AM_DEFAULT_VERBOSITY
   3476   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   3477 fi
   3478 AM_BACKSLASH='\'
   3479 
   3480 
   3481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   3482 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   3483     # Check whether --enable-maintainer-mode was given.
   3484 if test "${enable_maintainer_mode+set}" = set; then :
   3485   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   3486 else
   3487   USE_MAINTAINER_MODE=no
   3488 fi
   3489 
   3490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   3491 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   3492    if test $USE_MAINTAINER_MODE = yes; then
   3493   MAINTAINER_MODE_TRUE=
   3494   MAINTAINER_MODE_FALSE='#'
   3495 else
   3496   MAINTAINER_MODE_TRUE='#'
   3497   MAINTAINER_MODE_FALSE=
   3498 fi
   3499 
   3500   MAINT=$MAINTAINER_MODE_TRUE
   3501 
   3502 
   3503 
   3504 ac_ext=c
   3505 ac_cpp='$CPP $CPPFLAGS'
   3506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3509 if test -n "$ac_tool_prefix"; then
   3510   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3511 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3513 $as_echo_n "checking for $ac_word... " >&6; }
   3514 if ${ac_cv_prog_CC+:} false; then :
   3515   $as_echo_n "(cached) " >&6
   3516 else
   3517   if test -n "$CC"; then
   3518   ac_cv_prog_CC="$CC" # Let the user override the test.
   3519 else
   3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3521 for as_dir in $PATH
   3522 do
   3523   IFS=$as_save_IFS
   3524   test -z "$as_dir" && as_dir=.
   3525     for ac_exec_ext in '' $ac_executable_extensions; do
   3526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3527     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3529     break 2
   3530   fi
   3531 done
   3532   done
   3533 IFS=$as_save_IFS
   3534 
   3535 fi
   3536 fi
   3537 CC=$ac_cv_prog_CC
   3538 if test -n "$CC"; then
   3539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3540 $as_echo "$CC" >&6; }
   3541 else
   3542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3543 $as_echo "no" >&6; }
   3544 fi
   3545 
   3546 
   3547 fi
   3548 if test -z "$ac_cv_prog_CC"; then
   3549   ac_ct_CC=$CC
   3550   # Extract the first word of "gcc", so it can be a program name with args.
   3551 set dummy gcc; ac_word=$2
   3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3553 $as_echo_n "checking for $ac_word... " >&6; }
   3554 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3555   $as_echo_n "(cached) " >&6
   3556 else
   3557   if test -n "$ac_ct_CC"; then
   3558   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3559 else
   3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3561 for as_dir in $PATH
   3562 do
   3563   IFS=$as_save_IFS
   3564   test -z "$as_dir" && as_dir=.
   3565     for ac_exec_ext in '' $ac_executable_extensions; do
   3566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3567     ac_cv_prog_ac_ct_CC="gcc"
   3568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3569     break 2
   3570   fi
   3571 done
   3572   done
   3573 IFS=$as_save_IFS
   3574 
   3575 fi
   3576 fi
   3577 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3578 if test -n "$ac_ct_CC"; then
   3579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3580 $as_echo "$ac_ct_CC" >&6; }
   3581 else
   3582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3583 $as_echo "no" >&6; }
   3584 fi
   3585 
   3586   if test "x$ac_ct_CC" = x; then
   3587     CC=""
   3588   else
   3589     case $cross_compiling:$ac_tool_warned in
   3590 yes:)
   3591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3592 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3593 ac_tool_warned=yes ;;
   3594 esac
   3595     CC=$ac_ct_CC
   3596   fi
   3597 else
   3598   CC="$ac_cv_prog_CC"
   3599 fi
   3600 
   3601 if test -z "$CC"; then
   3602           if test -n "$ac_tool_prefix"; then
   3603     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3604 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3606 $as_echo_n "checking for $ac_word... " >&6; }
   3607 if ${ac_cv_prog_CC+:} false; then :
   3608   $as_echo_n "(cached) " >&6
   3609 else
   3610   if test -n "$CC"; then
   3611   ac_cv_prog_CC="$CC" # Let the user override the test.
   3612 else
   3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3614 for as_dir in $PATH
   3615 do
   3616   IFS=$as_save_IFS
   3617   test -z "$as_dir" && as_dir=.
   3618     for ac_exec_ext in '' $ac_executable_extensions; do
   3619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3620     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3622     break 2
   3623   fi
   3624 done
   3625   done
   3626 IFS=$as_save_IFS
   3627 
   3628 fi
   3629 fi
   3630 CC=$ac_cv_prog_CC
   3631 if test -n "$CC"; then
   3632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3633 $as_echo "$CC" >&6; }
   3634 else
   3635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3636 $as_echo "no" >&6; }
   3637 fi
   3638 
   3639 
   3640   fi
   3641 fi
   3642 if test -z "$CC"; then
   3643   # Extract the first word of "cc", so it can be a program name with args.
   3644 set dummy cc; ac_word=$2
   3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3646 $as_echo_n "checking for $ac_word... " >&6; }
   3647 if ${ac_cv_prog_CC+:} false; then :
   3648   $as_echo_n "(cached) " >&6
   3649 else
   3650   if test -n "$CC"; then
   3651   ac_cv_prog_CC="$CC" # Let the user override the test.
   3652 else
   3653   ac_prog_rejected=no
   3654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3655 for as_dir in $PATH
   3656 do
   3657   IFS=$as_save_IFS
   3658   test -z "$as_dir" && as_dir=.
   3659     for ac_exec_ext in '' $ac_executable_extensions; do
   3660   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3661     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3662        ac_prog_rejected=yes
   3663        continue
   3664      fi
   3665     ac_cv_prog_CC="cc"
   3666     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3667     break 2
   3668   fi
   3669 done
   3670   done
   3671 IFS=$as_save_IFS
   3672 
   3673 if test $ac_prog_rejected = yes; then
   3674   # We found a bogon in the path, so make sure we never use it.
   3675   set dummy $ac_cv_prog_CC
   3676   shift
   3677   if test $# != 0; then
   3678     # We chose a different compiler from the bogus one.
   3679     # However, it has the same basename, so the bogon will be chosen
   3680     # first if we set CC to just the basename; use the full file name.
   3681     shift
   3682     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3683   fi
   3684 fi
   3685 fi
   3686 fi
   3687 CC=$ac_cv_prog_CC
   3688 if test -n "$CC"; then
   3689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3690 $as_echo "$CC" >&6; }
   3691 else
   3692   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3693 $as_echo "no" >&6; }
   3694 fi
   3695 
   3696 
   3697 fi
   3698 if test -z "$CC"; then
   3699   if test -n "$ac_tool_prefix"; then
   3700   for ac_prog in cl.exe
   3701   do
   3702     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3703 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3705 $as_echo_n "checking for $ac_word... " >&6; }
   3706 if ${ac_cv_prog_CC+:} false; then :
   3707   $as_echo_n "(cached) " >&6
   3708 else
   3709   if test -n "$CC"; then
   3710   ac_cv_prog_CC="$CC" # Let the user override the test.
   3711 else
   3712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3713 for as_dir in $PATH
   3714 do
   3715   IFS=$as_save_IFS
   3716   test -z "$as_dir" && as_dir=.
   3717     for ac_exec_ext in '' $ac_executable_extensions; do
   3718   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3719     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3720     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3721     break 2
   3722   fi
   3723 done
   3724   done
   3725 IFS=$as_save_IFS
   3726 
   3727 fi
   3728 fi
   3729 CC=$ac_cv_prog_CC
   3730 if test -n "$CC"; then
   3731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3732 $as_echo "$CC" >&6; }
   3733 else
   3734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3735 $as_echo "no" >&6; }
   3736 fi
   3737 
   3738 
   3739     test -n "$CC" && break
   3740   done
   3741 fi
   3742 if test -z "$CC"; then
   3743   ac_ct_CC=$CC
   3744   for ac_prog in cl.exe
   3745 do
   3746   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3747 set dummy $ac_prog; ac_word=$2
   3748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3749 $as_echo_n "checking for $ac_word... " >&6; }
   3750 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3751   $as_echo_n "(cached) " >&6
   3752 else
   3753   if test -n "$ac_ct_CC"; then
   3754   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3755 else
   3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3757 for as_dir in $PATH
   3758 do
   3759   IFS=$as_save_IFS
   3760   test -z "$as_dir" && as_dir=.
   3761     for ac_exec_ext in '' $ac_executable_extensions; do
   3762   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3763     ac_cv_prog_ac_ct_CC="$ac_prog"
   3764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3765     break 2
   3766   fi
   3767 done
   3768   done
   3769 IFS=$as_save_IFS
   3770 
   3771 fi
   3772 fi
   3773 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3774 if test -n "$ac_ct_CC"; then
   3775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3776 $as_echo "$ac_ct_CC" >&6; }
   3777 else
   3778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3779 $as_echo "no" >&6; }
   3780 fi
   3781 
   3782 
   3783   test -n "$ac_ct_CC" && break
   3784 done
   3785 
   3786   if test "x$ac_ct_CC" = x; then
   3787     CC=""
   3788   else
   3789     case $cross_compiling:$ac_tool_warned in
   3790 yes:)
   3791 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3792 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3793 ac_tool_warned=yes ;;
   3794 esac
   3795     CC=$ac_ct_CC
   3796   fi
   3797 fi
   3798 
   3799 fi
   3800 
   3801 
   3802 test -z "$CC" && { { $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 $? "no acceptable C compiler found in \$PATH
   3805 See \`config.log' for more details" "$LINENO" 5; }
   3806 
   3807 # Provide some information about the compiler.
   3808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3809 set X $ac_compile
   3810 ac_compiler=$2
   3811 for ac_option in --version -v -V -qversion; do
   3812   { { ac_try="$ac_compiler $ac_option >&5"
   3813 case "(($ac_try" in
   3814   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3815   *) ac_try_echo=$ac_try;;
   3816 esac
   3817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3818 $as_echo "$ac_try_echo"; } >&5
   3819   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3820   ac_status=$?
   3821   if test -s conftest.err; then
   3822     sed '10a\
   3823 ... rest of stderr output deleted ...
   3824          10q' conftest.err >conftest.er1
   3825     cat conftest.er1 >&5
   3826   fi
   3827   rm -f conftest.er1 conftest.err
   3828   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3829   test $ac_status = 0; }
   3830 done
   3831 
   3832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3833 /* end confdefs.h.  */
   3834 
   3835 int
   3836 main ()
   3837 {
   3838 
   3839   ;
   3840   return 0;
   3841 }
   3842 _ACEOF
   3843 ac_clean_files_save=$ac_clean_files
   3844 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3845 # Try to create an executable without -o first, disregard a.out.
   3846 # It will help us diagnose broken compilers, and finding out an intuition
   3847 # of exeext.
   3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3849 $as_echo_n "checking whether the C compiler works... " >&6; }
   3850 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3851 
   3852 # The possible output files:
   3853 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3854 
   3855 ac_rmfiles=
   3856 for ac_file in $ac_files
   3857 do
   3858   case $ac_file in
   3859     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3860     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3861   esac
   3862 done
   3863 rm -f $ac_rmfiles
   3864 
   3865 if { { ac_try="$ac_link_default"
   3866 case "(($ac_try" in
   3867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3868   *) ac_try_echo=$ac_try;;
   3869 esac
   3870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3871 $as_echo "$ac_try_echo"; } >&5
   3872   (eval "$ac_link_default") 2>&5
   3873   ac_status=$?
   3874   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3875   test $ac_status = 0; }; then :
   3876   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3877 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3878 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3879 # so that the user can short-circuit this test for compilers unknown to
   3880 # Autoconf.
   3881 for ac_file in $ac_files ''
   3882 do
   3883   test -f "$ac_file" || continue
   3884   case $ac_file in
   3885     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3886 	;;
   3887     [ab].out )
   3888 	# We found the default executable, but exeext='' is most
   3889 	# certainly right.
   3890 	break;;
   3891     *.* )
   3892 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3893 	then :; else
   3894 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3895 	fi
   3896 	# We set ac_cv_exeext here because the later test for it is not
   3897 	# safe: cross compilers may not add the suffix if given an `-o'
   3898 	# argument, so we may need to know it at that point already.
   3899 	# Even if this section looks crufty: it has the advantage of
   3900 	# actually working.
   3901 	break;;
   3902     * )
   3903 	break;;
   3904   esac
   3905 done
   3906 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3907 
   3908 else
   3909   ac_file=''
   3910 fi
   3911 if test -z "$ac_file"; then :
   3912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3913 $as_echo "no" >&6; }
   3914 $as_echo "$as_me: failed program was:" >&5
   3915 sed 's/^/| /' conftest.$ac_ext >&5
   3916 
   3917 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3918 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3919 as_fn_error 77 "C compiler cannot create executables
   3920 See \`config.log' for more details" "$LINENO" 5; }
   3921 else
   3922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3923 $as_echo "yes" >&6; }
   3924 fi
   3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3926 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3928 $as_echo "$ac_file" >&6; }
   3929 ac_exeext=$ac_cv_exeext
   3930 
   3931 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3932 ac_clean_files=$ac_clean_files_save
   3933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3934 $as_echo_n "checking for suffix of executables... " >&6; }
   3935 if { { ac_try="$ac_link"
   3936 case "(($ac_try" in
   3937   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3938   *) ac_try_echo=$ac_try;;
   3939 esac
   3940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3941 $as_echo "$ac_try_echo"; } >&5
   3942   (eval "$ac_link") 2>&5
   3943   ac_status=$?
   3944   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3945   test $ac_status = 0; }; then :
   3946   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3947 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3948 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3949 # `rm'.
   3950 for ac_file in conftest.exe conftest conftest.*; do
   3951   test -f "$ac_file" || continue
   3952   case $ac_file in
   3953     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3954     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3955 	  break;;
   3956     * ) break;;
   3957   esac
   3958 done
   3959 else
   3960   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3961 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3962 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3963 See \`config.log' for more details" "$LINENO" 5; }
   3964 fi
   3965 rm -f conftest conftest$ac_cv_exeext
   3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3967 $as_echo "$ac_cv_exeext" >&6; }
   3968 
   3969 rm -f conftest.$ac_ext
   3970 EXEEXT=$ac_cv_exeext
   3971 ac_exeext=$EXEEXT
   3972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3973 /* end confdefs.h.  */
   3974 #include <stdio.h>
   3975 int
   3976 main ()
   3977 {
   3978 FILE *f = fopen ("conftest.out", "w");
   3979  return ferror (f) || fclose (f) != 0;
   3980 
   3981   ;
   3982   return 0;
   3983 }
   3984 _ACEOF
   3985 ac_clean_files="$ac_clean_files conftest.out"
   3986 # Check that the compiler produces executables we can run.  If not, either
   3987 # the compiler is broken, or we cross compile.
   3988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3989 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3990 if test "$cross_compiling" != yes; then
   3991   { { ac_try="$ac_link"
   3992 case "(($ac_try" in
   3993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3994   *) ac_try_echo=$ac_try;;
   3995 esac
   3996 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3997 $as_echo "$ac_try_echo"; } >&5
   3998   (eval "$ac_link") 2>&5
   3999   ac_status=$?
   4000   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4001   test $ac_status = 0; }
   4002   if { ac_try='./conftest$ac_cv_exeext'
   4003   { { case "(($ac_try" in
   4004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4005   *) ac_try_echo=$ac_try;;
   4006 esac
   4007 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4008 $as_echo "$ac_try_echo"; } >&5
   4009   (eval "$ac_try") 2>&5
   4010   ac_status=$?
   4011   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4012   test $ac_status = 0; }; }; then
   4013     cross_compiling=no
   4014   else
   4015     if test "$cross_compiling" = maybe; then
   4016 	cross_compiling=yes
   4017     else
   4018 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4020 as_fn_error $? "cannot run C compiled programs.
   4021 If you meant to cross compile, use \`--host'.
   4022 See \`config.log' for more details" "$LINENO" 5; }
   4023     fi
   4024   fi
   4025 fi
   4026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4027 $as_echo "$cross_compiling" >&6; }
   4028 
   4029 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   4030 ac_clean_files=$ac_clean_files_save
   4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4032 $as_echo_n "checking for suffix of object files... " >&6; }
   4033 if ${ac_cv_objext+:} false; then :
   4034   $as_echo_n "(cached) " >&6
   4035 else
   4036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4037 /* end confdefs.h.  */
   4038 
   4039 int
   4040 main ()
   4041 {
   4042 
   4043   ;
   4044   return 0;
   4045 }
   4046 _ACEOF
   4047 rm -f conftest.o conftest.obj
   4048 if { { ac_try="$ac_compile"
   4049 case "(($ac_try" in
   4050   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4051   *) ac_try_echo=$ac_try;;
   4052 esac
   4053 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4054 $as_echo "$ac_try_echo"; } >&5
   4055   (eval "$ac_compile") 2>&5
   4056   ac_status=$?
   4057   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4058   test $ac_status = 0; }; then :
   4059   for ac_file in conftest.o conftest.obj conftest.*; do
   4060   test -f "$ac_file" || continue;
   4061   case $ac_file in
   4062     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4063     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4064        break;;
   4065   esac
   4066 done
   4067 else
   4068   $as_echo "$as_me: failed program was:" >&5
   4069 sed 's/^/| /' conftest.$ac_ext >&5
   4070 
   4071 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4072 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4073 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4074 See \`config.log' for more details" "$LINENO" 5; }
   4075 fi
   4076 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   4077 fi
   4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4079 $as_echo "$ac_cv_objext" >&6; }
   4080 OBJEXT=$ac_cv_objext
   4081 ac_objext=$OBJEXT
   4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   4083 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   4084 if ${ac_cv_c_compiler_gnu+:} false; then :
   4085   $as_echo_n "(cached) " >&6
   4086 else
   4087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4088 /* end confdefs.h.  */
   4089 
   4090 int
   4091 main ()
   4092 {
   4093 #ifndef __GNUC__
   4094        choke me
   4095 #endif
   4096 
   4097   ;
   4098   return 0;
   4099 }
   4100 _ACEOF
   4101 if ac_fn_c_try_compile "$LINENO"; then :
   4102   ac_compiler_gnu=yes
   4103 else
   4104   ac_compiler_gnu=no
   4105 fi
   4106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4107 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4108 
   4109 fi
   4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4111 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   4112 if test $ac_compiler_gnu = yes; then
   4113   GCC=yes
   4114 else
   4115   GCC=
   4116 fi
   4117 ac_test_CFLAGS=${CFLAGS+set}
   4118 ac_save_CFLAGS=$CFLAGS
   4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4120 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   4121 if ${ac_cv_prog_cc_g+:} false; then :
   4122   $as_echo_n "(cached) " >&6
   4123 else
   4124   ac_save_c_werror_flag=$ac_c_werror_flag
   4125    ac_c_werror_flag=yes
   4126    ac_cv_prog_cc_g=no
   4127    CFLAGS="-g"
   4128    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4129 /* end confdefs.h.  */
   4130 
   4131 int
   4132 main ()
   4133 {
   4134 
   4135   ;
   4136   return 0;
   4137 }
   4138 _ACEOF
   4139 if ac_fn_c_try_compile "$LINENO"; then :
   4140   ac_cv_prog_cc_g=yes
   4141 else
   4142   CFLAGS=""
   4143       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4144 /* end confdefs.h.  */
   4145 
   4146 int
   4147 main ()
   4148 {
   4149 
   4150   ;
   4151   return 0;
   4152 }
   4153 _ACEOF
   4154 if ac_fn_c_try_compile "$LINENO"; then :
   4155 
   4156 else
   4157   ac_c_werror_flag=$ac_save_c_werror_flag
   4158 	 CFLAGS="-g"
   4159 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4160 /* end confdefs.h.  */
   4161 
   4162 int
   4163 main ()
   4164 {
   4165 
   4166   ;
   4167   return 0;
   4168 }
   4169 _ACEOF
   4170 if ac_fn_c_try_compile "$LINENO"; then :
   4171   ac_cv_prog_cc_g=yes
   4172 fi
   4173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4174 fi
   4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4176 fi
   4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4178    ac_c_werror_flag=$ac_save_c_werror_flag
   4179 fi
   4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
   4182 if test "$ac_test_CFLAGS" = set; then
   4183   CFLAGS=$ac_save_CFLAGS
   4184 elif test $ac_cv_prog_cc_g = yes; then
   4185   if test "$GCC" = yes; then
   4186     CFLAGS="-g -O2"
   4187   else
   4188     CFLAGS="-g"
   4189   fi
   4190 else
   4191   if test "$GCC" = yes; then
   4192     CFLAGS="-O2"
   4193   else
   4194     CFLAGS=
   4195   fi
   4196 fi
   4197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   4199 if ${ac_cv_prog_cc_c89+:} false; then :
   4200   $as_echo_n "(cached) " >&6
   4201 else
   4202   ac_cv_prog_cc_c89=no
   4203 ac_save_CC=$CC
   4204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4205 /* end confdefs.h.  */
   4206 #include <stdarg.h>
   4207 #include <stdio.h>
   4208 struct stat;
   4209 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4210 struct buf { int x; };
   4211 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4212 static char *e (p, i)
   4213      char **p;
   4214      int i;
   4215 {
   4216   return p[i];
   4217 }
   4218 static char *f (char * (*g) (char **, int), char **p, ...)
   4219 {
   4220   char *s;
   4221   va_list v;
   4222   va_start (v,p);
   4223   s = g (p, va_arg (v,int));
   4224   va_end (v);
   4225   return s;
   4226 }
   4227 
   4228 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4229    function prototypes and stuff, but not '\xHH' hex character constants.
   4230    These don't provoke an error unfortunately, instead are silently treated
   4231    as 'x'.  The following induces an error, until -std is added to get
   4232    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4233    array size at least.  It's necessary to write '\x00'==0 to get something
   4234    that's true only with -std.  */
   4235 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4236 
   4237 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   4238    inside strings and character constants.  */
   4239 #define FOO(x) 'x'
   4240 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   4241 
   4242 int test (int i, double x);
   4243 struct s1 {int (*f) (int a);};
   4244 struct s2 {int (*f) (double a);};
   4245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4246 int argc;
   4247 char **argv;
   4248 int
   4249 main ()
   4250 {
   4251 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4252   ;
   4253   return 0;
   4254 }
   4255 _ACEOF
   4256 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   4257 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4258 do
   4259   CC="$ac_save_CC $ac_arg"
   4260   if ac_fn_c_try_compile "$LINENO"; then :
   4261   ac_cv_prog_cc_c89=$ac_arg
   4262 fi
   4263 rm -f core conftest.err conftest.$ac_objext
   4264   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4265 done
   4266 rm -f conftest.$ac_ext
   4267 CC=$ac_save_CC
   4268 
   4269 fi
   4270 # AC_CACHE_VAL
   4271 case "x$ac_cv_prog_cc_c89" in
   4272   x)
   4273     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4274 $as_echo "none needed" >&6; } ;;
   4275   xno)
   4276     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4277 $as_echo "unsupported" >&6; } ;;
   4278   *)
   4279     CC="$CC $ac_cv_prog_cc_c89"
   4280     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4281 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   4282 esac
   4283 if test "x$ac_cv_prog_cc_c89" != xno; then :
   4284 
   4285 fi
   4286 
   4287 ac_ext=c
   4288 ac_cpp='$CPP $CPPFLAGS'
   4289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4292 
   4293 ac_ext=c
   4294 ac_cpp='$CPP $CPPFLAGS'
   4295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4299 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   4300 if ${am_cv_prog_cc_c_o+:} false; then :
   4301   $as_echo_n "(cached) " >&6
   4302 else
   4303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4304 /* end confdefs.h.  */
   4305 
   4306 int
   4307 main ()
   4308 {
   4309 
   4310   ;
   4311   return 0;
   4312 }
   4313 _ACEOF
   4314   # Make sure it works both with $CC and with simple cc.
   4315   # Following AC_PROG_CC_C_O, we do the test twice because some
   4316   # compilers refuse to overwrite an existing .o file with -o,
   4317   # though they will create one.
   4318   am_cv_prog_cc_c_o=yes
   4319   for am_i in 1 2; do
   4320     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4321    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4322    ac_status=$?
   4323    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4324    (exit $ac_status); } \
   4325          && test -f conftest2.$ac_objext; then
   4326       : OK
   4327     else
   4328       am_cv_prog_cc_c_o=no
   4329       break
   4330     fi
   4331   done
   4332   rm -f core conftest*
   4333   unset am_i
   4334 fi
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4336 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   4337 if test "$am_cv_prog_cc_c_o" != yes; then
   4338    # Losing compiler, so override with the script.
   4339    # FIXME: It is wrong to rewrite CC.
   4340    # But if we don't then we get into trouble of one sort or another.
   4341    # A longer-term fix would be to have automake use am__CC in this case,
   4342    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4343    CC="$am_aux_dir/compile $CC"
   4344 fi
   4345 ac_ext=c
   4346 ac_cpp='$CPP $CPPFLAGS'
   4347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4350 
   4351 DEPDIR="${am__leading_dot}deps"
   4352 
   4353 ac_config_commands="$ac_config_commands depfiles"
   4354 
   4355 
   4356 am_make=${MAKE-make}
   4357 cat > confinc << 'END'
   4358 am__doit:
   4359 	@echo this is the am__doit target
   4360 .PHONY: am__doit
   4361 END
   4362 # If we don't find an include directive, just comment out the code.
   4363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4364 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4365 am__include="#"
   4366 am__quote=
   4367 _am_result=none
   4368 # First try GNU make style include.
   4369 echo "include confinc" > confmf
   4370 # Ignore all kinds of additional output from 'make'.
   4371 case `$am_make -s -f confmf 2> /dev/null` in #(
   4372 *the\ am__doit\ target*)
   4373   am__include=include
   4374   am__quote=
   4375   _am_result=GNU
   4376   ;;
   4377 esac
   4378 # Now try BSD make style include.
   4379 if test "$am__include" = "#"; then
   4380    echo '.include "confinc"' > confmf
   4381    case `$am_make -s -f confmf 2> /dev/null` in #(
   4382    *the\ am__doit\ target*)
   4383      am__include=.include
   4384      am__quote="\""
   4385      _am_result=BSD
   4386      ;;
   4387    esac
   4388 fi
   4389 
   4390 
   4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4392 $as_echo "$_am_result" >&6; }
   4393 rm -f confinc confmf
   4394 
   4395 # Check whether --enable-dependency-tracking was given.
   4396 if test "${enable_dependency_tracking+set}" = set; then :
   4397   enableval=$enable_dependency_tracking;
   4398 fi
   4399 
   4400 if test "x$enable_dependency_tracking" != xno; then
   4401   am_depcomp="$ac_aux_dir/depcomp"
   4402   AMDEPBACKSLASH='\'
   4403   am__nodep='_no'
   4404 fi
   4405  if test "x$enable_dependency_tracking" != xno; then
   4406   AMDEP_TRUE=
   4407   AMDEP_FALSE='#'
   4408 else
   4409   AMDEP_TRUE='#'
   4410   AMDEP_FALSE=
   4411 fi
   4412 
   4413 
   4414 
   4415 depcc="$CC"   am_compiler_list=
   4416 
   4417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4418 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4419 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4420   $as_echo_n "(cached) " >&6
   4421 else
   4422   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4423   # We make a subdir and do the tests there.  Otherwise we can end up
   4424   # making bogus files that we don't know about and never remove.  For
   4425   # instance it was reported that on HP-UX the gcc test will end up
   4426   # making a dummy file named 'D' -- because '-MD' means "put the output
   4427   # in D".
   4428   rm -rf conftest.dir
   4429   mkdir conftest.dir
   4430   # Copy depcomp to subdir because otherwise we won't find it if we're
   4431   # using a relative directory.
   4432   cp "$am_depcomp" conftest.dir
   4433   cd conftest.dir
   4434   # We will build objects and dependencies in a subdirectory because
   4435   # it helps to detect inapplicable dependency modes.  For instance
   4436   # both Tru64's cc and ICC support -MD to output dependencies as a
   4437   # side effect of compilation, but ICC will put the dependencies in
   4438   # the current directory while Tru64 will put them in the object
   4439   # directory.
   4440   mkdir sub
   4441 
   4442   am_cv_CC_dependencies_compiler_type=none
   4443   if test "$am_compiler_list" = ""; then
   4444      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4445   fi
   4446   am__universal=false
   4447   case " $depcc " in #(
   4448      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4449      esac
   4450 
   4451   for depmode in $am_compiler_list; do
   4452     # Setup a source with many dependencies, because some compilers
   4453     # like to wrap large dependency lists on column 80 (with \), and
   4454     # we should not choose a depcomp mode which is confused by this.
   4455     #
   4456     # We need to recreate these files for each test, as the compiler may
   4457     # overwrite some of them when testing with obscure command lines.
   4458     # This happens at least with the AIX C compiler.
   4459     : > sub/conftest.c
   4460     for i in 1 2 3 4 5 6; do
   4461       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4462       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4463       # Solaris 10 /bin/sh.
   4464       echo '/* dummy */' > sub/conftst$i.h
   4465     done
   4466     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4467 
   4468     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4469     # mode.  It turns out that the SunPro C++ compiler does not properly
   4470     # handle '-M -o', and we need to detect this.  Also, some Intel
   4471     # versions had trouble with output in subdirs.
   4472     am__obj=sub/conftest.${OBJEXT-o}
   4473     am__minus_obj="-o $am__obj"
   4474     case $depmode in
   4475     gcc)
   4476       # This depmode causes a compiler race in universal mode.
   4477       test "$am__universal" = false || continue
   4478       ;;
   4479     nosideeffect)
   4480       # After this tag, mechanisms are not by side-effect, so they'll
   4481       # only be used when explicitly requested.
   4482       if test "x$enable_dependency_tracking" = xyes; then
   4483 	continue
   4484       else
   4485 	break
   4486       fi
   4487       ;;
   4488     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4489       # This compiler won't grok '-c -o', but also, the minuso test has
   4490       # not run yet.  These depmodes are late enough in the game, and
   4491       # so weak that their functioning should not be impacted.
   4492       am__obj=conftest.${OBJEXT-o}
   4493       am__minus_obj=
   4494       ;;
   4495     none) break ;;
   4496     esac
   4497     if depmode=$depmode \
   4498        source=sub/conftest.c object=$am__obj \
   4499        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4500        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4501          >/dev/null 2>conftest.err &&
   4502        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4503        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4504        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4505        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4506       # icc doesn't choke on unknown options, it will just issue warnings
   4507       # or remarks (even with -Werror).  So we grep stderr for any message
   4508       # that says an option was ignored or not supported.
   4509       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4510       #   icc: Command line warning: ignoring option '-M'; no argument required
   4511       # The diagnosis changed in icc 8.0:
   4512       #   icc: Command line remark: option '-MP' not supported
   4513       if (grep 'ignoring option' conftest.err ||
   4514           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4515         am_cv_CC_dependencies_compiler_type=$depmode
   4516         break
   4517       fi
   4518     fi
   4519   done
   4520 
   4521   cd ..
   4522   rm -rf conftest.dir
   4523 else
   4524   am_cv_CC_dependencies_compiler_type=none
   4525 fi
   4526 
   4527 fi
   4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4529 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4530 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4531 
   4532  if
   4533   test "x$enable_dependency_tracking" != xno \
   4534   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4535   am__fastdepCC_TRUE=
   4536   am__fastdepCC_FALSE='#'
   4537 else
   4538   am__fastdepCC_TRUE='#'
   4539   am__fastdepCC_FALSE=
   4540 fi
   4541 
   4542 
   4543 ac_ext=cpp
   4544 ac_cpp='$CXXCPP $CPPFLAGS'
   4545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   4548 if test -z "$CXX"; then
   4549   if test -n "$CCC"; then
   4550     CXX=$CCC
   4551   else
   4552     if test -n "$ac_tool_prefix"; then
   4553   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4554   do
   4555     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4558 $as_echo_n "checking for $ac_word... " >&6; }
   4559 if ${ac_cv_prog_CXX+:} false; then :
   4560   $as_echo_n "(cached) " >&6
   4561 else
   4562   if test -n "$CXX"; then
   4563   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   4564 else
   4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4566 for as_dir in $PATH
   4567 do
   4568   IFS=$as_save_IFS
   4569   test -z "$as_dir" && as_dir=.
   4570     for ac_exec_ext in '' $ac_executable_extensions; do
   4571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4572     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   4573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4574     break 2
   4575   fi
   4576 done
   4577   done
   4578 IFS=$as_save_IFS
   4579 
   4580 fi
   4581 fi
   4582 CXX=$ac_cv_prog_CXX
   4583 if test -n "$CXX"; then
   4584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
   4585 $as_echo "$CXX" >&6; }
   4586 else
   4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4588 $as_echo "no" >&6; }
   4589 fi
   4590 
   4591 
   4592     test -n "$CXX" && break
   4593   done
   4594 fi
   4595 if test -z "$CXX"; then
   4596   ac_ct_CXX=$CXX
   4597   for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
   4598 do
   4599   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4600 set dummy $ac_prog; ac_word=$2
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4602 $as_echo_n "checking for $ac_word... " >&6; }
   4603 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606   if test -n "$ac_ct_CXX"; then
   4607   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   4608 else
   4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4610 for as_dir in $PATH
   4611 do
   4612   IFS=$as_save_IFS
   4613   test -z "$as_dir" && as_dir=.
   4614     for ac_exec_ext in '' $ac_executable_extensions; do
   4615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4616     ac_cv_prog_ac_ct_CXX="$ac_prog"
   4617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4618     break 2
   4619   fi
   4620 done
   4621   done
   4622 IFS=$as_save_IFS
   4623 
   4624 fi
   4625 fi
   4626 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   4627 if test -n "$ac_ct_CXX"; then
   4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
   4629 $as_echo "$ac_ct_CXX" >&6; }
   4630 else
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4632 $as_echo "no" >&6; }
   4633 fi
   4634 
   4635 
   4636   test -n "$ac_ct_CXX" && break
   4637 done
   4638 
   4639   if test "x$ac_ct_CXX" = x; then
   4640     CXX="g++"
   4641   else
   4642     case $cross_compiling:$ac_tool_warned in
   4643 yes:)
   4644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4646 ac_tool_warned=yes ;;
   4647 esac
   4648     CXX=$ac_ct_CXX
   4649   fi
   4650 fi
   4651 
   4652   fi
   4653 fi
   4654 # Provide some information about the compiler.
   4655 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
   4656 set X $ac_compile
   4657 ac_compiler=$2
   4658 for ac_option in --version -v -V -qversion; do
   4659   { { ac_try="$ac_compiler $ac_option >&5"
   4660 case "(($ac_try" in
   4661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4662   *) ac_try_echo=$ac_try;;
   4663 esac
   4664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4665 $as_echo "$ac_try_echo"; } >&5
   4666   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   4667   ac_status=$?
   4668   if test -s conftest.err; then
   4669     sed '10a\
   4670 ... rest of stderr output deleted ...
   4671          10q' conftest.err >conftest.er1
   4672     cat conftest.er1 >&5
   4673   fi
   4674   rm -f conftest.er1 conftest.err
   4675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4676   test $ac_status = 0; }
   4677 done
   4678 
   4679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
   4680 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
   4681 if ${ac_cv_cxx_compiler_gnu+:} false; then :
   4682   $as_echo_n "(cached) " >&6
   4683 else
   4684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4685 /* end confdefs.h.  */
   4686 
   4687 int
   4688 main ()
   4689 {
   4690 #ifndef __GNUC__
   4691        choke me
   4692 #endif
   4693 
   4694   ;
   4695   return 0;
   4696 }
   4697 _ACEOF
   4698 if ac_fn_cxx_try_compile "$LINENO"; then :
   4699   ac_compiler_gnu=yes
   4700 else
   4701   ac_compiler_gnu=no
   4702 fi
   4703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4704 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   4705 
   4706 fi
   4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
   4708 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
   4709 if test $ac_compiler_gnu = yes; then
   4710   GXX=yes
   4711 else
   4712   GXX=
   4713 fi
   4714 ac_test_CXXFLAGS=${CXXFLAGS+set}
   4715 ac_save_CXXFLAGS=$CXXFLAGS
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
   4717 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
   4718 if ${ac_cv_prog_cxx_g+:} false; then :
   4719   $as_echo_n "(cached) " >&6
   4720 else
   4721   ac_save_cxx_werror_flag=$ac_cxx_werror_flag
   4722    ac_cxx_werror_flag=yes
   4723    ac_cv_prog_cxx_g=no
   4724    CXXFLAGS="-g"
   4725    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4726 /* end confdefs.h.  */
   4727 
   4728 int
   4729 main ()
   4730 {
   4731 
   4732   ;
   4733   return 0;
   4734 }
   4735 _ACEOF
   4736 if ac_fn_cxx_try_compile "$LINENO"; then :
   4737   ac_cv_prog_cxx_g=yes
   4738 else
   4739   CXXFLAGS=""
   4740       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4741 /* end confdefs.h.  */
   4742 
   4743 int
   4744 main ()
   4745 {
   4746 
   4747   ;
   4748   return 0;
   4749 }
   4750 _ACEOF
   4751 if ac_fn_cxx_try_compile "$LINENO"; then :
   4752 
   4753 else
   4754   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   4755 	 CXXFLAGS="-g"
   4756 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4757 /* end confdefs.h.  */
   4758 
   4759 int
   4760 main ()
   4761 {
   4762 
   4763   ;
   4764   return 0;
   4765 }
   4766 _ACEOF
   4767 if ac_fn_cxx_try_compile "$LINENO"; then :
   4768   ac_cv_prog_cxx_g=yes
   4769 fi
   4770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4771 fi
   4772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4773 fi
   4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4775    ac_cxx_werror_flag=$ac_save_cxx_werror_flag
   4776 fi
   4777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
   4778 $as_echo "$ac_cv_prog_cxx_g" >&6; }
   4779 if test "$ac_test_CXXFLAGS" = set; then
   4780   CXXFLAGS=$ac_save_CXXFLAGS
   4781 elif test $ac_cv_prog_cxx_g = yes; then
   4782   if test "$GXX" = yes; then
   4783     CXXFLAGS="-g -O2"
   4784   else
   4785     CXXFLAGS="-g"
   4786   fi
   4787 else
   4788   if test "$GXX" = yes; then
   4789     CXXFLAGS="-O2"
   4790   else
   4791     CXXFLAGS=
   4792   fi
   4793 fi
   4794 ac_ext=c
   4795 ac_cpp='$CPP $CPPFLAGS'
   4796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4799 
   4800 depcc="$CXX"  am_compiler_list=
   4801 
   4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4803 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4804 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
   4805   $as_echo_n "(cached) " >&6
   4806 else
   4807   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4808   # We make a subdir and do the tests there.  Otherwise we can end up
   4809   # making bogus files that we don't know about and never remove.  For
   4810   # instance it was reported that on HP-UX the gcc test will end up
   4811   # making a dummy file named 'D' -- because '-MD' means "put the output
   4812   # in D".
   4813   rm -rf conftest.dir
   4814   mkdir conftest.dir
   4815   # Copy depcomp to subdir because otherwise we won't find it if we're
   4816   # using a relative directory.
   4817   cp "$am_depcomp" conftest.dir
   4818   cd conftest.dir
   4819   # We will build objects and dependencies in a subdirectory because
   4820   # it helps to detect inapplicable dependency modes.  For instance
   4821   # both Tru64's cc and ICC support -MD to output dependencies as a
   4822   # side effect of compilation, but ICC will put the dependencies in
   4823   # the current directory while Tru64 will put them in the object
   4824   # directory.
   4825   mkdir sub
   4826 
   4827   am_cv_CXX_dependencies_compiler_type=none
   4828   if test "$am_compiler_list" = ""; then
   4829      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4830   fi
   4831   am__universal=false
   4832   case " $depcc " in #(
   4833      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4834      esac
   4835 
   4836   for depmode in $am_compiler_list; do
   4837     # Setup a source with many dependencies, because some compilers
   4838     # like to wrap large dependency lists on column 80 (with \), and
   4839     # we should not choose a depcomp mode which is confused by this.
   4840     #
   4841     # We need to recreate these files for each test, as the compiler may
   4842     # overwrite some of them when testing with obscure command lines.
   4843     # This happens at least with the AIX C compiler.
   4844     : > sub/conftest.c
   4845     for i in 1 2 3 4 5 6; do
   4846       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4847       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4848       # Solaris 10 /bin/sh.
   4849       echo '/* dummy */' > sub/conftst$i.h
   4850     done
   4851     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4852 
   4853     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4854     # mode.  It turns out that the SunPro C++ compiler does not properly
   4855     # handle '-M -o', and we need to detect this.  Also, some Intel
   4856     # versions had trouble with output in subdirs.
   4857     am__obj=sub/conftest.${OBJEXT-o}
   4858     am__minus_obj="-o $am__obj"
   4859     case $depmode in
   4860     gcc)
   4861       # This depmode causes a compiler race in universal mode.
   4862       test "$am__universal" = false || continue
   4863       ;;
   4864     nosideeffect)
   4865       # After this tag, mechanisms are not by side-effect, so they'll
   4866       # only be used when explicitly requested.
   4867       if test "x$enable_dependency_tracking" = xyes; then
   4868 	continue
   4869       else
   4870 	break
   4871       fi
   4872       ;;
   4873     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4874       # This compiler won't grok '-c -o', but also, the minuso test has
   4875       # not run yet.  These depmodes are late enough in the game, and
   4876       # so weak that their functioning should not be impacted.
   4877       am__obj=conftest.${OBJEXT-o}
   4878       am__minus_obj=
   4879       ;;
   4880     none) break ;;
   4881     esac
   4882     if depmode=$depmode \
   4883        source=sub/conftest.c object=$am__obj \
   4884        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4885        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4886          >/dev/null 2>conftest.err &&
   4887        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4888        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4889        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4890        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4891       # icc doesn't choke on unknown options, it will just issue warnings
   4892       # or remarks (even with -Werror).  So we grep stderr for any message
   4893       # that says an option was ignored or not supported.
   4894       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4895       #   icc: Command line warning: ignoring option '-M'; no argument required
   4896       # The diagnosis changed in icc 8.0:
   4897       #   icc: Command line remark: option '-MP' not supported
   4898       if (grep 'ignoring option' conftest.err ||
   4899           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4900         am_cv_CXX_dependencies_compiler_type=$depmode
   4901         break
   4902       fi
   4903     fi
   4904   done
   4905 
   4906   cd ..
   4907   rm -rf conftest.dir
   4908 else
   4909   am_cv_CXX_dependencies_compiler_type=none
   4910 fi
   4911 
   4912 fi
   4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
   4914 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
   4915 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   4916 
   4917  if
   4918   test "x$enable_dependency_tracking" != xno \
   4919   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   4920   am__fastdepCXX_TRUE=
   4921   am__fastdepCXX_FALSE='#'
   4922 else
   4923   am__fastdepCXX_TRUE='#'
   4924   am__fastdepCXX_FALSE=
   4925 fi
   4926 
   4927 
   4928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4929 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4930 if ${ac_cv_path_GREP+:} false; then :
   4931   $as_echo_n "(cached) " >&6
   4932 else
   4933   if test -z "$GREP"; then
   4934   ac_path_GREP_found=false
   4935   # Loop through the user's path and test for each of PROGNAME-LIST
   4936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4937 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4938 do
   4939   IFS=$as_save_IFS
   4940   test -z "$as_dir" && as_dir=.
   4941     for ac_prog in grep ggrep; do
   4942     for ac_exec_ext in '' $ac_executable_extensions; do
   4943       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4944       as_fn_executable_p "$ac_path_GREP" || continue
   4945 # Check for GNU ac_path_GREP and select it if it is found.
   4946   # Check for GNU $ac_path_GREP
   4947 case `"$ac_path_GREP" --version 2>&1` in
   4948 *GNU*)
   4949   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4950 *)
   4951   ac_count=0
   4952   $as_echo_n 0123456789 >"conftest.in"
   4953   while :
   4954   do
   4955     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4956     mv "conftest.tmp" "conftest.in"
   4957     cp "conftest.in" "conftest.nl"
   4958     $as_echo 'GREP' >> "conftest.nl"
   4959     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4960     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4961     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4962     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4963       # Best one so far, save it but keep looking for a better one
   4964       ac_cv_path_GREP="$ac_path_GREP"
   4965       ac_path_GREP_max=$ac_count
   4966     fi
   4967     # 10*(2^10) chars as input seems more than enough
   4968     test $ac_count -gt 10 && break
   4969   done
   4970   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4971 esac
   4972 
   4973       $ac_path_GREP_found && break 3
   4974     done
   4975   done
   4976   done
   4977 IFS=$as_save_IFS
   4978   if test -z "$ac_cv_path_GREP"; then
   4979     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4980   fi
   4981 else
   4982   ac_cv_path_GREP=$GREP
   4983 fi
   4984 
   4985 fi
   4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4987 $as_echo "$ac_cv_path_GREP" >&6; }
   4988  GREP="$ac_cv_path_GREP"
   4989 
   4990 
   4991 
   4992 ac_ext=c
   4993 ac_cpp='$CPP $CPPFLAGS'
   4994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4998 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4999 # On Suns, sometimes $CPP names a directory.
   5000 if test -n "$CPP" && test -d "$CPP"; then
   5001   CPP=
   5002 fi
   5003 if test -z "$CPP"; then
   5004   if ${ac_cv_prog_CPP+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007       # Double quotes because CPP needs to be expanded
   5008     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   5009     do
   5010       ac_preproc_ok=false
   5011 for ac_c_preproc_warn_flag in '' yes
   5012 do
   5013   # Use a header file that comes with gcc, so configuring glibc
   5014   # with a fresh cross-compiler works.
   5015   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5016   # <limits.h> exists even on freestanding compilers.
   5017   # On the NeXT, cc -E runs the code through the compiler's parser,
   5018   # not just through cpp. "Syntax error" is here to catch this case.
   5019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5020 /* end confdefs.h.  */
   5021 #ifdef __STDC__
   5022 # include <limits.h>
   5023 #else
   5024 # include <assert.h>
   5025 #endif
   5026 		     Syntax error
   5027 _ACEOF
   5028 if ac_fn_c_try_cpp "$LINENO"; then :
   5029 
   5030 else
   5031   # Broken: fails on valid input.
   5032 continue
   5033 fi
   5034 rm -f conftest.err conftest.i conftest.$ac_ext
   5035 
   5036   # OK, works on sane cases.  Now check whether nonexistent headers
   5037   # can be detected and how.
   5038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5039 /* end confdefs.h.  */
   5040 #include <ac_nonexistent.h>
   5041 _ACEOF
   5042 if ac_fn_c_try_cpp "$LINENO"; then :
   5043   # Broken: success on invalid input.
   5044 continue
   5045 else
   5046   # Passes both tests.
   5047 ac_preproc_ok=:
   5048 break
   5049 fi
   5050 rm -f conftest.err conftest.i conftest.$ac_ext
   5051 
   5052 done
   5053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5054 rm -f conftest.i conftest.err conftest.$ac_ext
   5055 if $ac_preproc_ok; then :
   5056   break
   5057 fi
   5058 
   5059     done
   5060     ac_cv_prog_CPP=$CPP
   5061 
   5062 fi
   5063   CPP=$ac_cv_prog_CPP
   5064 else
   5065   ac_cv_prog_CPP=$CPP
   5066 fi
   5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   5068 $as_echo "$CPP" >&6; }
   5069 ac_preproc_ok=false
   5070 for ac_c_preproc_warn_flag in '' yes
   5071 do
   5072   # Use a header file that comes with gcc, so configuring glibc
   5073   # with a fresh cross-compiler works.
   5074   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5075   # <limits.h> exists even on freestanding compilers.
   5076   # On the NeXT, cc -E runs the code through the compiler's parser,
   5077   # not just through cpp. "Syntax error" is here to catch this case.
   5078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5079 /* end confdefs.h.  */
   5080 #ifdef __STDC__
   5081 # include <limits.h>
   5082 #else
   5083 # include <assert.h>
   5084 #endif
   5085 		     Syntax error
   5086 _ACEOF
   5087 if ac_fn_c_try_cpp "$LINENO"; then :
   5088 
   5089 else
   5090   # Broken: fails on valid input.
   5091 continue
   5092 fi
   5093 rm -f conftest.err conftest.i conftest.$ac_ext
   5094 
   5095   # OK, works on sane cases.  Now check whether nonexistent headers
   5096   # can be detected and how.
   5097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5098 /* end confdefs.h.  */
   5099 #include <ac_nonexistent.h>
   5100 _ACEOF
   5101 if ac_fn_c_try_cpp "$LINENO"; then :
   5102   # Broken: success on invalid input.
   5103 continue
   5104 else
   5105   # Passes both tests.
   5106 ac_preproc_ok=:
   5107 break
   5108 fi
   5109 rm -f conftest.err conftest.i conftest.$ac_ext
   5110 
   5111 done
   5112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   5113 rm -f conftest.i conftest.err conftest.$ac_ext
   5114 if $ac_preproc_ok; then :
   5115 
   5116 else
   5117   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   5118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   5119 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   5120 See \`config.log' for more details" "$LINENO" 5; }
   5121 fi
   5122 
   5123 ac_ext=c
   5124 ac_cpp='$CPP $CPPFLAGS'
   5125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5128 
   5129 
   5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   5131 $as_echo_n "checking for egrep... " >&6; }
   5132 if ${ac_cv_path_EGREP+:} false; then :
   5133   $as_echo_n "(cached) " >&6
   5134 else
   5135   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   5136    then ac_cv_path_EGREP="$GREP -E"
   5137    else
   5138      if test -z "$EGREP"; then
   5139   ac_path_EGREP_found=false
   5140   # Loop through the user's path and test for each of PROGNAME-LIST
   5141   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5142 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5143 do
   5144   IFS=$as_save_IFS
   5145   test -z "$as_dir" && as_dir=.
   5146     for ac_prog in egrep; do
   5147     for ac_exec_ext in '' $ac_executable_extensions; do
   5148       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   5149       as_fn_executable_p "$ac_path_EGREP" || continue
   5150 # Check for GNU ac_path_EGREP and select it if it is found.
   5151   # Check for GNU $ac_path_EGREP
   5152 case `"$ac_path_EGREP" --version 2>&1` in
   5153 *GNU*)
   5154   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   5155 *)
   5156   ac_count=0
   5157   $as_echo_n 0123456789 >"conftest.in"
   5158   while :
   5159   do
   5160     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5161     mv "conftest.tmp" "conftest.in"
   5162     cp "conftest.in" "conftest.nl"
   5163     $as_echo 'EGREP' >> "conftest.nl"
   5164     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5165     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5166     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5167     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   5168       # Best one so far, save it but keep looking for a better one
   5169       ac_cv_path_EGREP="$ac_path_EGREP"
   5170       ac_path_EGREP_max=$ac_count
   5171     fi
   5172     # 10*(2^10) chars as input seems more than enough
   5173     test $ac_count -gt 10 && break
   5174   done
   5175   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5176 esac
   5177 
   5178       $ac_path_EGREP_found && break 3
   5179     done
   5180   done
   5181   done
   5182 IFS=$as_save_IFS
   5183   if test -z "$ac_cv_path_EGREP"; then
   5184     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5185   fi
   5186 else
   5187   ac_cv_path_EGREP=$EGREP
   5188 fi
   5189 
   5190    fi
   5191 fi
   5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   5193 $as_echo "$ac_cv_path_EGREP" >&6; }
   5194  EGREP="$ac_cv_path_EGREP"
   5195 
   5196 
   5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   5198 $as_echo_n "checking for ANSI C header files... " >&6; }
   5199 if ${ac_cv_header_stdc+:} false; then :
   5200   $as_echo_n "(cached) " >&6
   5201 else
   5202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5203 /* end confdefs.h.  */
   5204 #include <stdlib.h>
   5205 #include <stdarg.h>
   5206 #include <string.h>
   5207 #include <float.h>
   5208 
   5209 int
   5210 main ()
   5211 {
   5212 
   5213   ;
   5214   return 0;
   5215 }
   5216 _ACEOF
   5217 if ac_fn_c_try_compile "$LINENO"; then :
   5218   ac_cv_header_stdc=yes
   5219 else
   5220   ac_cv_header_stdc=no
   5221 fi
   5222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5223 
   5224 if test $ac_cv_header_stdc = yes; then
   5225   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   5226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5227 /* end confdefs.h.  */
   5228 #include <string.h>
   5229 
   5230 _ACEOF
   5231 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5232   $EGREP "memchr" >/dev/null 2>&1; then :
   5233 
   5234 else
   5235   ac_cv_header_stdc=no
   5236 fi
   5237 rm -f conftest*
   5238 
   5239 fi
   5240 
   5241 if test $ac_cv_header_stdc = yes; then
   5242   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   5243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5244 /* end confdefs.h.  */
   5245 #include <stdlib.h>
   5246 
   5247 _ACEOF
   5248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5249   $EGREP "free" >/dev/null 2>&1; then :
   5250 
   5251 else
   5252   ac_cv_header_stdc=no
   5253 fi
   5254 rm -f conftest*
   5255 
   5256 fi
   5257 
   5258 if test $ac_cv_header_stdc = yes; then
   5259   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   5260   if test "$cross_compiling" = yes; then :
   5261   :
   5262 else
   5263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5264 /* end confdefs.h.  */
   5265 #include <ctype.h>
   5266 #include <stdlib.h>
   5267 #if ((' ' & 0x0FF) == 0x020)
   5268 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   5269 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   5270 #else
   5271 # define ISLOWER(c) \
   5272 		   (('a' <= (c) && (c) <= 'i') \
   5273 		     || ('j' <= (c) && (c) <= 'r') \
   5274 		     || ('s' <= (c) && (c) <= 'z'))
   5275 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   5276 #endif
   5277 
   5278 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   5279 int
   5280 main ()
   5281 {
   5282   int i;
   5283   for (i = 0; i < 256; i++)
   5284     if (XOR (islower (i), ISLOWER (i))
   5285 	|| toupper (i) != TOUPPER (i))
   5286       return 2;
   5287   return 0;
   5288 }
   5289 _ACEOF
   5290 if ac_fn_c_try_run "$LINENO"; then :
   5291 
   5292 else
   5293   ac_cv_header_stdc=no
   5294 fi
   5295 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   5296   conftest.$ac_objext conftest.beam conftest.$ac_ext
   5297 fi
   5298 
   5299 fi
   5300 fi
   5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   5302 $as_echo "$ac_cv_header_stdc" >&6; }
   5303 if test $ac_cv_header_stdc = yes; then
   5304 
   5305 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   5306 
   5307 fi
   5308 
   5309 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   5310 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   5311 		  inttypes.h stdint.h unistd.h
   5312 do :
   5313   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   5315 "
   5316 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5317   cat >>confdefs.h <<_ACEOF
   5318 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5319 _ACEOF
   5320 
   5321 fi
   5322 
   5323 done
   5324 
   5325 
   5326 
   5327   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   5328 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   5329   MINIX=yes
   5330 else
   5331   MINIX=
   5332 fi
   5333 
   5334 
   5335   if test "$MINIX" = yes; then
   5336 
   5337 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   5338 
   5339 
   5340 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   5341 
   5342 
   5343 $as_echo "#define _MINIX 1" >>confdefs.h
   5344 
   5345   fi
   5346 
   5347 
   5348   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   5349 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   5350 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   5351   $as_echo_n "(cached) " >&6
   5352 else
   5353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5354 /* end confdefs.h.  */
   5355 
   5356 #         define __EXTENSIONS__ 1
   5357           $ac_includes_default
   5358 int
   5359 main ()
   5360 {
   5361 
   5362   ;
   5363   return 0;
   5364 }
   5365 _ACEOF
   5366 if ac_fn_c_try_compile "$LINENO"; then :
   5367   ac_cv_safe_to_define___extensions__=yes
   5368 else
   5369   ac_cv_safe_to_define___extensions__=no
   5370 fi
   5371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5372 fi
   5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   5374 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   5375   test $ac_cv_safe_to_define___extensions__ = yes &&
   5376     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   5377 
   5378   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   5379 
   5380   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   5381 
   5382   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   5383 
   5384   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   5385 
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 case `pwd` in
   5392   *\ * | *\	*)
   5393     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   5394 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   5395 esac
   5396 
   5397 
   5398 
   5399 macro_version='2.2.7a'
   5400 macro_revision='1.3134'
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 ltmain="$ac_aux_dir/ltmain.sh"
   5415 
   5416 # Backslashify metacharacters that are still active within
   5417 # double-quoted strings.
   5418 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   5419 
   5420 # Same as above, but do not quote variable references.
   5421 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   5422 
   5423 # Sed substitution to delay expansion of an escaped shell variable in a
   5424 # double_quote_subst'ed string.
   5425 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   5426 
   5427 # Sed substitution to delay expansion of an escaped single quote.
   5428 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   5429 
   5430 # Sed substitution to avoid accidental globbing in evaled expressions
   5431 no_glob_subst='s/\*/\\\*/g'
   5432 
   5433 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5434 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   5435 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   5436 
   5437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   5438 $as_echo_n "checking how to print strings... " >&6; }
   5439 # Test print first, because it will be a builtin if present.
   5440 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
   5441    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   5442   ECHO='print -r --'
   5443 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   5444   ECHO='printf %s\n'
   5445 else
   5446   # Use this function as a fallback that always works.
   5447   func_fallback_echo ()
   5448   {
   5449     eval 'cat <<_LTECHO_EOF
   5450 $1
   5451 _LTECHO_EOF'
   5452   }
   5453   ECHO='func_fallback_echo'
   5454 fi
   5455 
   5456 # func_echo_all arg...
   5457 # Invoke $ECHO with all args, space-separated.
   5458 func_echo_all ()
   5459 {
   5460     $ECHO ""
   5461 }
   5462 
   5463 case "$ECHO" in
   5464   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   5465 $as_echo "printf" >&6; } ;;
   5466   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   5467 $as_echo "print -r" >&6; } ;;
   5468   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   5469 $as_echo "cat" >&6; } ;;
   5470 esac
   5471 
   5472 
   5473 
   5474 
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   5486 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   5487 if ${ac_cv_path_SED+:} false; then :
   5488   $as_echo_n "(cached) " >&6
   5489 else
   5490             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   5491      for ac_i in 1 2 3 4 5 6 7; do
   5492        ac_script="$ac_script$as_nl$ac_script"
   5493      done
   5494      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   5495      { ac_script=; unset ac_script;}
   5496      if test -z "$SED"; then
   5497   ac_path_SED_found=false
   5498   # Loop through the user's path and test for each of PROGNAME-LIST
   5499   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5500 for as_dir in $PATH
   5501 do
   5502   IFS=$as_save_IFS
   5503   test -z "$as_dir" && as_dir=.
   5504     for ac_prog in sed gsed; do
   5505     for ac_exec_ext in '' $ac_executable_extensions; do
   5506       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   5507       as_fn_executable_p "$ac_path_SED" || continue
   5508 # Check for GNU ac_path_SED and select it if it is found.
   5509   # Check for GNU $ac_path_SED
   5510 case `"$ac_path_SED" --version 2>&1` in
   5511 *GNU*)
   5512   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   5513 *)
   5514   ac_count=0
   5515   $as_echo_n 0123456789 >"conftest.in"
   5516   while :
   5517   do
   5518     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5519     mv "conftest.tmp" "conftest.in"
   5520     cp "conftest.in" "conftest.nl"
   5521     $as_echo '' >> "conftest.nl"
   5522     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5523     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5524     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5525     if test $ac_count -gt ${ac_path_SED_max-0}; then
   5526       # Best one so far, save it but keep looking for a better one
   5527       ac_cv_path_SED="$ac_path_SED"
   5528       ac_path_SED_max=$ac_count
   5529     fi
   5530     # 10*(2^10) chars as input seems more than enough
   5531     test $ac_count -gt 10 && break
   5532   done
   5533   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5534 esac
   5535 
   5536       $ac_path_SED_found && break 3
   5537     done
   5538   done
   5539   done
   5540 IFS=$as_save_IFS
   5541   if test -z "$ac_cv_path_SED"; then
   5542     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5543   fi
   5544 else
   5545   ac_cv_path_SED=$SED
   5546 fi
   5547 
   5548 fi
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5550 $as_echo "$ac_cv_path_SED" >&6; }
   5551  SED="$ac_cv_path_SED"
   5552   rm -f conftest.sed
   5553 
   5554 test -z "$SED" && SED=sed
   5555 Xsed="$SED -e 1s/^X//"
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   5568 $as_echo_n "checking for fgrep... " >&6; }
   5569 if ${ac_cv_path_FGREP+:} false; then :
   5570   $as_echo_n "(cached) " >&6
   5571 else
   5572   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   5573    then ac_cv_path_FGREP="$GREP -F"
   5574    else
   5575      if test -z "$FGREP"; then
   5576   ac_path_FGREP_found=false
   5577   # Loop through the user's path and test for each of PROGNAME-LIST
   5578   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5579 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   5580 do
   5581   IFS=$as_save_IFS
   5582   test -z "$as_dir" && as_dir=.
   5583     for ac_prog in fgrep; do
   5584     for ac_exec_ext in '' $ac_executable_extensions; do
   5585       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   5586       as_fn_executable_p "$ac_path_FGREP" || continue
   5587 # Check for GNU ac_path_FGREP and select it if it is found.
   5588   # Check for GNU $ac_path_FGREP
   5589 case `"$ac_path_FGREP" --version 2>&1` in
   5590 *GNU*)
   5591   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   5592 *)
   5593   ac_count=0
   5594   $as_echo_n 0123456789 >"conftest.in"
   5595   while :
   5596   do
   5597     cat "conftest.in" "conftest.in" >"conftest.tmp"
   5598     mv "conftest.tmp" "conftest.in"
   5599     cp "conftest.in" "conftest.nl"
   5600     $as_echo 'FGREP' >> "conftest.nl"
   5601     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   5602     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   5603     as_fn_arith $ac_count + 1 && ac_count=$as_val
   5604     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   5605       # Best one so far, save it but keep looking for a better one
   5606       ac_cv_path_FGREP="$ac_path_FGREP"
   5607       ac_path_FGREP_max=$ac_count
   5608     fi
   5609     # 10*(2^10) chars as input seems more than enough
   5610     test $ac_count -gt 10 && break
   5611   done
   5612   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   5613 esac
   5614 
   5615       $ac_path_FGREP_found && break 3
   5616     done
   5617   done
   5618   done
   5619 IFS=$as_save_IFS
   5620   if test -z "$ac_cv_path_FGREP"; then
   5621     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   5622   fi
   5623 else
   5624   ac_cv_path_FGREP=$FGREP
   5625 fi
   5626 
   5627    fi
   5628 fi
   5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   5630 $as_echo "$ac_cv_path_FGREP" >&6; }
   5631  FGREP="$ac_cv_path_FGREP"
   5632 
   5633 
   5634 test -z "$GREP" && GREP=grep
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 # Check whether --with-gnu-ld was given.
   5655 if test "${with_gnu_ld+set}" = set; then :
   5656   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   5657 else
   5658   with_gnu_ld=no
   5659 fi
   5660 
   5661 ac_prog=ld
   5662 if test "$GCC" = yes; then
   5663   # Check if gcc -print-prog-name=ld gives a path.
   5664   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   5665 $as_echo_n "checking for ld used by $CC... " >&6; }
   5666   case $host in
   5667   *-*-mingw*)
   5668     # gcc leaves a trailing carriage return which upsets mingw
   5669     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5670   *)
   5671     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5672   esac
   5673   case $ac_prog in
   5674     # Accept absolute paths.
   5675     [\\/]* | ?:[\\/]*)
   5676       re_direlt='/[^/][^/]*/\.\./'
   5677       # Canonicalize the pathname of ld
   5678       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5679       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5680 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5681       done
   5682       test -z "$LD" && LD="$ac_prog"
   5683       ;;
   5684   "")
   5685     # If it fails, then pretend we aren't using GCC.
   5686     ac_prog=ld
   5687     ;;
   5688   *)
   5689     # If it is relative, then search for the first ld in PATH.
   5690     with_gnu_ld=unknown
   5691     ;;
   5692   esac
   5693 elif test "$with_gnu_ld" = yes; then
   5694   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   5695 $as_echo_n "checking for GNU ld... " >&6; }
   5696 else
   5697   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   5698 $as_echo_n "checking for non-GNU ld... " >&6; }
   5699 fi
   5700 if ${lt_cv_path_LD+:} false; then :
   5701   $as_echo_n "(cached) " >&6
   5702 else
   5703   if test -z "$LD"; then
   5704   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5705   for ac_dir in $PATH; do
   5706     IFS="$lt_save_ifs"
   5707     test -z "$ac_dir" && ac_dir=.
   5708     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5709       lt_cv_path_LD="$ac_dir/$ac_prog"
   5710       # Check to see if the program is GNU ld.  I'd rather use --version,
   5711       # but apparently some variants of GNU ld only accept -v.
   5712       # Break only if it was the GNU/non-GNU ld that we prefer.
   5713       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5714       *GNU* | *'with BFD'*)
   5715 	test "$with_gnu_ld" != no && break
   5716 	;;
   5717       *)
   5718 	test "$with_gnu_ld" != yes && break
   5719 	;;
   5720       esac
   5721     fi
   5722   done
   5723   IFS="$lt_save_ifs"
   5724 else
   5725   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5726 fi
   5727 fi
   5728 
   5729 LD="$lt_cv_path_LD"
   5730 if test -n "$LD"; then
   5731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   5732 $as_echo "$LD" >&6; }
   5733 else
   5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5735 $as_echo "no" >&6; }
   5736 fi
   5737 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   5739 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   5740 if ${lt_cv_prog_gnu_ld+:} false; then :
   5741   $as_echo_n "(cached) " >&6
   5742 else
   5743   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5744 case `$LD -v 2>&1 </dev/null` in
   5745 *GNU* | *'with BFD'*)
   5746   lt_cv_prog_gnu_ld=yes
   5747   ;;
   5748 *)
   5749   lt_cv_prog_gnu_ld=no
   5750   ;;
   5751 esac
   5752 fi
   5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   5754 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   5755 with_gnu_ld=$lt_cv_prog_gnu_ld
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5766 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5767 if ${lt_cv_path_NM+:} false; then :
   5768   $as_echo_n "(cached) " >&6
   5769 else
   5770   if test -n "$NM"; then
   5771    # Let the user override the nm to test.
   5772    lt_nm_to_check="$NM"
   5773  else
   5774    lt_nm_to_check="${ac_tool_prefix}nm"
   5775    if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5776      lt_nm_to_check="$lt_nm_to_check nm"
   5777    fi
   5778  fi
   5779  for lt_tmp_nm in "$lt_nm_to_check"; do
   5780    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5781    for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5782      IFS="$lt_save_ifs"
   5783      test -z "$ac_dir" && ac_dir=.
   5784      # Strip out any user-provided options from the nm to test twice,
   5785      # the first time to test to see if nm (rather than its options) has
   5786      # an explicit path, the second time to yield a file which can be
   5787      # nm'ed itself.
   5788      tmp_nm_path="`$ECHO "$lt_tmp_nm" | sed 's, -.*$,,'`"
   5789      case "$tmp_nm_path" in
   5790      */*|*\\*) tmp_nm="$lt_tmp_nm";;
   5791      *) tmp_nm="$ac_dir/$lt_tmp_nm";;
   5792      esac
   5793      tmp_nm_to_nm="`$ECHO "$tmp_nm" | sed 's, -.*$,,'`"
   5794      if test -f "$tmp_nm_to_nm" || test -f "$tmp_nm_to_nm$ac_exeext" ; then
   5795        # Check to see if the nm accepts a BSD-compat flag.
   5796        # Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5797        #   nm: unknown option "B" ignored
   5798        case `"$tmp_nm" -B "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5799        *$tmp_nm*) lt_cv_path_NM="$tmp_nm -B"
   5800 	 break
   5801 	 ;;
   5802        *)
   5803 	 case `"$tmp_nm" -p "$tmp_nm_to_nm" 2>&1 | grep -v '^ *$' | sed '1q'` in
   5804 	 *$tmp_nm*)
   5805 	   lt_cv_path_NM="$tmp_nm -p"
   5806 	   break
   5807 	   ;;
   5808 	 *)
   5809 	   lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5810 	   continue # so that we can try to find one that supports BSD flags
   5811 	   ;;
   5812 	 esac
   5813 	 ;;
   5814        esac
   5815      fi
   5816    done
   5817    IFS="$lt_save_ifs"
   5818  done
   5819  : ${lt_cv_path_NM=no}
   5820 fi
   5821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5822 $as_echo "$lt_cv_path_NM" >&6; }
   5823 if test "$lt_cv_path_NM" != "no"; then
   5824   NM="$lt_cv_path_NM"
   5825 else
   5826   # Didn't find any BSD compatible name lister, look for dumpbin.
   5827   if test -n "$DUMPBIN"; then :
   5828     # Let the user override the test.
   5829   else
   5830     if test -n "$ac_tool_prefix"; then
   5831   for ac_prog in dumpbin "link -dump"
   5832   do
   5833     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5836 $as_echo_n "checking for $ac_word... " >&6; }
   5837 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5838   $as_echo_n "(cached) " >&6
   5839 else
   5840   if test -n "$DUMPBIN"; then
   5841   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5842 else
   5843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5844 for as_dir in $PATH
   5845 do
   5846   IFS=$as_save_IFS
   5847   test -z "$as_dir" && as_dir=.
   5848     for ac_exec_ext in '' $ac_executable_extensions; do
   5849   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5850     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5851     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5852     break 2
   5853   fi
   5854 done
   5855   done
   5856 IFS=$as_save_IFS
   5857 
   5858 fi
   5859 fi
   5860 DUMPBIN=$ac_cv_prog_DUMPBIN
   5861 if test -n "$DUMPBIN"; then
   5862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5863 $as_echo "$DUMPBIN" >&6; }
   5864 else
   5865   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5866 $as_echo "no" >&6; }
   5867 fi
   5868 
   5869 
   5870     test -n "$DUMPBIN" && break
   5871   done
   5872 fi
   5873 if test -z "$DUMPBIN"; then
   5874   ac_ct_DUMPBIN=$DUMPBIN
   5875   for ac_prog in dumpbin "link -dump"
   5876 do
   5877   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5878 set dummy $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_ac_ct_DUMPBIN+:} false; then :
   5882   $as_echo_n "(cached) " >&6
   5883 else
   5884   if test -n "$ac_ct_DUMPBIN"; then
   5885   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # 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_ac_ct_DUMPBIN="$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 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5905 if test -n "$ac_ct_DUMPBIN"; then
   5906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5907 $as_echo "$ac_ct_DUMPBIN" >&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 "$ac_ct_DUMPBIN" && break
   5915 done
   5916 
   5917   if test "x$ac_ct_DUMPBIN" = x; then
   5918     DUMPBIN=":"
   5919   else
   5920     case $cross_compiling:$ac_tool_warned in
   5921 yes:)
   5922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5924 ac_tool_warned=yes ;;
   5925 esac
   5926     DUMPBIN=$ac_ct_DUMPBIN
   5927   fi
   5928 fi
   5929 
   5930     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   5931     *COFF*)
   5932       DUMPBIN="$DUMPBIN -symbols"
   5933       ;;
   5934     *)
   5935       DUMPBIN=:
   5936       ;;
   5937     esac
   5938   fi
   5939 
   5940   if test "$DUMPBIN" != ":"; then
   5941     NM="$DUMPBIN"
   5942   fi
   5943 fi
   5944 test -z "$NM" && NM=nm
   5945 
   5946 
   5947 
   5948 
   5949 
   5950 
   5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5952 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5953 if ${lt_cv_nm_interface+:} false; then :
   5954   $as_echo_n "(cached) " >&6
   5955 else
   5956   lt_cv_nm_interface="BSD nm"
   5957   echo "int some_variable = 0;" > conftest.$ac_ext
   5958   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5959   (eval "$ac_compile" 2>conftest.err)
   5960   cat conftest.err >&5
   5961   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5962   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5963   cat conftest.err >&5
   5964   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5965   cat conftest.out >&5
   5966   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5967     lt_cv_nm_interface="MS dumpbin"
   5968   fi
   5969   rm -f conftest*
   5970 fi
   5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5972 $as_echo "$lt_cv_nm_interface" >&6; }
   5973 
   5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5975 $as_echo_n "checking whether ln -s works... " >&6; }
   5976 LN_S=$as_ln_s
   5977 if test "$LN_S" = "ln -s"; then
   5978   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5979 $as_echo "yes" >&6; }
   5980 else
   5981   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5982 $as_echo "no, using $LN_S" >&6; }
   5983 fi
   5984 
   5985 # find the maximum length of command line arguments
   5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5987 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5988 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5989   $as_echo_n "(cached) " >&6
   5990 else
   5991     i=0
   5992   teststring="ABCD"
   5993 
   5994   case $build_os in
   5995   msdosdjgpp*)
   5996     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5997     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5998     # during glob expansion).  Even if it were fixed, the result of this
   5999     # check would be larger than it should be.
   6000     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   6001     ;;
   6002 
   6003   gnu*)
   6004     # Under GNU Hurd, this test is not required because there is
   6005     # no limit to the length of command line arguments.
   6006     # Libtool will interpret -1 as no limit whatsoever
   6007     lt_cv_sys_max_cmd_len=-1;
   6008     ;;
   6009 
   6010   cygwin* | mingw* | cegcc*)
   6011     # On Win9x/ME, this test blows up -- it succeeds, but takes
   6012     # about 5 minutes as the teststring grows exponentially.
   6013     # Worse, since 9x/ME are not pre-emptively multitasking,
   6014     # you end up with a "frozen" computer, even though with patience
   6015     # the test eventually succeeds (with a max line length of 256k).
   6016     # Instead, let's just punt: use the minimum linelength reported by
   6017     # all of the supported platforms: 8192 (on NT/2K/XP).
   6018     lt_cv_sys_max_cmd_len=8192;
   6019     ;;
   6020 
   6021   mint*)
   6022     # On MiNT this can take a long time and run out of memory.
   6023     lt_cv_sys_max_cmd_len=8192;
   6024     ;;
   6025 
   6026   amigaos*)
   6027     # On AmigaOS with pdksh, this test takes hours, literally.
   6028     # So we just punt and use a minimum line length of 8192.
   6029     lt_cv_sys_max_cmd_len=8192;
   6030     ;;
   6031 
   6032   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   6033     # This has been around since 386BSD, at least.  Likely further.
   6034     if test -x /sbin/sysctl; then
   6035       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   6036     elif test -x /usr/sbin/sysctl; then
   6037       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   6038     else
   6039       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   6040     fi
   6041     # And add a safety zone
   6042     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6043     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6044     ;;
   6045 
   6046   interix*)
   6047     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   6048     lt_cv_sys_max_cmd_len=196608
   6049     ;;
   6050 
   6051   osf*)
   6052     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   6053     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   6054     # nice to cause kernel panics so lets avoid the loop below.
   6055     # First set a reasonable default.
   6056     lt_cv_sys_max_cmd_len=16384
   6057     #
   6058     if test -x /sbin/sysconfig; then
   6059       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   6060         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   6061       esac
   6062     fi
   6063     ;;
   6064   sco3.2v5*)
   6065     lt_cv_sys_max_cmd_len=102400
   6066     ;;
   6067   sysv5* | sco5v6* | sysv4.2uw2*)
   6068     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   6069     if test -n "$kargmax"; then
   6070       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   6071     else
   6072       lt_cv_sys_max_cmd_len=32768
   6073     fi
   6074     ;;
   6075   *)
   6076     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   6077     if test -n "$lt_cv_sys_max_cmd_len"; then
   6078       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   6079       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   6080     else
   6081       # Make teststring a little bigger before we do anything with it.
   6082       # a 1K string should be a reasonable start.
   6083       for i in 1 2 3 4 5 6 7 8 ; do
   6084         teststring=$teststring$teststring
   6085       done
   6086       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   6087       # If test is not a shell built-in, we'll probably end up computing a
   6088       # maximum length that is only half of the actual maximum length, but
   6089       # we can't tell.
   6090       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   6091 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   6092 	      test $i != 17 # 1/2 MB should be enough
   6093       do
   6094         i=`expr $i + 1`
   6095         teststring=$teststring$teststring
   6096       done
   6097       # Only check the string length outside the loop.
   6098       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   6099       teststring=
   6100       # Add a significant safety factor because C++ compilers can tack on
   6101       # massive amounts of additional arguments before passing them to the
   6102       # linker.  It appears as though 1/2 is a usable value.
   6103       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   6104     fi
   6105     ;;
   6106   esac
   6107 
   6108 fi
   6109 
   6110 if test -n $lt_cv_sys_max_cmd_len ; then
   6111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   6112 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   6113 else
   6114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   6115 $as_echo "none" >&6; }
   6116 fi
   6117 max_cmd_len=$lt_cv_sys_max_cmd_len
   6118 
   6119 
   6120 
   6121 
   6122 
   6123 
   6124 : ${CP="cp -f"}
   6125 : ${MV="mv -f"}
   6126 : ${RM="rm -f"}
   6127 
   6128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   6129 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   6130 # Try some XSI features
   6131 xsi_shell=no
   6132 ( _lt_dummy="a/b/c"
   6133   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   6134       = c,a/b,, \
   6135     && eval 'test $(( 1 + 1 )) -eq 2 \
   6136     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   6137   && xsi_shell=yes
   6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   6139 $as_echo "$xsi_shell" >&6; }
   6140 
   6141 
   6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   6143 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   6144 lt_shell_append=no
   6145 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   6146     >/dev/null 2>&1 \
   6147   && lt_shell_append=yes
   6148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   6149 $as_echo "$lt_shell_append" >&6; }
   6150 
   6151 
   6152 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   6153   lt_unset=unset
   6154 else
   6155   lt_unset=false
   6156 fi
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 # test EBCDIC or ASCII
   6163 case `echo X|tr X '\101'` in
   6164  A) # ASCII based system
   6165     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   6166   lt_SP2NL='tr \040 \012'
   6167   lt_NL2SP='tr \015\012 \040\040'
   6168   ;;
   6169  *) # EBCDIC based system
   6170   lt_SP2NL='tr \100 \n'
   6171   lt_NL2SP='tr \r\n \100\100'
   6172   ;;
   6173 esac
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 
   6182 
   6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   6184 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   6185 if ${lt_cv_ld_reload_flag+:} false; then :
   6186   $as_echo_n "(cached) " >&6
   6187 else
   6188   lt_cv_ld_reload_flag='-r'
   6189 fi
   6190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   6191 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   6192 reload_flag=$lt_cv_ld_reload_flag
   6193 case $reload_flag in
   6194 "" | " "*) ;;
   6195 *) reload_flag=" $reload_flag" ;;
   6196 esac
   6197 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6198 case $host_os in
   6199   darwin*)
   6200     if test "$GCC" = yes; then
   6201       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   6202     else
   6203       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   6204     fi
   6205     ;;
   6206 esac
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 if test -n "$ac_tool_prefix"; then
   6217   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   6218 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   6219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6220 $as_echo_n "checking for $ac_word... " >&6; }
   6221 if ${ac_cv_prog_OBJDUMP+:} false; then :
   6222   $as_echo_n "(cached) " >&6
   6223 else
   6224   if test -n "$OBJDUMP"; then
   6225   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   6226 else
   6227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6228 for as_dir in $PATH
   6229 do
   6230   IFS=$as_save_IFS
   6231   test -z "$as_dir" && as_dir=.
   6232     for ac_exec_ext in '' $ac_executable_extensions; do
   6233   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6234     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   6235     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6236     break 2
   6237   fi
   6238 done
   6239   done
   6240 IFS=$as_save_IFS
   6241 
   6242 fi
   6243 fi
   6244 OBJDUMP=$ac_cv_prog_OBJDUMP
   6245 if test -n "$OBJDUMP"; then
   6246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   6247 $as_echo "$OBJDUMP" >&6; }
   6248 else
   6249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6250 $as_echo "no" >&6; }
   6251 fi
   6252 
   6253 
   6254 fi
   6255 if test -z "$ac_cv_prog_OBJDUMP"; then
   6256   ac_ct_OBJDUMP=$OBJDUMP
   6257   # Extract the first word of "objdump", so it can be a program name with args.
   6258 set dummy objdump; ac_word=$2
   6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6260 $as_echo_n "checking for $ac_word... " >&6; }
   6261 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   6262   $as_echo_n "(cached) " >&6
   6263 else
   6264   if test -n "$ac_ct_OBJDUMP"; then
   6265   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   6266 else
   6267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6268 for as_dir in $PATH
   6269 do
   6270   IFS=$as_save_IFS
   6271   test -z "$as_dir" && as_dir=.
   6272     for ac_exec_ext in '' $ac_executable_extensions; do
   6273   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6274     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   6275     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6276     break 2
   6277   fi
   6278 done
   6279   done
   6280 IFS=$as_save_IFS
   6281 
   6282 fi
   6283 fi
   6284 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   6285 if test -n "$ac_ct_OBJDUMP"; then
   6286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   6287 $as_echo "$ac_ct_OBJDUMP" >&6; }
   6288 else
   6289   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6290 $as_echo "no" >&6; }
   6291 fi
   6292 
   6293   if test "x$ac_ct_OBJDUMP" = x; then
   6294     OBJDUMP="false"
   6295   else
   6296     case $cross_compiling:$ac_tool_warned in
   6297 yes:)
   6298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6300 ac_tool_warned=yes ;;
   6301 esac
   6302     OBJDUMP=$ac_ct_OBJDUMP
   6303   fi
   6304 else
   6305   OBJDUMP="$ac_cv_prog_OBJDUMP"
   6306 fi
   6307 
   6308 test -z "$OBJDUMP" && OBJDUMP=objdump
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   6319 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   6320 if ${lt_cv_deplibs_check_method+:} false; then :
   6321   $as_echo_n "(cached) " >&6
   6322 else
   6323   lt_cv_file_magic_cmd='$MAGIC_CMD'
   6324 lt_cv_file_magic_test_file=
   6325 lt_cv_deplibs_check_method='unknown'
   6326 # Need to set the preceding variable on all platforms that support
   6327 # interlibrary dependencies.
   6328 # 'none' -- dependencies not supported.
   6329 # `unknown' -- same as none, but documents that we really don't know.
   6330 # 'pass_all' -- all dependencies passed with no checks.
   6331 # 'test_compile' -- check by making test program.
   6332 # 'file_magic [[regex]]' -- check by looking for files in library path
   6333 # which responds to the $file_magic_cmd with a given extended regex.
   6334 # If you have `file' or equivalent on your system and you're not sure
   6335 # whether `pass_all' will *always* work, you probably want this one.
   6336 
   6337 case $host_os in
   6338 aix[4-9]*)
   6339   lt_cv_deplibs_check_method=pass_all
   6340   ;;
   6341 
   6342 beos*)
   6343   lt_cv_deplibs_check_method=pass_all
   6344   ;;
   6345 
   6346 bsdi[45]*)
   6347   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   6348   lt_cv_file_magic_cmd='/usr/bin/file -L'
   6349   lt_cv_file_magic_test_file=/shlib/libc.so
   6350   ;;
   6351 
   6352 cygwin*)
   6353   # func_win32_libid is a shell function defined in ltmain.sh
   6354   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6355   lt_cv_file_magic_cmd='func_win32_libid'
   6356   ;;
   6357 
   6358 mingw* | pw32*)
   6359   # Base MSYS/MinGW do not provide the 'file' command needed by
   6360   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   6361   # unless we find 'file', for example because we are cross-compiling.
   6362   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   6363   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   6364     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   6365     lt_cv_file_magic_cmd='func_win32_libid'
   6366   else
   6367     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   6368     lt_cv_file_magic_cmd='$OBJDUMP -f'
   6369   fi
   6370   ;;
   6371 
   6372 cegcc*)
   6373   # use the weaker test based on 'objdump'. See mingw*.
   6374   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   6375   lt_cv_file_magic_cmd='$OBJDUMP -f'
   6376   ;;
   6377 
   6378 darwin* | rhapsody*)
   6379   lt_cv_deplibs_check_method=pass_all
   6380   ;;
   6381 
   6382 freebsd* | dragonfly*)
   6383   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6384     case $host_cpu in
   6385     i*86 )
   6386       # Not sure whether the presence of OpenBSD here was a mistake.
   6387       # Let's accept both of them until this is cleared up.
   6388       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   6389       lt_cv_file_magic_cmd=/usr/bin/file
   6390       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   6391       ;;
   6392     esac
   6393   else
   6394     lt_cv_deplibs_check_method=pass_all
   6395   fi
   6396   ;;
   6397 
   6398 gnu*)
   6399   lt_cv_deplibs_check_method=pass_all
   6400   ;;
   6401 
   6402 haiku*)
   6403   lt_cv_deplibs_check_method=pass_all
   6404   ;;
   6405 
   6406 hpux10.20* | hpux11*)
   6407   lt_cv_file_magic_cmd=/usr/bin/file
   6408   case $host_cpu in
   6409   ia64*)
   6410     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   6411     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   6412     ;;
   6413   hppa*64*)
   6414     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]'
   6415     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   6416     ;;
   6417   *)
   6418     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   6419     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   6420     ;;
   6421   esac
   6422   ;;
   6423 
   6424 interix[3-9]*)
   6425   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   6426   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   6427   ;;
   6428 
   6429 irix5* | irix6* | nonstopux*)
   6430   case $LD in
   6431   *-32|*"-32 ") libmagic=32-bit;;
   6432   *-n32|*"-n32 ") libmagic=N32;;
   6433   *-64|*"-64 ") libmagic=64-bit;;
   6434   *) libmagic=never-match;;
   6435   esac
   6436   lt_cv_deplibs_check_method=pass_all
   6437   ;;
   6438 
   6439 # This must be Linux ELF.
   6440 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   6441   lt_cv_deplibs_check_method=pass_all
   6442   ;;
   6443 
   6444 netbsd*)
   6445   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   6446     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6447   else
   6448     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   6449   fi
   6450   ;;
   6451 
   6452 newos6*)
   6453   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   6454   lt_cv_file_magic_cmd=/usr/bin/file
   6455   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   6456   ;;
   6457 
   6458 *nto* | *qnx*)
   6459   lt_cv_deplibs_check_method=pass_all
   6460   ;;
   6461 
   6462 openbsd*)
   6463   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   6464     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   6465   else
   6466     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   6467   fi
   6468   ;;
   6469 
   6470 osf3* | osf4* | osf5*)
   6471   lt_cv_deplibs_check_method=pass_all
   6472   ;;
   6473 
   6474 rdos*)
   6475   lt_cv_deplibs_check_method=pass_all
   6476   ;;
   6477 
   6478 solaris*)
   6479   lt_cv_deplibs_check_method=pass_all
   6480   ;;
   6481 
   6482 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   6483   lt_cv_deplibs_check_method=pass_all
   6484   ;;
   6485 
   6486 sysv4 | sysv4.3*)
   6487   case $host_vendor in
   6488   motorola)
   6489     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]'
   6490     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   6491     ;;
   6492   ncr)
   6493     lt_cv_deplibs_check_method=pass_all
   6494     ;;
   6495   sequent)
   6496     lt_cv_file_magic_cmd='/bin/file'
   6497     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   6498     ;;
   6499   sni)
   6500     lt_cv_file_magic_cmd='/bin/file'
   6501     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   6502     lt_cv_file_magic_test_file=/lib/libc.so
   6503     ;;
   6504   siemens)
   6505     lt_cv_deplibs_check_method=pass_all
   6506     ;;
   6507   pc)
   6508     lt_cv_deplibs_check_method=pass_all
   6509     ;;
   6510   esac
   6511   ;;
   6512 
   6513 tpf*)
   6514   lt_cv_deplibs_check_method=pass_all
   6515   ;;
   6516 esac
   6517 
   6518 fi
   6519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   6520 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   6521 file_magic_cmd=$lt_cv_file_magic_cmd
   6522 deplibs_check_method=$lt_cv_deplibs_check_method
   6523 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   6524 
   6525 
   6526 
   6527 
   6528 
   6529 
   6530 
   6531 
   6532 
   6533 
   6534 
   6535 
   6536 plugin_option=
   6537 plugin_names="liblto_plugin.so liblto_plugin-0.dll cyglto_plugin-0.dll"
   6538 for plugin in $plugin_names; do
   6539   plugin_so=`${CC} ${CFLAGS} --print-prog-name $plugin`
   6540   if test x$plugin_so = x$plugin; then
   6541     plugin_so=`${CC} ${CFLAGS} --print-file-name $plugin`
   6542   fi
   6543   if test x$plugin_so != x$plugin; then
   6544     plugin_option="--plugin $plugin_so"
   6545     break
   6546   fi
   6547 done
   6548 
   6549 if test -n "$ac_tool_prefix"; then
   6550   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6551 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6553 $as_echo_n "checking for $ac_word... " >&6; }
   6554 if ${ac_cv_prog_AR+:} false; then :
   6555   $as_echo_n "(cached) " >&6
   6556 else
   6557   if test -n "$AR"; then
   6558   ac_cv_prog_AR="$AR" # Let the user override the test.
   6559 else
   6560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6561 for as_dir in $PATH
   6562 do
   6563   IFS=$as_save_IFS
   6564   test -z "$as_dir" && as_dir=.
   6565     for ac_exec_ext in '' $ac_executable_extensions; do
   6566   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6567     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6568     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6569     break 2
   6570   fi
   6571 done
   6572   done
   6573 IFS=$as_save_IFS
   6574 
   6575 fi
   6576 fi
   6577 AR=$ac_cv_prog_AR
   6578 if test -n "$AR"; then
   6579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6580 $as_echo "$AR" >&6; }
   6581 else
   6582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6583 $as_echo "no" >&6; }
   6584 fi
   6585 
   6586 
   6587 fi
   6588 if test -z "$ac_cv_prog_AR"; then
   6589   ac_ct_AR=$AR
   6590   # Extract the first word of "ar", so it can be a program name with args.
   6591 set dummy ar; 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_ac_ct_AR+:} false; then :
   6595   $as_echo_n "(cached) " >&6
   6596 else
   6597   if test -n "$ac_ct_AR"; then
   6598   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # 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_ac_ct_AR="ar"
   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 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6618 if test -n "$ac_ct_AR"; then
   6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6620 $as_echo "$ac_ct_AR" >&6; }
   6621 else
   6622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6623 $as_echo "no" >&6; }
   6624 fi
   6625 
   6626   if test "x$ac_ct_AR" = x; then
   6627     AR="false"
   6628   else
   6629     case $cross_compiling:$ac_tool_warned in
   6630 yes:)
   6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6633 ac_tool_warned=yes ;;
   6634 esac
   6635     AR=$ac_ct_AR
   6636   fi
   6637 else
   6638   AR="$ac_cv_prog_AR"
   6639 fi
   6640 
   6641 test -z "$AR" && AR=ar
   6642 if test -n "$plugin_option"; then
   6643   if $AR --help 2>&1 | grep -q "\--plugin"; then
   6644     touch conftest.c
   6645     $AR $plugin_option rc conftest.a conftest.c
   6646     if test "$?" != 0; then
   6647       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Failed: $AR $plugin_option rc" >&5
   6648 $as_echo "$as_me: WARNING: Failed: $AR $plugin_option rc" >&2;}
   6649     else
   6650       AR="$AR $plugin_option"
   6651     fi
   6652     rm -f conftest.*
   6653   fi
   6654 fi
   6655 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 if test -n "$ac_tool_prefix"; then
   6668   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6669 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6671 $as_echo_n "checking for $ac_word... " >&6; }
   6672 if ${ac_cv_prog_STRIP+:} false; then :
   6673   $as_echo_n "(cached) " >&6
   6674 else
   6675   if test -n "$STRIP"; then
   6676   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6677 else
   6678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6679 for as_dir in $PATH
   6680 do
   6681   IFS=$as_save_IFS
   6682   test -z "$as_dir" && as_dir=.
   6683     for ac_exec_ext in '' $ac_executable_extensions; do
   6684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6685     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6687     break 2
   6688   fi
   6689 done
   6690   done
   6691 IFS=$as_save_IFS
   6692 
   6693 fi
   6694 fi
   6695 STRIP=$ac_cv_prog_STRIP
   6696 if test -n "$STRIP"; then
   6697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6698 $as_echo "$STRIP" >&6; }
   6699 else
   6700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6701 $as_echo "no" >&6; }
   6702 fi
   6703 
   6704 
   6705 fi
   6706 if test -z "$ac_cv_prog_STRIP"; then
   6707   ac_ct_STRIP=$STRIP
   6708   # Extract the first word of "strip", so it can be a program name with args.
   6709 set dummy strip; ac_word=$2
   6710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6711 $as_echo_n "checking for $ac_word... " >&6; }
   6712 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6713   $as_echo_n "(cached) " >&6
   6714 else
   6715   if test -n "$ac_ct_STRIP"; then
   6716   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6717 else
   6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6719 for as_dir in $PATH
   6720 do
   6721   IFS=$as_save_IFS
   6722   test -z "$as_dir" && as_dir=.
   6723     for ac_exec_ext in '' $ac_executable_extensions; do
   6724   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6725     ac_cv_prog_ac_ct_STRIP="strip"
   6726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6727     break 2
   6728   fi
   6729 done
   6730   done
   6731 IFS=$as_save_IFS
   6732 
   6733 fi
   6734 fi
   6735 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6736 if test -n "$ac_ct_STRIP"; then
   6737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6738 $as_echo "$ac_ct_STRIP" >&6; }
   6739 else
   6740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6741 $as_echo "no" >&6; }
   6742 fi
   6743 
   6744   if test "x$ac_ct_STRIP" = x; then
   6745     STRIP=":"
   6746   else
   6747     case $cross_compiling:$ac_tool_warned in
   6748 yes:)
   6749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6750 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6751 ac_tool_warned=yes ;;
   6752 esac
   6753     STRIP=$ac_ct_STRIP
   6754   fi
   6755 else
   6756   STRIP="$ac_cv_prog_STRIP"
   6757 fi
   6758 
   6759 test -z "$STRIP" && STRIP=:
   6760 
   6761 
   6762 
   6763 
   6764 
   6765 
   6766 if test -n "$ac_tool_prefix"; then
   6767   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6768 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6770 $as_echo_n "checking for $ac_word... " >&6; }
   6771 if ${ac_cv_prog_RANLIB+:} false; then :
   6772   $as_echo_n "(cached) " >&6
   6773 else
   6774   if test -n "$RANLIB"; then
   6775   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6776 else
   6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6778 for as_dir in $PATH
   6779 do
   6780   IFS=$as_save_IFS
   6781   test -z "$as_dir" && as_dir=.
   6782     for ac_exec_ext in '' $ac_executable_extensions; do
   6783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6784     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6786     break 2
   6787   fi
   6788 done
   6789   done
   6790 IFS=$as_save_IFS
   6791 
   6792 fi
   6793 fi
   6794 RANLIB=$ac_cv_prog_RANLIB
   6795 if test -n "$RANLIB"; then
   6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6797 $as_echo "$RANLIB" >&6; }
   6798 else
   6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6800 $as_echo "no" >&6; }
   6801 fi
   6802 
   6803 
   6804 fi
   6805 if test -z "$ac_cv_prog_RANLIB"; then
   6806   ac_ct_RANLIB=$RANLIB
   6807   # Extract the first word of "ranlib", so it can be a program name with args.
   6808 set dummy ranlib; ac_word=$2
   6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6810 $as_echo_n "checking for $ac_word... " >&6; }
   6811 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814   if test -n "$ac_ct_RANLIB"; then
   6815   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6816 else
   6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6818 for as_dir in $PATH
   6819 do
   6820   IFS=$as_save_IFS
   6821   test -z "$as_dir" && as_dir=.
   6822     for ac_exec_ext in '' $ac_executable_extensions; do
   6823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6824     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6826     break 2
   6827   fi
   6828 done
   6829   done
   6830 IFS=$as_save_IFS
   6831 
   6832 fi
   6833 fi
   6834 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6835 if test -n "$ac_ct_RANLIB"; then
   6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6837 $as_echo "$ac_ct_RANLIB" >&6; }
   6838 else
   6839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6840 $as_echo "no" >&6; }
   6841 fi
   6842 
   6843   if test "x$ac_ct_RANLIB" = x; then
   6844     RANLIB=":"
   6845   else
   6846     case $cross_compiling:$ac_tool_warned in
   6847 yes:)
   6848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6850 ac_tool_warned=yes ;;
   6851 esac
   6852     RANLIB=$ac_ct_RANLIB
   6853   fi
   6854 else
   6855   RANLIB="$ac_cv_prog_RANLIB"
   6856 fi
   6857 
   6858 test -z "$RANLIB" && RANLIB=:
   6859 if test -n "$plugin_option" && test "$RANLIB" != ":"; then
   6860   if $RANLIB --help 2>&1 | grep -q "\--plugin"; then
   6861     RANLIB="$RANLIB $plugin_option"
   6862   fi
   6863 fi
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 # Determine commands to create old-style static archives.
   6871 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6872 old_postinstall_cmds='chmod 644 $oldlib'
   6873 old_postuninstall_cmds=
   6874 
   6875 if test -n "$RANLIB"; then
   6876   case $host_os in
   6877   openbsd*)
   6878     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6879     ;;
   6880   *)
   6881     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6882     ;;
   6883   esac
   6884   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6885 fi
   6886 
   6887 case $host_os in
   6888   darwin*)
   6889     lock_old_archive_extraction=yes ;;
   6890   *)
   6891     lock_old_archive_extraction=no ;;
   6892 esac
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 # If no C compiler was specified, use CC.
   6933 LTCC=${LTCC-"$CC"}
   6934 
   6935 # If no C compiler flags were specified, use CFLAGS.
   6936 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6937 
   6938 # Allow CC to be a program name with arguments.
   6939 compiler=$CC
   6940 
   6941 
   6942 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6944 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6945 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6946   $as_echo_n "(cached) " >&6
   6947 else
   6948 
   6949 # These are sane defaults that work on at least a few old systems.
   6950 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6951 
   6952 # Character class describing NM global symbol codes.
   6953 symcode='[BCDEGRST]'
   6954 
   6955 # Regexp to match symbols that can be accessed directly from C.
   6956 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6957 
   6958 # Define system-specific variables.
   6959 case $host_os in
   6960 aix*)
   6961   symcode='[BCDT]'
   6962   ;;
   6963 cygwin* | mingw* | pw32* | cegcc*)
   6964   symcode='[ABCDGISTW]'
   6965   ;;
   6966 hpux*)
   6967   if test "$host_cpu" = ia64; then
   6968     symcode='[ABCDEGRST]'
   6969   fi
   6970   ;;
   6971 irix* | nonstopux*)
   6972   symcode='[BCDEGRST]'
   6973   ;;
   6974 osf*)
   6975   symcode='[BCDEGQRST]'
   6976   ;;
   6977 solaris*)
   6978   symcode='[BCDRT]'
   6979   ;;
   6980 sco3.2v5*)
   6981   symcode='[DT]'
   6982   ;;
   6983 sysv4.2uw2*)
   6984   symcode='[DT]'
   6985   ;;
   6986 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6987   symcode='[ABDT]'
   6988   ;;
   6989 sysv4)
   6990   symcode='[DFNSTU]'
   6991   ;;
   6992 esac
   6993 
   6994 # If we're using GNU nm, then use its standard symbol codes.
   6995 case `$NM -V 2>&1` in
   6996 *GNU* | *'with BFD'*)
   6997   symcode='[ABCDGIRSTW]' ;;
   6998 esac
   6999 
   7000 # Transform an extracted symbol line into a proper C declaration.
   7001 # Some systems (esp. on ia64) link data and code symbols differently,
   7002 # so use this general approach.
   7003 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   7004 
   7005 # Transform an extracted symbol line into symbol name and symbol address
   7006 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   7007 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'"
   7008 
   7009 # Handle CRLF in mingw tool chain
   7010 opt_cr=
   7011 case $build_os in
   7012 mingw*)
   7013   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   7014   ;;
   7015 esac
   7016 
   7017 # Try without a prefix underscore, then with it.
   7018 for ac_symprfx in "" "_"; do
   7019 
   7020   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   7021   symxfrm="\\1 $ac_symprfx\\2 \\2"
   7022 
   7023   # Write the raw and C identifiers.
   7024   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   7025     # Fake it for dumpbin and say T for any non-static function
   7026     # and D for any global variable.
   7027     # Also find C++ and __fastcall symbols from MSVC++,
   7028     # which start with @ or ?.
   7029     lt_cv_sys_global_symbol_pipe="$AWK '"\
   7030 "     {last_section=section; section=\$ 3};"\
   7031 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   7032 "     \$ 0!~/External *\|/{next};"\
   7033 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   7034 "     {if(hide[section]) next};"\
   7035 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   7036 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   7037 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   7038 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   7039 "     ' prfx=^$ac_symprfx"
   7040   else
   7041     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   7042   fi
   7043 
   7044   # Check to see that the pipe works correctly.
   7045   pipe_works=no
   7046 
   7047   rm -f conftest*
   7048   cat > conftest.$ac_ext <<_LT_EOF
   7049 #ifdef __cplusplus
   7050 extern "C" {
   7051 #endif
   7052 char nm_test_var;
   7053 void nm_test_func(void);
   7054 void nm_test_func(void){}
   7055 #ifdef __cplusplus
   7056 }
   7057 #endif
   7058 int main(){nm_test_var='a';nm_test_func();return(0);}
   7059 _LT_EOF
   7060 
   7061   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7062   (eval $ac_compile) 2>&5
   7063   ac_status=$?
   7064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7065   test $ac_status = 0; }; then
   7066     # Now try to grab the symbols.
   7067     nlist=conftest.nm
   7068     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   7069   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   7070   ac_status=$?
   7071   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7072   test $ac_status = 0; } && test -s "$nlist"; then
   7073       # Try sorting and uniquifying the output.
   7074       if sort "$nlist" | uniq > "$nlist"T; then
   7075 	mv -f "$nlist"T "$nlist"
   7076       else
   7077 	rm -f "$nlist"T
   7078       fi
   7079 
   7080       # Make sure that we snagged all the symbols we need.
   7081       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   7082 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   7083 	  cat <<_LT_EOF > conftest.$ac_ext
   7084 #ifdef __cplusplus
   7085 extern "C" {
   7086 #endif
   7087 
   7088 _LT_EOF
   7089 	  # Now generate the symbol file.
   7090 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   7091 
   7092 	  cat <<_LT_EOF >> conftest.$ac_ext
   7093 
   7094 /* The mapping between symbol names and symbols.  */
   7095 const struct {
   7096   const char *name;
   7097   void       *address;
   7098 }
   7099 lt__PROGRAM__LTX_preloaded_symbols[] =
   7100 {
   7101   { "@PROGRAM@", (void *) 0 },
   7102 _LT_EOF
   7103 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   7104 	  cat <<\_LT_EOF >> conftest.$ac_ext
   7105   {0, (void *) 0}
   7106 };
   7107 
   7108 /* This works around a problem in FreeBSD linker */
   7109 #ifdef FREEBSD_WORKAROUND
   7110 static const void *lt_preloaded_setup() {
   7111   return lt__PROGRAM__LTX_preloaded_symbols;
   7112 }
   7113 #endif
   7114 
   7115 #ifdef __cplusplus
   7116 }
   7117 #endif
   7118 _LT_EOF
   7119 	  # Now try linking the two files.
   7120 	  mv conftest.$ac_objext conftstm.$ac_objext
   7121 	  lt_save_LIBS="$LIBS"
   7122 	  lt_save_CFLAGS="$CFLAGS"
   7123 	  LIBS="conftstm.$ac_objext"
   7124 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   7125 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   7126   (eval $ac_link) 2>&5
   7127   ac_status=$?
   7128   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7129   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   7130 	    pipe_works=yes
   7131 	  fi
   7132 	  LIBS="$lt_save_LIBS"
   7133 	  CFLAGS="$lt_save_CFLAGS"
   7134 	else
   7135 	  echo "cannot find nm_test_func in $nlist" >&5
   7136 	fi
   7137       else
   7138 	echo "cannot find nm_test_var in $nlist" >&5
   7139       fi
   7140     else
   7141       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   7142     fi
   7143   else
   7144     echo "$progname: failed program was:" >&5
   7145     cat conftest.$ac_ext >&5
   7146   fi
   7147   rm -rf conftest* conftst*
   7148 
   7149   # Do not use the global_symbol_pipe unless it works.
   7150   if test "$pipe_works" = yes; then
   7151     break
   7152   else
   7153     lt_cv_sys_global_symbol_pipe=
   7154   fi
   7155 done
   7156 
   7157 fi
   7158 
   7159 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   7160   lt_cv_sys_global_symbol_to_cdecl=
   7161 fi
   7162 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   7163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   7164 $as_echo "failed" >&6; }
   7165 else
   7166   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   7167 $as_echo "ok" >&6; }
   7168 fi
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 
   7179 
   7180 
   7181 
   7182 
   7183 
   7184 
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 # Check whether --enable-libtool-lock was given.
   7192 if test "${enable_libtool_lock+set}" = set; then :
   7193   enableval=$enable_libtool_lock;
   7194 fi
   7195 
   7196 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   7197 
   7198 # Some flags need to be propagated to the compiler or linker for good
   7199 # libtool support.
   7200 case $host in
   7201 ia64-*-hpux*)
   7202   # Find out which ABI we are using.
   7203   echo 'int i;' > conftest.$ac_ext
   7204   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7205   (eval $ac_compile) 2>&5
   7206   ac_status=$?
   7207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7208   test $ac_status = 0; }; then
   7209     case `/usr/bin/file conftest.$ac_objext` in
   7210       *ELF-32*)
   7211 	HPUX_IA64_MODE="32"
   7212 	;;
   7213       *ELF-64*)
   7214 	HPUX_IA64_MODE="64"
   7215 	;;
   7216     esac
   7217   fi
   7218   rm -rf conftest*
   7219   ;;
   7220 *-*-irix6*)
   7221   # Find out which ABI we are using.
   7222   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   7223   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7224   (eval $ac_compile) 2>&5
   7225   ac_status=$?
   7226   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7227   test $ac_status = 0; }; then
   7228     if test "$lt_cv_prog_gnu_ld" = yes; then
   7229       case `/usr/bin/file conftest.$ac_objext` in
   7230 	*32-bit*)
   7231 	  LD="${LD-ld} -melf32bsmip"
   7232 	  ;;
   7233 	*N32*)
   7234 	  LD="${LD-ld} -melf32bmipn32"
   7235 	  ;;
   7236 	*64-bit*)
   7237 	  LD="${LD-ld} -melf64bmip"
   7238 	;;
   7239       esac
   7240     else
   7241       case `/usr/bin/file conftest.$ac_objext` in
   7242 	*32-bit*)
   7243 	  LD="${LD-ld} -32"
   7244 	  ;;
   7245 	*N32*)
   7246 	  LD="${LD-ld} -n32"
   7247 	  ;;
   7248 	*64-bit*)
   7249 	  LD="${LD-ld} -64"
   7250 	  ;;
   7251       esac
   7252     fi
   7253   fi
   7254   rm -rf conftest*
   7255   ;;
   7256 
   7257 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   7258 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   7259   # Find out which ABI we are using.
   7260   echo 'int i;' > conftest.$ac_ext
   7261   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7262   (eval $ac_compile) 2>&5
   7263   ac_status=$?
   7264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7265   test $ac_status = 0; }; then
   7266     case `/usr/bin/file conftest.o` in
   7267       *32-bit*)
   7268 	case $host in
   7269 	  x86_64-*kfreebsd*-gnu)
   7270 	    LD="${LD-ld} -m elf_i386_fbsd"
   7271 	    ;;
   7272 	  x86_64-*linux*)
   7273 	    case `/usr/bin/file conftest.o` in
   7274 	      *x86-64*)
   7275 		LD="${LD-ld} -m elf32_x86_64"
   7276 		;;
   7277 	      *)
   7278 		LD="${LD-ld} -m elf_i386"
   7279 		;;
   7280 	    esac
   7281 	    ;;
   7282 	  powerpc64le-*linux*)
   7283 	    LD="${LD-ld} -m elf32lppclinux"
   7284 	    ;;
   7285 	  powerpc64-*linux*)
   7286 	    LD="${LD-ld} -m elf32ppclinux"
   7287 	    ;;
   7288 	  s390x-*linux*)
   7289 	    LD="${LD-ld} -m elf_s390"
   7290 	    ;;
   7291 	  sparc64-*linux*)
   7292 	    LD="${LD-ld} -m elf32_sparc"
   7293 	    ;;
   7294 	esac
   7295 	;;
   7296       *64-bit*)
   7297 	case $host in
   7298 	  x86_64-*kfreebsd*-gnu)
   7299 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7300 	    ;;
   7301 	  x86_64-*linux*)
   7302 	    LD="${LD-ld} -m elf_x86_64"
   7303 	    ;;
   7304 	  powerpcle-*linux*)
   7305 	    LD="${LD-ld} -m elf64lppc"
   7306 	    ;;
   7307 	  powerpc-*linux*)
   7308 	    LD="${LD-ld} -m elf64ppc"
   7309 	    ;;
   7310 	  s390*-*linux*|s390*-*tpf*)
   7311 	    LD="${LD-ld} -m elf64_s390"
   7312 	    ;;
   7313 	  sparc*-*linux*)
   7314 	    LD="${LD-ld} -m elf64_sparc"
   7315 	    ;;
   7316 	esac
   7317 	;;
   7318     esac
   7319   fi
   7320   rm -rf conftest*
   7321   ;;
   7322 
   7323 *-*-sco3.2v5*)
   7324   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7325   SAVE_CFLAGS="$CFLAGS"
   7326   CFLAGS="$CFLAGS -belf"
   7327   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7328 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7329 if ${lt_cv_cc_needs_belf+:} false; then :
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   ac_ext=c
   7333 ac_cpp='$CPP $CPPFLAGS'
   7334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7337 
   7338      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7339 /* end confdefs.h.  */
   7340 
   7341 int
   7342 main ()
   7343 {
   7344 
   7345   ;
   7346   return 0;
   7347 }
   7348 _ACEOF
   7349 if ac_fn_c_try_link "$LINENO"; then :
   7350   lt_cv_cc_needs_belf=yes
   7351 else
   7352   lt_cv_cc_needs_belf=no
   7353 fi
   7354 rm -f core conftest.err conftest.$ac_objext \
   7355     conftest$ac_exeext conftest.$ac_ext
   7356      ac_ext=c
   7357 ac_cpp='$CPP $CPPFLAGS'
   7358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7361 
   7362 fi
   7363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7364 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7365   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   7366     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7367     CFLAGS="$SAVE_CFLAGS"
   7368   fi
   7369   ;;
   7370 sparc*-*solaris*)
   7371   # Find out which ABI we are using.
   7372   echo 'int i;' > conftest.$ac_ext
   7373   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7374   (eval $ac_compile) 2>&5
   7375   ac_status=$?
   7376   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7377   test $ac_status = 0; }; then
   7378     case `/usr/bin/file conftest.o` in
   7379     *64-bit*)
   7380       case $lt_cv_prog_gnu_ld in
   7381       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   7382       *)
   7383 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7384 	  LD="${LD-ld} -64"
   7385 	fi
   7386 	;;
   7387       esac
   7388       ;;
   7389     esac
   7390   fi
   7391   rm -rf conftest*
   7392   ;;
   7393 esac
   7394 
   7395 need_locks="$enable_libtool_lock"
   7396 
   7397 
   7398   case $host_os in
   7399     rhapsody* | darwin*)
   7400     if test -n "$ac_tool_prefix"; then
   7401   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7402 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7404 $as_echo_n "checking for $ac_word... " >&6; }
   7405 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7406   $as_echo_n "(cached) " >&6
   7407 else
   7408   if test -n "$DSYMUTIL"; then
   7409   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7410 else
   7411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7412 for as_dir in $PATH
   7413 do
   7414   IFS=$as_save_IFS
   7415   test -z "$as_dir" && as_dir=.
   7416     for ac_exec_ext in '' $ac_executable_extensions; do
   7417   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7418     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7419     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7420     break 2
   7421   fi
   7422 done
   7423   done
   7424 IFS=$as_save_IFS
   7425 
   7426 fi
   7427 fi
   7428 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7429 if test -n "$DSYMUTIL"; then
   7430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7431 $as_echo "$DSYMUTIL" >&6; }
   7432 else
   7433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7434 $as_echo "no" >&6; }
   7435 fi
   7436 
   7437 
   7438 fi
   7439 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7440   ac_ct_DSYMUTIL=$DSYMUTIL
   7441   # Extract the first word of "dsymutil", so it can be a program name with args.
   7442 set dummy dsymutil; ac_word=$2
   7443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7444 $as_echo_n "checking for $ac_word... " >&6; }
   7445 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7446   $as_echo_n "(cached) " >&6
   7447 else
   7448   if test -n "$ac_ct_DSYMUTIL"; then
   7449   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7450 else
   7451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7452 for as_dir in $PATH
   7453 do
   7454   IFS=$as_save_IFS
   7455   test -z "$as_dir" && as_dir=.
   7456     for ac_exec_ext in '' $ac_executable_extensions; do
   7457   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7458     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7460     break 2
   7461   fi
   7462 done
   7463   done
   7464 IFS=$as_save_IFS
   7465 
   7466 fi
   7467 fi
   7468 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7469 if test -n "$ac_ct_DSYMUTIL"; then
   7470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7471 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7472 else
   7473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7474 $as_echo "no" >&6; }
   7475 fi
   7476 
   7477   if test "x$ac_ct_DSYMUTIL" = x; then
   7478     DSYMUTIL=":"
   7479   else
   7480     case $cross_compiling:$ac_tool_warned in
   7481 yes:)
   7482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7484 ac_tool_warned=yes ;;
   7485 esac
   7486     DSYMUTIL=$ac_ct_DSYMUTIL
   7487   fi
   7488 else
   7489   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7490 fi
   7491 
   7492     if test -n "$ac_tool_prefix"; then
   7493   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7494 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7496 $as_echo_n "checking for $ac_word... " >&6; }
   7497 if ${ac_cv_prog_NMEDIT+:} false; then :
   7498   $as_echo_n "(cached) " >&6
   7499 else
   7500   if test -n "$NMEDIT"; then
   7501   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7502 else
   7503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7504 for as_dir in $PATH
   7505 do
   7506   IFS=$as_save_IFS
   7507   test -z "$as_dir" && as_dir=.
   7508     for ac_exec_ext in '' $ac_executable_extensions; do
   7509   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7510     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7511     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7512     break 2
   7513   fi
   7514 done
   7515   done
   7516 IFS=$as_save_IFS
   7517 
   7518 fi
   7519 fi
   7520 NMEDIT=$ac_cv_prog_NMEDIT
   7521 if test -n "$NMEDIT"; then
   7522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7523 $as_echo "$NMEDIT" >&6; }
   7524 else
   7525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7526 $as_echo "no" >&6; }
   7527 fi
   7528 
   7529 
   7530 fi
   7531 if test -z "$ac_cv_prog_NMEDIT"; then
   7532   ac_ct_NMEDIT=$NMEDIT
   7533   # Extract the first word of "nmedit", so it can be a program name with args.
   7534 set dummy nmedit; ac_word=$2
   7535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7536 $as_echo_n "checking for $ac_word... " >&6; }
   7537 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7538   $as_echo_n "(cached) " >&6
   7539 else
   7540   if test -n "$ac_ct_NMEDIT"; then
   7541   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7542 else
   7543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7544 for as_dir in $PATH
   7545 do
   7546   IFS=$as_save_IFS
   7547   test -z "$as_dir" && as_dir=.
   7548     for ac_exec_ext in '' $ac_executable_extensions; do
   7549   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7550     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7552     break 2
   7553   fi
   7554 done
   7555   done
   7556 IFS=$as_save_IFS
   7557 
   7558 fi
   7559 fi
   7560 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7561 if test -n "$ac_ct_NMEDIT"; then
   7562   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7563 $as_echo "$ac_ct_NMEDIT" >&6; }
   7564 else
   7565   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7566 $as_echo "no" >&6; }
   7567 fi
   7568 
   7569   if test "x$ac_ct_NMEDIT" = x; then
   7570     NMEDIT=":"
   7571   else
   7572     case $cross_compiling:$ac_tool_warned in
   7573 yes:)
   7574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7576 ac_tool_warned=yes ;;
   7577 esac
   7578     NMEDIT=$ac_ct_NMEDIT
   7579   fi
   7580 else
   7581   NMEDIT="$ac_cv_prog_NMEDIT"
   7582 fi
   7583 
   7584     if test -n "$ac_tool_prefix"; then
   7585   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7586 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7588 $as_echo_n "checking for $ac_word... " >&6; }
   7589 if ${ac_cv_prog_LIPO+:} false; then :
   7590   $as_echo_n "(cached) " >&6
   7591 else
   7592   if test -n "$LIPO"; then
   7593   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7594 else
   7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7596 for as_dir in $PATH
   7597 do
   7598   IFS=$as_save_IFS
   7599   test -z "$as_dir" && as_dir=.
   7600     for ac_exec_ext in '' $ac_executable_extensions; do
   7601   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7602     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7604     break 2
   7605   fi
   7606 done
   7607   done
   7608 IFS=$as_save_IFS
   7609 
   7610 fi
   7611 fi
   7612 LIPO=$ac_cv_prog_LIPO
   7613 if test -n "$LIPO"; then
   7614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7615 $as_echo "$LIPO" >&6; }
   7616 else
   7617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7618 $as_echo "no" >&6; }
   7619 fi
   7620 
   7621 
   7622 fi
   7623 if test -z "$ac_cv_prog_LIPO"; then
   7624   ac_ct_LIPO=$LIPO
   7625   # Extract the first word of "lipo", so it can be a program name with args.
   7626 set dummy lipo; ac_word=$2
   7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7628 $as_echo_n "checking for $ac_word... " >&6; }
   7629 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7630   $as_echo_n "(cached) " >&6
   7631 else
   7632   if test -n "$ac_ct_LIPO"; then
   7633   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7634 else
   7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7636 for as_dir in $PATH
   7637 do
   7638   IFS=$as_save_IFS
   7639   test -z "$as_dir" && as_dir=.
   7640     for ac_exec_ext in '' $ac_executable_extensions; do
   7641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7642     ac_cv_prog_ac_ct_LIPO="lipo"
   7643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7644     break 2
   7645   fi
   7646 done
   7647   done
   7648 IFS=$as_save_IFS
   7649 
   7650 fi
   7651 fi
   7652 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7653 if test -n "$ac_ct_LIPO"; then
   7654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7655 $as_echo "$ac_ct_LIPO" >&6; }
   7656 else
   7657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7658 $as_echo "no" >&6; }
   7659 fi
   7660 
   7661   if test "x$ac_ct_LIPO" = x; then
   7662     LIPO=":"
   7663   else
   7664     case $cross_compiling:$ac_tool_warned in
   7665 yes:)
   7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7668 ac_tool_warned=yes ;;
   7669 esac
   7670     LIPO=$ac_ct_LIPO
   7671   fi
   7672 else
   7673   LIPO="$ac_cv_prog_LIPO"
   7674 fi
   7675 
   7676     if test -n "$ac_tool_prefix"; then
   7677   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7678 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7680 $as_echo_n "checking for $ac_word... " >&6; }
   7681 if ${ac_cv_prog_OTOOL+:} false; then :
   7682   $as_echo_n "(cached) " >&6
   7683 else
   7684   if test -n "$OTOOL"; then
   7685   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7686 else
   7687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7688 for as_dir in $PATH
   7689 do
   7690   IFS=$as_save_IFS
   7691   test -z "$as_dir" && as_dir=.
   7692     for ac_exec_ext in '' $ac_executable_extensions; do
   7693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7694     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7696     break 2
   7697   fi
   7698 done
   7699   done
   7700 IFS=$as_save_IFS
   7701 
   7702 fi
   7703 fi
   7704 OTOOL=$ac_cv_prog_OTOOL
   7705 if test -n "$OTOOL"; then
   7706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7707 $as_echo "$OTOOL" >&6; }
   7708 else
   7709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7710 $as_echo "no" >&6; }
   7711 fi
   7712 
   7713 
   7714 fi
   7715 if test -z "$ac_cv_prog_OTOOL"; then
   7716   ac_ct_OTOOL=$OTOOL
   7717   # Extract the first word of "otool", so it can be a program name with args.
   7718 set dummy otool; ac_word=$2
   7719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7720 $as_echo_n "checking for $ac_word... " >&6; }
   7721 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7722   $as_echo_n "(cached) " >&6
   7723 else
   7724   if test -n "$ac_ct_OTOOL"; then
   7725   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7726 else
   7727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7728 for as_dir in $PATH
   7729 do
   7730   IFS=$as_save_IFS
   7731   test -z "$as_dir" && as_dir=.
   7732     for ac_exec_ext in '' $ac_executable_extensions; do
   7733   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7734     ac_cv_prog_ac_ct_OTOOL="otool"
   7735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7736     break 2
   7737   fi
   7738 done
   7739   done
   7740 IFS=$as_save_IFS
   7741 
   7742 fi
   7743 fi
   7744 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7745 if test -n "$ac_ct_OTOOL"; then
   7746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7747 $as_echo "$ac_ct_OTOOL" >&6; }
   7748 else
   7749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7750 $as_echo "no" >&6; }
   7751 fi
   7752 
   7753   if test "x$ac_ct_OTOOL" = x; then
   7754     OTOOL=":"
   7755   else
   7756     case $cross_compiling:$ac_tool_warned in
   7757 yes:)
   7758 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7759 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7760 ac_tool_warned=yes ;;
   7761 esac
   7762     OTOOL=$ac_ct_OTOOL
   7763   fi
   7764 else
   7765   OTOOL="$ac_cv_prog_OTOOL"
   7766 fi
   7767 
   7768     if test -n "$ac_tool_prefix"; then
   7769   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7770 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7772 $as_echo_n "checking for $ac_word... " >&6; }
   7773 if ${ac_cv_prog_OTOOL64+:} false; then :
   7774   $as_echo_n "(cached) " >&6
   7775 else
   7776   if test -n "$OTOOL64"; then
   7777   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7778 else
   7779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7780 for as_dir in $PATH
   7781 do
   7782   IFS=$as_save_IFS
   7783   test -z "$as_dir" && as_dir=.
   7784     for ac_exec_ext in '' $ac_executable_extensions; do
   7785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7786     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7788     break 2
   7789   fi
   7790 done
   7791   done
   7792 IFS=$as_save_IFS
   7793 
   7794 fi
   7795 fi
   7796 OTOOL64=$ac_cv_prog_OTOOL64
   7797 if test -n "$OTOOL64"; then
   7798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7799 $as_echo "$OTOOL64" >&6; }
   7800 else
   7801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7802 $as_echo "no" >&6; }
   7803 fi
   7804 
   7805 
   7806 fi
   7807 if test -z "$ac_cv_prog_OTOOL64"; then
   7808   ac_ct_OTOOL64=$OTOOL64
   7809   # Extract the first word of "otool64", so it can be a program name with args.
   7810 set dummy otool64; ac_word=$2
   7811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7812 $as_echo_n "checking for $ac_word... " >&6; }
   7813 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7814   $as_echo_n "(cached) " >&6
   7815 else
   7816   if test -n "$ac_ct_OTOOL64"; then
   7817   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7818 else
   7819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7820 for as_dir in $PATH
   7821 do
   7822   IFS=$as_save_IFS
   7823   test -z "$as_dir" && as_dir=.
   7824     for ac_exec_ext in '' $ac_executable_extensions; do
   7825   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7826     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7827     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7828     break 2
   7829   fi
   7830 done
   7831   done
   7832 IFS=$as_save_IFS
   7833 
   7834 fi
   7835 fi
   7836 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7837 if test -n "$ac_ct_OTOOL64"; then
   7838   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7839 $as_echo "$ac_ct_OTOOL64" >&6; }
   7840 else
   7841   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7842 $as_echo "no" >&6; }
   7843 fi
   7844 
   7845   if test "x$ac_ct_OTOOL64" = x; then
   7846     OTOOL64=":"
   7847   else
   7848     case $cross_compiling:$ac_tool_warned in
   7849 yes:)
   7850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7852 ac_tool_warned=yes ;;
   7853 esac
   7854     OTOOL64=$ac_ct_OTOOL64
   7855   fi
   7856 else
   7857   OTOOL64="$ac_cv_prog_OTOOL64"
   7858 fi
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7887 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7888 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7889   $as_echo_n "(cached) " >&6
   7890 else
   7891   lt_cv_apple_cc_single_mod=no
   7892       if test -z "${LT_MULTI_MODULE}"; then
   7893 	# By default we will add the -single_module flag. You can override
   7894 	# by either setting the environment variable LT_MULTI_MODULE
   7895 	# non-empty at configure time, or by adding -multi_module to the
   7896 	# link flags.
   7897 	rm -rf libconftest.dylib*
   7898 	echo "int foo(void){return 1;}" > conftest.c
   7899 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7900 -dynamiclib -Wl,-single_module conftest.c" >&5
   7901 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7902 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7903         _lt_result=$?
   7904 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   7905 	  lt_cv_apple_cc_single_mod=yes
   7906 	else
   7907 	  cat conftest.err >&5
   7908 	fi
   7909 	rm -rf libconftest.dylib*
   7910 	rm -f conftest.*
   7911       fi
   7912 fi
   7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7914 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7915     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7916 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7917 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7918   $as_echo_n "(cached) " >&6
   7919 else
   7920   lt_cv_ld_exported_symbols_list=no
   7921       save_LDFLAGS=$LDFLAGS
   7922       echo "_main" > conftest.sym
   7923       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7924       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7925 /* end confdefs.h.  */
   7926 
   7927 int
   7928 main ()
   7929 {
   7930 
   7931   ;
   7932   return 0;
   7933 }
   7934 _ACEOF
   7935 if ac_fn_c_try_link "$LINENO"; then :
   7936   lt_cv_ld_exported_symbols_list=yes
   7937 else
   7938   lt_cv_ld_exported_symbols_list=no
   7939 fi
   7940 rm -f core conftest.err conftest.$ac_objext \
   7941     conftest$ac_exeext conftest.$ac_ext
   7942 	LDFLAGS="$save_LDFLAGS"
   7943 
   7944 fi
   7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7946 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7947     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7948 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7949 if ${lt_cv_ld_force_load+:} false; then :
   7950   $as_echo_n "(cached) " >&6
   7951 else
   7952   lt_cv_ld_force_load=no
   7953       cat > conftest.c << _LT_EOF
   7954 int forced_loaded() { return 2;}
   7955 _LT_EOF
   7956       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7957       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7958       echo "$AR cru libconftest.a conftest.o" >&5
   7959       $AR cru libconftest.a conftest.o 2>&5
   7960       cat > conftest.c << _LT_EOF
   7961 int main() { return 0;}
   7962 _LT_EOF
   7963       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7964       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7965       _lt_result=$?
   7966       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7967 	lt_cv_ld_force_load=yes
   7968       else
   7969 	cat conftest.err >&5
   7970       fi
   7971         rm -f conftest.err libconftest.a conftest conftest.c
   7972         rm -rf conftest.dSYM
   7973 
   7974 fi
   7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7976 $as_echo "$lt_cv_ld_force_load" >&6; }
   7977     case $host_os in
   7978     rhapsody* | darwin1.[012])
   7979       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7980     darwin1.*)
   7981       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7982     darwin*) # darwin 5.x on
   7983       # if running on 10.5 or later, the deployment target defaults
   7984       # to the OS version, if on x86, and 10.4, the deployment
   7985       # target defaults to 10.4. Don't you love it?
   7986       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7987 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7988 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7989 	10.[012][,.]*)
   7990 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7991 	10.*)
   7992 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7993       esac
   7994     ;;
   7995   esac
   7996     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7997       _lt_dar_single_mod='$single_module'
   7998     fi
   7999     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   8000       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   8001     else
   8002       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8003     fi
   8004     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   8005       _lt_dsymutil='~$DSYMUTIL $lib || :'
   8006     else
   8007       _lt_dsymutil=
   8008     fi
   8009     ;;
   8010   esac
   8011 
   8012 for ac_header in dlfcn.h
   8013 do :
   8014   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   8015 "
   8016 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   8017   cat >>confdefs.h <<_ACEOF
   8018 #define HAVE_DLFCN_H 1
   8019 _ACEOF
   8020 
   8021 fi
   8022 
   8023 done
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 # Set options
   8031 
   8032 
   8033 
   8034         enable_dlopen=no
   8035 
   8036 
   8037   enable_win32_dll=no
   8038 
   8039 
   8040             # Check whether --enable-shared was given.
   8041 if test "${enable_shared+set}" = set; then :
   8042   enableval=$enable_shared; p=${PACKAGE-default}
   8043     case $enableval in
   8044     yes) enable_shared=yes ;;
   8045     no) enable_shared=no ;;
   8046     *)
   8047       enable_shared=no
   8048       # Look at the argument we got.  We use all the common list separators.
   8049       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8050       for pkg in $enableval; do
   8051 	IFS="$lt_save_ifs"
   8052 	if test "X$pkg" = "X$p"; then
   8053 	  enable_shared=yes
   8054 	fi
   8055       done
   8056       IFS="$lt_save_ifs"
   8057       ;;
   8058     esac
   8059 else
   8060   enable_shared=yes
   8061 fi
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071   # Check whether --enable-static was given.
   8072 if test "${enable_static+set}" = set; then :
   8073   enableval=$enable_static; p=${PACKAGE-default}
   8074     case $enableval in
   8075     yes) enable_static=yes ;;
   8076     no) enable_static=no ;;
   8077     *)
   8078      enable_static=no
   8079       # Look at the argument we got.  We use all the common list separators.
   8080       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8081       for pkg in $enableval; do
   8082 	IFS="$lt_save_ifs"
   8083 	if test "X$pkg" = "X$p"; then
   8084 	  enable_static=yes
   8085 	fi
   8086       done
   8087       IFS="$lt_save_ifs"
   8088       ;;
   8089     esac
   8090 else
   8091   enable_static=yes
   8092 fi
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 
   8102 
   8103 # Check whether --with-pic was given.
   8104 if test "${with_pic+set}" = set; then :
   8105   withval=$with_pic; pic_mode="$withval"
   8106 else
   8107   pic_mode=default
   8108 fi
   8109 
   8110 
   8111 test -z "$pic_mode" && pic_mode=default
   8112 
   8113 
   8114 
   8115 
   8116 
   8117 
   8118 
   8119   # Check whether --enable-fast-install was given.
   8120 if test "${enable_fast_install+set}" = set; then :
   8121   enableval=$enable_fast_install; p=${PACKAGE-default}
   8122     case $enableval in
   8123     yes) enable_fast_install=yes ;;
   8124     no) enable_fast_install=no ;;
   8125     *)
   8126       enable_fast_install=no
   8127       # Look at the argument we got.  We use all the common list separators.
   8128       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   8129       for pkg in $enableval; do
   8130 	IFS="$lt_save_ifs"
   8131 	if test "X$pkg" = "X$p"; then
   8132 	  enable_fast_install=yes
   8133 	fi
   8134       done
   8135       IFS="$lt_save_ifs"
   8136       ;;
   8137     esac
   8138 else
   8139   enable_fast_install=yes
   8140 fi
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 # This can be used to rebuild libtool when needed
   8153 LIBTOOL_DEPS="$ltmain"
   8154 
   8155 # Always use our own libtool.
   8156 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 
   8176 
   8177 
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 test -z "$LN_S" && LN_S="ln -s"
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 
   8194 
   8195 
   8196 
   8197 
   8198 if test -n "${ZSH_VERSION+set}" ; then
   8199    setopt NO_GLOB_SUBST
   8200 fi
   8201 
   8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8203 $as_echo_n "checking for objdir... " >&6; }
   8204 if ${lt_cv_objdir+:} false; then :
   8205   $as_echo_n "(cached) " >&6
   8206 else
   8207   rm -f .libs 2>/dev/null
   8208 mkdir .libs 2>/dev/null
   8209 if test -d .libs; then
   8210   lt_cv_objdir=.libs
   8211 else
   8212   # MS-DOS does not allow filenames that begin with a dot.
   8213   lt_cv_objdir=_libs
   8214 fi
   8215 rmdir .libs 2>/dev/null
   8216 fi
   8217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8218 $as_echo "$lt_cv_objdir" >&6; }
   8219 objdir=$lt_cv_objdir
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 cat >>confdefs.h <<_ACEOF
   8226 #define LT_OBJDIR "$lt_cv_objdir/"
   8227 _ACEOF
   8228 
   8229 
   8230 
   8231 
   8232 case $host_os in
   8233 aix3*)
   8234   # AIX sometimes has problems with the GCC collect2 program.  For some
   8235   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8236   # vanish in a puff of smoke.
   8237   if test "X${COLLECT_NAMES+set}" != Xset; then
   8238     COLLECT_NAMES=
   8239     export COLLECT_NAMES
   8240   fi
   8241   ;;
   8242 esac
   8243 
   8244 # Global variables:
   8245 ofile=libtool
   8246 can_build_shared=yes
   8247 
   8248 # All known linkers require a `.a' archive for static linking (except MSVC,
   8249 # which needs '.lib').
   8250 libext=a
   8251 
   8252 with_gnu_ld="$lt_cv_prog_gnu_ld"
   8253 
   8254 old_CC="$CC"
   8255 old_CFLAGS="$CFLAGS"
   8256 
   8257 # Set sane defaults for various variables
   8258 test -z "$CC" && CC=cc
   8259 test -z "$LTCC" && LTCC=$CC
   8260 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8261 test -z "$LD" && LD=ld
   8262 test -z "$ac_objext" && ac_objext=o
   8263 
   8264 for cc_temp in $compiler""; do
   8265   case $cc_temp in
   8266     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   8267     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   8268     \-*) ;;
   8269     *) break;;
   8270   esac
   8271 done
   8272 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   8273 
   8274 
   8275 # Only perform the check for file, if the check method requires it
   8276 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8277 case $deplibs_check_method in
   8278 file_magic*)
   8279   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8280     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8281 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8282 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8283   $as_echo_n "(cached) " >&6
   8284 else
   8285   case $MAGIC_CMD in
   8286 [\\/*] |  ?:[\\/]*)
   8287   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8288   ;;
   8289 *)
   8290   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8291   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8292   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8293   for ac_dir in $ac_dummy; do
   8294     IFS="$lt_save_ifs"
   8295     test -z "$ac_dir" && ac_dir=.
   8296     if test -f $ac_dir/${ac_tool_prefix}file; then
   8297       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   8298       if test -n "$file_magic_test_file"; then
   8299 	case $deplibs_check_method in
   8300 	"file_magic "*)
   8301 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8302 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8303 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8304 	    $EGREP "$file_magic_regex" > /dev/null; then
   8305 	    :
   8306 	  else
   8307 	    cat <<_LT_EOF 1>&2
   8308 
   8309 *** Warning: the command libtool uses to detect shared libraries,
   8310 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8311 *** The result is that libtool may fail to recognize shared libraries
   8312 *** as such.  This will affect the creation of libtool libraries that
   8313 *** depend on shared libraries, but programs linked with such libtool
   8314 *** libraries will work regardless of this problem.  Nevertheless, you
   8315 *** may want to report the problem to your system manager and/or to
   8316 *** bug-libtool@gnu.org
   8317 
   8318 _LT_EOF
   8319 	  fi ;;
   8320 	esac
   8321       fi
   8322       break
   8323     fi
   8324   done
   8325   IFS="$lt_save_ifs"
   8326   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8327   ;;
   8328 esac
   8329 fi
   8330 
   8331 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8332 if test -n "$MAGIC_CMD"; then
   8333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8334 $as_echo "$MAGIC_CMD" >&6; }
   8335 else
   8336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8337 $as_echo "no" >&6; }
   8338 fi
   8339 
   8340 
   8341 
   8342 
   8343 
   8344 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8345   if test -n "$ac_tool_prefix"; then
   8346     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8347 $as_echo_n "checking for file... " >&6; }
   8348 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8349   $as_echo_n "(cached) " >&6
   8350 else
   8351   case $MAGIC_CMD in
   8352 [\\/*] |  ?:[\\/]*)
   8353   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   8354   ;;
   8355 *)
   8356   lt_save_MAGIC_CMD="$MAGIC_CMD"
   8357   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   8358   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8359   for ac_dir in $ac_dummy; do
   8360     IFS="$lt_save_ifs"
   8361     test -z "$ac_dir" && ac_dir=.
   8362     if test -f $ac_dir/file; then
   8363       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   8364       if test -n "$file_magic_test_file"; then
   8365 	case $deplibs_check_method in
   8366 	"file_magic "*)
   8367 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8368 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8369 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8370 	    $EGREP "$file_magic_regex" > /dev/null; then
   8371 	    :
   8372 	  else
   8373 	    cat <<_LT_EOF 1>&2
   8374 
   8375 *** Warning: the command libtool uses to detect shared libraries,
   8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8377 *** The result is that libtool may fail to recognize shared libraries
   8378 *** as such.  This will affect the creation of libtool libraries that
   8379 *** depend on shared libraries, but programs linked with such libtool
   8380 *** libraries will work regardless of this problem.  Nevertheless, you
   8381 *** may want to report the problem to your system manager and/or to
   8382 *** bug-libtool@gnu.org
   8383 
   8384 _LT_EOF
   8385 	  fi ;;
   8386 	esac
   8387       fi
   8388       break
   8389     fi
   8390   done
   8391   IFS="$lt_save_ifs"
   8392   MAGIC_CMD="$lt_save_MAGIC_CMD"
   8393   ;;
   8394 esac
   8395 fi
   8396 
   8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   8398 if test -n "$MAGIC_CMD"; then
   8399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8400 $as_echo "$MAGIC_CMD" >&6; }
   8401 else
   8402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8403 $as_echo "no" >&6; }
   8404 fi
   8405 
   8406 
   8407   else
   8408     MAGIC_CMD=:
   8409   fi
   8410 fi
   8411 
   8412   fi
   8413   ;;
   8414 esac
   8415 
   8416 # Use C for the default configuration in the libtool script
   8417 
   8418 lt_save_CC="$CC"
   8419 ac_ext=c
   8420 ac_cpp='$CPP $CPPFLAGS'
   8421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8424 
   8425 
   8426 # Source file extension for C test sources.
   8427 ac_ext=c
   8428 
   8429 # Object file extension for compiled C test sources.
   8430 objext=o
   8431 objext=$objext
   8432 
   8433 # Code to be used in simple compile tests
   8434 lt_simple_compile_test_code="int some_variable = 0;"
   8435 
   8436 # Code to be used in simple link tests
   8437 lt_simple_link_test_code='int main(){return(0);}'
   8438 
   8439 
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 # If no C compiler was specified, use CC.
   8446 LTCC=${LTCC-"$CC"}
   8447 
   8448 # If no C compiler flags were specified, use CFLAGS.
   8449 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8450 
   8451 # Allow CC to be a program name with arguments.
   8452 compiler=$CC
   8453 
   8454 # Save the default compiler, since it gets overwritten when the other
   8455 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8456 compiler_DEFAULT=$CC
   8457 
   8458 # save warnings/boilerplate of simple test code
   8459 ac_outfile=conftest.$ac_objext
   8460 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8461 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8462 _lt_compiler_boilerplate=`cat conftest.err`
   8463 $RM conftest*
   8464 
   8465 ac_outfile=conftest.$ac_objext
   8466 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8467 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8468 _lt_linker_boilerplate=`cat conftest.err`
   8469 $RM -r conftest*
   8470 
   8471 
   8472 ## CAVEAT EMPTOR:
   8473 ## There is no encapsulation within the following macros, do not change
   8474 ## the running order or otherwise move them around unless you know exactly
   8475 ## what you are doing...
   8476 if test -n "$compiler"; then
   8477 
   8478 lt_prog_compiler_no_builtin_flag=
   8479 
   8480 if test "$GCC" = yes; then
   8481   case $cc_basename in
   8482   nvcc*)
   8483     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8484   *)
   8485     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8486   esac
   8487 
   8488   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8489 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8490 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8491   $as_echo_n "(cached) " >&6
   8492 else
   8493   lt_cv_prog_compiler_rtti_exceptions=no
   8494    ac_outfile=conftest.$ac_objext
   8495    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8496    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8497    # Insert the option either (1) after the last *FLAGS variable, or
   8498    # (2) before a word containing "conftest.", or (3) at the end.
   8499    # Note that $ac_compile itself does not contain backslashes and begins
   8500    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8501    # The option is referenced via a variable to avoid confusing sed.
   8502    lt_compile=`echo "$ac_compile" | $SED \
   8503    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8504    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8505    -e 's:$: $lt_compiler_flag:'`
   8506    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8507    (eval "$lt_compile" 2>conftest.err)
   8508    ac_status=$?
   8509    cat conftest.err >&5
   8510    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8511    if (exit $ac_status) && test -s "$ac_outfile"; then
   8512      # The compiler can only warn and ignore the option if not recognized
   8513      # So say no if there are warnings other than the usual output.
   8514      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8515      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8516      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8517        lt_cv_prog_compiler_rtti_exceptions=yes
   8518      fi
   8519    fi
   8520    $RM conftest*
   8521 
   8522 fi
   8523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8524 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8525 
   8526 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8527     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8528 else
   8529     :
   8530 fi
   8531 
   8532 fi
   8533 
   8534 
   8535 
   8536 
   8537 
   8538 
   8539   lt_prog_compiler_wl=
   8540 lt_prog_compiler_pic=
   8541 lt_prog_compiler_static=
   8542 
   8543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8544 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8545 
   8546   if test "$GCC" = yes; then
   8547     lt_prog_compiler_wl='-Wl,'
   8548     lt_prog_compiler_static='-static'
   8549 
   8550     case $host_os in
   8551       aix*)
   8552       # All AIX code is PIC.
   8553       if test "$host_cpu" = ia64; then
   8554 	# AIX 5 now supports IA64 processor
   8555 	lt_prog_compiler_static='-Bstatic'
   8556       fi
   8557       lt_prog_compiler_pic='-fPIC'
   8558       ;;
   8559 
   8560     amigaos*)
   8561       case $host_cpu in
   8562       powerpc)
   8563             # see comment about AmigaOS4 .so support
   8564             lt_prog_compiler_pic='-fPIC'
   8565         ;;
   8566       m68k)
   8567             # FIXME: we need at least 68020 code to build shared libraries, but
   8568             # adding the `-m68020' flag to GCC prevents building anything better,
   8569             # like `-m68040'.
   8570             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8571         ;;
   8572       esac
   8573       ;;
   8574 
   8575     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8576       # PIC is the default for these OSes.
   8577       ;;
   8578 
   8579     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8580       # This hack is so that the source file can tell whether it is being
   8581       # built for inclusion in a dll (and should export symbols for example).
   8582       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8583       # (--disable-auto-import) libraries
   8584       lt_prog_compiler_pic='-DDLL_EXPORT'
   8585       ;;
   8586 
   8587     darwin* | rhapsody*)
   8588       # PIC is the default on this platform
   8589       # Common symbols not allowed in MH_DYLIB files
   8590       lt_prog_compiler_pic='-fno-common'
   8591       ;;
   8592 
   8593     haiku*)
   8594       # PIC is the default for Haiku.
   8595       # The "-static" flag exists, but is broken.
   8596       lt_prog_compiler_static=
   8597       ;;
   8598 
   8599     hpux*)
   8600       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8601       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8602       # sets the default TLS model and affects inlining.
   8603       case $host_cpu in
   8604       hppa*64*)
   8605 	# +Z the default
   8606 	;;
   8607       *)
   8608 	lt_prog_compiler_pic='-fPIC'
   8609 	;;
   8610       esac
   8611       ;;
   8612 
   8613     interix[3-9]*)
   8614       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8615       # Instead, we relocate shared libraries at runtime.
   8616       ;;
   8617 
   8618     msdosdjgpp*)
   8619       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8620       # on systems that don't support them.
   8621       lt_prog_compiler_can_build_shared=no
   8622       enable_shared=no
   8623       ;;
   8624 
   8625     *nto* | *qnx*)
   8626       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8627       # it will coredump.
   8628       lt_prog_compiler_pic='-fPIC -shared'
   8629       ;;
   8630 
   8631     sysv4*MP*)
   8632       if test -d /usr/nec; then
   8633 	lt_prog_compiler_pic=-Kconform_pic
   8634       fi
   8635       ;;
   8636 
   8637     *)
   8638       lt_prog_compiler_pic='-fPIC'
   8639       ;;
   8640     esac
   8641 
   8642     case $cc_basename in
   8643     nvcc*) # Cuda Compiler Driver 2.2
   8644       lt_prog_compiler_wl='-Xlinker '
   8645       lt_prog_compiler_pic='-Xcompiler -fPIC'
   8646       ;;
   8647     esac
   8648   else
   8649     # PORTME Check for flag to pass linker flags through the system compiler.
   8650     case $host_os in
   8651     aix*)
   8652       lt_prog_compiler_wl='-Wl,'
   8653       if test "$host_cpu" = ia64; then
   8654 	# AIX 5 now supports IA64 processor
   8655 	lt_prog_compiler_static='-Bstatic'
   8656       else
   8657 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8658       fi
   8659       ;;
   8660 
   8661     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8662       # This hack is so that the source file can tell whether it is being
   8663       # built for inclusion in a dll (and should export symbols for example).
   8664       lt_prog_compiler_pic='-DDLL_EXPORT'
   8665       ;;
   8666 
   8667     hpux9* | hpux10* | hpux11*)
   8668       lt_prog_compiler_wl='-Wl,'
   8669       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8670       # not for PA HP-UX.
   8671       case $host_cpu in
   8672       hppa*64*|ia64*)
   8673 	# +Z the default
   8674 	;;
   8675       *)
   8676 	lt_prog_compiler_pic='+Z'
   8677 	;;
   8678       esac
   8679       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8680       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8681       ;;
   8682 
   8683     irix5* | irix6* | nonstopux*)
   8684       lt_prog_compiler_wl='-Wl,'
   8685       # PIC (with -KPIC) is the default.
   8686       lt_prog_compiler_static='-non_shared'
   8687       ;;
   8688 
   8689     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8690       case $cc_basename in
   8691       # old Intel for x86_64 which still supported -KPIC.
   8692       ecc*)
   8693 	lt_prog_compiler_wl='-Wl,'
   8694 	lt_prog_compiler_pic='-KPIC'
   8695 	lt_prog_compiler_static='-static'
   8696         ;;
   8697       # icc used to be incompatible with GCC.
   8698       # ICC 10 doesn't accept -KPIC any more.
   8699       icc* | ifort*)
   8700 	lt_prog_compiler_wl='-Wl,'
   8701 	lt_prog_compiler_pic='-fPIC'
   8702 	lt_prog_compiler_static='-static'
   8703         ;;
   8704       # Lahey Fortran 8.1.
   8705       lf95*)
   8706 	lt_prog_compiler_wl='-Wl,'
   8707 	lt_prog_compiler_pic='--shared'
   8708 	lt_prog_compiler_static='--static'
   8709 	;;
   8710       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8711         # Portland Group compilers (*not* the Pentium gcc compiler,
   8712 	# which looks to be a dead project)
   8713 	lt_prog_compiler_wl='-Wl,'
   8714 	lt_prog_compiler_pic='-fpic'
   8715 	lt_prog_compiler_static='-Bstatic'
   8716         ;;
   8717       ccc*)
   8718         lt_prog_compiler_wl='-Wl,'
   8719         # All Alpha code is PIC.
   8720         lt_prog_compiler_static='-non_shared'
   8721         ;;
   8722       xl* | bgxl* | bgf* | mpixl*)
   8723 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8724 	lt_prog_compiler_wl='-Wl,'
   8725 	lt_prog_compiler_pic='-qpic'
   8726 	lt_prog_compiler_static='-qstaticlink'
   8727 	;;
   8728       *)
   8729 	case `$CC -V 2>&1 | sed 5q` in
   8730 	*Sun\ F* | *Sun*Fortran*)
   8731 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8732 	  lt_prog_compiler_pic='-KPIC'
   8733 	  lt_prog_compiler_static='-Bstatic'
   8734 	  lt_prog_compiler_wl=''
   8735 	  ;;
   8736 	*Sun\ C*)
   8737 	  # Sun C 5.9
   8738 	  lt_prog_compiler_pic='-KPIC'
   8739 	  lt_prog_compiler_static='-Bstatic'
   8740 	  lt_prog_compiler_wl='-Wl,'
   8741 	  ;;
   8742 	esac
   8743 	;;
   8744       esac
   8745       ;;
   8746 
   8747     newsos6)
   8748       lt_prog_compiler_pic='-KPIC'
   8749       lt_prog_compiler_static='-Bstatic'
   8750       ;;
   8751 
   8752     *nto* | *qnx*)
   8753       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8754       # it will coredump.
   8755       lt_prog_compiler_pic='-fPIC -shared'
   8756       ;;
   8757 
   8758     osf3* | osf4* | osf5*)
   8759       lt_prog_compiler_wl='-Wl,'
   8760       # All OSF/1 code is PIC.
   8761       lt_prog_compiler_static='-non_shared'
   8762       ;;
   8763 
   8764     rdos*)
   8765       lt_prog_compiler_static='-non_shared'
   8766       ;;
   8767 
   8768     solaris*)
   8769       lt_prog_compiler_pic='-KPIC'
   8770       lt_prog_compiler_static='-Bstatic'
   8771       case $cc_basename in
   8772       f77* | f90* | f95*)
   8773 	lt_prog_compiler_wl='-Qoption ld ';;
   8774       *)
   8775 	lt_prog_compiler_wl='-Wl,';;
   8776       esac
   8777       ;;
   8778 
   8779     sunos4*)
   8780       lt_prog_compiler_wl='-Qoption ld '
   8781       lt_prog_compiler_pic='-PIC'
   8782       lt_prog_compiler_static='-Bstatic'
   8783       ;;
   8784 
   8785     sysv4 | sysv4.2uw2* | sysv4.3*)
   8786       lt_prog_compiler_wl='-Wl,'
   8787       lt_prog_compiler_pic='-KPIC'
   8788       lt_prog_compiler_static='-Bstatic'
   8789       ;;
   8790 
   8791     sysv4*MP*)
   8792       if test -d /usr/nec ;then
   8793 	lt_prog_compiler_pic='-Kconform_pic'
   8794 	lt_prog_compiler_static='-Bstatic'
   8795       fi
   8796       ;;
   8797 
   8798     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8799       lt_prog_compiler_wl='-Wl,'
   8800       lt_prog_compiler_pic='-KPIC'
   8801       lt_prog_compiler_static='-Bstatic'
   8802       ;;
   8803 
   8804     unicos*)
   8805       lt_prog_compiler_wl='-Wl,'
   8806       lt_prog_compiler_can_build_shared=no
   8807       ;;
   8808 
   8809     uts4*)
   8810       lt_prog_compiler_pic='-pic'
   8811       lt_prog_compiler_static='-Bstatic'
   8812       ;;
   8813 
   8814     *)
   8815       lt_prog_compiler_can_build_shared=no
   8816       ;;
   8817     esac
   8818   fi
   8819 
   8820 case $host_os in
   8821   # For platforms which do not support PIC, -DPIC is meaningless:
   8822   *djgpp*)
   8823     lt_prog_compiler_pic=
   8824     ;;
   8825   *)
   8826     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8827     ;;
   8828 esac
   8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
   8830 $as_echo "$lt_prog_compiler_pic" >&6; }
   8831 
   8832 
   8833 
   8834 
   8835 
   8836 
   8837 #
   8838 # Check to make sure the PIC flag actually works.
   8839 #
   8840 if test -n "$lt_prog_compiler_pic"; then
   8841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8842 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8843 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8844   $as_echo_n "(cached) " >&6
   8845 else
   8846   lt_cv_prog_compiler_pic_works=no
   8847    ac_outfile=conftest.$ac_objext
   8848    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8849    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8850    # Insert the option either (1) after the last *FLAGS variable, or
   8851    # (2) before a word containing "conftest.", or (3) at the end.
   8852    # Note that $ac_compile itself does not contain backslashes and begins
   8853    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8854    # The option is referenced via a variable to avoid confusing sed.
   8855    lt_compile=`echo "$ac_compile" | $SED \
   8856    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8857    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8858    -e 's:$: $lt_compiler_flag:'`
   8859    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8860    (eval "$lt_compile" 2>conftest.err)
   8861    ac_status=$?
   8862    cat conftest.err >&5
   8863    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8864    if (exit $ac_status) && test -s "$ac_outfile"; then
   8865      # The compiler can only warn and ignore the option if not recognized
   8866      # So say no if there are warnings other than the usual output.
   8867      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8868      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8869      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8870        lt_cv_prog_compiler_pic_works=yes
   8871      fi
   8872    fi
   8873    $RM conftest*
   8874 
   8875 fi
   8876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8877 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8878 
   8879 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8880     case $lt_prog_compiler_pic in
   8881      "" | " "*) ;;
   8882      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8883      esac
   8884 else
   8885     lt_prog_compiler_pic=
   8886      lt_prog_compiler_can_build_shared=no
   8887 fi
   8888 
   8889 fi
   8890 
   8891 
   8892 
   8893 
   8894 
   8895 
   8896 #
   8897 # Check to make sure the static flag actually works.
   8898 #
   8899 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8901 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8902 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8903   $as_echo_n "(cached) " >&6
   8904 else
   8905   lt_cv_prog_compiler_static_works=no
   8906    save_LDFLAGS="$LDFLAGS"
   8907    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8908    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8909    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8910      # The linker can only warn and ignore the option if not recognized
   8911      # So say no if there are warnings
   8912      if test -s conftest.err; then
   8913        # Append any errors to the config.log.
   8914        cat conftest.err 1>&5
   8915        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8916        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8917        if diff conftest.exp conftest.er2 >/dev/null; then
   8918          lt_cv_prog_compiler_static_works=yes
   8919        fi
   8920      else
   8921        lt_cv_prog_compiler_static_works=yes
   8922      fi
   8923    fi
   8924    $RM -r conftest*
   8925    LDFLAGS="$save_LDFLAGS"
   8926 
   8927 fi
   8928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8929 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8930 
   8931 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8932     :
   8933 else
   8934     lt_prog_compiler_static=
   8935 fi
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8944 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8945 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8946   $as_echo_n "(cached) " >&6
   8947 else
   8948   lt_cv_prog_compiler_c_o=no
   8949    $RM -r conftest 2>/dev/null
   8950    mkdir conftest
   8951    cd conftest
   8952    mkdir out
   8953    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8954 
   8955    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8956    # Insert the option either (1) after the last *FLAGS variable, or
   8957    # (2) before a word containing "conftest.", or (3) at the end.
   8958    # Note that $ac_compile itself does not contain backslashes and begins
   8959    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8960    lt_compile=`echo "$ac_compile" | $SED \
   8961    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8962    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8963    -e 's:$: $lt_compiler_flag:'`
   8964    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8965    (eval "$lt_compile" 2>out/conftest.err)
   8966    ac_status=$?
   8967    cat out/conftest.err >&5
   8968    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8969    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8970    then
   8971      # The compiler can only warn and ignore the option if not recognized
   8972      # So say no if there are warnings
   8973      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8974      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8975      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8976        lt_cv_prog_compiler_c_o=yes
   8977      fi
   8978    fi
   8979    chmod u+w . 2>&5
   8980    $RM conftest*
   8981    # SGI C++ compiler will create directory out/ii_files/ for
   8982    # template instantiation
   8983    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8984    $RM out/* && rmdir out
   8985    cd ..
   8986    $RM -r conftest
   8987    $RM conftest*
   8988 
   8989 fi
   8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8991 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8999 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9000 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9001   $as_echo_n "(cached) " >&6
   9002 else
   9003   lt_cv_prog_compiler_c_o=no
   9004    $RM -r conftest 2>/dev/null
   9005    mkdir conftest
   9006    cd conftest
   9007    mkdir out
   9008    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9009 
   9010    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9011    # Insert the option either (1) after the last *FLAGS variable, or
   9012    # (2) before a word containing "conftest.", or (3) at the end.
   9013    # Note that $ac_compile itself does not contain backslashes and begins
   9014    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9015    lt_compile=`echo "$ac_compile" | $SED \
   9016    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9017    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9018    -e 's:$: $lt_compiler_flag:'`
   9019    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9020    (eval "$lt_compile" 2>out/conftest.err)
   9021    ac_status=$?
   9022    cat out/conftest.err >&5
   9023    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9024    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9025    then
   9026      # The compiler can only warn and ignore the option if not recognized
   9027      # So say no if there are warnings
   9028      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9029      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9030      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9031        lt_cv_prog_compiler_c_o=yes
   9032      fi
   9033    fi
   9034    chmod u+w . 2>&5
   9035    $RM conftest*
   9036    # SGI C++ compiler will create directory out/ii_files/ for
   9037    # template instantiation
   9038    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9039    $RM out/* && rmdir out
   9040    cd ..
   9041    $RM -r conftest
   9042    $RM conftest*
   9043 
   9044 fi
   9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9046 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9047 
   9048 
   9049 
   9050 
   9051 hard_links="nottested"
   9052 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   9053   # do not overwrite the value of need_locks provided by the user
   9054   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9055 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9056   hard_links=yes
   9057   $RM conftest*
   9058   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9059   touch conftest.a
   9060   ln conftest.a conftest.b 2>&5 || hard_links=no
   9061   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9062   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9063 $as_echo "$hard_links" >&6; }
   9064   if test "$hard_links" = no; then
   9065     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   9066 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   9067     need_locks=warn
   9068   fi
   9069 else
   9070   need_locks=no
   9071 fi
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9079 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9080 
   9081   runpath_var=
   9082   allow_undefined_flag=
   9083   always_export_symbols=no
   9084   archive_cmds=
   9085   archive_expsym_cmds=
   9086   compiler_needs_object=no
   9087   enable_shared_with_static_runtimes=no
   9088   export_dynamic_flag_spec=
   9089   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9090   hardcode_automatic=no
   9091   hardcode_direct=no
   9092   hardcode_direct_absolute=no
   9093   hardcode_libdir_flag_spec=
   9094   hardcode_libdir_flag_spec_ld=
   9095   hardcode_libdir_separator=
   9096   hardcode_minus_L=no
   9097   hardcode_shlibpath_var=unsupported
   9098   inherit_rpath=no
   9099   link_all_deplibs=unknown
   9100   module_cmds=
   9101   module_expsym_cmds=
   9102   old_archive_from_new_cmds=
   9103   old_archive_from_expsyms_cmds=
   9104   thread_safe_flag_spec=
   9105   whole_archive_flag_spec=
   9106   # include_expsyms should be a list of space-separated symbols to be *always*
   9107   # included in the symbol list
   9108   include_expsyms=
   9109   # exclude_expsyms can be an extended regexp of symbols to exclude
   9110   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   9111   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   9112   # as well as any symbol that contains `d'.
   9113   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9114   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9115   # platforms (ab)use it in PIC code, but their linkers get confused if
   9116   # the symbol is explicitly referenced.  Since portable code cannot
   9117   # rely on this symbol name, it's probably fine to never include it in
   9118   # preloaded symbol tables.
   9119   # Exclude shared library initialization/finalization symbols.
   9120   extract_expsyms_cmds=
   9121 
   9122   case $host_os in
   9123   cygwin* | mingw* | pw32* | cegcc*)
   9124     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9125     # When not using gcc, we currently assume that we are using
   9126     # Microsoft Visual C++.
   9127     if test "$GCC" != yes; then
   9128       with_gnu_ld=no
   9129     fi
   9130     ;;
   9131   interix*)
   9132     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9133     with_gnu_ld=yes
   9134     ;;
   9135   openbsd*)
   9136     with_gnu_ld=no
   9137     ;;
   9138   esac
   9139 
   9140   ld_shlibs=yes
   9141 
   9142   # On some targets, GNU ld is compatible enough with the native linker
   9143   # that we're better off using the native interface for both.
   9144   lt_use_gnu_ld_interface=no
   9145   if test "$with_gnu_ld" = yes; then
   9146     case $host_os in
   9147       aix*)
   9148 	# The AIX port of GNU ld has always aspired to compatibility
   9149 	# with the native linker.  However, as the warning in the GNU ld
   9150 	# block says, versions before 2.19.5* couldn't really create working
   9151 	# shared libraries, regardless of the interface used.
   9152 	case `$LD -v 2>&1` in
   9153 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9154 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9155 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9156 	  *)
   9157 	    lt_use_gnu_ld_interface=yes
   9158 	    ;;
   9159 	esac
   9160 	;;
   9161       *)
   9162 	lt_use_gnu_ld_interface=yes
   9163 	;;
   9164     esac
   9165   fi
   9166 
   9167   if test "$lt_use_gnu_ld_interface" = yes; then
   9168     # If archive_cmds runs LD, not CC, wlarc should be empty
   9169     wlarc='${wl}'
   9170 
   9171     # Set some defaults for GNU ld with shared library support. These
   9172     # are reset later if shared libraries are not supported. Putting them
   9173     # here allows them to be overridden if necessary.
   9174     runpath_var=LD_RUN_PATH
   9175     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9176     export_dynamic_flag_spec='${wl}--export-dynamic'
   9177     # ancient GNU ld didn't support --whole-archive et. al.
   9178     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9179       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   9180     else
   9181       whole_archive_flag_spec=
   9182     fi
   9183     supports_anon_versioning=no
   9184     case `$LD -v 2>&1` in
   9185       *GNU\ gold*) supports_anon_versioning=yes ;;
   9186       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9187       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9188       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9189       *\ 2.11.*) ;; # other 2.11 versions
   9190       *) supports_anon_versioning=yes ;;
   9191     esac
   9192 
   9193     # See if GNU ld supports shared libraries.
   9194     case $host_os in
   9195     aix[3-9]*)
   9196       # On AIX/PPC, the GNU linker is very broken
   9197       if test "$host_cpu" != ia64; then
   9198 	ld_shlibs=no
   9199 	cat <<_LT_EOF 1>&2
   9200 
   9201 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9202 *** to be unable to reliably create shared libraries on AIX.
   9203 *** Therefore, libtool is disabling shared libraries support.  If you
   9204 *** really care for shared libraries, you may want to install binutils
   9205 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9206 *** You will then need to restart the configuration process.
   9207 
   9208 _LT_EOF
   9209       fi
   9210       ;;
   9211 
   9212     amigaos*)
   9213       case $host_cpu in
   9214       powerpc)
   9215             # see comment about AmigaOS4 .so support
   9216             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9217             archive_expsym_cmds=''
   9218         ;;
   9219       m68k)
   9220             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)'
   9221             hardcode_libdir_flag_spec='-L$libdir'
   9222             hardcode_minus_L=yes
   9223         ;;
   9224       esac
   9225       ;;
   9226 
   9227     beos*)
   9228       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9229 	allow_undefined_flag=unsupported
   9230 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9231 	# support --undefined.  This deserves some investigation.  FIXME
   9232 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9233       else
   9234 	ld_shlibs=no
   9235       fi
   9236       ;;
   9237 
   9238     cygwin* | mingw* | pw32* | cegcc*)
   9239       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9240       # as there is no search path for DLLs.
   9241       hardcode_libdir_flag_spec='-L$libdir'
   9242       export_dynamic_flag_spec='${wl}--export-all-symbols'
   9243       allow_undefined_flag=unsupported
   9244       always_export_symbols=no
   9245       enable_shared_with_static_runtimes=yes
   9246       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9247 
   9248       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9249         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9250 	# If the export-symbols file already is a .def file (1st line
   9251 	# is EXPORTS), use it as is; otherwise, prepend...
   9252 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9253 	  cp $export_symbols $output_objdir/$soname.def;
   9254 	else
   9255 	  echo EXPORTS > $output_objdir/$soname.def;
   9256 	  cat $export_symbols >> $output_objdir/$soname.def;
   9257 	fi~
   9258 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9259       else
   9260 	ld_shlibs=no
   9261       fi
   9262       ;;
   9263 
   9264     haiku*)
   9265       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9266       link_all_deplibs=yes
   9267       ;;
   9268 
   9269     interix[3-9]*)
   9270       hardcode_direct=no
   9271       hardcode_shlibpath_var=no
   9272       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9273       export_dynamic_flag_spec='${wl}-E'
   9274       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9275       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9276       # default) and relocated if they conflict, which is a slow very memory
   9277       # consuming and fragmenting process.  To avoid this, we pick a random,
   9278       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9279       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9280       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9281       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'
   9282       ;;
   9283 
   9284     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9285       tmp_diet=no
   9286       if test "$host_os" = linux-dietlibc; then
   9287 	case $cc_basename in
   9288 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9289 	esac
   9290       fi
   9291       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9292 	 && test "$tmp_diet" = no
   9293       then
   9294 	tmp_addflag=' $pic_flag'
   9295 	tmp_sharedflag='-shared'
   9296 	case $cc_basename,$host_cpu in
   9297         pgcc*)				# Portland Group C compiler
   9298 	  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'
   9299 	  tmp_addflag=' $pic_flag'
   9300 	  ;;
   9301 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9302 					# Portland Group f77 and f90 compilers
   9303 	  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'
   9304 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9305 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9306 	  tmp_addflag=' -i_dynamic' ;;
   9307 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9308 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9309 	ifc* | ifort*)			# Intel Fortran compiler
   9310 	  tmp_addflag=' -nofor_main' ;;
   9311 	lf95*)				# Lahey Fortran 8.1
   9312 	  whole_archive_flag_spec=
   9313 	  tmp_sharedflag='--shared' ;;
   9314 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9315 	  tmp_sharedflag='-qmkshrobj'
   9316 	  tmp_addflag= ;;
   9317 	nvcc*)	# Cuda Compiler Driver 2.2
   9318 	  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'
   9319 	  compiler_needs_object=yes
   9320 	  ;;
   9321 	esac
   9322 	case `$CC -V 2>&1 | sed 5q` in
   9323 	*Sun\ C*)			# Sun C 5.9
   9324 	  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'
   9325 	  compiler_needs_object=yes
   9326 	  tmp_sharedflag='-G' ;;
   9327 	*Sun\ F*)			# Sun Fortran 8.3
   9328 	  tmp_sharedflag='-G' ;;
   9329 	esac
   9330 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9331 
   9332         if test "x$supports_anon_versioning" = xyes; then
   9333           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9334 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9335 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   9336 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   9337         fi
   9338 
   9339 	case $cc_basename in
   9340 	xlf* | bgf* | bgxlf* | mpixlf*)
   9341 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9342 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9343 	  hardcode_libdir_flag_spec=
   9344 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   9345 	  archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
   9346 	  if test "x$supports_anon_versioning" = xyes; then
   9347 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9348 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9349 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   9350 	      $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9351 	  fi
   9352 	  ;;
   9353 	esac
   9354       else
   9355         ld_shlibs=no
   9356       fi
   9357       ;;
   9358 
   9359     netbsd*)
   9360       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9361 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9362 	wlarc=
   9363       else
   9364 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9365 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9366       fi
   9367       ;;
   9368 
   9369     solaris*)
   9370       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9371 	ld_shlibs=no
   9372 	cat <<_LT_EOF 1>&2
   9373 
   9374 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9375 *** create shared libraries on Solaris systems.  Therefore, libtool
   9376 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9377 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9378 *** your PATH or compiler configuration so that the native linker is
   9379 *** used, and then restart.
   9380 
   9381 _LT_EOF
   9382       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9383 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9384 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9385       else
   9386 	ld_shlibs=no
   9387       fi
   9388       ;;
   9389 
   9390     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9391       case `$LD -v 2>&1` in
   9392         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9393 	ld_shlibs=no
   9394 	cat <<_LT_EOF 1>&2
   9395 
   9396 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   9397 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9398 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9399 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9400 *** your PATH or compiler configuration so that the native linker is
   9401 *** used, and then restart.
   9402 
   9403 _LT_EOF
   9404 	;;
   9405 	*)
   9406 	  # For security reasons, it is highly recommended that you always
   9407 	  # use absolute paths for naming shared libraries, and exclude the
   9408 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9409 	  # requires that you compile everything twice, which is a pain.
   9410 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9411 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9412 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9413 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9414 	  else
   9415 	    ld_shlibs=no
   9416 	  fi
   9417 	;;
   9418       esac
   9419       ;;
   9420 
   9421     sunos4*)
   9422       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9423       wlarc=
   9424       hardcode_direct=yes
   9425       hardcode_shlibpath_var=no
   9426       ;;
   9427 
   9428     *)
   9429       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9430 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9431 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   9432       else
   9433 	ld_shlibs=no
   9434       fi
   9435       ;;
   9436     esac
   9437 
   9438     if test "$ld_shlibs" = no; then
   9439       runpath_var=
   9440       hardcode_libdir_flag_spec=
   9441       export_dynamic_flag_spec=
   9442       whole_archive_flag_spec=
   9443     fi
   9444   else
   9445     # PORTME fill in a description of your system's linker (not GNU ld)
   9446     case $host_os in
   9447     aix3*)
   9448       allow_undefined_flag=unsupported
   9449       always_export_symbols=yes
   9450       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'
   9451       # Note: this linker hardcodes the directories in LIBPATH if there
   9452       # are no directories specified by -L.
   9453       hardcode_minus_L=yes
   9454       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9455 	# Neither direct hardcoding nor static linking is supported with a
   9456 	# broken collect2.
   9457 	hardcode_direct=unsupported
   9458       fi
   9459       ;;
   9460 
   9461     aix[4-9]*)
   9462       if test "$host_cpu" = ia64; then
   9463 	# On IA64, the linker does run time linking by default, so we don't
   9464 	# have to do anything special.
   9465 	aix_use_runtimelinking=no
   9466 	exp_sym_flag='-Bexport'
   9467 	no_entry_flag=""
   9468       else
   9469 	# If we're using GNU nm, then we don't want the "-C" option.
   9470 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9471 	# Also, AIX nm treats weak defined symbols like other global
   9472 	# defined symbols, whereas GNU nm marks them as "W".
   9473 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9474 	  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'
   9475 	else
   9476 	  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'
   9477 	fi
   9478 	aix_use_runtimelinking=no
   9479 
   9480 	# Test if we are trying to use run time linking or normal
   9481 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9482 	# need to do runtime linking.
   9483 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9484 	  for ld_flag in $LDFLAGS; do
   9485 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9486 	    aix_use_runtimelinking=yes
   9487 	    break
   9488 	  fi
   9489 	  done
   9490 	  ;;
   9491 	esac
   9492 
   9493 	exp_sym_flag='-bexport'
   9494 	no_entry_flag='-bnoentry'
   9495       fi
   9496 
   9497       # When large executables or shared objects are built, AIX ld can
   9498       # have problems creating the table of contents.  If linking a library
   9499       # or program results in "error TOC overflow" add -mminimal-toc to
   9500       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9501       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9502 
   9503       archive_cmds=''
   9504       hardcode_direct=yes
   9505       hardcode_direct_absolute=yes
   9506       hardcode_libdir_separator=':'
   9507       link_all_deplibs=yes
   9508       file_list_spec='${wl}-f,'
   9509 
   9510       if test "$GCC" = yes; then
   9511 	case $host_os in aix4.[012]|aix4.[012].*)
   9512 	# We only want to do this on AIX 4.2 and lower, the check
   9513 	# below for broken collect2 doesn't work under 4.3+
   9514 	  collect2name=`${CC} -print-prog-name=collect2`
   9515 	  if test -f "$collect2name" &&
   9516 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9517 	  then
   9518 	  # We have reworked collect2
   9519 	  :
   9520 	  else
   9521 	  # We have old collect2
   9522 	  hardcode_direct=unsupported
   9523 	  # It fails to find uninstalled libraries when the uninstalled
   9524 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9525 	  # to unsupported forces relinking
   9526 	  hardcode_minus_L=yes
   9527 	  hardcode_libdir_flag_spec='-L$libdir'
   9528 	  hardcode_libdir_separator=
   9529 	  fi
   9530 	  ;;
   9531 	esac
   9532 	shared_flag='-shared'
   9533 	if test "$aix_use_runtimelinking" = yes; then
   9534 	  shared_flag="$shared_flag "'${wl}-G'
   9535 	fi
   9536       else
   9537 	# not using gcc
   9538 	if test "$host_cpu" = ia64; then
   9539 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9540 	# chokes on -Wl,-G. The following line is correct:
   9541 	  shared_flag='-G'
   9542 	else
   9543 	  if test "$aix_use_runtimelinking" = yes; then
   9544 	    shared_flag='${wl}-G'
   9545 	  else
   9546 	    shared_flag='${wl}-bM:SRE'
   9547 	  fi
   9548 	fi
   9549       fi
   9550 
   9551       export_dynamic_flag_spec='${wl}-bexpall'
   9552       # It seems that -bexpall does not export symbols beginning with
   9553       # underscore (_), so it is better to generate a list of symbols to export.
   9554       always_export_symbols=yes
   9555       if test "$aix_use_runtimelinking" = yes; then
   9556 	# Warning - without using the other runtime loading flags (-brtl),
   9557 	# -berok will link without error, but may produce a broken library.
   9558 	allow_undefined_flag='-berok'
   9559         # Determine the default libpath from the value encoded in an
   9560         # empty executable.
   9561         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9562 /* end confdefs.h.  */
   9563 
   9564 int
   9565 main ()
   9566 {
   9567 
   9568   ;
   9569   return 0;
   9570 }
   9571 _ACEOF
   9572 if ac_fn_c_try_link "$LINENO"; then :
   9573 
   9574 lt_aix_libpath_sed='
   9575     /Import File Strings/,/^$/ {
   9576 	/^0/ {
   9577 	    s/^0  *\(.*\)$/\1/
   9578 	    p
   9579 	}
   9580     }'
   9581 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9582 # Check for a 64-bit object if we didn't find anything.
   9583 if test -z "$aix_libpath"; then
   9584   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9585 fi
   9586 fi
   9587 rm -f core conftest.err conftest.$ac_objext \
   9588     conftest$ac_exeext conftest.$ac_ext
   9589 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9590 
   9591         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9592         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"
   9593       else
   9594 	if test "$host_cpu" = ia64; then
   9595 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9596 	  allow_undefined_flag="-z nodefs"
   9597 	  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"
   9598 	else
   9599 	 # Determine the default libpath from the value encoded in an
   9600 	 # empty executable.
   9601 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9602 /* end confdefs.h.  */
   9603 
   9604 int
   9605 main ()
   9606 {
   9607 
   9608   ;
   9609   return 0;
   9610 }
   9611 _ACEOF
   9612 if ac_fn_c_try_link "$LINENO"; then :
   9613 
   9614 lt_aix_libpath_sed='
   9615     /Import File Strings/,/^$/ {
   9616 	/^0/ {
   9617 	    s/^0  *\(.*\)$/\1/
   9618 	    p
   9619 	}
   9620     }'
   9621 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9622 # Check for a 64-bit object if we didn't find anything.
   9623 if test -z "$aix_libpath"; then
   9624   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9625 fi
   9626 fi
   9627 rm -f core conftest.err conftest.$ac_objext \
   9628     conftest$ac_exeext conftest.$ac_ext
   9629 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   9630 
   9631 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9632 	  # Warning - without using the other run time loading flags,
   9633 	  # -berok will link without error, but may produce a broken library.
   9634 	  no_undefined_flag=' ${wl}-bernotok'
   9635 	  allow_undefined_flag=' ${wl}-berok'
   9636 	  if test "$with_gnu_ld" = yes; then
   9637 	    # We only use this code for GNU lds that support --whole-archive.
   9638 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9639 	  else
   9640 	    # Exported symbols can be pulled into shared objects from archives
   9641 	    whole_archive_flag_spec='$convenience'
   9642 	  fi
   9643 	  archive_cmds_need_lc=yes
   9644 	  # This is similar to how AIX traditionally builds its shared libraries.
   9645 	  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'
   9646 	fi
   9647       fi
   9648       ;;
   9649 
   9650     amigaos*)
   9651       case $host_cpu in
   9652       powerpc)
   9653             # see comment about AmigaOS4 .so support
   9654             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9655             archive_expsym_cmds=''
   9656         ;;
   9657       m68k)
   9658             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)'
   9659             hardcode_libdir_flag_spec='-L$libdir'
   9660             hardcode_minus_L=yes
   9661         ;;
   9662       esac
   9663       ;;
   9664 
   9665     bsdi[45]*)
   9666       export_dynamic_flag_spec=-rdynamic
   9667       ;;
   9668 
   9669     cygwin* | mingw* | pw32* | cegcc*)
   9670       # When not using gcc, we currently assume that we are using
   9671       # Microsoft Visual C++.
   9672       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9673       # no search path for DLLs.
   9674       hardcode_libdir_flag_spec=' '
   9675       allow_undefined_flag=unsupported
   9676       # Tell ltmain to make .lib files, not .a files.
   9677       libext=lib
   9678       # Tell ltmain to make .dll files, not .so files.
   9679       shrext_cmds=".dll"
   9680       # FIXME: Setting linknames here is a bad hack.
   9681       archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9682       # The linker will automatically build a .lib file if we build a DLL.
   9683       old_archive_from_new_cmds='true'
   9684       # FIXME: Should let the user specify the lib program.
   9685       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9686       fix_srcfile_path='`cygpath -w "$srcfile"`'
   9687       enable_shared_with_static_runtimes=yes
   9688       ;;
   9689 
   9690     darwin* | rhapsody*)
   9691 
   9692 
   9693   archive_cmds_need_lc=no
   9694   hardcode_direct=no
   9695   hardcode_automatic=yes
   9696   hardcode_shlibpath_var=unsupported
   9697   if test "$lt_cv_ld_force_load" = "yes"; then
   9698     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\"`'
   9699   else
   9700     whole_archive_flag_spec=''
   9701   fi
   9702   link_all_deplibs=yes
   9703   allow_undefined_flag="$_lt_dar_allow_undefined"
   9704   case $cc_basename in
   9705      ifort*) _lt_dar_can_shared=yes ;;
   9706      *) _lt_dar_can_shared=$GCC ;;
   9707   esac
   9708   if test "$_lt_dar_can_shared" = "yes"; then
   9709     output_verbose_link_cmd=func_echo_all
   9710     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9711     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9712     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}"
   9713     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}"
   9714 
   9715   else
   9716   ld_shlibs=no
   9717   fi
   9718 
   9719       ;;
   9720 
   9721     dgux*)
   9722       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9723       hardcode_libdir_flag_spec='-L$libdir'
   9724       hardcode_shlibpath_var=no
   9725       ;;
   9726 
   9727     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9728     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9729     # does not break anything, and helps significantly (at the cost of a little
   9730     # extra space).
   9731     freebsd2.2*)
   9732       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9733       hardcode_libdir_flag_spec='-R$libdir'
   9734       hardcode_direct=yes
   9735       hardcode_shlibpath_var=no
   9736       ;;
   9737 
   9738     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9739     freebsd2.*)
   9740       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9741       hardcode_direct=yes
   9742       hardcode_minus_L=yes
   9743       hardcode_shlibpath_var=no
   9744       ;;
   9745 
   9746     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9747     freebsd* | dragonfly*)
   9748       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   9749       hardcode_libdir_flag_spec='-R$libdir'
   9750       hardcode_direct=yes
   9751       hardcode_shlibpath_var=no
   9752       ;;
   9753 
   9754     hpux9*)
   9755       if test "$GCC" = yes; then
   9756 	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'
   9757       else
   9758 	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'
   9759       fi
   9760       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9761       hardcode_libdir_separator=:
   9762       hardcode_direct=yes
   9763 
   9764       # hardcode_minus_L: Not really in the search PATH,
   9765       # but as the default location of the library.
   9766       hardcode_minus_L=yes
   9767       export_dynamic_flag_spec='${wl}-E'
   9768       ;;
   9769 
   9770     hpux10*)
   9771       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9772 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9773       else
   9774 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9775       fi
   9776       if test "$with_gnu_ld" = no; then
   9777 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9778 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9779 	hardcode_libdir_separator=:
   9780 	hardcode_direct=yes
   9781 	hardcode_direct_absolute=yes
   9782 	export_dynamic_flag_spec='${wl}-E'
   9783 	# hardcode_minus_L: Not really in the search PATH,
   9784 	# but as the default location of the library.
   9785 	hardcode_minus_L=yes
   9786       fi
   9787       ;;
   9788 
   9789     hpux11*)
   9790       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9791 	case $host_cpu in
   9792 	hppa*64*)
   9793 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9794 	  ;;
   9795 	ia64*)
   9796 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9797 	  ;;
   9798 	*)
   9799 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9800 	  ;;
   9801 	esac
   9802       else
   9803 	case $host_cpu in
   9804 	hppa*64*)
   9805 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9806 	  ;;
   9807 	ia64*)
   9808 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9809 	  ;;
   9810 	*)
   9811 
   9812 	  # Older versions of the 11.00 compiler do not understand -b yet
   9813 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9814 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9815 $as_echo_n "checking if $CC understands -b... " >&6; }
   9816 if ${lt_cv_prog_compiler__b+:} false; then :
   9817   $as_echo_n "(cached) " >&6
   9818 else
   9819   lt_cv_prog_compiler__b=no
   9820    save_LDFLAGS="$LDFLAGS"
   9821    LDFLAGS="$LDFLAGS -b"
   9822    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9823    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9824      # The linker can only warn and ignore the option if not recognized
   9825      # So say no if there are warnings
   9826      if test -s conftest.err; then
   9827        # Append any errors to the config.log.
   9828        cat conftest.err 1>&5
   9829        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9830        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9831        if diff conftest.exp conftest.er2 >/dev/null; then
   9832          lt_cv_prog_compiler__b=yes
   9833        fi
   9834      else
   9835        lt_cv_prog_compiler__b=yes
   9836      fi
   9837    fi
   9838    $RM -r conftest*
   9839    LDFLAGS="$save_LDFLAGS"
   9840 
   9841 fi
   9842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9843 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9844 
   9845 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9846     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9847 else
   9848     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9849 fi
   9850 
   9851 	  ;;
   9852 	esac
   9853       fi
   9854       if test "$with_gnu_ld" = no; then
   9855 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9856 	hardcode_libdir_separator=:
   9857 
   9858 	case $host_cpu in
   9859 	hppa*64*|ia64*)
   9860 	  hardcode_direct=no
   9861 	  hardcode_shlibpath_var=no
   9862 	  ;;
   9863 	*)
   9864 	  hardcode_direct=yes
   9865 	  hardcode_direct_absolute=yes
   9866 	  export_dynamic_flag_spec='${wl}-E'
   9867 
   9868 	  # hardcode_minus_L: Not really in the search PATH,
   9869 	  # but as the default location of the library.
   9870 	  hardcode_minus_L=yes
   9871 	  ;;
   9872 	esac
   9873       fi
   9874       ;;
   9875 
   9876     irix5* | irix6* | nonstopux*)
   9877       if test "$GCC" = yes; then
   9878 	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'
   9879 	# Try to use the -exported_symbol ld option, if it does not
   9880 	# work, assume that -exports_file does not work either and
   9881 	# implicitly export all symbols.
   9882         save_LDFLAGS="$LDFLAGS"
   9883         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9884         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9885 /* end confdefs.h.  */
   9886 int foo(void) {}
   9887 _ACEOF
   9888 if ac_fn_c_try_link "$LINENO"; then :
   9889   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'
   9890 
   9891 fi
   9892 rm -f core conftest.err conftest.$ac_objext \
   9893     conftest$ac_exeext conftest.$ac_ext
   9894         LDFLAGS="$save_LDFLAGS"
   9895       else
   9896 	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'
   9897 	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'
   9898       fi
   9899       archive_cmds_need_lc='no'
   9900       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9901       hardcode_libdir_separator=:
   9902       inherit_rpath=yes
   9903       link_all_deplibs=yes
   9904       ;;
   9905 
   9906     netbsd*)
   9907       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9908 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9909       else
   9910 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9911       fi
   9912       hardcode_libdir_flag_spec='-R$libdir'
   9913       hardcode_direct=yes
   9914       hardcode_shlibpath_var=no
   9915       ;;
   9916 
   9917     newsos6)
   9918       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9919       hardcode_direct=yes
   9920       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9921       hardcode_libdir_separator=:
   9922       hardcode_shlibpath_var=no
   9923       ;;
   9924 
   9925     *nto* | *qnx*)
   9926       ;;
   9927 
   9928     openbsd*)
   9929       if test -f /usr/libexec/ld.so; then
   9930 	hardcode_direct=yes
   9931 	hardcode_shlibpath_var=no
   9932 	hardcode_direct_absolute=yes
   9933 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9934 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9935 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9936 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9937 	  export_dynamic_flag_spec='${wl}-E'
   9938 	else
   9939 	  case $host_os in
   9940 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9941 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9942 	     hardcode_libdir_flag_spec='-R$libdir'
   9943 	     ;;
   9944 	   *)
   9945 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9946 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9947 	     ;;
   9948 	  esac
   9949 	fi
   9950       else
   9951 	ld_shlibs=no
   9952       fi
   9953       ;;
   9954 
   9955     os2*)
   9956       hardcode_libdir_flag_spec='-L$libdir'
   9957       hardcode_minus_L=yes
   9958       allow_undefined_flag=unsupported
   9959       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'
   9960       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9961       ;;
   9962 
   9963     osf3*)
   9964       if test "$GCC" = yes; then
   9965 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9966 	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'
   9967       else
   9968 	allow_undefined_flag=' -expect_unresolved \*'
   9969 	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'
   9970       fi
   9971       archive_cmds_need_lc='no'
   9972       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9973       hardcode_libdir_separator=:
   9974       ;;
   9975 
   9976     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9977       if test "$GCC" = yes; then
   9978 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9979 	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'
   9980 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9981       else
   9982 	allow_undefined_flag=' -expect_unresolved \*'
   9983 	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'
   9984 	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~
   9985 	$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'
   9986 
   9987 	# Both c and cxx compiler support -rpath directly
   9988 	hardcode_libdir_flag_spec='-rpath $libdir'
   9989       fi
   9990       archive_cmds_need_lc='no'
   9991       hardcode_libdir_separator=:
   9992       ;;
   9993 
   9994     solaris*)
   9995       no_undefined_flag=' -z defs'
   9996       if test "$GCC" = yes; then
   9997 	wlarc='${wl}'
   9998 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9999 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10000 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10001       else
   10002 	case `$CC -V 2>&1` in
   10003 	*"Compilers 5.0"*)
   10004 	  wlarc=''
   10005 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10006 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10007 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10008 	  ;;
   10009 	*)
   10010 	  wlarc='${wl}'
   10011 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10012 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10013 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10014 	  ;;
   10015 	esac
   10016       fi
   10017       hardcode_libdir_flag_spec='-R$libdir'
   10018       hardcode_shlibpath_var=no
   10019       case $host_os in
   10020       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10021       *)
   10022 	# The compiler driver will combine and reorder linker options,
   10023 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   10024 	# but is careful enough not to reorder.
   10025 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10026 	if test "$GCC" = yes; then
   10027 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   10028 	else
   10029 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10030 	fi
   10031 	;;
   10032       esac
   10033       link_all_deplibs=yes
   10034       ;;
   10035 
   10036     sunos4*)
   10037       if test "x$host_vendor" = xsequent; then
   10038 	# Use $CC to link under sequent, because it throws in some extra .o
   10039 	# files that make .init and .fini sections work.
   10040 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10041       else
   10042 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10043       fi
   10044       hardcode_libdir_flag_spec='-L$libdir'
   10045       hardcode_direct=yes
   10046       hardcode_minus_L=yes
   10047       hardcode_shlibpath_var=no
   10048       ;;
   10049 
   10050     sysv4)
   10051       case $host_vendor in
   10052 	sni)
   10053 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10054 	  hardcode_direct=yes # is this really true???
   10055 	;;
   10056 	siemens)
   10057 	  ## LD is ld it makes a PLAMLIB
   10058 	  ## CC just makes a GrossModule.
   10059 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10060 	  reload_cmds='$CC -r -o $output$reload_objs'
   10061 	  hardcode_direct=no
   10062         ;;
   10063 	motorola)
   10064 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10065 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10066 	;;
   10067       esac
   10068       runpath_var='LD_RUN_PATH'
   10069       hardcode_shlibpath_var=no
   10070       ;;
   10071 
   10072     sysv4.3*)
   10073       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10074       hardcode_shlibpath_var=no
   10075       export_dynamic_flag_spec='-Bexport'
   10076       ;;
   10077 
   10078     sysv4*MP*)
   10079       if test -d /usr/nec; then
   10080 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10081 	hardcode_shlibpath_var=no
   10082 	runpath_var=LD_RUN_PATH
   10083 	hardcode_runpath_var=yes
   10084 	ld_shlibs=yes
   10085       fi
   10086       ;;
   10087 
   10088     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10089       no_undefined_flag='${wl}-z,text'
   10090       archive_cmds_need_lc=no
   10091       hardcode_shlibpath_var=no
   10092       runpath_var='LD_RUN_PATH'
   10093 
   10094       if test "$GCC" = yes; then
   10095 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10096 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10097       else
   10098 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10099 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10100       fi
   10101       ;;
   10102 
   10103     sysv5* | sco3.2v5* | sco5v6*)
   10104       # Note: We can NOT use -z defs as we might desire, because we do not
   10105       # link with -lc, and that would cause any symbols used from libc to
   10106       # always be unresolved, which means just about no library would
   10107       # ever link correctly.  If we're not using GNU ld we use -z text
   10108       # though, which does catch some bad symbols but isn't as heavy-handed
   10109       # as -z defs.
   10110       no_undefined_flag='${wl}-z,text'
   10111       allow_undefined_flag='${wl}-z,nodefs'
   10112       archive_cmds_need_lc=no
   10113       hardcode_shlibpath_var=no
   10114       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   10115       hardcode_libdir_separator=':'
   10116       link_all_deplibs=yes
   10117       export_dynamic_flag_spec='${wl}-Bexport'
   10118       runpath_var='LD_RUN_PATH'
   10119 
   10120       if test "$GCC" = yes; then
   10121 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10122 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10123       else
   10124 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10125 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10126       fi
   10127       ;;
   10128 
   10129     uts4*)
   10130       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10131       hardcode_libdir_flag_spec='-L$libdir'
   10132       hardcode_shlibpath_var=no
   10133       ;;
   10134 
   10135     *)
   10136       ld_shlibs=no
   10137       ;;
   10138     esac
   10139 
   10140     if test x$host_vendor = xsni; then
   10141       case $host in
   10142       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10143 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   10144 	;;
   10145       esac
   10146     fi
   10147   fi
   10148 
   10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10150 $as_echo "$ld_shlibs" >&6; }
   10151 test "$ld_shlibs" = no && can_build_shared=no
   10152 
   10153 with_gnu_ld=$with_gnu_ld
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 
   10160 
   10161 
   10162 
   10163 
   10164 
   10165 
   10166 
   10167 
   10168 
   10169 #
   10170 # Do we need to explicitly link libc?
   10171 #
   10172 case "x$archive_cmds_need_lc" in
   10173 x|xyes)
   10174   # Assume -lc should be added
   10175   archive_cmds_need_lc=yes
   10176 
   10177   if test "$enable_shared" = yes && test "$GCC" = yes; then
   10178     case $archive_cmds in
   10179     *'~'*)
   10180       # FIXME: we may have to deal with multi-command sequences.
   10181       ;;
   10182     '$CC '*)
   10183       # Test whether the compiler implicitly links with -lc since on some
   10184       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10185       # to ld, don't add -lc before -lgcc.
   10186       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10187 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10188 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10189   $as_echo_n "(cached) " >&6
   10190 else
   10191   $RM conftest*
   10192 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10193 
   10194 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10195   (eval $ac_compile) 2>&5
   10196   ac_status=$?
   10197   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10198   test $ac_status = 0; } 2>conftest.err; then
   10199 	  soname=conftest
   10200 	  lib=conftest
   10201 	  libobjs=conftest.$ac_objext
   10202 	  deplibs=
   10203 	  wl=$lt_prog_compiler_wl
   10204 	  pic_flag=$lt_prog_compiler_pic
   10205 	  compiler_flags=-v
   10206 	  linker_flags=-v
   10207 	  verstring=
   10208 	  output_objdir=.
   10209 	  libname=conftest
   10210 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10211 	  allow_undefined_flag=
   10212 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10213   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10214   ac_status=$?
   10215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10216   test $ac_status = 0; }
   10217 	  then
   10218 	    lt_cv_archive_cmds_need_lc=no
   10219 	  else
   10220 	    lt_cv_archive_cmds_need_lc=yes
   10221 	  fi
   10222 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10223 	else
   10224 	  cat conftest.err 1>&5
   10225 	fi
   10226 	$RM conftest*
   10227 
   10228 fi
   10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10230 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10231       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10232       ;;
   10233     esac
   10234   fi
   10235   ;;
   10236 esac
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322 
   10323 
   10324 
   10325 
   10326 
   10327 
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10395 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10396 
   10397 if test "$GCC" = yes; then
   10398   case $host_os in
   10399     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10400     *) lt_awk_arg="/^libraries:/" ;;
   10401   esac
   10402   case $host_os in
   10403     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10404     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10405   esac
   10406   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10407   case $lt_search_path_spec in
   10408   *\;*)
   10409     # if the path contains ";" then we assume it to be the separator
   10410     # otherwise default to the standard path separator (i.e. ":") - it is
   10411     # assumed that no part of a normal pathname contains ";" but that should
   10412     # okay in the real world where ";" in dirpaths is itself problematic.
   10413     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10414     ;;
   10415   *)
   10416     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10417     ;;
   10418   esac
   10419   # Ok, now we have the path, separated by spaces, we can step through it
   10420   # and add multilib dir if necessary.
   10421   lt_tmp_lt_search_path_spec=
   10422   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10423   for lt_sys_path in $lt_search_path_spec; do
   10424     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10425       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10426     else
   10427       test -d "$lt_sys_path" && \
   10428 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10429     fi
   10430   done
   10431   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10432 BEGIN {RS=" "; FS="/|\n";} {
   10433   lt_foo="";
   10434   lt_count=0;
   10435   for (lt_i = NF; lt_i > 0; lt_i--) {
   10436     if ($lt_i != "" && $lt_i != ".") {
   10437       if ($lt_i == "..") {
   10438         lt_count++;
   10439       } else {
   10440         if (lt_count == 0) {
   10441           lt_foo="/" $lt_i lt_foo;
   10442         } else {
   10443           lt_count--;
   10444         }
   10445       }
   10446     }
   10447   }
   10448   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10449   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10450 }'`
   10451   # AWK program above erroneously prepends '/' to C:/dos/paths
   10452   # for these hosts.
   10453   case $host_os in
   10454     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10455       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10456   esac
   10457   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10458 else
   10459   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10460 fi
   10461 library_names_spec=
   10462 libname_spec='lib$name'
   10463 soname_spec=
   10464 shrext_cmds=".so"
   10465 postinstall_cmds=
   10466 postuninstall_cmds=
   10467 finish_cmds=
   10468 finish_eval=
   10469 shlibpath_var=
   10470 shlibpath_overrides_runpath=unknown
   10471 version_type=none
   10472 dynamic_linker="$host_os ld.so"
   10473 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10474 need_lib_prefix=unknown
   10475 hardcode_into_libs=no
   10476 
   10477 # when you set need_version to no, make sure it does not cause -set_version
   10478 # flags to be left without arguments
   10479 need_version=unknown
   10480 
   10481 case $host_os in
   10482 aix3*)
   10483   version_type=linux
   10484   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10485   shlibpath_var=LIBPATH
   10486 
   10487   # AIX 3 has no versioning support, so we append a major version to the name.
   10488   soname_spec='${libname}${release}${shared_ext}$major'
   10489   ;;
   10490 
   10491 aix[4-9]*)
   10492   version_type=linux
   10493   need_lib_prefix=no
   10494   need_version=no
   10495   hardcode_into_libs=yes
   10496   if test "$host_cpu" = ia64; then
   10497     # AIX 5 supports IA64
   10498     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10499     shlibpath_var=LD_LIBRARY_PATH
   10500   else
   10501     # With GCC up to 2.95.x, collect2 would create an import file
   10502     # for dependence libraries.  The import file would start with
   10503     # the line `#! .'.  This would cause the generated library to
   10504     # depend on `.', always an invalid library.  This was fixed in
   10505     # development snapshots of GCC prior to 3.0.
   10506     case $host_os in
   10507       aix4 | aix4.[01] | aix4.[01].*)
   10508       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10509 	   echo ' yes '
   10510 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10511 	:
   10512       else
   10513 	can_build_shared=no
   10514       fi
   10515       ;;
   10516     esac
   10517     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10518     # soname into executable. Probably we can add versioning support to
   10519     # collect2, so additional links can be useful in future.
   10520     if test "$aix_use_runtimelinking" = yes; then
   10521       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10522       # instead of lib<name>.a to let people know that these are not
   10523       # typical AIX shared libraries.
   10524       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10525     else
   10526       # We preserve .a as extension for shared libraries through AIX4.2
   10527       # and later when we are not doing run time linking.
   10528       library_names_spec='${libname}${release}.a $libname.a'
   10529       soname_spec='${libname}${release}${shared_ext}$major'
   10530     fi
   10531     shlibpath_var=LIBPATH
   10532   fi
   10533   ;;
   10534 
   10535 amigaos*)
   10536   case $host_cpu in
   10537   powerpc)
   10538     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10539     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10540     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10541     ;;
   10542   m68k)
   10543     library_names_spec='$libname.ixlibrary $libname.a'
   10544     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10545     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'
   10546     ;;
   10547   esac
   10548   ;;
   10549 
   10550 beos*)
   10551   library_names_spec='${libname}${shared_ext}'
   10552   dynamic_linker="$host_os ld.so"
   10553   shlibpath_var=LIBRARY_PATH
   10554   ;;
   10555 
   10556 bsdi[45]*)
   10557   version_type=linux
   10558   need_version=no
   10559   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10560   soname_spec='${libname}${release}${shared_ext}$major'
   10561   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10562   shlibpath_var=LD_LIBRARY_PATH
   10563   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10564   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10565   # the default ld.so.conf also contains /usr/contrib/lib and
   10566   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10567   # libtool to hard-code these into programs
   10568   ;;
   10569 
   10570 cygwin* | mingw* | pw32* | cegcc*)
   10571   version_type=windows
   10572   shrext_cmds=".dll"
   10573   need_version=no
   10574   need_lib_prefix=no
   10575 
   10576   case $GCC,$host_os in
   10577   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   10578     library_names_spec='$libname.dll.a'
   10579     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10580     postinstall_cmds='base_file=`basename \${file}`~
   10581       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10582       dldir=$destdir/`dirname \$dlpath`~
   10583       test -d \$dldir || mkdir -p \$dldir~
   10584       $install_prog $dir/$dlname \$dldir/$dlname~
   10585       chmod a+x \$dldir/$dlname~
   10586       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10587         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10588       fi'
   10589     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10590       dlpath=$dir/\$dldll~
   10591        $RM \$dlpath'
   10592     shlibpath_overrides_runpath=yes
   10593 
   10594     case $host_os in
   10595     cygwin*)
   10596       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10597       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10598 
   10599       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10600       ;;
   10601     mingw* | cegcc*)
   10602       # MinGW DLLs use traditional 'lib' prefix
   10603       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10604       ;;
   10605     pw32*)
   10606       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10607       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10608       ;;
   10609     esac
   10610     ;;
   10611 
   10612   *)
   10613     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10614     ;;
   10615   esac
   10616   dynamic_linker='Win32 ld.exe'
   10617   # FIXME: first we should search . and the directory the executable is in
   10618   shlibpath_var=PATH
   10619   ;;
   10620 
   10621 darwin* | rhapsody*)
   10622   dynamic_linker="$host_os dyld"
   10623   version_type=darwin
   10624   need_lib_prefix=no
   10625   need_version=no
   10626   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10627   soname_spec='${libname}${release}${major}$shared_ext'
   10628   shlibpath_overrides_runpath=yes
   10629   shlibpath_var=DYLD_LIBRARY_PATH
   10630   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10631 
   10632   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10633   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10634   ;;
   10635 
   10636 dgux*)
   10637   version_type=linux
   10638   need_lib_prefix=no
   10639   need_version=no
   10640   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10641   soname_spec='${libname}${release}${shared_ext}$major'
   10642   shlibpath_var=LD_LIBRARY_PATH
   10643   ;;
   10644 
   10645 freebsd* | dragonfly*)
   10646   # DragonFly does not have aout.  When/if they implement a new
   10647   # versioning mechanism, adjust this.
   10648   if test -x /usr/bin/objformat; then
   10649     objformat=`/usr/bin/objformat`
   10650   else
   10651     case $host_os in
   10652     freebsd[23].*) objformat=aout ;;
   10653     *) objformat=elf ;;
   10654     esac
   10655   fi
   10656   version_type=freebsd-$objformat
   10657   case $version_type in
   10658     freebsd-elf*)
   10659       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10660       need_version=no
   10661       need_lib_prefix=no
   10662       ;;
   10663     freebsd-*)
   10664       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10665       need_version=yes
   10666       ;;
   10667   esac
   10668   shlibpath_var=LD_LIBRARY_PATH
   10669   case $host_os in
   10670   freebsd2.*)
   10671     shlibpath_overrides_runpath=yes
   10672     ;;
   10673   freebsd3.[01]* | freebsdelf3.[01]*)
   10674     shlibpath_overrides_runpath=yes
   10675     hardcode_into_libs=yes
   10676     ;;
   10677   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10678   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10679     shlibpath_overrides_runpath=no
   10680     hardcode_into_libs=yes
   10681     ;;
   10682   *) # from 4.6 on, and DragonFly
   10683     shlibpath_overrides_runpath=yes
   10684     hardcode_into_libs=yes
   10685     ;;
   10686   esac
   10687   ;;
   10688 
   10689 haiku*)
   10690   version_type=linux
   10691   need_lib_prefix=no
   10692   need_version=no
   10693   dynamic_linker="$host_os runtime_loader"
   10694   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10695   soname_spec='${libname}${release}${shared_ext}$major'
   10696   shlibpath_var=LIBRARY_PATH
   10697   shlibpath_overrides_runpath=yes
   10698   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10699   hardcode_into_libs=yes
   10700   ;;
   10701 
   10702 hpux9* | hpux10* | hpux11*)
   10703   # Give a soname corresponding to the major version so that dld.sl refuses to
   10704   # link against other versions.
   10705   version_type=sunos
   10706   need_lib_prefix=no
   10707   need_version=no
   10708   case $host_cpu in
   10709   ia64*)
   10710     shrext_cmds='.so'
   10711     hardcode_into_libs=yes
   10712     dynamic_linker="$host_os dld.so"
   10713     shlibpath_var=LD_LIBRARY_PATH
   10714     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10715     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10716     soname_spec='${libname}${release}${shared_ext}$major'
   10717     if test "X$HPUX_IA64_MODE" = X32; then
   10718       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10719     else
   10720       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10721     fi
   10722     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10723     ;;
   10724   hppa*64*)
   10725     shrext_cmds='.sl'
   10726     hardcode_into_libs=yes
   10727     dynamic_linker="$host_os dld.sl"
   10728     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10729     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10730     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10731     soname_spec='${libname}${release}${shared_ext}$major'
   10732     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10733     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10734     ;;
   10735   *)
   10736     shrext_cmds='.sl'
   10737     dynamic_linker="$host_os dld.sl"
   10738     shlibpath_var=SHLIB_PATH
   10739     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10740     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10741     soname_spec='${libname}${release}${shared_ext}$major'
   10742     ;;
   10743   esac
   10744   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10745   postinstall_cmds='chmod 555 $lib'
   10746   # or fails outright, so override atomically:
   10747   install_override_mode=555
   10748   ;;
   10749 
   10750 interix[3-9]*)
   10751   version_type=linux
   10752   need_lib_prefix=no
   10753   need_version=no
   10754   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10755   soname_spec='${libname}${release}${shared_ext}$major'
   10756   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10757   shlibpath_var=LD_LIBRARY_PATH
   10758   shlibpath_overrides_runpath=no
   10759   hardcode_into_libs=yes
   10760   ;;
   10761 
   10762 irix5* | irix6* | nonstopux*)
   10763   case $host_os in
   10764     nonstopux*) version_type=nonstopux ;;
   10765     *)
   10766 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10767 		version_type=linux
   10768 	else
   10769 		version_type=irix
   10770 	fi ;;
   10771   esac
   10772   need_lib_prefix=no
   10773   need_version=no
   10774   soname_spec='${libname}${release}${shared_ext}$major'
   10775   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10776   case $host_os in
   10777   irix5* | nonstopux*)
   10778     libsuff= shlibsuff=
   10779     ;;
   10780   *)
   10781     case $LD in # libtool.m4 will add one of these switches to LD
   10782     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10783       libsuff= shlibsuff= libmagic=32-bit;;
   10784     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10785       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10786     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10787       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10788     *) libsuff= shlibsuff= libmagic=never-match;;
   10789     esac
   10790     ;;
   10791   esac
   10792   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10793   shlibpath_overrides_runpath=no
   10794   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10795   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10796   hardcode_into_libs=yes
   10797   ;;
   10798 
   10799 # No shared lib support for Linux oldld, aout, or coff.
   10800 linux*oldld* | linux*aout* | linux*coff*)
   10801   dynamic_linker=no
   10802   ;;
   10803 
   10804 # This must be Linux ELF.
   10805 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10806   version_type=linux
   10807   need_lib_prefix=no
   10808   need_version=no
   10809   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10810   soname_spec='${libname}${release}${shared_ext}$major'
   10811   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10812   shlibpath_var=LD_LIBRARY_PATH
   10813   shlibpath_overrides_runpath=no
   10814 
   10815   # Some binutils ld are patched to set DT_RUNPATH
   10816   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10817   $as_echo_n "(cached) " >&6
   10818 else
   10819   lt_cv_shlibpath_overrides_runpath=no
   10820     save_LDFLAGS=$LDFLAGS
   10821     save_libdir=$libdir
   10822     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10823 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10824     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10825 /* end confdefs.h.  */
   10826 
   10827 int
   10828 main ()
   10829 {
   10830 
   10831   ;
   10832   return 0;
   10833 }
   10834 _ACEOF
   10835 if ac_fn_c_try_link "$LINENO"; then :
   10836   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10837   lt_cv_shlibpath_overrides_runpath=yes
   10838 fi
   10839 fi
   10840 rm -f core conftest.err conftest.$ac_objext \
   10841     conftest$ac_exeext conftest.$ac_ext
   10842     LDFLAGS=$save_LDFLAGS
   10843     libdir=$save_libdir
   10844 
   10845 fi
   10846 
   10847   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10848 
   10849   # This implies no fast_install, which is unacceptable.
   10850   # Some rework will be needed to allow for fast_install
   10851   # before this can be enabled.
   10852   hardcode_into_libs=yes
   10853 
   10854   # Append ld.so.conf contents to the search path
   10855   if test -f /etc/ld.so.conf; then
   10856     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' ' '`
   10857     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10858   fi
   10859 
   10860   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10861   # powerpc, because MkLinux only supported shared libraries with the
   10862   # GNU dynamic linker.  Since this was broken with cross compilers,
   10863   # most powerpc-linux boxes support dynamic linking these days and
   10864   # people can always --disable-shared, the test was removed, and we
   10865   # assume the GNU/Linux dynamic linker is in use.
   10866   dynamic_linker='GNU/Linux ld.so'
   10867   ;;
   10868 
   10869 netbsd*)
   10870   version_type=sunos
   10871   need_lib_prefix=no
   10872   need_version=no
   10873   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10874     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10875     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10876     dynamic_linker='NetBSD (a.out) ld.so'
   10877   else
   10878     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10879     soname_spec='${libname}${release}${shared_ext}$major'
   10880     dynamic_linker='NetBSD ld.elf_so'
   10881   fi
   10882   shlibpath_var=LD_LIBRARY_PATH
   10883   shlibpath_overrides_runpath=yes
   10884   hardcode_into_libs=yes
   10885   ;;
   10886 
   10887 newsos6)
   10888   version_type=linux
   10889   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10890   shlibpath_var=LD_LIBRARY_PATH
   10891   shlibpath_overrides_runpath=yes
   10892   ;;
   10893 
   10894 *nto* | *qnx*)
   10895   version_type=qnx
   10896   need_lib_prefix=no
   10897   need_version=no
   10898   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10899   soname_spec='${libname}${release}${shared_ext}$major'
   10900   shlibpath_var=LD_LIBRARY_PATH
   10901   shlibpath_overrides_runpath=no
   10902   hardcode_into_libs=yes
   10903   dynamic_linker='ldqnx.so'
   10904   ;;
   10905 
   10906 openbsd*)
   10907   version_type=sunos
   10908   sys_lib_dlsearch_path_spec="/usr/lib"
   10909   need_lib_prefix=no
   10910   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10911   case $host_os in
   10912     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10913     *)				need_version=no  ;;
   10914   esac
   10915   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10916   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10917   shlibpath_var=LD_LIBRARY_PATH
   10918   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10919     case $host_os in
   10920       openbsd2.[89] | openbsd2.[89].*)
   10921 	shlibpath_overrides_runpath=no
   10922 	;;
   10923       *)
   10924 	shlibpath_overrides_runpath=yes
   10925 	;;
   10926       esac
   10927   else
   10928     shlibpath_overrides_runpath=yes
   10929   fi
   10930   ;;
   10931 
   10932 os2*)
   10933   libname_spec='$name'
   10934   shrext_cmds=".dll"
   10935   need_lib_prefix=no
   10936   library_names_spec='$libname${shared_ext} $libname.a'
   10937   dynamic_linker='OS/2 ld.exe'
   10938   shlibpath_var=LIBPATH
   10939   ;;
   10940 
   10941 osf3* | osf4* | osf5*)
   10942   version_type=osf
   10943   need_lib_prefix=no
   10944   need_version=no
   10945   soname_spec='${libname}${release}${shared_ext}$major'
   10946   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10947   shlibpath_var=LD_LIBRARY_PATH
   10948   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10949   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10950   ;;
   10951 
   10952 rdos*)
   10953   dynamic_linker=no
   10954   ;;
   10955 
   10956 solaris*)
   10957   version_type=linux
   10958   need_lib_prefix=no
   10959   need_version=no
   10960   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10961   soname_spec='${libname}${release}${shared_ext}$major'
   10962   shlibpath_var=LD_LIBRARY_PATH
   10963   shlibpath_overrides_runpath=yes
   10964   hardcode_into_libs=yes
   10965   # ldd complains unless libraries are executable
   10966   postinstall_cmds='chmod +x $lib'
   10967   ;;
   10968 
   10969 sunos4*)
   10970   version_type=sunos
   10971   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10972   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10973   shlibpath_var=LD_LIBRARY_PATH
   10974   shlibpath_overrides_runpath=yes
   10975   if test "$with_gnu_ld" = yes; then
   10976     need_lib_prefix=no
   10977   fi
   10978   need_version=yes
   10979   ;;
   10980 
   10981 sysv4 | sysv4.3*)
   10982   version_type=linux
   10983   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10984   soname_spec='${libname}${release}${shared_ext}$major'
   10985   shlibpath_var=LD_LIBRARY_PATH
   10986   case $host_vendor in
   10987     sni)
   10988       shlibpath_overrides_runpath=no
   10989       need_lib_prefix=no
   10990       runpath_var=LD_RUN_PATH
   10991       ;;
   10992     siemens)
   10993       need_lib_prefix=no
   10994       ;;
   10995     motorola)
   10996       need_lib_prefix=no
   10997       need_version=no
   10998       shlibpath_overrides_runpath=no
   10999       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11000       ;;
   11001   esac
   11002   ;;
   11003 
   11004 sysv4*MP*)
   11005   if test -d /usr/nec ;then
   11006     version_type=linux
   11007     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   11008     soname_spec='$libname${shared_ext}.$major'
   11009     shlibpath_var=LD_LIBRARY_PATH
   11010   fi
   11011   ;;
   11012 
   11013 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11014   version_type=freebsd-elf
   11015   need_lib_prefix=no
   11016   need_version=no
   11017   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   11018   soname_spec='${libname}${release}${shared_ext}$major'
   11019   shlibpath_var=LD_LIBRARY_PATH
   11020   shlibpath_overrides_runpath=yes
   11021   hardcode_into_libs=yes
   11022   if test "$with_gnu_ld" = yes; then
   11023     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11024   else
   11025     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11026     case $host_os in
   11027       sco3.2v5*)
   11028         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11029 	;;
   11030     esac
   11031   fi
   11032   sys_lib_dlsearch_path_spec='/usr/lib'
   11033   ;;
   11034 
   11035 tpf*)
   11036   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11037   version_type=linux
   11038   need_lib_prefix=no
   11039   need_version=no
   11040   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11041   shlibpath_var=LD_LIBRARY_PATH
   11042   shlibpath_overrides_runpath=no
   11043   hardcode_into_libs=yes
   11044   ;;
   11045 
   11046 uts4*)
   11047   version_type=linux
   11048   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   11049   soname_spec='${libname}${release}${shared_ext}$major'
   11050   shlibpath_var=LD_LIBRARY_PATH
   11051   ;;
   11052 
   11053 *)
   11054   dynamic_linker=no
   11055   ;;
   11056 esac
   11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11058 $as_echo "$dynamic_linker" >&6; }
   11059 test "$dynamic_linker" = no && can_build_shared=no
   11060 
   11061 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11062 if test "$GCC" = yes; then
   11063   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11064 fi
   11065 
   11066 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   11067   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   11068 fi
   11069 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   11070   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   11071 fi
   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 
   11129 
   11130 
   11131 
   11132 
   11133 
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 
   11154 
   11155 
   11156 
   11157 
   11158 
   11159 
   11160 
   11161 
   11162 
   11163 
   11164   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11165 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11166 hardcode_action=
   11167 if test -n "$hardcode_libdir_flag_spec" ||
   11168    test -n "$runpath_var" ||
   11169    test "X$hardcode_automatic" = "Xyes" ; then
   11170 
   11171   # We can hardcode non-existent directories.
   11172   if test "$hardcode_direct" != no &&
   11173      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11174      # have to relink, otherwise we might link with an installed library
   11175      # when we should be linking with a yet-to-be-installed one
   11176      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   11177      test "$hardcode_minus_L" != no; then
   11178     # Linking always hardcodes the temporary library directory.
   11179     hardcode_action=relink
   11180   else
   11181     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11182     hardcode_action=immediate
   11183   fi
   11184 else
   11185   # We cannot hardcode anything, or else we can only hardcode existing
   11186   # directories.
   11187   hardcode_action=unsupported
   11188 fi
   11189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11190 $as_echo "$hardcode_action" >&6; }
   11191 
   11192 if test "$hardcode_action" = relink ||
   11193    test "$inherit_rpath" = yes; then
   11194   # Fast installation is not supported
   11195   enable_fast_install=no
   11196 elif test "$shlibpath_overrides_runpath" = yes ||
   11197      test "$enable_shared" = no; then
   11198   # Fast installation is not necessary
   11199   enable_fast_install=needless
   11200 fi
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207   if test "x$enable_dlopen" != xyes; then
   11208   enable_dlopen=unknown
   11209   enable_dlopen_self=unknown
   11210   enable_dlopen_self_static=unknown
   11211 else
   11212   lt_cv_dlopen=no
   11213   lt_cv_dlopen_libs=
   11214 
   11215   case $host_os in
   11216   beos*)
   11217     lt_cv_dlopen="load_add_on"
   11218     lt_cv_dlopen_libs=
   11219     lt_cv_dlopen_self=yes
   11220     ;;
   11221 
   11222   mingw* | pw32* | cegcc*)
   11223     lt_cv_dlopen="LoadLibrary"
   11224     lt_cv_dlopen_libs=
   11225     ;;
   11226 
   11227   cygwin*)
   11228     lt_cv_dlopen="dlopen"
   11229     lt_cv_dlopen_libs=
   11230     ;;
   11231 
   11232   darwin*)
   11233   # if libdl is installed we need to link against it
   11234     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11235 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11236 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11237   $as_echo_n "(cached) " >&6
   11238 else
   11239   ac_check_lib_save_LIBS=$LIBS
   11240 LIBS="-ldl  $LIBS"
   11241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11242 /* end confdefs.h.  */
   11243 
   11244 /* Override any GCC internal prototype to avoid an error.
   11245    Use char because int might match the return type of a GCC
   11246    builtin and then its argument prototype would still apply.  */
   11247 #ifdef __cplusplus
   11248 extern "C"
   11249 #endif
   11250 char dlopen ();
   11251 int
   11252 main ()
   11253 {
   11254 return dlopen ();
   11255   ;
   11256   return 0;
   11257 }
   11258 _ACEOF
   11259 if ac_fn_c_try_link "$LINENO"; then :
   11260   ac_cv_lib_dl_dlopen=yes
   11261 else
   11262   ac_cv_lib_dl_dlopen=no
   11263 fi
   11264 rm -f core conftest.err conftest.$ac_objext \
   11265     conftest$ac_exeext conftest.$ac_ext
   11266 LIBS=$ac_check_lib_save_LIBS
   11267 fi
   11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11269 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11270 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11271   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11272 else
   11273 
   11274     lt_cv_dlopen="dyld"
   11275     lt_cv_dlopen_libs=
   11276     lt_cv_dlopen_self=yes
   11277 
   11278 fi
   11279 
   11280     ;;
   11281 
   11282   *)
   11283     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11284 if test "x$ac_cv_func_shl_load" = xyes; then :
   11285   lt_cv_dlopen="shl_load"
   11286 else
   11287   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11288 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11289 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11290   $as_echo_n "(cached) " >&6
   11291 else
   11292   ac_check_lib_save_LIBS=$LIBS
   11293 LIBS="-ldld  $LIBS"
   11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11295 /* end confdefs.h.  */
   11296 
   11297 /* Override any GCC internal prototype to avoid an error.
   11298    Use char because int might match the return type of a GCC
   11299    builtin and then its argument prototype would still apply.  */
   11300 #ifdef __cplusplus
   11301 extern "C"
   11302 #endif
   11303 char shl_load ();
   11304 int
   11305 main ()
   11306 {
   11307 return shl_load ();
   11308   ;
   11309   return 0;
   11310 }
   11311 _ACEOF
   11312 if ac_fn_c_try_link "$LINENO"; then :
   11313   ac_cv_lib_dld_shl_load=yes
   11314 else
   11315   ac_cv_lib_dld_shl_load=no
   11316 fi
   11317 rm -f core conftest.err conftest.$ac_objext \
   11318     conftest$ac_exeext conftest.$ac_ext
   11319 LIBS=$ac_check_lib_save_LIBS
   11320 fi
   11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11322 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11323 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11324   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11325 else
   11326   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11327 if test "x$ac_cv_func_dlopen" = xyes; then :
   11328   lt_cv_dlopen="dlopen"
   11329 else
   11330   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11331 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11332 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11333   $as_echo_n "(cached) " >&6
   11334 else
   11335   ac_check_lib_save_LIBS=$LIBS
   11336 LIBS="-ldl  $LIBS"
   11337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11338 /* end confdefs.h.  */
   11339 
   11340 /* Override any GCC internal prototype to avoid an error.
   11341    Use char because int might match the return type of a GCC
   11342    builtin and then its argument prototype would still apply.  */
   11343 #ifdef __cplusplus
   11344 extern "C"
   11345 #endif
   11346 char dlopen ();
   11347 int
   11348 main ()
   11349 {
   11350 return dlopen ();
   11351   ;
   11352   return 0;
   11353 }
   11354 _ACEOF
   11355 if ac_fn_c_try_link "$LINENO"; then :
   11356   ac_cv_lib_dl_dlopen=yes
   11357 else
   11358   ac_cv_lib_dl_dlopen=no
   11359 fi
   11360 rm -f core conftest.err conftest.$ac_objext \
   11361     conftest$ac_exeext conftest.$ac_ext
   11362 LIBS=$ac_check_lib_save_LIBS
   11363 fi
   11364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11365 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11366 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11367   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11368 else
   11369   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11370 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11371 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11372   $as_echo_n "(cached) " >&6
   11373 else
   11374   ac_check_lib_save_LIBS=$LIBS
   11375 LIBS="-lsvld  $LIBS"
   11376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11377 /* end confdefs.h.  */
   11378 
   11379 /* Override any GCC internal prototype to avoid an error.
   11380    Use char because int might match the return type of a GCC
   11381    builtin and then its argument prototype would still apply.  */
   11382 #ifdef __cplusplus
   11383 extern "C"
   11384 #endif
   11385 char dlopen ();
   11386 int
   11387 main ()
   11388 {
   11389 return dlopen ();
   11390   ;
   11391   return 0;
   11392 }
   11393 _ACEOF
   11394 if ac_fn_c_try_link "$LINENO"; then :
   11395   ac_cv_lib_svld_dlopen=yes
   11396 else
   11397   ac_cv_lib_svld_dlopen=no
   11398 fi
   11399 rm -f core conftest.err conftest.$ac_objext \
   11400     conftest$ac_exeext conftest.$ac_ext
   11401 LIBS=$ac_check_lib_save_LIBS
   11402 fi
   11403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11404 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11405 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11406   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11407 else
   11408   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11409 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11410 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11411   $as_echo_n "(cached) " >&6
   11412 else
   11413   ac_check_lib_save_LIBS=$LIBS
   11414 LIBS="-ldld  $LIBS"
   11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11416 /* end confdefs.h.  */
   11417 
   11418 /* Override any GCC internal prototype to avoid an error.
   11419    Use char because int might match the return type of a GCC
   11420    builtin and then its argument prototype would still apply.  */
   11421 #ifdef __cplusplus
   11422 extern "C"
   11423 #endif
   11424 char dld_link ();
   11425 int
   11426 main ()
   11427 {
   11428 return dld_link ();
   11429   ;
   11430   return 0;
   11431 }
   11432 _ACEOF
   11433 if ac_fn_c_try_link "$LINENO"; then :
   11434   ac_cv_lib_dld_dld_link=yes
   11435 else
   11436   ac_cv_lib_dld_dld_link=no
   11437 fi
   11438 rm -f core conftest.err conftest.$ac_objext \
   11439     conftest$ac_exeext conftest.$ac_ext
   11440 LIBS=$ac_check_lib_save_LIBS
   11441 fi
   11442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11443 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11444 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11445   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11446 fi
   11447 
   11448 
   11449 fi
   11450 
   11451 
   11452 fi
   11453 
   11454 
   11455 fi
   11456 
   11457 
   11458 fi
   11459 
   11460 
   11461 fi
   11462 
   11463     ;;
   11464   esac
   11465 
   11466   if test "x$lt_cv_dlopen" != xno; then
   11467     enable_dlopen=yes
   11468   else
   11469     enable_dlopen=no
   11470   fi
   11471 
   11472   case $lt_cv_dlopen in
   11473   dlopen)
   11474     save_CPPFLAGS="$CPPFLAGS"
   11475     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11476 
   11477     save_LDFLAGS="$LDFLAGS"
   11478     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11479 
   11480     save_LIBS="$LIBS"
   11481     LIBS="$lt_cv_dlopen_libs $LIBS"
   11482 
   11483     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11484 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11485 if ${lt_cv_dlopen_self+:} false; then :
   11486   $as_echo_n "(cached) " >&6
   11487 else
   11488   	  if test "$cross_compiling" = yes; then :
   11489   lt_cv_dlopen_self=cross
   11490 else
   11491   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11492   lt_status=$lt_dlunknown
   11493   cat > conftest.$ac_ext <<_LT_EOF
   11494 #line 11494 "configure"
   11495 #include "confdefs.h"
   11496 
   11497 #if HAVE_DLFCN_H
   11498 #include <dlfcn.h>
   11499 #endif
   11500 
   11501 #include <stdio.h>
   11502 
   11503 #ifdef RTLD_GLOBAL
   11504 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11505 #else
   11506 #  ifdef DL_GLOBAL
   11507 #    define LT_DLGLOBAL		DL_GLOBAL
   11508 #  else
   11509 #    define LT_DLGLOBAL		0
   11510 #  endif
   11511 #endif
   11512 
   11513 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11514    find out it does not work in some platform. */
   11515 #ifndef LT_DLLAZY_OR_NOW
   11516 #  ifdef RTLD_LAZY
   11517 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11518 #  else
   11519 #    ifdef DL_LAZY
   11520 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11521 #    else
   11522 #      ifdef RTLD_NOW
   11523 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11524 #      else
   11525 #        ifdef DL_NOW
   11526 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11527 #        else
   11528 #          define LT_DLLAZY_OR_NOW	0
   11529 #        endif
   11530 #      endif
   11531 #    endif
   11532 #  endif
   11533 #endif
   11534 
   11535 /* When -fvisbility=hidden is used, assume the code has been annotated
   11536    correspondingly for the symbols needed.  */
   11537 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11538 void fnord () __attribute__((visibility("default")));
   11539 #endif
   11540 
   11541 void fnord () { int i=42; }
   11542 int main ()
   11543 {
   11544   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11545   int status = $lt_dlunknown;
   11546 
   11547   if (self)
   11548     {
   11549       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11550       else
   11551         {
   11552 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11553           else puts (dlerror ());
   11554 	}
   11555       /* dlclose (self); */
   11556     }
   11557   else
   11558     puts (dlerror ());
   11559 
   11560   return status;
   11561 }
   11562 _LT_EOF
   11563   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11564   (eval $ac_link) 2>&5
   11565   ac_status=$?
   11566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11567   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11568     (./conftest; exit; ) >&5 2>/dev/null
   11569     lt_status=$?
   11570     case x$lt_status in
   11571       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11572       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11573       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11574     esac
   11575   else :
   11576     # compilation failed
   11577     lt_cv_dlopen_self=no
   11578   fi
   11579 fi
   11580 rm -fr conftest*
   11581 
   11582 
   11583 fi
   11584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11585 $as_echo "$lt_cv_dlopen_self" >&6; }
   11586 
   11587     if test "x$lt_cv_dlopen_self" = xyes; then
   11588       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11589       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11590 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11591 if ${lt_cv_dlopen_self_static+:} false; then :
   11592   $as_echo_n "(cached) " >&6
   11593 else
   11594   	  if test "$cross_compiling" = yes; then :
   11595   lt_cv_dlopen_self_static=cross
   11596 else
   11597   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11598   lt_status=$lt_dlunknown
   11599   cat > conftest.$ac_ext <<_LT_EOF
   11600 #line 11600 "configure"
   11601 #include "confdefs.h"
   11602 
   11603 #if HAVE_DLFCN_H
   11604 #include <dlfcn.h>
   11605 #endif
   11606 
   11607 #include <stdio.h>
   11608 
   11609 #ifdef RTLD_GLOBAL
   11610 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11611 #else
   11612 #  ifdef DL_GLOBAL
   11613 #    define LT_DLGLOBAL		DL_GLOBAL
   11614 #  else
   11615 #    define LT_DLGLOBAL		0
   11616 #  endif
   11617 #endif
   11618 
   11619 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11620    find out it does not work in some platform. */
   11621 #ifndef LT_DLLAZY_OR_NOW
   11622 #  ifdef RTLD_LAZY
   11623 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11624 #  else
   11625 #    ifdef DL_LAZY
   11626 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11627 #    else
   11628 #      ifdef RTLD_NOW
   11629 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11630 #      else
   11631 #        ifdef DL_NOW
   11632 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11633 #        else
   11634 #          define LT_DLLAZY_OR_NOW	0
   11635 #        endif
   11636 #      endif
   11637 #    endif
   11638 #  endif
   11639 #endif
   11640 
   11641 /* When -fvisbility=hidden is used, assume the code has been annotated
   11642    correspondingly for the symbols needed.  */
   11643 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11644 void fnord () __attribute__((visibility("default")));
   11645 #endif
   11646 
   11647 void fnord () { int i=42; }
   11648 int main ()
   11649 {
   11650   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11651   int status = $lt_dlunknown;
   11652 
   11653   if (self)
   11654     {
   11655       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11656       else
   11657         {
   11658 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11659           else puts (dlerror ());
   11660 	}
   11661       /* dlclose (self); */
   11662     }
   11663   else
   11664     puts (dlerror ());
   11665 
   11666   return status;
   11667 }
   11668 _LT_EOF
   11669   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11670   (eval $ac_link) 2>&5
   11671   ac_status=$?
   11672   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11673   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11674     (./conftest; exit; ) >&5 2>/dev/null
   11675     lt_status=$?
   11676     case x$lt_status in
   11677       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11678       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11679       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11680     esac
   11681   else :
   11682     # compilation failed
   11683     lt_cv_dlopen_self_static=no
   11684   fi
   11685 fi
   11686 rm -fr conftest*
   11687 
   11688 
   11689 fi
   11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11691 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11692     fi
   11693 
   11694     CPPFLAGS="$save_CPPFLAGS"
   11695     LDFLAGS="$save_LDFLAGS"
   11696     LIBS="$save_LIBS"
   11697     ;;
   11698   esac
   11699 
   11700   case $lt_cv_dlopen_self in
   11701   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11702   *) enable_dlopen_self=unknown ;;
   11703   esac
   11704 
   11705   case $lt_cv_dlopen_self_static in
   11706   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11707   *) enable_dlopen_self_static=unknown ;;
   11708   esac
   11709 fi
   11710 
   11711 
   11712 
   11713 
   11714 
   11715 
   11716 
   11717 
   11718 
   11719 
   11720 
   11721 
   11722 
   11723 
   11724 
   11725 
   11726 
   11727 striplib=
   11728 old_striplib=
   11729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11730 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11731 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11732   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11733   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11735 $as_echo "yes" >&6; }
   11736 else
   11737 # FIXME - insert some real tests, host_os isn't really good enough
   11738   case $host_os in
   11739   darwin*)
   11740     if test -n "$STRIP" ; then
   11741       striplib="$STRIP -x"
   11742       old_striplib="$STRIP -S"
   11743       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11744 $as_echo "yes" >&6; }
   11745     else
   11746       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11747 $as_echo "no" >&6; }
   11748     fi
   11749     ;;
   11750   *)
   11751     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11752 $as_echo "no" >&6; }
   11753     ;;
   11754   esac
   11755 fi
   11756 
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 
   11768   # Report which library types will actually be built
   11769   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11770 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11772 $as_echo "$can_build_shared" >&6; }
   11773 
   11774   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11775 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11776   test "$can_build_shared" = "no" && enable_shared=no
   11777 
   11778   # On AIX, shared libraries and static libraries use the same namespace, and
   11779   # are all built from PIC.
   11780   case $host_os in
   11781   aix3*)
   11782     test "$enable_shared" = yes && enable_static=no
   11783     if test -n "$RANLIB"; then
   11784       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11785       postinstall_cmds='$RANLIB $lib'
   11786     fi
   11787     ;;
   11788 
   11789   aix[4-9]*)
   11790     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11791       test "$enable_shared" = yes && enable_static=no
   11792     fi
   11793     ;;
   11794   esac
   11795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11796 $as_echo "$enable_shared" >&6; }
   11797 
   11798   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11799 $as_echo_n "checking whether to build static libraries... " >&6; }
   11800   # Make sure either enable_shared or enable_static is yes.
   11801   test "$enable_shared" = yes || enable_static=yes
   11802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11803 $as_echo "$enable_static" >&6; }
   11804 
   11805 
   11806 
   11807 
   11808 fi
   11809 ac_ext=c
   11810 ac_cpp='$CPP $CPPFLAGS'
   11811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11814 
   11815 CC="$lt_save_CC"
   11816 
   11817       if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
   11818     ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
   11819     (test "X$CXX" != "Xg++"))) ; then
   11820   ac_ext=cpp
   11821 ac_cpp='$CXXCPP $CPPFLAGS'
   11822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
   11826 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
   11827 if test -z "$CXXCPP"; then
   11828   if ${ac_cv_prog_CXXCPP+:} false; then :
   11829   $as_echo_n "(cached) " >&6
   11830 else
   11831       # Double quotes because CXXCPP needs to be expanded
   11832     for CXXCPP in "$CXX -E" "/lib/cpp"
   11833     do
   11834       ac_preproc_ok=false
   11835 for ac_cxx_preproc_warn_flag in '' yes
   11836 do
   11837   # Use a header file that comes with gcc, so configuring glibc
   11838   # with a fresh cross-compiler works.
   11839   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11840   # <limits.h> exists even on freestanding compilers.
   11841   # On the NeXT, cc -E runs the code through the compiler's parser,
   11842   # not just through cpp. "Syntax error" is here to catch this case.
   11843   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11844 /* end confdefs.h.  */
   11845 #ifdef __STDC__
   11846 # include <limits.h>
   11847 #else
   11848 # include <assert.h>
   11849 #endif
   11850 		     Syntax error
   11851 _ACEOF
   11852 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11853 
   11854 else
   11855   # Broken: fails on valid input.
   11856 continue
   11857 fi
   11858 rm -f conftest.err conftest.i conftest.$ac_ext
   11859 
   11860   # OK, works on sane cases.  Now check whether nonexistent headers
   11861   # can be detected and how.
   11862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11863 /* end confdefs.h.  */
   11864 #include <ac_nonexistent.h>
   11865 _ACEOF
   11866 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11867   # Broken: success on invalid input.
   11868 continue
   11869 else
   11870   # Passes both tests.
   11871 ac_preproc_ok=:
   11872 break
   11873 fi
   11874 rm -f conftest.err conftest.i conftest.$ac_ext
   11875 
   11876 done
   11877 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11878 rm -f conftest.i conftest.err conftest.$ac_ext
   11879 if $ac_preproc_ok; then :
   11880   break
   11881 fi
   11882 
   11883     done
   11884     ac_cv_prog_CXXCPP=$CXXCPP
   11885 
   11886 fi
   11887   CXXCPP=$ac_cv_prog_CXXCPP
   11888 else
   11889   ac_cv_prog_CXXCPP=$CXXCPP
   11890 fi
   11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
   11892 $as_echo "$CXXCPP" >&6; }
   11893 ac_preproc_ok=false
   11894 for ac_cxx_preproc_warn_flag in '' yes
   11895 do
   11896   # Use a header file that comes with gcc, so configuring glibc
   11897   # with a fresh cross-compiler works.
   11898   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11899   # <limits.h> exists even on freestanding compilers.
   11900   # On the NeXT, cc -E runs the code through the compiler's parser,
   11901   # not just through cpp. "Syntax error" is here to catch this case.
   11902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11903 /* end confdefs.h.  */
   11904 #ifdef __STDC__
   11905 # include <limits.h>
   11906 #else
   11907 # include <assert.h>
   11908 #endif
   11909 		     Syntax error
   11910 _ACEOF
   11911 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11912 
   11913 else
   11914   # Broken: fails on valid input.
   11915 continue
   11916 fi
   11917 rm -f conftest.err conftest.i conftest.$ac_ext
   11918 
   11919   # OK, works on sane cases.  Now check whether nonexistent headers
   11920   # can be detected and how.
   11921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11922 /* end confdefs.h.  */
   11923 #include <ac_nonexistent.h>
   11924 _ACEOF
   11925 if ac_fn_cxx_try_cpp "$LINENO"; then :
   11926   # Broken: success on invalid input.
   11927 continue
   11928 else
   11929   # Passes both tests.
   11930 ac_preproc_ok=:
   11931 break
   11932 fi
   11933 rm -f conftest.err conftest.i conftest.$ac_ext
   11934 
   11935 done
   11936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   11937 rm -f conftest.i conftest.err conftest.$ac_ext
   11938 if $ac_preproc_ok; then :
   11939 
   11940 else
   11941   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11943 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
   11944 See \`config.log' for more details" "$LINENO" 5; }
   11945 fi
   11946 
   11947 ac_ext=c
   11948 ac_cpp='$CPP $CPPFLAGS'
   11949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11952 
   11953 else
   11954   _lt_caught_CXX_error=yes
   11955 fi
   11956 
   11957 ac_ext=cpp
   11958 ac_cpp='$CXXCPP $CPPFLAGS'
   11959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   11962 
   11963 archive_cmds_need_lc_CXX=no
   11964 allow_undefined_flag_CXX=
   11965 always_export_symbols_CXX=no
   11966 archive_expsym_cmds_CXX=
   11967 compiler_needs_object_CXX=no
   11968 export_dynamic_flag_spec_CXX=
   11969 hardcode_direct_CXX=no
   11970 hardcode_direct_absolute_CXX=no
   11971 hardcode_libdir_flag_spec_CXX=
   11972 hardcode_libdir_flag_spec_ld_CXX=
   11973 hardcode_libdir_separator_CXX=
   11974 hardcode_minus_L_CXX=no
   11975 hardcode_shlibpath_var_CXX=unsupported
   11976 hardcode_automatic_CXX=no
   11977 inherit_rpath_CXX=no
   11978 module_cmds_CXX=
   11979 module_expsym_cmds_CXX=
   11980 link_all_deplibs_CXX=unknown
   11981 old_archive_cmds_CXX=$old_archive_cmds
   11982 reload_flag_CXX=$reload_flag
   11983 reload_cmds_CXX=$reload_cmds
   11984 no_undefined_flag_CXX=
   11985 whole_archive_flag_spec_CXX=
   11986 enable_shared_with_static_runtimes_CXX=no
   11987 
   11988 # Source file extension for C++ test sources.
   11989 ac_ext=cpp
   11990 
   11991 # Object file extension for compiled C++ test sources.
   11992 objext=o
   11993 objext_CXX=$objext
   11994 
   11995 # No sense in running all these tests if we already determined that
   11996 # the CXX compiler isn't working.  Some variables (like enable_shared)
   11997 # are currently assumed to apply to all compilers on this platform,
   11998 # and will be corrupted by setting them based on a non-working compiler.
   11999 if test "$_lt_caught_CXX_error" != yes; then
   12000   # Code to be used in simple compile tests
   12001   lt_simple_compile_test_code="int some_variable = 0;"
   12002 
   12003   # Code to be used in simple link tests
   12004   lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
   12005 
   12006   # ltmain only uses $CC for tagged configurations so make sure $CC is set.
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013 # If no C compiler was specified, use CC.
   12014 LTCC=${LTCC-"$CC"}
   12015 
   12016 # If no C compiler flags were specified, use CFLAGS.
   12017 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12018 
   12019 # Allow CC to be a program name with arguments.
   12020 compiler=$CC
   12021 
   12022 
   12023   # save warnings/boilerplate of simple test code
   12024   ac_outfile=conftest.$ac_objext
   12025 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   12026 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12027 _lt_compiler_boilerplate=`cat conftest.err`
   12028 $RM conftest*
   12029 
   12030   ac_outfile=conftest.$ac_objext
   12031 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   12032 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   12033 _lt_linker_boilerplate=`cat conftest.err`
   12034 $RM -r conftest*
   12035 
   12036 
   12037   # Allow CC to be a program name with arguments.
   12038   lt_save_CC=$CC
   12039   lt_save_LD=$LD
   12040   lt_save_GCC=$GCC
   12041   GCC=$GXX
   12042   lt_save_with_gnu_ld=$with_gnu_ld
   12043   lt_save_path_LD=$lt_cv_path_LD
   12044   if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
   12045     lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
   12046   else
   12047     $as_unset lt_cv_prog_gnu_ld
   12048   fi
   12049   if test -n "${lt_cv_path_LDCXX+set}"; then
   12050     lt_cv_path_LD=$lt_cv_path_LDCXX
   12051   else
   12052     $as_unset lt_cv_path_LD
   12053   fi
   12054   test -z "${LDCXX+set}" || LD=$LDCXX
   12055   CC=${CXX-"c++"}
   12056   compiler=$CC
   12057   compiler_CXX=$CC
   12058   for cc_temp in $compiler""; do
   12059   case $cc_temp in
   12060     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   12061     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   12062     \-*) ;;
   12063     *) break;;
   12064   esac
   12065 done
   12066 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   12067 
   12068 
   12069   if test -n "$compiler"; then
   12070     # We don't want -fno-exception when compiling C++ code, so set the
   12071     # no_builtin_flag separately
   12072     if test "$GXX" = yes; then
   12073       lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
   12074     else
   12075       lt_prog_compiler_no_builtin_flag_CXX=
   12076     fi
   12077 
   12078     if test "$GXX" = yes; then
   12079       # Set up default GNU C++ configuration
   12080 
   12081 
   12082 
   12083 # Check whether --with-gnu-ld was given.
   12084 if test "${with_gnu_ld+set}" = set; then :
   12085   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   12086 else
   12087   with_gnu_ld=no
   12088 fi
   12089 
   12090 ac_prog=ld
   12091 if test "$GCC" = yes; then
   12092   # Check if gcc -print-prog-name=ld gives a path.
   12093   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   12094 $as_echo_n "checking for ld used by $CC... " >&6; }
   12095   case $host in
   12096   *-*-mingw*)
   12097     # gcc leaves a trailing carriage return which upsets mingw
   12098     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   12099   *)
   12100     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   12101   esac
   12102   case $ac_prog in
   12103     # Accept absolute paths.
   12104     [\\/]* | ?:[\\/]*)
   12105       re_direlt='/[^/][^/]*/\.\./'
   12106       # Canonicalize the pathname of ld
   12107       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   12108       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   12109 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   12110       done
   12111       test -z "$LD" && LD="$ac_prog"
   12112       ;;
   12113   "")
   12114     # If it fails, then pretend we aren't using GCC.
   12115     ac_prog=ld
   12116     ;;
   12117   *)
   12118     # If it is relative, then search for the first ld in PATH.
   12119     with_gnu_ld=unknown
   12120     ;;
   12121   esac
   12122 elif test "$with_gnu_ld" = yes; then
   12123   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   12124 $as_echo_n "checking for GNU ld... " >&6; }
   12125 else
   12126   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   12127 $as_echo_n "checking for non-GNU ld... " >&6; }
   12128 fi
   12129 if ${lt_cv_path_LD+:} false; then :
   12130   $as_echo_n "(cached) " >&6
   12131 else
   12132   if test -z "$LD"; then
   12133   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   12134   for ac_dir in $PATH; do
   12135     IFS="$lt_save_ifs"
   12136     test -z "$ac_dir" && ac_dir=.
   12137     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   12138       lt_cv_path_LD="$ac_dir/$ac_prog"
   12139       # Check to see if the program is GNU ld.  I'd rather use --version,
   12140       # but apparently some variants of GNU ld only accept -v.
   12141       # Break only if it was the GNU/non-GNU ld that we prefer.
   12142       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   12143       *GNU* | *'with BFD'*)
   12144 	test "$with_gnu_ld" != no && break
   12145 	;;
   12146       *)
   12147 	test "$with_gnu_ld" != yes && break
   12148 	;;
   12149       esac
   12150     fi
   12151   done
   12152   IFS="$lt_save_ifs"
   12153 else
   12154   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   12155 fi
   12156 fi
   12157 
   12158 LD="$lt_cv_path_LD"
   12159 if test -n "$LD"; then
   12160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   12161 $as_echo "$LD" >&6; }
   12162 else
   12163   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12164 $as_echo "no" >&6; }
   12165 fi
   12166 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   12168 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   12169 if ${lt_cv_prog_gnu_ld+:} false; then :
   12170   $as_echo_n "(cached) " >&6
   12171 else
   12172   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   12173 case `$LD -v 2>&1 </dev/null` in
   12174 *GNU* | *'with BFD'*)
   12175   lt_cv_prog_gnu_ld=yes
   12176   ;;
   12177 *)
   12178   lt_cv_prog_gnu_ld=no
   12179   ;;
   12180 esac
   12181 fi
   12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   12183 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   12184 with_gnu_ld=$lt_cv_prog_gnu_ld
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 
   12192       # Check if GNU C++ uses GNU ld as the underlying linker, since the
   12193       # archiving commands below assume that GNU ld is being used.
   12194       if test "$with_gnu_ld" = yes; then
   12195         archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12196         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'
   12197 
   12198         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12199         export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12200 
   12201         # If archive_cmds runs LD, not CC, wlarc should be empty
   12202         # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
   12203         #     investigate it a little bit more. (MM)
   12204         wlarc='${wl}'
   12205 
   12206         # ancient GNU ld didn't support --whole-archive et. al.
   12207         if eval "`$CC -print-prog-name=ld` --help 2>&1" |
   12208 	  $GREP 'no-whole-archive' > /dev/null; then
   12209           whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12210         else
   12211           whole_archive_flag_spec_CXX=
   12212         fi
   12213       else
   12214         with_gnu_ld=no
   12215         wlarc=
   12216 
   12217         # A generic and very simple default shared library creation
   12218         # command for GNU C++ for the case where it uses the native
   12219         # linker, instead of GNU ld.  If possible, this setting should
   12220         # overridden to take advantage of the native linker features on
   12221         # the platform it is being used on.
   12222         archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12223       fi
   12224 
   12225       # Commands to make compiler produce verbose output that lists
   12226       # what "hidden" libraries, object files and flags are used when
   12227       # linking a shared library.
   12228       output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12229 
   12230     else
   12231       GXX=no
   12232       with_gnu_ld=no
   12233       wlarc=
   12234     fi
   12235 
   12236     # PORTME: fill in a description of your system's C++ link characteristics
   12237     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   12238 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   12239     ld_shlibs_CXX=yes
   12240     case $host_os in
   12241       aix3*)
   12242         # FIXME: insert proper C++ library support
   12243         ld_shlibs_CXX=no
   12244         ;;
   12245       aix[4-9]*)
   12246         if test "$host_cpu" = ia64; then
   12247           # On IA64, the linker does run time linking by default, so we don't
   12248           # have to do anything special.
   12249           aix_use_runtimelinking=no
   12250           exp_sym_flag='-Bexport'
   12251           no_entry_flag=""
   12252         else
   12253           aix_use_runtimelinking=no
   12254 
   12255           # Test if we are trying to use run time linking or normal
   12256           # AIX style linking. If -brtl is somewhere in LDFLAGS, we
   12257           # need to do runtime linking.
   12258           case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   12259 	    for ld_flag in $LDFLAGS; do
   12260 	      case $ld_flag in
   12261 	      *-brtl*)
   12262 	        aix_use_runtimelinking=yes
   12263 	        break
   12264 	        ;;
   12265 	      esac
   12266 	    done
   12267 	    ;;
   12268           esac
   12269 
   12270           exp_sym_flag='-bexport'
   12271           no_entry_flag='-bnoentry'
   12272         fi
   12273 
   12274         # When large executables or shared objects are built, AIX ld can
   12275         # have problems creating the table of contents.  If linking a library
   12276         # or program results in "error TOC overflow" add -mminimal-toc to
   12277         # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   12278         # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   12279 
   12280         archive_cmds_CXX=''
   12281         hardcode_direct_CXX=yes
   12282         hardcode_direct_absolute_CXX=yes
   12283         hardcode_libdir_separator_CXX=':'
   12284         link_all_deplibs_CXX=yes
   12285         file_list_spec_CXX='${wl}-f,'
   12286 
   12287         if test "$GXX" = yes; then
   12288           case $host_os in aix4.[012]|aix4.[012].*)
   12289           # We only want to do this on AIX 4.2 and lower, the check
   12290           # below for broken collect2 doesn't work under 4.3+
   12291 	  collect2name=`${CC} -print-prog-name=collect2`
   12292 	  if test -f "$collect2name" &&
   12293 	     strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   12294 	  then
   12295 	    # We have reworked collect2
   12296 	    :
   12297 	  else
   12298 	    # We have old collect2
   12299 	    hardcode_direct_CXX=unsupported
   12300 	    # It fails to find uninstalled libraries when the uninstalled
   12301 	    # path is not listed in the libpath.  Setting hardcode_minus_L
   12302 	    # to unsupported forces relinking
   12303 	    hardcode_minus_L_CXX=yes
   12304 	    hardcode_libdir_flag_spec_CXX='-L$libdir'
   12305 	    hardcode_libdir_separator_CXX=
   12306 	  fi
   12307           esac
   12308           shared_flag='-shared'
   12309 	  if test "$aix_use_runtimelinking" = yes; then
   12310 	    shared_flag="$shared_flag "'${wl}-G'
   12311 	  fi
   12312         else
   12313           # not using gcc
   12314           if test "$host_cpu" = ia64; then
   12315 	  # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   12316 	  # chokes on -Wl,-G. The following line is correct:
   12317 	  shared_flag='-G'
   12318           else
   12319 	    if test "$aix_use_runtimelinking" = yes; then
   12320 	      shared_flag='${wl}-G'
   12321 	    else
   12322 	      shared_flag='${wl}-bM:SRE'
   12323 	    fi
   12324           fi
   12325         fi
   12326 
   12327         export_dynamic_flag_spec_CXX='${wl}-bexpall'
   12328         # It seems that -bexpall does not export symbols beginning with
   12329         # underscore (_), so it is better to generate a list of symbols to
   12330 	# export.
   12331         always_export_symbols_CXX=yes
   12332         if test "$aix_use_runtimelinking" = yes; then
   12333           # Warning - without using the other runtime loading flags (-brtl),
   12334           # -berok will link without error, but may produce a broken library.
   12335           allow_undefined_flag_CXX='-berok'
   12336           # Determine the default libpath from the value encoded in an empty
   12337           # executable.
   12338           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12339 /* end confdefs.h.  */
   12340 
   12341 int
   12342 main ()
   12343 {
   12344 
   12345   ;
   12346   return 0;
   12347 }
   12348 _ACEOF
   12349 if ac_fn_cxx_try_link "$LINENO"; then :
   12350 
   12351 lt_aix_libpath_sed='
   12352     /Import File Strings/,/^$/ {
   12353 	/^0/ {
   12354 	    s/^0  *\(.*\)$/\1/
   12355 	    p
   12356 	}
   12357     }'
   12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12359 # Check for a 64-bit object if we didn't find anything.
   12360 if test -z "$aix_libpath"; then
   12361   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12362 fi
   12363 fi
   12364 rm -f core conftest.err conftest.$ac_objext \
   12365     conftest$ac_exeext conftest.$ac_ext
   12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   12367 
   12368           hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12369 
   12370           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"
   12371         else
   12372           if test "$host_cpu" = ia64; then
   12373 	    hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
   12374 	    allow_undefined_flag_CXX="-z nodefs"
   12375 	    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"
   12376           else
   12377 	    # Determine the default libpath from the value encoded in an
   12378 	    # empty executable.
   12379 	    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12380 /* end confdefs.h.  */
   12381 
   12382 int
   12383 main ()
   12384 {
   12385 
   12386   ;
   12387   return 0;
   12388 }
   12389 _ACEOF
   12390 if ac_fn_cxx_try_link "$LINENO"; then :
   12391 
   12392 lt_aix_libpath_sed='
   12393     /Import File Strings/,/^$/ {
   12394 	/^0/ {
   12395 	    s/^0  *\(.*\)$/\1/
   12396 	    p
   12397 	}
   12398     }'
   12399 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12400 # Check for a 64-bit object if we didn't find anything.
   12401 if test -z "$aix_libpath"; then
   12402   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   12403 fi
   12404 fi
   12405 rm -f core conftest.err conftest.$ac_objext \
   12406     conftest$ac_exeext conftest.$ac_ext
   12407 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   12408 
   12409 	    hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
   12410 	    # Warning - without using the other run time loading flags,
   12411 	    # -berok will link without error, but may produce a broken library.
   12412 	    no_undefined_flag_CXX=' ${wl}-bernotok'
   12413 	    allow_undefined_flag_CXX=' ${wl}-berok'
   12414 	    if test "$with_gnu_ld" = yes; then
   12415 	      # We only use this code for GNU lds that support --whole-archive.
   12416 	      whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12417 	    else
   12418 	      # Exported symbols can be pulled into shared objects from archives
   12419 	      whole_archive_flag_spec_CXX='$convenience'
   12420 	    fi
   12421 	    archive_cmds_need_lc_CXX=yes
   12422 	    # This is similar to how AIX traditionally builds its shared
   12423 	    # libraries.
   12424 	    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'
   12425           fi
   12426         fi
   12427         ;;
   12428 
   12429       beos*)
   12430 	if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   12431 	  allow_undefined_flag_CXX=unsupported
   12432 	  # Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   12433 	  # support --undefined.  This deserves some investigation.  FIXME
   12434 	  archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12435 	else
   12436 	  ld_shlibs_CXX=no
   12437 	fi
   12438 	;;
   12439 
   12440       chorus*)
   12441         case $cc_basename in
   12442           *)
   12443 	  # FIXME: insert proper C++ library support
   12444 	  ld_shlibs_CXX=no
   12445 	  ;;
   12446         esac
   12447         ;;
   12448 
   12449       cygwin* | mingw* | pw32* | cegcc*)
   12450         # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
   12451         # as there is no search path for DLLs.
   12452         hardcode_libdir_flag_spec_CXX='-L$libdir'
   12453         export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
   12454         allow_undefined_flag_CXX=unsupported
   12455         always_export_symbols_CXX=no
   12456         enable_shared_with_static_runtimes_CXX=yes
   12457 
   12458         if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   12459           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'
   12460           # If the export-symbols file already is a .def file (1st line
   12461           # is EXPORTS), use it as is; otherwise, prepend...
   12462           archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   12463 	    cp $export_symbols $output_objdir/$soname.def;
   12464           else
   12465 	    echo EXPORTS > $output_objdir/$soname.def;
   12466 	    cat $export_symbols >> $output_objdir/$soname.def;
   12467           fi~
   12468           $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'
   12469         else
   12470           ld_shlibs_CXX=no
   12471         fi
   12472         ;;
   12473       darwin* | rhapsody*)
   12474 
   12475 
   12476   archive_cmds_need_lc_CXX=no
   12477   hardcode_direct_CXX=no
   12478   hardcode_automatic_CXX=yes
   12479   hardcode_shlibpath_var_CXX=unsupported
   12480   if test "$lt_cv_ld_force_load" = "yes"; then
   12481     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\"`'
   12482   else
   12483     whole_archive_flag_spec_CXX=''
   12484   fi
   12485   link_all_deplibs_CXX=yes
   12486   allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
   12487   case $cc_basename in
   12488      ifort*) _lt_dar_can_shared=yes ;;
   12489      *) _lt_dar_can_shared=$GCC ;;
   12490   esac
   12491   if test "$_lt_dar_can_shared" = "yes"; then
   12492     output_verbose_link_cmd=func_echo_all
   12493     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}"
   12494     module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   12495     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}"
   12496     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}"
   12497        if test "$lt_cv_apple_cc_single_mod" != "yes"; then
   12498       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}"
   12499       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}"
   12500     fi
   12501 
   12502   else
   12503   ld_shlibs_CXX=no
   12504   fi
   12505 
   12506 	;;
   12507 
   12508       dgux*)
   12509         case $cc_basename in
   12510           ec++*)
   12511 	    # FIXME: insert proper C++ library support
   12512 	    ld_shlibs_CXX=no
   12513 	    ;;
   12514           ghcx*)
   12515 	    # Green Hills C++ Compiler
   12516 	    # FIXME: insert proper C++ library support
   12517 	    ld_shlibs_CXX=no
   12518 	    ;;
   12519           *)
   12520 	    # FIXME: insert proper C++ library support
   12521 	    ld_shlibs_CXX=no
   12522 	    ;;
   12523         esac
   12524         ;;
   12525 
   12526       freebsd2.*)
   12527         # C++ shared libraries reported to be fairly broken before
   12528 	# switch to ELF
   12529         ld_shlibs_CXX=no
   12530         ;;
   12531 
   12532       freebsd-elf*)
   12533         archive_cmds_need_lc_CXX=no
   12534         ;;
   12535 
   12536       freebsd* | dragonfly*)
   12537         # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
   12538         # conventions
   12539         ld_shlibs_CXX=yes
   12540         ;;
   12541 
   12542       gnu*)
   12543         ;;
   12544 
   12545       haiku*)
   12546         archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12547         link_all_deplibs_CXX=yes
   12548         ;;
   12549 
   12550       hpux9*)
   12551         hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12552         hardcode_libdir_separator_CXX=:
   12553         export_dynamic_flag_spec_CXX='${wl}-E'
   12554         hardcode_direct_CXX=yes
   12555         hardcode_minus_L_CXX=yes # Not in the search PATH,
   12556 				             # but as the default
   12557 				             # location of the library.
   12558 
   12559         case $cc_basename in
   12560           CC*)
   12561             # FIXME: insert proper C++ library support
   12562             ld_shlibs_CXX=no
   12563             ;;
   12564           aCC*)
   12565             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'
   12566             # Commands to make compiler produce verbose output that lists
   12567             # what "hidden" libraries, object files and flags are used when
   12568             # linking a shared library.
   12569             #
   12570             # There doesn't appear to be a way to prevent this compiler from
   12571             # explicitly linking system object files so we need to strip them
   12572             # from the output so that they don't get included in the library
   12573             # dependencies.
   12574             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"'
   12575             ;;
   12576           *)
   12577             if test "$GXX" = yes; then
   12578               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'
   12579             else
   12580               # FIXME: insert proper C++ library support
   12581               ld_shlibs_CXX=no
   12582             fi
   12583             ;;
   12584         esac
   12585         ;;
   12586 
   12587       hpux10*|hpux11*)
   12588         if test $with_gnu_ld = no; then
   12589 	  hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
   12590 	  hardcode_libdir_separator_CXX=:
   12591 
   12592           case $host_cpu in
   12593             hppa*64*|ia64*)
   12594               ;;
   12595             *)
   12596 	      export_dynamic_flag_spec_CXX='${wl}-E'
   12597               ;;
   12598           esac
   12599         fi
   12600         case $host_cpu in
   12601           hppa*64*|ia64*)
   12602             hardcode_direct_CXX=no
   12603             hardcode_shlibpath_var_CXX=no
   12604             ;;
   12605           *)
   12606             hardcode_direct_CXX=yes
   12607             hardcode_direct_absolute_CXX=yes
   12608             hardcode_minus_L_CXX=yes # Not in the search PATH,
   12609 					         # but as the default
   12610 					         # location of the library.
   12611             ;;
   12612         esac
   12613 
   12614         case $cc_basename in
   12615           CC*)
   12616 	    # FIXME: insert proper C++ library support
   12617 	    ld_shlibs_CXX=no
   12618 	    ;;
   12619           aCC*)
   12620 	    case $host_cpu in
   12621 	      hppa*64*)
   12622 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12623 	        ;;
   12624 	      ia64*)
   12625 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12626 	        ;;
   12627 	      *)
   12628 	        archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12629 	        ;;
   12630 	    esac
   12631 	    # Commands to make compiler produce verbose output that lists
   12632 	    # what "hidden" libraries, object files and flags are used when
   12633 	    # linking a shared library.
   12634 	    #
   12635 	    # There doesn't appear to be a way to prevent this compiler from
   12636 	    # explicitly linking system object files so we need to strip them
   12637 	    # from the output so that they don't get included in the library
   12638 	    # dependencies.
   12639 	    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"'
   12640 	    ;;
   12641           *)
   12642 	    if test "$GXX" = yes; then
   12643 	      if test $with_gnu_ld = no; then
   12644 	        case $host_cpu in
   12645 	          hppa*64*)
   12646 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12647 	            ;;
   12648 	          ia64*)
   12649 	            archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12650 	            ;;
   12651 	          *)
   12652 	            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'
   12653 	            ;;
   12654 	        esac
   12655 	      fi
   12656 	    else
   12657 	      # FIXME: insert proper C++ library support
   12658 	      ld_shlibs_CXX=no
   12659 	    fi
   12660 	    ;;
   12661         esac
   12662         ;;
   12663 
   12664       interix[3-9]*)
   12665 	hardcode_direct_CXX=no
   12666 	hardcode_shlibpath_var_CXX=no
   12667 	hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12668 	export_dynamic_flag_spec_CXX='${wl}-E'
   12669 	# Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   12670 	# Instead, shared libraries are loaded at an image base (0x10000000 by
   12671 	# default) and relocated if they conflict, which is a slow very memory
   12672 	# consuming and fragmenting process.  To avoid this, we pick a random,
   12673 	# 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   12674 	# time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   12675 	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'
   12676 	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'
   12677 	;;
   12678       irix5* | irix6*)
   12679         case $cc_basename in
   12680           CC*)
   12681 	    # SGI C++
   12682 	    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'
   12683 
   12684 	    # Archives containing C++ object files must be created using
   12685 	    # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
   12686 	    # necessary to make sure instantiated templates are included
   12687 	    # in the archive.
   12688 	    old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
   12689 	    ;;
   12690           *)
   12691 	    if test "$GXX" = yes; then
   12692 	      if test "$with_gnu_ld" = no; then
   12693 	        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'
   12694 	      else
   12695 	        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'
   12696 	      fi
   12697 	    fi
   12698 	    link_all_deplibs_CXX=yes
   12699 	    ;;
   12700         esac
   12701         hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12702         hardcode_libdir_separator_CXX=:
   12703         inherit_rpath_CXX=yes
   12704         ;;
   12705 
   12706       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   12707         case $cc_basename in
   12708           KCC*)
   12709 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12710 
   12711 	    # KCC will only create a shared library if the output file
   12712 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12713 	    # to its proper name (with version) after linking.
   12714 	    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'
   12715 	    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'
   12716 	    # Commands to make compiler produce verbose output that lists
   12717 	    # what "hidden" libraries, object files and flags are used when
   12718 	    # linking a shared library.
   12719 	    #
   12720 	    # There doesn't appear to be a way to prevent this compiler from
   12721 	    # explicitly linking system object files so we need to strip them
   12722 	    # from the output so that they don't get included in the library
   12723 	    # dependencies.
   12724 	    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"'
   12725 
   12726 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12727 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12728 
   12729 	    # Archives containing C++ object files must be created using
   12730 	    # "CC -Bstatic", where "CC" is the KAI C++ compiler.
   12731 	    old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
   12732 	    ;;
   12733 	  icpc* | ecpc* )
   12734 	    # Intel C++
   12735 	    with_gnu_ld=yes
   12736 	    # version 8.0 and above of icpc choke on multiply defined symbols
   12737 	    # if we add $predep_objects and $postdep_objects, however 7.1 and
   12738 	    # earlier do not add the objects themselves.
   12739 	    case `$CC -V 2>&1` in
   12740 	      *"Version 7."*)
   12741 	        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12742 		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'
   12743 		;;
   12744 	      *)  # Version 8.0 or newer
   12745 	        tmp_idyn=
   12746 	        case $host_cpu in
   12747 		  ia64*) tmp_idyn=' -i_dynamic';;
   12748 		esac
   12749 	        archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12750 		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'
   12751 		;;
   12752 	    esac
   12753 	    archive_cmds_need_lc_CXX=no
   12754 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12755 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12756 	    whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   12757 	    ;;
   12758           pgCC* | pgcpp*)
   12759             # Portland Group C++ compiler
   12760 	    case `$CC -V` in
   12761 	    *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
   12762 	      prelink_cmds_CXX='tpldir=Template.dir~
   12763 		rm -rf $tpldir~
   12764 		$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
   12765 		compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
   12766 	      old_archive_cmds_CXX='tpldir=Template.dir~
   12767 		rm -rf $tpldir~
   12768 		$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
   12769 		$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
   12770 		$RANLIB $oldlib'
   12771 	      archive_cmds_CXX='tpldir=Template.dir~
   12772 		rm -rf $tpldir~
   12773 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12774 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12775 	      archive_expsym_cmds_CXX='tpldir=Template.dir~
   12776 		rm -rf $tpldir~
   12777 		$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
   12778 		$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
   12779 	      ;;
   12780 	    *) # Version 6 and above use weak symbols
   12781 	      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
   12782 	      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'
   12783 	      ;;
   12784 	    esac
   12785 
   12786 	    hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
   12787 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12788 	    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'
   12789             ;;
   12790 	  cxx*)
   12791 	    # Compaq C++
   12792 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12793 	    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'
   12794 
   12795 	    runpath_var=LD_RUN_PATH
   12796 	    hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12797 	    hardcode_libdir_separator_CXX=:
   12798 
   12799 	    # Commands to make compiler produce verbose output that lists
   12800 	    # what "hidden" libraries, object files and flags are used when
   12801 	    # linking a shared library.
   12802 	    #
   12803 	    # There doesn't appear to be a way to prevent this compiler from
   12804 	    # explicitly linking system object files so we need to strip them
   12805 	    # from the output so that they don't get included in the library
   12806 	    # dependencies.
   12807 	    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'
   12808 	    ;;
   12809 	  xl* | mpixl* | bgxl*)
   12810 	    # IBM XL 8.0 on PPC, with GNU ld
   12811 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12812 	    export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
   12813 	    archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   12814 	    if test "x$supports_anon_versioning" = xyes; then
   12815 	      archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
   12816 		cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   12817 		echo "local: *; };" >> $output_objdir/$libname.ver~
   12818 		$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   12819 	    fi
   12820 	    ;;
   12821 	  *)
   12822 	    case `$CC -V 2>&1 | sed 5q` in
   12823 	    *Sun\ C*)
   12824 	      # Sun C++ 5.9
   12825 	      no_undefined_flag_CXX=' -zdefs'
   12826 	      archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   12827 	      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'
   12828 	      hardcode_libdir_flag_spec_CXX='-R$libdir'
   12829 	      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'
   12830 	      compiler_needs_object_CXX=yes
   12831 
   12832 	      # Not sure whether something based on
   12833 	      # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
   12834 	      # would be better.
   12835 	      output_verbose_link_cmd='func_echo_all'
   12836 
   12837 	      # Archives containing C++ object files must be created using
   12838 	      # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   12839 	      # necessary to make sure instantiated templates are included
   12840 	      # in the archive.
   12841 	      old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   12842 	      ;;
   12843 	    esac
   12844 	    ;;
   12845 	esac
   12846 	;;
   12847 
   12848       lynxos*)
   12849         # FIXME: insert proper C++ library support
   12850 	ld_shlibs_CXX=no
   12851 	;;
   12852 
   12853       m88k*)
   12854         # FIXME: insert proper C++ library support
   12855         ld_shlibs_CXX=no
   12856 	;;
   12857 
   12858       mvs*)
   12859         case $cc_basename in
   12860           cxx*)
   12861 	    # FIXME: insert proper C++ library support
   12862 	    ld_shlibs_CXX=no
   12863 	    ;;
   12864 	  *)
   12865 	    # FIXME: insert proper C++ library support
   12866 	    ld_shlibs_CXX=no
   12867 	    ;;
   12868 	esac
   12869 	;;
   12870 
   12871       netbsd*)
   12872         if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   12873 	  archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
   12874 	  wlarc=
   12875 	  hardcode_libdir_flag_spec_CXX='-R$libdir'
   12876 	  hardcode_direct_CXX=yes
   12877 	  hardcode_shlibpath_var_CXX=no
   12878 	fi
   12879 	# Workaround some broken pre-1.5 toolchains
   12880 	output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
   12881 	;;
   12882 
   12883       *nto* | *qnx*)
   12884         ld_shlibs_CXX=yes
   12885 	;;
   12886 
   12887       openbsd2*)
   12888         # C++ shared libraries are fairly broken
   12889 	ld_shlibs_CXX=no
   12890 	;;
   12891 
   12892       openbsd*)
   12893 	if test -f /usr/libexec/ld.so; then
   12894 	  hardcode_direct_CXX=yes
   12895 	  hardcode_shlibpath_var_CXX=no
   12896 	  hardcode_direct_absolute_CXX=yes
   12897 	  archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
   12898 	  hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12899 	  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12900 	    archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
   12901 	    export_dynamic_flag_spec_CXX='${wl}-E'
   12902 	    whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   12903 	  fi
   12904 	  output_verbose_link_cmd=func_echo_all
   12905 	else
   12906 	  ld_shlibs_CXX=no
   12907 	fi
   12908 	;;
   12909 
   12910       osf3* | osf4* | osf5*)
   12911         case $cc_basename in
   12912           KCC*)
   12913 	    # Kuck and Associates, Inc. (KAI) C++ Compiler
   12914 
   12915 	    # KCC will only create a shared library if the output file
   12916 	    # ends with ".so" (or ".sl" for HP-UX), so rename the library
   12917 	    # to its proper name (with version) after linking.
   12918 	    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'
   12919 
   12920 	    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
   12921 	    hardcode_libdir_separator_CXX=:
   12922 
   12923 	    # Archives containing C++ object files must be created using
   12924 	    # the KAI C++ compiler.
   12925 	    case $host in
   12926 	      osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
   12927 	      *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
   12928 	    esac
   12929 	    ;;
   12930           RCC*)
   12931 	    # Rational C++ 2.4.1
   12932 	    # FIXME: insert proper C++ library support
   12933 	    ld_shlibs_CXX=no
   12934 	    ;;
   12935           cxx*)
   12936 	    case $host in
   12937 	      osf3*)
   12938 	        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12939 	        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'
   12940 	        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12941 		;;
   12942 	      *)
   12943 	        allow_undefined_flag_CXX=' -expect_unresolved \*'
   12944 	        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'
   12945 	        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
   12946 	          echo "-hidden">> $lib.exp~
   12947 	          $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~
   12948 	          $RM $lib.exp'
   12949 	        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
   12950 		;;
   12951 	    esac
   12952 
   12953 	    hardcode_libdir_separator_CXX=:
   12954 
   12955 	    # Commands to make compiler produce verbose output that lists
   12956 	    # what "hidden" libraries, object files and flags are used when
   12957 	    # linking a shared library.
   12958 	    #
   12959 	    # There doesn't appear to be a way to prevent this compiler from
   12960 	    # explicitly linking system object files so we need to strip them
   12961 	    # from the output so that they don't get included in the library
   12962 	    # dependencies.
   12963 	    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"'
   12964 	    ;;
   12965 	  *)
   12966 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   12967 	      allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
   12968 	      case $host in
   12969 	        osf3*)
   12970 	          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'
   12971 		  ;;
   12972 	        *)
   12973 	          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'
   12974 		  ;;
   12975 	      esac
   12976 
   12977 	      hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
   12978 	      hardcode_libdir_separator_CXX=:
   12979 
   12980 	      # Commands to make compiler produce verbose output that lists
   12981 	      # what "hidden" libraries, object files and flags are used when
   12982 	      # linking a shared library.
   12983 	      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   12984 
   12985 	    else
   12986 	      # FIXME: insert proper C++ library support
   12987 	      ld_shlibs_CXX=no
   12988 	    fi
   12989 	    ;;
   12990         esac
   12991         ;;
   12992 
   12993       psos*)
   12994         # FIXME: insert proper C++ library support
   12995         ld_shlibs_CXX=no
   12996         ;;
   12997 
   12998       sunos4*)
   12999         case $cc_basename in
   13000           CC*)
   13001 	    # Sun C++ 4.x
   13002 	    # FIXME: insert proper C++ library support
   13003 	    ld_shlibs_CXX=no
   13004 	    ;;
   13005           lcc*)
   13006 	    # Lucid
   13007 	    # FIXME: insert proper C++ library support
   13008 	    ld_shlibs_CXX=no
   13009 	    ;;
   13010           *)
   13011 	    # FIXME: insert proper C++ library support
   13012 	    ld_shlibs_CXX=no
   13013 	    ;;
   13014         esac
   13015         ;;
   13016 
   13017       solaris*)
   13018         case $cc_basename in
   13019           CC*)
   13020 	    # Sun C++ 4.2, 5.x and Centerline C++
   13021             archive_cmds_need_lc_CXX=yes
   13022 	    no_undefined_flag_CXX=' -zdefs'
   13023 	    archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
   13024 	    archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13025 	      $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'
   13026 
   13027 	    hardcode_libdir_flag_spec_CXX='-R$libdir'
   13028 	    hardcode_shlibpath_var_CXX=no
   13029 	    case $host_os in
   13030 	      solaris2.[0-5] | solaris2.[0-5].*) ;;
   13031 	      *)
   13032 		# The compiler driver will combine and reorder linker options,
   13033 		# but understands `-z linker_flag'.
   13034 	        # Supported since Solaris 2.6 (maybe 2.5.1?)
   13035 		whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
   13036 	        ;;
   13037 	    esac
   13038 	    link_all_deplibs_CXX=yes
   13039 
   13040 	    output_verbose_link_cmd='func_echo_all'
   13041 
   13042 	    # Archives containing C++ object files must be created using
   13043 	    # "CC -xar", where "CC" is the Sun C++ compiler.  This is
   13044 	    # necessary to make sure instantiated templates are included
   13045 	    # in the archive.
   13046 	    old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
   13047 	    ;;
   13048           gcx*)
   13049 	    # Green Hills C++ Compiler
   13050 	    archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13051 
   13052 	    # The C++ compiler must be used to create the archive.
   13053 	    old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
   13054 	    ;;
   13055           *)
   13056 	    # GNU C++ compiler with Solaris linker
   13057 	    if test "$GXX" = yes && test "$with_gnu_ld" = no; then
   13058 	      no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
   13059 	      if $CC --version | $GREP -v '^2\.7' > /dev/null; then
   13060 	        archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13061 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13062 		  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13063 
   13064 	        # Commands to make compiler produce verbose output that lists
   13065 	        # what "hidden" libraries, object files and flags are used when
   13066 	        # linking a shared library.
   13067 	        output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13068 	      else
   13069 	        # g++ 2.7 appears to require `-G' NOT `-shared' on this
   13070 	        # platform.
   13071 	        archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
   13072 	        archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   13073 		  $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
   13074 
   13075 	        # Commands to make compiler produce verbose output that lists
   13076 	        # what "hidden" libraries, object files and flags are used when
   13077 	        # linking a shared library.
   13078 	        output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
   13079 	      fi
   13080 
   13081 	      hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
   13082 	      case $host_os in
   13083 		solaris2.[0-5] | solaris2.[0-5].*) ;;
   13084 		*)
   13085 		  whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   13086 		  ;;
   13087 	      esac
   13088 	    fi
   13089 	    ;;
   13090         esac
   13091         ;;
   13092 
   13093     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   13094       no_undefined_flag_CXX='${wl}-z,text'
   13095       archive_cmds_need_lc_CXX=no
   13096       hardcode_shlibpath_var_CXX=no
   13097       runpath_var='LD_RUN_PATH'
   13098 
   13099       case $cc_basename in
   13100         CC*)
   13101 	  archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13102 	  archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13103 	  ;;
   13104 	*)
   13105 	  archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13106 	  archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13107 	  ;;
   13108       esac
   13109       ;;
   13110 
   13111       sysv5* | sco3.2v5* | sco5v6*)
   13112 	# Note: We can NOT use -z defs as we might desire, because we do not
   13113 	# link with -lc, and that would cause any symbols used from libc to
   13114 	# always be unresolved, which means just about no library would
   13115 	# ever link correctly.  If we're not using GNU ld we use -z text
   13116 	# though, which does catch some bad symbols but isn't as heavy-handed
   13117 	# as -z defs.
   13118 	no_undefined_flag_CXX='${wl}-z,text'
   13119 	allow_undefined_flag_CXX='${wl}-z,nodefs'
   13120 	archive_cmds_need_lc_CXX=no
   13121 	hardcode_shlibpath_var_CXX=no
   13122 	hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
   13123 	hardcode_libdir_separator_CXX=':'
   13124 	link_all_deplibs_CXX=yes
   13125 	export_dynamic_flag_spec_CXX='${wl}-Bexport'
   13126 	runpath_var='LD_RUN_PATH'
   13127 
   13128 	case $cc_basename in
   13129           CC*)
   13130 	    archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13131 	    archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13132 	    old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
   13133 	      '"$old_archive_cmds_CXX"
   13134 	    reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
   13135 	      '"$reload_cmds_CXX"
   13136 	    ;;
   13137 	  *)
   13138 	    archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13139 	    archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   13140 	    ;;
   13141 	esac
   13142       ;;
   13143 
   13144       tandem*)
   13145         case $cc_basename in
   13146           NCC*)
   13147 	    # NonStop-UX NCC 3.20
   13148 	    # FIXME: insert proper C++ library support
   13149 	    ld_shlibs_CXX=no
   13150 	    ;;
   13151           *)
   13152 	    # FIXME: insert proper C++ library support
   13153 	    ld_shlibs_CXX=no
   13154 	    ;;
   13155         esac
   13156         ;;
   13157 
   13158       vxworks*)
   13159         # FIXME: insert proper C++ library support
   13160         ld_shlibs_CXX=no
   13161         ;;
   13162 
   13163       *)
   13164         # FIXME: insert proper C++ library support
   13165         ld_shlibs_CXX=no
   13166         ;;
   13167     esac
   13168 
   13169     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13170 $as_echo "$ld_shlibs_CXX" >&6; }
   13171     test "$ld_shlibs_CXX" = no && can_build_shared=no
   13172 
   13173     GCC_CXX="$GXX"
   13174     LD_CXX="$LD"
   13175 
   13176     ## CAVEAT EMPTOR:
   13177     ## There is no encapsulation within the following macros, do not change
   13178     ## the running order or otherwise move them around unless you know exactly
   13179     ## what you are doing...
   13180     # Dependencies to place before and after the object being linked:
   13181 predep_objects_CXX=
   13182 postdep_objects_CXX=
   13183 predeps_CXX=
   13184 postdeps_CXX=
   13185 compiler_lib_search_path_CXX=
   13186 
   13187 cat > conftest.$ac_ext <<_LT_EOF
   13188 class Foo
   13189 {
   13190 public:
   13191   Foo (void) { a = 0; }
   13192 private:
   13193   int a;
   13194 };
   13195 _LT_EOF
   13196 
   13197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13198   (eval $ac_compile) 2>&5
   13199   ac_status=$?
   13200   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13201   test $ac_status = 0; }; then
   13202   # Parse the compiler output and extract the necessary
   13203   # objects, libraries and library flags.
   13204 
   13205   # Sentinel used to keep track of whether or not we are before
   13206   # the conftest object file.
   13207   pre_test_object_deps_done=no
   13208 
   13209   for p in `eval "$output_verbose_link_cmd"`; do
   13210     case $p in
   13211 
   13212     -L* | -R* | -l*)
   13213        # Some compilers place space between "-{L,R}" and the path.
   13214        # Remove the space.
   13215        if test $p = "-L" ||
   13216           test $p = "-R"; then
   13217 	 prev=$p
   13218 	 continue
   13219        else
   13220 	 prev=
   13221        fi
   13222 
   13223        if test "$pre_test_object_deps_done" = no; then
   13224 	 case $p in
   13225 	 -L* | -R*)
   13226 	   # Internal compiler library paths should come after those
   13227 	   # provided the user.  The postdeps already come after the
   13228 	   # user supplied libs so there is no need to process them.
   13229 	   if test -z "$compiler_lib_search_path_CXX"; then
   13230 	     compiler_lib_search_path_CXX="${prev}${p}"
   13231 	   else
   13232 	     compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
   13233 	   fi
   13234 	   ;;
   13235 	 # The "-l" case would never come before the object being
   13236 	 # linked, so don't bother handling this case.
   13237 	 esac
   13238        else
   13239 	 if test -z "$postdeps_CXX"; then
   13240 	   postdeps_CXX="${prev}${p}"
   13241 	 else
   13242 	   postdeps_CXX="${postdeps_CXX} ${prev}${p}"
   13243 	 fi
   13244        fi
   13245        ;;
   13246 
   13247     *.$objext)
   13248        # This assumes that the test object file only shows up
   13249        # once in the compiler output.
   13250        if test "$p" = "conftest.$objext"; then
   13251 	 pre_test_object_deps_done=yes
   13252 	 continue
   13253        fi
   13254 
   13255        if test "$pre_test_object_deps_done" = no; then
   13256 	 if test -z "$predep_objects_CXX"; then
   13257 	   predep_objects_CXX="$p"
   13258 	 else
   13259 	   predep_objects_CXX="$predep_objects_CXX $p"
   13260 	 fi
   13261        else
   13262 	 if test -z "$postdep_objects_CXX"; then
   13263 	   postdep_objects_CXX="$p"
   13264 	 else
   13265 	   postdep_objects_CXX="$postdep_objects_CXX $p"
   13266 	 fi
   13267        fi
   13268        ;;
   13269 
   13270     *) ;; # Ignore the rest.
   13271 
   13272     esac
   13273   done
   13274 
   13275   # Clean up.
   13276   rm -f a.out a.exe
   13277 else
   13278   echo "libtool.m4: error: problem compiling CXX test program"
   13279 fi
   13280 
   13281 $RM -f confest.$objext
   13282 
   13283 # PORTME: override above test on systems where it is broken
   13284 case $host_os in
   13285 interix[3-9]*)
   13286   # Interix 3.5 installs completely hosed .la files for C++, so rather than
   13287   # hack all around it, let's just trust "g++" to DTRT.
   13288   predep_objects_CXX=
   13289   postdep_objects_CXX=
   13290   postdeps_CXX=
   13291   ;;
   13292 
   13293 linux*)
   13294   case `$CC -V 2>&1 | sed 5q` in
   13295   *Sun\ C*)
   13296     # Sun C++ 5.9
   13297 
   13298     # The more standards-conforming stlport4 library is
   13299     # incompatible with the Cstd library. Avoid specifying
   13300     # it if it's in CXXFLAGS. Ignore libCrun as
   13301     # -library=stlport4 depends on it.
   13302     case " $CXX $CXXFLAGS " in
   13303     *" -library=stlport4 "*)
   13304       solaris_use_stlport4=yes
   13305       ;;
   13306     esac
   13307 
   13308     if test "$solaris_use_stlport4" != yes; then
   13309       postdeps_CXX='-library=Cstd -library=Crun'
   13310     fi
   13311     ;;
   13312   esac
   13313   ;;
   13314 
   13315 solaris*)
   13316   case $cc_basename in
   13317   CC*)
   13318     # The more standards-conforming stlport4 library is
   13319     # incompatible with the Cstd library. Avoid specifying
   13320     # it if it's in CXXFLAGS. Ignore libCrun as
   13321     # -library=stlport4 depends on it.
   13322     case " $CXX $CXXFLAGS " in
   13323     *" -library=stlport4 "*)
   13324       solaris_use_stlport4=yes
   13325       ;;
   13326     esac
   13327 
   13328     # Adding this requires a known-good setup of shared libraries for
   13329     # Sun compiler versions before 5.6, else PIC objects from an old
   13330     # archive will be linked into the output, leading to subtle bugs.
   13331     if test "$solaris_use_stlport4" != yes; then
   13332       postdeps_CXX='-library=Cstd -library=Crun'
   13333     fi
   13334     ;;
   13335   esac
   13336   ;;
   13337 esac
   13338 
   13339 
   13340 case " $postdeps_CXX " in
   13341 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
   13342 esac
   13343  compiler_lib_search_dirs_CXX=
   13344 if test -n "${compiler_lib_search_path_CXX}"; then
   13345  compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
   13346 fi
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378     lt_prog_compiler_wl_CXX=
   13379 lt_prog_compiler_pic_CXX=
   13380 lt_prog_compiler_static_CXX=
   13381 
   13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   13383 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   13384 
   13385   # C++ specific cases for pic, static, wl, etc.
   13386   if test "$GXX" = yes; then
   13387     lt_prog_compiler_wl_CXX='-Wl,'
   13388     lt_prog_compiler_static_CXX='-static'
   13389 
   13390     case $host_os in
   13391     aix*)
   13392       # All AIX code is PIC.
   13393       if test "$host_cpu" = ia64; then
   13394 	# AIX 5 now supports IA64 processor
   13395 	lt_prog_compiler_static_CXX='-Bstatic'
   13396       fi
   13397       lt_prog_compiler_pic_CXX='-fPIC'
   13398       ;;
   13399 
   13400     amigaos*)
   13401       case $host_cpu in
   13402       powerpc)
   13403             # see comment about AmigaOS4 .so support
   13404             lt_prog_compiler_pic_CXX='-fPIC'
   13405         ;;
   13406       m68k)
   13407             # FIXME: we need at least 68020 code to build shared libraries, but
   13408             # adding the `-m68020' flag to GCC prevents building anything better,
   13409             # like `-m68040'.
   13410             lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
   13411         ;;
   13412       esac
   13413       ;;
   13414 
   13415     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   13416       # PIC is the default for these OSes.
   13417       ;;
   13418     mingw* | cygwin* | os2* | pw32* | cegcc*)
   13419       # This hack is so that the source file can tell whether it is being
   13420       # built for inclusion in a dll (and should export symbols for example).
   13421       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   13422       # (--disable-auto-import) libraries
   13423       lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
   13424       ;;
   13425     darwin* | rhapsody*)
   13426       # PIC is the default on this platform
   13427       # Common symbols not allowed in MH_DYLIB files
   13428       lt_prog_compiler_pic_CXX='-fno-common'
   13429       ;;
   13430     *djgpp*)
   13431       # DJGPP does not support shared libraries at all
   13432       lt_prog_compiler_pic_CXX=
   13433       ;;
   13434     haiku*)
   13435       # PIC is the default for Haiku.
   13436       # The "-static" flag exists, but is broken.
   13437       lt_prog_compiler_static_CXX=
   13438       ;;
   13439     interix[3-9]*)
   13440       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   13441       # Instead, we relocate shared libraries at runtime.
   13442       ;;
   13443     sysv4*MP*)
   13444       if test -d /usr/nec; then
   13445 	lt_prog_compiler_pic_CXX=-Kconform_pic
   13446       fi
   13447       ;;
   13448     hpux*)
   13449       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   13450       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   13451       # sets the default TLS model and affects inlining.
   13452       case $host_cpu in
   13453       hppa*64*)
   13454 	;;
   13455       *)
   13456 	lt_prog_compiler_pic_CXX='-fPIC'
   13457 	;;
   13458       esac
   13459       ;;
   13460     *qnx* | *nto*)
   13461       # QNX uses GNU C++, but need to define -shared option too, otherwise
   13462       # it will coredump.
   13463       lt_prog_compiler_pic_CXX='-fPIC -shared'
   13464       ;;
   13465     *)
   13466       lt_prog_compiler_pic_CXX='-fPIC'
   13467       ;;
   13468     esac
   13469   else
   13470     case $host_os in
   13471       aix[4-9]*)
   13472 	# All AIX code is PIC.
   13473 	if test "$host_cpu" = ia64; then
   13474 	  # AIX 5 now supports IA64 processor
   13475 	  lt_prog_compiler_static_CXX='-Bstatic'
   13476 	else
   13477 	  lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
   13478 	fi
   13479 	;;
   13480       chorus*)
   13481 	case $cc_basename in
   13482 	cxch68*)
   13483 	  # Green Hills C++ Compiler
   13484 	  # _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"
   13485 	  ;;
   13486 	esac
   13487 	;;
   13488       dgux*)
   13489 	case $cc_basename in
   13490 	  ec++*)
   13491 	    lt_prog_compiler_pic_CXX='-KPIC'
   13492 	    ;;
   13493 	  ghcx*)
   13494 	    # Green Hills C++ Compiler
   13495 	    lt_prog_compiler_pic_CXX='-pic'
   13496 	    ;;
   13497 	  *)
   13498 	    ;;
   13499 	esac
   13500 	;;
   13501       freebsd* | dragonfly*)
   13502 	# FreeBSD uses GNU C++
   13503 	;;
   13504       hpux9* | hpux10* | hpux11*)
   13505 	case $cc_basename in
   13506 	  CC*)
   13507 	    lt_prog_compiler_wl_CXX='-Wl,'
   13508 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   13509 	    if test "$host_cpu" != ia64; then
   13510 	      lt_prog_compiler_pic_CXX='+Z'
   13511 	    fi
   13512 	    ;;
   13513 	  aCC*)
   13514 	    lt_prog_compiler_wl_CXX='-Wl,'
   13515 	    lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
   13516 	    case $host_cpu in
   13517 	    hppa*64*|ia64*)
   13518 	      # +Z the default
   13519 	      ;;
   13520 	    *)
   13521 	      lt_prog_compiler_pic_CXX='+Z'
   13522 	      ;;
   13523 	    esac
   13524 	    ;;
   13525 	  *)
   13526 	    ;;
   13527 	esac
   13528 	;;
   13529       interix*)
   13530 	# This is c89, which is MS Visual C++ (no shared libs)
   13531 	# Anyone wants to do a port?
   13532 	;;
   13533       irix5* | irix6* | nonstopux*)
   13534 	case $cc_basename in
   13535 	  CC*)
   13536 	    lt_prog_compiler_wl_CXX='-Wl,'
   13537 	    lt_prog_compiler_static_CXX='-non_shared'
   13538 	    # CC pic flag -KPIC is the default.
   13539 	    ;;
   13540 	  *)
   13541 	    ;;
   13542 	esac
   13543 	;;
   13544       linux* | k*bsd*-gnu | kopensolaris*-gnu)
   13545 	case $cc_basename in
   13546 	  KCC*)
   13547 	    # KAI C++ Compiler
   13548 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13549 	    lt_prog_compiler_pic_CXX='-fPIC'
   13550 	    ;;
   13551 	  ecpc* )
   13552 	    # old Intel C++ for x86_64 which still supported -KPIC.
   13553 	    lt_prog_compiler_wl_CXX='-Wl,'
   13554 	    lt_prog_compiler_pic_CXX='-KPIC'
   13555 	    lt_prog_compiler_static_CXX='-static'
   13556 	    ;;
   13557 	  icpc* )
   13558 	    # Intel C++, used to be incompatible with GCC.
   13559 	    # ICC 10 doesn't accept -KPIC any more.
   13560 	    lt_prog_compiler_wl_CXX='-Wl,'
   13561 	    lt_prog_compiler_pic_CXX='-fPIC'
   13562 	    lt_prog_compiler_static_CXX='-static'
   13563 	    ;;
   13564 	  pgCC* | pgcpp*)
   13565 	    # Portland Group C++ compiler
   13566 	    lt_prog_compiler_wl_CXX='-Wl,'
   13567 	    lt_prog_compiler_pic_CXX='-fpic'
   13568 	    lt_prog_compiler_static_CXX='-Bstatic'
   13569 	    ;;
   13570 	  cxx*)
   13571 	    # Compaq C++
   13572 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13573 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13574 	    lt_prog_compiler_pic_CXX=
   13575 	    lt_prog_compiler_static_CXX='-non_shared'
   13576 	    ;;
   13577 	  xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
   13578 	    # IBM XL 8.0, 9.0 on PPC and BlueGene
   13579 	    lt_prog_compiler_wl_CXX='-Wl,'
   13580 	    lt_prog_compiler_pic_CXX='-qpic'
   13581 	    lt_prog_compiler_static_CXX='-qstaticlink'
   13582 	    ;;
   13583 	  *)
   13584 	    case `$CC -V 2>&1 | sed 5q` in
   13585 	    *Sun\ C*)
   13586 	      # Sun C++ 5.9
   13587 	      lt_prog_compiler_pic_CXX='-KPIC'
   13588 	      lt_prog_compiler_static_CXX='-Bstatic'
   13589 	      lt_prog_compiler_wl_CXX='-Qoption ld '
   13590 	      ;;
   13591 	    esac
   13592 	    ;;
   13593 	esac
   13594 	;;
   13595       lynxos*)
   13596 	;;
   13597       m88k*)
   13598 	;;
   13599       mvs*)
   13600 	case $cc_basename in
   13601 	  cxx*)
   13602 	    lt_prog_compiler_pic_CXX='-W c,exportall'
   13603 	    ;;
   13604 	  *)
   13605 	    ;;
   13606 	esac
   13607 	;;
   13608       netbsd*)
   13609 	;;
   13610       *qnx* | *nto*)
   13611         # QNX uses GNU C++, but need to define -shared option too, otherwise
   13612         # it will coredump.
   13613         lt_prog_compiler_pic_CXX='-fPIC -shared'
   13614         ;;
   13615       osf3* | osf4* | osf5*)
   13616 	case $cc_basename in
   13617 	  KCC*)
   13618 	    lt_prog_compiler_wl_CXX='--backend -Wl,'
   13619 	    ;;
   13620 	  RCC*)
   13621 	    # Rational C++ 2.4.1
   13622 	    lt_prog_compiler_pic_CXX='-pic'
   13623 	    ;;
   13624 	  cxx*)
   13625 	    # Digital/Compaq C++
   13626 	    lt_prog_compiler_wl_CXX='-Wl,'
   13627 	    # Make sure the PIC flag is empty.  It appears that all Alpha
   13628 	    # Linux and Compaq Tru64 Unix objects are PIC.
   13629 	    lt_prog_compiler_pic_CXX=
   13630 	    lt_prog_compiler_static_CXX='-non_shared'
   13631 	    ;;
   13632 	  *)
   13633 	    ;;
   13634 	esac
   13635 	;;
   13636       psos*)
   13637 	;;
   13638       solaris*)
   13639 	case $cc_basename in
   13640 	  CC*)
   13641 	    # Sun C++ 4.2, 5.x and Centerline C++
   13642 	    lt_prog_compiler_pic_CXX='-KPIC'
   13643 	    lt_prog_compiler_static_CXX='-Bstatic'
   13644 	    lt_prog_compiler_wl_CXX='-Qoption ld '
   13645 	    ;;
   13646 	  gcx*)
   13647 	    # Green Hills C++ Compiler
   13648 	    lt_prog_compiler_pic_CXX='-PIC'
   13649 	    ;;
   13650 	  *)
   13651 	    ;;
   13652 	esac
   13653 	;;
   13654       sunos4*)
   13655 	case $cc_basename in
   13656 	  CC*)
   13657 	    # Sun C++ 4.x
   13658 	    lt_prog_compiler_pic_CXX='-pic'
   13659 	    lt_prog_compiler_static_CXX='-Bstatic'
   13660 	    ;;
   13661 	  lcc*)
   13662 	    # Lucid
   13663 	    lt_prog_compiler_pic_CXX='-pic'
   13664 	    ;;
   13665 	  *)
   13666 	    ;;
   13667 	esac
   13668 	;;
   13669       sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   13670 	case $cc_basename in
   13671 	  CC*)
   13672 	    lt_prog_compiler_wl_CXX='-Wl,'
   13673 	    lt_prog_compiler_pic_CXX='-KPIC'
   13674 	    lt_prog_compiler_static_CXX='-Bstatic'
   13675 	    ;;
   13676 	esac
   13677 	;;
   13678       tandem*)
   13679 	case $cc_basename in
   13680 	  NCC*)
   13681 	    # NonStop-UX NCC 3.20
   13682 	    lt_prog_compiler_pic_CXX='-KPIC'
   13683 	    ;;
   13684 	  *)
   13685 	    ;;
   13686 	esac
   13687 	;;
   13688       vxworks*)
   13689 	;;
   13690       *)
   13691 	lt_prog_compiler_can_build_shared_CXX=no
   13692 	;;
   13693     esac
   13694   fi
   13695 
   13696 case $host_os in
   13697   # For platforms which do not support PIC, -DPIC is meaningless:
   13698   *djgpp*)
   13699     lt_prog_compiler_pic_CXX=
   13700     ;;
   13701   *)
   13702     lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
   13703     ;;
   13704 esac
   13705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
   13706 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
   13707 
   13708 
   13709 
   13710 #
   13711 # Check to make sure the PIC flag actually works.
   13712 #
   13713 if test -n "$lt_prog_compiler_pic_CXX"; then
   13714   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
   13715 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
   13716 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
   13717   $as_echo_n "(cached) " >&6
   13718 else
   13719   lt_cv_prog_compiler_pic_works_CXX=no
   13720    ac_outfile=conftest.$ac_objext
   13721    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13722    lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
   13723    # Insert the option either (1) after the last *FLAGS variable, or
   13724    # (2) before a word containing "conftest.", or (3) at the end.
   13725    # Note that $ac_compile itself does not contain backslashes and begins
   13726    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13727    # The option is referenced via a variable to avoid confusing sed.
   13728    lt_compile=`echo "$ac_compile" | $SED \
   13729    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13730    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13731    -e 's:$: $lt_compiler_flag:'`
   13732    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13733    (eval "$lt_compile" 2>conftest.err)
   13734    ac_status=$?
   13735    cat conftest.err >&5
   13736    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13737    if (exit $ac_status) && test -s "$ac_outfile"; then
   13738      # The compiler can only warn and ignore the option if not recognized
   13739      # So say no if there are warnings other than the usual output.
   13740      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   13741      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13742      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   13743        lt_cv_prog_compiler_pic_works_CXX=yes
   13744      fi
   13745    fi
   13746    $RM conftest*
   13747 
   13748 fi
   13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
   13750 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
   13751 
   13752 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
   13753     case $lt_prog_compiler_pic_CXX in
   13754      "" | " "*) ;;
   13755      *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
   13756      esac
   13757 else
   13758     lt_prog_compiler_pic_CXX=
   13759      lt_prog_compiler_can_build_shared_CXX=no
   13760 fi
   13761 
   13762 fi
   13763 
   13764 
   13765 
   13766 #
   13767 # Check to make sure the static flag actually works.
   13768 #
   13769 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
   13770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   13771 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   13772 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
   13773   $as_echo_n "(cached) " >&6
   13774 else
   13775   lt_cv_prog_compiler_static_works_CXX=no
   13776    save_LDFLAGS="$LDFLAGS"
   13777    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   13778    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   13779    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   13780      # The linker can only warn and ignore the option if not recognized
   13781      # So say no if there are warnings
   13782      if test -s conftest.err; then
   13783        # Append any errors to the config.log.
   13784        cat conftest.err 1>&5
   13785        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   13786        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   13787        if diff conftest.exp conftest.er2 >/dev/null; then
   13788          lt_cv_prog_compiler_static_works_CXX=yes
   13789        fi
   13790      else
   13791        lt_cv_prog_compiler_static_works_CXX=yes
   13792      fi
   13793    fi
   13794    $RM -r conftest*
   13795    LDFLAGS="$save_LDFLAGS"
   13796 
   13797 fi
   13798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
   13799 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
   13800 
   13801 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
   13802     :
   13803 else
   13804     lt_prog_compiler_static_CXX=
   13805 fi
   13806 
   13807 
   13808 
   13809 
   13810     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13811 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13812 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   13813   $as_echo_n "(cached) " >&6
   13814 else
   13815   lt_cv_prog_compiler_c_o_CXX=no
   13816    $RM -r conftest 2>/dev/null
   13817    mkdir conftest
   13818    cd conftest
   13819    mkdir out
   13820    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13821 
   13822    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13823    # Insert the option either (1) after the last *FLAGS variable, or
   13824    # (2) before a word containing "conftest.", or (3) at the end.
   13825    # Note that $ac_compile itself does not contain backslashes and begins
   13826    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13827    lt_compile=`echo "$ac_compile" | $SED \
   13828    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13829    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13830    -e 's:$: $lt_compiler_flag:'`
   13831    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13832    (eval "$lt_compile" 2>out/conftest.err)
   13833    ac_status=$?
   13834    cat out/conftest.err >&5
   13835    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13836    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13837    then
   13838      # The compiler can only warn and ignore the option if not recognized
   13839      # So say no if there are warnings
   13840      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13841      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13842      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13843        lt_cv_prog_compiler_c_o_CXX=yes
   13844      fi
   13845    fi
   13846    chmod u+w . 2>&5
   13847    $RM conftest*
   13848    # SGI C++ compiler will create directory out/ii_files/ for
   13849    # template instantiation
   13850    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13851    $RM out/* && rmdir out
   13852    cd ..
   13853    $RM -r conftest
   13854    $RM conftest*
   13855 
   13856 fi
   13857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13858 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13859 
   13860 
   13861 
   13862     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   13863 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   13864 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
   13865   $as_echo_n "(cached) " >&6
   13866 else
   13867   lt_cv_prog_compiler_c_o_CXX=no
   13868    $RM -r conftest 2>/dev/null
   13869    mkdir conftest
   13870    cd conftest
   13871    mkdir out
   13872    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   13873 
   13874    lt_compiler_flag="-o out/conftest2.$ac_objext"
   13875    # Insert the option either (1) after the last *FLAGS variable, or
   13876    # (2) before a word containing "conftest.", or (3) at the end.
   13877    # Note that $ac_compile itself does not contain backslashes and begins
   13878    # with a dollar sign (not a hyphen), so the echo should work correctly.
   13879    lt_compile=`echo "$ac_compile" | $SED \
   13880    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   13881    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   13882    -e 's:$: $lt_compiler_flag:'`
   13883    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   13884    (eval "$lt_compile" 2>out/conftest.err)
   13885    ac_status=$?
   13886    cat out/conftest.err >&5
   13887    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13888    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   13889    then
   13890      # The compiler can only warn and ignore the option if not recognized
   13891      # So say no if there are warnings
   13892      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   13893      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   13894      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   13895        lt_cv_prog_compiler_c_o_CXX=yes
   13896      fi
   13897    fi
   13898    chmod u+w . 2>&5
   13899    $RM conftest*
   13900    # SGI C++ compiler will create directory out/ii_files/ for
   13901    # template instantiation
   13902    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   13903    $RM out/* && rmdir out
   13904    cd ..
   13905    $RM -r conftest
   13906    $RM conftest*
   13907 
   13908 fi
   13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
   13910 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
   13911 
   13912 
   13913 
   13914 
   13915 hard_links="nottested"
   13916 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
   13917   # do not overwrite the value of need_locks provided by the user
   13918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   13919 $as_echo_n "checking if we can lock with hard links... " >&6; }
   13920   hard_links=yes
   13921   $RM conftest*
   13922   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13923   touch conftest.a
   13924   ln conftest.a conftest.b 2>&5 || hard_links=no
   13925   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   13926   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   13927 $as_echo "$hard_links" >&6; }
   13928   if test "$hard_links" = no; then
   13929     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   13930 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   13931     need_locks=warn
   13932   fi
   13933 else
   13934   need_locks=no
   13935 fi
   13936 
   13937 
   13938 
   13939     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   13940 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   13941 
   13942   export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13943   case $host_os in
   13944   aix[4-9]*)
   13945     # If we're using GNU nm, then we don't want the "-C" option.
   13946     # -C means demangle to AIX nm, but means don't demangle with GNU nm
   13947     # Also, AIX nm treats weak defined symbols like other global defined
   13948     # symbols, whereas GNU nm marks them as "W".
   13949     if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   13950       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'
   13951     else
   13952       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'
   13953     fi
   13954     ;;
   13955   pw32*)
   13956     export_symbols_cmds_CXX="$ltdll_cmds"
   13957   ;;
   13958   cygwin* | mingw* | cegcc*)
   13959     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'
   13960   ;;
   13961   *)
   13962     export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   13963   ;;
   13964   esac
   13965   exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   13966 
   13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
   13968 $as_echo "$ld_shlibs_CXX" >&6; }
   13969 test "$ld_shlibs_CXX" = no && can_build_shared=no
   13970 
   13971 with_gnu_ld_CXX=$with_gnu_ld
   13972 
   13973 
   13974 
   13975 
   13976 
   13977 
   13978 #
   13979 # Do we need to explicitly link libc?
   13980 #
   13981 case "x$archive_cmds_need_lc_CXX" in
   13982 x|xyes)
   13983   # Assume -lc should be added
   13984   archive_cmds_need_lc_CXX=yes
   13985 
   13986   if test "$enable_shared" = yes && test "$GCC" = yes; then
   13987     case $archive_cmds_CXX in
   13988     *'~'*)
   13989       # FIXME: we may have to deal with multi-command sequences.
   13990       ;;
   13991     '$CC '*)
   13992       # Test whether the compiler implicitly links with -lc since on some
   13993       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   13994       # to ld, don't add -lc before -lgcc.
   13995       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   13996 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   13997 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
   13998   $as_echo_n "(cached) " >&6
   13999 else
   14000   $RM conftest*
   14001 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14002 
   14003 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   14004   (eval $ac_compile) 2>&5
   14005   ac_status=$?
   14006   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14007   test $ac_status = 0; } 2>conftest.err; then
   14008 	  soname=conftest
   14009 	  lib=conftest
   14010 	  libobjs=conftest.$ac_objext
   14011 	  deplibs=
   14012 	  wl=$lt_prog_compiler_wl_CXX
   14013 	  pic_flag=$lt_prog_compiler_pic_CXX
   14014 	  compiler_flags=-v
   14015 	  linker_flags=-v
   14016 	  verstring=
   14017 	  output_objdir=.
   14018 	  libname=conftest
   14019 	  lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
   14020 	  allow_undefined_flag_CXX=
   14021 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   14022   (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   14023   ac_status=$?
   14024   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   14025   test $ac_status = 0; }
   14026 	  then
   14027 	    lt_cv_archive_cmds_need_lc_CXX=no
   14028 	  else
   14029 	    lt_cv_archive_cmds_need_lc_CXX=yes
   14030 	  fi
   14031 	  allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
   14032 	else
   14033 	  cat conftest.err 1>&5
   14034 	fi
   14035 	$RM conftest*
   14036 
   14037 fi
   14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
   14039 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
   14040       archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
   14041       ;;
   14042     esac
   14043   fi
   14044   ;;
   14045 esac
   14046 
   14047 
   14048 
   14049 
   14050 
   14051 
   14052 
   14053 
   14054 
   14055 
   14056 
   14057 
   14058 
   14059 
   14060 
   14061 
   14062 
   14063 
   14064 
   14065 
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 
   14089 
   14090 
   14091 
   14092 
   14093 
   14094 
   14095 
   14096 
   14097 
   14098 
   14099 
   14100 
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 
   14110     { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   14111 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   14112 
   14113 library_names_spec=
   14114 libname_spec='lib$name'
   14115 soname_spec=
   14116 shrext_cmds=".so"
   14117 postinstall_cmds=
   14118 postuninstall_cmds=
   14119 finish_cmds=
   14120 finish_eval=
   14121 shlibpath_var=
   14122 shlibpath_overrides_runpath=unknown
   14123 version_type=none
   14124 dynamic_linker="$host_os ld.so"
   14125 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   14126 need_lib_prefix=unknown
   14127 hardcode_into_libs=no
   14128 
   14129 # when you set need_version to no, make sure it does not cause -set_version
   14130 # flags to be left without arguments
   14131 need_version=unknown
   14132 
   14133 case $host_os in
   14134 aix3*)
   14135   version_type=linux
   14136   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   14137   shlibpath_var=LIBPATH
   14138 
   14139   # AIX 3 has no versioning support, so we append a major version to the name.
   14140   soname_spec='${libname}${release}${shared_ext}$major'
   14141   ;;
   14142 
   14143 aix[4-9]*)
   14144   version_type=linux
   14145   need_lib_prefix=no
   14146   need_version=no
   14147   hardcode_into_libs=yes
   14148   if test "$host_cpu" = ia64; then
   14149     # AIX 5 supports IA64
   14150     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   14151     shlibpath_var=LD_LIBRARY_PATH
   14152   else
   14153     # With GCC up to 2.95.x, collect2 would create an import file
   14154     # for dependence libraries.  The import file would start with
   14155     # the line `#! .'.  This would cause the generated library to
   14156     # depend on `.', always an invalid library.  This was fixed in
   14157     # development snapshots of GCC prior to 3.0.
   14158     case $host_os in
   14159       aix4 | aix4.[01] | aix4.[01].*)
   14160       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   14161 	   echo ' yes '
   14162 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   14163 	:
   14164       else
   14165 	can_build_shared=no
   14166       fi
   14167       ;;
   14168     esac
   14169     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   14170     # soname into executable. Probably we can add versioning support to
   14171     # collect2, so additional links can be useful in future.
   14172     if test "$aix_use_runtimelinking" = yes; then
   14173       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   14174       # instead of lib<name>.a to let people know that these are not
   14175       # typical AIX shared libraries.
   14176       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14177     else
   14178       # We preserve .a as extension for shared libraries through AIX4.2
   14179       # and later when we are not doing run time linking.
   14180       library_names_spec='${libname}${release}.a $libname.a'
   14181       soname_spec='${libname}${release}${shared_ext}$major'
   14182     fi
   14183     shlibpath_var=LIBPATH
   14184   fi
   14185   ;;
   14186 
   14187 amigaos*)
   14188   case $host_cpu in
   14189   powerpc)
   14190     # Since July 2007 AmigaOS4 officially supports .so libraries.
   14191     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   14192     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14193     ;;
   14194   m68k)
   14195     library_names_spec='$libname.ixlibrary $libname.a'
   14196     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   14197     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'
   14198     ;;
   14199   esac
   14200   ;;
   14201 
   14202 beos*)
   14203   library_names_spec='${libname}${shared_ext}'
   14204   dynamic_linker="$host_os ld.so"
   14205   shlibpath_var=LIBRARY_PATH
   14206   ;;
   14207 
   14208 bsdi[45]*)
   14209   version_type=linux
   14210   need_version=no
   14211   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14212   soname_spec='${libname}${release}${shared_ext}$major'
   14213   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   14214   shlibpath_var=LD_LIBRARY_PATH
   14215   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   14216   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   14217   # the default ld.so.conf also contains /usr/contrib/lib and
   14218   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   14219   # libtool to hard-code these into programs
   14220   ;;
   14221 
   14222 cygwin* | mingw* | pw32* | cegcc*)
   14223   version_type=windows
   14224   shrext_cmds=".dll"
   14225   need_version=no
   14226   need_lib_prefix=no
   14227 
   14228   case $GCC,$host_os in
   14229   yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
   14230     library_names_spec='$libname.dll.a'
   14231     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   14232     postinstall_cmds='base_file=`basename \${file}`~
   14233       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   14234       dldir=$destdir/`dirname \$dlpath`~
   14235       test -d \$dldir || mkdir -p \$dldir~
   14236       $install_prog $dir/$dlname \$dldir/$dlname~
   14237       chmod a+x \$dldir/$dlname~
   14238       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   14239         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   14240       fi'
   14241     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   14242       dlpath=$dir/\$dldll~
   14243        $RM \$dlpath'
   14244     shlibpath_overrides_runpath=yes
   14245 
   14246     case $host_os in
   14247     cygwin*)
   14248       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   14249       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14250 
   14251       ;;
   14252     mingw* | cegcc*)
   14253       # MinGW DLLs use traditional 'lib' prefix
   14254       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14255       ;;
   14256     pw32*)
   14257       # pw32 DLLs use 'pw' prefix rather than 'lib'
   14258       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   14259       ;;
   14260     esac
   14261     ;;
   14262 
   14263   *)
   14264     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   14265     ;;
   14266   esac
   14267   dynamic_linker='Win32 ld.exe'
   14268   # FIXME: first we should search . and the directory the executable is in
   14269   shlibpath_var=PATH
   14270   ;;
   14271 
   14272 darwin* | rhapsody*)
   14273   dynamic_linker="$host_os dyld"
   14274   version_type=darwin
   14275   need_lib_prefix=no
   14276   need_version=no
   14277   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   14278   soname_spec='${libname}${release}${major}$shared_ext'
   14279   shlibpath_overrides_runpath=yes
   14280   shlibpath_var=DYLD_LIBRARY_PATH
   14281   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   14282 
   14283   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   14284   ;;
   14285 
   14286 dgux*)
   14287   version_type=linux
   14288   need_lib_prefix=no
   14289   need_version=no
   14290   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   14291   soname_spec='${libname}${release}${shared_ext}$major'
   14292   shlibpath_var=LD_LIBRARY_PATH
   14293   ;;
   14294 
   14295 freebsd* | dragonfly*)
   14296   # DragonFly does not have aout.  When/if they implement a new
   14297   # versioning mechanism, adjust this.
   14298   if test -x /usr/bin/objformat; then
   14299     objformat=`/usr/bin/objformat`
   14300   else
   14301     case $host_os in
   14302     freebsd[23].*) objformat=aout ;;
   14303     *) objformat=elf ;;
   14304     esac
   14305   fi
   14306   version_type=freebsd-$objformat
   14307   case $version_type in
   14308     freebsd-elf*)
   14309       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14310       need_version=no
   14311       need_lib_prefix=no
   14312       ;;
   14313     freebsd-*)
   14314       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   14315       need_version=yes
   14316       ;;
   14317   esac
   14318   shlibpath_var=LD_LIBRARY_PATH
   14319   case $host_os in
   14320   freebsd2.*)
   14321     shlibpath_overrides_runpath=yes
   14322     ;;
   14323   freebsd3.[01]* | freebsdelf3.[01]*)
   14324     shlibpath_overrides_runpath=yes
   14325     hardcode_into_libs=yes
   14326     ;;
   14327   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   14328   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   14329     shlibpath_overrides_runpath=no
   14330     hardcode_into_libs=yes
   14331     ;;
   14332   *) # from 4.6 on, and DragonFly
   14333     shlibpath_overrides_runpath=yes
   14334     hardcode_into_libs=yes
   14335     ;;
   14336   esac
   14337   ;;
   14338 
   14339 haiku*)
   14340   version_type=linux
   14341   need_lib_prefix=no
   14342   need_version=no
   14343   dynamic_linker="$host_os runtime_loader"
   14344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   14345   soname_spec='${libname}${release}${shared_ext}$major'
   14346   shlibpath_var=LIBRARY_PATH
   14347   shlibpath_overrides_runpath=yes
   14348   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   14349   hardcode_into_libs=yes
   14350   ;;
   14351 
   14352 hpux9* | hpux10* | hpux11*)
   14353   # Give a soname corresponding to the major version so that dld.sl refuses to
   14354   # link against other versions.
   14355   version_type=sunos
   14356   need_lib_prefix=no
   14357   need_version=no
   14358   case $host_cpu in
   14359   ia64*)
   14360     shrext_cmds='.so'
   14361     hardcode_into_libs=yes
   14362     dynamic_linker="$host_os dld.so"
   14363     shlibpath_var=LD_LIBRARY_PATH
   14364     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14365     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14366     soname_spec='${libname}${release}${shared_ext}$major'
   14367     if test "X$HPUX_IA64_MODE" = X32; then
   14368       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   14369     else
   14370       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   14371     fi
   14372     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14373     ;;
   14374   hppa*64*)
   14375     shrext_cmds='.sl'
   14376     hardcode_into_libs=yes
   14377     dynamic_linker="$host_os dld.sl"
   14378     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   14379     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   14380     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14381     soname_spec='${libname}${release}${shared_ext}$major'
   14382     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   14383     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   14384     ;;
   14385   *)
   14386     shrext_cmds='.sl'
   14387     dynamic_linker="$host_os dld.sl"
   14388     shlibpath_var=SHLIB_PATH
   14389     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   14390     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14391     soname_spec='${libname}${release}${shared_ext}$major'
   14392     ;;
   14393   esac
   14394   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   14395   postinstall_cmds='chmod 555 $lib'
   14396   # or fails outright, so override atomically:
   14397   install_override_mode=555
   14398   ;;
   14399 
   14400 interix[3-9]*)
   14401   version_type=linux
   14402   need_lib_prefix=no
   14403   need_version=no
   14404   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14405   soname_spec='${libname}${release}${shared_ext}$major'
   14406   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   14407   shlibpath_var=LD_LIBRARY_PATH
   14408   shlibpath_overrides_runpath=no
   14409   hardcode_into_libs=yes
   14410   ;;
   14411 
   14412 irix5* | irix6* | nonstopux*)
   14413   case $host_os in
   14414     nonstopux*) version_type=nonstopux ;;
   14415     *)
   14416 	if test "$lt_cv_prog_gnu_ld" = yes; then
   14417 		version_type=linux
   14418 	else
   14419 		version_type=irix
   14420 	fi ;;
   14421   esac
   14422   need_lib_prefix=no
   14423   need_version=no
   14424   soname_spec='${libname}${release}${shared_ext}$major'
   14425   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   14426   case $host_os in
   14427   irix5* | nonstopux*)
   14428     libsuff= shlibsuff=
   14429     ;;
   14430   *)
   14431     case $LD in # libtool.m4 will add one of these switches to LD
   14432     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   14433       libsuff= shlibsuff= libmagic=32-bit;;
   14434     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   14435       libsuff=32 shlibsuff=N32 libmagic=N32;;
   14436     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   14437       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   14438     *) libsuff= shlibsuff= libmagic=never-match;;
   14439     esac
   14440     ;;
   14441   esac
   14442   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   14443   shlibpath_overrides_runpath=no
   14444   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   14445   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   14446   hardcode_into_libs=yes
   14447   ;;
   14448 
   14449 # No shared lib support for Linux oldld, aout, or coff.
   14450 linux*oldld* | linux*aout* | linux*coff*)
   14451   dynamic_linker=no
   14452   ;;
   14453 
   14454 # This must be Linux ELF.
   14455 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14456   version_type=linux
   14457   need_lib_prefix=no
   14458   need_version=no
   14459   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14460   soname_spec='${libname}${release}${shared_ext}$major'
   14461   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   14462   shlibpath_var=LD_LIBRARY_PATH
   14463   shlibpath_overrides_runpath=no
   14464 
   14465   # Some binutils ld are patched to set DT_RUNPATH
   14466   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   14467   $as_echo_n "(cached) " >&6
   14468 else
   14469   lt_cv_shlibpath_overrides_runpath=no
   14470     save_LDFLAGS=$LDFLAGS
   14471     save_libdir=$libdir
   14472     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
   14473 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
   14474     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14475 /* end confdefs.h.  */
   14476 
   14477 int
   14478 main ()
   14479 {
   14480 
   14481   ;
   14482   return 0;
   14483 }
   14484 _ACEOF
   14485 if ac_fn_cxx_try_link "$LINENO"; then :
   14486   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   14487   lt_cv_shlibpath_overrides_runpath=yes
   14488 fi
   14489 fi
   14490 rm -f core conftest.err conftest.$ac_objext \
   14491     conftest$ac_exeext conftest.$ac_ext
   14492     LDFLAGS=$save_LDFLAGS
   14493     libdir=$save_libdir
   14494 
   14495 fi
   14496 
   14497   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   14498 
   14499   # This implies no fast_install, which is unacceptable.
   14500   # Some rework will be needed to allow for fast_install
   14501   # before this can be enabled.
   14502   hardcode_into_libs=yes
   14503 
   14504   # Append ld.so.conf contents to the search path
   14505   if test -f /etc/ld.so.conf; then
   14506     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' ' '`
   14507     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   14508   fi
   14509 
   14510   # We used to test for /lib/ld.so.1 and disable shared libraries on
   14511   # powerpc, because MkLinux only supported shared libraries with the
   14512   # GNU dynamic linker.  Since this was broken with cross compilers,
   14513   # most powerpc-linux boxes support dynamic linking these days and
   14514   # people can always --disable-shared, the test was removed, and we
   14515   # assume the GNU/Linux dynamic linker is in use.
   14516   dynamic_linker='GNU/Linux ld.so'
   14517   ;;
   14518 
   14519 netbsd*)
   14520   version_type=sunos
   14521   need_lib_prefix=no
   14522   need_version=no
   14523   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   14524     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14525     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14526     dynamic_linker='NetBSD (a.out) ld.so'
   14527   else
   14528     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   14529     soname_spec='${libname}${release}${shared_ext}$major'
   14530     dynamic_linker='NetBSD ld.elf_so'
   14531   fi
   14532   shlibpath_var=LD_LIBRARY_PATH
   14533   shlibpath_overrides_runpath=yes
   14534   hardcode_into_libs=yes
   14535   ;;
   14536 
   14537 newsos6)
   14538   version_type=linux
   14539   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14540   shlibpath_var=LD_LIBRARY_PATH
   14541   shlibpath_overrides_runpath=yes
   14542   ;;
   14543 
   14544 *nto* | *qnx*)
   14545   version_type=qnx
   14546   need_lib_prefix=no
   14547   need_version=no
   14548   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14549   soname_spec='${libname}${release}${shared_ext}$major'
   14550   shlibpath_var=LD_LIBRARY_PATH
   14551   shlibpath_overrides_runpath=no
   14552   hardcode_into_libs=yes
   14553   dynamic_linker='ldqnx.so'
   14554   ;;
   14555 
   14556 openbsd*)
   14557   version_type=sunos
   14558   sys_lib_dlsearch_path_spec="/usr/lib"
   14559   need_lib_prefix=no
   14560   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   14561   case $host_os in
   14562     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   14563     *)				need_version=no  ;;
   14564   esac
   14565   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14566   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   14567   shlibpath_var=LD_LIBRARY_PATH
   14568   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   14569     case $host_os in
   14570       openbsd2.[89] | openbsd2.[89].*)
   14571 	shlibpath_overrides_runpath=no
   14572 	;;
   14573       *)
   14574 	shlibpath_overrides_runpath=yes
   14575 	;;
   14576       esac
   14577   else
   14578     shlibpath_overrides_runpath=yes
   14579   fi
   14580   ;;
   14581 
   14582 os2*)
   14583   libname_spec='$name'
   14584   shrext_cmds=".dll"
   14585   need_lib_prefix=no
   14586   library_names_spec='$libname${shared_ext} $libname.a'
   14587   dynamic_linker='OS/2 ld.exe'
   14588   shlibpath_var=LIBPATH
   14589   ;;
   14590 
   14591 osf3* | osf4* | osf5*)
   14592   version_type=osf
   14593   need_lib_prefix=no
   14594   need_version=no
   14595   soname_spec='${libname}${release}${shared_ext}$major'
   14596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14597   shlibpath_var=LD_LIBRARY_PATH
   14598   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   14599   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   14600   ;;
   14601 
   14602 rdos*)
   14603   dynamic_linker=no
   14604   ;;
   14605 
   14606 solaris*)
   14607   version_type=linux
   14608   need_lib_prefix=no
   14609   need_version=no
   14610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14611   soname_spec='${libname}${release}${shared_ext}$major'
   14612   shlibpath_var=LD_LIBRARY_PATH
   14613   shlibpath_overrides_runpath=yes
   14614   hardcode_into_libs=yes
   14615   # ldd complains unless libraries are executable
   14616   postinstall_cmds='chmod +x $lib'
   14617   ;;
   14618 
   14619 sunos4*)
   14620   version_type=sunos
   14621   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   14622   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   14623   shlibpath_var=LD_LIBRARY_PATH
   14624   shlibpath_overrides_runpath=yes
   14625   if test "$with_gnu_ld" = yes; then
   14626     need_lib_prefix=no
   14627   fi
   14628   need_version=yes
   14629   ;;
   14630 
   14631 sysv4 | sysv4.3*)
   14632   version_type=linux
   14633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14634   soname_spec='${libname}${release}${shared_ext}$major'
   14635   shlibpath_var=LD_LIBRARY_PATH
   14636   case $host_vendor in
   14637     sni)
   14638       shlibpath_overrides_runpath=no
   14639       need_lib_prefix=no
   14640       runpath_var=LD_RUN_PATH
   14641       ;;
   14642     siemens)
   14643       need_lib_prefix=no
   14644       ;;
   14645     motorola)
   14646       need_lib_prefix=no
   14647       need_version=no
   14648       shlibpath_overrides_runpath=no
   14649       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   14650       ;;
   14651   esac
   14652   ;;
   14653 
   14654 sysv4*MP*)
   14655   if test -d /usr/nec ;then
   14656     version_type=linux
   14657     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   14658     soname_spec='$libname${shared_ext}.$major'
   14659     shlibpath_var=LD_LIBRARY_PATH
   14660   fi
   14661   ;;
   14662 
   14663 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   14664   version_type=freebsd-elf
   14665   need_lib_prefix=no
   14666   need_version=no
   14667   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   14668   soname_spec='${libname}${release}${shared_ext}$major'
   14669   shlibpath_var=LD_LIBRARY_PATH
   14670   shlibpath_overrides_runpath=yes
   14671   hardcode_into_libs=yes
   14672   if test "$with_gnu_ld" = yes; then
   14673     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   14674   else
   14675     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   14676     case $host_os in
   14677       sco3.2v5*)
   14678         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   14679 	;;
   14680     esac
   14681   fi
   14682   sys_lib_dlsearch_path_spec='/usr/lib'
   14683   ;;
   14684 
   14685 tpf*)
   14686   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   14687   version_type=linux
   14688   need_lib_prefix=no
   14689   need_version=no
   14690   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14691   shlibpath_var=LD_LIBRARY_PATH
   14692   shlibpath_overrides_runpath=no
   14693   hardcode_into_libs=yes
   14694   ;;
   14695 
   14696 uts4*)
   14697   version_type=linux
   14698   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   14699   soname_spec='${libname}${release}${shared_ext}$major'
   14700   shlibpath_var=LD_LIBRARY_PATH
   14701   ;;
   14702 
   14703 *)
   14704   dynamic_linker=no
   14705   ;;
   14706 esac
   14707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   14708 $as_echo "$dynamic_linker" >&6; }
   14709 test "$dynamic_linker" = no && can_build_shared=no
   14710 
   14711 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   14712 if test "$GCC" = yes; then
   14713   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   14714 fi
   14715 
   14716 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   14717   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   14718 fi
   14719 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   14720   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   14721 fi
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 
   14748 
   14749 
   14750 
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760     { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   14761 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   14762 hardcode_action_CXX=
   14763 if test -n "$hardcode_libdir_flag_spec_CXX" ||
   14764    test -n "$runpath_var_CXX" ||
   14765    test "X$hardcode_automatic_CXX" = "Xyes" ; then
   14766 
   14767   # We can hardcode non-existent directories.
   14768   if test "$hardcode_direct_CXX" != no &&
   14769      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   14770      # have to relink, otherwise we might link with an installed library
   14771      # when we should be linking with a yet-to-be-installed one
   14772      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
   14773      test "$hardcode_minus_L_CXX" != no; then
   14774     # Linking always hardcodes the temporary library directory.
   14775     hardcode_action_CXX=relink
   14776   else
   14777     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   14778     hardcode_action_CXX=immediate
   14779   fi
   14780 else
   14781   # We cannot hardcode anything, or else we can only hardcode existing
   14782   # directories.
   14783   hardcode_action_CXX=unsupported
   14784 fi
   14785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
   14786 $as_echo "$hardcode_action_CXX" >&6; }
   14787 
   14788 if test "$hardcode_action_CXX" = relink ||
   14789    test "$inherit_rpath_CXX" = yes; then
   14790   # Fast installation is not supported
   14791   enable_fast_install=no
   14792 elif test "$shlibpath_overrides_runpath" = yes ||
   14793      test "$enable_shared" = no; then
   14794   # Fast installation is not necessary
   14795   enable_fast_install=needless
   14796 fi
   14797 
   14798 
   14799 
   14800 
   14801 
   14802 
   14803 
   14804   fi # test -n "$compiler"
   14805 
   14806   CC=$lt_save_CC
   14807   LDCXX=$LD
   14808   LD=$lt_save_LD
   14809   GCC=$lt_save_GCC
   14810   with_gnu_ld=$lt_save_with_gnu_ld
   14811   lt_cv_path_LDCXX=$lt_cv_path_LD
   14812   lt_cv_path_LD=$lt_save_path_LD
   14813   lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
   14814   lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
   14815 fi # test "$_lt_caught_CXX_error" != yes
   14816 
   14817 ac_ext=c
   14818 ac_cpp='$CPP $CPPFLAGS'
   14819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14822 
   14823 
   14824 
   14825 
   14826 
   14827 
   14828 
   14829 
   14830 
   14831 
   14832 
   14833 
   14834 
   14835         ac_config_commands="$ac_config_commands libtool"
   14836 
   14837 
   14838 
   14839 
   14840 # Only expand once:
   14841 
   14842 
   14843 
   14844 # The tests for host and target for $enable_largefile require
   14845 # canonical names.
   14846 
   14847 
   14848 
   14849 # As the $enable_largefile decision depends on --enable-plugins we must set it
   14850 # even in directories otherwise not depending on the $plugins option.
   14851 
   14852 
   14853   maybe_plugins=no
   14854   for ac_header in dlfcn.h
   14855 do :
   14856   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14857 "
   14858 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14859   cat >>confdefs.h <<_ACEOF
   14860 #define HAVE_DLFCN_H 1
   14861 _ACEOF
   14862  maybe_plugins=yes
   14863 fi
   14864 
   14865 done
   14866 
   14867   for ac_header in windows.h
   14868 do :
   14869   ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default
   14870 "
   14871 if test "x$ac_cv_header_windows_h" = xyes; then :
   14872   cat >>confdefs.h <<_ACEOF
   14873 #define HAVE_WINDOWS_H 1
   14874 _ACEOF
   14875  maybe_plugins=yes
   14876 fi
   14877 
   14878 done
   14879 
   14880 
   14881   # Check whether --enable-plugins was given.
   14882 if test "${enable_plugins+set}" = set; then :
   14883   enableval=$enable_plugins; case "${enableval}" in
   14884       no) plugins=no ;;
   14885       *) plugins=yes
   14886          if test "$maybe_plugins" != "yes" ; then
   14887 	   as_fn_error $? "Building with plugin support requires a host that supports dlopen." "$LINENO" 5
   14888 	 fi ;;
   14889      esac
   14890 else
   14891   plugins=$maybe_plugins
   14892 
   14893 fi
   14894 
   14895   if test "$plugins" = "yes"; then
   14896     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlsym" >&5
   14897 $as_echo_n "checking for library containing dlsym... " >&6; }
   14898 if ${ac_cv_search_dlsym+:} false; then :
   14899   $as_echo_n "(cached) " >&6
   14900 else
   14901   ac_func_search_save_LIBS=$LIBS
   14902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14903 /* end confdefs.h.  */
   14904 
   14905 /* Override any GCC internal prototype to avoid an error.
   14906    Use char because int might match the return type of a GCC
   14907    builtin and then its argument prototype would still apply.  */
   14908 #ifdef __cplusplus
   14909 extern "C"
   14910 #endif
   14911 char dlsym ();
   14912 int
   14913 main ()
   14914 {
   14915 return dlsym ();
   14916   ;
   14917   return 0;
   14918 }
   14919 _ACEOF
   14920 for ac_lib in '' dl; do
   14921   if test -z "$ac_lib"; then
   14922     ac_res="none required"
   14923   else
   14924     ac_res=-l$ac_lib
   14925     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   14926   fi
   14927   if ac_fn_c_try_link "$LINENO"; then :
   14928   ac_cv_search_dlsym=$ac_res
   14929 fi
   14930 rm -f core conftest.err conftest.$ac_objext \
   14931     conftest$ac_exeext
   14932   if ${ac_cv_search_dlsym+:} false; then :
   14933   break
   14934 fi
   14935 done
   14936 if ${ac_cv_search_dlsym+:} false; then :
   14937 
   14938 else
   14939   ac_cv_search_dlsym=no
   14940 fi
   14941 rm conftest.$ac_ext
   14942 LIBS=$ac_func_search_save_LIBS
   14943 fi
   14944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlsym" >&5
   14945 $as_echo "$ac_cv_search_dlsym" >&6; }
   14946 ac_res=$ac_cv_search_dlsym
   14947 if test "$ac_res" != no; then :
   14948   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   14949 
   14950 fi
   14951 
   14952   fi
   14953 
   14954 
   14955 case "${host}" in
   14956   sparc-*-solaris*|i?86-*-solaris*)
   14957     # On native 32-bit Solaris/SPARC and x86, large-file and procfs support
   14958     # were mutually exclusive until Solaris 11.3.  Without procfs support,
   14959     # the bfd/ elf module cannot provide certain routines such as
   14960     # elfcore_write_prpsinfo or elfcore_write_prstatus.  So unless the user
   14961     # explicitly requested large-file support through the
   14962     # --enable-largefile switch, disable large-file support in favor of
   14963     # procfs support.
   14964     #
   14965     # Check if <sys/procfs.h> is incompatible with large-file support.
   14966     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14967 /* end confdefs.h.  */
   14968 #define _FILE_OFFSET_BITS 64
   14969 #define _STRUCTURED_PROC 1
   14970 #include <sys/procfs.h>
   14971 int
   14972 main ()
   14973 {
   14974 
   14975   ;
   14976   return 0;
   14977 }
   14978 _ACEOF
   14979 if ac_fn_c_try_compile "$LINENO"; then :
   14980   acx_cv_procfs_lfs=yes
   14981 else
   14982   acx_cv_procfs_lfs=no
   14983 fi
   14984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14985     #
   14986     # Forcefully disable large-file support only if necessary, gdb is in
   14987     # tree and enabled.
   14988     if test "${target}" = "${host}" -a "$acx_cv_procfs_lfs" = no \
   14989          -a -d $srcdir/../gdb -a "$enable_gdb" != no; then
   14990       : ${enable_largefile="no"}
   14991       if test "$plugins" = yes; then
   14992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
   14993 plugin support disabled; require large-file support which is incompatible with GDB." >&5
   14994 $as_echo "$as_me: WARNING:
   14995 plugin support disabled; require large-file support which is incompatible with GDB." >&2;}
   14996 	plugins=no
   14997       fi
   14998     fi
   14999     #
   15000     # Explicitly undef _FILE_OFFSET_BITS if enable_largefile=no for the
   15001     # benefit of g++ 9+ which predefines it on Solaris.
   15002     if test "$enable_largefile" = no; then
   15003       LARGEFILE_CPPFLAGS="-U_FILE_OFFSET_BITS"
   15004 
   15005     fi
   15006     ;;
   15007 esac
   15008 
   15009 # Check whether --enable-largefile was given.
   15010 if test "${enable_largefile+set}" = set; then :
   15011   enableval=$enable_largefile;
   15012 fi
   15013 
   15014 if test "$enable_largefile" != no; then
   15015 
   15016   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
   15017 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
   15018 if ${ac_cv_sys_largefile_CC+:} false; then :
   15019   $as_echo_n "(cached) " >&6
   15020 else
   15021   ac_cv_sys_largefile_CC=no
   15022      if test "$GCC" != yes; then
   15023        ac_save_CC=$CC
   15024        while :; do
   15025 	 # IRIX 6.2 and later do not support large files by default,
   15026 	 # so use the C compiler's -n32 option if that helps.
   15027 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15028 /* end confdefs.h.  */
   15029 #include <sys/types.h>
   15030  /* Check that off_t can represent 2**63 - 1 correctly.
   15031     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15032     since some C++ compilers masquerading as C compilers
   15033     incorrectly reject 9223372036854775807.  */
   15034 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15035   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15036 		       && LARGE_OFF_T % 2147483647 == 1)
   15037 		      ? 1 : -1];
   15038 int
   15039 main ()
   15040 {
   15041 
   15042   ;
   15043   return 0;
   15044 }
   15045 _ACEOF
   15046 	 if ac_fn_c_try_compile "$LINENO"; then :
   15047   break
   15048 fi
   15049 rm -f core conftest.err conftest.$ac_objext
   15050 	 CC="$CC -n32"
   15051 	 if ac_fn_c_try_compile "$LINENO"; then :
   15052   ac_cv_sys_largefile_CC=' -n32'; break
   15053 fi
   15054 rm -f core conftest.err conftest.$ac_objext
   15055 	 break
   15056        done
   15057        CC=$ac_save_CC
   15058        rm -f conftest.$ac_ext
   15059     fi
   15060 fi
   15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
   15062 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
   15063   if test "$ac_cv_sys_largefile_CC" != no; then
   15064     CC=$CC$ac_cv_sys_largefile_CC
   15065   fi
   15066 
   15067   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
   15068 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
   15069 if ${ac_cv_sys_file_offset_bits+:} false; then :
   15070   $as_echo_n "(cached) " >&6
   15071 else
   15072   while :; do
   15073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15074 /* end confdefs.h.  */
   15075 #include <sys/types.h>
   15076  /* Check that off_t can represent 2**63 - 1 correctly.
   15077     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15078     since some C++ compilers masquerading as C compilers
   15079     incorrectly reject 9223372036854775807.  */
   15080 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15081   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15082 		       && LARGE_OFF_T % 2147483647 == 1)
   15083 		      ? 1 : -1];
   15084 int
   15085 main ()
   15086 {
   15087 
   15088   ;
   15089   return 0;
   15090 }
   15091 _ACEOF
   15092 if ac_fn_c_try_compile "$LINENO"; then :
   15093   ac_cv_sys_file_offset_bits=no; break
   15094 fi
   15095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15096   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15097 /* end confdefs.h.  */
   15098 #define _FILE_OFFSET_BITS 64
   15099 #include <sys/types.h>
   15100  /* Check that off_t can represent 2**63 - 1 correctly.
   15101     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15102     since some C++ compilers masquerading as C compilers
   15103     incorrectly reject 9223372036854775807.  */
   15104 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15105   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15106 		       && LARGE_OFF_T % 2147483647 == 1)
   15107 		      ? 1 : -1];
   15108 int
   15109 main ()
   15110 {
   15111 
   15112   ;
   15113   return 0;
   15114 }
   15115 _ACEOF
   15116 if ac_fn_c_try_compile "$LINENO"; then :
   15117   ac_cv_sys_file_offset_bits=64; break
   15118 fi
   15119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15120   ac_cv_sys_file_offset_bits=unknown
   15121   break
   15122 done
   15123 fi
   15124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
   15125 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
   15126 case $ac_cv_sys_file_offset_bits in #(
   15127   no | unknown) ;;
   15128   *)
   15129 cat >>confdefs.h <<_ACEOF
   15130 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
   15131 _ACEOF
   15132 ;;
   15133 esac
   15134 rm -rf conftest*
   15135   if test $ac_cv_sys_file_offset_bits = unknown; then
   15136     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
   15137 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
   15138 if ${ac_cv_sys_large_files+:} false; then :
   15139   $as_echo_n "(cached) " >&6
   15140 else
   15141   while :; do
   15142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15143 /* end confdefs.h.  */
   15144 #include <sys/types.h>
   15145  /* Check that off_t can represent 2**63 - 1 correctly.
   15146     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15147     since some C++ compilers masquerading as C compilers
   15148     incorrectly reject 9223372036854775807.  */
   15149 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15150   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15151 		       && LARGE_OFF_T % 2147483647 == 1)
   15152 		      ? 1 : -1];
   15153 int
   15154 main ()
   15155 {
   15156 
   15157   ;
   15158   return 0;
   15159 }
   15160 _ACEOF
   15161 if ac_fn_c_try_compile "$LINENO"; then :
   15162   ac_cv_sys_large_files=no; break
   15163 fi
   15164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15166 /* end confdefs.h.  */
   15167 #define _LARGE_FILES 1
   15168 #include <sys/types.h>
   15169  /* Check that off_t can represent 2**63 - 1 correctly.
   15170     We can't simply define LARGE_OFF_T to be 9223372036854775807,
   15171     since some C++ compilers masquerading as C compilers
   15172     incorrectly reject 9223372036854775807.  */
   15173 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
   15174   int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
   15175 		       && LARGE_OFF_T % 2147483647 == 1)
   15176 		      ? 1 : -1];
   15177 int
   15178 main ()
   15179 {
   15180 
   15181   ;
   15182   return 0;
   15183 }
   15184 _ACEOF
   15185 if ac_fn_c_try_compile "$LINENO"; then :
   15186   ac_cv_sys_large_files=1; break
   15187 fi
   15188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15189   ac_cv_sys_large_files=unknown
   15190   break
   15191 done
   15192 fi
   15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
   15194 $as_echo "$ac_cv_sys_large_files" >&6; }
   15195 case $ac_cv_sys_large_files in #(
   15196   no | unknown) ;;
   15197   *)
   15198 cat >>confdefs.h <<_ACEOF
   15199 #define _LARGE_FILES $ac_cv_sys_large_files
   15200 _ACEOF
   15201 ;;
   15202 esac
   15203 rm -rf conftest*
   15204   fi
   15205 
   15206 
   15207 fi
   15208 
   15209 
   15210 
   15211 ac_checking=
   15212 . ${srcdir}/../bfd/development.sh
   15213 test "$development" = true && ac_checking=yes
   15214 # Check whether --enable-checking was given.
   15215 if test "${enable_checking+set}" = set; then :
   15216   enableval=$enable_checking; case "${enableval}" in
   15217   no|none)  ac_checking= ;;
   15218   *)	    ac_checking=yes ;;
   15219 esac
   15220 fi
   15221 if test x$ac_checking != x ; then
   15222 
   15223 $as_echo "#define ENABLE_CHECKING 1" >>confdefs.h
   15224 
   15225 fi
   15226 
   15227 
   15228 # Check whether --with-lib-path was given.
   15229 if test "${with_lib_path+set}" = set; then :
   15230   withval=$with_lib_path; LIB_PATH=$withval
   15231 fi
   15232 
   15233 # Check whether --enable-targets was given.
   15234 if test "${enable_targets+set}" = set; then :
   15235   enableval=$enable_targets; case "${enableval}" in
   15236   yes | "") as_fn_error $? "enable-targets option must specify target names or 'all'" "$LINENO" 5
   15237 	    ;;
   15238   no)       enable_targets= ;;
   15239   *)        enable_targets=$enableval ;;
   15240 esac
   15241 fi
   15242 
   15243 # Check whether --enable-64-bit-bfd was given.
   15244 if test "${enable_64_bit_bfd+set}" = set; then :
   15245   enableval=$enable_64_bit_bfd; case $enableval in #(
   15246   yes|no) :
   15247      ;; #(
   15248   *) :
   15249     as_fn_error $? "bad value ${enableval} for 64-bit-bfd option" "$LINENO" 5 ;; #(
   15250   *) :
   15251      ;;
   15252 esac
   15253 else
   15254   enable_64_bit_bfd=no
   15255 fi
   15256 
   15257 
   15258 if test "x$enable_64_bit_bfd" = "xno"; then :
   15259     # The cast to long int works around a bug in the HP C Compiler
   15260 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   15261 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   15262 # This bug is HP SR number 8606223364.
   15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
   15264 $as_echo_n "checking size of void *... " >&6; }
   15265 if ${ac_cv_sizeof_void_p+:} false; then :
   15266   $as_echo_n "(cached) " >&6
   15267 else
   15268   if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
   15269 
   15270 else
   15271   if test "$ac_cv_type_void_p" = yes; then
   15272      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   15273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   15274 as_fn_error 77 "cannot compute sizeof (void *)
   15275 See \`config.log' for more details" "$LINENO" 5; }
   15276    else
   15277      ac_cv_sizeof_void_p=0
   15278    fi
   15279 fi
   15280 
   15281 fi
   15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
   15283 $as_echo "$ac_cv_sizeof_void_p" >&6; }
   15284 
   15285 
   15286 
   15287 cat >>confdefs.h <<_ACEOF
   15288 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
   15289 _ACEOF
   15290 
   15291 
   15292   if test "x$ac_cv_sizeof_void_p" = "x8"; then :
   15293   enable_64_bit_bfd=yes
   15294 fi
   15295 
   15296 fi
   15297 
   15298  if test "x$enable_64_bit_bfd" = "xyes"; then
   15299   ENABLE_BFD_64_BIT_TRUE=
   15300   ENABLE_BFD_64_BIT_FALSE='#'
   15301 else
   15302   ENABLE_BFD_64_BIT_TRUE='#'
   15303   ENABLE_BFD_64_BIT_FALSE=
   15304 fi
   15305 
   15306 
   15307 
   15308 
   15309 # Check whether --with-sysroot was given.
   15310 if test "${with_sysroot+set}" = set; then :
   15311   withval=$with_sysroot;
   15312  case ${with_sysroot} in
   15313  yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
   15314  *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
   15315  esac
   15316 
   15317  TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
   15318  use_sysroot=yes
   15319 
   15320  if test "x$prefix" = xNONE; then
   15321   test_prefix=/usr/local
   15322  else
   15323   test_prefix=$prefix
   15324  fi
   15325  if test "x$exec_prefix" = xNONE; then
   15326   test_exec_prefix=$test_prefix
   15327  else
   15328   test_exec_prefix=$exec_prefix
   15329  fi
   15330  case ${TARGET_SYSTEM_ROOT} in
   15331  "${test_prefix}"|"${test_prefix}/"*|\
   15332  "${test_exec_prefix}"|"${test_exec_prefix}/"*|\
   15333  '${prefix}'|'${prefix}/'*|\
   15334  '${exec_prefix}'|'${exec_prefix}/'*)
   15335    t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
   15336    TARGET_SYSTEM_ROOT_DEFINE="$t"
   15337    ;;
   15338  esac
   15339 
   15340 else
   15341 
   15342  use_sysroot=no
   15343  TARGET_SYSTEM_ROOT=
   15344  TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
   15345 
   15346 fi
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 # Check whether --enable-gold was given.
   15353 if test "${enable_gold+set}" = set; then :
   15354   enableval=$enable_gold; case "${enableval}" in
   15355  default)
   15356    install_as_default=no
   15357    installed_linker=ld.bfd
   15358    ;;
   15359  yes|no)
   15360    install_as_default=yes
   15361    installed_linker=ld.bfd
   15362    ;;
   15363  *)
   15364    as_fn_error $? "invalid --enable-gold argument" "$LINENO" 5
   15365    ;;
   15366  esac
   15367 else
   15368   install_as_default=yes
   15369  installed_linker=ld.bfd
   15370 fi
   15371 
   15372 
   15373 
   15374 
   15375 # Check whether --enable-got was given.
   15376 if test "${enable_got+set}" = set; then :
   15377   enableval=$enable_got; case "${enableval}" in
   15378   target | single | negative | multigot)  got_handling=$enableval ;;
   15379   *)  as_fn_error $? "bad value ${enableval} for --enable-got option" "$LINENO" 5 ;;
   15380 esac
   15381 else
   15382   got_handling=target
   15383 fi
   15384 
   15385 
   15386 case "${got_handling}" in
   15387   target)
   15388 
   15389 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT" >>confdefs.h
   15390  ;;
   15391   single)
   15392 
   15393 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE" >>confdefs.h
   15394  ;;
   15395   negative)
   15396 
   15397 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE" >>confdefs.h
   15398  ;;
   15399   multigot)
   15400 
   15401 $as_echo "#define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT" >>confdefs.h
   15402  ;;
   15403   *)  as_fn_error $? "bad value ${got_handling} for --enable-got option" "$LINENO" 5 ;;
   15404 esac
   15405 
   15406 # PR gas/19109
   15407 # Decide the default method for compressing debug sections.
   15408 ac_default_compressed_debug_sections=unset
   15409 # Provide a configure time option to override our default.
   15410 # Check whether --enable-compressed_debug_sections was given.
   15411 if test "${enable_compressed_debug_sections+set}" = set; then :
   15412   enableval=$enable_compressed_debug_sections; case ,"${enableval}", in
   15413   ,yes, | ,all, | *,ld,*) ac_default_compressed_debug_sections=yes ;;
   15414   ,no, | ,none,)  ac_default_compressed_debug_sections=no ;;
   15415 esac
   15416 fi
   15417 
   15418 # Decide setting DT_RUNPATH instead of DT_RPATH by default
   15419 ac_default_new_dtags=unset
   15420 # Provide a configure time option to override our default.
   15421 # Check whether --enable-new_dtags was given.
   15422 if test "${enable_new_dtags+set}" = set; then :
   15423   enableval=$enable_new_dtags; case "${enableval}" in
   15424   yes) ac_default_new_dtags=1 ;;
   15425   no) ac_default_new_dtags=0 ;;
   15426 esac
   15427 fi
   15428 
   15429 # Decide if -z relro should be enabled in ELF linker by default.
   15430 ac_default_ld_z_relro=unset
   15431 # Provide a configure time option to override our default.
   15432 # Check whether --enable-relro was given.
   15433 if test "${enable_relro+set}" = set; then :
   15434   enableval=$enable_relro; case "${enableval}" in
   15435   yes)  ac_default_ld_z_relro=1 ;;
   15436   no)  ac_default_ld_z_relro=0 ;;
   15437 esac
   15438 fi
   15439 
   15440 # Decide if DT_TEXTREL check should be enabled in ELF linker.
   15441 ac_default_ld_textrel_check=unset
   15442 # Check whether --enable-textrel-check was given.
   15443 if test "${enable_textrel_check+set}" = set; then :
   15444   enableval=$enable_textrel_check; case "${enableval}" in
   15445   yes|no|warning|error) ac_default_ld_textrel_check=${enableval} ;;
   15446 esac
   15447 fi
   15448 
   15449 
   15450 # Decide if -z separate-code should be enabled in ELF linker by default.
   15451 ac_default_ld_z_separate_code=unset
   15452 # Check whether --enable-separate-code was given.
   15453 if test "${enable_separate_code+set}" = set; then :
   15454   enableval=$enable_separate_code; case "${enableval}" in
   15455   yes) ac_default_ld_z_separate_code=1 ;;
   15456   no) ac_default_ld_z_separate_code=0 ;;
   15457 esac
   15458 fi
   15459 
   15460 
   15461 
   15462 # By default warn when an executable stack is created due to object files
   15463 # requesting such, not when the user specifies -z execstack.
   15464 ac_default_ld_warn_execstack=2
   15465 # Check whether --enable-warn-execstack was given.
   15466 if test "${enable_warn_execstack+set}" = set; then :
   15467   enableval=$enable_warn_execstack; case "${enableval}" in
   15468   yes) ac_default_ld_warn_execstack=1 ;;
   15469   no)  ac_default_ld_warn_execstack=0 ;;
   15470 esac
   15471 fi
   15472 
   15473 
   15474 ac_default_ld_warn_rwx_segments=unset
   15475 # Check whether --enable-warn-rwx-segments was given.
   15476 if test "${enable_warn_rwx_segments+set}" = set; then :
   15477   enableval=$enable_warn_rwx_segments; case "${enableval}" in
   15478   yes) ac_default_ld_warn_rwx_segments=1 ;;
   15479   no)  ac_default_ld_warn_rwx_segments=0 ;;
   15480 esac
   15481 fi
   15482 
   15483 
   15484 ac_default_ld_default_execstack=unset
   15485 # Check whether --enable-default-execstack was given.
   15486 if test "${enable_default_execstack+set}" = set; then :
   15487   enableval=$enable_default_execstack; case "${enableval}" in
   15488   yes) ac_default_ld_default_execstack=1 ;;
   15489   no)  ac_default_ld_default_execstack=0 ;;
   15490 esac
   15491 fi
   15492 
   15493 
   15494 
   15495 # Decide if --error-handling-script should be supported.
   15496 ac_support_error_handling_script=unset
   15497 # Check whether --enable-error-handling-script was given.
   15498 if test "${enable_error_handling_script+set}" = set; then :
   15499   enableval=$enable_error_handling_script; case "${enableval}" in
   15500   yes) ac_support_error_handling_script=1 ;;
   15501   no)  ac_support_error_handling_script=0 ;;
   15502 esac
   15503 fi
   15504 
   15505 
   15506 # Decide which "--hash-style" to use by default
   15507 # Provide a configure time option to override our default.
   15508 # Check whether --enable-default-hash-style was given.
   15509 if test "${enable_default_hash_style+set}" = set; then :
   15510   enableval=$enable_default_hash_style; case "${enable_default_hash_style}" in
   15511   sysv | gnu | both) ;;
   15512   *) as_fn_error $? "bad value ${enable_default_hash_style} for enable-default-hash-style option" "$LINENO" 5 ;;
   15513 esac
   15514 else
   15515   case "${target}" in
   15516   # Enable gnu hash only on GNU targets, but not mips
   15517   mips*-*-*) enable_default_hash_style=sysv ;;
   15518   *-*-gnu* | *-*-linux* | *-*-nacl*) enable_default_hash_style=both ;;
   15519   *) enable_default_hash_style=sysv ;;
   15520 esac
   15521 fi
   15522 
   15523 
   15524 case "${enable_default_hash_style}" in
   15525   sysv | both) ac_default_emit_sysv_hash=1 ;;
   15526   *) ac_default_emit_sysv_hash=0 ;;
   15527 esac
   15528 
   15529 case "${enable_default_hash_style}" in
   15530   gnu | both) ac_default_emit_gnu_hash=1 ;;
   15531   *) ac_default_emit_gnu_hash=0 ;;
   15532 esac
   15533 
   15534 # Check whether --enable-initfini-array was given.
   15535 if test "${enable_initfini_array+set}" = set; then :
   15536   enableval=$enable_initfini_array; case "${enableval}" in
   15537  yes|no) ;;
   15538  *) as_fn_error $? "invalid --enable-initfini-array argument" "$LINENO" 5 ;;
   15539  esac
   15540 else
   15541   enable_initfini_array=yes
   15542 fi
   15543 
   15544 
   15545 if test $enable_initfini_array = yes; then
   15546 
   15547 $as_echo "#define HAVE_INITFINI_ARRAY 1" >>confdefs.h
   15548 
   15549 fi
   15550 
   15551  # Check whether --enable-libctf was given.
   15552 if test "${enable_libctf+set}" = set; then :
   15553   enableval=$enable_libctf;
   15554       case "$enableval" in
   15555        yes|no) ;;
   15556        *) as_fn_error $? "Argument to enable/disable libctf must be yes or no" "$LINENO" 5 ;;
   15557       esac
   15558 
   15559 else
   15560   enable_libctf=yes
   15561 fi
   15562 
   15563 
   15564 if test "${enable_libctf}" = yes; then
   15565 
   15566 $as_echo "#define ENABLE_LIBCTF 1" >>confdefs.h
   15567 
   15568 fi
   15569  if test "${enable_libctf}" = yes; then
   15570   ENABLE_LIBCTF_TRUE=
   15571   ENABLE_LIBCTF_FALSE='#'
   15572 else
   15573   ENABLE_LIBCTF_TRUE='#'
   15574   ENABLE_LIBCTF_FALSE=
   15575 fi
   15576 
   15577 
   15578 
   15579 # Used to validate --package-metadata= input. Disabled by default.
   15580 # Check whether --enable-jansson was given.
   15581 if test "${enable_jansson+set}" = set; then :
   15582   enableval=$enable_jansson; enable_jansson=$enableval
   15583 else
   15584   enable_jansson="no"
   15585 fi
   15586 
   15587 
   15588 if test "x$enable_jansson" != "xno"; then
   15589 
   15590 
   15591 
   15592 
   15593 
   15594 
   15595 
   15596 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   15597 	if test -n "$ac_tool_prefix"; then
   15598   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   15599 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   15600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15601 $as_echo_n "checking for $ac_word... " >&6; }
   15602 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   15603   $as_echo_n "(cached) " >&6
   15604 else
   15605   case $PKG_CONFIG in
   15606   [\\/]* | ?:[\\/]*)
   15607   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   15608   ;;
   15609   *)
   15610   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15611 for as_dir in $PATH
   15612 do
   15613   IFS=$as_save_IFS
   15614   test -z "$as_dir" && as_dir=.
   15615     for ac_exec_ext in '' $ac_executable_extensions; do
   15616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15617     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15619     break 2
   15620   fi
   15621 done
   15622   done
   15623 IFS=$as_save_IFS
   15624 
   15625   ;;
   15626 esac
   15627 fi
   15628 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   15629 if test -n "$PKG_CONFIG"; then
   15630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   15631 $as_echo "$PKG_CONFIG" >&6; }
   15632 else
   15633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15634 $as_echo "no" >&6; }
   15635 fi
   15636 
   15637 
   15638 fi
   15639 if test -z "$ac_cv_path_PKG_CONFIG"; then
   15640   ac_pt_PKG_CONFIG=$PKG_CONFIG
   15641   # Extract the first word of "pkg-config", so it can be a program name with args.
   15642 set dummy pkg-config; ac_word=$2
   15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   15644 $as_echo_n "checking for $ac_word... " >&6; }
   15645 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   15646   $as_echo_n "(cached) " >&6
   15647 else
   15648   case $ac_pt_PKG_CONFIG in
   15649   [\\/]* | ?:[\\/]*)
   15650   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   15651   ;;
   15652   *)
   15653   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15654 for as_dir in $PATH
   15655 do
   15656   IFS=$as_save_IFS
   15657   test -z "$as_dir" && as_dir=.
   15658     for ac_exec_ext in '' $ac_executable_extensions; do
   15659   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15660     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   15661     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   15662     break 2
   15663   fi
   15664 done
   15665   done
   15666 IFS=$as_save_IFS
   15667 
   15668   ;;
   15669 esac
   15670 fi
   15671 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   15672 if test -n "$ac_pt_PKG_CONFIG"; then
   15673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   15674 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   15675 else
   15676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15677 $as_echo "no" >&6; }
   15678 fi
   15679 
   15680   if test "x$ac_pt_PKG_CONFIG" = x; then
   15681     PKG_CONFIG=""
   15682   else
   15683     case $cross_compiling:$ac_tool_warned in
   15684 yes:)
   15685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   15686 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   15687 ac_tool_warned=yes ;;
   15688 esac
   15689     PKG_CONFIG=$ac_pt_PKG_CONFIG
   15690   fi
   15691 else
   15692   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   15693 fi
   15694 
   15695 fi
   15696 if test -n "$PKG_CONFIG"; then
   15697 	_pkg_min_version=0.9.0
   15698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   15699 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   15700 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   15701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15702 $as_echo "yes" >&6; }
   15703 	else
   15704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15705 $as_echo "no" >&6; }
   15706 		PKG_CONFIG=""
   15707 	fi
   15708 fi
   15709   if test -n "$PKG_CONFIG"; then :
   15710 
   15711 
   15712 pkg_failed=no
   15713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jansson" >&5
   15714 $as_echo_n "checking for jansson... " >&6; }
   15715 
   15716 if test -n "$JANSSON_CFLAGS"; then
   15717     pkg_cv_JANSSON_CFLAGS="$JANSSON_CFLAGS"
   15718  elif test -n "$PKG_CONFIG"; then
   15719     if test -n "$PKG_CONFIG" && \
   15720     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
   15721   ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
   15722   ac_status=$?
   15723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15724   test $ac_status = 0; }; then
   15725   pkg_cv_JANSSON_CFLAGS=`$PKG_CONFIG --cflags "jansson" 2>/dev/null`
   15726 		      test "x$?" != "x0" && pkg_failed=yes
   15727 else
   15728   pkg_failed=yes
   15729 fi
   15730  else
   15731     pkg_failed=untried
   15732 fi
   15733 if test -n "$JANSSON_LIBS"; then
   15734     pkg_cv_JANSSON_LIBS="$JANSSON_LIBS"
   15735  elif test -n "$PKG_CONFIG"; then
   15736     if test -n "$PKG_CONFIG" && \
   15737     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jansson\""; } >&5
   15738   ($PKG_CONFIG --exists --print-errors "jansson") 2>&5
   15739   ac_status=$?
   15740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15741   test $ac_status = 0; }; then
   15742   pkg_cv_JANSSON_LIBS=`$PKG_CONFIG --libs "jansson" 2>/dev/null`
   15743 		      test "x$?" != "x0" && pkg_failed=yes
   15744 else
   15745   pkg_failed=yes
   15746 fi
   15747  else
   15748     pkg_failed=untried
   15749 fi
   15750 
   15751 if test $pkg_failed = no; then
   15752   pkg_save_LDFLAGS="$LDFLAGS"
   15753   LDFLAGS="$LDFLAGS $pkg_cv_JANSSON_LIBS"
   15754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15755 /* end confdefs.h.  */
   15756 
   15757 int
   15758 main ()
   15759 {
   15760 
   15761   ;
   15762   return 0;
   15763 }
   15764 _ACEOF
   15765 if ac_fn_c_try_link "$LINENO"; then :
   15766 
   15767 else
   15768   pkg_failed=yes
   15769 fi
   15770 rm -f core conftest.err conftest.$ac_objext \
   15771     conftest$ac_exeext conftest.$ac_ext
   15772   LDFLAGS=$pkg_save_LDFLAGS
   15773 fi
   15774 
   15775 
   15776 
   15777 if test $pkg_failed = yes; then
   15778         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15779 $as_echo "no" >&6; }
   15780 
   15781 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   15782         _pkg_short_errors_supported=yes
   15783 else
   15784         _pkg_short_errors_supported=no
   15785 fi
   15786         if test $_pkg_short_errors_supported = yes; then
   15787 	        JANSSON_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "jansson" 2>&1`
   15788         else
   15789 	        JANSSON_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "jansson" 2>&1`
   15790         fi
   15791 	# Put the nasty error message in config.log where it belongs
   15792 	echo "$JANSSON_PKG_ERRORS" >&5
   15793 
   15794 
   15795 	  as_fn_error $? "Cannot find jansson library" "$LINENO" 5
   15796 
   15797 elif test $pkg_failed = untried; then
   15798         { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   15799 $as_echo "no" >&6; }
   15800 
   15801 	  as_fn_error $? "Cannot find jansson library" "$LINENO" 5
   15802 
   15803 else
   15804 	JANSSON_CFLAGS=$pkg_cv_JANSSON_CFLAGS
   15805 	JANSSON_LIBS=$pkg_cv_JANSSON_LIBS
   15806         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   15807 $as_echo "yes" >&6; }
   15808 
   15809 
   15810 $as_echo "#define HAVE_JANSSON 1" >>confdefs.h
   15811 
   15812 
   15813 
   15814 
   15815 fi
   15816 
   15817 else
   15818 
   15819       as_fn_error $? "Cannot find pkg-config" "$LINENO" 5
   15820 
   15821 fi
   15822 fi
   15823 
   15824 
   15825 # Set the 'development' global.
   15826 . $srcdir/../bfd/development.sh
   15827 
   15828 # Set acp_cpp_for_build variable
   15829 ac_cpp_for_build="$CC_FOR_BUILD -E $CPPFLAGS_FOR_BUILD"
   15830 
   15831 # Default set of GCC warnings to enable.
   15832 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   15833 GCC_WARN_CFLAGS_FOR_BUILD="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   15834 
   15835 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15837 /* end confdefs.h.  */
   15838 __GNUC__
   15839 _ACEOF
   15840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15841   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15842 
   15843 else
   15844   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wshadow"
   15845 fi
   15846 rm -f conftest*
   15847 
   15848 
   15849 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15851 /* end confdefs.h.  */
   15852 __GNUC__
   15853 _ACEOF
   15854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15855   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15856 
   15857 else
   15858   GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wstack-usage=262144"
   15859 fi
   15860 rm -f conftest*
   15861 
   15862 
   15863 # Set WARN_WRITE_STRINGS if the compiler supports -Wwrite-strings.
   15864 WARN_WRITE_STRINGS=""
   15865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15866 /* end confdefs.h.  */
   15867 __GNUC__
   15868 _ACEOF
   15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   15870   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15871 
   15872 else
   15873   WARN_WRITE_STRINGS="-Wwrite-strings"
   15874 fi
   15875 rm -f conftest*
   15876 
   15877 
   15878 # Verify CC_FOR_BUILD to be compatible with warning flags
   15879 
   15880 # Add -Wshadow if the compiler is a sufficiently recent version of GCC.
   15881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15882 /* end confdefs.h.  */
   15883 __GNUC__
   15884 _ACEOF
   15885 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   15886   $EGREP "(^[0-3]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15887 
   15888 else
   15889   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wshadow"
   15890 fi
   15891 rm -f conftest*
   15892 
   15893 
   15894 # Add -Wstack-usage if the compiler is a sufficiently recent version of GCC.
   15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15896 /* end confdefs.h.  */
   15897 __GNUC__
   15898 _ACEOF
   15899 if (eval "$ac_cpp_for_build conftest.$ac_ext") 2>&5 |
   15900   $EGREP "(^[0-4]$|^__GNUC__$)" >/dev/null 2>&1; then :
   15901 
   15902 else
   15903   GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wstack-usage=262144"
   15904 fi
   15905 rm -f conftest*
   15906 
   15907 
   15908 # Check whether --enable-werror was given.
   15909 if test "${enable_werror+set}" = set; then :
   15910   enableval=$enable_werror; case "${enableval}" in
   15911      yes | y) ERROR_ON_WARNING="yes" ;;
   15912      no | n)  ERROR_ON_WARNING="no" ;;
   15913      *) as_fn_error $? "bad value ${enableval} for --enable-werror" "$LINENO" 5 ;;
   15914    esac
   15915 fi
   15916 
   15917 
   15918 # Disable -Wformat by default when using gcc on mingw
   15919 case "${host}" in
   15920   *-*-mingw32*)
   15921     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   15922       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   15923       GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Wno-format"
   15924     fi
   15925     ;;
   15926   *) ;;
   15927 esac
   15928 
   15929 # Enable -Werror by default when using gcc.  Turn it off for releases.
   15930 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" -a "$development" = true ; then
   15931     ERROR_ON_WARNING=yes
   15932 fi
   15933 
   15934 NO_WERROR=
   15935 if test "${ERROR_ON_WARNING}" = yes ; then
   15936     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   15937     GCC_WARN_CFLAGS_FOR_BUILD="$GCC_WARN_CFLAGS_FOR_BUILD -Werror"
   15938     NO_WERROR="-Wno-error"
   15939 fi
   15940 
   15941 if test "${GCC}" = yes ; then
   15942   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   15943   WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}"
   15944 fi
   15945 
   15946 # Check whether --enable-build-warnings was given.
   15947 if test "${enable_build_warnings+set}" = set; then :
   15948   enableval=$enable_build_warnings; case "${enableval}" in
   15949   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   15950         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD}";;
   15951   no)	if test "${GCC}" = yes ; then
   15952 	  WARN_CFLAGS="-w"
   15953       WARN_CFLAGS_FOR_BUILD="-w"
   15954 	fi;;
   15955   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   15956         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}"
   15957         WARN_CFLAGS_FOR_BUILD="${GCC_WARN_CFLAGS_FOR_BUILD} ${t}";;
   15958   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   15959         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}"
   15960         WARN_CFLAGS_FOR_BUILD="${t} ${GCC_WARN_CFLAGS_FOR_BUILD}";;
   15961   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`
   15962         WARN_CFLAGS_FOR_BUILD=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   15963 esac
   15964 fi
   15965 
   15966 
   15967 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   15968   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   15969 fi
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
   15979 $as_echo_n "checking for LC_MESSAGES... " >&6; }
   15980 if ${am_cv_val_LC_MESSAGES+:} false; then :
   15981   $as_echo_n "(cached) " >&6
   15982 else
   15983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15984 /* end confdefs.h.  */
   15985 #include <locale.h>
   15986 int
   15987 main ()
   15988 {
   15989 return LC_MESSAGES
   15990   ;
   15991   return 0;
   15992 }
   15993 _ACEOF
   15994 if ac_fn_c_try_link "$LINENO"; then :
   15995   am_cv_val_LC_MESSAGES=yes
   15996 else
   15997   am_cv_val_LC_MESSAGES=no
   15998 fi
   15999 rm -f core conftest.err conftest.$ac_objext \
   16000     conftest$ac_exeext conftest.$ac_ext
   16001 fi
   16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
   16003 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
   16004   if test $am_cv_val_LC_MESSAGES = yes; then
   16005 
   16006 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
   16007 
   16008   fi
   16009 
   16010 
   16011 ac_config_headers="$ac_config_headers config.h:config.in"
   16012 
   16013 
   16014 # PR 14072
   16015 
   16016 
   16017 if test -z "$target" ; then
   16018     as_fn_error $? "Unrecognized target system type; please check config.sub." "$LINENO" 5
   16019 fi
   16020 if test -z "$host" ; then
   16021     as_fn_error $? "Unrecognized host system type; please check config.sub." "$LINENO" 5
   16022 fi
   16023 
   16024 # host-specific stuff:
   16025 
   16026 ALL_LINGUAS="bg da de es fi fr ga id it ja pt_BR ru sr sv tr uk vi zh_CN zh_TW"
   16027 # If we haven't got the data from the intl directory,
   16028 # assume NLS is disabled.
   16029 USE_NLS=no
   16030 LIBINTL=
   16031 LIBINTL_DEP=
   16032 INCINTL=
   16033 XGETTEXT=
   16034 GMSGFMT=
   16035 POSUB=
   16036 
   16037 if test -f  ../intl/config.intl; then
   16038   .  ../intl/config.intl
   16039 fi
   16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   16041 $as_echo_n "checking whether NLS is requested... " >&6; }
   16042 if test x"$USE_NLS" != xyes; then
   16043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16044 $as_echo "no" >&6; }
   16045 else
   16046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   16047 $as_echo "yes" >&6; }
   16048 
   16049 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
   16050 
   16051 
   16052   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for catalogs to be installed" >&5
   16053 $as_echo_n "checking for catalogs to be installed... " >&6; }
   16054   # Look for .po and .gmo files in the source directory.
   16055   CATALOGS=
   16056   XLINGUAS=
   16057   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   16058     # If there aren't any .gmo files the shell will give us the
   16059     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   16060     # weeded out.
   16061     case "$cat" in *\**)
   16062       continue;;
   16063     esac
   16064     # The quadruple backslash is collapsed to a double backslash
   16065     # by the backticks, then collapsed again by the double quotes,
   16066     # leaving us with one backslash in the sed expression (right
   16067     # before the dot that mustn't act as a wildcard).
   16068     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   16069     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   16070     # The user is allowed to set LINGUAS to a list of languages to
   16071     # install catalogs for.  If it's empty that means "all of them."
   16072     if test "x$LINGUAS" = x; then
   16073       CATALOGS="$CATALOGS $cat"
   16074       XLINGUAS="$XLINGUAS $lang"
   16075     else
   16076       case "$LINGUAS" in *$lang*)
   16077         CATALOGS="$CATALOGS $cat"
   16078         XLINGUAS="$XLINGUAS $lang"
   16079         ;;
   16080       esac
   16081     fi
   16082   done
   16083   LINGUAS="$XLINGUAS"
   16084   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINGUAS" >&5
   16085 $as_echo "$LINGUAS" >&6; }
   16086 
   16087 
   16088     DATADIRNAME=share
   16089 
   16090   INSTOBJEXT=.mo
   16091 
   16092   GENCAT=gencat
   16093 
   16094   CATOBJEXT=.gmo
   16095 
   16096 fi
   16097 
   16098         MKINSTALLDIRS=
   16099   if test -n "$ac_aux_dir"; then
   16100     case "$ac_aux_dir" in
   16101       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   16102       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   16103     esac
   16104   fi
   16105   if test -z "$MKINSTALLDIRS"; then
   16106     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   16107   fi
   16108 
   16109 
   16110 
   16111   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
   16112 $as_echo_n "checking whether NLS is requested... " >&6; }
   16113     # Check whether --enable-nls was given.
   16114 if test "${enable_nls+set}" = set; then :
   16115   enableval=$enable_nls; USE_NLS=$enableval
   16116 else
   16117   USE_NLS=yes
   16118 fi
   16119 
   16120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5
   16121 $as_echo "$USE_NLS" >&6; }
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 # Prepare PATH_SEPARATOR.
   16129 # The user is always right.
   16130 if test "${PATH_SEPARATOR+set}" != set; then
   16131   echo "#! /bin/sh" >conf$$.sh
   16132   echo  "exit 0"   >>conf$$.sh
   16133   chmod +x conf$$.sh
   16134   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16135     PATH_SEPARATOR=';'
   16136   else
   16137     PATH_SEPARATOR=:
   16138   fi
   16139   rm -f conf$$.sh
   16140 fi
   16141 
   16142 # Find out how to test for executable files. Don't use a zero-byte file,
   16143 # as systems may use methods other than mode bits to determine executability.
   16144 cat >conf$$.file <<_ASEOF
   16145 #! /bin/sh
   16146 exit 0
   16147 _ASEOF
   16148 chmod +x conf$$.file
   16149 if test -x conf$$.file >/dev/null 2>&1; then
   16150   ac_executable_p="test -x"
   16151 else
   16152   ac_executable_p="test -f"
   16153 fi
   16154 rm -f conf$$.file
   16155 
   16156 # Extract the first word of "msgfmt", so it can be a program name with args.
   16157 set dummy msgfmt; ac_word=$2
   16158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16159 $as_echo_n "checking for $ac_word... " >&6; }
   16160 if ${ac_cv_path_MSGFMT+:} false; then :
   16161   $as_echo_n "(cached) " >&6
   16162 else
   16163   case "$MSGFMT" in
   16164   [\\/]* | ?:[\\/]*)
   16165     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   16166     ;;
   16167   *)
   16168     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   16169     for ac_dir in $PATH; do
   16170       IFS="$ac_save_IFS"
   16171       test -z "$ac_dir" && ac_dir=.
   16172       for ac_exec_ext in '' $ac_executable_extensions; do
   16173         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   16174           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   16175      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   16176             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   16177             break 2
   16178           fi
   16179         fi
   16180       done
   16181     done
   16182     IFS="$ac_save_IFS"
   16183   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   16184     ;;
   16185 esac
   16186 fi
   16187 MSGFMT="$ac_cv_path_MSGFMT"
   16188 if test "$MSGFMT" != ":"; then
   16189   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
   16190 $as_echo "$MSGFMT" >&6; }
   16191 else
   16192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16193 $as_echo "no" >&6; }
   16194 fi
   16195 
   16196   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   16197 set dummy gmsgfmt; ac_word=$2
   16198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16199 $as_echo_n "checking for $ac_word... " >&6; }
   16200 if ${ac_cv_path_GMSGFMT+:} false; then :
   16201   $as_echo_n "(cached) " >&6
   16202 else
   16203   case $GMSGFMT in
   16204   [\\/]* | ?:[\\/]*)
   16205   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   16206   ;;
   16207   *)
   16208   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16209 for as_dir in $PATH
   16210 do
   16211   IFS=$as_save_IFS
   16212   test -z "$as_dir" && as_dir=.
   16213     for ac_exec_ext in '' $ac_executable_extensions; do
   16214   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16215     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   16216     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16217     break 2
   16218   fi
   16219 done
   16220   done
   16221 IFS=$as_save_IFS
   16222 
   16223   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   16224   ;;
   16225 esac
   16226 fi
   16227 GMSGFMT=$ac_cv_path_GMSGFMT
   16228 if test -n "$GMSGFMT"; then
   16229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5
   16230 $as_echo "$GMSGFMT" >&6; }
   16231 else
   16232   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16233 $as_echo "no" >&6; }
   16234 fi
   16235 
   16236 
   16237 
   16238 
   16239 # Prepare PATH_SEPARATOR.
   16240 # The user is always right.
   16241 if test "${PATH_SEPARATOR+set}" != set; then
   16242   echo "#! /bin/sh" >conf$$.sh
   16243   echo  "exit 0"   >>conf$$.sh
   16244   chmod +x conf$$.sh
   16245   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16246     PATH_SEPARATOR=';'
   16247   else
   16248     PATH_SEPARATOR=:
   16249   fi
   16250   rm -f conf$$.sh
   16251 fi
   16252 
   16253 # Find out how to test for executable files. Don't use a zero-byte file,
   16254 # as systems may use methods other than mode bits to determine executability.
   16255 cat >conf$$.file <<_ASEOF
   16256 #! /bin/sh
   16257 exit 0
   16258 _ASEOF
   16259 chmod +x conf$$.file
   16260 if test -x conf$$.file >/dev/null 2>&1; then
   16261   ac_executable_p="test -x"
   16262 else
   16263   ac_executable_p="test -f"
   16264 fi
   16265 rm -f conf$$.file
   16266 
   16267 # Extract the first word of "xgettext", so it can be a program name with args.
   16268 set dummy xgettext; ac_word=$2
   16269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16270 $as_echo_n "checking for $ac_word... " >&6; }
   16271 if ${ac_cv_path_XGETTEXT+:} false; then :
   16272   $as_echo_n "(cached) " >&6
   16273 else
   16274   case "$XGETTEXT" in
   16275   [\\/]* | ?:[\\/]*)
   16276     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   16277     ;;
   16278   *)
   16279     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   16280     for ac_dir in $PATH; do
   16281       IFS="$ac_save_IFS"
   16282       test -z "$ac_dir" && ac_dir=.
   16283       for ac_exec_ext in '' $ac_executable_extensions; do
   16284         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   16285           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   16286      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   16287             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   16288             break 2
   16289           fi
   16290         fi
   16291       done
   16292     done
   16293     IFS="$ac_save_IFS"
   16294   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   16295     ;;
   16296 esac
   16297 fi
   16298 XGETTEXT="$ac_cv_path_XGETTEXT"
   16299 if test "$XGETTEXT" != ":"; then
   16300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
   16301 $as_echo "$XGETTEXT" >&6; }
   16302 else
   16303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16304 $as_echo "no" >&6; }
   16305 fi
   16306 
   16307     rm -f messages.po
   16308 
   16309 
   16310 # Prepare PATH_SEPARATOR.
   16311 # The user is always right.
   16312 if test "${PATH_SEPARATOR+set}" != set; then
   16313   echo "#! /bin/sh" >conf$$.sh
   16314   echo  "exit 0"   >>conf$$.sh
   16315   chmod +x conf$$.sh
   16316   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16317     PATH_SEPARATOR=';'
   16318   else
   16319     PATH_SEPARATOR=:
   16320   fi
   16321   rm -f conf$$.sh
   16322 fi
   16323 
   16324 # Find out how to test for executable files. Don't use a zero-byte file,
   16325 # as systems may use methods other than mode bits to determine executability.
   16326 cat >conf$$.file <<_ASEOF
   16327 #! /bin/sh
   16328 exit 0
   16329 _ASEOF
   16330 chmod +x conf$$.file
   16331 if test -x conf$$.file >/dev/null 2>&1; then
   16332   ac_executable_p="test -x"
   16333 else
   16334   ac_executable_p="test -f"
   16335 fi
   16336 rm -f conf$$.file
   16337 
   16338 # Extract the first word of "msgmerge", so it can be a program name with args.
   16339 set dummy msgmerge; ac_word=$2
   16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16341 $as_echo_n "checking for $ac_word... " >&6; }
   16342 if ${ac_cv_path_MSGMERGE+:} false; then :
   16343   $as_echo_n "(cached) " >&6
   16344 else
   16345   case "$MSGMERGE" in
   16346   [\\/]* | ?:[\\/]*)
   16347     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   16348     ;;
   16349   *)
   16350     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   16351     for ac_dir in $PATH; do
   16352       IFS="$ac_save_IFS"
   16353       test -z "$ac_dir" && ac_dir=.
   16354       for ac_exec_ext in '' $ac_executable_extensions; do
   16355         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   16356           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   16357             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   16358             break 2
   16359           fi
   16360         fi
   16361       done
   16362     done
   16363     IFS="$ac_save_IFS"
   16364   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   16365     ;;
   16366 esac
   16367 fi
   16368 MSGMERGE="$ac_cv_path_MSGMERGE"
   16369 if test "$MSGMERGE" != ":"; then
   16370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
   16371 $as_echo "$MSGMERGE" >&6; }
   16372 else
   16373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16374 $as_echo "no" >&6; }
   16375 fi
   16376 
   16377 
   16378       if test "$GMSGFMT" != ":"; then
   16379             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   16380        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   16381       : ;
   16382     else
   16383       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   16384       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   16385 $as_echo "found $GMSGFMT program is not GNU msgfmt; ignore it" >&6; }
   16386       GMSGFMT=":"
   16387     fi
   16388   fi
   16389 
   16390       if test "$XGETTEXT" != ":"; then
   16391             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   16392        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   16393       : ;
   16394     else
   16395       { $as_echo "$as_me:${as_lineno-$LINENO}: result: found xgettext program is not GNU xgettext; ignore it" >&5
   16396 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
   16397       XGETTEXT=":"
   16398     fi
   16399         rm -f messages.po
   16400   fi
   16401 
   16402   ac_config_commands="$ac_config_commands default-1"
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 for ac_prog in 'bison -y' byacc
   16409 do
   16410   # Extract the first word of "$ac_prog", so it can be a program name with args.
   16411 set dummy $ac_prog; ac_word=$2
   16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16413 $as_echo_n "checking for $ac_word... " >&6; }
   16414 if ${ac_cv_prog_YACC+:} false; then :
   16415   $as_echo_n "(cached) " >&6
   16416 else
   16417   if test -n "$YACC"; then
   16418   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   16419 else
   16420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16421 for as_dir in $PATH
   16422 do
   16423   IFS=$as_save_IFS
   16424   test -z "$as_dir" && as_dir=.
   16425     for ac_exec_ext in '' $ac_executable_extensions; do
   16426   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16427     ac_cv_prog_YACC="$ac_prog"
   16428     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16429     break 2
   16430   fi
   16431 done
   16432   done
   16433 IFS=$as_save_IFS
   16434 
   16435 fi
   16436 fi
   16437 YACC=$ac_cv_prog_YACC
   16438 if test -n "$YACC"; then
   16439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
   16440 $as_echo "$YACC" >&6; }
   16441 else
   16442   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16443 $as_echo "no" >&6; }
   16444 fi
   16445 
   16446 
   16447   test -n "$YACC" && break
   16448 done
   16449 test -n "$YACC" || YACC="yacc"
   16450 
   16451 for ac_prog in flex lex
   16452 do
   16453   # Extract the first word of "$ac_prog", so it can be a program name with args.
   16454 set dummy $ac_prog; ac_word=$2
   16455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   16456 $as_echo_n "checking for $ac_word... " >&6; }
   16457 if ${ac_cv_prog_LEX+:} false; then :
   16458   $as_echo_n "(cached) " >&6
   16459 else
   16460   if test -n "$LEX"; then
   16461   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   16462 else
   16463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16464 for as_dir in $PATH
   16465 do
   16466   IFS=$as_save_IFS
   16467   test -z "$as_dir" && as_dir=.
   16468     for ac_exec_ext in '' $ac_executable_extensions; do
   16469   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   16470     ac_cv_prog_LEX="$ac_prog"
   16471     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   16472     break 2
   16473   fi
   16474 done
   16475   done
   16476 IFS=$as_save_IFS
   16477 
   16478 fi
   16479 fi
   16480 LEX=$ac_cv_prog_LEX
   16481 if test -n "$LEX"; then
   16482   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LEX" >&5
   16483 $as_echo "$LEX" >&6; }
   16484 else
   16485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   16486 $as_echo "no" >&6; }
   16487 fi
   16488 
   16489 
   16490   test -n "$LEX" && break
   16491 done
   16492 test -n "$LEX" || LEX=":"
   16493 
   16494 case "$LEX" in
   16495   :|*"missing "*) ;;
   16496   *) cat >conftest.l <<_ACEOF
   16497 %%
   16498 a { ECHO; }
   16499 b { REJECT; }
   16500 c { yymore (); }
   16501 d { yyless (1); }
   16502 e { /* IRIX 6.5 flex 2.5.4 underquotes its yyless argument.  */
   16503     yyless ((input () != 0)); }
   16504 f { unput (yytext[0]); }
   16505 . { BEGIN INITIAL; }
   16506 %%
   16507 #ifdef YYTEXT_POINTER
   16508 extern char *yytext;
   16509 #endif
   16510 int
   16511 main (void)
   16512 {
   16513   return ! yylex () + ! yywrap ();
   16514 }
   16515 _ACEOF
   16516 { { ac_try="$LEX conftest.l"
   16517 case "(($ac_try" in
   16518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   16519   *) ac_try_echo=$ac_try;;
   16520 esac
   16521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   16522 $as_echo "$ac_try_echo"; } >&5
   16523   (eval "$LEX conftest.l") 2>&5
   16524   ac_status=$?
   16525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16526   test $ac_status = 0; }
   16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex output file root" >&5
   16528 $as_echo_n "checking lex output file root... " >&6; }
   16529 if ${ac_cv_prog_lex_root+:} false; then :
   16530   $as_echo_n "(cached) " >&6
   16531 else
   16532 
   16533 if test -f lex.yy.c; then
   16534   ac_cv_prog_lex_root=lex.yy
   16535 elif test -f lexyy.c; then
   16536   ac_cv_prog_lex_root=lexyy
   16537 else
   16538   as_fn_error $? "cannot find output from $LEX; giving up" "$LINENO" 5
   16539 fi
   16540 fi
   16541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_root" >&5
   16542 $as_echo "$ac_cv_prog_lex_root" >&6; }
   16543 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   16544 
   16545 if test -z "${LEXLIB+set}"; then
   16546   { $as_echo "$as_me:${as_lineno-$LINENO}: checking lex library" >&5
   16547 $as_echo_n "checking lex library... " >&6; }
   16548 if ${ac_cv_lib_lex+:} false; then :
   16549   $as_echo_n "(cached) " >&6
   16550 else
   16551 
   16552     ac_save_LIBS=$LIBS
   16553     ac_cv_lib_lex='none needed'
   16554     for ac_lib in '' -lfl -ll; do
   16555       LIBS="$ac_lib $ac_save_LIBS"
   16556       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16557 /* end confdefs.h.  */
   16558 `cat $LEX_OUTPUT_ROOT.c`
   16559 _ACEOF
   16560 if ac_fn_c_try_link "$LINENO"; then :
   16561   ac_cv_lib_lex=$ac_lib
   16562 fi
   16563 rm -f core conftest.err conftest.$ac_objext \
   16564     conftest$ac_exeext conftest.$ac_ext
   16565       test "$ac_cv_lib_lex" != 'none needed' && break
   16566     done
   16567     LIBS=$ac_save_LIBS
   16568 
   16569 fi
   16570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lex" >&5
   16571 $as_echo "$ac_cv_lib_lex" >&6; }
   16572   test "$ac_cv_lib_lex" != 'none needed' && LEXLIB=$ac_cv_lib_lex
   16573 fi
   16574 
   16575 
   16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether yytext is a pointer" >&5
   16577 $as_echo_n "checking whether yytext is a pointer... " >&6; }
   16578 if ${ac_cv_prog_lex_yytext_pointer+:} false; then :
   16579   $as_echo_n "(cached) " >&6
   16580 else
   16581   # POSIX says lex can declare yytext either as a pointer or an array; the
   16582 # default is implementation-dependent.  Figure out which it is, since
   16583 # not all implementations provide the %pointer and %array declarations.
   16584 ac_cv_prog_lex_yytext_pointer=no
   16585 ac_save_LIBS=$LIBS
   16586 LIBS="$LEXLIB $ac_save_LIBS"
   16587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16588 /* end confdefs.h.  */
   16589 
   16590   #define YYTEXT_POINTER 1
   16591 `cat $LEX_OUTPUT_ROOT.c`
   16592 _ACEOF
   16593 if ac_fn_c_try_link "$LINENO"; then :
   16594   ac_cv_prog_lex_yytext_pointer=yes
   16595 fi
   16596 rm -f core conftest.err conftest.$ac_objext \
   16597     conftest$ac_exeext conftest.$ac_ext
   16598 LIBS=$ac_save_LIBS
   16599 
   16600 fi
   16601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_lex_yytext_pointer" >&5
   16602 $as_echo "$ac_cv_prog_lex_yytext_pointer" >&6; }
   16603 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   16604 
   16605 $as_echo "#define YYTEXT_POINTER 1" >>confdefs.h
   16606 
   16607 fi
   16608 rm -f conftest.l $LEX_OUTPUT_ROOT.c
   16609  ;;
   16610 esac
   16611 if test "$LEX" = :; then
   16612   LEX=${am_missing_run}flex
   16613 fi
   16614 
   16615 
   16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   16617 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   16618     # Check whether --enable-maintainer-mode was given.
   16619 if test "${enable_maintainer_mode+set}" = set; then :
   16620   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   16621 else
   16622   USE_MAINTAINER_MODE=no
   16623 fi
   16624 
   16625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   16626 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   16627    if test $USE_MAINTAINER_MODE = yes; then
   16628   MAINTAINER_MODE_TRUE=
   16629   MAINTAINER_MODE_FALSE='#'
   16630 else
   16631   MAINTAINER_MODE_TRUE='#'
   16632   MAINTAINER_MODE_FALSE=
   16633 fi
   16634 
   16635   MAINT=$MAINTAINER_MODE_TRUE
   16636 
   16637 
   16638  if false; then
   16639   GENINSRC_NEVER_TRUE=
   16640   GENINSRC_NEVER_FALSE='#'
   16641 else
   16642   GENINSRC_NEVER_TRUE='#'
   16643   GENINSRC_NEVER_FALSE=
   16644 fi
   16645 
   16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compare bootstrapped objects" >&5
   16647 $as_echo_n "checking how to compare bootstrapped objects... " >&6; }
   16648 if ${gcc_cv_prog_cmp_skip+:} false; then :
   16649   $as_echo_n "(cached) " >&6
   16650 else
   16651    echo abfoo >t1
   16652   echo cdfoo >t2
   16653   gcc_cv_prog_cmp_skip='tail -c +17 $$f1 > tmp-foo1; tail -c +17 $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
   16654   if cmp t1 t2 2 2 > /dev/null 2>&1; then
   16655     if cmp t1 t2 1 1 > /dev/null 2>&1; then
   16656       :
   16657     else
   16658       gcc_cv_prog_cmp_skip='cmp $$f1 $$f2 16 16'
   16659     fi
   16660   fi
   16661   if cmp --ignore-initial=2 t1 t2 > /dev/null 2>&1; then
   16662     if cmp --ignore-initial=1 t1 t2 > /dev/null 2>&1; then
   16663       :
   16664     else
   16665       gcc_cv_prog_cmp_skip='cmp --ignore-initial=16 $$f1 $$f2'
   16666     fi
   16667   fi
   16668   rm t1 t2
   16669 
   16670 fi
   16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_cmp_skip" >&5
   16672 $as_echo "$gcc_cv_prog_cmp_skip" >&6; }
   16673 do_compare="$gcc_cv_prog_cmp_skip"
   16674 
   16675 
   16676 
   16677 . ${srcdir}/configure.host
   16678 
   16679 
   16680 
   16681 
   16682 # We use headers from include/ that check various HAVE_*_H macros, thus
   16683 # should ensure they are set by configure.  This is true even when C99
   16684 # guarantees they are available.
   16685 # sha1.h and md4.h test HAVE_LIMITS_H, HAVE_SYS_TYPES_H and HAVE_STDINT_H
   16686 # plugin-api.h tests HAVE_STDINT_H and HAVE_INTTYPES_H
   16687 # Besides those, we need to check anything used in ld/ not in C99.
   16688 for ac_header in fcntl.h elf-hints.h limits.h inttypes.h stdint.h \
   16689 		 sys/file.h sys/mman.h sys/param.h sys/stat.h sys/time.h \
   16690 		 sys/types.h unistd.h
   16691 do :
   16692   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   16693 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
   16694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   16695   cat >>confdefs.h <<_ACEOF
   16696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   16697 _ACEOF
   16698 
   16699 fi
   16700 
   16701 done
   16702 
   16703 for ac_func in close glob lseek mkstemp open realpath sbrk waitpid
   16704 do :
   16705   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   16706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   16707 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   16708   cat >>confdefs.h <<_ACEOF
   16709 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   16710 _ACEOF
   16711 
   16712 fi
   16713 done
   16714 
   16715 
   16716 
   16717 case "${host}" in
   16718 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   16719 
   16720 $as_echo "#define USE_BINARY_FOPEN 1" >>confdefs.h
   16721  ;;
   16722 esac
   16723 
   16724 ac_fn_c_check_decl "$LINENO" "asprintf" "ac_cv_have_decl_asprintf" "$ac_includes_default"
   16725 if test "x$ac_cv_have_decl_asprintf" = xyes; then :
   16726   ac_have_decl=1
   16727 else
   16728   ac_have_decl=0
   16729 fi
   16730 
   16731 cat >>confdefs.h <<_ACEOF
   16732 #define HAVE_DECL_ASPRINTF $ac_have_decl
   16733 _ACEOF
   16734 ac_fn_c_check_decl "$LINENO" "environ" "ac_cv_have_decl_environ" "$ac_includes_default"
   16735 if test "x$ac_cv_have_decl_environ" = xyes; then :
   16736   ac_have_decl=1
   16737 else
   16738   ac_have_decl=0
   16739 fi
   16740 
   16741 cat >>confdefs.h <<_ACEOF
   16742 #define HAVE_DECL_ENVIRON $ac_have_decl
   16743 _ACEOF
   16744 ac_fn_c_check_decl "$LINENO" "sbrk" "ac_cv_have_decl_sbrk" "$ac_includes_default"
   16745 if test "x$ac_cv_have_decl_sbrk" = xyes; then :
   16746   ac_have_decl=1
   16747 else
   16748   ac_have_decl=0
   16749 fi
   16750 
   16751 cat >>confdefs.h <<_ACEOF
   16752 #define HAVE_DECL_SBRK $ac_have_decl
   16753 _ACEOF
   16754 
   16755 
   16756 
   16757 
   16758 
   16759   for ac_header in $ac_header_list
   16760 do :
   16761   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   16762 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   16763 "
   16764 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   16765   cat >>confdefs.h <<_ACEOF
   16766 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   16767 _ACEOF
   16768 
   16769 fi
   16770 
   16771 done
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 for ac_func in getpagesize
   16781 do :
   16782   ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
   16783 if test "x$ac_cv_func_getpagesize" = xyes; then :
   16784   cat >>confdefs.h <<_ACEOF
   16785 #define HAVE_GETPAGESIZE 1
   16786 _ACEOF
   16787 
   16788 fi
   16789 done
   16790 
   16791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5
   16792 $as_echo_n "checking for working mmap... " >&6; }
   16793 if ${ac_cv_func_mmap_fixed_mapped+:} false; then :
   16794   $as_echo_n "(cached) " >&6
   16795 else
   16796   if test "$cross_compiling" = yes; then :
   16797   ac_cv_func_mmap_fixed_mapped=no
   16798 else
   16799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16800 /* end confdefs.h.  */
   16801 $ac_includes_default
   16802 /* malloc might have been renamed as rpl_malloc. */
   16803 #undef malloc
   16804 
   16805 /* Thanks to Mike Haertel and Jim Avera for this test.
   16806    Here is a matrix of mmap possibilities:
   16807 	mmap private not fixed
   16808 	mmap private fixed at somewhere currently unmapped
   16809 	mmap private fixed at somewhere already mapped
   16810 	mmap shared not fixed
   16811 	mmap shared fixed at somewhere currently unmapped
   16812 	mmap shared fixed at somewhere already mapped
   16813    For private mappings, we should verify that changes cannot be read()
   16814    back from the file, nor mmap's back from the file at a different
   16815    address.  (There have been systems where private was not correctly
   16816    implemented like the infamous i386 svr4.0, and systems where the
   16817    VM page cache was not coherent with the file system buffer cache
   16818    like early versions of FreeBSD and possibly contemporary NetBSD.)
   16819    For shared mappings, we should conversely verify that changes get
   16820    propagated back to all the places they're supposed to be.
   16821 
   16822    Grep wants private fixed already mapped.
   16823    The main things grep needs to know about mmap are:
   16824    * does it exist and is it safe to write into the mmap'd area
   16825    * how to use it (BSD variants)  */
   16826 
   16827 #include <fcntl.h>
   16828 #include <sys/mman.h>
   16829 
   16830 #if !defined STDC_HEADERS && !defined HAVE_STDLIB_H
   16831 char *malloc ();
   16832 #endif
   16833 
   16834 /* This mess was copied from the GNU getpagesize.h.  */
   16835 #ifndef HAVE_GETPAGESIZE
   16836 # ifdef _SC_PAGESIZE
   16837 #  define getpagesize() sysconf(_SC_PAGESIZE)
   16838 # else /* no _SC_PAGESIZE */
   16839 #  ifdef HAVE_SYS_PARAM_H
   16840 #   include <sys/param.h>
   16841 #   ifdef EXEC_PAGESIZE
   16842 #    define getpagesize() EXEC_PAGESIZE
   16843 #   else /* no EXEC_PAGESIZE */
   16844 #    ifdef NBPG
   16845 #     define getpagesize() NBPG * CLSIZE
   16846 #     ifndef CLSIZE
   16847 #      define CLSIZE 1
   16848 #     endif /* no CLSIZE */
   16849 #    else /* no NBPG */
   16850 #     ifdef NBPC
   16851 #      define getpagesize() NBPC
   16852 #     else /* no NBPC */
   16853 #      ifdef PAGESIZE
   16854 #       define getpagesize() PAGESIZE
   16855 #      endif /* PAGESIZE */
   16856 #     endif /* no NBPC */
   16857 #    endif /* no NBPG */
   16858 #   endif /* no EXEC_PAGESIZE */
   16859 #  else /* no HAVE_SYS_PARAM_H */
   16860 #   define getpagesize() 8192	/* punt totally */
   16861 #  endif /* no HAVE_SYS_PARAM_H */
   16862 # endif /* no _SC_PAGESIZE */
   16863 
   16864 #endif /* no HAVE_GETPAGESIZE */
   16865 
   16866 int
   16867 main ()
   16868 {
   16869   char *data, *data2, *data3;
   16870   const char *cdata2;
   16871   int i, pagesize;
   16872   int fd, fd2;
   16873 
   16874   pagesize = getpagesize ();
   16875 
   16876   /* First, make a file with some known garbage in it. */
   16877   data = (char *) malloc (pagesize);
   16878   if (!data)
   16879     return 1;
   16880   for (i = 0; i < pagesize; ++i)
   16881     *(data + i) = rand ();
   16882   umask (0);
   16883   fd = creat ("conftest.mmap", 0600);
   16884   if (fd < 0)
   16885     return 2;
   16886   if (write (fd, data, pagesize) != pagesize)
   16887     return 3;
   16888   close (fd);
   16889 
   16890   /* Next, check that the tail of a page is zero-filled.  File must have
   16891      non-zero length, otherwise we risk SIGBUS for entire page.  */
   16892   fd2 = open ("conftest.txt", O_RDWR | O_CREAT | O_TRUNC, 0600);
   16893   if (fd2 < 0)
   16894     return 4;
   16895   cdata2 = "";
   16896   if (write (fd2, cdata2, 1) != 1)
   16897     return 5;
   16898   data2 = (char *) mmap (0, pagesize, PROT_READ | PROT_WRITE, MAP_SHARED, fd2, 0L);
   16899   if (data2 == MAP_FAILED)
   16900     return 6;
   16901   for (i = 0; i < pagesize; ++i)
   16902     if (*(data2 + i))
   16903       return 7;
   16904   close (fd2);
   16905   if (munmap (data2, pagesize))
   16906     return 8;
   16907 
   16908   /* Next, try to mmap the file at a fixed address which already has
   16909      something else allocated at it.  If we can, also make sure that
   16910      we see the same garbage.  */
   16911   fd = open ("conftest.mmap", O_RDWR);
   16912   if (fd < 0)
   16913     return 9;
   16914   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   16915 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   16916     return 10;
   16917   for (i = 0; i < pagesize; ++i)
   16918     if (*(data + i) != *(data2 + i))
   16919       return 11;
   16920 
   16921   /* Finally, make sure that changes to the mapped area do not
   16922      percolate back to the file as seen by read().  (This is a bug on
   16923      some variants of i386 svr4.0.)  */
   16924   for (i = 0; i < pagesize; ++i)
   16925     *(data2 + i) = *(data2 + i) + 1;
   16926   data3 = (char *) malloc (pagesize);
   16927   if (!data3)
   16928     return 12;
   16929   if (read (fd, data3, pagesize) != pagesize)
   16930     return 13;
   16931   for (i = 0; i < pagesize; ++i)
   16932     if (*(data + i) != *(data3 + i))
   16933       return 14;
   16934   close (fd);
   16935   return 0;
   16936 }
   16937 _ACEOF
   16938 if ac_fn_c_try_run "$LINENO"; then :
   16939   ac_cv_func_mmap_fixed_mapped=yes
   16940 else
   16941   ac_cv_func_mmap_fixed_mapped=no
   16942 fi
   16943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   16944   conftest.$ac_objext conftest.beam conftest.$ac_ext
   16945 fi
   16946 
   16947 fi
   16948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5
   16949 $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; }
   16950 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   16951 
   16952 $as_echo "#define HAVE_MMAP 1" >>confdefs.h
   16953 
   16954 fi
   16955 rm -f conftest.mmap conftest.txt
   16956 
   16957 
   16958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
   16959 $as_echo_n "checking for library containing dlopen... " >&6; }
   16960 if ${ac_cv_search_dlopen+:} false; then :
   16961   $as_echo_n "(cached) " >&6
   16962 else
   16963   ac_func_search_save_LIBS=$LIBS
   16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16965 /* end confdefs.h.  */
   16966 
   16967 /* Override any GCC internal prototype to avoid an error.
   16968    Use char because int might match the return type of a GCC
   16969    builtin and then its argument prototype would still apply.  */
   16970 #ifdef __cplusplus
   16971 extern "C"
   16972 #endif
   16973 char dlopen ();
   16974 int
   16975 main ()
   16976 {
   16977 return dlopen ();
   16978   ;
   16979   return 0;
   16980 }
   16981 _ACEOF
   16982 for ac_lib in '' dl; do
   16983   if test -z "$ac_lib"; then
   16984     ac_res="none required"
   16985   else
   16986     ac_res=-l$ac_lib
   16987     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   16988   fi
   16989   if ac_fn_c_try_link "$LINENO"; then :
   16990   ac_cv_search_dlopen=$ac_res
   16991 fi
   16992 rm -f core conftest.err conftest.$ac_objext \
   16993     conftest$ac_exeext
   16994   if ${ac_cv_search_dlopen+:} false; then :
   16995   break
   16996 fi
   16997 done
   16998 if ${ac_cv_search_dlopen+:} false; then :
   16999 
   17000 else
   17001   ac_cv_search_dlopen=no
   17002 fi
   17003 rm conftest.$ac_ext
   17004 LIBS=$ac_func_search_save_LIBS
   17005 fi
   17006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
   17007 $as_echo "$ac_cv_search_dlopen" >&6; }
   17008 ac_res=$ac_cv_search_dlopen
   17009 if test "$ac_res" != no; then :
   17010   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17011 
   17012 fi
   17013 
   17014 
   17015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a known getopt prototype in unistd.h" >&5
   17016 $as_echo_n "checking for a known getopt prototype in unistd.h... " >&6; }
   17017 if ${ld_cv_decl_getopt_unistd_h+:} false; then :
   17018   $as_echo_n "(cached) " >&6
   17019 else
   17020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17021 /* end confdefs.h.  */
   17022 #include <unistd.h>
   17023 int
   17024 main ()
   17025 {
   17026 extern int getopt (int, char *const*, const char *);
   17027   ;
   17028   return 0;
   17029 }
   17030 _ACEOF
   17031 if ac_fn_c_try_compile "$LINENO"; then :
   17032   ld_cv_decl_getopt_unistd_h=yes
   17033 else
   17034   ld_cv_decl_getopt_unistd_h=no
   17035 fi
   17036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17037 fi
   17038 
   17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_decl_getopt_unistd_h" >&5
   17040 $as_echo "$ld_cv_decl_getopt_unistd_h" >&6; }
   17041 if test $ld_cv_decl_getopt_unistd_h = yes; then
   17042 
   17043 $as_echo "#define HAVE_DECL_GETOPT 1" >>confdefs.h
   17044 
   17045 fi
   17046 
   17047 # Link in zlib if we can.  This allows us to read and write
   17048 # compressed CTF sections.
   17049 
   17050   # Use the system's zlib library.
   17051   zlibdir="-L\$(top_builddir)/../zlib"
   17052   zlibinc="-I\$(top_srcdir)/../zlib"
   17053 
   17054 # Check whether --with-system-zlib was given.
   17055 if test "${with_system_zlib+set}" = set; then :
   17056   withval=$with_system_zlib; if test x$with_system_zlib = xyes ; then
   17057     zlibdir=
   17058     zlibinc=
   17059   fi
   17060 
   17061 fi
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 # When converting linker scripts into strings for use in emulation
   17068 # files, use astring.sed if the compiler supports ANSI string
   17069 # concatenation, or ostring.sed otherwise.  This is to support the
   17070 # broken Microsoft MSVC compiler, which limits the length of string
   17071 # constants, while still supporting pre-ANSI compilers which do not
   17072 # support string concatenation.
   17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ANSI C string concatenation works" >&5
   17074 $as_echo_n "checking whether ANSI C string concatenation works... " >&6; }
   17075 if ${ld_cv_string_concatenation+:} false; then :
   17076   $as_echo_n "(cached) " >&6
   17077 else
   17078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17079 /* end confdefs.h.  */
   17080 
   17081 int
   17082 main ()
   17083 {
   17084 char *a = "a" "a";
   17085   ;
   17086   return 0;
   17087 }
   17088 _ACEOF
   17089 if ac_fn_c_try_compile "$LINENO"; then :
   17090   ld_cv_string_concatenation=yes
   17091 else
   17092   ld_cv_string_concatenation=no
   17093 fi
   17094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17095 fi
   17096 
   17097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_cv_string_concatenation" >&5
   17098 $as_echo "$ld_cv_string_concatenation" >&6; }
   17099 if test "$ld_cv_string_concatenation" = "yes"; then
   17100   STRINGIFY=astring.sed
   17101 else
   17102   STRINGIFY=ostring.sed
   17103 fi
   17104 
   17105 
   17106 # target-specific stuff:
   17107 
   17108 all_targets=
   17109 EMUL=
   17110 all_emuls=
   17111 all_emul_extras=
   17112 all_libpath=
   17113 TDIRS=
   17114 
   17115 elf_list_options=false
   17116 elf_shlib_list_options=false
   17117 elf_plt_unwind_list_options=false
   17118 for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
   17119 do
   17120   if test "$targ_alias" = "all"; then
   17121     all_targets=true
   17122     elf_list_options=true
   17123     elf_shlib_list_options=true
   17124     elf_plt_unwind_list_options=true
   17125   else
   17126     # Canonicalize the secondary target names.
   17127     result=`$ac_config_sub $targ_alias 2>/dev/null`
   17128     if test -n "$result"; then
   17129 	targ=$result
   17130     else
   17131 	targ=$targ_alias
   17132     fi
   17133 
   17134     . ${srcdir}/configure.tgt
   17135 
   17136     if test "$targ" = "$target"; then
   17137       EMUL=$targ_emul
   17138     fi
   17139 
   17140     if test x${enable_64_bit_bfd} = xno; then
   17141       . ${srcdir}/../bfd/config.bfd
   17142     fi
   17143 
   17144     if test x${enable_64_bit_bfd} = xyes; then
   17145       targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
   17146       targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
   17147     fi
   17148 
   17149     for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
   17150 	case " $all_emuls " in
   17151 	*" e${i}.o "*) ;;
   17152 	*)
   17153 	  all_emuls="$all_emuls e${i}.o"
   17154 	  eval result=\$tdir_$i
   17155 	  test -z "$result" && result=$targ_alias
   17156 	  TDIRS="$TDIRS
   17157 tdir_$i=$result"
   17158 	  case "${i}" in
   17159 	  *elf*)
   17160 	    elf_list_options=true
   17161 	    ;;
   17162 	  *)
   17163 	    if $GREP "TEMPLATE_NAME=elf" ${srcdir}/emulparams/${i}.sh >/dev/null 2>/dev/null; then
   17164 	      elf_list_options=true
   17165 	    fi
   17166 	    ;;
   17167 	  esac
   17168 	  if test "$elf_list_options" = "true"; then
   17169 	    source_sh()
   17170 	    {
   17171 	      . $1
   17172 	    }
   17173 	    source_sh ${srcdir}/emulparams/${i}.sh
   17174 	    if test x${GENERATE_SHLIB_SCRIPT} = xyes; then
   17175 	      elf_shlib_list_options=true
   17176 	    fi
   17177 	    if test x${PLT_UNWIND} = xyes; then
   17178 	      elf_plt_unwind_list_options=true
   17179 	    fi
   17180 	  fi
   17181 	  ;;
   17182 	esac
   17183     done
   17184 
   17185     for i in $targ_emul $targ_extra_libpath; do
   17186 	case " $all_libpath " in
   17187 	*" ${i} "*) ;;
   17188 	*)
   17189 	  if test -z "$all_libpath"; then
   17190 	    all_libpath=${i}
   17191 	  else
   17192 	    all_libpath="$all_libpath ${i}"
   17193 	  fi
   17194 	  ;;
   17195 	esac
   17196     done
   17197 
   17198     for i in $targ_extra_ofiles; do
   17199 	case " $all_emul_extras " in
   17200 	*" ${i} "*) ;;
   17201 	*)
   17202 	  all_emul_extras="$all_emul_extras ${i}"
   17203 	  ;;
   17204 	esac
   17205     done
   17206 
   17207   fi
   17208 done
   17209 
   17210 if test x$ac_default_compressed_debug_sections = xyes ; then
   17211 
   17212 $as_echo "#define DEFAULT_FLAG_COMPRESS_DEBUG 1" >>confdefs.h
   17213 
   17214 fi
   17215 
   17216 if test "${ac_default_new_dtags}" = unset; then
   17217   ac_default_new_dtags=0
   17218 fi
   17219 
   17220 cat >>confdefs.h <<_ACEOF
   17221 #define DEFAULT_NEW_DTAGS $ac_default_new_dtags
   17222 _ACEOF
   17223 
   17224 
   17225 if test "${ac_default_ld_z_relro}" = unset; then
   17226   ac_default_ld_z_relro=0
   17227 fi
   17228 
   17229 cat >>confdefs.h <<_ACEOF
   17230 #define DEFAULT_LD_Z_RELRO $ac_default_ld_z_relro
   17231 _ACEOF
   17232 
   17233 
   17234 ac_default_ld_textrel_check_warning=0
   17235 case "${ac_default_ld_textrel_check}" in
   17236   unset|no)
   17237     ac_default_ld_textrel_check=textrel_check_none
   17238     ;;
   17239   yes|warning)
   17240     ac_default_ld_textrel_check=textrel_check_warning
   17241     ac_default_ld_textrel_check_warning=1
   17242     ;;
   17243   error)
   17244     ac_default_ld_textrel_check=textrel_check_error
   17245     ;;
   17246 esac
   17247 
   17248 cat >>confdefs.h <<_ACEOF
   17249 #define DEFAULT_LD_TEXTREL_CHECK $ac_default_ld_textrel_check
   17250 _ACEOF
   17251 
   17252 
   17253 cat >>confdefs.h <<_ACEOF
   17254 #define DEFAULT_LD_TEXTREL_CHECK_WARNING $ac_default_ld_textrel_check_warning
   17255 _ACEOF
   17256 
   17257 
   17258 if test "${ac_default_ld_z_separate_code}" = unset; then
   17259   ac_default_ld_z_separate_code=0
   17260 fi
   17261 
   17262 cat >>confdefs.h <<_ACEOF
   17263 #define DEFAULT_LD_Z_SEPARATE_CODE $ac_default_ld_z_separate_code
   17264 _ACEOF
   17265 
   17266 
   17267 
   17268 
   17269 cat >>confdefs.h <<_ACEOF
   17270 #define DEFAULT_LD_WARN_EXECSTACK $ac_default_ld_warn_execstack
   17271 _ACEOF
   17272 
   17273 
   17274 if test "${ac_default_ld_warn_rwx_segments}" = unset; then
   17275   ac_default_ld_warn_rwx_segments=1
   17276 fi
   17277 
   17278 cat >>confdefs.h <<_ACEOF
   17279 #define DEFAULT_LD_WARN_RWX_SEGMENTS $ac_default_ld_warn_rwx_segments
   17280 _ACEOF
   17281 
   17282 
   17283 if test "${ac_default_ld_default_execstack}" = unset; then
   17284   ac_default_ld_default_execstack=1
   17285 fi
   17286 
   17287 cat >>confdefs.h <<_ACEOF
   17288 #define DEFAULT_LD_EXECSTACK $ac_default_ld_default_execstack
   17289 _ACEOF
   17290 
   17291 
   17292 
   17293 if test "${ac_support_error_handling_script}" = unset; then
   17294   ac_support_error_handling_script=1
   17295 fi
   17296 
   17297 cat >>confdefs.h <<_ACEOF
   17298 #define SUPPORT_ERROR_HANDLING_SCRIPT $ac_support_error_handling_script
   17299 _ACEOF
   17300 
   17301 
   17302 
   17303 cat >>confdefs.h <<_ACEOF
   17304 #define DEFAULT_EMIT_SYSV_HASH $ac_default_emit_sysv_hash
   17305 _ACEOF
   17306 
   17307 
   17308 
   17309 cat >>confdefs.h <<_ACEOF
   17310 #define DEFAULT_EMIT_GNU_HASH $ac_default_emit_gnu_hash
   17311 _ACEOF
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 if test x${all_targets} = xtrue; then
   17323   if test x${enable_64_bit_bfd} = xyes; then
   17324     EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
   17325     EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES) $(ALL_64_EMUL_EXTRA_OFILES)'
   17326   else
   17327     EMULATION_OFILES='$(ALL_EMULATIONS)'
   17328     EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
   17329   fi
   17330 else
   17331   EMULATION_OFILES=$all_emuls
   17332   EMUL_EXTRA_OFILES=$all_emul_extras
   17333 fi
   17334 
   17335 
   17336 
   17337 
   17338 EMULATION_LIBPATH=$all_libpath
   17339 
   17340 
   17341 if test x${enable_static} = xno; then
   17342   TESTBFDLIB="-Wl,--rpath,../bfd/.libs ../bfd/.libs/libbfd.so"
   17343   TESTCTFLIB="-Wl,--rpath,../libctf/.libs ../libctf/.libs/libctf.so"
   17344 else
   17345   TESTBFDLIB="../bfd/.libs/libbfd.a"
   17346   TESTCTFLIB="../libctf/.libs/libctf.a"
   17347 fi
   17348 if test "${enable_libctf}" = no; then
   17349     TESTCTFLIB=
   17350 fi
   17351 
   17352 
   17353 
   17354 target_vendor=${target_vendor=$host_vendor}
   17355 case "$target_vendor" in
   17356   hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
   17357   *)  EXTRA_SHLIB_EXTENSION= ;;
   17358 esac
   17359 
   17360 case "$target_os" in
   17361   lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
   17362 esac
   17363 
   17364 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
   17365 
   17366 cat >>confdefs.h <<_ACEOF
   17367 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
   17368 _ACEOF
   17369 
   17370 fi
   17371 
   17372 ac_config_commands="$ac_config_commands default"
   17373 
   17374 
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
   17381 
   17382 cat >confcache <<\_ACEOF
   17383 # This file is a shell script that caches the results of configure
   17384 # tests run on this system so they can be shared between configure
   17385 # scripts and configure runs, see configure's option --config-cache.
   17386 # It is not useful on other systems.  If it contains results you don't
   17387 # want to keep, you may remove or edit it.
   17388 #
   17389 # config.status only pays attention to the cache file if you give it
   17390 # the --recheck option to rerun configure.
   17391 #
   17392 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17393 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17394 # following values.
   17395 
   17396 _ACEOF
   17397 
   17398 # The following way of writing the cache mishandles newlines in values,
   17399 # but we know of no workaround that is simple, portable, and efficient.
   17400 # So, we kill variables containing newlines.
   17401 # Ultrix sh set writes to stderr and can't be redirected directly,
   17402 # and sets the high bit in the cache file unless we assign to the vars.
   17403 (
   17404   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17405     eval ac_val=\$$ac_var
   17406     case $ac_val in #(
   17407     *${as_nl}*)
   17408       case $ac_var in #(
   17409       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17410 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17411       esac
   17412       case $ac_var in #(
   17413       _ | IFS | as_nl) ;; #(
   17414       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17415       *) { eval $ac_var=; unset $ac_var;} ;;
   17416       esac ;;
   17417     esac
   17418   done
   17419 
   17420   (set) 2>&1 |
   17421     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17422     *${as_nl}ac_space=\ *)
   17423       # `set' does not quote correctly, so add quotes: double-quote
   17424       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17425       sed -n \
   17426 	"s/'/'\\\\''/g;
   17427 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17428       ;; #(
   17429     *)
   17430       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17431       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17432       ;;
   17433     esac |
   17434     sort
   17435 ) |
   17436   sed '
   17437      /^ac_cv_env_/b end
   17438      t clear
   17439      :clear
   17440      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17441      t end
   17442      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17443      :end' >>confcache
   17444 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17445   if test -w "$cache_file"; then
   17446     if test "x$cache_file" != "x/dev/null"; then
   17447       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17448 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17449       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17450 	cat confcache >"$cache_file"
   17451       else
   17452         case $cache_file in #(
   17453         */* | ?:*)
   17454 	  mv -f confcache "$cache_file"$$ &&
   17455 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17456         *)
   17457 	  mv -f confcache "$cache_file" ;;
   17458 	esac
   17459       fi
   17460     fi
   17461   else
   17462     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17463 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17464   fi
   17465 fi
   17466 rm -f confcache
   17467 
   17468 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17469 # Let make expand exec_prefix.
   17470 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17471 
   17472 DEFS=-DHAVE_CONFIG_H
   17473 
   17474 ac_libobjs=
   17475 ac_ltlibobjs=
   17476 U=
   17477 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17478   # 1. Remove the extension, and $U if already installed.
   17479   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17480   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17481   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17482   #    will be set to the directory where LIBOBJS objects are built.
   17483   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17484   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17485 done
   17486 LIBOBJS=$ac_libobjs
   17487 
   17488 LTLIBOBJS=$ac_ltlibobjs
   17489 
   17490 
   17491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17492 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17493    if test -n "$am_sleep_pid"; then
   17494      # Hide warnings about reused PIDs.
   17495      wait $am_sleep_pid 2>/dev/null
   17496    fi
   17497    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17498 $as_echo "done" >&6; }
   17499  if test -n "$EXEEXT"; then
   17500   am__EXEEXT_TRUE=
   17501   am__EXEEXT_FALSE='#'
   17502 else
   17503   am__EXEEXT_TRUE='#'
   17504   am__EXEEXT_FALSE=
   17505 fi
   17506 
   17507 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17508   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17509 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17510 fi
   17511 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17512   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17513 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17514 fi
   17515 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17516   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17517 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17518 fi
   17519 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   17520   as_fn_error $? "conditional \"am__fastdepCXX\" was never defined.
   17521 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17522 fi
   17523 if test -z "${ENABLE_BFD_64_BIT_TRUE}" && test -z "${ENABLE_BFD_64_BIT_FALSE}"; then
   17524   as_fn_error $? "conditional \"ENABLE_BFD_64_BIT\" was never defined.
   17525 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17526 fi
   17527 if test -z "${ENABLE_LIBCTF_TRUE}" && test -z "${ENABLE_LIBCTF_FALSE}"; then
   17528   as_fn_error $? "conditional \"ENABLE_LIBCTF\" was never defined.
   17529 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17530 fi
   17531 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   17532   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   17533 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17534 fi
   17535 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   17536   as_fn_error $? "conditional \"GENINSRC_NEVER\" was never defined.
   17537 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17538 fi
   17539 
   17540 : "${CONFIG_STATUS=./config.status}"
   17541 ac_write_fail=0
   17542 ac_clean_files_save=$ac_clean_files
   17543 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17544 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17545 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17546 as_write_fail=0
   17547 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17548 #! $SHELL
   17549 # Generated by $as_me.
   17550 # Run this file to recreate the current configuration.
   17551 # Compiler output produced by configure, useful for debugging
   17552 # configure, is in config.log if it exists.
   17553 
   17554 debug=false
   17555 ac_cs_recheck=false
   17556 ac_cs_silent=false
   17557 
   17558 SHELL=\${CONFIG_SHELL-$SHELL}
   17559 export SHELL
   17560 _ASEOF
   17561 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17562 ## -------------------- ##
   17563 ## M4sh Initialization. ##
   17564 ## -------------------- ##
   17565 
   17566 # Be more Bourne compatible
   17567 DUALCASE=1; export DUALCASE # for MKS sh
   17568 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17569   emulate sh
   17570   NULLCMD=:
   17571   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17572   # is contrary to our usage.  Disable this feature.
   17573   alias -g '${1+"$@"}'='"$@"'
   17574   setopt NO_GLOB_SUBST
   17575 else
   17576   case `(set -o) 2>/dev/null` in #(
   17577   *posix*) :
   17578     set -o posix ;; #(
   17579   *) :
   17580      ;;
   17581 esac
   17582 fi
   17583 
   17584 
   17585 as_nl='
   17586 '
   17587 export as_nl
   17588 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17589 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17590 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17591 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17592 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17593 # but without wasting forks for bash or zsh.
   17594 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17595     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17596   as_echo='print -r --'
   17597   as_echo_n='print -rn --'
   17598 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17599   as_echo='printf %s\n'
   17600   as_echo_n='printf %s'
   17601 else
   17602   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17603     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17604     as_echo_n='/usr/ucb/echo -n'
   17605   else
   17606     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17607     as_echo_n_body='eval
   17608       arg=$1;
   17609       case $arg in #(
   17610       *"$as_nl"*)
   17611 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17612 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17613       esac;
   17614       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17615     '
   17616     export as_echo_n_body
   17617     as_echo_n='sh -c $as_echo_n_body as_echo'
   17618   fi
   17619   export as_echo_body
   17620   as_echo='sh -c $as_echo_body as_echo'
   17621 fi
   17622 
   17623 # The user is always right.
   17624 if test "${PATH_SEPARATOR+set}" != set; then
   17625   PATH_SEPARATOR=:
   17626   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17627     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17628       PATH_SEPARATOR=';'
   17629   }
   17630 fi
   17631 
   17632 
   17633 # IFS
   17634 # We need space, tab and new line, in precisely that order.  Quoting is
   17635 # there to prevent editors from complaining about space-tab.
   17636 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17637 # splitting by setting IFS to empty value.)
   17638 IFS=" ""	$as_nl"
   17639 
   17640 # Find who we are.  Look in the path if we contain no directory separator.
   17641 as_myself=
   17642 case $0 in #((
   17643   *[\\/]* ) as_myself=$0 ;;
   17644   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17645 for as_dir in $PATH
   17646 do
   17647   IFS=$as_save_IFS
   17648   test -z "$as_dir" && as_dir=.
   17649     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   17650   done
   17651 IFS=$as_save_IFS
   17652 
   17653      ;;
   17654 esac
   17655 # We did not find ourselves, most probably we were run as `sh COMMAND'
   17656 # in which case we are not to be found in the path.
   17657 if test "x$as_myself" = x; then
   17658   as_myself=$0
   17659 fi
   17660 if test ! -f "$as_myself"; then
   17661   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   17662   exit 1
   17663 fi
   17664 
   17665 # Unset variables that we do not need and which cause bugs (e.g. in
   17666 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   17667 # suppresses any "Segmentation fault" message there.  '((' could
   17668 # trigger a bug in pdksh 5.2.14.
   17669 for as_var in BASH_ENV ENV MAIL MAILPATH
   17670 do eval test x\${$as_var+set} = xset \
   17671   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   17672 done
   17673 PS1='$ '
   17674 PS2='> '
   17675 PS4='+ '
   17676 
   17677 # NLS nuisances.
   17678 LC_ALL=C
   17679 export LC_ALL
   17680 LANGUAGE=C
   17681 export LANGUAGE
   17682 
   17683 # CDPATH.
   17684 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   17685 
   17686 
   17687 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   17688 # ----------------------------------------
   17689 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   17690 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   17691 # script with STATUS, using 1 if that was 0.
   17692 as_fn_error ()
   17693 {
   17694   as_status=$1; test $as_status -eq 0 && as_status=1
   17695   if test "$4"; then
   17696     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   17697     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   17698   fi
   17699   $as_echo "$as_me: error: $2" >&2
   17700   as_fn_exit $as_status
   17701 } # as_fn_error
   17702 
   17703 
   17704 # as_fn_set_status STATUS
   17705 # -----------------------
   17706 # Set $? to STATUS, without forking.
   17707 as_fn_set_status ()
   17708 {
   17709   return $1
   17710 } # as_fn_set_status
   17711 
   17712 # as_fn_exit STATUS
   17713 # -----------------
   17714 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   17715 as_fn_exit ()
   17716 {
   17717   set +e
   17718   as_fn_set_status $1
   17719   exit $1
   17720 } # as_fn_exit
   17721 
   17722 # as_fn_unset VAR
   17723 # ---------------
   17724 # Portably unset VAR.
   17725 as_fn_unset ()
   17726 {
   17727   { eval $1=; unset $1;}
   17728 }
   17729 as_unset=as_fn_unset
   17730 # as_fn_append VAR VALUE
   17731 # ----------------------
   17732 # Append the text in VALUE to the end of the definition contained in VAR. Take
   17733 # advantage of any shell optimizations that allow amortized linear growth over
   17734 # repeated appends, instead of the typical quadratic growth present in naive
   17735 # implementations.
   17736 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   17737   eval 'as_fn_append ()
   17738   {
   17739     eval $1+=\$2
   17740   }'
   17741 else
   17742   as_fn_append ()
   17743   {
   17744     eval $1=\$$1\$2
   17745   }
   17746 fi # as_fn_append
   17747 
   17748 # as_fn_arith ARG...
   17749 # ------------------
   17750 # Perform arithmetic evaluation on the ARGs, and store the result in the
   17751 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   17752 # must be portable across $(()) and expr.
   17753 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   17754   eval 'as_fn_arith ()
   17755   {
   17756     as_val=$(( $* ))
   17757   }'
   17758 else
   17759   as_fn_arith ()
   17760   {
   17761     as_val=`expr "$@" || test $? -eq 1`
   17762   }
   17763 fi # as_fn_arith
   17764 
   17765 
   17766 if expr a : '\(a\)' >/dev/null 2>&1 &&
   17767    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   17768   as_expr=expr
   17769 else
   17770   as_expr=false
   17771 fi
   17772 
   17773 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   17774   as_basename=basename
   17775 else
   17776   as_basename=false
   17777 fi
   17778 
   17779 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   17780   as_dirname=dirname
   17781 else
   17782   as_dirname=false
   17783 fi
   17784 
   17785 as_me=`$as_basename -- "$0" ||
   17786 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   17787 	 X"$0" : 'X\(//\)$' \| \
   17788 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   17789 $as_echo X/"$0" |
   17790     sed '/^.*\/\([^/][^/]*\)\/*$/{
   17791 	    s//\1/
   17792 	    q
   17793 	  }
   17794 	  /^X\/\(\/\/\)$/{
   17795 	    s//\1/
   17796 	    q
   17797 	  }
   17798 	  /^X\/\(\/\).*/{
   17799 	    s//\1/
   17800 	    q
   17801 	  }
   17802 	  s/.*/./; q'`
   17803 
   17804 # Avoid depending upon Character Ranges.
   17805 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   17806 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   17807 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   17808 as_cr_digits='0123456789'
   17809 as_cr_alnum=$as_cr_Letters$as_cr_digits
   17810 
   17811 ECHO_C= ECHO_N= ECHO_T=
   17812 case `echo -n x` in #(((((
   17813 -n*)
   17814   case `echo 'xy\c'` in
   17815   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   17816   xy)  ECHO_C='\c';;
   17817   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   17818        ECHO_T='	';;
   17819   esac;;
   17820 *)
   17821   ECHO_N='-n';;
   17822 esac
   17823 
   17824 rm -f conf$$ conf$$.exe conf$$.file
   17825 if test -d conf$$.dir; then
   17826   rm -f conf$$.dir/conf$$.file
   17827 else
   17828   rm -f conf$$.dir
   17829   mkdir conf$$.dir 2>/dev/null
   17830 fi
   17831 if (echo >conf$$.file) 2>/dev/null; then
   17832   if ln -s conf$$.file conf$$ 2>/dev/null; then
   17833     as_ln_s='ln -s'
   17834     # ... but there are two gotchas:
   17835     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   17836     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   17837     # In both cases, we have to default to `cp -pR'.
   17838     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   17839       as_ln_s='cp -pR'
   17840   elif ln conf$$.file conf$$ 2>/dev/null; then
   17841     as_ln_s=ln
   17842   else
   17843     as_ln_s='cp -pR'
   17844   fi
   17845 else
   17846   as_ln_s='cp -pR'
   17847 fi
   17848 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   17849 rmdir conf$$.dir 2>/dev/null
   17850 
   17851 
   17852 # as_fn_mkdir_p
   17853 # -------------
   17854 # Create "$as_dir" as a directory, including parents if necessary.
   17855 as_fn_mkdir_p ()
   17856 {
   17857 
   17858   case $as_dir in #(
   17859   -*) as_dir=./$as_dir;;
   17860   esac
   17861   test -d "$as_dir" || eval $as_mkdir_p || {
   17862     as_dirs=
   17863     while :; do
   17864       case $as_dir in #(
   17865       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   17866       *) as_qdir=$as_dir;;
   17867       esac
   17868       as_dirs="'$as_qdir' $as_dirs"
   17869       as_dir=`$as_dirname -- "$as_dir" ||
   17870 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17871 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17872 	 X"$as_dir" : 'X\(//\)$' \| \
   17873 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   17874 $as_echo X"$as_dir" |
   17875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   17876 	    s//\1/
   17877 	    q
   17878 	  }
   17879 	  /^X\(\/\/\)[^/].*/{
   17880 	    s//\1/
   17881 	    q
   17882 	  }
   17883 	  /^X\(\/\/\)$/{
   17884 	    s//\1/
   17885 	    q
   17886 	  }
   17887 	  /^X\(\/\).*/{
   17888 	    s//\1/
   17889 	    q
   17890 	  }
   17891 	  s/.*/./; q'`
   17892       test -d "$as_dir" && break
   17893     done
   17894     test -z "$as_dirs" || eval "mkdir $as_dirs"
   17895   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   17896 
   17897 
   17898 } # as_fn_mkdir_p
   17899 if mkdir -p . 2>/dev/null; then
   17900   as_mkdir_p='mkdir -p "$as_dir"'
   17901 else
   17902   test -d ./-p && rmdir ./-p
   17903   as_mkdir_p=false
   17904 fi
   17905 
   17906 
   17907 # as_fn_executable_p FILE
   17908 # -----------------------
   17909 # Test if FILE is an executable regular file.
   17910 as_fn_executable_p ()
   17911 {
   17912   test -f "$1" && test -x "$1"
   17913 } # as_fn_executable_p
   17914 as_test_x='test -x'
   17915 as_executable_p=as_fn_executable_p
   17916 
   17917 # Sed expression to map a string onto a valid CPP name.
   17918 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   17919 
   17920 # Sed expression to map a string onto a valid variable name.
   17921 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   17922 
   17923 
   17924 exec 6>&1
   17925 ## ----------------------------------- ##
   17926 ## Main body of $CONFIG_STATUS script. ##
   17927 ## ----------------------------------- ##
   17928 _ASEOF
   17929 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   17930 
   17931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17932 # Save the log message, to keep $0 and so on meaningful, and to
   17933 # report actual input values of CONFIG_FILES etc. instead of their
   17934 # values after options handling.
   17935 ac_log="
   17936 This file was extended by ld $as_me 2.39, which was
   17937 generated by GNU Autoconf 2.69.  Invocation command line was
   17938 
   17939   CONFIG_FILES    = $CONFIG_FILES
   17940   CONFIG_HEADERS  = $CONFIG_HEADERS
   17941   CONFIG_LINKS    = $CONFIG_LINKS
   17942   CONFIG_COMMANDS = $CONFIG_COMMANDS
   17943   $ $0 $@
   17944 
   17945 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   17946 "
   17947 
   17948 _ACEOF
   17949 
   17950 case $ac_config_files in *"
   17951 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   17952 esac
   17953 
   17954 case $ac_config_headers in *"
   17955 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   17956 esac
   17957 
   17958 
   17959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   17960 # Files that config.status was made for.
   17961 config_files="$ac_config_files"
   17962 config_headers="$ac_config_headers"
   17963 config_commands="$ac_config_commands"
   17964 
   17965 _ACEOF
   17966 
   17967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   17968 ac_cs_usage="\
   17969 \`$as_me' instantiates files and other configuration actions
   17970 from templates according to the current configuration.  Unless the files
   17971 and actions are specified as TAGs, all are instantiated by default.
   17972 
   17973 Usage: $0 [OPTION]... [TAG]...
   17974 
   17975   -h, --help       print this help, then exit
   17976   -V, --version    print version number and configuration settings, then exit
   17977       --config     print configuration, then exit
   17978   -q, --quiet, --silent
   17979                    do not print progress messages
   17980   -d, --debug      don't remove temporary files
   17981       --recheck    update $as_me by reconfiguring in the same conditions
   17982       --file=FILE[:TEMPLATE]
   17983                    instantiate the configuration file FILE
   17984       --header=FILE[:TEMPLATE]
   17985                    instantiate the configuration header FILE
   17986 
   17987 Configuration files:
   17988 $config_files
   17989 
   17990 Configuration headers:
   17991 $config_headers
   17992 
   17993 Configuration commands:
   17994 $config_commands
   17995 
   17996 Report bugs to the package provider."
   17997 
   17998 _ACEOF
   17999 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18000 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18001 ac_cs_version="\\
   18002 ld config.status 2.39
   18003 configured by $0, generated by GNU Autoconf 2.69,
   18004   with options \\"\$ac_cs_config\\"
   18005 
   18006 Copyright (C) 2012 Free Software Foundation, Inc.
   18007 This config.status script is free software; the Free Software Foundation
   18008 gives unlimited permission to copy, distribute and modify it."
   18009 
   18010 ac_pwd='$ac_pwd'
   18011 srcdir='$srcdir'
   18012 INSTALL='$INSTALL'
   18013 MKDIR_P='$MKDIR_P'
   18014 AWK='$AWK'
   18015 test -n "\$AWK" || AWK=awk
   18016 _ACEOF
   18017 
   18018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18019 # The default lists apply if the user does not specify any file.
   18020 ac_need_defaults=:
   18021 while test $# != 0
   18022 do
   18023   case $1 in
   18024   --*=?*)
   18025     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18026     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18027     ac_shift=:
   18028     ;;
   18029   --*=)
   18030     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18031     ac_optarg=
   18032     ac_shift=:
   18033     ;;
   18034   *)
   18035     ac_option=$1
   18036     ac_optarg=$2
   18037     ac_shift=shift
   18038     ;;
   18039   esac
   18040 
   18041   case $ac_option in
   18042   # Handling of the options.
   18043   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18044     ac_cs_recheck=: ;;
   18045   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18046     $as_echo "$ac_cs_version"; exit ;;
   18047   --config | --confi | --conf | --con | --co | --c )
   18048     $as_echo "$ac_cs_config"; exit ;;
   18049   --debug | --debu | --deb | --de | --d | -d )
   18050     debug=: ;;
   18051   --file | --fil | --fi | --f )
   18052     $ac_shift
   18053     case $ac_optarg in
   18054     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18055     '') as_fn_error $? "missing file argument" ;;
   18056     esac
   18057     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18058     ac_need_defaults=false;;
   18059   --header | --heade | --head | --hea )
   18060     $ac_shift
   18061     case $ac_optarg in
   18062     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18063     esac
   18064     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18065     ac_need_defaults=false;;
   18066   --he | --h)
   18067     # Conflict between --help and --header
   18068     as_fn_error $? "ambiguous option: \`$1'
   18069 Try \`$0 --help' for more information.";;
   18070   --help | --hel | -h )
   18071     $as_echo "$ac_cs_usage"; exit ;;
   18072   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18073   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18074     ac_cs_silent=: ;;
   18075 
   18076   # This is an error.
   18077   -*) as_fn_error $? "unrecognized option: \`$1'
   18078 Try \`$0 --help' for more information." ;;
   18079 
   18080   *) as_fn_append ac_config_targets " $1"
   18081      ac_need_defaults=false ;;
   18082 
   18083   esac
   18084   shift
   18085 done
   18086 
   18087 ac_configure_extra_args=
   18088 
   18089 if $ac_cs_silent; then
   18090   exec 6>/dev/null
   18091   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18092 fi
   18093 
   18094 _ACEOF
   18095 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18096 if \$ac_cs_recheck; then
   18097   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18098   shift
   18099   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18100   CONFIG_SHELL='$SHELL'
   18101   export CONFIG_SHELL
   18102   exec "\$@"
   18103 fi
   18104 
   18105 _ACEOF
   18106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18107 exec 5>>config.log
   18108 {
   18109   echo
   18110   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18111 ## Running $as_me. ##
   18112 _ASBOX
   18113   $as_echo "$ac_log"
   18114 } >&5
   18115 
   18116 _ACEOF
   18117 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18118 #
   18119 # INIT-COMMANDS
   18120 #
   18121 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18122 
   18123 
   18124 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18125 # if CDPATH is set.
   18126 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18127 
   18128 sed_quote_subst='$sed_quote_subst'
   18129 double_quote_subst='$double_quote_subst'
   18130 delay_variable_subst='$delay_variable_subst'
   18131 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18132 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18133 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18134 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18135 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18136 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18137 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18138 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18139 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18140 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18141 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18142 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18143 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18144 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18145 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18146 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18147 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18148 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18149 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18150 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18151 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18152 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18153 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18154 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18155 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18156 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18157 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18158 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18159 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18160 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18161 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18162 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18163 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18164 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18165 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18166 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18167 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18168 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18169 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18170 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18171 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18172 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18173 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18174 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18175 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18176 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18177 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18178 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18179 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"`'
   18180 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18181 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18182 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18183 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18184 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18185 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18186 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18187 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18188 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18189 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18190 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18191 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18192 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18193 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18194 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18195 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18196 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18197 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18198 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18199 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18200 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18201 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18202 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18203 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18204 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18205 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18206 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18207 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18208 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18209 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18210 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18211 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   18212 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18213 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18214 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18215 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18216 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18217 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18218 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18219 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18220 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
   18221 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18222 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18223 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18224 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18225 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18226 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18227 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18228 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18229 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18230 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18231 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18232 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18233 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18234 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18235 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18236 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18237 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18238 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18239 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18240 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18241 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18242 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18243 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18244 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18245 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18246 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18247 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18248 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18249 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18250 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18251 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
   18252 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
   18253 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
   18254 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
   18255 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
   18256 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
   18257 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
   18258 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18259 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18260 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18261 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
   18262 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
   18263 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18264 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
   18265 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
   18266 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
   18267 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
   18268 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
   18269 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
   18270 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18271 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18272 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
   18273 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18274 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18275 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18276 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18277 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18278 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18279 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18280 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18281 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
   18282 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18283 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
   18284 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
   18285 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
   18286 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
   18287 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
   18288 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
   18289 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
   18290 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
   18291 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
   18292 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
   18293 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
   18294 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18295 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18296 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
   18297 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
   18298 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
   18299 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
   18300 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
   18301 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18302 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
   18303 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
   18304 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
   18305 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
   18306 
   18307 LTCC='$LTCC'
   18308 LTCFLAGS='$LTCFLAGS'
   18309 compiler='$compiler_DEFAULT'
   18310 
   18311 # A function that is used when there is no print builtin or printf.
   18312 func_fallback_echo ()
   18313 {
   18314   eval 'cat <<_LTECHO_EOF
   18315 \$1
   18316 _LTECHO_EOF'
   18317 }
   18318 
   18319 # Quote evaled strings.
   18320 for var in SHELL \
   18321 ECHO \
   18322 SED \
   18323 GREP \
   18324 EGREP \
   18325 FGREP \
   18326 LD \
   18327 NM \
   18328 LN_S \
   18329 lt_SP2NL \
   18330 lt_NL2SP \
   18331 reload_flag \
   18332 OBJDUMP \
   18333 deplibs_check_method \
   18334 file_magic_cmd \
   18335 AR \
   18336 AR_FLAGS \
   18337 STRIP \
   18338 RANLIB \
   18339 CC \
   18340 CFLAGS \
   18341 compiler \
   18342 lt_cv_sys_global_symbol_pipe \
   18343 lt_cv_sys_global_symbol_to_cdecl \
   18344 lt_cv_sys_global_symbol_to_c_name_address \
   18345 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18346 lt_prog_compiler_no_builtin_flag \
   18347 lt_prog_compiler_wl \
   18348 lt_prog_compiler_pic \
   18349 lt_prog_compiler_static \
   18350 lt_cv_prog_compiler_c_o \
   18351 need_locks \
   18352 DSYMUTIL \
   18353 NMEDIT \
   18354 LIPO \
   18355 OTOOL \
   18356 OTOOL64 \
   18357 shrext_cmds \
   18358 export_dynamic_flag_spec \
   18359 whole_archive_flag_spec \
   18360 compiler_needs_object \
   18361 with_gnu_ld \
   18362 allow_undefined_flag \
   18363 no_undefined_flag \
   18364 hardcode_libdir_flag_spec \
   18365 hardcode_libdir_flag_spec_ld \
   18366 hardcode_libdir_separator \
   18367 fix_srcfile_path \
   18368 exclude_expsyms \
   18369 include_expsyms \
   18370 file_list_spec \
   18371 variables_saved_for_relink \
   18372 libname_spec \
   18373 library_names_spec \
   18374 soname_spec \
   18375 install_override_mode \
   18376 finish_eval \
   18377 old_striplib \
   18378 striplib \
   18379 compiler_lib_search_dirs \
   18380 predep_objects \
   18381 postdep_objects \
   18382 predeps \
   18383 postdeps \
   18384 compiler_lib_search_path \
   18385 LD_CXX \
   18386 reload_flag_CXX \
   18387 compiler_CXX \
   18388 lt_prog_compiler_no_builtin_flag_CXX \
   18389 lt_prog_compiler_wl_CXX \
   18390 lt_prog_compiler_pic_CXX \
   18391 lt_prog_compiler_static_CXX \
   18392 lt_cv_prog_compiler_c_o_CXX \
   18393 export_dynamic_flag_spec_CXX \
   18394 whole_archive_flag_spec_CXX \
   18395 compiler_needs_object_CXX \
   18396 with_gnu_ld_CXX \
   18397 allow_undefined_flag_CXX \
   18398 no_undefined_flag_CXX \
   18399 hardcode_libdir_flag_spec_CXX \
   18400 hardcode_libdir_flag_spec_ld_CXX \
   18401 hardcode_libdir_separator_CXX \
   18402 fix_srcfile_path_CXX \
   18403 exclude_expsyms_CXX \
   18404 include_expsyms_CXX \
   18405 file_list_spec_CXX \
   18406 compiler_lib_search_dirs_CXX \
   18407 predep_objects_CXX \
   18408 postdep_objects_CXX \
   18409 predeps_CXX \
   18410 postdeps_CXX \
   18411 compiler_lib_search_path_CXX; do
   18412     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18413     *[\\\\\\\`\\"\\\$]*)
   18414       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18415       ;;
   18416     *)
   18417       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18418       ;;
   18419     esac
   18420 done
   18421 
   18422 # Double-quote double-evaled strings.
   18423 for var in reload_cmds \
   18424 old_postinstall_cmds \
   18425 old_postuninstall_cmds \
   18426 old_archive_cmds \
   18427 extract_expsyms_cmds \
   18428 old_archive_from_new_cmds \
   18429 old_archive_from_expsyms_cmds \
   18430 archive_cmds \
   18431 archive_expsym_cmds \
   18432 module_cmds \
   18433 module_expsym_cmds \
   18434 export_symbols_cmds \
   18435 prelink_cmds \
   18436 postinstall_cmds \
   18437 postuninstall_cmds \
   18438 finish_cmds \
   18439 sys_lib_search_path_spec \
   18440 sys_lib_dlsearch_path_spec \
   18441 reload_cmds_CXX \
   18442 old_archive_cmds_CXX \
   18443 old_archive_from_new_cmds_CXX \
   18444 old_archive_from_expsyms_cmds_CXX \
   18445 archive_cmds_CXX \
   18446 archive_expsym_cmds_CXX \
   18447 module_cmds_CXX \
   18448 module_expsym_cmds_CXX \
   18449 export_symbols_cmds_CXX \
   18450 prelink_cmds_CXX; do
   18451     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18452     *[\\\\\\\`\\"\\\$]*)
   18453       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18454       ;;
   18455     *)
   18456       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18457       ;;
   18458     esac
   18459 done
   18460 
   18461 ac_aux_dir='$ac_aux_dir'
   18462 xsi_shell='$xsi_shell'
   18463 lt_shell_append='$lt_shell_append'
   18464 
   18465 # See if we are running on zsh, and set the options which allow our
   18466 # commands through without removal of \ escapes INIT.
   18467 if test -n "\${ZSH_VERSION+set}" ; then
   18468    setopt NO_GLOB_SUBST
   18469 fi
   18470 
   18471 
   18472     PACKAGE='$PACKAGE'
   18473     VERSION='$VERSION'
   18474     TIMESTAMP='$TIMESTAMP'
   18475     RM='$RM'
   18476     ofile='$ofile'
   18477 
   18478 
   18479 
   18480 
   18481 
   18482 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   18483     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   18484     # from automake.
   18485     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   18486     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   18487     LINGUAS="${LINGUAS-%UNSET%}"
   18488 
   18489 
   18490 
   18491 _ACEOF
   18492 
   18493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18494 
   18495 # Handling of arguments.
   18496 for ac_config_target in $ac_config_targets
   18497 do
   18498   case $ac_config_target in
   18499     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18500     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18501     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   18502     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   18503     "default") CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
   18504     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18505     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   18506 
   18507   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18508   esac
   18509 done
   18510 
   18511 
   18512 # If the user did not use the arguments to specify the items to instantiate,
   18513 # then the envvar interface is used.  Set only those that are not.
   18514 # We use the long form for the default assignment because of an extremely
   18515 # bizarre bug on SunOS 4.1.3.
   18516 if $ac_need_defaults; then
   18517   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18518   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18519   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18520 fi
   18521 
   18522 # Have a temporary directory for convenience.  Make it in the build tree
   18523 # simply because there is no reason against having it here, and in addition,
   18524 # creating and moving files from /tmp can sometimes cause problems.
   18525 # Hook for its removal unless debugging.
   18526 # Note that there is a small window in which the directory will not be cleaned:
   18527 # after its creation but before its name has been assigned to `$tmp'.
   18528 $debug ||
   18529 {
   18530   tmp= ac_tmp=
   18531   trap 'exit_status=$?
   18532   : "${ac_tmp:=$tmp}"
   18533   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18534 ' 0
   18535   trap 'as_fn_exit 1' 1 2 13 15
   18536 }
   18537 # Create a (secure) tmp directory for tmp files.
   18538 
   18539 {
   18540   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18541   test -d "$tmp"
   18542 }  ||
   18543 {
   18544   tmp=./conf$$-$RANDOM
   18545   (umask 077 && mkdir "$tmp")
   18546 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18547 ac_tmp=$tmp
   18548 
   18549 # Set up the scripts for CONFIG_FILES section.
   18550 # No need to generate them if there are no CONFIG_FILES.
   18551 # This happens for instance with `./config.status config.h'.
   18552 if test -n "$CONFIG_FILES"; then
   18553 
   18554 
   18555 ac_cr=`echo X | tr X '\015'`
   18556 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18557 # But we know of no other shell where ac_cr would be empty at this
   18558 # point, so we can use a bashism as a fallback.
   18559 if test "x$ac_cr" = x; then
   18560   eval ac_cr=\$\'\\r\'
   18561 fi
   18562 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18563 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18564   ac_cs_awk_cr='\\r'
   18565 else
   18566   ac_cs_awk_cr=$ac_cr
   18567 fi
   18568 
   18569 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18570 _ACEOF
   18571 
   18572 
   18573 {
   18574   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18575   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18576   echo "_ACEOF"
   18577 } >conf$$subs.sh ||
   18578   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18579 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18580 ac_delim='%!_!# '
   18581 for ac_last_try in false false false false false :; do
   18582   . ./conf$$subs.sh ||
   18583     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18584 
   18585   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18586   if test $ac_delim_n = $ac_delim_num; then
   18587     break
   18588   elif $ac_last_try; then
   18589     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18590   else
   18591     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18592   fi
   18593 done
   18594 rm -f conf$$subs.sh
   18595 
   18596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18597 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18598 _ACEOF
   18599 sed -n '
   18600 h
   18601 s/^/S["/; s/!.*/"]=/
   18602 p
   18603 g
   18604 s/^[^!]*!//
   18605 :repl
   18606 t repl
   18607 s/'"$ac_delim"'$//
   18608 t delim
   18609 :nl
   18610 h
   18611 s/\(.\{148\}\)..*/\1/
   18612 t more1
   18613 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18614 p
   18615 n
   18616 b repl
   18617 :more1
   18618 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18619 p
   18620 g
   18621 s/.\{148\}//
   18622 t nl
   18623 :delim
   18624 h
   18625 s/\(.\{148\}\)..*/\1/
   18626 t more2
   18627 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18628 p
   18629 b
   18630 :more2
   18631 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18632 p
   18633 g
   18634 s/.\{148\}//
   18635 t delim
   18636 ' <conf$$subs.awk | sed '
   18637 /^[^""]/{
   18638   N
   18639   s/\n//
   18640 }
   18641 ' >>$CONFIG_STATUS || ac_write_fail=1
   18642 rm -f conf$$subs.awk
   18643 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18644 _ACAWK
   18645 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18646   for (key in S) S_is_set[key] = 1
   18647   FS = ""
   18648 
   18649 }
   18650 {
   18651   line = $ 0
   18652   nfields = split(line, field, "@")
   18653   substed = 0
   18654   len = length(field[1])
   18655   for (i = 2; i < nfields; i++) {
   18656     key = field[i]
   18657     keylen = length(key)
   18658     if (S_is_set[key]) {
   18659       value = S[key]
   18660       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18661       len += length(value) + length(field[++i])
   18662       substed = 1
   18663     } else
   18664       len += 1 + keylen
   18665   }
   18666 
   18667   print line
   18668 }
   18669 
   18670 _ACAWK
   18671 _ACEOF
   18672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18673 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18674   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18675 else
   18676   cat
   18677 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18678   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18679 _ACEOF
   18680 
   18681 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18682 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18683 # trailing colons and then remove the whole line if VPATH becomes empty
   18684 # (actually we leave an empty line to preserve line numbers).
   18685 if test "x$srcdir" = x.; then
   18686   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18687 h
   18688 s///
   18689 s/^/:/
   18690 s/[	 ]*$/:/
   18691 s/:\$(srcdir):/:/g
   18692 s/:\${srcdir}:/:/g
   18693 s/:@srcdir@:/:/g
   18694 s/^:*//
   18695 s/:*$//
   18696 x
   18697 s/\(=[	 ]*\).*/\1/
   18698 G
   18699 s/\n//
   18700 s/^[^=]*=[	 ]*$//
   18701 }'
   18702 fi
   18703 
   18704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18705 fi # test -n "$CONFIG_FILES"
   18706 
   18707 # Set up the scripts for CONFIG_HEADERS section.
   18708 # No need to generate them if there are no CONFIG_HEADERS.
   18709 # This happens for instance with `./config.status Makefile'.
   18710 if test -n "$CONFIG_HEADERS"; then
   18711 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18712 BEGIN {
   18713 _ACEOF
   18714 
   18715 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18716 # here-document in config.status, that substitutes the proper values into
   18717 # config.h.in to produce config.h.
   18718 
   18719 # Create a delimiter string that does not exist in confdefs.h, to ease
   18720 # handling of long lines.
   18721 ac_delim='%!_!# '
   18722 for ac_last_try in false false :; do
   18723   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18724   if test -z "$ac_tt"; then
   18725     break
   18726   elif $ac_last_try; then
   18727     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18728   else
   18729     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18730   fi
   18731 done
   18732 
   18733 # For the awk script, D is an array of macro values keyed by name,
   18734 # likewise P contains macro parameters if any.  Preserve backslash
   18735 # newline sequences.
   18736 
   18737 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   18738 sed -n '
   18739 s/.\{148\}/&'"$ac_delim"'/g
   18740 t rset
   18741 :rset
   18742 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   18743 t def
   18744 d
   18745 :def
   18746 s/\\$//
   18747 t bsnl
   18748 s/["\\]/\\&/g
   18749 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18750 D["\1"]=" \3"/p
   18751 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   18752 d
   18753 :bsnl
   18754 s/["\\]/\\&/g
   18755 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   18756 D["\1"]=" \3\\\\\\n"\\/p
   18757 t cont
   18758 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   18759 t cont
   18760 d
   18761 :cont
   18762 n
   18763 s/.\{148\}/&'"$ac_delim"'/g
   18764 t clear
   18765 :clear
   18766 s/\\$//
   18767 t bsnlc
   18768 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   18769 d
   18770 :bsnlc
   18771 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   18772 b cont
   18773 ' <confdefs.h | sed '
   18774 s/'"$ac_delim"'/"\\\
   18775 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   18776 
   18777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18778   for (key in D) D_is_set[key] = 1
   18779   FS = ""
   18780 }
   18781 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   18782   line = \$ 0
   18783   split(line, arg, " ")
   18784   if (arg[1] == "#") {
   18785     defundef = arg[2]
   18786     mac1 = arg[3]
   18787   } else {
   18788     defundef = substr(arg[1], 2)
   18789     mac1 = arg[2]
   18790   }
   18791   split(mac1, mac2, "(") #)
   18792   macro = mac2[1]
   18793   prefix = substr(line, 1, index(line, defundef) - 1)
   18794   if (D_is_set[macro]) {
   18795     # Preserve the white space surrounding the "#".
   18796     print prefix "define", macro P[macro] D[macro]
   18797     next
   18798   } else {
   18799     # Replace #undef with comments.  This is necessary, for example,
   18800     # in the case of _POSIX_SOURCE, which is predefined and required
   18801     # on some systems where configure will not decide to define it.
   18802     if (defundef == "undef") {
   18803       print "/*", prefix defundef, macro, "*/"
   18804       next
   18805     }
   18806   }
   18807 }
   18808 { print }
   18809 _ACAWK
   18810 _ACEOF
   18811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18812   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   18813 fi # test -n "$CONFIG_HEADERS"
   18814 
   18815 
   18816 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   18817 shift
   18818 for ac_tag
   18819 do
   18820   case $ac_tag in
   18821   :[FHLC]) ac_mode=$ac_tag; continue;;
   18822   esac
   18823   case $ac_mode$ac_tag in
   18824   :[FHL]*:*);;
   18825   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   18826   :[FH]-) ac_tag=-:-;;
   18827   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   18828   esac
   18829   ac_save_IFS=$IFS
   18830   IFS=:
   18831   set x $ac_tag
   18832   IFS=$ac_save_IFS
   18833   shift
   18834   ac_file=$1
   18835   shift
   18836 
   18837   case $ac_mode in
   18838   :L) ac_source=$1;;
   18839   :[FH])
   18840     ac_file_inputs=
   18841     for ac_f
   18842     do
   18843       case $ac_f in
   18844       -) ac_f="$ac_tmp/stdin";;
   18845       *) # Look for the file first in the build tree, then in the source tree
   18846 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   18847 	 # because $ac_f cannot contain `:'.
   18848 	 test -f "$ac_f" ||
   18849 	   case $ac_f in
   18850 	   [\\/$]*) false;;
   18851 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   18852 	   esac ||
   18853 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   18854       esac
   18855       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   18856       as_fn_append ac_file_inputs " '$ac_f'"
   18857     done
   18858 
   18859     # Let's still pretend it is `configure' which instantiates (i.e., don't
   18860     # use $as_me), people would be surprised to read:
   18861     #    /* config.h.  Generated by config.status.  */
   18862     configure_input='Generated from '`
   18863 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   18864 	`' by configure.'
   18865     if test x"$ac_file" != x-; then
   18866       configure_input="$ac_file.  $configure_input"
   18867       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   18868 $as_echo "$as_me: creating $ac_file" >&6;}
   18869     fi
   18870     # Neutralize special characters interpreted by sed in replacement strings.
   18871     case $configure_input in #(
   18872     *\&* | *\|* | *\\* )
   18873        ac_sed_conf_input=`$as_echo "$configure_input" |
   18874        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   18875     *) ac_sed_conf_input=$configure_input;;
   18876     esac
   18877 
   18878     case $ac_tag in
   18879     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   18880       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   18881     esac
   18882     ;;
   18883   esac
   18884 
   18885   ac_dir=`$as_dirname -- "$ac_file" ||
   18886 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18887 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   18888 	 X"$ac_file" : 'X\(//\)$' \| \
   18889 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   18890 $as_echo X"$ac_file" |
   18891     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18892 	    s//\1/
   18893 	    q
   18894 	  }
   18895 	  /^X\(\/\/\)[^/].*/{
   18896 	    s//\1/
   18897 	    q
   18898 	  }
   18899 	  /^X\(\/\/\)$/{
   18900 	    s//\1/
   18901 	    q
   18902 	  }
   18903 	  /^X\(\/\).*/{
   18904 	    s//\1/
   18905 	    q
   18906 	  }
   18907 	  s/.*/./; q'`
   18908   as_dir="$ac_dir"; as_fn_mkdir_p
   18909   ac_builddir=.
   18910 
   18911 case "$ac_dir" in
   18912 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18913 *)
   18914   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   18915   # A ".." for each directory in $ac_dir_suffix.
   18916   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   18917   case $ac_top_builddir_sub in
   18918   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   18919   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   18920   esac ;;
   18921 esac
   18922 ac_abs_top_builddir=$ac_pwd
   18923 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   18924 # for backward compatibility:
   18925 ac_top_builddir=$ac_top_build_prefix
   18926 
   18927 case $srcdir in
   18928   .)  # We are building in place.
   18929     ac_srcdir=.
   18930     ac_top_srcdir=$ac_top_builddir_sub
   18931     ac_abs_top_srcdir=$ac_pwd ;;
   18932   [\\/]* | ?:[\\/]* )  # Absolute name.
   18933     ac_srcdir=$srcdir$ac_dir_suffix;
   18934     ac_top_srcdir=$srcdir
   18935     ac_abs_top_srcdir=$srcdir ;;
   18936   *) # Relative name.
   18937     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   18938     ac_top_srcdir=$ac_top_build_prefix$srcdir
   18939     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   18940 esac
   18941 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   18942 
   18943 
   18944   case $ac_mode in
   18945   :F)
   18946   #
   18947   # CONFIG_FILE
   18948   #
   18949 
   18950   case $INSTALL in
   18951   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   18952   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   18953   esac
   18954   ac_MKDIR_P=$MKDIR_P
   18955   case $MKDIR_P in
   18956   [\\/$]* | ?:[\\/]* ) ;;
   18957   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   18958   esac
   18959 _ACEOF
   18960 
   18961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18962 # If the template does not know about datarootdir, expand it.
   18963 # FIXME: This hack should be removed a few years after 2.60.
   18964 ac_datarootdir_hack=; ac_datarootdir_seen=
   18965 ac_sed_dataroot='
   18966 /datarootdir/ {
   18967   p
   18968   q
   18969 }
   18970 /@datadir@/p
   18971 /@docdir@/p
   18972 /@infodir@/p
   18973 /@localedir@/p
   18974 /@mandir@/p'
   18975 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   18976 *datarootdir*) ac_datarootdir_seen=yes;;
   18977 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   18978   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   18979 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   18980 _ACEOF
   18981 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18982   ac_datarootdir_hack='
   18983   s&@datadir@&$datadir&g
   18984   s&@docdir@&$docdir&g
   18985   s&@infodir@&$infodir&g
   18986   s&@localedir@&$localedir&g
   18987   s&@mandir@&$mandir&g
   18988   s&\\\${datarootdir}&$datarootdir&g' ;;
   18989 esac
   18990 _ACEOF
   18991 
   18992 # Neutralize VPATH when `$srcdir' = `.'.
   18993 # Shell code in configure.ac might set extrasub.
   18994 # FIXME: do we really want to maintain this feature?
   18995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18996 ac_sed_extra="$ac_vpsub
   18997 $extrasub
   18998 _ACEOF
   18999 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19000 :t
   19001 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19002 s|@configure_input@|$ac_sed_conf_input|;t t
   19003 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19004 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19005 s&@srcdir@&$ac_srcdir&;t t
   19006 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19007 s&@top_srcdir@&$ac_top_srcdir&;t t
   19008 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19009 s&@builddir@&$ac_builddir&;t t
   19010 s&@abs_builddir@&$ac_abs_builddir&;t t
   19011 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19012 s&@INSTALL@&$ac_INSTALL&;t t
   19013 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19014 $ac_datarootdir_hack
   19015 "
   19016 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19017   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19018 
   19019 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19020   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19021   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19022       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19023   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19024 which seems to be undefined.  Please make sure it is defined" >&5
   19025 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19026 which seems to be undefined.  Please make sure it is defined" >&2;}
   19027 
   19028   rm -f "$ac_tmp/stdin"
   19029   case $ac_file in
   19030   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19031   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19032   esac \
   19033   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19034  ;;
   19035   :H)
   19036   #
   19037   # CONFIG_HEADER
   19038   #
   19039   if test x"$ac_file" != x-; then
   19040     {
   19041       $as_echo "/* $configure_input  */" \
   19042       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19043     } >"$ac_tmp/config.h" \
   19044       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19045     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19046       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19047 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19048     else
   19049       rm -f "$ac_file"
   19050       mv "$ac_tmp/config.h" "$ac_file" \
   19051 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19052     fi
   19053   else
   19054     $as_echo "/* $configure_input  */" \
   19055       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19056       || as_fn_error $? "could not create -" "$LINENO" 5
   19057   fi
   19058 # Compute "$ac_file"'s index in $config_headers.
   19059 _am_arg="$ac_file"
   19060 _am_stamp_count=1
   19061 for _am_header in $config_headers :; do
   19062   case $_am_header in
   19063     $_am_arg | $_am_arg:* )
   19064       break ;;
   19065     * )
   19066       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19067   esac
   19068 done
   19069 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19070 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19071 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19072 	 X"$_am_arg" : 'X\(//\)$' \| \
   19073 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19074 $as_echo X"$_am_arg" |
   19075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19076 	    s//\1/
   19077 	    q
   19078 	  }
   19079 	  /^X\(\/\/\)[^/].*/{
   19080 	    s//\1/
   19081 	    q
   19082 	  }
   19083 	  /^X\(\/\/\)$/{
   19084 	    s//\1/
   19085 	    q
   19086 	  }
   19087 	  /^X\(\/\).*/{
   19088 	    s//\1/
   19089 	    q
   19090 	  }
   19091 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19092  ;;
   19093 
   19094   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19095 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19096  ;;
   19097   esac
   19098 
   19099 
   19100   case $ac_file$ac_mode in
   19101     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19102   # Older Autoconf quotes --file arguments for eval, but not when files
   19103   # are listed without --file.  Let's play safe and only enable the eval
   19104   # if we detect the quoting.
   19105   case $CONFIG_FILES in
   19106   *\'*) eval set x "$CONFIG_FILES" ;;
   19107   *)   set x $CONFIG_FILES ;;
   19108   esac
   19109   shift
   19110   for mf
   19111   do
   19112     # Strip MF so we end up with the name of the file.
   19113     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19114     # Check whether this is an Automake generated Makefile or not.
   19115     # We used to match only the files named 'Makefile.in', but
   19116     # some people rename them; so instead we look at the file content.
   19117     # Grep'ing the first line is not enough: some people post-process
   19118     # each Makefile.in and add a new line on top of each file to say so.
   19119     # Grep'ing the whole file is not good either: AIX grep has a line
   19120     # limit of 2048, but all sed's we know have understand at least 4000.
   19121     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19122       dirpart=`$as_dirname -- "$mf" ||
   19123 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19124 	 X"$mf" : 'X\(//\)[^/]' \| \
   19125 	 X"$mf" : 'X\(//\)$' \| \
   19126 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19127 $as_echo X"$mf" |
   19128     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19129 	    s//\1/
   19130 	    q
   19131 	  }
   19132 	  /^X\(\/\/\)[^/].*/{
   19133 	    s//\1/
   19134 	    q
   19135 	  }
   19136 	  /^X\(\/\/\)$/{
   19137 	    s//\1/
   19138 	    q
   19139 	  }
   19140 	  /^X\(\/\).*/{
   19141 	    s//\1/
   19142 	    q
   19143 	  }
   19144 	  s/.*/./; q'`
   19145     else
   19146       continue
   19147     fi
   19148     # Extract the definition of DEPDIR, am__include, and am__quote
   19149     # from the Makefile without running 'make'.
   19150     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19151     test -z "$DEPDIR" && continue
   19152     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19153     test -z "$am__include" && continue
   19154     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19155     # Find all dependency output files, they are included files with
   19156     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19157     # simplest approach to changing $(DEPDIR) to its actual value in the
   19158     # expansion.
   19159     for file in `sed -n "
   19160       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19161 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19162       # Make sure the directory exists.
   19163       test -f "$dirpart/$file" && continue
   19164       fdir=`$as_dirname -- "$file" ||
   19165 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19166 	 X"$file" : 'X\(//\)[^/]' \| \
   19167 	 X"$file" : 'X\(//\)$' \| \
   19168 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19169 $as_echo X"$file" |
   19170     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19171 	    s//\1/
   19172 	    q
   19173 	  }
   19174 	  /^X\(\/\/\)[^/].*/{
   19175 	    s//\1/
   19176 	    q
   19177 	  }
   19178 	  /^X\(\/\/\)$/{
   19179 	    s//\1/
   19180 	    q
   19181 	  }
   19182 	  /^X\(\/\).*/{
   19183 	    s//\1/
   19184 	    q
   19185 	  }
   19186 	  s/.*/./; q'`
   19187       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19188       # echo "creating $dirpart/$file"
   19189       echo '# dummy' > "$dirpart/$file"
   19190     done
   19191   done
   19192 }
   19193  ;;
   19194     "libtool":C)
   19195 
   19196     # See if we are running on zsh, and set the options which allow our
   19197     # commands through without removal of \ escapes.
   19198     if test -n "${ZSH_VERSION+set}" ; then
   19199       setopt NO_GLOB_SUBST
   19200     fi
   19201 
   19202     cfgfile="${ofile}T"
   19203     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19204     $RM "$cfgfile"
   19205 
   19206     cat <<_LT_EOF >> "$cfgfile"
   19207 #! $SHELL
   19208 
   19209 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19210 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19211 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19212 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19213 #
   19214 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19215 #                 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
   19216 #   Written by Gordon Matzigkeit, 1996
   19217 #
   19218 #   This file is part of GNU Libtool.
   19219 #
   19220 # GNU Libtool is free software; you can redistribute it and/or
   19221 # modify it under the terms of the GNU General Public License as
   19222 # published by the Free Software Foundation; either version 2 of
   19223 # the License, or (at your option) any later version.
   19224 #
   19225 # As a special exception to the GNU General Public License,
   19226 # if you distribute this file as part of a program or library that
   19227 # is built using GNU Libtool, you may include this file under the
   19228 # same distribution terms that you use for the rest of that program.
   19229 #
   19230 # GNU Libtool is distributed in the hope that it will be useful,
   19231 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19232 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19233 # GNU General Public License for more details.
   19234 #
   19235 # You should have received a copy of the GNU General Public License
   19236 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19237 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19238 # obtained by writing to the Free Software Foundation, Inc.,
   19239 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19240 
   19241 
   19242 # The names of the tagged configurations supported by this script.
   19243 available_tags="CXX "
   19244 
   19245 # ### BEGIN LIBTOOL CONFIG
   19246 
   19247 # Which release of libtool.m4 was used?
   19248 macro_version=$macro_version
   19249 macro_revision=$macro_revision
   19250 
   19251 # Whether or not to build shared libraries.
   19252 build_libtool_libs=$enable_shared
   19253 
   19254 # Whether or not to build static libraries.
   19255 build_old_libs=$enable_static
   19256 
   19257 # What type of objects to build.
   19258 pic_mode=$pic_mode
   19259 
   19260 # Whether or not to optimize for fast installation.
   19261 fast_install=$enable_fast_install
   19262 
   19263 # Shell to use when invoking shell scripts.
   19264 SHELL=$lt_SHELL
   19265 
   19266 # An echo program that protects backslashes.
   19267 ECHO=$lt_ECHO
   19268 
   19269 # The host system.
   19270 host_alias=$host_alias
   19271 host=$host
   19272 host_os=$host_os
   19273 
   19274 # The build system.
   19275 build_alias=$build_alias
   19276 build=$build
   19277 build_os=$build_os
   19278 
   19279 # A sed program that does not truncate output.
   19280 SED=$lt_SED
   19281 
   19282 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19283 Xsed="\$SED -e 1s/^X//"
   19284 
   19285 # A grep program that handles long lines.
   19286 GREP=$lt_GREP
   19287 
   19288 # An ERE matcher.
   19289 EGREP=$lt_EGREP
   19290 
   19291 # A literal string matcher.
   19292 FGREP=$lt_FGREP
   19293 
   19294 # A BSD- or MS-compatible name lister.
   19295 NM=$lt_NM
   19296 
   19297 # Whether we need soft or hard links.
   19298 LN_S=$lt_LN_S
   19299 
   19300 # What is the maximum length of a command?
   19301 max_cmd_len=$max_cmd_len
   19302 
   19303 # Object file suffix (normally "o").
   19304 objext=$ac_objext
   19305 
   19306 # Executable file suffix (normally "").
   19307 exeext=$exeext
   19308 
   19309 # whether the shell understands "unset".
   19310 lt_unset=$lt_unset
   19311 
   19312 # turn spaces into newlines.
   19313 SP2NL=$lt_lt_SP2NL
   19314 
   19315 # turn newlines into spaces.
   19316 NL2SP=$lt_lt_NL2SP
   19317 
   19318 # An object symbol dumper.
   19319 OBJDUMP=$lt_OBJDUMP
   19320 
   19321 # Method to check whether dependent libraries are shared objects.
   19322 deplibs_check_method=$lt_deplibs_check_method
   19323 
   19324 # Command to use when deplibs_check_method == "file_magic".
   19325 file_magic_cmd=$lt_file_magic_cmd
   19326 
   19327 # The archiver.
   19328 AR=$lt_AR
   19329 AR_FLAGS=$lt_AR_FLAGS
   19330 
   19331 # A symbol stripping program.
   19332 STRIP=$lt_STRIP
   19333 
   19334 # Commands used to install an old-style archive.
   19335 RANLIB=$lt_RANLIB
   19336 old_postinstall_cmds=$lt_old_postinstall_cmds
   19337 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19338 
   19339 # Whether to use a lock for old archive extraction.
   19340 lock_old_archive_extraction=$lock_old_archive_extraction
   19341 
   19342 # A C compiler.
   19343 LTCC=$lt_CC
   19344 
   19345 # LTCC compiler flags.
   19346 LTCFLAGS=$lt_CFLAGS
   19347 
   19348 # Take the output of nm and produce a listing of raw symbols and C names.
   19349 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19350 
   19351 # Transform the output of nm in a proper C declaration.
   19352 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19353 
   19354 # Transform the output of nm in a C name address pair.
   19355 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19356 
   19357 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19358 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19359 
   19360 # The name of the directory that contains temporary libtool files.
   19361 objdir=$objdir
   19362 
   19363 # Used to examine libraries when file_magic_cmd begins with "file".
   19364 MAGIC_CMD=$MAGIC_CMD
   19365 
   19366 # Must we lock files when doing compilation?
   19367 need_locks=$lt_need_locks
   19368 
   19369 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19370 DSYMUTIL=$lt_DSYMUTIL
   19371 
   19372 # Tool to change global to local symbols on Mac OS X.
   19373 NMEDIT=$lt_NMEDIT
   19374 
   19375 # Tool to manipulate fat objects and archives on Mac OS X.
   19376 LIPO=$lt_LIPO
   19377 
   19378 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19379 OTOOL=$lt_OTOOL
   19380 
   19381 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19382 OTOOL64=$lt_OTOOL64
   19383 
   19384 # Old archive suffix (normally "a").
   19385 libext=$libext
   19386 
   19387 # Shared library suffix (normally ".so").
   19388 shrext_cmds=$lt_shrext_cmds
   19389 
   19390 # The commands to extract the exported symbol list from a shared archive.
   19391 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19392 
   19393 # Variables whose values should be saved in libtool wrapper scripts and
   19394 # restored at link time.
   19395 variables_saved_for_relink=$lt_variables_saved_for_relink
   19396 
   19397 # Do we need the "lib" prefix for modules?
   19398 need_lib_prefix=$need_lib_prefix
   19399 
   19400 # Do we need a version for libraries?
   19401 need_version=$need_version
   19402 
   19403 # Library versioning type.
   19404 version_type=$version_type
   19405 
   19406 # Shared library runtime path variable.
   19407 runpath_var=$runpath_var
   19408 
   19409 # Shared library path variable.
   19410 shlibpath_var=$shlibpath_var
   19411 
   19412 # Is shlibpath searched before the hard-coded library search path?
   19413 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19414 
   19415 # Format of library name prefix.
   19416 libname_spec=$lt_libname_spec
   19417 
   19418 # List of archive names.  First name is the real one, the rest are links.
   19419 # The last name is the one that the linker finds with -lNAME
   19420 library_names_spec=$lt_library_names_spec
   19421 
   19422 # The coded name of the library, if different from the real name.
   19423 soname_spec=$lt_soname_spec
   19424 
   19425 # Permission mode override for installation of shared libraries.
   19426 install_override_mode=$lt_install_override_mode
   19427 
   19428 # Command to use after installation of a shared archive.
   19429 postinstall_cmds=$lt_postinstall_cmds
   19430 
   19431 # Command to use after uninstallation of a shared archive.
   19432 postuninstall_cmds=$lt_postuninstall_cmds
   19433 
   19434 # Commands used to finish a libtool library installation in a directory.
   19435 finish_cmds=$lt_finish_cmds
   19436 
   19437 # As "finish_cmds", except a single script fragment to be evaled but
   19438 # not shown.
   19439 finish_eval=$lt_finish_eval
   19440 
   19441 # Whether we should hardcode library paths into libraries.
   19442 hardcode_into_libs=$hardcode_into_libs
   19443 
   19444 # Compile-time system search path for libraries.
   19445 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19446 
   19447 # Run-time system search path for libraries.
   19448 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19449 
   19450 # Whether dlopen is supported.
   19451 dlopen_support=$enable_dlopen
   19452 
   19453 # Whether dlopen of programs is supported.
   19454 dlopen_self=$enable_dlopen_self
   19455 
   19456 # Whether dlopen of statically linked programs is supported.
   19457 dlopen_self_static=$enable_dlopen_self_static
   19458 
   19459 # Commands to strip libraries.
   19460 old_striplib=$lt_old_striplib
   19461 striplib=$lt_striplib
   19462 
   19463 
   19464 # The linker used to build libraries.
   19465 LD=$lt_LD
   19466 
   19467 # How to create reloadable object files.
   19468 reload_flag=$lt_reload_flag
   19469 reload_cmds=$lt_reload_cmds
   19470 
   19471 # Commands used to build an old-style archive.
   19472 old_archive_cmds=$lt_old_archive_cmds
   19473 
   19474 # A language specific compiler.
   19475 CC=$lt_compiler
   19476 
   19477 # Is the compiler the GNU compiler?
   19478 with_gcc=$GCC
   19479 
   19480 # Compiler flag to turn off builtin functions.
   19481 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19482 
   19483 # How to pass a linker flag through the compiler.
   19484 wl=$lt_lt_prog_compiler_wl
   19485 
   19486 # Additional compiler flags for building library objects.
   19487 pic_flag=$lt_lt_prog_compiler_pic
   19488 
   19489 # Compiler flag to prevent dynamic linking.
   19490 link_static_flag=$lt_lt_prog_compiler_static
   19491 
   19492 # Does compiler simultaneously support -c and -o options?
   19493 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19494 
   19495 # Whether or not to add -lc for building shared libraries.
   19496 build_libtool_need_lc=$archive_cmds_need_lc
   19497 
   19498 # Whether or not to disallow shared libs when runtime libs are static.
   19499 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19500 
   19501 # Compiler flag to allow reflexive dlopens.
   19502 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19503 
   19504 # Compiler flag to generate shared objects directly from archives.
   19505 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19506 
   19507 # Whether the compiler copes with passing no objects directly.
   19508 compiler_needs_object=$lt_compiler_needs_object
   19509 
   19510 # Create an old-style archive from a shared archive.
   19511 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19512 
   19513 # Create a temporary old-style archive to link instead of a shared archive.
   19514 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19515 
   19516 # Commands used to build a shared archive.
   19517 archive_cmds=$lt_archive_cmds
   19518 archive_expsym_cmds=$lt_archive_expsym_cmds
   19519 
   19520 # Commands used to build a loadable module if different from building
   19521 # a shared archive.
   19522 module_cmds=$lt_module_cmds
   19523 module_expsym_cmds=$lt_module_expsym_cmds
   19524 
   19525 # Whether we are building with GNU ld or not.
   19526 with_gnu_ld=$lt_with_gnu_ld
   19527 
   19528 # Flag that allows shared libraries with undefined symbols to be built.
   19529 allow_undefined_flag=$lt_allow_undefined_flag
   19530 
   19531 # Flag that enforces no undefined symbols.
   19532 no_undefined_flag=$lt_no_undefined_flag
   19533 
   19534 # Flag to hardcode \$libdir into a binary during linking.
   19535 # This must work even if \$libdir does not exist
   19536 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19537 
   19538 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19539 # during linking.  This must work even if \$libdir does not exist.
   19540 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   19541 
   19542 # Whether we need a single "-rpath" flag with a separated argument.
   19543 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19544 
   19545 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19546 # DIR into the resulting binary.
   19547 hardcode_direct=$hardcode_direct
   19548 
   19549 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19550 # DIR into the resulting binary and the resulting library dependency is
   19551 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19552 # library is relocated.
   19553 hardcode_direct_absolute=$hardcode_direct_absolute
   19554 
   19555 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19556 # into the resulting binary.
   19557 hardcode_minus_L=$hardcode_minus_L
   19558 
   19559 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19560 # into the resulting binary.
   19561 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19562 
   19563 # Set to "yes" if building a shared library automatically hardcodes DIR
   19564 # into the library and all subsequent libraries and executables linked
   19565 # against it.
   19566 hardcode_automatic=$hardcode_automatic
   19567 
   19568 # Set to yes if linker adds runtime paths of dependent libraries
   19569 # to runtime path list.
   19570 inherit_rpath=$inherit_rpath
   19571 
   19572 # Whether libtool must link a program against all its dependency libraries.
   19573 link_all_deplibs=$link_all_deplibs
   19574 
   19575 # Fix the shell variable \$srcfile for the compiler.
   19576 fix_srcfile_path=$lt_fix_srcfile_path
   19577 
   19578 # Set to "yes" if exported symbols are required.
   19579 always_export_symbols=$always_export_symbols
   19580 
   19581 # The commands to list exported symbols.
   19582 export_symbols_cmds=$lt_export_symbols_cmds
   19583 
   19584 # Symbols that should not be listed in the preloaded symbols.
   19585 exclude_expsyms=$lt_exclude_expsyms
   19586 
   19587 # Symbols that must always be exported.
   19588 include_expsyms=$lt_include_expsyms
   19589 
   19590 # Commands necessary for linking programs (against libraries) with templates.
   19591 prelink_cmds=$lt_prelink_cmds
   19592 
   19593 # Specify filename containing input files.
   19594 file_list_spec=$lt_file_list_spec
   19595 
   19596 # How to hardcode a shared library path into an executable.
   19597 hardcode_action=$hardcode_action
   19598 
   19599 # The directories searched by this compiler when creating a shared library.
   19600 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
   19601 
   19602 # Dependencies to place before and after the objects being linked to
   19603 # create a shared library.
   19604 predep_objects=$lt_predep_objects
   19605 postdep_objects=$lt_postdep_objects
   19606 predeps=$lt_predeps
   19607 postdeps=$lt_postdeps
   19608 
   19609 # The library search path used internally by the compiler when linking
   19610 # a shared library.
   19611 compiler_lib_search_path=$lt_compiler_lib_search_path
   19612 
   19613 # ### END LIBTOOL CONFIG
   19614 
   19615 _LT_EOF
   19616 
   19617   case $host_os in
   19618   aix3*)
   19619     cat <<\_LT_EOF >> "$cfgfile"
   19620 # AIX sometimes has problems with the GCC collect2 program.  For some
   19621 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19622 # vanish in a puff of smoke.
   19623 if test "X${COLLECT_NAMES+set}" != Xset; then
   19624   COLLECT_NAMES=
   19625   export COLLECT_NAMES
   19626 fi
   19627 _LT_EOF
   19628     ;;
   19629   esac
   19630 
   19631 
   19632 ltmain="$ac_aux_dir/ltmain.sh"
   19633 
   19634 
   19635   # We use sed instead of cat because bash on DJGPP gets confused if
   19636   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19637   # text mode, it properly converts lines to CR/LF.  This bash problem
   19638   # is reportedly fixed, but why not run on old versions too?
   19639   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   19640     || (rm -f "$cfgfile"; exit 1)
   19641 
   19642   case $xsi_shell in
   19643   yes)
   19644     cat << \_LT_EOF >> "$cfgfile"
   19645 
   19646 # func_dirname file append nondir_replacement
   19647 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19648 # otherwise set result to NONDIR_REPLACEMENT.
   19649 func_dirname ()
   19650 {
   19651   case ${1} in
   19652     */*) func_dirname_result="${1%/*}${2}" ;;
   19653     *  ) func_dirname_result="${3}" ;;
   19654   esac
   19655 }
   19656 
   19657 # func_basename file
   19658 func_basename ()
   19659 {
   19660   func_basename_result="${1##*/}"
   19661 }
   19662 
   19663 # func_dirname_and_basename file append nondir_replacement
   19664 # perform func_basename and func_dirname in a single function
   19665 # call:
   19666 #   dirname:  Compute the dirname of FILE.  If nonempty,
   19667 #             add APPEND to the result, otherwise set result
   19668 #             to NONDIR_REPLACEMENT.
   19669 #             value returned in "$func_dirname_result"
   19670 #   basename: Compute filename of FILE.
   19671 #             value retuned in "$func_basename_result"
   19672 # Implementation must be kept synchronized with func_dirname
   19673 # and func_basename. For efficiency, we do not delegate to
   19674 # those functions but instead duplicate the functionality here.
   19675 func_dirname_and_basename ()
   19676 {
   19677   case ${1} in
   19678     */*) func_dirname_result="${1%/*}${2}" ;;
   19679     *  ) func_dirname_result="${3}" ;;
   19680   esac
   19681   func_basename_result="${1##*/}"
   19682 }
   19683 
   19684 # func_stripname prefix suffix name
   19685 # strip PREFIX and SUFFIX off of NAME.
   19686 # PREFIX and SUFFIX must not contain globbing or regex special
   19687 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19688 # dot (in which case that matches only a dot).
   19689 func_stripname ()
   19690 {
   19691   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   19692   # positional parameters, so assign one to ordinary parameter first.
   19693   func_stripname_result=${3}
   19694   func_stripname_result=${func_stripname_result#"${1}"}
   19695   func_stripname_result=${func_stripname_result%"${2}"}
   19696 }
   19697 
   19698 # func_opt_split
   19699 func_opt_split ()
   19700 {
   19701   func_opt_split_opt=${1%%=*}
   19702   func_opt_split_arg=${1#*=}
   19703 }
   19704 
   19705 # func_lo2o object
   19706 func_lo2o ()
   19707 {
   19708   case ${1} in
   19709     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   19710     *)    func_lo2o_result=${1} ;;
   19711   esac
   19712 }
   19713 
   19714 # func_xform libobj-or-source
   19715 func_xform ()
   19716 {
   19717   func_xform_result=${1%.*}.lo
   19718 }
   19719 
   19720 # func_arith arithmetic-term...
   19721 func_arith ()
   19722 {
   19723   func_arith_result=$(( $* ))
   19724 }
   19725 
   19726 # func_len string
   19727 # STRING may not start with a hyphen.
   19728 func_len ()
   19729 {
   19730   func_len_result=${#1}
   19731 }
   19732 
   19733 _LT_EOF
   19734     ;;
   19735   *) # Bourne compatible functions.
   19736     cat << \_LT_EOF >> "$cfgfile"
   19737 
   19738 # func_dirname file append nondir_replacement
   19739 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   19740 # otherwise set result to NONDIR_REPLACEMENT.
   19741 func_dirname ()
   19742 {
   19743   # Extract subdirectory from the argument.
   19744   func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
   19745   if test "X$func_dirname_result" = "X${1}"; then
   19746     func_dirname_result="${3}"
   19747   else
   19748     func_dirname_result="$func_dirname_result${2}"
   19749   fi
   19750 }
   19751 
   19752 # func_basename file
   19753 func_basename ()
   19754 {
   19755   func_basename_result=`$ECHO "${1}" | $SED "$basename"`
   19756 }
   19757 
   19758 
   19759 # func_stripname prefix suffix name
   19760 # strip PREFIX and SUFFIX off of NAME.
   19761 # PREFIX and SUFFIX must not contain globbing or regex special
   19762 # characters, hashes, percent signs, but SUFFIX may contain a leading
   19763 # dot (in which case that matches only a dot).
   19764 # func_strip_suffix prefix name
   19765 func_stripname ()
   19766 {
   19767   case ${2} in
   19768     .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
   19769     *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
   19770   esac
   19771 }
   19772 
   19773 # sed scripts:
   19774 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   19775 my_sed_long_arg='1s/^-[^=]*=//'
   19776 
   19777 # func_opt_split
   19778 func_opt_split ()
   19779 {
   19780   func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
   19781   func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
   19782 }
   19783 
   19784 # func_lo2o object
   19785 func_lo2o ()
   19786 {
   19787   func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
   19788 }
   19789 
   19790 # func_xform libobj-or-source
   19791 func_xform ()
   19792 {
   19793   func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
   19794 }
   19795 
   19796 # func_arith arithmetic-term...
   19797 func_arith ()
   19798 {
   19799   func_arith_result=`expr "$@"`
   19800 }
   19801 
   19802 # func_len string
   19803 # STRING may not start with a hyphen.
   19804 func_len ()
   19805 {
   19806   func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
   19807 }
   19808 
   19809 _LT_EOF
   19810 esac
   19811 
   19812 case $lt_shell_append in
   19813   yes)
   19814     cat << \_LT_EOF >> "$cfgfile"
   19815 
   19816 # func_append var value
   19817 # Append VALUE to the end of shell variable VAR.
   19818 func_append ()
   19819 {
   19820   eval "$1+=\$2"
   19821 }
   19822 _LT_EOF
   19823     ;;
   19824   *)
   19825     cat << \_LT_EOF >> "$cfgfile"
   19826 
   19827 # func_append var value
   19828 # Append VALUE to the end of shell variable VAR.
   19829 func_append ()
   19830 {
   19831   eval "$1=\$$1\$2"
   19832 }
   19833 
   19834 _LT_EOF
   19835     ;;
   19836   esac
   19837 
   19838 
   19839   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   19840     || (rm -f "$cfgfile"; exit 1)
   19841 
   19842   mv -f "$cfgfile" "$ofile" ||
   19843     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   19844   chmod +x "$ofile"
   19845 
   19846 
   19847     cat <<_LT_EOF >> "$ofile"
   19848 
   19849 # ### BEGIN LIBTOOL TAG CONFIG: CXX
   19850 
   19851 # The linker used to build libraries.
   19852 LD=$lt_LD_CXX
   19853 
   19854 # How to create reloadable object files.
   19855 reload_flag=$lt_reload_flag_CXX
   19856 reload_cmds=$lt_reload_cmds_CXX
   19857 
   19858 # Commands used to build an old-style archive.
   19859 old_archive_cmds=$lt_old_archive_cmds_CXX
   19860 
   19861 # A language specific compiler.
   19862 CC=$lt_compiler_CXX
   19863 
   19864 # Is the compiler the GNU compiler?
   19865 with_gcc=$GCC_CXX
   19866 
   19867 # Compiler flag to turn off builtin functions.
   19868 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
   19869 
   19870 # How to pass a linker flag through the compiler.
   19871 wl=$lt_lt_prog_compiler_wl_CXX
   19872 
   19873 # Additional compiler flags for building library objects.
   19874 pic_flag=$lt_lt_prog_compiler_pic_CXX
   19875 
   19876 # Compiler flag to prevent dynamic linking.
   19877 link_static_flag=$lt_lt_prog_compiler_static_CXX
   19878 
   19879 # Does compiler simultaneously support -c and -o options?
   19880 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
   19881 
   19882 # Whether or not to add -lc for building shared libraries.
   19883 build_libtool_need_lc=$archive_cmds_need_lc_CXX
   19884 
   19885 # Whether or not to disallow shared libs when runtime libs are static.
   19886 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
   19887 
   19888 # Compiler flag to allow reflexive dlopens.
   19889 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
   19890 
   19891 # Compiler flag to generate shared objects directly from archives.
   19892 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
   19893 
   19894 # Whether the compiler copes with passing no objects directly.
   19895 compiler_needs_object=$lt_compiler_needs_object_CXX
   19896 
   19897 # Create an old-style archive from a shared archive.
   19898 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
   19899 
   19900 # Create a temporary old-style archive to link instead of a shared archive.
   19901 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
   19902 
   19903 # Commands used to build a shared archive.
   19904 archive_cmds=$lt_archive_cmds_CXX
   19905 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
   19906 
   19907 # Commands used to build a loadable module if different from building
   19908 # a shared archive.
   19909 module_cmds=$lt_module_cmds_CXX
   19910 module_expsym_cmds=$lt_module_expsym_cmds_CXX
   19911 
   19912 # Whether we are building with GNU ld or not.
   19913 with_gnu_ld=$lt_with_gnu_ld_CXX
   19914 
   19915 # Flag that allows shared libraries with undefined symbols to be built.
   19916 allow_undefined_flag=$lt_allow_undefined_flag_CXX
   19917 
   19918 # Flag that enforces no undefined symbols.
   19919 no_undefined_flag=$lt_no_undefined_flag_CXX
   19920 
   19921 # Flag to hardcode \$libdir into a binary during linking.
   19922 # This must work even if \$libdir does not exist
   19923 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
   19924 
   19925 # If ld is used when linking, flag to hardcode \$libdir into a binary
   19926 # during linking.  This must work even if \$libdir does not exist.
   19927 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
   19928 
   19929 # Whether we need a single "-rpath" flag with a separated argument.
   19930 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
   19931 
   19932 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19933 # DIR into the resulting binary.
   19934 hardcode_direct=$hardcode_direct_CXX
   19935 
   19936 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19937 # DIR into the resulting binary and the resulting library dependency is
   19938 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19939 # library is relocated.
   19940 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
   19941 
   19942 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19943 # into the resulting binary.
   19944 hardcode_minus_L=$hardcode_minus_L_CXX
   19945 
   19946 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19947 # into the resulting binary.
   19948 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
   19949 
   19950 # Set to "yes" if building a shared library automatically hardcodes DIR
   19951 # into the library and all subsequent libraries and executables linked
   19952 # against it.
   19953 hardcode_automatic=$hardcode_automatic_CXX
   19954 
   19955 # Set to yes if linker adds runtime paths of dependent libraries
   19956 # to runtime path list.
   19957 inherit_rpath=$inherit_rpath_CXX
   19958 
   19959 # Whether libtool must link a program against all its dependency libraries.
   19960 link_all_deplibs=$link_all_deplibs_CXX
   19961 
   19962 # Fix the shell variable \$srcfile for the compiler.
   19963 fix_srcfile_path=$lt_fix_srcfile_path_CXX
   19964 
   19965 # Set to "yes" if exported symbols are required.
   19966 always_export_symbols=$always_export_symbols_CXX
   19967 
   19968 # The commands to list exported symbols.
   19969 export_symbols_cmds=$lt_export_symbols_cmds_CXX
   19970 
   19971 # Symbols that should not be listed in the preloaded symbols.
   19972 exclude_expsyms=$lt_exclude_expsyms_CXX
   19973 
   19974 # Symbols that must always be exported.
   19975 include_expsyms=$lt_include_expsyms_CXX
   19976 
   19977 # Commands necessary for linking programs (against libraries) with templates.
   19978 prelink_cmds=$lt_prelink_cmds_CXX
   19979 
   19980 # Specify filename containing input files.
   19981 file_list_spec=$lt_file_list_spec_CXX
   19982 
   19983 # How to hardcode a shared library path into an executable.
   19984 hardcode_action=$hardcode_action_CXX
   19985 
   19986 # The directories searched by this compiler when creating a shared library.
   19987 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
   19988 
   19989 # Dependencies to place before and after the objects being linked to
   19990 # create a shared library.
   19991 predep_objects=$lt_predep_objects_CXX
   19992 postdep_objects=$lt_postdep_objects_CXX
   19993 predeps=$lt_predeps_CXX
   19994 postdeps=$lt_postdeps_CXX
   19995 
   19996 # The library search path used internally by the compiler when linking
   19997 # a shared library.
   19998 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
   19999 
   20000 # ### END LIBTOOL TAG CONFIG: CXX
   20001 _LT_EOF
   20002 
   20003  ;;
   20004     "default-1":C)
   20005     for ac_file in $CONFIG_FILES; do
   20006       # Support "outfile[:infile[:infile...]]"
   20007       case "$ac_file" in
   20008         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   20009       esac
   20010       # PO directories have a Makefile.in generated from Makefile.in.in.
   20011       case "$ac_file" in */Makefile.in)
   20012         # Adjust a relative srcdir.
   20013         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   20014         ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
   20015         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   20016         # In autoconf-2.13 it is called $ac_given_srcdir.
   20017         # In autoconf-2.50 it is called $srcdir.
   20018         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   20019         case "$ac_given_srcdir" in
   20020           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   20021           /*) top_srcdir="$ac_given_srcdir" ;;
   20022           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   20023         esac
   20024         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   20025           rm -f "$ac_dir/POTFILES"
   20026           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   20027           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   20028           POMAKEFILEDEPS="POTFILES.in"
   20029           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   20030           # on $ac_dir but don't depend on user-specified configuration
   20031           # parameters.
   20032           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   20033             # The LINGUAS file contains the set of available languages.
   20034             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   20035               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.ac is obsolete" || echo "setting ALL_LINGUAS in configure.ac is obsolete"
   20036             fi
   20037             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   20038             # Hide the ALL_LINGUAS assigment from automake.
   20039             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   20040             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   20041           else
   20042             # The set of available languages was given in configure.ac.
   20043             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   20044           fi
   20045           case "$ac_given_srcdir" in
   20046             .) srcdirpre= ;;
   20047             *) srcdirpre='$(srcdir)/' ;;
   20048           esac
   20049           POFILES=
   20050           GMOFILES=
   20051           UPDATEPOFILES=
   20052           DUMMYPOFILES=
   20053           for lang in $ALL_LINGUAS; do
   20054             POFILES="$POFILES $srcdirpre$lang.po"
   20055             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   20056             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   20057             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   20058           done
   20059           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   20060           # environment variable.
   20061           INST_LINGUAS=
   20062           if test -n "$ALL_LINGUAS"; then
   20063             for presentlang in $ALL_LINGUAS; do
   20064               useit=no
   20065               if test "%UNSET%" != "$LINGUAS"; then
   20066                 desiredlanguages="$LINGUAS"
   20067               else
   20068                 desiredlanguages="$ALL_LINGUAS"
   20069               fi
   20070               for desiredlang in $desiredlanguages; do
   20071                 # Use the presentlang catalog if desiredlang is
   20072                 #   a. equal to presentlang, or
   20073                 #   b. a variant of presentlang (because in this case,
   20074                 #      presentlang can be used as a fallback for messages
   20075                 #      which are not translated in the desiredlang catalog).
   20076                 case "$desiredlang" in
   20077                   "$presentlang"*) useit=yes;;
   20078                 esac
   20079               done
   20080               if test $useit = yes; then
   20081                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   20082               fi
   20083             done
   20084           fi
   20085           CATALOGS=
   20086           if test -n "$INST_LINGUAS"; then
   20087             for lang in $INST_LINGUAS; do
   20088               CATALOGS="$CATALOGS $lang.gmo"
   20089             done
   20090           fi
   20091           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   20092           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   20093           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   20094             if test -f "$f"; then
   20095               case "$f" in
   20096                 *.orig | *.bak | *~) ;;
   20097                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   20098               esac
   20099             fi
   20100           done
   20101         fi
   20102         ;;
   20103       esac
   20104     done ;;
   20105     "default":C)
   20106 case "$srcdir" in
   20107   .) srcdirpre= ;;
   20108   *) srcdirpre='$(srcdir)/' ;;
   20109 esac
   20110 POFILES=
   20111 GMOFILES=
   20112 for lang in dummy $OBSOLETE_ALL_LINGUAS; do
   20113   if test $lang != dummy; then
   20114     POFILES="$POFILES $srcdirpre$lang.po"
   20115     GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   20116   fi
   20117 done
   20118 sed -e '/^SRC-POTFILES =/r po/SRC-POTFILES' \
   20119     -e '/^BLD-POTFILES =/r po/BLD-POTFILES' \
   20120     -e "s,@POFILES@,$POFILES," \
   20121     -e "s,@GMOFILES@,$GMOFILES," \
   20122     po/Makefile.in > po/Makefile ;;
   20123 
   20124   esac
   20125 done # for ac_tag
   20126 
   20127 
   20128 as_fn_exit 0
   20129 _ACEOF
   20130 ac_clean_files=$ac_clean_files_save
   20131 
   20132 test $ac_write_fail = 0 ||
   20133   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20134 
   20135 
   20136 # configure is writing to config.log, and then calls config.status.
   20137 # config.status does its own redirection, appending to config.log.
   20138 # Unfortunately, on DOS this fails, as config.log is still kept open
   20139 # by configure, so config.status won't be able to write to it; its
   20140 # output is simply discarded.  So we exec the FD to /dev/null,
   20141 # effectively closing config.log, so it can be properly (re)opened and
   20142 # appended to by config.status.  When coming back to configure, we
   20143 # need to make the FD available again.
   20144 if test "$no_create" != yes; then
   20145   ac_cs_success=:
   20146   ac_config_status_args=
   20147   test "$silent" = yes &&
   20148     ac_config_status_args="$ac_config_status_args --quiet"
   20149   exec 5>/dev/null
   20150   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20151   exec 5>>config.log
   20152   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20153   # would make configure fail if this is the last instruction.
   20154   $ac_cs_success || as_fn_exit 1
   20155 fi
   20156 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20157   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20158 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20159 fi
   20160 
   20161 
   20162 
   20163 touch config.status.tmp
   20164 if touch --reference=config.status config.status.tmp > /dev/null 2>&1; then
   20165   sed '/as_fn_exit 0/i \
   20166 sed -e \"s/^\t\\\(\\\$(AM_V_CCLD)\\\)/\t+ \\\1/\" Makefile > Makefile.tmp \
   20167 touch --reference=Makefile Makefile.tmp \
   20168 mv Makefile.tmp Makefile \
   20169 ' config.status > config.status.tmp
   20170   touch --reference=config.status config.status.tmp
   20171   mv config.status.tmp config.status
   20172   chmod +x config.status
   20173   sed -e "s/^\t\(\$(AM_V_CCLD)\)/\t+ \1/" Makefile > Makefile.tmp
   20174   touch --reference=Makefile Makefile.tmp
   20175   mv Makefile.tmp Makefile
   20176 else
   20177   rm -f config.status.tmp
   20178 fi
   20179